Skip to content
This repository has been archived by the owner on Dec 8, 2020. It is now read-only.

TestAccBitbucketDefaultReviewers_basic fails #35

Open
kmoe opened this issue Jun 18, 2019 · 1 comment
Open

TestAccBitbucketDefaultReviewers_basic fails #35

kmoe opened this issue Jun 18, 2019 · 1 comment
Assignees

Comments

@kmoe
Copy link
Member

kmoe commented Jun 18, 2019

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 (f2f7bd2) and after Terraform 0.12 upgrade (1ecfeb2).

@kmoe kmoe self-assigned this Jun 18, 2019
@kmoe
Copy link
Member Author

kmoe commented Jun 18, 2019

This is due to #37.

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

No branches or pull requests

1 participant