Skip to content

Commit

Permalink
Merge pull request #27435 from dulek/kuryr-pod-deleted-flake
Browse files Browse the repository at this point in the history
Add Kuryr exception to "pods should successfully create sandboxes" test
  • Loading branch information
openshift-merge-robot authored Nov 22, 2022
2 parents c060ca4 + 374c497 commit 0b36a06
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pkg/synthetictests/networking.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,12 @@ func testPodSandboxCreation(events monitorapi.Intervals, clientConfig *rest.Conf
continue
}
}
if strings.Contains(event.Message, "kuryr") && strings.Contains(event.Message, "deleted while processing the CNI ADD request") {
// This happens from time to time with Kuryr. Creating ports in Neutron for pod can take long and a controller might delete the pod before,
// effectively cancelling Kuryr CNI ADD request.
flakes = append(flakes, fmt.Sprintf("%v - pod got deleted while kuryr was still processing its creation - %v", event.Locator, event.Message))
continue
}

partialLocator := monitorapi.NonUniquePodLocatorFrom(event.Locator)
if deletionTime := getPodDeletionTime(eventsForPods[partialLocator], event.Locator); deletionTime == nil {
Expand Down

0 comments on commit 0b36a06

Please sign in to comment.