-
Notifications
You must be signed in to change notification settings - Fork 24.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[CI] ClusterSearchShardsResponseTests testSerialization failing #100289
Comments
Pinging @elastic/es-search (Team:Search) |
Fixes serialization random versioning. closes: #100289
I see this failing again, with the same exception: https://gradle-enterprise.elastic.co/s/ny6d4ym32nwvy/tests/task/:server:test/details/org.elasticsearch.action.admin.cluster.shards.ClusterSearchShardsResponseTests/testSerialization?top-execution=1 Not sure why: maybe related to 8.11 release? |
🤔 weird that it failed again. I will look |
Pinging @elastic/es-core-infra (Team:Core/Infra) |
Yes, the weird thing is that the fix you merged should have fixed it permanently. Maybe it's failing elsewhere - I will also give it a look. |
Ah, I see. The test was fixed after 8.11 FF, and now after 8.11 released we are doing 8.11 branch CI - which shows the same error again. I will backport the fix to the 8.11 branch |
After version upgrade to 8.12, 8.11 can be generated as a random version to be passed to DiscoveryNodeUtils.create (by
VersionUtils.randomVersion(random())
). However from 8.10 forward, minIndexVersion, maxIndexVersion need to be specified too.The test should be updated to use DiscoveryNode.builder() directly and specify min/max index versions too.
Build scan:
https://gradle-enterprise.elastic.co/s/ib3thvzxhoyo4/tests/:server:test/org.elasticsearch.action.admin.cluster.shards.ClusterSearchShardsResponseTests/testSerialization
Reproduction line:
Applicable branches:
main
Reproduces locally?:
Yes
Failure history:
https://gradle-enterprise.elastic.co/scans/tests?tests.container=org.elasticsearch.action.admin.cluster.shards.ClusterSearchShardsResponseTests&tests.test=testSerialization
Failure excerpt:
The text was updated successfully, but these errors were encountered: