Ensure that Run tests (http) is actually testing http - #3340
Ensure that Run tests (http) is actually testing http#3340Chidozie Ononiwu (chidozieononiwu) wants to merge 1 commit into
Build #20260821.1 had test failures
Details
- Failed: 68 (0.21%)
- Passed: 31,496 (97.89%)
- Other: 610 (1.90%)
- Total: 32,174
- 32408 of 78800 line covered (41.13%)
Annotations
Check failure on line 230 in Build log
azure-pipelines / mcp - pullrequest - live
Build log #L230
Command failed to execute (00:00:23.1417084): dotnet test --results-directory '/mnt/vss/_work/1/a/testResults' --report-xunit-trx --output 'Detailed' --filter-trait 'TestType=Live'
Check failure on line 233 in Build log
azure-pipelines / mcp - pullrequest - live
Build log #L233
PowerShell exited with code '1'.
Check failure on line 2669 in Build log
azure-pipelines / mcp - pullrequest - live
Build log #L2669
Command failed to execute (00:01:48.2674179): dotnet test --results-directory '/mnt/vss/_work/1/a/testResults' --report-xunit-trx --output 'Detailed' --filter-trait 'TestType=Live'
Check failure on line 2672 in Build log
azure-pipelines / mcp - pullrequest - live
Build log #L2672
PowerShell exited with code '1'.
azure-pipelines / mcp - pullrequest - live
Azure.Mcp.Tools.AzureMigrate.Tests.AzureMigrateCommandTests.Should_handle_invalid_action
Assert.Contains() Failure: Sub-string not found
String: \"Failed to deserialize JSON response.\"
Not found: \"Invalid action\"
Raw output
at Azure.Mcp.Tools.AzureMigrate.Tests.AzureMigrateCommandTests.Should_handle_invalid_action() in /mnt/vss/_work/1/s/tools/Azure.Mcp.Tools.AzureMigrate/tests/Azure.Mcp.Tools.AzureMigrate.Tests/AzureMigrateCommandTests.cs:line 123
--- End of stack trace from previous location ---
azure-pipelines / mcp - pullrequest - live
Azure.Mcp.Tools.AzureMigrate.Tests.AzureMigrateCommandTests.Should_check_platform_landing_zone_exists
System.Exception : Failed to deserialize JSON response.
---- System.Text.Json.JsonException : 'T' is an invalid start of a value. Path: $ | LineNumber: 0 | BytePositionInLine: 0.
-------- System.Text.Json.JsonReaderException : 'T' is an invalid start of a value. LineNumber: 0 | BytePositionInLine: 0.
Raw output
at Microsoft.Mcp.Tests.Client.CommandTestsBase.CallToolAsync(String command, Dictionary`2 parameters, McpClient mcpClient, Func`2 resultProcessor) in /mnt/vss/_work/1/s/core/Microsoft.Mcp.Core/tests/Microsoft.Mcp.Tests/Client/CommandTestsBase.cs:line 235
at Microsoft.Mcp.Tests.Client.CommandTestsBase.CallToolAsync(String command, Dictionary`2 parameters, McpClient mcpClient) in /mnt/vss/_work/1/s/core/Microsoft.Mcp.Core/tests/Microsoft.Mcp.Tests/Client/CommandTestsBase.cs:line 167
at Microsoft.Mcp.Tests.Client.CommandTestsBase.CallToolAsync(String command, Dictionary`2 parameters) in /mnt/vss/_work/1/s/core/Microsoft.Mcp.Core/tests/Microsoft.Mcp.Tests/Client/CommandTestsBase.cs:line 155
at Azure.Mcp.Tools.AzureMigrate.Tests.AzureMigrateCommandTests.Should_check_platform_landing_zone_exists() in /mnt/vss/_work/1/s/tools/Azure.Mcp.Tools.AzureMigrate/tests/Azure.Mcp.Tools.AzureMigrate.Tests/AzureMigrateCommandTests.cs:line 34
--- End of stack trace from previous location ---
----- Inner Stack Trace -----
at System.Text.Json.ThrowHelper.ReThrowWithPath(ReadStack& state, JsonReaderException ex)
at System.Text.Json.Serialization.JsonConverter`1.ReadCore(Utf8JsonReader& reader, T& value, JsonSerializerOptions options, ReadStack& state)
at System.Text.Json.Serialization.Metadata.JsonTypeInfo`1.Deserialize(Utf8JsonReader& reader, 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, JsonSerializerOptions options)
at Microsoft.Mcp.Tests.Client.CommandTestsBase.CallToolAsync(String command, Dictionary`2 parameters, McpClient mcpClient, Func`2 resultProcessor) in /mnt/vss/_work/1/s/core/Microsoft.Mcp.Core/tests/Microsoft.Mcp.Tests/Client/CommandTestsBase.cs:line 220
----- 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, T& value, JsonSerializerOptions options, ReadStack& state)
azure-pipelines / mcp - pullrequest - live
Azure.Mcp.Tools.AzureMigrate.Tests.AzureMigrateCommandTests.Should_get_parameter_status
System.Exception : Failed to deserialize JSON response.
---- System.Text.Json.JsonException : 'T' is an invalid start of a value. Path: $ | LineNumber: 0 | BytePositionInLine: 0.
-------- System.Text.Json.JsonReaderException : 'T' is an invalid start of a value. LineNumber: 0 | BytePositionInLine: 0.
Raw output
at Microsoft.Mcp.Tests.Client.CommandTestsBase.CallToolAsync(String command, Dictionary`2 parameters, McpClient mcpClient, Func`2 resultProcessor) in /mnt/vss/_work/1/s/core/Microsoft.Mcp.Core/tests/Microsoft.Mcp.Tests/Client/CommandTestsBase.cs:line 235
at Microsoft.Mcp.Tests.Client.CommandTestsBase.CallToolAsync(String command, Dictionary`2 parameters, McpClient mcpClient) in /mnt/vss/_work/1/s/core/Microsoft.Mcp.Core/tests/Microsoft.Mcp.Tests/Client/CommandTestsBase.cs:line 167
at Microsoft.Mcp.Tests.Client.CommandTestsBase.CallToolAsync(String command, Dictionary`2 parameters) in /mnt/vss/_work/1/s/core/Microsoft.Mcp.Core/tests/Microsoft.Mcp.Tests/Client/CommandTestsBase.cs:line 155
at Azure.Mcp.Tools.AzureMigrate.Tests.AzureMigrateCommandTests.Should_get_parameter_status() in /mnt/vss/_work/1/s/tools/Azure.Mcp.Tools.AzureMigrate/tests/Azure.Mcp.Tools.AzureMigrate.Tests/AzureMigrateCommandTests.cs:line 87
--- End of stack trace from previous location ---
----- Inner Stack Trace -----
at System.Text.Json.ThrowHelper.ReThrowWithPath(ReadStack& state, JsonReaderException ex)
at System.Text.Json.Serialization.JsonConverter`1.ReadCore(Utf8JsonReader& reader, T& value, JsonSerializerOptions options, ReadStack& state)
at System.Text.Json.Serialization.Metadata.JsonTypeInfo`1.Deserialize(Utf8JsonReader& reader, 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, JsonSerializerOptions options)
at Microsoft.Mcp.Tests.Client.CommandTestsBase.CallToolAsync(String command, Dictionary`2 parameters, McpClient mcpClient, Func`2 resultProcessor) in /mnt/vss/_work/1/s/core/Microsoft.Mcp.Core/tests/Microsoft.Mcp.Tests/Client/CommandTestsBase.cs:line 220
----- 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, T& value, JsonSerializerOptions options, ReadStack& state)
azure-pipelines / mcp - pullrequest - live
Azure.Mcp.Tools.AzureMigrate.Tests.AzureMigrateCommandTests.Should_update_platform_landing_zone_parameters
System.Exception : Failed to deserialize JSON response.
---- System.Text.Json.JsonException : 'T' is an invalid start of a value. Path: $ | LineNumber: 0 | BytePositionInLine: 0.
-------- System.Text.Json.JsonReaderException : 'T' is an invalid start of a value. LineNumber: 0 | BytePositionInLine: 0.
Raw output
at Microsoft.Mcp.Tests.Client.CommandTestsBase.CallToolAsync(String command, Dictionary`2 parameters, McpClient mcpClient, Func`2 resultProcessor) in /mnt/vss/_work/1/s/core/Microsoft.Mcp.Core/tests/Microsoft.Mcp.Tests/Client/CommandTestsBase.cs:line 235
at Microsoft.Mcp.Tests.Client.CommandTestsBase.CallToolAsync(String command, Dictionary`2 parameters, McpClient mcpClient) in /mnt/vss/_work/1/s/core/Microsoft.Mcp.Core/tests/Microsoft.Mcp.Tests/Client/CommandTestsBase.cs:line 167
at Microsoft.Mcp.Tests.Client.CommandTestsBase.CallToolAsync(String command, Dictionary`2 parameters) in /mnt/vss/_work/1/s/core/Microsoft.Mcp.Core/tests/Microsoft.Mcp.Tests/Client/CommandTestsBase.cs:line 155
at Azure.Mcp.Tools.AzureMigrate.Tests.AzureMigrateCommandTests.Should_update_platform_landing_zone_parameters() in /mnt/vss/_work/1/s/tools/Azure.Mcp.Tools.AzureMigrate/tests/Azure.Mcp.Tools.AzureMigrate.Tests/AzureMigrateCommandTests.cs:line 57
--- End of stack trace from previous location ---
----- Inner Stack Trace -----
at System.Text.Json.ThrowHelper.ReThrowWithPath(ReadStack& state, JsonReaderException ex)
at System.Text.Json.Serialization.JsonConverter`1.ReadCore(Utf8JsonReader& reader, T& value, JsonSerializerOptions options, ReadStack& state)
at System.Text.Json.Serialization.Metadata.JsonTypeInfo`1.Deserialize(Utf8JsonReader& reader, 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, JsonSerializerOptions options)
at Microsoft.Mcp.Tests.Client.CommandTestsBase.CallToolAsync(String command, Dictionary`2 parameters, McpClient mcpClient, Func`2 resultProcessor) in /mnt/vss/_work/1/s/core/Microsoft.Mcp.Core/tests/Microsoft.Mcp.Tests/Client/CommandTestsBase.cs:line 220
----- 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, T& value, JsonSerializerOptions options, ReadStack& state)