Michael Felt <aixto...@felt.demon.nl> added the comment:
Not sure I understand what bug I am supposed to report. I apologize if my message https://bugs.python.org/issue39502#msg361116. I assume your comment re: time.localtime(91301504) comes from this bit of the test message (mtime_ns=91301504000000000). Assuming our TZ used are different I am verifying AIX works correctly for the constant 91301504 root@x065:[/data/prj/python/python3-3.9]./python Python 3.9.0a3+ (heads/master-dirty:78c7183f47, Feb 3 2020, 14:10:40) [C] on aix Type "help", "copyright", "credits" or "license" for more information. >>> import time >>> time.gmtime(91301504) time.struct_time(tm_year=1972, tm_mon=11, tm_mday=22, tm_hour=17, tm_min=31, tm_sec=44, tm_wday=2, tm_yday=327, tm_isdst=0) >>> time.localtime(91301504) time.struct_time(tm_year=1972, tm_mon=11, tm_mday=22, tm_hour=17, tm_min=31, tm_sec=44, tm_wday=2, tm_yday=327, tm_isdst=0) root@x065:[/data/prj/python/python3-3.9]set | grep TZ TZ=UTC0 Again, my apologies for the confusion: the message "skipped 'Linux VFS/XFS kernel bug detected: mtime_ns=91301504000000000" only occurs when the test is run on a NFS mount hosted by a SAN based on a Linux kernel. When I specify --tempdir=/tmp (i.e., using jfs2 as filesystem) the test passes normally. On 03/02/2020 09:40, STINNER Victor wrote: > STINNER Victor <vstin...@python.org> added the comment: > >> test_add_file_after_2107 (test.test_zipfile.StoredTestsWithSourceFile) ... >> skipped 'Linux VFS/XFS kernel bug detected: mtime_ns=91301504000000000' > AIX kernel seems to have a bug. You should report it to AIX. > >>>> time.localtime(91301504) > time.struct_time(tm_year=1972, tm_mon=11, tm_mday=22, tm_hour=18, tm_min=31, > tm_sec=44, tm_wday=2, tm_yday=327, tm_isdst=0) > > ---------- > > _______________________________________ > Python tracker <rep...@bugs.python.org> > <https://bugs.python.org/issue39502> > _______________________________________ > ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue39502> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com