Skip to content

[CI] JdbcSqlSpecIT fails because of unknown NamedWriteable Processor #30014

@elasticmachine

Description

@elasticmachine

Original comment by @tlrx:

The test JdbcSqlSpecIT failed today on CI on master branch:
LINK REDACTED

It reproduces locally:

./gradlew :x-pack-elasticsearch:qa:sql:security:no-ssl:integTestRunner -Dtests.seed=C56C85CB596BD3AA -Dtests.class=org.elasticsearch.xpack.qa.sql.security.JdbcSqlSpecIT -Dtests.method="test {math.testMathATan2}" -Dtests.security.manager=true -Dtests.locale=sq -Dtests.timezone=Indian/Mayotte

Many tests methods failed but they seem to have the same original root cause:

Throwable LINK REDACTED: java.sql.SQLException: Server encountered an error [Unexpected failure decoding cursor]. [SqlIllegalArgumentException[Unexpected failure decoding cursor]; nested: IllegalArgumentException[Unknown NamedWriteable [org.elasticsearch.xpack.sql.expression.function.scalar.processor.runtime.Processor][mb]];
10:56:30    > 	at org.elasticsearch.xpack.sql.session.Cursors.decodeFromString(Cursors.java:108)
10:56:30    > 	at org.elasticsearch.xpack.sql.plugin.TransportSqlQueryAction.operation(TransportSqlQueryAction.java:79)
10:56:30    > 	at org.elasticsearch.xpack.sql.plugin.TransportSqlQueryAction.doExecute(TransportSqlQueryAction.java:63)
10:56:30    > 	at org.elasticsearch.xpack.sql.plugin.TransportSqlQueryAction.doExecute(TransportSqlQueryAction.java:43)

cc @elastic/es-sql

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions