From 8f776217e1ffd1321fb77dbb08516f18cc955e40 Mon Sep 17 00:00:00 2001 From: Alan Jowett Date: Sat, 9 Nov 2024 09:02:45 -0800 Subject: [PATCH] Set timeout on fuzzing (#605) Signed-off-by: Alan Jowett Co-authored-by: Alan Jowett --- .github/workflows/fuzzing.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/fuzzing.yml b/.github/workflows/fuzzing.yml index 9035c7695..af13aa801 100644 --- a/.github/workflows/fuzzing.yml +++ b/.github/workflows/fuzzing.yml @@ -237,14 +237,14 @@ jobs: if: matrix.platform == 'ubuntu-24.04' && inputs.regression_test != true run: | ls - UBPF_FUZZER_CONSTRAINT_CHECK=1 ./ubpf_fuzzer new_corpus -artifact_prefix=artifacts/ -use_value_profile=1 -max_total_time=3600 -dict=dictionary.txt + UBPF_FUZZER_CONSTRAINT_CHECK=1 ./ubpf_fuzzer new_corpus -artifact_prefix=artifacts/ -use_value_profile=1 -max_total_time=3600 -dict=dictionary.txt -timeout=60 # If this is a scheduled run or a manual run, run ubpf_fuzzer to attempt to find new crashes. Runs for 2 hours. - name: Run fuzzing if: matrix.platform == 'windows-latest' && inputs.regression_test != true run: | ls - ./ubpf_fuzzer new_corpus -artifact_prefix=artifacts/ -use_value_profile=1 -max_total_time=3600 + ./ubpf_fuzzer new_corpus -artifact_prefix=artifacts/ -use_value_profile=1 -max_total_time=3600 -timeout=60 # Merge the new corpus into the existing corpus and push the changes to the repository. - name: Merge corpus into fuzz/corpus