-
Bug
-
Resolution: Won't Do
-
Undefined
-
None
-
4.21
-
None
-
False
-
-
None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Problem
The test "[sig-cluster-lifecycle] ClusterOperators are available and not degraded after upgrade" does not produce a result if an earlier upgrade test fails, such as "[sig-arch][Feature:ClusterUpgrade] Cluster should remain functional during upgrade [Disruptive] [Serial]".
Root Cause
The ClusterOperators test was defined as a deferred function inside the clusterUpgrade() function in test/e2e/upgrade/upgrade.go. This meant the test would not run if the parent test "Cluster should remain functional during upgrade" failed before calling clusterUpgrade() (e.g., during config loading or upgrade context setup).
Impact
When upgrade tests fail early, the ClusterOperators test never runs and produces no result, making it harder to diagnose cluster state after failed upgrades.
Fix
Move the deferred ClusterOperators test to the parent test scope so it always runs and produces a result, even when earlier tests fail.
Related PR
Fix committed in: https://github.com/openshift/origin/commit/d3ff09db8d