Title: test_dynamic fails on wasm32 WASI 8Core 3.x buildbot · Issue #117645 · python/cpython · GitHub
Open Graph Title: test_dynamic fails on wasm32 WASI 8Core 3.x buildbot · Issue #117645 · python/cpython
X Title: test_dynamic fails on wasm32 WASI 8Core 3.x buildbot · Issue #117645 · python/cpython
Description: Example of recent failing build: https://buildbot.python.org/all/#/builders/1344/builds/1372 build: 0:00:42 load avg: 4.04 [ 50/473/1] test_dynamic worker non-zero exit code (Exit code 134) test_cannot_change_globals_or_builtins_with_eva...
Open Graph Description: Example of recent failing build: https://buildbot.python.org/all/#/builders/1344/builds/1372 build: 0:00:42 load avg: 4.04 [ 50/473/1] test_dynamic worker non-zero exit code (Exit code 134) test_ca...
X Description: Example of recent failing build: https://buildbot.python.org/all/#/builders/1344/builds/1372 build: 0:00:42 load avg: 4.04 [ 50/473/1] test_dynamic worker non-zero exit code (Exit code 134) test_ca...
Opengraph URL: https://github.com/python/cpython/issues/117645
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"test_dynamic fails on wasm32 WASI 8Core 3.x buildbot","articleBody":"Example of recent failing build: https://buildbot.python.org/all/#/builders/1344/builds/1372\r\n\r\nbuild:\r\n\r\n```\r\n0:00:42 load avg: 4.04 [ 50/473/1] test_dynamic worker non-zero exit code (Exit code 134)\r\ntest_cannot_change_globals_or_builtins_with_eval (test.test_dynamic.RebindBuiltinsTests.test_cannot_change_globals_or_builtins_with_eval) ... ok\r\ntest_cannot_change_globals_or_builtins_with_exec (test.test_dynamic.RebindBuiltinsTests.test_cannot_change_globals_or_builtins_with_exec) ... ok\r\ntest_cannot_replace_builtins_dict_between_calls (test.test_dynamic.RebindBuiltinsTests.test_cannot_replace_builtins_dict_between_calls) ... ok\r\ntest_cannot_replace_builtins_dict_while_active (test.test_dynamic.RebindBuiltinsTests.test_cannot_replace_builtins_dict_while_active) ... ok\r\ntest_eval_gives_lambda_custom_globals (test.test_dynamic.RebindBuiltinsTests.test_eval_gives_lambda_custom_globals) ... ok\r\ntest_globals_shadow_builtins (test.test_dynamic.RebindBuiltinsTests.test_globals_shadow_builtins) ... ok\r\ntest_load_global_specialization_failure_keeps_oparg (test.test_dynamic.RebindBuiltinsTests.test_load_global_specialization_failure_keeps_oparg) ... \r\nError: failed to run main module `python.wasm`\r\n\r\nCaused by:\r\n 0: failed to invoke command default\r\n 1: error while executing at wasm backtrace:\r\n 0: 0x1af790 - \u003cunknown>!compiler_visit_expr\r\n 1: 0x1afaf9 - \u003cunknown>!compiler_visit_expr\r\n 2: 0x1afaf9 - \u003cunknown>!compiler_visit_expr\r\n 3: 0x1afaf9 - \u003cunknown>!compiler_visit_expr\r\n (...)\r\n 339: 0x1afaf9 - \u003cunknown>!compiler_visit_expr\r\n 340: 0x1afe9e - \u003cunknown>!compiler_visit_expr\r\n 341: 0x1a8f50 - \u003cunknown>!compiler_codegen\r\n 342: 0x1a8873 - \u003cunknown>!_PyAST_Compile\r\n 343: 0x20f198 - \u003cunknown>!run_mod\r\n 344: 0x20f8b2 - \u003cunknown>!PyRun_StringFlags\r\n 345: 0x1876d4 - \u003cunknown>!builtin_eval\r\n 346: 0xb92f8 - \u003cunknown>!cfunction_vectorcall_FASTCALL\r\n 347: 0x60876 - \u003cunknown>!PyObject_Vectorcall\r\n 348: 0x1a125a - \u003cunknown>!_PyEval_EvalFrameDefault\r\n 349: 0x1a1d21 - \u003cunknown>!_PyEval_Vector\r\n (...)\r\n 407: 0x233859 - \u003cunknown>!Py_BytesMain\r\n 408: 0x5967 - \u003cunknown>!main\r\n 409: 0x3ca4e3 - \u003cunknown>!__main_void\r\n 410: 0x5940 - \u003cunknown>!_start\r\n note: using the `WASMTIME_BACKTRACE_DETAILS=1` environment variable may show more debugging information\r\n 2: memory fault at wasm address 0x1000005b0 in linear memory of size 0xa00000\r\n 3: wasm trap: out of bounds memory access\r\n```\r\n\r\ntest.pythoninfo:\r\n\r\n```\r\n_testcapi.LONG_MAX: 2147483647\r\n_testcapi.Py_C_RECURSION_LIMIT: 500\r\nbuild.NDEBUG: ignore assertions (macro defined)\r\nbuild.Py_DEBUG: No (sys.gettotalrefcount() missing)\r\nsysconfig[HOSTRUNNER]: wasmtime run --wasm max-wasm-stack=8388608 --wasi preview2 --env PYTHONPATH=/$(shell realpath --relative-to /opt/buildbot/kushaldas-wasm/3.x.kushaldas-wasi.wasi.nondebug/build/build_oot/host/../.. /opt/buildbot/kushaldas-wasm/3.x.kushaldas-wasi.wasi.nondebug/build/build_oot/host)/$(shell cat pybuilddir.txt):/Lib --dir ../..::/\r\n\r\nsysconfig[OPT]: -DNDEBUG -g -O3 -Wall\r\nsysconfig[PY_CFLAGS]: -fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -g -O3 -Wall\r\nsysconfig[PY_CFLAGS_NODIST]: -std=c11 -Wextra -Wno-unused-parameter -Wno-int-conversion -Wno-missing-field-initializers -Wstrict-prototypes -Werror=implicit-function-declaration -fvisibility=hidden -I../../Include/internal -I../../Include/internal/mimalloc\r\nsysconfig[PY_CORE_LDFLAGS]: -z stack-size=524288 -Wl,--stack-first -Wl,--initial-memory=10485760\r\nsysconfig[PY_LDFLAGS_NODIST]: -z stack-size=524288 -Wl,--stack-first -Wl,--initial-memory=10485760\r\nsysconfig[PY_STDMODULE_CFLAGS]: -fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -g -O3 -Wall -std=c11 -Wextra -Wno-unused-parameter -Wno-int-conversion -Wno-missing-field-initializers -Wstrict-prototypes -Werror=implicit-function-declaration -fvisibility=hidden -I../../Include/internal -I../../Include/internal/mimalloc -IObjects -IInclude -IPython -I. -I../../Include\r\n```\r\n\r\nPython is **built** with 512 KiB stack and **run** with 8 MiB stack and Py_C_RECURSION_LIMIT=500.\n\n\u003c!-- gh-linked-prs -->\n### Linked PRs\n* gh-117646\n* gh-117674\n\u003c!-- /gh-linked-prs -->\n","author":{"url":"https://github.com/vstinner","@type":"Person","name":"vstinner"},"datePublished":"2024-04-08T16:17:59Z","url":"https://github.com/python/cpython/issues/117645"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| 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:8a5d71dc-a3b6-5a0d-5782-425b5acffd25 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BEB4:39B9E6:445B3C:59A5D8:6B023C46 |
| html-safe-nonce | 5f1db003f5babad2e3eab9d9a83caf1567fc4b5b3719cbb1590679c0fcfe71ac |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRUI0OjM5QjlFNjo0NDVCM0M6NTlBNUQ4OjZCMDIzQzQ2IiwidmlzaXRvcl9pZCI6IjQ5MTg4ODcxNzI0MzE1NTk3NTAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | edad342241b3f85c5de8184cf29d18d0b0a52da979c36b4eef40a745431ceab1 |
| hovercard-subject-tag | issue:2231620374 |
| 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/117645/issue_layout |
| twitter:image | https://opengraph.githubassets.com/a505c0495999ae92b8132e8fc0f6e73ccd1d8e307fef17e8eaad8193b2a0bd80/python/cpython/issues/117645 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/a505c0495999ae92b8132e8fc0f6e73ccd1d8e307fef17e8eaad8193b2a0bd80/python/cpython/issues/117645 |
| og:image:alt | Example of recent failing build: https://buildbot.python.org/all/#/builders/1344/builds/1372 build: 0:00:42 load avg: 4.04 [ 50/473/1] test_dynamic worker non-zero exit code (Exit code 134) test_ca... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | vstinner |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| 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 | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width