WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
207050
[ews] Display flaky test names in build summary when ReRunWebKitTests passes
https://bugs.webkit.org/show_bug.cgi?id=207050
Summary
[ews] Display flaky test names in build summary when ReRunWebKitTests passes
Aakash Jain
Reported
2020-01-31 09:20:29 PST
When WebKitTest (layout-tests) fail, we re-run them. If the re-run pass, we mark the build as successful. The build summary is set to: 'Passed layout tests'. It would be better to indicate the flaky test name in the build summary in this case, so that bot-watchers can easily notice flaky tests (and the pattern).
Attachments
Patch
(2.19 KB, patch)
2020-01-31 09:36 PST
,
Aakash Jain
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Aakash Jain
Comment 1
2020-01-31 09:36:24 PST
Created
attachment 389364
[details]
Patch
Aakash Jain
Comment 2
2020-01-31 09:41:07 PST
This change will help in easily identifying flaky tests from builds like these (in which layout-tests have some test failures but re-run-layout-tests passes):
https://ews-build.webkit.org/#/builders/24/builds/9685
https://ews-build.webkit.org/#/builders/24/builds/9686
https://ews-build.webkit.org/#/builders/24/builds/9661
https://ews-build.webkit.org/#/builders/24/builds/9600
https://ews-build.webkit.org/#/builders/24/builds/9588
https://ews-build.webkit.org/#/builders/24/builds/9592
Aakash Jain
Comment 3
2020-01-31 09:41:29 PST
Sample run:
https://ews-build.webkit-uat.org/#/builders/16/builds/33
Jonathan Bedard
Comment 4
2020-01-31 10:03:19 PST
Comment on
attachment 389364
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=389364&action=review
> Tools/BuildSlaveSupport/ews-build/steps.py:1360 > + flaky_failures_string = ', '.join(flaky_failures)
This looks good for now. But, once we have this information, we could cross reference these tests by name against the results database and see if they've failed in the last week. If they haven't, that's a decent indication of a newly flakey test (perhaps caused by the patch)
> Tools/BuildSlaveSupport/ews-build/steps.py:-1355 > - message = 'Passed layout tests'
Why did we move this out of the if statement.
Aakash Jain
Comment 5
2020-01-31 11:34:09 PST
Comment on
attachment 389364
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=389364&action=review
>> Tools/BuildSlaveSupport/ews-build/steps.py:1360 >> + flaky_failures_string = ', '.join(flaky_failures) > > This looks good for now. > > But, once we have this information, we could cross reference these tests by name against the results database and see if they've failed in the last week. If they haven't, that's a decent indication of a newly flakey test (perhaps caused by the patch)
Agree. Another thing we need to do is to automatically file bugs for these flaky tests.
>> Tools/BuildSlaveSupport/ews-build/steps.py:-1355 >> - message = 'Passed layout tests' > > Why did we move this out of the if statement.
No strong reason. Moving it back.
Aakash Jain
Comment 6
2020-01-31 11:38:22 PST
Committed
r255513
: <
https://trac.webkit.org/changeset/255513
>
Radar WebKit Bug Importer
Comment 7
2020-01-31 11:39:18 PST
<
rdar://problem/59069094
>
Aakash Jain
Comment 8
2020-02-01 04:36:01 PST
Deployed on production server.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug