Skip to content

test_os.Win32KillTests: test_CTRL_BREAK_EVENT() failed on GHA Windows x64 #109888

Closed
@vstinner

Description

@vstinner

Windows x64 failed:

ERROR: test_CTRL_BREAK_EVENT (test.test_os.Win32KillTests.test_CTRL_BREAK_EVENT)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "D:\a\cpython\cpython\Lib\test\test_os.py", line 2616, in test_CTRL_BREAK_EVENT
    self._kill_with_event(signal.CTRL_BREAK_EVENT, "CTRL_BREAK_EVENT")
  File "D:\a\cpython\cpython\Lib\test\test_os.py", line 2591, in _kill_with_event
    os.kill(proc.pid, signal.SIGINT)
PermissionError: [WinError 5] Access is denied

Test passed when re-run:

test_CTRL_BREAK_EVENT (test.test_os.Win32KillTests.test_CTRL_BREAK_EVENT) ... ok

build: https://github.com/python/cpython/actions/runs/6309792803/job/17130459509?pr=109887

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions