Bug: Intermittent browser/components/newtab/test/browser/abouthomecache/browser_locale_change.js | Test timed out | | Found a tab after previous test timed out: about:home -
Status: RESOLVED
Priority: P5
Resolution: DUPLICATE
Created: 2022-05-02 13:42:45+00:00
Resolved: 2022-08-13 13:15:58+00:00

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

---
```
[task 2022-05-02T13:24:44.046Z] 13:24:44     INFO - TEST-START | browser/components/newtab/test/browser/abouthomecache/browser_locale_change.js
[task 2022-05-02T13:24:44.428Z] 13:24:44     INFO - GECKO(1929) | console.warn: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAYAAABw4pVUAAAA/UlEQVR4nO3RMQ0AMAzAsPIn3d5DsBw2gkiZJWV+B/AyJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQmAP4K6zWNUjE4wAAAABJRU5ErkJggg== is not allowed for anchor targets."
[task 2022-05-02T13:24:49.973Z] 13:24:49     INFO - GECKO(1929) | console.warn: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAYAAABw4pVUAAAA/UlEQVR4nO3RMQ0AMAzAsPIn3d5DsBw2gkiZJWV+B/AyJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQmAP4K6zWNUjE4wAAAABJRU5ErkJggg== is not allowed for anchor targets."
[task 2022-05-02T13:25:06.021Z] 13:25:06     INFO - GECKO(1929) | 2022-05-02 13:25:06.020 firefox[1929:34075] Persistent UI failed to open file file:///Users/cltbld/Library/Saved%20Application%20State/org.mozilla.firefox.savedState/window_1.data: No such file or directory (2)
[task 2022-05-02T13:25:29.155Z] 13:25:29     INFO - TEST-INFO | started process screencapture
[task 2022-05-02T13:25:29.243Z] 13:25:29     INFO - TEST-INFO | screencapture: exit 0
[task 2022-05-02T13:25:29.243Z] 13:25:29     INFO - Buffered messages logged at 13:24:44
[task 2022-05-02T13:25:29.243Z] 13:25:29     INFO - Entering test bound test_locale_change
[task 2022-05-02T13:25:29.243Z] 13:25:29     INFO - Simulating restart of the browser
[task 2022-05-02T13:25:29.244Z] 13:25:29     INFO - Simulating shutdown write
[task 2022-05-02T13:25:29.244Z] 13:25:29     INFO - Console message: 1651497884383	AboutHomeStartupCache	TRACE	Never wrote a cache this session. Arming cache task.
[task 2022-05-02T13:25:29.245Z] 13:25:29     INFO - Console message: 1651497884383	AboutHomeStartupCache	TRACE	Finalizing cache task on shutdown
[task 2022-05-02T13:25:29.245Z] 13:25:29     INFO - Console message: 1651497884383	AboutHomeStartupCache	TRACE	Caching now.
[task 2022-05-02T13:25:29.246Z] 13:25:29     INFO - Console message: 1651497884383	AboutHomeStartupCache	TRACE	Parent is requesting Activity Stream state object.
[task 2022-05-02T13:25:29.246Z] 13:25:29     INFO - Console message: 1651497884383	AboutHomeStartupCache	TRACE	Parent is requesting cache streams.
[task 2022-05-02T13:25:29.247Z] 13:25:29     INFO - Console message: 1651497884384	AboutHomeStartupCache	TRACE	Skipping timeout mechanism.
[task 2022-05-02T13:25:29.247Z] 13:25:29     INFO - Console message: 1651497884478	AboutHomeStartupCache	TRACE	Parent received cache streams.
[task 2022-05-02T13:25:29.247Z] 13:25:29     INFO - Console message: 1651497884478	AboutHomeStartupCache	TRACE	Got cache streams.
[task 2022-05-02T13:25:29.248Z] 13:25:29     INFO - Console message: 1651497884478	AboutHomeStartupCache	TRACE	Populating cache.
[task 2022-05-02T13:25:29.248Z] 13:25:29     INFO - Console message: 1651497884478	AboutHomeStartupCache	TRACE	Populating the cache. Dooming old entry.
[task 2022-05-02T13:25:29.249Z] 13:25:29     INFO - Console message: 1651497884478	AboutHomeStartupCache	TRACE	Clearing the cache.
[task 2022-05-02T13:25:29.249Z] 13:25:29     INFO - Console message: 1651497884478	AboutHomeStartupCache	TRACE	Opening the page output stream.
[task 2022-05-02T13:25:29.250Z] 13:25:29     INFO - Console message: 1651497884478	AboutHomeStartupCache	INFO	Writing the page cache.
[task 2022-05-02T13:25:29.251Z] 13:25:29     INFO - Console message: 1651497884500	AboutHomeStartupCache	TRACE	Writing the page data is complete. Now opening the script output stream.
[task 2022-05-02T13:25:29.251Z] 13:25:29     INFO - Console message: 1651497884500	AboutHomeStartupCache	INFO	Writing the script cache.
[task 2022-05-02T13:25:29.252Z] 13:25:29     INFO - Shutdown write done
[task 2022-05-02T13:25:29.253Z] 13:25:29     INFO - Waiting for AboutHomeStartupCacheChild to uninit
[task 2022-05-02T13:25:29.253Z] 13:25:29     INFO - Console message: 1651497884532	AboutHomeStartupCache	TRACE	Writing the script cache is done. Setting version.
[task 2022-05-02T13:25:29.254Z] 13:25:29     INFO - Console message: 1651497884532	AboutHomeStartupCache	TRACE	Version is set to 20220502095353.
[task 2022-05-02T13:25:29.254Z] 13:25:29     INFO - Console message: 1651497884532	AboutHomeStartupCache	INFO	Caching of page and script is done.
[task 2022-05-02T13:25:29.255Z] 13:25:29     INFO - Console message: 1651497884532	AboutHomeStartupCache	TRACE	populateCache has finished.
[task 2022-05-02T13:25:29.255Z] 13:25:29     INFO - Console message: 1651497884532	AboutHomeStartupCache	TRACE	Done writing to cache.
[task 2022-05-02T13:25:29.255Z] 13:25:29     INFO - Console message: 1651497884532	AboutHomeStartupCache	TRACE	Done blocking shutdown.
[task 2022-05-02T13:25:29.256Z] 13:25:29     INFO - Console message: 1651497884532	AboutHomeStartupCache	TRACE	onShutdown is exiting
[task 2022-05-02T13:25:29.256Z] 13:25:29     INFO - Console message: 1651497884532	AboutHomeStartupCache	TRACE	Uninitialized.
[task 2022-05-02T13:25:29.257Z] 13:25:29     INFO - AboutHomeStartupCacheChild uninitted
[task 2022-05-02T13:25:29.257Z] 13:25:29     INFO - Waiting for AboutHomeStartupCache cache entry
[task 2022-05-02T13:25:29.257Z] 13:25:29     INFO - Got AboutHomeStartupCache cache entry
[task 2022-05-02T13:25:29.258Z] 13:25:29     INFO - Ensuring cache bytes are available
[task 2022-05-02T13:25:29.258Z] 13:25:29     INFO - Console message: 1651497884535	AboutHomeStartupCache	TRACE	Initting.
[task 2022-05-02T13:25:29.259Z] 13:25:29     INFO - Console message: 1651497884535	AboutHomeStartupCache	TRACE	Constructing pipes.
[task 2022-05-02T13:25:29.259Z] 13:25:29     INFO - Console message: 1651497884535	AboutHomeStartupCache	TRACE	Cache entry is available.
[task 2022-05-02T13:25:29.259Z] 13:25:29     INFO - Console message: 1651497884535	AboutHomeStartupCache	TRACE	Connecting nsICacheEntry to pipes.
[task 2022-05-02T13:25:29.260Z] 13:25:29     INFO - Console message: 1651497884535	AboutHomeStartupCache	TRACE	
[task 2022-05-02T13:25:29.260Z] 13:25:29     INFO - Console message: 1651497884535	AboutHomeStartupCache	INFO	Version retrieved is: 20220502095353
[task 2022-05-02T13:25:29.261Z] 13:25:29     INFO - Console message: 1651497884535	AboutHomeStartupCache	TRACE	Connecting page stream to pipe.
[task 2022-05-02T13:25:29.261Z] 13:25:29     INFO - Console message: 1651497884535	AboutHomeStartupCache	TRACE	Connecting script stream to pipe.
[task 2022-05-02T13:25:29.261Z] 13:25:29     INFO - Console message: 1651497884535	AboutHomeStartupCache	TRACE	Streams connected to pipes.
[task 2022-05-02T13:25:29.262Z] 13:25:29     INFO - Console message: 1651497884536	AboutHomeStartupCache	TRACE	Initialized.
[task 2022-05-02T13:25:29.262Z] 13:25:29     INFO - Console message: 1651497884536	AboutHomeStartupCache	TRACE	A privileged about content process is launching with ID 2.
[task 2022-05-02T13:25:29.263Z] 13:25:29     INFO - Console message: 1651497884536	AboutHomeStartupCache	INFO	Sending input streams down to content process.
[task 2022-05-02T13:25:29.263Z] 13:25:29     INFO - Console message: 1651497884536	AboutHomeStartupCache	INFO	Page stream connected to pipe.
[task 2022-05-02T13:25:29.264Z] 13:25:29     INFO - Console message: 1651497884536	AboutHomeStartupCache	INFO	Script stream connected to pipe.
[task 2022-05-02T13:25:29.264Z] 13:25:29     INFO - Waiting for about:home to load
[task 2022-05-02T13:25:29.264Z] 13:25:29     INFO - Console message: 1651497884756	AboutHomeStartupCache	TRACE	Received usage result. Success = true
[task 2022-05-02T13:25:29.265Z] 13:25:29     INFO - about:home loaded
[task 2022-05-02T13:25:29.265Z] 13:25:29     INFO - TEST-PASS | browser/components/newtab/test/browser/abouthomecache/browser_locale_change.js | There should be page scripts. - true == true - 
[task 2022-05-02T13:25:29.266Z] 13:25:29     INFO - TEST-PASS | browser/components/newtab/test/browser/abouthomecache/browser_locale_change.js | Found about:home?jscache script tag, indicating the cached doc - "about:home?jscache" == "about:home?jscache" - 
[task 2022-05-02T13:25:29.266Z] 13:25:29     INFO - TEST-PASS | browser/components/newtab/test/browser/abouthomecache/browser_locale_change.js | Should have found window.__FROM_STARTUP_CACHE__ - true == true - 
[task 2022-05-02T13:25:29.267Z] 13:25:29     INFO - TEST-PASS | browser/components/newtab/test/browser/abouthomecache/browser_locale_change.js | Should have found activity-stream class on <body> element - true == true - 
[task 2022-05-02T13:25:29.267Z] 13:25:29     INFO - TEST-PASS | browser/components/newtab/test/browser/abouthomecache/browser_locale_change.js | Should have found the Discovery Stream top sites. - {} == true - 
[task 2022-05-02T13:25:29.268Z] 13:25:29     INFO - TEST-PASS | browser/components/newtab/test/browser/abouthomecache/browser_locale_change.js | Expected the right value set to browser.startup.abouthome_cache_result scalar. - 6 == 6 - 
[task 2022-05-02T13:25:29.268Z] 13:25:29     INFO - Simulating restart of the browser
[task 2022-05-02T13:25:29.268Z] 13:25:29     INFO - Intentionally skipping shutdown write
[task 2022-05-02T13:25:29.269Z] 13:25:29     INFO - Waiting for AboutHomeStartupCacheChild to uninit
[task 2022-05-02T13:25:29.269Z] 13:25:29     INFO - Console message: 1651497884800	AboutHomeStartupCache	TRACE	Clearing the cache.
[task 2022-05-02T13:25:29.270Z] 13:25:29     INFO - Console message: 1651497884802	AboutHomeStartupCache	TRACE	Uninitialized.
[task 2022-05-02T13:25:29.270Z] 13:25:29     INFO - AboutHomeStartupCacheChild uninitted
[task 2022-05-02T13:25:29.270Z] 13:25:29     INFO - Waiting for AboutHomeStartupCache cache entry
[task 2022-05-02T13:25:29.271Z] 13:25:29     INFO - Console message: 1651497884822	AboutHomeStartupCache	TRACE	Initting.
[task 2022-05-02T13:25:29.271Z] 13:25:29     INFO - Console message: 1651497884822	AboutHomeStartupCache	TRACE	Constructing pipes.
[task 2022-05-02T13:25:29.272Z] 13:25:29     INFO - Console message: 1651497884822	AboutHomeStartupCache	TRACE	Initialized.
[task 2022-05-02T13:25:29.272Z] 13:25:29     INFO - Console message: 1651497884822	AboutHomeStartupCache	TRACE	A privileged about content process is launching with ID 2.
[task 2022-05-02T13:25:29.272Z] 13:25:29     INFO - Console message: 1651497884823	AboutHomeStartupCache	INFO	Sending input streams down to content process.
[task 2022-05-02T13:25:29.273Z] 13:25:29     INFO - Console message: 1651497884825	AboutHomeStartupCache	TRACE	Preloaded about:newtab was updated.
[task 2022-05-02T13:25:29.273Z] 13:25:29     INFO - Console message: 1651497884825	AboutHomeStartupCache	TRACE	Preloaded about:newtab was updated.
[task 2022-05-02T13:25:29.274Z] 13:25:29     INFO - Console message: 1651497884826	AboutHomeStartupCache	TRACE	Preloaded about:newtab was updated.
[task 2022-05-02T13:25:29.274Z] 13:25:29     INFO - Console message: 1651497884826	AboutHomeStartupCache	TRACE	Preloaded about:newtab was updated.
[task 2022-05-02T13:25:29.275Z] 13:25:29     INFO - Console message: 1651497884827	AboutHomeStartupCache	TRACE	Preloaded about:newtab was updated.
[task 2022-05-02T13:25:29.275Z] 13:25:29     INFO - Console message: 1651497884827	AboutHomeStartupCache	TRACE	Preloaded about:newtab was updated.
[task 2022-05-02T13:25:29.275Z] 13:25:29     INFO - Buffered messages logged at 13:24:49
[task 2022-05-02T13:25:29.276Z] 13:25:29     INFO - Console message: 1651497889920	AboutHomeStartupCache	TRACE	Caching now.
[task 2022-05-02T13:25:29.276Z] 13:25:29     INFO - Console message: 1651497889920	AboutHomeStartupCache	TRACE	Parent is requesting Activity Stream state object.
[task 2022-05-02T13:25:29.277Z] 13:25:29     INFO - Console message: 1651497889920	AboutHomeStartupCache	TRACE	Parent is requesting cache streams.
[task 2022-05-02T13:25:29.277Z] 13:25:29     INFO - Console message: 1651497889976	AboutHomeStartupCache	TRACE	Parent received cache streams.
[task 2022-05-02T13:25:29.277Z] 13:25:29     INFO - Console message: 1651497889976	AboutHomeStartupCache	TRACE	Got cache streams.
[task 2022-05-02T13:25:29.278Z] 13:25:29     INFO - Console message: 1651497889976	AboutHomeStartupCache	TRACE	Populating cache.
[task 2022-05-02T13:25:29.278Z] 13:25:29     INFO - Buffered messages finished
[task 2022-05-02T13:25:29.279Z] 13:25:29     INFO - TEST-UNEXPECTED-FAIL | browser/components/newtab/test/browser/abouthomecache/browser_locale_change.js | Test timed out - 
[task 2022-05-02T13:25:29.279Z] 13:25:29     INFO - GECKO(1929) | MEMORY STAT | vsize 8644MB | residentFast 285MB | heapAllocated 111MB
[task 2022-05-02T13:25:29.279Z] 13:25:29     INFO - TEST-OK | browser/components/newtab/test/browser/abouthomecache/browser_locale_change.js | took 45111ms
[task 2022-05-02T13:25:29.280Z] 13:25:29     INFO - Not taking screenshot here: see the one that was previously logged
[task 2022-05-02T13:25:29.280Z] 13:25:29     INFO - TEST-UNEXPECTED-FAIL | browser/components/newtab/test/browser/abouthomecache/browser_locale_change.js | Found a tab after previous test timed out: about:home - 
[task 2022-05-02T13:25:29.281Z] 13:25:29     INFO - checking window state
[task 2022-05-02T13:25:29.281Z] 13:25:29     INFO - TEST-START | browser/components/newtab/test/browser/abouthomecache/browser_no_cache.js
```