Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CI] RemoteClusterConnectionTests.testDiscoverSingleNode #30714

Closed
vladimirdolzhenko opened this issue May 18, 2018 · 1 comment · Fixed by #33707
Closed

[CI] RemoteClusterConnectionTests.testDiscoverSingleNode #30714

vladimirdolzhenko opened this issue May 18, 2018 · 1 comment · Fixed by #33707
Assignees
Labels
:Core/Infra/Core Core issues without another label >test-failure Triaged test failures from CI

Comments

@vladimirdolzhenko
Copy link
Contributor

Doesn't reproduce locally

https://elasticsearch-ci.elastic.co/job/elastic+elasticsearch+6.x+matrix-java-periodic/ES_BUILD_JAVA=java10,ES_RUNTIME_JAVA=java10,nodes=virtual&&linux/60/console

 2> REPRODUCE WITH: ./gradlew :server:test -Dtests.seed=EC9E0C70237EA138 -Dtests.class=org.elasticsearch.transport.RemoteClusterConnectionTests -Dtests.method="testDiscoverSingleNode" -Dtests.security.manager=true -Dtests.locale=ha -Dtests.timezone=America/Lower_Princes
ERROR   0.05s J0 | RemoteClusterConnectionTests.testDiscoverSingleNode <<< FAILURES!
   > Throwable #1: com.carrotsearch.randomizedtesting.UncaughtExceptionError: Captured an uncaught exception in thread: Thread[id=1868, name=elasticsearch[org.elasticsearch.transport.RemoteClusterConnectionTests][management][T#1], state=RUNNABLE, group=TGRP-RemoteClusterConnectionTests]
   > 	at __randomizedtesting.SeedInfo.seed([EC9E0C70237EA138:1A50AFD86729C6D3]:0)
   > Caused by: java.lang.AssertionError: ExecutionCancelledException[operation was cancelled reason [connect handler is closed]]
   > 	at __randomizedtesting.SeedInfo.seed([EC9E0C70237EA138]:0)
   > 	at org.elasticsearch.transport.RemoteClusterConnectionTests$9.onFailure(RemoteClusterConnectionTests.java:963)
   > 	at org.elasticsearch.action.LatchedActionListener.onFailure(LatchedActionListener.java:50)
   > 	at org.elasticsearch.action.ActionListener.onFailure(ActionListener.java:138)
   > 	at org.elasticsearch.transport.RemoteClusterConnection$ConnectHandler$1.lambda$doRun$1(RemoteClusterConnection.java:407)
   > 	at org.elasticsearch.action.ActionListener$1.onFailure(ActionListener.java:68)
   > 	at org.elasticsearch.transport.RemoteClusterConnection$ConnectHandler.collectRemoteNodes(RemoteClusterConnection.java:474)
   > 	at org.elasticsearch.transport.RemoteClusterConnection$ConnectHandler$1.doRun(RemoteClusterConnection.java:412)
   > 	at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:37)
   > 	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:514)
   > 	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
   > 	at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingRunnable.run(ThreadContext.java:625)
   > 	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1135)
   > 	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
   > 	at java.base/java.lang.Thread.run(Thread.java:844)
   > Caused by: ExecutionCancelledException[operation was cancelled reason [connect handler is closed]]
   > 	at org.elasticsearch.common.util.CancellableThreads.onCancel(CancellableThreads.java:63)
   > 	at org.elasticsearch.common.util.CancellableThreads.executeIO(CancellableThreads.java:129)
   > 	at org.elasticsearch.transport.RemoteClusterConnection$ConnectHandler.collectRemoteNodes(RemoteClusterConnection.java:425)
   > 	... 8 more

looks similar to issue #28695

@elastic/es-core-infra could please somebody have a look into it ?

@vladimirdolzhenko vladimirdolzhenko added >test-failure Triaged test failures from CI :Core/Infra/Core Core issues without another label labels May 18, 2018
@jasontedor
Copy link
Member

@martijnvg Would you take a look?

@original-brownbear original-brownbear self-assigned this Sep 13, 2018
original-brownbear added a commit to original-brownbear/elasticsearch that referenced this issue Sep 14, 2018
* Same fix idea as in #10666a4 to prevent background
threads trying to reconnect after the tests are done from
throwing `ExecutionCancelledException` and breaking the test
* Closes elastic#30714
original-brownbear added a commit that referenced this issue Sep 17, 2018
* Same fix idea as in #10666a4 to prevent background
threads trying to reconnect after the tests are done from
throwing `ExecutionCancelledException` and breaking the test
* Closes #30714
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Core/Infra/Core Core issues without another label >test-failure Triaged test failures from CI
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants