Opened 15 years ago

Last modified 13 years ago

#4388 closed bug

Python's test_signal.py fails [Errno -2147454933] Operation not supported — at Initial Version

Reported by: scottmc Owned by: axeld
Priority: normal Milestone: R1
Component: System/POSIX Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

/boot/common/lib/python2.6/test> python 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 27228 handlerA invoked from signal 1 at:

File "/boot/common/lib/python2.6/subprocess.py", line 1123, in wait

pid, sts = os.waitpid(self.pid, 0)

handlerB invoked from signal 18 at:

File "/boot/common/lib/python2.6/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) ... ERROR ERROR test_itimer_real (main.ItimerTest) ... call pause()... ('SIGALRM handler invoked', (14, <frame object at 0x181dbb9c>)) ok test_itimer_virtual (main.ItimerTest) ... ERROR ERROR

====================================================================== ERROR: test_itimer_prof (main.ItimerTest)


Traceback (most recent call last):

File "test_signal.py", line 375, in test_itimer_prof

signal.setitimer(self.itimer, 0.2, 0.2)

ItimerError: [Errno -2147454933] Operation not supported

====================================================================== ERROR: test_itimer_prof (main.ItimerTest)


Traceback (most recent call last):

File "test_signal.py", line 308, in tearDown

signal.setitimer(self.itimer, 0)

ItimerError: [Errno -2147454933] Operation not supported

====================================================================== ERROR: test_itimer_virtual (main.ItimerTest)


Traceback (most recent call last):

File "test_signal.py", line 361, in test_itimer_virtual

signal.setitimer(self.itimer, 0.3, 0.2)

ItimerError: [Errno -2147454933] Operation not supported

====================================================================== ERROR: test_itimer_virtual (main.ItimerTest)


Traceback (most recent call last):

File "test_signal.py", line 308, in tearDown

signal.setitimer(self.itimer, 0)

ItimerError: [Errno -2147454933] Operation not supported


Ran 13 tests in 5.440s

FAILED (errors=4) Traceback (most recent call last):

File "test_signal.py", line 392, in <module>

test_main()

File "test_signal.py", line 388, in test_main

WakeupSignalTests, SiginterruptTest, ItimerTest)

File "/boot/common/lib/python2.6/test/test_support.py", line 722, in run_unittest

_run_suite(suite)

File "/boot/common/lib/python2.6/test/test_support.py", line 705, in _run_suite

raise TestFailed(err)

test.test_support.TestFailed: errors occurred; run in verbose mode for details /boot/common/lib/python2.6/test>

Change History (0)

Note: See TracTickets for help on using tickets.