Skip to content

asyncio: MultiLoopWatcher has a race condition (test_asyncio: test_close_kill_running() hangs on AMD64 RHEL7 Refleaks 3.x)#82504

@vstinner

Description

@vstinner
BPO38323
Nosy@vstinner, @njsmith, @asvetlov, @cjerdonek, @1st1, @jstasiak, @pablogsal, @miss-islington, @aeros, @Fidget-Spinner, @shreyanavigyan
PRs
  • bpo-38323: Suppress the hang #18457
  • bpo-38323: Temporarily skip close_kill_running() for MultiLoopWatcher in test_asyncio #20013
  • [WIP] bpo-38323: Fix MultiLoopChildWatcher hangs #20142
  • bpo-38323: Add guard clauses in MultiLoopChildWatcher. #22756
  • [3.9] bpo-38323: Add guard clauses in MultiLoopChildWatcher. (GH-22756) #23806
  • [3.8] bpo-38323: Add guard clauses in MultiLoopChildWatcher. (GH-22756) #23807
  • bpo-38323, asyncio: Fix MultiLoopChildWatcher race condition #26536
  • bpo-38323: Remove test_cancel_make_subprocess_transport_exec as it has a rance condicion #26541
  • bpo-38323: Skip SubprocessMultiLoopWatcherTest as they can hang the test suite #26542
  • [3.9] bpo-38323: Skip SubprocessMultiLoopWatcherTest as they can hang the test suite (GH-26542) #26543
  • [3.10] bpo-38323: Skip SubprocessMultiLoopWatcherTest as they can hang the test suite (GH-26542) #26544
  • bpo-38323: Change MultiLoopChildWatcher to install handlers for all the event loops #26574
  • bpo-44368: Improve syntax errors with invalid as pattern targets #26632
  • [3.8] bpo-38323: Skip SubprocessMultiLoopWatcherTest as they can hang the test suite (GH-26542) #26670
  • Files
  • test-kill.py
  • test-kill2.py
  • test-kill3.py
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee=Noneclosed_at=Nonecreated_at=<Date2019-09-30.12:57:35.040>labels= ['type-bug', 'tests', '3.9', 'expert-asyncio'] title='asyncio: MultiLoopWatcher has a race condition (test_asyncio: test_close_kill_running() hangs on AMD64 RHEL7 Refleaks 3.x)'updated_at=<Date2021-11-05.17:45:33.738>user='https://github.com/vstinner'

    bugs.python.org fields:

    activity=<Date2021-11-05.17:45:33.738>actor='byllyfish'assignee='none'closed=Falseclosed_date=Nonecloser=Nonecomponents= ['Tests', 'asyncio'] creation=<Date2019-09-30.12:57:35.040>creator='vstinner'dependencies= [] files= ['49144', '49145', '49150'] hgrepos= [] issue_num=38323keywords= ['patch'] message_count=49.0messages= ['353568', '354079', '355150', '355157', '355159', '355362', '355363', '359909', '359910', '359928', '360975', '361576', '361691', '361801', '368061', '368183', '368280', '368467', '368468', '368501', '368511', '368514', '368516', '368532', '368544', '368549', '368561', '368563', '368564', '368699', '368725', '369086', '380420', '383194', '383197', '383199', '395090', '395113', '395119', '395126', '395138', '395139', '395142', '395143', '395376', '395693', '395718', '396684', '405813'] nosy_count=12.0nosy_names= ['vstinner', 'njs', 'asvetlov', 'chris.jerdonek', 'yselivanov', 'jstasiak', 'pablogsal', 'miss-islington', 'aeros', 'kj', 'shreyanavigyan', 'byllyfish'] pr_nums= ['18457', '20013', '20142', '22756', '23806', '23807', '26536', '26541', '26542', '26543', '26544', '26574', '26632', '26670'] priority='normal'resolution=Nonestage='patch review'status='open'superseder=Nonetype='behavior'url='https://bugs.python.org/issue38323'versions= ['Python 3.9']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.9 (EOL)end of lifetestsTests in the Lib/test dirtopic-asynciotype-bugAn unexpected behavior, bug, or error

      Projects

      Status

      Done

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions