Bug: Intermittent browser/components/newtab/test/browser/browser_asrouter_snippets.js | Uncaught exception in test bound test_snippets_telemetry - Should find the snippet inside the footer container - timed out after 50 tries.
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2020-02-27 15:18:14+00:00
Resolved: 2023-11-13 12:04:10+00:00

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

---

```
[task 2020-02-27T14:40:07.019Z] 14:40:07     INFO - Console message: [JavaScript Error: "Unknown Collection "main/whats-new-panel"" {file: "resource://services-settings/RemoteSettingsClient.jsm" line: 139}]
[task 2020-02-27T14:40:07.020Z] 14:40:07     INFO - UnknownCollectionError@resource://services-settings/RemoteSettingsClient.jsm:139:5
[task 2020-02-27T14:40:07.020Z] 14:40:07     INFO - sync@resource://services-settings/RemoteSettingsClient.jsm:392:13
[task 2020-02-27T14:40:07.021Z] 14:40:07     INFO - async*get@resource://services-settings/RemoteSettingsClient.jsm:338:22
[task 2020-02-27T14:40:07.021Z] 14:40:07     INFO - async*_getRemoteSettingsMessages@resource://activity-stream/lib/ASRouter.jsm:333:35
[task 2020-02-27T14:40:07.021Z] 14:40:07     INFO - _remoteSettingsLoader@resource://activity-stream/lib/ASRouter.jsm:283:45
[task 2020-02-27T14:40:07.025Z] 14:40:07     INFO - _loadDataForProvider@resource://activity-stream/lib/ASRouter.jsm:387:26
[task 2020-02-27T14:40:07.025Z] 14:40:07     INFO - loadMessagesForProvider@resource://activity-stream/lib/ASRouter.jsm:413:35
[task 2020-02-27T14:40:07.026Z] 14:40:07     INFO - loadMessagesFromAllProviders@resource://activity-stream/lib/ASRouter.jsm:815:40
[task 2020-02-27T14:40:07.026Z] 14:40:07     INFO - async*sendNewTabMessage@resource://activity-stream/lib/ASRouter.jsm:2031:16
[task 2020-02-27T14:40:07.026Z] 14:40:07     INFO - onMessage@resource://activity-stream/lib/ASRouter.jsm:2105:20
[task 2020-02-27T14:40:07.026Z] 14:40:07     INFO - Async*callListeners@resource://gre/modules/remotepagemanager/MessagePort.jsm:212:17
[task 2020-02-27T14:40:07.027Z] 14:40:07     INFO - portMessageReceived@resource://gre/modules/remotepagemanager/RemotePageManagerParent.jsm:94:19
[task 2020-02-27T14:40:07.027Z] 14:40:07     INFO - callListeners@resource://gre/modules/remotepagemanager/MessagePort.jsm:212:17
[task 2020-02-27T14:40:07.027Z] 14:40:07     INFO - handleMessage@resource://gre/modules/remotepagemanager/RemotePageManagerParent.jsm:267:19
[task 2020-02-27T14:40:07.027Z] 14:40:07     INFO - message@resource://gre/modules/remotepagemanager/MessagePort.jsm:379:10
[task 2020-02-27T14:40:07.028Z] 14:40:07     INFO - MessageListener.receiveMessage*addMessageListeners@resource://gre/modules/remotepagemanager/MessagePort.jsm:267:25
[task 2020-02-27T14:40:07.028Z] 14:40:07     INFO - MessagePort@resource://gre/modules/remotepagemanager/MessagePort.jsm:259:10
[task 2020-02-27T14:40:07.028Z] 14:40:07     INFO - ChromeMessagePort@resource://gre/modules/remotepagemanager/RemotePageManagerParent.jsm:197:5
[task 2020-02-27T14:40:07.028Z] 14:40:07     INFO - initPort@resource://gre/modules/remotepagemanager/RemotePageManagerParent.jsm:341:16
[task 2020-02-27T14:40:07.028Z] 14:40:07     INFO - MessageListener.receiveMessage*init@resource://gre/modules/remotepagemanager/RemotePageManagerParent.jsm:296:17
[task 2020-02-27T14:40:07.029Z] 14:40:07     INFO - @resource://gre/modules/remotepagemanager/RemotePageManagerParent.jsm:350:27
[task 2020-02-27T14:40:07.029Z] 14:40:07     INFO - startup@resource://gre/modules/AddonManager.jsm:828:41
[task 2020-02-27T14:40:07.029Z] 14:40:07     INFO - startup@resource://gre/modules/AddonManager.jsm:3482:26
[task 2020-02-27T14:40:07.029Z] 14:40:07     INFO - observe@resource://gre/modules/addonManager.js:87:29
[task 2020-02-27T14:40:07.029Z] 14:40:07     INFO - 
[task 2020-02-27T14:40:07.030Z] 14:40:07     INFO - Console message: [JavaScript Error: "Unknown Collection "main/message-groups"" {file: "resource://services-settings/RemoteSettingsClient.jsm" line: 139}]
[task 2020-02-27T14:40:07.030Z] 14:40:07     INFO - UnknownCollectionError@resource://services-settings/RemoteSettingsClient.jsm:139:5
[task 2020-02-27T14:40:07.030Z] 14:40:07     INFO - sync@resource://services-settings/RemoteSettingsClient.jsm:392:13
[task 2020-02-27T14:40:07.031Z] 14:40:07     INFO - async*get@resource://services-settings/RemoteSettingsClient.jsm:338:22
[task 2020-02-27T14:40:07.031Z] 14:40:07     INFO - async*_getRemoteSettingsMessages@resource://activity-stream/lib/ASRouter.jsm:333:35
[task 2020-02-27T14:40:07.031Z] 14:40:07     INFO - _remoteSettingsLoader@resource://activity-stream/lib/ASRouter.jsm:283:45
[task 2020-02-27T14:40:07.031Z] 14:40:07     INFO - _loadDataForProvider@resource://activity-stream/lib/ASRouter.jsm:387:26
[task 2020-02-27T14:40:07.032Z] 14:40:07     INFO - loadMessagesForProvider@resource://activity-stream/lib/ASRouter.jsm:413:35
[task 2020-02-27T14:40:07.033Z] 14:40:07     INFO - loadMessagesFromAllProviders@resource://activity-stream/lib/ASRouter.jsm:815:40
[task 2020-02-27T14:40:07.033Z] 14:40:07     INFO - async*sendNewTabMessage@resource://activity-stream/lib/ASRouter.jsm:2031:16
[task 2020-02-27T14:40:07.033Z] 14:40:07     INFO - onMessage@resource://activity-stream/lib/ASRouter.jsm:2105:20
[task 2020-02-27T14:40:07.033Z] 14:40:07     INFO - Async*callListeners@resource://gre/modules/remotepagemanager/MessagePort.jsm:212:17
[task 2020-02-27T14:40:07.034Z] 14:40:07     INFO - portMessageReceived@resource://gre/modules/remotepagemanager/RemotePageManagerParent.jsm:94:19
[task 2020-02-27T14:40:07.034Z] 14:40:07     INFO - callListeners@resource://gre/modules/remotepagemanager/MessagePort.jsm:212:17
[task 2020-02-27T14:40:07.034Z] 14:40:07     INFO - handleMessage@resource://gre/modules/remotepagemanager/RemotePageManagerParent.jsm:267:19
[task 2020-02-27T14:40:07.034Z] 14:40:07     INFO - message@resource://gre/modules/remotepagemanager/MessagePort.jsm:379:10
[task 2020-02-27T14:40:07.035Z] 14:40:07     INFO - MessageListener.receiveMessage*addMessageListeners@resource://gre/modules/remotepagemanager/MessagePort.jsm:267:25
[task 2020-02-27T14:40:07.035Z] 14:40:07     INFO - MessagePort@resource://gre/modules/remotepagemanager/MessagePort.jsm:259:10
[task 2020-02-27T14:40:07.035Z] 14:40:07     INFO - ChromeMessagePort@resource://gre/modules/remotepagemanager/RemotePageManagerParent.jsm:197:5
[task 2020-02-27T14:40:07.036Z] 14:40:07     INFO - initPort@resource://gre/modules/remotepagemanager/RemotePageManagerParent.jsm:341:16
[task 2020-02-27T14:40:07.037Z] 14:40:07     INFO - MessageListener.receiveMessage*init@resource://gre/modules/remotepagemanager/RemotePageManagerParent.jsm:296:17
[task 2020-02-27T14:40:07.037Z] 14:40:07     INFO - @resource://gre/modules/remotepagemanager/RemotePageManagerParent.jsm:350:27
[task 2020-02-27T14:40:07.037Z] 14:40:07     INFO - startup@resource://gre/modules/AddonManager.jsm:828:41
[task 2020-02-27T14:40:07.037Z] 14:40:07     INFO - startup@resource://gre/modules/AddonManager.jsm:3482:26
[task 2020-02-27T14:40:07.038Z] 14:40:07     INFO - observe@resource://gre/modules/addonManager.js:87:29
[task 2020-02-27T14:40:07.038Z] 14:40:07     INFO - 
[task 2020-02-27T14:40:07.039Z] 14:40:07     INFO - Buffered messages finished
[task 2020-02-27T14:40:07.040Z] 14:40:07     INFO - TEST-UNEXPECTED-FAIL | browser/components/newtab/test/browser/browser_asrouter_snippets.js | Uncaught exception - Should find the snippet inside the footer container - timed out after 50 tries.
[task 2020-02-27T14:40:07.040Z] 14:40:07     INFO - Leaving test bound test_simple_snippet
[task 2020-02-27T14:40:07.041Z] 14:40:07     INFO - Entering test bound 
[task 2020-02-27T14:40:07.041Z] 14:40:07     INFO - GECKO(4472) | [Child 4710: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 0x7f19c6b66800 == 2 [pid = 4710] [id = {7a37c225-8b39-4bc5-8b1a-06a92091483a}]
[task 2020-02-27T14:40:07.042Z] 14:40:07     INFO - GECKO(4472) | [Child 4710: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 3 (0x7f19c726a090) [pid = 4710] [serial = 16] [outer = (nil)]
[task 2020-02-27T14:40:07.045Z] 14:40:07     INFO - GECKO(4472) | [Child 4710: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 4 (0x7f19c6979800) [pid = 4710] [serial = 17] [outer = 0x7f19c726a090]
[task 2020-02-27T14:40:07.045Z] 14:40:07     INFO - GECKO(4472) | [Child 4710: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 5 (0x7f19c69e7800) [pid = 4710] [serial = 18] [outer = 0x7f19c726a090]
[task 2020-02-27T14:40:07.832Z] 14:40:07     INFO - GECKO(4472) | [Child 4616: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 7 (0x7f800ebe5800) [pid = 4616] [serial = 26] [outer = (nil)] [url = about:blank]
[task 2020-02-27T14:40:07.833Z] 14:40:07     INFO - GECKO(4472) | [Child 4616: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 6 (0x7f80101e8400) [pid = 4616] [serial = 20] [outer = (nil)] [url = http://example.com/]
[task 2020-02-27T14:40:07.834Z] 14:40:07     INFO - GECKO(4472) | [Child 4616: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 5 (0x7f80101efc00) [pid = 4616] [serial = 21] [outer = (nil)] [url = https://example.com/browser/browser/components/newtab/test/browser/blue_page.html]
[task 2020-02-27T14:40:07.835Z] 14:40:07     INFO - GECKO(4472) | [Child 4616: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 4 (0x7f800ebe1c00) [pid = 4616] [serial = 24] [outer = (nil)] [url = about:blank]
[task 2020-02-27T14:40:07.919Z] 14:40:07     INFO - TEST-PASS | browser/components/newtab/test/browser/browser_asrouter_snippets.js | Snippet content match - "On January 30th Nightly will introduce dedicated profiles, making it simpler to run different installations of Firefox side by side. Learn what this means for you." == "On January 30th Nightly will introduce dedicated profiles, making it simpler to run different installations of Firefox side by side. Learn what this means for you." - 
[task 2020-02-27T14:40:07.963Z] 14:40:07     INFO - GECKO(4472) | [Child 4616: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 3 (0x7f802ce93a90) [pid = 4616] [serial = 8] [outer = (nil)] [url = http://example.com/]
[task 2020-02-27T14:40:07.991Z] 14:40:07     INFO - Leaving test bound 
[task 2020-02-27T14:40:08.136Z] 14:40:08     INFO - GECKO(4472) | MEMORY STAT | vsize 3099MB | residentFast 401MB | heapAllocated 123MB
[task 2020-02-27T14:40:08.136Z] 14:40:08     INFO - TEST-OK | browser/components/newtab/test/browser/browser_asrouter_snippets.js | took 8803ms
[task 2020-02-27T14:40:08.157Z] 14:40:08     INFO - GECKO(4472) | [Child 4616: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 0x7f800f59e000 == 2 [pid = 4616] [id = {9119a1f3-84ba-4d2d-ba3d-9aeeb3537693}]
[task 2020-02-27T14:40:08.158Z] 14:40:08     INFO - GECKO(4472) | [Child 4616: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 4 (0x7f802ce93520) [pid = 4616] [serial = 28] [outer = (nil)]
[task 2020-02-27T14:40:08.159Z] 14:40:08     INFO - GECKO(4472) | [Child 4616: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 5 (0x7f800eb22c00) [pid = 4616] [serial = 29] [outer = 0x7f802ce93520]
[task 2020-02-27T14:40:08.247Z] 14:40:08     INFO - checking window state
[task 2020-02-27T14:40:08.254Z] 14:40:08     INFO - GECKO(4472) | [Child 4616: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 6 (0x7f800eb28000) [pid = 4616] [serial = 30] [outer = 0x7f802ce93520]
[task 2020-02-27T14:40:08.337Z] 14:40:08     INFO - TEST-START | browser/components/newtab/test/browser/browser_asrouter_targeting.js
```