Title: `test_dtrace` fails on Windows Server 2025 · Issue #138744 · python/cpython · GitHub
Open Graph Title: `test_dtrace` fails on Windows Server 2025 · Issue #138744 · python/cpython
X Title: `test_dtrace` fails on Windows Server 2025 · Issue #138744 · python/cpython
Description: Bug report Bug description: GitHub Actions is in the process of migrating windows-latest from windows-2022 to windows-2025: This change will be rolled out over a period of several weeks beginning 2025-09-02 and will complete on 2025-09-3...
Open Graph Description: Bug report Bug description: GitHub Actions is in the process of migrating windows-latest from windows-2022 to windows-2025: This change will be rolled out over a period of several weeks beginning 2...
X Description: Bug report Bug description: GitHub Actions is in the process of migrating windows-latest from windows-2022 to windows-2025: This change will be rolled out over a period of several weeks beginning 2...
Opengraph URL: https://github.com/python/cpython/issues/138744
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"`test_dtrace` fails on Windows Server 2025","articleBody":"# Bug report\n\n### Bug description:\n\nGitHub Actions is in the process of migrating `windows-latest` from `windows-2022` to `windows-2025`:\n\n> This change will be rolled out over a period of several weeks beginning 2025-09-02 and will complete on 2025-09-30\n\nhttps://github.com/actions/runner-images/issues/12677\n\n\nThis is causing failures for forks which have already been migrated, for example:\n\n```pytb\n======================================================================\nFAIL: test_function_entry_return (test.test_dtrace.DTraceNormalTests.test_function_entry_return)\n----------------------------------------------------------------------\nTraceback (most recent call last):\n File \"D:\\a\\cpython\\cpython\\Lib\\test\\test_dtrace.py\", line 38, in normalize_trace_output\n result.sort(key=lambda row: int(row[0]))\n ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"D:\\a\\cpython\\cpython\\Lib\\test\\test_dtrace.py\", line 38, in \u003clambda>\n result.sort(key=lambda row: int(row[0]))\n ~~~^^^^^^^^\nValueError: invalid literal for int() with base 10: 'dtrace: failed to compile script D:\\\\a\\\\cpython\\\\cpython\\\\Lib\\\\test\\\\dtracedata\\\\call_stack.d: line 3: pid provider is not installed on this system'\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"D:\\a\\cpython\\cpython\\Lib\\test\\test_dtrace.py\", line 124, in test_function_entry_return\n self.run_case(\"call_stack\")\n ~~~~~~~~~~~~~^^^^^^^^^^^^^^\n File \"D:\\a\\cpython\\cpython\\Lib\\test\\test_dtrace.py\", line 119, in run_case\n actual_output, expected_output = self.backend.run_case(\n ~~~~~~~~~~~~~~~~~~~~~^\n name, optimize_python=self.optimize_python)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"D:\\a\\cpython\\cpython\\Lib\\test\\test_dtrace.py\", line 53, in run_case\n actual_output = normalize_trace_output(self.trace_python(\n script_file=abspath(name + self.EXTENSION),\n python_file=abspath(name + \".py\"),\n optimize_python=optimize_python))\n File \"D:\\a\\cpython\\cpython\\Lib\\test\\test_dtrace.py\", line 42, in normalize_trace_output\n raise AssertionError(\n \"tracer produced unparsable output:\\n{}\".format(output)\n )\nAssertionError: tracer produced unparsable output:\ndtrace: failed to compile script D:\\a\\cpython\\cpython\\Lib\\test\\dtracedata\\call_stack.d: line 3: pid provider is not installed on this system\n```\n\nhttps://github.com/picnixz/cpython/actions/runs/17610564159/job/50031376950#step:1:9\n\nUpstream and my fork are still on 2022, but let's pin to `windows-2022` so we can separately investigate and fix for 2025, and then pin to `windows-2025`.\n\n---\n\n*(Copied verbatim from https://github.com/python/cpython/pull/138743)*\n\n\u003c!-- gh-linked-prs -->\n### Linked PRs\n* gh-138743\n* gh-138752\n* gh-138753\n* gh-138754\n* gh-138755\n* gh-138757\n* gh-138758\n* gh-144657\n* gh-144668\n* gh-144669\n* gh-144682\n\u003c!-- /gh-linked-prs -->\n","author":{"url":"https://github.com/picnixz","@type":"Person","name":"picnixz"},"datePublished":"2025-09-10T12:14:51Z","url":"https://github.com/python/cpython/issues/138744"}
| 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:0af0ff77-9625-6e4c-c171-ed757f6bf6df |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B704:38EE04:17F46CF:1FA10B5:6B02096E |
| html-safe-nonce | 407d8bf9dcbaaa45ba9c83b34b8f04afec0f630cc7c74589b7b8d25f8df21923 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNzA0OjM4RUUwNDoxN0Y0NkNGOjFGQTEwQjU6NkIwMjA5NkUiLCJ2aXNpdG9yX2lkIjoiNzUyNTQzMjU0MTUyOTExNDk5MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 2a65ea538898f9bd1adcab51317df5f7d29b50d54ee9cc37a2702b8657d9c88d |
| hovercard-subject-tag | issue:3402227869 |
| 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/138744/issue_layout |
| twitter:image | https://opengraph.githubassets.com/de5568c5b1e0f4a0f2f67c9e18f49d73b55e60b3c7c5488f84bcd3c867c4bae8/python/cpython/issues/138744 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/de5568c5b1e0f4a0f2f67c9e18f49d73b55e60b3c7c5488f84bcd3c867c4bae8/python/cpython/issues/138744 |
| og:image:alt | Bug report Bug description: GitHub Actions is in the process of migrating windows-latest from windows-2022 to windows-2025: This change will be rolled out over a period of several weeks beginning 2... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | picnixz |
| 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