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 vstinner
Recipients brian.curtin, gvanrossum, sbt, tim.golden, vstinner, yselivanov
Date 2014-02-21.09:46:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1392976001.38.0.882867755146.issue20720@psf.upfronthosting.co.za>
In-reply-to
Content
It looks like the overlapped AcceptEx() operation was cancelled by something. But when the test_asyncio was replayed in verbose mode, the test passed.

Is it possible that a local firewall or antivirus cancelled the operation? It would be surprising since the test passed at the second try.

Related discussion on Apache HTTPD mailing list:
" My guess... you have a package that installed a network service provider filter and that filter is somehow doing a close on the event handle in the overlapped structure."
http://marc.info/?l=apache-httpd-dev&m=105959505627302&w=2

---

AcceptEx() documentation:
http://msdn.microsoft.com/en-us/library/windows/desktop/ms737524%28v=vs.85%29.aspx

test_create_server (test.test_asyncio.test_events.ProactorEventLoopTests) ...

Future/Task exception was never retrieved
future: _OverlappedFuture<exception=OSError(22, 'The I/O operation has been aborted because of either a thread exit or an application request', None, 995, None)>
Traceback (most recent call last):
  File "E:\home\cpython\buildslave\x86\3.x.snakebite-win2k8r2sp1-x86\build\lib\asyncio\windows_events.py", line 428, in _poll
    value = callback(transferred, key, ov)
  File "E:\home\cpython\buildslave\x86\3.x.snakebite-win2k8r2sp1-x86\build\lib\asyncio\windows_events.py", line 253, in finish_accept
    ov.getresult()
OSError: [WinError 995] The I/O operation has been aborted because of either a thread exit or an application request

http://buildbot.python.org/all/builders/x86%20Windows%20Server%202008%20%5BSB%5D%203.x/builds/2365/steps/test/logs/stdio

======================================================================
FAIL: test_create_server (test.test_asyncio.test_events.ProactorEventLoopTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "E:\home\cpython\buildslave\x86\3.x.snakebite-win2k8r2sp1-x86\build\lib\test\test_asyncio\test_events.py", line 642, in test_create_server
    self.assertEqual('CONNECTED', proto.state)
AssertionError: 'CONNECTED' != 'INITIAL'
- CONNECTED
+ INITIAL

---

test_create_server (test.test_asyncio.test_events.SelectEventLoopTests) ... ok
test_create_server (test.test_asyncio.test_proactor_events.BaseProactorEventLoopTests) ... FAIL
... later ...
test_create_server (test.test_asyncio.test_events.SelectEventLoopTests) ... ok
test_create_server (test.test_asyncio.test_proactor_events.BaseProactorEventLoopTests) ... ok
History
Date User Action Args
2014-02-21 09:46:41vstinnersetrecipients: + vstinner, gvanrossum, tim.golden, brian.curtin, sbt, yselivanov
2014-02-21 09:46:41vstinnersetmessageid: <1392976001.38.0.882867755146.issue20720@psf.upfronthosting.co.za>
2014-02-21 09:46:41vstinnerlinkissue20720 messages
2014-02-21 09:46:40vstinnercreate