Bug: Intermittent browser/components/shell/test/browser_doesAppNeedPin.js | Uncaught exception - at resource://testing-common/NimbusTestUtils.jsm:81 - Error: Store not ready, need to `await ExperimentAPI.ready()`
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2021-06-23 20:47:48+00:00
Resolved: 2021-07-20 17:05:09+00:00

**Filed by:** dluca [at] mozilla.com
**Parsed log:** https://treeherder.mozilla.org/logviewer?job_id=343636758&repo=autoland
**Full log:** https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/VuH32-k0Tsmzf7vPrGDWig/runs/0/artifacts/public/logs/live_backing.log

---
```
INFO - TEST-START | browser/components/shell/test/browser_doesAppNeedPin.js
[task 2021-06-23T17:39:51.786Z] 17:39:51     INFO - TEST-INFO | started process screenshot
[task 2021-06-23T17:39:51.865Z] 17:39:51     INFO - TEST-INFO | screenshot: exit 0
[task 2021-06-23T17:39:51.866Z] 17:39:51     INFO - Buffered messages logged at 17:39:51
[task 2021-06-23T17:39:51.867Z] 17:39:51     INFO - TEST-PASS | browser/components/shell/test/browser_doesAppNeedPin.js | Sanity check the temporary file doesn't exist. - true == true - 
[task 2021-06-23T17:39:51.867Z] 17:39:51     INFO - Entering test bound default_need
[task 2021-06-23T17:39:51.868Z] 17:39:51     INFO - TEST-PASS | browser/components/shell/test/browser_doesAppNeedPin.js | Got a default app need pin value - true == true - 
[task 2021-06-23T17:39:51.868Z] 17:39:51     INFO - Leaving test bound default_need
[task 2021-06-23T17:39:51.868Z] 17:39:51     INFO - Entering test bound remote_disable
[task 2021-06-23T17:39:51.869Z] 17:39:51     INFO - Default pin already false, so nothing to test
[task 2021-06-23T17:39:51.869Z] 17:39:51     INFO - Leaving test bound remote_disable
[task 2021-06-23T17:39:51.869Z] 17:39:51     INFO - Entering test bound restore_default
[task 2021-06-23T17:39:51.870Z] 17:39:51     INFO - Buffered messages finished
[task 2021-06-23T17:39:51.870Z] 17:39:51     INFO - TEST-UNEXPECTED-FAIL | browser/components/shell/test/browser_doesAppNeedPin.js | Uncaught exception - at resource://testing-common/NimbusTestUtils.jsm:81 - Error: Store not ready, need to `await ExperimentAPI.ready()`
[task 2021-06-23T17:39:51.870Z] 17:39:51     INFO - Stack trace:
[task 2021-06-23T17:39:51.871Z] 17:39:51     INFO - remoteDefaultsHelper@resource://testing-common/NimbusTestUtils.jsm:81:13
[task 2021-06-23T17:39:51.871Z] 17:39:51     INFO - restore_default@chrome://mochitests/content/browser/browser/components/shell/test/browser_doesAppNeedPin.js:41:25
[task 2021-06-23T17:39:51.871Z] 17:39:51     INFO - Tester_execTest/<@chrome://mochikit/content/browser-test.js:1086:34
[task 2021-06-23T17:39:51.871Z] 17:39:51     INFO - Leaving test bound restore_default
[task 2021-06-23T17:39:51.871Z] 17:39:51     INFO - GECKO(6712) | MEMORY STAT | vsize 2104155MB | vsizeMaxContiguous 65045939MB | residentFast 232MB | heapAllocated 94MB
[task 2021-06-23T17:39:51.872Z] 17:39:51     INFO - TEST-OK | browser/components/shell/test/browser_doesAppNeedPin.js | took 98ms
[task 2021-06-23T17:39:51.884Z] 17:39:51     INFO - checking window state
[task 2021-06-23T17:39:51.897Z] 17:39:51     INFO - TEST-START | browser/components/shell/test/browser_setDesktopBackgroundPreview.js
[task 2021-06-23T17:39:51.910Z] 17:39:51     INFO - GECKO(6712) | IPDL protocol error: Handler returned error code!
[task 2021-06-23T17:39:51.910Z] 17:39:51     INFO - GECKO(6712) | ###!!! [Parent][DispatchAsyncMessage] Error: PClientManager::Msg_ExpectFutureClientSource Processing error: message was deserialized, but the handler returned false (indicating failure)
[task 2021-06-23T17:39:51.939Z] 17:39:51     INFO - GECKO(6712) | IPDL protocol error: Handler returned error code!
[task 2021-06-23T17:39:51.939Z] 17:39:51     INFO - GECKO(6712) | ###!!! [Parent][DispatchAsyncMessage] Error: PClientManager::Msg_ForgetFutureClientSource Processing error: message was deserialized, but the handler returned false (indicating failure)
[task 2021-06-23T17:39:52.645Z] 17:39:52     INFO - GECKO(6712) | MEMORY STAT | vsize 2104177MB | vsizeMaxContiguous 65045939MB | residentFast 242MB | heapAllocated 97MB
[task 2021-06-23T17:39:52.645Z] 17:39:52     INFO - TEST-OK | browser/components/shell/test/browser_setDesktopBackgroundPreview.js | took 748ms
[task 2021-06-23T17:39:52.659Z] 17:39:52     INFO - checking window state
[task 2021-06-23T17:39:52.675Z] 17:39:52     INFO - GECKO(6712) | Completed ShutdownLeaks collections in process 1268
[task 2021-06-23T17:39:52.675Z] 17:39:52     INFO - TEST-START | Shutdown
```