fix(e2e): TEST_VIRT excludes kdm specs, enable split-job e2e (issue #2413 option B) - #2423
fix(e2e): TEST_VIRT excludes kdm specs, enable split-job e2e (issue #2413 option B)#2423kaovilai wants to merge 2 commits into
Conversation
TEST_VIRT=true now excludes kdm-labeled specs so the non-kdm CSI virt job and a new kdm-only job (TEST_VIRT_KDM=true) can run as separate parallel CI jobs, per option B of openshift#2413. TEST_VIRT_KDM=true takes precedence and still isolates kdm specs regardless of TEST_VIRT/TEST_VIRT_GA. Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository: openshift/coderabbit/.coderabbit.yaml Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (1)
Included review availability: Your plan provides up to 12 included reviews per hour; 11 remain after this review. WalkthroughThe Makefile adds tri-state handling for ChangesVirtualized E2E selection
Estimated code review effort: 2 (Simple) | ~10 minutes Merge Risk: ⚪ Minimal · up to This change separates kdm and non-kdm end-to-end test selection through Makefile filters; no actionable merge-blocking risk remains beyond normal checks and review. Suggested reviewers: 🚥 Pre-merge checks | ✅ 15✅ Passed checks (15 passed)
Full details: Title checkExplanation The title is concise and directly relates to the TEST_VIRT filtering change and issue Full details: Description checkExplanation The description provides the change summary, rationale, linked issue, test cases, and follow-up scope. It does not use the exact template headings, but it contains the required information and is mostly complete. Full details: Linked Issues checkExplanation The Makefile changes implement the filtering behavior required to support option B from issue Full details: Docstring CoverageExplanation No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0 files. (1 skipped: 1 unsupported.) Full details: Stable And Deterministic Test NamesExplanation PASS. The pull request changes only Full details: Test Structure And QualityExplanation PASS: The PR changes only Makefile test-filter logic. The diff from origin/oadp-dev contains no Ginkgo test files and no It, BeforeEach, AfterEach, Eventually, Consistently, or Expect changes. Therefore, this custom check introduces no test-structure, cleanup, timeout, assertion-message, or test-pattern failure. Full details: Microshift Test CompatibilityExplanation PASS — The pull request changes only Full details: Single Node Openshift (Sno) Test CompatibilityExplanation PASS: The complete pull-request diff changes only Full details: Topology-Aware Scheduling CompatibilityExplanation PASS: The pull request changes only Full details: Ote Binary Stdout ContractExplanation PASS: The PR changes only Full details: Ipv6 And Disconnected Network Test CompatibilityExplanation PASS — The pull request changes only Full details: No-Weak-CryptoExplanation PASS. The complete PR range changes only Makefile test-filter logic. Added lines define TEST_VIRT_KDM_ORIGIN and select virt/kdm labels. No changed line introduces MD5, SHA1, DES, RC4, 3DES, Blowfish, ECB mode, custom cryptography, or non-constant-time secret/token comparison. Full details: Container-PrivilegesExplanation PASS: The PR changes only Full details: No-Sensitive-Data-In-LogsExplanation PASS: The PR changes only Makefile test-selection logic and adds ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: kaovilai 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 |
|
/hold aligning pr to existing release to not break current configs. |
Use \$(origin) to tell "unset" from "explicitly false" so existing openshift/release jobs that don't set TEST_VIRT_KDM at all keep today's kdm coverage under TEST_VIRT=true (no regression), while a future split non-kdm job can opt out explicitly with TEST_VIRT_KDM=false. Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com>
|
/hold cancel Reworked to distinguish unset vs explicit Note Responses generated with Claude |
Summary
TEST_VIRT=truenow excludeskdm-labeled specs fromTEST_FILTERTEST_VIRT_KDM=truestill isolates kdm specs regardless ofTEST_VIRT/TEST_VIRT_GA, and takes precedenceThis enables option B from #2413: splitting
e2e-test-kubevirt-awsinto a non-kdm CSI job (TEST_VIRT=true) and a separate kdm-only job (TEST_VIRT_KDM=true), so each comfortably clears the 2h Prow step timeout instead of one job running both suites serially.Fixes #2413
Test plan
TEST_VIRT_KDM=false TEST_VIRT=true→ filter resolves to... && (virt) && (! kdm) && ...TEST_VIRT_KDM=true TEST_VIRT=false→ filter resolves to... && (kdm) && ...Note
Responses generated with Claude
Summary by CodeRabbit