Closed Bug 1409562 Opened 7 years ago Closed 7 years ago

Android test-verify sometimes fails | UnboundLocalError: local variable 'verify_args' referenced before assignment

Categories

(Testing :: General, defect)

defect
Not set
normal

Tracking

(firefox58 fixed)

RESOLVED FIXED
mozilla58
Tracking Status
firefox58 --- fixed

People

(Reporter: gbrown, Assigned: gbrown)

References

Details

https://treeherder.mozilla.org/logviewer.html#?job_id=137690099&repo=mozilla-inbound&lineNumber=2151

[task 2017-10-17T22:02:17.797Z] 22:02:17    FATAL - Uncaught exception: Traceback (most recent call last):
[task 2017-10-17T22:02:17.797Z] 22:02:17    FATAL -   File "/builds/worker/workspace/mozharness/mozharness/base/script.py", line 2059, in run
[task 2017-10-17T22:02:17.798Z] 22:02:17    FATAL -     self.run_action(action)
[task 2017-10-17T22:02:17.799Z] 22:02:17    FATAL -   File "/builds/worker/workspace/mozharness/mozharness/base/script.py", line 1998, in run_action
[task 2017-10-17T22:02:17.800Z] 22:02:17    FATAL -     self._possibly_run_method(method_name, error_if_missing=True)
[task 2017-10-17T22:02:17.801Z] 22:02:17    FATAL -   File "/builds/worker/workspace/mozharness/mozharness/base/script.py", line 1938, in _possibly_run_method
[task 2017-10-17T22:02:17.801Z] 22:02:17    FATAL -     return getattr(self, method_name)()
[task 2017-10-17T22:02:17.803Z] 22:02:17    FATAL -   File "/builds/worker/workspace/mozharness/scripts/android_emulator_unittest.py", line 814, in run_tests
[task 2017-10-17T22:02:17.803Z] 22:02:17    FATAL -     if len(verify_args) > 0:
[task 2017-10-17T22:02:17.803Z] 22:02:17    FATAL - UnboundLocalError: local variable 'verify_args' referenced before assignment
Pushed by gbrown@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/a58ff9bba683
Avoid intermittent UnboundLocalError in Android test-verify; r=me,test-only
https://hg.mozilla.org/mozilla-central/rev/a58ff9bba683
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla58
You need to log in before you can comment on or make changes to this bug.