Bug: Intermittent browser/components/newtab/test/browser/browser_asrouter_momentspagehub.js | Uncaught exception in test - Messages did not load - timed out after 50 tries.
Status: RESOLVED
Priority: P5
Resolution: DUPLICATE
Created: 2022-06-15 16:09:43+00:00
Resolved: 2022-07-26 00:08:17+00:00

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

---
```
[task 2022-06-15T15:22:21.923Z] 15:22:21     INFO - TEST-START | browser/components/newtab/test/browser/browser_asrouter_momentspagehub.js
[task 2022-06-15T15:22:27.777Z] 15:22:27     INFO - TEST-INFO | started process screenshot
[task 2022-06-15T15:22:27.862Z] 15:22:27     INFO - TEST-INFO | screenshot: exit 0
[task 2022-06-15T15:22:27.869Z] 15:22:27     INFO - Buffered messages logged at 15:22:21
[task 2022-06-15T15:22:27.869Z] 15:22:27     INFO - Entering test bound test_with_rs_messages
[task 2022-06-15T15:22:27.870Z] 15:22:27     INFO - Console message: [JavaScript Error: "Unknown Collection "main/cfr"" {file: "resource://services-settings/RemoteSettingsClient.jsm" line: 191}]
[task 2022-06-15T15:22:27.870Z] 15:22:27     INFO - UnknownCollectionError@resource://services-settings/RemoteSettingsClient.jsm:191:5
[task 2022-06-15T15:22:27.870Z] 15:22:27     INFO - sync@resource://services-settings/RemoteSettingsClient.jsm:576:13
[task 2022-06-15T15:22:27.870Z] 15:22:27     INFO - 
[task 2022-06-15T15:22:27.871Z] 15:22:27     INFO - Console message: [JavaScript Error: "Unknown Collection "main/cfr"" {file: "resource://services-settings/RemoteSettingsClient.jsm" line: 191}]
[task 2022-06-15T15:22:27.871Z] 15:22:27     INFO - UnknownCollectionError@resource://services-settings/RemoteSettingsClient.jsm:191:5
[task 2022-06-15T15:22:27.871Z] 15:22:27     INFO - sync@resource://services-settings/RemoteSettingsClient.jsm:576:13
[task 2022-06-15T15:22:27.871Z] 15:22:27     INFO - 
[task 2022-06-15T15:22:27.873Z] 15:22:27     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: 409}]
[task 2022-06-15T15:22:27.873Z] 15:22:27     INFO - UnparseableResponseError@resource://services-common/kinto-http-client.js:409:13
[task 2022-06-15T15:22:27.873Z] 15:22:27     INFO - processResponse@resource://services-common/kinto-http-client.js:573:27
[task 2022-06-15T15:22:27.873Z] 15:22:27     INFO - 
[task 2022-06-15T15:22:27.874Z] 15:22:27     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: 409}]
[task 2022-06-15T15:22:27.874Z] 15:22:27     INFO - UnparseableResponseError@resource://services-common/kinto-http-client.js:409:13
[task 2022-06-15T15:22:27.874Z] 15:22:27     INFO - processResponse@resource://services-common/kinto-http-client.js:573:27
[task 2022-06-15T15:22:27.874Z] 15:22:27     INFO - 
[task 2022-06-15T15:22:27.875Z] 15:22:27     INFO - Buffered messages logged at 15:22:22
<...>
[task 2022-06-15T15:22:27.964Z] 15:22:27     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: 409}]
[task 2022-06-15T15:22:27.964Z] 15:22:27     INFO - UnparseableResponseError@resource://services-common/kinto-http-client.js:409:13
[task 2022-06-15T15:22:27.964Z] 15:22:27     INFO - processResponse@resource://services-common/kinto-http-client.js:573:27
[task 2022-06-15T15:22:27.964Z] 15:22:27     INFO - 
[task 2022-06-15T15:22:27.964Z] 15:22:27     INFO - Buffered messages finished
[task 2022-06-15T15:22:27.965Z] 15:22:27     INFO - TEST-UNEXPECTED-FAIL | browser/components/newtab/test/browser/browser_asrouter_momentspagehub.js | Uncaught exception in test - Messages did not load - timed out after 50 tries.
[task 2022-06-15T15:22:27.965Z] 15:22:27     INFO - Leaving test bound test_with_rs_messages
[task 2022-06-15T15:22:27.965Z] 15:22:27     INFO - GECKO(8524) | MEMORY STAT | vsize 2112384MB | vsizeMaxContiguous 65276965MB | residentFast 270MB | heapAllocated 113MB
[task 2022-06-15T15:22:27.966Z] 15:22:27     INFO - TEST-OK | browser/components/newtab/test/browser/browser_asrouter_momentspagehub.js | took 5868ms
[task 2022-06-15T15:22:27.966Z] 15:22:27     INFO - checking window state
[task 2022-06-15T15:22:27.967Z] 15:22:27     INFO - TEST-START | browser/components/newtab/test/browser/browser_asrouter_remoteimages.js
```