Bug: Intermittent toolkit/components/pdfjs/test/browser_pdfjs_octet_stream.js | Test timed out - | Uncaught exception received from previously timed out test - popupshown listener on #downloadsPanel not removed before the end of test
Status: RESOLVED
Priority: P5
Resolution: DUPLICATE
Created: 2022-01-28 19:56:59+00:00
Resolved: 2022-07-26 00:17:05+00:00

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

---
```
[task 2022-01-28T18:03:00.657Z] 18:03:00     INFO - TEST-START | toolkit/components/pdfjs/test/browser_pdfjs_octet_stream.js
[task 2022-01-28T18:03:01.438Z] 18:03:01     INFO - GECKO(16767) | console.warn: LoginRecipes: "getRecipes: falling back to a synchronous message for:" "http://mochi.test:8888"
[task 2022-01-28T18:03:01.533Z] 18:03:01     INFO - GECKO(16767) | console.warn: LoginRecipes: "getRecipes: falling back to a synchronous message for:" "http://mochi.test:8888"
[task 2022-01-28T18:03:01.623Z] 18:03:01     INFO - GECKO(16767) | JavaScript error: resource://pdf.js/PdfStreamConverter.jsm, line 1123: NS_ERROR_FAILURE: Ignore PDF.js for this download.
[task 2022-01-28T18:03:02.076Z] 18:03:02     INFO - GECKO(16767) | JavaScript error: resource://pdf.js/PdfStreamConverter.jsm, line 1123: NS_ERROR_FAILURE: Ignore PDF.js for this download.
[task 2022-01-28T18:03:02.791Z] 18:03:02     INFO - GECKO(16767) | console.warn: LoginRecipes: "getRecipes: falling back to a synchronous message for:" "file://"
[task 2022-01-28T18:03:03.845Z] 18:03:03     INFO - GECKO(16767) | console.warn: LoginRecipes: "getRecipes: falling back to a synchronous message for:" "file://"
[task 2022-01-28T18:03:45.667Z] 18:03:45     INFO - TEST-INFO | started process screentopng
[task 2022-01-28T18:03:46.043Z] 18:03:46     INFO - TEST-INFO | screentopng: exit 0
[task 2022-01-28T18:03:46.043Z] 18:03:46     INFO - Buffered messages logged at 18:03:00
[task 2022-01-28T18:03:46.043Z] 18:03:46     INFO - Entering test bound test_octet_stream_opens_pdfjs
[task 2022-01-28T18:03:46.044Z] 18:03:46     INFO - TEST-PASS | toolkit/components/pdfjs/test/browser_pdfjs_octet_stream.js | pdf handler defaults to always-ask is false - 
[task 2022-01-28T18:03:46.044Z] 18:03:46     INFO - TEST-PASS | toolkit/components/pdfjs/test/browser_pdfjs_octet_stream.js | pdf handler defaults to internal - 
[task 2022-01-28T18:03:46.045Z] 18:03:46     INFO - Buffered messages logged at 18:03:01
[task 2022-01-28T18:03:46.045Z] 18:03:46     INFO - TEST-PASS | toolkit/components/pdfjs/test/browser_pdfjs_octet_stream.js | Should load pdfjs - 
[task 2022-01-28T18:03:46.045Z] 18:03:46     INFO - Leaving test bound test_octet_stream_opens_pdfjs
[task 2022-01-28T18:03:46.045Z] 18:03:46     INFO - Entering test bound test_octet_stream_in_frame_downloads
[task 2022-01-28T18:03:46.045Z] 18:03:46     INFO - TEST-PASS | toolkit/components/pdfjs/test/browser_pdfjs_octet_stream.js | pdf handler defaults to always-ask is false - 
[task 2022-01-28T18:03:46.046Z] 18:03:46     INFO - TEST-PASS | toolkit/components/pdfjs/test/browser_pdfjs_octet_stream.js | pdf handler defaults to internal - 
[task 2022-01-28T18:03:46.047Z] 18:03:46     INFO - Console message: [JavaScript Warning: "This page is in Quirks Mode. Page layout may be impacted. For Standards Mode use “<!DOCTYPE html>”." {file: "data:text/html,<iframe src='http://mochi.test:8888/browser/toolkit/components/pdfjs/test/file_pdfjs_object_stream.pdf'>" line: 0}]
[task 2022-01-28T18:03:46.047Z] 18:03:46     INFO - Console message: [JavaScript Error: "NS_ERROR_FAILURE: Ignore PDF.js for this download." {file: "resource://pdf.js/PdfStreamConverter.jsm" line: 1123}]
[task 2022-01-28T18:03:46.049Z] 18:03:46     INFO - getConvertedType@resource://pdf.js/PdfStreamConverter.jsm:1123:15
[task 2022-01-28T18:03:46.049Z] 18:03:46     INFO - 
[task 2022-01-28T18:03:46.050Z] 18:03:46     INFO - Console message: [JavaScript Error: "Unknown Collection "main/partitioning-exempt-urls"" {file: "resource://services-settings/RemoteSettingsClient.jsm" line: 158}]
[task 2022-01-28T18:03:46.050Z] 18:03:46     INFO - UnknownCollectionError@resource://services-settings/RemoteSettingsClient.jsm:158:5
[task 2022-01-28T18:03:46.051Z] 18:03:46     INFO - sync@resource://services-settings/RemoteSettingsClient.jsm:501:13
[task 2022-01-28T18:03:46.051Z] 18:03:46     INFO - 
[task 2022-01-28T18:03:46.051Z] 18:03:46     INFO - TEST-PASS | toolkit/components/pdfjs/test/browser_pdfjs_octet_stream.js | Should have a dialog asking what to do. - 
[task 2022-01-28T18:03:46.051Z] 18:03:46     INFO - Leaving test bound test_octet_stream_in_frame_downloads
[task 2022-01-28T18:03:46.052Z] 18:03:46     INFO - Entering test bound test_octet_stream_in_frame_downloads_improvements_to_download_panel
[task 2022-01-28T18:03:46.052Z] 18:03:46     INFO - Buffered messages logged at 18:03:02
[task 2022-01-28T18:03:46.053Z] 18:03:46     INFO - TEST-PASS | toolkit/components/pdfjs/test/browser_pdfjs_octet_stream.js | pdf handler defaults to always-ask is false - 
[task 2022-01-28T18:03:46.053Z] 18:03:46     INFO - TEST-PASS | toolkit/components/pdfjs/test/browser_pdfjs_octet_stream.js | pdf handler defaults to internal - 
[task 2022-01-28T18:03:46.054Z] 18:03:46     INFO - Console message: [JavaScript Warning: "This page is in Quirks Mode. Page layout may be impacted. For Standards Mode use “<!DOCTYPE html>”." {file: "data:text/html,<iframe src='http://mochi.test:8888/browser/toolkit/components/pdfjs/test/file_pdfjs_object_stream.pdf'>" line: 0}]
[task 2022-01-28T18:03:46.055Z] 18:03:46     INFO - Console message: [JavaScript Error: "NS_ERROR_FAILURE: Ignore PDF.js for this download." {file: "resource://pdf.js/PdfStreamConverter.jsm" line: 1123}]
[task 2022-01-28T18:03:46.055Z] 18:03:46     INFO - getConvertedType@resource://pdf.js/PdfStreamConverter.jsm:1123:15
[task 2022-01-28T18:03:46.055Z] 18:03:46     INFO - 
[task 2022-01-28T18:03:46.056Z] 18:03:46     INFO - Waiting for download panel to open
[task 2022-01-28T18:03:46.057Z] 18:03:46     INFO - Buffered messages finished
[task 2022-01-28T18:03:46.057Z] 18:03:46     INFO - TEST-UNEXPECTED-FAIL | toolkit/components/pdfjs/test/browser_pdfjs_octet_stream.js | Test timed out - 
[task 2022-01-28T18:03:46.057Z] 18:03:46     INFO - Not taking screenshot here: see the one that was previously logged
[task 2022-01-28T18:03:46.058Z] 18:03:46     INFO - TEST-UNEXPECTED-FAIL | toolkit/components/pdfjs/test/browser_pdfjs_octet_stream.js | Uncaught exception received from previously timed out test - popupshown listener on #downloadsPanel not removed before the end of test
[task 2022-01-28T18:03:46.059Z] 18:03:46     INFO - GECKO(16767) | MEMORY STAT | vsize 3747MB | residentFast 508MB | heapAllocated 306MB
[task 2022-01-28T18:03:46.059Z] 18:03:46     INFO - TEST-OK | toolkit/components/pdfjs/test/browser_pdfjs_octet_stream.js | took 45021ms
[task 2022-01-28T18:03:46.061Z] 18:03:46     INFO - Not taking screenshot here: see the one that was previously logged
[task 2022-01-28T18:03:46.061Z] 18:03:46     INFO - TEST-UNEXPECTED-FAIL | toolkit/components/pdfjs/test/browser_pdfjs_octet_stream.js | Found a tab after previous test timed out: file:///builds/worker/file_pdfjs_object_stream.pdf - 
[task 2022-01-28T18:03:46.061Z] 18:03:46     INFO - GECKO(16767) | console.warn: LoginRecipes: "getRecipes: falling back to a synchronous message for:" "file://"
[task 2022-01-28T18:03:46.062Z] 18:03:46     INFO - Not taking screenshot here: see the one that was previously logged
[task 2022-01-28T18:03:46.062Z] 18:03:46     INFO - TEST-UNEXPECTED-FAIL | toolkit/components/pdfjs/test/browser_pdfjs_octet_stream.js | Found a tab after previous test timed out: data:text/html,<iframe src='http://mochi.test:8888/browser/toolkit/components/pdfjs/test/file_pdfjs_object_stream.pdf'> - 
[task 2022-01-28T18:03:46.063Z] 18:03:46     INFO - checking window state
[task 2022-01-28T18:03:46.063Z] 18:03:46     INFO - TEST-START | toolkit/components/pdfjs/test/browser_pdfjs_saveas.js
[task 2022-01-28T18:03:46.622Z] 18:03:46     INFO - GECKO(16767) | console.warn: LoginRecipes: "getRecipes: falling back to a synchronous message for:" "http://example.com"
[task 2022-01-28T18:03:47.131Z] 18:03:47     INFO - GECKO(16767) | console.warn: LoginRecipes: "getRecipes: falling back to a synchronous message for:" "http://example.com"
[task 2022-01-28T18:03:47.885Z] 18:03:47     INFO - GECKO(16767) | console.warn: LoginRecipes: "getRecipes: falling back to a synchronous message for:" "http://example.com"
[task 2022-01-28T18:03:48.266Z] 18:03:48     INFO - GECKO(16767) | console.warn: LoginRecipes: "getRecipes: falling back to a synchronous message for:" "http://example.com"
[task 2022-01-28T18:03:49.255Z] 18:03:49     INFO - GECKO(16767) | console.warn: LoginRecipes: "getRecipes: falling back to a synchronous message for:" "file://"
[task 2022-01-28T18:03:49.515Z] 18:03:49     INFO - GECKO(16767) | console.warn: LoginRecipes: "getRecipes: falling back to a synchronous message for:" "file://"
[task 2022-01-28T18:03:49.578Z] 18:03:49     INFO - GECKO(16767) | MEMORY STAT | vsize 3791MB | residentFast 564MB | heapAllocated 325MB
[task 2022-01-28T18:03:49.581Z] 18:03:49     INFO - TEST-OK | toolkit/components/pdfjs/test/browser_pdfjs_saveas.js | took 3771ms
[task 2022-01-28T18:03:49.633Z] 18:03:49     INFO - checking window state
[task 2022-01-28T18:03:49.685Z] 18:03:49     INFO - TEST-START | toolkit/components/pdfjs/test/browser_pdfjs_savedialog.js
```