Closed Bug 644578 Opened 13 years ago Closed 12 years ago

buildbotcustom tests are failing on preproduction

Categories

(Release Engineering :: General, defect, P3)

x86_64
Linux
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: catlee, Unassigned)

Details

(Whiteboard: [tests])

.....EEE.E.EEE.EEEEEE...............................Traceback (most recent call last):
  File "/builds/buildbot/preproduction/sandbox/lib/python2.5/site-packages/Twisted-10.1.0-py2.5-linux-i686.egg/twisted/internet/defer.py", line 397, in _continue
    self.unpause()
  File "/builds/buildbot/preproduction/sandbox/lib/python2.5/site-packages/Twisted-10.1.0-py2.5-linux-i686.egg/twisted/internet/defer.py", line 363, in unpause
    self._runCallbacks()
  File "/builds/buildbot/preproduction/sandbox/lib/python2.5/site-packages/Twisted-10.1.0-py2.5-linux-i686.egg/twisted/internet/defer.py", line 441, in _runCallbacks
    self.result = callback(self.result, *args, **kw)
  File "/builds/buildbot/preproduction/slave/test-masters/buildbotcustom/test/test_test_order.py", line 355, in startBuild
    build = builder.buildFactory.newBuild(requests)
--- <exception caught here> ---
  File "/builds/buildbot/preproduction/slave/test-masters/buildbotcustom/process/factory.py", line 308, in newBuild
    sorted_requests = sorted(requests, key=sortkey)
  File "/builds/buildbot/preproduction/slave/test-masters/buildbotcustom/process/factory.py", line 291, in sortkey
    return int(genBuildID(request.submittedAt))
  File "/builds/buildbot/preproduction/slave/test-masters/buildbotcustom/common.py", line 29, in genBuildID
    return time.strftime("%Y%m%d%H%M%S", time.localtime(now))
exceptions.TypeError: a float is required
...............................
======================================================================
ERROR: testDefaultRepoBranch
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builds/buildbot/preproduction/sandbox/lib/python2.5/site-packages/Twisted-10.1.0-py2.5-linux-i686.egg/twisted/internet/defer.py", line 125, in maybeDeferred
    result = f(*args, **kw)
  File "/builds/buildbot/preproduction/sandbox/lib/python2.5/site-packages/Twisted-10.1.0-py2.5-linux-i686.egg/twisted/internet/utils.py", line 191, in runWithWarningsSuppressed
    result = f(*a, **kw)
  File "/builds/buildbot/preproduction/slave/test-masters/buildbotcustom/test/test_hgpoller.py", line 269, in testDefaultRepoBranch
    self.doTest('default')
  File "/builds/buildbot/preproduction/slave/test-masters/buildbotcustom/test/test_hgpoller.py", line 259, in doTest
    p = TestPoller()
  File "/builds/buildbot/preproduction/slave/test-masters/buildbotcustom/test/test_hgpoller.py", line 252, in __init__
    repo_branch=repo_branch)
  File "/builds/buildbot/preproduction/slave/test-masters/buildbotcustom/changes/hgpoller.py", line 201, in __init__
    BasePoller.__init__(self)
TypeError: unbound method __init__() must be called with BasePoller instance as first argument (got TestPoller instance instead)

======================================================================
ERROR: testNoRepoBranch
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builds/buildbot/preproduction/sandbox/lib/python2.5/site-packages/Twisted-10.1.0-py2.5-linux-i686.egg/twisted/internet/defer.py", line 125, in maybeDeferred
    result = f(*args, **kw)
  File "/builds/buildbot/preproduction/sandbox/lib/python2.5/site-packages/Twisted-10.1.0-py2.5-linux-i686.egg/twisted/internet/utils.py", line 191, in runWithWarningsSuppressed
    result = f(*a, **kw)
  File "/builds/buildbot/preproduction/slave/test-masters/buildbotcustom/test/test_hgpoller.py", line 264, in testNoRepoBranch
    self.doTest(None)
  File "/builds/buildbot/preproduction/slave/test-masters/buildbotcustom/test/test_hgpoller.py", line 259, in doTest
    p = TestPoller()
  File "/builds/buildbot/preproduction/slave/test-masters/buildbotcustom/test/test_hgpoller.py", line 252, in __init__
    repo_branch=repo_branch)
  File "/builds/buildbot/preproduction/slave/test-masters/buildbotcustom/changes/hgpoller.py", line 201, in __init__
    BasePoller.__init__(self)
TypeError: unbound method __init__() must be called with BasePoller instance as first argument (got TestPoller instance instead)

======================================================================
ERROR: testRelbranch
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builds/buildbot/preproduction/sandbox/lib/python2.5/site-packages/Twisted-10.1.0-py2.5-linux-i686.egg/twisted/internet/defer.py", line 125, in maybeDeferred
    result = f(*args, **kw)
  File "/builds/buildbot/preproduction/sandbox/lib/python2.5/site-packages/Twisted-10.1.0-py2.5-linux-i686.egg/twisted/internet/utils.py", line 191, in runWithWarningsSuppressed
    result = f(*a, **kw)
  File "/builds/buildbot/preproduction/slave/test-masters/buildbotcustom/test/test_hgpoller.py", line 274, in testRelbranch
    self.doTest('GECKO20b5pre_20100820_RELBRANCH')
  File "/builds/buildbot/preproduction/slave/test-masters/buildbotcustom/test/test_hgpoller.py", line 259, in doTest
    p = TestPoller()
  File "/builds/buildbot/preproduction/slave/test-masters/buildbotcustom/test/test_hgpoller.py", line 252, in __init__
    repo_branch=repo_branch)
  File "/builds/buildbot/preproduction/slave/test-masters/buildbotcustom/changes/hgpoller.py", line 201, in __init__
    BasePoller.__init__(self)
TypeError: unbound method __init__() must be called with BasePoller instance as first argument (got TestPoller instance instead)

======================================================================
ERROR: testRepositoryIndexParsing
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builds/buildbot/preproduction/sandbox/lib/python2.5/site-packages/Twisted-10.1.0-py2.5-linux-i686.egg/twisted/internet/defer.py", line 125, in maybeDeferred
    result = f(*args, **kw)
  File "/builds/buildbot/preproduction/sandbox/lib/python2.5/site-packages/Twisted-10.1.0-py2.5-linux-i686.egg/twisted/internet/utils.py", line 191, in runWithWarningsSuppressed
    result = f(*a, **kw)
  File "/builds/buildbot/preproduction/slave/test-masters/buildbotcustom/test/test_hgpoller.py", line 83, in testRepositoryIndexParsing
    poller = FakeHgAllLocalesPoller()
  File "/builds/buildbot/preproduction/slave/test-masters/buildbotcustom/test/test_hgpoller.py", line 73, in __init__
    HgAllLocalesPoller.__init__(self, hgURL='fake', repositoryIndex='fake')
  File "/builds/buildbot/preproduction/slave/test-masters/buildbotcustom/changes/hgpoller.py", line 405, in __init__
    BasePoller.__init__(self)
TypeError: unbound method __init__() must be called with BasePoller instance as first argument (got FakeHgAllLocalesPoller instance instead)

======================================================================
ERROR: testHgAllLocalesPoller
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builds/buildbot/preproduction/sandbox/lib/python2.5/site-packages/Twisted-10.1.0-py2.5-linux-i686.egg/twisted/internet/defer.py", line 125, in maybeDeferred
    result = f(*args, **kw)
  File "/builds/buildbot/preproduction/sandbox/lib/python2.5/site-packages/Twisted-10.1.0-py2.5-linux-i686.egg/twisted/internet/utils.py", line 191, in runWithWarningsSuppressed
    result = f(*a, **kw)
  File "/builds/buildbot/preproduction/slave/test-masters/buildbotcustom/test/test_hgpoller.py", line 133, in testHgAllLocalesPoller
    repositoryIndex='foobar')
  File "/builds/buildbot/preproduction/slave/test-masters/buildbotcustom/test/test_hgpoller.py", line 116, in doPollingTest
    self.fp = FakePoller()
  File "/builds/buildbot/preproduction/slave/test-masters/buildbotcustom/test/test_hgpoller.py", line 107, in __init__
    poller.__init__(self, **kwargs)
  File "/builds/buildbot/preproduction/slave/test-masters/buildbotcustom/changes/hgpoller.py", line 405, in __init__
    BasePoller.__init__(self)
TypeError: unbound method __init__() must be called with BasePoller instance as first argument (got FakePoller instance instead)

======================================================================
ERROR: testHgLocalePoller
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builds/buildbot/preproduction/sandbox/lib/python2.5/site-packages/Twisted-10.1.0-py2.5-linux-i686.egg/twisted/internet/defer.py", line 125, in maybeDeferred
    result = f(*args, **kw)
  File "/builds/buildbot/preproduction/sandbox/lib/python2.5/site-packages/Twisted-10.1.0-py2.5-linux-i686.egg/twisted/internet/utils.py", line 191, in runWithWarningsSuppressed
    result = f(*a, **kw)
  File "/builds/buildbot/preproduction/slave/test-masters/buildbotcustom/test/test_hgpoller.py", line 128, in testHgLocalePoller
    hgURL=url, branch='whatever')
  File "/builds/buildbot/preproduction/slave/test-masters/buildbotcustom/test/test_hgpoller.py", line 116, in doPollingTest
    self.fp = FakePoller()
  File "/builds/buildbot/preproduction/slave/test-masters/buildbotcustom/test/test_hgpoller.py", line 107, in __init__
    poller.__init__(self, **kwargs)
  File "/builds/buildbot/preproduction/slave/test-masters/buildbotcustom/changes/hgpoller.py", line 364, in __init__
    BaseHgPoller.__init__(self, hgURL, branch, tree = locale)
TypeError: unbound method __init__() must be called with BaseHgPoller instance as first argument (got FakePoller instance instead)

======================================================================
ERROR: testHgPoller
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builds/buildbot/preproduction/sandbox/lib/python2.5/site-packages/Twisted-10.1.0-py2.5-linux-i686.egg/twisted/internet/defer.py", line 125, in maybeDeferred
    result = f(*args, **kw)
  File "/builds/buildbot/preproduction/sandbox/lib/python2.5/site-packages/Twisted-10.1.0-py2.5-linux-i686.egg/twisted/internet/utils.py", line 191, in runWithWarningsSuppressed
    result = f(*a, **kw)
  File "/builds/buildbot/preproduction/slave/test-masters/buildbotcustom/test/test_hgpoller.py", line 123, in testHgPoller
    return self.doPollingTest(HgPoller, hgURL=url, branch='whatever')
  File "/builds/buildbot/preproduction/slave/test-masters/buildbotcustom/test/test_hgpoller.py", line 116, in doPollingTest
    self.fp = FakePoller()
  File "/builds/buildbot/preproduction/slave/test-masters/buildbotcustom/test/test_hgpoller.py", line 107, in __init__
    poller.__init__(self, **kwargs)
  File "/builds/buildbot/preproduction/slave/test-masters/buildbotcustom/changes/hgpoller.py", line 337, in __init__
    tipsOnly, repo_branch="default")
TypeError: unbound method __init__() must be called with BaseHgPoller instance as first argument (got FakePoller instance instead)

======================================================================
ERROR: testOverrideUrl
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builds/buildbot/preproduction/sandbox/lib/python2.5/site-packages/Twisted-10.1.0-py2.5-linux-i686.egg/twisted/internet/defer.py", line 125, in maybeDeferred
    result = f(*args, **kw)
  File "/builds/buildbot/preproduction/sandbox/lib/python2.5/site-packages/Twisted-10.1.0-py2.5-linux-i686.egg/twisted/internet/utils.py", line 191, in runWithWarningsSuppressed
    result = f(*a, **kw)
  File "/builds/buildbot/preproduction/slave/test-masters/buildbotcustom/test/test_hgpoller.py", line 50, in testOverrideUrl
    pushlogUrlOverride='http://hg.mozilla.org/other_repo/json-pushes?full=1')
  File "/builds/buildbot/preproduction/slave/test-masters/buildbotcustom/changes/hgpoller.py", line 201, in __init__
    BasePoller.__init__(self)
TypeError: unbound method __init__() must be called with BasePoller instance as first argument (got BaseHgPoller instance instead)

======================================================================
ERROR: testSimpleUrl
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builds/buildbot/preproduction/sandbox/lib/python2.5/site-packages/Twisted-10.1.0-py2.5-linux-i686.egg/twisted/internet/defer.py", line 125, in maybeDeferred
    result = f(*args, **kw)
  File "/builds/buildbot/preproduction/sandbox/lib/python2.5/site-packages/Twisted-10.1.0-py2.5-linux-i686.egg/twisted/internet/utils.py", line 191, in runWithWarningsSuppressed
    result = f(*a, **kw)
  File "/builds/buildbot/preproduction/slave/test-masters/buildbotcustom/test/test_hgpoller.py", line 17, in testSimpleUrl
    poller = BaseHgPoller(hgURL='http://hg.mozilla.org', branch='mozilla-central')
  File "/builds/buildbot/preproduction/slave/test-masters/buildbotcustom/changes/hgpoller.py", line 201, in __init__
    BasePoller.__init__(self)
TypeError: unbound method __init__() must be called with BasePoller instance as first argument (got BaseHgPoller instance instead)

======================================================================
ERROR: testTipsOnlyUrl
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builds/buildbot/preproduction/sandbox/lib/python2.5/site-packages/Twisted-10.1.0-py2.5-linux-i686.egg/twisted/internet/defer.py", line 125, in maybeDeferred
    result = f(*args, **kw)
  File "/builds/buildbot/preproduction/sandbox/lib/python2.5/site-packages/Twisted-10.1.0-py2.5-linux-i686.egg/twisted/internet/utils.py", line 191, in runWithWarningsSuppressed
    result = f(*a, **kw)
  File "/builds/buildbot/preproduction/slave/test-masters/buildbotcustom/test/test_hgpoller.py", line 31, in testTipsOnlyUrl
    tipsOnly=True)
  File "/builds/buildbot/preproduction/slave/test-masters/buildbotcustom/changes/hgpoller.py", line 201, in __init__
    BasePoller.__init__(self)
TypeError: unbound method __init__() must be called with BasePoller instance as first argument (got BaseHgPoller instance instead)

======================================================================
ERROR: testTipsOnlyWithLastChangeset
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builds/buildbot/preproduction/sandbox/lib/python2.5/site-packages/Twisted-10.1.0-py2.5-linux-i686.egg/twisted/internet/defer.py", line 125, in maybeDeferred
    result = f(*args, **kw)
  File "/builds/buildbot/preproduction/sandbox/lib/python2.5/site-packages/Twisted-10.1.0-py2.5-linux-i686.egg/twisted/internet/utils.py", line 191, in runWithWarningsSuppressed
    result = f(*a, **kw)
  File "/builds/buildbot/preproduction/slave/test-masters/buildbotcustom/test/test_hgpoller.py", line 42, in testTipsOnlyWithLastChangeset
    branch='releases/mozilla-1.9.1', tipsOnly=True)
  File "/builds/buildbot/preproduction/slave/test-masters/buildbotcustom/changes/hgpoller.py", line 201, in __init__
    BasePoller.__init__(self)
TypeError: unbound method __init__() must be called with BasePoller instance as first argument (got BaseHgPoller instance instead)

======================================================================
ERROR: testUrlWithLastChangeset
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builds/buildbot/preproduction/sandbox/lib/python2.5/site-packages/Twisted-10.1.0-py2.5-linux-i686.egg/twisted/internet/defer.py", line 125, in maybeDeferred
    result = f(*args, **kw)
  File "/builds/buildbot/preproduction/sandbox/lib/python2.5/site-packages/Twisted-10.1.0-py2.5-linux-i686.egg/twisted/internet/utils.py", line 191, in runWithWarningsSuppressed
    result = f(*a, **kw)
  File "/builds/buildbot/preproduction/slave/test-masters/buildbotcustom/test/test_hgpoller.py", line 23, in testUrlWithLastChangeset
    poller = BaseHgPoller(hgURL='http://hg.mozilla.org', branch='mozilla-central')
  File "/builds/buildbot/preproduction/slave/test-masters/buildbotcustom/changes/hgpoller.py", line 201, in __init__
    BasePoller.__init__(self)
TypeError: unbound method __init__() must be called with BasePoller instance as first argument (got BaseHgPoller instance instead)

======================================================================
ERROR: testUrlWithUnicodeLastChangeset
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builds/buildbot/preproduction/sandbox/lib/python2.5/site-packages/Twisted-10.1.0-py2.5-linux-i686.egg/twisted/internet/defer.py", line 125, in maybeDeferred
    result = f(*args, **kw)
  File "/builds/buildbot/preproduction/sandbox/lib/python2.5/site-packages/Twisted-10.1.0-py2.5-linux-i686.egg/twisted/internet/utils.py", line 191, in runWithWarningsSuppressed
    result = f(*a, **kw)
  File "/builds/buildbot/preproduction/slave/test-masters/buildbotcustom/test/test_hgpoller.py", line 57, in testUrlWithUnicodeLastChangeset
    poller = BaseHgPoller(hgURL='http://hg.mozilla.org', branch='mozilla-central')
  File "/builds/buildbot/preproduction/slave/test-masters/buildbotcustom/changes/hgpoller.py", line 201, in __init__
    BasePoller.__init__(self)
TypeError: unbound method __init__() must be called with BasePoller instance as first argument (got BaseHgPoller instance instead)

----------------------------------------------------------------------
Ran 83 tests in 1812.065s
I temporarily set flunkOnFailure=False for buildbotcustom tests. At least we'll be aware of failing checkconfigs.
Priority: -- → P3
Assignee: catlee → nobody
I think these are fixed.
http://hg.mozilla.org/build/preproduction/rev/6b301183cb3f
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Product: mozilla.org → Release Engineering
You need to log in before you can comment on or make changes to this bug.