Elasticsearch version
(
bin/elasticsearch --version
): v6.4.0
JVM version
(
java -version
): openjdk version "10.0.2-adoptopenjdk"
OS version
(
uname -a
if on a Unix-like system): Linux ubuntu 4.4.0-21-generic
#37
-Ubuntu SMP Mon Apr 18 18:33:37 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
Description of the problem including expected versus actual behavior
:
Elastic search build is succesful but test case execution failed with an exception.
Actual:
all test cases should pass
Observed:
(on both Intel and non-Intel architecture)
Found the 1
test
tasks: :client:benchmark:test -> class org.gradle.api.tasks.testing.Test_Decorated BUILD FAILED
14:00:46.338 [DEBUG] [org.gradle.launcher.daemon.client.DaemonClientInputForwarder] Dispatching close input message: org.gradle.launcher.daemon.protocol.CloseInput@5996d8e4 14:00:46.338 [DEBUG] [org.gradle.launcher.daemon.client.DaemonClientConnection] thread 18: dispatching class org.gradle.launcher.daemon.protocol.CloseInput 14:00:46.339 [DEBUG] [org.gradle.launcher.daemon.client.DaemonClient] Received result Failure[value=org.gradle.initialization.ReportedException: org.gradle.internal.exceptions.LocationAwareException: Found the 1
test
tasks: :client:benchmark:test -> class org.gradle.api.tasks.testing.Test_Decorated] from daemon DaemonInfo{pid=14844, address=[00d5ce49-cbfb-46f4-ac5c-2706300e9b49 port:40934, addresses:[/0:0:0:0:0:0:0:1, /127.0.0.1]], state=Busy, lastBusy=1535896561769, context=DefaultDaemonContext[uid=94452509-2ac2-4fc5-b600-8e097e73fc94,javaHome=/home/ubuntu/ES640_oracle/jdk-10.0.2,daemonRegistryDir=/home/ubuntu/.gradle/daemon,pid=14844,idleTimeout=120000,daemonOpts=-Xmx2g,-Dfile.encoding=UTF8,-Duser.country=US,-Duser.language=en,-Duser.variant]} (build should be done). 14:00:46.339 [DEBUG] [org.gradle.launcher.daemon.client.DaemonClientConnection] thread 1: dispatching class org.gradle.launcher.daemon.protocol.Finished 14:00:46.339 [DEBUG] [org.gradle.launcher.daemon.client.DaemonClientConnection] Problem dispatching message to the daemon. Performing 'on failure' operation... 14:00:46.346 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] 14:00:46.347 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] FAILURE: Build failed with an exception. 14:00:46.347 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] 14:00:46.347 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] * What went wrong: 14:00:46.347 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] Could not dispatch a message to the daemon.
Steps to reproduce
:
Install and export JAVA (adopt open jdk 10 hotspot) from
https://adoptopenjdk.net/nightly.html?variant=openjdk10&jvmVariant=hotspot
cd /home/test
git clone
https://github.com/elastic/elasticsearch
cd elasticsearch
git checkout v6.4.0
./gradlew assemble
./gradlew test --continue -Dtests.haltonfailure=false -Dtests.es.node.mode=network
Elastic search 6.3.x is getting built and TC are passing with the same steps mentioned above, but getting the issue with v6.4.0 on the same VM with same settings.
(
gradlew check
is working which executes all the unit+integration TCs but this
gradlew test
issue persists)
Please let me know if I miss anything and provide steps if test suit is getting executed from your side.