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

jdk/jfr/jmx/streaming/TestMaxSize.java Expected only one or two chunks

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • 18
    • 19
    • hotspot
    • jfr
    • b32
    • x86_64, aarch64
    • os_x

    Backports

      Description

        The following test failed in the JDK19 CI:

        jdk/jfr/jmx/streaming/TestMaxSize.java

        Here's a snippet from the log file:

        #section:main
        ----------messages:(5/272)----------
        command: main jdk.jfr.jmx.streaming.TestMaxSize
        reason: User specified action: run main/othervm jdk.jfr.jmx.streaming.TestMaxSize
        Mode: othervm [/othervm specified]
        Additional options from @modules: --add-modules jdk.jfr,jdk.management.jfr
        elapsed time (seconds): 15.692
        ----------configuration:(3/54)----------
        Boot Layer
          add modules: jdk.jfr jdk.management.jfr

        ----------System.out:(24/610)----------
        max-size-1639423644743
        Directory size: 0
        Emitted 500000 events
        Directory size: 5604485
        Emitted 500000 events
        Directory size: 9312847
        Emitted 500000 events
        Directory size: 16708930
        Emitted 500000 events
        Directory size: 21075361
        Emitted 500000 events
        Directory size: 27813227
        Emitted 500000 events
        Directory size: 33654953
        Emitted 500000 events
        Directory size: 39759046
        Emitted 500000 events
        Directory size: 45759142
        Emitted 500000 events
        Directory size: 51476146
        Files:
        max-size-1639423644743/2021_12_13_19_27_25.jfr
        max-size-1639423644743/2021_12_13_19_27_35.jfr
        max-size-1639423644743/2021_12_13_19_27_38.jfr
        ----------System.err:(11/753)----------
        java.lang.Exception: Expected only one or two chunks with setMaxSize(1_000_000). Found 3
        at jdk.jfr.jmx.streaming.TestMaxSize.main(TestMaxSize.java:78)
        at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
        at java.base/java.lang.reflect.Method.invoke(Method.java:577)
        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.Exception: Expected only one or two chunks with setMaxSize(1_000_000). Found 3
        JavaTest Message: shutting down test

        STATUS:Failed.`main' threw exception: java.lang.Exception: Expected only one or two chunks with setMaxSize(1_000_000). Found 3
        ----------rerun:(37/7986)*----------

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                  Created:
                  Updated:
                  Resolved: