Bug 201928

Summary: EWS should run resultsdbpy tests
Product: WebKit Reporter: Aakash Jain <aakash_jain>
Component: Tools / TestsAssignee: Jonathan Bedard <jbedard>
Status: RESOLVED FIXED    
Severity: Normal CC: ap, commit-queue, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Other   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=207304
https://bugs.webkit.org/show_bug.cgi?id=261071
Attachments:
Description Flags
Patch
none
Patch
none
Patch
none
Patch none

Description Aakash Jain 2019-09-18 11:53:09 PDT
EWS should run resultsdbpy tests. This would make sure that someone doesn't accidentally break resultsdbpy.

See: https://trac.webkit.org/browser/webkit/trunk/Tools/resultsdbpy/resultsdbpy/run-tests
Comment 1 Aakash Jain 2019-09-18 11:53:45 PDT
<rdar://problem/55109441>
Comment 2 Jonathan Bedard 2020-02-05 17:30:00 PST
Created attachment 389909 [details]
Patch
Comment 3 Aakash Jain 2020-02-05 17:35:53 PST
Looks good to me. unit-tests needs minor change. Can you also deploy it on uat instance and verify.
Comment 4 Jonathan Bedard 2020-02-05 17:45:08 PST
Created attachment 389917 [details]
Patch
Comment 5 Aakash Jain 2020-02-06 04:11:52 PST
services_paths in CheckPatchRelevance needs to be updated as well. At:
https://trac.webkit.org/browser/webkit/trunk/Tools/BuildSlaveSupport/ews-build/steps.py#L237
Comment 6 Jonathan Bedard 2020-02-06 07:38:21 PST
Created attachment 389955 [details]
Patch
Comment 7 Jonathan Bedard 2020-02-06 17:03:48 PST
Created attachment 390032 [details]
Patch
Comment 8 Aakash Jain 2020-02-06 18:37:25 PST
Sample run: https://ews-build.webkit-uat.org/#/builders/1/builds/522
Comment 9 WebKit Commit Bot 2020-02-07 08:19:09 PST
Comment on attachment 390032 [details]
Patch

Clearing flags on attachment: 390032

Committed r256021: <https://trac.webkit.org/changeset/256021>
Comment 10 WebKit Commit Bot 2020-02-07 08:19:11 PST
All reviewed patches have been landed.  Closing bug.
Comment 11 Aakash Jain 2020-02-11 05:14:53 PST
Deployed on production server, seems to be working fine, e.g.: https://ews-build.webkit.org/#/builders/20/builds/13802
Comment 12 Jonathan Bedard 2020-02-11 07:46:39 PST
(In reply to Aakash Jain from comment #11)
> Deployed on production server, seems to be working fine, e.g.:
> https://ews-build.webkit.org/#/builders/20/builds/13802

Great!

I think that there is a question about if we should enable the full set of database tests (which take about 20 minutes), and I wanted to mention that possibility here so we have a record of the reason why I chose to only run the mock tests, which is basically because the full set of database tests take too long.