Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

test_dtrace fails on Windows Server 2025 #138744

Closed
Labels
OS-windowsinfraCI, GitHub Actions, buildbots, Dependabot, etc.testsTests in the Lib/test dirtype-bugAn unexpected behavior, bug, or error
@picnixz

Description

@picnixz

Bug report

Bug description:

GitHub Actions is in the process of migratingwindows-latest fromwindows-2022 towindows-2025:

This change will be rolled out over a period of several weeks beginning 2025-09-02 and will complete on 2025-09-30

actions/runner-images#12677

This is causing failures for forks which have already been migrated, for example:

======================================================================FAIL:test_function_entry_return (test.test_dtrace.DTraceNormalTests.test_function_entry_return)----------------------------------------------------------------------Traceback (most recent call last):  File"D:\a\cpython\cpython\Lib\test\test_dtrace.py", line38, innormalize_trace_output    result.sort(key=lambdarow:int(row[0]))~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  File"D:\a\cpython\cpython\Lib\test\test_dtrace.py", line38, in<lambda>    result.sort(key=lambdarow:int(row[0]))~~~^^^^^^^^ValueError: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'During handling of the above exception, another exception occurred:Traceback (most recent call last):  File"D:\a\cpython\cpython\Lib\test\test_dtrace.py", line124, intest_function_entry_returnself.run_case("call_stack")~~~~~~~~~~~~~^^^^^^^^^^^^^^  File"D:\a\cpython\cpython\Lib\test\test_dtrace.py", line119, inrun_case    actual_output, expected_output=self.backend.run_case(~~~~~~~~~~~~~~~~~~~~~^        name, optimize_python=self.optimize_python)^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  File"D:\a\cpython\cpython\Lib\test\test_dtrace.py", line53, inrun_case    actual_output= normalize_trace_output(self.trace_python(        script_file=abspath(name+self.EXTENSION),        python_file=abspath(name+".py"),        optimize_python=optimize_python))  File"D:\a\cpython\cpython\Lib\test\test_dtrace.py", line42, innormalize_trace_outputraiseAssertionError("tracer produced unparsable output:\n{}".format(output)    )AssertionError:tracer produced unparsable output: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

https://github.com/picnixz/cpython/actions/runs/17610564159/job/50031376950#step:1:9

Upstream and my fork are still on 2022, but let's pin towindows-2022 so we can separately investigate and fix for 2025, and then pin towindows-2025.


(Copied verbatim from#138743)

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    OS-windowsinfraCI, GitHub Actions, buildbots, Dependabot, etc.testsTests in the Lib/test dirtype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2026 Movatter.jp