launchpad-dev team mailing list archive
-
launchpad-dev team
-
Mailing list archive
-
Message #03208
lib/lp/bugs/tests/bugtarget-bugcount.txt very, very, very carefully tested
Hello,
A failure during an ec2 test in lib/lp/bugs/tests/bugtarget-bugcount.txt
gave me this summary in the report mail:
Tests with failures:
lib/canonical/launchpad/ftests/../../../lp/bugs/tests/bugs-emailinterface.txt
lib/lp/bugs/tests/bugtarget-bugcount.txt
lib/lp/bugs/tests/bugtarget-bugcount.txt
lib/lp/bugs/tests/bugtarget-bugcount.txt
lib/lp/bugs/tests/bugtarget-bugcount.txt
lib/lp/bugs/tests/bugtarget-bugcount.txt
lib/lp/bugs/tests/bugtarget-bugcount.txt
lib/lp/bugs/tests/bugtarget-bugcount.txt
Total: 25957 tests, 8 failures, 5 errors in 183 minutes 12.438 seconds.
So, bugtarget-bugcount.txt is tested seven times; the failure count is
also slightly too high...
If I run "./bin/test -vvt bugtarget-bugcount.txt", the test is also
executed more than once. Does anybody know what is going on here? Could
this partially explain our quite long test times, assuming that other
tests also also executed more than once?
This is not related to my branch; running the test on devel shows the
same behaviour. For devel, I get this:
./bin/test -vvt bugtarget-bugcount.txt
Running tests at level 1
Running canonical.testing.layers.LaunchpadFunctionalLayer tests:
Set up canonical.testing.layers.BaseLayer in 0.004 seconds.
Set up canonical.testing.layers.DatabaseLayer in 0.293 seconds.
Set up canonical.testing.layers.LibrarianLayer in 16.232 seconds.
Set up canonical.testing.layers.MemcachedLayer in 0.134 seconds.
Set up canonical.testing.layers.LaunchpadLayer in 0.000 seconds.
Set up canonical.testing.layers.FunctionalLayer in 5.614 seconds.
Set up canonical.testing.layers.LaunchpadFunctionalLayer in 0.000 seconds.
Running:
lib/lp/bugs/tests/bugtarget-bugcount.txt
lib/lp/bugs/tests/bugtarget-bugcount.txt
lib/lp/bugs/tests/bugtarget-bugcount.txt
lib/lp/bugs/tests/bugtarget-bugcount.txt
lib/lp/bugs/tests/bugtarget-bugcount.txt
lib/lp/bugs/tests/bugtarget-bugcount.txt
lib/lp/bugs/tests/bugtarget-bugcount.txt
Ran 42 tests with 0 failures and 0 errors in 44.211 seconds.
Tearing down left over layers:
Tear down canonical.testing.layers.LaunchpadFunctionalLayer in 0.000
seconds.
Tear down canonical.testing.layers.LaunchpadLayer in 0.000 seconds.
Tear down canonical.testing.layers.LibrarianLayer in 0.003 seconds.
Tear down canonical.testing.layers.MemcachedLayer in 0.117 seconds.
Tear down canonical.testing.layers.FunctionalLayer ... not supported
Tear down canonical.testing.layers.DatabaseLayer in 0.309 seconds.
Tear down canonical.testing.layers.BaseLayer in 0.000 seconds.
Abel
Follow ups