-
Task
-
Resolution: Unresolved
-
Undefined
-
None
-
None
-
None
-
Quality / Stability / Reliability
-
False
-
-
False
-
None
-
None
-
None
-
None
-
None
Add [WC-BYOH] feature-level tag to BYOH tests to enable selective execution on platforms that support BYOH provisioning.
Background
Per review feedback from @Phaow on PR #29149, BYOH should use a feature-level tag (like [AWS-EBS-CSI]) instead of a framework-level label.
Approach
Use [WC-BYOH] tag in test names instead of Byoh- prefix:
- WC = Windows Containers (subteam)
- BYOH = Bring Your Own Host (feature)
This follows existing patterns like [AWS-EBS-CSI], [Azure-Disk-CSI-Driver], [VOLUME-TYPES].
Implementation
File: test/extended/winc/winc.go
Add [WC-BYOH] tag to 5 BYOH test names:
FROM: g.It("Author:rrasouli-Byoh-NonPreRelease-Longduration-Critical-42496-Configure Windows instance with DNS [Slow] [Disruptive]", func() { TO: g.It("Author:rrasouli-NonPreRelease-Longduration-Critical-42496-Configure Windows instance with DNS [WC-BYOH] [Slow] [Disruptive]", func() {
Tests Updated
- OCP-42496: Configure Windows instance with DNS
- OCP-42484: Configure Windows instance with IP
- OCP-42516: Configure Windows instance with IP and DNS
- OCP-44099: Secure Windows workers username annotation
- OCP-82694: Verify containerd path removal
File: pipeline/handleresult.py
NO CHANGES NEEDED - Feature tags work with standard Ginkgo label filters, no framework registration required.
Test Filtering
Local Testing
# Run only WC-BYOH tests TEST_SCENARIOS='\[WC-BYOH\]' ./bin/extended-platform-tests run all h1. Verify tests are detected ./bin/extended-platform-tests run all --dry-run | grep "WC-BYOH"
CI Configuration
# vSphere IPI (supports BYOH)
TEST_SCENARIOS: 'Windows_Containers|\[WC-BYOH\]'
TEST_FILTERS: ~ChkUpgrade&;~ConnectedOnly&;Smokerun&
h1. AWS IPI (no BYOH support)
TEST_SCENARIOS: Windows_Containers
TEST_FILTERS: ~ChkUpgrade&;~ConnectedOnly&;Smokerun&
Platform Support
WC-BYOH tests run ONLY on platforms with BYOH provisioning:
- vSphere IPI
- Azure IPI
Tests auto-skip on unsupported platforms (AWS UPI, etc.).
Acceptance Criteria
- [WC-BYOH] tag added to all 5 BYOH tests
- Tests detected with TEST_SCENARIOS='[WC-BYOH]'
- No changes to pipeline/handleresult.py
- Build succeeds
- PR #29149 merged
- relates to
-
WINC-1654 Add [WC-BYOH] feature tag to identify BYOH-specific tests
-
- To Do
-
- links to