testrunner should log currently running test so our test-killer can tell us

Bug #202119 reported by Christian Reis
2
Affects Status Importance Assigned to Milestone
Launchpad itself
Won't Fix
Undecided
Unassigned

Bug Description

The test killer that aborts tests that have run for more than a few seconds does so without making sure we can actually know what hung. Perhaps this is caused by buffering of the output. Given it's kicked in in a few instances where we have no idea why it happened (the log output says middle-of-pagetests, which I find unlikely) it would be nice to know exactly what it killed.

Stuart suggests having BaseLayer.testSetup leave a log of what test is running, and having the test killer read that and output it after it's finished its work.

I thought including ps auxww output might be helpful as well.

Revision history for this message
Francis J. Lacoste (flacoste) wrote :

The buffering problem was fixed in the zope testrunner, so this shouldn't be needed anymore.

Changed in launchpad:
status: New → Won't Fix
Revision history for this message
Māris Fogels (mars) wrote :

Running "test.py -vv" will print out the currently running test. Since the print buffers are flushed after the the test completes, we know which test was the last one to start, and we also know which test was killed.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.