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

jdk/jshell/FailOverExecutionControlHangingListenTest.java failed due to setup failure

    Details

    • Type: Bug
    • Status: Open
    • Priority: P3
    • Resolution: Unresolved
    • Affects Version/s: 16
    • Fix Version/s: 16
    • Component/s: tools
    • Subcomponent:
    • CPU:
      x86_64
    • OS:
      os_x

      Description

      The following test failed in the JDK16 CI:

      jdk/jshell/FailOverExecutionControlHangingListenTest.java

      This particular failure mode has several attributes:

      - Failure during a setup() call:

      > config FailOverExecutionControlHangingListenTest.setUp(): failure

      - A socket exception:

      > Exception: java.net.SocketTimeoutException: Accept timed out

      - A transport layer exception:

      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=49628, localAddress=localAddress=127.0.0.1}

      PLEASE DO NOT ADD OTHER FAILURE MODES TO THIS BUG.

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

      Here's a snippet from the log file:

      config FailOverExecutionControlHangingListenTest.setUp(): success
      test ExecutionControlTestBase.testImportOnDemand(): success
      config KullaTesting.tearDown(): success
      config FailOverExecutionControlHangingListenTest.setUp(): failure
      java.lang.IllegalStateException: Launching JShell execution engine threw: FailOverExecutionControlProvider: FAILED: 0:jdi:remoteAgent(HangingRemoteAgent),hostname(127.0.0.1) --
        Exception: java.net.SocketTimeoutException: Accept timed out
                        java.base/sun.nio.ch.NioSocketImpl.timedAccept(NioSocketImpl.java:708)
                        java.base/sun.nio.ch.NioSocketImpl.accept(NioSocketImpl.java:752)
                        java.base/java.net.ServerSocket.implAccept(ServerSocket.java:684)
                        java.base/java.net.ServerSocket.platformImplAccept(ServerSocket.java:650)
                        java.base/java.net.ServerSocket.implAccept(ServerSocket.java:626)
      FailOverExecutionControlProvider: FAILED: 5: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=49628, localAddress=localAddress=127.0.0.1}
                        jdk.jshell/jdk.jshell.execution.JdiInitiator.reportLaunchFail(JdiInitiator.java:300)
                        jdk.jshell/jdk.jshell.execution.JdiInitiator.listenTarget(JdiInitiator.java:199)
                        jdk.jshell/jdk.jshell.execution.JdiInitiator.<init>(JdiInitiator.java:111)
                        jdk.jshell/jdk.jshell.execution.JdiDefaultExecutionControl.create(JdiDefaultExecutionControl.java:103)
                        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: 6:jdi:launch(true) --
        Exception: java.lang.InternalError: Failed remote launch: java.util.concurrent.TimeoutException @ com.sun.jdi.CommandLineLaunch (defaults: home=/scratch/mesos/jib-master/install/jdk-16+12-466/macosx-x64.jdk/jdk-16.jdk/Contents/Home, options=, main=, suspend=true, quote=", vmexec=java) -- {home=home=/scratch/mesos/jib-master/install/jdk-16+12-466/macosx-x64.jdk/jdk-16.jdk/Contents/Home, options=options=, main=main=jdk.jshell.execution.RemoteExecutionControl 49629, suspend=suspend=true, quote=quote=", vmexec=vmexec=java}
                        jdk.jshell/jdk.jshell.execution.JdiInitiator.reportLaunchFail(JdiInitiator.java:300)
                        jdk.jshell/jdk.jshell.execution.JdiInitiator.launchTarget(JdiInitiator.java:141)
                        jdk.jshell/jdk.jshell.execution.JdiInitiator.<init>(JdiInitiator.java:110)
                        jdk.jshell/jdk.jshell.execution.JdiDefaultExecutionControl.create(JdiDefaultExecutionControl.java:103)
                        jdk.jshell/jdk.jshell.execution.JdiExecutionControlProvider.generate(JdiExecutionControlProvider.java:152)
            cause: java.util.concurrent.TimeoutException
      FailOverExecutionControlProvider: FAILED: 7: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=49633, localAddress=localAddress=}
                        jdk.jshell/jdk.jshell.execution.JdiInitiator.reportLaunchFail(JdiInitiator.java:300)
                        jdk.jshell/jdk.jshell.execution.JdiInitiator.listenTarget(JdiInitiator.java:199)
                        jdk.jshell/jdk.jshell.execution.JdiInitiator.<init>(JdiInitiator.java:111)
                        jdk.jshell/jdk.jshell.execution.JdiDefaultExecutionControl.create(JdiDefaultExecutionControl.java:103)
                        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:139)
      at jdk.jshell/jdk.jshell.JShell$Builder.build(JShell.java:405)
      at KullaTesting.setUp(KullaTesting.java:197)
      at FailOverExecutionControlHangingListenTest.setUp(FailOverExecutionControlHangingListenTest.java:46)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
      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:64)
      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.RuntimeException: FailOverExecutionControlProvider: FAILED: 0:jdi:remoteAgent(HangingRemoteAgent),hostname(127.0.0.1) --
        Exception: java.net.SocketTimeoutException: Accept timed out
                        java.base/sun.nio.ch.NioSocketImpl.timedAccept(NioSocketImpl.java:708)
                        java.base/sun.nio.ch.NioSocketImpl.accept(NioSocketImpl.java:752)
                        java.base/java.net.ServerSocket.implAccept(ServerSocket.java:684)
                        java.base/java.net.ServerSocket.platformImplAccept(ServerSocket.java:650)
                        java.base/java.net.ServerSocket.implAccept(ServerSocket.java:626)
      FailOverExecutionControlProvider: FAILED: 5: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=49628, localAddress=localAddress=127.0.0.1}
                        jdk.jshell/jdk.jshell.execution.JdiInitiator.reportLaunchFail(JdiInitiator.java:300)
                        jdk.jshell/jdk.jshell.execution.JdiInitiator.listenTarget(JdiInitiator.java:199)
                        jdk.jshell/jdk.jshell.execution.JdiInitiator.<init>(JdiInitiator.java:111)
                        jdk.jshell/jdk.jshell.execution.JdiDefaultExecutionControl.create(JdiDefaultExecutionControl.java:103)
                        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: 6:jdi:launch(true) --
        Exception: java.lang.InternalError: Failed remote launch: java.util.concurrent.TimeoutException @ com.sun.jdi.CommandLineLaunch (defaults: home=/scratch/mesos/jib-master/install/jdk-16+12-466/macosx-x64.jdk/jdk-16.jdk/Contents/Home, options=, main=, suspend=true, quote=", vmexec=java) -- {home=home=/scratch/mesos/jib-master/install/jdk-16+12-466/macosx-x64.jdk/jdk-16.jdk/Contents/Home, options=options=, main=main=jdk.jshell.execution.RemoteExecutionControl 49629, suspend=suspend=true, quote=quote=", vmexec=vmexec=java}
                        jdk.jshell/jdk.jshell.execution.JdiInitiator.reportLaunchFail(JdiInitiator.java:300)
                        jdk.jshell/jdk.jshell.execution.JdiInitiator.launchTarget(JdiInitiator.java:141)
                        jdk.jshell/jdk.jshell.execution.JdiInitiator.<init>(JdiInitiator.java:110)
                        jdk.jshell/jdk.jshell.execution.JdiDefaultExecutionControl.create(JdiDefaultExecutionControl.java:103)
                        jdk.jshell/jdk.jshell.execution.JdiExecutionControlProvider.generate(JdiExecutionControlProvider.java:152)
            cause: java.util.concurrent.TimeoutException
      FailOverExecutionControlProvider: FAILED: 7: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=49633, localAddress=localAddress=}
                        jdk.jshell/jdk.jshell.execution.JdiInitiator.reportLaunchFail(JdiInitiator.java:300)
                        jdk.jshell/jdk.jshell.execution.JdiInitiator.listenTarget(JdiInitiator.java:199)
                        jdk.jshell/jdk.jshell.execution.JdiInitiator.<init>(JdiInitiator.java:111)
                        jdk.jshell/jdk.jshell.execution.JdiDefaultExecutionControl.create(JdiDefaultExecutionControl.java:103)
                        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.execution.FailOverExecutionControlProvider.generate(FailOverExecutionControlProvider.java:139)
      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.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=49633, localAddress=localAddress=}
      at jdk.jshell/jdk.jshell.execution.JdiInitiator.reportLaunchFail(JdiInitiator.java:300)
      at jdk.jshell/jdk.jshell.execution.JdiInitiator.listenTarget(JdiInitiator.java:199)
      at jdk.jshell/jdk.jshell.execution.JdiInitiator.<init>(JdiInitiator.java:111)
      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.execution.FailOverExecutionControlProvider.generate(FailOverExecutionControlProvider.java:105)
      ... 36 more
      Caused by: java.util.concurrent.ExecutionException: com.sun.jdi.connect.TransportTimeoutException: timeout waiting for connection
      at java.base/java.util.concurrent.FutureTask.report(FutureTask.java:122)
      at java.base/java.util.concurrent.FutureTask.get(FutureTask.java:205)
      at jdk.jshell/jdk.jshell.execution.JdiInitiator.timedVirtualMachineCreation(JdiInitiator.java:244)
      at jdk.jshell/jdk.jshell.execution.JdiInitiator.listenTarget(JdiInitiator.java:176)
      ... 42 more
      Caused by: com.sun.jdi.connect.TransportTimeoutException: timeout waiting for connection
      at jdk.jdi/com.sun.tools.jdi.SocketTransportService.accept(SocketTransportService.java:377)
      at jdk.jdi/com.sun.tools.jdi.GenericListeningConnector.accept(GenericListeningConnector.java:155)
      at jdk.jshell/jdk.jshell.execution.JdiInitiator.lambda$listenTarget$1(JdiInitiator.java:176)
      at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
      at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)
      at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630)
      ... 1 more
      test ExecutionControlTestBase.variables(): skip
      config KullaTesting.tearDown(): skip

      ===============================================
      jdk/jshell/FailOverExecutionControlHangingListenTest.java
      Total tests run: 6, Failures: 0, Skips: 1
      Configuration Failures: 1, Skips: 1
      ===============================================

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated: