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): TestAccCloudBuildTrigger_basic_bitbucket #15079

Comments

@SarahFrench
Copy link
Member

SarahFrench commented Jul 7, 2023

Failure rates

  • 100% since 2023-05-06

Impacted tests

  • TestAccCloudBuildTrigger_basic_bitbucket

Affected Resource(s)

  • google_cloudbuild_trigger

Nightly build test history

Message(s)

------- Stdout: -------
=== RUN   TestAccCloudBuildTrigger_basic_bitbucket
=== PAUSE TestAccCloudBuildTrigger_basic_bitbucket
=== CONT  TestAccCloudBuildTrigger_basic_bitbucket
    vcr_utils.go:150: Step 1/2 error: Error running apply: exit status 1
        Error: Error creating Trigger: googleapi: Error 400: a bitbucket_server_config must be specified for repo_type BITBUCKET_SERVER
          with google_cloudbuild_trigger.build_trigger,
          on terraform_plugin_test.tf line 2, in resource "google_cloudbuild_trigger" "build_trigger":
           2: resource "google_cloudbuild_trigger" "build_trigger" {
--- FAIL: TestAccCloudBuildTrigger_basic_bitbucket (2.80s)
FAIL

b/291303515

@SarahFrench
Copy link
Member Author

The trigger resource in the API has a bitbucketServerTriggerConfig field, and this is present in the Google provider - see the docs on google_cloudbuild_trigger resource's bitbucket_server_trigger_config field

It looks like this acceptance test is just really out of date?

@SarahFrench
Copy link
Member Author

I've labelled this test failure with service/cloudbuild as I see that's been done with other Cloud Build-related test failures.

@github-actions
Copy link

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 11, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.