Closed Bug 665316 Opened 13 years ago Closed 13 years ago

automation.py infrastructure failure when process exits with non-zero status

Categories

(Testing :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla7

People

(Reporter: jdm, Assigned: jdm)

References

Details

Attachments

(1 file)

Traceback (most recent call last):
  File "_tests/testing/mochitest/runtests.py", line 853, in <module>
    main()
  File "_tests/testing/mochitest/runtests.py", line 850, in main
    sys.exit(mochitest.runTests(options))
  File "_tests/testing/mochitest/runtests.py", line 656, in runTests
    timeout = timeout)
  File "/Users/jdm/src/mozilla-central/obj-ff-dbg/_tests/testing/mochitest/automation.py", line 856, in runApp
    status = self.waitForFinish(proc, utilityPath, timeout, maxTime, startTime, debuggerInfo, symbolsPath)
  File "/Users/jdm/src/mozilla-central/obj-ff-dbg/_tests/testing/mochitest/automation.py", line 733, in waitForFinish
    if status != 0 and not didTimeout and not hitMaxTime:
UnboundLocalError: local variable 'hitMaxTime' referenced before assignment
make: *** [mochitest-plain] Error 1
Attachment #540264 - Flags: review?(ted.mielczarek)
Assignee: nobody → josh
Comment on attachment 540264 [details] [diff] [review]
Initialize variable before use.

Review of attachment 540264 [details] [diff] [review]:
-----------------------------------------------------------------
Attachment #540264 - Flags: review?(ted.mielczarek) → review+
Keywords: checkin-needed
http://hg.mozilla.org/mozilla-central/rev/f352744f8941
Status: NEW → RESOLVED
Closed: 13 years ago
Keywords: checkin-needed
OS: Mac OS X → All
Hardware: x86 → All
Resolution: --- → FIXED
Target Milestone: --- → mozilla7
Version: unspecified → Trunk
Component: New Frameworks → General
You need to log in before you can comment on or make changes to this bug.