Closed
Bug 825132
Opened 13 years ago
Closed 13 years ago
verify.py should cleanup stray procs on a foopy prior to pinging device.
Categories
(Release Engineering :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: Callek, Assigned: Callek)
Details
Attachments
(1 file, 1 obsolete file)
|
3.59 KB,
patch
|
jmaher
:
review+
Callek
:
checked-in+
|
Details | Diff | Splinter Review |
So we have had situations where a device goes down for some reason, and we still have stray procs on a foopy.
This usually results in us never cleaning up said stray procs until we can properly recover the device, because verify.py pings a device before it ever runs cleanup.
The downside of course is that we want cleanup that is on the device side itself to always run after we do the other checks, so this patch splits out the foopy specific cleanup to happen earlier, and leaves main() intact to do what it always did (both)
Attachment #696216 -
Flags: review?(jmaher)
| Assignee | ||
Comment 1•13 years ago
|
||
Attachment #696216 -
Attachment is obsolete: true
Attachment #696216 -
Flags: review?(jmaher)
Attachment #696217 -
Flags: review?(jmaher)
Comment 2•13 years ago
|
||
Comment on attachment 696217 [details] [diff] [review]
[tools] cleanup split (v.1.1)
Review of attachment 696217 [details] [diff] [review]:
-----------------------------------------------------------------
just one style nit below.
::: sut_tools/cleanup.py
@@ +20,5 @@
> + if errcode == 2:
> + log.error("processes from previous run were detected and cleaned up")
> + elif errocode == 3:
> + setFlag(errorFile, "Remote Device Error: process from previous test run present")
> + return RETCODE_KILLSTALLED
you could clean this up and just do:
if errcode == 2:
...
elif errcode == 3:
....
return RETCODE_SUCCESS
The extra 'if errcode > 1' is not needed.
Attachment #696217 -
Flags: review?(jmaher) → review+
| Assignee | ||
Comment 3•13 years ago
|
||
Comment on attachment 696217 [details] [diff] [review]
[tools] cleanup split (v.1.1)
http://hg.mozilla.org/build/tools/rev/64ab223ae560
Attachment #696217 -
Flags: checked-in+
| Assignee | ||
Comment 4•13 years ago
|
||
deployed
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
| Assignee | ||
Comment 5•13 years ago
|
||
http://hg.mozilla.org/build/tools/rev/25df72d408c5
-- Bustage Fix
and
http://hg.mozilla.org/build/tools/rev/21a9999c1371
-- Fix for pre-existing bustage
Updated•13 years ago
|
Product: mozilla.org → Release Engineering
Updated•8 years ago
|
Component: General Automation → General
You need to log in
before you can comment on or make changes to this bug.
Description
•