Remove dotnet_root from yaml#15329
Build #20251124.5 had test failures
Details
- Failed: 1 (1.92%)
- Passed: 46 (88.46%)
- Other: 5 (9.62%)
- Total: 52
Annotations
Check failure on line 0 in Microsoft.Testing.Platform
azure-pipelines / microsoft.vstest
Microsoft.Testing.Platform#L0
Microsoft.Testing.Platform(0,0): error : (NETCORE_ENGINEERING_TELEMETRY=Build) Tests failed: D:\a\_work\1\s\artifacts\log\Release\Microsoft.TestPlatform.Client.UnitTests_net9.0_x64.log [net9.0|x64]
Check failure on line 0 in Microsoft.Testing.Platform
azure-pipelines / microsoft.vstest
Microsoft.Testing.Platform#L0
Microsoft.Testing.Platform(0,0): error : (NETCORE_ENGINEERING_TELEMETRY=Build) Tests failed: D:\a\_work\1\s\artifacts\log\Release\Microsoft.TestPlatform.CoreUtilities.UnitTests_net9.0_x64.log [net9.0|x64]
Check failure on line 0 in Microsoft.Testing.Platform
azure-pipelines / microsoft.vstest
Microsoft.Testing.Platform#L0
Microsoft.Testing.Platform(0,0): error : (NETCORE_ENGINEERING_TELEMETRY=Build) Tests failed: D:\a\_work\1\s\artifacts\log\Release\Microsoft.TestPlatform.CommunicationUtilities.UnitTests_net9.0_x64.log [net9.0|x64]
Check failure on line 0 in Microsoft.Testing.Platform
azure-pipelines / microsoft.vstest
Microsoft.Testing.Platform#L0
Microsoft.Testing.Platform(0,0): error : (NETCORE_ENGINEERING_TELEMETRY=Build) Tests failed: D:\a\_work\1\s\artifacts\log\Release\Microsoft.TestPlatform.Common.UnitTests_net9.0_x64.log [net9.0|x64]
azure-pipelines / microsoft.vstest
Microsoft.TestPlatform.Extensions.EventLogCollector.UnitTests.EventLogXmlWriterTests.WriteEventLogEntriesToXmlFileShouldWriteLogEntryIfPresent
Test method Microsoft.TestPlatform.Extensions.EventLogCollector.UnitTests.EventLogXmlWriterTests.WriteEventLogEntriesToXmlFileShouldWriteLogEntryIfPresent threw exception:
Moq.MockException:
Expected invocation on the mock at least once, but was never performed: x => x.WriteAllTextToFile("Event Log.xml", It.Is<string>(str => str.Contains("Description: A .NET application failed.
Application: Microsoft.TestPlatform.CommunicationUtilities.PlatformTests.exe
Path: D:\a\_work\1\s\artifacts\bin\Microsoft.TestPlatform.CommunicationUtilities.Platform.UnitTests\Release\net9.0\Microsoft.TestPlatform.CommunicationUtilities.PlatformTests.exe
Message: You must install or update .NET to run this application.
App: D:\a\_work\1\s\artifacts\bin\Microsoft.TestPlatform.CommunicationUtilities.Platform.UnitTests\Release\net9.0\Microsoft.TestPlatform.CommunicationUtilities.PlatformTests.exe
Architecture: x64
Framework: 'Microsoft.NETCore.App', version '9.0.0' (x64)
.NET location: C:\Program Files\dotnet\
The following frameworks were found:
8.0.20 at [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
10.0.0-rc.1.25451.107 at [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
The following frameworks for other architectures were found:
x86
8.0.20 at [C:\Program Files (x86)\dotnet\shared\Microsoft.NETCore.App]
10.0.0-rc.1.25451.107 at [C:\Program Files (x86)\dotnet\shared\Microsoft.NETCore.App]
Learn more:
https://aka.ms/dotnet/app-launch-failed
To install missing framework, download:
https://aka.ms/dotnet-core-applaunch?framework=Microsoft.NETCore.App&framework_version=9.0.0&arch=x64&rid=win-x64&os=win10
")))
Performed invocations:
Mock<IFileHelper:24> (x):
IFileHelper.WriteAllTextToFile("Event Log.xml", "<NewDataSet>
<xs:schema id="NewDataSet" ns="" ns:xs="http://www.w3.org/2001/XMLSchema" ns:msdata="urn:schemas-microsoft-com:xml-msdata" ns:msprop="urn:schemas-microsoft-com:xml-msprop">
<xs:element name="NewDataSet" msdata:IsDataSet="true" msdata:Locale="">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="Table1" msdata:Locale="" msprop:TimestampColumnName="DateTime" msprop:IndexColumnNames="Source,Type">
<xs:complexType>
<xs:sequence>
<xs:element name="Type" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="64" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="DateTime" type="xs:dateTime" minOccurs="0" />
<xs:element name="Source" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="212" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Category" type="xs:string" minOccurs="0" />
<xs:element name="EventID" type="xs:long" minOccurs="0" />
<xs:element name="Description" type="xs:string" minOccurs="0" />
<xs:element name="User" type="xs:string" minOccurs="0" />
<xs:element name="Computer" type="xs:string" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
</xs:element>
</xs:schema>
<Table1>
<Type>Error</Type>
<DateTime>2025-11-24T13:21:51+00:00</DateTime>
<Source>.NET Runtime</Source>
<Category>(0)</Category>
<EventID>1023</EventID>
<Description>Description: A .NET application failed.
Application: Microsoft.TestPlatform.CommunicationUtilities.PlatformTests.exe
Path: D:\a\_work\1\s\artifacts\bin\Microsoft.TestPlatform.CommunicationUtilities.Platform.Uni
Raw output
at Moq.Mock.Verify(Mock mock, LambdaExpression expression, Times times, String failMessage) in C:\projects\moq4\src\Moq\Mock.cs:line 337
at Microsoft.TestPlatform.Extensions.EventLogCollector.UnitTests.EventLogXmlWriterTests.WriteEventLogEntriesToXmlFileShouldWriteLogEntryIfPresent() in /_/test/DataCollectors/Microsoft.TestPlatform.Extensions.EventLogCollector.UnitTests/EventLogXmlWriterTests.cs:line 50