New submission from STINNER Victor <vstin...@python.org>:
PPC64LE RHEL8 Refleaks 3.9: https://buildbot.python.org/all/#/builders/482/builds/128 test test_asyncio failed -- Traceback (most recent call last): File "/home/buildbot/buildarea/3.9.cstratak-RHEL8-ppc64le.refleak/build/Lib/test/test_asyncio/test_sock_lowlevel.py", line 373, in test_huge_content_recvinto self.loop.run_until_complete( File "/home/buildbot/buildarea/3.9.cstratak-RHEL8-ppc64le.refleak/build/Lib/asyncio/base_events.py", line 642, in run_until_complete return future.result() File "/home/buildbot/buildarea/3.9.cstratak-RHEL8-ppc64le.refleak/build/Lib/test/test_asyncio/test_sock_lowlevel.py", line 366, in _basetest_huge_content_recvinto self.assertEqual(size, 0) AssertionError: 978216 != 0 Full output (reformatted for readability): --- 0:22:42 load avg: 10.83 [300/425/1] test_asyncio failed (1 failure) (22 min 40 sec) -- running: (...) beginning 6 repetitions 123456 Unknown child process pid 201442, will report returncode 255 Loop <_UnixSelectorEventLoop running=False closed=True debug=False> that handles pid 201442 is closed ... Unknown child process pid 240062, will report returncode 255 Loop <_UnixSelectorEventLoop running=False closed=True debug=False> that handles pid 240062 is closed . /home/buildbot/buildarea/3.9.cstratak-RHEL8-ppc64le.refleak/build/Lib/test/support/__init__.py:1468: ResourceWarning: unclosed <socket.socket fd=9, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('127.0.0.1', 35628)> gc.collect() ResourceWarning: Enable tracemalloc to get the object allocation traceback Task exception was never retrieved future: <Task finished name='Task-17758' coro=<BaseSelectorEventLoop.sock_sendall() done, defined at /home/buildbot/buildarea/3.9.cstratak-RHEL8-ppc64le.refleak/build/Lib/asyncio/selector_events.py:433> exception=ConnectionResetError(104, 'Connection reset by peer')> Traceback (most recent call last): File "/home/buildbot/buildarea/3.9.cstratak-RHEL8-ppc64le.refleak/build/Lib/asyncio/selector_events.py", line 462, in sock_sendall return await fut File "/home/buildbot/buildarea/3.9.cstratak-RHEL8-ppc64le.refleak/build/Lib/asyncio/selector_events.py", line 470, in _sock_sendall n = sock.send(view[start:]) ConnectionResetError: [Errno 104] Connection reset by peer test test_asyncio failed -- Traceback (most recent call last): File "/home/buildbot/buildarea/3.9.cstratak-RHEL8-ppc64le.refleak/build/Lib/test/test_asyncio/test_sock_lowlevel.py", line 373, in test_huge_content_recvinto self.loop.run_until_complete( File "/home/buildbot/buildarea/3.9.cstratak-RHEL8-ppc64le.refleak/build/Lib/asyncio/base_events.py", line 642, in run_until_complete return future.result() File "/home/buildbot/buildarea/3.9.cstratak-RHEL8-ppc64le.refleak/build/Lib/test/test_asyncio/test_sock_lowlevel.py", line 366, in _basetest_huge_content_recvinto self.assertEqual(size, 0) AssertionError: 978216 != 0 --- Moreover, test_huge_content_recvinto() seems to change the event loop policy without restoring it once done: --- 0:48:26 load avg: 1.00 Re-running test_asyncio in verbose mode (matching: test_huge_content_recvinto) beginning 6 repetitions 123456 test_huge_content_recvinto (test.test_asyncio.test_sock_lowlevel.EPollEventLoopTests) ... ok test_huge_content_recvinto (test.test_asyncio.test_sock_lowlevel.PollEventLoopTests) ... ok test_huge_content_recvinto (test.test_asyncio.test_sock_lowlevel.SelectEventLoopTests) ... ok ---------------------------------------------------------------------- Ran 3 tests in 0.367s OK test_huge_content_recvinto (test.test_asyncio.test_sock_lowlevel.EPollEventLoopTests) ... ok test_huge_content_recvinto (test.test_asyncio.test_sock_lowlevel.PollEventLoopTests) ... ok test_huge_content_recvinto (test.test_asyncio.test_sock_lowlevel.SelectEventLoopTests) ... ok ---------------------------------------------------------------------- Ran 3 tests in 0.363s OK test_huge_content_recvinto (test.test_asyncio.test_sock_lowlevel.EPollEventLoopTests) ... ok test_huge_content_recvinto (test.test_asyncio.test_sock_lowlevel.PollEventLoopTests) ... ok test_huge_content_recvinto (test.test_asyncio.test_sock_lowlevel.SelectEventLoopTests) ... ok ---------------------------------------------------------------------- Ran 3 tests in 0.402s OK test_huge_content_recvinto (test.test_asyncio.test_sock_lowlevel.EPollEventLoopTests) ... ok test_huge_content_recvinto (test.test_asyncio.test_sock_lowlevel.PollEventLoopTests) ... ok test_huge_content_recvinto (test.test_asyncio.test_sock_lowlevel.SelectEventLoopTests) ... ok ---------------------------------------------------------------------- Ran 3 tests in 0.338s OK test_huge_content_recvinto (test.test_asyncio.test_sock_lowlevel.EPollEventLoopTests) ... ok test_huge_content_recvinto (test.test_asyncio.test_sock_lowlevel.PollEventLoopTests) ... ok test_huge_content_recvinto (test.test_asyncio.test_sock_lowlevel.SelectEventLoopTests) ... ok ---------------------------------------------------------------------- Ran 3 tests in 0.332s OK test_huge_content_recvinto (test.test_asyncio.test_sock_lowlevel.EPollEventLoopTests) ... ok test_huge_content_recvinto (test.test_asyncio.test_sock_lowlevel.PollEventLoopTests) ... ok test_huge_content_recvinto (test.test_asyncio.test_sock_lowlevel.SelectEventLoopTests) ... ok ---------------------------------------------------------------------- Ran 3 tests in 0.384s OK ...... Warning -- asyncio.events._event_loop_policy was modified by test_asyncio Before: None After: <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0x7fff9de7a1e0> 1 test failed again: test_asyncio --- ---------- components: Tests, asyncio messages: 400732 nosy: asvetlov, erlendaasland, lukasz.langa, pablogsal, vstinner, yselivanov priority: normal severity: normal status: open title: test_asyncio: test_huge_content_recvinto() failed versions: Python 3.9 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue45062> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com