Closed Bug 1630783 Opened 5 years ago Closed 5 years ago

"fatal: /: '/' is outside repository at" when launching a try

Categories

(Developer Infrastructure :: Try, defect)

x86_64
Linux
defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1630668

People

(Reporter: kvark, Unassigned)

Details

vark@ant /mnt/code/firefox $ ./mach try fuzzy -q "'"'-qr !talos !raptor' -q '^webrender-'
estimates: Runs 508 tasks (484 selected, 24 dependencies)
estimates: Total task duration 7 days, 6:39:07
estimates: In the 6% percentile
estimates: Should take about 2:40:05 (Finished around 2020-04-16 21:12)
fatal: /: '/' is outside repository at '/mnt/code/firefox'
Error running mach:

    ['try', 'fuzzy', '-q', "'-qr !talos !raptor", '-q', '^webrender-']

The error occurred in code that was called by the mach command. This is either
a bug in the called code itself or in the way that mach is calling it.
You can invoke |./mach busted| to check if this issue is already on file. If it
isn't, please use |./mach busted file| 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:

CalledProcessError: Command '(u'/usr/bin/git', u'add', '/', 'm', 'n', 't', '/', 'c', 'o', 'd', 'e', '/', 'f', 'i', 'r', 'e', 'f', 'o', 'x', '/', 't', 'r', 'y', '_', 't', 'a', 's', 'k', '_', 'c', 'o', 'n', 'f', 'i', 'g', '.', 'j', 's', 'o', 'n')' returned non-zero exit status 128

  File "/mnt/code/firefox/tools/tryselect/mach_commands.py", line 307, in try_fuzzy
    return self.run(**kwargs)
  File "/mnt/code/firefox/tools/tryselect/mach_commands.py", line 177, in run
    return mod.run(**kwargs)
  File "/mnt/code/firefox/tools/tryselect/selectors/fuzzy.py", line 388, in run
    closed_tree=closed_tree)
  File "/mnt/code/firefox/tools/tryselect/push.py", line 178, in push_to_try
    vcs.add_remove_files(*changed_files)
  File "/mnt/code/firefox/python/mozversioncontrol/mozversioncontrol/__init__.py", line 509, in add_remove_files
    self._run('add', *paths)
  File "/mnt/code/firefox/python/mozversioncontrol/mozversioncontrol/__init__.py", line 115, in _run
    universal_newlines=True)
  File "/usr/lib/python2.7/subprocess.py", line 223, in check_output
    raise CalledProcessError(retcode, cmd, output=output)

This wasn't happening yesterday, I just grabbed the latest central and it happened.

Looks like a dupe of bug 1630668 to me. Try rebasing on autoland.

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → DUPLICATE
Product: Firefox Build System → Developer Infrastructure
You need to log in before you can comment on or make changes to this bug.