CNTRLPLANE-3308: deps: bump k8s.io 0.34 → 0.35 and openshift/api#8286
CNTRLPLANE-3308: deps: bump k8s.io 0.34 → 0.35 and openshift/api#8286muraee wants to merge 7 commits intoopenshift:mainfrom
Conversation
|
Pipeline controller notification For optional jobs, comment This repository is configured in: LGTM mode |
|
Note Reviews pausedIt looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the Use the following commands to manage reviews:
Use the checkboxes below for quick actions:
📝 WalkthroughWalkthroughThe Makefile Important Pre-merge checks failedPlease resolve all errors before merging. Addressing warnings is optional. ❌ Failed checks (1 error)
✅ Passed checks (9 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
7c58b5f to
ce5d649
Compare
|
@muraee: This pull request references CNTRLPLANE-3308 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "5.0.0" version, but no target version was set. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
ce5d649 to
e9aafae
Compare
|
/test "ci/prow/security" |
|
/retest |
06ac34a to
6fa1d7d
Compare
b6ec5d4 to
d30af86
Compare
|
/test e2e-aws |
d30af86 to
d1642ae
Compare
|
/test e2e-aws |
1 similar comment
|
/test e2e-aws |
AI Test Failure AnalysisJob: Generated by hypershift-analyze-e2e-failure post-step using Claude claude-opus-4-6 |
c4e6318 to
bfb357f
Compare
|
/retest |
|
/test e2e-aws |
Bump github.com/openshift/api to 3c6b218b (openshift/api#2786) which adds the ObservedRevisionGeneration field to ClusterAPIStatus. The openshift/api bump requires k8s.io/* v0.35.1, which cascades into: - Bump openshift/client-go to a19e917 (compatible with new API) - Bump karpenter forks to versions built against k8s 0.35
Update vendor and generated files after k8s.io 0.34 → 0.35 and openshift/api bump
- Fix MustBaseEnvSet call signature change (removed bool param) - Fix ClusterImagePolicy moved from config/v1alpha1 to config/v1 - Fix NodeSelectorRequirementWithMinValues struct change in karpenter - Remove etcd/tests/v3 dependency to eliminate tablewriter v0.x/v1.x conflict (etcdctl uses v0.x API, karpenter requires v1.x) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Bumps cli-runtime, kube-aggregator, kube-scheduler, kubectl, and pod-security-admission from v0.34.2 to v0.35.1 to align with the core k8s.io modules already bumped in this branch. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
client-go 0.35 enables WatchListClient by default, causing informers to use sendInitialEvents=true in watch requests. The hosted cluster's API server may not support this feature, causing the reflector to retry indefinitely without falling back to LIST. Disable the feature by default for all components: - HyperShift operator: guard in main(), covers all subcommands - CPO binary: guard in main(), covers all subcommands (ignition-server, etcd-defrag, konnectivity, token-minter, kas-bootstrap, etc.) - HCCO: env var set in deployment manifest (always false) - karpenter-operator: env var set in deployment manifest - control-plane-pki-operator: guard in main() The HO propagates its KUBE_FEATURE_WatchListClient env var to the CPO deployment dynamically, so the value can be overridden at the HO level. Components with the env var set in their deployment manifest (HCCO, karpenter-operator) are not affected by the code guard, as it only sets the value when the env var is not already present. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The ARC runners share a persistent Go build cache. When go.mod bumps
the Go version (e.g. 1.25.3 → 1.25.7), stale cached objects compiled
with the old version cause "does not match go tool version" errors.
Include hashFiles('go.mod') in the cache key so the cache is
invalidated when the Go version or dependencies change. Also add
actions/setup-go to the test job to ensure the correct Go version
from go.mod is used instead of the runner's pre-installed version.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
bfb357f to
ad4f544
Compare
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1b444bd to
08add78
Compare
|
/lgtm |
|
/verified by e2e & ut |
|
@bryan-cox: This PR has been marked as verified by DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
Scheduling tests matching the |
|
@muraee: The following tests failed, say
Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
|
Now I have a complete picture. Let me produce the final report: Test Failure Analysis CompleteJob Information
Test Failure AnalysisErrorSummaryThe Root CauseThe test at Eventually(func() bool {
err := k8sClient.Get(ctx, key, &apiextensionsv1.CustomResourceDefinition{})
return apierrors.IsNotFound(err)
}, "30s", "1s").Should(BeTrue(), fmt.Sprintf("CRD %s should be fully removed", crd.Name))After Why the PR worsens the flake rate (~4x increase):
Why it's non-deterministic: The CRD that times out varies across runs ( Recommendations
Evidence
|
Summary
k8s.io/*from v0.34.3 to v0.35.1github.com/openshift/apito 3c6b218b (openshift/api#2786) to pick up theObservedRevisionGenerationfield onClusterAPIStatusgithub.com/openshift/client-goto a19e917 (compatible with new API)Code fixes for API changes
MustBaseEnvSet: removedboolparam in k8s 0.35 (support/validations/authentication.go,control-plane-operator/.../auth.go)ClusterImagePolicymoved fromconfig/v1alpha1toconfig/v1(hypershift-operator/controllers/nodepool/config.go)NodeSelectorRequirementWithMinValuesno longer embedscorev1.NodeSelectorRequirement(test/e2e/karpenter_test.go)etcd/tests/v3dependency to eliminateolekukonko/tablewriterv0.x/v1.x conflict (etcdctl uses v0.x API, karpenter requires v1.x)Why
The k8s 0.35 bump is required by the latest
openshift/apiwhich adds theObservedRevisionGenerationfield. This field is needed by PR #7996 to properly wait for the Cluster CAPI Operator to acknowledge unmanaged CRDs duringhypershift install.Test plan
make buildpassesmake testpasses (all unit tests)go vetpassesmake updatesucceeds🤖 Generated with Claude Code
Summary by CodeRabbit