-
Notifications
You must be signed in to change notification settings - Fork 16
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
phase1: builds on clean workers always fail on gitverify step #5
Labels
bug
Something isn't working
Comments
ynezz
added a commit
that referenced
this issue
May 17, 2023
Currently every 1st build on ephemeral build worker results in the failure of the `gitverify` build step as the stock buildbot Git() build step for some reasons just clones the Git repository into detached HEAD state. On the 2nd build using the same build worker Git() checkouts the branch and thus makes `gitverify` step happy and the builds then continues normally. This needs to be fixed properly, either by adjusting the `gitverify` check or adding suitable `mode` into Git() build step, but this needs more time and testing. So for now, lets simply workaround that issue by running Git() step two times. References: #5 Signed-off-by: Petr Štetiar <[email protected]>
The root cause is very clear.
This is bad and needlessly create a detached head.
Can this simple and important fix be considered for the next release? TIA... |
Mind creating a PR? |
@aparcar -- thanks for the good proposal:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Following build step utilizing
Git()
stock buildbot build step when performed on a clean worker:leaves the cloned Git repository in the detached HEAD state and consecutive
gitverify
check thus always fail:So every first build on ephemeral VPS results in a failure, each second build then goes fine as
Git()
checkouts the branch correctly.Output of the Git() step on a fresh worker, 1st build (BAD case)
Output of the Git() step on a fresh worker, 2nd build (GOOD case)
The text was updated successfully, but these errors were encountered: