Skip to content

gcbmgr release frequently fails at "push git objects" #933

@tpepper

Description

@tpepper

Lately on patch releases we've had as high maybe 5-30% failure rate in "gcbmgr release" at the "push git objects" step. Eg:

Today's run of:

gcbmgr release --nomock --official release-1.14 --buildversion=v1.14.9-beta.0.44+500f5aba80d712

Failed with:

Step #1: ================================================================================
Step #1: PUSH GIT OBJECTS  (11/14)
Step #1: ================================================================================
Step #1:
Step #1: Checkout master branch to push objects: OK
Step #1: Pushing tags
Step #1: * v1.14.9: OK
Step #1: * v1.14.10-beta.0: OK
Step #1: Pushing release-1.14 branch: OK
Step #1: Checkout master branch to push objects: OK
Step #1: Rebase master branch: OK
Step #1: Pushing master branch: FAILED
Step #1: [2019-Nov-13 17:50:09 UTC] push_git_objects in 26s
Step #1: FAILED in push_git_objects.
Step #1:
Step #1: RELEASE INCOMPLETE! Exiting...

Frequently this does not reproduce. A second run of the exact same 'gcbmgr release' command usually will succeed, and this was the case for this 1.14 failure above.

Today we also had the 1.16 'gcbmgr release' fail and refuse to continue, noting the v1.16.3 and v1.16.4-beta.0 tags already existed. This contradicts the above run for 1.14 which failed initially, had pushed tags, yet succeed on re-run despite the existing tags.

Running:

git push --delete upstream v1.16.3
git push --delete upstream v1.16.4-beta.0

and then re-running the same 'gcbmgr release' command for the 1.16 release then succeeded.

This feels like a race or incomplete error handling, perhaps in GCB, gcbmgr, or maybe even in GitHub API accesses?

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/release-engIssues or PRs related to the Release Engineering subprojectneeds-kindIndicates a PR lacks a `kind/foo` label and requires one.needs-prioritysig/releaseCategorizes an issue or PR as relevant to SIG Release.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions