Skip to content

test_socket failed when compiling from source (Python 3.12.5) #123645

@Cryo81

Description

@Cryo81

Bug description:

Hello, I'm running into several compilation error when compiling python from source on a clean debian on WSL2 (Windows 10)

0:01:24 load avg: 0.52 [393/489/26] test_socket failed (205 errors, 48 failures) (1 min) -- running (4): test_signal (39.4 sec), test.test_concurrent_futures.test_deadlock (35.4 sec), test_json (35.5 sec), test_hashlib (35.8 sec)
Warning -- Unraisable exception
Exception ignored in thread started by: <bound method ThreadableTest.clientRun of <test.test_socket.BasicUDPLITETest testMethod=testRecvFrom>>
Traceback (most recent call last):
  File "REDACTED/Python-3.12.5/Lib/test/test_socket.py", line 376, in clientRun
    self.clientTearDown()
  File "REDACTED/Python-3.12.5/Lib/test/test_socket.py", line 439, in clientTearDown
    self.cli.close()
    ^^^^^^^^
AttributeError: 'BasicUDPLITETest' object has no attribute 'cli'
Warning -- Unraisable exception
Exception ignored in thread started by: <bound method ThreadableTest.clientRun of <test.test_socket.BasicUDPLITETest testMethod=testRecvFromNegative>>
Traceback (most recent call last):
  File "REDACTED/Python-3.12.5/Lib/test/test_socket.py", line 376, in clientRun
    self.clientTearDown()
  File "REDACTED/Python-3.12.5/Lib/test/test_socket.py", line 439, in clientTearDown
    self.cli.close()
    ^^^^^^^^
[...]

CPython versions tested on:

3.12

Operating systems tested on:

Other

Metadata

Metadata

Assignees

No one assigned

    Labels

    testsTests in the Lib/test dirtype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions