From: Alan T. DeKok Date: Fri, 15 Oct 2021 11:52:56 +0000 (-0400) Subject: no need to dump out the entire fuzzing to the main actions log X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7b5697af0e1fa23898307c7514ce230c3964b561;p=thirdparty%2Ffreeradius-server.git no need to dump out the entire fuzzing to the main actions log --- diff --git a/.github/workflows/ci-scheduled-fuzzing.yml b/.github/workflows/ci-scheduled-fuzzing.yml index 9a589ad9c8d..1ae87d4c6d9 100644 --- a/.github/workflows/ci-scheduled-fuzzing.yml +++ b/.github/workflows/ci-scheduled-fuzzing.yml @@ -154,8 +154,12 @@ jobs: REMAINING_TIME=$(( $TOTAL_RUNTIME + `cat ~/start_timestamp` - `date +%s` )) echo "Fuzzing ${{ steps.pick_commit.outputs.commit_id }}:$PROTOCOL for $REMAINING_TIME secs" [[ "$REMAINING_TIME" -lt 1 ]] && exit 1 - timeout "$REMAINING_TIME" make test.fuzzer.$PROTOCOL FUZZER_TIMEOUT=300 FUZZER_ARGUMENTS="-jobs=10000 -workers=`nproc`" || : - cp fuzz-*.log build/fuzzer + echo "Fuzzing $(PROTOCOL) for 300s" + mkdir -p build/fuzzer + timeout "$REMAINING_TIME" make test.fuzzer.$PROTOCOL FUZZER_TIMEOUT=300 FUZZER_ARGUMENTS="-jobs=10000 -workers=`nproc` > buid/fuzzer/$(PROTOCOL).log" || : + tail -30 build/fuzzer/$(PROTOCOL).log + echo "FAILED fuzzing $(PROTOCOL)" + cp fuzz-*.log build/fuzzer find build/fuzzer -type f ! -name 'fuzz-*.log' | grep . && exit 1 || : env: GITHUB_REF: "${{ github.ref }}"