Bug 203829

Summary: EWS should report test failures from clean-tree to results.webkit.org
Product: WebKit Reporter: Aakash Jain <aakash_jain>
Component: Tools / TestsAssignee: Jonathan Bedard <jbedard>
Status: RESOLVED FIXED    
Severity: Normal CC: aakash_jain, ap, commit-queue, jbedard, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Other   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=202639
https://bugs.webkit.org/show_bug.cgi?id=204369
Attachments:
Description Flags
Patch none

Description Aakash Jain 2019-11-04 15:16:07 PST
EWS should report data for the test run which EWS does without patch (test runs on clean tree). e.g.: run-layout-tests-without-patch step in https://ews-build.webkit.org/#/builders/24/builds/3740 can report results.

This might help us in scenarios where the test failures are noticed on EWS bots on clean tree, but not on bugs.webkit.org (e.g.: https://bugs.webkit.org/show_bug.cgi?id=203686,  https://bugs.webkit.org/show_bug.cgi?id=203732 and https://bugs.webkit.org/show_bug.cgi?id=203792).
Comment 1 Aakash Jain 2019-11-04 17:08:02 PST
Created attachment 382791 [details]
Patch
Comment 2 Jonathan Bedard 2019-11-04 18:09:12 PST
Comment on attachment 382791 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=382791&action=review

> Tools/BuildSlaveSupport/ews-build/loadConfig.py:49
> +    results_server_api_key = passwords.get('results-server-api-key')

How do passwords for EWS work? Expected to see a json edit somewhere here....

We can talk about this offline.

> Tools/BuildSlaveSupport/ews-build/steps.py:1466
> +    def start(self):

Don't think we set logEnviron to false for API tests
Comment 3 Aakash Jain 2019-11-05 06:44:15 PST
(In reply to Jonathan Bedard from comment #2)
> How do passwords for EWS work?
It works similar to build.webkit.org

> Don't think we set logEnviron to false for API tests
It was already disabled in http://trac.webkit.org/changeset/246882/webkit
Comment 4 Jonathan Bedard 2019-11-05 09:41:47 PST
(In reply to Aakash Jain from comment #3)
> (In reply to Jonathan Bedard from comment #2)
> > How do passwords for EWS work?
> It works similar to build.webkit.org
> 

Make sure that the master has access to the API key before deploying, otherwise every EWS run will fail

> > Don't think we set logEnviron to false for API tests
> It was already disabled in http://trac.webkit.org/changeset/246882/webkit
Comment 5 Radar WebKit Bug Importer 2019-11-05 13:24:22 PST
<rdar://problem/56916405>
Comment 6 WebKit Commit Bot 2019-11-05 13:36:51 PST
Comment on attachment 382791 [details]
Patch

Clearing flags on attachment: 382791

Committed r252075: <https://trac.webkit.org/changeset/252075>
Comment 7 WebKit Commit Bot 2019-11-05 13:36:53 PST
All reviewed patches have been landed.  Closing bug.
Comment 8 Aakash Jain 2020-02-19 10:39:54 PST
We disabled the reporting (before it was deployed on server) in https://bugs.webkit.org/show_bug.cgi?id=204369
Comment 9 Jonathan Bedard 2022-12-08 16:22:18 PST
Re-opening for pull request https://github.com/WebKit/WebKit/pull/7362
Comment 10 EWS 2022-12-13 07:19:45 PST
Committed 257789@main (23a93ba0cddf): <https://commits.webkit.org/257789@main>

Reviewed commits have been landed. Closing PR #7362 and removing active labels.