Skip to content

Commit ca46d5d

Browse files
committed
pkg/monitortests/clusterversionoperator/legacycvomonitortests: Expand authentication reason exceptions
To cover the main hits in: $ curl -s 'https://search.ci.openshift.org/search?maxAge=48h&type=junit&name=4.15.*upgrade&context=0&search=clusteroperator/authentication.*condition/Available.*status/False' | jq -r 'to_entries[].value | to_entries[].value[].context[]' | sed 's|.*clusteroperator/\([^ ]*\) condition/Available reason/\([^ ]*\) status/False.*|\1 \2|' | sort | uniq -c | sort -n 1 authentication APIServerDeployment_PreconditionNotFulfilled 6 authentication OAuthServerDeployment_NoDeployment 8 authentication APIServerDeployment_NoDeployment 10 authentication APIServerDeployment_NoPod 11 authentication WellKnown_NotReady 36 authentication OAuthServerRouteEndpointAccessibleController_EndpointUnavailable 43 authentication APIServices_PreconditionNotReady 66 authentication OAuthServerServiceEndpointAccessibleController_EndpointUnavailable 95 authentication APIServices_Error I've also expanded the scope of [1] to match, but I have no problem if folks decide to fork that bug into multiple trackers and have specific exceptions for each tracker. [1]: https://issues.redhat.com/browse/OCPBUGS-20056
1 parent a8ec3fe commit ca46d5d

File tree

1 file changed

+1
-1
lines changed
  • pkg/monitortests/clusterversionoperator/legacycvomonitortests

1 file changed

+1
-1
lines changed

pkg/monitortests/clusterversionoperator/legacycvomonitortests/operators.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ func testUpgradeOperatorStateTransitions(events monitorapi.Intervals) []*junitap
5656

5757
switch operator {
5858
case "authentication":
59-
if condition.Type == configv1.OperatorAvailable && condition.Status == configv1.ConditionFalse && condition.Reason == "WellKnown_NotReady" {
59+
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
}
6262
case "control-plane-machine-set":

0 commit comments

Comments
 (0)