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

jdk/jfr/event/runtime/TestShutdownEvent.java recording file length is 0

XMLWordPrintable

    • jfr
    • b09
    • x86_64
    • linux_ubuntu, solaris_11

        The following test failed on Linux-X64 in release configs using
        jdk-13+9 bits:

        jdk/jfr/event/runtime/TestShutdownEvent.java

        The test failed in 3 of 3 'release' bits runs. It did not fail at all in the
        'fastdebug' or 'slowdebug' bits runs.

        This failure mode is not the same as JDK-8219082.

        Here's a snippet from one of the failing log files:

        ----------System.err:(18/1342)----------
        java.io.IOException: Not a valid Flight Recorder file. File length is only 0 bytes.
                at jdk.jfr/jdk.jfr.internal.consumer.RecordingInput.<init>(RecordingInput.java:82)
                at jdk.jfr/jdk.jfr.internal.consumer.RecordingInput.<init>(RecordingInput.java:87)
                at jdk.jfr/jdk.jfr.consumer.RecordingFile.<init>(RecordingFile.java:107)
                at jdk.jfr/jdk.jfr.consumer.RecordingFile.readAllEvents(RecordingFile.java:240)
                at jdk.jfr.event.runtime.TestShutdownEvent.runSubtest(TestShutdownEvent.java:97)
                at jdk.jfr.event.runtime.TestShutdownEvent.main(TestShutdownEvent.java:72)
                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:567)
                at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
                at java.base/java.lang.Thread.run(Thread.java:835)

        JavaTest Message: Test threw exception: java.io.IOException: Not a valid Flight Recorder file. File length is only 0 bytes.
        JavaTest Message: shutting down test

        STATUS:Failed.`main' threw exception: java.io.IOException: Not a valid Flight Recorder file. File length is only 0 bytes.
        ----------rerun:(35/3841)*----------

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

                Created:
                Updated:
                Resolved: