Changeset 56754 in webkit


Ignore:
Timestamp:
Mar 29, 2010 6:07:53 PM (14 years ago)
Author:
eric@webkit.org
Message:

2010-03-29 Eric Seidel <eric@webkit.org>

Reviewed by Adam Barth.

sheriff-bot fails to get information about certain builds
https://bugs.webkit.org/show_bug.cgi?id=36768

This seems to be caused by:
http://buildbot.net/trac/ticket/753
I have no work-around, but for now at least we're logging
the error better. I also added allow_none to our ServerProxy
creation in case that fixes things for other versions of python.

  • Scripts/webkitpy/common/net/buildbot.py:
Location:
trunk/WebKitTools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebKitTools/ChangeLog

    r56753 r56754  
     12010-03-29  Eric Seidel  <eric@webkit.org>
     2
     3        Reviewed by Adam Barth.
     4
     5        sheriff-bot fails to get information about certain builds
     6        https://bugs.webkit.org/show_bug.cgi?id=36768
     7
     8        This seems to be caused by:
     9        http://buildbot.net/trac/ticket/753
     10        I have no work-around, but for now at least we're logging
     11        the error better.  I also added allow_none to our ServerProxy
     12        creation in case that fixes things for other versions of python.
     13
     14        * Scripts/webkitpy/common/net/buildbot.py:
     15
    1162010-03-29  Victor Wang  <victorw@chromium.org>
    217
  • trunk/WebKitTools/Scripts/webkitpy/common/net/buildbot.py

    r56602 r56754  
    310310        # The buildbot XMLRPC API is super-limited.
    311311        # For one, you cannot fetch info on builds which are incomplete.
    312         proxy = xmlrpclib.ServerProxy("http://%s/xmlrpc" % self.buildbot_host)
     312        proxy = xmlrpclib.ServerProxy("http://%s/xmlrpc" % self.buildbot_host, allow_none=True)
    313313        try:
    314314            return proxy.getBuild(builder.name(), int(build_number))
    315315        except xmlrpclib.Fault, err:
    316316            build_url = Build.build_url(builder, build_number)
    317             log("Error fetching data for %s build %s (%s)" % (builder.name(), build_number, build_url))
     317            log("Error fetching data for %s build %s (%s): %s" % (builder.name(), build_number, build_url, err))
    318318            return None
    319319
Note: See TracChangeset for help on using the changeset viewer.