Closed Bug 1752603 Opened 4 years ago Closed 4 years ago

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

Categories

(Firefox :: Downloads Panel, defect, P5)

defect

Tracking

()

RESOLVED DUPLICATE of bug 1776042
Tracking Status
firefox-esr91 --- unaffected
firefox96 --- unaffected
firefox97 --- wontfix
firefox98 --- wontfix
firefox99 --- wontfix
firefox100 --- wontfix

People

(Reporter: intermittent-bug-filer, Unassigned)

References

(Regression)

Details

(Keywords: intermittent-failure, regression)

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

:gijs, in looking the mercurial logs, it could be related to the fixes for bug 1752159.
We made a pdf.js release yesterday (see bug 1752574) but it's very likely unrelated (at least in considering that this bug has been filed 3 days ago).

Component: PDF Viewer → Downloads Panel
Flags: needinfo?(gijskruitbosch+bugs)

(In reply to Calixte Denizet (:calixte) from comment #2)

:gijs, in looking the mercurial logs, it could be related to the fixes for bug 1752159.

If I had to guess I'd sooner guess bug 1741076.

The screenshot shows that the download happened (downloads icon is blue) but the panel hasn't shown. I don't see why that would happen for PDFs as a result of 1752159.

Flags: needinfo?(gijskruitbosch+bugs)
Regressed by: 1741076

Set release status flags based on info from the regressing bug 1741076

Has Regression Range: --- → yes
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.