Title: test_embed fails if Python is built with LTO and LLVM clang on macOS · Issue #110313 · python/cpython · GitHub
Open Graph Title: test_embed fails if Python is built with LTO and LLVM clang on macOS · Issue #110313 · python/cpython
X Title: test_embed fails if Python is built with LTO and LLVM clang on macOS · Issue #110313 · python/cpython
Description: Bug report Bug description: # Next, run the profile task to generate the profile information. LLVM_PROFILE_FILE="code-%p.profclangr" ./python.exe -m test --pgo --timeout= Raised RLIMIT_NOFILE: 256 -> 1024 0:00:00 load avg: 3.49 Run 44 te...
Open Graph Description: Bug report Bug description: # Next, run the profile task to generate the profile information. LLVM_PROFILE_FILE="code-%p.profclangr" ./python.exe -m test --pgo --timeout= Raised RLIMIT_NOFILE: 256 ...
X Description: Bug report Bug description: # Next, run the profile task to generate the profile information. LLVM_PROFILE_FILE="code-%p.profclangr" ./python.exe -m test --pgo --timeout= Raised RLIMIT_NO...
Opengraph URL: https://github.com/python/cpython/issues/110313
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"test_embed fails if Python is built with LTO and LLVM clang on macOS","articleBody":"# Bug report\n\n### Bug description:\n\n```\n# Next, run the profile task to generate the profile information.\nLLVM_PROFILE_FILE=\"code-%p.profclangr\" ./python.exe -m test --pgo --timeout=\nRaised RLIMIT_NOFILE: 256 -\u003e 1024\n0:00:00 load avg: 3.49 Run 44 tests sequentially\n0:00:00 load avg: 3.49 [ 1/44] test_array\n0:00:01 load avg: 3.49 [ 2/44] test_base64\n0:00:01 load avg: 3.49 [ 3/44] test_binascii -- test_base64 failed (env changed)\n0:00:01 load avg: 3.49 [ 4/44] test_binop\n0:00:01 load avg: 3.49 [ 5/44] test_bisect\n0:00:01 load avg: 3.49 [ 6/44] test_bytes\n0:00:05 load avg: 3.37 [ 7/44] test_bz2 -- test_bytes failed (env changed)\n0:00:07 load avg: 3.37 [ 8/44] test_cmath\n0:00:07 load avg: 3.34 [ 9/44] test_codecs\n0:00:09 load avg: 3.34 [10/44] test_collections\n0:00:10 load avg: 3.34 [11/44] test_complex\n0:00:10 load avg: 3.34 [12/44] test_dataclasses\n0:00:11 load avg: 3.34 [13/44] test_datetime\n0:00:16 load avg: 3.39 [14/44] test_decimal\n-------------------------------------------------------- NOTICE --------------------------------------------------------\ntest_decimal may generate \"malloc can't allocate region\"\nwarnings on macOS systems. This behavior is known. Do not\nreport a bug unless tests are also failing.\nSee https://github.com/python/cpython/issues/85100\n------------------------------------------------------------------------------------------------------------------------\n./Modules/_decimal/libmpdec/context.c:57: warning: mpd_setminalloc: ignoring request to set MPD_MINALLOC a second time\n\npython.exe(67804,0x7fffa28f43c0) malloc: *** mach_vm_map(size=842105263157895168) failed (error code=3)\n*** error: can't allocate region\n*** set a breakpoint in malloc_error_break to debug\npython.exe(67804,0x7fffa28f43c0) malloc: *** mach_vm_map(size=842105263157895168) failed (error code=3)\n*** error: can't allocate region\n*** set a breakpoint in malloc_error_break to debug\npython.exe(67804,0x7fffa28f43c0) malloc: *** mach_vm_map(size=421052631578947584) failed (error code=3)\n*** error: can't allocate region\n*** set a breakpoint in malloc_error_break to debug\npython.exe(67804,0x7fffa28f43c0) malloc: *** mach_vm_map(size=421052631578947584) failed (error code=3)\n*** error: can't allocate region\n*** set a breakpoint in malloc_error_break to debug\n0:00:22 load avg: 3.28 [15/44] test_difflib\n0:00:23 load avg: 3.10 [16/44] test_embed\ntest test_embed failed\n0:00:28 load avg: 3.17 [17/44] test_float -- test_embed failed (41 failures)\n0:00:28 load avg: 3.17 [18/44] test_fstring\n0:00:31 load avg: 3.17 [19/44] test_functools\n./Modules/_decimal/libmpdec/context.c:57: warning: mpd_setminalloc: ignoring request to set MPD_MINALLOC a second time\n\n0:00:31 load avg: 3.17 [20/44] test_generators\n0:00:32 load avg: 3.17 [21/44] test_hashlib\n0:00:33 load avg: 3.08 [22/44] test_heapq\n0:00:34 load avg: 3.08 [23/44] test_int\n0:00:34 load avg: 3.08 [24/44] test_itertools\n0:00:38 load avg: 2.99 [25/44] test_json\n0:00:41 load avg: 2.99 [26/44] test_long -- test_json failed (env changed)\n0:00:44 load avg: 2.83 [27/44] test_lzma\n0:00:45 load avg: 2.83 [28/44] test_math\n0:00:48 load avg: 2.84 [29/44] test_memoryview\n0:00:49 load avg: 2.84 [30/44] test_operator\n0:00:49 load avg: 2.84 [31/44] test_ordered_dict\n0:00:51 load avg: 2.84 [32/44] test_patma\n0:00:51 load avg: 2.84 [33/44] test_pickle\n0:00:58 load avg: 2.63 [34/44] test_pprint\n0:00:58 load avg: 2.63 [35/44] test_re\n0:01:00 load avg: 2.63 [36/44] test_set -- test_re failed (env changed)\n0:01:05 load avg: 2.50 [37/44] test_sqlite3\n0:01:06 load avg: 2.50 [38/44] test_statistics -- test_sqlite3 failed (env changed)\n0:01:08 load avg: 2.38 [39/44] test_str\n0:01:11 load avg: 2.38 [40/44] test_struct -- test_str failed (env changed)\n0:01:12 load avg: 2.38 [41/44] test_tabnanny -- test_struct failed (env changed)\n0:01:13 load avg: 2.51 [42/44] test_time -- test_tabnanny failed (env changed)\n0:01:15 load avg: 2.51 [43/44] test_xml_etree\n0:01:16 load avg: 2.51 [44/44] test_xml_etree_c\n\nTotal duration: 1 min 18 sec\nTotal tests: run=8,985 failures=41 skipped=192\nTotal test files: run=44/44 failed=1 env_changed=8\nResult: FAILURE\nmake: *** [Makefile:800: profile-run-stamp] Error 2\n```\n\nThis is on macOS 10.12.6, building with LLVM / Clang 17.0.1. The system otherwise has Python 3.11.6 installed.\n\n### CPython versions tested on:\n\nCPython main branch\n\n### Operating systems tested on:\n\nmacOS\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-110654\n* gh-110720\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/debohman","@type":"Person","name":"debohman"},"datePublished":"2023-10-03T20:47:28.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":58},"url":"https://github.com/110313/cpython/issues/110313"}
| 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:692c4f72-05cb-b6fd-525e-2c2afeae5355 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CC44:2FB293:64CB51:88A857:6969DCF4 |
| html-safe-nonce | 0e229a952c1513bbc0176a2ceddbbe5ee0b4e5717e42c1efa9bbdc3ada87b86d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQzQ0OjJGQjI5Mzo2NENCNTE6ODhBODU3OjY5NjlEQ0Y0IiwidmlzaXRvcl9pZCI6IjIzMTU1ODM4NzY1NTA0ODMxODgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 6c50cab487591c7202a59bb8b510b89cafc87c8a3147155f1d1b6ff12e42f489 |
| hovercard-subject-tag | issue:1924919707 |
| 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/110313/issue_layout |
| twitter:image | https://opengraph.githubassets.com/603bf8030638a47a80251c9f7062124de62da9a3b2f1bfac827ebd36b18e7e6f/python/cpython/issues/110313 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/603bf8030638a47a80251c9f7062124de62da9a3b2f1bfac827ebd36b18e7e6f/python/cpython/issues/110313 |
| og:image:alt | Bug report Bug description: # Next, run the profile task to generate the profile information. LLVM_PROFILE_FILE="code-%p.profclangr" ./python.exe -m test --pgo --timeout= Raised RLIMIT_NOFILE: 256 ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | debohman |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7b32f1c7c4549428ee399213e8345494fc55b5637195d3fc5f493657579235e8 |
| 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 | bdde15ad1b403e23b08bbd89b53fbe6bdf688cad |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width