[issue38912] test_asyncio altered the execution environment

2022-03-15 Thread Andrew Svetlov
Andrew Svetlov added the comment: The main branch is clear -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue38912] test_asyncio altered the execution environment

2022-01-19 Thread Kumar Aditya
Kumar Aditya added the comment: See https://github.com/python/cpython/pull/30274 test_asyncio is always failing with env changed. -- nosy: +kumaraditya303 status: pending -> open ___ Python tracker

[issue38912] test_asyncio altered the execution environment

2021-08-24 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- status: open -> pending ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38912] test_asyncio altered the execution environment

2020-10-19 Thread miss-islington
miss-islington added the comment: New changeset 3faef630a44be2d1ea5516e85e95fef4fd027a95 by Miss Skeleton (bot) in branch '3.8': bpo-38912: fix close before connect callback in test_asyncio SSL tests (GH-22691)

[issue38912] test_asyncio altered the execution environment

2020-10-19 Thread miss-islington
miss-islington added the comment: New changeset e43bee7e114ec361efde34f4b546f984574e6653 by Miss Skeleton (bot) in branch '3.9': bpo-38912: fix close before connect callback in test_asyncio SSL tests (GH-22691)

[issue38912] test_asyncio altered the execution environment

2020-10-19 Thread Kyle Stanley
Kyle Stanley added the comment: I've applied Justin's patch, and opened PRs for backporting to 3.9 and 3.8 (currently waiting on CI). Based on my local testing and buildbot fleet results, it definitely reduces the rate at which the failure occurs, but does not 100% resolve the ENV CHANGED

[issue38912] test_asyncio altered the execution environment

2020-10-19 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 6.0 -> 7.0 pull_requests: +21756 pull_request: https://github.com/python/cpython/pull/22799 ___ Python tracker

[issue38912] test_asyncio altered the execution environment

2020-10-19 Thread Kyle Stanley
Kyle Stanley added the comment: New changeset de73d432bb29f6439f2db16cb991e15e09c70c26 by Justin Turner Arthur in branch 'master': bpo-38912: fix close before connect callback in test_asyncio SSL tests (GH-22691)

[issue38912] test_asyncio altered the execution environment

2020-10-19 Thread miss-islington
Change by miss-islington : -- pull_requests: +21757 pull_request: https://github.com/python/cpython/pull/22800 ___ Python tracker ___

[issue38912] test_asyncio altered the execution environment

2020-10-13 Thread Justin Arthur
Justin Arthur added the comment: The "'NoneType' object has no attribute 'close'" error is likely caused by a race against the loop calling the test protocol object's connection_made callback. I was able to reproduce this case occasionally on macOS and it's likely platform-agnostic. Given

[issue38912] test_asyncio altered the execution environment

2020-10-13 Thread Justin Arthur
Change by Justin Arthur : -- nosy: +JustinTArthur nosy_count: 5.0 -> 6.0 pull_requests: +21662 pull_request: https://github.com/python/cpython/pull/22691 ___ Python tracker

[issue38912] test_asyncio altered the execution environment

2020-10-12 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- nosy: +aeros ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38912] test_asyncio altered the execution environment

2020-10-12 Thread STINNER Victor
STINNER Victor added the comment: Another failure on aarch64 RHEL7 Refleaks 3.9: https://buildbot.python.org/all/#builders/122/builds/62 0:53:43 load avg: 0.97 [424/425/1] test_asyncio failed (env changed) (53 min 34 sec) -- running: test_pydoc (29 min 2 sec) beginning 6 repetitions 123456

[issue38912] test_asyncio altered the execution environment

2020-08-11 Thread STINNER Victor
STINNER Victor added the comment: test.test_asyncio.test_events.SelectEventLoopTests.test_create_server_ssl_verified fails randomly and emits an "unraisable exception". Logs: + /home/vstinner/python/master/python -m test --matchfile /tmp/tmpz2f1v5aq test_asyncio --fail-env-changed -v ==

[issue38912] test_asyncio altered the execution environment

2020-08-11 Thread STINNER Victor
STINNER Victor added the comment: On the AArch64 RHEL8 buildbot, I managed to reproduce a ENV_CHANGED issue with only these two test_asyncio tests: test.test_asyncio.test_events.SelectEventLoopTests.test_create_server_ssl_verify_failed

[issue38912] test_asyncio altered the execution environment

2020-08-11 Thread STINNER Victor
STINNER Victor added the comment: New changeset a0b57b3317d6653255415af5228c94485aa57a0d by Victor Stinner in branch '3.9': bpo-38912: regrtest logs unraisable exception into sys.__stderr__ (GH-21718) (GH-21827)

[issue38912] test_asyncio altered the execution environment

2020-08-11 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +20956 pull_request: https://github.com/python/cpython/pull/21827 ___ Python tracker ___

[issue38912] test_asyncio altered the execution environment

2020-08-04 Thread STINNER Victor
STINNER Victor added the comment: Another error? aarch64 RHEL8 LTO + PGO 3.x: https://buildbot.python.org/all/#/builders/618/builds/835 1 test altered the execution environment: test_asyncio 0:01:55 load avg: 7.00 [329/423/1] test_asyncio failed (env changed) (1 min 25 sec) -- running:

[issue38912] test_asyncio altered the execution environment

2020-08-04 Thread STINNER Victor
STINNER Victor added the comment: > I created bpo-41467: asyncio: recv_into() must not return b'' if the > socket/pipe is closed. This was a real asyncio bug, specific to Windows, and it's now fixed. But the initial bug report was on Unix (Linux?) and is different: > Warning --

[issue38912] test_asyncio altered the execution environment

2020-08-03 Thread STINNER Victor
STINNER Victor added the comment: File "C:\vstinner\python\master\lib\asyncio\proactor_events.py", line 293, in _loop_reading data = self._data[:length] TypeError: slice indices must be integers or None or have an __index__ method I created bpo-41467: asyncio: recv_into() must not return

[issue38912] test_asyncio altered the execution environment

2020-08-03 Thread STINNER Victor
STINNER Victor added the comment: When I commented code to hide logs in the tests, I saw another bug. Local patch: diff --git a/Lib/test/test_asyncio/test_subprocess.py b/Lib/test/test_asyncio/test_subprocess.py index 177a02cdcc..3095b1d987 100644 ---

[issue38912] test_asyncio altered the execution environment

2020-08-03 Thread STINNER Victor
STINNER Victor added the comment: More info with my latest change. AMD64 Windows10 3.x: https://buildbot.python.org/all/#/builders/129/builds/1500 0:10:26 load avg: 3.17 [354/423/2] test_asyncio failed (env changed) (1 min 23 sec) -- running: test_capi (1 min 3 sec) Warning -- Unraisable

[issue38912] test_asyncio altered the execution environment

2020-08-03 Thread STINNER Victor
STINNER Victor added the comment: New changeset 701b63894fdb75b12865b9be6261ce4913da76f5 by Victor Stinner in branch 'master': bpo-38912: regrtest logs unraisable exception into sys.__stderr__ (GH-21718) https://github.com/python/cpython/commit/701b63894fdb75b12865b9be6261ce4913da76f5

[issue38912] test_asyncio altered the execution environment

2020-08-03 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +20861 stage: -> patch review pull_request: https://github.com/python/cpython/pull/21718 ___ Python tracker ___

[issue38912] test_asyncio altered the execution environment

2020-08-03 Thread STINNER Victor
STINNER Victor added the comment: Recent exmaple on AMD64 Windows10 3.x: https://buildbot.python.org/all/#/builders/129/builds/1498 0:14:19 load avg: 0.10 [418/423/1] test_asyncio failed (env changed) (1 min 10 sec) -- running: test_mmap (4 min 47 sec), test_io (3 min 41 sec) Warning --

[issue38912] test_asyncio altered the execution environment

2019-11-25 Thread Pablo Galindo Salgado
New submission from Pablo Galindo Salgado : https://buildbot.python.org/all/#/builders/260/builds/60/steps/5/logs/stdio 0:05:06 load avg: 6.65 [131/423] test_contextlib_async passed -- running: test_signal (1 min 53 sec), test_concurrent_futures (4 min 11 sec), test_zipfile (47.5 sec),