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

jdk/jfr/api/consumer/streaming/TestOutOfProcessMigration.java fails with "IOException: Stream closed"

XMLWordPrintable

    • jfr
    • aarch64
    • os_x

      The following test failed in the JDK19 CI:

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

      Here's a snippet from the log file:

      #section:main
      ----------messages:(7/425)----------
      command: main jdk.jfr.api.consumer.streaming.TestOutOfProcessMigration
      reason: User specified action: run main/othervm jdk.jfr.api.consumer.streaming.TestOutOfProcessMigration
      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
      Timeout information:
      --- Timeout information end.
      elapsed time (seconds): 538.955
      ----------configuration:(4/112)----------
      Boot Layer
        add modules: jdk.jfr jdk.attach java.base
        add exports: java.base/jdk.internal.misc ALL-UNNAMED

      ----------System.out:(8/4483)----------
      Command line: [/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-19+19-1219/macosx-aarch64.jdk/jdk-19.jdk/Contents/Home/bin/java -cp /System/Volumes/Data/mesos/work_dir/slaves/c82600aa-2448-475c-8c08-6f02a5b3f3af-S39367/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/bebce3eb-0f2e-4897-b7fe-0d31dade6031/runs/696a47fc-fe70-4f50-a467-a45dc567f146/testoutput/test-support/jtreg_open_test_jdk_tier3/classes/2/jdk/jfr/api/consumer/streaming/TestOutOfProcessMigration.d:/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-19+19-1219/src.full/open/test/jdk/jdk/jfr/api/consumer/streaming:/System/Volumes/Data/mesos/work_dir/slaves/c82600aa-2448-475c-8c08-6f02a5b3f3af-S39367/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/bebce3eb-0f2e-4897-b7fe-0d31dade6031/runs/696a47fc-fe70-4f50-a467-a45dc567f146/testoutput/test-support/jtreg_open_test_jdk_tier3/classes/2/test/lib:/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-19+19-1219/src.full/open/test/lib:/System/Volumes/Data/mesos/work_dir/slaves/c82600aa-2448-475c-8c08-6f02a5b3f3af-S39367/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/bebce3eb-0f2e-4897-b7fe-0d31dade6031/runs/696a47fc-fe70-4f50-a467-a45dc567f146/testoutput/test-support/jtreg_open_test_jdk_tier3/classes/2/test/jdk:/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-19+19-1219/src.full/open/test/jdk:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/6.1/1/bundles/jtreg-6.1+1.zip/jtreg/lib/javatest.jar:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/6.1/1/bundles/jtreg-6.1+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 /System/Volumes/Data/mesos/work_dir/slaves/c82600aa-2448-475c-8c08-6f02a5b3f3af-S39367/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/bebce3eb-0f2e-4897-b7fe-0d31dade6031/runs/696a47fc-fe70-4f50-a467-a45dc567f146/testoutput/test-support/jtreg_open_test_jdk_tier3/scratch/1/action-1649943981109 ]
      [application]:/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-19+19-1219/macosx-aarch64.jdk/jdk-19.jdk/Contents/Home/bin/java -cp /System/Volumes/Data/mesos/work_dir/slaves/c82600aa-2448-475c-8c08-6f02a5b3f3af-S39367/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/bebce3eb-0f2e-4897-b7fe-0d31dade6031/runs/696a47fc-fe70-4f50-a467-a45dc567f146/testoutput/test-support/jtreg_open_test_jdk_tier3/classes/2/jdk/jfr/api/consumer/streaming/TestOutOfProcessMigration.d:/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-19+19-1219/src.full/open/test/jdk/jdk/jfr/api/consumer/streaming:/System/Volumes/Data/mesos/work_dir/slaves/c82600aa-2448-475c-8c08-6f02a5b3f3af-S39367/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/bebce3eb-0f2e-4897-b7fe-0d31dade6031/runs/696a47fc-fe70-4f50-a467-a45dc567f146/testoutput/test-support/jtreg_open_test_jdk_tier3/classes/2/test/lib:/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-19+19-1219/src.full/open/test/lib:/System/Volumes/Data/mesos/work_dir/slaves/c82600aa-2448-475c-8c08-6f02a5b3f3af-S39367/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/bebce3eb-0f2e-4897-b7fe-0d31dade6031/runs/696a47fc-fe70-4f50-a467-a45dc567f146/testoutput/test-support/jtreg_open_test_jdk_tier3/classes/2/test/jdk:/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-19+19-1219/src.full/open/test/jdk:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/6.1/1/bundles/jtreg-6.1+1.zip/jtreg/lib/javatest.jar:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/6.1/1/bundles/jtreg-6.1+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 /System/Volumes/Data/mesos/work_dir/slaves/c82600aa-2448-475c-8c08-6f02a5b3f3af-S39367/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/bebce3eb-0f2e-4897-b7fe-0d31dade6031/runs/696a47fc-fe70-4f50-a467-a45dc567f146/testoutput/test-support/jtreg_open_test_jdk_tier3/scratch/1/action-1649943981109
      [application] [0.221s][info][jfr,startup] Started recording 1. No limit specified, using maxsize=250MB as default.
      [application] [0.221s][info][jfr,startup]
      [application] [0.221s][info][jfr,startup] Use jcmd 53519 JFR.dump name=1 filename=FILEPATH to copy recording data to file.
      Timeout refired 480 times
      Attach failed: Premature EOF
      Retrying...
      ----------System.err:(17/1085)----------
      java.io.IOException: Stream closed
      at java.base/java.io.BufferedInputStream.getBufIfOpen(BufferedInputStream.java:168)
      at java.base/java.io.BufferedInputStream.read(BufferedInputStream.java:334)
      at java.base/java.io.InputStream.readNBytes(InputStream.java:409)
      at java.base/java.io.InputStream.readAllBytes(InputStream.java:346)
      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.TestOutOfProcessMigration.main(TestOutOfProcessMigration.java:50)
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
      at java.base/java.lang.reflect.Method.invoke(Method.java:578)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
      at java.base/java.lang.Thread.run(Thread.java:828)

      JavaTest Message: Test threw exception: java.io.IOException: Stream closed
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.io.IOException: Stream closed
      ----------rerun:(38/8350)*----------

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

              Created:
              Updated: