Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tests/fuzzing/run-tests.sh: fix flaking #844

Merged
merged 1 commit into from
Jan 11, 2022

Conversation

kolyshkin
Copy link
Collaborator

This (hopefully) fixes a flake seen in #843.

Recent commit ff3e33b removed subshell
from grep invocation, but overlooked the fact that pipefail option is
also set. As a result, we get an occasional exit code 141 (i.e. SIGPIPE)
from the script (which was prevented by having a subshell).

Since this grep is the only pipe in the script, and we're looking at the
exit code from grep, remove "-o pipefail" from it.

Recent commit ff3e33b removed subshell
from grep invocation, but overlooked the fact that pipefail option is
also set. As a result, we get an occasional exit code 141 (i.e. SIGPIPE)
from the script (which was prevented by having a subshell).

Since this grep is the only pipe in the script, and we're looking at the
exit code from grep, remove "-o pipefail" from it.

Signed-off-by: Kir Kolyshkin <[email protected]>
Copy link
Member

@giuseppe giuseppe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@giuseppe giuseppe merged commit bc8d5d0 into containers:main Jan 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants