Closed Bug 1820642 Opened 2 years ago Closed 2 years ago

Intermittent TV browser/components/shell/test/browser_setDefaultPDFHandler.js | single tracking bug

Categories

(Firefox :: Shell Integration, defect, P5)

defect

Tracking

()

RESOLVED FIXED
112 Branch
Tracking Status
firefox-esr102 --- unaffected
firefox110 --- unaffected
firefox111 --- unaffected
firefox112 --- fixed

People

(Reporter: intermittent-bug-filer, Assigned: beth)

References

(Regression)

Details

(Keywords: intermittent-failure, regression, test-verify-fail)

Attachments

(1 file)

Filed by: ctuns [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=408014392&repo=autoland
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/Kg-hVkkoRquEWx2MJEIMjg/runs/0/artifacts/public/logs/live_backing.log
Reftest URL: https://hg.mozilla.org/mozilla-central/raw-file/tip/layout/tools/reftest/reftest-analyzer.xhtml#logurl=https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/Kg-hVkkoRquEWx2MJEIMjg/runs/0/artifacts/public/logs/live_backing.log&only_show_unexpected=1


[task 2023-03-06T20:54:39.106Z] 20:54:39     INFO - TEST-PASS | browser/components/shell/test/browser_setDefaultPDFHandler.js | true == true - 
[task 2023-03-06T20:54:39.106Z] 20:54:39     INFO - Buffered messages finished
[task 2023-03-06T20:54:39.108Z] 20:54:39     INFO - TEST-UNEXPECTED-FAIL | browser/components/shell/test/browser_setDefaultPDFHandler.js | Will take default from missing association or known browser with ProgID '' - [{"arguments":["set-default-browser-user-choice","94098C75C1D3E747"]}] deepEqual [{"arguments":["set-default-browser-user-choice","94098C75C1D3E747",".pdf","FirefoxPDF"]}] - {"filename":"chrome://mochitests/content/browser/browser/components/shell/test/browser_setDefaultPDFHandler.js","name":"remoteEnableWithPDF_testOnlyReplaceBrowsers","sourceId":583,"lineNumber":132,"columnNumber":12,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":null,"formattedStack":"remoteEnableWithPDF_testOnlyReplaceBrowsers@chrome://mochitests/content/browser/browser/components/shell/test/browser_setDefaultPDFHandler.js:132:12\n","nativeSavedFrame":{}}
[task 2023-03-06T20:54:39.108Z] 20:54:39     INFO - Stack trace:
[task 2023-03-06T20:54:39.108Z] 20:54:39     INFO - chrome://mochitests/content/browser/browser/components/shell/test/browser_setDefaultPDFHandler.js:remoteEnableWithPDF_testOnlyReplaceBrowsers:132
[task 2023-03-06T20:54:39.109Z] 20:54:39     INFO - GECKO(4000) | console.info: ShellService: Setting Firefox as default using UserChoice
[task 2023-03-06T20:54:39.109Z] 20:54:39     INFO - GECKO(4000) | console.debug: ShellService:
[task 2023-03-06T20:54:39.110Z] 20:54:39     INFO - GECKO(4000) |   Current default PDF handler progID does not match known browser prefix; should not set as default PDF handler.
[task 2023-03-06T20:54:39.110Z] 20:54:39     INFO - GECKO(4000) | console.info: ShellService: Not setting Firefox as default PDF handler
[task 2023-03-06T20:54:39.111Z] 20:54:39     INFO - TEST-PASS | browser/components/shell/test/browser_setDefaultPDFHandler.js | true == true - 
[task 2023-03-06T20:54:39.112Z] 20:54:39     INFO - Not taking screenshot here: see the one that was previously logged
[task 2023-03-06T20:54:39.114Z] 20:54:39     INFO - TEST-UNEXPECTED-FAIL | browser/components/shell/test/browser_setDefaultPDFHandler.js | Will take default from missing association or known browser with ProgID 'MSEdgePDF' - [{"arguments":["set-default-browser-user-choice","94098C75C1D3E747"]}] deepEqual [{"arguments":["set-default-browser-user-choice","94098C75C1D3E747",".pdf","FirefoxPDF"]}] - {"filename":"chrome://mochitests/content/browser/browser/components/shell/test/browser_setDefaultPDFHandler.js","name":"remoteEnableWithPDF_testOnlyReplaceBrowsers","sourceId":583,"lineNumber":132,"columnNumber":12,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":null,"formattedStack":"remoteEnableWithPDF_testOnlyReplaceBrowsers@chrome://mochitests/content/browser/browser/components/shell/test/browser_setDefaultPDFHandler.js:132:12\n","nativeSavedFrame":{}}
[task 2023-03-06T20:54:39.114Z] 20:54:39     INFO - Stack trace:
[task 2023-03-06T20:54:39.114Z] 20:54:39     INFO - chrome://mochitests/content/browser/browser/components/shell/test/browser_setDefaultPDFHandler.js:remoteEnableWithPDF_testOnlyReplaceBrowsers:132
[task 2023-03-06T20:54:39.114Z] 20:54:39     INFO - GECKO(4000) | console.info: ShellService: Setting Firefox as default using UserChoice
[task 2023-03-06T20:54:39.115Z] 20:54:39     INFO - GECKO(4000) | console.debug: ShellService:
[task 2023-03-06T20:54:39.115Z] 20:54:39     INFO - GECKO(4000) |   Current default PDF handler progID does not match known browser prefix; should not set as default PDF handler.
[task 2023-03-06T20:54:39.116Z] 20:54:39     INFO - GECKO(4000) | console.info: ShellService: Not setting Firefox as default PDF handler
[task 2023-03-06T20:54:39.116Z] 20:54:39     INFO - TEST-PASS | browser/components/shell/test/browser_setDefaultPDFHandler.js | true == true - 
[task 2023-03-06T20:54:39.117Z] 20:54:39     INFO - TEST-PASS | browser/components/shell/test/browser_setDefaultPDFHandler.js | Will not take default from non-browser - [{"arguments":["set-default-browser-user-choice","94098C75C1D3E747"]}] deepEqual [{"arguments":["set-default-browser-user-choice","94098C75C1D3E747"]}] - 
[task 2023-03-06T20:54:39.118Z] 20:54:39     INFO - Leaving test bound remoteEnableWithPDF_testOnlyReplaceBrowsers
[task 2023-03-06T20:54:39.118Z] 20:54:39     INFO - Entering test bound remoteEnableWithoutPDF
[task 2023-03-06T20:54:39.119Z] 20:54:39     INFO - TEST-PASS | browser/components/shell/test/browser_setDefaultPDFHandler.js | true == true - 
[task 2023-03-06T20:54:39.119Z] 20:54:39     INFO - TEST-PASS | browser/components/shell/test/browser_setDefaultPDFHandler.js | false == false - 
[task 2023-03-06T20:54:39.120Z] 20:54:39     INFO - GECKO(4000) | console.info: ShellService: Setting Firefox as default using UserChoice
[task 2023-03-06T20:54:39.121Z] 20:54:39     INFO - TEST-PASS | browser/components/shell/test/browser_setDefaultPDFHandler.js | true == true - 
[task 2023-03-06T20:54:39.121Z] 20:54:39     INFO - TEST-PASS | browser/components/shell/test/browser_setDefaultPDFHandler.js | [{"arguments":["set-default-browser-user-choice","94098C75C1D3E747"]}] deepEqual [{"arguments":["set-default-browser-user-choice","94098C75C1D3E747"]}] - 
[task 2023-03-06T20:54:39.122Z] 20:54:39     INFO - Leaving test bound remoteEnableWithoutPDF
[task 2023-03-06T20:54:39.122Z] 20:54:39     INFO - Entering test bound remoteDisable
[task 2023-03-06T20:54:39.122Z] 20:54:39     INFO - TEST-PASS | browser/components/shell/test/browser_setDefaultPDFHandler.js | false == false - 
[task 2023-03-06T20:54:39.123Z] 20:54:39     INFO - TEST-PASS | browser/components/shell/test/browser_setDefaultPDFHandler.js | true == true - 
[task 2023-03-06T20:54:39.123Z] 20:54:39     INFO - TEST-PASS | browser/components/shell/test/browser_setDefaultPDFHandler.js | true == true - 
[task 2023-03-06T20:54:39.124Z] 20:54:39     INFO - TEST-PASS | browser/components/shell/test/browser_setDefaultPDFHandler.js | true == true - 
[task 2023-03-06T20:54:39.124Z] 20:54:39     INFO - Leaving test bound remoteDisable
[task 2023-03-06T20:54:39.124Z] 20:54:39     INFO - Entering test bound test_setAsDefaultPDFHandler_knownBrowser
[task 2023-03-06T20:54:39.125Z] 20:54:39     INFO - Not taking screenshot here: see the one that was previously logged
[task 2023-03-06T20:54:39.127Z] 20:54:39     INFO - TEST-UNEXPECTED-FAIL | browser/components/shell/test/browser_setDefaultPDFHandler.js | Uncaught exception in test bound test_setAsDefaultPDFHandler_knownBrowser - at resource://testing-common/sinon-7.2.7.js:3605 - TypeError: Attempted to wrap getDefaultPDFHandler which is already wrapped
[task 2023-03-06T20:54:39.127Z] 20:54:39     INFO - Stack trace:
[task 2023-03-06T20:54:39.127Z] 20:54:39     INFO - checkWrappedMethod@resource://testing-common/sinon-7.2.7.js:3605:21
[task 2023-03-06T20:54:39.127Z] 20:54:39     INFO - wrapMethod@resource://testing-common/sinon-7.2.7.js:3653:31
[task 2023-03-06T20:54:39.127Z] 20:54:39     INFO - stub@resource://testing-common/sinon-7.2.7.js:3002:44
[task 2023-03-06T20:54:39.127Z] 20:54:39     INFO - stub@resource://testing-common/sinon-7.2.7.js:2099:33
[task 2023-03-06T20:54:39.127Z] 20:54:39     INFO - test_setAsDefaultPDFHandler_knownBrowser@chrome://mochitests/content/browser/browser/components/shell/test/browser_setDefaultPDFHandler.js:236:11
[task 2023-03-06T20:54:39.127Z] 20:54:39     INFO - handleTask@chrome://mochikit/content/browser-test.js:1037:26
[task 2023-03-06T20:54:39.127Z] 20:54:39     INFO - _runTaskBasedTest@chrome://mochikit/content/browser-test.js:1109:18
[task 2023-03-06T20:54:39.127Z] 20:54:39     INFO - 
[task 2023-03-06T20:54:39.127Z] 20:54:39     INFO - --------------
[task 2023-03-06T20:54:39.127Z] 20:54:39     INFO - wrapMethod@resource://testing-common/sinon-7.2.7.js:3679:26
[task 2023-03-06T20:54:39.127Z] 20:54:39     INFO - stub@resource://testing-common/sinon-7.2.7.js:3002:44
[task 2023-03-06T20:54:39.128Z] 20:54:39     INFO - stub@resource://testing-common/sinon-7.2.7.js:2099:33
[task 2023-03-06T20:54:39.128Z] 20:54:39     INFO - test_setAsDefaultPDFHandler_knownBrowser@chrome://mochitests/content/browser/browser/components/shell/test/browser_setDefaultPDFHandler.js:236:11
[task 2023-03-06T20:54:39.128Z] 20:54:39     INFO - handleTask@chrome://mochikit/content/browser-test.js:1037:26
[task 2023-03-06T20:54:39.128Z] 20:54:39     INFO - _runTaskBasedTest@chrome://mochikit/content/browser-test.js:1109:18
[task 2023-03-06T20:54:39.128Z] 20:54:39     INFO - Leaving test bound test_setAsDefaultPDFHandler_knownBrowser
[task 2023-03-06T20:54:39.221Z] 20:54:39     INFO - GECKO(4000) | ### XPCOM_MEM_BLOAT_LOG defined -- logging bloat/leaks to C:\Users\task_167812859145653\AppData\Local\Temp\tmpn7a4iamq.mozrunner\runtests_leaks_tab_pid3720.log
[task 2023-03-06T20:54:39.235Z] 20:54:39     INFO - GECKO(4000) | [3720, Main Thread] WARNING: XPCOM_MEM_BLOAT_LOG is set, disabling native allocations.: file /builds/worker/checkouts/gecko/tools/profiler/core/platform.cpp:345
[task 2023-03-06T20:54:39.246Z] 20:54:39     INFO - GECKO(4000) | [Child 3720, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80004005 (NS_ERROR_FAILURE): file /builds/worker/checkouts/gecko/toolkit/xre/nsXREDirProvider.cpp:475
[task 2023-03-06T20:54:39.268Z] 20:54:39     INFO - GECKO(4000) | [Child 3720, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80004005 (NS_ERROR_FAILURE): file /builds/worker/checkouts/gecko/toolkit/xre/nsXREDirProvider.cpp:475
[task 2023-03-06T20:54:39.277Z] 20:54:39     INFO - GECKO(4000) | [Child 3720, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80004005 (NS_ERROR_FAILURE): file /builds/worker/checkouts/gecko/toolkit/xre/nsXREDirProvider.cpp:475
[task 2023-03-06T20:54:39.288Z] 20:54:39     INFO - GECKO(4000) | [Child 3720, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80004005 (NS_ERROR_FAILURE): file /builds/worker/checkouts/gecko/toolkit/xre/nsXREDirProvider.cpp:475
[task 2023-03-06T20:54:39.320Z] 20:54:39     INFO - GECKO(4000) | MEMORY STAT | vsize 2112477MB | vsizeMaxContiguous 66000156MB | residentFast 331MB | heapAllocated 160MB
[task 2023-03-06T20:54:39.329Z] 20:54:39     INFO - TEST-OK | browser/components/shell/test/browser_setDefaultPDFHandler.js | took 377ms

:barret, since you are the author of the regressor, bug 1805511, could you take a look?

For more information, please visit auto_nag documentation.

Flags: needinfo?(brennie)
Flags: needinfo?(brennie)
Regressed by: 1805509
No longer regressed by: 1805511
Assignee: nobody → brennie
Status: NEW → ASSIGNED

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

Pushed by brennie@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/631d1b6c4d2a Fix intermittent in browser_setDefaultPDFHandler.js r=nalexander
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 112 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: