Skip to content

Commit b319118

Browse files
committed
pkg/monitortests/clusterversionoperator: Add an exception for console going Available=False on reason=RouteHealth_FailedGet and such
It would be great if the console operator addressed this issue, but: * We do not want to block pull requests from landing, or releases from being accepted, until they adjust their operator. This behavior is likely longstanding, and we want to give folks time to gradually tighten operator logic without needing to rush. * Even once the console folks adjust their operator, this test suite will be used for test-cases that touch older releases (e.g. update and rollback jobs), and the test case doesn't yet allow for distinctions like "the console operator at the time of the Available=False condition predates the bugfix landing, so that should still fall under the earlier exception".
1 parent 5573b55 commit b319118

File tree

1 file changed

+4
-0
lines changed
  • pkg/monitortests/clusterversionoperator/legacycvomonitortests

1 file changed

+4
-0
lines changed

pkg/monitortests/clusterversionoperator/legacycvomonitortests/operators.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,10 @@ func testUpgradeOperatorStateTransitions(events monitorapi.Intervals) []*junitap
5959
if condition.Type == configv1.OperatorAvailable && condition.Status == configv1.ConditionFalse && (condition.Reason == "APIServices_Error" || condition.Reason == "OAuthServerServiceEndpointAccessibleController_EndpointUnavailable" || condition.Reason == "APIServices_PreconditionNotReady" || condition.Reason == "OAuthServerRouteEndpointAccessibleController_EndpointUnavailable" || condition.Reason == "WellKnown_NotReady") {
6060
return "https://issues.redhat.com/browse/OCPBUGS-20056", nil
6161
}
62+
case "console":
63+
if condition.Type == configv1.OperatorAvailable && condition.Status == configv1.ConditionFalse && (condition.Reason == "RouteHealth_FailedGet" || condition.Reason == "RouteHealth_RouteNotAdmitted" || condition.Reason == "RouteHealth_StatusError") {
64+
return "https://issues.redhat.com/browse/OCPBUGS-24041", nil
65+
}
6266
case "control-plane-machine-set":
6367
if condition.Type == configv1.OperatorAvailable && condition.Status == configv1.ConditionFalse && condition.Reason == "UnavailableReplicas" {
6468
return "https://issues.redhat.com/browse/OCPBUGS-20061", nil

0 commit comments

Comments
 (0)