Skip to content

Test failure Color.RedirectedOutputDoesNotUseAnsiSequences #60819

@VincentBu

Description

@VincentBu

Run: runtime 20211024.12

Failed test:

net7.0-windows-Release-x64-CoreCLR_checked-Windows.10.Amd64.Open

- Color.RedirectedOutputDoesNotUseAnsiSequences

Error message:

System.IO.IOException : Unknown error (0xa5b8)


Stack trace
   at System.ConsolePal.GetBufferInfo(Boolean throwOnNoConsole, Boolean& succeeded) in /_/src/libraries/System.Console/src/System/ConsolePal.Windows.cs:line 1076
   at System.ConsolePal.ResetColor() in /_/src/libraries/System.Console/src/System/ConsolePal.Windows.cs:line 519
   at System.Console.ResetColor() in /_/src/libraries/System.Console/src/System/Console.cs:line 349
   at Color.<>c.<RedirectedOutputDoesNotUseAnsiSequences>b__5_0(MemoryStream data) in /_/src/libraries/System.Console/tests/Color.cs:line 67
   at Helpers.RunInRedirectedOutput(Action`1 command) in /_/src/libraries/System.Console/tests/Helpers.cs:line 46
   at Color.RedirectedOutputDoesNotUseAnsiSequences() in /_/src/libraries/System.Console/tests/Color.cs:line 60

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions