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): TestAccDataSourceGoogleGkeHubFeature_basic #22091

Open
roaks3 opened this issue Mar 27, 2025 · 1 comment
Open

Failing test(s): TestAccDataSourceGoogleGkeHubFeature_basic #22091

roaks3 opened this issue Mar 27, 2025 · 1 comment

Comments

@roaks3
Copy link
Collaborator

roaks3 commented Mar 27, 2025

Impacted tests

  • TestAccDataSourceGoogleGkeHubFeature_basic

Affected Resource(s)

  • google_gke_hub_feature

Failure rates

This seems to be 100% when the test is triggered by a PR

Message(s)

Error replaying tests:
error running go: exit status 1
stdout:
=== RUN   TestAccDataSourceGoogleGkeHubFeature_basic
=== PAUSE TestAccDataSourceGoogleGkeHubFeature_basic
=== CONT  TestAccDataSourceGoogleGkeHubFeature_basic
    test_utils.go:112: no cassette found on disk for TestAccDataSourceGoogleGkeHubFeature_basic, please replay this testcase in recording mode - open /workspace/.ci/magician/cassettes/beta/TestAccDataSourceGoogleGkeHubFeature_basic.seed: no such file or directory
--- FAIL: TestAccDataSourceGoogleGkeHubFeature_basic (0.00s)
FAIL
FAIL	github.com/hashicorp/terraform-provider-google-beta/google-beta/services/gkehub2	0.107s
FAIL

From the PR:

🟢 Tests passed during RECORDING mode:
TestAccDataSourceGoogleGkeHubFeature_basic [Debug log]

🔴 Tests failed when rerunning REPLAYING mode:
TestAccDataSourceGoogleGkeHubFeature_basic [Error message] [Debug log]

Tests failed due to non-determinism or randomness when the VCR replayed the response after the HTTP request was made.

Please fix these to complete your PR. If you believe these test failures to be incorrect or unrelated to your change, or if you have any questions, please raise the concern with your reviewer.

Nightly build test history

b/406886064

@github-actions github-actions bot added forward/review In review; remove label to forward service/gkehub labels Mar 27, 2025
@roaks3
Copy link
Collaborator Author

roaks3 commented Mar 27, 2025

Note that most (all?) of the google_gke_hub_feature resource tests are skipped in VCR, for what appears to be a different reason. It seems fair to skip this test on the data source, but I'm not seeing a reason why it wouldn't be recording the requetss for this test.

@modular-magician modular-magician added forward/linked and removed forward/review In review; remove label to forward labels Mar 28, 2025
@melinath melinath added this to the Near-Term Goals milestone Mar 31, 2025
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

3 participants