[lworld] serviceability/attach/AttachAPIv2/CompatTest.java fails with Unable to open socket file ... target process ... doesn't respond

XMLWordPrintable

    • x86_64
    • linux

      The following test failed in the Valhalla CI:

      serviceability/attach/AttachAPIv2/CompatTest.java

      Here's a snippet from the log file:

      Command line: ['/opt/mach5/mesos/work_dir/jib-master/install/jdk-27-valhalla+1-97/linux-x64.jdk/jdk-27/bin/java' '-XX:MaxRAMPercentage=4.16667' '-Dtest.boot.jdk=/opt/mach5/mesos/work_dir/jib-master/install/jdk/25/37/bundles/linux-x64/jdk-25_linux-x64_bin.tar.gz/jdk-25' '-Djava.io.tmpdir=/opt/mach5/mesos/work_dir/slaves/da1065b5-7b94-4f0d-85e9-a3a252b9a32e-S102486/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/7e033391-ef3a-4c19-aeec-590ee593d4b9/runs/d5eb9a79-fe54-4951-b960-6de4e72e6bc3/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_serviceability/tmp' '-Xlog:attach=trace' '-Djdk.attach.compat=true' '-cp' '/opt/mach5/mesos/work_dir/slaves/da1065b5-7b94-4f0d-85e9-a3a252b9a32e-S102486/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/7e033391-ef3a-4c19-aeec-590ee593d4b9/runs/d5eb9a79-fe54-4951-b960-6de4e72e6bc3/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_serviceability/classes/0/serviceability/attach/AttachAPIv2/CompatTest.d:/opt/mach5/mesos/work_dir/slaves/da1065b5-7b94-4f0d-85e9-a3a252b9a32e-S102486/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/7e033391-ef3a-4c19-aeec-590ee593d4b9/runs/d5eb9a79-fe54-4951-b960-6de4e72e6bc3/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_serviceability/classes/0/serviceability/attach/AttachAPIv2/CompatTest.d/test/lib' 'jdk.test.lib.apps.LingeredApp' 'e7648fd1-a77f-415f-9422-f98d5da2b249.lck']
      LingeredApp startup took 1002ms
      Check for hs_err_pid/core/mdmp files:
      None.
      ======== Start ========
       LingeredApp stdout: [[1.002s][trace][attach] Attach triggered by .attach_pid181682
      [1.002s][debug][attach] default streaming output: 1
      ];
       LingeredApp stderr: []
       LingeredApp exitValue = 0
      ----------System.err:(15/1353)----------
      com.sun.tools.attach.AttachNotSupportedException: Unable to open socket file /proc/181682/root/tmp/.java_pid181682: target process 181682 doesn't respond within 10500ms or HotSpot VM not loaded
      at jdk.attach/sun.tools.attach.VirtualMachineImpl.<init>(VirtualMachineImpl.java:117)
      at jdk.attach/sun.tools.attach.AttachProviderImpl.attachVirtualMachine(AttachProviderImpl.java:56)
      at jdk.attach/com.sun.tools.attach.VirtualMachine.attach(VirtualMachine.java:201)
      at CompatTest.test(CompatTest.java:77)
      at CompatTest.main(CompatTest.java:61)
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
      at java.base/java.lang.reflect.Method.invoke(Method.java:565)
      at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
      at java.base/java.lang.Thread.run(Thread.java:1516)

      JavaTest Message: Test threw exception: com.sun.tools.attach.AttachNotSupportedException: Unable to open socket file /proc/181682/root/tmp/.java_pid181682: target process 181682 doesn't respond within 10500ms or HotSpot VM not loaded
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: com.sun.tools.attach.AttachNotSupportedException: Unable to open socket file /proc/181682/root/tmp/.java_pid181682: target process 181682 doesn't respond within 10500ms or HotSpot VM not loaded
      ----------rerun:(43/7968)*----------

            Assignee:
            Unassigned
            Reporter:
            Daniel Daugherty
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: