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 test fails occasionally #1097

Open
kvoss opened this issue Jan 12, 2022 · 0 comments
Open

integration test fails occasionally #1097

kvoss opened this issue Jan 12, 2022 · 0 comments

Comments

@kvoss
Copy link
Contributor

kvoss commented Jan 12, 2022

Relatively often, integration test fails on the first run. Fortunately, it fails within the first 5 minutes and re-running the test from Cloud Build interface has a good chance of success (if there are no other issues).

For example, Build 0e00111a around log line 850 contains:

Step #1 - "Terraform Engine integration tests": Error: Error creating App Engine application: googleapi: Error 403: The caller does not have permission, forbidden
Step #1 - "Terraform Engine integration tests": 
Step #1 - "Terraform Engine integration tests":   on main.tf line 166, in resource "google_app_engine_application" "cloudbuild_scheduler_app":
Step #1 - "Terraform Engine integration tests":  166: resource "google_app_engine_application" "cloudbuild_scheduler_app" {
Step #1 - "Terraform Engine integration tests": 
Step #1 - "Terraform Engine integration tests": 
Step #1 - "Terraform Engine integration tests":     integration_test.go:113: command [terraform apply -auto-approve] in "/tmp/157127156/cicd": exit status 1

I suspect a timing issue with propagation of permissions, but it needs to be tested.

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

2 participants