Closed
Bug 1921009
Opened 5 months ago
Closed 5 months ago
./mach mochitest --no-install fails: UnboundLocalError: cannot access local variable 'metadata' where it is not associated with a value
Categories
(Fenix :: Tooling, defect)
Tracking
(firefox130 unaffected, firefox131 unaffected, firefox132 fixed)
RESOLVED
FIXED
132 Branch
Tracking | Status | |
---|---|---|
firefox130 | --- | unaffected |
firefox131 | --- | unaffected |
firefox132 | --- | fixed |
People
(Reporter: jnicol, Assigned: adhingra)
References
(Blocks 1 open bug, Regression)
Details
(Keywords: regression)
Attachments
(1 file)
Bug 1883086 seems to have broken the --no-install
argument to mach mochitest
(and presumably other mach commands too). I get the following error:
UnboundLocalError: cannot access local variable 'metadata' where it is not associated with a value
File "/Volumes/src/gecko/testing/mochitest/mach_commands.py", line 459, in run_mochitest_general
verify_android_device(
File "/Volumes/src/gecko/testing/mozbase/mozrunner/mozrunner/devices/android_device.py", line 479, in verify_android_device
device.run_as_package = metadata.package_name
Seems like metadata
needs to be initialized in a common code path rather than only in the install != InstallIntent.NO
case?
Flags: needinfo?(adhingra)
Comment 1•5 months ago
|
||
Set release status flags based on info from the regressing bug 1883086
status-firefox130:
--- → unaffected
status-firefox131:
--- → unaffected
status-firefox132:
--- → affected
Updated•5 months ago
|
Blocks: monorepo-enhancements
Assignee | ||
Comment 2•5 months ago
|
||
Updated•5 months ago
|
Assignee: nobody → adhingra
Status: NEW → ASSIGNED
Assignee | ||
Updated•5 months ago
|
Flags: needinfo?(adhingra)
Pushed by ohall@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/20ffa140f69b
Fix scope of local variable metadata r=ohall,nalexander
Comment 4•5 months ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 5 months ago
Resolution: --- → FIXED
Target Milestone: --- → 132 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•