Skip to content

Commit

Permalink
StopContainer(): ignore one more conmon warning
Browse files Browse the repository at this point in the history
Resolves: containers#18865

[NO NEW TESTS NEEDED] -- it's a flake

Signed-off-by: Ed Santiago <[email protected]>
  • Loading branch information
edsantiago committed Jun 22, 2023
1 parent 423b921 commit a699ed0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libpod/oci_conmon_common.go
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ func (r *ConmonOCIRuntime) StopContainer(ctr *Container, timeout uint, all bool)
if line == "" {
continue
}
if strings.Contains(line, "container not running") || strings.Contains(line, "open pidfd: No such process") {
if strings.Contains(line, "container not running") || strings.Contains(line, "open pidfd: No such process") || strings.Contains(line, "kill container: No such process") {
logrus.Debugf("Failure to kill container (already stopped?): logged %s", line)
continue
}
Expand Down

0 comments on commit a699ed0

Please sign in to comment.