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

serviceability/dcmd/framework/VMVersionTest.java fails with connection refused error.

    Details

    • Subcomponent:
    • CPU:
      x86_64
    • OS:
      os_x

      Description

      Running DCMD 'VM.version' through 'JMXExecutor'
      ---------------- stdout ----------------
      Java HotSpot(TM) 64-Bit Server VM version 15-ea+6-109
      JDK 15.0.0

      ---------------- stderr ----------------

      ----------------------------------------

      test VMVersionTest.jmx(): success
      debugee.stdout> Test Java process started!
      debugee.stderr> Exception in thread "main" nsk.share.Failure: Unable to attach for IOPipe connection to localhost:49196 for 120000ms timeout:
      debugee.stderr> java.net.ConnectException: Connection refused
      debugee.stderr> at nsk.share.jpda.BasicSocketConnection.continueAttach(SocketConnection.java:281)
      debugee.stderr> at nsk.share.jpda.SocketConnection.continueAttach(SocketConnection.java:485)
      debugee.stderr> at nsk.share.jpda.SocketIOPipe.connect(SocketIOPipe.java:240)
      debugee.stderr> at nsk.share.jpda.IOPipe.connect(IOPipe.java:88)
      debugee.stderr> at nsk.share.jpda.SocketIOPipe.println(SocketIOPipe.java:181)
      debugee.stderr> at process.TestJavaProcess.main(TestJavaProcess.java:47)
      test VMVersionTest.mainClass(): failure
      nsk.share.Failure: Unable to send object throw not established IOPipe connection:
      quit
      at nsk.share.jpda.SocketConnection.writeObject(SocketConnection.java:564)
      at nsk.share.jpda.SocketIOPipe.println(SocketIOPipe.java:183)
      at TestProcessLauncher.quit(TestProcessLauncher.java:80)
      at VMVersionTest.mainClass(VMVersionTest.java:68)
      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.invokeMethod(Invoker.java:639)
      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 com.sun.javatest.regtest.agent.TestNGRunner.main(TestNGRunner.java:54)
      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.MainWrapper$MainThread.run(MainWrapper.java:127)
      at java.base/java.lang.Thread.run(Thread.java:832)
      debugee.stdout> Test Java process started!
      debugee.stdout> Waiting for the quit command from the test ...

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                dtitov Daniil Titov (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: