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

Fix failing GCP tests #1132

Closed
denis256 opened this issue May 28, 2022 · 0 comments · Fixed by #1133
Closed

Fix failing GCP tests #1132

denis256 opened this issue May 28, 2022 · 0 comments · Fixed by #1133
Assignees
Labels
bug Something isn't working

Comments

@denis256
Copy link
Member

Noticed that different GCP tests still periodically fail, with the same error:

Failed
    compute_test.go:155: Launching new Compute Instance terratest-fabj54
TestGetAndSetMetadata 2022-05-28T20:08:55Z retry.go:91: Attempting to request a Google OAuth2 token
TestGetAndSetMetadata 2022-05-28T20:08:55Z compute.go:606: Successfully retrieved default GCP client
    compute_test.go:206: Error launching new Compute Instance: googleapi: Error 400: Invalid value for field 'resource.machineType': 'zones/europe-west8-a/machineTypes/f1-micro'. Machine type with name 'f1-micro' does not exist in zone 'europe-west8-a'., invalid
TestGetRandomRegionExcludesForbiddenRegions 2022-05-28T19:48:57Z region.go:67: Using Region australia-southeast1
    compute_test.go:155: Launching new Compute Instance terratest-4pmcyu
TestGetPublicIpOfInstance 2022-05-28T19:48:58Z retry.go:91: Attempting to request a Google OAuth2 token
TestGetPublicIpOfInstance 2022-05-28T19:48:58Z compute.go:606: Successfully retrieved default GCP client
    compute_test.go:206: Error launching new Compute Instance: googleapi: Error 400: Invalid value for field 'resource.machineType': 'zones/europe-west8-c/machineTypes/f1-micro'. Machine type with name 'f1-micro' does not exist in zone 'europe-west8-c'., invalid

Links:

https://app.circleci.com/pipelines/github/gruntwork-io/terratest/1010/workflows/54650e5e-d053-4a01-9e44-42d356088503/jobs/7726/tests#failed-test-0

https://app.circleci.com/pipelines/github/gruntwork-io/terratest/1011/workflows/7216ccde-e07b-4d69-a8c7-1d999baa31cb/jobs/7733

@denis256 denis256 added the bug Something isn't working label May 28, 2022
@denis256 denis256 self-assigned this May 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant