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

"conda-forge-admin, please restart ci" bot command failing #773

Open
1 task done
matthewfeickert opened this issue Nov 13, 2024 · 4 comments
Open
1 task done

"conda-forge-admin, please restart ci" bot command failing #773

matthewfeickert opened this issue Nov 13, 2024 · 4 comments
Labels

Comments

@matthewfeickert
Copy link
Member

Solution to issue cannot be found in the documentation.

  • I checked the documentation.

Issue

As noted in conda-forge/hatchling-feedstock#62, in recent conda-forge feedstocks using the @conda-forge-admin, please restart ci command will fail.

Duplicating the information from conda-forge/hatchling-feedstock#62 (comment):

image

In the CI logs

Starting: Checkout conda-forge/hatchling-feedstock@refs/pull/62/merge to s
==============================================================================
Task         : Get sources
Description  : Get sources from a repository. Supports Git, TfsVC, and SVN repositories.
Version      : 1.0.0
Author       : Microsoft
Help         : [More Information](https://go.microsoft.com/fwlink/?LinkId=798199)
==============================================================================
Syncing repository: conda-forge/hatchling-feedstock (GitHub)
git version
git version 2.47.0
git lfs version
git-lfs/3.5.1 (GitHub; linux amd64; go 1.21.8)
git init "/home/vsts/work/1/s"
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
Initialized empty Git repository in /home/vsts/work/1/s/.git/
git remote add origin https://github.com/conda-forge/hatchling-feedstock
git config gc.auto 0
git config core.longpaths true
git config --get-all http.https://github.com/conda-forge/hatchling-feedstock.extraheader
git config --get-all http.extraheader
git config --get-regexp .*extraheader
git config --get-all http.proxy
git config http.version HTTP/1.1
git --config-env=http.extraheader=env_var_http.extraheader fetch --force --tags --prune --prune-tags --progress --no-recurse-submodules origin   +refs/heads/*:refs/remotes/origin/* +refs/pull/62/merge:refs/remotes/pull/62/merge
fatal: couldn't find remote ref refs/pull/62/merge
##[warning]Git fetch failed with exit code 128, back off 4.987 seconds before retry.
git --config-env=http.extraheader=env_var_http.extraheader fetch --force --tags --prune --prune-tags --progress --no-recurse-submodules origin   +refs/heads/*:refs/remotes/origin/* +refs/pull/62/merge:refs/remotes/pull/62/merge
fatal: couldn't find remote ref refs/pull/62/merge
##[warning]Git fetch failed with exit code 128, back off 8.168 seconds before retry.
git --config-env=http.extraheader=env_var_http.extraheader fetch --force --tags --prune --prune-tags --progress --no-recurse-submodules origin   +refs/heads/*:refs/remotes/origin/* +refs/pull/62/merge:refs/remotes/pull/62/merge
fatal: couldn't find remote ref refs/pull/62/merge
##[error]Git fetch failed with exit code: 128
Finishing: Checkout conda-forge/hatchling-feedstock@refs/pull/62/merge to s

Installed packages

This is happening in the CI job before anything is installed.

Environment info

This is happening in the CI job before anything is installed.
@matthewfeickert
Copy link
Member Author

I see that @jakirkham has identified (conda-forge/hatchling-feedstock#62 (comment)) this is related to conda-forge/conda-forge.github.io#2346 👀

@beckermr
Copy link
Member

This is azure clearly. Unless they have supplied new api endpoints to restart jobs, we should remove the command

@jakirkham
Copy link
Member

It is worth noting that this issue doesn't happen all the time, but it does happen sometimes

Also it can happen with just closing and reopening a PR or in some cases pushing a commit

These issues sometimes clear up on their own

Here's an extreme example: conda-forge/cuda-nvvp-feedstock#14

@jakirkham
Copy link
Member

Instead of pulling the command (given this is not repeatably persistent nor unique to it), would recommend we raise this issue with Azure

Clearly they made a change recently, which is causing issues

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

No branches or pull requests

3 participants