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

Handle ansi escape in terminal logger reporter #5084

Merged

Merge branch 'main' into fix-ansi-codes-when-forwarding-is-enabled

e7f53d0
Select commit
Loading
Failed to load commit list.
Merged

Handle ansi escape in terminal logger reporter #5084

Merge branch 'main' into fix-ansi-codes-when-forwarding-is-enabled
e7f53d0
Select commit
Loading
Failed to load commit list.
Azure Pipelines / microsoft.vstest failed Jun 7, 2024 in 46m 56s

Build #20240607.1 had test failures

Details

Tests

  • Failed: 1 (0.01%)
  • Passed: 7,188 (98.10%)
  • Other: 138 (1.88%)
  • Total: 7,327

Annotations

Check failure on line 0 in VSTest

See this annotation in the file changed.

@azure-pipelines azure-pipelines / microsoft.vstest

VSTest#L0

VSTest(0,0): error : (NETCORE_ENGINEERING_TELEMETRY=Build) Tests failed: D:\a\_work\1\s\artifacts\TestResults\Release\Microsoft.TestPlatform.Acceptance.IntegrationTests_net6.0_x64.html [net6.0|x64]

Check failure on line 1 in Microsoft.TestPlatform.AcceptanceTests.DotnetArchitectureSwitchTestsWindowsOnly.Use_EnvironmentVariables (X64,X86)

See this annotation in the file changed.

@azure-pipelines azure-pipelines / microsoft.vstest

Microsoft.TestPlatform.AcceptanceTests.DotnetArchitectureSwitchTestsWindowsOnly.Use_EnvironmentVariables (X64,X86)

Assert.AreEqual failed. Expected:<0>. Actual:<1>.   Determining projects to restore...
  Restored D:\a\_work\_temp\vstest\nsPNn\nsPNn.csproj (in 623 ms).
D:\a\_work\1\s\.dotnet\sdk\9.0.100-preview.4.24267.66\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.RuntimeIdentifierInference.targets(314,5): message NETSDK1057: You are using a preview version of .NET. See: https://aka.ms/dotnet-support-policy [D:\a\_work\_temp\vstest\nsPNn\nsPNn.csproj]
  nsPNn -> D:\a\_work\_temp\vstest\nsPNn\bin\Debug\net9.0\win-x86\nsPNn.dll
  Run tests: 'D:\a\_work\_temp\vstest\nsPNn\bin\Debug\net9.0\win-x86\nsPNn.dll' [net9.0|x86]
D:\a\_work\1\s\.packages\microsoft.testing.platform.msbuild\1.1.0\buildMultiTargeting\Microsoft.Testing.Platform.MSBuild.targets(228,5): error : Tests failed: Unhandled exception. System.IO.FileLoadException: Could not load file or assembly 'D:\a\_work\_temp\vstest\nsPNn\bin\Debug\net9.0\win-x86\nsPNn.dll'. The assembly architecture is not compatible with the current process architecture. [D:\a\_work\_temp\vstest\nsPNn\nsPNn.csproj]
D:\a\_work\1\s\.packages\microsoft.testing.platform.msbuild\1.1.0\buildMultiTargeting\Microsoft.Testing.Platform.MSBuild.targets(228,5): error : File name: 'D:\a\_work\_temp\vstest\nsPNn\bin\Debug\net9.0\win-x86\nsPNn.dll' [D:\a\_work\_temp\vstest\nsPNn\nsPNn.csproj]
D:\a\_work\1\s\.packages\microsoft.testing.platform.msbuild\1.1.0\buildMultiTargeting\Microsoft.Testing.Platform.MSBuild.targets(228,5): error :  [D:\a\_work\_temp\vstest\nsPNn\nsPNn.csproj]
D:\a\_work\1\s\.packages\microsoft.testing.platform.msbuild\1.1.0\buildMultiTargeting\Microsoft.Testing.Platform.MSBuild.targets(228,5): error : === COMMAND LINE === [D:\a\_work\_temp\vstest\nsPNn\nsPNn.csproj]
D:\a\_work\1\s\.packages\microsoft.testing.platform.msbuild\1.1.0\buildMultiTargeting\Microsoft.Testing.Platform.MSBuild.targets(228,5): error : D:\a\_work\1\s\.dotnet\dotnet.exe exec D:\a\_work\_temp\vstest\nsPNn\bin\Debug\net9.0\win-x86\nsPNn.dll --internal-msbuild-node testingplatform.pipe.06f6e43c05f24af7be621d866e194b38  [D:\a\_work\_temp\vstest\nsPNn\nsPNn.csproj]
D:\a\_work\1\s\.packages\microsoft.testing.platform.msbuild\1.1.0\buildMultiTargeting\Microsoft.Testing.Platform.MSBuild.targets(228,5): error :  [D:\a\_work\_temp\vstest\nsPNn\nsPNn.csproj]
D:\a\_work\1\s\.packages\microsoft.testing.platform.msbuild\1.1.0\buildMultiTargeting\Microsoft.Testing.Platform.MSBuild.targets(228,5): error :  [D:\a\_work\_temp\vstest\nsPNn\nsPNn.csproj]
D:\a\_work\1\s\.packages\microsoft.testing.platform.msbuild\1.1.0\buildMultiTargeting\Microsoft.Testing.Platform.MSBuild.targets(228,5): error MSB4018: The "InvokeTestingPlatformTask" task failed unexpectedly. [D:\a\_work\_temp\vstest\nsPNn\nsPNn.csproj]
D:\a\_work\1\s\.packages\microsoft.testing.platform.msbuild\1.1.0\buildMultiTargeting\Microsoft.Testing.Platform.MSBuild.targets(228,5): error MSB4018: System.ArgumentNullException: Value cannot be null. (Parameter '_outputFileStream') [D:\a\_work\_temp\vstest\nsPNn\nsPNn.csproj]
D:\a\_work\1\s\.packages\microsoft.testing.platform.msbuild\1.1.0\buildMultiTargeting\Microsoft.Testing.Platform.MSBuild.targets(228,5): error MSB4018:    at Microsoft.Testing.Platform.Helpers.ArgumentGuard.IsNotNull(Object argument, String paramName) in /_/src/Platform/Microsoft.Testing.Platform/Helpers/ArgumentGuard.cs:line 16 [D:\a\_work\_temp\vstest\nsPNn\nsPNn.csproj]
D:\a\_work\1\s\.packages\microsoft.testing.platform.msbuild\1.1.0\buildMultiTargeting\Microsoft.Testing.Platform.MSBuild.targets(228,5): error MSB4018:    at Microsoft.Testing.Platform.MSBuild.InvokeTestingPlatformTask.Execute() in /_/src/Microsoft.Testing.Platform.MSBuild/Tasks/TestTask.cs:line 234 [D:\a\_work\_temp\vstest\nsPNn\nsPNn.csproj]
D:\a\_work\1\s\.packages\microsoft.testing.platform.msbuild\1.1.0\buildMultiTargeting\Microsoft.Testing.Platform.MSBuild.targets(228,5): error MSB4018:    at Microsoft.Build.BackEnd.TaskExecutionHost.Execute() [D:\a\_work\_temp\vstest\nsPNn\nsPNn.cspr
Raw output
   at Microsoft.TestPlatform.AcceptanceTests.DotnetArchitectureSwitchTestsWindowsOnly.Use_EnvironmentVariables(String architectureFrom, String architectureTo) in /_/test/Microsoft.TestPlatform.Acceptance.IntegrationTests/DotnetArchitectureSwitchTests.Windows.cs:line 73