Skip to content

integration test fails occasionally #1097

@kvoss

Description

@kvoss

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions