Bug: Intermittent [tier2] TV toolkit/components/nimbus/test/browser/browser_remotesettingsexperimentloader_init.js | Uncaught exception - at resource://nimbus/lib/ExperimentManager.jsm:200 - Error: An experiment with the slug "foo1614797684525" already exists.
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2021-03-03 20:10:18+00:00
Resolved: 2021-03-30 17:04:52+00:00

**Filed by:** abutkovits [at] mozilla.com
**Parsed log:** https://treeherder.mozilla.org/logviewer?job_id=331935434&repo=autoland
**Full log:** https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/baboJShgRqef3XkzOqhNOA/runs/0/artifacts/public/logs/live_backing.log
**Reftest URL:** https://hg.mozilla.org/mozilla-central/raw-file/tip/layout/tools/reftest/reftest-analyzer.xhtml#logurl=https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/baboJShgRqef3XkzOqhNOA/runs/0/artifacts/public/logs/live_backing.log&only_show_unexpected=1

---
```
[task 2021-03-03T18:54:43.928Z] 18:54:43     INFO - TEST-START | toolkit/components/nimbus/test/browser/browser_remotesettingsexperimentloader_init.js
[task 2021-03-03T18:54:43.931Z] 18:54:43     INFO - GECKO(3774) | Chrome file doesn't exist: /builds/worker/workspace/build/tests/mochitest/browser/toolkit/components/nimbus/test/browser/head.js
[task 2021-03-03T18:54:44.073Z] 18:54:44     INFO - GECKO(3774) | [Child 3935: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 0x7fab04706c00 == 1 [pid = 3935] [id = 0]
[task 2021-03-03T18:54:44.074Z] 18:54:44     INFO - GECKO(3774) | [Child 3935: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 1 (0x7fab21063ac0) [pid = 3935] [serial = 1] [outer = (nil)]
[task 2021-03-03T18:54:44.077Z] 18:54:44     INFO - GECKO(3774) | [Child 3935: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 2 (0x7fab04709000) [pid = 3935] [serial = 2] [outer = 0x7fab21063ac0]
[task 2021-03-03T18:54:44.335Z] 18:54:44     INFO - GECKO(3774) | console.debug: RSLoader:
[task 2021-03-03T18:54:44.336Z] 18:54:44     INFO - GECKO(3774) |   Registered update timer
[task 2021-03-03T18:54:44.337Z] 18:54:44     INFO - GECKO(3774) | console.debug: RSLoader:
[task 2021-03-03T18:54:44.337Z] 18:54:44     INFO - GECKO(3774) |   Updating recipes
[task 2021-03-03T18:54:44.586Z] 18:54:44     INFO - GECKO(3774) | console.debug: RSLoader:
[task 2021-03-03T18:54:44.587Z] 18:54:44     INFO - GECKO(3774) |   Updating recipes
[task 2021-03-03T18:54:44.606Z] 18:54:44     INFO - GECKO(3774) | ### XPCOM_MEM_BLOAT_LOG defined -- logging bloat/leaks to /tmp/tmpwThjlU.mozrunner/runtests_leaks_tab_pid3955.log
[task 2021-03-03T18:54:44.607Z] 18:54:44     INFO - GECKO(3774) | [3955, Main Thread] WARNING: XPCOM_MEM_BLOAT_LOG is set, disabling native allocations.: file /builds/worker/checkouts/gecko/tools/profiler/core/platform.cpp:251
[task 2021-03-03T18:54:44.743Z] 18:54:44     INFO - GECKO(3774) | console.debug: RSLoader:
[task 2021-03-03T18:54:44.744Z] 18:54:44     INFO - GECKO(3774) |   Got 2 recipes from Remote Settings
[task 2021-03-03T18:54:44.745Z] 18:54:44     INFO - GECKO(3774) | console.debug: RSLoader:
[task 2021-03-03T18:54:44.745Z] 18:54:44     INFO - GECKO(3774) |   No targeting for recipe, so it matches automatically
[task 2021-03-03T18:54:44.746Z] 18:54:44     INFO - GECKO(3774) | console.debug: RSLoader:
[task 2021-03-03T18:54:44.747Z] 18:54:44     INFO - GECKO(3774) |   04d34426-0fec-4dd7-b027-10a3d8796a04 matched
[task 2021-03-03T18:54:44.763Z] 18:54:44     INFO - GECKO(3774) | console.debug: RSLoader:
[task 2021-03-03T18:54:44.765Z] 18:54:44     INFO - GECKO(3774) |   Got 2 recipes from Remote Settings
[task 2021-03-03T18:54:44.765Z] 18:54:44     INFO - GECKO(3774) | console.debug: RSLoader:
[task 2021-03-03T18:54:44.767Z] 18:54:44     INFO - GECKO(3774) |   No targeting for recipe, so it matches automatically
[task 2021-03-03T18:54:44.767Z] 18:54:44     INFO - GECKO(3774) | console.debug: RSLoader:
[task 2021-03-03T18:54:44.768Z] 18:54:44     INFO - GECKO(3774) |   04d34426-0fec-4dd7-b027-10a3d8796a04 matched
[task 2021-03-03T18:54:44.776Z] 18:54:44     INFO - GECKO(3774) | console.debug: ExperimentManager:
[task 2021-03-03T18:54:44.776Z] 18:54:44     INFO - GECKO(3774) |   New experiment started: foo1614797684525, treatment
[task 2021-03-03T18:54:44.777Z] 18:54:44     INFO - GECKO(3774) | console.debug: RSLoader:
[task 2021-03-03T18:54:44.777Z] 18:54:44     INFO - GECKO(3774) |   No targeting for recipe, so it matches automatically
[task 2021-03-03T18:54:44.778Z] 18:54:44     INFO - GECKO(3774) | console.debug: RSLoader:
[task 2021-03-03T18:54:44.778Z] 18:54:44     INFO - GECKO(3774) |   d340f80c-09d5-40ed-8dcb-53cd5041e1cf matched
[task 2021-03-03T18:54:44.794Z] 18:54:44     INFO - TEST-INFO | started process screentopng
[task 2021-03-03T18:54:45.012Z] 18:54:45     INFO - TEST-INFO | screentopng: exit 0
[task 2021-03-03T18:54:45.013Z] 18:54:45     INFO - Buffered messages logged at 18:54:43
[task 2021-03-03T18:54:45.014Z] 18:54:45     INFO - TEST-PASS | toolkit/components/nimbus/test/browser/browser_remotesettingsexperimentloader_init.js | Sanity check the temporary file doesn't exist. - true == true - 
[task 2021-03-03T18:54:45.015Z] 18:54:45     INFO - Buffered messages logged at 18:54:44
[task 2021-03-03T18:54:45.016Z] 18:54:45     INFO - Entering test bound setup
[task 2021-03-03T18:54:45.016Z] 18:54:45     INFO - Leaving test bound setup
[task 2021-03-03T18:54:45.017Z] 18:54:45     INFO - Entering test bound test_double_feature_enrollment
[task 2021-03-03T18:54:45.018Z] 18:54:45     INFO - Console message: [JavaScript Error: "Unknown Collection "main/nimbus-desktop-experiments"" {file: "resource://services-settings/RemoteSettingsClient.jsm" line: 160}]
[task 2021-03-03T18:54:45.018Z] 18:54:45     INFO - UnknownCollectionError@resource://services-settings/RemoteSettingsClient.jsm:160:5
[task 2021-03-03T18:54:45.019Z] 18:54:45     INFO - sync@resource://services-settings/RemoteSettingsClient.jsm:470:13
[task 2021-03-03T18:54:45.019Z] 18:54:45     INFO - 
[task 2021-03-03T18:54:45.020Z] 18:54:45     INFO - Buffered messages finished
[task 2021-03-03T18:54:45.020Z] 18:54:45     INFO - TEST-UNEXPECTED-FAIL | toolkit/components/nimbus/test/browser/browser_remotesettingsexperimentloader_init.js | Uncaught exception - at resource://nimbus/lib/ExperimentManager.jsm:200 - Error: An experiment with the slug "foo1614797684525" already exists```