Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8235839

jdk/jshell/UserJdiUserRemoteTest.java fails during setup

    Details

    • Type: Bug
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 14
    • Fix Version/s: tbd
    • Component/s: tools
    • Labels:
    • Subcomponent:
    • CPU:
      x86_64
    • OS:
      os_x

      Description

      The following test fails in the JDK14 CI:

      jdk/jshell/UserJdiUserRemoteTest.java

      This test failure is due to a setup failure:

      > config UserJdiUserRemoteTest.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 UserJdiUserRemoteTest.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 UserJdiUserRemoteTest.setUp(): success
      test UserJdiUserRemoteTest.testExtension(): success
      config KullaTesting.tearDown(): success
      config UserJdiUserRemoteTest.setUp(): failure
      java.lang.IllegalStateException: Launching JShell execution engine threw: Failed remote launch: java.util.concurrent.TimeoutException @ com.sun.jdi.CommandLineLaunch (defaults: home=/scratch/mesos/jib-master/install/jdk-14+27-1333/macosx-x64.jdk/jdk-14.jdk/Contents/Home, options=, main=, suspend=true, quote=", vmexec=java) -- {home=home=/scratch/mesos/jib-master/install/jdk-14+27-1333/macosx-x64.jdk/jdk-14.jdk/Contents/Home, options=options=-classpath /scratch/mesos/slaves/d65fa3d4-10de-46aa-a2db-52cc9981537a-S212/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/d36834b5-9437-4087-b58f-b63ea18a1da1/runs/24d0b126-839e-43a2-895a-581a72a6be4d/testoutput/test-support/jtreg_open_test_langtools_tier2/classes/1/jdk/jshell/UserJdiUserRemoteTest.d:/scratch/mesos/jib-master/install/jdk-14+27-1333/src.full/open/test/langtools/jdk/jshell:/scratch/mesos/jib-master/install/java/re/jtreg/4.2/promoted/all/b16/bundles/jtreg_bin-4.2.zip/jtreg/lib/testng.jar:/scratch/mesos/jib-master/install/java/re/jtreg/4.2/promoted/all/b16/bundles/jtreg_bin-4.2.zip/jtreg/lib/javatest.jar:/scratch/mesos/jib-master/install/java/re/jtreg/4.2/promoted/all/b16/bundles/jtreg_bin-4.2.zip/jtreg/lib/jtreg.jar:/scratch/mesos/slaves/d65fa3d4-10de-46aa-a2db-52cc9981537a-S212/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/d36834b5-9437-4087-b58f-b63ea18a1da1/runs/24d0b126-839e-43a2-895a-581a72a6be4d/testoutput/test-support/jtreg_open_test_langtools_tier2/scratch/1, main=main=MyRemoteExecutionControl 53672, 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 UserJdiUserRemoteTest.setUp(UserJdiUserRemoteTest.java:53)
      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)
      Caused by: java.lang.InternalError: Failed remote launch: java.util.concurrent.TimeoutException @ com.sun.jdi.CommandLineLaunch (defaults: home=/scratch/mesos/jib-master/install/jdk-14+27-1333/macosx-x64.jdk/jdk-14.jdk/Contents/Home, options=, main=, suspend=true, quote=", vmexec=java) -- {home=home=/scratch/mesos/jib-master/install/jdk-14+27-1333/macosx-x64.jdk/jdk-14.jdk/Contents/Home, options=options=-classpath /scratch/mesos/slaves/d65fa3d4-10de-46aa-a2db-52cc9981537a-S212/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/d36834b5-9437-4087-b58f-b63ea18a1da1/runs/24d0b126-839e-43a2-895a-581a72a6be4d/testoutput/test-support/jtreg_open_test_langtools_tier2/classes/1/jdk/jshell/UserJdiUserRemoteTest.d:/scratch/mesos/jib-master/install/jdk-14+27-1333/src.full/open/test/langtools/jdk/jshell:/scratch/mesos/jib-master/install/java/re/jtreg/4.2/promoted/all/b16/bundles/jtreg_bin-4.2.zip/jtreg/lib/testng.jar:/scratch/mesos/jib-master/install/java/re/jtreg/4.2/promoted/all/b16/bundles/jtreg_bin-4.2.zip/jtreg/lib/javatest.jar:/scratch/mesos/jib-master/install/java/re/jtreg/4.2/promoted/all/b16/bundles/jtreg_bin-4.2.zip/jtreg/lib/jtreg.jar:/scratch/mesos/slaves/d65fa3d4-10de-46aa-a2db-52cc9981537a-S212/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/d36834b5-9437-4087-b58f-b63ea18a1da1/runs/24d0b126-839e-43a2-895a-581a72a6be4d/testoutput/test-support/jtreg_open_test_langtools_tier2/scratch/1, main=main=MyRemoteExecutionControl 53672, 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 MyExecutionControl.make(MyExecutionControl.java:82)
      at MyExecutionControlProvider.generate(MyExecutionControlProvider.java:44)
      at jdk.jshell/jdk.jshell.JShell.<init>(JShell.java:126)
      ... 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)
      ... 37 more
      test UserJdiUserRemoteTest.testRedefine(): skip
      config KullaTesting.tearDown(): skip
      config UserJdiUserRemoteTest.setUp(): skip
      test UserJdiUserRemoteTest.testVarValue(): skip
      config KullaTesting.tearDown(): skip

      ===============================================
      jdk/jshell/UserJdiUserRemoteTest.java
      Total tests run: 9, Failures: 0, Skips: 2
      Configuration Failures: 1, Skips: 3
      ===============================================

      ----------System.err:(12/714)----------


      Starting this bug as a P3 since this is a Tier2 failure.

      I filed a very similar failure with a different JShell test:

          JDK-8235780 jdk/jshell/FailOverExecutionControlDyingLaunchTest.java fails during setup

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                rfield Robert Field
                Reporter:
                dcubed Daniel Daugherty
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: