Skip to content

XContentParserUtilsTests.testStoredFieldsValueBinary failing with ClassCastException after Jackson upgrade #53624

@mark-vieira

Description

@mark-vieira

XContentParserUtilsTests.testStoredFieldsValueBinary began failing after merging #53523.

org.elasticsearch.common.xcontent.XContentParserUtilsTests > testStoredFieldsValueBinary FAILED
    java.lang.ClassCastException: class java.lang.String cannot be cast to class org.elasticsearch.common.bytes.BytesArray (java.lang.String is in module java.base of loader 'bootstrap'; org.elasticsearch.common.bytes.BytesArray is in unnamed module of loader 'app')
        at __randomizedtesting.SeedInfo.seed([A86292D9D8094E98:A9B69329573F883F]:0)
        at org.elasticsearch.common.xcontent.XContentParserUtilsTests.lambda$testStoredFieldsValueBinary$7(XContentParserUtilsTests.java:92)
        at org.elasticsearch.common.xcontent.XContentParserUtilsTests.assertParseFieldsValue(XContentParserUtilsTests.java:137)
        at org.elasticsearch.common.xcontent.XContentParserUtilsTests.assertParseFieldsSimpleValue(XContentParserUtilsTests.java:117)
        at org.elasticsearch.common.xcontent.XContentParserUtilsTests.testStoredFieldsValueBinary(XContentParserUtilsTests.java:92)
REPRODUCE WITH: ./gradlew ':server:test' --tests "org.elasticsearch.common.xcontent.XContentParserUtilsTests.testStoredFieldsValueBinary" -Dtests.seed=A86292D9D8094E98 -Dtests.security.manager=true -Dbuild.snapshot=false -Dtests.jvm.argline="-Dbuild.snapshot=false" -Dtests.locale=da -Dtests.timezone=Asia/Katmandu -Dcompiler.java=13

https://gradle-enterprise.elastic.co/s/57kcnjokosqoe/tests/nfxodyych4uas-7gwxj6xesq6h2

Metadata

Metadata

Assignees

No one assigned

    Labels

    :Core/Infra/CoreCore issues without another label>test-failureTriaged test failures from CI

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions