Closed Bug 417935 Opened 16 years ago Closed 16 years ago

Sisyphus/JavaScript Tests - use restart mode for browser tests

Categories

(Testing Graveyard :: Sisyphus, defect)

x86
All
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: bc, Assigned: bc)

References

Details

Attachments

(2 files, 1 obsolete file)

Too many times since we have switched to non-restart mode, I have had the browser tests fail to complete due to regressions on one or the other branch. This means the entire browser test run will fail if a single test crashes or fails to complete. 

Since we are running these once per day, the browser tests therefore sometimes will only find the one regression whereas the restart mode browser tests would have run to completion and reported on an unlimited number of regressions. In addition, a timeout regression which prevents a single test from completing can result in the entire test run waiting for the full five hours before it times out.

I recommend adding a -R parameter to all invocations of runtests.sh for the browser tests on each branch. This will use restart mode and allow the tests to complete regardless of regressions.
Flags: in-testsuite-
Flags: in-litmus-
Attached patch patch (obsolete) — Splinter Review
rob, I just copied the method from class SisyphusJSTest(ShellCommand) into class SisyphusBrowserTest(SisyphusJSTest) thinking that it will inherit everything else and only override the start method.
Attachment #303734 - Flags: review?(rcampbell)
Attachment #303734 - Flags: review?(rcampbell) → review+
Attached patch patch v2Splinter Review
sorry, I should have realized that since we are doing -R now, we can include the tests which crash. I've also added the crash tests to the shell since they don't care.
Attachment #303734 - Attachment is obsolete: true
Attachment #303738 - Flags: review?(rcampbell)
Attachment #303738 - Flags: review?(rcampbell) → review+
Checking in sisyphus.py;
/cvsroot/mozilla/tools/buildbot-configs/testing/sisyphus/sisyphus.py,v  <--  sisyphus.py
new revision: 1.6; previous revision: 1.5
done

and copied to qm-jstest01.

Thanks!
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
I missed the windows parts of this... :-(
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
this adds crashes to the windows shell, and crashes and restart to the windows browser tests.
Attachment #303868 - Flags: review?(rcampbell)
Attachment #303868 - Attachment is patch: true
Attachment #303868 - Attachment mime type: application/octet-stream → text/plain
Comment on attachment 303868 [details] [diff] [review]
patch for windows

yep, that should be fine. I'll find a spot today to move that onto the master.
Attachment #303868 - Flags: review?(rcampbell) → review+
Whiteboard: [install on master]
/cvsroot/mozilla/tools/buildbot-configs/testing/sisyphus/sisyphus.py,v  <--  sisyphus.py
new revision: 1.7; previous revision: 1.6

I actually copied this to jstest01 and restarted everyone already. No need to do more.
Status: REOPENED → RESOLVED
Closed: 16 years ago16 years ago
Resolution: --- → FIXED
Whiteboard: [install on master]
Mass move of Sisyphus bugs to Testing : Sisyphus. Filter on SisyphusMassMove to ignore.
Component: Testing → Sisyphus
Flags: in-litmus-
Product: Core → Testing
QA Contact: testing → sisyphus
Product: Testing → Testing Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: