Closed
Bug 1679967
Opened 4 years ago
Closed 4 years ago
Intermittent browser/components/newtab/test/browser/abouthomecache/browser_shutdown_timeout.js | Uncaught exception - undefined - threw exception: [Exception... "Component returned failure code: 0x80470002 (NS_BASE_STREAM_CLOSED) [nsIInputStream.available
Categories
(Firefox :: New Tab Page, defect, P5)
Firefox
New Tab Page
Tracking
()
RESOLVED
FIXED
85 Branch
Tracking | Status | |
---|---|---|
firefox-esr78 | --- | unaffected |
firefox83 | --- | unaffected |
firefox84 | --- | unaffected |
firefox85 | --- | fixed |
People
(Reporter: intermittent-bug-filer, Assigned: mconley)
References
(Regression)
Details
(Keywords: intermittent-failure, regression)
Attachments
(1 file)
Filed by: rmaries [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=323144117&repo=autoland
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/dCdLommPRI2gTlOkw5nXpA/runs/0/artifacts/public/logs/live_backing.log
[task 2020-12-01T10:05:32.558Z] 10:05:32 INFO - TEST-START | browser/components/newtab/test/browser/abouthomecache/browser_shutdown_timeout.js
[task 2020-12-01T10:05:39.375Z] 10:05:39 INFO - Ensuring cache bytes are available
[task 2020-12-01T10:05:39.375Z] 10:05:39 INFO - Console message: 1606817138415 AboutHomeStartupCache TRACE Cache entry is available.
[task 2020-12-01T10:05:39.376Z] 10:05:39 INFO - Console message: 1606817138416 AboutHomeStartupCache TRACE Connecting nsICacheEntry to pipes.
[task 2020-12-01T10:05:39.377Z] 10:05:39 INFO - Console message: 1606817138417 AboutHomeStartupCache TRACE
[task 2020-12-01T10:05:39.380Z] 10:05:39 INFO - Console message: 1606817138417 AboutHomeStartupCache DEBUG Cache meta data does not exist. Closing streams.
[task 2020-12-01T10:05:39.381Z] 10:05:39 INFO - Buffered messages finished
[task 2020-12-01T10:05:39.382Z] 10:05:39 INFO - TEST-UNEXPECTED-FAIL | browser/components/newtab/test/browser/abouthomecache/browser_shutdown_timeout.js | Uncaught exception - undefined - threw exception: [Exception... "Component returned failure code: 0x80470002 (NS_BASE_STREAM_CLOSED) [nsIInputStream.available]" nsresult: "0x80470002 (NS_BASE_STREAM_CLOSED)" location: "JS frame :: chrome://mochitests/content/browser/browser/components/newtab/test/browser/abouthomecache/head.js :: <TOP_LEVEL> :: line 130" data: no]
[task 2020-12-01T10:05:39.383Z] 10:05:39 INFO - Leaving test bound test_shutdown_timeout
[task 2020-12-01T10:05:39.383Z] 10:05:39 INFO - GECKO(3071) | MEMORY STAT | vsize 3044MB | residentFast 339MB | heapAllocated 93MB
[task 2020-12-01T10:05:39.384Z] 10:05:39 INFO - TEST-OK | browser/components/newtab/test/browser/abouthomecache/browser_shutdown_timeout.js | took 6231ms
[task 2020-12-01T10:05:39.384Z] 10:05:39 INFO - Not taking screenshot here: see the one that was previously logged
[task 2020-12-01T10:05:39.385Z] 10:05:39 INFO - TEST-UNEXPECTED-FAIL | browser/components/newtab/test/browser/abouthomecache/browser_shutdown_timeout.js | Found an unexpected tab at the end of test run: about:home -
[task 2020-12-01T10:05:39.385Z] 10:05:39 INFO - GECKO(3071) | [Child 3346, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80040111 (NS_ERROR_NOT_AVAILABLE): file /builds/worker/checkouts/gecko/caps/BasePrincipal.cpp:1349
[task 2020-12-01T10:05:39.386Z] 10:05:39 INFO - GECKO(3071) | [Child 3219: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 0x7f9766498c00 == 1 [pid = 3219] [id = 5]
[task 2020-12-01T10:05:39.389Z] 10:05:39 INFO - GECKO(3071) | [Child 3219: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 2 (0x7f97664b7200) [pid = 3219] [serial = 11] [outer = (nil)]
[task 2020-12-01T10:05:39.389Z] 10:05:39 INFO - GECKO(3071) | [Child 3219: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 3 (0x7f976649c000) [pid = 3219] [serial = 12] [outer = 0x7f97664b7200]
[task 2020-12-01T10:05:39.390Z] 10:05:39 INFO - checking window state```
Comment 1•4 years ago
|
||
4 failures so far.
status-firefox83:
--- → unaffected
status-firefox84:
--- → unaffected
status-firefox85:
--- → affected
status-firefox-esr78:
--- → unaffected
Flags: needinfo?(mconley)
Regressed by: 1673716
Updated•4 years ago
|
Has Regression Range: --- → yes
Keywords: regression
Comment hidden (Intermittent Failures Robot) |
Assignee | ||
Updated•4 years ago
|
Assignee: nobody → mconley
Flags: needinfo?(mconley)
Assignee | ||
Comment 4•4 years ago
|
||
For debug builds, it seems we'd unexpectedly hit the AboutHomeStartupCache shutdown
timer when simulating shutdowns, which would put the cache entry into a half-written
state that risked confusing later tests.
This patch now makes sure that only tests that exercise/expect the timeout will hit it.
We also make sure to clear the cache of any half-written state after the
browser_shutdown_timeout.js test runs.
Comment hidden (Intermittent Failures Robot) |
Pushed by mconley@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/c1f177305ce9
Make sure about:home shutdown timer is used for tests that expect it. r=emalysz
Comment 7•4 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 85 Branch
Comment hidden (Intermittent Failures Robot) |
You need to log in
before you can comment on or make changes to this bug.
Description
•