-
-
Notifications
You must be signed in to change notification settings - Fork 32.1k
test_sys.SysModuleTest.get_allocated_blocks
test precondition intermittently fails on iOS
#130384
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@freakboy3742 do you know (or can you easily find out) what the numbers for Knowing the delta might give me some hint as to where a leak might be happening. |
While I can't tell why this test is failing only for iOS in CI, the precondition is incorrect, as the number of allocated blocks is per-process and the reference count is per interpreter. The comment in C function |
The PR disabling the precondition has been merged, so I'm going to close this issue. The fix to |
Uh oh!
There was an error while loading. Please reload this page.
Bug report
Bug description:
#130007 introduced a change to the handling of C stack limits. This change intermittently causes the
test_sys.SysModuleTest.get_allocated_blocks()
test to fail:The exact values vary, but they're usually within ~500 or so.
On the test re-run, the values are different:
(again, varying between test runs by ~500 or so).
@markshannon commented on the original PR:
The problem doesn't appear to be an issue with running the test suite as a single process - Android isn't affected in CI, I can't reproduce the issue on my own macOS machine running a single-process run locally.
However, I also can't reliably reproduce the problem locally on iOS. Running the fully test suite locally, this test passes reliably.
CPython versions tested on:
CPython main branch
Operating systems tested on:
Other
Linked PRs
The text was updated successfully, but these errors were encountered: