Issue 9773: test_tarfile fails because of inaccurate mtime on AMD64 debian parallel buildbot (original) (raw)
Occurs repeatedly on AMD64 debian parallel.
====================================================================== FAIL: test_extractall (test.test_tarfile.MiscReadTest)
Traceback (most recent call last): File "/var/autofs/net/homedir/home/martin.vonloewis/buildarea/3.x.loewis-parallel2/build/Lib/test/test_tarfile.py", line 331, in test_extractall self.assertEqual(tarinfo.mtime, os.path.getmtime(path)) AssertionError: 1041808783 != 1041808783.000001
====================================================================== FAIL: test_extractall (test.test_tarfile.GzipMiscReadTest)
Traceback (most recent call last): File "/var/autofs/net/homedir/home/martin.vonloewis/buildarea/3.x.loewis-parallel2/build/Lib/test/test_tarfile.py", line 331, in test_extractall self.assertEqual(tarinfo.mtime, os.path.getmtime(path)) AssertionError: 1041808783 != 1041808783.000003
====================================================================== FAIL: test_extractall (test.test_tarfile.Bz2MiscReadTest)
Traceback (most recent call last): File "/var/autofs/net/homedir/home/martin.vonloewis/buildarea/3.x.loewis-parallel2/build/Lib/test/test_tarfile.py", line 331, in test_extractall self.assertEqual(tarinfo.mtime, os.path.getmtime(path)) AssertionError: 1041808783 != 1041808783.000005
Ran 230 tests in 6.681s
FAILED (failures=3) test test_tarfile crashed -- <class 'OSError'>: [Errno 16] Device or resource busy: '/var/autofs/net/homedir/home/martin.vonloewis/buildarea/3.x.loewis-parallel2/build/build/test_python_21179/@test_21179_tmp/.nfs000000000004f3b30000060b' Traceback (most recent call last): File "/var/autofs/net/homedir/home/martin.vonloewis/buildarea/3.x.loewis-parallel2/build/Lib/test/test_tarfile.py", line 1560, in test_main support.run_unittest(*tests) File "/var/autofs/net/homedir/home/martin.vonloewis/buildarea/3.x.loewis-parallel2/build/Lib/test/support.py", line 1078, in run_unittest _run_suite(suite) File "/var/autofs/net/homedir/home/martin.vonloewis/buildarea/3.x.loewis-parallel2/build/Lib/test/support.py", line 1061, in _run_suite raise TestFailed(err) test.support.TestFailed: multiple errors occurred
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "./Lib/test/regrtest.py", line 942, in runtest_inner File "/var/autofs/net/homedir/home/martin.vonloewis/buildarea/3.x.loewis-parallel2/build/Lib/test/test_tarfile.py", line 1563, in test_main shutil.rmtree(TEMPDIR) File "/var/autofs/net/homedir/home/martin.vonloewis/buildarea/3.x.loewis-parallel2/build/Lib/shutil.py", line 283, in rmtree onerror(os.remove, fullname, sys.exc_info()) File "/var/autofs/net/homedir/home/martin.vonloewis/buildarea/3.x.loewis-parallel2/build/Lib/shutil.py", line 281, in rmtree os.remove(fullname) OSError: [Errno 16] Device or resource busy: '/var/autofs/net/homedir/home/martin.vonloewis/buildarea/3.x.loewis-parallel2/build/build/test_python_21179/@test_21179_tmp/.nfs000000000004f3b30000060b'
http://www.python.org/dev/buildbot/builders/AMD64%20debian%20parallel%203.x/builds/94
For the record, when compiling on this buildbot, there's the following error message:
make: Warning: File `Makefile' has modification time 4.7 s in the future
which seems to hint that the filesystem on the buildbot is slightly misbehaving, or at least doesn't have very reliable timestamps.