JVMTI tests fail with AttachNotSupportedException: Unable to open socket file

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: P4
    • tbd
    • Affects Version/s: 26
    • Component/s: core-svc
    • aarch64
    • linux

      Two JCK failures

      [2025-11-17T14:52:46,861Z] FAILED: vm/jvmti/GetSystemProperty/gspy001/gspy00101/gspy00101a.html (test failed)
      [2025-11-17T14:52:46,861Z] FAILED: vm/jvmti/GetSystemProperty/gspy001/gspy00103/gspy00103a.html (test failed)

      Cannot attach to JVM with id=1467421 , unexpected exception thrown: javasoft.sqe.jck.lib.attach.AttachConnector$AttachException: Cannot attach to the Java virtual machine
      javasoft.sqe.jck.lib.attach.AttachConnector$AttachException: Cannot attach to the Java virtual machine
      at javasoft.sqe.jck.lib.attach.JVMTIAttachConnector.attach(JVMTIAttachConnector.java:33)
      at javasoft.sqe.jck.lib.jvmti.Agent.attachAndLoadNativeAgent(Agent.java:344)
      at javasoft.sqe.jck.lib.jvmti.Agent.attach(Agent.java:80)
      at javasoft.sqe.tests.vm.jvmti.gspy001.gspy00103.gspy00103.run(gspy00103.java:27)
      at javasoft.sqe.tests.vm.jvmti.gspy001.gspy00103.gspy00103.main(gspy00103.java:20)
      Caused by: com.sun.tools.attach.AttachNotSupportedException: Unable to open socket file /proc/1467421/root/tmp/.java_pid1467421: target process 1467421 doesn't respond within 10500ms or HotSpot VM not loaded
      at jdk.attach/sun.tools.attach.VirtualMachineImpl.<init>(VirtualMachineImpl.java:115)
      at jdk.attach/sun.tools.attach.AttachProviderImpl.attachVirtualMachine(AttachProviderImpl.java:56)
      at jdk.attach/com.sun.tools.attach.VirtualMachine.attach(VirtualMachine.java:201)
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
      at java.base/java.lang.reflect.Method.invoke(Method.java:565)
      at javasoft.sqe.jck.lib.attach.JVMTIAttachConnector.attach(JVMTIAttachConnector.java:30)
      ... 4 more
      result: Failed. test failed

      Nothing to go on.

            Assignee:
            Larry Cable
            Reporter:
            David Holmes
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: