Closed
Bug 715408
Opened 13 years ago
Closed 13 years ago
mochitests will hang if previous test run didn't clean up
Categories
(Testing :: Mochitest, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla12
People
(Reporter: blassey, Assigned: gbrown)
Details
Attachments
(1 file)
1.06 KB,
patch
|
jmaher
:
review+
|
Details | Diff | Splinter Review |
STR: 1) run mochitests 2) ctrl+C 3) run mochitests ER: mochitests run AR: mochitests hang
Assignee | ||
Comment 1•13 years ago
|
||
blassey is talking about mochitest-remote here. We found that manually deleting the profile from the device got things working again. runtests.py::runTests() calls runtestsremote.py::cleanup() which deletes the remote profile. But the cleanup() call is at the end of the test run. When ctrl+C is used to break out of a run, presumably this is not called. Maybe the profile directory could be deleted on startup instead of, or in addition to, on shutdown? Or we could handle ctrl+C better perhaps....
Assignee | ||
Updated•13 years ago
|
Assignee: nobody → gbrown
OS: Mac OS X → Android
Assignee | ||
Comment 2•13 years ago
|
||
I am hopeful this very simple change will work, but haven't tested it yet.
Comment 3•13 years ago
|
||
this seems pretty harmless and a good safe guard.
Assignee | ||
Comment 4•13 years ago
|
||
Works fine for me locally. Also pushed to try: https://tbpl.mozilla.org/?tree=Try&rev=f9cbab998894
Assignee | ||
Updated•13 years ago
|
Attachment #585971 -
Flags: review?(jmaher)
Comment 5•13 years ago
|
||
Comment on attachment 585971 [details] [diff] [review] patch to delete remote profile before pushing a new one Review of attachment 585971 [details] [diff] [review]: ----------------------------------------------------------------- looks very harmless, try server will be my best friend here.
Attachment #585971 -
Flags: review?(jmaher) → review+
Comment 6•13 years ago
|
||
inbound: https://hg.mozilla.org/integration/mozilla-inbound/rev/fa8c8e768e9f
Comment 7•13 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/fa8c8e768e9f
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla12
You need to log in
before you can comment on or make changes to this bug.
Description
•