Fix ContainerNodePool windowsnodeconfig fixture and align MockGCP - #13609
ada-coder-bot wants to merge 1 commit into
Conversation
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
🤖 AI Factory started investigating CI check failures for this pull request. Note: We recommend waiting for the 'ready-for-human' label before leaving review comments. Comments added while the system is actively working may be associated with outdated commits once a new commit is pushed, causing them to be ignored. |
Fixes the invalid osVersion enum value in the windowsnodeconfig test fixture (changed from OS_2022 to OS_VERSION_LTSC2022) and enables IP aliasing on the parent ContainerCluster dependency. Removes the hacky OS_2022/OS_2019 string replacements in mockcontainer, ensures EffectiveCgroupMode is not populated for Windows node pools, normalizes GKE instance group manager names consistently, re-records golden GCP logs against real GCP, and re-enables golden log alignment testing for the fixture. Fix: GoogleCloudPlatform#13420
816bc15 to
781a1ce
Compare
Investigating tests-e2e-fixtures-container-1-of-2 failureRun: 36938264000 (https://github.com/GoogleCloudPlatform/k8s-config-connector/actions/runs/36938264000/job/110624661580) Investigating tests-e2e-fixtures-container-2-of-2 failureRun: 36938264000 (https://github.com/GoogleCloudPlatform/k8s-config-connector/actions/runs/36938264000/job/110624661579) Investigating tests-e2e-fixtures-gkebackup failureRun: 36938264000 (https://github.com/GoogleCloudPlatform/k8s-config-connector/actions/runs/36938264000/job/110624671980) (This report was generated by overseer) |
|
🤖 AI Factory started investigating CI check failures for this pull request. Note: We recommend waiting for the 'ready-for-human' label before leaving review comments. Comments added while the system is actively working may be associated with outdated commits once a new commit is pushed, causing them to be ignored. |
Investigating tests-e2e-fixtures-compute-1-of-4 failureRun: 36975462629 (https://github.com/GoogleCloudPlatform/k8s-config-connector/actions/runs/36975462629/job/110739348842) Investigating tests-e2e-fixtures-compute-3-of-4 failureRun: 36975462629 (https://github.com/GoogleCloudPlatform/k8s-config-connector/actions/runs/36975462629/job/110739348761) Investigating tests-e2e-fixtures-certificatemanager failureRun: 36975462629 (https://github.com/GoogleCloudPlatform/k8s-config-connector/actions/runs/36975462629/job/110739349168) (This report was generated by overseer) |
Overview
This PR resolves issue #13420 by fixing the invalid
osVersionenum value in thecontainernodepool-windowsnodeconfigtest fixture, updating the cluster dependency to enable IP aliasing (required for Windows node pools), aligningmockgcp/mockcontainer, and re-recording golden HTTP logs against real GCP.Root Cause & Changes
create.yaml:osVersion: OS_2022to the valid protobuf enumosVersion: OS_VERSION_LTSC2022.ipAllocationPolicy: {}independencies.yamlto ensure VPC-native cluster configuration (IP aliasing), which is required for Windows node pools.dependencies.yaml.OS_2022<->OS_VERSION_LTSC2022andOS_2019<->OS_VERSION_LTSC2019) frommockgcp/mockcontainer/service.go.EffectiveCgroupModeon Windows nodes inmockgcp/mockcontainer/nodepool.go(Windows nodes do not use Linux cgroups).normalizeGKEInstanceGroupNamesregex inmockgcp/mockcontainer/normalize.goto match anygke-*-grpIGM name format consistently across real GCP and mock logs../hack/record-gcp."container/v1beta1/containernodepool/containernodepool-windowsnodeconfig": truefrommockGCPSkipFixturesinpkg/test/resourcefixture/golden_alignment_test.go.TestGoldenLogAlignmentandTestAllInSeries/fixtures/containernodepool-windowsnodeconfigpass cleanly against MockGCP.Fixes #13420
This PR was generated by the overseer agent (powered by the gemini-3.7-flash model).