GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||||||||||||||||||||||||||||
GeezerVison is showing github.com — bpo-47015: Update test_os from asyncore to asyncio by arhadthedev · Pull Request #31876 · python/cpython Conversation
|
|
Note to myself: despite
, it creates an IPv6-only listening socket if possible. As a result, not only Now, I'm sorting out what and why leaks all connected sockets (as Address sanitizer reports) failing all non-Windows runners:
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
f106b3a to
0e19efb
Compare
0e19efb to
04cd9ee
Compare
04cd9ee to
df82a87
Compare
df82a87 to
9882daf
Compare
|
The failure was a combination of client-side blocking wait of a server and a missing asyncio loop policy. Both problems are fixed. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated. Once you have made the requested changes, please leave a comment on this pull request containing the phrase And if you don't make the requested changes, you will be poked with soft cushions! |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Without the grouping, reading code as a prose becomes harder: > Start the server. For a client, create a socket, set it nonblocking, > get a server name that is a name of its listening port, connect to the > server. instead of: > Start the server, its name is a name of its listening port. For > a client, create a socket, set it nonblocking, connect to the server.
|
|
||
|
|
||
| def tearDownModule(): | ||
| asyncio.set_event_loop_policy(None) |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
The line that set a loop policy is not present any more, so this cleanup step doesn’t seem to apply anymore.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
If I understand a failed pre-policy run correctly, the policy must either be manually set to something before any case is runned or be returned back to None before the suit exits. I've chosen the first variant, Andrew proposed to switch to the second.
0:04:29 load avg: 3.56 [300/433/1] test_os failed (env changed) -- running: test_asyncio (1 min 10 sec), test_concurrent_futures (1 min 57 sec)
[a bunch of oks and skips follow]
[...]
423 tests OK.
10 slowest tests:
- test_tools: 4 min 44 sec
- test_concurrent_futures: 3 min 30 sec
- test_peg_generator: 2 min 57 sec
- test_multiprocessing_spawn: 2 min 27 sec
- test_gdb: 1 min 51 sec
- test_asyncio: 1 min 50 sec
- test_multiprocessing_forkserver: 1 min 38 sec
- test_multiprocessing_fork: 1 min 22 sec
- test_regrtest: 1 min 12 sec
- test_statistics: 49.1 sec
1 test altered the execution environment:
test_os
9 tests skipped:
test_devpoll test_ioctl test_kqueue test_msilib test_startfile
test_winconsoleio test_winreg test_winsound test_zipfile64
Total duration: 11 min 50 sec
Tests result: ENV CHANGED
make: *** [Makefile:1795: buildbottest] Error 3
Error: Process completed with exit code 2.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
🤖 New build scheduled with the buildbot fleet by @asvetlov for commit 005ad9a 🤖 If you want to schedule another build, you need to add the ":hammer: test-with-buildbots" label again. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
LGTM. Let's wait for the buildbots fleet to finish to make sure that everything works smoothly. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@asvetlov I fixed a forgotten The second runner, ARM64 macOS, failed on
Considering that the failed |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
GitHub Ubuntu runner failed with |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
I see. Test failures seem unrelated. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
🤖 New build scheduled with the buildbot fleet by @asvetlov for commit 03cae53 🤖 If you want to schedule another build, you need to add the ":hammer: test-with-buildbots" label again. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Merged. Thanks! |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.