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

[Question]: VSTest@2 and VSTest@3 are not working within Azure DevOps anymore #19644

Closed
1 of 4 tasks
thomastrinamix opened this issue Mar 15, 2024 · 3 comments
Closed
1 of 4 tasks

Comments

@thomastrinamix
Copy link

thomastrinamix commented Mar 15, 2024

Task name

VSTest2

Task version

2.235.3

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 2022

Question

dear community,
since the update from 2.253.2 to 2.235.3 on Wednesday 13. March 2024 our test pipeline fails in azure devops:
'##[error]VsTest task failed.'

found this PR
https://github.com/microsoft/azure-pipelines-tasks/pull/19617
saying there is an update from 2.253.2 to 2.236.0, however when using '-task: [email protected]' I can't run the pipeline 'A task is missing. The pipeline references a task called 'VSTest'. This usually indicates the task isn't installed, and you may be able to install it from the Marketplace:
https://marketplace.visualstudio.com.
(Task version 2.236.0, job 'testAndBuild4appService', step ''.)'

Also tried
'- task: [email protected]'
'- task: [email protected]'
'- task: VSTest@3'
always got
'##[error]VsTest task failed.'
@qianz2
Copy link
Contributor

qianz2 commented Mar 19, 2024

Hi @thomastrinamix, could you try again with '- task: [email protected]'?

@qianz2 qianz2 self-assigned this Mar 19, 2024
@thomastrinamix
Copy link
Author

Hi @thomastrinamix, could you try again with '- task: [email protected]'?

Encountered error(s) while parsing pipeline YAML:
A task is missing. The pipeline references a task called 'VSTest'. This usually indicates the task isn't installed, and you may be able to install it from the Marketplace: https://marketplace.visualstudio.com. (Task version 2.236.1, job 'testAndBuild4appService', step ''.)

@thomastrinamix
Copy link
Author

thomastrinamix commented Mar 20, 2024

ok. it looks like this was more an Azure DevOps bug... you can close this one here.

just recreated the pipeline with exactly the same yml, branch and - task: VSTest@2
It uses Version : 2.235.3 and everything works as it did in the past

Old pipeline with reference to exactly same yml and branch still results in ##[error]VsTest task failed.

---> Solutions (Azure DevOps): create a new pipeline with the same yml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants