[issue12550] regrtest: register SIGALRM signal using faulthandler

STINNER Victor report at bugs.python.org
Thu Jul 14 02:37:21 CEST 2011


STINNER Victor <victor.stinner at haypocalc.com> added the comment:

My patch doesn't work: the traceback is not printed:
--------------------------
$ ./python -m test -v -u network -F test_threadsignals
(...)
[106] test_socketserver
(...)
test_UnixStreamServer (test.test_socketserver.SocketServerTest) ... creating server
ADDR = /tmp/unix_socket.wuwy8y
CLASS = <class 'socketserver.UnixStreamServer'>
server running
test client 0
test client 1
test client 2
waiting for server
done
ok
test_shutdown (test.test_socketserver.SocketServerTest) ... Alarm clock: 14
--------------------------

SocketServerTest uses a timeout of 20 seconds implemented using signal.alarm(). I suppose that the timeout is too small for this very slow buildbot.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12550>
_______________________________________


More information about the Python-bugs-list mailing list