- Python Home
- About
- News
- Documentation
- Downloads
- Community
- Foundation
- Developer's Guide
- Issue Tracker
- Issues
- Summaries
- User
- Administration
- Help
➜
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.
Created on 2018-12-28 03:45 by pablogsal, last changed 2022-04-11 14:59 by admin. This issue is now closed.
| Pull Requests | |||
|---|---|---|---|
| URL | Status | Linked | Edit |
| PR 11337 | merged | pablogsal, 2018-12-28 03:52 | |
| PR 11337 | merged | pablogsal, 2018-12-28 03:52 | |
| PR 11337 | merged | pablogsal, 2018-12-28 03:52 | |
| PR 11348 | merged | miss-islington, 2018-12-29 01:40 | |
| PR 11348 | merged | miss-islington, 2018-12-29 01:40 | |
| PR 11348 | merged | miss-islington, 2018-12-29 01:40 | |
| PR 11349 | merged | miss-islington, 2018-12-29 01:41 | |
| PR 11349 | merged | miss-islington, 2018-12-29 01:41 | |
| PR 11349 | merged | miss-islington, 2018-12-29 01:41 |
| Messages (5) | ||
|---|---|---|
| msg332637 - (view) | Author: Pablo Galindo Salgado (pablogsal) * ![]() |
Date: 2018-12-28 03:45 |
There is a race condition in FAIL: test_signal_handling_args (test.test_asyncio.test_events.KqueueEventLoopTests) in macOS: https://buildbot.python.org/all/#/builders/147/builds/546/steps/4/logs/stdio ====================================================================== FAIL: test_signal_handling_args (test.test_asyncio.test_events.KqueueEventLoopTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/buildbot/buildarea/3.7.billenstein-sierra/build/Lib/test/test_asyncio/test_events.py", line 595, in test_signal_handling_args self.assertEqual(caught, 1) AssertionError: 0 != 1 It seems that SIGALRM is never received in the 0.5 seconds of timeout: def test_signal_handling_args(self): some_args = (42,) caught = 0 def my_handler(*args): nonlocal caught caught += 1 self.assertEqual(args, some_args) self.loop.add_signal_handler(signal.SIGALRM, my_handler, *some_args) signal.setitimer(signal.ITIMER_REAL, 0.1, 0) # Send SIGALRM once. self.loop.call_later(0.5, self.loop.stop) self.loop.run_forever() self.assertEqual(caught, 1) Maybe we should set up a much bigger timeout and make the handle stop the event loop. |
||
| msg332688 - (view) | Author: Pablo Galindo Salgado (pablogsal) * ![]() |
Date: 2018-12-29 01:40 |
New changeset 5471420faa84519530f29b08f2b042b2288e3e96 by Pablo Galindo in branch 'master': bpo-35601: Alleviate race condition when waiting for SIGALRM in test_asyncio (GH-11337) https://github.com/python/cpython/commit/5471420faa84519530f29b08f2b042b2288e3e96 |
||
| msg332689 - (view) | Author: miss-islington (miss-islington) | Date: 2018-12-29 02:01 |
New changeset 8f9228dd3a37c98876c9c8ff7fb0042650303474 by Miss Islington (bot) in branch '3.7': bpo-35601: Alleviate race condition when waiting for SIGALRM in test_asyncio (GH-11337) https://github.com/python/cpython/commit/8f9228dd3a37c98876c9c8ff7fb0042650303474 |
||
| msg332730 - (view) | Author: Pablo Galindo Salgado (pablogsal) * ![]() |
Date: 2018-12-29 19:36 |
I am going to close this one as the only branch left is 3.6 and is on security fixes only. |
||
| msg333921 - (view) | Author: Ned Deily (ned.deily) * ![]() |
Date: 2019-01-18 01:00 |
New changeset 7eef540ab89e426b622373f43713521876447f2f by Ned Deily (Miss Islington (bot)) in branch '3.6': bpo-35601: Alleviate race condition when waiting for SIGALRM in test_asyncio (GH-11337) (GH-11348) https://github.com/python/cpython/commit/7eef540ab89e426b622373f43713521876447f2f |
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022-04-11 14:59:09 | admin | set | github: 79782 |
| 2019-01-18 01:00:50 | ned.deily | set | messages: + msg333921 |
| 2018-12-29 19:36:51 | pablogsal | set | status: open -> closed messages: + msg332730 keywords: patch, patch, patch resolution: fixed stage: patch review -> resolved |
| 2018-12-29 02:01:02 | miss-islington | set | nosy:
+ miss-islington messages: + msg332689 |
| 2018-12-29 01:41:32 | miss-islington | set | pull_requests: + pull_request10648 |
| 2018-12-29 01:41:21 | miss-islington | set | pull_requests: + pull_request10649 |
| 2018-12-29 01:41:13 | miss-islington | set | pull_requests: + pull_request10650 |
| 2018-12-29 01:41:06 | miss-islington | set | pull_requests: + pull_request10647 |
| 2018-12-29 01:40:59 | miss-islington | set | pull_requests: + pull_request10646 |
| 2018-12-29 01:40:52 | miss-islington | set | pull_requests: + pull_request10645 |
| 2018-12-29 01:40:25 | pablogsal | set | messages: + msg332688 |
| 2018-12-28 03:52:46 | pablogsal | set | keywords:
+ patch stage: patch review pull_requests: + pull_request10614 |
| 2018-12-28 03:52:35 | pablogsal | set | keywords:
+ patch stage: (no value) pull_requests: + pull_request10613 |
| 2018-12-28 03:52:24 | pablogsal | set | keywords:
+ patch stage: (no value) pull_requests: + pull_request10612 |
| 2018-12-28 03:45:59 | pablogsal | create |
Powered by Roundup Copyright © 1990-2022, Python Software Foundation
Legal Statements

