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

Failing test(s): TestAccCompute* "couldn't find resource (21 retries)" #16028

Open
SarahFrench opened this issue Sep 28, 2023 · 2 comments
Open

Comments

@SarahFrench
Copy link
Member

SarahFrench commented Sep 28, 2023

Failure rates

This is a fairly rare error - for TestAccComputeInstance_kmsDiskEncryption it happened 3 times in the first 2 weeks of November 2023 but not at all in October. However, across all Compute tests it's a frequently-seen failure.

Impacted tests

Affected Resource(s)

  • google_compute_instance

Nightly build test history

  • See links above

Message(s)

------- Stdout: -------
=== RUN   TestAccComputeAttachedDisk_region
=== PAUSE TestAccComputeAttachedDisk_region
=== CONT  TestAccComputeAttachedDisk_region
    vcr_utils.go:152: Step 1/2 error: Error running apply: exit status 1
        Error: Error waiting for instance to create: couldn't find resource (21 retries)
          with google_compute_instance.test,
          on terraform_plugin_test.tf line 13, in resource "google_compute_instance" "test":
          13: resource "google_compute_instance" "test" {
--- FAIL: TestAccComputeAttachedDisk_region (234.12s)
FAIL
------- Stdout: -------
=== RUN   TestAccComputeInstanceMigrateState_v4FixAttachedDiskFromAutoDeleteAndImage
=== PAUSE TestAccComputeInstanceMigrateState_v4FixAttachedDiskFromAutoDeleteAndImage
=== CONT  TestAccComputeInstanceMigrateState_v4FixAttachedDiskFromAutoDeleteAndImage
    resource_compute_instance_migrate_test.go:709: Error waiting for instance to create: couldn't find resource (21 retries)
--- FAIL: TestAccComputeInstanceMigrateState_v4FixAttachedDiskFromAutoDeleteAndImage (219.84s)
FAIL
------- Stdout: -------
=== RUN   TestAccComputeInstance_kmsDiskEncryption
=== PAUSE TestAccComputeInstance_kmsDiskEncryption
=== CONT  TestAccComputeInstance_kmsDiskEncryption
    vcr_utils.go:152: Step 1/2 error: Error running apply: exit status 1
        Error: Error waiting for instance to create: couldn't find resource (21 retries)
          with google_compute_instance.foobar,
          on terraform_plugin_test.tf line 47, in resource "google_compute_instance" "foobar":
          47: resource "google_compute_instance" "foobar" {
--- FAIL: TestAccComputeInstance_kmsDiskEncryption (247.40s)
FAIL

b/312433137

@SarahFrench SarahFrench changed the title [Major Release 5.0.0] Failing test(s): TestAccCompute* Failing test(s): TestAccCompute* Sep 28, 2023
@SarahFrench SarahFrench added this to the Goals milestone Oct 2, 2023
@shuyama1 shuyama1 self-assigned this Oct 11, 2023
@github-actions github-actions bot added forward/review In review; remove label to forward service/compute-instances labels Oct 25, 2023
@melinath melinath removed forward/review In review; remove label to forward service/compute-networking-neg labels Nov 16, 2023
@github-actions github-actions bot added forward/review In review; remove label to forward service/compute-networking-neg labels Nov 16, 2023
@melinath melinath removed forward/review In review; remove label to forward service/compute-networking-neg labels Nov 16, 2023
@shuyama1 shuyama1 removed their assignment Nov 30, 2023
@SarahFrench
Copy link
Member Author

Just added TestAccComputeDisk_deleteDetach & TestAccComputeInstance_networkTier as tests that experienced this error in last night's tests.

@SarahFrench SarahFrench changed the title Failing test(s): TestAccCompute* Failing test(s): TestAccCompute* "couldn't find resource (21 retries)" Dec 8, 2023
@melinath
Copy link
Collaborator

Tentatively marking this as 10%+ failure rate across all of compute.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants