Closed Bug 1570021 Opened 4 months ago Closed 4 months ago

Intermittent toolkit/mozapps/update/tests/browser/browser_elevationDialog.js | Uncaught exception - [Exception... "Component returned failure code: 0x80520008 (NS_ERROR_FILE_ALREADY_EXISTS) [nsIFile.create]" nsresult: "0x80520008 (

Categories

(Toolkit :: Application Update, defect, P5)

defect

Tracking

()

RESOLVED FIXED
mozilla70
Tracking Status
firefox-esr60 --- unaffected
firefox-esr68 --- unaffected
firefox68 --- unaffected
firefox69 --- fixed
firefox70 --- fixed

People

(Reporter: intermittent-bug-filer, Assigned: rstrong)

Details

(Keywords: intermittent-failure, regression, Whiteboard: [test isolation])

Attachments

(1 file)

Filed by: rmaries [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer.html#?job_id=259005119&repo=mozilla-central
Full log: https://queue.taskcluster.net/v1/task/dqOtNA9TS0qlp8S11rDerQ/runs/0/artifacts/public/logs/live_backing.log


[task 2019-07-30T14:05:37.645Z] 14:05:37 INFO - TEST-START | toolkit/mozapps/update/tests/browser/browser_elevationDialog.js
task 2019-07-30T14:05:39.202Z] 14:05:39 INFO - TEST-UNEXPECTED-FAIL | toolkit/mozapps/update/tests/browser/browser_elevationDialog.js | Uncaught exception - [Exception... "Component returned failure code: 0x80520008 (NS_ERROR_FILE_ALREADY_EXISTS) [nsIFile.create]" nsresult: "0x80520008 (NS_ERROR_FILE_ALREADY_EXISTS)" location: "JS frame :: chrome://mochitests/content/browser/toolkit/mozapps/update/tests/browser/shared.js :: writeFile :: line 316" data: no]
[task 2019-07-30T14:05:39.202Z] 14:05:39 INFO - Stack trace:
[task 2019-07-30T14:05:39.202Z] 14:05:39 INFO - writeFile@chrome://mochitests/content/browser/toolkit/mozapps/update/tests/browser/shared.js:316:11
[task 2019-07-30T14:05:39.202Z] 14:05:39 INFO - writeUpdatesToXMLFile@chrome://mochitests/content/browser/toolkit/mozapps/update/tests/browser/shared.js:273:3
[task 2019-07-30T14:05:39.202Z] 14:05:39 INFO - waitForElevationDialog/<@chrome://mochitests/content/browser/toolkit/mozapps/update/tests/browser/browser_elevationDialog.js:133:5
[task 2019-07-30T14:05:39.202Z] 14:05:39 INFO - waitForElevationDialog@chrome://mochitests/content/browser/toolkit/mozapps/update/tests/browser/browser_elevationDialog.js:102:10
[task 2019-07-30T14:05:39.202Z] 14:05:39 INFO - elevation_dialog@chrome://mochitests/content/browser/toolkit/mozapps/update/tests/browser/browser_elevationDialog.js:60:27
[task 2019-07-30T14:05:39.202Z] 14:05:39 INFO - AsyncTester_execTest/<@chrome://mochikit/content/browser-test.js:1346:34
[task 2019-07-30T14:05:39.202Z] 14:05:39 INFO - async
Tester_execTest@chrome://mochikit/content/browser-test.js:1381:11
[task 2019-07-30T14:05:39.202Z] 14:05:39 INFO - nextTest/<@chrome://mochikit/content/browser-test.js:1209:14
[task 2019-07-30T14:05:39.202Z] 14:05:39 INFO - SimpleTest.waitForFocus/waitForFocusInner/focusedOrLoaded/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:803:59
[task 2019-07-30T14:05:39.203Z] 14:05:39 INFO - Leaving test bound elevation_dialog
[task 2019-07-30T14:05:39.242Z] 14:05:39 INFO - GECKO(2904) | MEMORY STAT | vsize 2104447MB | vsizeMaxContiguous 65385359MB | residentFast 560MB | heapAllocated 293MB
[task 2019-07-30T14:05:39.242Z] 14:05:39 INFO - TEST-OK | toolkit/mozapps/update/tests/browser/browser_elevationDialog.js | took 1589ms
[task 2019-07-30T14:05:39.242Z] 14:05:39 INFO - GECKO(2904) | ++DOCSHELL 0000017C9DF48000 == 1 [pid = 1612] [id = {e40fe235-4c4b-4779-a104-a634aa58744c}]
[task 2019-07-30T14:05:39.242Z] 14:05:39 INFO - GECKO(2904) | ++DOMWINDOW == 16 (0000017CA4B125C0) [pid = 1612] [serial = 76] [outer = 0000000000000000]
[task 2019-07-30T14:05:39.242Z] 14:05:39 INFO - GECKO(2904) | [Child 1612, Main Thread] WARNING: No active window: file z:/build/build/src/js/xpconnect/src/XPCJSContext.cpp, line 664
[task 2019-07-30T14:05:39.261Z] 14:05:39 INFO - GECKO(2904) | [Child 1612, Main Thread] WARNING: No active window: file z:/build/build/src/js/xpconnect/src/XPCJSContext.cpp, line 664
[task 2019-07-30T14:05:39.261Z] 14:05:39 INFO - checking window state
[task 2019-07-30T14:05:39.262Z] 14:05:39 INFO - GECKO(2904) | ++DOMWINDOW == 17 (0000017C9DF7A800) [pid = 1612] [serial = 77] [outer = 0000017CA4B125C0]
[task 2019-07-30T14:05:39.287Z] 14:05:39 INFO - GECKO(2904) | JavaScript error: resource://testing-common/PromiseTestUtils.jsm, line 112: uncaught exception: Object

Assignee: nobody → robert.strong.bugs
Status: NEW → ASSIGNED
Pushed by rstrong@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/2167416fd85e
Fix intermittent browser_elevationDialog.js by reloading the Update Manager data at the start of the test. r=bytesized
Whiteboard: [test isolation]
Status: ASSIGNED → RESOLVED
Closed: 4 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla70
Whiteboard: [test isolation] → [test isolation][checkin-needed-beta]
Whiteboard: [test isolation][checkin-needed-beta] → [test isolation]
You need to log in before you can comment on or make changes to this bug.