Updated. Removed as much of the tests that passed.
Checked 111 modules (31 built-in, 79 shared, 1 n/a on linux-x86_64, 0 disabled, 0 missing, 0 failed on import)
./python -E ./Tools/scripts/run_tests.py
== CPython 3.12.5 (main, Aug 26 2024, 10:30:39) [GCC 11.4.0]
== Linux-6.8.0-41-generic-x86_64-with-glibc2.35 little-endian
== Python build: release
== cwd: /root/Python-3.12.5/build/test_python_worker_29906æ
== CPU count: 12
== encodings: locale=UTF-8 FS=utf-8
== resources: all,-audio,-gui,-largefile
Using random seed: 1150646954
<deleted passed tests>
0:00:03 load avg: 6.98 [ 46/489] test_winreg skipped
test_winreg skipped -- No module named 'winreg'
<deleted passed tests>
0:00:07 load avg: 7.54 [ 76/489] test_tix skipped (resource denied)
test_tix skipped -- Use of the 'gui' resource not enabled
0:00:07 load avg: 7.54 [ 79/489] test_winconsoleio skipped
test_winconsoleio skipped -- test only relevant on win32
<deleted passed tests>
/root/Python-3.12.5/Lib/multiprocessing/popen_fork.py:66: DeprecationWarning: This process (pid=30341) is multi-threaded, use of fork() may lead to deadlocks in the child.
self.pid = os.fork()
/root/Python-3.12.5/Lib/multiprocessing/popen_fork.py:66: DeprecationWarning: This process (pid=33646) is multi-threaded, use of fork() may lead to deadlocks in the child.
self.pid = os.fork()
Could not find platform dependent libraries <exec_prefix>
<deleted passed tests>
0:00:20 load avg: 7.91 [130/489] test_devpoll skipped
test_devpoll skipped -- test works only on Solaris OS family
<deleted passed tests>
------------------------
<deleted passed tests>
/root/Python-3.12.5/Lib/test/support/__init__.py:768: ResourceWarning: unclosed <socket.socket [closed] fd=3, family=2, type=1, proto=6>
gc.collect()
ResourceWarning: Enable tracemalloc to get the object allocation traceback
<deleted passed tests>
/root/Python-3.12.5/Lib/socketserver.py:612: DeprecationWarning: This process (pid=36093) is multi-threaded, use of fork() may lead to deadlocks in the child.
pid = os.fork()
0:00:26 load avg: 8.00 [185/489] test.test_asyncio.test_windows_events skipped
test.test_asyncio.test_windows_events skipped -- Windows only
<deleted passed tests>
0:00:35 load avg: 7.92 [219/489] test_zipfile64 skipped (resource denied)
test_zipfile64 skipped -- test requires loads of disk-space bytes and a long time to run
<deleted passed tests>
0:00:37 load avg: 8.41 [233/489] test_ioctl skipped
test_ioctl skipped -- Unable to open /dev/tty
0:00:38 load avg: 8.41 [235/489] test.test_asyncio.test_windows_utils skipped
test.test_asyncio.test_windows_utils skipped -- Windows only
<deleted passed tests>
0:00:38 load avg: 8.41 [246/489] test_kqueue skipped
test_kqueue skipped -- test works only on BSD
0:00:40 load avg: 8.41 [251/489] test_winsound skipped (resource denied)
test_winsound skipped -- Use of the 'audio' resource not enabled
/root/Python-3.12.5/Lib/multiprocessing/popen_fork.py:66: DeprecationWarning: This process (pid=41463) is multi-threaded, use of fork() may lead to deadlocks in the child.
self.pid = os.fork()
Resource 'nntp.aioe.org' is not available
0:00:46 load avg: 8.64 [262/489] test_ttk skipped (resource denied)
test_ttk skipped -- Use of the 'gui' resource not enabled
0:00:47 load avg: 8.64 [264/489] test_winapi skipped
test_winapi skipped -- No module named '_winapi'
0:00:47 load avg: 8.64 [266/489] test_ossaudiodev skipped (resource denied)
test_ossaudiodev skipped -- Use of the 'audio' resource not enabled
0:00:47 load avg: 8.64 [268/489] test_msilib skipped
test_msilib skipped -- No module named '_msi'
0:00:52 load avg: 8.75 [283/489] test_startfile skipped -- running (1): test_math (34.7 sec)
test_startfile skipped -- object <module 'os' (frozen)> has no attribute 'startfile'
0:00:59 load avg: 9.17 [316/489/1] test_socket failed (2 errors) (35.0 sec) -- running (2): test_math (41.8 sec), test_tools (32.1 sec)
test test_socket failed -- multiple errors occurred; run in verbose mode for details
/root/Python-3.12.5/Lib/re/__init__.py:302: DeprecationWarning: The re.TEMPLATE/re.T flag is deprecated as it is an undocumented flag without an obvious purpose. Don't use it.
warnings.warn("The re.TEMPLATE/re.T flag is deprecated "
/root/Python-3.12.5/Lib/multiprocessing/popen_fork.py:66: DeprecationWarning: This process (pid=38571) is multi-threaded, use of fork() may lead to deadlocks in the child.
self.pid = os.fork()
/root/Python-3.12.5/Lib/multiprocessing/popen_fork.py:66: DeprecationWarning: This process (pid=38571) is multi-threaded, use of fork() may lead to deadlocks in the child.
self.pid = os.fork()
0:01:03 load avg: 10.04 [326/489/2] test.test_asyncio.test_base_events failed (1 error) -- running (3): test_math (45.1 sec), test.test_multiprocessing_spawn.test_processes (31.0 sec), test_tools (35.4 sec)
test test.test_asyncio.test_base_events failed -- Traceback (most recent call last):
File "/root/Python-3.12.5/Lib/unittest/mock.py", line 1393, in patched
return func(*newargs, **newkeywargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/Python-3.12.5/Lib/test/test_asyncio/test_base_events.py", line 1407, in test_create_connection_service_name
t, p = self.loop.run_until_complete(coro)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/Python-3.12.5/Lib/asyncio/base_events.py", line 687, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "/root/Python-3.12.5/Lib/asyncio/base_events.py", line 1079, in create_connection
infos = await self._ensure_resolved(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/Python-3.12.5/Lib/asyncio/base_events.py", line 1455, in _ensure_resolved
return await loop.getaddrinfo(host, port, family=family, type=type,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/Python-3.12.5/Lib/asyncio/base_events.py", line 901, in getaddrinfo
return await self.run_in_executor(
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/Python-3.12.5/Lib/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/Python-3.12.5/Lib/socket.py", line 976, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
socket.gaierror: [Errno -8] Servname not supported for ai_socktype
0:01:10 load avg: 10.44 [354/489/2] test_cppext passed -- running (2): test.test_multiprocessing_spawn.test_processes (38.1 sec), test_tools (42.5 sec)
Processing /root/Python-3.12.5/Lib/test/wheeldata/setuptools-67.6.1-py3-none-any.whl
/root/Python-3.12.5/build/test_python_46209æ/tempcwd/env/lib/python3.12/site-packages/pip/_internal/metadata/importlib/_dists.py:77: DeprecationWarning: Unimplemented abstract methods {'locate_file'}
return cls(files, info_location)
Processing /root/Python-3.12.5/Lib/test/wheeldata/wheel-0.40.0-py3-none-any.whl
Installing collected packages: wheel, setuptools
/root/Python-3.12.5/build/test_python_46209æ/tempcwd/env/lib/python3.12/site-packages/pip/_internal/metadata/importlib/_dists.py:77: DeprecationWarning: Unimplemented abstract methods {'locate_file'}
return cls(files, info_location)
Successfully installed setuptools-67.6.1 wheel-0.40.0
Processing /root/Python-3.12.5/Lib/test/wheeldata/setuptools-67.6.1-py3-none-any.whl
/root/Python-3.12.5/build/test_python_46209æ/tempcwd/env/lib/python3.12/site-packages/pip/_internal/metadata/importlib/_dists.py:77: DeprecationWarning: Unimplemented abstract methods {'locate_file'}
return cls(files, info_location)
Processing /root/Python-3.12.5/Lib/test/wheeldata/wheel-0.40.0-py3-none-any.whl
Installing collected packages: wheel, setuptools
/root/Python-3.12.5/build/test_python_46209æ/tempcwd/env/lib/python3.12/site-packages/pip/_internal/metadata/importlib/_dists.py:77: DeprecationWarning: Unimplemented abstract methods {'locate_file'}
return cls(files, info_location)
Successfully installed setuptools-67.6.1 wheel-0.40.0
0:01:11 load avg: 10.48 [355/489/2] test_enum passed -- running (2): test.test_multiprocessing_spawn.test_processes (39.2 sec), test_tools (43.6 sec)
/root/Python-3.12.5/Lib/multiprocessing/popen_fork.py:66: DeprecationWarning: This process (pid=50021) is multi-threaded, use of fork() may lead to deadlocks in the child.
self.pid = os.fork()
/root/Python-3.12.5/Lib/multiprocessing/popen_fork.py:66: DeprecationWarning: This process (pid=50239) is multi-threaded, use of fork() may lead to deadlocks in the child.
self.pid = os.fork()
warning: Error disabling address space randomization: Operation not permitted
warning: Error disabling address space randomization: Operation not permitted
0:01:27 load avg: 11.78 [425/489/2] test_launcher skipped -- running (1): test_tools (1 min)
test_launcher skipped -- test only applies to Windows
Resource 'ipv6.google.com' is not available
0:01:32 load avg: 12.36 [436/489/2] test_tkinter skipped (resource denied) -- running (1): test_tools (1 min 5 sec)
test_tkinter skipped -- Use of the 'gui' resource not enabled
/root/Python-3.12.5/Lib/multiprocessing/popen_fork.py:66: DeprecationWarning: This process (pid=55352) is multi-threaded, use of fork() may lead to deadlocks in the child.
self.pid = os.fork()
Processing /root/Python-3.12.5/Lib/test/wheeldata/setuptools-67.6.1-py3-none-any.whl
/root/Python-3.12.5/build/test_python_51885æ/tempcwd/venv/lib/python3.12/site-packages/pip/_internal/metadata/importlib/_dists.py:77: DeprecationWarning: Unimplemented abstract methods {'locate_file'}
return cls(files, info_location)
Processing /root/Python-3.12.5/Lib/test/wheeldata/wheel-0.40.0-py3-none-any.whl
Installing collected packages: wheel, setuptools
/root/Python-3.12.5/build/test_python_51885æ/tempcwd/venv/lib/python3.12/site-packages/pip/_internal/metadata/importlib/_dists.py:77: DeprecationWarning: Unimplemented abstract methods {'locate_file'}
return cls(files, info_location)
Successfully installed setuptools-67.6.1 wheel-0.40.0
0:01:39 load avg: 12.73 [458/489/2] test_wmi skipped -- running (1): test_tools (1 min 11 sec)
test_wmi skipped -- No module named '_wmi'
0:01:40 load avg: 12.43 [459/489/3] test_posix failed (3 errors) -- running (1): test_tools (1 min 13 sec)
test test_posix failed -- multiple errors occurred; run in verbose mode for details
0:02:02 load avg: 14.79 [485/489/4] test_tools failed (1 error) (1 min 34 sec) -- running (2): test.test_multiprocessing_forkserver.test_processes (41.5 sec), test.test_concurrent_futures.test_wait (39.4 sec)
cwd: /root/Python-3.12.5/build/test_python_36310æ
creating the script to be frozen at /tmp/test_python_k__wwio_/tmpr31mrv7v/app.py
copying the source tree from /root/Python-3.12.5 to /tmp/test_python_k__wwio_/tmpr31mrv7v/cpython...
+ cd /tmp/test_python_k__wwio_/tmpr31mrv7v/cpython
+ /usr/bin/make distclean
configuring python in /tmp/test_python_k__wwio_/tmpr31mrv7v/python-build...
+ cd /tmp/test_python_k__wwio_/tmpr31mrv7v/python-build
+ /tmp/test_python_k__wwio_/tmpr31mrv7v/cpython/configure --prefix=/tmp/test_python_k__wwio_/tmpr31mrv7v/python-installation --exec-prefix=/usr --cache-file /tmp/test_python_k__wwio_/tmpr31mrv7v/python-config.cache
building python parallel='-j8' in /tmp/test_python_k__wwio_/tmpr31mrv7v/python-build...
+ cd /tmp/test_python_k__wwio_/tmpr31mrv7v/python-build
+ /usr/bin/make -j8
installing python into /tmp/test_python_k__wwio_/tmpr31mrv7v/python-installation...
+ cd /tmp/test_python_k__wwio_/tmpr31mrv7v/python-build
+ /usr/bin/make install
freezing /tmp/test_python_k__wwio_/tmpr31mrv7v/app.py...
+ cd /tmp/test_python_k__wwio_/tmpr31mrv7v
+ /tmp/test_python_k__wwio_/tmpr31mrv7v/python-installation/bin/python3 -E /root/Python-3.12.5/Tools/freeze/freeze.py -o /tmp/test_python_k__wwio_/tmpr31mrv7v /tmp/test_python_k__wwio_/tmpr31mrv7v/app.py
test test_tools failed -- Traceback (most recent call last):
File "/root/Python-3.12.5/Lib/test/test_tools/test_freeze.py", line 35, in test_freeze_simple_script
executable = helper.freeze(python, scriptfile, outdir)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/Python-3.12.5/Tools/freeze/test/freeze.py", line 169, in freeze
_run_quiet([python, '-E', FREEZE, '-o', outdir, scriptfile], cwd=outdir)
File "/root/Python-3.12.5/Tools/freeze/test/freeze.py", line 35, in _run_quiet
return subprocess.run(
^^^^^^^^^^^^^^^
File "/root/Python-3.12.5/Lib/subprocess.py", line 548, in run
with Popen(*popenargs, **kwargs) as process:
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/Python-3.12.5/Lib/subprocess.py", line 1026, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "/root/Python-3.12.5/Lib/subprocess.py", line 1955, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: '/tmp/test_python_k__wwio_/tmpr31mrv7v/python-installation/bin/python3'
warning: Error disabling address space randomization: Operation not permitted
warning: Error disabling address space randomization: Operation not permitted
warning: Error disabling address space randomization: Operation not permitted
warning: Error disabling address space randomization: Operation not permitted
warning: Error disabling address space randomization: Operation not permitted
warning: Error disabling address space randomization: Operation not permitted
warning: Error disabling address space randomization: Operation not permitted
warning: Error disabling address space randomization: Operation not permitted
warning: Error disabling address space randomization: Operation not permitted
warning: Error disabling address space randomization: Operation not permitted
warning: Error disabling address space randomization: Operation not permitted
warning: Error disabling address space randomization: Operation not permitted
warning: Error disabling address space randomization: Operation not permitted
warning: Error disabling address space randomization: Operation not permitted
warning: Error disabling address space randomization: Operation not permitted
warning: Error disabling address space randomization: Operation not permitted
warning: Error disabling address space randomization: Operation not permitted
warning: Error disabling address space randomization: Operation not permitted
warning: Error disabling address space randomization: Operation not permitted
warning: Error disabling address space randomization: Operation not permitted
warning: Error disabling address space randomization: Operation not permitted
warning: Error disabling address space randomization: Operation not permitted
warning: Error disabling address space randomization: Operation not permitted
warning: Error disabling address space randomization: Operation not permitted
warning: Error disabling address space randomization: Operation not permitted
warning: Error disabling address space randomization: Operation not permitted
warning: Error disabling address space randomization: Operation not permitted
warning: Error disabling address space randomization: Operation not permitted
warning: Error disabling address space randomization: Operation not permitted
warning: Error disabling address space randomization: Operation not permitted
warning: Error disabling address space randomization: Operation not permitted
warning: Error disabling address space randomization: Operation not permitted
warning: Error disabling address space randomization: Operation not permitted
warning: Error disabling address space randomization: Operation not permitted
warning: Error disabling address space randomization: Operation not permitted
warning: Error disabling address space randomization: Operation not permitted
warning: Error disabling address space randomization: Operation not permitted
warning: Error disabling address space randomization: Operation not permitted
warning: Error disabling address space randomization: Operation not permitted
warning: Error disabling address space randomization: Operation not permitted
warning: Error disabling address space randomization: Operation not permitted
warning: Error disabling address space randomization: Operation not permitted
warning: Error disabling address space randomization: Operation not permitted
warning: Error disabling address space randomization: Operation not permitted
warning: Error disabling address space randomization: Operation not permitted
warning: Error disabling address space randomization: Operation not permitted
warning: Error disabling address space randomization: Operation not permitted
warning: Error disabling address space randomization: Operation not permitted
warning: Error disabling address space randomization: Operation not permitted
warning: Error disabling address space randomization: Operation not permitted
warning: Error disabling address space randomization: Operation not permitted
warning: Error disabling address space randomization: Operation not permitted
warning: Error disabling address space randomization: Operation not permitted
warning: Error disabling address space randomization: Operation not permitted
0:02:11 load avg: 12.75 [488/489/4] test.test_concurrent_futures.test_wait passed (49.4 sec) -- running (1): test_subprocess (32.7 sec)
/root/Python-3.12.5/Lib/multiprocessing/popen_fork.py:66: DeprecationWarning: This process (pid=53394) is multi-threaded, use of fork() may lead to deadlocks in the child.
self.pid = os.fork()
0:02:35 load avg: 9.33 [489/489/4] test_subprocess passed (56.1 sec)
== Tests result: FAILURE ==
12 tests skipped:
test.test_asyncio.test_windows_events
test.test_asyncio.test_windows_utils test_devpoll test_ioctl
test_kqueue test_launcher test_msilib test_startfile test_winapi
test_winconsoleio test_winreg test_wmi
6 tests skipped (resource denied):
test_ossaudiodev test_tix test_tkinter test_ttk test_winsound
test_zipfile64
4 tests failed:
test.test_asyncio.test_base_events test_posix test_socket
test_tools
467 tests OK.
0:02:35 load avg: 9.33 Re-running 4 failed tests in verbose mode in subprocesses
0:02:35 load avg: 9.33 Run 4 tests in parallel using 4 worker processes
0:02:35 load avg: 9.33 [1/4/1] test_posix failed (3 errors)
Re-running test_posix in verbose mode (matching: test_chown, test_fchown, test_lchown)
test_chown (test.test_posix.PosixTester.test_chown) ... ERROR
test_fchown (test.test_posix.PosixTester.test_fchown) ... ERROR
test_lchown (test.test_posix.PosixTester.test_lchown) ... ERROR
test_chown (test.test_posix.TestPosixWeaklinking.test_chown) ... skipped 'test weak linking on macOS'
======================================================================
ERROR: test_chown (test.test_posix.PosixTester.test_chown)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/Python-3.12.5/Lib/test/test_posix.py", line 814, in test_chown
self._test_all_chown_common(posix.chown, os_helper.TESTFN, posix.stat)
File "/root/Python-3.12.5/Lib/test/test_posix.py", line 778, in _test_all_chown_common
chown_func(first_param, big_value, big_value)
OSError: [Errno 22] Invalid argument: '@test_66536_tmpæ'
======================================================================
ERROR: test_fchown (test.test_posix.PosixTester.test_fchown)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/Python-3.12.5/Lib/test/test_posix.py", line 826, in test_fchown
self._test_all_chown_common(posix.fchown, fd,
File "/root/Python-3.12.5/Lib/test/test_posix.py", line 778, in _test_all_chown_common
chown_func(first_param, big_value, big_value)
OSError: [Errno 22] Invalid argument
======================================================================
ERROR: test_lchown (test.test_posix.PosixTester.test_lchown)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/Python-3.12.5/Lib/test/test_posix.py", line 837, in test_lchown
self._test_all_chown_common(posix.lchown, os_helper.TESTFN,
File "/root/Python-3.12.5/Lib/test/test_posix.py", line 778, in _test_all_chown_common
chown_func(first_param, big_value, big_value)
OSError: [Errno 22] Invalid argument: '@test_66536_tmpæ'
----------------------------------------------------------------------
Ran 4 tests in 0.003s
FAILED (errors=3, skipped=1)
test test_posix failed
0:02:35 load avg: 9.33 [2/4/2] test_socket failed (2 errors)
Re-running test_socket in verbose mode (matching: testGetServBy, testGetaddrinfo)
testGetServBy (test.test_socket.GeneralModuleTests.testGetServBy) ... ERROR
testGetaddrinfo (test.test_socket.GeneralModuleTests.testGetaddrinfo) ... ERROR
======================================================================
ERROR: testGetServBy (test.test_socket.GeneralModuleTests.testGetServBy)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/Python-3.12.5/Lib/test/test_socket.py", line 1196, in testGetServBy
raise OSError
OSError
======================================================================
ERROR: testGetaddrinfo (test.test_socket.GeneralModuleTests.testGetaddrinfo)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/Python-3.12.5/Lib/test/test_socket.py", line 1560, in testGetaddrinfo
socket.getaddrinfo(HOST, "http")
File "/root/Python-3.12.5/Lib/socket.py", line 976, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
socket.gaierror: [Errno -8] Servname not supported for ai_socktype
----------------------------------------------------------------------
Ran 2 tests in 0.005s
FAILED (errors=2)
test test_socket failed
0:02:35 load avg: 9.33 [3/4/3] test.test_asyncio.test_base_events failed (1 error)
Re-running test.test_asyncio.test_base_events in verbose mode (matching: test_create_connection_service_name)
test_create_connection_service_name (test.test_asyncio.test_base_events.BaseEventLoopWithSelectorTests.test_create_connection_service_name) ... ERROR
======================================================================
ERROR: test_create_connection_service_name (test.test_asyncio.test_base_events.BaseEventLoopWithSelectorTests.test_create_connection_service_name)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/Python-3.12.5/Lib/unittest/mock.py", line 1393, in patched
return func(*newargs, **newkeywargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/Python-3.12.5/Lib/test/test_asyncio/test_base_events.py", line 1407, in test_create_connection_service_name
t, p = self.loop.run_until_complete(coro)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/Python-3.12.5/Lib/asyncio/base_events.py", line 687, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "/root/Python-3.12.5/Lib/asyncio/base_events.py", line 1079, in create_connection
infos = await self._ensure_resolved(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/Python-3.12.5/Lib/asyncio/base_events.py", line 1455, in _ensure_resolved
return await loop.getaddrinfo(host, port, family=family, type=type,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/Python-3.12.5/Lib/asyncio/base_events.py", line 901, in getaddrinfo
return await self.run_in_executor(
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/Python-3.12.5/Lib/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/Python-3.12.5/Lib/socket.py", line 976, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
socket.gaierror: [Errno -8] Servname not supported for ai_socktype
----------------------------------------------------------------------
Ran 1 test in 0.009s
FAILED (errors=1)
test test.test_asyncio.test_base_events failed
0:03:05 load avg: 6.61 running (1): test_tools (30.2 sec)
0:03:35 load avg: 6.08 running (1): test_tools (1 min)
0:03:38 load avg: 5.67 [4/4/4] test_tools failed (1 error) (1 min 3 sec)
Re-running test_tools in verbose mode (matching: test_freeze_simple_script)
test_freeze_simple_script (test.test_tools.test_freeze.TestFreeze.test_freeze_simple_script) ...
cwd: /root/Python-3.12.5/build/test_python_66538æ
creating the script to be frozen at /tmp/test_python_ofq_esul/tmpesfweqes/app.py
copying the source tree from /root/Python-3.12.5 to /tmp/test_python_ofq_esul/tmpesfweqes/cpython...
+ cd /tmp/test_python_ofq_esul/tmpesfweqes/cpython
+ /usr/bin/make distclean
configuring python in /tmp/test_python_ofq_esul/tmpesfweqes/python-build...
+ cd /tmp/test_python_ofq_esul/tmpesfweqes/python-build
+ /tmp/test_python_ofq_esul/tmpesfweqes/cpython/configure --prefix=/tmp/test_python_ofq_esul/tmpesfweqes/python-installation --exec-prefix=/usr --cache-file /tmp/test_python_ofq_esul/tmpesfweqes/python-config.cache
building python parallel='-j8' in /tmp/test_python_ofq_esul/tmpesfweqes/python-build...
+ cd /tmp/test_python_ofq_esul/tmpesfweqes/python-build
+ /usr/bin/make -j8
installing python into /tmp/test_python_ofq_esul/tmpesfweqes/python-installation...
+ cd /tmp/test_python_ofq_esul/tmpesfweqes/python-build
+ /usr/bin/make install
freezing /tmp/test_python_ofq_esul/tmpesfweqes/app.py...
+ cd /tmp/test_python_ofq_esul/tmpesfweqes
+ /tmp/test_python_ofq_esul/tmpesfweqes/python-installation/bin/python3 -E /root/Python-3.12.5/Tools/freeze/freeze.py -o /tmp/test_python_ofq_esul/tmpesfweqes /tmp/test_python_ofq_esul/tmpesfweqes/app.py
ERROR
======================================================================
ERROR: test_freeze_simple_script (test.test_tools.test_freeze.TestFreeze.test_freeze_simple_script)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/Python-3.12.5/Lib/test/test_tools/test_freeze.py", line 35, in test_freeze_simple_script
executable = helper.freeze(python, scriptfile, outdir)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/Python-3.12.5/Tools/freeze/test/freeze.py", line 169, in freeze
_run_quiet([python, '-E', FREEZE, '-o', outdir, scriptfile], cwd=outdir)
File "/root/Python-3.12.5/Tools/freeze/test/freeze.py", line 35, in _run_quiet
return subprocess.run(
^^^^^^^^^^^^^^^
File "/root/Python-3.12.5/Lib/subprocess.py", line 548, in run
with Popen(*popenargs, **kwargs) as process:
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/Python-3.12.5/Lib/subprocess.py", line 1026, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "/root/Python-3.12.5/Lib/subprocess.py", line 1955, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: '/tmp/test_python_ofq_esul/tmpesfweqes/python-installation/bin/python3'
----------------------------------------------------------------------
Ran 1 test in 63.192s
FAILED (errors=1)
test test_tools failed
4 tests failed again:
test.test_asyncio.test_base_events test_posix test_socket
test_tools
== Tests result: FAILURE then FAILURE ==
12 tests skipped:
test.test_asyncio.test_windows_events
test.test_asyncio.test_windows_utils test_devpoll test_ioctl
test_kqueue test_launcher test_msilib test_startfile test_winapi
test_winconsoleio test_winreg test_wmi
6 tests skipped (resource denied):
test_ossaudiodev test_tix test_tkinter test_ttk test_winsound
test_zipfile64
4 re-run tests:
test.test_asyncio.test_base_events test_posix test_socket
test_tools
4 tests failed:
test.test_asyncio.test_base_events test_posix test_socket
test_tools
467 tests OK.
Total duration: 3 min 38 sec
Total tests: run=42,552 skipped=1,311
Total test files: run=487/489 failed=4 skipped=12 resource_denied=6 rerun=4
Result: FAILURE then FAILURE