-
Bug
-
Resolution: Unresolved
-
P3
-
17
-
x86_64
-
windows
The following test failed in the JDK17 CI:
jdk/jshell/JdiLaunchingExecutionControlTest.java
This test failure is due to a setup failure:
> config JdiLaunchingExecutionControlTest.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 JdiLaunchingExecutionControlTest.java failures 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:
config JdiLaunchingExecutionControlTest.setUp(): success
test ExecutionControlTestBase.testImportOnDemand(): success
config KullaTesting.tearDown(): success
config JdiLaunchingExecutionControlTest.setUp(): failure
java.lang.IllegalStateException: Launching JShell execution engine threw: Failed remote launch: java.util.concurrent.TimeoutException @ com.sun.jdi.CommandLineLaunch (defaults: home=c:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-17+8-486\\windows-x64.jdk\\jdk-17, options=, main=, suspend=true, quote=", vmexec=java) -- {home=home=c:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-17+8-486\\windows-x64.jdk\\jdk-17, options=options=, main=main=jdk.jshell.execution.RemoteExecutionControl 8880, 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 JdiLaunchingExecutionControlTest.setUp(JdiLaunchingExecutionControlTest.java:44)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
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:78)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:298)
at java.base/java.lang.Thread.run(Thread.java:831)
Caused by: java.lang.InternalError: Failed remote launch: java.util.concurrent.TimeoutException @ com.sun.jdi.CommandLineLaunch (defaults: home=c:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-17+8-486\\windows-x64.jdk\\jdk-17, options=, main=, suspend=true, quote=", vmexec=java) -- {home=home=c:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-17+8-486\\windows-x64.jdk\\jdk-17, options=options=, main=main=jdk.jshell.execution.RemoteExecutionControl 8880, suspend=suspend=true, quote=quote=", vmexec=vmexec=java}
at jdk.jshell/jdk.jshell.execution.JdiInitiator.reportLaunchFail(JdiInitiator.java:300)
at jdk.jshell/jdk.jshell.execution.JdiInitiator.launchTarget(JdiInitiator.java:141)
at jdk.jshell/jdk.jshell.execution.JdiInitiator.<init>(JdiInitiator.java:110)
at jdk.jshell/jdk.jshell.execution.JdiDefaultExecutionControl.create(JdiDefaultExecutionControl.java:103)
at jdk.jshell/jdk.jshell.execution.JdiExecutionControlProvider.generate(JdiExecutionControlProvider.java:152)
at jdk.jshell/jdk.jshell.spi.ExecutionControl.generate(ExecutionControl.java:179)
at jdk.jshell/jdk.jshell.spi.ExecutionControl.generate(ExecutionControl.java:296)
at jdk.jshell/jdk.jshell.JShell.<init>(JShell.java:136)
... 33 more
Caused by: java.util.concurrent.TimeoutException
at java.base/java.util.concurrent.FutureTask.get(FutureTask.java:204)
at jdk.jshell/jdk.jshell.execution.JdiInitiator.timedVirtualMachineCreation(JdiInitiator.java:244)
at jdk.jshell/jdk.jshell.execution.JdiInitiator.launchTarget(JdiInitiator.java:137)
... 39 more
test ExecutionControlTestBase.variables(): skip
config KullaTesting.tearDown(): skip
===============================================
jdk/jshell/JdiLaunchingExecutionControlTest.java
Total tests run: 6, Failures: 0, Skips: 1
Configuration Failures: 1, Skips: 1
===============================================
----------System.err:(12/726)----------
Starting this bug as a P3 since this is a Tier2 failure.
I filed a very similar failures with a different JShell tests:
JDK-8235780 jdk/jshell/FailOverExecutionControlDyingLaunchTest.java fails during setup
JDK-8235839 jdk/jshell/UserJdiUserRemoteTest.java - launch time out
jdk/jshell/JdiLaunchingExecutionControlTest.java
This test failure is due to a setup failure:
> config JdiLaunchingExecutionControlTest.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 JdiLaunchingExecutionControlTest.java failures 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:
config JdiLaunchingExecutionControlTest.setUp(): success
test ExecutionControlTestBase.testImportOnDemand(): success
config KullaTesting.tearDown(): success
config JdiLaunchingExecutionControlTest.setUp(): failure
java.lang.IllegalStateException: Launching JShell execution engine threw: Failed remote launch: java.util.concurrent.TimeoutException @ com.sun.jdi.CommandLineLaunch (defaults: home=c:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-17+8-486\\windows-x64.jdk\\jdk-17, options=, main=, suspend=true, quote=", vmexec=java) -- {home=home=c:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-17+8-486\\windows-x64.jdk\\jdk-17, options=options=, main=main=jdk.jshell.execution.RemoteExecutionControl 8880, 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 JdiLaunchingExecutionControlTest.setUp(JdiLaunchingExecutionControlTest.java:44)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
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:78)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:298)
at java.base/java.lang.Thread.run(Thread.java:831)
Caused by: java.lang.InternalError: Failed remote launch: java.util.concurrent.TimeoutException @ com.sun.jdi.CommandLineLaunch (defaults: home=c:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-17+8-486\\windows-x64.jdk\\jdk-17, options=, main=, suspend=true, quote=", vmexec=java) -- {home=home=c:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-17+8-486\\windows-x64.jdk\\jdk-17, options=options=, main=main=jdk.jshell.execution.RemoteExecutionControl 8880, suspend=suspend=true, quote=quote=", vmexec=vmexec=java}
at jdk.jshell/jdk.jshell.execution.JdiInitiator.reportLaunchFail(JdiInitiator.java:300)
at jdk.jshell/jdk.jshell.execution.JdiInitiator.launchTarget(JdiInitiator.java:141)
at jdk.jshell/jdk.jshell.execution.JdiInitiator.<init>(JdiInitiator.java:110)
at jdk.jshell/jdk.jshell.execution.JdiDefaultExecutionControl.create(JdiDefaultExecutionControl.java:103)
at jdk.jshell/jdk.jshell.execution.JdiExecutionControlProvider.generate(JdiExecutionControlProvider.java:152)
at jdk.jshell/jdk.jshell.spi.ExecutionControl.generate(ExecutionControl.java:179)
at jdk.jshell/jdk.jshell.spi.ExecutionControl.generate(ExecutionControl.java:296)
at jdk.jshell/jdk.jshell.JShell.<init>(JShell.java:136)
... 33 more
Caused by: java.util.concurrent.TimeoutException
at java.base/java.util.concurrent.FutureTask.get(FutureTask.java:204)
at jdk.jshell/jdk.jshell.execution.JdiInitiator.timedVirtualMachineCreation(JdiInitiator.java:244)
at jdk.jshell/jdk.jshell.execution.JdiInitiator.launchTarget(JdiInitiator.java:137)
... 39 more
test ExecutionControlTestBase.variables(): skip
config KullaTesting.tearDown(): skip
===============================================
jdk/jshell/JdiLaunchingExecutionControlTest.java
Total tests run: 6, Failures: 0, Skips: 1
Configuration Failures: 1, Skips: 1
===============================================
----------System.err:(12/726)----------
Starting this bug as a P3 since this is a Tier2 failure.
I filed a very similar failures with a different JShell tests:
JDK-8235839 jdk/jshell/UserJdiUserRemoteTest.java - launch time out
- relates to
-
JDK-8235839 jdk/jshell/UserJdiUserRemoteTest.java - launch time out
- Open
-
JDK-8235780 jdk/jshell/FailOverExecutionControlDyingLaunchTest.java - launch time out
- Closed