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

Remove unsupported Windows→Linux ClusterIP connectivity checks from test OCP-39451

XMLWordPrintable

    • None
    • None
    • WINC - Sprint 283

      Background

      Test OCP-39451 "Access Windows workload through clusterIP" consistently fails when attempting to verify Windows pod → Linux ClusterIP connectivity. Investigation reveals this is testing unsupported functionality rather than a genuine product defect.

      Root Cause Analysis

      1. Product Limitation: According to OCPBUGS-33392, Windows pods accessing Linux service ClusterIPs is NOT supported in OpenShift Windows Containers. This was investigated and closed as "Not a Bug" on July 3, 2024.
      2. Test Code Issue: Test OCP-39451 contains checks that verify Windows→Linux ClusterIP connectivity (lines 592-598 in winc.go), which will always fail due to the product limitation.
      3. Previous Fix Attempt: Commit 66c5c0b90 (Jan 13, 2026) attempted to fix this test by replacing oc exec with oc debug, but the test still fails because the underlying connectivity is not supported.

      Current Behavior

      Test fails at test/extended/winc/winc.go:594 with:

      fail: Failed to curl Linux ClusterIP from Windows pod: <nil>
      Expected <bool>: false to be true
      

      Expected Behavior

      The test should only verify supported connectivity patterns:

      • ✅ Linux pod → Windows ClusterIP (supported and working)
      • ✅ Windows pod → Windows ClusterIP (supported)
      • ❌ Windows pod → Linux ClusterIP (NOT SUPPORTED - should not be tested)

      Proposed Solution

      Remove unsupported connectivity checks from test/extended/winc/winc.go:

      1. Remove lines 592-598 (Windows→Linux ClusterIP check after MachineSet scaling)
      2. Review and potentially remove lines 573-577 (second Windows pod connectivity check)
      3. Keep all Linux→Windows ClusterIP checks (these are supported)
      4. Add comment referencing OCPBUGS-33392 to prevent regression

      References

      • Parent Story: WINC-1552 (Fix flaky tests and platform-specific issues)
      • Product Issue: OCPBUGS-33392 (Closed as "Not a Bug")
      • Related Commits:
        • 66c5c0b90: Fix OCP-39451 using oc debug (Jan 13, 2026)
        • bc82ffc71: Zone parsing fix for master (Jan 25, 2026)

      Test Details

      • Test File: test/extended/winc/winc.go (lines 501-600)
      • Test ID: OCP-39451
      • Author: rrasouli@redhat.com
      • Tags: [sig-windows], Smokerun, Longduration, High, Slow, Disruptive

      Acceptance Criteria

      • Windows→Linux ClusterIP connectivity checks removed from test OCP-39451
      • Linux→Windows ClusterIP checks remain and pass consistently
      • Code comments added referencing OCPBUGS-33392
      • Test passes on all platforms (AWS, Azure, vSphere, GCP, Nutanix)
      • Test achieves 99%+ pass rate as per WINC-1552 objectives

              rhn-support-weinliu Weinan Liu
              rrasouli Aharon Rasouli
              None
              None
              None
              None
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: