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 skrah
Recipients aimacintyre, eric.smith, gpolo, mark.dickinson, r.david.murray, skrah, vstinner
Date 2010-04-19.10:55:59
SpamBayes Score 1.1788276e-10
Marked as misclassified No
Message-id <1271674562.71.0.500951780983.issue8424@psf.upfronthosting.co.za>
In-reply-to
Content
test_itimer_virtual assumes that a process must get 0.3s of virtual
time within 5s of real time. This is not true:

I can easily make the test fail even on a fast machine by doing
as root (do it n times for n cores):

nice -n -19 sh -c 'echo "1234^123456789" | bc'


======================================================================
FAIL: test_itimer_prof (__main__.ItimerTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "Lib/test/test_signal.py", line 401, in test_itimer_prof
    self.fail('timeout waiting for sig_prof signal')
AssertionError: timeout waiting for sig_prof signal

======================================================================
FAIL: test_itimer_virtual (__main__.ItimerTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "Lib/test/test_signal.py", line 379, in test_itimer_virtual
    (signal.getitimer(self.itimer),))
AssertionError: timeout waiting for sig_vtalrm signal; signal.getitimer(self.itimer) gives: (0.200012, 0.200012)
History
Date User Action Args
2010-04-19 10:56:03skrahsetrecipients: + skrah, aimacintyre, mark.dickinson, vstinner, eric.smith, gpolo, r.david.murray
2010-04-19 10:56:02skrahsetmessageid: <1271674562.71.0.500951780983.issue8424@psf.upfronthosting.co.za>
2010-04-19 10:56:00skrahlinkissue8424 messages
2010-04-19 10:55:59skrahcreate