From d02adeee1d73465bd4c7541253265c10e6b60857 Mon Sep 17 00:00:00 2001 From: Michael Pruitt Date: Wed, 5 Aug 2026 13:55:36 -0500 Subject: [PATCH] Add OCS_TEST_FILTER to exclude NooBaa timeout test on vSphere The nb_ensure_endpoint_count fixture consistently times out on vSphere 4.22 (7 consecutive failures since Jul 15). This adds an OCS_TEST_FILTER env var to the interop-tests-ocs-tests step and sets it in the vSphere config to skip the affected test. The test continues to run on AWS. Tracked by OCSQE-5148 for re-enablement when the upstream fix lands. Jira: INTEROP-9384 --- .../stolostron-policy-collection-main__ocp4.22.yaml | 1 + .../ocs-tests/interop-tests-ocs-tests-commands.sh | 2 +- .../interop-tests/ocs-tests/interop-tests-ocs-tests-ref.yaml | 3 +++ 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ci-operator/config/stolostron/policy-collection/stolostron-policy-collection-main__ocp4.22.yaml b/ci-operator/config/stolostron/policy-collection/stolostron-policy-collection-main__ocp4.22.yaml index d12d1ed059523..a6cf8d13e6fe1 100644 --- a/ci-operator/config/stolostron/policy-collection/stolostron-policy-collection-main__ocp4.22.yaml +++ b/ci-operator/config/stolostron/policy-collection/stolostron-policy-collection-main__ocp4.22.yaml @@ -160,6 +160,7 @@ tests: FIREWATCH_FAIL_WITH_TEST_FAILURES: "true" IGNORE_SECONDARY_POLICIES: "true" MAP_TESTS: "true" + OCS_TEST_FILTER: not test_bucket_creation_deletion ODF_VERSION_MAJOR_MINOR: "4.21" OPENSHIFT_REQUIRED_CORES: "72" OPENSHIFT_REQUIRED_MEMORY: "288" diff --git a/ci-operator/step-registry/interop-tests/ocs-tests/interop-tests-ocs-tests-commands.sh b/ci-operator/step-registry/interop-tests/ocs-tests/interop-tests-ocs-tests-commands.sh index 547fe331dc3d8..b7b3d7b383eec 100644 --- a/ci-operator/step-registry/interop-tests/ocs-tests/interop-tests-ocs-tests-commands.sh +++ b/ci-operator/step-registry/interop-tests/ocs-tests/interop-tests-ocs-tests-commands.sh @@ -118,7 +118,7 @@ fi START_TIME=$(date "+%s") -run-ci --color=yes -o cache_dir=/tmp tests/ -m 'acceptance and not ui' -k '' \ +run-ci --color=yes -o cache_dir=/tmp tests/ -m 'acceptance and not ui' -k "${OCS_TEST_FILTER}" \ --ocsci-conf "${LOGS_CONFIG}" \ --collect-logs \ --ocs-version "${OCS_VERSION}" \ diff --git a/ci-operator/step-registry/interop-tests/ocs-tests/interop-tests-ocs-tests-ref.yaml b/ci-operator/step-registry/interop-tests/ocs-tests/interop-tests-ocs-tests-ref.yaml index 2a790a5d40ebe..b18d72b759066 100644 --- a/ci-operator/step-registry/interop-tests/ocs-tests/interop-tests-ocs-tests-ref.yaml +++ b/ci-operator/step-registry/interop-tests/ocs-tests/interop-tests-ocs-tests-ref.yaml @@ -20,6 +20,9 @@ ref: - name: DR__RP__CR_COMP_NAME default: "lp-ocp-compat--ODF" documentation: If test mapping is applied, differentiate between the CNV and ODF jobs + - name: OCS_TEST_FILTER + default: "" + documentation: Pytest -k filter expression to exclude tests (e.g. 'not test_bucket_creation_deletion') - name: DISABLE_ENVIRONMENT_CHECKER default: "false" documentation: If true, skip the OCS environment checker during teardown