Skip to content

Failing test: Aspire.Cli.Tests.Commands.ExtensionInternalCommandTests.GetAppHostsCommand_WithSingleProject_ReturnsSuccessWithValidJson #12304

@radical

Description

@radical

Build Information

Build: https://github.com/dotnet/aspire/actions/runs/18735142042
Build error leg or test failing: Aspire.Cli.Tests.Commands.ExtensionInternalCommandTests.GetAppHostsCommand_WithSingleProject_ReturnsSuccessWithValidJson
Pull request:

Error Message

Fill the error message using step by step known issues guidance.

{
  "ErrorMessage": "",
  "ErrorPattern": "",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}
System.Text.Json.JsonException : '0x1B' is an invalid start of a value. Path: $ | LineNumber: 0 | BytePositionInLine: 0.
---- System.Text.Json.JsonReaderException : '0x1B' is an invalid start of a value. LineNumber: 0 | BytePositionInLine: 0.   at System.Text.Json.ThrowHelper.ReThrowWithPath(ReadStack& state, JsonReaderException ex)
   at System.Text.Json.Serialization.JsonConverter`1.ReadCore(Utf8JsonReader& reader, JsonSerializerOptions options, ReadStack& state)
   at System.Text.Json.JsonSerializer.ReadFromSpan[TValue](ReadOnlySpan`1 utf8Json, JsonTypeInfo`1 jsonTypeInfo, Nullable`1 actualByteCount)
   at System.Text.Json.JsonSerializer.ReadFromSpan[TValue](ReadOnlySpan`1 json, JsonTypeInfo`1 jsonTypeInfo)
   at System.Text.Json.JsonSerializer.Deserialize[TValue](String json, JsonTypeInfo`1 jsonTypeInfo)
   at Aspire.Cli.Tests.Commands.ExtensionInternalCommandTests.GetAppHostsCommand_WithSingleProject_ReturnsSuccessWithValidJson() in D:\a\aspire\aspire\tests\Aspire.Cli.Tests\Commands\ExtensionInternalCommandTests.cs:line 84
--- End of stack trace from previous location ---
----- Inner Stack Trace -----
   at System.Text.Json.ThrowHelper.ThrowJsonReaderException(Utf8JsonReader& json, ExceptionResource resource, Byte nextByte, ReadOnlySpan`1 bytes)
   at System.Text.Json.Utf8JsonReader.ConsumeValue(Byte marker)
   at System.Text.Json.Utf8JsonReader.ReadFirstToken(Byte first)
   at System.Text.Json.Utf8JsonReader.ReadSingleSegment()
   at System.Text.Json.Utf8JsonReader.Read()
   at System.Text.Json.Serialization.JsonConverter`1.ReadCore(Utf8JsonReader& reader, JsonSerializerOptions options, ReadStack& state)

Stdout

Details
Temporary workspace created at: C:\Users\runneradmin\AppData\Local\Temp\Aspire.Cli.Tests\TemporaryWorkspaces\669bca50-e4bf-4c75-b7ea-613ce61228a5

Report for Quarantined runs

Recent runs:

OS Last 100 runs
linux (0/100) No failures ✅
macos (0/100) No failures ✅
windows (0/100) No failures ✅

Summary

Last 7 days Last 14 days Last 30 days Most Affected OS Failure Rate
0 / 82 0 / 157 0 / 344 N/A 0.0%

-- Updated on 2/18/2026 6:19:03 PM UTC

Report

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 0 0

Metadata

Metadata

Assignees

No one assigned

    Labels

    failing-testneeds-area-labelAn area label is needed to ensure this gets routed to the appropriate area ownersquarantined-testQuarantined tests that run only in the Outerloop Tests workflowtesting ☑️

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions