Bug: Intermittent browser/components/newtab/test/browser/browser_asrouter_group_userprefs.js | A promise chain failed to handle a rejection: (intermediate value)[Symbol.iterator]().next().value is undefined - stack: showAddressBarNotifier@CFRPageActions.jsm
Status: RESOLVED
Priority: P5
Resolution: DUPLICATE
Created: 2020-06-03 15:32:38+00:00
Resolved: 2022-08-12 21:30:25+00:00

**Filed by:** malexandru [at] mozilla.com
**Parsed log:** https://treeherder.mozilla.org/logviewer.html#?job_id=304905524&repo=autoland
**Full log:** https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/N51oXNT6QBmdHbmh_ng8Cw/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/N51oXNT6QBmdHbmh_ng8Cw/runs/0/artifacts/public/logs/live_backing.log&only_show_unexpected=1

---

```
[task 2020-06-03T13:29:20.771Z] 13:29:20     INFO - Console message: [JavaScript Error: "Unknown Collection "main/message-groups"" {file: "resource://services-settings/RemoteSettingsClient.jsm" line: 154}]
[task 2020-06-03T13:29:20.772Z] 13:29:20     INFO - UnknownCollectionError@resource://services-settings/RemoteSettingsClient.jsm:154:5
[task 2020-06-03T13:29:20.772Z] 13:29:20     INFO - sync@resource://services-settings/RemoteSettingsClient.jsm:419:13
[task 2020-06-03T13:29:20.772Z] 13:29:20     INFO - async*get@resource://services-settings/RemoteSettingsClient.jsm:356:22
[task 2020-06-03T13:29:20.772Z] 13:29:20     INFO - async*_getRemoteSettingsMessages@resource://activity-stream/lib/ASRouter.jsm:346:35
[task 2020-06-03T13:29:20.773Z] 13:29:20     INFO - _remoteSettingsLoader@resource://activity-stream/lib/ASRouter.jsm:296:45
[task 2020-06-03T13:29:20.773Z] 13:29:20     INFO - _loadDataForProvider@resource://activity-stream/lib/ASRouter.jsm:452:26
[task 2020-06-03T13:29:20.774Z] 13:29:20     INFO - loadAllMessageGroups@resource://activity-stream/lib/ASRouter.jsm:762:53
[task 2020-06-03T13:29:20.774Z] 13:29:20     INFO - loadMessagesFromAllProviders@resource://activity-stream/lib/ASRouter.jsm:827:16
[task 2020-06-03T13:29:20.774Z] 13:29:20     INFO - test_heartbeat_tactic_2@chrome://mochitests/content/browser/browser/components/newtab/test/browser/browser_asrouter_group_userprefs.js:141:18
[task 2020-06-03T13:29:20.775Z] 13:29:20     INFO - Async*Tester_execTest/<@chrome://mochikit/content/browser-test.js:1064:34
[task 2020-06-03T13:29:20.775Z] 13:29:20     INFO - async*Tester_execTest@chrome://mochikit/content/browser-test.js:1104:11
[task 2020-06-03T13:29:20.775Z] 13:29:20     INFO - nextTest/<@chrome://mochikit/content/browser-test.js:921:14
[task 2020-06-03T13:29:20.776Z] 13:29:20     INFO - SimpleTest.waitForFocus/waitForFocusInner/focusedOrLoaded/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:918:23
[task 2020-06-03T13:29:20.776Z] 13:29:20     INFO - 
[task 2020-06-03T13:29:20.777Z] 13:29:20     INFO - Console message: [JavaScript Error: "Response from server unparseable (HTTP 404; SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data): <html>                    <head><title>404 Not Found</title></head>                    <body>                      <h1>404 Not Found</h1>                      <p>                        <span style='font-family: monospace;'>&#47;&#100;&#117;&#109;&#109;&#121;&#45;&#107;&#105;&#110;&#116;&#111;&#47;&#118;&#49;&#47;&#98;&#117;&#99;&#107;&#101;&#116;&#115;&#47;&#109;&#97;&#105;&#110;&#47;&#99;&#111;&#108;&#108;&#101;&#99;&#116;&#105;&#111;&#110;&#115;&#47;&#109;&#115;&#45;&#108;&#97;&#110;&#103;&#117;&#97;&#103;&#101;&#45;&#112;&#97;&#99;&#107;&#115;&#47;&#114;&#101;&#99;&#111;&#114;&#100;&#115;&#47;&#99;&#102;&#114;&#45;&#118;&#49;&#45;&#101;&#110;&#45;&#85;&#83;</span> was not found.                      </p>                    </body>                  </html>" {file: "resource://services-common/kinto-http-client.js" line: 408}]
[task 2020-06-03T13:29:20.778Z] 13:29:20     INFO - UnparseableResponseError@resource://services-common/kinto-http-client.js:408:13
[task 2020-06-03T13:29:20.778Z] 13:29:20     INFO - processResponse@resource://services-common/kinto-http-client.js:567:27
[task 2020-06-03T13:29:20.779Z] 13:29:20     INFO - async*request@resource://services-common/kinto-http-client.js:624:29
[task 2020-06-03T13:29:20.779Z] 13:29:20     INFO - async*execute@resource://services-common/kinto-http-client.js:2400:44
[task 2020-06-03T13:29:20.779Z] 13:29:20     INFO - getRecord@resource://services-common/kinto-http-client.js:1321:32
[task 2020-06-03T13:29:20.780Z] 13:29:20     INFO - _remoteSettingsLoader@resource://activity-stream/lib/ASRouter.jsm:314:14
[task 2020-06-03T13:29:20.780Z] 13:29:20     INFO - async*_loadDataForProvider@resource://activity-stream/lib/ASRouter.jsm:452:26
[task 2020-06-03T13:29:20.781Z] 13:29:20     INFO - loadMessagesForProvider@resource://activity-stream/lib/ASRouter.jsm:476:35
[task 2020-06-03T13:29:20.781Z] 13:29:20     INFO - loadMessagesFromAllProviders@resource://activity-stream/lib/ASRouter.jsm:837:40
[task 2020-06-03T13:29:20.782Z] 13:29:20     INFO - async*test_heartbeat_tactic_2@chrome://mochitests/content/browser/browser/components/newtab/test/browser/browser_asrouter_group_userprefs.js:141:18
[task 2020-06-03T13:29:20.782Z] 13:29:20     INFO - Async*Tester_execTest/<@chrome://mochikit/content/browser-test.js:1064:34
[task 2020-06-03T13:29:20.782Z] 13:29:20     INFO - async*Tester_execTest@chrome://mochikit/content/browser-test.js:1104:11
[task 2020-06-03T13:29:20.783Z] 13:29:20     INFO - nextTest/<@chrome://mochikit/content/browser-test.js:921:14
[task 2020-06-03T13:29:20.783Z] 13:29:20     INFO - SimpleTest.waitForFocus/waitForFocusInner/focusedOrLoaded/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:918:23
[task 2020-06-03T13:29:20.784Z] 13:29:20     INFO - 
[task 2020-06-03T13:29:20.784Z] 13:29:20     INFO - Console message: [JavaScript Error: "Unknown Collection "main/message-groups"" {file: "resource://services-settings/RemoteSettingsClient.jsm" line: 154}]
[task 2020-06-03T13:29:20.785Z] 13:29:20     INFO - UnknownCollectionError@resource://services-settings/RemoteSettingsClient.jsm:154:5
[task 2020-06-03T13:29:20.785Z] 13:29:20     INFO - sync@resource://services-settings/RemoteSettingsClient.jsm:419:13
[task 2020-06-03T13:29:20.786Z] 13:29:20     INFO - async*get@resource://services-settings/RemoteSettingsClient.jsm:356:22
[task 2020-06-03T13:29:20.786Z] 13:29:20     INFO - async*_getRemoteSettingsMessages@resource://activity-stream/lib/ASRouter.jsm:346:35
[task 2020-06-03T13:29:20.787Z] 13:29:20     INFO - _remoteSettingsLoader@resource://activity-stream/lib/ASRouter.jsm:296:45
[task 2020-06-03T13:29:20.787Z] 13:29:20     INFO - _loadDataForProvider@resource://activity-stream/lib/ASRouter.jsm:452:26
[task 2020-06-03T13:29:20.787Z] 13:29:20     INFO - loadMessagesForProvider@resource://activity-stream/lib/ASRouter.jsm:476:35
[task 2020-06-03T13:29:20.788Z] 13:29:20     INFO - loadMessagesFromAllProviders@resource://activity-stream/lib/ASRouter.jsm:837:40
[task 2020-06-03T13:29:20.788Z] 13:29:20     INFO - async*test_heartbeat_tactic_2@chrome://mochitests/content/browser/browser/components/newtab/test/browser/browser_asrouter_group_userprefs.js:141:18
[task 2020-06-03T13:29:20.788Z] 13:29:20     INFO - Async*Tester_execTest/<@chrome://mochikit/content/browser-test.js:1064:34
[task 2020-06-03T13:29:20.789Z] 13:29:20     INFO - async*Tester_execTest@chrome://mochikit/content/browser-test.js:1104:11
[task 2020-06-03T13:29:20.789Z] 13:29:20     INFO - nextTest/<@chrome://mochikit/content/browser-test.js:921:14
[task 2020-06-03T13:29:20.789Z] 13:29:20     INFO - SimpleTest.waitForFocus/waitForFocusInner/focusedOrLoaded/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:918:23
[task 2020-06-03T13:29:20.789Z] 13:29:20     INFO - 
[task 2020-06-03T13:29:20.790Z] 13:29:20     INFO - Buffered messages finished
[task 2020-06-03T13:29:20.790Z] 13:29:20     INFO - TEST-UNEXPECTED-FAIL | browser/components/newtab/test/browser/browser_asrouter_group_userprefs.js | A promise chain failed to handle a rejection: (intermediate value)[Symbol.iterator]().next().value is undefined - stack: showAddressBarNotifier@resource://activity-stream/lib/CFRPageActions.jsm:162:9
[task 2020-06-03T13:29:20.790Z] 13:29:20     INFO - async*addRecommendation@resource://activity-stream/lib/CFRPageActions.jsm:1134:36
[task 2020-06-03T13:29:20.791Z] 13:29:20     INFO - routeMessageToTarget@resource://activity-stream/lib/ASRouter.jsm:1362:26
[task 2020-06-03T13:29:20.791Z] 13:29:20     INFO - _sendMessageToTarget@resource://activity-stream/lib/ASRouter.jsm:1434:12
[task 2020-06-03T13:29:20.791Z] 13:29:20     INFO - sendTriggerMessage@resource://activity-stream/lib/ASRouter.jsm:2051:16
[task 2020-06-03T13:29:20.792Z] 13:29:20     INFO - async*onMessage@resource://activity-stream/lib/ASRouter.jsm:2089:20
[task 2020-06-03T13:29:20.792Z] 13:29:20     INFO - Async*_triggerHandler@resource://activity-stream/lib/ASRouter.jsm:1802:16
[task 2020-06-03T13:29:20.792Z] 13:29:20     INFO - onLocationChange@resource://activity-stream/lib/ASRouterTriggerListeners.jsm:391:18
[task 2020-06-03T13:29:20.793Z] 13:29:20     INFO - callListeners@chrome://browser/content/tabbrowser.js:821:31
[task 2020-06-03T13:29:20.793Z] 13:29:20     INFO - _callProgressListeners@chrome://browser/content/tabbrowser.js:841:22
[task 2020-06-03T13:29:20.793Z] 13:29:20     INFO - _callProgressListeners@chrome://browser/content/tabbrowser.js:5842:46
[task 2020-06-03T13:29:20.793Z] 13:29:20     INFO - onLocationChange@chrome://browser/content/tabbrowser.js:6260:14
[task 2020-06-03T13:29:20.794Z] 13:29:20     INFO - _callProgressListeners@resource://gre/modules/RemoteWebProgress.jsm:75:31
[task 2020-06-03T13:29:20.794Z] 13:29:20     INFO - onLocationChange@resource://gre/modules/RemoteWebProgress.jsm:119:10
[task 2020-06-03T13:29:20.795Z] 13:29:20     INFO - Rejection date: Wed Jun 03 2020 13:29:19 GMT+0000 (Coordinated Universal Time) - false == true - JS frame :: resource://testing-common/PromiseTestUtils.jsm :: assertNoUncaughtRejections :: line 265
[task 2020-06-03T13:29:20.795Z] 13:29:20     INFO - Stack trace:
[task 2020-06-03T13:29:20.795Z] 13:29:20     INFO - resource://testing-common/PromiseTestUtils.jsm:assertNoUncaughtRejections:265
[task 2020-06-03T13:29:20.795Z] 13:29:20     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest/<:1095
[task 2020-06-03T13:29:20.795Z] 13:29:20     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1104
[task 2020-06-03T13:29:20.796Z] 13:29:20     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:921
[task 2020-06-03T13:29:20.796Z] 13:29:20     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/waitForFocusInner/focusedOrLoaded/<:918
[task 2020-06-03T13:29:20.796Z] 13:29:20     INFO - Leaving test bound test_heartbeat_tactic_2
[task 2020-06-03T13:29:21.054Z] 13:29:21     INFO - Console message: [JavaScript Error: "Unknown Collection "main/message-groups"" {file: "resource://services-settings/RemoteSettingsClient.jsm" line: 154}]
[task 2020-06-03T13:29:21.054Z] 13:29:21     INFO - UnknownCollectionError@resource://services-settings/RemoteSettingsClient.jsm:154:5
[task 2020-06-03T13:29:21.055Z] 13:29:21     INFO - sync@resource://services-settings/RemoteSettingsClient.jsm:419:13
[task 2020-06-03T13:29:21.055Z] 13:29:21     INFO - async*get@resource://services-settings/RemoteSettingsClient.jsm:356:22
[task 2020-06-03T13:29:21.055Z] 13:29:21     INFO - async*_getRemoteSettingsMessages@resource://activity-stream/lib/ASRouter.jsm:346:35
[task 2020-06-03T13:29:21.055Z] 13:29:21     INFO - _remoteSettingsLoader@resource://activity-stream/lib/ASRouter.jsm:296:45
[task 2020-06-03T13:29:21.056Z] 13:29:21     INFO - _loadDataForProvider@resource://activity-stream/lib/ASRouter.jsm:452:26
[task 2020-06-03T13:29:21.056Z] 13:29:21     INFO - loadAllMessageGroups@resource://activity-stream/lib/ASRouter.jsm:762:53
[task 2020-06-03T13:29:21.056Z] 13:29:21     INFO - loadMessagesFromAllProviders@resource://activity-stream/lib/ASRouter.jsm:827:16
[task 2020-06-03T13:29:21.056Z] 13:29:21     INFO - setup/</<@chrome://mochitests/content/browser/browser/components/newtab/test/browser/browser_asrouter_group_userprefs.js:64:22
[task 2020-06-03T13:29:21.056Z] 13:29:21     INFO - async*tryOnce@resource://testing-common/TestUtils.jsm:180:35
[task 2020-06-03T13:29:21.056Z] 13:29:21     INFO - notify@resource://gre/modules/Timer.jsm:62:17
[task 2020-06-03T13:29:21.056Z] 13:29:21     INFO - 
[task 2020-06-03T13:29:21.071Z] 13:29:21     INFO - Console message: [JavaScript Error: "Unknown Collection "main/cfr"" {file: "resource://services-settings/RemoteSettingsClient.jsm" line: 154}]
[task 2020-06-03T13:29:21.072Z] 13:29:21     INFO - UnknownCollectionError@resource://services-settings/RemoteSettingsClient.jsm:154:5
[task 2020-06-03T13:29:21.072Z] 13:29:21     INFO - sync@resource://services-settings/RemoteSettingsClient.jsm:419:13
[task 2020-06-03T13:29:21.072Z] 13:29:21     INFO - async*get@resource://services-settings/RemoteSettingsClient.jsm:356:22
[task 2020-06-03T13:29:21.073Z] 13:29:21     INFO - async*_getRemoteSettingsMessages@resource://activity-stream/lib/ASRouter.jsm:346:35
[task 2020-06-03T13:29:21.073Z] 13:29:21     INFO - _remoteSettingsLoader@resource://activity-stream/lib/ASRouter.jsm:296:45
[task 2020-06-03T13:29:21.073Z] 13:29:21     INFO - _loadDataForProvider@resource://activity-stream/lib/ASRouter.jsm:452:26
[task 2020-06-03T13:29:21.073Z] 13:29:21     INFO - loadMessagesForProvider@resource://activity-stream/lib/ASRouter.jsm:476:35
[task 2020-06-03T13:29:21.073Z] 13:29:21     INFO - loadMessagesFromAllProviders@resource://activity-stream/lib/ASRouter.jsm:837:40
[task 2020-06-03T13:29:21.073Z] 13:29:21     INFO - async*setup/</<@chrome://mochitests/content/browser/browser/components/newtab/test/browser/browser_asrouter_group_userprefs.js:64:22
[task 2020-06-03T13:29:21.074Z] 13:29:21     INFO - async*tryOnce@resource://testing-common/TestUtils.jsm:180:35
[task 2020-06-03T13:29:21.074Z] 13:29:21     INFO - notify@resource://gre/modules/Timer.jsm:62:17
[task 2020-06-03T13:29:21.074Z] 13:29:21     INFO - 
[task 2020-06-03T13:29:21.090Z] 13:29:21     INFO - Console message: [JavaScript Error: "Unknown Collection "main/message-groups"" {file: "resource://services-settings/RemoteSettingsClient.jsm" line: 154}]
[task 2020-06-03T13:29:21.090Z] 13:29:21     INFO - UnknownCollectionError@resource://services-settings/RemoteSettingsClient.jsm:154:5
[task 2020-06-03T13:29:21.090Z] 13:29:21     INFO - sync@resource://services-settings/RemoteSettingsClient.jsm:419:13
[task 2020-06-03T13:29:21.090Z] 13:29:21     INFO - async*get@resource://services-settings/RemoteSettingsClient.jsm:356:22
[task 2020-06-03T13:29:21.091Z] 13:29:21     INFO - async*_getRemoteSettingsMessages@resource://activity-stream/lib/ASRouter.jsm:346:35
[task 2020-06-03T13:29:21.091Z] 13:29:21     INFO - _remoteSettingsLoader@resource://activity-stream/lib/ASRouter.jsm:296:45
[task 2020-06-03T13:29:21.091Z] 13:29:21     INFO - _loadDataForProvider@resource://activity-stream/lib/ASRouter.jsm:452:26
[task 2020-06-03T13:29:21.091Z] 13:29:21     INFO - loadMessagesForProvider@resource://activity-stream/lib/ASRouter.jsm:476:35
[task 2020-06-03T13:29:21.091Z] 13:29:21     INFO - loadMessagesFromAllProviders@resource://activity-stream/lib/ASRouter.jsm:837:40
[task 2020-06-03T13:29:21.092Z] 13:29:21     INFO - async*setup/</<@chrome://mochitests/content/browser/browser/components/newtab/test/browser/browser_asrouter_group_userprefs.js:64:22
[task 2020-06-03T13:29:21.092Z] 13:29:21     INFO - async*tryOnce@resource://testing-common/TestUtils.jsm:180:35
[task 2020-06-03T13:29:21.092Z] 13:29:21     INFO - notify@resource://gre/modules/Timer.jsm:62:17
[task 2020-06-03T13:29:21.092Z] 13:29:21     INFO - 
[task 2020-06-03T13:29:21.127Z] 13:29:21     INFO - GECKO(6955) | MEMORY STAT | vsize 3126MB | residentFast 403MB | heapAllocated 139MB
[task 2020-06-03T13:29:21.127Z] 13:29:21     INFO - TEST-OK | browser/components/newtab/test/browser/browser_asrouter_group_userprefs.js | took 2980ms
```