Changeset 64995 in webkit


Ignore:
Timestamp:
Aug 9, 2010 11:33:03 AM (14 years ago)
Author:
eric@webkit.org
Message:

2010-08-09 Eric Seidel <eric@webkit.org>

Reviewed by Adam Barth.

EWS bots wait 2 minutes between patches
https://bugs.webkit.org/show_bug.cgi?id=43731

  • Scripts/webkitpy/tool/bot/queueengine.py:
    • Don't sleep after failures. This was a hold-over from an earlier design.
  • Scripts/webkitpy/tool/commands/earlywarningsystem.py:
    • EWS bots were not properly reporting true/false from process_work_item. They were always returning None, thus false, thus always logging as a failure and sleeping 2 minutes after each patch.
Location:
trunk/WebKitTools
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebKitTools/ChangeLog

    r64985 r64995  
     12010-08-09  Eric Seidel  <eric@webkit.org>
     2
     3        Reviewed by Adam Barth.
     4
     5        EWS bots wait 2 minutes between patches
     6        https://bugs.webkit.org/show_bug.cgi?id=43731
     7
     8        * Scripts/webkitpy/tool/bot/queueengine.py:
     9         - Don't sleep after failures.  This was a hold-over from
     10           an earlier design.
     11        * Scripts/webkitpy/tool/commands/earlywarningsystem.py:
     12         - EWS bots were not properly reporting true/false from process_work_item.
     13           They were always returning None, thus false, thus always logging
     14           as a failure and sleeping 2 minutes after each patch.
     15
    1162010-08-09  Sam Weinig  <sam@webkit.org>
    217
  • trunk/WebKitTools/Scripts/webkitpy/tool/bot/queueengine.py

    r60903 r64995  
    108108                try:
    109109                    if not self._delegate.process_work_item(work_item):
    110                         self._sleep("Unable to process work item.")
     110                        log("Unable to process work item.")
     111                        continue
    111112                except ScriptError, e:
    112113                    # Use a special exit code to indicate that the error was already
  • trunk/WebKitTools/Scripts/webkitpy/tool/commands/earlywarningsystem.py

    r59821 r64995  
    153153        if not self._committers.committer_by_email(patch.attacher_email()):
    154154            self._did_error(patch, "%s cannot process patches from non-committers :(" % self.name)
    155             return
    156         AbstractEarlyWarningSystem.process_work_item(self, patch)
     155            return False
     156        return AbstractEarlyWarningSystem.process_work_item(self, patch)
    157157
    158158
Note: See TracChangeset for help on using the changeset viewer.