Closed
Bug 1130268
Opened 9 years ago
Closed 9 years ago
NameError: global name 'proc' is not defined in runreftest.py.
Categories
(Testing :: Reftest, defect)
Testing
Reftest
Tracking
(firefox38 fixed)
RESOLVED
FIXED
mozilla38
Tracking | Status | |
---|---|---|
firefox38 | --- | fixed |
People
(Reporter: arai, Assigned: arai)
References
Details
Attachments
(1 file)
1.78 KB,
patch
|
ted
:
review+
|
Details | Diff | Splinter Review |
Similar issue in bug 1117631. https://hg.mozilla.org/mozilla-central/file/68a47aac2628/layout/tools/reftest/runreftest.py#l397 https://hg.mozilla.org/mozilla-central/file/68a47aac2628/layout/tools/reftest/runreftest.py#l403 > def killAndGetStack(self, process, utilityPath, debuggerInfo, dump_screen=False): > ... > proc.kill(sig=signal.SIGABRT) > ... > proc.kill() they should be "process".
Assignee | ||
Comment 1•9 years ago
|
||
https://hg.mozilla.org/mozilla-central/file/68a47aac2628/layout/tools/reftest/runreftest.py#l392 > printstatus(status, "crashinject") Also, this is not imported from automationutils.
Blocks: 915865
Flags: needinfo?(ted)
probably the same as bug 1125679
Assignee | ||
Comment 4•9 years ago
|
||
renamed `proc`s to `process`s, and added `printstatus` to import. tried with a dummy timeout test case, and it seems that it killed the process correctly. https://treeherder.mozilla.org/#/jobs?repo=try&revision=eb91dc944519
Attachment #8560397 -
Flags: review?(ted)
Comment 5•9 years ago
|
||
Comment on attachment 8560397 [details] [diff] [review] Fix NameErrors in killAndGetStack in runreftest.py. Review of attachment 8560397 [details] [diff] [review]: ----------------------------------------------------------------- Thanks! Sorry about that, this is what happens when you write code using copy and paste. :-/
Attachment #8560397 -
Flags: review?(ted) → review+
Updated•9 years ago
|
Assignee: nobody → arai_a
Flags: needinfo?(ted)
Assignee | ||
Comment 6•9 years ago
|
||
Thank you :D https://hg.mozilla.org/integration/mozilla-inbound/rev/ea4f0984b731
https://hg.mozilla.org/mozilla-central/rev/ea4f0984b731
Status: NEW → RESOLVED
Closed: 9 years ago
status-firefox38:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla38
You need to log in
before you can comment on or make changes to this bug.
Description
•