Skip to content

Commit

Permalink
Merge pull request #88952 from smarterclayton/fix_reason
Browse files Browse the repository at this point in the history
test: Detect flakes caused by container teardown races on CRI
  • Loading branch information
k8s-ci-robot committed Mar 9, 2020
2 parents 672aa55 + d80981b commit 5383e01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/e2e/node/pods.go
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ var _ = SIGDescribe("Pods Extended", func() {
switch {
case t.ExitCode == 1:
// expected
case t.ExitCode == 128 && t.Reason == "ContainerCannotRun" && reBug88766.MatchString(t.Message):
case t.ExitCode == 128 && (t.Reason == "StartError" || t.Reason == "ContainerCannotRun") && reBug88766.MatchString(t.Message):
// pod volume teardown races with container start in CRI, which reports a failure
framework.Logf("pod %s on node %s failed with the symptoms of https://github.com/kubernetes/kubernetes/issues/88766")
default:
Expand Down

0 comments on commit 5383e01

Please sign in to comment.