Bug 188413

Summary: Add basic flakiness-analyzer
Product: WebKit Reporter: Jonathan Bedard <jbedard>
Component: Tools / TestsAssignee: Jonathan Bedard <jbedard>
Status: NEW    
Severity: Normal CC: aakash_jain, achristensen, ap, dbates, ddkilzer, ews-watchlist, glenn, lforschler, realdawei, ryanhaddad, tsavell
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch
ews-watchlist: commit-queue-
Archive of layout-test-results from ews205 for win-future none

Jonathan Bedard
Reported 2018-08-08 11:49:27 PDT
This has come in handy enough times over the last 2 months that it's worth committing. What this script does is read through the stdout of a test run (or runs) and determines which tests were run before some failing test. It then cross-references successful test runs, with the assumption that if a given test preceded a successful run of another test, it is unlikely to be the cause of the failure. We've been able to track down a few flakey test failures using this script, or a predecessor to it.
Attachments
Patch (57.15 KB, patch)
2018-08-08 12:10 PDT, Jonathan Bedard
no flags
Patch (57.15 KB, patch)
2018-08-08 17:47 PDT, Jonathan Bedard
ews-watchlist: commit-queue-
Archive of layout-test-results from ews205 for win-future (13.03 MB, application/zip)
2018-08-11 09:52 PDT, EWS Watchlist
no flags
Jonathan Bedard
Comment 1 2018-08-08 12:10:42 PDT
Jonathan Bedard
Comment 2 2018-08-08 17:35:04 PDT
Comment on attachment 346782 [details] Patch Need to figure out why these tests failed on the bots but passed locally.
Jonathan Bedard
Comment 3 2018-08-08 17:47:23 PDT
EWS Watchlist
Comment 4 2018-08-11 09:51:51 PDT
Comment on attachment 346807 [details] Patch Attachment 346807 [details] did not pass win-ews (win): Output: https://webkit-queues.webkit.org/results/8828955 New failing tests: http/tests/security/video-poster-cross-origin-crash2.html
EWS Watchlist
Comment 5 2018-08-11 09:52:02 PDT
Created attachment 346963 [details] Archive of layout-test-results from ews205 for win-future The attached test failures were seen while running run-webkit-tests on the win-ews. Bot: ews205 Port: win-future Platform: CYGWIN_NT-6.1-2.9.0-0.318-5-3-x86_64-64bit
Ryan Haddad
Comment 6 2018-08-30 10:51:45 PDT
Comment on attachment 346807 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=346807&action=review > Tools/Scripts/webkitpy/flakiness_analyzer/flakiness_analyzer.py:153 > + index_to_print = int(raw_input('Pick which of the sequences (0-{}) to print: '.format(len(steps_candidates - 1)))) I hit a bug here when trying to test this locally. This should be: .format(len(steps_candidates) - 1))
Alex Christensen
Comment 7 2021-11-01 12:49:58 PDT
Comment on attachment 346807 [details] Patch This has been requesting review for more than one year. If this is still needed, please rebase and re-request review.
Note You need to log in before you can comment on or make changes to this bug.