Skip to content

Commit ba523b5

Browse files
committed
pkg/monitortests/clusterversionoperator/legacycvomonitortests: Expand openshift-apiserver reason exceptions
To cover the hits in: $ curl -s 'https://search.ci.openshift.org/search?maxAge=48h&type=junit&name=4.15.*upgrade&context=0&search=clusteroperator/openshift-apiserver.*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 2 openshift-apiserver APIServerDeployment_NoPod 2 openshift-apiserver APIServerDeployment_PreconditionNotFulfilled 19 openshift-apiserver APIServices_Error 22 openshift-apiserver APIServerDeployment_NoDeployment I've also commented about these in [1], 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-23746
1 parent b319118 commit ba523b5

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
@@ -80,7 +80,7 @@ func testUpgradeOperatorStateTransitions(events monitorapi.Intervals) []*junitap
8080
return "https://issues.redhat.com/browse/OCPBUGS-23745", nil
8181
}
8282
case "openshift-apiserver":
83-
if condition.Type == configv1.OperatorAvailable && condition.Status == configv1.ConditionFalse && condition.Reason == "APIServices_Error" {
83+
if condition.Type == configv1.OperatorAvailable && condition.Status == configv1.ConditionFalse && (condition.Reason == "APIServerDeployment_NoDeployment" || condition.Reason == "APIServerDeployment_NoPod" || condition.Reason == "APIServerDeployment_PreconditionNotFulfilled" || condition.Reason == "APIServices_Error") {
8484
return "https://issues.redhat.com/browse/OCPBUGS-23746", nil
8585
}
8686
case "operator-lifecycle-manager-packageserver":

0 commit comments

Comments
 (0)