Skip to content

[BUG]: Node.exe shows up during c# (VSTest) task in Azure release. #21214

@xkasjan77

Description

@xkasjan77

New issue checklist

Task name

Visual Studio Test

Task version

2.*

Issue Description

Hello,

We've been using c# for desktop app tests. On windows 11 we run VSTest version 2.* with our test plans on self-hosted machines (azure agent version v2.181.2 and v2.210.1).

Sometimes there is a situation where VSTest task runs our tests like so. After a while node.exe cmd window shows up and blocks everything on machine. It completely covers all programs and our tests return false.

I've tried installing newer 2.* azure agent and opening run.cmd as service. The problems is that we use WinAppDriver and agent (as a service) cannot handle interactive desktop windows.

How to get rid of that window and why it appears sometimes and sometimes not - with the same configuration?

Image

Environment type (Please select at least one enviroment where you face this issue)

  • Self-Hosted
  • Microsoft Hosted
  • VMSS Pool
  • Container

Azure DevOps Server type

dev.azure.com (formerly visualstudio.com)

Azure DevOps Server Version (if applicable)

No response

Operation system

Windows 11

Relevant log output

There are no logs. It's just all tests return false due to the inability to perform the action on the program

Full task logs with system.debug enabled

Details
 [REPLACE THIS WITH YOUR INFORMATION] 

Repro steps

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions