Skip to content

[CI] XPackUsageResponseTests testVersionDependentSerializationWriteToOldStream failing #139576

@ywangd

Description

@ywangd

CI Link

https://gradle-enterprise.elastic.co/s/5cvbjb2enbt3y/tests/task/:x-pack:plugin:core:test/details/org.elasticsearch.xpack.core.action.XPackUsageResponseTests/testVersionDependentSerializationWriteToOldStream?top-execution=1

Repro line

./gradlew ":x-pack:plugin:core:test" --tests "org.elasticsearch.xpack.core.action.XPackUsageResponseTests.testVersionDependentSerializationWriteToOldStream" -Dtests.seed=D84B86C8DEFD0288 -Dtests.locale=zh-TW -Dtests.timezone=Africa/Gaborone -Druntime.java=25 -Dtests.fips.enabled=true

Does it reproduce?

Yes

Applicable branches

main

Failure history

No response

Failure excerpt

It failed on my PR. But it is reproducible on main. The reproduction line has fips enabled. But it fails without it as well.

  2> java.lang.AssertionError:
    Expected: a collection with size <1>
         but: collection size was <2>
        at __randomizedtesting.SeedInfo.seed([D84B86C8DEFD0288:D5D9EB87B69B1208]:0)
        at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
        at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:6)
        at org.elasticsearch.test.ESTestCase.assertThat(ESTestCase.java:2809)
        at org.elasticsearch.xpack.core.action.XPackUsageResponseTests.testVersionDependentSerializationWriteToOldStream(XPackUsageResponseTests.java:94)

Metadata

Metadata

Assignees

Labels

:Core/Infra/CoreCore issues without another label>test-failureTriaged test failures from CITeam:Core/InfraMeta label for core/infra teamlow-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