Skip to content

Commit

Permalink
CI: flake workaround: ignore socat waitpid warnings
Browse files Browse the repository at this point in the history
Workaround (NOT A FIX) for pasta issue containers#23482, wherein
podman logs includes a waitpid: ESRCH warning. Consensus
seems to be that this is a bug in socat.

Signed-off-by: Ed Santiago <[email protected]>
  • Loading branch information
edsantiago committed Aug 27, 2024
1 parent e6621d6 commit 678323e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/system/505-networking-pasta.bats
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,10 @@ function pasta_test_do() {
# Get server output, --follow is used to wait for the container to exit,
run_podman logs --follow $cname
# which should give us the expected output back.
# ...except, sigh, #23482: seems to be a bug in socat, issues spurious warning
if [[ "$recv" =~ EXEC ]]; then
output=$(grep -vE 'socat.*waitpid.*No child process' <<<"$output")
fi
assert "${output}" = "${expect}" "Mismatch between data sent and received"

run_podman rm $cname
Expand Down

0 comments on commit 678323e

Please sign in to comment.