← Back to team overview

launchpad-dev team mailing list archive

ec2 is running the Windmill suite again

 

Hi everyone,

ec2 is once again running the Windmill test suite. The test suite hangs were being caused by a cascade of failures through the test infrastructure. I have fixed the root cause, and have other branches queued up to address additional failure points.

You may see messages like this in your test summary output:

ERROR DISABLED: Test left new live threads: [<Thread(Thread-1633, started daemon)>]
======================================================================
ERROR: lp.bugs.windmill.tests.test_bug_me_too.TestMeToo.test_me_too (subunit.RemotedTestCase)
----------------------------------------------------------------------
_StringException: Text attachment: garbage
------------
[<Thread(Thread-1633, started daemon)>]
------------

You can ignore them, just as the test suite does.  The suite will still pass.


FWIW, windmill was not the culprit here: zope.testing was the source. Windmill starts a Python BaseHTTPServer in a new thread to do its work. That thread races to shut down before the test cleanup finds it. If if loses the race, the testrunner will print "Test left behind new threads" in a benign message. Unfortunately, zope.testing itself would hang attempting to print the "Test left new threads" message, starting the cascade.

A quick update on ec2test returning false SUCCESS messages: I have found what I believe to be the root of the problem, and have a patch pending that should fix it. I will update everyone again when it lands.


Maris