TV (--verify) of xpcshell tests times out on Android after 300 seconds due to MOZ_CHAOSMODE=0xfb
Categories
(Testing :: XPCShell Harness, defect, P2)
Tracking
(firefox129 fixed)
| Tracking | Status | |
|---|---|---|
| firefox129 | --- | fixed |
People
(Reporter: robwu, Assigned: jmaher)
References
(Blocks 6 open bugs)
Details
Attachments
(1 file)
While investigating a TV failure on Android (bug 1881876), I discovered that the failure is due to MOZ_CHAOSMODE=0xfb.
According to the live.log in bug 1881876, a typical execution takes 18 - 29 seconds.
When run with MOZ_CHAOSMODE=0xfb, the test times out after 7:29 minutes.
This increased execution time by MOZ_CHAOSMODE looks excessive. Is there a way to reduce the slowdown, and if not, then we should bump the timeout.
Extra info:
After trying all combinations of ChaosMode, I found that this slowdown is caused by the TaskDispatching (0x40) and TaskRunning (0x80) parts. When I run a test without these two (0xfb & ~0x40 & ~0x80 = 0x3b), then the test has the usual execution time:
./mach test toolkit/components/extensions/test/xpcshell/test_ext_scripting_persistAcrossSessions.js --sequential --log-mach-verbose --no-install --setenv=MOZ_CHAOSMODE=0x3b
| Reporter | ||
Updated•1 year ago
|
Comment 1•1 year ago
|
||
The severity field is not set for this bug.
:jmaher, could you have a look please?
For more information, please visit BugBot documentation.
| Assignee | ||
Updated•1 year ago
|
| Assignee | ||
Comment 2•1 year ago
|
||
Updated•1 year ago
|
Comment 4•1 year ago
|
||
| bugherder | ||
Description
•