terraform-provider-gitlab icon indicating copy to clipboard operation
terraform-provider-gitlab copied to clipboard

Sporadic Failure in `TestAccGitlabLabel_basic` Acceptance Test

Open timofurrer opened this issue 3 years ago • 2 comments

During one of the CE acceptance test runs I've got this failure: https://github.com/gitlabhq/terraform-provider-gitlab/runs/4993701443?check_suite_focus=true#step:6:93

=== RUN TestAccGitlabLabel_basic resource_gitlab_label_test.go:17: Step 5/5 error: Error running apply: exit status 1

Error: Provider produced inconsistent result after apply
   
  When applying changes to gitlab_label.fixme[79], provider
  "provider[\"registry.terraform.io/hashicorp/gitlab\"]" produced an unexpected
  new value: Root resource was present, but now absent.
 
  This is a bug in the provider, which should be reported in the provider's own
  issue tracker.

timofurrer avatar Jan 30 '22 08:01 timofurrer

I haven't seen this ever since. @armsnyder did you? Otherwise I'd close this ...

timofurrer avatar Mar 06 '22 19:03 timofurrer

It still exists: https://github.com/gitlabhq/terraform-provider-gitlab/runs/5461795214?check_suite_focus=true#step:6:100

At least in the gitlab_group_label resource ...

/cc @armsnyder @petrmvala

timofurrer avatar Mar 08 '22 12:03 timofurrer