Skip to content

ci: fix fuzz failure artifact upload#5742

Merged
jouho merged 6 commits intoaws:mainfrom
jouho:fix-artifact-upload
Feb 17, 2026
Merged

ci: fix fuzz failure artifact upload#5742
jouho merged 6 commits intoaws:mainfrom
jouho:fix-artifact-upload

Conversation

@jouho
Copy link
Copy Markdown
Contributor

@jouho jouho commented Feb 17, 2026

Goal

Fix fuzz failure artifact upload paths in runFuzzTest.sh

Why

The scheduled fuzz test wasn't uploading failure artifacts from the correct path, resulting in the inability to reproduce observed fuzz test failures. The script runs with CWD=tests/fuzz/ but referenced ./tests/fuzz/${TEST_NAME}_output.txt, resolving to a non-existent double-nested path.

How

  • Fix the source path from ./tests/fuzz/${TEST_NAME}_output.txt to ./${TEST_NAME}_output.txt
  • Add timestamps to destination paths to preserve history across multiple failures
  • Upload libfuzzer artifacts (crash-*, timeout-*, leak-*, oom-*) which contain the exact inputs that triggered the failure and can be used to reproduce it locally
  • Remove the upload of ${TEST_NAME}_results.txt which doesn't exist on the failure path

Callouts

Testing

Tested the failure upload path manually by temporarily disabling the negative test exception, invoking the scheduled fuzz job on CodeBuild, and confirming artifacts are uploaded to the corresponding S3 bucket.

Related

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@github-actions github-actions bot added the s2n-core team label Feb 17, 2026
@jouho jouho changed the title Fix artifact upload ci: fix fuzz failure artifact upload Feb 17, 2026
@jouho jouho requested review from dougch and kaukabrizvi February 17, 2026 18:50
@jouho jouho marked this pull request as ready for review February 17, 2026 18:50
@jouho jouho enabled auto-merge February 17, 2026 19:03
@jouho jouho added this pull request to the merge queue Feb 17, 2026
Merged via the queue into aws:main with commit de90a3d Feb 17, 2026
54 checks passed
@jouho jouho deleted the fix-artifact-upload branch February 17, 2026 20:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants