Closed
Description
This looks like a newly added test.
Repro line:
./gradlew ':server:test' --tests "org.elasticsearch.action.support.ListenableActionFutureTests.testListenersNotifiedOnCorrectThreads" -Dtests.seed=6F4C360FA7AEA154 -Dtests.security.manager=true -Dtests.locale=und -Dtests.timezone=America/Panama -Druntime.java=11
Reproduces locally?:
Nope.
Applicable branches:
Only master
so far.
Failure excerpt:
org.elasticsearch.action.support.ListenableActionFutureTests > testListenersNotifiedOnCorrectThreads FAILED
com.carrotsearch.randomizedtesting.UncaughtExceptionError: Captured an uncaught exception in thread: Thread[id=336, name=adder-3, state=RUNNABLE, group=TGRP-ListenableActionFutureTests]
Caused by:
java.lang.AssertionError
at __randomizedtesting.SeedInfo.seed([6F4C360FA7AEA154]:0)
at org.junit.Assert.fail(Assert.java:86)
at org.junit.Assert.assertTrue(Assert.java:41)
at org.junit.Assert.assertTrue(Assert.java:52)
at org.elasticsearch.action.support.ListenableActionFutureTests.lambda$testListenersNotifiedOnCorrectThreads$0(ListenableActionFutureTests.java:105)
com.carrotsearch.randomizedtesting.UncaughtExceptionError: Captured an uncaught exception in thread: Thread[id=339, name=completer-6, state=RUNNABLE, group=TGRP-ListenableActionFutureTests]
Caused by:
java.lang.AssertionError:
Expected: "adder-3"
but: was "completer-6"
at __randomizedtesting.SeedInfo.seed([6F4C360FA7AEA154]:0)
at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:18)
at org.junit.Assert.assertThat(Assert.java:956)
at org.junit.Assert.assertThat(Assert.java:923)
at org.elasticsearch.action.support.ListenableActionFutureTests$3.onResponse(ListenableActionFutureTests.java:97)
at org.elasticsearch.action.support.ListenableActionFutureTests$3.onResponse(ListenableActionFutureTests.java:93)
at org.elasticsearch.action.support.ListenableActionFuture.executeListener(ListenableActionFuture.java:89)
at org.elasticsearch.action.support.ListenableActionFuture.done(ListenableActionFuture.java:72)
at org.elasticsearch.common.util.concurrent.BaseFuture.set(BaseFuture.java:133)
at org.elasticsearch.action.support.AdapterActionFuture.onResponse(AdapterActionFuture.java:58)
at org.elasticsearch.action.support.ListenableActionFutureTests.lambda$testListenersNotifiedOnCorrectThreads$1(ListenableActionFutureTests.java:136)