[Python-Dev] test_posix, test_random failing

M.-A. Lemburg mal@lemburg.com
Thu, 20 Feb 2003 12:31:43 +0100

My nightly cronjob has issued two warnings for the CVS checkout
at 02:00 CET today:

test test_posix failed -- Traceback (most recent call last):
   File "/home/lemburg/projects/Python/Dev-Python/Lib/test/test_posix.py", line 39, in testNoArgFunctions
OSError: [Errno 25] Inappropriate ioctl for device

The traceback is not very helpful I'm afraid and when I run the
test by hand I can't reproduce it.

test test_random failed -- Traceback (most recent call last):
   File "/home/lemburg/projects/Python/Dev-Python/Lib/test/test_random.py", line 25, in test_autoseed
     self.assertNotEqual(state1, state2)
   File "/home/lemburg/projects/Python/Dev-Python/Lib/unittest.py", line 300, in failIfEqual
     raise self.failureException, \
AssertionError: (2, (1045703145, 318847470, 620640488, 320379787, -1732263717, -1278593374, ...

Again, I can't reproduce this one either.

Now, these failures may be due to some quirk in my machine or
hint to an intermittent problem with the above code.

Anybody else see these ?

Marc-Andre Lemburg

Professional Python Software directly from the Source  (#1, Feb 20 2003)
 >>> Python/Zope Products & Consulting ...         http://www.egenix.com/
 >>> mxODBC, mxDateTime, mxTextTools ...        http://python.egenix.com/
Python UK 2003, Oxford:                                     40 days left
EuroPython 2003, Charleroi, Belgium:                       124 days left