Bug: Intermittent toolkit/components/nimbus/test/unit/test_ExperimentManager_enroll.js | xpcshell return code: 0
Status: RESOLVED
Priority: P5
Resolution: WONTFIX
Created: 2022-01-20 23:32:29+00:00
Resolved: 2023-07-24 19:23:35+00:00

**Filed by:** nerli [at] mozilla.com
**Parsed log:** https://treeherder.mozilla.org/logviewer?job_id=364887935&repo=mozilla-central
**Full log:** https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/MplfEnf2QoClzX-LRFNklg/runs/0/artifacts/public/logs/live_backing.log

---
```
[task 2022-01-20T22:28:42.936Z] 22:28:42     INFO -  TEST-START | toolkit/xre/test/test_launch_without_hang.js
[task 2022-01-20T22:29:45.015Z] 22:29:45     INFO -  TEST-PASS | toolkit/xre/test/test_launch_without_hang.js | took 62078ms
[task 2022-01-20T22:29:45.017Z] 22:29:45     INFO -  Retrying tests that failed when run in parallel.
[task 2022-01-20T22:29:45.019Z] 22:29:45     INFO -  TEST-START | toolkit/components/nimbus/test/unit/test_ExperimentManager_enroll.js
[task 2022-01-20T22:29:50.990Z] 22:29:50  WARNING -  TEST-UNEXPECTED-FAIL | toolkit/components/nimbus/test/unit/test_ExperimentManager_enroll.js | xpcshell return code: 0
[task 2022-01-20T22:29:50.990Z] 22:29:50     INFO -  TEST-INFO took 5969ms
[task 2022-01-20T22:29:50.990Z] 22:29:50     INFO -  >>>>>>>
[task 2022-01-20T22:29:50.992Z] 22:29:50     INFO -  TEST-PASS | toolkit/components/nimbus/test/unit/test_ExperimentManager_enroll.js | getTempFile - [getTempFile : 58] Sanity check the temporary file doesn't exist. - true == true
[task 2022-01-20T22:29:50.992Z] 22:29:50     INFO -  (xpcshell/head.js) | test MAIN run_test pending (1)
[task 2022-01-20T22:29:50.992Z] 22:29:50     INFO -  (xpcshell/head.js) | test run_next_test 0 pending (2)
[task 2022-01-20T22:29:50.993Z] 22:29:50     INFO -  (xpcshell/head.js) | test MAIN run_test finished (2)
[task 2022-01-20T22:29:50.994Z] 22:29:50     INFO -  running event loop
[task 2022-01-20T22:29:50.994Z] 22:29:50     INFO -  toolkit/components/nimbus/test/unit/test_ExperimentManager_enroll.js | Starting test_add_to_store
[task 2022-01-20T22:29:50.994Z] 22:29:50     INFO -  (xpcshell/head.js) | test test_add_to_store pending (2)
[task 2022-01-20T22:29:50.994Z] 22:29:50     INFO -  (xpcshell/head.js) | test run_next_test 0 finished (2)
[task 2022-01-20T22:29:50.995Z] 22:29:50     INFO -  TEST-PASS | toolkit/components/nimbus/test/unit/test_ExperimentManager_enroll.js | test_add_to_store - [test_add_to_store : 51] should add an experiment with slug foo - {"slug":"foo","branch":{"slug":"treatment","ratio":1,"features":[{"featureId":"test-feature","value":{"title":"hello","enabled":true}}]},"active":true,"enrollmentId":"4ffcf546-6526-4f88-b00e-25f59c677bbf","experimentType":"nimbus","isRollout":"undefined","source":"test_add_to_store","userFacingName":"Nimbus recipe","userFacingDescription":"NimbusTestUtils recipe","lastSeen":"2022-01-20T22:29:47.788Z","featureIds":["test-feature"]} == true
[task 2022-01-20T22:29:50.995Z] 22:29:50     INFO -  TEST-PASS | toolkit/components/nimbus/test/unit/test_ExperimentManager_enroll.js | test_add_to_store - [test_add_to_store : 52] should choose a branch from the recipe.branches - true == true
[task 2022-01-20T22:29:50.996Z] 22:29:50     INFO -  TEST-PASS | toolkit/components/nimbus/test/unit/test_ExperimentManager_enroll.js | test_add_to_store - [test_add_to_store : 56] should set .active = true - true == true
[task 2022-01-20T22:29:50.996Z] 22:29:50     INFO -  TEST-PASS | toolkit/components/nimbus/test/unit/test_ExperimentManager_enroll.js | test_add_to_store - [test_add_to_store : 57] should add a valid enrollmentId - true == true
[task 2022-01-20T22:29:50.997Z] 22:29:50     INFO -  (xpcshell/head.js) | test run_next_test 1 pending (2)
[task 2022-01-20T22:29:50.997Z] 22:29:50     INFO -  (xpcshell/head.js) | test test_add_to_store finished (2)
[task 2022-01-20T22:29:50.998Z] 22:29:50     INFO -  toolkit/components/nimbus/test/unit/test_ExperimentManager_enroll.js | Starting test_add_rollout_to_store
[task 2022-01-20T22:29:50.998Z] 22:29:50     INFO -  (xpcshell/head.js) | test test_add_rollout_to_store pending (2)
[task 2022-01-20T22:29:50.998Z] 22:29:50     INFO -  (xpcshell/head.js) | test run_next_test 1 finished (2)
[task 2022-01-20T22:29:51.001Z] 22:29:51     INFO -  TEST-PASS | toolkit/components/nimbus/test/unit/test_ExperimentManager_enroll.js | test_add_rollout_to_store - [test_add_rollout_to_store : 88] Should add an experiment with slug rollout-slug - {"slug":"rollout-slug","branch":{"slug":"treatment","features":[{"featureId":"test-feature","value":{"title":"hello","enabled":true}}]},"active":true,"enrollmentId":"cc96ba20-66d5-4ab3-8a43-30383831b430","experimentType":"rollout","isRollout":true,"source":"test_add_rollout_to_store","userFacingName":"Nimbus recipe","userFacingDescription":"NimbusTestUtils recipe","lastSeen":"2022-01-20T22:29:48.491Z","featureIds":["test-feature"]} == true
[task 2022-01-20T22:29:51.001Z] 22:29:51     INFO -  TEST-PASS | toolkit/components/nimbus/test/unit/test_ExperimentManager_enroll.js | test_add_rollout_to_store - [test_add_rollout_to_store : 89] should choose a branch from the recipe.branches - true == true
[task 2022-01-20T22:29:51.001Z] 22:29:51     INFO -  TEST-PASS | toolkit/components/nimbus/test/unit/test_ExperimentManager_enroll.js | test_add_rollout_to_store - [test_add_rollout_to_store : 93] should have .isRollout - true == true
[task 2022-01-20T22:29:51.001Z] 22:29:51     INFO -  (xpcshell/head.js) | test run_next_test 2 pending (2)
```