[ZCM] [ZC] 2053/ 4 Comment "testrunner hard to kill with ctrl-C"

Collector: Zope Bugs, Features, and Patches ... zope-coders-admin at zope.org
Mon Apr 3 10:43:28 EDT 2006


Issue #2053 Update (Comment) "testrunner hard to kill with ctrl-C"
 Status Pending, Zope/bug medium
To followup, visit:
  http://www.zope.org/Collectors/Zope/2053

==============================================================
= Comment - Entry #4 by efge on Apr 3, 2006 10:43 am

Same thing here on Mac OS X, although it doesn't happen as often as it used to.

________________________________________
= Edit - Entry #3 by chrisw on Mar 24, 2006 9:15 am

 Changes: submitter email, edited transcript, importance (low => medium), new comment

Upping priority, this regularly bites me and the people I work with. It's horiffic having to try and use ps and kill when interspersed with dots :-(
________________________________________
= Comment - Entry #2 by tseaver on Mar 23, 2006 5:18 pm

This problem hits me almost *any* time I Ctrl-C when running tests.

I would rate it higher, on the grounds that anything which makes
running tests harder / more painful is going to tempt people to
check in without running them all.

________________________________________
= Request - Entry #1 by slinkp on Mar 23, 2006 12:40 pm

Sending sigterm (Ctrl-C) while running "bin/zopectl test -v" is a bit unreliable. I get the prompt back but sometimes there seems to be a second python process that isn't killed. I have to find it with ps and kill it with kill, which is a bit hard to do while it's still spewing output onto my terminal...  

This is hard to reproduce, it seems to depend on when you send sigterm. In an instance with CMF installed, I reliably get this behavior if i wait till I start seeing DeprecationWarnings on the screen from product code, and immediately hit Ctrl-C.  If I do it earlier, I don't get the problem. If I wait till tests are actually reporting success or failure, again everything's fine.

Really not urgent, but worth a bug report I guess.
I would rate this lower than "low" if I could :-)
==============================================================



More information about the Zope-Collector-Monitor mailing list