Skip to content

RemoteClusterServiceTests#testCollectNodes failure #41067

@cbuescher

Description

@cbuescher

On 7.0: https://elasticsearch-ci.elastic.co/job/elastic+elasticsearch+7.0+multijob-unix-compatibility/os=sles-12/99/console

Could not reproduce locally so far:

./gradlew :server:test --tests "org.elasticsearch.transport.RemoteClusterServiceTests.testCollectNodes" \
  -Dtests.seed=BCAFFE09C8A7A4A3 \
  -Dtests.security.manager=true \
  -Dtests.locale=th \
  -Dtests.timezone=Africa/Nouakchott \
  -Dcompiler.java=12 \
  -Druntime.java=8
java.lang.AssertionError
	at org.junit.Assert.fail(Assert.java:86)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at org.junit.Assert.assertNotNull(Assert.java:712)
	at org.junit.Assert.assertNotNull(Assert.java:722)
	at org.elasticsearch.transport.RemoteClusterServiceTests.testCollectNodes(RemoteClusterServiceTests.java:721)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at com.carrotsearch.randomizedtesting.RandomizedRunner.invoke(RandomizedRunner.java:1750)

and

com.carrotsearch.randomizedtesting.UncaughtExceptionError: Captured an uncaught exception in thread: Thread[id=1095, name=elasticsearch[transport_worker][T#2], state=RUNNABLE, group=TGRP-RemoteClusterServiceTests]
Caused by: java.lang.AssertionError: should not be called
	at __randomizedtesting.SeedInfo.seed([BCAFFE09C8A7A4A3]:0)
	at org.junit.Assert.fail(Assert.java:88)
	at org.elasticsearch.transport.RemoteClusterServiceTests$3.onResponse(RemoteClusterServiceTests.java:705)
	at org.elasticsearch.transport.RemoteClusterServiceTests$3.onResponse(RemoteClusterServiceTests.java:701)
	at org.elasticsearch.transport.RemoteClusterService$2.onResponse(RemoteClusterService.java:500)
	at org.elasticsearch.transport.RemoteClusterService$2.onResponse(RemoteClusterService.java:493)
	at org.elasticsearch.transport.RemoteClusterConnection$1.handleResponse(RemoteClusterConnection.java:222)
	at org.elasticsearch.transport.RemoteClusterConnection$1.handleResponse(RemoteClusterConnection.java:210)
	at org.elasticsearch.transport.TransportService$ContextRestoreResponseHandler.handleResponse(TransportService.java:1114)
	at org.elasticsearch.transport.TcpTransport$1.doRun(TcpTransport.java:975)
	at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:37)
	at org.elasticsearch.common.util.concurrent.EsExecutors$DirectExecutorService.execute(EsExecutors.java:192)
	at org.elasticsearch.transport.TcpTransport.handleResponse(TcpTransport.java:967)
	at org.elasticsearch.transport.TcpTransport.messageReceived(TcpTransport.java:942)
	at org.elasticsearch.transport.TcpTransport.inboundMessage(TcpTransport.java:753)
	at org.elasticsearch.transport.TcpTransport.consumeNetworkReads(TcpTransport.java:780)
	at org.elasticsearch.transport.nio.MockNioTransport$MockTcpReadWriteHandler.consumeReads(MockNioTransport.java:241)
	at org.elasticsearch.nio.SocketChannelContext.handleReadBytes(SocketChannelContext.java:213)
	at org.elasticsearch.nio.BytesChannelContext.read(BytesChannelContext.java:47)
	at org.elasticsearch.nio.EventHandler.handleRead(EventHandler.java:119)
	at org.elasticsearch.nio.NioSelector.handleRead(NioSelector.java:398)
	at org.elasticsearch.nio.NioSelector.processKey(NioSelector.java:246)
	at org.elasticsearch.nio.NioSelector.singleLoop(NioSelector.java:172)
	at org.elasticsearch.nio.NioSelector.runLoop(NioSelector.java:129)
	at java.lang.Thread.run(Thread.java:748)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions