Closed Bug 920152 Opened 6 years ago Closed 6 years ago

UnboundLocalError: local variable 'browserProcessId' referenced before assignment

Categories

(Testing :: Mochitest, defect)

x86_64
macOS
defect
Not set

Tracking

(Not tracked)

RESOLVED FIXED
mozilla27

People

(Reporter: emorley, Assigned: k0scist)

References

Details

Attachments

(1 file)

https://tbpl.mozilla.org/php/getParsedLog.php?id=28263006&tree=Mozilla-Inbound#error2

{
20:47:05  WARNING -  TEST-UNEXPECTED-FAIL | /tests/dom/tests/mochitest/dom-level2-core/test_elementsetattributenodens02.html | application timed out after 330 seconds with no output
20:47:05     INFO -  Traceback (most recent call last):
20:47:05     INFO -    File "/builds/slave/talos-slave/test/build/tests/mochitest/runtests.py", line 1041, in runTests
20:47:05     INFO -      onLaunch=onLaunch
20:47:05     INFO -    File "/builds/slave/talos-slave/test/build/tests/mochitest/runtests.py", line 935, in runApp
20:47:05     INFO -      self.handleTimeout(timeout, proc, utilityPath, debuggerInfo, browserProcessId)
20:47:05     INFO -    File "/builds/slave/talos-slave/test/build/tests/mochitest/runtests.py", line 1068, in handleTimeout
20:47:05     INFO -      browserProcessId = browserProcessId or proc.pid
20:47:05     INFO -  UnboundLocalError: local variable 'browserProcessId' referenced before assignment
20:47:05     INFO -  Automation Error: Received unexpected exception while running application
}

hg annotate says:
http://hg.mozilla.org/mozilla-central/diff/7a733fffc6e9/testing/mochitest/runtests.py
Attached patch bug-920152.diffSplinter Review
Attachment #809327 - Flags: review?(emorley)
Comment on attachment 809327 [details] [diff] [review]
bug-920152.diff

Review of attachment 809327 [details] [diff] [review]:
-----------------------------------------------------------------

Thank you :-)
Attachment #809327 - Flags: review?(emorley) → review+
https://hg.mozilla.org/mozilla-central/rev/a6eac36896d2
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla27
You need to log in before you can comment on or make changes to this bug.