Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Many migration feedstocks failing to be rerendered with GitCliError #3023

Closed
h-vetinari opened this issue Oct 21, 2024 · 4 comments · Fixed by #3024
Closed

Many migration feedstocks failing to be rerendered with GitCliError #3023

h-vetinari opened this issue Oct 21, 2024 · 4 comments · Fixed by #3024

Comments

@h-vetinari
Copy link
Contributor

Continuation of conda-forge/conda-forge-feedstock-ops#23. Latest protobuf migrator PRs (and probably many others) all have a new error now, still no successfully opened PRs. Here's one example (logs):

Traceback (most recent call last):
  File "/home/runner/work/cf-scripts/cf-scripts/cf-scripts/conda_forge_tick/git_utils.py", line 202, in _run_git_command
    p = subprocess.run(
        ^^^^^^^^^^^^^^^
  File "/home/runner/micromamba/envs/cf-scripts/lib/python3.11/subprocess.py", line 571, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['git', 'push', 'https://github.com/regro-cf-autotick-bot/pytorch-cpu-feedstock.git', 'rebuild-libgrpc167_libprotobuf5282-0-1_hcc6ed3']' returned non-zero exit status 128.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/runner/work/cf-scripts/cf-scripts/cf-scripts/conda_forge_tick/auto_tick.py", line 720, in _run_migrator_on_feedstock_branch
    migrator_uid, pr_json = run_with_tmpdir(
                            ^^^^^^^^^^^^^^^^
  File "/home/runner/work/cf-scripts/cf-scripts/cf-scripts/conda_forge_tick/auto_tick.py", line 451, in run_with_tmpdir
    return run(
           ^^^^
  File "/home/runner/work/cf-scripts/cf-scripts/cf-scripts/conda_forge_tick/auto_tick.py", line 575, in run
    git_backend.push_to_repository(
  File "/home/runner/micromamba/envs/cf-scripts/lib/python3.11/contextlib.py", line 81, in inner
    return func(*args, **kwds)
           ^^^^^^^^^^^^^^^^^^^
  File "/home/runner/work/cf-scripts/cf-scripts/cf-scripts/conda_forge_tick/git_utils.py", line 831, in push_to_repository
    self.cli.push_to_url(git_dir, remote_url, branch)
  File "/home/runner/micromamba/envs/cf-scripts/lib/python3.11/contextlib.py", line 81, in inner
    return func(*args, **kwds)
           ^^^^^^^^^^^^^^^^^^^
  File "/home/runner/work/cf-scripts/cf-scripts/cf-scripts/conda_forge_tick/git_utils.py", line 295, in push_to_url
    self._run_git_command(["push", remote_url, branch], git_dir)
  File "/home/runner/micromamba/envs/cf-scripts/lib/python3.11/contextlib.py", line 81, in inner
    return func(*args, **kwds)
           ^^^^^^^^^^^^^^^^^^^
  File "/home/runner/work/cf-scripts/cf-scripts/cf-scripts/conda_forge_tick/git_utils.py", line 214, in _run_git_command
    raise GitCliError(f"Error running git command: {repr(e)}")
conda_forge_tick.git_utils.GitCliError: Error running git command: CalledProcessError(128, ['git', 'push', 'https://github.com/regro-cf-autotick-bot/pytorch-cpu-feedstock.git', 'rebuild-libgrpc167_libprotobuf5282-0-1_hcc6ed3'])
@ytausch
Copy link
Contributor

ytausch commented Oct 21, 2024

Likely related to #3004

@ytausch
Copy link
Contributor

ytausch commented Oct 21, 2024

The relevant line is this here:

2024-10-19T14:13:04.5717175Z fatal: unable to access 'https://github.com/regro-cf-autotick-bot/pytorch-cpu-feedstock.git/': The requested URL returned error: 400

@ytausch
Copy link
Contributor

ytausch commented Oct 21, 2024

Unfortunately, problems like this can happen because #261 is not yet finished.

@beckermr let's revert my changes for now?

@h-vetinari
Copy link
Contributor Author

Thanks for fixing this, even if it meant a revert. 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants