Skip to content

[CI] open search contexts not cleared in reindex tests on 5.2 branch #23857

@dakrone

Description

@dakrone

On the 5.2 branch of Elasticsearch CI has seen:

> Throwable #1: java.lang.AssertionError: Failure at [reindex/90_remote:357]: indices.source.total.search.open_contexts didn't match the expected value:
   > indices.source.total.search.open_contexts: expected [0] but was [5]
   > 	at __randomizedtesting.SeedInfo.seed([80A75130B3500549:8F36EEA1DAC68B1]:0)
   > 	at org.elasticsearch.test.rest.yaml.ESClientYamlSuiteTestCase.executeSection(ESClientYamlSuiteTestCase.java:374)
   > 	at org.elasticsearch.test.rest.yaml.ESClientYamlSuiteTestCase.test(ESClientYamlSuiteTestCase.java:354)
   > 	at java.lang.Thread.run(Thread.java:745)
   > Caused by: java.lang.AssertionError: indices.source.total.search.open_contexts didn't match the expected value:
   > indices.source.total.search.open_contexts: expected [0] but was [5]
   > 	at org.elasticsearch.test.rest.yaml.section.MatchAssertion.doAssert(MatchAssertion.java:92)
   > 	at org.elasticsearch.test.rest.yaml.section.Assertion.execute(Assertion.java:76)
   > 	at org.elasticsearch.test.rest.yaml.ESClientYamlSuiteTestCase.executeSection(ESClientYamlSuiteTestCase.java:370)
   > 	... 37 more

I've tried reproducing with

gradle :modules:reindex:integTest -Dtests.seed=80A75130B3500549 -Dtests.class=org.elasticsearch.index.reindex.ReindexClientYamlTestSuiteIT -Dtests.method="test {yaml=reindex/90_remote/Reindex from remote with size}" -Dtests.security.manager=true -Dtests.locale=es-HN -Dtests.timezone=Pacific/Noumea

But it did not reproduce.

Originally seen at: https://elasticsearch-ci.elastic.co/job/elastic+elasticsearch+5.2+multijob-unix-compatibility/os=oraclelinux/130/console

Metadata

Metadata

Assignees

Labels

:Distributed Indexing/CRUDA catch all label for issues around indexing, updating and getting a doc by id. Not search.>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