user/python3: (armv7) FTTFS: ERROR: test_timestamp_overflow (test.test_import.ImportTests.test_timestamp_overflow)
Found on an ODROID XU4, which is a proper 32-bit board:
$ uname -a
Linux arm.zv.io 4.14.180-178 #1 SMP PREEMPT ... armv7l ... GNU/Linux
$ lscpu
Architecture: armv7l
Byte Order: Little Endian
CPU(s): 8
On-line CPU(s) list: 0-7
Thread(s) per core: 1
Core(s) per socket: 4
Socket(s): 2
Vendor ID: ARM
Model: 3
Model name: Cortex-A7
Stepping: r0p3
CPU max MHz: 2000.0000
CPU min MHz: 200.0000
BogoMIPS: 90.00
Flags: half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae
errors are:
...
0:03:19 load avg: 8.96 [300/396/2] test_import failed (1 error) -- running: test_pickle (30.7 sec)
test test_import failed -- Traceback (most recent call last):
File "/usr/src/packages/system/python3/src/Python-3.11.0/Lib/test/test_import/__init__.py", line 388, in test_timestamp_overflow
os.utime(source, (2 ** 33 - 5, 2 ** 33 - 5))
OSError: [Errno 95] Not supported
0:03:19 load avg: 8.96 [301/396/2] test__osx_support passed -- running: test_pickle (30.7 sec)
...
0:07:19 load avg: 2.98 [396/396/2] test_largefile passed (3 min 30 sec)
== Tests result: FAILURE ==
367 tests OK.
2 tests failed:
test_import test_importlib
27 tests skipped:
test_dbm_gnu test_dbm_ndbm test_devpoll test_idle test_ioctl
test_kqueue test_launcher test_msilib test_nis test_ossaudiodev
test_readline test_smtpnet test_socketserver test_startfile
test_tcl test_tix test_tk test_ttk_guionly test_ttk_textonly
test_turtle test_urllib2net test_urllibnet test_winconsoleio
test_winreg test_winsound test_xmlrpc_net test_zipfile64
0:07:19 load avg: 2.98
0:07:19 load avg: 2.98 Re-running failed tests in verbose mode
0:07:19 load avg: 2.98 Re-running test_importlib in verbose mode (matching: test_timestamp_overflow, test_timestamp_overflow, test_timestamp_overflow)
test_timestamp_overflow (test.test_importlib.source.test_file_loader.Frozen_SimpleTest.test_timestamp_overflow) ... ERROR
test_timestamp_overflow (test.test_importlib.source.test_file_loader.SourceDateEpoch_SimpleTest.test_timestamp_overflow) ... ERROR
test_timestamp_overflow (test.test_importlib.source.test_file_loader.Source_SimpleTest.test_timestamp_overflow) ... ERROR
======================================================================
ERROR: test_timestamp_overflow (test.test_importlib.source.test_file_loader.Frozen_SimpleTest.test_timestamp_overflow)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/src/packages/system/python3/src/Python-3.11.0/Lib/test/test_importlib/util.py", line 307, in wrapper
to_return = fxn(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^
File "/usr/src/packages/system/python3/src/Python-3.11.0/Lib/test/test_importlib/source/test_file_loader.py", line 204, in test_timestamp_overflow
os.utime(source, (2 ** 33 - 5, 2 ** 33 - 5))
OSError: [Errno 95] Not supported
======================================================================
ERROR: test_timestamp_overflow (test.test_importlib.source.test_file_loader.SourceDateEpoch_SimpleTest.test_timestamp_overflow)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/src/packages/system/python3/src/Python-3.11.0/Lib/test/test_py_compile.py", line 32, in wrapper
return fxn(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^
File "/usr/src/packages/system/python3/src/Python-3.11.0/Lib/test/test_importlib/util.py", line 307, in wrapper
to_return = fxn(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^
File "/usr/src/packages/system/python3/src/Python-3.11.0/Lib/test/test_importlib/source/test_file_loader.py", line 204, in test_timestamp_overflow
os.utime(source, (2 ** 33 - 5, 2 ** 33 - 5))
OSError: [Errno 95] Not supported
======================================================================
ERROR: test_timestamp_overflow (test.test_importlib.source.test_file_loader.Source_SimpleTest.test_timestamp_overflow)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/src/packages/system/python3/src/Python-3.11.0/Lib/test/test_importlib/util.py", line 307, in wrapper
to_return = fxn(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^
File "/usr/src/packages/system/python3/src/Python-3.11.0/Lib/test/test_importlib/source/test_file_loader.py", line 204, in test_timestamp_overflow
os.utime(source, (2 ** 33 - 5, 2 ** 33 - 5))
OSError: [Errno 95] Not supported
----------------------------------------------------------------------
Ran 3 tests in 0.021s
FAILED (errors=3)
test test_importlib failed
0:07:20 load avg: 2.98 Re-running test_import in verbose mode (matching: test_timestamp_overflow)
test_timestamp_overflow (test.test_import.ImportTests.test_timestamp_overflow) ... ERROR
======================================================================
ERROR: test_timestamp_overflow (test.test_import.ImportTests.test_timestamp_overflow)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/src/packages/system/python3/src/Python-3.11.0/Lib/test/test_import/__init__.py", line 388, in test_timestamp_overflow
os.utime(source, (2 ** 33 - 5, 2 ** 33 - 5))
OSError: [Errno 95] Not supported
----------------------------------------------------------------------
Ran 1 test in 0.007s
FAILED (errors=1)
test test_import failed
2 tests failed again:
test_import test_importlib
== Tests result: FAILURE then FAILURE ==
367 tests OK.
2 tests failed:
test_import test_importlib
27 tests skipped:
test_dbm_gnu test_dbm_ndbm test_devpoll test_idle test_ioctl
test_kqueue test_launcher test_msilib test_nis test_ossaudiodev
test_readline test_smtpnet test_socketserver test_startfile
test_tcl test_tix test_tk test_ttk_guionly test_ttk_textonly
test_turtle test_urllib2net test_urllibnet test_winconsoleio
test_winreg test_winsound test_xmlrpc_net test_zipfile64
2 re-run tests:
test_import test_importlib
Total duration: 7 min 21 sec
Tests result: FAILURE then FAILURE
make: *** [Makefile:1851: quicktest] Error 2
>>> ERROR: python3: check failed
See also: https://github.com/python/cpython/blob/3.11/Lib/test/test_importlib/source/test_file_loader.py#L195