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

jdk/jfr/event/runtime/TestActiveSettingEvent.java failed with "Expected two batches of Active Setting events"

XMLWordPrintable

    • jfr
    • b19
    • generic
    • generic

        The following test failed in the JDK19 CI:

        jdk/jfr/event/runtime/TestActiveSettingEvent.java

        Here's a snippet from the log file:

        #section:main
        ----------messages:(5/295)----------
        command: main jdk.jfr.event.runtime.TestActiveSettingEvent
        reason: User specified action: run main/othervm jdk.jfr.event.runtime.TestActiveSettingEvent
        Mode: othervm [/othervm specified]
        Additional options from @modules: --add-modules jdk.jfr,java.management
        elapsed time (seconds): 1.436
        ----------configuration:(3/54)----------
        Boot Layer
          add modules: jdk.jfr java.management

        ----------System.out:(2/62)----------
        Testing configuration default
        Testing configuration profile
        ----------System.err:(12/1000)----------
        java.lang.Exception: Expected two batches of Active Setting events, at Recording.start() and during Recording.setSetting(...)
        at jdk.jfr.event.runtime.TestActiveSettingEvent.testChangedSetting(TestActiveSettingEvent.java:213)
        at jdk.jfr.event.runtime.TestActiveSettingEvent.main(TestActiveSettingEvent.java:69)
        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:1596)

        JavaTest Message: Test threw exception: java.lang.Exception: Expected two batches of Active Setting events, at Recording.start() and during Recording.setSetting(...)
        JavaTest Message: shutting down test

        STATUS:Failed.`main' threw exception: java.lang.Exception: Expected two batches of Active Setting events, at Recording.start() and during Recording.setSetting(...)
        ----------rerun:(41/5363)*----------

              mgronlun Markus Grönlund
              dcubed Daniel Daugherty
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: