Closed Bug 1791797 Opened 2 years ago Closed 2 years ago

'mach try fuzzy' failed with mozilla_repo_urls.errors.InvalidRepoUrlError

Categories

(Firefox Build System :: Task Configuration, defect)

defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1784232

People

(Reporter: kershaw, Assigned: jlorenzo)

References

(Blocks 1 open bug, Regression)

Details

Attachments

(1 file)

mozilla_repo_urls.errors.InvalidRepoUrlError: Could not parse URL: hg::https://hg.mozilla.org/mozilla-central

  File "/Users/changkershaw/work/gecko/tools/tryselect/mach_commands.py", line 343, in try_fuzzy
    return run(command_context, **kwargs)
  File "/Users/changkershaw/work/gecko/tools/tryselect/mach_commands.py", line 201, in run
    return mod.run(**kwargs)
  File "/Users/changkershaw/work/gecko/tools/tryselect/selectors/fuzzy.py", line 470, in run
    tg = generate_tasks(
  File "/Users/changkershaw/work/gecko/tools/tryselect/tasks.py", line 89, in generate_tasks
    key = cache_key(attr, generator.parameters, disable_target_task_filter)
  File "/Users/changkershaw/work/gecko/taskcluster/gecko_taskgraph/generator.py", line 149, in parameters
    return self._run_until("parameters")
  File "/Users/changkershaw/work/gecko/taskcluster/gecko_taskgraph/generator.py", line 426, in _run_until
    k, v = next(self._run)
  File "/Users/changkershaw/work/gecko/taskcluster/gecko_taskgraph/generator.py", line 262, in _run
    parameters = self._parameters(graph_config)
  File "/Users/changkershaw/work/gecko/third_party/python/taskcluster_taskgraph/taskgraph/parameters.py", line 353, in get_parameters
    parameters = load_parameters_file(
  File "/Users/changkershaw/work/gecko/third_party/python/taskcluster_taskgraph/taskgraph/parameters.py", line 304, in load_parameters_file
    return Parameters(strict=strict, repo_root=repo_root, **overrides)
  File "/Users/changkershaw/work/gecko/third_party/python/taskcluster_taskgraph/taskgraph/parameters.py", line 153, in __init__
    kwargs = Parameters._fill_defaults(repo_root=repo_root, **kwargs)
  File "/Users/changkershaw/work/gecko/third_party/python/taskcluster_taskgraph/taskgraph/parameters.py", line 193, in _fill_defaults
    defaults.update(fn(repo_root))
  File "/Users/changkershaw/work/gecko/third_party/python/taskcluster_taskgraph/taskgraph/parameters.py", line 83, in _get_defaults
    parsed_url = parse(repo_url)
  File "/Users/changkershaw/work/gecko/third_party/python/mozilla_repo_urls/mozilla_repo_urls/parser.py", line 22, in parse
    raise InvalidRepoUrlError(url_string)
Assignee: nobody → jlorenzo
Regressed by: 1784232

Hi :kershaw! Thank you very much for the report and I'm sorry for the breakage. The fix is ongoing in bug 1784232. In the meantime, there's a temporary workaround in bug 1784232 comment 25:

git remote rename origin mozilla

Let me know if that doesn't work. I'm closing this ticket as a dupe of bug 1784232, since the fix is there.

Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → DUPLICATE

(In reply to Johan Lorenzo [:jlorenzo] from comment #2)

Hi :kershaw! Thank you very much for the report and I'm sorry for the breakage. The fix is ongoing in bug 1784232. In the meantime, there's a temporary workaround in bug 1784232 comment 25:

git remote rename origin mozilla

Let me know if that doesn't work. I'm closing this ticket as a dupe of bug 1784232, since the fix is there.

*** This bug has been marked as a duplicate of bug 1784232 ***

That workaround works. Thanks!

Wonderful, thanks for the quick feedback!

See Also: → 1791852
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: