Author dmauldin
Recipients dmauldin
Date 2009-05-08.21:20:11
SpamBayes Score 7.9462e-09
Marked as misclassified No
Message-id <1241817614.78.0.115572621899.issue5972@psf.upfronthosting.co.za>
In-reply-to
Content
Building python 2.6.2 on red hat linux 4.1.2-44 fails test_signal.py

cat /proc/version
Linux version 2.6.18-128.1.6.el5 (mockbuild@builder10.centos.org) (gcc
version 4.1.2 20080704 (Red Hat 4.1.2-44)) #1 SMP Wed Apr 1 09:10:25 EDT
2009

Failed when running make test, failed when running test for the first
time, completed after running test again, then failed when running for a
3rd time.  

./python ./Lib/test/test_signal.py
test_getsignal (__main__.BasicSignalTests) ... ok
test_out_of_range_signal_number_raises_error (__main__.BasicSignalTests)
... ok
test_setting_signal_handler_to_none_raises_error
(__main__.BasicSignalTests) ... ok
test_main (__main__.InterProcessSignalTests) ... test runner's pid is 16310
handlerA invoked from signal 1 at:
  File "/local/python/src/Python-2.6.2/Lib/subprocess.py", line 1123, in
wait
    pid, sts = os.waitpid(self.pid, 0)

handlerB invoked from signal 10 at:
  File "/local/python/src/Python-2.6.2/Lib/subprocess.py", line 1123, in
wait
    pid, sts = os.waitpid(self.pid, 0)

HandlerBCalled exception caught
KeyboardInterrupt (the alarm() went off)
ok
test_wakeup_fd_during (__main__.WakeupSignalTests) ... ok
test_wakeup_fd_early (__main__.WakeupSignalTests) ... ok
test_siginterrupt_off (__main__.SiginterruptTest) ... ok
test_siginterrupt_on (__main__.SiginterruptTest) ... ok
test_without_siginterrupt (__main__.SiginterruptTest) ... ok
test_itimer_exc (__main__.ItimerTest) ... ok
test_itimer_prof (__main__.ItimerTest) ... ('SIGPROF handler invoked',
(27, <frame object at 0x1edab860>))
ok
test_itimer_real (__main__.ItimerTest) ...
call pause()...
('SIGALRM handler invoked', (14, <frame object at 0x1edabf30>))
ok
test_itimer_virtual (__main__.ItimerTest) ... FAIL

======================================================================
FAIL: test_itimer_virtual (__main__.ItimerTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./Lib/test/test_signal.py", line 368, in test_itimer_virtual
    self.assertEquals(signal.getitimer(self.itimer), (0.0, 0.0))
AssertionError: (0.29595500000000002, 0.20096900000000001) != (0.0, 0.0)


----------------------------------------------------------------------
Ran 13 tests in 66.251s

FAILED (failures=1)
Traceback (most recent call last):
  File "./Lib/test/test_signal.py", line 392, in <module>
    test_main()
  File "./Lib/test/test_signal.py", line 388, in test_main
    WakeupSignalTests, SiginterruptTest, ItimerTest)
  File "/local/python/src/Python-2.6.2/Lib/test/test_support.py", line
722, in run_unittest
    _run_suite(suite)
  File "/local/python/src/Python-2.6.2/Lib/test/test_support.py", line
705, in _run_suite
    raise TestFailed(err)
test.test_support.TestFailed: Traceback (most recent call last):
  File "./Lib/test/test_signal.py", line 368, in test_itimer_virtual
    self.assertEquals(signal.getitimer(self.itimer), (0.0, 0.0))
AssertionError: (0.29595500000000002, 0.20096900000000001) != (0.0, 0.0)
History
Date User Action Args
2009-05-08 21:20:14dmauldinsetrecipients: + dmauldin
2009-05-08 21:20:14dmauldinsetmessageid: <1241817614.78.0.115572621899.issue5972@psf.upfronthosting.co.za>
2009-05-08 21:20:13dmauldinlinkissue5972 messages
2009-05-08 21:20:11dmauldincreate