-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
bumping enforce on key configs for google_compute_security_policy
to GA
#12318
bumping enforce on key configs for google_compute_security_policy
to GA
#12318
Conversation
Hello! I am a robot. Tests will require approval from a repository maintainer to run. @shuyama1, 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. |
Hi there, I'm the Modular magician. I've detected the following information about your changes: Diff reportYour PR generated some diffs in downstreams - here they are.
|
Tests analyticsTotal tests: 1060 Click here to see the affected service packages
🔴 Tests were added that are GA-only additions and require manual runs:
Action takenFound 1 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
|
mmv1/third_party/terraform/services/compute/resource_compute_security_policy.go.tmpl
Show resolved
Hide resolved
…licy-issue sync merge from upstream/main
Hello @shuyama1, could you run test on GA please? |
Hi there, I'm the Modular magician. I've detected the following information about your changes: Diff reportYour PR generated some diffs in downstreams - here they are.
|
Tests analyticsTotal tests: 1064 Click here to see the affected service packages
🔴 Tests were added that are GA-only additions and require manual runs:
Action takenFound 1 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
|
🔴 Tests failed during RECORDING mode: 🔴 Errors occurred during RECORDING mode. Please fix them to complete your PR. |
Triggered GA tests on TC |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One of the GA test TestAccComputeSecurityPolicy_EnforceOnKeyUpdates
failed due to
=== CONT TestAccComputeSecurityPolicy_EnforceOnKeyUpdates
resource_compute_security_policy_test.go:474: Step 7/12 error: Error running apply: exit status 1
Error: Error updating SecurityPolicy "tf-test-geowgj4z7j": googleapi: Error 400: Invalid value for field 'resource.rateLimitOptions.enforceOnKeyConfigs': ''. Only one of enforceOnKey and enforceOnKeyConfigs can be specified., invalid
with google_compute_security_policy.policy,
on terraform_plugin_test.tf line 2, in resource "google_compute_security_policy" "policy":
2: resource "google_compute_security_policy" "policy" {
--- FAIL: TestAccComputeSecurityPolicy_EnforceOnKeyUpdates (71.93s)
I just checked our nightly integration test and it seems the test passes consistently in beta for the past three months. So I'm not sure why it's failing in GA. Triggering another run on TC to see if it fails again.
Also, you'll want to remove the beta flag in the documentation at https://github.com/GoogleCloudPlatform/magic-modules/blob/main/mmv1/third_party/terraform/website/docs/r/compute_security_policy.html.markdown?plain=1#L361
Test status update: |
…licy-issue sync merge from upstream/main
…licy-issue sync merge from upstream/main
Hello @shuyama1, sry for the late reply. I found there was an additional conditional at the update func who was changing the behaviour between GA and Beta. All tests should be fine now. Could you give it a check and rerun tests once more please? |
Hi there, I'm the Modular magician. I've detected the following information about your changes: Diff reportYour PR generated some diffs in downstreams - here they are.
|
Tests analyticsTotal tests: 1071 Click here to see the affected service packages
🔴 Tests were added that are GA-only additions and require manual runs:
View the build log |
Running GA tests on TC |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
GA tests passed. LGTM. Thank you!
Fixes : hashicorp/terraform-provider-google#14738
Release Note Template for Downstream PRs (will be copied)
See Write release notes for guidance.