Issue 34262: Asyncio test fails under Win 7
Issue34262
Created on 2018-07-28 12:58 by pansen, last changed 2022-04-11 14:59 by admin. This issue is now closed.
| Messages (5) | |||
|---|---|---|---|
| msg322558 - (view) | Author: Wöllert (pansen) * | Date: 2018-07-28 12:58 | |
When running tests I encounter the following error for the test: test_sock_sendfile_not_regular_file (test.test_asyncio.test_proactor_events.ProactorEventLoopUnixSockSendfileTests) --------------------------- Microsoft Visual C++ Runtime Library --------------------------- Debug Assertion Failed! Program: ...\EP2018\cpython\PCbuild\win32\python_d.exe File: minkernel\crts\ucrt\src\appcrt\lowio\osfinfo.cpp Line: 257 Expression: fh >= 0 && (unsigned)fh < (unsigned)_nhandle --------------------------- However, when ignoring the MSCR error, the tests succeed without failing. In addition the following failed (but not consistently): ====================================================================== FAIL: test_sendfile_close_peer_in_the_middle_of_receiving (test.test_asyncio.test_events.ProactorEventLoopTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "C:\Users\woellert\Desktop\EP2018\cpython\lib\test\test_asyncio\test_events.py", line 2510, in test_sendfile_close_peer_in_the_middle_of_receiving self.file.tell()) AssertionError: False is not true : 131072 ---------------------------------------------------------------------- Specs: Windows 7 SP1 64bit, Process: - Cloned master from github - Installed Visual Studio 2017 Community - Compiled with `PCbuild\build.bat -e -d` (also used 64bit via -p x64) - Ran tests with `python.bat -m test.test_asyncio -v` |
|||
| msg322563 - (view) | Author: Wöllert (pansen) * | Date: 2018-07-28 14:27 | |
Regarding the MVSC runtime message, there is an issue already here: https://bugs.python.org/issue23919 |
|||
| msg326476 - (view) | Author: Karthikeyan Singaravelan (xtreak) * ![]() |
Date: 2018-09-26 15:26 | |
ProactorEventLoop is the default event loop with issue34687. There doesn't seem to be any warnings in buildbots as I have checked and as @panesen has mentioned this is not consistent. I am adding Victor as a notification if he has any thoughts. Victor, feel free to remove yourself if this is not relevant. Thanks |
|||
| msg401282 - (view) | Author: Irit Katriel (iritkatriel) * ![]() |
Date: 2021-09-07 14:13 | |
Changing type since the crash was fixed under issue23919. There remains (possibly) the failure of test_sendfile_close_peer_in_the_middle_of_receiving. |
|||
| msg401304 - (view) | Author: STINNER Victor (vstinner) * ![]() |
Date: 2021-09-07 16:39 | |
test_sendfile_close_peer_in_the_middle_of_receiving() failure is tracked by bpo-41682. |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022-04-11 14:59:04 | admin | set | github: 78443 |
| 2021-09-07 16:41:26 | iritkatriel | set | status: open -> closed superseder: [Windows] : Proactor test_sendfile_close_peer_in_the_middle_of_receiving failure resolution: duplicate stage: resolved |
| 2021-09-07 16:39:23 | vstinner | set | messages: + msg401304 |
| 2021-09-07 14:13:55 | iritkatriel | set | type: crash -> behavior messages:
+ msg401282 |
| 2018-09-26 15:27:04 | xtreak | set | nosy:
+ vstinner |
| 2018-09-26 15:26:44 | xtreak | set | messages: + msg326476 |
| 2018-09-26 12:47:42 | xtreak | set | nosy:
+ xtreak |
| 2018-07-28 14:27:26 | pansen | set | messages: + msg322563 |
| 2018-07-28 12:58:41 | pansen | create | |
