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

jdk/jshell/ImportTest.java failed with "InternalError: Failed remote listen"

XMLWordPrintable

    • b26
    • x86_64
    • linux
    • Verified

        The following test failed in the JDK22 CI:

        jdk/jshell/ImportTest.java

        Here's a snippet from the log file:

        #section:testng
        ----------messages:(8/374)----------
        command: testng ImportTest
        reason: User specified action: run testng ImportTest
        started: Sat Aug 19 19:10:38 UTC 2023
        Mode: agentvm
        Agent id: 10
        Additional exports to unnamed modules from @modules: jdk.compiler/com.sun.tools.javac.api jdk.compiler/com.sun.tools.javac.main jdk.jdeps/com.sun.tools.javap
        finished: Sat Aug 19 19:11:50 UTC 2023
        elapsed time (seconds): 71.144
        ----------configuration:(17/2041)----------

        <snip>

        ----------System.out:(842/85129)----------
        config KullaTesting.setUp(): success
        test ImportTest.testBadImport(): success
        config KullaTesting.tearDown(): success
        config KullaTesting.setUp(): success
        test ImportTest.testBadSyntaxImport(): success
        config KullaTesting.tearDown(): success
        config KullaTesting.setUp(): success
        test ImportTest.testBogusImportIgnoredInFuture(): success
        config KullaTesting.tearDown(): success
        config KullaTesting.setUp(): success
        test ImportTest.testImport(): success
        config KullaTesting.tearDown(): success
        config KullaTesting.setUp(): failure
        java.lang.IllegalStateException: Launching JShell execution engine threw: FailOverExecutionControlProvider: FAILED: 0:jdi:hostname(127.0.0.1) --
          Exception: java.lang.InternalError: Failed remote listen: java.util.concurrent.ExecutionException: com.sun.jdi.connect.TransportTimeoutException: timeout waiting for connection @ com.sun.jdi.SocketListen (defaults: timeout=, port=, localAddress=) -- {timeout=timeout=5000, port=port=33617, localAddress=localAddress=127.0.0.1}
                          jdk.jshell/jdk.jshell.execution.JdiInitiator.reportLaunchFail(JdiInitiator.java:305)
                          jdk.jshell/jdk.jshell.execution.JdiInitiator.listenTarget(JdiInitiator.java:204)
                          jdk.jshell/jdk.jshell.execution.JdiInitiator.<init>(JdiInitiator.java:116)
                          jdk.jshell/jdk.jshell.execution.JdiDefaultExecutionControl.create(JdiDefaultExecutionControl.java:114)
                          jdk.jshell/jdk.jshell.execution.JdiExecutionControlProvider.generate(JdiExecutionControlProvider.java:152)
              cause: java.util.concurrent.ExecutionException: com.sun.jdi.connect.TransportTimeoutException: timeout waiting for connection
        FailOverExecutionControlProvider: FAILED: 1:jdi:launch(true) --
          Exception: java.lang.InternalError: Failed remote launch: java.util.concurrent.TimeoutException @ com.sun.jdi.CommandLineLaunch (defaults: home=/opt/mach5/mesos/work_dir/jib-master/install/jdk-22+12-833/linux-x64.jdk/jdk-22, options=, main=, suspend=true, quote=", vmexec=java, includevirtualthreads=n) -- {home=home=/opt/mach5/mesos/work_dir/jib-master/install/jdk-22+12-833/linux-x64.jdk/jdk-22, options=options=-Djdk.console=java.base, main=main=jdk.jshell.execution.RemoteExecutionControl 35319, suspend=suspend=true, quote=quote=", vmexec=vmexec=java, includevirtualthreads=includevirtualthreads=n}
                          jdk.jshell/jdk.jshell.execution.JdiInitiator.reportLaunchFail(JdiInitiator.java:305)
                          jdk.jshell/jdk.jshell.execution.JdiInitiator.launchTarget(JdiInitiator.java:146)
                          jdk.jshell/jdk.jshell.execution.JdiInitiator.<init>(JdiInitiator.java:115)
                          jdk.jshell/jdk.jshell.execution.JdiDefaultExecutionControl.create(JdiDefaultExecutionControl.java:114)
                          jdk.jshell/jdk.jshell.execution.JdiExecutionControlProvider.generate(JdiExecutionControlProvider.java:152)
              cause: java.util.concurrent.TimeoutException
        FailOverExecutionControlProvider: FAILED: 2:jdi --
          Exception: java.lang.InternalError: Failed remote listen: java.util.concurrent.ExecutionException: com.sun.jdi.connect.TransportTimeoutException: timeout waiting for connection @ com.sun.jdi.SocketListen (defaults: timeout=, port=, localAddress=) -- {timeout=timeout=5000, port=port=43597, localAddress=localAddress=}
                          jdk.jshell/jdk.jshell.execution.JdiInitiator.reportLaunchFail(JdiInitiator.java:305)
                          jdk.jshell/jdk.jshell.execution.JdiInitiator.listenTarget(JdiInitiator.java:204)
                          jdk.jshell/jdk.jshell.execution.JdiInitiator.<init>(JdiInitiator.java:116)
                          jdk.jshell/jdk.jshell.execution.JdiDefaultExecutionControl.create(JdiDefaultExecutionControl.java:114)
                          jdk.jshell/jdk.jshell.execution.JdiExecutionControlProvider.generate(JdiExecutionControlProvider.java:152)
              cause: java.util.concurrent.ExecutionException: com.sun.jdi.connect.TransportTimeoutException: timeout waiting for connection

        at jdk.jshell/jdk.jshell.JShell.<init>(JShell.java:142)
        at jdk.jshell/jdk.jshell.JShell$Builder.build(JShell.java:425)
        at KullaTesting.setUp(KullaTesting.java:197)
        at KullaTesting.setUp(KullaTesting.java:169)
        at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
        at java.base/java.lang.reflect.Method.invoke(Method.java:580)
        at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:132)
        at org.testng.internal.MethodInvocationHelper.invokeMethodConsideringTimeout(MethodInvocationHelper.java:61)
        at org.testng.internal.ConfigInvoker.invokeConfigurationMethod(ConfigInvoker.java:366)
        at org.testng.internal.ConfigInvoker.invokeConfigurations(ConfigInvoker.java:320)
        at org.testng.internal.TestInvoker.runConfigMethods(TestInvoker.java:701)
        at org.testng.internal.TestInvoker.invokeMethod(TestInvoker.java:527)
        at org.testng.internal.TestInvoker.invokeTestMethod(TestInvoker.java:174)
        at org.testng.internal.MethodRunner.runInSequence(MethodRunner.java:46)
        at org.testng.internal.TestInvoker$MethodInvocationAgent.invoke(TestInvoker.java:822)
        at org.testng.internal.TestInvoker.invokeTestMethods(TestInvoker.java:147)
        at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:146)
        at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:128)
        at java.base/java.util.ArrayList.forEach(ArrayList.java:1597)
        at org.testng.TestRunner.privateRun(TestRunner.java:764)
        at org.testng.TestRunner.run(TestRunner.java:585)
        at org.testng.SuiteRunner.runTest(SuiteRunner.java:384)
        at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:378)
        at org.testng.SuiteRunner.privateRun(SuiteRunner.java:337)
        at org.testng.SuiteRunner.run(SuiteRunner.java:286)
        at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:53)
        at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:96)
        at org.testng.TestNG.runSuitesSequentially(TestNG.java:1218)
        at org.testng.TestNG.runSuitesLocally(TestNG.java:1140)
        at org.testng.TestNG.runSuites(TestNG.java:1069)
        at org.testng.TestNG.run(TestNG.java:1037)
        at com.sun.javatest.regtest.agent.TestNGRunner.main(TestNGRunner.java:102)
        at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
        at java.base/java.lang.reflect.Method.invoke(Method.java:580)
        at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:333)
        at java.base/java.lang.Thread.run(Thread.java:1570)

              jlahoda Jan Lahoda
              dcubed Daniel Daugherty
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: