GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — test_external_inspection flaky on x86-64 Ubuntu 24.04 on free-threading · Issue #133359 · python/cpython

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

New issue
Copy link
New issue
Copy link
Closed
Closed
test_external_inspection flaky on x86-64 Ubuntu 24.04 on free-threading#133359
Copy link
Labels
3.14bugs and security fixesbugs and security fixestopic-free-threadingtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error

Description

@ambv
ambv
opened on May 3, 2025
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.

Activity

  1. ambv
    added
    topic-free-threading
    type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
    on May 3, 2025
  2. picnixz
    added
    3.14bugs and security fixesbugs and security fixes
    on May 4, 2025
  3. pablogsal commented on May 4, 2025

    @pablogsal
    pablogsal
    on May 4, 2025
    Member
    More actions

    Looks like this is indeed not a free threading problem after all: #133368

  4. pablogsal
    closed this as completedon May 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    3.14bugs and security fixesbugs and security fixestopic-free-threadingtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402520 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.