Changes between Initial Version and Version 1 of EarlyWarningSystem


Ignore:
Timestamp:
Apr 4, 2019 11:40:21 AM (5 years ago)
Author:
aakash_jain@apple.com
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • EarlyWarningSystem

    v1 v1  
     1[[PageOutline]]
     2
     3= WebKit Early Warning System (EWS) =
     4
     5The [https://ews-build.webkit.org WebKit Early Warning System] is a designed to help catch build failures/test failures before patches are committed into WebKit. The EWS checks every patch posted for review on bugs.webkit.org using a system of queues, one for each port (e.g. Mac, iOS) as well as run tests (e.g.: API tests, webkitperl tests).
     6
     7EWS consists of two servers:
     8
     91) ews-build: This is a Buildbot server. It processes the builds.
     10
     112) ews-app: This is a Django based web-app and coordinates between Bugzilla and Buildbot. It retrieves patches from bugzilla and submits them to Buildbot for processing. It also receives results from Buildbot, and display them in status-bubble.
     12
     13== Adding a new EWS Bot ==
     14Anyone can add a new EWS bot. Follow these steps to add a new EWS bot:
     15- Install buildbot-worker package on the bot (e.g.: sudo pip install buildbot-worker==1.7.0) and point it to ews-build.webkit.org:17000
     16- Add the bot name to [https://trac.webkit.org/browser/webkit/trunk/Tools/BuildSlaveSupport/ews-build/config.json config.json] appropriately.
     17- email admin@webkit.org to request restart/reconfig of the Buildbot server.
     18
     19== Contributing to Early Warning System ==
     20=== Source code Location ===
     21ews-build: Tools/BuildSlaveSupport/ews-build
     22
     23ews-app: Tools/BuildSlaveSupport/ews-app
     24
     25
     26=== Installing required packages: ===
     27{{{
     28sudo pip install buildbot==1.7.0 --no-binary :all:
     29sudo pip install buildbot-worker==1.7.0
     30}}}
     31
     32=== Configuring Buildbot master ===
     33{{{
     34cd Tools/BuildSlaveSupport/ews-build
     35buildbot create-master -r -c master.cfg .
     36buildbot start
     37}}}
     38
     39Navigate to http://localhost:8010
     40
     41
     42=== Configuring local Buildbot worker ===
     43{{{
     44mkdir /tmp/buildbot-worker
     45cd /tmp/buildbot-worker
     46buildbot-worker create-worker /tmp/buildbot-worker 'localhost:17000' local-worker 'password'
     47buildbot-worker start
     48}}}
     49
     50
     51=== Configuring ews-app ===
     52{{{
     53cd Tools/BuildSlaveSupport/ews-app
     54python manage.py makemigrations
     55python manage.py migrate
     56python manage.py runserver
     57}}}
     58
     59Navigate to http://localhost:8000
     60
     61
     62== Adding a new EWS Queue ==
     63
     64Add a new Builder to the Buildbot configuration appropriately in the source code. Then email admin@webkit.org to request restart/reconfig of the Buildbot server.