method scope fix #4415
method scope fix #4415
Build #20241220.62 had test failures
Details
- Failed: 6 (0.02%)
- Passed: 29,004 (99.96%)
- Other: 6 (0.02%)
- Total: 29,016
- 144995 of 235408 blocks covered (61.59%)
- 101921 of 165521 lines covered (61.58%)
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_net9.0_x64.log [net9.0|x64]
Check failure on line 0 in TestingPlatform
azure-pipelines / microsoft.testfx
TestingPlatform#L0
TestingPlatform(0,0): error : (NETCORE_ENGINEERING_TELEMETRY=Build) Tests failed: /Users/runner/work/1/s/artifacts/log/Debug/MSTest.Acceptance.IntegrationTests_net9.0_x64.log [net9.0|x64]
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_net9.0_x64.log [net9.0|x64]
azure-pipelines / microsoft.testfx
MSTest.Acceptance.IntegrationTests.InitializeAndCleanupTimeoutTests.CooperativeCancellation_WhenAssemblyCleanupTimeoutExpiresAndUserChecksToken_StepThrows ("net9.0")
StringAssert.Contains failed. String 'MSTest v3.8.0-ci (UTC 12/21/2024) [osx-x64 - .NET 9.0.0]
AssemblyInit started
AssemblyInit Thread.Sleep completed
AssemblyInit completed
ClassInit started
ClassInit Thread.Sleep completed
ClassInit completed
TestInit started
TestInit Thread.Sleep completed
TestInit completed
TestMethod started
TestMethod Thread.Sleep completed
TestMethod completed
TestCleanup started
TestCleanup Thread.Sleep completed
TestCleanup completed
ClassCleanup started
ClassCleanup Thread.Sleep completed
ClassCleanup completed
AssemblyCleanup started
AssemblyCleanup Thread.Sleep completed
failed TestMethod (829ms)
Assembly cleanup method 'TestClass.AssemblyCleanup' was canceled
at Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.Execution.TestAssemblyInfo.ExecuteAssemblyCleanup() in /_/src/Adapter/MSTest.TestAdapter/Execution/TestAssemblyInfo.cs:302
at Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.Execution.UnitTestRunner.RunAssemblyCleanupIfNeeded(ITestContext testContext, ClassCleanupManager classCleanupManager, TypeCache typeCache, UnitTestResult[] results) in /_/src/Adapter/MSTest.TestAdapter/Execution/UnitTestRunner.cs:269
Test run summary: Failed! - /Users/runner/work/1/s/artifacts/tmp/Debug/testsuite/rKpwf/CooperativeTimeout/bin/Release/net9.0/CooperativeTimeout.dll (net9.0|x64)
total: 1
failed: 1
succeeded: 0
skipped: 0
duration: 2s 845ms' does not contain string 'Assembly cleanup method 'TestClass.AssemblyCleanup' timed out'. Expression 'AssertOutputContains' failed for member 'CooperativeCancellation_WhenAssemblyCleanupTimeoutExpiresAndUserChecksToken_StepThrows' at line 317 of file '/_/test/IntegrationTests/MSTest.Acceptance.IntegrationTests/InitializeAndCleanupTimeoutTests.cs'. Output of the test host is:
Command: /Users/runner/work/1/s/artifacts/tmp/Debug/testsuite/rKpwf/CooperativeTimeout/bin/Release/net9.0/CooperativeTimeout --settings my.runsettings
====================
ExitCode: 2
====================
StandardOutput:
MSTest v3.8.0-ci (UTC 12/21/2024) [osx-x64 - .NET 9.0.0]
AssemblyInit started
AssemblyInit Thread.Sleep completed
AssemblyInit completed
ClassInit started
ClassInit Thread.Sleep completed
ClassInit completed
TestInit started
TestInit Thread.Sleep completed
TestInit completed
TestMethod started
TestMethod Thread.Sleep completed
TestMethod completed
TestCleanup started
TestCleanup Thread.Sleep completed
TestCleanup completed
ClassCleanup started
ClassCleanup Thread.Sleep completed
ClassCleanup completed
AssemblyCleanup started
AssemblyCleanup Thread.Sleep completed
failed TestMethod (829ms)
Assembly cleanup method 'TestClass.AssemblyCleanup' was canceled
at Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.Execution.TestAssemblyInfo.ExecuteAssemblyCleanup() in /_/src/Adapter/MSTest.TestAdapter/Execution/TestAssemblyInfo.cs:302
at Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.Execution.UnitTestRunner.RunAssemblyCleanupIfNeeded(ITestContext testContext, ClassCleanupManager classCleanupManager, TypeCache typeCache, UnitTestResult[] results) in /_/src/Adapter/MSTest.TestAdapter/Execution/UnitTestRunner.cs:269
Test run summary: Failed! - /Users/runner/work/1/s/artifacts/tmp/Debug/testsuite/rKpwf/CooperativeTimeout/bin/Release/net9.0/CooperativeTimeout.dll (net9.0|x64)
total: 1
failed: 1
succeeded: 0
skipped: 0
duration: 2s 845ms
====================
StandardError:
.
Raw output
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 92
at MSTest.Acceptance.IntegrationTests.InitializeAndCleanupTimeoutTests.CooperativeCancellation_WhenAssemblyCleanupTimeoutExpiresAndUserChecksToken_StepThrows(String tfm) in /_/test/IntegrationTests/MSTest.Acceptance.IntegrationTests/InitializeAndCleanupTimeoutTests.cs:line 317
azure-pipelines / microsoft.testfx
MSTest.Acceptance.IntegrationTests.InitializeAndCleanupTimeoutTests.TestCleanup_WhenTimeoutExpires_TestCleanupIsCanceled_AttributeTakesPrecedence ("net462")
StringAssert.Contains failed. String 'MSTest v3.8.0-ci (UTC 12/21/2024) [x64 - .NET Framework 4.8.9287.0]
failed Test1 (1s 027ms)
Class cleanup method 'TestClass.ClassCleanupMethod' timed out after 1000ms
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)
[+0/x1/?0] CodeWithOneSecTimeout.exe (net462|x64)(3s)
Test run summary: Failed! - D:\a\_work\1\s\artifacts\tmp\Debug\testsuite\ArKv8\CodeWithOneSecTimeout\bin\Release\net462\CodeWithOneSecTimeout.exe (net462|x64)
total: 1
failed: 1
succeeded: 0
skipped: 0
duration: 3s 125ms' does not contain string 'Test cleanup method 'TestClass.TestCleanupMethod' timed out after 1000ms'. Expression 'AssertOutputContains' failed for member 'RunAndAssertWithRunSettingsAsync' at line 439 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\ArKv8\CodeWithOneSecTimeout\bin\Release\net462\CodeWithOneSecTimeout.exe --settings D:\a\_work\1\s\artifacts\tmp\Debug\testsuite\ArKv8\CodeWithOneSecTimeout\bin\Release\net462\6db4a640ff7141eeba44c5de462df3b1.runsettings
====================
ExitCode: 2
====================
StandardOutput:
MSTest v3.8.0-ci (UTC 12/21/2024) [x64 - .NET Framework 4.8.9287.0]
failed Test1 (1s 027ms)
Class cleanup method 'TestClass.ClassCleanupMethod' timed out after 1000ms
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)
[+0/x1/?0] CodeWithOneSecTimeout.exe (net462|x64)(3s)
Test run summary: Failed! - D:\a\_work\1\s\artifacts\tmp\Debug\testsuite\ArKv8\CodeWithOneSecTimeout\bin\Release\net462\CodeWithOneSecTimeout.exe (net462|x64)
total: 1
failed: 1
succeeded: 0
skipped: 0
duration: 3s 125ms
====================
StandardError:
.
Raw output
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 92
at MSTest.Acceptance.IntegrationTests.InitializeAndCleanupTimeoutTests.RunAndAssertWithRunSettingsAsync(String tfm, Int32 timeoutValue, Boolean assertAttributePrecedence, String entryKind) in /_/test/IntegrationTests/MSTest.Acceptance.IntegrationTests/InitializeAndCleanupTimeoutTests.cs:line 439
at MSTest.Acceptance.IntegrationTests.InitializeAndCleanupTimeoutTests.TestCleanup_WhenTimeoutExpires_TestCleanupIsCanceled_AttributeTakesPrecedence(String tfm) in /_/test/IntegrationTests/MSTest.Acceptance.IntegrationTests/InitializeAndCleanupTimeoutTests.cs:line 188
azure-pipelines / microsoft.testfx
MSTest.Acceptance.IntegrationTests.InitializeAndCleanupTimeoutTests.ClassInitialize_WhenTimeoutExpires_ClassInitializeIsCanceled_AttributeTakesPrecedence ("net462")
StringAssert.Contains failed. String 'MSTest v3.8.0-ci (UTC 12/21/2024) [x64 - .NET Framework 4.8.9287.0]
[+0/x0/?0] CodeWithOneSecTimeout.exe (net462|x64) - Test1 (3s)
failed Test1 (0ms)
Class cleanup method 'TestClass.ClassCleanupMethod' timed out after 1000ms
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\6XVL1\CodeWithOneSecTimeout\bin\Release\net462\CodeWithOneSecTimeout.exe (net462|x64)
total: 1
failed: 1
succeeded: 0
skipped: 0
duration: 3s 250ms' does not contain string 'Class initialize method 'TestClass.ClassInit' timed out after 1000ms'. Expression 'AssertOutputContains' failed for member 'RunAndAssertWithRunSettingsAsync' at line 439 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\6XVL1\CodeWithOneSecTimeout\bin\Release\net462\CodeWithOneSecTimeout.exe --settings D:\a\_work\1\s\artifacts\tmp\Release\testsuite\6XVL1\CodeWithOneSecTimeout\bin\Release\net462\ff4d6fc31fc2481ea8869ceb657f085e.runsettings
====================
ExitCode: 2
====================
StandardOutput:
MSTest v3.8.0-ci (UTC 12/21/2024) [x64 - .NET Framework 4.8.9287.0]
[+0/x0/?0] CodeWithOneSecTimeout.exe (net462|x64) - Test1 (3s)
failed Test1 (0ms)
Class cleanup method 'TestClass.ClassCleanupMethod' timed out after 1000ms
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\6XVL1\CodeWithOneSecTimeout\bin\Release\net462\CodeWithOneSecTimeout.exe (net462|x64)
total: 1
failed: 1
succeeded: 0
skipped: 0
duration: 3s 250ms
====================
StandardError:
.
Raw output
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 92
at MSTest.Acceptance.IntegrationTests.InitializeAndCleanupTimeoutTests.RunAndAssertWithRunSettingsAsync(String tfm, Int32 timeoutValue, Boolean assertAttributePrecedence, String entryKind) in /_/test/IntegrationTests/MSTest.Acceptance.IntegrationTests/InitializeAndCleanupTimeoutTests.cs:line 439
at MSTest.Acceptance.IntegrationTests.InitializeAndCleanupTimeoutTests.ClassInitialize_WhenTimeoutExpires_ClassInitializeIsCanceled_AttributeTakesPrecedence(String tfm) in /_/test/IntegrationTests/MSTest.Acceptance.IntegrationTests/InitializeAndCleanupTimeoutTests.cs:line 103
azure-pipelines / microsoft.testfx
MSTest.Acceptance.IntegrationTests.InitializeAndCleanupTimeoutTests.BaseClassInitialize_WhenTimeoutExpires_ClassInitializeIsCanceled_AttributeTakesPrecedence ("net462")
StringAssert.Contains failed. String 'MSTest v3.8.0-ci (UTC 12/21/2024) [x64 - .NET Framework 4.8.9287.0]
[+0/x0/?0] CodeWithOneSecTimeout.exe (net462|x64) - Test1 (2s)
failed Test1 (0ms)
Class cleanup method 'TestClass.ClassCleanupMethod' timed out after 1000ms
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\6XVL1\CodeWithOneSecTimeout\bin\Release\net462\CodeWithOneSecTimeout.exe (net462|x64)
total: 1
failed: 1
succeeded: 0
skipped: 0
duration: 3s 125ms' does not contain string 'Class initialize method 'TestClassBase.ClassInitBase' timed out after 1000ms'. Expression 'AssertOutputContains' failed for member 'RunAndAssertWithRunSettingsAsync' at line 439 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\6XVL1\CodeWithOneSecTimeout\bin\Release\net462\CodeWithOneSecTimeout.exe --settings D:\a\_work\1\s\artifacts\tmp\Release\testsuite\6XVL1\CodeWithOneSecTimeout\bin\Release\net462\f31cdbc81a624c458967c726ebeff2bf.runsettings
====================
ExitCode: 2
====================
StandardOutput:
MSTest v3.8.0-ci (UTC 12/21/2024) [x64 - .NET Framework 4.8.9287.0]
[+0/x0/?0] CodeWithOneSecTimeout.exe (net462|x64) - Test1 (2s)
failed Test1 (0ms)
Class cleanup method 'TestClass.ClassCleanupMethod' timed out after 1000ms
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\6XVL1\CodeWithOneSecTimeout\bin\Release\net462\CodeWithOneSecTimeout.exe (net462|x64)
total: 1
failed: 1
succeeded: 0
skipped: 0
duration: 3s 125ms
====================
StandardError:
.
Raw output
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 92
at MSTest.Acceptance.IntegrationTests.InitializeAndCleanupTimeoutTests.RunAndAssertWithRunSettingsAsync(String tfm, Int32 timeoutValue, Boolean assertAttributePrecedence, String entryKind) in /_/test/IntegrationTests/MSTest.Acceptance.IntegrationTests/InitializeAndCleanupTimeoutTests.cs:line 439
at MSTest.Acceptance.IntegrationTests.InitializeAndCleanupTimeoutTests.BaseClassInitialize_WhenTimeoutExpires_ClassInitializeIsCanceled_AttributeTakesPrecedence(String tfm) in /_/test/IntegrationTests/MSTest.Acceptance.IntegrationTests/InitializeAndCleanupTimeoutTests.cs:line 108