Bug: Intermittent toolkit/components/pdfjs/test/browser_pdfjs_download_button.js | single tracking bug
Status: REOPENED
Priority: P5
Created: 2022-12-18 22:06:40+00:00
Resolved: 2025-02-17 07:02:23+00:00

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

---
```
[task 2022-12-18T21:31:56.541Z] 21:31:56     INFO - TEST-START | toolkit/components/pdfjs/test/browser_pdfjs_download_button.js
[task 2022-12-18T21:31:57.488Z] 21:31:57     INFO - GECKO(11465) | Inconsistency detected by ld.so: ../elf/dl-tls.c: 481: _dl_allocate_tls_init: Assertion `listp->slotinfo[cnt].gen <= GL(dl_tls_generation)' failed!
[task 2022-12-18T21:31:57.524Z] 21:31:57     INFO - GECKO(11465) | Exiting due to channel error.
[task 2022-12-18T21:31:57.542Z] 21:31:57     INFO - GECKO(11465) | Exiting due to channel error.
[task 2022-12-18T21:31:57.542Z] 21:31:57     INFO - GECKO(11465) | Exiting due to channel error.
[task 2022-12-18T21:31:57.548Z] 21:31:57     INFO - GECKO(11465) | Exiting due to channel error.
[task 2022-12-18T21:31:57.550Z] 21:31:57     INFO - GECKO(11465) | Exiting due to channel error.
[task 2022-12-18T21:31:57.552Z] 21:31:57     INFO - GECKO(11465) | Exiting due to channel error.
[task 2022-12-18T21:31:57.596Z] 21:31:57     INFO - GECKO(11465) | Exiting due to channel error.
[task 2022-12-18T21:31:57.642Z] 21:31:57     INFO - TEST-INFO | Main app process: exit 127
[task 2022-12-18T21:31:57.642Z] 21:31:57     INFO - Buffered messages logged at 21:31:56
[task 2022-12-18T21:31:57.642Z] 21:31:57     INFO - Entering setup bound 
[task 2022-12-18T21:31:57.642Z] 21:31:57     INFO - Leaving setup bound 
[task 2022-12-18T21:31:57.642Z] 21:31:57     INFO - Entering test bound test_downloading_pdf_nonprivate_window
[task 2022-12-18T21:31:57.642Z] 21:31:57     INFO - Console message: [JavaScript Warning: "Unknown category for SetEventRecordingEnabled: page_load"]
[task 2022-12-18T21:31:57.642Z] 21:31:57     INFO - Console message: [JavaScript Warning: "Unknown category for SetEventRecordingEnabled: page_load"]
[task 2022-12-18T21:31:57.642Z] 21:31:57     INFO - Buffered messages logged at 21:31:57
[task 2022-12-18T21:31:57.643Z] 21:31:57     INFO - Console message: [JavaScript Warning: "Partitioned cookie or storage access was provided to “http://example.com/browser/toolkit/components/pdfjs/test/file_pdfjs_test.pdf” because it is loaded in the third-party context and dynamic state partitioning is enabled."]
[task 2022-12-18T21:31:57.643Z] 21:31:57     INFO - 2 tabs are open at the start of the test
[task 2022-12-18T21:31:57.643Z] 21:31:57     INFO - Clicking on the download button...
[task 2022-12-18T21:31:57.643Z] 21:31:57     INFO - Waiting for a filename to be picked from the file picker
[task 2022-12-18T21:31:57.643Z] 21:31:57     INFO - Buffered messages finished
[task 2022-12-18T21:31:57.643Z] 21:31:57    ERROR - TEST-UNEXPECTED-FAIL | toolkit/components/pdfjs/test/browser_pdfjs_download_button.js | application terminated with exit code 127
[task 2022-12-18T21:31:57.643Z] 21:31:57     INFO - runtests.py | Application ran for: 0:00:05.312393
[task 2022-12-18T21:31:57.643Z] 21:31:57     INFO - zombiecheck | Reading PID log: /tmp/tmpnioq8kaxpidlog
[task 2022-12-18T21:31:57.644Z] 21:31:57     INFO - ==> process 11465 launched child process 11488
[task 2022-12-18T21:31:57.646Z] 21:31:57     INFO - ==> process 11465 launched child process 11531
[task 2022-12-18T21:31:57.647Z] 21:31:57     INFO - ==> process 11465 launched child process 11561
[task 2022-12-18T21:31:57.648Z] 21:31:57     INFO - ==> process 11465 launched child process 11608
[task 2022-12-18T21:31:57.649Z] 21:31:57     INFO - ==> process 11465 launched child process 11630
[task 2022-12-18T21:31:57.650Z] 21:31:57     INFO - ==> process 11465 launched child process 11669
[task 2022-12-18T21:31:57.650Z] 21:31:57     INFO - ==> process 11465 launched child process 11674
[task 2022-12-18T21:31:57.651Z] 21:31:57     INFO - ==> process 11465 launched child process 11745
[task 2022-12-18T21:31:57.652Z] 21:31:57     INFO - zombiecheck | Checking for orphan process with PID: 11488
[task 2022-12-18T21:31:57.652Z] 21:31:57     INFO - zombiecheck | Checking for orphan process with PID: 11745
[task 2022-12-18T21:31:57.653Z] 21:31:57     INFO - zombiecheck | Checking for orphan process with PID: 11561
[task 2022-12-18T21:31:57.654Z] 21:31:57     INFO - zombiecheck | Checking for orphan process with PID: 11531
[task 2022-12-18T21:31:57.654Z] 21:31:57     INFO - zombiecheck | Checking for orphan process with PID: 11630
[task 2022-12-18T21:31:57.655Z] 21:31:57     INFO - zombiecheck | Checking for orphan process with PID: 11669
[task 2022-12-18T21:31:57.656Z] 21:31:57     INFO - zombiecheck | Checking for orphan process with PID: 11608
[task 2022-12-18T21:31:57.657Z] 21:31:57     INFO - zombiecheck | Checking for orphan process with PID: 11674
[task 2022-12-18T21:31:57.658Z] 21:31:57     INFO - Stopping web server
[task 2022-12-18T21:31:57.658Z] 21:31:57     INFO - Server shut down.
[task 2022-12-18T21:31:57.681Z] 21:31:57     INFO - Web server killed.
[task 2022-12-18T21:31:57.682Z] 21:31:57     INFO - Stopping web socket server
[task 2022-12-18T21:31:57.701Z] 21:31:57     INFO - Stopping ssltunnel
[task 2022-12-18T21:31:57.721Z] 21:31:57     INFO - Stopping gst for v4l2loopback
[task 2022-12-18T21:31:57.722Z] 21:31:57  WARNING - leakcheck | refcount logging is off, so leaks can't be detected!
[task 2022-12-18T21:31:57.723Z] 21:31:57     INFO - runtests.py | Running tests: end.
[task 2022-12-18T21:31:57.737Z] 21:31:57     INFO -  Failed to unload module: Module b'86\n' not loaded
[task 2022-12-18T21:31:57.744Z] 21:31:57     INFO -  Failed to unload module: Module b'87\n' not loaded
[task 2022-12-18T21:31:57.750Z] 21:31:57     INFO -  Failed to unload module: Module b'88\n' not loaded
[task 2022-12-18T21:31:57.759Z] 21:31:57     INFO -  Failed to unload module: Module b'89\n' not loaded
[task 2022-12-18T21:31:57.760Z] 21:31:57     INFO - Buffered messages finished
[task 2022-12-18T21:31:57.761Z] 21:31:57     INFO - Running manifest: toolkit/components/startup/tests/browser/browser.ini
[task 2022-12-18T21:31:57.800Z] 21:31:57     INFO -  Setting pipeline to PAUSED ...
[task 2022-12-18T21:31:57.801Z] 21:31:57     INFO -  Pipeline is PREROLLING ...
[task 2022-12-18T21:31:57.805Z] 21:31:57     INFO -  Pipeline is PREROLLED ...
[task 2022-12-18T21:31:57.805Z] 21:31:57     INFO -  Setting pipeline to PLAYING ...
[task 2022-12-18T21:31:57.805Z] 21:31:57     INFO -  New clock: GstSystemClock
[task 2022-12-18T21:31:57.839Z] 21:31:57     INFO -  Got EOS from element "pipeline0".
[task 2022-12-18T21:31:57.840Z] 21:31:57     INFO -  Execution ended after 0:00:00.032833673
[task 2022-12-18T21:31:57.841Z] 21:31:57     INFO -  Setting pipeline to PAUSED ...
[task 2022-12-18T21:31:57.842Z] 21:31:57     INFO -  Setting pipeline to READY ...
[task 2022-12-18T21:31:57.843Z] 21:31:57     INFO -  (gst-launch-1.0:11759): GStreamer-CRITICAL **: 21:31:57.838: gst_object_unref: assertion '((GObject *) object)->ref_count > 0' failed
[task 2022-12-18T21:31:57.844Z] 21:31:57     INFO -  Setting pipeline to NULL ...
[task 2022-12-18T21:31:57.844Z] 21:31:57     INFO -  Freeing pipeline ...
[task 2022-12-18T21:31:57.962Z] 21:31:57     INFO - PID 11779 | pk12util: PKCS12 IMPORT SUCCESSFUL
[task 2022-12-18T21:31:58.004Z] 21:31:58     INFO - MochitestServer : launching ['/builds/worker/workspace/build/tests/bin/xpcshell', '-g', '/builds/worker/workspace/build/application/firefox', '-f', '/builds/worker/workspace/build/tests/bin/components/httpd.js', '-e', "const _PROFILE_PATH = '/tmp/tmpz8aja2g9.mozrunner'; const _SERVER_PORT = '8888'; const _SERVER_ADDR = '127.0.0.1'; const _TEST_PREFIX = undefined; const _DISPLAY_RESULTS = false;", '-f', '/builds/worker/workspace/build/tests/mochitest/server.js']
[task 2022-12-18T21:31:58.004Z] 21:31:58     INFO - runtests.py | Server pid: 11782
[task 2022-12-18T21:31:58.033Z] 21:31:58     INFO - runtests.py | Websocket server pid: 11785
[task 2022-12-18T21:31:58.057Z] 21:31:58     INFO - runtests.py | SSL tunnel pid: 11791
[task 2022-12-18T21:31:58.110Z] 21:31:58     INFO - runtests.py | Running with scheme: http
[task 2022-12-18T21:31:58.110Z] 21:31:58     INFO - runtests.py | Running with e10s: True
[task 2022-12-18T21:31:58.110Z] 21:31:58     INFO - runtests.py | Running with fission: True
[task 2022-12-18T21:31:58.110Z] 21:31:58     INFO - runtests.py | Running with cross-origin iframes: False
[task 2022-12-18T21:31:58.110Z] 21:31:58     INFO - runtests.py | Running with serviceworker_e10s: True
[task 2022-12-18T21:31:58.111Z] 21:31:58     INFO - runtests.py | Running with socketprocess_e10s: False
[task 2022-12-18T21:31:58.111Z] 21:31:58     INFO - runtests.py | Running tests: start.
[task 2022-12-18T21:31:58.112Z] 21:31:58     INFO - 
[task 2022-12-18T21:31:58.244Z] 21:31:58     INFO - Application command: /builds/worker/workspace/build/application/firefox/firefox -marionette -foreground -profile /tmp/tmpz8aja2g9.mozrunner
[task 2022-12-18T21:31:58.260Z] 21:31:58     INFO - runtests.py | Application pid: 11812
[task 2022-12-18T21:31:58.263Z] 21:31:58     INFO - TEST-INFO | started process GECKO(11812)
[task 2022-12-18T21:31:58.790Z] 21:31:58     INFO - GECKO(11812) | 1671399118788	Marionette	INFO	Marionette enabled
[task 2022-12-18T21:31:58.791Z] 21:31:58     INFO - GECKO(11812) | 1671399118790	Marionette	TRACE	Received observer notification final-ui-startup
[task 2022-12-18T21:31:58.794Z] 21:31:58     INFO - GECKO(11812) | 1671399118792	Marionette	INFO	Listening on port 2828
[task 2022-12-18T21:31:58.794Z] 21:31:58     INFO - GECKO(11812) | 1671399118793	Marionette	DEBUG	Marionette is listening
[task 2022-12-18T21:31:58.874Z] 21:31:58     INFO - GECKO(11812) | 1671399118873	Marionette	DEBUG	Accepted connection 0 from 127.0.0.1:55986
[task 2022-12-18T21:31:58.900Z] 21:31:58     INFO - GECKO(11812) | 1671399118899	Marionette	DEBUG	Closed connection 0
[task 2022-12-18T21:31:58.902Z] 21:31:58     INFO - GECKO(11812) | 1671399118899	Marionette	DEBUG	Accepted connection 1 from 127.0.0.1:55988
[task 2022-12-18T21:31:59.028Z] 21:31:59     INFO - GECKO(11812) | 1671399119027	Marionette	DEBUG	1 -> [0,1,"WebDriver:NewSession",{"strictFileInteractability":true}]
[task 2022-12-18T21:31:59.032Z] 21:31:59     INFO - GECKO(11812) | 1671399119031	Marionette	DEBUG	Waiting for initial application window
[task 2022-12-18T21:32:00.591Z] 21:32:00     INFO - GECKO(11812) | console.error: (new UnknownCollectionError("Unknown Collection \"main/query-stripping\"", "resource://services-settings/RemoteSettingsClient.jsm", 197))
[task 2022-12-18T21:32:00.743Z] 21:32:00     INFO - GECKO(11812) | console.warn: SearchSettings: "get: No settings file exists, new profile?" (new NotFoundError("Could not open the file at /tmp/tmpz8aja2g9.mozrunner/search.json.mozlz4", (void 0)))
[task 2022-12-18T21:32:01.751Z] 21:32:01     INFO - GECKO(11812) | console.error: (new UnknownCollectionError("Unknown Collection \"main/quicksuggest\"", "resource://services-settings/RemoteSettingsClient.jsm", 197))
[task 2022-12-18T21:32:01.753Z] 21:32:01     INFO - GECKO(11812) | console.error: (new UnknownCollectionError("Unknown Collection \"main/quicksuggest\"", "resource://services-settings/RemoteSettingsClient.jsm", 197))
[task 2022-12-18T21:32:01.755Z] 21:32:01     INFO - GECKO(11812) | console.error: (new UnknownCollectionError("Unknown Collection \"main/quicksuggest\"", "resource://services-settings/RemoteSettingsClient.jsm", 197))
[task 2022-12-18T21:32:01.903Z] 21:32:01     INFO - GECKO(11812) | 1671399121902	Marionette	TRACE	Received observer notification browser-idle-startup-tasks-finished
[task 2022-12-18T21:32:01.916Z] 21:32:01     INFO - GECKO(11812) | 1671399121915	RemoteAgent	TRACE	[9] ProgressListener Start: expectNavigation=false resolveWhenStarted=false unloadTimeout=200 waitForExplicitStart=false
[task 2022-12-18T21:32:01.918Z] 21:32:01     INFO - GECKO(11812) | 1671399121916	RemoteAgent	TRACE	[9] ProgressListener Setting unload timer (200ms)
[task 2022-12-18T21:32:01.919Z] 21:32:01     INFO - GECKO(11812) | 1671399121916	RemoteAgent	TRACE	[9] Document already finished loading: about:blank
[task 2022-12-18T21:32:01.920Z] 21:32:01     INFO - GECKO(11812) | 1671399121916	RemoteAgent	TRACE	[9] ProgressListener Stop: has error=false
[task 2022-12-18T21:32:01.940Z] 21:32:01     INFO - GECKO(11812) | 1671399121937	Marionette	DEBUG	1 <- [1,1,null,{"sessionId":"b0534e15-6c8d-4d3c-8fe9-362bc4de2941","capabilities":{"browserName":"firefox","browserVersion":"110.0a1","platformName":"linux","acceptInsecureCerts":false,"pageLoadStrategy":"normal","setWindowRect":true,"timeouts":{"implicit":0,"pageLoad":300000,"script":30000},"strictFileInteractability":true,"unhandledPromptBehavior":"dismiss and notify","moz:accessibilityChecks":false,"moz:buildID":"20221218193142","moz:headless":false,"moz:platformVersion":"4.4.0-1014-aws","moz:processID":11812,"moz:profile":"/tmp/tmpz8aja2g9.mozrunner","moz:shutdownTimeout":60000,"moz:useNonSpecCompliantPointerOrigin":false,"moz:webdriverClick":true,"moz:windowless":false,"proxy":{}}}]
[task 2022-12-18T21:32:01.967Z] 21:32:01     INFO - GECKO(11812) | 1671399121964	Marionette	DEBUG	1 -> [0,2,"Addon:Install",{"path":"/tmp/tmp3hx8o4gu.zip","temporary":false}]
[task 2022-12-18T21:32:02.070Z] 21:32:02     INFO - GECKO(11812) | 1671399122069	Marionette	DEBUG	1 <- [1,2,null,{"value":"special-powers@mozilla.org"}]
[task 2022-12-18T21:32:02.092Z] 21:32:02     INFO - GECKO(11812) | 1671399122091	Marionette	DEBUG	1 -> [0,3,"Addon:Install",{"path":"/tmp/tmp5mkk_i8u.zip","temporary":false}]
[task 2022-12-18T21:32:02.115Z] 21:32:02     INFO - GECKO(11812) | 1671399122114	Marionette	DEBUG	1 <- [1,3,null,{"value":"mochikit@mozilla.org"}]
[task 2022-12-18T21:32:02.118Z] 21:32:02     INFO - GECKO(11812) | 1671399122116	Marionette	DEBUG	1 -> [0,4,"Marionette:GetContext",{}]
[task 2022-12-18T21:32:02.119Z] 21:32:02     INFO - GECKO(11812) | 1671399122117	Marionette	DEBUG	1 <- [1,4,null,{"value":"content"}]
[task 2022-12-18T21:32:02.121Z] 21:32:02     INFO - GECKO(11812) | 1671399122118	Marionette	DEBUG	1 -> [0,5,"Marionette:SetContext",{"value":"chrome"}]
[task 2022-12-18T21:32:02.121Z] 21:32:02     INFO - GECKO(11812) | 1671399122119	Marionette	DEBUG	1 <- [1,5,null,{"value":null}]
[task 2022-12-18T21:32:02.123Z] 21:32:02     INFO - GECKO(11812) | 1671399122120	Marionette	DEBUG	1 -> [0,6,"WebDriver:ExecuteScript",{"script":"/* This Source Code Form is subject to the terms of the Mozilla Public\n * License, v. 2.0. If a copy of the MPL was not distr ... s which flavor and url to load.\nlet ev = new CustomEvent(\"mochitest-load\", { detail: [flavor, url] });\nwin.dispatchEvent(ev);","args":[{"flavor":"browser-chrome","testUrl":"about:blank"}],"newSandbox":true,"sandbox":"default","line":2027,"filename":"tests/mochitest/runtests.py"}]
[task 2022-12-18T21:32:02.125Z] 21:32:02     INFO - GECKO(11812) | 1671399122125	Marionette	TRACE	[1] MarionetteCommands actor created for window id 2
[task 2022-12-18T21:32:02.144Z] 21:32:02     INFO - GECKO(11812) | 1671399122143	Marionette	TRACE	Received observer notification domwindowopened
[task 2022-12-18T21:32:02.157Z] 21:32:02     INFO - GECKO(11812) | 1671399122156	Marionette	DEBUG	1 <- [1,6,null,{"value":null}]
[task 2022-12-18T21:32:02.175Z] 21:32:02     INFO - GECKO(11812) | 1671399122174	Marionette	DEBUG	1 -> [0,7,"Marionette:SetContext",{"value":"content"}]
[task 2022-12-18T21:32:02.176Z] 21:32:02     INFO - GECKO(11812) | 1671399122174	Marionette	DEBUG	1 <- [1,7,null,{"value":null}]
[task 2022-12-18T21:32:02.187Z] 21:32:02     INFO - GECKO(11812) | 1671399122186	Marionette	DEBUG	1 -> [0,8,"WebDriver:DeleteSession",{}]
[task 2022-12-18T21:32:02.206Z] 21:32:02     INFO - GECKO(11812) | 1671399122205	Marionette	DEBUG	1 <- [1,8,null,{"value":null}]
[task 2022-12-18T21:32:02.214Z] 21:32:02     INFO - runtests.py | Waiting for browser...
[task 2022-12-18T21:32:02.216Z] 21:32:02     INFO - GECKO(11812) | 1671399122215	Marionette	DEBUG	Closed connection 1
[task 2022-12-18T21:32:02.474Z] 21:32:02     INFO - TEST-START | toolkit/components/startup/tests/browser/browser_Telemetry_timestamp_test.js
```