JDK-8235780 : jdk/jshell/FailOverExecutionControlDyingLaunchTest.java - launch time out
  • Type: Bug
  • Component: tools
  • Sub-Component: jshell
  • Affected Version: 14,15
  • Priority: P3
  • Status: Open
  • Resolution: Unresolved
  • CPU: x86_64
  • Submitted: 2019-12-11
  • Updated: 2021-01-28
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
tbdUnresolved
Related Reports
Relates :  
Relates :  
Relates :  
Description
The following test failed in the JDK14 CI:

jdk/jshell/FailOverExecutionControlDyingLaunchTest.java

This test failure is due to a setup failure:

> config FailOverExecutionControlDyingLaunchTest.setUp(): failure

and the setup failure occurred due to:

> Failed remote launch: java.util.concurrent.TimeoutException @ com.sun.jdi.CommandLineLaunch

So this bug is for FailOverExecutionControlDyingLaunchTest.java
failure that happen during setup due to a failed remote launch.

PLEASE, DO NOT ADD OTHER FAILURE MODES TO THIS BUG.
	
Here's a snippet from the log file:

----------System.out:(81/5979)----------
[TestNG] Running:
  jdk/jshell/FailOverExecutionControlDyingLaunchTest.java

config FailOverExecutionControlDyingLaunchTest.setUp(): failure
java.lang.IllegalStateException: Launching JShell execution engine threw: Failed remote launch: java.util.concurrent.TimeoutException @ com.sun.jdi.CommandLineLaunch (defaults: home=/opt/mach5/mesos/work_dir/jib-master/install/jdk-14+27-1301/linux-x64.jdk/jdk-14, options=, main=, suspend=true, quote=", vmexec=java) -- {home=home=/opt/mach5/mesos/work_dir/jib-master/install/jdk-14+27-1301/linux-x64.jdk/jdk-14, options=options=, main=main=DyingRemoteAgent 36191, suspend=suspend=true, quote=quote=", vmexec=vmexec=java}
	at jdk.jshell/jdk.jshell.JShell.<init>(JShell.java:139)
	at jdk.jshell/jdk.jshell.JShell$Builder.build(JShell.java:405)
	at KullaTesting.setUp(KullaTesting.java:197)
	at FailOverExecutionControlDyingLaunchTest.setUp(FailOverExecutionControlDyingLaunchTest.java:44)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:564)
	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:85)
	at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:510)
	at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:211)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:585)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:821)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1131)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:124)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108)
	at org.testng.TestRunner.privateRun(TestRunner.java:773)
	at org.testng.TestRunner.run(TestRunner.java:623)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:357)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:352)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:310)
	at org.testng.SuiteRunner.run(SuiteRunner.java:259)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1185)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1110)
	at org.testng.TestNG.run(TestNG.java:1018)
	at com.sun.javatest.regtest.agent.TestNGRunner.main(TestNGRunner.java:94)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:564)
	at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:298)
	at java.base/java.lang.Thread.run(Thread.java:832)

Starting this bug as a P3 since this is a Tier2 failure.
Comments
This is another time out.
11-06-2020

[~rfield] - Sending this one your way as a new bug instead of adding this to the catch all bugs for jshell...
11-12-2019