@@ -353,19 +353,22 @@ def main():
353353 testcase = data_handler .get_testcase_by_id (testcase_id )
354354 except errors .InvalidTestcaseError :
355355 # Already deleted.
356- logs .info (f'Skipping testcase { testcase_id } , since it was already deleted.' )
356+ logs .info (
357+ f'Skipping testcase { testcase_id } , since it was already deleted.' )
357358 continue
358359
359360 critical_tasks_completed = data_handler .critical_tasks_completed (testcase )
360361
361362 # Skip if testcase's job is removed.
362363 if testcase .job_type not in all_jobs :
363- logs .info (f'Skipping testcase { testcase_id } , since its job was removed ({ testcase .job_type } )' )
364+ logs .info (f'Skipping testcase { testcase_id } , since its job was removed '
365+ f' ({ testcase .job_type } )' )
364366 continue
365367
366368 # Skip if testcase's job is in exclusions list.
367369 if testcase .job_type in excluded_jobs :
368- logs .info (f'Skipping testcase { testcase_id } , since its job is in the exclusion list ({ testcase .job_type } )' )
370+ logs .info (f'Skipping testcase { testcase_id } , since its job is in the'
371+ f' exclusion list ({ testcase .job_type } )' )
369372 continue
370373
371374 # Emmit the metric for testcases that should be triaged.
@@ -378,19 +381,22 @@ def main():
378381
379382 # If the testcase has a bug filed already, no triage is needed.
380383 if _is_bug_filed (testcase ):
381- logs .info (f'Skipping testcase { testcase_id } , since a bug was already filed.' )
384+ logs .info (
385+ f'Skipping testcase { testcase_id } , since a bug was already filed.' )
382386 continue
383387
384388 # Check if the crash is important, i.e. it is either a reproducible crash
385389 # or an unreproducible crash happening frequently.
386390 if not _is_crash_important (testcase ):
387- logs .info (f'Skipping testcase { testcase_id } , since the crash is not important.' )
391+ logs .info (
392+ f'Skipping testcase { testcase_id } , since the crash is not important.' )
388393 continue
389394
390395 # Require that all tasks like minimizaton, regression testing, etc have
391396 # finished.
392397 if not critical_tasks_completed :
393- logs .info (f'Skipping testcase { testcase_id } , critical tasks still pending.' )
398+ logs .info (
399+ f'Skipping testcase { testcase_id } , critical tasks still pending.' )
394400 continue
395401
396402 # For testcases that are not part of a group, wait an additional time to
@@ -417,14 +423,16 @@ def main():
417423 # file this crash anywhere.
418424 issue_tracker = issue_tracker_utils .get_issue_tracker_for_testcase (testcase )
419425 if not issue_tracker :
420- logs .info (f'No issue tracker detected for testcase { testcase_id } , publishing message.' )
426+ logs .info (f'No issue tracker detected for testcase { testcase_id } , '
427+ 'publishing message.' )
421428 issue_filer .notify_issue_update (testcase , 'new' )
422429 continue
423430
424431 # If there are similar issues to this test case already filed or recently
425432 # closed, skip filing a duplicate bug.
426433 if _check_and_update_similar_bug (testcase , issue_tracker ):
427- logs .info (f'Skipping testcase { testcase_id } , since a similar bug was already filed.' )
434+ logs .info (f'Skipping testcase { testcase_id } , since a similar bug'
435+ ' was already filed.' )
428436 continue
429437
430438 # Clean up old triage messages that would be not applicable now.
0 commit comments