Skip to content

InternalEngineTests testRecoverFromHardDeletesIndex failure #50654

@davidkyle

Description

@davidkyle
org.elasticsearch.index.engine.InternalEngineTests > testRecoverFromHardDeletesIndex FAILED
    java.lang.AssertionError: Operation not found seq# [16], global checkpoint [59], retention policy [0], maxSeqNo [65], translog op [Index{id='12', seqNo=16, primaryTerm=647288508455157647, version=16, autoGeneratedIdTimestamp=-1}]
        at __randomizedtesting.SeedInfo.seed([C54FB26E3EA917B1:101D892A1EE75753]:0)
        at org.junit.Assert.fail(Assert.java:88)
        at org.elasticsearch.index.engine.EngineTestCase.assertConsistentHistoryBetweenTranslogAndLuceneIndex(EngineTestCase.java:1105)
        at org.elasticsearch.index.engine.InternalEngineTests.testRecoverFromHardDeletesIndex(InternalEngineTests.java:5489)

https://elasticsearch-ci.elastic.co/job/elastic+elasticsearch+master+multijob-unix-compatibility/os=oraclelinux-7&&immutable/496/console
https://gradle-enterprise.elastic.co/s/fk25he4qu3rye

Another win for reproducibility:

./gradlew ':server:test' --tests "org.elasticsearch.index.engine.InternalEngineTests.testRecoverFromHardDeletesIndex" \
  -Dtests.seed=C54FB26E3EA917B1 \
  -Dtests.security.manager=true \
  -Dtests.locale=fr \
  -Dtests.timezone=Indian/Antananarivo \
  -Dcompiler.java=13

Possibly related to #50517

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions