Localized file check-in by OneLocBuild Task: Build definition ID 1218: Build ID 2551096 #3903
Azure Pipelines / microsoft.testfx
failed
Oct 2, 2024 in 27m 44s
Build #20241002.20 had test failures
Details
- Failed: 1 (0.00%, 1 new, 0 recurring)
- Passed: 21,127 (100.00%)
- Other: 0 (0.00%)
- Total: 21,128
- 82188 of 132350 blocks covered (62.10%)
- 54663 of 87556 lines covered (62.43%)
Annotations
Check failure on line 0 in TestingPlatform
azure-pipelines / microsoft.testfx
TestingPlatform#L0
TestingPlatform(0,0): error : (NETCORE_ENGINEERING_TELEMETRY=Build) Tests failed: D:\a\_work\1\s\artifacts\log\Debug\MSTest.Acceptance.IntegrationTests_net8.0_x64.log [net8.0|x64]
azure-pipelines / microsoft.testfx
MSTest.Acceptance.IntegrationTests.MSTest.Acceptance.IntegrationTests.InitializeAndCleanupTimeout.AssemblyInitialize_WhenTimeoutExpires_AssemblyInitializeIsCanceled_AttributeTakesPrecedence (net462)
Expression 'testHostResult.StandardOutput.Contains(value, StringComparison.Ordinal)' failed for member 'RunAndAssertWithRunSettingsAsync' at line 402 of file '/_/test/IntegrationTests/MSTest.Acceptance.IntegrationTests/InitializeAndCleanupTimeoutTests.cs'.
Output of the test host is:
Command: D:\a\_work\1\s\artifacts\tmp\Debug\testsuite\ZHGgk\CodeWithOneSecTimeout\bin\Release\net462\CodeWithOneSecTimeout.exe --settings D:\a\_work\1\s\artifacts\tmp\Debug\testsuite\ZHGgk\CodeWithOneSecTimeout\bin\Release\net462\dda467efe0f144738c4fe8a8ae6cec9b.runsettings
====================
ExitCode: 2
====================
StandardOutput:
MSTest v3.7.0-ci (UTC 10/2/2024) [x64 - .NET Framework 4.8.9266.0]
[+0/x0/?0] CodeWithOneSecTimeout.exe (net462|x64)(2s)
failed Test1 (0ms)
Assembly cleanup method 'TestClass.AssemblyCleanupMethod' timed out after 1000ms
Stack Trace:
at Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.Execution.TestAssemblyInfo.ExecuteAssemblyCleanup()
at Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.Execution.UnitTestRunner.RunAssemblyCleanupIfNeeded(ITestContext testContext, ClassCleanupManager classCleanupManager, TypeCache typeCache, UnitTestResult[] results)
Test run summary: Failed! - D:\a\_work\1\s\artifacts\tmp\Debug\testsuite\ZHGgk\CodeWithOneSecTimeout\bin\Release\net462\CodeWithOneSecTimeout.exe (net462|x64)
total: 1
failed: 1
succeeded: 0
skipped: 0
duration: 3s 328ms
====================
StandardError:
Raw output
at Microsoft.Testing.Internal.Framework.Assert.That(Boolean condition, String userMessage, String callerArgumentExpression, String callerMemberName, String callerFilePath, Int32 callerLineNumber) in /_/src/Microsoft.Testing.Internal.Framework/Assertions/Assert.cs:line 273
at Microsoft.Testing.Platform.Acceptance.IntegrationTests.Helpers.AcceptanceAssert.AssertOutputContains(TestHostResult testHostResult, String value, String callerMemberName, String callerFilePath, Int32 callerLineNumber) in /_/test/IntegrationTests/Microsoft.Testing.Platform.Acceptance.IntegrationTests/Helpers/AcceptanceAssert.cs:line 98
at MSTest.Acceptance.IntegrationTests.InitializeAndCleanupTimeout.RunAndAssertWithRunSettingsAsync(String tfm, Int32 timeoutValue, Boolean assertAttributePrecedence, String entryKind) in /_/test/IntegrationTests/MSTest.Acceptance.IntegrationTests/InitializeAndCleanupTimeoutTests.cs:line 402
at MSTest.Acceptance.IntegrationTests.InitializeAndCleanupTimeout.AssemblyInitialize_WhenTimeoutExpires_AssemblyInitializeIsCanceled_AttributeTakesPrecedence(String tfm) in /_/test/IntegrationTests/MSTest.Acceptance.IntegrationTests/InitializeAndCleanupTimeoutTests.cs:line 92
at MSTest.Acceptance.IntegrationTests.MSTest_Acceptance_IntegrationTests_InitializeAndCleanupTimeout.<>c.<<BuildAsync>b__3_25>d.MoveNext() in /_/artifacts/obj/MSTest.Acceptance.IntegrationTests/Debug/net8.0/Microsoft.Testing.Internal.Framework.SourceGeneration/Microsoft.Testing.Internal.Framework.SourceGeneration.TestNodesGenerator/MSTest.Acceptance.IntegrationTests.InitializeAndCleanupTimeout.g.cs:line 573
Loading