Skip to content

Add total_fuzzing_time_seconds to FuzzTaskOutput#5225

Draft
dylanjew wants to merge 1 commit intomasterfrom
dylanj/fuzzing-hours-2
Draft

Add total_fuzzing_time_seconds to FuzzTaskOutput#5225
dylanjew wants to merge 1 commit intomasterfrom
dylanj/fuzzing-hours-2

Conversation

@dylanjew
Copy link
Copy Markdown
Collaborator

Adds total_fuzzing_time_seconds to the FuzzTaskOutput proto. We already calculate the fuzzing time to power our Monitoring metric FUZZER_TOTAL_FUZZ_TIME.

This allows us write the total fuzzing time for blackbox fuzzers to Big Query, similar to how we upload test case stats during postprocessing for engine guided fuzzers to power the cluseterfuzz.com/fuzzer-stats page.

Ran ./src/clusterfuzz/_internal/protos/generate.sh to generate the proto files

@dylanjew dylanjew force-pushed the dylanj/fuzzing-hours-2 branch 4 times, most recently from 22939ff to b07c112 Compare March 31, 2026 21:28
crashes[0].application_command_line)
self.assertEqual('/app/app_1 -r=3 -x -y /tests/2',
crashes[1].application_command_line)
self.assertGreaterEqual(session.fuzz_task_output.total_fuzzing_time_seconds,
Copy link
Copy Markdown
Collaborator Author

@dylanjew dylanjew Mar 31, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't mock time.time() here because it introduced flakiness to this test where the threads were finishing out of order

@dylanjew dylanjew force-pushed the dylanj/fuzzing-hours-2 branch from b07c112 to 8f5d4ae Compare April 6, 2026 19:28
@dylanjew dylanjew force-pushed the dylanj/fuzzing-hours-2 branch from 8f5d4ae to bdd9c2b Compare April 7, 2026 14:13
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.

1 participant