Skip to content

CoordinatorTests testAckListenerReceivesNacksIfPublicationTimesOut failure #44073

@davidkyle

Description

@davidkyle

https://elasticsearch-ci.elastic.co/job/elastic+elasticsearch+7.x+multijob+fast+part1/95/console
https://gradle.com/s/i5matu3ca3yl6

java.lang.AssertionError: leaders
Expected: not an empty collection
     but: was <[]>
	at __randomizedtesting.SeedInfo.seed([1D931938A0E635D1:97D103FE47BECADC]:0)
	at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:18)
	at org.junit.Assert.assertThat(Assert.java:956)
	at org.elasticsearch.cluster.coordination.AbstractCoordinatorTestCase$Cluster.getAnyLeader(AbstractCoordinatorTestCase.java:605)
	at org.elasticsearch.cluster.coordination.AbstractCoordinatorTestCase$Cluster.stabilise(AbstractCoordinatorTestCase.java:475)
	at org.elasticsearch.cluster.coordination.AbstractCoordinatorTestCase$Cluster.stabilise(AbstractCoordinatorTestCase.java:463)
	at org.elasticsearch.cluster.coordination.CoordinatorTests.testAckListenerReceivesNacksIfPublicationTimesOut(CoordinatorTests.java:622)

This actually reproduces on 7.x

./gradlew :server:test --tests "org.elasticsearch.cluster.coordination.CoordinatorTests.testAckListenerReceivesNacksIfPublicationTimesOut" \
  -Dtests.seed=1D931938A0E635D1 \
  -Dtests.security.manager=true \
  -Dtests.locale=fr-LU \
  -Dtests.timezone=America/Mazatlan \
  -Dcompiler.java=12 \
  -Druntime.java=8

Metadata

Metadata

Assignees

Labels

:Distributed Coordination/Cluster CoordinationCluster formation and cluster state publication, including cluster membership and fault detection.>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