Pewarta Proxy

📋 Server Request & Proxy Logs

Loading active proxy settings...
Developed by Khairul Adha (adhexa.id)
Mengambil log server...

⚙️ Pengaturan Proxy Target

Skip to content

test_popping_python_frame_is_not_native fails randomly on buildbots #160986

Open

Description

@NekoAsakura

Bug report

AMD64 Debian root 3.x: https://buildbot.python.org/#/builders/345/builds/15839, L919-925

FAIL: test_popping_python_frame_is_not_native (test.test_external_inspection.TestGetStackTrace.test_popping_python_frame_is_not_native)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/root/buildarea/3.x.angelico-debian-amd64/build/Lib/test/test_external_inspection.py", line 2029, in test_popping_python_frame_is_not_native
    self.assertGreater(samples, 1000)
    ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^
AssertionError: 0 not greater than 1000

On this builder it has failed in 184 of 377 builds since the test was added in #157817, though it usually passes on the re-run. It also fails on 18 other 3.x builders.

The test starts sampling too early. RemoteUnwinder is created right after the child is spawned and succeeds, while the child is still in interpreter startup. If the child is slow to start, all 10,000 samples are taken before it reaches leaf().

CPython versions tested on:

CPython main branch

Operating systems tested on:

No response

Linked PRs

Activity

  1. added 2 commits that reference this issue on Oct 30, 2026
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

    testsTests in the Lib/test dirtopic-profilingtype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions