Skip to content

Tests run: 853, Failures: 5, Errors: 9, Skipped: 8 #606

@vorburger

Description

@vorburger

I'm raising a PR for #605 and it asks me to confirm in the template that, quote:

"New and existing tests pass locally?"

However, when I simply locally run the main branch as of the current 19a8c00, with ./mvnw clean install, on:

$ java --version
openjdk 21.0.8 2025-07-15
OpenJDK Runtime Environment (Red_Hat-21.0.8.0.9-1) (build 21.0.8+9)
OpenJDK 64-Bit Server VM (Red_Hat-21.0.8.0.9-1) (build 21.0.8+9, mixed mode, sharing)

then it as-is without even making any changes it already fails with:

[INFO] Results:
[INFO]
[ERROR] Failures:
[ERROR]   HttpClientStreamableHttpAsyncClientTests.testReadResource expectation "expectNextCount(10)" failed (expected: count = 10; actual: counted = 0; signal: onError(java.lang.TypeNotPresentException: Type io.modelcontextprotocol.spec.McpSchema$TextResourceContents not present))
[ERROR]   HttpSseMcpAsyncClientTests.testReadResource expectation "expectNextCount(10)" failed (expected: count = 10; actual: counted = 0; signal: onError(java.lang.TypeNotPresentException: Type io.modelcontextprotocol.spec.McpSchema$TextResourceContents not present))
[ERROR]   HttpSseMcpSyncClientTests.testReadResourceWithoutInitialization expectation "expectNextCount(1)" failed (expected: count = 1; actual: counted = 0; signal: onError(java.lang.TypeNotPresentException: Type io.modelcontextprotocol.spec.McpSchema$TextResourceContents not present))
[ERROR]   StdioMcpAsyncClientTests.testReadResource expectation "expectNextCount(10)" failed (expected: count = 10; actual: counted = 0; signal: onError(java.lang.TypeNotPresentException: Type io.modelcontextprotocol.spec.McpSchema$TextResourceContents not present))
[ERROR]   StdioMcpSyncClientTests.testReadResourceWithoutInitialization expectation "expectNextCount(1)" failed (expected: count = 1; actual: counted = 0; signal: onError(java.lang.TypeNotPresentException: Type io.modelcontextprotocol.spec.McpSchema$TextResourceContents not present))
[ERROR] Errors:
[ERROR]   HttpClientStreamableHttpSyncClientTests.startContainer:50 » ContainerLaunch Container startup failed for image docker.io/tzolov/mcp-everything-server:v3
[ERROR]   HttpSseMcpAsyncClientLostConnectionTests.testPingWithEaxctExceptionType » ExceptionInInitializer
[ERROR]   HttpSseMcpSyncClientTests.testReadResource » TypeNotPresent Type io.modelcontextprotocol.spec.McpSchema$TextResourceContents not present
[ERROR]   StdioMcpSyncClientTests.testReadResource » TypeNotPresent Type io.modelcontextprotocol.spec.McpSchema$TextResourceContents not present
[ERROR]   McpSchemaTests.testEmbeddedResource:159 » TypeNotPresent Type io.modelcontextprotocol.spec.McpSchema$TextResourceContents not present
[ERROR]   McpSchemaTests.testEmbeddedResourceDeserialization:170 » TypeNotPresent Type io.modelcontextprotocol.spec.McpSchema$TextResourceContents not present
[ERROR]   McpSchemaTests.testEmbeddedResourceWithBlobContents:190 » TypeNotPresent Type io.modelcontextprotocol.spec.McpSchema$TextResourceContents not present
[ERROR]   McpSchemaTests.testEmbeddedResourceWithBlobContentsDeserialization:201 » TypeNotPresent Type io.modelcontextprotocol.spec.McpSchema$TextResourceContents not present
[ERROR]   McpSchemaTests.testReadResourceResult:542 » TypeNotPresent Type io.modelcontextprotocol.spec.McpSchema$TextResourceContents not present
[INFO]
[ERROR] Tests run: 853, Failures: 5, Errors: 9, Skipped: 8

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions