Skip to content

[Fuzz task steps duration] Add cleanup duration metric - #5571

Open
brun0-matheus wants to merge 1 commit into
bruno.add-crash-parsing-time-metricfrom
bruno.add-internal-cleanup-time-metric
Open

brun0-matheus wants to merge 1 commit into
bruno.add-crash-parsing-time-metricfrom
bruno.add-internal-cleanup-time-metric

Conversation

@brun0-matheus

@brun0-matheus brun0-matheus commented Oct 29, 2026 •

Copy link
Copy Markdown
Contributor

Bug: b/577972136.
Builds upon PR #5569.

Overview

Tracks the duration of the cleanup step in engine and blackbox fuzzing. Since it runs in every round of engine fuzzing, each cleanup round is tracked in TestcaseRun and they are aggregated to JobRun. For blackbox fuzzing, since it doesn't have a TestcaseRun schema all cleanup time is aggregated to JobRun directly.

Changes

  • New column added to TestcaseRun.fuzz_task_steps_duration schema: cleanup.
  • New column added to JobRun.fuzz_task_steps_duration schema: cleanup.
  • Add duration_string_to_timedelta helper in utils, used to deserialize the duration that is stored in TestcaseRun.

Tests

Unittests added. When the tests in the dev environment finish, I will update this comment with evidence.

This branch has not been deployed

No deployments
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