This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author neologix
Recipients neologix, pitrou, python-dev, vstinner
Date 2011-06-21.19:09:54
SpamBayes Score 3.8885933e-06
Marked as misclassified No
Message-id <BANLkTi=q8c5tfUqzY1ztk3AM0T6OL_+L3Q@mail.gmail.com>
In-reply-to <1308605297.79.0.691923235941.issue12363@psf.upfronthosting.co.za>
Content
The test still fails on FreeBSD 7.2, Tiger and Debian parallel:

"""
======================================================================
FAIL: test_siginterrupt_on (test.test_signal.SiginterruptTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/home/db3l/buildarea/3.x.bolen-freebsd7/build/Lib/test/test_signal.py",
line 379, in test_siginterrupt_on
    self.assertTrue(interrupted)
AssertionError: False is not true

======================================================================
FAIL: test_without_siginterrupt (test.test_signal.SiginterruptTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/home/db3l/buildarea/3.x.bolen-freebsd7/build/Lib/test/test_signal.py",
line 372, in test_without_siginterrupt
    self.assertTrue(interrupted)
AssertionError: False is not true
"""

Here's a sample strace output on my Linux box when it fails:

2120  21:00:18.755448 rt_sigaction(SIGALRM, {0x810b332, [], 0}, NULL,
8) = 0 <0.000019>
2120  21:00:18.755690 alarm(1)          = 0 <0.000024>
2120  21:00:18.755803 read(3,  <unfinished ...>
[...]
2120  21:00:19.755811 <... read resumed> 0xb72cad90, 1) = ?
ERESTARTSYS (To be restarted) <0.999973>
2120  21:00:19.755864 --- SIGALRM (Alarm clock) @ 0 (0) ---
2120  21:00:19.756094 sigreturn()       = ? (mask now []) <0.000019>
2120  21:00:19.756434 alarm(1)          = 0 <0.000023>
2120  21:00:19.756547 read(3,  <unfinished ...>

sigaction is called without SA_RESTART, but the syscall is restarted anyway...
Apart from removing those tests, I don't see what we can do here.
History
Date User Action Args
2011-06-21 19:09:55neologixsetrecipients: + neologix, pitrou, vstinner, python-dev
2011-06-21 19:09:54neologixlinkissue12363 messages
2011-06-21 19:09:54neologixcreate