Bug: Perma Linux 18.04 x64 WebRender DevEdition opt [tier 2] TEST-UNEXPECTED-FAIL | browser/components/downloads/test/browser/browser_pdfjs_preview.js | Test timed out - when Gecko 109 merges to Beta on 2022-12-12
Status: VERIFIED
Priority: --
Resolution: FIXED
Created: 2022-12-12 16:57:19+00:00
Resolved: 2023-01-04 13:51:23+00:00

[Central-as-beta simulation:](https://treeherder.mozilla.org/jobs?repo=try&group_state=expanded&resultStatus=testfailed%2Cbusted%2Cexception%2Cretry%2Cusercancel%2Crunnable&revision=f1535ec0f486e3edb3928a3013d0b806e9f00acc&selectedTaskRun=I0etIjciTaqIm_pwL7JmgQ.0) 
[How to run these simulations:](https://wiki.mozilla.org/Sheriffing/How_To/Beta_simulations#TRUNK_AS_EARLY_BETA)

[Failure log:](https://treeherder.mozilla.org/logviewer?job_id=399327405&repo=try&lineNumber=4894)

This only fails on **Linux 18.04 x64 WebRender DevEdition opt** . Seems to be an old issue [beta as early simulation from DEC 6](https://treeherder.mozilla.org/jobs?repo=try&group_state=expanded&resultStatus=success%2Cretry%2Cpending%2Crunning%2Ctestfailed%2Cbusted%2Cexception%2Cusercancel&revision=c2112e051c4381b41515754b4ef573c4cdd0204e&searchStr=linux%2C18.04%2Cx64%2Cwebrender%2Cdevedition%2Copt%2Cmochitests%2Cwith%2Csoftware%2Cwebrender%2Cenabled%2Ctest-linux1804-64-devedition-qr%2Fopt-mochitest-browser-chrome-swr%2Cbc2&selectedTaskRun=Wd2BTcuUS2WmGU67w95GfQ.0). It happens on both early and late beta sims.
```
[task 2022-12-12T13:18:56.206Z] 13:18:56     INFO - TEST-PASS | browser/components/downloads/test/browser/browser_pdfjs_preview.js | Download item target exists - {} == true - 
[task 2022-12-12T13:18:56.207Z] 13:18:56     INFO - Waiting for double-click content task
[task 2022-12-12T13:18:56.210Z] 13:18:56     INFO - Console message: [JavaScript Warning: "Partitioned cookie or storage access was provided to “file:///tmp/Temp-e7b6b0a7-c6a0-4b65-a88c-723c44760dfd/testsavedir2407193991/downloaded.pdf” because it is loaded in the third-party context and dynamic state partitioning is enabled."]
[task 2022-12-12T13:18:56.211Z] 13:18:56     INFO - Buffered messages logged at 13:16:40
[task 2022-12-12T13:18:56.212Z] 13:18:56     INFO - Longer timeout required, waiting longer...  Remaining timeouts: 3
[task 2022-12-12T13:18:56.213Z] 13:18:56     INFO - Buffered messages logged at 13:17:25
[task 2022-12-12T13:18:56.214Z] 13:18:56     INFO - Longer timeout required, waiting longer...  Remaining timeouts: 2
[task 2022-12-12T13:18:56.215Z] 13:18:56     INFO - Buffered messages logged at 13:18:10
[task 2022-12-12T13:18:56.216Z] 13:18:56     INFO - Longer timeout required, waiting longer...  Remaining timeouts: 1
[task 2022-12-12T13:18:56.217Z] 13:18:56     INFO - Buffered messages finished
[task 2022-12-12T13:18:56.218Z] 13:18:56     INFO - TEST-UNEXPECTED-FAIL | browser/components/downloads/test/browser/browser_pdfjs_preview.js | Test timed out - 
[task 2022-12-12T13:18:56.219Z] 13:18:56     INFO - removing /tmp/dm-ui-test.file
[task 2022-12-12T13:18:56.220Z] 13:18:56     INFO - GECKO(12491) | MEMORY STAT | vsize 3665MB | residentFast 451MB | heapAllocated 337MB
[task 2022-12-12T13:18:56.220Z] 13:18:56     INFO - TEST-OK | browser/components/downloads/test/browser/browser_pdfjs_preview.js | took 180021ms
[task 2022-12-12T13:18:56.221Z] 13:18:56     INFO - Not taking screenshot here: see the one that was previously logged
[task 2022-12-12T13:18:56.222Z] 13:18:56     INFO - TEST-UNEXPECTED-FAIL | browser/components/downloads/test/browser/browser_pdfjs_preview.js | Found a tab after previous test timed out: file:///tmp/Temp-e7b6b0a7-c6a0-4b65-a88c-723c44760dfd/testsavedir2407193991/downloaded.pdf - 
[task 2022-12-12T13:18:56.223Z] 13:18:56     INFO - Not taking screenshot here: see the one that was previously logged
[task 2022-12-12T13:18:56.227Z] 13:18:56     INFO - TEST-UNEXPECTED-FAIL | browser/components/downloads/test/browser/browser_pdfjs_preview.js | Found a tab after previous test timed out: about:downloads - 
[task 2022-12-12T13:18:56.228Z] 13:18:56     INFO - checking window state
[task 2022-12-12T13:18:56.229Z] 13:18:56     INFO - TEST-START | browser/components/downloads/test/browser/browser_tempfilename.js
```