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

jdk/jfr/api/consumer/streaming/TestJVMExit.java fails to attach

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 19
    • hotspot
    • None
    • jfr

      This was sighted in the loom repo but may have nothing to do with the changes in that repo.

      [exit-application] [0.315s][info][jfr,startup] Started recording 1. No limit specified, using maxsize=250MB as default.
      [exit-application] [0.315s][info][jfr,startup]
      [exit-application] [0.315s][info][jfr,startup] Use jcmd 26663 JFR.dump name=1 filename=FILEPATH to copy recording data to file.
      Timeout refired 480 times
      Attach failed: Premature EOF
      Retrying...
      ----------System.err:(18/1139)----------
      java.io.IOException: Stream closed
      at java.base/java.io.BufferedInputStream.getBufIfOpen(BufferedInputStream.java:172)
      at java.base/java.io.BufferedInputStream.implRead(BufferedInputStream.java:373)
      at java.base/java.io.BufferedInputStream.read(BufferedInputStream.java:367)
      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.TestJVMExit.main(TestJVMExit.java:45)
      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:1555)

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

            Unassigned Unassigned
            alanb Alan Bateman
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: