Skip to content

Redirect taskkill.exe in HelixPre/PostCommands output to nul - #119544

Merged
jkotas merged 1 commit into
dotnet:mainfrom
jkotas:taskkill
Sep 10, 2025
Merged

jkotas merged 1 commit into
dotnet:mainfrom
jkotas:taskkill

Conversation

@jkotas

@jkotas jkotas commented Sep 10, 2025

Copy link
Copy Markdown
Member

This prints "ERROR: The process "corerun.exe" not found" under normal circumstances that makes it look like an actual test failure.

Fixes #119525

This prints "ERROR: The process "corerun.exe" not found" under normal circumstances that makes it look like an actual test failure.

Fixes dotnet#119525
Copilot AI review requested due to automatic review settings September 10, 2025 16:38

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR suppresses error output from taskkill.exe commands in the Helix test infrastructure to prevent misleading error messages. The change addresses the issue where normal "process not found" messages from taskkill were appearing as test failures in logs.

  • Redirects stderr to null for taskkill commands that clean up corerun.exe processes
  • Applies the same fix to both HelixPreCommand and HelixPostCommand sections

@dotnet-policy-service

Copy link
Copy Markdown
Contributor

Tagging subscribers to this area: @dotnet/runtime-infrastructure
See info in area-owners.md if you want to be subscribed.

@jkotas
jkotas merged commit ffd2804 into dotnet:main Sep 10, 2025
@jkotas
jkotas deleted the taskkill branch September 10, 2025 18:54
@github-actions github-actions Bot locked and limited conversation to collaborators Oct 11, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Test Failure: The process "corerun.exe" not found

5 participants