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

sadebugd/DebugdConnectTest.java fails due to "java.rmi.NotBoundException: SARemoteDebugger"

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b06
    • CPU:
      generic
    • OS:
      generic

      Backports

        Description

        The following test is failing in the JDK14 CI:

        serviceability/sa/sadebugd/DebugdConnectTest.java

        Here's a snippet from the log file:

        ----------System.err:(109/7475)----------
        Command line: ['/scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk-14+6-139/solaris-sparcv9-debug.jdk/jdk-14/fastdebug/bin/java' '-XX:MaxRAMPercentage=12' '-cp' '/scratch/opt/mach5/mesos/work_dir/9450d715-bc46-4f58-8750-2640c04740f9/testoutput/test-support/jtreg_open_test_hotspot_jtreg_tier1_serviceability/classes/0/serviceability/sa/sadebugd/DebugdConnectTest.d:/scratch/opt/mach5/mesos/work_dir/9450d715-bc46-4f58-8750-2640c04740f9/testoutput/test-support/jtreg_open_test_hotspot_jtreg_tier1_serviceability/classes/0/test/lib' 'jdk.test.lib.apps.LingeredApp' 'a0e70dc8-0360-469c-8428-953e47059e2d.lck' ]







        Error attaching to remote server: java.rmi.NotBoundException: SARemoteDebugger
        sun.jvm.hotspot.debugger.DebuggerException: java.rmi.NotBoundException: SARemoteDebugger
        at jdk.hotspot.agent/sun.jvm.hotspot.RMIHelper.lookup(RMIHelper.java:115)
        at jdk.hotspot.agent/sun.jvm.hotspot.HotSpotAgent.connectRemoteDebugger(HotSpotAgent.java:519)
        at jdk.hotspot.agent/sun.jvm.hotspot.HotSpotAgent.setupDebugger(HotSpotAgent.java:375)
        at jdk.hotspot.agent/sun.jvm.hotspot.HotSpotAgent.go(HotSpotAgent.java:305)
        at jdk.hotspot.agent/sun.jvm.hotspot.HotSpotAgent.attach(HotSpotAgent.java:184)
        at jdk.hotspot.agent/sun.jvm.hotspot.tools.Tool.start(Tool.java:196)
        at jdk.hotspot.agent/sun.jvm.hotspot.tools.Tool.execute(Tool.java:118)
        at jdk.hotspot.agent/sun.jvm.hotspot.tools.JSnap.main(JSnap.java:87)
        at jdk.hotspot.agent/sun.jvm.hotspot.SALauncher.runJSNAP(SALauncher.java:450)
        at jdk.hotspot.agent/sun.jvm.hotspot.SALauncher.main(SALauncher.java:548)
        Caused by: java.rmi.NotBoundException: SARemoteDebugger
        at java.rmi/sun.rmi.registry.RegistryImpl.lookup(RegistryImpl.java:234)
        at java.rmi/sun.rmi.registry.RegistryImpl_Skel.dispatch(RegistryImpl_Skel.java:131)
        at java.rmi/sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:468)
        at java.rmi/sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:298)
        at java.rmi/sun.rmi.transport.Transport$1.run(Transport.java:200)
        at java.rmi/sun.rmi.transport.Transport$1.run(Transport.java:197)
        at java.base/java.security.AccessController.doPrivileged(AccessController.java:690)
        at java.rmi/sun.rmi.transport.Transport.serviceCall(Transport.java:196)
        at java.rmi/sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:562)
        at java.rmi/sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:796)
        at java.rmi/sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:677)
        at java.base/java.security.AccessController.doPrivileged(AccessController.java:391)
        at java.rmi/sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:676)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
        at java.base/java.lang.Thread.run(Thread.java:830)
        at java.rmi/sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:283)
        at java.rmi/sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:260)
        at java.rmi/sun.rmi.server.UnicastRef.invoke(UnicastRef.java:375)
        at java.rmi/sun.rmi.registry.RegistryImpl_Stub.lookup(RegistryImpl_Stub.java:119)
        at java.rmi/java.rmi.Naming.lookup(Naming.java:101)
        at jdk.hotspot.agent/sun.jvm.hotspot.RMIHelper.lookup(RMIHelper.java:113)
        ... 9 more

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                ysuenaga Yasumasa Suenaga
                Reporter:
                dcubed Daniel Daugherty
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: