RESOLVED FIXED 212009
[ews] Split JSC MIPS queue into separate builder and tester queue
https://bugs.webkit.org/show_bug.cgi?id=212009
Summary [ews] Split JSC MIPS queue into separate builder and tester queue
Diego Pino
Reported 2020-05-17 23:14:03 PDT
[ews] Add build bots for JSC MIPS and ARMv7 archirectures
Attachments
Patch (11.00 KB, patch)
2020-05-17 23:19 PDT, Diego Pino
no flags
Patch (12.39 KB, patch)
2020-05-19 00:28 PDT, Diego Pino
no flags
Patch (13.02 KB, patch)
2020-05-19 01:32 PDT, Diego Pino
no flags
Patch (12.75 KB, patch)
2020-05-19 01:34 PDT, Diego Pino
no flags
Patch (12.87 KB, patch)
2020-06-18 11:51 PDT, Diego Pino
no flags
Patch (12.83 KB, patch)
2020-06-18 21:22 PDT, Diego Pino
no flags
Patch (13.26 KB, patch)
2020-06-23 07:32 PDT, Diego Pino
no flags
Patch (12.02 KB, patch)
2020-06-23 22:37 PDT, Diego Pino
no flags
Patch (12.87 KB, patch)
2020-06-25 16:03 PDT, Diego Pino
no flags
Patch (12.50 KB, patch)
2020-08-19 10:34 PDT, Diego Pino
no flags
Patch (12.54 KB, patch)
2020-08-19 10:38 PDT, Diego Pino
no flags
Diego Pino
Comment 1 2020-05-17 23:19:36 PDT
Diego Pino
Comment 2 2020-05-19 00:28:34 PDT
Diego Pino
Comment 3 2020-05-19 01:32:01 PDT
Diego Pino
Comment 4 2020-05-19 01:34:51 PDT
Guillaume Emont
Comment 5 2020-06-15 07:41:15 PDT
As I commented on slack, a few words on why we want these additional bots. For mips+arm EWS bots, the bulk of the time is spent in running tests on (slow) target devices, while cross-compilation only takes a few minutes. Having a build-only EWS would allow developers to see more quickly build issues (which I think are a good part of the issues that we see detected by EWS), and to get quick feedback after they rework a patch to address the issue. The idea is that these build-only bots will only take a couple minutes to process a patch, and their queue would almost always be empty, so that new patches would be processed quickly on these. Note also that this is in addition to our efforts to add more mips and arm devices to our EWS testbots so that these get faster too.
Aakash Jain
Comment 6 2020-06-15 08:47:25 PDT
Comment on attachment 399724 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=399724&action=review Looks good in terms of functionality. My biggest concern is UI. This would add two more status-bubbles. Do we really need to add two more status-bubbles for this, and are we ok with that? > Tools/BuildSlaveSupport/ews-build/config.json:472 > + "shortname": "jsc-build-mips", This name will show up in status-bubble on bugzilla. Can we come up with a shorter name for all these status-bubbles? maybe: jsc-mips and jsc-mips-tests Also would need to update the shortnames in https://trac.webkit.org/browser/webkit/trunk/Tools/BuildSlaveSupport/ews-app/ews/views/statusbubble.py#L46 so that they can start displaying in status-bubbles. > Tools/BuildSlaveSupport/ews-build/config.json:483 > + "shortname": "jsc-tests-mips", Can we come up with a shorter name for all these status-bubbles? > Tools/BuildSlaveSupport/ews-build/config.json:494 > + "shortname": "jsc-armv7-build", Can we come up with a shorter name for all these status-bubbles? > Tools/BuildSlaveSupport/ews-build/config.json:505 > + "shortname": "jsc-armv7-tests", Can we come up with a shorter name for all these status-bubbles? > Tools/BuildSlaveSupport/ews-build/config.json:601 > + "JSC-Build-ARMv7-32bits-EWS", "JSC-i386-32bits-EWS", "JSC-Build-MIPSEL-32bits-EWS", "JSC-Tests-EWS", "macOS-Mojave-Debug-Build-EWS", Nit: let's keep it in alphabetical order. > Tools/BuildSlaveSupport/ews-build/factories.py:140 > +class JSCTestOnlyFactory(Factory): Let's rename this to JSCTestsFactory. Can rename it later in separate patch as well. > Tools/BuildSlaveSupport/ews-build/factories.py:149 > class JSCTestsFactory(Factory): Let's rename this to JSCBuildAndTestsFactory. Can rename it later in separate patch as well.
Aakash Jain
Comment 7 2020-06-15 10:11:11 PDT
Also it might be better to land patch in Bug 212803 first, make sure the new bots are working fine (no configuration issues), and then land this.
Diego Pino
Comment 8 2020-06-18 11:51:58 PDT
Aakash Jain
Comment 9 2020-06-18 12:10:19 PDT
Comment on attachment 402221 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=402221&action=review r- due to services ews being red. > Tools/BuildSlaveSupport/ews-build/config.json:17 > + "name": "igalia-jsc32-mipsel-ews-03", Let's add it in a separate patch and land it first (to ensure that the bot is working fine without any configuration isssues). > Tools/BuildSlaveSupport/ews-build/config.json:491 > + "shortname": "jsc-mips-t", This name might be confusing for people. probably "jsc-mips-tests" is fine. > Tools/BuildSlaveSupport/ews-build/config.json:513 > + "shortname": "jsc-armv7-t", Ditto. This name might be confusing for people. probably "jsc-armv7-tests" is fine.
Diego Pino
Comment 10 2020-06-18 21:22:52 PDT
Diego Pino
Comment 11 2020-06-23 07:32:43 PDT
Aakash Jain
Comment 12 2020-06-23 07:45:00 PDT
Comment on attachment 402558 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=402558&action=review > Tools/BuildSlaveSupport/ews-build/config.json:472 > + "factory": "JSCTestsFactory", I believe this is unintentional. > Tools/BuildSlaveSupport/ews-build/factories.py:150 > + def __init__(self, platform, configuration='release', architectures=None, remotes=None, additionalArguments=None, runTests='true', **kwargs): runTests isn't required, please remove.
Diego Pino
Comment 13 2020-06-23 22:37:58 PDT
Aakash Jain
Comment 14 2020-06-25 07:40:03 PDT
Comment on attachment 402623 [details] Patch In JSCBuildFactory.__init__ please add 'remotes' parameter and pass it to Factory.__init__ , otherwise triggers aren't working (as tested on uat instance https://ews-build.webkit-uat.org/#/builders/37/builds/47)
Aakash Jain
Comment 15 2020-06-25 07:42:34 PDT
> In JSCBuildFactory.__init__ please add 'remotes' parameter Typo, 'remotes' -> 'triggers'
Diego Pino
Comment 16 2020-06-25 16:03:29 PDT
Diego Pino
Comment 17 2020-08-19 10:34:08 PDT
Diego Pino
Comment 18 2020-08-19 10:38:55 PDT
Aakash Jain
Comment 19 2020-08-19 12:14:01 PDT
Comment on attachment 406852 [details] Patch look good to me. Also https://trac.webkit.org/browser/webkit/trunk/Tools/BuildSlaveSupport/ews-app/ews/views/statusbubble.py would need updation as well in ALL_QUEUES and QUEUE_TRIGGERS. That can be done either in this or a separate patch.
EWS
Comment 20 2020-08-20 12:57:35 PDT
Committed r265958: <https://trac.webkit.org/changeset/265958> All reviewed patches have been landed. Closing bug and clearing flags on attachment 406852 [details].
Radar WebKit Bug Importer
Comment 21 2020-08-20 12:58:15 PDT
Aakash Jain
Comment 22 2020-08-24 10:22:19 PDT
Restarted EWS to pick up this change.
Note You need to log in before you can comment on or make changes to this bug.