-
Notifications
You must be signed in to change notification settings - Fork 25.3k
Open
Labels
:Search Relevance/SearchCatch all for Search RelevanceCatch all for Search Relevance>test-failureTriaged test failures from CITriaged test failures from CITeam:Search RelevanceMeta label for the Search Relevance team in ElasticsearchMeta label for the Search Relevance team in Elasticsearchlow-riskAn open issue or test failure that is a low risk to future releasesAn open issue or test failure that is a low risk to future releases
Description
CI Link
- reproduces locally: https://gradle-enterprise.elastic.co/s/bburndqfe5hni
- can't find a PR build link since i rebuilt but failed on my PR
- test passes with a different seed and passed on rebuild, so assuming something with seeding/randomness
Repro line
./gradlew ":server:test" --tests "org.elasticsearch.script.ScriptTermStatsTests.testMatchedTermsCount" -Dtests.seed=380DA96E4BD34C9B -Dtests.locale=ar-IL -Dtests.timezone=Pacific/Galapagos -Druntime.java=24
Does it reproduce?
Yes
Applicable branches
main
Failure history
No response
Failure excerpt
2> java.lang.AssertionError:
Expected: <0>
but: was <1>
at __randomizedtesting.SeedInfo.seed([380DA96E4BD34C9B:D70EB1E22179000A]: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:2723)
at org.elasticsearch.script.ScriptTermStatsTests.lambda$assertAllDocs$17(ScriptTermStatsTests.java:346)
at org.elasticsearch.script.ScriptTermStatsTests.withIndexSearcher(ScriptTermStatsTests.java:330)
at org.elasticsearch.script.ScriptTermStatsTests.assertAllDocs(ScriptTermStatsTests.java:337)
at org.elasticsearch.script.ScriptTermStatsTests.testMatchedTermsCount(ScriptTermStatsTests.java:65)```
Metadata
Metadata
Assignees
Labels
:Search Relevance/SearchCatch all for Search RelevanceCatch all for Search Relevance>test-failureTriaged test failures from CITriaged test failures from CITeam:Search RelevanceMeta label for the Search Relevance team in ElasticsearchMeta label for the Search Relevance team in Elasticsearchlow-riskAn open issue or test failure that is a low risk to future releasesAn open issue or test failure that is a low risk to future releases