Closed Bug 1617877 Opened 1 year ago Closed 1 year ago

TypeError: environment can only contain strings with mach try fuzzy on Windows

Categories

(Firefox Build System :: Try, defect, P1)

Unspecified
Windows
defect

Tracking

(firefox75 fixed)

RESOLVED FIXED
mozilla75
Tracking Status
firefox75 --- fixed

People

(Reporter: onegru, Assigned: onegru)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Error log:

$ mach try fuzzy
Artifact builds enabled, pass --no-artifact to disable
Error running mach:

    ['try', 'fuzzy']

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:

TypeError: environment can only contain strings

  File "c:\mozilla-source\mozilla-central\tools/tryselect/mach_commands.py", line 307, in try_fuzzy
    return self.run(**kwargs)
  File "c:\mozilla-source\mozilla-central\tools/tryselect/mach_commands.py", line 177, in run
    return mod.run(**kwargs)
  File "c:\mozilla-source\mozilla-central\tools\tryselect\selectors\fuzzy.py", line 369, in run
    selected = get_tasks()
  File "c:\mozilla-source\mozilla-central\tools\tryselect\selectors\fuzzy.py", line 353, in get_tasks
    query_str, tasks = run_fzf(cmd, sorted(candidate_tasks))
  File "c:\mozilla-source\mozilla-central\tools\tryselect\selectors\fuzzy.py", line 272, in run_fzf
    proc = subprocess.Popen(cmd, stdout=subprocess.PIPE, stdin=subprocess.PIPE, env=env)
  File "c:\mozilla-build\python\lib\subprocess.py", line 394, in __init__
    errread, errwrite)
  File "c:\mozilla-build\python\lib\subprocess.py", line 644, in _execute_child
    startupinfo

Same here, after syncing which upgraded toolchains.

Pushed by onegru@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/3269c193ab28
TypeError: environment can only contain strings  with mach try fuzzy on Windows r=ahal
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED

This is not fixed yet. You will have to wait for the merge to mozilla-central.

Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Status: REOPENED → RESOLVED
Closed: 1 year ago1 year ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla75
You need to log in before you can comment on or make changes to this bug.