← Back to team overview

launchpad-dev team mailing list archive

test_min_time_to_next_builder failing

 

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I'm getting test failures in stable.  Both my devel and test machine are
affected.

I've done make clean and make schema, updated my download-cache and my
sourcecode, and still I get test failures.  Can anyone help?  See below:


Failure in test test_min_time_to_next_builder
(lp.buildmaster.tests.test_buildqueue.TestMinTimeToNextBuilder)
Traceback (most recent call last):
_StringException: Text attachment: traceback
- ------------
Traceback (most recent call last):
  File
"/home/abentley/launchpad/stable/eggs/testtools-0.9.2-py2.5.egg/testtools/runtest.py",
line 128, in _run_user
    return fn(*args)
  File
"/home/abentley/launchpad/stable/eggs/testtools-0.9.2-py2.5.egg/testtools/testcase.py",
line 368, in _run_test_method
    testMethod()
  File
"/home/abentley/launchpad/stable/lib/lp/buildmaster/tests/test_buildqueue.py",
line 580, in test_min_time_to_next_builder
    check_mintime_to_builder(self, apg_job, 30)
  File
"/home/abentley/launchpad/stable/lib/lp/buildmaster/tests/test_buildqueue.py",
line 109, in check_mintime_to_builder
    % (delay, min_time))
  File "/usr/lib/python2.5/unittest.py", line 309, in failUnless
    if not expr: raise self.failureException, msg
AssertionError: Wrong min time to next available builder (120 > 30)
- ------------


.

Failure in test test_min_time_to_next_builder
(lp.buildmaster.tests.test_buildqueue.TestMinTimeToNextBuilderMulti)
Traceback (most recent call last):
_StringException: Text attachment: traceback
- ------------
Traceback (most recent call last):
  File
"/home/abentley/launchpad/stable/eggs/testtools-0.9.2-py2.5.egg/testtools/runtest.py",
line 128, in _run_user
    return fn(*args)
  File
"/home/abentley/launchpad/stable/eggs/testtools-0.9.2-py2.5.egg/testtools/testcase.py",
line 368, in _run_test_method
    testMethod()
  File
"/home/abentley/launchpad/stable/lib/lp/buildmaster/tests/test_buildqueue.py",
line 747, in test_min_time_to_next_builder
    check_mintime_to_builder(self, apg_job, 30)
  File
"/home/abentley/launchpad/stable/lib/lp/buildmaster/tests/test_buildqueue.py",
line 109, in check_mintime_to_builder
    % (delay, min_time))
  File "/usr/lib/python2.5/unittest.py", line 309, in failUnless
    if not expr: raise self.failureException, msg
AssertionError: Wrong min time to next available builder (120 > 30)
- ------------



  Ran 2 tests with 2 failures and 0 errors in 6.800 seconds.
Tearing down left over layers:
  Tear down canonical.testing.layers.LaunchpadZopelessLayer in 0.000
seconds.
  Tear down canonical.testing.layers.LaunchpadScriptLayer ... not supported
  Tear down canonical.testing.layers.ZopelessLayer ... not supported
  Tear down canonical.testing.layers.LaunchpadLayer in 0.000 seconds.
  Tear down canonical.testing.layers.LibrarianLayer in 0.518 seconds.
  Tear down canonical.testing.layers.MemcachedLayer in 5.014 seconds.
  Tear down canonical.testing.layers.DatabaseLayer in 0.193 seconds.
  Tear down canonical.testing.layers.BaseLayer in 0.000 seconds.

Tests with failures:
   test_min_time_to_next_builder
(lp.buildmaster.tests.test_buildqueue.TestMinTimeToNextBuilder)
   test_min_time_to_next_builder
(lp.buildmaster.tests.test_buildqueue.TestMinTimeToNextBuilderMulti)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkuWpiEACgkQ0F+nu1YWqI19GACfdFF7X9m9SD0wfIQN7zs4ak99
HlAAn1UuGkji3222Zt5+91DiLO72ko0g
=J1g2
-----END PGP SIGNATURE-----



Follow ups