CNTRLPLANE-3222: exclude lifecycle-labeled tests from general v2 e2e jobs#79574
Conversation
|
@bryan-cox: This pull request references CNTRLPLANE-3222 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 task 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. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository YAML (base), Central YAML (inherited) Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (1)
WalkthroughThe Hypershift E2E v2 CI test invocation now passes a Ginkgo label filter to exclude tests labelled ChangesHyperShift E2E Test Label Filtering
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Suggested labels
Suggested reviewers
🚥 Pre-merge checks | ✅ 12✅ Passed checks (12 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
Add --ginkgo.label-filter to the hypershift-e2e-v2 chain to exclude etcd-chaos, nodepool-lifecycle, nodepool-autoscaling, and control-plane-upgrade tests. These are long-running lifecycle tests that require dedicated HA clusters and longer timeouts. They have their own dedicated CI job (e2e-azure-v2-self-managed). Without this filter, the e2e-v2-aws and e2e-v2-gke jobs run all 716 specs, causing etcd chaos tests to fail on single-replica clusters and lifecycle tests to exceed the 30-minute job timeout. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
615b533 to
08109c4
Compare
|
[REHEARSALNOTIFIER]
Interacting with pj-rehearseComment: Once you are satisfied with the results of the rehearsals, comment: |
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: bryan-cox, cblecker The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/pj-rehearse pull-ci-openshift-hypershift-main-e2e-v2-gke |
|
@bryan-cox: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel. |
|
/pj-rehearse ack |
|
@bryan-cox: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel. |
|
@bryan-cox: all tests passed! 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. |
Summary
--ginkgo.label-filter='!lifecycle'to thehypershift-e2e-v2chain to exclude all lifecycle tests from general v2 jobslifecyclelabel instead of enumerating each test group individually — new lifecycle tests in the hypershift repo just needLabel("lifecycle", "specific-label")and this filter covers them automaticallye2e-azure-v2-self-managed)Without this filter, the
e2e-v2-awsande2e-v2-gkejobs run all v2 specs, causing:Merge ordering
This PR should merge before hypershift PR #8527, which adds
Label("lifecycle", ...)to the test Describes. The!lifecyclefilter is a no-op until those labels exist, so merging first is safe.Test plan
!lifecyclefilter syntax is valid Ginkgo label-filter/pj-rehearse pull-ci-openshift-hypershift-main-e2e-v2-aws/pj-rehearse pull-ci-openshift-hypershift-main-e2e-v2-gke🤖 Generated with Claude Code
Summary by CodeRabbit
This PR updates the OpenShift CI configuration in the openshift/release repository for the HyperShift E2E v2 CI step to exclude long-running lifecycle tests from the general e2e-v2 jobs. Concretely, the hypershift-e2e-v2 chain step is changed to pass a Ginkgo label filter that excludes tests with the labels: etcd-chaos, nodepool-lifecycle, nodepool-autoscaling, and control-plane-upgrade.
Practical effect:
Scope: CI configuration (ci-operator step registry) for HyperShift E2E v2 in the openshift/release repository.