Intermittent toolkit/components/extensions/test/xpcshell/<test>.js | xpcshell return code: -5
Categories
(WebExtensions :: General, defect, P5)
Tracking
(firefox-esr91 unaffected, firefox99 unaffected, firefox100 unaffected, firefox101 wontfix)
| Tracking | Status | |
|---|---|---|
| firefox-esr91 | --- | unaffected |
| firefox99 | --- | unaffected |
| firefox100 | --- | unaffected |
| firefox101 | --- | wontfix |
People
(Reporter: intermittent-bug-filer, Unassigned)
References
(Regression)
Details
(Keywords: intermittent-failure, regression)
Filed by: nbeleuzu [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=375430287&repo=autoland
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/ZbRpBLktRointUtKUMsrpw/runs/0/artifacts/public/logs/live_backing.log
[task 2022-04-22T08:58:48.069Z] 08:58:48 INFO - TEST-START | xpcshell.ini:toolkit/components/extensions/test/xpcshell/test_ext_alarms_periodic.js
[task 2022-04-22T08:58:52.137Z] 08:58:52 WARNING - TEST-UNEXPECTED-FAIL | xpcshell.ini:toolkit/components/extensions/test/xpcshell/test_ext_alarms_periodic.js | xpcshell return code: -5
[task 2022-04-22T08:58:52.137Z] 08:58:52 INFO - TEST-INFO took 4063ms
[task 2022-04-22T08:58:52.137Z] 08:58:52 INFO - >>>>>>>
[task 2022-04-22T08:58:52.138Z] 08:58:52 INFO - (xpcshell/head.js) | test MAIN run_test pending (1)
[task 2022-04-22T08:58:52.138Z] 08:58:52 INFO - (xpcshell/head.js) | test run_next_test 0 pending (2)
[task 2022-04-22T08:58:52.139Z] 08:58:52 INFO - (xpcshell/head.js) | test MAIN run_test finished (2)
[task 2022-04-22T08:58:52.139Z] 08:58:52 INFO - running event loop
[task 2022-04-22T08:58:52.139Z] 08:58:52 INFO - xpcshell.ini:toolkit/components/extensions/test/xpcshell/test_ext_alarms_periodic.js | Starting setup check_remote
[task 2022-04-22T08:58:52.139Z] 08:58:52 INFO - (xpcshell/head.js) | test check_remote pending (2)
Updated•3 years ago
|
| Comment hidden (Intermittent Failures Robot) |
Updated•3 years ago
|
| Comment hidden (Intermittent Failures Robot) |
Comment 3•3 years ago
|
||
From what I can see clicking on some reports, it is always test_ext_alarms.js failing here.
In general, the patch D143711 did change the lifecycle of processes whose start might race with application shutdown: previously we would just continue shutdown and the child might start to run normally, now we block our shutdown until the launch has been completed but then tear down the child immediately. That means, that if this test relies on operations in a child happening even after shutdown, those might not have been executed at all.
:kmag, you touched that test quite a lot, it seems, maybe you have an idea?
Updated•3 years ago
|
Comment 4•3 years ago
|
||
Set release status flags based on info from the regressing bug 1764251
Comment 5•3 years ago
|
||
I don't know how much it has to do with the contents of the test. It seems to be failing because of a BadWindow error, which shouldn't really have anything to do with that API.
In any case, I'm not working on this code anymore. Sorry.
Comment 6•3 years ago
|
||
Thanks!
First of all: My signature change was wrong, there are some different tests failing, all I saw are from the same series test_ext_alarms_* but not the same single test.
Secondly thanks for pointing me to that piece of the log:
[task 2022-04-22T09:07:12.505Z] 09:07:12 INFO - "CONSOLE_MESSAGE: (info) 1650618430091 addons.webextension.{06e338f0-0b5b-4493-a8d2-5459efc67d50} WARN Loading extension '{06e338f0-0b5b-4493-a8d2-5459efc67d50}': Event pages are not currently supported."
[task 2022-04-22T09:07:12.505Z] 09:07:12 INFO - PID 3766 | (xpcshell:3766): Gdk-ERROR **: 09:07:11.467: The program 'xpcshell' received an X Window System error.
[task 2022-04-22T09:07:12.505Z] 09:07:12 INFO - PID 3766 | This probably reflects a bug in the program.
[task 2022-04-22T09:07:12.505Z] 09:07:12 INFO - PID 3766 | The error was 'BadWindow (invalid Window parameter)'.
[task 2022-04-22T09:07:12.505Z] 09:07:12 INFO - PID 3766 | (Details: serial 327 error_code 3 request_code 18 (core protocol) minor_code 0)
[task 2022-04-22T09:07:12.506Z] 09:07:12 INFO - PID 3766 | (Note to programmers: normally, X errors are reported asynchronously;
[task 2022-04-22T09:07:12.506Z] 09:07:12 INFO - PID 3766 | that is, you will receive the error a while after causing it.
[task 2022-04-22T09:07:12.507Z] 09:07:12 INFO - PID 3766 | To debug your program, run it with the GDK_SYNCHRONIZE environment
[task 2022-04-22T09:07:12.507Z] 09:07:12 INFO - PID 3766 | variable to change this behavior. You can then get a meaningful
[task 2022-04-22T09:07:12.507Z] 09:07:12 INFO - PID 3766 | backtrace from your debugger if you break on the gdk_x_error() function.)
[task 2022-04-22T09:07:12.508Z] 09:07:12 INFO - PID 3766 | Exiting due to channel error.
[task 2022-04-22T09:07:12.508Z] 09:07:12 INFO - PID 3766 | Crash Annotation GraphicsCriticalError: |[C0][GFX1-]: Receive IPC close with reason=AbnormalShutdown (t=1.10351)
Unfortunately there is no real stack trace that could point us at where this window id comes from.
Finally it seems that the frequency already dropped? Maybe it is enough to just observer this another while.
Updated•3 years ago
|
Updated•3 years ago
|
Comment 7•3 years ago
|
||
https://wiki.mozilla.org/Bug_Triage#Intermittent_Test_Failure_Cleanup
For more information, please visit auto_nag documentation.
Comment 8•3 years ago
|
||
This started to fail on tier 1: https://treeherder.mozilla.org/logviewer?job_id=380081681&repo=mozilla-central&lineNumber=3371
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
Updated•3 years ago
|
| Comment hidden (Intermittent Failures Robot) |
Comment 14•3 years ago
|
||
https://wiki.mozilla.org/Bug_Triage#Intermittent_Test_Failure_Cleanup
For more information, please visit auto_nag documentation.
| Reporter | ||
Comment 15•2 years ago
|
||
| treeherder | ||
New failure instance: https://treeherder.mozilla.org/logviewer?job_id=398223896&repo=autoland
| Comment hidden (Intermittent Failures Robot) |
Comment 17•2 years ago
|
||
https://wiki.mozilla.org/Bug_Triage#Intermittent_Test_Failure_Cleanup
For more information, please visit auto_nag documentation.
Description
•