Bug: Intermittent browser/components/downloads/test/browser/browser_about_downloads.js | Uncaught exception - at chrome://mochitests/content/browser/browser/components/downloads/test/browser/browser_about_downloads.js:28
Status: RESOLVED
Priority: P5
Resolution: FIXED
Created: 2020-02-17 23:58:58+00:00
Resolved: 2020-02-24 06:12:14+00:00

**Filed by:** apavel [at] mozilla.com
**Parsed log:** https://treeherder.mozilla.org/logviewer.html#?job_id=289275263&repo=autoland
**Full log:** https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/EfzNNg3BTp6zo_7Mh2Jtlg/runs/0/artifacts/public/logs/live_backing.log
**Reftest URL:** https://hg.mozilla.org/mozilla-central/raw-file/tip/layout/tools/reftest/reftest-analyzer.xhtml#logurl=https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/EfzNNg3BTp6zo_7Mh2Jtlg/runs/0/artifacts/public/logs/live_backing.log&only_show_unexpected=1

---

[task 2020-02-17T21:52:04.649Z] 21:52:04     INFO - TEST-START | browser/components/downloads/test/browser/browser_about_downloads.js
[task 2020-02-17T21:52:04.697Z] 21:52:04     INFO - GECKO(1919) | [Parent 1919: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 0x11f568000 == 6 [pid = 1919] [id = {ae2ca056-c0f5-d144-9117-c7b8879c90e3}]
[task 2020-02-17T21:52:04.697Z] 21:52:04     INFO - GECKO(1919) | [Parent 1919: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 11 (0x124048880) [pid = 1919] [serial = 11] [outer = 0x0]
[task 2020-02-17T21:52:04.698Z] 21:52:04     INFO - GECKO(1919) | [Parent 1919: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 12 (0x11382ec00) [pid = 1919] [serial = 12] [outer = 0x124048880]
[task 2020-02-17T21:52:04.775Z] 21:52:04     INFO - GECKO(1919) | [Parent 1919: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 13 (0x11382fc00) [pid = 1919] [serial = 13] [outer = 0x124048880]
[task 2020-02-17T21:52:04.979Z] 21:52:04     INFO - GECKO(1919) | [1929, MainThread] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file /builds/worker/workspace/build/src/xpcom/base/nsTraceRefcnt.cpp, line 198
[task 2020-02-17T21:52:04.979Z] 21:52:04     INFO - GECKO(1919) | [1929, MainThread] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file /builds/worker/workspace/build/src/xpcom/base/nsTraceRefcnt.cpp, line 198
[task 2020-02-17T21:52:04.979Z] 21:52:04     INFO - GECKO(1919) | ### XPCOM_MEM_BLOAT_LOG defined -- logging bloat/leaks to /var/folders/n9/mhs7cqb55kj5l3xk5vmfvhcc000017/T/tmpat3yRV.mozrunner/runtests_leaks_tab_pid1929.log
[task 2020-02-17T21:52:04.979Z] 21:52:04     INFO - GECKO(1919) | [1929, MainThread] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file /builds/worker/workspace/build/src/xpcom/base/nsTraceRefcnt.cpp, line 198
[task 2020-02-17T21:52:04.979Z] 21:52:04     INFO - GECKO(1919) | [1929, MainThread] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file /builds/worker/workspace/build/src/xpcom/base/nsTraceRefcnt.cpp, line 198
[task 2020-02-17T21:52:05.029Z] 21:52:05     INFO - GECKO(1919) | [Child 1929, Main Thread] WARNING: No CID found when attempting to map contract ID: file /builds/worker/workspace/build/src/xpcom/components/nsComponentManager.cpp, line 721
[task 2020-02-17T21:52:05.168Z] 21:52:05     INFO - GECKO(1919) | [Child 1921, Main Thread] WARNING: '!aWin', file /builds/worker/workspace/build/src/dom/base/Document.cpp, line 1402
[task 2020-02-17T21:52:05.168Z] 21:52:05     INFO - GECKO(1919) | [Child 1921, Main Thread] WARNING: '!aWin', file /builds/worker/workspace/build/src/dom/base/Document.cpp, line 1402
[task 2020-02-17T21:52:05.426Z] 21:52:05     INFO - GECKO(1919) | [Parent 1919, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80004005: file /builds/worker/workspace/build/src/dom/base/nsContentUtils.cpp, line 3784
[task 2020-02-17T21:52:05.457Z] 21:52:05     INFO - GECKO(1919) | [Parent 1919, Main Thread] WARNING: Suboptimal indexes for the SQL statement 0x1151574b0 (http://mzl.la/1FuID0j).: file /builds/worker/workspace/build/src/storage/mozStoragePrivateHelpers.cpp, line 106
[task 2020-02-17T21:52:05.609Z] 21:52:05     INFO - TEST-INFO | started process screencapture
[task 2020-02-17T21:52:05.795Z] 21:52:05     INFO - TEST-INFO | screencapture: exit 0
[task 2020-02-17T21:52:05.796Z] 21:52:05     INFO - Buffered messages logged at 21:52:04
[task 2020-02-17T21:52:05.796Z] 21:52:05     INFO - Entering test bound test_about_downloads
[task 2020-02-17T21:52:05.796Z] 21:52:05     INFO - Buffered messages logged at 21:52:05
[task 2020-02-17T21:52:05.797Z] 21:52:05     INFO - TEST-PASS | browser/components/downloads/test/browser/browser_about_downloads.js | Should have list of downloads - [object XULElement] == true - 
[task 2020-02-17T21:52:05.797Z] 21:52:05     INFO - TEST-PASS | browser/components/downloads/test/browser/browser_about_downloads.js | Should have 2 downloads. - 2 == 2 - 
[task 2020-02-17T21:52:05.797Z] 21:52:05     INFO - TEST-PASS | browser/components/downloads/test/browser/browser_about_downloads.js | Should have listed the file name for this download. - "dm-ui-test.file" == "dm-ui-test.file" - 
[task 2020-02-17T21:52:05.797Z] 21:52:05     INFO - Buffered messages finished
[task 2020-02-17T21:52:05.797Z] 21:52:05     INFO - TEST-UNEXPECTED-FAIL | browser/components/downloads/test/browser/browser_about_downloads.js | Uncaught exception - at chrome://mochitests/content/browser/browser/components/downloads/test/browser/browser_about_downloads.js:28 - TypeError: can't access property "value", desc is null
[task 2020-02-17T21:52:05.797Z] 21:52:05     INFO - Stack trace:
[task 2020-02-17T21:52:05.797Z] 21:52:05     INFO - @chrome://mochitests/content/browser/browser/components/downloads/test/browser/browser_about_downloads.js:28:1
[task 2020-02-17T21:52:05.797Z] 21:52:05     INFO - execute@resource://specialpowers/SpecialPowersSandbox.jsm:140:12
[task 2020-02-17T21:52:05.798Z] 21:52:05     INFO - _spawnTask@resource://specialpowers/SpecialPowersChild.jsm:1727:15
[task 2020-02-17T21:52:05.798Z] 21:52:05     INFO - receiveMessage@resource://specialpowers/SpecialPowersChild.jsm:285:21
[task 2020-02-17T21:52:05.798Z] 21:52:05     INFO - JSWindowActor query*receiveMessage@resource://specialpowers/SpecialPowersParent.jsm:1055:12
[task 2020-02-17T21:52:05.798Z] 21:52:05     INFO - JSWindowActor query*spawn@resource://specialpowers/SpecialPowersChild.jsm:1682:17
[task 2020-02-17T21:52:05.798Z] 21:52:05     INFO - test_about_downloads/<@chrome://mochitests/content/browser/browser/components/downloads/test/browser/browser_about_downloads.js:20:25
[task 2020-02-17T21:52:05.798Z] 21:52:05     INFO - withNewTab@resource://testing-common/BrowserTestUtils.jsm:150:24
[task 2020-02-17T21:52:05.798Z] 21:52:05     INFO - async*test_about_downloads@chrome://mochitests/content/browser/browser/components/downloads/test/browser/browser_about_downloads.js:19:26
[task 2020-02-17T21:52:05.798Z] 21:52:05     INFO - Async*Tester_execTest/<@chrome://mochikit/content/browser-test.js:1062:34
[task 2020-02-17T21:52:05.798Z] 21:52:05     INFO - Tester_execTest@chrome://mochikit/content/browser-test.js:1097:11
[task 2020-02-17T21:52:05.798Z] 21:52:05     INFO - nextTest/<@chrome://mochikit/content/browser-test.js:925:14
[task 2020-02-17T21:52:05.798Z] 21:52:05     INFO - SimpleTest.waitForFocus/waitForFocusInner/focusedOrLoaded/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:914:23
[task 2020-02-17T21:52:05.798Z] 21:52:05     INFO - Leaving test bound test_about_downloads
[task 2020-02-17T21:52:05.799Z] 21:52:05     INFO - Console message: [JavaScript Error: "Unix error 2 during operation stat on file /var/folders/n9/mhs7cqb55kj5l3xk5vmfvhcc000017/T/dm-ui-test.file (No such file or directory)" {file: "resource://gre/modules/DownloadCore.jsm" line: 125}]
[task 2020-02-17T21:52:05.799Z] 21:52:05     INFO - isPlaceholder@resource://gre/modules/DownloadCore.jsm:125:8
[task 2020-02-17T21:52:05.799Z] 21:52:05     INFO - async*removeData@resource://gre/modules/DownloadCore.jsm:2383:16
[task 2020-02-17T21:52:05.799Z] 21:52:05     INFO - removePartialData/this._promiseRemovePartialData<@resource://gre/modules/DownloadCore.jsm:879:28
[task 2020-02-17T21:52:05.799Z] 21:52:05     INFO - removePartialData@resource://gre/modules/DownloadCore.jsm:889:9
[task 2020-02-17T21:52:05.799Z] 21:52:05     INFO - finalize@resource://gre/modules/DownloadCore.jsm:1038:19
[task 2020-02-17T21:52:05.799Z] 21:52:05     INFO - task_resetState@chrome://mochitests/content/browser/browser/components/downloads/test/browser/head.js:79:20
[task 2020-02-17T21:52:05.801Z] 21:52:05     INFO - async*nextTest@chrome://mochikit/content/browser-test.js:570:35
[task 2020-02-17T21:52:05.801Z] 21:52:05     INFO - async*testScope/test_finish/<@chrome://mochikit/content/browser-test.js:1457:25
[task 2020-02-17T21:52:05.801Z] 21:52:05     INFO - run@chrome://mochikit/content/browser-test.js:1372:9
[task 2020-02-17T21:52:05.801Z] 21:52:05     INFO - 
[task 2020-02-17T21:52:05.801Z] 21:52:05     INFO - GECKO(1919) | MEMORY STAT vsizeMaxContiguous not supported in this build configuration.
[task 2020-02-17T21:52:05.801Z] 21:52:05     INFO - GECKO(1919) | MEMORY STAT | vsize 6983MB | residentFast 350MB | heapAllocated 154MB
[task 2020-02-17T21:52:05.801Z] 21:52:05     INFO - TEST-OK | browser/components/downloads/test/browser/browser_about_downloads.js | took 1047ms
[task 2020-02-17T21:52:05.801Z] 21:52:05     INFO - Not taking screenshot here: see the one that was previously logged
[task 2020-02-17T21:52:05.801Z] 21:52:05     INFO - TEST-UNEXPECTED-FAIL | browser/components/downloads/test/browser/browser_about_downloads.js | Found an unexpected tab at the end of test run: about:downloads - 
[task 2020-02-17T21:52:05.801Z] 21:52:05     INFO - GECKO(1919) | [Parent 1919, Main Thread] WARNING: '!inner', file /builds/worker/workspace/build/src/dom/ipc/JSWindowActorService.cpp, line 182
[task 2020-02-17T21:52:05.801Z] 21:52:05     INFO - GECKO(1919) | [Child 1929: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 0x113386800 == 1 [pid = 1929] [id = {4bd4e2fe-0afd-2c4b-b76d-0a732c48d943}]
[task 2020-02-17T21:52:05.801Z] 21:52:05     INFO - GECKO(1919) | [Child 1929: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 1 (0x11ad1b200) [pid = 1929] [serial = 1] [outer = 0x0]
[task 2020-02-17T21:52:05.801Z] 21:52:05     INFO - GECKO(1919) | [Child 1929, Main Thread] WARNING: NS_ENSURE_TRUE(mPresShell) failed: file /builds/worker/workspace/build/src/layout/base/nsPresContext.cpp, line 847
[task 2020-02-17T21:52:05.801Z] 21:52:05     INFO - GECKO(1919) | [Child 1929: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 2 (0x114eed800) [pid = 1929] [serial = 2] [outer = 0x11ad1b200]
[task 2020-02-17T21:52:05.848Z] 21:52:05     INFO - GECKO(1919) | [Child 1929: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 3 (0x10ce38000) [pid = 1929] [serial = 3] [outer = 0x11ad1b200]
[task 2020-02-17T21:52:05.850Z] 21:52:05     INFO - checking window state