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

CodeBuild acceptance test failures -- ImportStateVerify attributes not equivalent #35108

Closed
ewbankkit opened this issue Jan 2, 2024 · 3 comments · Fixed by #34121
Closed
Labels
service/codebuild Issues and PRs that pertain to the codebuild service. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure.
Milestone

Comments

@ewbankkit
Copy link
Contributor

ewbankkit commented Jan 2, 2024

CodeBuild acceptance test failures in CI:

  • TestAccCodeBuildProject_SecondaryArtifacts_artifactIdentifier
  • TestAccCodeBuildProject_SecondaryArtifacts_encryptionDisabled
  • TestAccCodeBuildProject_SecondaryArtifacts_location
  • TestAccCodeBuildProject_SecondaryArtifacts_namespaceType
  • TestAccCodeBuildProject_SecondaryArtifacts_overrideArtifactName
  • TestAccCodeBuildProject_SecondaryArtifacts_packaging
  • TestAccCodeBuildProject_SecondaryArtifacts_path
  • TestAccCodeBuildProject_SecondaryArtifacts_type
  • TestAccCodeBuildProject_SecondarySourcesGitSubmodules_codeCommit
  • TestAccCodeBuildProject_SecondarySourcesGitSubmodules_gitHub
  • TestAccCodeBuildProject_SecondarySourcesGitSubmodules_gitHubEnterprise
  • TestAccCodeBuildProject_SecondarySourcesVersions
  • TestAccCodeBuildProject_SecondarySources_codeCommit
  • TestAccCodeBuildProject_secondaryArtifacts
  • TestAccCodeBuildSourceCredential_basic

The increase in failures occurred between 12/2 and 12/9.
The majority are with ImportStateVerify attributes not equivalent errors, e.g.

=== RUN   TestAccCodeBuildProject_SecondaryArtifacts_artifactIdentifier
=== PAUSE TestAccCodeBuildProject_SecondaryArtifacts_artifactIdentifier
=== CONT  TestAccCodeBuildProject_SecondaryArtifacts_artifactIdentifier
    project_test.go:2111: Step 2/3 error running import: ImportStateVerify attributes not equivalent. Difference is shown below. The - symbol indicates attributes missing after import.
          map[string]string{
        -   "secondary_artifacts.0.name": "",
        +   "secondary_artifacts.0.name": "tf-acc-test-6098558499924826843",
          }
--- FAIL: TestAccCodeBuildProject_SecondaryArtifacts_artifactIdentifier (297.09s)

Relates #35054.

Copy link

github-actions bot commented Jan 2, 2024

Community Note

Voting for Prioritization

  • Please vote on this issue by adding a 👍 reaction to the original post to help the community and maintainers prioritize this request.
  • Please see our prioritization guide for information on how we prioritize.
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request.

Volunteering to Work on This Issue

  • If you are interested in working on this issue, please leave a comment.
  • If this would be your first contribution, please review the contribution guide.

@ewbankkit ewbankkit changed the title CodeBuild acceptance test failures -- ImportStateVerify attributes not equivalent CodeBuild acceptance test failures -- ImportStateVerify attributes not equivalent Jan 2, 2024
@ewbankkit ewbankkit added tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure. service/codebuild Issues and PRs that pertain to the codebuild service. labels Jan 2, 2024
ewbankkit added a commit that referenced this issue Jan 23, 2024
ewbankkit added a commit that referenced this issue Jan 23, 2024
@github-actions github-actions bot added this to the v5.34.0 milestone Jan 23, 2024
Copy link

This functionality has been released in v5.34.0 of the Terraform AWS Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading.

For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you!

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 Feb 26, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
service/codebuild Issues and PRs that pertain to the codebuild service. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant