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

2 jdk/jfr/api/consumer/streaming tests failed to attach

    XMLWordPrintable

    Details

    • Subcomponent:
      jfr
    • Resolved In Build:
      b29
    • CPU:
      aarch64
    • OS:
      linux

      Backports

        Description

        The following tests failed in the JDK18 CI:

        jdk/jfr/api/consumer/streaming/TestJVMExit.java
        jdk/jfr/api/consumer/streaming/TestJVMCrash.java

        Here's a snippet from the TestJVMExit.java log file:

        #section:main
        ----------messages:(5/346)----------
        command: main jdk.jfr.api.consumer.streaming.TestJVMExit
        reason: User specified action: run main/othervm jdk.jfr.api.consumer.streaming.TestJVMExit
        Mode: othervm [/othervm specified]
        Additional options from @modules: --add-modules jdk.jfr,jdk.attach,java.base --add-exports java.base/jdk.internal.misc=ALL-UNNAMED
        elapsed time (seconds): 38.766
        ----------configuration:(4/112)----------
        Boot Layer
          add modules: jdk.jfr jdk.attach java.base
          add exports: java.base/jdk.internal.misc ALL-UNNAMED

        ----------System.out:(6/4104)----------
        Command line: [/opt/mach5/mesos/work_dir/jib-master/install/jdk-18+4-91/linux-aarch64-debug.jdk/jdk-18/fastdebug/bin/java -cp /opt/mach5/mesos/work_dir/slaves/35546316-ed70-4084-8244-d672e7734fd1-S108547/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/b41d9c1d-2535-496b-bb8d-3be319d3fb4f/runs/6825721c-7855-4b08-8d08-f5f37fe23d33/testoutput/test-support/jtreg_open_test_jdk_jdk_jfr/classes/0/jdk/jfr/api/consumer/streaming/TestJVMExit.d:/opt/mach5/mesos/work_dir/jib-master/install/jdk-18+4-91/src.full/open/test/jdk/jdk/jfr/api/consumer/streaming:/opt/mach5/mesos/work_dir/slaves/35546316-ed70-4084-8244-d672e7734fd1-S108547/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/b41d9c1d-2535-496b-bb8d-3be319d3fb4f/runs/6825721c-7855-4b08-8d08-f5f37fe23d33/testoutput/test-support/jtreg_open_test_jdk_jdk_jfr/classes/0/test/lib:/opt/mach5/mesos/work_dir/jib-master/install/jdk-18+4-91/src.full/open/test/lib:/opt/mach5/mesos/work_dir/slaves/35546316-ed70-4084-8244-d672e7734fd1-S108547/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/b41d9c1d-2535-496b-bb8d-3be319d3fb4f/runs/6825721c-7855-4b08-8d08-f5f37fe23d33/testoutput/test-support/jtreg_open_test_jdk_jdk_jfr/classes/0/test/jdk:/opt/mach5/mesos/work_dir/jib-master/install/jdk-18+4-91/src.full/open/test/jdk:/opt/mach5/mesos/work_dir/jib-master/install/jtreg/6/1/bundles/jtreg-6+1.zip/jtreg/lib/javatest.jar:/opt/mach5/mesos/work_dir/jib-master/install/jtreg/6/1/bundles/jtreg-6+1.zip/jtreg/lib/jtreg.jar --add-exports java.base/jdk.internal.misc=ALL-UNNAMED -XX:StartFlightRecording:settings=none jdk.jfr.api.consumer.streaming.TestProcess /opt/mach5/mesos/work_dir/slaves/35546316-ed70-4084-8244-d672e7734fd1-S108547/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/b41d9c1d-2535-496b-bb8d-3be319d3fb4f/runs/6825721c-7855-4b08-8d08-f5f37fe23d33/testoutput/test-support/jtreg_open_test_jdk_jdk_jfr/scratch/1/action-1624683921923 ]
        [exit-application]:/opt/mach5/mesos/work_dir/jib-master/install/jdk-18+4-91/linux-aarch64-debug.jdk/jdk-18/fastdebug/bin/java -cp /opt/mach5/mesos/work_dir/slaves/35546316-ed70-4084-8244-d672e7734fd1-S108547/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/b41d9c1d-2535-496b-bb8d-3be319d3fb4f/runs/6825721c-7855-4b08-8d08-f5f37fe23d33/testoutput/test-support/jtreg_open_test_jdk_jdk_jfr/classes/0/jdk/jfr/api/consumer/streaming/TestJVMExit.d:/opt/mach5/mesos/work_dir/jib-master/install/jdk-18+4-91/src.full/open/test/jdk/jdk/jfr/api/consumer/streaming:/opt/mach5/mesos/work_dir/slaves/35546316-ed70-4084-8244-d672e7734fd1-S108547/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/b41d9c1d-2535-496b-bb8d-3be319d3fb4f/runs/6825721c-7855-4b08-8d08-f5f37fe23d33/testoutput/test-support/jtreg_open_test_jdk_jdk_jfr/classes/0/test/lib:/opt/mach5/mesos/work_dir/jib-master/install/jdk-18+4-91/src.full/open/test/lib:/opt/mach5/mesos/work_dir/slaves/35546316-ed70-4084-8244-d672e7734fd1-S108547/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/b41d9c1d-2535-496b-bb8d-3be319d3fb4f/runs/6825721c-7855-4b08-8d08-f5f37fe23d33/testoutput/test-support/jtreg_open_test_jdk_jdk_jfr/classes/0/test/jdk:/opt/mach5/mesos/work_dir/jib-master/install/jdk-18+4-91/src.full/open/test/jdk:/opt/mach5/mesos/work_dir/jib-master/install/jtreg/6/1/bundles/jtreg-6+1.zip/jtreg/lib/javatest.jar:/opt/mach5/mesos/work_dir/jib-master/install/jtreg/6/1/bundles/jtreg-6+1.zip/jtreg/lib/jtreg.jar --add-exports java.base/jdk.internal.misc=ALL-UNNAMED -XX:StartFlightRecording:settings=none jdk.jfr.api.consumer.streaming.TestProcess /opt/mach5/mesos/work_dir/slaves/35546316-ed70-4084-8244-d672e7734fd1-S108547/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/b41d9c1d-2535-496b-bb8d-3be319d3fb4f/runs/6825721c-7855-4b08-8d08-f5f37fe23d33/testoutput/test-support/jtreg_open_test_jdk_jdk_jfr/scratch/1/action-1624683921923
        Attach failed: Unable to open socket file /proc/404787/root/tmp/.java_pid404787: target process 404787 doesn't respond within 10500ms or HotSpot VM not loaded
        Retrying...
        Attach failed: No such process
        Retrying...
        ----------System.err:(15/1105)----------
        java.lang.RuntimeException: Process (pid = 404787) is no longer alive, exit value = 131
        at jdk.test.lib.jfr.StreamingUtils.getJfrRepository(StreamingUtils.java:48)
        at jdk.jfr.api.consumer.streaming.TestProcess.getRepository(TestProcess.java:94)
        at jdk.jfr.api.consumer.streaming.TestJVMExit.main(TestJVMExit.java:45)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:568)
        at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
        at java.base/java.lang.Thread.run(Thread.java:833)

        JavaTest Message: Test threw exception: java.lang.RuntimeException: Process (pid = 404787) is no longer alive, exit value = 131
        JavaTest Message: shutting down test

        STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Process (pid = 404787) is no longer alive, exit value = 131
        ----------rerun:(38/7825)*----------

        The "ps" output captured in the environment artifacts does not list PID 404787.


        Here's a snippet from the TestJVMCrash.java log file:

        #section:main
        ----------messages:(5/348)----------
        command: main jdk.jfr.api.consumer.streaming.TestJVMCrash
        reason: User specified action: run main/othervm jdk.jfr.api.consumer.streaming.TestJVMCrash
        Mode: othervm [/othervm specified]
        Additional options from @modules: --add-modules jdk.jfr,jdk.attach,java.base --add-exports java.base/jdk.internal.misc=ALL-UNNAMED
        elapsed time (seconds): 39.569
        ----------configuration:(4/112)----------
        Boot Layer
          add modules: jdk.jfr jdk.attach java.base
          add exports: java.base/jdk.internal.misc ALL-UNNAMED

        ----------System.out:(6/4109)----------
        Command line: [/opt/mach5/mesos/work_dir/jib-master/install/jdk-18+4-91/linux-aarch64-debug.jdk/jdk-18/fastdebug/bin/java -cp /opt/mach5/mesos/work_dir/slaves/35546316-ed70-4084-8244-d672e7734fd1-S108547/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/b41d9c1d-2535-496b-bb8d-3be319d3fb4f/runs/6825721c-7855-4b08-8d08-f5f37fe23d33/testoutput/test-support/jtreg_open_test_jdk_jdk_jfr/classes/1/jdk/jfr/api/consumer/streaming/TestJVMCrash.d:/opt/mach5/mesos/work_dir/jib-master/install/jdk-18+4-91/src.full/open/test/jdk/jdk/jfr/api/consumer/streaming:/opt/mach5/mesos/work_dir/slaves/35546316-ed70-4084-8244-d672e7734fd1-S108547/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/b41d9c1d-2535-496b-bb8d-3be319d3fb4f/runs/6825721c-7855-4b08-8d08-f5f37fe23d33/testoutput/test-support/jtreg_open_test_jdk_jdk_jfr/classes/1/test/lib:/opt/mach5/mesos/work_dir/jib-master/install/jdk-18+4-91/src.full/open/test/lib:/opt/mach5/mesos/work_dir/slaves/35546316-ed70-4084-8244-d672e7734fd1-S108547/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/b41d9c1d-2535-496b-bb8d-3be319d3fb4f/runs/6825721c-7855-4b08-8d08-f5f37fe23d33/testoutput/test-support/jtreg_open_test_jdk_jdk_jfr/classes/1/test/jdk:/opt/mach5/mesos/work_dir/jib-master/install/jdk-18+4-91/src.full/open/test/jdk:/opt/mach5/mesos/work_dir/jib-master/install/jtreg/6/1/bundles/jtreg-6+1.zip/jtreg/lib/javatest.jar:/opt/mach5/mesos/work_dir/jib-master/install/jtreg/6/1/bundles/jtreg-6+1.zip/jtreg/lib/jtreg.jar --add-exports java.base/jdk.internal.misc=ALL-UNNAMED -XX:StartFlightRecording:settings=none jdk.jfr.api.consumer.streaming.TestProcess /opt/mach5/mesos/work_dir/slaves/35546316-ed70-4084-8244-d672e7734fd1-S108547/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/b41d9c1d-2535-496b-bb8d-3be319d3fb4f/runs/6825721c-7855-4b08-8d08-f5f37fe23d33/testoutput/test-support/jtreg_open_test_jdk_jdk_jfr/scratch/0/action-1624683923881 ]
        [crash-application-1]:/opt/mach5/mesos/work_dir/jib-master/install/jdk-18+4-91/linux-aarch64-debug.jdk/jdk-18/fastdebug/bin/java -cp /opt/mach5/mesos/work_dir/slaves/35546316-ed70-4084-8244-d672e7734fd1-S108547/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/b41d9c1d-2535-496b-bb8d-3be319d3fb4f/runs/6825721c-7855-4b08-8d08-f5f37fe23d33/testoutput/test-support/jtreg_open_test_jdk_jdk_jfr/classes/1/jdk/jfr/api/consumer/streaming/TestJVMCrash.d:/opt/mach5/mesos/work_dir/jib-master/install/jdk-18+4-91/src.full/open/test/jdk/jdk/jfr/api/consumer/streaming:/opt/mach5/mesos/work_dir/slaves/35546316-ed70-4084-8244-d672e7734fd1-S108547/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/b41d9c1d-2535-496b-bb8d-3be319d3fb4f/runs/6825721c-7855-4b08-8d08-f5f37fe23d33/testoutput/test-support/jtreg_open_test_jdk_jdk_jfr/classes/1/test/lib:/opt/mach5/mesos/work_dir/jib-master/install/jdk-18+4-91/src.full/open/test/lib:/opt/mach5/mesos/work_dir/slaves/35546316-ed70-4084-8244-d672e7734fd1-S108547/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/b41d9c1d-2535-496b-bb8d-3be319d3fb4f/runs/6825721c-7855-4b08-8d08-f5f37fe23d33/testoutput/test-support/jtreg_open_test_jdk_jdk_jfr/classes/1/test/jdk:/opt/mach5/mesos/work_dir/jib-master/install/jdk-18+4-91/src.full/open/test/jdk:/opt/mach5/mesos/work_dir/jib-master/install/jtreg/6/1/bundles/jtreg-6+1.zip/jtreg/lib/javatest.jar:/opt/mach5/mesos/work_dir/jib-master/install/jtreg/6/1/bundles/jtreg-6+1.zip/jtreg/lib/jtreg.jar --add-exports java.base/jdk.internal.misc=ALL-UNNAMED -XX:StartFlightRecording:settings=none jdk.jfr.api.consumer.streaming.TestProcess /opt/mach5/mesos/work_dir/slaves/35546316-ed70-4084-8244-d672e7734fd1-S108547/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/b41d9c1d-2535-496b-bb8d-3be319d3fb4f/runs/6825721c-7855-4b08-8d08-f5f37fe23d33/testoutput/test-support/jtreg_open_test_jdk_jdk_jfr/scratch/0/action-1624683923881
        Attach failed: Unable to open socket file /proc/404795/root/tmp/.java_pid404795: target process 404795 doesn't respond within 10500ms or HotSpot VM not loaded
        Retrying...
        Attach failed: No such process
        Retrying...
        ----------System.err:(15/1107)----------
        java.lang.RuntimeException: Process (pid = 404795) is no longer alive, exit value = 131
        at jdk.test.lib.jfr.StreamingUtils.getJfrRepository(StreamingUtils.java:48)
        at jdk.jfr.api.consumer.streaming.TestProcess.getRepository(TestProcess.java:94)
        at jdk.jfr.api.consumer.streaming.TestJVMCrash.main(TestJVMCrash.java:48)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:568)
        at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
        at java.base/java.lang.Thread.run(Thread.java:833)

        JavaTest Message: Test threw exception: java.lang.RuntimeException: Process (pid = 404795) is no longer alive, exit value = 131
        JavaTest Message: shutting down test

        STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Process (pid = 404795) is no longer alive, exit value = 131
        ----------rerun:(38/7832)*----------

        The "ps" output captured in the environment artifacts does not list PID 404795.

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  Created:
                  Updated:
                  Resolved: