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

JFR TestCrossProcessStreaming.java failed to attach

    XMLWordPrintable

    Details

    • Subcomponent:
      jfr
    • CPU:
      x86_64
    • OS:
      windows

      Description

      The following test failed in the JDK15 CI:

      jdk/jfr/api/consumer/streaming/TestCrossProcessStreaming.java

      Here's a snippet from the log file:

      ----------System.err:(16/1222)----------
      com.sun.tools.attach.AttachNotSupportedException: jvm.dll not loaded by target process
      at jdk.attach/sun.tools.attach.VirtualMachineImpl.<init>(VirtualMachineImpl.java:64)
      at jdk.attach/sun.tools.attach.AttachProviderImpl.attachVirtualMachine(AttachProviderImpl.java:69)
      at jdk.attach/com.sun.tools.attach.VirtualMachine.attach(VirtualMachine.java:207)
      at jdk.jfr.api.consumer.streaming.TestCrossProcessStreaming.getJfrRepository(TestCrossProcessStreaming.java:169)
      at jdk.jfr.api.consumer.streaming.TestCrossProcessStreaming.main(TestCrossProcessStreaming.java:86)
      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:832)

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

      ----------System.out:(2/1776)*----------
      Command line: [c:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-15+14-522\\windows-x64-debug.jdk\\jdk-15\\fastdebug\\bin\\java.exe -cp T:\\testoutput\\test-support\\jtreg_open_test_jdk_jdk_svc\\classes\\0\\jdk\\jfr\\api\\consumer\\streaming\\TestCrossProcessStreaming.d;C:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-15+14-522\\src.full\\open\\test\\jdk\\jdk\\jfr\\api\\consumer\\streaming;T:\\testoutput\\test-support\\jtreg_open_test_jdk_jdk_svc\\classes\\0\\test\\lib;T:\\testoutput\\test-support\\jtreg_open_test_jdk_jdk_svc\\classes\\0\\test\\jdk;C:\\ade\\mesos\\work_dir\\jib-master\\install\\jtreg\\5.0\\b01\\bundles\\jtreg_bin-5.0.zip\\jtreg\\lib\\javatest.jar;C:\\ade\\mesos\\work_dir\\jib-master\\install\\jtreg\\5.0\\b01\\bundles\\jtreg_bin-5.0.zip\\jtreg\\lib\\jtreg.jar -XX:StartFlightRecording jdk.jfr.api.consumer.streaming.TestCrossProcessStreaming$EventProducer ]
      [Event-Producer]:c:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-15+14-522\\windows-x64-debug.jdk\\jdk-15\\fastdebug\\bin\\java.exe -cp T:\\testoutput\\test-support\\jtreg_open_test_jdk_jdk_svc\\classes\\0\\jdk\\jfr\\api\\consumer\\streaming\\TestCrossProcessStreaming.d;C:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-15+14-522\\src.full\\open\\test\\jdk\\jdk\\jfr\\api\\consumer\\streaming;T:\\testoutput\\test-support\\jtreg_open_test_jdk_jdk_svc\\classes\\0\\test\\lib;T:\\testoutput\\test-support\\jtreg_open_test_jdk_jdk_svc\\classes\\0\\test\\jdk;C:\\ade\\mesos\\work_dir\\jib-master\\install\\jtreg\\5.0\\b01\\bundles\\jtreg_bin-5.0.zip\\jtreg\\lib\\javatest.jar;C:\\ade\\mesos\\work_dir\\jib-master\\install\\jtreg\\5.0\\b01\\bundles\\jtreg_bin-5.0.zip\\jtreg\\lib\\jtreg.jar -XX:StartFlightRecording jdk.jfr.api.consumer.streaming.TestCrossProcessStreaming$EventProducer
      result: Failed. Execution failed: `main' threw exception: com.sun.tools.attach.AttachNotSupportedException: jvm.dll not loaded by target process


      test result: Failed. Execution failed: `main' threw exception: com.sun.tools.attach.AttachNotSupportedException: jvm.dll not loaded by target process

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              mseledtsov Mikhailo Seledtsov
              Reporter:
              dcubed Daniel Daugherty
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: