Skip to content

Test failure error message is unreadable in Azure DevOps #1664

Closed
@BruceForstall

Description

@BruceForstall

When a test fails, and you view the Error Message in Azure DevOps, you get something like this:

\ncmdLine:/private/tmp/helix/working/B08009A5/w/A2FA08B1/e/Interop/ICustomMarshaler/Primitives/ICustomMarshaler/ICustomMarshaler.sh Timed Out\n\nReturn code: -100\nRaw output file: /private/tmp/helix/working/B08009A5/w/A2FA08B1/e/Interop/ICustomMarshaler/Reports/Interop.ICustomMarshaler/Primitives/ICustomMarshaler/ICustomMarshaler.output.txt\nRaw output:\nBEGIN EXECUTION\n/tmp/helix/working/B08009A5/p/corerun ICustomMarshaler.dll ''\nDiscovering...\n\ncmdLine:/private/tmp/helix/working/B08009A5/w/A2FA08B1/e/Interop/ICustomMarshaler/Primitives/ICustomMarshaler/ICustomMarshaler.sh Timed Out\nTest Harness Exitcode is : -100\nTo run the test:\n> set CORE_ROOT=/tmp/helix/working/B08009A5/p\n> /private/tmp/helix/working/B08009A5/w/A2FA08B1/e/Interop/ICustomMarshaler/Primitives/ICustomMarshaler/ICustomMarshaler.sh\nExpected: True\nActual: False

This is unreadable. We need proper line breaking in the view instead of the embedded \n characters.

@dotnet/runtime-infrastructure

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions