Bug 15783

Summary: AB-INT PTEST: python3 test_extractall_none_mtime
Product: [QA/Testing] Package Testing (ptest) Reporter: João Marcos Costa <joaomarcos.costa>
Component: ptestAssignee: Unassigned <unassigned>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: Medium CC: randy.macleod, ross.burton
Version: unspecified   
Target Milestone: 5.3   
Hardware: x86   
OS: Multiple   
Whiteboard: AB-INT
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Don't know
Attachments:
Description Flags
logs none

Description João Marcos Costa 2025-03-05 14:41:55 UTC
Created attachment 5105 [details]
logs

https://autobuilder.yoctoproject.org/valkyrie/#/builders/61/builds/583/steps/12/logs/stdio

Failed ptests:{'python3': ['test_extractall_none_mtime', 'python3']}

qemuarm64-ptest ubuntu2410-vk-arm1
Comment 1 Ross Burton 2025-03-06 15:49:52 UTC
FAIL: test_extractall_none_mtime (test.test_tarfile.NoneInfoExtractTests_Tar.test_extractall_none_mtime) (path=PosixPath('/var/volatile/tmp/test_python_0yxmmpt7/test_python_16329æ/@test_16329_tmpæ-tardir/extractall_none/pax/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123/123'))
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3.13/test/test_tarfile.py", line 3270, in test_extractall_none_mtime
    self.assertGreaterEqual(path.stat().st_mtime, now)
    ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: 1734189417.9550788 not greater than or equal to 1734193017.9396935
Comment 2 Ross Burton 2025-03-06 16:33:42 UTC
So... the parent folder was created _after_ the files inside it. Great.

But the difference between them is 3599.9846147 seconds, or (almost) exactly one hour.  That probably means something important.
Comment 3 Randy MacLeod 2026-04-08 21:30:14 UTC
The odd timestamps are interesting but this only occurred once and 
hasn't happened in a year so resolving.
Comment 4 Mathieu Dubois-Briand 2026-06-10 16:42:15 UTC
qemux86-64-musl-ptest debian12-vk-4 mathieu/master-next completed at 2026-06-09 08:48:21+00:00
https://valkyrie.yocto.io/pub/non-release/20260609-56/testresults/qemux86-64-musl-ptest/
https://autobuilder.yoctoproject.org/valkyrie/#/builders/110/builds/505/steps/13/logs/stdio
Comment 5 Mathieu Dubois-Briand 2026-06-15 09:02:48 UTC
qemux86-64-musl-ptest debian12-vk-6 master&master-next completed at 2026-06-13 18:24:13+00:00
https://valkyrie.yocto.io/pub/non-release/20260613-102/testresults/qemux86-64-musl-ptest/
https://autobuilder.yoctoproject.org/valkyrie/#/builders/110/builds/536/steps/13/logs/stdio