Bug: Intermittent toolkit/components/pdfjs/test/browser_pdfjs_nonpdf_filename.js | single tracking bug
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2023-12-19 00:24:36+00:00
Resolved: 2024-10-14 12:08:42+00:00

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

---
```
[task 2023-12-18T23:43:12.417Z] 23:43:12     INFO - TEST-START | toolkit/components/pdfjs/test/browser_pdfjs_nonpdf_filename.js
[task 2023-12-18T23:43:12.912Z] 23:43:12     INFO - GECKO(17804) | JavaScript error: resource:///actors/InteractionsChild.sys.mjs, line 58: NS_ERROR_FAILURE: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIWebProgress.removeProgressListener]
[task 2023-12-18T23:43:14.527Z] 23:43:14     INFO - GECKO(17804) | JavaScript warning: resource://pdf.js/web/viewer.mjs, line 3715: Script terminated by timeout at:
[task 2023-12-18T23:43:14.527Z] 23:43:14     INFO - GECKO(17804) | _updateInternalState@resource://pdf.js/web/viewer.mjs:3715:3
[task 2023-12-18T23:43:14.527Z] 23:43:14     INFO - GECKO(17804) | _pushOrReplaceState@resource://pdf.js/web/viewer.mjs:3629:10
[task 2023-12-18T23:43:14.527Z] 23:43:14     INFO - GECKO(17804) | _tryPushCurrentPosition@resource://pdf.js/web/viewer.mjs:3653:12
[task 2023-12-18T23:43:14.527Z] 23:43:14     INFO - GECKO(17804) | _pageHide@resource://pdf.js/web/viewer.mjs:3810:12
[task 2023-12-18T23:43:14.528Z] 23:43:14     INFO - GECKO(17804) | EventListener.handleEvent*_bindEvents@resource://pdf.js/web/viewer.mjs:3824:12
[task 2023-12-18T23:43:14.530Z] 23:43:14     INFO - GECKO(17804) | initialize@resource://pdf.js/web/viewer.mjs:3462:10
[task 2023-12-18T23:43:14.530Z] 23:43:14     INFO - GECKO(17804) | _initializePdfHistory@resource://pdf.js/web/viewer.mjs:10683:21
[task 2023-12-18T23:43:14.530Z] 23:43:14     INFO - GECKO(17804) | load/</<@resource://pdf.js/web/viewer.mjs:10426:14
[task 2023-12-18T23:43:14.531Z] 23:43:14     INFO - GECKO(17804) | promise callback*load/<@resource://pdf.js/web/viewer.mjs:10424:109
[task 2023-12-18T23:43:19.644Z] 23:43:19     INFO - TEST-INFO | started process screentopng
[task 2023-12-18T23:43:19.793Z] 23:43:19     INFO - TEST-INFO | screentopng: exit 0
[task 2023-12-18T23:43:19.794Z] 23:43:19     INFO - Buffered messages logged at 23:43:12
[task 2023-12-18T23:43:19.794Z] 23:43:19     INFO - Entering test bound test_filename_nonpdf_extension
[task 2023-12-18T23:43:19.795Z] 23:43:19     INFO - Console message: [JavaScript Error: "NS_ERROR_FAILURE: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIWebProgress.removeProgressListener]" {file: "resource:///actors/InteractionsChild.sys.mjs" line: 58}]
[task 2023-12-18T23:43:19.796Z] 23:43:19     INFO - didDestroy@resource:///actors/InteractionsChild.sys.mjs:58:17
[task 2023-12-18T23:43:19.796Z] 23:43:19     INFO - 
[task 2023-12-18T23:43:19.796Z] 23:43:19     INFO - Buffered messages logged at 23:43:14
[task 2023-12-18T23:43:19.797Z] 23:43:19     INFO - Clicking on the download button...
[task 2023-12-18T23:43:19.798Z] 23:43:19     INFO - Waiting for a filename to be picked from the file picker
[task 2023-12-18T23:43:19.798Z] 23:43:19     INFO - TEST-PASS | toolkit/components/pdfjs/test/browser_pdfjs_nonpdf_filename.js | Should have gotten the provided filename with pdf suffixed. - 
[task 2023-12-18T23:43:19.799Z] 23:43:19     INFO - Leaving test bound test_filename_nonpdf_extension
[task 2023-12-18T23:43:19.801Z] 23:43:19     INFO - Console message: [JavaScript Warning: "Script terminated by timeout at:
[task 2023-12-18T23:43:19.801Z] 23:43:19     INFO - _updateInternalState@resource://pdf.js/web/viewer.mjs:3715:3
[task 2023-12-18T23:43:19.801Z] 23:43:19     INFO - _pushOrReplaceState@resource://pdf.js/web/viewer.mjs:3629:10
[task 2023-12-18T23:43:19.801Z] 23:43:19     INFO - _tryPushCurrentPosition@resource://pdf.js/web/viewer.mjs:3653:12
[task 2023-12-18T23:43:19.801Z] 23:43:19     INFO - _pageHide@resource://pdf.js/web/viewer.mjs:3810:12
[task 2023-12-18T23:43:19.801Z] 23:43:19     INFO - EventListener.handleEvent*_bindEvents@resource://pdf.js/web/viewer.mjs:3824:12
[task 2023-12-18T23:43:19.801Z] 23:43:19     INFO - initialize@resource://pdf.js/web/viewer.mjs:3462:10
[task 2023-12-18T23:43:19.801Z] 23:43:19     INFO - _initializePdfHistory@resource://pdf.js/web/viewer.mjs:10683:21
[task 2023-12-18T23:43:19.801Z] 23:43:19     INFO - load/</<@resource://pdf.js/web/viewer.mjs:10426:14
[task 2023-12-18T23:43:19.801Z] 23:43:19     INFO - promise callback*load/<@resource://pdf.js/web/viewer.mjs:10424:109
[task 2023-12-18T23:43:19.801Z] 23:43:19     INFO - " {file: "resource://pdf.js/web/viewer.mjs" line: 3715}]
[task 2023-12-18T23:43:19.801Z] 23:43:19     INFO - Buffered messages finished
[task 2023-12-18T23:43:19.803Z] 23:43:19     INFO - TEST-UNEXPECTED-FAIL | toolkit/components/pdfjs/test/browser_pdfjs_nonpdf_filename.js | waiting for vsync to be disabled - timed out after 50 tries. - false == true - {"filename":"chrome://mochikit/content/browser-test.js","name":"ensureVsyncDisabled","sourceId":552,"lineNumber":606,"columnNumber":19,"sourceLine":"","asyncCause":null,"asyncCaller":{"filename":"chrome://mochikit/content/browser-test.js","name":"nextTest","sourceId":552,"lineNumber":775,"columnNumber":18,"sourceLine":"","asyncCause":null,"asyncCaller":{"filename":"chrome://mochikit/content/browser-test.js","name":"testScope/test_finish/<","sourceId":552,"lineNumber":1805,"columnNumber":25,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/browser-test.js","name":"run","sourceId":552,"lineNumber":1725,"columnNumber":9,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":null,"formattedStack":"run@chrome://mochikit/content/browser-test.js:1725:9\n","nativeSavedFrame":{}},"formattedStack":"async*testScope/test_finish/<@chrome://mochikit/content/browser-test.js:1805:25\nrun@chrome://mochikit/content/browser-test.js:1725:9\n","nativeSavedFrame":{}},"caller":null,"formattedStack":"async*nextTest@chrome://mochikit/content/browser-test.js:775:18\nasync*testScope/test_finish/<@chrome://mochikit/content/browser-test.js:1805:25\nrun@chrome://mochikit/content/browser-test.js:1725:9\n","nativeSavedFrame":{}},"caller":null,"formattedStack":"ensureVsyncDisabled@chrome://mochikit/content/browser-test.js:606:19\nasync*nextTest@chrome://mochikit/content/browser-test.js:775:18\nasync*testScope/test_finish/<@chrome://mochikit/content/browser-test.js:1805:25\nrun@chrome://mochikit/content/browser-test.js:1725:9\n","nativeSavedFrame":{}}
[task 2023-12-18T23:43:19.803Z] 23:43:19     INFO - Stack trace:
[task 2023-12-18T23:43:19.803Z] 23:43:19     INFO - chrome://mochikit/content/browser-test.js:ensureVsyncDisabled:606
[task 2023-12-18T23:43:19.803Z] 23:43:19     INFO - chrome://mochikit/content/browser-test.js:nextTest:775
[task 2023-12-18T23:43:19.803Z] 23:43:19     INFO - chrome://mochikit/content/browser-test.js:testScope/test_finish/<:1805
[task 2023-12-18T23:43:19.803Z] 23:43:19     INFO - chrome://mochikit/content/browser-test.js:run:1725
[task 2023-12-18T23:43:19.804Z] 23:43:19     INFO - Not taking screenshot here: see the one that was previously logged
[task 2023-12-18T23:43:19.806Z] 23:43:19     INFO - TEST-UNEXPECTED-FAIL | toolkit/components/pdfjs/test/browser_pdfjs_nonpdf_filename.js | vsync remained enabled at the end of the test. Is there an animation still running? Consider talking to the performance team for tips to solve this. - false == true - {"filename":"chrome://mochikit/content/browser-test.js","name":"ensureVsyncDisabled","sourceId":552,"lineNumber":607,"columnNumber":19,"sourceLine":"","asyncCause":null,"asyncCaller":{"filename":"chrome://mochikit/content/browser-test.js","name":"nextTest","sourceId":552,"lineNumber":775,"columnNumber":18,"sourceLine":"","asyncCause":null,"asyncCaller":{"filename":"chrome://mochikit/content/browser-test.js","name":"testScope/test_finish/<","sourceId":552,"lineNumber":1805,"columnNumber":25,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/browser-test.js","name":"run","sourceId":552,"lineNumber":1725,"columnNumber":9,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":null,"formattedStack":"run@chrome://mochikit/content/browser-test.js:1725:9\n","nativeSavedFrame":{}},"formattedStack":"async*testScope/test_finish/<@chrome://mochikit/content/browser-test.js:1805:25\nrun@chrome://mochikit/content/browser-test.js:1725:9\n","nativeSavedFrame":{}},"caller":null,"formattedStack":"async*nextTest@chrome://mochikit/content/browser-test.js:775:18\nasync*testScope/test_finish/<@chrome://mochikit/content/browser-test.js:1805:25\nrun@chrome://mochikit/content/browser-test.js:1725:9\n","nativeSavedFrame":{}},"caller":null,"formattedStack":"ensureVsyncDisabled@chrome://mochikit/content/browser-test.js:607:19\nasync*nextTest@chrome://mochikit/content/browser-test.js:775:18\nasync*testScope/test_finish/<@chrome://mochikit/content/browser-test.js:1805:25\nrun@chrome://mochikit/content/browser-test.js:1725:9\n","nativeSavedFrame":{}}
[task 2023-12-18T23:43:19.806Z] 23:43:19     INFO - Stack trace:
[task 2023-12-18T23:43:19.806Z] 23:43:19     INFO - chrome://mochikit/content/browser-test.js:ensureVsyncDisabled:607
[task 2023-12-18T23:43:19.807Z] 23:43:19     INFO - chrome://mochikit/content/browser-test.js:nextTest:775
[task 2023-12-18T23:43:19.807Z] 23:43:19     INFO - chrome://mochikit/content/browser-test.js:testScope/test_finish/<:1805
[task 2023-12-18T23:43:19.807Z] 23:43:19     INFO - chrome://mochikit/content/browser-test.js:run:1725
[task 2023-12-18T23:43:19.808Z] 23:43:19     INFO - GECKO(17804) | MEMORY STAT | vsize 12018MB | residentFast 573MB | heapAllocated 340MB
[task 2023-12-18T23:43:19.808Z] 23:43:19     INFO - TEST-OK | toolkit/components/pdfjs/test/browser_pdfjs_nonpdf_filename.js | took 7230ms
[task 2023-12-18T23:43:34.633Z] 23:43:34     INFO - GECKO(17804) | [GFX1-]: RemoteTexture ready timeout
[task 2023-12-18T23:43:34.657Z] 23:43:34     INFO - checking window state
[task 2023-12-18T23:43:34.679Z] 23:43:34     INFO - TEST-START | toolkit/components/pdfjs/test/browser_pdfjs_not_default.js
```