GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — [3.14] gh-119452: Fix a potential virtual memory allocation denial of service in http.server by serhiy-storchaka · Pull Request #142216 · python/cpython

Conversation

@serhiy-storchaka

@serhiy-storchaka serhiy-storchaka commented Dec 3, 2025 •
edited by bedevere-app Bot
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

The CGI server on Windows could consume the amount of memory specified in the Content-Length header of the request even if the client does not send such much data. Now it reads the POST request body by chunks, therefore the memory consumption is proportional to the amount of sent data.

  • Issue: OOM a potential denial of service in the CGI server on Windows #119452

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@serhiy-storchaka
[3.14] pythongh-119452: Fix a potential virtual memory allocation den…
4bfd8b4
…ial of service in http.server

The CGI server on Windows could consume the amount of memory specified
in the Content-Length header of the request even if the client does not
send such much data. Now it reads the POST request body by chunks,
therefore the memory consumption is proportional to the amount of sent
data.
@serhiy-storchaka serhiy-storchaka added needs backport to 3.10 needs backport to 3.11 only security fixes needs backport to 3.12 only security fixes needs backport to 3.13 only security fixes labels Dec 3, 2025
@bedevere-app bedevere-app Bot added the awaiting core review label Dec 3, 2025
@bedevere-app bedevere-app Bot mentioned this pull request Dec 3, 2025
OOM a potential denial of service in the CGI server on Windows #119452
Closed
@serhiy-storchaka serhiy-storchaka mentioned this pull request Dec 3, 2025
[3.14] Try to fix the fix for gh-119452 #142180
Closed
@serhiy-storchaka
Simply allow read() to fail with timeout.
3d1b733
@serhiy-storchaka

serhiy-storchaka commented Dec 3, 2025

Copy link
Copy Markdown
Member Author

I managed to keep the test while getting rid from an explicit select(). Tested on Linux without fork(), will see how it works on Windows.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@serhiy-storchaka

serhiy-storchaka commented Dec 3, 2025

Copy link
Copy Markdown
Member Author

!buildbot AMD64 Windows11 Non-Debug

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@bedevere-bot

bedevere-bot commented Dec 3, 2025

Copy link
Copy Markdown

🤖 New build scheduled with the buildbot fleet by @serhiy-storchaka for commit 3d1b733 🤖

Results will be shown at:

https://buildbot.python.org/all/#/grid?branch=refs%2Fpull%2F142216%2Fmerge

The command will test the builders whose names match following regular expression: AMD64 Windows11 Non-Debug

The builders matched are:

  • AMD64 Windows11 Non-Debug PR
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@serhiy-storchaka
serhiy-storchaka requested review from encukou, gpshead and hugovk December 3, 2025 12:50
@encukou

encukou commented Dec 4, 2025

Copy link
Copy Markdown
Member

Looks good. Let's test it on all the platforms though.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@encukou encukou added the 🔨 test-with-buildbots Test PR w/ buildbots; report in status section label Dec 4, 2025
@bedevere-bot

bedevere-bot commented Dec 4, 2025

Copy link
Copy Markdown

🤖 New build scheduled with the buildbot fleet by @encukou for commit 3d1b733 🤖

Results will be shown at:

https://buildbot.python.org/all/#/grid?branch=refs%2Fpull%2F142216%2Fmerge

If you want to schedule another build, you need to add the 🔨 test-with-buildbots label again.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@bedevere-bot bedevere-bot removed the 🔨 test-with-buildbots Test PR w/ buildbots; report in status section label Dec 4, 2025
@serhiy-storchaka
serhiy-storchaka merged commit 0e4f4f1 into python:3.14 Dec 5, 2025
148 of 151 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@miss-islington-app

miss-islington-app Bot commented Dec 5, 2025

Copy link
Copy Markdown

Thanks @serhiy-storchaka for the PR 🌮🎉.. I'm working now to backport this PR to: 3.10, 3.11, 3.12, 3.13.
🐍🍒⛏🤖

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@bedevere-app bedevere-app Bot removed the awaiting core review label Dec 5, 2025
@serhiy-storchaka
serhiy-storchaka deleted the http-server branch December 5, 2025 14:20
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Dec 5, 2025
@serhiy-storchaka @miss-islington
[3.14] pythongh-119452: Fix a potential virtual memory allocation den…
9389a1a
…ial of service in http.server (pythonGH-142216)

The CGI server on Windows could consume the amount of memory specified
in the Content-Length header of the request even if the client does not
send such much data. Now it reads the POST request body by chunks,
therefore the memory consumption is proportional to the amount of sent
data.
(cherry picked from commit 0e4f4f1)

Co-authored-by: Serhiy Storchaka <[email protected]>
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Dec 5, 2025
@serhiy-storchaka @miss-islington
[3.14] pythongh-119452: Fix a potential virtual memory allocation den…
03afece
…ial of service in http.server (pythonGH-142216)

The CGI server on Windows could consume the amount of memory specified
in the Content-Length header of the request even if the client does not
send such much data. Now it reads the POST request body by chunks,
therefore the memory consumption is proportional to the amount of sent
data.
(cherry picked from commit 0e4f4f1)

Co-authored-by: Serhiy Storchaka <[email protected]>
@bedevere-app

bedevere-app Bot commented Dec 5, 2025

Copy link
Copy Markdown

GH-142296 is a backport of this pull request to the 3.13 branch.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@bedevere-app bedevere-app Bot removed the needs backport to 3.13 only security fixes label Dec 5, 2025
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Dec 5, 2025
@serhiy-storchaka @miss-islington
[3.14] pythongh-119452: Fix a potential virtual memory allocation den…
81b28b7
…ial of service in http.server (pythonGH-142216)

The CGI server on Windows could consume the amount of memory specified
in the Content-Length header of the request even if the client does not
send such much data. Now it reads the POST request body by chunks,
therefore the memory consumption is proportional to the amount of sent
data.
(cherry picked from commit 0e4f4f1)

Co-authored-by: Serhiy Storchaka <[email protected]>
@bedevere-app

bedevere-app Bot commented Dec 5, 2025

Copy link
Copy Markdown

GH-142297 is a backport of this pull request to the 3.12 branch.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@bedevere-app bedevere-app Bot removed the needs backport to 3.12 only security fixes label Dec 5, 2025
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Dec 5, 2025
@serhiy-storchaka @miss-islington
[3.14] pythongh-119452: Fix a potential virtual memory allocation den…
0411337
…ial of service in http.server (pythonGH-142216)

The CGI server on Windows could consume the amount of memory specified
in the Content-Length header of the request even if the client does not
send such much data. Now it reads the POST request body by chunks,
therefore the memory consumption is proportional to the amount of sent
data.
(cherry picked from commit 0e4f4f1)

Co-authored-by: Serhiy Storchaka <[email protected]>
@bedevere-app

bedevere-app Bot commented Dec 5, 2025

Copy link
Copy Markdown

GH-142298 is a backport of this pull request to the 3.11 branch.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@bedevere-app bedevere-app Bot removed the needs backport to 3.11 only security fixes label Dec 5, 2025
@bedevere-app

bedevere-app Bot commented Dec 5, 2025

Copy link
Copy Markdown

GH-142299 is a backport of this pull request to the 3.10 branch.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@bedevere-app bedevere-app Bot removed the needs backport to 3.10 label Dec 5, 2025
Yhg1s pushed a commit that referenced this pull request Dec 5, 2025
@miss-islington @serhiy-storchaka @hugovk
[3.13] gh-119452: Fix a potential virtual memory allocation denial of…
9303573
… service in http.server (GH-142216) (#142296)

[3.14] gh-119452: Fix a potential virtual memory allocation denial of service in http.server (GH-142216)

The CGI server on Windows could consume the amount of memory specified
in the Content-Length header of the request even if the client does not
send such much data. Now it reads the POST request body by chunks,
therefore the memory consumption is proportional to the amount of sent
data.
(cherry picked from commit 0e4f4f1)

Co-authored-by: Serhiy Storchaka <[email protected]>
Co-authored-by: Hugo van Kemenade <[email protected]>
Yhg1s pushed a commit that referenced this pull request Dec 15, 2025
@miss-islington @serhiy-storchaka
[3.12] gh-119452: Fix a potential virtual memory allocation denial of…
d849cf5
… service in http.server (GH-142216) (#142297)

[3.14] gh-119452: Fix a potential virtual memory allocation denial of service in http.server (GH-142216)

The CGI server on Windows could consume the amount of memory specified
in the Content-Length header of the request even if the client does not
send such much data. Now it reads the POST request body by chunks,
therefore the memory consumption is proportional to the amount of sent
data.
(cherry picked from commit 0e4f4f1)

Co-authored-by: Serhiy Storchaka <[email protected]>
@bedevere-bot

bedevere-bot commented Dec 15, 2025

Copy link
Copy Markdown

⚠️⚠️⚠️ Buildbot failure ⚠️⚠️⚠️

Hi! The buildbot wasm32-wasi Non-Debug 3.12 (tier-2) has failed when building commit d849cf5.

What do you need to do:

  1. Don't panic.
  2. Check the buildbot page in the devguide if you don't know what the buildbots are or how they work.
  3. Go to the page of the buildbot that failed (https://buildbot.python.org/#/builders/1372/builds/1022) and take a look at the build logs.
  4. Check if the failure is related to this commit (d849cf5) or if it is a false positive.
  5. If the failure is related to this commit, please, reflect that on the issue and make a new Pull Request with a fix.

You can take a look at the buildbot page here:

https://buildbot.python.org/#/builders/1372/builds/1022

Failed tests:

  • test_code_module
  • test_xmlrpc_net
  • test_sqlite3
  • test.test_inspect.test_inspect
  • test_mailcap
  • test_cprofile
  • test_textwrap
  • test_zipapp
  • test_http_cookiejar
  • test_runpy
  • test_resource
  • test_subclassinit
  • test_struct
  • test__opcode
  • test_idle
  • test_math
  • test.test_asyncio.test_threads
  • test_sysconfig
  • test_webbrowser
  • test_pwd
  • test_robotparser
  • test_pkg
  • test_file
  • test_wsgiref
  • test_patma
  • test_dynamicclassattribute
  • test_contextlib_async
  • test_zipfile64
  • test_tty
  • test_pyclbr
  • test_script_helper
  • test_pkgutil
  • test_stable_abi_ctypes
  • test_unpack_ex
  • test_crashers
  • test_exception_variations
  • test_htmlparser
  • test_xml_dom_minicompat
  • test_queue
  • test_sort
  • test_nntplib
  • test_unittest
  • test_imaplib
  • test_posixpath
  • test.test_multiprocessing_fork.test_misc
  • test_dict
  • test_fractions
  • test_socketserver
  • test_slice
  • test_tix
  • test_exceptions
  • test_traceback
  • test_msilib
  • test_codecencodings_jp
  • test_importlib
  • test_compiler_codegen
  • test_xdrlib
  • test_frozen
  • test_funcattrs
  • test_turtle
  • test_stat
  • test_fileinput
  • test_smtplib
  • test_getopt
  • test_print
  • test_dbm
  • test_platform
  • test_telnetlib
  • test_dbm_dumb
  • test.test_concurrent_futures.test_thread_pool
  • test_winapi
  • test_plistlib
  • test_winreg
  • test_ossaudiodev
  • test.test_asyncio.test_runners
  • test_descrtut
  • test_codecmaps_hk
  • test.test_future_stmt.test_future_multiple_imports
  • test_zipfile
  • test_dynamic
  • test_timeit
  • test.test_multiprocessing_spawn.test_misc
  • test_syslog
  • test_warnings
  • test.test_asyncio.test_buffered_proto
  • test_codecencodings_iso2022
  • test.test_asyncio.test_base_events
  • test_pprint
  • test_abstract_numbers
  • test_string
  • test_unpack
  • test_pep646_syntax
  • test_contextlib
  • test_unicode
  • test_winconsoleio
  • test_with
  • test_yield_from
  • test_kqueue
  • test__xxsubinterpreters
  • test__locale
  • test_exception_hierarchy
  • test_datetime
  • test.test_multiprocessing_forkserver.test_manager
  • test_aifc
  • test_cext
  • test_pipes
  • test_marshal
  • test_uu
  • test_ssl
  • test_quopri
  • test_dbm_gnu
  • test.test_pydoc.test_pydoc
  • test_dictcomps
  • test_time

Failed subtests:

  • test_append_to_concatenated_zip_file - test.test_zipfile.test_core.StoredTestsWithSourceFile.test_append_to_concatenated_zip_file
  • test_write_filtered_python_package - test.test_zipfile.test_core.PyZipFileTests.test_write_filtered_python_package

Summary of the results of the build (if available):

==

Click to see traceback logs
Traceback (most recent call last):
  File "/Lib/test/libregrtest/single.py", line 181, in _runtest_env_changed_exc
    _load_run_test(result, runtests)
  File "/Lib/test/libregrtest/single.py", line 128, in _load_run_test
    test_mod = importlib.import_module(module_name)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Lib/importlib/__init__.py", line 90, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 999, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "/Lib/test/test_sqlite3/__init__.py", line 4, in <module>
    import_helper.import_module('_sqlite3')
  File "/Lib/test/support/import_helper.py", line 82, in import_module
    raise unittest.SkipTest(str(msg))
unittest.case.SkipTest: No module named '_sqlite3'


Traceback (most recent call last):
  File "/Lib/test/libregrtest/single.py", line 181, in _runtest_env_changed_exc
    _load_run_test(result, runtests)
  File "/Lib/test/libregrtest/single.py", line 128, in _load_run_test
    test_mod = importlib.import_module(module_name)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Lib/importlib/__init__.py", line 90, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 999, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "/Lib/test/test_kqueue.py", line 13, in <module>
    raise unittest.SkipTest("test works only on BSD")
unittest.case.SkipTest: test works only on BSD


Traceback (most recent call last):
  File "/Lib/test/libregrtest/single.py", line 181, in _runtest_env_changed_exc
    _load_run_test(result, runtests)
  File "/Lib/test/libregrtest/single.py", line 128, in _load_run_test
    test_mod = importlib.import_module(module_name)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Lib/importlib/__init__.py", line 90, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 999, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "/Lib/test/test_ssl.py", line 38, in <module>
    ssl = import_helper.import_module("ssl")
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Lib/test/support/import_helper.py", line 82, in import_module
    raise unittest.SkipTest(str(msg))
unittest.case.SkipTest: No module named '_ssl'


Traceback (most recent call last):
  File "/Lib/test/support/import_helper.py", line 78, in import_module
    return importlib.import_module(name)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Lib/importlib/__init__.py", line 90, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1324, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'resource'


Traceback (most recent call last):
  File "/Lib/test/support/import_helper.py", line 78, in import_module
    return importlib.import_module(name)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Lib/importlib/__init__.py", line 90, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1324, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'pwd'


Traceback (most recent call last):
  File "/Lib/test/libregrtest/single.py", line 181, in _runtest_env_changed_exc
    _load_run_test(result, runtests)
  File "/Lib/test/libregrtest/single.py", line 128, in _load_run_test
    test_mod = importlib.import_module(module_name)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Lib/importlib/__init__.py", line 90, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1310, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 999, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "/Lib/test/test_asyncio/__init__.py", line 6, in <module>
    support.requires_working_socket(module=True)
  File "/Lib/test/support/__init__.py", line 586, in requires_working_socket
    raise unittest.SkipTest(msg)
unittest.case.SkipTest: requires socket support


Traceback (most recent call last):
  File "/Lib/test/libregrtest/single.py", line 181, in _runtest_env_changed_exc
    _load_run_test(result, runtests)
  File "/Lib/test/libregrtest/single.py", line 128, in _load_run_test
    test_mod = importlib.import_module(module_name)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Lib/importlib/__init__.py", line 90, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 999, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "/Lib/test/test_msilib.py", line 9, in <module>
    msilib = import_module('msilib')
             ^^^^^^^^^^^^^^^^^^^^^^^
  File "/Lib/test/support/import_helper.py", line 82, in import_module
    raise unittest.SkipTest(str(msg))
unittest.case.SkipTest: No module named '_msi'


Traceback (most recent call last):
  File "/Lib/test/libregrtest/single.py", line 181, in _runtest_env_changed_exc
    _load_run_test(result, runtests)
  File "/Lib/test/libregrtest/single.py", line 128, in _load_run_test
    test_mod = importlib.import_module(module_name)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Lib/importlib/__init__.py", line 90, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 999, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "/Lib/test/test_multiprocessing_fork/test_misc.py", line 2, in <module>
    from test._test_multiprocessing import install_tests_in_module_dict
  File "/Lib/test/_test_multiprocessing.py", line 44, in <module>
    _multiprocessing = import_helper.import_module('_multiprocessing')
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Lib/test/support/import_helper.py", line 82, in import_module
    raise unittest.SkipTest(str(msg))
unittest.case.SkipTest: No module named '_multiprocessing'


Traceback (most recent call last):
  File "/Lib/test/libregrtest/single.py", line 181, in _runtest_env_changed_exc
    _load_run_test(result, runtests)
  File "/Lib/test/libregrtest/single.py", line 128, in _load_run_test
    test_mod = importlib.import_module(module_name)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Lib/importlib/__init__.py", line 90, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 999, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "/Lib/test/test_winreg.py", line 12, in <module>
    import_helper.import_module('winreg', required_on=['win'])
  File "/Lib/test/support/import_helper.py", line 82, in import_module
    raise unittest.SkipTest(str(msg))
unittest.case.SkipTest: No module named 'winreg'


Traceback (most recent call last):
  File "/Lib/test/support/import_helper.py", line 78, in import_module
    return importlib.import_module(name)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Lib/importlib/__init__.py", line 90, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1324, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'termios'


Traceback (most recent call last):
  File "/Lib/test/libregrtest/single.py", line 307, in run_single_test
    _runtest(result, runtests)
  File "/Lib/test/libregrtest/single.py", line 281, in _runtest
    _runtest_env_changed_exc(result, runtests,
  File "/Lib/test/libregrtest/single.py", line 189, in _runtest_env_changed_exc
    print(f"{test_name} skipped -- {exc}", flush=True)
OSError: [Errno 51] No space left on device


Traceback (most recent call last):
  File "/Lib/test/support/import_helper.py", line 78, in import_module
    return importlib.import_module(name)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Lib/importlib/__init__.py", line 90, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 999, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "/Lib/msilib/__init__.py", line 3, in <module>
    from _msi import *
ModuleNotFoundError: No module named '_msi'


Traceback (most recent call last):
  File "/Lib/test/libregrtest/single.py", line 181, in _runtest_env_changed_exc
    _load_run_test(result, runtests)
  File "/Lib/test/libregrtest/single.py", line 128, in _load_run_test
    test_mod = importlib.import_module(module_name)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Lib/importlib/__init__.py", line 90, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 999, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "/Lib/test/test_winapi.py", line 9, in <module>
    _winapi = import_helper.import_module('_winapi', required_on=['win'])
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Lib/test/support/import_helper.py", line 82, in import_module
    raise unittest.SkipTest(str(msg))
unittest.case.SkipTest: No module named '_winapi'


Traceback (most recent call last):
  File "/Lib/test/libregrtest/single.py", line 307, in run_single_test
    _runtest(result, runtests)
  File "/Lib/test/libregrtest/single.py", line 281, in _runtest
    _runtest_env_changed_exc(result, runtests,
  File "/Lib/test/libregrtest/single.py", line 184, in _runtest_env_changed_exc
    print(f"{test_name} skipped -- {exc}", flush=True)
OSError: [Errno 51] No space left on device


Traceback (most recent call last):
  File "/Lib/test/support/import_helper.py", line 78, in import_module
    return importlib.import_module(name)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Lib/importlib/__init__.py", line 90, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1324, in _find_and_load_unlocked
ModuleNotFoundError: No module named '_sqlite3'


Traceback (most recent call last):
  File "/Lib/test/libregrtest/single.py", line 181, in _runtest_env_changed_exc
    _load_run_test(result, runtests)
  File "/Lib/test/libregrtest/single.py", line 128, in _load_run_test
    test_mod = importlib.import_module(module_name)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Lib/importlib/__init__.py", line 90, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 999, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "/Lib/test/test_resource.py", line 9, in <module>
    resource = import_helper.import_module('resource')
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Lib/test/support/import_helper.py", line 82, in import_module
    raise unittest.SkipTest(str(msg))
unittest.case.SkipTest: No module named 'resource'


Traceback (most recent call last):
  File "/Lib/test/libregrtest/single.py", line 181, in _runtest_env_changed_exc
    _load_run_test(result, runtests)
  File "/Lib/test/libregrtest/single.py", line 128, in _load_run_test
    test_mod = importlib.import_module(module_name)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Lib/importlib/__init__.py", line 90, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 999, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "/Lib/test/test_smtplib.py", line 29, in <module>
    support.requires_working_socket(module=True)
  File "/Lib/test/support/__init__.py", line 586, in requires_working_socket
    raise unittest.SkipTest(msg)
unittest.case.SkipTest: requires socket support


Traceback (most recent call last):
  File "/Lib/test/support/import_helper.py", line 78, in import_module
    return importlib.import_module(name)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Lib/importlib/__init__.py", line 90, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 999, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "/Lib/tkinter/__init__.py", line 38, in <module>
    import _tkinter # If this fails your Python may not be configured for Tk
    ^^^^^^^^^^^^^^^
ModuleNotFoundError: No module named '_tkinter'


Traceback (most recent call last):
  File "/Lib/test/test_zipfile/test_core.py", line 1480, in test_write_filtered_python_package
    with TemporaryFile() as t, zipfile.PyZipFile(t, "w") as zipfp:
                               ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Lib/zipfile/__init__.py", line 1413, in __exit__
    self.close()
  File "/Lib/zipfile/__init__.py", line 1983, in close
    self.fp.seek(self.start_dir)
OSError: [Errno 51] No space left on device


Traceback (most recent call last):
  File "/Lib/test/support/import_helper.py", line 78, in import_module
    return importlib.import_module(name)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Lib/importlib/__init__.py", line 90, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 999, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "/Lib/ssl.py", line 100, in <module>
    import _ssl             # if we can't import it, let the error propagate
    ^^^^^^^^^^^
ModuleNotFoundError: No module named '_ssl'


Traceback (most recent call last):
  File "/Lib/test/libregrtest/single.py", line 181, in _runtest_env_changed_exc
    _load_run_test(result, runtests)
  File "/Lib/test/libregrtest/single.py", line 128, in _load_run_test
    test_mod = importlib.import_module(module_name)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Lib/importlib/__init__.py", line 90, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 999, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "/Lib/test/test_multiprocessing_spawn/test_misc.py", line 2, in <module>
    from test._test_multiprocessing import install_tests_in_module_dict
  File "/Lib/test/_test_multiprocessing.py", line 44, in <module>
    _multiprocessing = import_helper.import_module('_multiprocessing')
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Lib/test/support/import_helper.py", line 82, in import_module
    raise unittest.SkipTest(str(msg))
unittest.case.SkipTest: No module named '_multiprocessing'


Traceback (most recent call last):
  File "/Lib/test/libregrtest/single.py", line 181, in _runtest_env_changed_exc
    _load_run_test(result, runtests)
  File "/Lib/test/libregrtest/single.py", line 128, in _load_run_test
    test_mod = importlib.import_module(module_name)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Lib/importlib/__init__.py", line 90, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 999, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "/Lib/test/test_multiprocessing_forkserver/test_manager.py", line 2, in <module>
    from test._test_multiprocessing import install_tests_in_module_dict
  File "/Lib/test/_test_multiprocessing.py", line 44, in <module>
    _multiprocessing = import_helper.import_module('_multiprocessing')
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Lib/test/support/import_helper.py", line 82, in import_module
    raise unittest.SkipTest(str(msg))
unittest.case.SkipTest: No module named '_multiprocessing'


Traceback (most recent call last):
  File "/Lib/test/libregrtest/single.py", line 181, in _runtest_env_changed_exc
    _load_run_test(result, runtests)
  File "/Lib/test/libregrtest/single.py", line 128, in _load_run_test
    test_mod = importlib.import_module(module_name)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Lib/importlib/__init__.py", line 90, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 999, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "/Lib/test/test_pipes.py", line 16, in <module>
    raise unittest.SkipTest('pipes module requires a shell')
unittest.case.SkipTest: pipes module requires a shell


Traceback (most recent call last):
  File "/Lib/test/test_zipfile/test_core.py", line 1480, in test_write_filtered_python_package
    with TemporaryFile() as t, zipfile.PyZipFile(t, "w") as zipfp:
         ^^^^^^^^^^^^^^^
OSError: [Errno 51] No space left on device


Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/Lib/test/libregrtest/worker.py", line 104, in <module>
    main()
  File "/Lib/test/libregrtest/worker.py", line 100, in main
    worker_process(worker_json)
  File "/Lib/test/libregrtest/worker.py", line 77, in worker_process
    result = run_single_test(test_name, runtests)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Lib/test/libregrtest/single.py", line 311, in run_single_test
    print(f"test {test_name} crashed -- {msg}",
OSError: [Errno 51] No space left on device


Traceback (most recent call last):
  File "/Lib/test/support/import_helper.py", line 78, in import_module
    return importlib.import_module(name)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Lib/importlib/__init__.py", line 90, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1324, in _find_and_load_unlocked
ModuleNotFoundError: No module named '_multiprocessing'


Traceback (most recent call last):
  File "/Lib/test/support/import_helper.py", line 78, in import_module
    return importlib.import_module(name)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Lib/importlib/__init__.py", line 90, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1324, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'winreg'


Traceback (most recent call last):
  File "/Lib/test/libregrtest/single.py", line 181, in _runtest_env_changed_exc
    _load_run_test(result, runtests)
  File "/Lib/test/libregrtest/single.py", line 128, in _load_run_test
    test_mod = importlib.import_module(module_name)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Lib/importlib/__init__.py", line 90, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 999, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "/Lib/test/test_getopt.py", line 8, in <module>
    from test.support.i18n_helper import TestTranslationsBase, update_translation_snapshots
  File "/Lib/test/support/i18n_helper.py", line 7, in <module>
    from test.test_tools import skip_if_missing
  File "/Lib/test/test_tools/__init__.py", line 17, in <module>
    raise unittest.SkipTest("test module requires subprocess")
unittest.case.SkipTest: test module requires subprocess


Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/Lib/test/libregrtest/worker.py", line 104, in <module>
    main()
  File "/Lib/test/libregrtest/worker.py", line 100, in main
    worker_process(worker_json)
  File "/Lib/test/libregrtest/worker.py", line 81, in worker_process
    result.write_json_into(sys.stdout)
  File "/Lib/test/libregrtest/result.py", line 188, in write_json_into
    json.dump(self, file, cls=_EncodeTestResult)
  File "/Lib/json/__init__.py", line 180, in dump
    fp.write(chunk)
OSError: [Errno 51] No space left on device


Traceback (most recent call last):
  File "/Lib/test/test_zipfile/test_core.py", line 559, in test_append_to_concatenated_zip_file
    f.write(data)
OSError: [Errno 51] No space left on device


Traceback (most recent call last):
  File "/Lib/test/libregrtest/single.py", line 181, in _runtest_env_changed_exc
    _load_run_test(result, runtests)
  File "/Lib/test/libregrtest/single.py", line 128, in _load_run_test
    test_mod = importlib.import_module(module_name)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Lib/importlib/__init__.py", line 90, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 999, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "/Lib/test/test_xmlrpc_net.py", line 8, in <module>
    support.requires("network")
  File "/Lib/test/support/__init__.py", line 299, in requires
    raise ResourceDenied("No socket support")


Traceback (most recent call last):
  File "/Lib/test/support/import_helper.py", line 78, in import_module
    return importlib.import_module(name)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Lib/importlib/__init__.py", line 90, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1324, in _find_and_load_unlocked
ModuleNotFoundError: No module named '_winapi'


Traceback (most recent call last):
  File "/Lib/test/libregrtest/single.py", line 181, in _runtest_env_changed_exc
    _load_run_test(result, runtests)
  File "/Lib/test/libregrtest/single.py", line 128, in _load_run_test
    test_mod = importlib.import_module(module_name)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Lib/importlib/__init__.py", line 90, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 999, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "/Lib/test/test_idle.py", line 9, in <module>
    tk = import_module('tkinter')  # Also imports _tkinter.
         ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Lib/test/support/import_helper.py", line 82, in import_module
    raise unittest.SkipTest(str(msg))
unittest.case.SkipTest: No module named '_tkinter'


Traceback (most recent call last):
  File "/Lib/test/test_zipfile/test_core.py", line 1485, in test_write_filtered_python_package
    zipfp.writepy(packagedir)
  File "/Lib/zipfile/__init__.py", line 2144, in writepy
    self.writepy(path, basename,
  File "/Lib/zipfile/__init__.py", line 2155, in writepy
    self.write(fname, arcname)
  File "/Lib/zipfile/__init__.py", line 1885, in write
    with open(filename, "rb") as src, self.open(zinfo, 'w') as dest:
                                      ^^^^^^^^^^^^^^^^^^^^^
  File "/Lib/zipfile/__init__.py", line 1275, in close
    self._fileobj.seek(self._zinfo.header_offset)
OSError: [Errno 51] No space left on device


Traceback (most recent call last):
  File "/Lib/test/support/import_helper.py", line 78, in import_module
    return importlib.import_module(name)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Lib/importlib/__init__.py", line 90, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1324, in _find_and_load_unlocked
ModuleNotFoundError: No module named '_xxsubinterpreters'


Traceback (most recent call last):
  File "/Lib/test/libregrtest/single.py", line 181, in _runtest_env_changed_exc
    _load_run_test(result, runtests)
  File "/Lib/test/libregrtest/single.py", line 128, in _load_run_test
    test_mod = importlib.import_module(module_name)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Lib/importlib/__init__.py", line 90, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 999, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "/Lib/test/test_tix.py", line 12, in <module>
    _tkinter = import_helper.import_module('_tkinter')
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Lib/test/support/import_helper.py", line 82, in import_module
    raise unittest.SkipTest(str(msg))
unittest.case.SkipTest: No module named '_tkinter'


Traceback (most recent call last):
  File "/Lib/test/libregrtest/single.py", line 181, in _runtest_env_changed_exc
    _load_run_test(result, runtests)
  File "/Lib/test/libregrtest/single.py", line 128, in _load_run_test
    test_mod = importlib.import_module(module_name)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Lib/importlib/__init__.py", line 90, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 999, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "/Lib/test/test_webbrowser.py", line 12, in <module>
    raise unittest.SkipTest("test webserver requires subprocess")
unittest.case.SkipTest: test webserver requires subprocess


Traceback (most recent call last):
  File "/Lib/test/libregrtest/single.py", line 181, in _runtest_env_changed_exc
    _load_run_test(result, runtests)
  File "/Lib/test/libregrtest/single.py", line 128, in _load_run_test
    test_mod = importlib.import_module(module_name)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Lib/importlib/__init__.py", line 90, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 999, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "/Lib/test/test_winconsoleio.py", line 12, in <module>
    raise unittest.SkipTest("test only relevant on win32")
unittest.case.SkipTest: test only relevant on win32


Traceback (most recent call last):
  File "/Lib/test/libregrtest/single.py", line 181, in _runtest_env_changed_exc
    _load_run_test(result, runtests)
  File "/Lib/test/libregrtest/single.py", line 128, in _load_run_test
    test_mod = importlib.import_module(module_name)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Lib/importlib/__init__.py", line 90, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 999, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "/Lib/test/test_tty.py", line 5, in <module>
    termios = import_module('termios')
              ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Lib/test/support/import_helper.py", line 82, in import_module
    raise unittest.SkipTest(str(msg))
unittest.case.SkipTest: No module named 'termios'


Traceback (most recent call last):
  File "/Lib/test/libregrtest/single.py", line 181, in _runtest_env_changed_exc
    _load_run_test(result, runtests)
  File "/Lib/test/libregrtest/single.py", line 128, in _load_run_test
    test_mod = importlib.import_module(module_name)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Lib/importlib/__init__.py", line 90, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1310, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 999, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "/Lib/test/test_concurrent_futures/__init__.py", line 7, in <module>
    import_helper.import_module('_multiprocessing')
  File "/Lib/test/support/import_helper.py", line 82, in import_module
    raise unittest.SkipTest(str(msg))
unittest.case.SkipTest: No module named '_multiprocessing'


Traceback (most recent call last):
  File "/Lib/test/support/import_helper.py", line 78, in import_module
    return importlib.import_module(name)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Lib/importlib/__init__.py", line 90, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 999, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "/Lib/turtle.py", line 101, in <module>
    import tkinter as TK
  File "/Lib/tkinter/__init__.py", line 38, in <module>
    import _tkinter # If this fails your Python may not be configured for Tk
    ^^^^^^^^^^^^^^^
ModuleNotFoundError: No module named '_tkinter'


Traceback (most recent call last):
  File "/Lib/test/support/import_helper.py", line 78, in import_module
    return importlib.import_module(name)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Lib/importlib/__init__.py", line 90, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1324, in _find_and_load_unlocked
ModuleNotFoundError: No module named '_tkinter'


Traceback (most recent call last):
  File "/Lib/test/libregrtest/single.py", line 181, in _runtest_env_changed_exc
    _load_run_test(result, runtests)
  File "/Lib/test/libregrtest/single.py", line 128, in _load_run_test
    test_mod = importlib.import_module(module_name)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Lib/importlib/__init__.py", line 90, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 999, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "/Lib/test/test_pwd.py", line 5, in <module>
    pwd = import_helper.import_module('pwd')
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Lib/test/support/import_helper.py", line 82, in import_module
    raise unittest.SkipTest(str(msg))
unittest.case.SkipTest: No module named 'pwd'


Traceback (most recent call last):
  File "/Lib/test/libregrtest/single.py", line 181, in _runtest_env_changed_exc
    _load_run_test(result, runtests)
  File "/Lib/test/libregrtest/single.py", line 128, in _load_run_test
    test_mod = importlib.import_module(module_name)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Lib/importlib/__init__.py", line 90, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 999, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "/Lib/test/test__xxsubinterpreters.py", line 15, in <module>
    interpreters = import_helper.import_module('_xxsubinterpreters')
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Lib/test/support/import_helper.py", line 82, in import_module
    raise unittest.SkipTest(str(msg))
unittest.case.SkipTest: No module named '_xxsubinterpreters'


Traceback (most recent call last):
  File "/Lib/test/libregrtest/single.py", line 181, in _runtest_env_changed_exc
    _load_run_test(result, runtests)
  File "/Lib/test/libregrtest/single.py", line 128, in _load_run_test
    test_mod = importlib.import_module(module_name)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Lib/importlib/__init__.py", line 90, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 999, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "/Lib/test/test_zipfile64.py", line 9, in <module>
    support.requires(
  File "/Lib/test/support/__init__.py", line 297, in requires
    raise ResourceDenied(msg)


Traceback (most recent call last):
  File "/Lib/test/libregrtest/single.py", line 181, in _runtest_env_changed_exc
    _load_run_test(result, runtests)
  File "/Lib/test/libregrtest/single.py", line 128, in _load_run_test
    test_mod = importlib.import_module(module_name)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Lib/importlib/__init__.py", line 90, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 999, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "/Lib/test/test_queue.py", line 14, in <module>
    threading_helper.requires_working_threading(module=True)
  File "/Lib/test/support/threading_helper.py", line 248, in requires_working_threading
    raise unittest.SkipTest(msg)
unittest.case.SkipTest: requires threading support


Traceback (most recent call last):
  File "/Lib/test/libregrtest/single.py", line 181, in _runtest_env_changed_exc
    _load_run_test(result, runtests)
  File "/Lib/test/libregrtest/single.py", line 128, in _load_run_test
    test_mod = importlib.import_module(module_name)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Lib/importlib/__init__.py", line 90, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 999, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "/Lib/test/test_turtle.py", line 8, in <module>
    turtle = import_helper.import_module('turtle')
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Lib/test/support/import_helper.py", line 82, in import_module
    raise unittest.SkipTest(str(msg))
unittest.case.SkipTest: No module named '_tkinter'


Traceback (most recent call last):
  File "/Lib/test/libregrtest/single.py", line 181, in _runtest_env_changed_exc
    _load_run_test(result, runtests)
  File "/Lib/test/libregrtest/single.py", line 128, in _load_run_test
    test_mod = importlib.import_module(module_name)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Lib/importlib/__init__.py", line 90, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 999, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "/Lib/test/test_socketserver.py", line 22, in <module>
    test.support.requires("network")
  File "/Lib/test/support/__init__.py", line 299, in requires
    raise ResourceDenied("No socket support")
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@bedevere-bot

bedevere-bot commented Dec 15, 2025

Copy link
Copy Markdown

⚠️⚠️⚠️ Buildbot failure ⚠️⚠️⚠️

Hi! The buildbot s390x RHEL9 Refleaks 3.12 (tier-3) has failed when building commit d849cf5.

What do you need to do:

  1. Don't panic.
  2. Check the buildbot page in the devguide if you don't know what the buildbots are or how they work.
  3. Go to the page of the buildbot that failed (https://buildbot.python.org/#/builders/1569/builds/633) and take a look at the build logs.
  4. Check if the failure is related to this commit (d849cf5) or if it is a false positive.
  5. If the failure is related to this commit, please, reflect that on the issue and make a new Pull Request with a fix.

You can take a look at the buildbot page here:

https://buildbot.python.org/#/builders/1569/builds/633

Failed tests:

  • test_ssl

Failed subtests:

  • test_wrong_cert_tls13 - test.test_ssl.ThreadedTests.test_wrong_cert_tls13

Summary of the results of the build (if available):

==

Click to see traceback logs
Traceback (most recent call last):
   File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/test/test_ssl.py", line 2273, in wrap_conn
    self.sslconn = self.server.context.wrap_socket(
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/ssl.py", line 455, in wrap_socket
    return self.sslsocket_class._create(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/ssl.py", line 1041, in _create
    self.do_handshake()
   File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/ssl.py", line 1319, in do_handshake
    self._sslobj.do_handshake()
 ssl.SSLError: [SSL: TLSV1_ALERT_UNKNOWN_CA] tlsv1 alert unknown ca (_ssl.c:1010)
k


Traceback (most recent call last):
   File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/test/test_ssl.py", line 2273, in wrap_conn
    self.sslconn = self.server.context.wrap_socket(
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/ssl.py", line 455, in wrap_socket
    return self.sslsocket_class._create(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/ssl.py", line 1041, in _create
    self.do_handshake()
   File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/ssl.py", line 1319, in do_handshake
    self._sslobj.do_handshake()
 ssl.SSLError: [SSL: SSLV3_ALERT_BAD_CERTIFICATE] ssl/tls alert bad certificate (_ssl.c:1010)
 connection timeout TimeoutError('timed out')
 connection timeout TimeoutError('timed out')
k


Traceback (most recent call last):
  File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/test/test_ssl.py", line 255, in wrapper
    return func(*args, **kw)
           ^^^^^^^^^^^^^^^^^
  File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/test/test_ssl.py", line 3155, in test_wrong_cert_tls13
    s.write(b'data')
  File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/ssl.py", line 1122, in write
    return self._sslobj.write(data)
           ^^^^^^^^^^^^^^^^^^^^^^^^
ConnectionResetError: [Errno 104] Connection reset by peer


Traceback (most recent call last):
   File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/test/test_ssl.py", line 2273, in wrap_conn
    self.sslconn = self.server.context.wrap_socket(
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/ssl.py", line 455, in wrap_socket
    return self.sslsocket_class._create(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/ssl.py", line 1041, in _create
    self.do_handshake()
   File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/ssl.py", line 1319, in do_handshake
    self._sslobj.do_handshake()
 ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate (_ssl.c:1010)
k


Traceback (most recent call last):
   File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/test/test_ssl.py", line 2273, in wrap_conn
    self.sslconn = self.server.context.wrap_socket(
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/ssl.py", line 455, in wrap_socket
    return self.sslsocket_class._create(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/ssl.py", line 1041, in _create
    self.do_handshake()
   File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/ssl.py", line 1319, in do_handshake
    self._sslobj.do_handshake()
 ssl.SSLError: [SSL: SSLV3_ALERT_BAD_CERTIFICATE] ssl/tls alert bad certificate (_ssl.c:1010)
 connection timeout TimeoutError('timed out')
k


Traceback (most recent call last):
   File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/test/test_ssl.py", line 2273, in wrap_conn
    self.sslconn = self.server.context.wrap_socket(
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/ssl.py", line 455, in wrap_socket
    return self.sslsocket_class._create(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/ssl.py", line 1041, in _create
    self.do_handshake()
   File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/ssl.py", line 1319, in do_handshake
    self._sslobj.do_handshake()
 ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate (_ssl.c:1010)
 connection timeout TimeoutError('timed out')
k


Traceback (most recent call last):
   File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/test/test_ssl.py", line 2273, in wrap_conn
    self.sslconn = self.server.context.wrap_socket(
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/ssl.py", line 455, in wrap_socket
    return self.sslsocket_class._create(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/ssl.py", line 1041, in _create
    self.do_handshake()
   File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/ssl.py", line 1319, in do_handshake
    self._sslobj.do_handshake()
 ssl.SSLError: [SSL: SSLV3_ALERT_BAD_CERTIFICATE] ssl/tls alert bad certificate (_ssl.c:1010)
k


Traceback (most recent call last):
   File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/test/test_ssl.py", line 2273, in wrap_conn
    self.sslconn = self.server.context.wrap_socket(
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/ssl.py", line 455, in wrap_socket
    return self.sslsocket_class._create(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/ssl.py", line 1041, in _create
    self.do_handshake()
   File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/ssl.py", line 1319, in do_handshake
    self._sslobj.do_handshake()
 ssl.SSLError: [SSL: NO_SHARED_CIPHER] no shared cipher (_ssl.c:1010)
k


Traceback (most recent call last):
   File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/test/test_ssl.py", line 2357, in run
    msg = self.read()
          ^^^^^^^^^^^
   File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/test/test_ssl.py", line 2334, in read
    return self.sslconn.read()
           ^^^^^^^^^^^^^^^^^^^
   File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/ssl.py", line 1105, in read
    return self._sslobj.read(len)
           ^^^^^^^^^^^^^^^^^^^^^^
 ssl.SSLError: [SSL: PEER_DID_NOT_RETURN_A_CERTIFICATE] peer did not return a certificate (_ssl.c:2580)
k


Traceback (most recent call last):
   File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/test/test_ssl.py", line 2273, in wrap_conn
    self.sslconn = self.server.context.wrap_socket(
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/ssl.py", line 455, in wrap_socket
    return self.sslsocket_class._create(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/ssl.py", line 1041, in _create
    self.do_handshake()
   File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/ssl.py", line 1319, in do_handshake
    self._sslobj.do_handshake()
 ssl.SSLError: [SSL: TLSV1_ALERT_UNKNOWN_CA] tlsv1 alert unknown ca (_ssl.c:1010)
 server:  new connection from ('127.0.0.1', 41082)
 server: connection cipher is now ('TLS_AES_256_GCM_SHA384', 'TLSv1.3', 256)
 Connection reset by peer: ('127.0.0.1', 41082)
k


Traceback (most recent call last):
   File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/test/test_ssl.py", line 2273, in wrap_conn
    self.sslconn = self.server.context.wrap_socket(
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/ssl.py", line 455, in wrap_socket
    return self.sslsocket_class._create(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/ssl.py", line 1041, in _create
    self.do_handshake()
   File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/ssl.py", line 1319, in do_handshake
    self._sslobj.do_handshake()
 ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate (_ssl.c:1010)
 connection timeout TimeoutError('timed out')
ERROR


Traceback (most recent call last):
   File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/test/test_ssl.py", line 2273, in wrap_conn
    self.sslconn = self.server.context.wrap_socket(
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/ssl.py", line 455, in wrap_socket
    return self.sslsocket_class._create(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/ssl.py", line 1041, in _create
    self.do_handshake()
   File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/ssl.py", line 1319, in do_handshake
    self._sslobj.do_handshake()
 ssl.SSLError: [SSL: TLSV1_ALERT_UNKNOWN_CA] tlsv1 alert unknown ca (_ssl.c:1010)
 server:  new connection from ('127.0.0.1', 59800)
 server: connection cipher is now ('TLS_AES_256_GCM_SHA384', 'TLSv1.3', 256)
 Connection reset by peer: ('127.0.0.1', 59800)
k


Traceback (most recent call last):
   File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/test/test_ssl.py", line 2273, in wrap_conn
    self.sslconn = self.server.context.wrap_socket(
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/ssl.py", line 455, in wrap_socket
    return self.sslsocket_class._create(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/ssl.py", line 1041, in _create
    self.do_handshake()
   File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/ssl.py", line 1319, in do_handshake
    self._sslobj.do_handshake()
 ssl.SSLError: [SSL: NO_SUITABLE_KEY_SHARE] no suitable key share (_ssl.c:1010)
k


Traceback (most recent call last):
   File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/test/test_ssl.py", line 2273, in wrap_conn
    self.sslconn = self.server.context.wrap_socket(
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/ssl.py", line 455, in wrap_socket
    return self.sslsocket_class._create(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/ssl.py", line 1041, in _create
    self.do_handshake()
   File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/ssl.py", line 1319, in do_handshake
    self._sslobj.do_handshake()
 ssl.SSLEOFError: [SSL: UNEXPECTED_EOF_WHILE_READING] EOF occurred in violation of protocol (_ssl.c:1010)
k


Traceback (most recent call last):
   File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/test/test_ssl.py", line 2273, in wrap_conn
    self.sslconn = self.server.context.wrap_socket(
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/ssl.py", line 455, in wrap_socket
    return self.sslsocket_class._create(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/ssl.py", line 1041, in _create
    self.do_handshake()
   File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/ssl.py", line 1319, in do_handshake
    self._sslobj.do_handshake()
 ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate (_ssl.c:1010)


Traceback (most recent call last):
   File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/test/test_ssl.py", line 2273, in wrap_conn
    self.sslconn = self.server.context.wrap_socket(
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/ssl.py", line 455, in wrap_socket
    return self.sslsocket_class._create(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/ssl.py", line 1041, in _create
    self.do_handshake()
   File "/home/buildbot/buildarea/3.12.cstratak-rhel9-s390x.refleak/build/Lib/ssl.py", line 1319, in do_handshake
    self._sslobj.do_handshake()
 ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate (_ssl.c:1010)
ERROR
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

pablogsal pushed a commit that referenced this pull request Jan 25, 2026
@miss-islington @serhiy-storchaka
[3.10] gh-119452: Fix a potential virtual memory allocation denial of…
f2088a5
… service in http.server (GH-142216) (#142299)

[3.14] gh-119452: Fix a potential virtual memory allocation denial of service in http.server (GH-142216)

The CGI server on Windows could consume the amount of memory specified
in the Content-Length header of the request even if the client does not
send such much data. Now it reads the POST request body by chunks,
therefore the memory consumption is proportional to the amount of sent
data.
(cherry picked from commit 0e4f4f1)

Co-authored-by: Serhiy Storchaka <[email protected]>
pablogsal pushed a commit that referenced this pull request Jan 25, 2026
@miss-islington @serhiy-storchaka
[3.11] gh-119452: Fix a potential virtual memory allocation denial of…
fa1aae0
… service in http.server (GH-142216) (#142298)

[3.14] gh-119452: Fix a potential virtual memory allocation denial of service in http.server (GH-142216)

The CGI server on Windows could consume the amount of memory specified
in the Content-Length header of the request even if the client does not
send such much data. Now it reads the POST request body by chunks,
therefore the memory consumption is proportional to the amount of sent
data.
(cherry picked from commit 0e4f4f1)

Co-authored-by: Serhiy Storchaka <[email protected]>
icanhasmath pushed a commit to ActiveState/cpython that referenced this pull request Oct 28, 2026
@miss-islington @serhiy-storchaka @icanhasmath
[3.10] pythongh-119452: Fix a potential virtual memory allocation den…
34072c5
…ial of service in http.server (pythonGH-142216) (python#142299)

[3.14] pythongh-119452: Fix a potential virtual memory allocation denial of service in http.server (pythonGH-142216)

The CGI server on Windows could consume the amount of memory specified
in the Content-Length header of the request even if the client does not
send such much data. Now it reads the POST request body by chunks,
therefore the memory consumption is proportional to the amount of sent
data.
(cherry picked from commit 0e4f4f1)

Co-authored-by: Serhiy Storchaka <[email protected]>
(cherry picked from commit f2088a5)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@gpshead gpshead Awaiting requested review from gpshead
@encukou encukou Awaiting requested review from encukou
@hugovk hugovk Awaiting requested review from hugovk

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@serhiy-storchaka @bedevere-bot @encukou
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.