Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion .github/workflows/fuzzing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,4 +103,10 @@ jobs:
at_index=$(((10#$(date -u +%U)) % ${#fuzzing_scripts[@]}))
selected_script="${fuzzing_scripts[$at_index]}"
echo "Selected script: $selected_script"
timeout --preserve-status --signal=SIGINT 60m python $selected_script
# Disable the default Github runner fail-fast behaviour for better timeout handling
set +e
timeout --signal=SIGINT 60m python $selected_script
# "timeout" returns 124 when the command times out.
# We treat this as a success (nothing found during the allotted time) and pass other exit codes through.
fuzz_exitcode=$?
[ $fuzz_exitcode -eq 124 ] && exit 0 || exit $fuzz_exitcode