Closed Bug 1954087 Opened 7 months ago Closed 7 months ago

./mach run -P d -purgecaches no longer works

Categories

(Firefox Build System :: Mach Core, defect)

defect

Tracking

(firefox-esr128 unaffected, firefox136 unaffected, firefox137 unaffected, firefox138 fixed)

RESOLVED FIXED
138 Branch
Tracking Status
firefox-esr128 --- unaffected
firefox136 --- unaffected
firefox137 --- unaffected
firefox138 --- fixed

People

(Reporter: standard8, Assigned: sergesanspaille)

References

(Blocks 1 open bug, Regression)

Details

(Keywords: regression)

Attachments

(1 file)

Following the change in bug 1953089, attempting to run ./mach run -P d -purgecaches no longer works:

./mach run -P d -purgecaches
It looks like you passed an unrecognized argument into mach.

The run command does not accept the arguments: -P -purgecaches

You have to specify an additional --, i.e. ./mach run -- -P d purgecaches.

Not sure if this is an intended change or not.

If it is going to be kept, then it needs announcing on the platform & firefox mailing lists, and the error message should be updated.

Set release status flags based on info from the regressing bug 1953089

:sergesanspaille, since you are the author of the regressor, bug 1953089, could you take a look? Also, could you set the severity field?

For more information, please visit BugBot documentation.

This actually fixes a bug introduced in #1953089.

Assignee: nobody → sguelton
Status: NEW → ASSIGNED
See Also: → 1954345
Flags: needinfo?(sguelton)
Severity: -- → S3

This is also breaking Fenix run:

mach run --app=fenix

   NameError: name 'fake_help' is not defined

  File "/Users/tom/moz/mozilla-unified/python/mozbuild/mozbuild/mach_commands.py", line 1628, in run
    assert not fake_help
               ^^^^^^^^^

Commenting out these two lines works around it:
https://searchfox.org/mozilla-central/source/python/mozbuild/mozbuild/mach_commands.py#1627-1629

Duplicate of this bug: 1954345
Pushed by nalexander@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/dbc6be3b69f4 Fix invalid parsing of mach run remaining args r=firefox-build-system-reviewers,nalexander
Status: ASSIGNED → RESOLVED
Closed: 7 months ago
Resolution: --- → FIXED
Target Milestone: --- → 138 Branch
Duplicate of this bug: 1954720
Regressions: 1957998
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: