Uploaded image for project: 'OpenShift Virtualization'
  1. OpenShift Virtualization
  2. CNV-72662

[Gating]Fix test_workload_components_selection_change_allowed_after_workloads: insufficient wait timeout

XMLWordPrintable

    • CNV I/U Operators Sprint 280
    • None

      Test

      Path: tests/install_upgrade_operators/node_component/test_deploy_cnv_on_subset_of_nodes_sanity.py:335
      Polarion: CNV-5235

      Issue

      Test fixture alter_np_configuration times out waiting for pods after HCO node placement update. The wait_for_pods_running() function uses 120-second timeout, insufficient for virt-api pod rolling update when rescheduling to different nodes.

      Evidence

      • ReportPortal AI: "Automation Bug" (69% confidence)
      • Pattern: 99.6% match with 3 previous failures
      • Must-gather: Cluster recovered in ~138 seconds (18s after test timeout)
      • Jenkins Build
      • ReportPortal

      Fix

      File: utilities/infra.py:339

              samples = TimeoutSampler(
                  wait_timeout=TIMEOUT_5MIN,  # was TIMEOUT_2MIN
                  sleep=TIMEOUT_5SEC,
                  func=get_pods,
                  ...
              )
              

      Impact

      • Frequency: Recurring (4+ occurrences)
      • Jobs affected: test-pytest-cnv-4.20-iuo-gating (TIER-2)
      • CI impact: False failures in gating tests

              rlobillo Ramón Lobillo
              rlobillo Ramón Lobillo
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: