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

Updated typos #12278

Merged
merged 2 commits into from
Dec 3, 2024
Merged

Updated typos #12278

merged 2 commits into from
Dec 3, 2024

Conversation

wyardley
Copy link
Contributor

@wyardley wyardley commented Nov 7, 2024

Can break these up differently if desired. These resolve downstream golangci-lint misspelling warnings.
Almost all the changes are in docs or function naming only. There are one or two actual fixes (I think) of real enum values, in particular the one in mmv1/products/gkehub2/Feature.yaml (I added a release note for this one, since that's actually fixing something).

Release Note Template for Downstream PRs (will be copied)

See Write release notes for guidance.

gkehub: fixed allowable value `INSTALLATION_UNSPECIFIED` in `template_library.installation`

Copy link

github-actions bot commented Nov 7, 2024

Hello! I am a robot. Tests will require approval from a repository maintainer to run.

@BBBmau, a repository maintainer, has been assigned to review your changes. If you have not received review feedback within 2 business days, please leave a comment on this PR asking them to take a look.

You can help make sure that review is quick by doing a self-review and by running impacted tests locally.

@github-actions github-actions bot requested a review from BBBmau November 7, 2024 23:56
@modular-magician modular-magician added the awaiting-approval Pull requests that needs reviewer's approval to run presubmit tests label Nov 7, 2024
Copy link

@BBBmau This PR has been waiting for review for 3 weekdays. Please take a look! Use the label disable-review-reminders to disable these notifications.

@modular-magician modular-magician added service/terraform and removed awaiting-approval Pull requests that needs reviewer's approval to run presubmit tests labels Nov 12, 2024
@modular-magician
Copy link
Collaborator

Hi there, I'm the Modular magician. I've detected the following information about your changes:

Diff report

Your PR generated some diffs in downstreams - here they are.

google provider: Diff ( 51 files changed, 109 insertions(+), 109 deletions(-))
google-beta provider: Diff ( 51 files changed, 109 insertions(+), 109 deletions(-))
terraform-google-conversion: Diff ( 3 files changed, 6 insertions(+), 6 deletions(-))

Missing test report

Your PR includes resource fields which are not covered by any test.

Resource: google_privateca_certificate_authority (34 total tests)
Please add an acceptance test which includes these fields. The test should include the following:

resource "google_privateca_certificate_authority" "primary" {
  config {
    subject_key_id {
      key_id = # value needed
    }
  }
}

@modular-magician
Copy link
Collaborator

Tests analytics

Total tests: 4289
Passed tests: 3876
Skipped tests: 410
Affected tests: 3

Click here to see the affected service packages

All service packages are affected

Action taken

Found 3 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
  • TestAccBackupDRBackupPlan_backupDrBackupPlanSimpleExample
  • TestAccContainerCluster_withFleetConfig
  • TestAccStorageBucket_AutoclassDiffSuppress

Get to know how VCR tests work

@modular-magician
Copy link
Collaborator

🟢 Tests passed during RECORDING mode:
TestAccStorageBucket_AutoclassDiffSuppress [Debug log]

🟢 No issues found for passed tests after REPLAYING rerun.


🔴 Tests failed during RECORDING mode:
TestAccBackupDRBackupPlan_backupDrBackupPlanSimpleExample [Error message] [Debug log]
TestAccContainerCluster_withFleetConfig [Error message] [Debug log]

🔴 Errors occurred during RECORDING mode. Please fix them to complete your PR.

View the build log or the debug log for each test

@wyardley
Copy link
Contributor Author

wyardley commented Nov 12, 2024

Second failure seems to be unrelated, tracked in hashicorp/terraform-provider-google#20253. I don't think TestAccBackupDRBackupPlan_backupDrBackupPlanSimpleExample is related to anything changed here?

@wyardley
Copy link
Contributor Author

TestAccBackupDRBackupPlan_backupDrBackupPlanSimpleExample (beta only, I think) seems to work for me locally with or without these changes.

@wyardley
Copy link
Contributor Author

@BBBmau would you mind running the tests over again? Hopefully #12307 helps with the fleet one, and maybe the other one is flaky, unless you're seeing anything unusual in the failure log for that one? Seems to work for me locally with these changes in both recording and replaying mode.

@BBBmau
Copy link
Collaborator

BBBmau commented Nov 13, 2024

/gcbrun

@modular-magician modular-magician added awaiting-approval Pull requests that needs reviewer's approval to run presubmit tests and removed awaiting-approval Pull requests that needs reviewer's approval to run presubmit tests labels Nov 13, 2024
@modular-magician
Copy link
Collaborator

Hi there, I'm the Modular magician. I've detected the following information about your changes:

Diff report

Your PR generated some diffs in downstreams - here they are.

google provider: Diff ( 51 files changed, 109 insertions(+), 109 deletions(-))
google-beta provider: Diff ( 51 files changed, 109 insertions(+), 109 deletions(-))
terraform-google-conversion: Diff ( 3 files changed, 6 insertions(+), 6 deletions(-))

Missing test report

Your PR includes resource fields which are not covered by any test.

Resource: google_privateca_certificate_authority (34 total tests)
Please add an acceptance test which includes these fields. The test should include the following:

resource "google_privateca_certificate_authority" "primary" {
  config {
    subject_key_id {
      key_id = # value needed
    }
  }
}

@modular-magician
Copy link
Collaborator

Tests analytics

Total tests: 4292
Passed tests: 3879
Skipped tests: 410
Affected tests: 3

Click here to see the affected service packages

All service packages are affected

Action taken

Found 3 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
  • TestAccBackupDRBackupPlan_backupDrBackupPlanSimpleExample
  • TestAccBackupDRBackupVault_fullUpdate
  • TestAccComputeRegionPerInstanceConfig_removeInstanceOnDestroy

Get to know how VCR tests work

@modular-magician
Copy link
Collaborator

🟢 Tests passed during RECORDING mode:
TestAccBackupDRBackupVault_fullUpdate [Debug log]
TestAccComputeRegionPerInstanceConfig_removeInstanceOnDestroy [Debug log]

🟢 No issues found for passed tests after REPLAYING rerun.


🔴 Tests failed during RECORDING mode:
TestAccBackupDRBackupPlan_backupDrBackupPlanSimpleExample [Error message] [Debug log]

🔴 Errors occurred during RECORDING mode. Please fix them to complete your PR.

View the build log or the debug log for each test

Copy link

@GoogleCloudPlatform/terraform-team @BBBmau This PR has been waiting for review for 1 week. Please take a look! Use the label disable-review-reminders to disable these notifications.

@wyardley
Copy link
Contributor Author

@BBBmau can you share the error from the CI run of TestAccBackupDRBackupPlan_backupDrBackupPlanSimpleExample, and do you think it's related?

Tried a few more times locally in recording and replaying mode (with the changes from this PR, including building for all products vs. just backupdr) and still can't reproduce the failure.

Copy link

@GoogleCloudPlatform/terraform-team @BBBmau This PR has been waiting for review for 2 weeks. Please take a look! Use the label disable-review-reminders to disable these notifications.

Copy link

@GoogleCloudPlatform/terraform-team @BBBmau This PR has been waiting for review for 3 weeks. Please take a look! Use the label disable-review-reminders to disable these notifications.

@wyardley
Copy link
Contributor Author

wyardley commented Dec 2, 2024

@BBBmau I rebased it, and also added one more tiny fix (in a separate commit) that I noticed elsewhere.

@modular-magician modular-magician added awaiting-approval Pull requests that needs reviewer's approval to run presubmit tests and removed awaiting-approval Pull requests that needs reviewer's approval to run presubmit tests labels Dec 2, 2024
@modular-magician
Copy link
Collaborator

Hi there, I'm the Modular magician. I've detected the following information about your changes:

Diff report

Your PR generated some diffs in downstreams - here they are.

google provider: Diff ( 51 files changed, 109 insertions(+), 109 deletions(-))
google-beta provider: Diff ( 51 files changed, 109 insertions(+), 109 deletions(-))
terraform-google-conversion: Diff ( 3 files changed, 6 insertions(+), 6 deletions(-))

Missing test report

Your PR includes resource fields which are not covered by any test.

Resource: google_privateca_certificate_authority (34 total tests)
Please add an acceptance test which includes these fields. The test should include the following:

resource "google_privateca_certificate_authority" "primary" {
  config {
    subject_key_id {
      key_id = # value needed
    }
  }
}

@modular-magician
Copy link
Collaborator

Tests analytics

Total tests: 4326
Passed tests: 3912
Skipped tests: 405
Affected tests: 9

Click here to see the affected service packages

All service packages are affected

Action taken

Found 9 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
  • TestAccDataSourceGoogleQuotaInfo_basic
  • TestAccOracleDatabaseAutonomousDatabase_basic
  • TestAccOracleDatabaseAutonomousDatabases_basic
  • TestAccOracleDatabaseCloudExadataInfrastructure_basic
  • TestAccOracleDatabaseCloudExadataInfrastructures_basic
  • TestAccOracleDatabaseCloudVmCluster_basic
  • TestAccOracleDatabaseDbNodes_basic
  • TestAccOracleDatabaseDbServers_basic
  • TestAccSecureSourceManagerInstance_secureSourceManagerInstancePrivatePscBackendExample

Get to know how VCR tests work

@modular-magician
Copy link
Collaborator

🔴 Tests failed during RECORDING mode:
TestAccDataSourceGoogleQuotaInfo_basic [Error message] [Debug log]
TestAccOracleDatabaseAutonomousDatabase_basic [Error message] [Debug log]
TestAccOracleDatabaseAutonomousDatabases_basic [Error message] [Debug log]
TestAccOracleDatabaseCloudExadataInfrastructure_basic [Error message] [Debug log]
TestAccOracleDatabaseCloudExadataInfrastructures_basic [Error message] [Debug log]
TestAccOracleDatabaseCloudVmCluster_basic [Error message] [Debug log]
TestAccOracleDatabaseDbNodes_basic [Error message] [Debug log]
TestAccOracleDatabaseDbServers_basic [Error message] [Debug log]
TestAccSecureSourceManagerInstance_secureSourceManagerInstancePrivatePscBackendExample [Error message] [Debug log]

🔴 Errors occurred during RECORDING mode. Please fix them to complete your PR.

View the build log or the debug log for each test

@BBBmau
Copy link
Collaborator

BBBmau commented Dec 2, 2024

can you rebase once more? We look to be getting some conflicts

@wyardley
Copy link
Contributor Author

wyardley commented Dec 2, 2024

@BBBmau Rebased. Looks like just mmv1/third_party/terraform/fwprovider/framework_validators_test.go being removed upstream.

@modular-magician modular-magician added awaiting-approval Pull requests that needs reviewer's approval to run presubmit tests and removed awaiting-approval Pull requests that needs reviewer's approval to run presubmit tests labels Dec 2, 2024
@modular-magician
Copy link
Collaborator

Hi there, I'm the Modular magician. I've detected the following information about your changes:

Diff report

Your PR generated some diffs in downstreams - here they are.

google provider: Diff ( 50 files changed, 108 insertions(+), 108 deletions(-))
google-beta provider: Diff ( 50 files changed, 108 insertions(+), 108 deletions(-))
terraform-google-conversion: Diff ( 3 files changed, 6 insertions(+), 6 deletions(-))

Missing test report

Your PR includes resource fields which are not covered by any test.

Resource: google_privateca_certificate_authority (34 total tests)
Please add an acceptance test which includes these fields. The test should include the following:

resource "google_privateca_certificate_authority" "primary" {
  config {
    subject_key_id {
      key_id = # value needed
    }
  }
}

@modular-magician
Copy link
Collaborator

Tests analytics

Total tests: 4338
Passed tests: 3918
Skipped tests: 405
Affected tests: 15

Click here to see the affected service packages

All service packages are affected

Action taken

Found 15 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
  • TestAccDataSourceGoogleQuotaInfo_basic
  • TestAccEphemeralServiceAccountIdToken_basic
  • TestAccEphemeralServiceAccountIdToken_withDelegates
  • TestAccEphemeralServiceAccountIdToken_withEmptyDelegates
  • TestAccEphemeralServiceAccountIdToken_withIncludeEmail
  • TestAccEphemeralServiceAccountJwt_basic
  • TestAccEphemeralServiceAccountJwt_withDelegates
  • TestAccEphemeralServiceAccountJwt_withExpiresIn
  • TestAccEphemeralServiceAccountKey_basic
  • TestAccEphemeralServiceAccountToken_basic
  • TestAccEphemeralServiceAccountToken_withCustomLifetime
  • TestAccEphemeralServiceAccountToken_withDelegates
  • TestAccOracleDatabaseCloudExadataInfrastructure_basic
  • TestAccOracleDatabaseDbServers_basic
  • TestAccSecureSourceManagerInstance_secureSourceManagerInstancePrivatePscBackendExample

Get to know how VCR tests work

@modular-magician
Copy link
Collaborator

🔴 Tests failed during RECORDING mode:
TestAccDataSourceGoogleQuotaInfo_basic [Error message] [Debug log]
TestAccEphemeralServiceAccountIdToken_basic [Error message] [Debug log]
TestAccEphemeralServiceAccountIdToken_withDelegates [Error message] [Debug log]
TestAccEphemeralServiceAccountIdToken_withEmptyDelegates [Error message] [Debug log]
TestAccEphemeralServiceAccountIdToken_withIncludeEmail [Error message] [Debug log]
TestAccEphemeralServiceAccountJwt_basic [Error message] [Debug log]
TestAccEphemeralServiceAccountJwt_withDelegates [Error message] [Debug log]
TestAccEphemeralServiceAccountJwt_withExpiresIn [Error message] [Debug log]
TestAccEphemeralServiceAccountKey_basic [Error message] [Debug log]
TestAccEphemeralServiceAccountToken_basic [Error message] [Debug log]
TestAccEphemeralServiceAccountToken_withCustomLifetime [Error message] [Debug log]
TestAccEphemeralServiceAccountToken_withDelegates [Error message] [Debug log]
TestAccOracleDatabaseCloudExadataInfrastructure_basic [Error message] [Debug log]
TestAccOracleDatabaseDbServers_basic [Error message] [Debug log]
TestAccSecureSourceManagerInstance_secureSourceManagerInstancePrivatePscBackendExample [Error message] [Debug log]

🔴 Errors occurred during RECORDING mode. Please fix them to complete your PR.

View the build log or the debug log for each test

Copy link
Collaborator

@BBBmau BBBmau left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tests can be ignored. Thanks for this!

@BBBmau BBBmau merged commit 632a9bc into GoogleCloudPlatform:main Dec 3, 2024
21 of 22 checks passed
amanMahendroo pushed a commit to amanMahendroo/magic-modules that referenced this pull request Dec 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants