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

Integration tests CloudBuild pipeline unreliable #1377

Open
aarturm opened this issue Feb 11, 2025 · 0 comments
Open

Integration tests CloudBuild pipeline unreliable #1377

aarturm opened this issue Feb 11, 2025 · 0 comments

Comments

@aarturm
Copy link
Contributor

aarturm commented Feb 11, 2025

Hi,
I'm trying to run integration tests with Cloud Build using this config file: https://github.com/terraform-google-modules/terraform-example-foundation/blob/main/build/int.cloudbuild.yaml.
Even with no modification to the Foundation code those tests are very unreliable. They fail randomly in different steps. I have to re-run those multiple time which takes hours or even days.

There are few places it fails most often, example:
Bootstrap, when assigning IAM to service accounts. SA service-<PROJECT_NUMBER>.gs-project-accounts.iam.gserviceaccount.com does not exist.
Or also in Bootstrap step error telling me CSR repositories already exist. But this steps creates new and empty projects for those repositories.

Have you noticed similar behavior as well?

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