Title: `test_free_threading` hits 10-minute timeout in most Windows free-threaded CI runs · Issue #158618 · python/cpython · GitHub
Open Graph Title: `test_free_threading` hits 10-minute timeout in most Windows free-threaded CI runs · Issue #158618 · python/cpython
X Title: `test_free_threading` hits 10-minute timeout in most Windows free-threaded CI runs · Issue #158618 · python/cpython
Description: Bug report "Windows (free-threading) / Build and test (x64, switch-case)" is the longest job in the CI: On the "Windows (free-threading) / Build and test (x64, switch-case)" job on main, test_free_threading hit the 10-minute timeout in 6...
Open Graph Description: Bug report "Windows (free-threading) / Build and test (x64, switch-case)" is the longest job in the CI: On the "Windows (free-threading) / Build and test (x64, switch-case)" job on main, test_free_...
X Description: Bug report "Windows (free-threading) / Build and test (x64, switch-case)" is the longest job in the CI: On the "Windows (free-threading) / Build and test (x64, switch-case)" job...
Opengraph URL: https://github.com/python/cpython/issues/158618
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"`test_free_threading` hits 10-minute timeout in most Windows free-threaded CI runs","articleBody":"### Bug report\n\n\"Windows (free-threading) / Build and test (x64, switch-case)\" is the longest job in the CI:\n\n\u003cimg width=\"1284\" height=\"605\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/2c4e4ade-56b0-465b-b502-a3662f8f51fe\" />\n\nOn the \"Windows (free-threading) / Build and test (x64, switch-case)\" job on main, `test_free_threading` hit the 10-minute timeout in 6 of 8 passing runs, then passed on rerun in ~2m40s. In the log this shows up as `test_free_threading worker non-zero exit code (Exit code 1)`, followed by `Timeout (0:10:00)!` later on:\n\n- https://github.com/python/cpython/actions/runs/36967387129/job/110714027502#step:6:1319\n- https://github.com/python/cpython/actions/runs/36958725181/job/110687463137#step:6:376\n- https://github.com/python/cpython/actions/runs/36930136472/job/110597177910#step:6:463\n- https://github.com/python/cpython/actions/runs/36908135807/job/110523837239#step:6:727\n- https://github.com/python/cpython/actions/runs/36891296064/job/110467415355#step:6:829\n- https://github.com/python/cpython/actions/runs/36854278770/job/110343015461#step:6:445\n\n`test_free_threading` is a package of 57 modules but is not in `SPLITTESTDIRS`, so regrtest runs it as a single test with a single 10-minute timeout. That's not long enough when under load on the 4-core Windows runner, and results in a rerun taking around 3 minutes.\n\nLet's add `test_free_threading` to `SPLITTESTDIRS` so each module is scheduled and timed separately. Then it should have enough time to complete without timeout, not needing the rerun.\n\nThis should save around 2-3 minutes on this job, and also reduce the total CI wall clock time.\n\n### CPython versions tested on:\n\nCPython main branch, 3.15, 3.14\n\n### Operating systems tested on:\n\nWindows\n\n\u003c!-- gh-linked-prs -->\n### Linked PRs\n* gh-158620\n* gh-158661\n* gh-158662\n\u003c!-- /gh-linked-prs -->\n","author":{"url":"https://github.com/hugovk","@type":"Person","name":"hugovk"},"datePublished":"2026-10-02T19:35:03Z","url":"https://github.com/python/cpython/issues/158618"}
| 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:27a81604-110b-71e5-f734-6b400ffcf406 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 82C2:1DCF5:589DD:75DDC:6B022047 |
| html-safe-nonce | 1408a8e0cbf2d09a1bcaf73a5d2ffdf3541f68e805b061af392bbe5391b0a5f0 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MkMyOjFEQ0Y1OjU4OUREOjc1RERDOjZCMDIyMDQ3IiwidmlzaXRvcl9pZCI6IjQ0OTM2ODIxNDE2NTc0NDAzMjciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | a0ab9f3a69cafa7e592cdc4f70b0f4c66ea08c43f4e919d9158890990a5216bb |
| hovercard-subject-tag | issue:5682403114 |
| 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/158618/issue_layout |
| twitter:image | https://opengraph.githubassets.com/f9b4fa255fab032b301d03b3ff3542977ae7ea6da5ba2d2e7ba0efeb1a02c131/python/cpython/issues/158618 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/f9b4fa255fab032b301d03b3ff3542977ae7ea6da5ba2d2e7ba0efeb1a02c131/python/cpython/issues/158618 |
| og:image:alt | Bug report "Windows (free-threading) / Build and test (x64, switch-case)" is the longest job in the CI: On the "Windows (free-threading) / Build and test (x64, switch-case)" job on main, test_free_... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | hugovk |
| 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