Bug: Intermittent browser/components/newtab/test/browser/browser_customize_menu_content.js | Pocket section is rendered - null == true - got null, expected true (operator ==)
Status: RESOLVED
Priority: P5
Resolution: DUPLICATE
Created: 2020-12-14 04:45:47+00:00
Resolved: 2022-07-26 00:08:36+00:00

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

---
```
[task 2020-12-14T04:28:06.782Z] 04:28:06     INFO - TEST-START | browser/components/newtab/test/browser/browser_customize_menu_content.js
[task 2020-12-14T04:28:06.903Z] 04:28:06     INFO - GECKO(1512) | [Child 1653: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 0x7f912ec0c000 == 3 [pid = 1653] [id = 33]
[task 2020-12-14T04:28:06.903Z] 04:28:06     INFO - GECKO(1512) | [Child 1653: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 16 (0x7f912e9abac0) [pid = 1653] [serial = 102] [outer = (nil)]
[task 2020-12-14T04:28:06.903Z] 04:28:06     INFO - GECKO(1512) | [Child 1653: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 17 (0x7f912ec0f000) [pid = 1653] [serial = 103] [outer = 0x7f912e9abac0]
[task 2020-12-14T04:28:06.968Z] 04:28:06     INFO - GECKO(1512) | [Child 1653: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 18 (0x7f912ec7a800) [pid = 1653] [serial = 104] [outer = 0x7f912e9abac0]
[task 2020-12-14T04:28:07.325Z] 04:28:07     INFO - GECKO(1512) | [Child 1653, Main Thread] WARNING: Scrolled rect smaller than scrollport?: file /builds/worker/checkouts/gecko/layout/generic/nsGfxScrollFrame.cpp:6984
[task 2020-12-14T04:28:07.387Z] 04:28:07     INFO - GECKO(1512) | [Parent 1512, Main Thread] WARNING: NS_ENSURE_TRUE(aPrefName) failed: file /builds/worker/checkouts/gecko/modules/libpref/Preferences.cpp:2125
[task 2020-12-14T04:28:08.116Z] 04:28:08     INFO - GECKO(1512) | [Child 1653: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 17 (0x7f912b862c00) [pid = 1653] [serial = 86] [outer = (nil)] [url = about:newtab?endpoint=https://example.com/browser/browser/components/newtab/test/browser/snippet_below_search_test.json]
[task 2020-12-14T04:28:08.117Z] 04:28:08     INFO - GECKO(1512) | [Child 1653: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 16 (0x7f912b866000) [pid = 1653] [serial = 88] [outer = (nil)] [url = about:blank]
[task 2020-12-14T04:28:08.117Z] 04:28:08     INFO - GECKO(1512) | [Child 1653: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 15 (0x7f912cd35400) [pid = 1653] [serial = 89] [outer = (nil)] [url = about:newtab?endpoint=https://example.com/browser/browser/components/newtab/test/browser/snippet_simple_test.json]
[task 2020-12-14T04:28:08.117Z] 04:28:08     INFO - GECKO(1512) | [Child 1653: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 14 (0x7f912ec0d800) [pid = 1653] [serial = 94] [outer = (nil)] [url = about:blank]
[task 2020-12-14T04:28:08.117Z] 04:28:08     INFO - GECKO(1512) | [Child 1653: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 13 (0x7f912ec7a400) [pid = 1653] [serial = 92] [outer = (nil)] [url = about:newtab?endpoint=https://example.com/browser/browser/components/newtab/test/browser/snippet.json]
[task 2020-12-14T04:28:08.117Z] 04:28:08     INFO - GECKO(1512) | [Child 1653: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 12 (0x7f912f11e000) [pid = 1653] [serial = 98] [outer = (nil)] [url = about:newtab]
[task 2020-12-14T04:28:08.117Z] 04:28:08     INFO - GECKO(1512) | [Child 1653: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 11 (0x7f912af40000) [pid = 1653] [serial = 85] [outer = (nil)] [url = about:blank]
[task 2020-12-14T04:28:08.118Z] 04:28:08     INFO - GECKO(1512) | [Child 1653: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 10 (0x7f912e9be400) [pid = 1653] [serial = 91] [outer = (nil)] [url = about:blank]
[task 2020-12-14T04:28:08.118Z] 04:28:08     INFO - GECKO(1512) | [Child 1653: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 9 (0x7f912f11a400) [pid = 1653] [serial = 95] [outer = (nil)] [url = about:home]
[task 2020-12-14T04:28:08.118Z] 04:28:08     INFO - GECKO(1512) | [Child 1653: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 8 (0x7f912ec7e000) [pid = 1653] [serial = 97] [outer = (nil)] [url = about:blank]
[task 2020-12-14T04:28:08.991Z] 04:28:08     INFO - TEST-INFO | started process screentopng
[task 2020-12-14T04:28:09.480Z] 04:28:09     INFO - TEST-INFO | screentopng: exit 0
[task 2020-12-14T04:28:09.480Z] 04:28:09     INFO - Buffered messages logged at 04:28:06
[task 2020-12-14T04:28:09.480Z] 04:28:09     INFO - Entering test bound test_render_customizeMenu
[task 2020-12-14T04:28:09.480Z] 04:28:09     INFO - Buffered messages logged at 04:28:07
[task 2020-12-14T04:28:09.483Z] 04:28:09     INFO - Console message: [JavaScript Error: "Failed to fetch https://spocs.getpocket.com/user: Not one of allowed prefixes (data:)" {file: "resource://activity-stream/lib/DiscoveryStreamFeed.jsm" line: 303}]
[task 2020-12-14T04:28:09.483Z] 04:28:09     INFO - fetchFromEndpoint@resource://activity-stream/lib/DiscoveryStreamFeed.jsm:303:10
[task 2020-12-14T04:28:09.484Z] 04:28:09     INFO - clearSpocs@resource://activity-stream/lib/DiscoveryStreamFeed.jsm:864:16
[task 2020-12-14T04:28:09.484Z] 04:28:09     INFO - onPrefChangedAction@resource://activity-stream/lib/DiscoveryStreamFeed.jsm:1605:16
[task 2020-12-14T04:28:09.484Z] 04:28:09     INFO - onAction@resource://activity-stream/lib/DiscoveryStreamFeed.jsm:1827:20
[task 2020-12-14T04:28:09.484Z] 04:28:09     INFO - _middleware/</<@resource://activity-stream/lib/Store.jsm:63:17
[task 2020-12-14T04:28:09.484Z] 04:28:09     INFO - Store/this[method]@resource://activity-stream/lib/Store.jsm:39:54
[task 2020-12-14T04:28:09.485Z] 04:28:09     INFO - onPrefChanged@resource://activity-stream/lib/PrefsFeed.jsm:48:18
[task 2020-12-14T04:28:09.485Z] 04:28:09     INFO - observer@resource://activity-stream/lib/ActivityStreamPrefs.jsm:33:16
[task 2020-12-14T04:28:09.485Z] 04:28:09     INFO - _setPref@resource://specialpowers/SpecialPowersParent.jsm:554:31
[task 2020-12-14T04:28:09.485Z] 04:28:09     INFO - _applyPrefs@resource://specialpowers/SpecialPowersParent.jsm:444:14
[task 2020-12-14T04:28:09.485Z] 04:28:09     INFO - pushPrefEnv/<@resource://specialpowers/SpecialPowersParent.jsm:530:12
[task 2020-12-14T04:28:09.485Z] 04:28:09     INFO - doPrefEnvOp@resource://specialpowers/SpecialPowersParent.jsm:70:12
[task 2020-12-14T04:28:09.486Z] 04:28:09     INFO - pushPrefEnv@resource://specialpowers/SpecialPowersParent.jsm:475:12
[task 2020-12-14T04:28:09.486Z] 04:28:09     INFO - receiveMessage@resource://specialpowers/SpecialPowersParent.jsm:818:21
[task 2020-12-14T04:28:09.486Z] 04:28:09     INFO - 
[task 2020-12-14T04:28:09.486Z] 04:28:09     INFO - Buffered messages logged at 04:28:08
[task 2020-12-14T04:28:09.487Z] 04:28:09     INFO - TEST-PASS | browser/components/newtab/test/browser/browser_customize_menu_content.js | Topsites are turned off - true == true - 
[task 2020-12-14T04:28:09.487Z] 04:28:09     INFO - TEST-PASS | browser/components/newtab/test/browser/browser_customize_menu_content.js | Shortcuts section is not rendered - true == true - 
[task 2020-12-14T04:28:09.489Z] 04:28:09     INFO - TEST-PASS | browser/components/newtab/test/browser/browser_customize_menu_content.js | Shortcuts section is rendered - {} == true - 
[task 2020-12-14T04:28:09.489Z] 04:28:09     INFO - TEST-PASS | browser/components/newtab/test/browser/browser_customize_menu_content.js | Pocket pref is turned off - true == true - 
[task 2020-12-14T04:28:09.490Z] 04:28:09     INFO - TEST-PASS | browser/components/newtab/test/browser/browser_customize_menu_content.js | Pocket section is not rendered - true == true - 
[task 2020-12-14T04:28:09.490Z] 04:28:09     INFO - Buffered messages finished
[task 2020-12-14T04:28:09.490Z] 04:28:09     INFO - TEST-UNEXPECTED-FAIL | browser/components/newtab/test/browser/browser_customize_menu_content.js | Pocket section is rendered - null == true - got null, expected true (operator ==)
[task 2020-12-14T04:28:09.491Z] 04:28:09     INFO - Stack trace:
[task 2020-12-14T04:28:09.492Z] 04:28:09     INFO - test_render_customizeMenu@chrome://mochitests/content/browser/browser/components/newtab/test/browser/browser_customize_menu_content.js:96:12
[task 2020-12-14T04:28:09.492Z] 04:28:09     INFO - TEST-PASS | browser/components/newtab/test/browser/browser_customize_menu_content.js | Highlights pref is turned off - true == true - 
[task 2020-12-14T04:28:09.493Z] 04:28:09     INFO - TEST-PASS | browser/components/newtab/test/browser/browser_customize_menu_content.js | Highlights section is not rendered - true == true - 
[task 2020-12-14T04:28:09.675Z] 04:28:09     INFO - TEST-PASS | browser/components/newtab/test/browser/browser_customize_menu_content.js | Highlights section is rendered - {} == true - 
[task 2020-12-14T04:28:09.679Z] 04:28:09     INFO - TEST-PASS | browser/components/newtab/test/browser/browser_customize_menu_content.js | Snippets pref is turned off - true == true - 
[task 2020-12-14T04:28:10.280Z] 04:28:10     INFO - Leaving test bound test_render_customizeMenu
```