Skip to content

Making Endpoint optional on transport options #504

Making Endpoint optional on transport options

Making Endpoint optional on transport options #504

Triggered via pull request June 27, 2025 05:58
Status Failure
Total duration 4m 37s
Artifacts 6

ci-build-test.yml

on: pull_request
Matrix: build
publish-coverage  /  publish-coverage
publish-coverage / publish-coverage
Fit to window
Zoom out
Zoom in

Annotations

60 errors
ModelContextProtocol.AspNetCore.Tests.SseServerIntegrationTests.Connect_TestServer_ShouldProvideServerFields
System.Net.Http.HttpRequestException : Response status code does not indicate success: 404 (Not Found).
ModelContextProtocol.AspNetCore.Tests.SseServerIntegrationTests.GetPrompt_Sse_SimplePrompt
System.Net.Http.HttpRequestException : Response status code does not indicate success: 404 (Not Found).
ModelContextProtocol.AspNetCore.Tests.SseServerIntegrationTests.GetPrompt_Sse_NonExistent_ThrowsException
System.Net.Http.HttpRequestException : Response status code does not indicate success: 404 (Not Found).
ModelContextProtocol.AspNetCore.Tests.SseServerIntegrationTests.CallTool_EchoSessionId_ReturnsTheSameSessionId
System.Net.Http.HttpRequestException : Response status code does not indicate success: 404 (Not Found).
ModelContextProtocol.AspNetCore.Tests.SseServerIntegrationTests.ListTools_Sse_TestServer
System.Net.Http.HttpRequestException : Response status code does not indicate success: 404 (Not Found).
ModelContextProtocol.AspNetCore.Tests.SseServerIntegrationTests.CallTool_Sse_EchoServer_Concurrently
System.Net.Http.HttpRequestException : Response status code does not indicate success: 404 (Not Found).
ModelContextProtocol.AspNetCore.Tests.SseServerIntegrationTests.ConnectAndPing_Sse_TestServer
System.Net.Http.HttpRequestException : Response status code does not indicate success: 404 (Not Found).
ModelContextProtocol.AspNetCore.Tests.SseServerIntegrationTests.GetPrompt_Sse_ComplexPrompt
System.Net.Http.HttpRequestException : Response status code does not indicate success: 404 (Not Found).
ModelContextProtocol.AspNetCore.Tests.SseServerIntegrationTests.ReadResource_Sse_TextResource
System.Net.Http.HttpRequestException : Response status code does not indicate success: 404 (Not Found).
ModelContextProtocol.AspNetCore.Tests.SseServerIntegrationTests.ListResources_Sse_TestServer
System.Net.Http.HttpRequestException : Response status code does not indicate success: 404 (Not Found).
ModelContextProtocol.Tests.Transport.SseClientTransportAutoDetectTests.AutoDetectMode_UsesStreamableHttp_WhenServerSupportsIt: /_/tests/ModelContextProtocol.Tests/Transport/SseClientTransportAutoDetectTests.cs#L21
System.InvalidOperationException : No BaseAddress set on the HttpClient. Please set the BaseAddress to the server's endpoint.
ModelContextProtocol.Tests.Transport.SseClientTransportAutoDetectTests.AutoDetectMode_FallsBackToSse_WhenStreamableHttpFails: /_/tests/ModelContextProtocol.Tests/Transport/SseClientTransportAutoDetectTests.cs#L62
System.InvalidOperationException : No BaseAddress set on the HttpClient. Please set the BaseAddress to the server's endpoint.
ModelContextProtocol.Tests.Transport.SseClientTransportTests.ReceiveMessagesAsync_Handles_Messages: /_/tests/ModelContextProtocol.Tests/Transport/SseClientTransportTests.cs#L128
System.InvalidOperationException : No BaseAddress set on the HttpClient. Please set the BaseAddress to the server's endpoint.
ModelContextProtocol.Tests.Transport.SseClientTransportTests.SendMessageAsync_Handles_Accepted_Response: /_/tests/ModelContextProtocol.Tests/Transport/SseClientTransportTests.cs#L90
System.InvalidOperationException : No BaseAddress set on the HttpClient. Please set the BaseAddress to the server's endpoint.
ModelContextProtocol.Tests.Transport.SseClientTransportTests.ConnectAsync_Should_Connect_Successfully: /_/tests/ModelContextProtocol.Tests/Transport/SseClientTransportTests.cs#L47
System.InvalidOperationException : No BaseAddress set on the HttpClient. Please set the BaseAddress to the server's endpoint.
ModelContextProtocol.Tests.Transport.SseClientTransportTests.ConnectAsync_Throws_Exception_On_Failure: /_/tests/ModelContextProtocol.Tests/Transport/SseClientTransportTests.cs#L71
System.InvalidOperationException : No BaseAddress set on the HttpClient. Please set the BaseAddress to the server's endpoint.
ModelContextProtocol.Tests.Transport.SseClientTransportTests.Constructor_Throws_For_Null_Options: /_/tests/ModelContextProtocol.Tests/Transport/SseClientTransportTests.cs#L30
Assert.Throws() Failure: Exception type was not an exact match Expected: typeof(System.ArgumentNullException) Actual: typeof(System.NullReferenceException) ---- System.NullReferenceException : Object reference not set to an instance of an object.
ModelContextProtocol.Tests.Transport.SseClientTransportTests.DisposeAsync_Should_Dispose_Resources: /_/tests/ModelContextProtocol.Tests/Transport/SseClientTransportTests.cs#L168
System.InvalidOperationException : No BaseAddress set on the HttpClient. Please set the BaseAddress to the server's endpoint.
ModelContextProtocol.Tests.Transport.SseClientTransportAutoDetectTests.AutoDetectMode_UsesStreamableHttp_WhenServerSupportsIt: /_/tests/ModelContextProtocol.Tests/Transport/SseClientTransportAutoDetectTests.cs#L21
System.InvalidOperationException : No BaseAddress set on the HttpClient. Please set the BaseAddress to the server's endpoint.
ModelContextProtocol.Tests.Transport.SseClientTransportAutoDetectTests.AutoDetectMode_FallsBackToSse_WhenStreamableHttpFails: /_/tests/ModelContextProtocol.Tests/Transport/SseClientTransportAutoDetectTests.cs#L62
System.InvalidOperationException : No BaseAddress set on the HttpClient. Please set the BaseAddress to the server's endpoint.
ModelContextProtocol.AspNetCore.Tests.SseIntegrationTests.AddMcpServer_CanBeCalled_MultipleTimes: /_/tests/ModelContextProtocol.AspNetCore.Tests/SseIntegrationTests.cs#L164
System.Net.Http.HttpRequestException : Response status code does not indicate success: 404 (Not Found).
ModelContextProtocol.AspNetCore.Tests.MapMcpSseTests.Messages_FromNewUser_AreRejected
Assert.Equal() Failure: Values differ Expected: Forbidden Actual: NotFound
ModelContextProtocol.AspNetCore.Tests.SseIntegrationTests.AdditionalHeaders_AreSent_InGetAndPostRequests: /_/tests/ModelContextProtocol.AspNetCore.Tests/SseIntegrationTests.cs#L211
System.Net.Http.HttpRequestException : Response status code does not indicate success: 404 (Not Found).
ModelContextProtocol.AspNetCore.Tests.SseIntegrationTests.ConnectAndReceiveNotification_InMemoryServer: /_/tests/ModelContextProtocol.AspNetCore.Tests/SseIntegrationTests.cs#L114
System.Net.Http.HttpRequestException : Response status code does not indicate success: 404 (Not Found).
ModelContextProtocol.AspNetCore.Tests.SseIntegrationTests.ConnectAndReceiveMessage_InMemoryServer: /_/tests/ModelContextProtocol.AspNetCore.Tests/SseIntegrationTests.cs#L43
System.Net.Http.HttpRequestException : Response status code does not indicate success: 404 (Not Found).
ModelContextProtocol.AspNetCore.Tests.SseServerIntegrationTests.CallTool_Sse_EchoServer_Concurrently
System.Net.Http.HttpRequestException : Response status code does not indicate success: 404 (Not Found).
ModelContextProtocol.Tests.Transport.SseClientTransportAutoDetectTests.AutoDetectMode_UsesStreamableHttp_WhenServerSupportsIt: /_/tests/ModelContextProtocol.Tests/Transport/SseClientTransportAutoDetectTests.cs#L21
System.InvalidOperationException : No BaseAddress set on the HttpClient. Please set the BaseAddress to the server's endpoint.
ModelContextProtocol.Tests.Transport.SseClientTransportAutoDetectTests.AutoDetectMode_FallsBackToSse_WhenStreamableHttpFails: /_/tests/ModelContextProtocol.Tests/Transport/SseClientTransportAutoDetectTests.cs#L62
System.InvalidOperationException : No BaseAddress set on the HttpClient. Please set the BaseAddress to the server's endpoint.
ModelContextProtocol.AspNetCore.Tests.SseServerIntegrationTests.ListResources_Sse_TestServer
System.Net.Http.HttpRequestException : Response status code does not indicate success: 404 (Not Found).
ModelContextProtocol.AspNetCore.Tests.SseServerIntegrationTests.GetPrompt_Sse_SimplePrompt
System.Net.Http.HttpRequestException : Response status code does not indicate success: 404 (Not Found).
ModelContextProtocol.AspNetCore.Tests.SseServerIntegrationTests.ListTools_Sse_TestServer
System.Net.Http.HttpRequestException : Response status code does not indicate success: 404 (Not Found).
ModelContextProtocol.AspNetCore.Tests.SseServerIntegrationTests.Sampling_Sse_TestServer
System.Net.Http.HttpRequestException : Response status code does not indicate success: 404 (Not Found).
ModelContextProtocol.AspNetCore.Tests.SseServerIntegrationTests.CallTool_EchoSessionId_ReturnsTheSameSessionId
System.Net.Http.HttpRequestException : Response status code does not indicate success: 404 (Not Found).
ModelContextProtocol.AspNetCore.Tests.SseServerIntegrationTests.Connect_TestServer_ShouldProvideServerFields
System.Net.Http.HttpRequestException : Response status code does not indicate success: 404 (Not Found).
ModelContextProtocol.AspNetCore.Tests.SseServerIntegrationTests.ReadResource_Sse_BinaryResource
System.Net.Http.HttpRequestException : Response status code does not indicate success: 404 (Not Found).
ModelContextProtocol.AspNetCore.Tests.SseIntegrationTests.AddMcpServer_CanBeCalled_MultipleTimes: /_/tests/ModelContextProtocol.AspNetCore.Tests/SseIntegrationTests.cs#L164
System.Net.Http.HttpRequestException : Response status code does not indicate success: 404 (Not Found).
ModelContextProtocol.Tests.Transport.SseClientTransportTests.SendMessageAsync_Handles_Accepted_Response: /_/tests/ModelContextProtocol.Tests/Transport/SseClientTransportTests.cs#L90
System.InvalidOperationException : No BaseAddress set on the HttpClient. Please set the BaseAddress to the server's endpoint.
ModelContextProtocol.Tests.Transport.SseClientTransportTests.ConnectAsync_Throws_Exception_On_Failure: /_/tests/ModelContextProtocol.Tests/Transport/SseClientTransportTests.cs#L71
System.InvalidOperationException : No BaseAddress set on the HttpClient. Please set the BaseAddress to the server's endpoint.
ModelContextProtocol.AspNetCore.Tests.SseIntegrationTests.ConnectAndReceiveMessage_InMemoryServer: /_/tests/ModelContextProtocol.AspNetCore.Tests/SseIntegrationTests.cs#L43
System.Net.Http.HttpRequestException : Response status code does not indicate success: 404 (Not Found).
ModelContextProtocol.AspNetCore.Tests.MapMcpSseTests.Can_UseIHttpContextAccessor_InTool
System.Net.Http.HttpRequestException : Response status code does not indicate success: 404 (Not Found).
ModelContextProtocol.AspNetCore.Tests.SseIntegrationTests.ConnectAndReceiveMessage_InMemoryServer: /_/tests/ModelContextProtocol.AspNetCore.Tests/SseIntegrationTests.cs#L43
System.Net.Http.HttpRequestException : Response status code does not indicate success: 404 (Not Found).
ModelContextProtocol.AspNetCore.Tests.MapMcpStreamableHttpTests.SseMode_Works_WithSseEndpoint: /_/tests/ModelContextProtocol.AspNetCore.Tests/MapMcpStreamableHttpTests.cs#L145
System.Net.Http.HttpRequestException : Response status code does not indicate success: 404 (Not Found).
ModelContextProtocol.AspNetCore.Tests.SseIntegrationTests.ConnectAndReceiveNotification_InMemoryServer: /_/tests/ModelContextProtocol.AspNetCore.Tests/SseIntegrationTests.cs#L114
System.Net.Http.HttpRequestException : Response status code does not indicate success: 404 (Not Found).
ModelContextProtocol.Tests.Transport.SseClientTransportTests.Constructor_Throws_For_Null_Options: /_/tests/ModelContextProtocol.Tests/Transport/SseClientTransportTests.cs#L31
Assert.Throws() Failure: Exception type was not an exact match Expected: typeof(System.ArgumentNullException) Actual: typeof(System.NullReferenceException) ---- System.NullReferenceException : Object reference not set to an instance of an object.
ModelContextProtocol.AspNetCore.Tests.SseServerIntegrationTests.CallTool_Sse_EchoServer
System.Net.Http.HttpRequestException : Response status code does not indicate success: 404 (Not Found).
ModelContextProtocol.AspNetCore.Tests.SseServerIntegrationTests.CallTool_Sse_EchoServer_Concurrently
System.Net.Http.HttpRequestException : Response status code does not indicate success: 404 (Not Found).
ModelContextProtocol.AspNetCore.Tests.SseServerIntegrationTests.Sampling_Sse_TestServer
System.Net.Http.HttpRequestException : Response status code does not indicate success: 404 (Not Found).
ModelContextProtocol.Tests.Transport.SseClientTransportTests.ConnectAsync_Throws_Exception_On_Failure: /_/tests/ModelContextProtocol.Tests/Transport/SseClientTransportTests.cs#L71
System.InvalidOperationException : No BaseAddress set on the HttpClient. Please set the BaseAddress to the server's endpoint.
ModelContextProtocol.Tests.Transport.SseClientTransportTests.SendMessageAsync_Handles_Accepted_Response: /_/tests/ModelContextProtocol.Tests/Transport/SseClientTransportTests.cs#L90
System.InvalidOperationException : No BaseAddress set on the HttpClient. Please set the BaseAddress to the server's endpoint.
ModelContextProtocol.Tests.Transport.SseClientTransportTests.ReceiveMessagesAsync_Handles_Messages: /_/tests/ModelContextProtocol.Tests/Transport/SseClientTransportTests.cs#L128
System.InvalidOperationException : No BaseAddress set on the HttpClient. Please set the BaseAddress to the server's endpoint.
ModelContextProtocol.Tests.Transport.SseClientTransportTests.Constructor_Throws_For_Null_Options: /_/tests/ModelContextProtocol.Tests/Transport/SseClientTransportTests.cs#L30
Assert.Throws() Failure: Exception type was not an exact match Expected: typeof(System.ArgumentNullException) Actual: typeof(System.NullReferenceException) ---- System.NullReferenceException : Object reference not set to an instance of an object.
ModelContextProtocol.AspNetCore.Tests.SseServerIntegrationTests.GetPrompt_Sse_NonExistent_ThrowsException
System.Net.Http.HttpRequestException : Response status code does not indicate success: 404 (Not Found).
ModelContextProtocol.Tests.Transport.SseClientTransportTests.DisposeAsync_Should_Dispose_Resources: /_/tests/ModelContextProtocol.Tests/Transport/SseClientTransportTests.cs#L168
System.InvalidOperationException : No BaseAddress set on the HttpClient. Please set the BaseAddress to the server's endpoint.
ModelContextProtocol.Tests.Transport.SseClientTransportTests.ConnectAsync_Should_Connect_Successfully: /_/tests/ModelContextProtocol.Tests/Transport/SseClientTransportTests.cs#L47
System.InvalidOperationException : No BaseAddress set on the HttpClient. Please set the BaseAddress to the server's endpoint.

Artifacts

Produced during runtime
Name Size Digest
testresults-macos-latest-Debug Expired
1.19 MB
sha256:b8c18db3640e3259c16cc77b455f95b1302df644d089718b6e811718fadcc11f
testresults-macos-latest-Release Expired
1.07 MB
sha256:5059945ec1413e78f68bfeadfb3ecd00734bcd9b5a385f1499b4b52f45f8b3cd
testresults-ubuntu-latest-Debug Expired
1.19 MB
sha256:c54e9474bdc0a157f8ac984f710bb1ab1f0d73d080acbd402a6fa7f0033c140f
testresults-ubuntu-latest-Release Expired
1.08 MB
sha256:d0c0ecb784f0d999df0e8f84ef4eb547e6482f31e0d1692e88049fcc4fc00fc3
testresults-windows-latest-Debug Expired
1.18 MB
sha256:c3efbdd57c297ca4c9d64b9c2cecaa257d201421e6da9e8c504d97bbf21141af
testresults-windows-latest-Release Expired
1.07 MB
sha256:addbc3a24a12ab15130b7f01d1126336cdbe0c4d17a95dd5efe4e53bad5d81c4