Comment 2 for bug 620388

Revision history for this message
Robert Collins (lifeless) wrote : Re: testr lies with some ec2 log files

Works for me - the load line shows:

....

ZopelessLayer.testSetUp 2445 calls taking 1.9s.
ZopelessLayer.testTearDown 2445 calls taking negligible time.

Total duration of profiled methods 2284.9 seconds.

Total duration of test run 12725.0 seconds.

Tests failed (exit code 1)
make: *** [check] Error 1
======================================================================
FAIL: distribution_txt
----------------------------------------------------------------------
Text attachment: traceback
------------
Traceback (most recent call last):
  File "/usr/lib/python2.6/unittest.py", line 279, in run
    testMethod()
  File "/usr/lib/python2.6/doctest.py", line 2152, in runTest
    raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for distribution.txt
  File "lib/lp/soyuz/tests/../doc/distribution.txt", line 0

----------------------------------------------------------------------
File "lib/lp/soyuz/tests/../doc/distribution.txt", line 86, in distribution.txt
Failed example:
    gentoo.newSeries('gentoo-two', 'Gentoo Two',
                     'Gentoo Two Dot Oh', 'Gentoo 2', 'G2',
                     '2.0', None, gentoo.owner)
Differences (ndiff with -expected +actual):
      Traceback (most recent call last):
    - ...
    + File "/usr/lib/python2.6/doctest.py", line 1248, in __run
    + compileflags, 1) in test.globs
    + File "<doctest distribution.txt[19]>", line 1, in <module>
    + gentoo.newSeries('gentoo-two', 'Gentoo Two',
    - Unauthorized: (<Distribution...>, 'newSeries', 'launchpad.Append')
    ? ^^^ ^^^ ^^
    + Unauthorized: (<Distribution 'Gentoo' (gentoo)>, 'newSeries', 'launchpad.Moderate')
    ? ^^^^^^^^^^^^^^^^^^ ^^^ ^^^^

------------
id: 0 tests: 9540 failures: 1 skips: 23