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

serviceability/attach/AttachSetGetFlag.java failed with com.sun.tools.attach.AttachNotSupportedException

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P4 P4
    • tbd
    • 14
    • core-svc
    • generic
    • linux

      serviceability/attach/AttachSetGetFlag.java failed with com.sun.tools.attach.AttachNotSupportedException:

      ----------System.err:(16/1207)----------
      com.sun.tools.attach.AttachNotSupportedException: Unable to open socket file /proc/11898/root/tmp/.java_pid11898: target process 11898 doesn't respond within 10500ms or HotSpot VM not loaded
      at jdk.attach/sun.tools.attach.VirtualMachineImpl.<init>(VirtualMachineImpl.java:103)
      at jdk.attach/sun.tools.attach.AttachProviderImpl.attachVirtualMachine(AttachProviderImpl.java:58)
      at jdk.attach/com.sun.tools.attach.VirtualMachine.attach(VirtualMachine.java:207)
      at AttachSetGetFlag.testGetFlag(AttachSetGetFlag.java:85)
      at AttachSetGetFlag.main(AttachSetGetFlag.java:56)
      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.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:298)
      at java.base/java.lang.Thread.run(Thread.java:830)

      JavaTest Message: Test threw exception: com.sun.tools.attach.AttachNotSupportedException
      JavaTest Message: shutting down test

            Unassigned Unassigned
            qianqli Lily Li (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: