Bump versions and nit fixes for public samples #3925
Merged
Azure Pipelines / microsoft.testfx
failed
Oct 10, 2024 in 33m 33s
Build #20241010.10 had test failures
Details
- Failed: 2 (0.01%)
- Passed: 20,543 (99.99%)
- Other: 0 (0.00%)
- Total: 20,545
- 115012 of 189051 blocks covered (60.84%)
- 81487 of 134069 lines covered (60.78%)
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\Release\MSTest.Acceptance.IntegrationTests_net8.0_x64.log [net8.0|x64]
azure-pipelines / microsoft.testfx
MSTest.Acceptance.IntegrationTests.MSTest.Acceptance.IntegrationTests.InitializeAndCleanupTimeout.BaseClassInitialize_WhenTimeoutExpires_ClassInitializeIsCanceled_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\Release\testsuite\PS2UV\CodeWithOneSecTimeout\bin\Release\net462\CodeWithOneSecTimeout.exe --settings D:\a\_work\1\s\artifacts\tmp\Release\testsuite\PS2UV\CodeWithOneSecTimeout\bin\Release\net462\752ad615072b4cf58f32cdcc4198d317.runsettings
====================
ExitCode: 2
====================
StandardOutput:
MSTest v3.7.0-ci (UTC 10/10/2024) [x64 - .NET Framework 4.8.9266.0]
[+0/x0/?0] CodeWithOneSecTimeout.exe (net462|x64)(2s)
failed Test1 (0ms)
Class cleanup method 'TestClass.ClassCleanupMethod' timed out after 1000ms
Stack Trace:
at Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.Execution.TestClassInfo.ExecuteClassCleanup()
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\Release\testsuite\PS2UV\CodeWithOneSecTimeout\bin\Release\net462\CodeWithOneSecTimeout.exe (net462|x64)
total: 1
failed: 1
succeeded: 0
skipped: 0
duration: 3s 375ms
====================
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.BaseClassInitialize_WhenTimeoutExpires_ClassInitializeIsCanceled_AttributeTakesPrecedence(String tfm) in /_/test/IntegrationTests/MSTest.Acceptance.IntegrationTests/InitializeAndCleanupTimeoutTests.cs:line 100
at MSTest.Acceptance.IntegrationTests.MSTest_Acceptance_IntegrationTests_InitializeAndCleanupTimeout.<>c.<<BuildAsync>b__3_29>d.MoveNext() in /_/artifacts/obj/MSTest.Acceptance.IntegrationTests/Release/net8.0/Microsoft.Testing.Internal.Framework.SourceGeneration/Microsoft.Testing.Internal.Framework.SourceGeneration.TestNodesGenerator/MSTest.Acceptance.IntegrationTests.InitializeAndCleanupTimeout.g.cs:line 657
azure-pipelines / microsoft.testfx
MSTest.Acceptance.IntegrationTests.MSTest.Acceptance.IntegrationTests.InitializeAndCleanupTimeout.ClassInitialize_WhenTimeoutExpires_ClassInitializeIsCanceled_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\Release\testsuite\PS2UV\CodeWithOneSecTimeout\bin\Release\net462\CodeWithOneSecTimeout.exe --settings D:\a\_work\1\s\artifacts\tmp\Release\testsuite\PS2UV\CodeWithOneSecTimeout\bin\Release\net462\a2b237aba3184192bf1dda10b46588a7.runsettings
====================
ExitCode: 2
====================
StandardOutput:
MSTest v3.7.0-ci (UTC 10/10/2024) [x64 - .NET Framework 4.8.9266.0]
[+0/x0/?0] CodeWithOneSecTimeout.exe (net462|x64)(3s)
failed Test1 (0ms)
Class cleanup method 'TestClass.ClassCleanupMethod' timed out after 1000ms
Stack Trace:
at Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.Execution.TestClassInfo.ExecuteClassCleanup()
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\Release\testsuite\PS2UV\CodeWithOneSecTimeout\bin\Release\net462\CodeWithOneSecTimeout.exe (net462|x64)
total: 1
failed: 1
succeeded: 0
skipped: 0
duration: 3s 984ms
====================
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.ClassInitialize_WhenTimeoutExpires_ClassInitializeIsCanceled_AttributeTakesPrecedence(String tfm) in /_/test/IntegrationTests/MSTest.Acceptance.IntegrationTests/InitializeAndCleanupTimeoutTests.cs:line 96
at MSTest.Acceptance.IntegrationTests.MSTest_Acceptance_IntegrationTests_InitializeAndCleanupTimeout.<>c.<<BuildAsync>b__3_27>d.MoveNext() in /_/artifacts/obj/MSTest.Acceptance.IntegrationTests/Release/net8.0/Microsoft.Testing.Internal.Framework.SourceGeneration/Microsoft.Testing.Internal.Framework.SourceGeneration.TestNodesGenerator/MSTest.Acceptance.IntegrationTests.InitializeAndCleanupTimeout.g.cs:line 615
Loading