dotnet / runtime

.NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps.
https://docs.microsoft.com/dotnet/core/
MIT License
15.43k stars 4.76k forks source link

[browser][MT] Log_WritingScopes_LogsWithCorrectColorsWhenColorEnabled fails #97382

Open pavelsavara opened 10 months ago

pavelsavara commented 10 months ago

Microsoft.Extensions.Logging.Console.Test.SimpleConsoleFormatterTests.Log_WritingScopes_LogsWithCorrectColorsWhenColorEnabled

  info: [2024-01-23T12:56:37.458Z] [FAIL] Microsoft.Extensions.Logging.Console.Test.SimpleConsoleFormatterTests.Log_WritingScopes_LogsWithCorrectColorsWhenColorEnabled(colorBehavior: Default)
  info: Assert.Equal() Failure: Values differ
  info: Expected: 1
  info: Actual:   2
  info:    at Microsoft.Extensions.Logging.Console.Test.SimpleConsoleFormatterTests.Log_WritingScopes_LogsWithCorrectColorsWhenColorEnabled(LoggerColorBehavior colorBehavior) in C:\Dev\runtime\src\libraries\Microsoft.Extensions.Logging.Conso
  le\tests\Microsoft.Extensions.Logging.Console.Tests\SimpleConsoleFormatterTests.cs:line 53
  info:    at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) in C:\Dev\runtime\src\mono\System.Private.CoreLib\src\System\Reflection\MethodBaseInvoker.Mono.cs:line 22
  info:    at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr) in C:\Dev\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\MethodBaseInvoker.cs:line 178
ghost commented 10 months ago

Tagging subscribers to 'arch-wasm': @lewing See info in area-owners.md if you want to be subscribed.

Issue Details
Microsoft.Extensions.Logging.Console.Test.SimpleConsoleFormatterTests.Log_WritingScopes_LogsWithCorrectColorsWhenColorEnabled ``` info: [2024-01-23T12:56:37.458Z] [FAIL] Microsoft.Extensions.Logging.Console.Test.SimpleConsoleFormatterTests.Log_WritingScopes_LogsWithCorrectColorsWhenColorEnabled(colorBehavior: Default) info: Assert.Equal() Failure: Values differ info: Expected: 1 info: Actual: 2 info: at Microsoft.Extensions.Logging.Console.Test.SimpleConsoleFormatterTests.Log_WritingScopes_LogsWithCorrectColorsWhenColorEnabled(LoggerColorBehavior colorBehavior) in C:\Dev\runtime\src\libraries\Microsoft.Extensions.Logging.Conso le\tests\Microsoft.Extensions.Logging.Console.Tests\SimpleConsoleFormatterTests.cs:line 53 info: at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) in C:\Dev\runtime\src\mono\System.Private.CoreLib\src\System\Reflection\MethodBaseInvoker.Mono.cs:line 22 info: at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr) in C:\Dev\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\MethodBaseInvoker.cs:line 178 ```
Author: pavelsavara
Assignees: pavelsavara
Labels: `arch-wasm`, `area-VM-threading-mono`, `os-browser`
Milestone: 9.0.0
lewing commented 9 months ago

@mkhamoyan can you take a look at this one and figure out the root cause

maraf commented 9 months ago

Just validated yesterday that it is still failing https://github.com/dotnet/runtime/pull/98095