Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: do not log process not found warning on win when PID is not found #7500

Conversation

mxschmitt
Copy link
Member

@mxschmitt mxschmitt commented Jul 7, 2021

Filtering by status is not possible (STATUS eq RUNNING) when using /T which will kill the whole process tree which was my first attempt. Using having a memory usage of > 0 as a workaround, see here.

Fixes #7456
Fixes these warnings on the bots too https://github.com/microsoft/playwright/runs/3005351152#step:7:16

@mxschmitt mxschmitt added CQ1 and removed CQ1 labels Jul 7, 2021
@mxschmitt mxschmitt force-pushed the bugfix/taskkill-do-not-error-if-non-existent branch from f9a78a7 to 19086fc Compare July 7, 2021 14:13
@mxschmitt mxschmitt added CQ1 and removed CQ1 labels Jul 7, 2021
@mxschmitt mxschmitt force-pushed the bugfix/taskkill-do-not-error-if-non-existent branch from 19086fc to 6fe0484 Compare July 7, 2021 15:44
@mxschmitt mxschmitt added CQ1 and removed CQ1 labels Jul 7, 2021
@mxschmitt mxschmitt merged commit ee0497c into microsoft:master Jul 7, 2021
Copy link
Collaborator

@aslushnikov aslushnikov left a comment

Choose a reason for hiding this comment

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

lgtm

dgozman added a commit to dgozman/playwright that referenced this pull request Apr 7, 2022
This was introduced in microsoft#7500 to fight `ERROR: The process "4436" not found.`
messages when killing a process that did already exit.

Since then, we no longer inherit stdout/stderr, so the error message
should not appear anymore.
dgozman added a commit that referenced this pull request Apr 8, 2022
This was introduced in #7500 to fight `ERROR: The process "4436" not found.`
messages when killing a process that did already exit.

Since then, we no longer inherit stdout/stderr, so the error message
should not appear anymore.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] Error displayed in a console after closing the Trace Viewer
3 participants