Subject: Re: bug#33213: python-3/fixed and python-minimal test_socket.py
From: Maxim Cournoyer <[email-masked]>
To: Nam Nguyen <[email-masked]>
Cc: [email-masked], [email-masked]
Date: Wed, 13 Jan 2021 10:38:32 -0500
List-Id: <debbugs-submit.debbugs.gnu.org>

Hello,

Nam Nguyen <[email-masked]> writes:

> Hi,
>
> python has a memory leak in the test for test_socket.py, and it was
> fixed in commit 90aeaee861845142843a0f988fa4ff016c723cdb.
>
> https://git.savannah.gnu.org/cgit/guix.git/commit/?id=90aeaee861845142843a0f988fa4ff016c723cdb
>
> More information from IRC:
> ----8<------------------------------------------------------------
> <mbakke> There is a bug in Python 3 which causes the test suite to run
>     out of memory on recent kernels:
>     https://bugs.python.org/issue34587
> <mbakke> Unfortunately the only workaround I can think of is removing
>     "/tmp/guix-build-python-3.6.5.drv-0/Lib/test/test_socket.py" some
>     time during the build (but before the check phase).

This problem was supposed to be fixed upstream [0], but I tried and it
still hangs.  Oh well.

At any rate, the test is disabled in Guix.

Closing,

Thanks for the report!

Maxim

[0]  https://bugs.python.org/issue34587