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

jdk/jfr/jcmd/TestJcmdDump.java with slowdebug bits fails with AttachNotSupportedException

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • 17
    • 17
    • hotspot
    • None
    • jfr
    • b30
    • x86_64
    • linux_ubuntu

    Backports

      Description

        The following test failed with slowdebug bits:

        jdk/jfr/jcmd/TestJcmdDump.java

        Here's a snippet from the log file:

        ---------------- stderr ----------------
        com.sun.tools.attach.AttachNotSupportedException: Unable to open socket file /proc/25212/root/tmp/.java_pid25212: target process 25212 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 jdk.jcmd/sun.tools.jcmd.JCmd.executeCommandForPid(JCmd.java:113)
                at jdk.jcmd/sun.tools.jcmd.JCmd.main(JCmd.java:97)

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

        I have been seeing this test failed ONLY with slowdebug
        bits since jdk-16+25 testing on 2020.11.20. However, I'm
        only going to attach sightings for jdk-17.

        Attachments

          Issue Links

            Activity

              People

                egahlin Erik Gahlin
                dcubed Daniel Daugherty
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: