hashicorp / terraform-provider-bitbucket

This Terraform provider is archived per our provider archiving process: https://terraform.io/docs/internals/archiving.html
https://registry.terraform.io
Mozilla Public License 2.0
31 stars 106 forks source link

TestAccBitbucketDefaultReviewers_basic fails #35

Open kmoe opened 5 years ago

kmoe commented 5 years ago

The nightly acceptance tests were all green until 30th May 2019, when when TestAccBitbucketDefaultReviewers_basic started failing. It has been failing ever since.

From a local run:

$ make testacc
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test $(go list ./... |grep -v 'vendor') -v  -timeout 120m
?       github.com/terraform-providers/terraform-provider-bitbucket [no test files]
=== RUN   TestProvider
--- PASS: TestProvider (0.00s)
=== RUN   TestProvider_impl
--- PASS: TestProvider_impl (0.00s)
=== RUN   TestAccBitbucketDefaultReviewers_basic
--- FAIL: TestAccBitbucketDefaultReviewers_basic (1.15s)
    testing.go:568: Step 0 error: errors during apply:

        Error: API Error: 400 2.0/repositories/terraform/test-repo-default-reviewers Repository with this Slug and Owner already exists.

          on /tmp/tf-test148950794/main.tf line 2:
          (source code not available)

    testing.go:629: Error destroying resource! WARNING: Dangling resources
        may exist. The full state and error is shown below.

        Error: Check failed: Not found bitbucket_default_reviewers.test_reviewers

        State: <no state>
=== RUN   TestAccBitbucketHook_basic
--- PASS: TestAccBitbucketHook_basic (8.27s)
=== RUN   TestAccBitbucketRepository_basic
--- PASS: TestAccBitbucketRepository_basic (3.33s)
=== RUN   TestAccBitbucketRepository_camelcase
--- PASS: TestAccBitbucketRepository_camelcase (3.64s)
FAIL
FAIL    github.com/terraform-providers/terraform-provider-bitbucket/bitbucket   16.402s
make: *** [GNUmakefile:17: testacc] Error 1

Version

Failure occurs both on tip of master (f2f7bd24814bc37af32c54f502a25febec25a2a5) and after Terraform 0.12 upgrade (1ecfeb2fd26c3ae7e99f82134d93aa7068b905ad).

kmoe commented 5 years ago

This is due to #37.