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

sun/management/jmxremote/bootstrap/LocalManagementTest.java failed with ConnectException: Connection refused to host

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 23
    • core-svc

      The following test failed in the JDK23 CI:

      sun/management/jmxremote/bootstrap/LocalManagementTest.java

      Here's a snippet from the log file:

      #section:main
      ----------messages:(7/428)----------
      command: main LocalManagementTest
      reason: User specified action: run main/othervm/timeout=300 LocalManagementTest
      started: Fri Mar 08 16:14:43 UTC 2024
      Mode: othervm [/othervm specified]
      Additional options from @modules: --add-modules java.management,jdk.attach,jdk.management.agent --add-exports jdk.management.agent/jdk.internal.agent=ALL-UNNAMED
      finished: Fri Mar 08 16:23:32 UTC 2024
      elapsed time (seconds): 528.955
      ----------configuration:(4/147)----------
      Boot Layer
        add modules: java.management jdk.attach jdk.management.agent
        add exports: jdk.management.agent/jdk.internal.agent ALL-UNNAMED

      ----------System.out:(65/24401)*----------
      test3
      ==========
      Command line: [c:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-23+14-990\\windows-x64-debug.jdk\\jdk-23\\fastdebug\\bin\\java.exe -cp C:\\sb\\prod\\1709911657\\testoutput\\test-support\\jtreg_open_test_jdk_jdk_management\\classes\\4\\sun\\management\\jmxremote\\bootstrap\\LocalManagementTest.d;C:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-23+14-990\\src.full\\open\\test\\jdk\\sun\\management\\jmxremote\\bootstrap;C:\\sb\\prod\\1709911657\\testoutput\\test-support\\jtreg_open_test_jdk_jdk_management\\classes\\4\\test\\lib;C:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-23+14-990\\src.full\\open\\test\\lib;C:\\ade\\mesos\\work_dir\\jib-master\\install\\jtreg\\7.3.1\\1\\bundles\\jtreg-7.3.1+1.zip\\jtreg\\lib\\jtreg.jar -Xmx768m -XX:MaxRAMPercentage=4.16667 -Dtest.boot.jdk=c:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk\\21\\35\\bundles\\windows-x64\\jdk-21_windows-x64_bin.zip\\jdk-21 -Djava.io.tmpdir=c:\\sb\\prod\\1709911657\\testoutput\\test-support\\jtreg_open_test_jdk_jdk_management\\tmp -XX:+CreateCoredumpOnCrash -ea -esa -Xcomp -ea -esa -XX:CompileThreshold=100 -XX:+UnlockExperimentalVMOptions -server -XX:+TieredCompilation -XX:+UsePerfData -Xmx768m -XX:MaxRAMPercentage=4.16667 -Dtest.boot.jdk=c:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk\\21\\35\\bundles\\windows-x64\\jdk-21_windows-x64_bin.zip\\jdk-21 -Djava.io.tmpdir=c:\\sb\\prod\\1709911657\\testoutput\\test-support\\jtreg_open_test_jdk_jdk_management\\tmp -XX:+CreateCoredumpOnCrash -ea -esa -Xcomp -ea -esa -XX:CompileThreshold=100 -XX:+UnlockExperimentalVMOptions -server -XX:+TieredCompilation -cp C:\\sb\\prod\\1709911657\\testoutput\\test-support\\jtreg_open_test_jdk_jdk_management\\classes\\4\\sun\\management\\jmxremote\\bootstrap\\LocalManagementTest.d;C:\\sb\\prod\\1709911657\\testoutput\\test-support\\jtreg_open_test_jdk_jdk_management\\classes\\4\\test\\lib TestApplication ]
      [TestApplication(3)]:c:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-23+14-990\\windows-x64-debug.jdk\\jdk-23\\fastdebug\\bin\\java.exe -cp C:\\sb\\prod\\1709911657\\testoutput\\test-support\\jtreg_open_test_jdk_jdk_management\\classes\\4\\sun\\management\\jmxremote\\bootstrap\\LocalManagementTest.d;C:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-23+14-990\\src.full\\open\\test\\jdk\\sun\\management\\jmxremote\\bootstrap;C:\\sb\\prod\\1709911657\\testoutput\\test-support\\jtreg_open_test_jdk_jdk_management\\classes\\4\\test\\lib;C:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-23+14-990\\src.full\\open\\test\\lib;C:\\ade\\mesos\\work_dir\\jib-master\\install\\jtreg\\7.3.1\\1\\bundles\\jtreg-7.3.1+1.zip\\jtreg\\lib\\jtreg.jar -Xmx768m -XX:MaxRAMPercentage=4.16667 -Dtest.boot.jdk=c:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk\\21\\35\\bundles\\windows-x64\\jdk-21_windows-x64_bin.zip\\jdk-21 -Djava.io.tmpdir=c:\\sb\\prod\\1709911657\\testoutput\\test-support\\jtreg_open_test_jdk_jdk_management\\tmp -XX:+CreateCoredumpOnCrash -ea -esa -Xcomp -ea -esa -XX:CompileThreshold=100 -XX:+UnlockExperimentalVMOptions -server -XX:+TieredCompilation -XX:+UsePerfData -Xmx768m -XX:MaxRAMPercentage=4.16667 -Dtest.boot.jdk=c:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk\\21\\35\\bundles\\windows-x64\\jdk-21_windows-x64_bin.zip\\jdk-21 -Djava.io.tmpdir=c:\\sb\\prod\\1709911657\\testoutput\\test-support\\jtreg_open_test_jdk_jdk_management\\tmp -XX:+CreateCoredumpOnCrash -ea -esa -Xcomp -ea -esa -XX:CompileThreshold=100 -XX:+UnlockExperimentalVMOptions -server -XX:+TieredCompilation -cp C:\\sb\\prod\\1709911657\\testoutput\\test-support\\jtreg_open_test_jdk_jdk_management\\classes\\4\\sun\\management\\jmxremote\\bootstrap\\LocalManagementTest.d;C:\\sb\\prod\\1709911657\\testoutput\\test-support\\jtreg_open_test_jdk_jdk_management\\classes\\4\\test\\lib TestApplication
      [TestApplication(3)] port:51018
      [TestApplication(3)] waiting for the manager ...
      Attaching test manager:
      =========================
        PID : 52152
        shutdown port : 51018
      Command line: [c:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-23+14-990\\windows-x64-debug.jdk\\jdk-23\\fastdebug\\bin\\java.exe -cp C:\\sb\\prod\\1709911657\\testoutput\\test-support\\jtreg_open_test_jdk_jdk_management\\classes\\4\\sun\\management\\jmxremote\\bootstrap\\LocalManagementTest.d;C:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-23+14-990\\src.full\\open\\test\\jdk\\sun\\management\\jmxremote\\bootstrap;C:\\sb\\prod\\1709911657\\testoutput\\test-support\\jtreg_open_test_jdk_jdk_management\\classes\\4\\test\\lib;C:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-23+14-990\\src.full\\open\\test\\lib;C:\\ade\\mesos\\work_dir\\jib-master\\install\\jtreg\\7.3.1\\1\\bundles\\jtreg-7.3.1+1.zip\\jtreg\\lib\\jtreg.jar -Xmx768m -XX:MaxRAMPercentage=4.16667 -Dtest.boot.jdk=c:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk\\21\\35\\bundles\\windows-x64\\jdk-21_windows-x64_bin.zip\\jdk-21 -Djava.io.tmpdir=c:\\sb\\prod\\1709911657\\testoutput\\test-support\\jtreg_open_test_jdk_jdk_management\\tmp -XX:+CreateCoredumpOnCrash -ea -esa -Xcomp -ea -esa -XX:CompileThreshold=100 -XX:+UnlockExperimentalVMOptions -server -XX:+TieredCompilation -cp C:\\sb\\prod\\1709911657\\testoutput\\test-support\\jtreg_open_test_jdk_jdk_management\\classes\\4\\sun\\management\\jmxremote\\bootstrap\\LocalManagementTest.d;C:\\sb\\prod\\1709911657\\testoutput\\test-support\\jtreg_open_test_jdk_jdk_management\\classes\\4\\test\\lib --add-exports jdk.management.agent/jdk.internal.agent=ALL-UNNAMED TestManager 52152 51018 true ]
      [TestManager]:c:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-23+14-990\\windows-x64-debug.jdk\\jdk-23\\fastdebug\\bin\\java.exe -cp C:\\sb\\prod\\1709911657\\testoutput\\test-support\\jtreg_open_test_jdk_jdk_management\\classes\\4\\sun\\management\\jmxremote\\bootstrap\\LocalManagementTest.d;C:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-23+14-990\\src.full\\open\\test\\jdk\\sun\\management\\jmxremote\\bootstrap;C:\\sb\\prod\\1709911657\\testoutput\\test-support\\jtreg_open_test_jdk_jdk_management\\classes\\4\\test\\lib;C:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-23+14-990\\src.full\\open\\test\\lib;C:\\ade\\mesos\\work_dir\\jib-master\\install\\jtreg\\7.3.1\\1\\bundles\\jtreg-7.3.1+1.zip\\jtreg\\lib\\jtreg.jar -Xmx768m -XX:MaxRAMPercentage=4.16667 -Dtest.boot.jdk=c:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk\\21\\35\\bundles\\windows-x64\\jdk-21_windows-x64_bin.zip\\jdk-21 -Djava.io.tmpdir=c:\\sb\\prod\\1709911657\\testoutput\\test-support\\jtreg_open_test_jdk_jdk_management\\tmp -XX:+CreateCoredumpOnCrash -ea -esa -Xcomp -ea -esa -XX:CompileThreshold=100 -XX:+UnlockExperimentalVMOptions -server -XX:+TieredCompilation -cp C:\\sb\\prod\\1709911657\\testoutput\\test-support\\jtreg_open_test_jdk_jdk_management\\classes\\4\\sun\\management\\jmxremote\\bootstrap\\LocalManagementTest.d;C:\\sb\\prod\\1709911657\\testoutput\\test-support\\jtreg_open_test_jdk_jdk_management\\classes\\4\\test\\lib --add-exports jdk.management.agent/jdk.internal.agent=ALL-UNNAMED TestManager 52152 51018 true
      [TestManager] Starting TestManager for PID = 52152
      [TestManager] Testing the connector address from agent properties
      [TestManager] Connect to process 52152 via: service:jmx:rmi://127.0.0.1/stub/rO0ABXNyAC5qYXZheC5tYW5hZ2VtZW50LnJlbW90ZS5ybWkuUk1JU2VydmVySW1wbF9TdHViAAAAAAAAAAICAAB4cgAaamF2YS5ybWkuc2VydmVyLlJlbW90ZVN0dWLp/tzJi+FlGgIAAHhyABxqYXZhLnJtaS5zZXJ2ZXIuUmVtb3RlT2JqZWN002G0kQxhMx4DAAB4cHc6AAtVbmljYXN0UmVmMgAADzEwMC4xMDEuMTk5LjIwNAAAx3w2m/T3NBuYD8i9j88AAAGOHtqbw4ABAHg=
      [TestManager] Connected.
      [TestManager] 52152@win2022-x64-322095
      [TestManager] Testing the connector address from jvmstat buffer
      [TestManager] Connect to process 52152 via: service:jmx:rmi://127.0.0.1/stub/rO0ABXNyAC5qYXZheC5tYW5hZ2VtZW50LnJlbW90ZS5ybWkuUk1JU2VydmVySW1wbF9TdHViAAAAAAAAAAICAAB4cgAaamF2YS5ybWkuc2VydmVyLlJlbW90ZVN0dWLp/tzJi+FlGgIAAHhyABxqYXZhLnJtaS5zZXJ2ZXIuUmVtb3RlT2JqZWN002G0kQxhMx4DAAB4cHc6AAtVbmljYXN0UmVmMgAADzEwMC4xMDEuMTk5LjIwNAAAx3w2m/T3NBuYD8i9j88AAAGOHtqbw4ABAHg=
      [TestManager] Connected.
      [TestManager] 52152@win2022-x64-322095
      [TestManager] Shutdown process via TCP port: 51018
      Stopping process jdk.test.lib.process.ProcessTools$ProcessImpl@46d765e
      Stopping process jdk.test.lib.process.ProcessTools$ProcessImpl@bb1d7a7
      test1
      ==========
      Command line: [c:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-23+14-990\\windows-x64-debug.jdk\\jdk-23\\fastdebug\\bin\\java.exe -cp C:\\sb\\prod\\1709911657\\testoutput\\test-support\\jtreg_open_test_jdk_jdk_management\\classes\\4\\sun\\management\\jmxremote\\bootstrap\\LocalManagementTest.d;C:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-23+14-990\\src.full\\open\\test\\jdk\\sun\\management\\jmxremote\\bootstrap;C:\\sb\\prod\\1709911657\\testoutput\\test-support\\jtreg_open_test_jdk_jdk_management\\classes\\4\\test\\lib;C:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-23+14-990\\src.full\\open\\test\\lib;C:\\ade\\mesos\\work_dir\\jib-master\\install\\jtreg\\7.3.1\\1\\bundles\\jtreg-7.3.1+1.zip\\jtreg\\lib\\jtreg.jar -Xmx768m -XX:MaxRAMPercentage=4.16667 -Dtest.boot.jdk=c:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk\\21\\35\\bundles\\windows-x64\\jdk-21_windows-x64_bin.zip\\jdk-21 -Djava.io.tmpdir=c:\\sb\\prod\\1709911657\\testoutput\\test-support\\jtreg_open_test_jdk_jdk_management\\tmp -XX:+CreateCoredumpOnCrash -ea -esa -Xcomp -ea -esa -XX:CompileThreshold=100 -XX:+UnlockExperimentalVMOptions -server -XX:+TieredCompilation -XX:+UsePerfData -Xmx768m -XX:MaxRAMPercentage=4.16667 -Dtest.boot.jdk=c:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk\\21\\35\\bundles\\windows-x64\\jdk-21_windows-x64_bin.zip\\jdk-21 -Djava.io.tmpdir=c:\\sb\\prod\\1709911657\\testoutput\\test-support\\jtreg_open_test_jdk_jdk_management\\tmp -XX:+CreateCoredumpOnCrash -ea -esa -Xcomp -ea -esa -XX:CompileThreshold=100 -XX:+UnlockExperimentalVMOptions -server -XX:+TieredCompilation -cp C:\\sb\\prod\\1709911657\\testoutput\\test-support\\jtreg_open_test_jdk_jdk_management\\classes\\4\\sun\\management\\jmxremote\\bootstrap\\LocalManagementTest.d;C:\\sb\\prod\\1709911657\\testoutput\\test-support\\jtreg_open_test_jdk_jdk_management\\classes\\4\\test\\lib -Dcom.sun.management.jmxremote TestApplication ]
      [TestApplication(1)]:c:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-23+14-990\\windows-x64-debug.jdk\\jdk-23\\fastdebug\\bin\\java.exe -cp C:\\sb\\prod\\1709911657\\testoutput\\test-support\\jtreg_open_test_jdk_jdk_management\\classes\\4\\sun\\management\\jmxremote\\bootstrap\\LocalManagementTest.d;C:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-23+14-990\\src.full\\open\\test\\jdk\\sun\\management\\jmxremote\\bootstrap;C:\\sb\\prod\\1709911657\\testoutput\\test-support\\jtreg_open_test_jdk_jdk_management\\classes\\4\\test\\lib;C:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-23+14-990\\src.full\\open\\test\\lib;C:\\ade\\mesos\\work_dir\\jib-master\\install\\jtreg\\7.3.1\\1\\bundles\\jtreg-7.3.1+1.zip\\jtreg\\lib\\jtreg.jar -Xmx768m -XX:MaxRAMPercentage=4.16667 -Dtest.boot.jdk=c:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk\\21\\35\\bundles\\windows-x64\\jdk-21_windows-x64_bin.zip\\jdk-21 -Djava.io.tmpdir=c:\\sb\\prod\\1709911657\\testoutput\\test-support\\jtreg_open_test_jdk_jdk_management\\tmp -XX:+CreateCoredumpOnCrash -ea -esa -Xcomp -ea -esa -XX:CompileThreshold=100 -XX:+UnlockExperimentalVMOptions -server -XX:+TieredCompilation -XX:+UsePerfData -Xmx768m -XX:MaxRAMPercentage=4.16667 -Dtest.boot.jdk=c:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk\\21\\35\\bundles\\windows-x64\\jdk-21_windows-x64_bin.zip\\jdk-21 -Djava.io.tmpdir=c:\\sb\\prod\\1709911657\\testoutput\\test-support\\jtreg_open_test_jdk_jdk_management\\tmp -XX:+CreateCoredumpOnCrash -ea -esa -Xcomp -ea -esa -XX:CompileThreshold=100 -XX:+UnlockExperimentalVMOptions -server -XX:+TieredCompilation -cp C:\\sb\\prod\\1709911657\\testoutput\\test-support\\jtreg_open_test_jdk_jdk_management\\classes\\4\\sun\\management\\jmxremote\\bootstrap\\LocalManagementTest.d;C:\\sb\\prod\\1709911657\\testoutput\\test-support\\jtreg_open_test_jdk_jdk_management\\classes\\4\\test\\lib -Dcom.sun.management.jmxremote TestApplication
      [TestApplication(1)] port:51127
      [TestApplication(1)] waiting for the manager ...
      Attaching test manager:
      =========================
        PID : 33536
        shutdown port : 51127
      Command line: [c:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-23+14-990\\windows-x64-debug.jdk\\jdk-23\\fastdebug\\bin\\java.exe -cp C:\\sb\\prod\\1709911657\\testoutput\\test-support\\jtreg_open_test_jdk_jdk_management\\classes\\4\\sun\\management\\jmxremote\\bootstrap\\LocalManagementTest.d;C:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-23+14-990\\src.full\\open\\test\\jdk\\sun\\management\\jmxremote\\bootstrap;C:\\sb\\prod\\1709911657\\testoutput\\test-support\\jtreg_open_test_jdk_jdk_management\\classes\\4\\test\\lib;C:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-23+14-990\\src.full\\open\\test\\lib;C:\\ade\\mesos\\work_dir\\jib-master\\install\\jtreg\\7.3.1\\1\\bundles\\jtreg-7.3.1+1.zip\\jtreg\\lib\\jtreg.jar -Xmx768m -XX:MaxRAMPercentage=4.16667 -Dtest.boot.jdk=c:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk\\21\\35\\bundles\\windows-x64\\jdk-21_windows-x64_bin.zip\\jdk-21 -Djava.io.tmpdir=c:\\sb\\prod\\1709911657\\testoutput\\test-support\\jtreg_open_test_jdk_jdk_management\\tmp -XX:+CreateCoredumpOnCrash -ea -esa -Xcomp -ea -esa -XX:CompileThreshold=100 -XX:+UnlockExperimentalVMOptions -server -XX:+TieredCompilation -cp C:\\sb\\prod\\1709911657\\testoutput\\test-support\\jtreg_open_test_jdk_jdk_management\\classes\\4\\sun\\management\\jmxremote\\bootstrap\\LocalManagementTest.d;C:\\sb\\prod\\1709911657\\testoutput\\test-support\\jtreg_open_test_jdk_jdk_management\\classes\\4\\test\\lib --add-exports jdk.management.agent/jdk.internal.agent=ALL-UNNAMED TestManager 33536 51127 true ]
      [TestManager]:c:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-23+14-990\\windows-x64-debug.jdk\\jdk-23\\fastdebug\\bin\\java.exe -cp C:\\sb\\prod\\1709911657\\testoutput\\test-support\\jtreg_open_test_jdk_jdk_management\\classes\\4\\sun\\management\\jmxremote\\bootstrap\\LocalManagementTest.d;C:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-23+14-990\\src.full\\open\\test\\jdk\\sun\\management\\jmxremote\\bootstrap;C:\\sb\\prod\\1709911657\\testoutput\\test-support\\jtreg_open_test_jdk_jdk_management\\classes\\4\\test\\lib;C:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-23+14-990\\src.full\\open\\test\\lib;C:\\ade\\mesos\\work_dir\\jib-master\\install\\jtreg\\7.3.1\\1\\bundles\\jtreg-7.3.1+1.zip\\jtreg\\lib\\jtreg.jar -Xmx768m -XX:MaxRAMPercentage=4.16667 -Dtest.boot.jdk=c:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk\\21\\35\\bundles\\windows-x64\\jdk-21_windows-x64_bin.zip\\jdk-21 -Djava.io.tmpdir=c:\\sb\\prod\\1709911657\\testoutput\\test-support\\jtreg_open_test_jdk_jdk_management\\tmp -XX:+CreateCoredumpOnCrash -ea -esa -Xcomp -ea -esa -XX:CompileThreshold=100 -XX:+UnlockExperimentalVMOptions -server -XX:+TieredCompilation -cp C:\\sb\\prod\\1709911657\\testoutput\\test-support\\jtreg_open_test_jdk_jdk_management\\classes\\4\\sun\\management\\jmxremote\\bootstrap\\LocalManagementTest.d;C:\\sb\\prod\\1709911657\\testoutput\\test-support\\jtreg_open_test_jdk_jdk_management\\classes\\4\\test\\lib --add-exports jdk.management.agent/jdk.internal.agent=ALL-UNNAMED TestManager 33536 51127 true
      [TestManager] Starting TestManager for PID = 33536
      [TestManager] Testing the connector address from agent properties
      [TestManager] Connect to process 33536 via: service:jmx:rmi://127.0.0.1/stub/rO0ABXNyAC5qYXZheC5tYW5hZ2VtZW50LnJlbW90ZS5ybWkuUk1JU2VydmVySW1wbF9TdHViAAAAAAAAAAICAAB4cgAaamF2YS5ybWkuc2VydmVyLlJlbW90ZVN0dWLp/tzJi+FlGgIAAHhyABxqYXZhLnJtaS5zZXJ2ZXIuUmVtb3RlT2JqZWN002G0kQxhMx4DAAB4cHc6AAtVbmljYXN0UmVmMgAADzEwMC4xMDEuMTk5LjIwNAAAx7ZCgQfMwg4QcTF5rVwAAAGOHtyj9oABAHg=
      Stopping process jdk.test.lib.process.ProcessTools$ProcessImpl@4a4f3f77
      Stopping process jdk.test.lib.process.ProcessTools$ProcessImpl@15d02164
      test5
      ==========
      Command line: [c:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-23+14-990\\windows-x64-debug.jdk\\jdk-23\\fastdebug\\bin\\java.exe -cp C:\\sb\\prod\\1709911657\\testoutput\\test-support\\jtreg_open_test_jdk_jdk_management\\classes\\4\\sun\\management\\jmxremote\\bootstrap\\LocalManagementTest.d;C:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-23+14-990\\src.full\\open\\test\\jdk\\sun\\management\\jmxremote\\bootstrap;C:\\sb\\prod\\1709911657\\testoutput\\test-support\\jtreg_open_test_jdk_jdk_management\\classes\\4\\test\\lib;C:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-23+14-990\\src.full\\open\\test\\lib;C:\\ade\\mesos\\work_dir\\jib-master\\install\\jtreg\\7.3.1\\1\\bundles\\jtreg-7.3.1+1.zip\\jtreg\\lib\\jtreg.jar -Xmx768m -XX:MaxRAMPercentage=4.16667 -Dtest.boot.jdk=c:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk\\21\\35\\bundles\\windows-x64\\jdk-21_windows-x64_bin.zip\\jdk-21 -Djava.io.tmpdir=c:\\sb\\prod\\1709911657\\testoutput\\test-support\\jtreg_open_test_jdk_jdk_management\\tmp -XX:+CreateCoredumpOnCrash -ea -esa -Xcomp -ea -esa -XX:CompileThreshold=100 -XX:+UnlockExperimentalVMOptions -server -XX:+TieredCompilation -XX:+UsePerfData -Xmx768m -XX:MaxRAMPercentage=4.16667 -Dtest.boot.jdk=c:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk\\21\\35\\bundles\\windows-x64\\jdk-21_windows-x64_bin.zip\\jdk-21 -Djava.io.tmpdir=c:\\sb\\prod\\1709911657\\testoutput\\test-support\\jtreg_open_test_jdk_jdk_management\\tmp -XX:+CreateCoredumpOnCrash -ea -esa -Xcomp -ea -esa -XX:CompileThreshold=100 -XX:+UnlockExperimentalVMOptions -server -XX:+TieredCompilation -cp C:\\sb\\prod\\1709911657\\testoutput\\test-support\\jtreg_open_test_jdk_jdk_management\\classes\\4\\sun\\management\\jmxremote\\bootstrap\\LocalManagementTest.d;C:\\sb\\prod\\1709911657\\testoutput\\test-support\\jtreg_open_test_jdk_jdk_management\\classes\\4\\test\\lib -Dsun.net.spi.namservice.provider.1="dns,sun" TestApplication ]
      [TestApplication(5)]:c:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-23+14-990\\windows-x64-debug.jdk\\jdk-23\\fastdebug\\bin\\java.exe -cp C:\\sb\\prod\\1709911657\\testoutput\\test-support\\jtreg_open_test_jdk_jdk_management\\classes\\4\\sun\\management\\jmxremote\\bootstrap\\LocalManagementTest.d;C:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-23+14-990\\src.full\\open\\test\\jdk\\sun\\management\\jmxremote\\bootstrap;C:\\sb\\prod\\1709911657\\testoutput\\test-support\\jtreg_open_test_jdk_jdk_management\\classes\\4\\test\\lib;C:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-23+14-990\\src.full\\open\\test\\lib;C:\\ade\\mesos\\work_dir\\jib-master\\install\\jtreg\\7.3.1\\1\\bundles\\jtreg-7.3.1+1.zip\\jtreg\\lib\\jtreg.jar -Xmx768m -XX:MaxRAMPercentage=4.16667 -Dtest.boot.jdk=c:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk\\21\\35\\bundles\\windows-x64\\jdk-21_windows-x64_bin.zip\\jdk-21 -Djava.io.tmpdir=c:\\sb\\prod\\1709911657\\testoutput\\test-support\\jtreg_open_test_jdk_jdk_management\\tmp -XX:+CreateCoredumpOnCrash -ea -esa -Xcomp -ea -esa -XX:CompileThreshold=100 -XX:+UnlockExperimentalVMOptions -server -XX:+TieredCompilation -XX:+UsePerfData -Xmx768m -XX:MaxRAMPercentage=4.16667 -Dtest.boot.jdk=c:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk\\21\\35\\bundles\\windows-x64\\jdk-21_windows-x64_bin.zip\\jdk-21 -Djava.io.tmpdir=c:\\sb\\prod\\1709911657\\testoutput\\test-support\\jtreg_open_test_jdk_jdk_management\\tmp -XX:+CreateCoredumpOnCrash -ea -esa -Xcomp -ea -esa -XX:CompileThreshold=100 -XX:+UnlockExperimentalVMOptions -server -XX:+TieredCompilation -cp C:\\sb\\prod\\1709911657\\testoutput\\test-support\\jtreg_open_test_jdk_jdk_management\\classes\\4\\sun\\management\\jmxremote\\bootstrap\\LocalManagementTest.d;C:\\sb\\prod\\1709911657\\testoutput\\test-support\\jtreg_open_test_jdk_jdk_management\\classes\\4\\test\\lib -Dsun.net.spi.namservice.provider.1="dns,sun" TestApplication
      [TestApplication(5)] port:51169
      [TestApplication(5)] waiting for the manager ...
      Attaching test manager:
      =========================
        PID : 40136
        shutdown port : 51169
      Command line: [c:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-23+14-990\\windows-x64-debug.jdk\\jdk-23\\fastdebug\\bin\\java.exe -cp C:\\sb\\prod\\1709911657\\testoutput\\test-support\\jtreg_open_test_jdk_jdk_management\\classes\\4\\sun\\management\\jmxremote\\bootstrap\\LocalManagementTest.d;C:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-23+14-990\\src.full\\open\\test\\jdk\\sun\\management\\jmxremote\\bootstrap;C:\\sb\\prod\\1709911657\\testoutput\\test-support\\jtreg_open_test_jdk_jdk_management\\classes\\4\\test\\lib;C:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-23+14-990\\src.full\\open\\test\\lib;C:\\ade\\mesos\\work_dir\\jib-master\\install\\jtreg\\7.3.1\\1\\bundles\\jtreg-7.3.1+1.zip\\jtreg\\lib\\jtreg.jar -Xmx768m -XX:MaxRAMPercentage=4.16667 -Dtest.boot.jdk=c:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk\\21\\35\\bundles\\windows-x64\\jdk-21_windows-x64_bin.zip\\jdk-21 -Djava.io.tmpdir=c:\\sb\\prod\\1709911657\\testoutput\\test-support\\jtreg_open_test_jdk_jdk_management\\tmp -XX:+CreateCoredumpOnCrash -ea -esa -Xcomp -ea -esa -XX:CompileThreshold=100 -XX:+UnlockExperimentalVMOptions -server -XX:+TieredCompilation -cp C:\\sb\\prod\\1709911657\\testoutput\\test-support\\jtreg_open_test_jdk_jdk_management\\classes\\4\\sun\\management\\jmxremote\\bootstrap\\LocalManagementTest.d;C:\\sb\\prod\\1709911657\\testoutput\\test-support\\jtreg_open_test_jdk_jdk_management\\classes\\4\\test\\lib --add-exports jdk.management.agent/jdk.internal.agent=ALL-UNNAMED TestManager 40136 51169 true ]
      [TestManager]:c:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-23+14-990\\windows-x64-debug.jdk\\jdk-23\\fastdebug\\bin\\java.exe -cp C:\\sb\\prod\\1709911657\\testoutput\\test-support\\jtreg_open_test_jdk_jdk_management\\classes\\4\\sun\\management\\jmxremote\\bootstrap\\LocalManagementTest.d;C:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-23+14-990\\src.full\\open\\test\\jdk\\sun\\management\\jmxremote\\bootstrap;C:\\sb\\prod\\1709911657\\testoutput\\test-support\\jtreg_open_test_jdk_jdk_management\\classes\\4\\test\\lib;C:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-23+14-990\\src.full\\open\\test\\lib;C:\\ade\\mesos\\work_dir\\jib-master\\install\\jtreg\\7.3.1\\1\\bundles\\jtreg-7.3.1+1.zip\\jtreg\\lib\\jtreg.jar -Xmx768m -XX:MaxRAMPercentage=4.16667 -Dtest.boot.jdk=c:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk\\21\\35\\bundles\\windows-x64\\jdk-21_windows-x64_bin.zip\\jdk-21 -Djava.io.tmpdir=c:\\sb\\prod\\1709911657\\testoutput\\test-support\\jtreg_open_test_jdk_jdk_management\\tmp -XX:+CreateCoredumpOnCrash -ea -esa -Xcomp -ea -esa -XX:CompileThreshold=100 -XX:+UnlockExperimentalVMOptions -server -XX:+TieredCompilation -cp C:\\sb\\prod\\1709911657\\testoutput\\test-support\\jtreg_open_test_jdk_jdk_management\\classes\\4\\sun\\management\\jmxremote\\bootstrap\\LocalManagementTest.d;C:\\sb\\prod\\1709911657\\testoutput\\test-support\\jtreg_open_test_jdk_jdk_management\\classes\\4\\test\\lib --add-exports jdk.management.agent/jdk.internal.agent=ALL-UNNAMED TestManager 40136 51169 true
      [TestManager] Starting TestManager for PID = 40136
      [TestManager] Testing the connector address from agent properties
      [TestManager] Connect to process 40136 via: service:jmx:rmi://127.0.0.1/stub/rO0ABXNyAC5qYXZheC5tYW5hZ2VtZW50LnJlbW90ZS5ybWkuUk1JU2VydmVySW1wbF9TdHViAAAAAAAAAAICAAB4cgAaamF2YS5ybWkuc2VydmVyLlJlbW90ZVN0dWLp/tzJi+FlGgIAAHhyABxqYXZhLnJtaS5zZXJ2ZXIuUmVtb3RlT2JqZWN002G0kQxhMx4DAAB4cHc6AAtVbmljYXN0UmVmMgAADzEwMC4xMDEuMTk5LjIwNAAAyAmWugRHyAABeg955UQAAAGOHt9xFoABAHg=
      [TestManager] Connected.
      [TestManager] 40136@win2022-x64-322095
      [TestManager] Testing the connector address from jvmstat buffer
      [TestManager] Connect to process 40136 via: service:jmx:rmi://127.0.0.1/stub/rO0ABXNyAC5qYXZheC5tYW5hZ2VtZW50LnJlbW90ZS5ybWkuUk1JU2VydmVySW1wbF9TdHViAAAAAAAAAAICAAB4cgAaamF2YS5ybWkuc2VydmVyLlJlbW90ZVN0dWLp/tzJi+FlGgIAAHhyABxqYXZhLnJtaS5zZXJ2ZXIuUmVtb3RlT2JqZWN002G0kQxhMx4DAAB4cHc6AAtVbmljYXN0UmVmMgAADzEwMC4xMDEuMTk5LjIwNAAAyAmWugRHyAABeg955UQAAAGOHt9xFoABAHg=
      [TestManager] Connected.
      [TestManager] 40136@win2022-x64-322095
      [TestManager] Shutdown process via TCP port: 51169
      Stopping process jdk.test.lib.process.ProcessTools$ProcessImpl@177dd62d
      Stopping process jdk.test.lib.process.ProcessTools$ProcessImpl@22ca8ea6
      ----------System.err:(38/2847)----------
      [TestManager] Exception in thread "main" java.rmi.ConnectException: Connection refused to host: 100.101.199.204; nested exception is:
      [TestManager] java.net.ConnectException: Connection refused: connect
      [TestManager] at java.rmi/sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:625)
      [TestManager] at java.rmi/sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:217)
      [TestManager] at java.rmi/sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:204)
      [TestManager] at java.rmi/sun.rmi.server.UnicastRef.invoke(UnicastRef.java:134)
      [TestManager] at java.management.rmi/javax.management.remote.rmi.RMIServerImpl_Stub.newClient(RMIServerImpl_Stub.java:85)
      [TestManager] at java.management.rmi/javax.management.remote.rmi.RMIConnector.getConnection(RMIConnector.java:2106)
      [TestManager] at java.management.rmi/javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:321)
      [TestManager] at java.management/javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:270)
      [TestManager] at java.management/javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:229)
      [TestManager] at TestManager.connect(TestManager.java:73)
      [TestManager] at TestManager.main(TestManager.java:115)
      [TestManager] Caused by: java.net.ConnectException: Connection refused: connect
      [TestManager] at java.base/sun.nio.ch.Net.connect0(Native Method)
      [TestManager] at java.base/sun.nio.ch.Net.connect(Net.java:589)
      [TestManager] at java.base/sun.nio.ch.Net.connect(Net.java:578)
      [TestManager] at java.base/sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:583)
      [TestManager] at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:327)
      [TestManager] at java.base/java.net.Socket.connect(Socket.java:759)
      [TestManager] at java.base/java.net.Socket.connect(Socket.java:694)
      [TestManager] at java.base/java.net.Socket.<init>(Socket.java:563)
      [TestManager] at java.base/java.net.Socket.<init>(Socket.java:327)
      [TestManager] at java.rmi/sun.rmi.transport.tcp.TCPDirectSocketFactory.createSocket(TCPDirectSocketFactory.java:40)
      [TestManager] at java.rmi/sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:619)
      [TestManager] ... 10 more
      test1 failed
      java.lang.Error: Test failed
      at LocalManagementTest.main(LocalManagementTest.java:74)
      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.MainWrapper$MainTask.run(MainWrapper.java:138)
      at java.base/java.lang.Thread.run(Thread.java:1575)

      JavaTest Message: Test threw exception: java.lang.Error: Test failed
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.Error: Test failed
      ----------rerun:(53/6779)*----------

      The test executes several sub-tests. According to the stderr output:

      test1 failed
      java.lang.Error: Test failed
      at LocalManagementTest.main(LocalManagementTest.java:74)
      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.MainWrapper$MainTask.run(MainWrapper.java:138)
      at java.base/java.lang.Thread.run(Thread.java:1575)

      JavaTest Message: Test threw exception: java.lang.Error: Test failed

      but I don't see anything obvious in the stdout section of the test
      that shows why test1 failed.

            kevinw Kevin Walls
            dcubed Daniel Daugherty
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: