From 027175dc989f87455867aaf88b724f4a0fd459e7 Mon Sep 17 00:00:00 2001 From: Sergey Bronnikov Date: Tue, 26 Nov 2024 11:13:03 +0300 Subject: [PATCH 1/3] cfl: enable pruning on push [TMP] --- .github/workflows/cflite_cron.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/cflite_cron.yml b/.github/workflows/cflite_cron.yml index 3f3f244..2f93a88 100644 --- a/.github/workflows/cflite_cron.yml +++ b/.github/workflows/cflite_cron.yml @@ -4,6 +4,7 @@ on: workflow_dispatch: schedule: - cron: '0 0 * * *' # Once a day at midnight. + push: permissions: read-all From 6e353a3c4829fe1500f869b095a0e4c0fbcadf29 Mon Sep 17 00:00:00 2001 From: Sergey Bronnikov Date: Tue, 26 Nov 2024 11:13:20 +0300 Subject: [PATCH 2/3] cfl: run pruning and coverage sequentially > The hosted runner: GitHub Actions 7 lost communication with > the server. Anything in your workflow that terminates the > runner process, starves it for CPU/Memory, or blocks its > network access can cause this error. > You are running out of disk space. The runner will stop working > when the machine runs out of disk space. Free space left: 0 MB https://github.com/ligurio/lua-c-api-tests/actions/runs/12022106476 --- .github/workflows/cflite_cron.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/cflite_cron.yml b/.github/workflows/cflite_cron.yml index 2f93a88..e158b15 100644 --- a/.github/workflows/cflite_cron.yml +++ b/.github/workflows/cflite_cron.yml @@ -34,7 +34,6 @@ jobs: github-token: ${{ secrets.GITHUB_TOKEN }} minimize-crashes: true mode: 'coverage' - parallel-fuzzing: true report-unreproducible-crashes: true storage-repo-branch-coverage: gh-pages storage-repo-branch: cfl @@ -63,7 +62,6 @@ jobs: minimize-crashes: true mode: 'prune' output-sarif: true - parallel-fuzzing: true report-unreproducible-crashes: true storage-repo-branch-coverage: gh-pages storage-repo-branch: cfl From 97b6e4b82b5e07594f62a2bbc0587145e54828ad Mon Sep 17 00:00:00 2001 From: Sergey Bronnikov Date: Tue, 26 Nov 2024 11:48:20 +0300 Subject: [PATCH 3/3] tmate [TMP] --- .github/workflows/cflite_cron.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/cflite_cron.yml b/.github/workflows/cflite_cron.yml index e158b15..bd6c86e 100644 --- a/.github/workflows/cflite_cron.yml +++ b/.github/workflows/cflite_cron.yml @@ -26,6 +26,9 @@ jobs: uses: google/clusterfuzzlite/actions/build_fuzzers@main with: sanitizer: coverage + - name: Setup tmate session + if: ${{ failure() }} + uses: mxschmitt/action-tmate@v3 - name: Run fuzzing tests id: run uses: google/clusterfuzzlite/actions/run_fuzzers@main @@ -38,6 +41,9 @@ jobs: storage-repo-branch-coverage: gh-pages storage-repo-branch: cfl storage-repo: https://${{ secrets.PERSONAL_ACCESS_TOKEN }}@github.com/ligurio/lua-c-api-corpus + - name: Setup tmate session + if: ${{ failure() }} + uses: mxschmitt/action-tmate@v3 # Corpus Pruning ("prune"). # Over time, redundant testcases will get introduced into your fuzzer's corpuses @@ -66,3 +72,6 @@ jobs: storage-repo-branch-coverage: gh-pages storage-repo-branch: cfl storage-repo: https://${{ secrets.PERSONAL_ACCESS_TOKEN }}@github.com/ligurio/lua-c-api-corpus + - name: Setup tmate session + if: ${{ failure() }} + uses: mxschmitt/action-tmate@v3