Uploaded image for project: 'OpenShift Windows Containers'
  1. OpenShift Windows Containers
  2. WINC-1655

Add [WC-BYOH] feature tag to identify BYOH-specific tests

XMLWordPrintable

    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • False
    • 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

      1. OCP-42496: Configure Windows instance with DNS
      2. OCP-42484: Configure Windows instance with IP
      3. OCP-42516: Configure Windows instance with IP and DNS
      4. OCP-44099: Secure Windows workers username annotation
      5. 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

              Unassigned Unassigned
              rrasouli Aharon Rasouli
              None
              None
              None
              None
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: