Skip to content

GatewayIndexStateIT.testRecoverBrokenIndexMetadata fails on master #40867

@colings86

Description

@colings86

Build URL: https://elasticsearch-ci.elastic.co/job/elastic+elasticsearch+master+intake/2952/console

Reproduce Command (reproduces locally with this seed):

./gradlew :server:integTest -Dtests.seed=EECC1AE0C30C4E5F -Dtests.class=org.elasticsearch.gateway.GatewayIndexStateIT -Dtests.method="testRecoverBrokenIndexMetadata" -Dtests.security.manager=true -Dtests.locale=de -Dtests.timezone=Europe/Athens -Dcompiler.java=12 -Druntime.java=8

Stack trace:

ERROR   31.6s J5 | GatewayIndexStateIT.testRecoverBrokenIndexMetadata <<< FAILURES!
   > Throwable #1: com.carrotsearch.randomizedtesting.UncaughtExceptionError: Captured an uncaught exception in thread: Thread[id=6072, name=elasticsearch[node_t0][generic][T#4], state=RUNNABLE, group=TGRP-GatewayIndexStateIT]
   > 	at __randomizedtesting.SeedInfo.seed([EECC1AE0C30C4E5F:1675F3837244CBA3]:0)
   > Caused by: java.lang.AssertionError: max seq. no. [-1] does not match [0]
   > 	at __randomizedtesting.SeedInfo.seed([EECC1AE0C30C4E5F]:0)
   > 	at org.elasticsearch.index.engine.ReadOnlyEngine.assertMaxSeqNoEqualsToGlobalCheckpoint(ReadOnlyEngine.java:142)
   > 	at org.elasticsearch.index.engine.ReadOnlyEngine.<init>(ReadOnlyEngine.java:116)
   > 	at org.elasticsearch.index.engine.NoOpEngine.<init>(NoOpEngine.java:46)
   > 	at org.elasticsearch.index.shard.IndexShard.innerOpenEngineAndTranslog(IndexShard.java:1447)
   > 	at org.elasticsearch.index.shard.IndexShard.openEngineAndRecoverFromTranslog(IndexShard.java:1397)
   > 	at org.elasticsearch.index.shard.StoreRecovery.internalRecoverFromStore(StoreRecovery.java:433)
   > 	at org.elasticsearch.index.shard.StoreRecovery.lambda$recoverFromStore$0(StoreRecovery.java:95)
   > 	at org.elasticsearch.index.shard.StoreRecovery.executeRecovery(StoreRecovery.java:308)
   > 	at org.elasticsearch.index.shard.StoreRecovery.recoverFromStore(StoreRecovery.java:93)
   > 	at org.elasticsearch.index.shard.IndexShard.recoverFromStore(IndexShard.java:1686)
   > 	at org.elasticsearch.index.shard.IndexShard.lambda$startRecovery$9(IndexShard.java:2339)
   > 	at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingRunnable.run(ThreadContext.java:677)
   > 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
   > 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
   > 	at java.lang.Thread.run(Thread.java:748)

Will muted this test shortly

Metadata

Metadata

Assignees

Labels

:Distributed Indexing/DistributedA catch all label for anything in the Distributed Indexing Area. Please avoid if you can.>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