Skip to content

[CI] org.elasticsearch.xpack.ccr.action.ShardChangesTests testMissingOperations fails reproducably with seed #35333

@colings86

Description

@colings86

Build URL:
https://elasticsearch-ci.elastic.co/job/elastic+elasticsearch+6.x+matrix-java-periodic/ES_BUILD_JAVA=java11,ES_RUNTIME_JAVA=java11,nodes=virtual&&linux/44/console

Reproduce command (fails reproducably on 6.x but not on master) :

./gradlew :x-pack:plugin:ccr:test \
  -Dtests.seed=FAF7E61619663B98 \
  -Dtests.class=org.elasticsearch.xpack.ccr.action.ShardChangesTests \
  -Dtests.method="testMissingOperations" \
  -Dtests.security.manager=true \
  -Dtests.locale=en-VG \
  -Dtests.timezone=Europe/Istanbul \
  -Dcompiler.java=11 \
  -Druntime.java=11

It looks like this test is expecting operations to no longer be available and CCR to throw an exception but it doesn't get the exception thrown in this case

Stack trace:

FAILURE 4.09s | ShardChangesTests.testMissingOperations <<< FAILURES!
   > Throwable #1: junit.framework.AssertionFailedError: Expected exception ElasticsearchException but no exception was thrown
   >    at __randomizedtesting.SeedInfo.seed([FAF7E61619663B98:3B044284D8D8EB2]:0)
   >    at org.apache.lucene.util.LuceneTestCase.expectThrows(LuceneTestCase.java:2697)
   >    at org.apache.lucene.util.LuceneTestCase.expectThrows(LuceneTestCase.java:2682)
   >    at org.elasticsearch.xpack.ccr.action.ShardChangesTests.testMissingOperations(ShardChangesTests.java:114)
   >    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   >    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
   >    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   >    at java.base/java.lang.reflect.Method.invoke(Method.java:566)
   >    at java.base/java.lang.Thread.run(Thread.java:834)

Metadata

Metadata

Assignees

Labels

:Distributed Indexing/CCRIssues around the Cross Cluster State Replication features>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