OCPBUGS-86299: e2e/ccm-aws-ote: support to dual-stack IPv6 primary #466
All Vouch review confidence checks passed
Residual risk 0.16 = Change Risk (0.39) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.39 · 268 lines diff across 3 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.335
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #466"
general
weight: 0.35
sadasu
Summary
Upstream
cloud-provider-awsload balancer tests do not support dual-stack clusters — they create single-stack NLB services that fail when the cluster network requires dual-stack IPFamilyPolicy. This PR detects dual-stack configuration from the CCM cloud-config and adapts the test suite accordingly.Changes
NodeIPFamilieskey from the cloud-config ConfigMap. When the cluster is dual-stack with IPv6 as primary family, upstream[cloud-provider-aws-e2e] loadbalancertests are excluded from the spec selector since upstream does not support this configuration yet. IPv4-primary dual-stack and single-stack clusters continue to run the full upstream test suite.createServiceNLBhelper now setsIPFamilyPolicy=RequireDualStackon NLB services when dual-stack is detected, so theAWSServiceLBNetworkSecurityGrouptests create services matching the cluster's network configuration.commonpackage:-
GetCloudConfig()retrieves the CCM cloud-config ConfigMap (supports being called frommain.gooutside Ginkgo context).-
IsConfigPresentCloudConfig()parses INI-style key=value entries from cloud-config data, with comma-delimited multi-value support.-
IsNLBSecurityGroupModeManaged()replaces inline regex checks for the NLB managed SG mode.-
IsDualStack()returns(isDualStack, primaryIPv6, error)by parsingNodeIPFamilies.-
GetOcClient()/GetKubeClient()extracted fromIsFeatureEnabled()for reuse.Test plan
list-testsshould not contain[cloud-provider-aws-e2e] loadbalancerentries)AWSServiceLBNetworkSecurityGrouptests create dual-stack NLB services on dual-stack clusters🤖 Generated with Claude Code