Skip to content

Commit

Permalink
Cherry pick #4587 (#4605)
Browse files Browse the repository at this point in the history
Addresses: crbug.com/387828381
  • Loading branch information
jonathanmetzman authored Jan 15, 2025
1 parent 2fb11c9 commit 90d136e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/clusterfuzz/_internal/bot/tasks/utasks/analyze_task.py
Original file line number Diff line number Diff line change
Expand Up @@ -572,8 +572,12 @@ def utask_postprocess(output):
testcase_upload_metadata = testcase_utils.get_testcase_upload_metadata(
output.uworker_input.testcase_id)

if output.analyze_task_output.one_time_crasher_flag:
one_time_crasher_message = ', but is flaky'
else:
one_time_crasher_message = ''
log_message = (f'Testcase crashed in {output.test_timeout} seconds '
f'(r{testcase.crash_revision})')
f'(r{testcase.crash_revision}){one_time_crasher_message}')
data_handler.update_testcase_comment(testcase, data_types.TaskState.FINISHED,
log_message)

Expand Down

0 comments on commit 90d136e

Please sign in to comment.