Bug: Intermittent TV browser/components/newtab/test/browser/abouthomecache/browser_experiments_api_control.js | Should have found the Discovery Stream top sites. - null == true - got null, expected true (operator ==)
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2022-07-10 17:49:34+00:00
Resolved: 2023-09-29 12:01:08+00:00

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

---
```
[task 2022-07-10T15:47:16.179Z] 15:47:16     INFO - TEST-PASS | browser/components/newtab/test/browser/abouthomecache/browser_experiments_api_control.js | Should have found window.__FROM_STARTUP_CACHE__ - true == true - 
[task 2022-07-10T15:47:16.180Z] 15:47:16     INFO - TEST-PASS | browser/components/newtab/test/browser/abouthomecache/browser_experiments_api_control.js | Should have found activity-stream class on <body> element - true == true - 
[task 2022-07-10T15:47:16.181Z] 15:47:16     INFO - Buffered messages finished
[task 2022-07-10T15:47:16.185Z] 15:47:16     INFO - TEST-UNEXPECTED-FAIL | browser/components/newtab/test/browser/abouthomecache/browser_experiments_api_control.js | Should have found the Discovery Stream top sites. - null == true - got null, expected true (operator ==)
[task 2022-07-10T15:47:16.185Z] 15:47:16     INFO - Stack trace:
[task 2022-07-10T15:47:16.185Z] 15:47:16     INFO - @chrome://mochitests/content/browser/browser/components/newtab/test/browser/abouthomecache/head.js:269:12
[task 2022-07-10T15:47:16.185Z] 15:47:16     INFO - execute@resource://specialpowers/SpecialPowersSandbox.jsm:143:12
[task 2022-07-10T15:47:16.185Z] 15:47:16     INFO - _spawnTask@resource://specialpowers/SpecialPowersChild.jsm:1640:15
[task 2022-07-10T15:47:16.185Z] 15:47:16     INFO - receiveMessage@resource://specialpowers/SpecialPowersChild.jsm:298:21
[task 2022-07-10T15:47:16.186Z] 15:47:16     INFO - TEST-PASS | browser/components/newtab/test/browser/abouthomecache/browser_experiments_api_control.js | Expected the right value set to browser.startup.abouthome_cache_result scalar. - 6 == 6 - 
[task 2022-07-10T15:47:16.187Z] 15:47:16     INFO - Leaving test bound test_experiments_api_control
[task 2022-07-10T15:47:16.188Z] 15:47:16     INFO - Simulating restart of the browser
[task 2022-07-10T15:47:16.188Z] 15:47:16     INFO - Simulating shutdown write
[task 2022-07-10T15:47:16.189Z] 15:47:16     INFO - Console message: 1657468035868	AboutHomeStartupCache	TRACE	Never wrote a cache this session. Arming cache task.
[task 2022-07-10T15:47:16.190Z] 15:47:16     INFO - Console message: 1657468035868	AboutHomeStartupCache	TRACE	Finalizing cache task on shutdown
[task 2022-07-10T15:47:16.191Z] 15:47:16     INFO - Console message: 1657468035868	AboutHomeStartupCache	TRACE	Caching now.
[task 2022-07-10T15:47:16.192Z] 15:47:16     INFO - Console message: 1657468035868	AboutHomeStartupCache	TRACE	Parent is requesting Activity Stream state object.
[task 2022-07-10T15:47:16.192Z] 15:47:16     INFO - Console message: 1657468035868	AboutHomeStartupCache	TRACE	Parent is requesting cache streams.
[task 2022-07-10T15:47:16.193Z] 15:47:16     INFO - Console message: 1657468035869	AboutHomeStartupCache	TRACE	Skipping timeout mechanism.
[task 2022-07-10T15:47:16.194Z] 15:47:16     INFO - GECKO(3261) | console.warn: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAYAAABw4pVUAAAA/UlEQVR4nO3RMQ0AMAzAsPIn3d5DsBw2gkiZJWV+B/AyJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQmAP4K6zWNUjE4wAAAABJRU5ErkJggg== is not allowed for anchor targets."
[task 2022-07-10T15:47:16.195Z] 15:47:16     INFO - Console message: 1657468036149	AboutHomeStartupCache	TRACE	Parent received cache streams.
[task 2022-07-10T15:47:16.195Z] 15:47:16     INFO - Console message: 1657468036149	AboutHomeStartupCache	TRACE	Got cache streams.
[task 2022-07-10T15:47:16.196Z] 15:47:16     INFO - Console message: 1657468036149	AboutHomeStartupCache	TRACE	Populating cache.
[task 2022-07-10T15:47:16.197Z] 15:47:16     INFO - Console message: 1657468036149	AboutHomeStartupCache	TRACE	Populating the cache. Dooming old entry.
[task 2022-07-10T15:47:16.198Z] 15:47:16     INFO - Console message: 1657468036149	AboutHomeStartupCache	TRACE	Clearing the cache.
[task 2022-07-10T15:47:16.198Z] 15:47:16     INFO - Console message: 1657468036149	AboutHomeStartupCache	TRACE	Opening the page output stream.
[task 2022-07-10T15:47:16.199Z] 15:47:16     INFO - Console message: 1657468036150	AboutHomeStartupCache	INFO	Writing the page cache.
[task 2022-07-10T15:47:16.200Z] 15:47:16     INFO - Console message: 1657468036152	AboutHomeStartupCache	TRACE	Writing the page data is complete. Now opening the script output stream.
[task 2022-07-10T15:47:16.201Z] 15:47:16     INFO - Console message: 1657468036152	AboutHomeStartupCache	INFO	Writing the script cache.
[task 2022-07-10T15:47:16.201Z] 15:47:16     INFO - Shutdown write done
[task 2022-07-10T15:47:16.202Z] 15:47:16     INFO - Waiting for AboutHomeStartupCacheChild to uninit
[task 2022-07-10T15:47:16.203Z] 15:47:16     INFO - Console message: 1657468036156	AboutHomeStartupCache	TRACE	Writing the script cache is done. Setting version.
[task 2022-07-10T15:47:16.203Z] 15:47:16     INFO - Console message: 1657468036156	AboutHomeStartupCache	TRACE	Version is set to 20220710151742.
[task 2022-07-10T15:47:16.204Z] 15:47:16     INFO - Console message: 1657468036156	AboutHomeStartupCache	INFO	Caching of page and script is done.
[task 2022-07-10T15:47:16.205Z] 15:47:16     INFO - Console message: 1657468036156	AboutHomeStartupCache	TRACE	populateCache has finished.
[task 2022-07-10T15:47:16.206Z] 15:47:16     INFO - Console message: 1657468036156	AboutHomeStartupCache	TRACE	Done writing to cache.
[task 2022-07-10T15:47:16.207Z] 15:47:16     INFO - Console message: 1657468036156	AboutHomeStartupCache	TRACE	Done blocking shutdown.
[task 2022-07-10T15:47:16.207Z] 15:47:16     INFO - Console message: 1657468036156	AboutHomeStartupCache	TRACE	onShutdown is exiting
[task 2022-07-10T15:47:16.208Z] 15:47:16     INFO - Console message: 1657468036156	AboutHomeStartupCache	TRACE	Uninitialized.
[task 2022-07-10T15:47:16.209Z] 15:47:16     INFO - AboutHomeStartupCacheChild uninitted
[task 2022-07-10T15:47:16.210Z] 15:47:16     INFO - Waiting for AboutHomeStartupCache cache entry
[task 2022-07-10T15:47:16.210Z] 15:47:16     INFO - Got AboutHomeStartupCache cache entry
[task 2022-07-10T15:47:16.211Z] 15:47:16     INFO - Ensuring cache bytes are available
[task 2022-07-10T15:47:16.212Z] 15:47:16     INFO - Console message: 1657468036166	AboutHomeStartupCache	TRACE	Initting.
[task 2022-07-10T15:47:16.213Z] 15:47:16     INFO - Console message: 1657468036166	AboutHomeStartupCache	TRACE	Constructing pipes.
[task 2022-07-10T15:47:16.214Z] 15:47:16     INFO - Console message: 1657468036168	AboutHomeStartupCache	TRACE	Cache entry is available.
[task 2022-07-10T15:47:16.215Z] 15:47:16     INFO - Console message: 1657468036168	AboutHomeStartupCache	TRACE	Connecting nsICacheEntry to pipes.
[task 2022-07-10T15:47:16.216Z] 15:47:16     INFO - Console message: 1657468036168	AboutHomeStartupCache	TRACE	
[task 2022-07-10T15:47:16.217Z] 15:47:16     INFO - Console message: 1657468036168	AboutHomeStartupCache	INFO	Version retrieved is: 20220710151742
[task 2022-07-10T15:47:16.217Z] 15:47:16     INFO - Console message: 1657468036168	AboutHomeStartupCache	TRACE	Connecting page stream to pipe.
[task 2022-07-10T15:47:16.218Z] 15:47:16     INFO - Console message: 1657468036169	AboutHomeStartupCache	TRACE	Connecting script stream to pipe.
[task 2022-07-10T15:47:16.219Z] 15:47:16     INFO - Console message: 1657468036169	AboutHomeStartupCache	TRACE	Streams connected to pipes.
[task 2022-07-10T15:47:16.220Z] 15:47:16     INFO - Console message: 1657468036169	AboutHomeStartupCache	TRACE	Initialized.
[task 2022-07-10T15:47:16.220Z] 15:47:16     INFO - Console message: 1657468036169	AboutHomeStartupCache	TRACE	A privileged about content process is launching with ID 2.
[task 2022-07-10T15:47:16.221Z] 15:47:16     INFO - Console message: 1657468036169	AboutHomeStartupCache	INFO	Sending input streams down to content process.
[task 2022-07-10T15:47:16.222Z] 15:47:16     INFO - Console message: 1657468036194	AboutHomeStartupCache	INFO	Page stream connected to pipe.
[task 2022-07-10T15:47:16.223Z] 15:47:16     INFO - Console message: 1657468036194	AboutHomeStartupCache	INFO	Script stream connected to pipe.
[task 2022-07-10T15:47:16.295Z] 15:47:16     INFO - Waiting for about:home to load
[task 2022-07-10T15:47:16.320Z] 15:47:16     INFO - Console message: 1657468036314	AboutHomeStartupCache	TRACE	Received usage result. Success = true
[task 2022-07-10T15:47:16.414Z] 15:47:16     INFO - about:home loaded
[task 2022-07-10T15:47:16.521Z] 15:47:16     INFO - GECKO(3261) | MEMORY STAT vsizeMaxContiguous not supported in this build configuration.
[task 2022-07-10T15:47:16.524Z] 15:47:16     INFO - GECKO(3261) | MEMORY STAT | vsize 11399MB | residentFast 466MB | heapAllocated 222MB
[task 2022-07-10T15:47:16.526Z] 15:47:16     INFO - TEST-OK | browser/components/newtab/test/browser/abouthomecache/browser_experiments_api_control.js | took 2800ms
```