Skip to content

chore: run fuzzers with -parallel=1; bump context timeouts to 30 seconds#1367

Merged
egibs merged 2 commits into
chainguard-dev:mainfrom
egibs:fuzz-workflow-parallel
Feb 8, 2026
Merged

chore: run fuzzers with -parallel=1; bump context timeouts to 30 seconds#1367
egibs merged 2 commits into
chainguard-dev:mainfrom
egibs:fuzz-workflow-parallel

Conversation

@egibs
Copy link
Copy Markdown
Member

@egibs egibs commented Feb 8, 2026

A few of our fuzzers are running into a well-known, unfixed race condition:

--- FAIL: FuzzExtractArchive (3525.15s)
    fuzzing process hung or terminated unexpectedly: exit status 2
    Failing input written to testdata/fuzz/FuzzExtractArchive/12316b60b58cd01c
    To re-run:
    go test -run=FuzzExtractArchive/12316b60b58cd01c

Since we can now run the fuzzers over a longer period of time, we can drop -parallel to 1 to hopefully mitigate this. This will also allow us to use smaller and cheaper Runners.

I also bumped all of the archive/programkind fuzzer context timeouts to 30 seconds and fixed a test flake due to multiple tests concurrently accessing the static rule cache file.

Signed-off-by: egibs <20933572+egibs@users.noreply.github.com>
@egibs egibs requested a review from stevebeattie February 8, 2026 16:31
@egibs egibs enabled auto-merge (squash) February 8, 2026 16:32
Signed-off-by: egibs <20933572+egibs@users.noreply.github.com>
@egibs egibs merged commit dd6d780 into chainguard-dev:main Feb 8, 2026
18 checks passed
@egibs egibs deleted the fuzz-workflow-parallel branch February 9, 2026 14:07
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