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.

classification
Title: test_tarfile fails because of inaccurate mtime on AMD64 debian parallel buildbot
Type: behavior Stage:
Components: Tests Versions: Python 3.1, Python 3.2, Python 2.7
process
Status: closed Resolution: works for me
Dependencies: Superseder: test_pep277 failure on AMD64 debian parallel buildbot
View: 9772
Assigned To: Nosy List: eric.araujo, flox, loewis, pitrou
Priority: normal Keywords: buildbot

Created on 2010-09-04 12:13 by flox, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Messages (3)
msg115569 - (view) Author: Florent Xicluna (flox) * (Python committer) Date: 2010-09-04 12:13
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
msg118549 - (view) Author: Antoine Pitrou (pitrou) * (Python committer) Date: 2010-10-13 17:17
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.
msg166036 - (view) Author: Florent Xicluna (flox) * (Python committer) Date: 2012-07-21 14:41
Yet another issue with the filesystem on the same buildbot: see issue 9772.
History
Date User Action Args
2022-04-11 14:57:06adminsetgithub: 53982
2012-07-21 14:41:54floxsetstatus: open -> closed
superseder: test_pep277 failure on AMD64 debian parallel buildbot
messages: + msg166036

resolution: works for me
stage: needs patch ->
2011-08-12 16:08:39eric.araujosetnosy: + eric.araujo
2010-10-13 17:17:43pitrousetnosy: + loewis, pitrou
messages: + msg118549
2010-09-04 12:13:17floxcreate