Skip to content

[CI] TranslogTests.testRecoveryFromFailureOnTrimming fails in CI #46267

@hendrikmuhs

Description

@hendrikmuhs

CI log: https://elasticsearch-ci.elastic.co/job/elastic+elasticsearch+7.x+multijob-unix-compatibility/os=fedora-29&&immutable/241/console

Reproduces locally on master:

./gradlew :server:test --tests "org.elasticsearch.index.translog.TranslogTests.testRecoveryFromFailureOnTrimming" -Dtests.seed=F8D6B836AB78E5BC -Dtests.security.manager=true -Dtests.locale=bg-BG -Dtests.timezone=Europe/Vilnius -Dcompiler.java=12
org.elasticsearch.index.translog.TranslogTests > testRecoveryFromFailureOnTrimming FAILED
    java.lang.AssertionError: translog [1] still exists
        at __randomizedtesting.SeedInfo.seed([F8D6B836AB78E5BC:53822440167B3F1E]:0)
        at org.junit.Assert.fail(Assert.java:88)
        at org.junit.Assert.assertTrue(Assert.java:41)
        at org.junit.Assert.assertFalse(Assert.java:64)
        at org.elasticsearch.index.translog.TranslogTests.assertFileDeleted(TranslogTests.java:762)
        at org.elasticsearch.index.translog.TranslogTests.assertFilePresences(TranslogTests.java:770)
        at org.elasticsearch.index.translog.TranslogTests.testRecoveryFromFailureOnTrimming(TranslogTests.java:2335)
REPRODUCE WITH: ./gradlew :server:test --tests "org.elasticsearch.index.translog.TranslogTests.testRecoveryFromFailureOnTrimming" -Dtests.seed=F8D6B836AB78E5BC -Dtests.security.manager=true -Dtests.locale=bg-BG -Dtests.timezone=Europe/Vilnius -Dcompiler.java=12 -Druntime.java=12

Suite: Test class org.elasticsearch.index.translog.TranslogTests
  1> [2019-09-03T15:38:33,995][INFO ][o.e.i.t.TranslogTests    ] [testRecoveryFromFailureOnTrimming] before test
  1> [2019-09-03T15:38:34,602][INFO ][o.e.i.t.TranslogTests    ] [testRecoveryFromFailureOnTrimming] after test
  2> REPRODUCE WITH: ./gradlew :server:test --tests "org.elasticsearch.index.translog.TranslogTests.testRecoveryFromFailureOnTrimming" -Dtests.seed=F8D6B836AB78E5BC -Dtests.security.manager=true -Dtests.locale=bg-BG -Dtests.timezone=Europe/Vilnius -Dcompiler.java=12 -Druntime.java=12
  2> java.lang.AssertionError: translog [1] still exists
        at __randomizedtesting.SeedInfo.seed([F8D6B836AB78E5BC:53822440167B3F1E]:0)
        at org.junit.Assert.fail(Assert.java:88)
        at org.junit.Assert.assertTrue(Assert.java:41)
        at org.junit.Assert.assertFalse(Assert.java:64)
        at org.elasticsearch.index.translog.TranslogTests.assertFileDeleted(TranslogTests.java:762)
        at org.elasticsearch.index.translog.TranslogTests.assertFilePresences(TranslogTests.java:770)
        at org.elasticsearch.index.translog.TranslogTests.testRecoveryFromFailureOnTrimming(TranslogTests.java:2335)
  2> NOTE: leaving temporary files on disk at: /home/hendrik/work/git-elastic-2/elasticsearch/server/build/testrun/test/temp/org.elasticsearch.index.translog.TranslogTests_F8D6B836AB78E5BC-003
  2> NOTE: test params are: codec=Asserting(Lucene80): {}, docValues:{}, maxPointsInLeafNode=1368, maxMBSortInHeap=5.896614296924715, sim=Asserting(org.apache.lucene.search.similarities.AssertingSimilarity@2f65b353), locale=bg-BG, timezone=Europe/Vilnius
  2> NOTE: Linux 5.0.0-25-generic amd64/Oracle Corporation 12 (64-bit)/cpus=4,threads=1,free=513922288,total=536870912
  2> NOTE: All tests run in this JVM: [TranslogTests]

1 test completed, 1 failed

Tests with failures:
 - org.elasticsearch.index.translog.TranslogTests.testRecoveryFromFailureOnTrimming

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions