Bug 204517 - [ews] Add basic commit-queue support in new EWS
Summary: [ews] Add basic commit-queue support in new EWS
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: Other
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Aakash Jain
URL:
Keywords: InRadar
Depends on:
Blocks: 201934
  Show dependency treegraph
 
Reported: 2019-11-22 08:18 PST by Aakash Jain
Modified: 2020-01-21 07:07 PST (History)
4 users (show)

See Also:


Attachments
Patch (3.47 KB, patch)
2019-11-22 08:19 PST, Aakash Jain
jbedard: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Aakash Jain 2019-11-22 08:18:08 PST
Add basic commit-queue support in new EWS.
Comment 1 Aakash Jain 2019-11-22 08:19:43 PST
Created attachment 384155 [details]
Patch
Comment 2 Aakash Jain 2019-11-22 08:22:53 PST
Sample run: https://ews-build.webkit-uat.org/#/builders/26/builds/4
Comment 3 Jonathan Bedard 2019-11-22 09:24:39 PST
Comment on attachment 384155 [details]
Patch

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

> Tools/BuildSlaveSupport/ews-build/config.json:517
> +      "workernames": ["webkit-cq-01", "webkit-cq-02", "webkit-cq-03"]

Are we actually intending to bring these online? Aren't these workers already functioning in the old commit queue?

> Tools/BuildSlaveSupport/ews-build/config.json:531
> +      "name": "try_commitqueue",

I'm a bit confused by what we're doing here.
Comment 4 Aakash Jain 2019-11-22 09:33:06 PST
(In reply to Jonathan Bedard from comment #3)
> Comment on attachment 384155 [details]
> Patch
> 
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=384155&action=review
> 
> > Tools/BuildSlaveSupport/ews-build/config.json:517
> > +      "workernames": ["webkit-cq-01", "webkit-cq-02", "webkit-cq-03"]
> 
> Are we actually intending to bring these online? Aren't these workers already functioning in the old commit queue?
No today, we will move them when commit-queue is ready on new EWS. This is just part 1 for adding the support.
> 
> > Tools/BuildSlaveSupport/ews-build/config.json:531
> > +      "name": "try_commitqueue",
> 
> I'm a bit confused by what we're doing here.
We can't trigger commit-queue when we trigger all other queues. This would be triggered explicitly. EWS django app will run another 'buildbot try' command on this port for the patches with cq+ flag. It would be done in subsequent patch.
Comment 5 Jonathan Bedard 2019-11-22 09:45:35 PST
Comment on attachment 384155 [details]
Patch

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

>>> Tools/BuildSlaveSupport/ews-build/config.json:531
>>> +      "name": "try_commitqueue",
>> 
>> I'm a bit confused by what we're doing here.
> 
> We can't trigger commit-queue when we trigger all other queues. This would be triggered explicitly. EWS django app will run another 'buildbot try' command on this port for the patches with cq+ flag. It would be done in subsequent patch.

So we basically, open up port 5557 and listen for a request to trigger commit queue?
Comment 6 Aakash Jain 2019-11-22 09:47:26 PST
(In reply to Jonathan Bedard from comment #5)
> So we basically, open up port 5557 and listen for a request to trigger commit queue?
Yes, just like we listen on 5555 to trigger rest of the queues.
Comment 7 Aakash Jain 2019-11-22 10:02:16 PST
Committed r252780: <https://trac.webkit.org/changeset/252780>
Comment 8 Radar WebKit Bug Importer 2019-11-22 10:03:28 PST
<rdar://problem/57432105>