Skip to content

[CI] PresentTests testSerializationOfSimple failing #138808

@thecoop

Description

@thecoop

CI Link

https://gradle-enterprise.elastic.co/s/vpow2mefmzmqq/tests/task/:x-pack:plugin:esql:test/details/org.elasticsearch.xpack.esql.expression.function.aggregate.PresentTests/testSerializationOfSimple%20%7BTestCase=No%20rows%20(EXPONENTIAL_HISTOGRAM)%7D

Repro line

./gradlew ":x-pack:plugin:esql:test" --tests "org.elasticsearch.xpack.esql.expression.function.aggregate.PresentTests.testSerializationOfSimple {TestCase=No rows (EXPONENTIAL_HISTOGRAM)}" -Dtests.seed=8E03F022D042CCFA -Dbuild.snapshot=false -Dtests.jvm.argline="-Dbuild.snapshot=false" -Dlicense.key=x-pack/license-tools/src/test/resources/public.key -Dtests.locale=wo -Dtests.timezone=Europe/Vilnius -Druntime.java=25

Does it reproduce?

Yes

Applicable branches

main

Failure history

No response

Failure excerpt

java.lang.IllegalArgumentException: remote node at version [9229000] doesn't understand data type [EXPONENTIAL_HISTOGRAM]
    at __randomizedtesting.SeedInfo.seed([8E03F022D042CCFA:4467122FFD0B6E5F]:0)
    at org.elasticsearch.xpack.esql.core.type.DataType.writeTo(DataType.java:769)
    at org.elasticsearch.xpack.esql.core.type.EsField.writeContent(EsField.java:180)
    at org.elasticsearch.xpack.esql.core.type.EsField.writeTo(EsField.java:171)
    at org.elasticsearch.xpack.esql.core.expression.FieldAttribute.writeTo(FieldAttribute.java:132)
    at org.elasticsearch.common.io.stream.StreamOutput.writeNamedWriteable(StreamOutput.java:1111)
    at org.elasticsearch.xpack.esql.expression.function.aggregate.AggregateFunction.writeTo(AggregateFunction.java:114)
    at org.elasticsearch.common.io.stream.StreamOutput.writeNamedWriteable(StreamOutput.java:1111)
    at org.elasticsearch.xpack.esql.SerializationTestUtils.serializeDeserialize(SerializationTestUtils.java:86)
    at org.elasticsearch.xpack.esql.expression.function.AbstractFunctionTestCase.serializeDeserializeExpression(AbstractFunctionTestCase.java:522)
    at org.elasticsearch.xpack.esql.expression.function.AbstractFunctionTestCase.randomSerializeDeserialize(AbstractFunctionTestCase.java:501)
    at org.elasticsearch.xpack.esql.expression.function.AbstractFunctionTestCase.buildFieldExpression(AbstractFunctionTestCase.java:483)
    at org.elasticsearch.xpack.esql.expression.function.AbstractFunctionTestCase.testSerializationOfSimple(AbstractFunctionTestCase.java:739)
    at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)

Only fails on release builds.

Several other tests are failing in the same way (testGroupingAggregate, PresentOverTimeTests, AbsentTests, AbsentOverTimeTests)

Metadata

Metadata

Assignees

Labels

:Analytics/ES|QLAKA ESQL>test-failureTriaged test failures from CITeam:AnalyticsMeta label for analytical engine team (ESQL/Aggs/Geo)low-riskAn open issue or test failure that is a low risk to future releases

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions