Defer Blackbox Fuzzer Log Uploads#5378
Draft
IvanBM18 wants to merge 2 commits into
Draft
Conversation
IvanBM18
force-pushed
the
refactor/bb-logs-to-fuzzer-run-output
branch
from
July 23, 2026 17:52
d9ee0b3 to
cf5e5ff
Compare
IvanBM18
force-pushed
the
refactor/bb-logs-defer-upload
branch
from
July 23, 2026 17:54
9d7cd43 to
7d307ec
Compare
IvanBM18
force-pushed
the
refactor/bb-logs-defer-upload
branch
from
July 23, 2026 21:10
7d307ec to
e86a335
Compare
IvanBM18
changed the base branch from
refactor/bb-logs-to-fuzzer-run-output
to
refactor/extract-temp-file
July 23, 2026 21:11
IvanBM18
force-pushed
the
refactor/extract-temp-file
branch
from
July 23, 2026 21:20
6e381e8 to
6adb4c5
Compare
IvanBM18
force-pushed
the
refactor/bb-logs-defer-upload
branch
from
July 23, 2026 21:26
e86a335 to
db4f616
Compare
This was referenced Jul 24, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
WIP PR
Bug: b/532610906
Context
Overview
This is the last PR to tackle an instance of PERMISSION_DENIED issues when executing a BlackBox test case in a
uworkerbot.This PR refactors uses the utils, classes and refactors to previous PRs to defer the blackbox fuzzer log upload to the posprocess step. Since the blackbox fuzzer logs can be larger than regular Coverage guided engine fuzzer logs, we cant just simply save its content into the crash queue, instead we save the fuzzer output into a temp file and we save that file in the crashes queue.
Then when we finish executing all the test cases(which can be multiple concurrent ones), we drain the crash queue, retrieving the log file paths and transforming them into an istance of
FuzzerRunOutputDataclass, which is then placed into the fuzzer ssesion output to be handled & uploaded at the postprocess stepChanges
uploadparameter for the run_tetcase methodTests performed
Changes in dev since July 23rd, from which we can see how the errors dramastically went down after the changes were introduced:
The other 403 issues that still appear in dev are, from custom_binary tests being performed by teammates in dev, if we remove those logs, we can see how the errors go to 0

PR stack
PR #5376: Introduce FuzzerRunOutputData and utils (Base: master)
PR #5377: Refactor _to_fuzzer_run_output to use FuzzerRunOutputData (Base: PR 1)
PR #5388: refactor: Add utils.create_temp_file helper (Base: PR 2)
Current -> PR #5378: Defer Blackbox Fuzzer Log Uploads (Base: PR 3)