classification
Title: test_asyncio: test_create_server_ssl_match_failed() failed on s390x SLES 3.x and logged an unraisable exception
Type: Stage: resolved
Components: asyncio, Tests Versions: Python 3.9
process
Status: closed Resolution: out of date
Dependencies: Superseder:
Assigned To: Nosy List: asvetlov, vstinner, yselivanov
Priority: normal Keywords:

Created on 2019-06-21 21:08 by vstinner, last changed 2020-02-07 10:52 by vstinner. This issue is now closed.

Messages (2)
msg346249 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2019-06-21 21:08
https://buildbot.python.org/all/#/builders/16/builds/3290

test_create_server_ssl_match_failed (test.test_asyncio.test_events.PollEventLoopTests) ...

/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/asyncio/sslproto.py:321: ResourceWarning: unclosed transport <asyncio.sslproto._SSLProtocolTransport object at 0x3ff9c5d8cd0>
  _warn(f"unclosed transport {self!r}", ResourceWarning, source=self)
ResourceWarning: Enable tracemalloc to get the object allocation traceback

Warning -- Unraisable exception
Exception ignored in: <function _SSLProtocolTransport.__del__ at 0x3ff9e45e5f0>
Traceback (most recent call last):
  File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/asyncio/sslproto.py", line 322, in __del__
    self.close()
  File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/asyncio/sslproto.py", line 317, in close
    self._ssl_protocol._start_shutdown()
  File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/asyncio/sslproto.py", line 591, in _start_shutdown
    self._abort()
  File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/asyncio/sslproto.py", line 732, in _abort
    self._transport.abort()
  File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/asyncio/selector_events.py", line 660, in abort
    self._force_close(None)
  File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/asyncio/selector_events.py", line 711, in _force_close
    self._loop.call_soon(self._call_connection_lost, exc)
  File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/asyncio/base_events.py", line 711, in call_soon
    self._check_closed()
  File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/asyncio/base_events.py", line 504, in _check_closed
    raise RuntimeError('Event loop is closed')
RuntimeError: Event loop is closed

/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/asyncio/selector_events.py:684: ResourceWarning: unclosed transport <_SelectorSocketTransport closing fd=7>
  _warn(f"unclosed transport {self!r}", ResourceWarning, source=self)
ResourceWarning: Enable tracemalloc to get the object allocation traceback

Task was destroyed but it is pending!
task: <Task pending name='Task-443' coro=<BaseSelectorEventLoop._accept_connection2() done, defined at /home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/asyncio/selector_events.py:191> wait_for=<Future pending cb=[<TaskWakeupMethWrapper object at 0x3ff9c54ac90>()]>>

ok
msg361573 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2020-02-07 10:52
I didn't see the failure recently, I close it.
History
Date User Action Args
2020-02-07 10:52:28vstinnersetstatus: open -> closed
resolution: out of date
messages: + msg361573

stage: resolved
2019-06-21 21:08:50vstinnercreate