Changeset 73895 in webkit


Ignore:
Timestamp:
Dec 13, 2010 2:19:10 AM (13 years ago)
Author:
eric@webkit.org
Message:

2010-12-13 Eric Seidel <eric@webkit.org>

Reviewed by Adam Barth.

EWS Queues should remove orpahned pyc files before starting
https://bugs.webkit.org/show_bug.cgi?id=50904

A previous check added a platform.py which caused
EWS bots on some platforms to hit an import exception.
The platform.py file was removed in a subsequent commit, but
the EWS bots in question stayed stuck. This change will
fix those bots once restarted (and prevent this in the future).

I also went ahead and unified start-queue and start-commit-queue
since they were nearly identical. I also added bot_id support
to both force all EWSes to have bot ids as well as get rid of the one
remaining reason why I had my own copies of these scripts.
Hopefully this will be enough to get all the other bot admins
(ahem, Adam, ahem) to move to using these checked in copies as well.

  • EWSTools/start-commit-queue.sh: Removed.
  • EWSTools/start-queue.sh:
Location:
trunk/WebKitTools
Files:
1 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebKitTools/ChangeLog

    r73886 r73895  
     12010-12-13  Eric Seidel  <eric@webkit.org>
     2
     3        Reviewed by Adam Barth.
     4
     5        EWS Queues should remove orpahned pyc files before starting
     6        https://bugs.webkit.org/show_bug.cgi?id=50904
     7
     8        A previous check added a platform.py which caused
     9        EWS bots on some platforms to hit an import exception.
     10        The platform.py file was removed in a subsequent commit, but
     11        the EWS bots in question stayed stuck.  This change will
     12        fix those bots once restarted (and prevent this in the future).
     13
     14        I also went ahead and unified start-queue and start-commit-queue
     15        since they were nearly identical.  I also added bot_id support
     16        to both force all EWSes to have bot ids as well as get rid of the one
     17        remaining reason why I had my own copies of these scripts.
     18        Hopefully this will be enough to get all the other bot admins
     19        (ahem, Adam, ahem) to move to using these checked in copies as well.
     20
     21        * EWSTools/start-commit-queue.sh: Removed.
     22        * EWSTools/start-queue.sh:
     23
    1242010-10-28  MORITA Hajime  <morrita@google.com>
    225
  • trunk/WebKitTools/EWSTools/start-queue.sh

    r73240 r73895  
    2828# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
    2929
     30if [[ $# -ne 2 ]];then
     31echo "Usage: start-queue.sh QUEUE_NAME BOT_ID"
     32echo
     33echo "QUEUE_NAME will be passed as a command to webkit-patch"
     34echo "QUEUE_NAME will also be used as the path to the queue: /mnt/git/webkit-QUEUE_NAME"
     35echo "BOT_ID may not have spaces. It will appear as the bots name on queues.webkit.org"
     36echo
     37echo "For example, to run the mac-ews on a machine we're calling 'eseidel-cq-sf' run:"
     38echo "start-queue.sh mac-ews eseidel-cq-sf"
     39exit 1
     40fi
     41
    3042cd /mnt/git/webkit-$1
    3143while :
    3244do
    33   git reset --hard
     45  git reset --hard trunk
    3446  git clean -f
     47  git rebase --abort
    3548  git fetch
    3649  git svn rebase
    37   ./WebKitTools/Scripts/webkit-patch $1 --no-confirm --exit-after-iteration 10
     50  # test-webkitpy has code to remove orphaned .pyc files, so we
     51  # run it before running webkit-patch to avoid stale .pyc files
     52  # preventing webkit-patch from launching.
     53  ./WebKitTools/Scripts/test-webkitpy
     54  ./WebKitTools/Scripts/webkit-patch $1 --bot-id=$2 --no-confirm --exit-after-iteration 10
    3855done
Note: See TracChangeset for help on using the changeset viewer.