Closed
Bug 1708113
Opened 3 years ago
Closed 3 years ago
SpiderMonkey job exits with 0 status even if there's failure in some case
Categories
(Core :: JavaScript Engine, defect, P1)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
90 Branch
Tracking | Status | |
---|---|---|
firefox90 | --- | fixed |
People
(Reporter: arai, Assigned: sfink)
Details
Attachments
(1 file)
This try job fails with many testcase hitting TEST-UNEXPECTED-FAIL
, but its shown as green.
[task 2021-04-27T22:05:59.259Z] exit status 0 for '(make-nonempty)'
[task 2021-04-27T22:05:59.259Z] exit status 0 for 'make check'
[task 2021-04-27T22:05:59.259Z] exit status 2 for 'make check-jit-test'
[task 2021-04-27T22:05:59.259Z] exit status 2147483651 for 'jsapi-tests'
[task 2021-04-27T22:05:59.259Z] exit status 2 for 'jstests'
...
[task 2021-04-27T22:05:59.767Z] + exit 0
...
[taskcluster 2021-04-27T22:05:59.790Z] Exit Code: 0
...
[taskcluster 2021-04-27T22:05:59.790Z] Result: SUCCEEDED
it sounds like the exit code is somehow overridden, or overlooked
Reporter | ||
Updated•3 years ago
|
Summary: SpiderMonkey job exits with 0 status even if there's failure → SpiderMonkey job exits with 0 status even if there's failure in some case
Assignee | ||
Comment 1•3 years ago
|
||
Whoa, it even prints out that it has a nonzero exit status. I must have broken this very recently.
Assignee: nobody → sphink
Severity: -- → S2
Type: task → defect
Priority: -- → P1
Assignee | ||
Comment 2•3 years ago
|
||
My guess is that my fix for pretty much the same problem must be broken:
sys.exit(max((st for _, st in results), key=abs))
The 2147483651 exit status must be throwing it off.
It seems like that ought to work when I tried it in a local python, but maybe there's something weird going on on Windows. I'll look tomorrow. I am not arai, so I sleep sometimes.
Assignee | ||
Updated•3 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Comment 3•3 years ago
|
||
Pushed by sfink@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/7b854d162a85 sys.exit(2147483651L) on Windows exits with status 0 r=arai
Comment 5•3 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
status-firefox90:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 90 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•