Skip to content

[CI] DedicatedClusterSnapshotRestoreIT testSnapshotWithStuckNode failed #39852

@droberts195

Description

@droberts195

org.elasticsearch.snapshots.DedicatedClusterSnapshotRestoreIT testSnapshotWithStuckNode failed in https://elasticsearch-ci.elastic.co/job/elastic+elasticsearch+7.0+matrix-java-periodic/ES_BUILD_JAVA=openjdk12,ES_RUNTIME_JAVA=java11,nodes=immutable&&linux&&docker/60/console

The error was:

FAILURE 4.30s J4 | DedicatedClusterSnapshotRestoreIT.testSnapshotWithStuckNode <<< FAILURES!
   > Throwable #1: java.lang.AssertionError: not all files were deleted during snapshot cancellation
   > Expected: <1>
   >      but: was <0>
   > 	at __randomizedtesting.SeedInfo.seed([5C205D54D3187BA0:97C59A25EEAE3FCF]:0)
   > 	at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
   > 	at org.elasticsearch.snapshots.DedicatedClusterSnapshotRestoreIT.testSnapshotWithStuckNode(DedicatedClusterSnapshotRestoreIT.java:496)
   > 	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)

The REPRO command was:

./gradlew :server:integTest \
  -Dtests.seed=5C205D54D3187BA0 \
  -Dtests.class=org.elasticsearch.snapshots.DedicatedClusterSnapshotRestoreIT \
  -Dtests.method="testSnapshotWithStuckNode" \
  -Dtests.security.manager=true \
  -Dtests.locale=fr-SC \
  -Dtests.timezone=America/Montevideo \
  -Dcompiler.java=12 \
  -Druntime.java=11

(Note compiled with Java 12.)

The problem did not reproduce locally for me.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions