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 vstinner
Recipients David.Edelsohn, Dormouse759, fweimer, hroncok, miss-islington, vstinner
Date 2020-02-07.10:29:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1581071388.68.0.736096800298.issue39460@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2020-02-07 10:29:48vstinnersetrecipients: + vstinner, fweimer, David.Edelsohn, hroncok, Dormouse759, miss-islington
2020-02-07 10:29:48vstinnersetmessageid: <1581071388.68.0.736096800298.issue39460@roundup.psfhosted.org>
2020-02-07 10:29:48vstinnerlinkissue39460 messages
2020-02-07 10:29:48vstinnercreate