Title: `test_zipfile64.[...].test_strip_removed_large_file_with_dd_no_sig` fails on BigMem runs · Issue #152190 · python/cpython · GitHub
Open Graph Title: `test_zipfile64.[...].test_strip_removed_large_file_with_dd_no_sig` fails on BigMem runs · Issue #152190 · python/cpython
X Title: `test_zipfile64.[...].test_strip_removed_large_file_with_dd_no_sig` fails on BigMem runs · Issue #152190 · python/cpython
Description: Bug report Bug description: For example, in this run: ====================================================================== FAIL: test_strip_removed_large_file_with_dd_no_sig (test.test_zipfile64.TestRepack.test_strip_removed_large_file...
Open Graph Description: Bug report Bug description: For example, in this run: ====================================================================== FAIL: test_strip_removed_large_file_with_dd_no_sig (test.test_zipfile64....
X Description: Bug report Bug description: For example, in this run: ====================================================================== FAIL: test_strip_removed_large_file_with_dd_no_sig (test.test_zipfile64....
Opengraph URL: https://github.com/python/cpython/issues/152190
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"`test_zipfile64.[...].test_strip_removed_large_file_with_dd_no_sig` fails on BigMem runs","articleBody":"# Bug report\n\n### Bug description:\n\nFor example, in [this run](https://buildbot.python.org/#/builders/1832/builds/1633):\n\n```\n======================================================================\nFAIL: test_strip_removed_large_file_with_dd_no_sig (test.test_zipfile64.TestRepack.test_strip_removed_large_file_with_dd_no_sig)\nShould scan for the data descriptor (without signature) of a removed\n----------------------------------------------------------------------\nTraceback (most recent call last):\n File \"/home/buildbot/buildarea/3.x.diegorusso-aarch64-bigmem.bigmem/build/Lib/test/test_zipfile64.py\", line 214, in test_strip_removed_large_file_with_dd_no_sig\n self.assertLess(peak, self.allowed_memory)\n ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^\nAssertionError: 603662 not less than 204800\n----------------------------------------------------------------------\n```\n\nI'm also able to reproduce this locally:\n\n```\n$ ./python -m test test_zipfile64 -u extralargefile -v -m test_strip_removed_large_file_with_dd_no_sig\n== CPython 3.16.0a0 (heads/main:f7e5cddcbbb, Jun 24 2026, 20:02:47) [GCC 15.2.1 20260123 (Red Hat 15.2.1-7)]\n== Linux-7.0.12-101.fc43.x86_64-x86_64-with-glibc2.42 little-endian\n== Python build: debug\n== cwd: /home/stan/dev/cpython/build/test_python_worker_124469æ\n== CPU count: 16\n== encodings: locale=UTF-8 FS=utf-8\n== resources (1): extralargefile\n\nUsing random seed: 2703420052\n0:00:00 load avg: 1.79 mem: 27.0 MiB Run 1 test sequentially in a single process\n0:00:00 load avg: 1.79 mem: 27.0 MiB [1/1] test_zipfile64\ntest_strip_removed_large_file_with_dd_no_sig (test.test_zipfile64.TestRepack.test_strip_removed_large_file_with_dd_no_sig)\nShould scan for the data descriptor (without signature) of a removed ... FAIL\n\n======================================================================\nFAIL: test_strip_removed_large_file_with_dd_no_sig (test.test_zipfile64.TestRepack.test_strip_removed_large_file_with_dd_no_sig)\nShould scan for the data descriptor (without signature) of a removed\n----------------------------------------------------------------------\nTraceback (most recent call last):\n File \"/home/stan/dev/cpython/Lib/test/test_zipfile64.py\", line 215, in test_strip_removed_large_file_with_dd_no_sig\n self.assertLess(peak, self.allowed_memory)\n ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^\nAssertionError: 1027764 not less than 204800\n\n----------------------------------------------------------------------\nRan 1 test in 200.611s\n\nFAILED (failures=1)\ntest test_zipfile64 failed\n0:03:20 load avg: 1.57 mem: 32.0 MiB [1/1/1] test_zipfile64 failed (1 failure) in 3 min 20 sec\n\n== Tests result: FAILURE ==\n\n1 test failed:\n test_zipfile64\n\nTotal duration: 3 min 20 sec\nTotal tests: run=1 (filtered) failures=1\nTotal test files: run=1/1 (filtered) failed=1\nResult: FAILURE\n```\n\nThis test was added recently in https://github.com/python/cpython/commit/aec0aed197872adf96d3f25fd5ea624508fcddbf by @danny0838 and @gpshead.\n\n### CPython versions tested on:\n\nCPython main branch\n\n### Operating systems tested on:\n\n_No response_\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-152203\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/StanFromIreland","@type":"Person","name":"StanFromIreland"},"datePublished":"2026-06-25T12:24:29.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/152190/cpython/issues/152190"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:1c5e1c97-ecc7-a90d-0423-4b9b6904b21b |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8448:C3948:A755AB1:EB957A3:6A50F5C7 |
| html-safe-nonce | 8fe7ab746cfc9537d743c7da5ffd3da0cfdfe65e9c1e6be020ae7cbc19933ebb |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NDQ4OkMzOTQ4OkE3NTVBQjE6RUI5NTdBMzo2QTUwRjVDNyIsInZpc2l0b3JfaWQiOiI0ODE3MDg4NTUzMzU0ODUxNzgzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 7c9bc42af50fb4f21e5a30026d5810e11e28a7f59a356f2fbb8380fc57783210 |
| hovercard-subject-tag | issue:4743751801 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/152190/issue_layout |
| twitter:image | https://opengraph.githubassets.com/be89af2d7e6719b36f4655ed8407e53dcd16020892f6e9bddde6a360f150b060/python/cpython/issues/152190 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/be89af2d7e6719b36f4655ed8407e53dcd16020892f6e9bddde6a360f150b060/python/cpython/issues/152190 |
| og:image:alt | Bug report Bug description: For example, in this run: ====================================================================== FAIL: test_strip_removed_large_file_with_dd_no_sig (test.test_zipfile64.... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | StanFromIreland |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5266e58c17a510c403505cc811606465e90a881d2007ee7df1c4800d5c659838 |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8d836581d020676cc0ef4a83cd2fe17e4af02c3d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width