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

pr-head and pr-merge break if a tag is updated #85

Open
gilles-peskine-arm opened this issue Jan 5, 2023 · 0 comments
Open

pr-head and pr-merge break if a tag is updated #85

gilles-peskine-arm opened this issue Jan 5, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@gilles-peskine-arm
Copy link
Contributor

The pr-head and pr-merge jobs completely break if a tag is updated in the repository. This isn't something we do in normal operation, but we may want to do it occasionally for tags that aren't meant to be consumed by users, or we may do it occasionally as a mistake when pushing the wrong thing.

Example (https://jenkins-mbedtls.oss.arm.com/job/mbed-tls-pr-head/job/PR-6720-head/4/console):

Pull request #6720 updated
02:52:17 Connecting to https://api.github.com/ using oss-mbed-tls-bot/****** (oss-mbed-tls-bot Github API Authentication credentials)
Loading trusted files from base branch development at 262851df1cc4f090b3e2920cd647d5e22c9bb2f1 rather than 70c1f7be4c2490c4d3bff87b7060dc5a6735a538

GitHub has been notified of this commit’s build result

hudson.plugins.git.GitException: Command "git fetch --tags --progress origin +refs/heads/*:refs/remotes/origin/* --prune" returned status code 1:
stdout: 
stderr: From https://github.com/Mbed-TLS/mbedtls
 ! [rejected]            features/new-code-style/test/new/6863 -> features/new-code-style/test/new/6863  (would clobber existing tag)

and the job stops there.

I don't know if we can actually fix that, or if it's a brittleness in the multibranch pipeline plugin.

@gilles-peskine-arm gilles-peskine-arm added the bug Something isn't working label Jan 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant