Bug: Intermittent browser/components/newtab/test/browser/abouthomecache/browser_shutdown_timeout.js | Test timed out - | Uncaught exception received from previously timed out test - at chrome://*/abouthomecache/head.js:118 - ReferenceError: info is not defined
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2020-12-03 00:32:18+00:00
Resolved: 2023-10-18 12:02:34+00:00

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

---
```
[task 2020-12-03T00:07:34.194Z] 00:07:34     INFO - TEST-START | browser/components/newtab/test/browser/abouthomecache/browser_shutdown_timeout.js
[task 2020-12-03T00:07:35.389Z] 00:07:35     INFO - GECKO(2682) | console.warn: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAYAAABw4pVUAAAA/UlEQVR4nO3RMQ0AMAzAsPIn3d5DsBw2gkiZJWV+B/AyJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQGENiDIkxJMaQmAP4K6zWNUjE4wAAAABJRU5ErkJggg== is not allowed for anchor targets."
[task 2020-12-03T00:07:35.571Z] 00:07:35     INFO - GECKO(2682) | JavaScript error: resource:///modules/BrowserGlue.jsm, line 5616: TypeError: can't access property "trace", this.log is null
[task 2020-12-03T00:09:04.248Z] 00:09:04     INFO - TEST-INFO | started process screentopng
[task 2020-12-03T00:09:04.642Z] 00:09:04     INFO - TEST-INFO | screentopng: exit 0
[task 2020-12-03T00:09:04.642Z] 00:09:04     INFO - Buffered messages logged at 00:07:34
[task 2020-12-03T00:09:04.643Z] 00:09:04     INFO - Entering test bound test_shutdown_timeout
[task 2020-12-03T00:09:04.643Z] 00:09:04     INFO - Test is clearing the cache
[task 2020-12-03T00:09:04.643Z] 00:09:04     INFO - Test has cleared the cache.
[task 2020-12-03T00:09:04.644Z] 00:09:04     INFO - Simulating restart of the browser
[task 2020-12-03T00:09:04.644Z] 00:09:04     INFO - Simulating shutdown write
[task 2020-12-03T00:09:04.645Z] 00:09:04     INFO - Console message: 1606954054550	AboutHomeStartupCache	TRACE	Clearing the cache.
[task 2020-12-03T00:09:04.645Z] 00:09:04     INFO - Console message: 1606954054551	AboutHomeStartupCache	TRACE	Never wrote a cache this session. Arming cache task.
[task 2020-12-03T00:09:04.645Z] 00:09:04     INFO - Console message: 1606954054551	AboutHomeStartupCache	TRACE	Finalizing cache task on shutdown
[task 2020-12-03T00:09:04.649Z] 00:09:04     INFO - Console message: 1606954054552	AboutHomeStartupCache	TRACE	Caching now.
[task 2020-12-03T00:09:04.649Z] 00:09:04     INFO - Console message: 1606954054552	AboutHomeStartupCache	TRACE	Parent is requesting Activity Stream state object.
[task 2020-12-03T00:09:04.649Z] 00:09:04     INFO - Console message: 1606954054552	AboutHomeStartupCache	TRACE	Parent is requesting cache streams.
[task 2020-12-03T00:09:04.650Z] 00:09:04     INFO - Buffered messages logged at 00:07:35
[task 2020-12-03T00:09:04.650Z] 00:09:04     INFO - Shutdown write done
[task 2020-12-03T00:09:04.651Z] 00:09:04     INFO - Waiting for AboutHomeStartupCacheChild to uninit
[task 2020-12-03T00:09:04.653Z] 00:09:04     INFO - Console message: [JavaScript Error: "1606954055558	AboutHomeStartupCache	ERROR	Timed out getting cache streams. Skipping cache task." {file: "resource://gre/modules/Log.jsm" line: 723}]
[task 2020-12-03T00:09:04.654Z] 00:09:04     INFO - append@resource://gre/modules/Log.jsm:723:12
[task 2020-12-03T00:09:04.654Z] 00:09:04     INFO - log@resource://gre/modules/Log.jsm:379:16
[task 2020-12-03T00:09:04.655Z] 00:09:04     INFO - error@resource://gre/modules/Log.jsm:387:10
[task 2020-12-03T00:09:04.655Z] 00:09:04     INFO - cacheNow@resource:///modules/BrowserGlue.jsm:5105:18
[task 2020-12-03T00:09:04.665Z] 00:09:04     INFO - 
[task 2020-12-03T00:09:04.665Z] 00:09:04     INFO - Console message: 1606954055559	AboutHomeStartupCache	TRACE	Uninitialized.
[task 2020-12-03T00:09:04.666Z] 00:09:04     INFO - Console message: [JavaScript Error: "TypeError: can't access property "trace", this.log is null" {file: "resource:///modules/BrowserGlue.jsm" line: 5616}]
[task 2020-12-03T00:09:04.666Z] 00:09:04     INFO - receiveMessage@resource:///modules/BrowserGlue.jsm:5616:9
[task 2020-12-03T00:09:04.667Z] 00:09:04     INFO - 
[task 2020-12-03T00:09:04.667Z] 00:09:04     INFO - AboutHomeStartupCacheChild uninitted
[task 2020-12-03T00:09:04.667Z] 00:09:04     INFO - Waiting for AboutHomeStartupCache cache entry
[task 2020-12-03T00:09:04.672Z] 00:09:04     INFO - Console message: 1606954055574	AboutHomeStartupCache	TRACE	Initting.
[task 2020-12-03T00:09:04.673Z] 00:09:04     INFO - Console message: 1606954055574	AboutHomeStartupCache	TRACE	Constructing pipes.
[task 2020-12-03T00:09:04.675Z] 00:09:04     INFO - Console message: 1606954055575	AboutHomeStartupCache	TRACE	Initialized.
[task 2020-12-03T00:09:04.676Z] 00:09:04     INFO - Console message: 1606954055575	AboutHomeStartupCache	TRACE	A privileged about content process is launching with ID 1.
[task 2020-12-03T00:09:04.676Z] 00:09:04     INFO - Console message: 1606954055576	AboutHomeStartupCache	INFO	Sending input streams down to content process.
[task 2020-12-03T00:09:04.676Z] 00:09:04     INFO - Buffered messages finished
[task 2020-12-03T00:09:04.677Z] 00:09:04     INFO - TEST-UNEXPECTED-FAIL | browser/components/newtab/test/browser/abouthomecache/browser_shutdown_timeout.js | Test timed out - 
[task 2020-12-03T00:09:04.677Z] 00:09:04     INFO - GECKO(2682) | MEMORY STAT | vsize 20975198MB | residentFast 1129MB
[task 2020-12-03T00:09:04.677Z] 00:09:04     INFO - TEST-OK | browser/components/newtab/test/browser/abouthomecache/browser_shutdown_timeout.js | took 90067ms
[task 2020-12-03T00:09:04.678Z] 00:09:04     INFO - Not taking screenshot here: see the one that was previously logged
[task 2020-12-03T00:09:04.678Z] 00:09:04     INFO - TEST-UNEXPECTED-FAIL | browser/components/newtab/test/browser/abouthomecache/browser_shutdown_timeout.js | Found a tab after previous test timed out: about:home - 
[task 2020-12-03T00:09:04.679Z] 00:09:04     INFO - checking window state
[task 2020-12-03T00:09:05.137Z] 00:09:05     INFO - GECKO(2682) | ###!!! [Parent][RunMessage] Error: Channel closing: too late to send/recv, messages will be lost
[task 2020-12-03T00:09:05.173Z] 00:09:05     INFO - Not taking screenshot here: see the one that was previously logged
[task 2020-12-03T00:09:05.174Z] 00:09:05     INFO - TEST-UNEXPECTED-FAIL | browser/components/newtab/test/browser/abouthomecache/browser_shutdown_timeout.js | Uncaught exception received from previously timed out test - at chrome://mochitests/content/browser/browser/components/newtab/test/browser/abouthomecache/head.js:118 - ReferenceError: info is not defined
[task 2020-12-03T00:09:05.174Z] 00:09:05     INFO - Stack trace:
[task 2020-12-03T00:09:05.175Z] 00:09:05     INFO - simulateRestart@chrome://mochitests/content/browser/browser/components/newtab/test/browser/abouthomecache/head.js:118:5
[task 2020-12-03T00:09:05.759Z] 00:09:05     INFO - Console message: 1606954145144	AboutHomeStartupCache	INFO	Content process shutdown: 5
[task 2020-12-03T00:09:05.760Z] 00:09:05     INFO - Console message: 1606954145152	AboutHomeStartupCache	TRACE	Cache entry is available.
[task 2020-12-03T00:09:05.761Z] 00:09:05     INFO - Console message: 1606954145152	AboutHomeStartupCache	TRACE	Connecting nsICacheEntry to pipes.
[task 2020-12-03T00:09:05.761Z] 00:09:05     INFO - Console message: 1606954145154	AboutHomeStartupCache	TRACE	
[task 2020-12-03T00:09:05.765Z] 00:09:05     INFO - Console message: 1606954145156	AboutHomeStartupCache	DEBUG	Cache meta data does not exist. Closing streams.
[task 2020-12-03T00:09:05.841Z] 00:09:05     INFO - GECKO(2682) | error: address range table at offset 0x57b0 has an invalid tuple (length = 0) at offset 0x57c0
[task 2020-12-03T00:09:05.977Z] 00:09:05     INFO - GECKO(2682) | -----------------------------------------------------
[task 2020-12-03T00:09:05.978Z] 00:09:05     INFO - GECKO(2682) | Suppressions used:
[task 2020-12-03T00:09:05.979Z] 00:09:05     INFO - GECKO(2682) |   count      bytes template
[task 2020-12-03T00:09:05.979Z] 00:09:05     INFO - GECKO(2682) |      14        448 nsComponentManagerImpl
[task 2020-12-03T00:09:05.980Z] 00:09:05     INFO - GECKO(2682) |     633      18287 libfontconfig.so
[task 2020-12-03T00:09:05.980Z] 00:09:05     INFO - GECKO(2682) | -----------------------------------------------------
[task 2020-12-03T00:09:06.201Z] 00:09:06     INFO - GECKO(2682) | Completed ShutdownLeaks collections in process 2851
[task 2020-12-03T00:09:06.221Z] 00:09:06     INFO - GECKO(2682) | Completed ShutdownLeaks collections in process 2821
[task 2020-12-03T00:09:06.342Z] 00:09:06     INFO - GECKO(2682) | Completed ShutdownLeaks collections in process 2761
[task 2020-12-03T00:09:06.378Z] 00:09:06     INFO - GECKO(2682) | Completed ShutdownLeaks collections in process 2740
[task 2020-12-03T00:09:07.064Z] 00:09:07     INFO - GECKO(2682) | Completed ShutdownLeaks collections in process 2682
[task 2020-12-03T00:09:07.064Z] 00:09:07     INFO - TEST-START | Shutdown
[task 2020-12-03T00:09:07.065Z] 00:09:07     INFO - Browser Chrome Test Summary
[task 2020-12-03T00:09:07.065Z] 00:09:07     INFO - Passed:  86
[task 2020-12-03T00:09:07.065Z] 00:09:07     INFO - Failed:  3
[task 2020-12-03T00:09:07.065Z] 00:09:07     INFO - Todo:    0
[task 2020-12-03T00:09:07.065Z] 00:09:07     INFO - Mode:    e10s
[task 2020-12-03T00:09:07.065Z] 00:09:07     INFO - *** End BrowserChrome Test Results ***```