Skip to content

Commit

Permalink
OCPBUGS-44970: Excluding loki prod-bearer-token container from excess…
Browse files Browse the repository at this point in the history
…ive restarts test in SNO

This container is deployed by https://github.com/openshift/release/tree/master/ci-operator/step-registry/ipi/install/hosted-loki and is sensitive to resolving sso.redhat.com. During an SNO upgrade, there is a brief period of time where dns is unavailable because the only instance of the pod has been killed and the new pod is starting up. The goal of this change is to exclude this container from the excessive restart checks since, depending on the exact timing, it can restart enough times to trigger a failed test.
  • Loading branch information
jaypoulz committed Nov 26, 2024
1 parent e25fe13 commit 6428725
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions pkg/monitortests/node/legacynodemonitortests/exclusions.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,14 @@ func isThisContainerRestartExcluded(locator string, exclusion Exclusion) bool {
containerName: "container/snapshot-controller", // https://issues.redhat.com/browse/OCPBUGS-43113
topologyToExclude: "single",
},
{
// prod-bearer-token is part of the opeshift-e2e-loki deployment
// (see https://github.com/openshift/release/tree/master/ci-operator/step-registry/ipi/install/hosted-loki)
// the error from the pod is the inability to resolve sso.redhat.com due to dns being unavailable
// briefly during the upgrade
containerName: "container/prod-bearer-token", // https://issues.redhat.com/browse/OCPBUGS-44970
topologyToExclude: "single",
},
{
containerName: "container/kube-multus", // https://issues.redhat.com/browse/OCPBUGS-42267
},
Expand Down

0 comments on commit 6428725

Please sign in to comment.