Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove messageFormatOnException in CreateNavigationSession #4549

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Merge branch 'main' into should-messageFormatOnException-in-CreateNav…

ba5e51c
Select commit
Loading
Failed to load commit list.
Draft

remove messageFormatOnException in CreateNavigationSession #4549

Merge branch 'main' into should-messageFormatOnException-in-CreateNav…
ba5e51c
Select commit
Loading
Failed to load commit list.
Azure Pipelines / microsoft.testfx failed Jan 9, 2025 in 38m 17s

Build #20250109.51 had test failures

Details

Tests

  • Failed: 2 (0.01%)
  • Passed: 32,165 (99.99%)
  • Other: 0 (0.00%)
  • Total: 32,167
Code coverage

  • 140778 of 231385 blocks covered (60.84%)
  • 94905 of 155164 lines covered (61.16%)

Annotations

Check failure on line 0 in TestingPlatform

See this annotation in the file changed.

@azure-pipelines 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]

Check failure on line 1 in MSTest.Acceptance.IntegrationTests.TimeoutTests.AssemblyInitialize_WhenTimeoutExpires_AssemblyInitializeIsCanceled_AttributeTakesPrecedence ("net462")

See this annotation in the file changed.

@azure-pipelines azure-pipelines / microsoft.testfx

MSTest.Acceptance.IntegrationTests.TimeoutTests.AssemblyInitialize_WhenTimeoutExpires_AssemblyInitializeIsCanceled_AttributeTakesPrecedence ("net462")

StringAssert.Contains failed. String 'MSTest v3.8.0-ci (UTC 1/9/2025) [x64 - .NET Framework 4.8.9287.0]
[+0/x0/?0] CodeWithOneSecTimeout.exe (net462|x64) - Test1 (2s)
failed Test1 (0ms)
  Assembly cleanup method 'TestClass.AssemblyCleanupMethod' timed out after 1000ms
    at Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.Execution.TestAssemblyInfo.ExecuteAssemblyCleanup(TestContext testContext)
    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\sxur2\CodeWithOneSecTimeout\bin\Release\net462\CodeWithOneSecTimeout.exe (net462|x64)
  total: 1
  failed: 1
  succeeded: 0
  skipped: 0
  duration: 3s 156ms' does not contain string 'Assembly initialize method 'TestClass.AssemblyInit' timed out after 1000ms'. Expression 'AssertOutputContains' failed for member 'RunAndAssertWithRunSettingsAsync' at line 411 of file '/_/test/IntegrationTests/MSTest.Acceptance.IntegrationTests/TimeoutTests.cs'. Output of the test host is:
Command: D:\a\_work\1\s\artifacts\tmp\Release\testsuite\sxur2\CodeWithOneSecTimeout\bin\Release\net462\CodeWithOneSecTimeout.exe --settings D:\a\_work\1\s\artifacts\tmp\Release\testsuite\sxur2\CodeWithOneSecTimeout\bin\Release\net462\87270785ad524012850ab27fb4408822.runsettings
====================
ExitCode: 2
====================
StandardOutput:
MSTest v3.8.0-ci (UTC 1/9/2025) [x64 - .NET Framework 4.8.9287.0]
[+0/x0/?0] CodeWithOneSecTimeout.exe (net462|x64) - Test1 (2s)
failed Test1 (0ms)
  Assembly cleanup method 'TestClass.AssemblyCleanupMethod' timed out after 1000ms
    at Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.Execution.TestAssemblyInfo.ExecuteAssemblyCleanup(TestContext testContext)
    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\sxur2\CodeWithOneSecTimeout\bin\Release\net462\CodeWithOneSecTimeout.exe (net462|x64)
  total: 1
  failed: 1
  succeeded: 0
  skipped: 0
  duration: 3s 156ms
====================
StandardError:

.
Raw output
   at MSTest.Acceptance.IntegrationTests.TimeoutTests.RunAndAssertWithRunSettingsAsync(String tfm, Int32 timeoutValue, Boolean assertAttributePrecedence, String entryKind) in /_/test/IntegrationTests/MSTest.Acceptance.IntegrationTests/TimeoutTests.cs:line 411
   at MSTest.Acceptance.IntegrationTests.TimeoutTests.AssemblyInitialize_WhenTimeoutExpires_AssemblyInitializeIsCanceled_AttributeTakesPrecedence(String tfm) in /_/test/IntegrationTests/MSTest.Acceptance.IntegrationTests/TimeoutTests.cs:line 97

Check failure on line 1 in MSTest.Acceptance.IntegrationTests.TimeoutTests.ClassInitialize_WhenTimeoutExpires_ClassInitializeIsCanceled_AttributeTakesPrecedence ("net462")

See this annotation in the file changed.

@azure-pipelines azure-pipelines / microsoft.testfx

MSTest.Acceptance.IntegrationTests.TimeoutTests.ClassInitialize_WhenTimeoutExpires_ClassInitializeIsCanceled_AttributeTakesPrecedence ("net462")

StringAssert.Contains failed. String 'MSTest v3.8.0-ci (UTC 1/9/2025) [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(TestContext testContext)
    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\sxur2\CodeWithOneSecTimeout\bin\Release\net462\CodeWithOneSecTimeout.exe (net462|x64)
  total: 1
  failed: 1
  succeeded: 0
  skipped: 0
  duration: 3s 187ms' does not contain string 'Class initialize method 'TestClass.ClassInit' timed out after 1000ms'. Expression 'AssertOutputContains' failed for member 'RunAndAssertWithRunSettingsAsync' at line 411 of file '/_/test/IntegrationTests/MSTest.Acceptance.IntegrationTests/TimeoutTests.cs'. Output of the test host is:
Command: D:\a\_work\1\s\artifacts\tmp\Release\testsuite\sxur2\CodeWithOneSecTimeout\bin\Release\net462\CodeWithOneSecTimeout.exe --settings D:\a\_work\1\s\artifacts\tmp\Release\testsuite\sxur2\CodeWithOneSecTimeout\bin\Release\net462\73ced585bef943589c802665bab32eda.runsettings
====================
ExitCode: 2
====================
StandardOutput:
MSTest v3.8.0-ci (UTC 1/9/2025) [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(TestContext testContext)
    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\sxur2\CodeWithOneSecTimeout\bin\Release\net462\CodeWithOneSecTimeout.exe (net462|x64)
  total: 1
  failed: 1
  succeeded: 0
  skipped: 0
  duration: 3s 187ms
====================
StandardError:

.
Raw output
   at MSTest.Acceptance.IntegrationTests.TimeoutTests.RunAndAssertWithRunSettingsAsync(String tfm, Int32 timeoutValue, Boolean assertAttributePrecedence, String entryKind) in /_/test/IntegrationTests/MSTest.Acceptance.IntegrationTests/TimeoutTests.cs:line 411
   at MSTest.Acceptance.IntegrationTests.TimeoutTests.ClassInitialize_WhenTimeoutExpires_ClassInitializeIsCanceled_AttributeTakesPrecedence(String tfm) in /_/test/IntegrationTests/MSTest.Acceptance.IntegrationTests/TimeoutTests.cs:line 102