Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

test_external_inspection flaky on x86-64 Ubuntu 24.04 on free-threading #133359

Copy link
Copy link
Closed
@ambv

Description

@ambv
Issue body actions

With #133284 applied, test_async_global_awaited_by occasionally fails, reporting fewer than 1000 pending tasks. Example failure:
https://github.com/python/cpython/actions/runs/14813289395/job/41590700582

Additionally, the oldest tasks in such case are missing the awaited_by link to a task group context manager:
(2199028913760, 'Task-25', [[['echo_client_spam'], 2199050127392]])

A healthy task reports being under the task group context manager:
(2199056497056, 'Task-1997', [[['_aexit', '__aexit__', 'echo_client_spam'], 2199049603104]])

I looked at it on macOS ARM and Ubuntu ARM, but it does not reproduce despite re-running the test with -F. On GHA it happens often enough for us to notice on the PR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.