Skip to content

[CI] CancellableTasksIT tests fail #55106

@dimitris-athanasiou

Description

@dimitris-athanasiou

Jenkins: https://elasticsearch-ci.elastic.co/job/elastic+elasticsearch+master+multijob-unix-compatibility/os=ubuntu-18.04&&immutable/690/console

Build scan: https://gradle-enterprise.elastic.co/s/txrkmjh2knega

Failed tests:

  1. testDoNotWaitForCompletion
  2. testCancelTaskMultipleTimes
  3. testFailedToStartChildTaskAfterCancelled

All three tests seem to fail similarly:

java.lang.AssertionError: 
All incoming requests on node [node_s0] should have finished. Expected 0 but got 84
Expected: <0L>
     but: was <84L>

at __randomizedtesting.SeedInfo.seed([13557A4D881910D4:29A2CEA780D1EE98]:0)
at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:18)
at org.junit.Assert.assertThat(Assert.java:956)
at org.elasticsearch.test.InternalTestCluster.lambda$assertRequestsFinished$39(InternalTestCluster.java:2261)
at org.elasticsearch.test.ESTestCase.assertBusy(ESTestCase.java:892)
at org.elasticsearch.test.ESTestCase.assertBusy(ESTestCase.java:865)
at org.elasticsearch.test.InternalTestCluster.assertRequestsFinished(InternalTestCluster.java:2258)
at org.elasticsearch.test.InternalTestCluster.assertAfterTest(InternalTestCluster.java:2236)
at org.elasticsearch.test.ESIntegTestCase.afterInternal(ESIntegTestCase.java:558)
at org.elasticsearch.test.ESIntegTestCase.cleanUpCluster(ESIntegTestCase.java:2038)
at jdk.internal.reflect.GeneratedMethodAccessor23.invoke(Unknown Source)
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:4

Reproduce with:

./gradlew ':server:integTest' --tests "org.elasticsearch.action.admin.cluster.node.tasks.CancellableTasksIT.testDoNotWaitForCompletion" -Dtests.seed=13557A4D881910D4 -Dtests.security.manager=true -Dtests.locale=ar-KW -Dtests.timezone=Antarctica/DumontDUrville -Dcompiler.java=14
./gradlew ':server:integTest' --tests "org.elasticsearch.action.admin.cluster.node.tasks.CancellableTasksIT.testCancelTaskMultipleTimes" -Dtests.seed=13557A4D881910D4 -Dtests.security.manager=true -Dtests.locale=ar-KW -Dtests.timezone=Antarctica/DumontDUrville -Dcompiler.java=14
./gradlew ':server:integTest' --tests "org.elasticsearch.action.admin.cluster.node.tasks.CancellableTasksIT.testFailedToStartChildTaskAfterCancelled" -Dtests.seed=13557A4D881910D4 -Dtests.security.manager=true -Dtests.locale=ar-KW -Dtests.timezone=Antarctica/DumontDUrville -Dcompiler.java=14

Metadata

Metadata

Assignees

Labels

:Distributed/Task ManagementIssues for anything around the Tasks API - both persistent and node level.>test-failureTriaged test failures from CI

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions