Closed Bug 1380855 Opened 3 years ago Closed 2 years ago
_ext _devtools _panel .js | Test timed out -
59 bytes, text/x-review-board-request
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → INCOMPLETE
Found this fail on autoland -> reopened the bug. https://treeherder.mozilla.org/#/jobs?repo=autoland&filter-resultStatus=testfailed&filter-searchStr=7a5ef046fe35c6245f4ae2dd138ac7eb94eb6e1b&fromchange=8e28a66b548b7db15a6053780c558539c4e6d05d&selectedJob=153885941
Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---
Specifically, the timeout was in the newly-added subtest from bug 1425224. Can you please look, Luca?
Attachment #8940678 - Flags: review?(mixedpuppy)
The attached patch applies the following change to the devtools panel test file: - it register a custom blank tool to the developer tools, so that we can avoid to load the webconsole panel (which is not used by any of the tests from this file and it takes a good amount of time to load, and to unload and free all the allocated resources) - change the the last test file to not use `extension.onMessage`, because a listener subscribed to it is not removed as fast as the listeners added by extension.awaitMessage and so it seems to keep some of the objects referenced for more time and it is detected as leak by the "shutdown leak checks" (but apparently only if the last test runs alone) From what I saw by reproducing it locally (I've been able to reproduce it locally on linux64-debug using --verify mochitest cli option), the timeouts are related to a GC pause, which has generated two kind of failures: - the webconsole fails to load (because it timeouts while loading when the GC pause happens during the webconsole loading) and a "panel is undefined" exception is logged in the console (I think that this also unveiled an existent issue in the webconsole loading, I'm going to open it as a separate bugzilla issue) - timeouts while testing that panel is created and works as inspected when using a valid url, and looking at the failure screenshots the webconsole is unexpectedly opened as a split console when the test panel is selected (which I guess is happening because the panel is selected while the webconsole panel is still loading slowly due to the GC pause) I've pushed this change to try to run TV (the test runnning with --verify) on OSX a bunch of times and check if I can still reproduce the intermittent failure on the build infrastructure (it has never failed, at least not yet): - https://treeherder.mozilla.org/#/jobs?repo=try&revision=189c4c4f4961
Comment on attachment 8940678 [details] Bug 1380855 - Fix intermittency and speed up devtools panel webextension test. https://reviewboard.mozilla.org/r/210934/#review216956
Attachment #8940678 - Flags: review?(mixedpuppy) → review+
Pushed by email@example.com: https://hg.mozilla.org/integration/autoland/rev/53dbfc8bbc85 Fix intermittency and speed up devtools panel webextension test. r=mixedpuppy
You need to log in before you can comment on or make changes to this bug.