Bug: Intermittent browser/components/downloads/test/browser/browser_downloads_panel_context_menu.js | Cleanup function threw an exception - UnknownError: Unexpected error: NS_ERROR_FAILURE
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2021-07-10 02:11:36+00:00
Resolved: 2024-10-08 05:08:23+00:00

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

---
```
[task 2021-07-10T01:14:51.739Z] 01:14:51     INFO - TEST-START | browser/components/downloads/test/browser/browser_downloads_panel_context_menu.js
[task 2021-07-10T01:14:52.090Z] 01:14:52     INFO - TEST-INFO | started process screenshot
[task 2021-07-10T01:14:52.175Z] 01:14:52     INFO - TEST-INFO | screenshot: exit 0
[task 2021-07-10T01:14:52.175Z] 01:14:52     INFO - Buffered messages logged at 01:14:51
[task 2021-07-10T01:14:52.176Z] 01:14:52     INFO - Entering test bound test_setUp
[task 2021-07-10T01:14:52.176Z] 01:14:52     INFO - TEST-PASS | browser/components/downloads/test/browser/browser_downloads_panel_context_menu.js | At the start of the test, there should be 0 downloads - 
[task 2021-07-10T01:14:52.177Z] 01:14:52     INFO - Created download directory: C:\Users\task_1625876514\AppData\LocalLow\Mozilla\Temp-{b9d6ccb3-e220-4dcd-9451-2994e0c53859}\testsavedir2247668850
[task 2021-07-10T01:14:52.178Z] 01:14:52     INFO - TEST-PASS | browser/components/downloads/test/browser/browser_downloads_panel_context_menu.js | Created C:\Users\task_1625876514\AppData\LocalLow\Mozilla\Temp-{b9d6ccb3-e220-4dcd-9451-2994e0c53859}\testsavedir2247668850\downloaded.pdf - 
[task 2021-07-10T01:14:52.178Z] 01:14:52     INFO - Created downloaded PDF file at:C:\Users\task_1625876514\AppData\LocalLow\Mozilla\Temp-{b9d6ccb3-e220-4dcd-9451-2994e0c53859}\testsavedir2247668850\downloaded.pdf
<...>
[task 2021-07-10T01:14:52.196Z] 01:14:52     INFO - TEST-PASS | browser/components/downloads/test/browser/browser_downloads_panel_context_menu.js | Expected no errors verifying context menu items - 
[task 2021-07-10T01:14:52.196Z] 01:14:52     INFO - Leaving test bound Canceled PDF download
[task 2021-07-10T01:14:52.196Z] 01:14:52     INFO - removing C:\Users\task_1625876514\AppData\Local\Temp\dm-ui-test.file
[task 2021-07-10T01:14:52.196Z] 01:14:52     INFO - Buffered messages finished
[task 2021-07-10T01:14:52.197Z] 01:14:52     INFO - TEST-UNEXPECTED-FAIL | browser/components/downloads/test/browser/browser_downloads_panel_context_menu.js | Cleanup function threw an exception - UnknownError: Unexpected error: NS_ERROR_FAILURE
[task 2021-07-10T01:14:52.197Z] 01:14:52     INFO - GECKO(7220) | MEMORY STAT | vsize 2104280MB | vsizeMaxContiguous 65114789MB | residentFast 305MB | heapAllocated 131MB
[task 2021-07-10T01:14:52.198Z] 01:14:52     INFO - TEST-OK | browser/components/downloads/test/browser/browser_downloads_panel_context_menu.js | took 405ms
[task 2021-07-10T01:14:52.199Z] 01:14:52     INFO - checking window state
[task 2021-07-10T01:14:52.199Z] 01:14:52     INFO - TEST-START | browser/components/downloads/test/browser/browser_downloads_panel_ctrl_click.js
```