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

Flaky cloudbuild test due to concurrent go build ./... #1529

Open
roger2hk opened this issue Jul 4, 2024 · 0 comments
Open

Flaky cloudbuild test due to concurrent go build ./... #1529

roger2hk opened this issue Jul 4, 2024 · 0 comments

Comments

@roger2hk
Copy link
Contributor

roger2hk commented Jul 4, 2024

The cloudbuild test is flaky from time to time because the go build ... was run concurrently after the ci-ready step.


Sample errors

Created tree 1376086433082563736
/workspace/trillian/integration/ct_functions.sh: line 118: ./createtree: Text file busy
Created tree 2866571834323913394
/workspace/trillian/integration/ct_functions.sh: line 118: ./createtree: No such file or directory

The fix requires some refactoring in both the scripts/presubmit.sh and cloudbuild*.yaml. Note that the coverage flag logic is inside the run_build condition.

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

No branches or pull requests

1 participant