Bug: Intermittent browser/components/downloads/test/browser/browser_downloads_pauseResume.js | Cleanup function threw an exception - at (unknown module):undefined - Win error 32 during operation remove on file C:\Users\task_1614313881\AppData\Local\Temp\
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2021-02-26 09:19:16+00:00
Resolved: 2021-03-23 17:04:24+00:00

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

---
```
INFO - TEST-START | browser/components/downloads/test/browser/browser_downloads_pauseResume.js
[task 2021-02-26T04:47:59.843Z] 04:47:59     INFO - GECKO(3832) | [Parent 6636: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 0000022E9A898C00 == 17 [pid = 6636] [id = 33]
[task 2021-02-26T04:47:59.843Z] 04:47:59     INFO - GECKO(3832) | [Parent 6636: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 69 (0000022E9850F3C0) [pid = 6636] [serial = 81] [outer = 0000000000000000]
[task 2021-02-26T04:47:59.843Z] 04:47:59     INFO - GECKO(3832) | [Parent 6636: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 70 (0000022E9A89C400) [pid = 6636] [serial = 82] [outer = 0000022E9850F3C0]
[task 2021-02-26T04:47:59.854Z] 04:47:59     INFO - GECKO(3832) | [Parent 6636, Main Thread] WARNING: NS_ENSURE_TRUE(uri) failed: file /builds/worker/checkouts/gecko/caps/BasePrincipal.cpp:1327
[task 2021-02-26T04:47:59.925Z] 04:47:59     INFO - GECKO(3832) | [Parent 6636, Main Thread] WARNING: NS_ENSURE_TRUE(rootFrame) failed: file /builds/worker/checkouts/gecko/dom/base/nsGlobalWindowOuter.cpp:4253
[task 2021-02-26T04:47:59.964Z] 04:47:59     INFO - GECKO(3832) | [Child 5836: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 8 (000001A588F60400) [pid = 5836] [serial = 14] [outer = 0000000000000000] [url = about:blank]
[task 2021-02-26T04:47:59.966Z] 04:47:59     INFO - GECKO(3832) | [Child 5836: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 7 (000001A581290000) [pid = 5836] [serial = 13] [outer = 0000000000000000] [url = about:blank]
[task 2021-02-26T04:47:59.966Z] 04:47:59     INFO - GECKO(3832) | [Child 5836: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 000001A5878ACC00 == 2 [pid = 5836] [id = 7] [url = about:blank]
[task 2021-02-26T04:47:59.966Z] 04:47:59     INFO - GECKO(3832) | [Child 5836: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 000001A58123D000 == 1 [pid = 5836] [id = 5] [url = about:blank]
[task 2021-02-26T04:47:59.966Z] 04:47:59     INFO - GECKO(3832) | [Child 5836: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 000001A5878A8C00 == 0 [pid = 5836] [id = 6] [url = about:blank]
[task 2021-02-26T04:48:00.006Z] 04:48:00     INFO - GECKO(3832) | [Child 5836: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 6 (000001A588FEE740) [pid = 5836] [serial = 20] [outer = 0000000000000000] [url = about:blank]
[task 2021-02-26T04:48:00.006Z] 04:48:00     INFO - GECKO(3832) | [Child 5836: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 5 (000001A5878C9C80) [pid = 5836] [serial = 15] [outer = 0000000000000000] [url = about:blank]
[task 2021-02-26T04:48:00.006Z] 04:48:00     INFO - GECKO(3832) | [Child 5836: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 4 (000001A588FEE200) [pid = 5836] [serial = 18] [outer = 0000000000000000] [url = about:blank]
[task 2021-02-26T04:48:00.655Z] 04:48:00     INFO - GECKO(3832) | [Parent 6636, Main Thread] WARNING: Appending an extra chunk for SourceBuffer: file /builds/worker/checkouts/gecko/image/SourceBuffer.cpp:137
[task 2021-02-26T04:48:01.217Z] 04:48:01     INFO - TEST-INFO | started process screenshot
[task 2021-02-26T04:48:01.307Z] 04:48:01     INFO - TEST-INFO | screenshot: exit 0
[task 2021-02-26T04:48:01.307Z] 04:48:01     INFO - Buffered messages logged at 04:47:59
[task 2021-02-26T04:48:01.307Z] 04:48:01     INFO - Entering test bound test_downloads_library
[task 2021-02-26T04:48:01.307Z] 04:48:01     INFO - must wait for load
[task 2021-02-26T04:48:01.307Z] 04:48:01     INFO - must wait for focus
[task 2021-02-26T04:48:01.307Z] 04:48:01     INFO - Buffered messages logged at 04:48:00
[task 2021-02-26T04:48:01.308Z] 04:48:01     INFO - TEST-PASS | browser/components/downloads/test/browser/browser_downloads_pauseResume.js | Download list box present - 
[task 2021-02-26T04:48:01.308Z] 04:48:01     INFO - TEST-PASS | browser/components/downloads/test/browser/browser_downloads_pauseResume.js | Download state toggled from paused to downloading - 
[task 2021-02-26T04:48:01.308Z] 04:48:01     INFO - Buffered messages logged at 04:48:01
[task 2021-02-26T04:48:01.308Z] 04:48:01     INFO - TEST-PASS | browser/components/downloads/test/browser/browser_downloads_pauseResume.js | All downloads view did not scroll when spacebar event fired on a selected download - 
[task 2021-02-26T04:48:01.308Z] 04:48:01     INFO - Leaving test bound test_downloads_library
[task 2021-02-26T04:48:01.308Z] 04:48:01     INFO - Buffered messages finished
[task 2021-02-26T04:48:01.308Z] 04:48:01     INFO - TEST-UNEXPECTED-FAIL | browser/components/downloads/test/browser/browser_downloads_pauseResume.js | Cleanup function threw an exception - at (unknown module):undefined - Win error 32 during operation remove on file C:\Users\task_1614313881\AppData\Local\Temp\dm-ui-test.file (The process cannot access the file because it is being used by another process.
[task 2021-02-26T04:48:01.308Z] 04:48:01     INFO - )
[task 2021-02-26T04:48:01.409Z] 04:48:01     INFO - GECKO(3832) | [Parent 6636, Main Thread] WARNING: Appending an extra chunk for SourceBuffer: file /builds/worker/checkouts/gecko/image/SourceBuffer.cpp:137
[task 2021-02-26T04:48:02.059Z] 04:48:02     INFO - must wait for focus
[task 2021-02-26T04:48:02.240Z] 04:48:02     INFO - GECKO(3832) | MEMORY STAT | vsize 2104409MB | vsizeMaxContiguous 66839251MB | residentFast 396MB | heapAllocated 144MB
[task 2021-02-26T04:48:02.240Z] 04:48:02     INFO - TEST-OK | browser/components/downloads/test/browser/browser_downloads_pauseResume.js | took 2466ms
[task 2021-02-26T04:48:02.250Z] 04:48:02     INFO - GECKO(3832) | [Child 5836: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 000001A58123A800 == 1 [pid = 5836] [id = 8]
[task 2021-02-26T04:48:02.250Z] 04:48:02     INFO - GECKO(3832) | [Child 5836: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 5 (000001A5878C9C80) [pid = 5836] [serial = 22] [outer = 0000000000000000]
[task 2021-02-26T04:48:02.250Z] 04:48:02     INFO - GECKO(3832) | [Child 5836: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 6 (000001A581290000) [pid = 5836] [serial = 23] [outer = 000001A5878C9C80]
[task 2021-02-26T04:48:02.269Z] 04:48:02     INFO - checking window state
[task 2021-02-26T04:48:02.309Z] 04:48:02     INFO - TEST-START | browser/components/downloads/test/browser/browser_first_download_panel.js```