Skip to content

test.test_socket.RDSTest.testPeek hangs indefinitely in docker container #136110

Open
@Noblt

Description

@Noblt

Bug report

Bug description:

Execution of test_socket.RDSTest.testPeek hangs indefinitely in docker container for Python 3.12.10.
Reproduced on ArchLinux, Docker version 28.2.2, official images Ubuntu 18:04 and Ubuntu 24:04.

Steps:

  1. Install necessary packages for compilation.
  2. Download https://www.python.org/ftp/python/3.12.10/Python-3.12.10.tgz
  3. Do 'configure', 'make'. then execute
    ./python -m test test_socket -m test.test_socket.RDSTest.testPeek -v

The test is stuck. There is no error output, just 'testPeek (test.test_socket.RDSTest.testPeek) ...'.
Strace shows that the process waits for an answer from socket.
If you interrupt and rerun the same test - it completes without issues.

Seems to be the same issue as in #79428.

CPython versions tested on:

3.13.5

Operating systems tested on:

Linux

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