This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author twisteroid ambassador
Recipients asvetlov, twisteroid ambassador, yselivanov
Date 2018-06-11.14:03:22
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1528725802.67.0.592728768989.issue33834@psf.upfronthosting.co.za>
In-reply-to
Content
When running the built-in regression tests, although test_sendfile_close_peer_in_the_middle_of_receiving on ProactorEventLoop completes successfully, an InvalidStateError is logged.

Console output below:

test_sendfile_close_peer_in_the_middle_of_receiving (test.test_asyncio.test_events.ProactorEventLoopTests) ... Exception in callback _ProactorReadPipeTransport._loop_reading(<_OverlappedF...ne, 64, None)>)
handle: <Handle _ProactorReadPipeTransport._loop_reading(<_OverlappedF...ne, 64, None)>)>
Traceback (most recent call last):
  File "<snip>\cpython\lib\asyncio\windows_events.py", line 428, in finish_recv
    return ov.getresult()
OSError: [WinError 64] The specified network name is no longer available

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<snip>\cpython\lib\asyncio\proactor_events.py", line 255, in _loop_reading
    data = fut.result()
  File "<snip>\cpython\lib\asyncio\windows_events.py", line 732, in _poll
    value = callback(transferred, key, ov)
  File "<snip>\cpython\lib\asyncio\windows_events.py", line 432, in finish_recv
    raise ConnectionResetError(*exc.args)
ConnectionResetError: [WinError 64] The specified network name is no longer available

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<snip>\cpython\lib\asyncio\events.py", line 88, in _run
    self._context.run(self._callback, *self._args)
  File "<snip>\cpython\lib\asyncio\proactor_events.py", line 282, in _loop_reading
    self._force_close(exc)
  File "<snip>\cpython\lib\asyncio\proactor_events.py", line 117, in _force_close
    self._empty_waiter.set_exception(exc)
concurrent.futures._base.InvalidStateError: invalid state
ok
History
Date User Action Args
2018-06-11 14:03:22twisteroid ambassadorsetrecipients: + twisteroid ambassador, asvetlov, yselivanov
2018-06-11 14:03:22twisteroid ambassadorsetmessageid: <1528725802.67.0.592728768989.issue33834@psf.upfronthosting.co.za>
2018-06-11 14:03:22twisteroid ambassadorlinkissue33834 messages
2018-06-11 14:03:22twisteroid ambassadorcreate