[issue39460] test_zipfile: test_add_file_after_2107() sometimes fails on Fedora Rawhide 3.x: Linux VFS/XFS bug
STINNER Victor
report at bugs.python.org
Fri Feb 7 05:29:48 EST 2020
STINNER Victor <vstinner at python.org> added the comment:
It seems like AIX also has a kernel issue with timestamp after year 2038. The year 2107 is stored as year 1972.
test_add_file_after_2107 (test.test_zipfile.StoredTestsWithSourceFile) ... skipped 'Linux VFS/XFS kernel bug detected: mtime_ns=91301504000000000'
https://bugs.python.org/issue39502#msg361116
>>> print(datetime.datetime.fromtimestamp(91301504))
1972-11-22 18:31:44
--
The test is now skipped if the kernel or filesystem stores incorrectly the timestamp 4386268800 (2108-12-30). I don't think that we can do much more.
On the Linux kernel side, we reported the issue to:
https://bugzilla.redhat.com/show_bug.cgi?id=1795576
I close this issue.
----------
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
versions: +Python 3.8
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue39460>
_______________________________________
More information about the Python-bugs-list
mailing list