Closed Bug 1650261 Opened 4 years ago Closed 4 years ago

mach vcs-setup fails on git

Categories

(Firefox Build System :: Bootstrap Configuration, defect)

defect

Tracking

(firefox-esr68 unaffected, firefox-esr78 unaffected, firefox78 unaffected, firefox79 wontfix, firefox80 fixed)

RESOLVED FIXED
mozilla80
Tracking Status
firefox-esr68 --- unaffected
firefox-esr78 --- unaffected
firefox78 --- unaffected
firefox79 --- wontfix
firefox80 --- fixed

People

(Reporter: saschanaz, Assigned: saschanaz)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

$ ./mach vcs-setup
Error running mach:

    ['vcs-setup']

The error occurred in the implementation of the invoked mach command.

This should never occur and is likely a bug in the implementation of that
command.
You can invoke |./mach busted| to check if this issue is already on file. If it
isn't, please use |./mach busted file vcs-setup| to report it. If |./mach busted| is
misbehaving, you can also inspect the dependencies of bug 1543241.

If filing a bug, please include the full output of mach, including this error
message.

The details of the failure are as follows:

TypeError: configure_git() missing 1 required positional argument: 'top_src_dir'

  File "c:\Users\Kagami\Documents\GitHub\gecko-dev\python/mozboot/mozboot/mach_commands.py", line 99, in vcs_setup
    bootstrap.configure_git(vcs, self._context.state_dir, self._context.topdir)
Sentry is attempting to send 0 pending error messages
Waiting up to 2 seconds
Press Ctrl-Break to quit

D79393 introduced a new parameter to configure_git() but there is a remaining call that does not pass it. This patch fixes it.

Assignee: nobody → krosylight
Status: NEW → ASSIGNED

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

Pushed by krosylight@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/45973324cbab Pass git-cinnabar path to configure_git() r=mhentges,rstewart
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla80

The patch landed in nightly and beta is affected.
:saschanaz, is this bug important enough to require an uplift?
If not please set status_beta to wontfix.

For more information, please visit auto_nag documentation.

Flags: needinfo?(krosylight)
Flags: needinfo?(krosylight)
Has Regression Range: --- → yes
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: