Azure pipeline with task Telerik JustMock VSTest v.2 failed on new build server

2 Answers 32 Views
Continuous Integration
SIEN
Top achievements
Rank 1
Iron
SIEN asked on 31 Oct 2024, 03:39 PM

Hi,

on a new build server with only Visual Studio 2022, a pipeline with a task Telerik JustMock VSTest v.2 failed. On another build server the task runs fine but this server has Visual Studio 2017 and 2019.

With only Visual Studio 2022, I see this in the logs :

2024-10-29T08:40:10.1079920Z ##[debug]E:\AzureDevOps\Agents\Cloee2Agent1\_work\_tasks\JustMockVSTest_dfc18792-8901-4297-a4de-6edef6796070\2.4.1\vswhere.exe arg: -version [16.0,17.0) -latest -products * -requires Microsoft.VisualStudio.PackageGroup.TestTools.Core -property installationPath
2024-10-29T08:40:10.1080395Z ##[debug]exec tool: E:\AzureDevOps\Agents\Cloee2Agent1\_work\_tasks\JustMockVSTest_dfc18792-8901-4297-a4de-6edef6796070\2.4.1\vswhere.exe
2024-10-29T08:40:10.1080699Z ##[debug]arguments:
2024-10-29T08:40:10.1080925Z ##[debug]   -version
2024-10-29T08:40:10.1081156Z ##[debug]   [16.0,17.0)
2024-10-29T08:40:10.1081399Z ##[debug]   -latest
2024-10-29T08:40:10.1081624Z ##[debug]   -products
2024-10-29T08:40:10.1081840Z ##[debug]   *
2024-10-29T08:40:10.1082053Z ##[debug]   -requires
2024-10-29T08:40:10.1082310Z ##[debug]   Microsoft.VisualStudio.PackageGroup.TestTools.Core
2024-10-29T08:40:10.1082557Z ##[debug]   -property
2024-10-29T08:40:10.1082780Z ##[debug]   installationPath

 

The call to vswhere ask for version "[16.0,17.0)". In the properties of the task I specify "Test Plateform Version : Latest". So why is vswhere searching only for version 16 and 17 ?

Thank you

 

2 Answers, 1 is accepted

Sort by
0
Ivo
Telerik team
answered on 05 Nov 2024, 08:24 AM

Hello there,

I apologize for your negative experience with the JustMock task. This issue has been reported recently and is being addressed for a fix. I appreciate your patience while we work on this.

Regards,
Ivo
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

SIEN
Top achievements
Rank 1
Iron
commented on 06 Nov 2024, 06:16 AM

In the end, the problem was the version of the extension in Azure Devops. As our server had no access to the Internet, Azure told me that the version installed was the latest, but this was not the case. After updating to version 2.0.14, everything worked perfectly.

Thank you, regards

Ivo
Telerik team
commented on 06 Nov 2024, 08:07 AM

Thanks for the update! I am happy to hear that the issue has been resolved.
0
SIEN
Top achievements
Rank 1
Iron
answered on 06 Nov 2024, 06:17 AM
See my last comment
Tags
Continuous Integration
Asked by
SIEN
Top achievements
Rank 1
Iron
Answers by
Ivo
Telerik team
SIEN
Top achievements
Rank 1
Iron
Share this question
or