Bug: Intermittent browser/components/newtab/test/browser/abouthomecache/browser_no_startup_actions.js | single tracking bug
Status: NEW
Priority: P5
Created: 2020-07-18 15:27:53+00:00
Resolved: 2025-02-24 07:17:56+00:00

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

---

```
[task 2020-07-18T15:06:57.369Z] 15:06:57     INFO - TEST-START | browser/components/newtab/test/browser/abouthomecache/browser_no_startup_actions.js
[task 2020-07-18T15:06:57.704Z] 15:06:57     INFO - GECKO(1640) | console.warn: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAYAAABw4pVUAAAA/UlEQVR4nO3RMQ0AMAzAsPIn3d5DsBw2gkiZJWV+B/AyJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQmAP4K6zWNUjE4wAAAABJRU5ErkJggg== is not allowed for anchor targets."
[task 2020-07-18T15:06:58.129Z] 15:06:58     INFO - TEST-INFO | started process screenshot
[task 2020-07-18T15:06:58.187Z] 15:06:58     INFO - TEST-INFO | screenshot: exit 0
[task 2020-07-18T15:06:58.187Z] 15:06:58     INFO - Buffered messages logged at 15:06:57
[task 2020-07-18T15:06:58.187Z] 15:06:58     INFO - Entering test bound test_no_startup_actions
[task 2020-07-18T15:06:58.188Z] 15:06:58     INFO - Console message: 1595084817431	AboutHomeStartupCache	TRACE	Received usage result. Success = false
[task 2020-07-18T15:06:58.188Z] 15:06:58     INFO - Test is clearing the cache
[task 2020-07-18T15:06:58.189Z] 15:06:58     INFO - Test has cleared the cache.
[task 2020-07-18T15:06:58.189Z] 15:06:58     INFO - Simulating restart of the browser
[task 2020-07-18T15:06:58.190Z] 15:06:58     INFO - Simulating shutdown write
[task 2020-07-18T15:06:58.190Z] 15:06:58     INFO - Console message: 1595084817677	AboutHomeStartupCache	TRACE	Clearing the cache.
[task 2020-07-18T15:06:58.190Z] 15:06:58     INFO - Console message: 1595084817678	AboutHomeStartupCache	TRACE	Never wrote a cache this session. Arming cache task.
[task 2020-07-18T15:06:58.191Z] 15:06:58     INFO - Console message: 1595084817678	AboutHomeStartupCache	TRACE	Finalizing cache task on shutdown
[task 2020-07-18T15:06:58.191Z] 15:06:58     INFO - Console message: 1595084817678	AboutHomeStartupCache	TRACE	Caching now.
[task 2020-07-18T15:06:58.192Z] 15:06:58     INFO - Console message: 1595084817678	AboutHomeStartupCache	TRACE	Parent is requesting Activity Stream state object.
[task 2020-07-18T15:06:58.192Z] 15:06:58     INFO - Console message: 1595084817678	AboutHomeStartupCache	TRACE	Parent received cache streams.
[task 2020-07-18T15:06:58.193Z] 15:06:58     INFO - Console message: 1595084817704	AboutHomeStartupCache	TRACE	Parent received cache streams.
[task 2020-07-18T15:06:58.193Z] 15:06:58     INFO - Console message: 1595084817704	AboutHomeStartupCache	TRACE	Populating the cache. Dooming old entry.
[task 2020-07-18T15:06:58.194Z] 15:06:58     INFO - Console message: 1595084817705	AboutHomeStartupCache	TRACE	Clearing the cache.
[task 2020-07-18T15:06:58.194Z] 15:06:58     INFO - Console message: 1595084817705	AboutHomeStartupCache	TRACE	Opening the page output stream.
[task 2020-07-18T15:06:58.194Z] 15:06:58     INFO - Console message: 1595084817705	AboutHomeStartupCache	INFO	Writing the page cache.
[task 2020-07-18T15:06:58.195Z] 15:06:58     INFO - Console message: 1595084817707	AboutHomeStartupCache	TRACE	Writing the page data is complete. Now opening the script output stream.
[task 2020-07-18T15:06:58.195Z] 15:06:58     INFO - Console message: 1595084817707	AboutHomeStartupCache	INFO	Writing the script cache.
[task 2020-07-18T15:06:58.196Z] 15:06:58     INFO - Shutdown write done
[task 2020-07-18T15:06:58.196Z] 15:06:58     INFO - Waiting for AboutHomeStartupCacheChild to uninit
[task 2020-07-18T15:06:58.197Z] 15:06:58     INFO - Console message: 1595084817708	AboutHomeStartupCache	TRACE	Writing the script cache is done. Setting version.
[task 2020-07-18T15:06:58.197Z] 15:06:58     INFO - Console message: 1595084817708	AboutHomeStartupCache	TRACE	Version is set to 20200718101121.
[task 2020-07-18T15:06:58.197Z] 15:06:58     INFO - Console message: 1595084817709	AboutHomeStartupCache	INFO	Caching of page and script is done.
[task 2020-07-18T15:06:58.197Z] 15:06:58     INFO - Console message: 1595084817709	AboutHomeStartupCache	TRACE	Done writing to cache.
[task 2020-07-18T15:06:58.198Z] 15:06:58     INFO - Console message: 1595084817709	AboutHomeStartupCache	TRACE	Uninitialized.
[task 2020-07-18T15:06:58.198Z] 15:06:58     INFO - AboutHomeStartupCacheChild uninitted
[task 2020-07-18T15:06:58.198Z] 15:06:58     INFO - Waiting for AboutHomeStartupCache cache entry
[task 2020-07-18T15:06:58.198Z] 15:06:58     INFO - Got AboutHomeStartupCache cache entry
[task 2020-07-18T15:06:58.198Z] 15:06:58     INFO - Ensuring cache bytes are available
[task 2020-07-18T15:06:58.198Z] 15:06:58     INFO - Console message: 1595084817713	AboutHomeStartupCache	TRACE	Initting.
[task 2020-07-18T15:06:58.199Z] 15:06:58     INFO - Console message: 1595084817714	AboutHomeStartupCache	TRACE	Cache entry is available.
[task 2020-07-18T15:06:58.199Z] 15:06:58     INFO - Console message: 1595084817714	AboutHomeStartupCache	TRACE	Constructing pipes.
[task 2020-07-18T15:06:58.199Z] 15:06:58     INFO - Console message: 1595084817714	AboutHomeStartupCache	TRACE	
[task 2020-07-18T15:06:58.199Z] 15:06:58     INFO - Console message: 1595084817714	AboutHomeStartupCache	INFO	Version retrieved is: 20200718101121
[task 2020-07-18T15:06:58.199Z] 15:06:58     INFO - Console message: 1595084817714	AboutHomeStartupCache	TRACE	Connecting page stream to pipe.
[task 2020-07-18T15:06:58.199Z] 15:06:58     INFO - Console message: 1595084817714	AboutHomeStartupCache	TRACE	Connecting script stream to pipe.
[task 2020-07-18T15:06:58.199Z] 15:06:58     INFO - Console message: 1595084817714	AboutHomeStartupCache	TRACE	Streams connected to pipes. Dropping references to pipes.
[task 2020-07-18T15:06:58.200Z] 15:06:58     INFO - Console message: 1595084817715	AboutHomeStartupCache	TRACE	Initialized.
[task 2020-07-18T15:06:58.200Z] 15:06:58     INFO - Console message: 1595084817715	AboutHomeStartupCache	TRACE	Constructing pipes.
[task 2020-07-18T15:06:58.200Z] 15:06:58     INFO - Console message: 1595084817715	AboutHomeStartupCache	INFO	Sending input streams down to content process.
[task 2020-07-18T15:06:58.200Z] 15:06:58     INFO - Console message: 1595084817715	AboutHomeStartupCache	TRACE	The cache entry is already available. Connecting to pipes immediately.
[task 2020-07-18T15:06:58.200Z] 15:06:58     INFO - Console message: 1595084817715	AboutHomeStartupCache	TRACE	
[task 2020-07-18T15:06:58.200Z] 15:06:58     INFO - Console message: 1595084817715	AboutHomeStartupCache	INFO	Version retrieved is: 20200718101121
[task 2020-07-18T15:06:58.200Z] 15:06:58     INFO - Console message: 1595084817715	AboutHomeStartupCache	TRACE	Connecting page stream to pipe.
[task 2020-07-18T15:06:58.201Z] 15:06:58     INFO - Console message: 1595084817715	AboutHomeStartupCache	TRACE	Connecting script stream to pipe.
[task 2020-07-18T15:06:58.201Z] 15:06:58     INFO - Console message: 1595084817715	AboutHomeStartupCache	TRACE	Streams connected to pipes. Dropping references to pipes.
[task 2020-07-18T15:06:58.201Z] 15:06:58     INFO - Console message: 1595084817722	AboutHomeStartupCache	INFO	Page stream connected to pipe.
[task 2020-07-18T15:06:58.201Z] 15:06:58     INFO - Console message: 1595084817722	AboutHomeStartupCache	INFO	Script stream connected to pipe.
[task 2020-07-18T15:06:58.201Z] 15:06:58     INFO - Console message: 1595084817723	AboutHomeStartupCache	INFO	Page stream connected to pipe.
[task 2020-07-18T15:06:58.201Z] 15:06:58     INFO - Console message: 1595084817723	AboutHomeStartupCache	INFO	Script stream connected to pipe.
[task 2020-07-18T15:06:58.201Z] 15:06:58     INFO - Waiting for about:home to load
[task 2020-07-18T15:06:58.201Z] 15:06:58     INFO - Console message: 1595084817829	AboutHomeStartupCache	TRACE	Received usage result. Success = true
[task 2020-07-18T15:06:58.202Z] 15:06:58     INFO - Console message: 1595084817840	AboutHomeStartupCache	TRACE	Received usage result. Success = true
[task 2020-07-18T15:06:58.202Z] 15:06:58     INFO - about:home loaded
[task 2020-07-18T15:06:58.202Z] 15:06:58     INFO - Buffered messages logged at 15:06:58
[task 2020-07-18T15:06:58.202Z] 15:06:58     INFO - TEST-PASS | browser/components/newtab/test/browser/abouthomecache/browser_no_startup_actions.js | There should be page scripts. - true == true - 
[task 2020-07-18T15:06:58.202Z] 15:06:58     INFO - TEST-PASS | browser/components/newtab/test/browser/abouthomecache/browser_no_startup_actions.js | Found about:home?jscache script tag, indicating the cached doc - "about:home?jscache" == "about:home?jscache" - 
[task 2020-07-18T15:06:58.202Z] 15:06:58     INFO - TEST-PASS | browser/components/newtab/test/browser/abouthomecache/browser_no_startup_actions.js | Should have found window.__FROM_STARTUP_CACHE__ - true == true - 
[task 2020-07-18T15:06:58.202Z] 15:06:58     INFO - TEST-PASS | browser/components/newtab/test/browser/abouthomecache/browser_no_startup_actions.js | Should have found activity-stream class on <body> element - true == true - 
[task 2020-07-18T15:06:58.203Z] 15:06:58     INFO - TEST-PASS | browser/components/newtab/test/browser/abouthomecache/browser_no_startup_actions.js | Should have found the Discovery Stream top sites. - {} == true - 
[task 2020-07-18T15:06:58.203Z] 15:06:58     INFO - TEST-PASS | browser/components/newtab/test/browser/abouthomecache/browser_no_startup_actions.js | Expected the right value set to browser.startup.abouthome_cache_result scalar. - 6 == 6 - 
[task 2020-07-18T15:06:58.203Z] 15:06:58     INFO - Buffered messages finished
[task 2020-07-18T15:06:58.203Z] 15:06:58     INFO - TEST-UNEXPECTED-FAIL | browser/components/newtab/test/browser/abouthomecache/browser_no_startup_actions.js | Uncaught exception - undefined - threw exception: TypeError: feed is undefined
[task 2020-07-18T15:06:58.204Z] 15:06:58     INFO - Leaving test bound test_no_startup_actions
[task 2020-07-18T15:06:58.204Z] 15:06:58     INFO - Console message: 1595084818127	AboutHomeStartupCache	TRACE	Preloaded about:newtab was updated.
[task 2020-07-18T15:06:58.204Z] 15:06:58     INFO - Console message: 1595084818128	AboutHomeStartupCache	TRACE	Preloaded about:newtab was updated.
[task 2020-07-18T15:06:58.204Z] 15:06:58     INFO - Console message: 1595084818130	AboutHomeStartupCache	TRACE	Preloaded about:newtab was updated.
[task 2020-07-18T15:06:58.204Z] 15:06:58     INFO - Console message: 1595084818131	AboutHomeStartupCache	TRACE	Preloaded about:newtab was updated.
[task 2020-07-18T15:06:58.204Z] 15:06:58     INFO - Console message: 1595084818131	AboutHomeStartupCache	TRACE	Preloaded about:newtab was updated.
[task 2020-07-18T15:06:58.204Z] 15:06:58     INFO - GECKO(1640) | MEMORY STAT | vsize 2104161MB | vsizeMaxContiguous 65095189MB | residentFast 244MB | heapAllocated 85MB
[task 2020-07-18T15:06:58.204Z] 15:06:58     INFO - TEST-OK | browser/components/newtab/test/browser/abouthomecache/browser_no_startup_actions.js | took 791ms
[task 2020-07-18T15:06:58.204Z] 15:06:58     INFO - Not taking screenshot here: see the one that was previously logged
[task 2020-07-18T15:06:58.205Z] 15:06:58     INFO - TEST-UNEXPECTED-FAIL | browser/components/newtab/test/browser/abouthomecache/browser_no_startup_actions.js | Found an unexpected tab at the end of test run: about:home - 
[task 2020-07-18T15:06:58.205Z] 15:06:58     INFO - checking window state
```