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

jdk/jfr/api/consumer/TestRecordedFrameType.java failed with "RuntimeException: assertNotEquals: expected Interpreted to not equal Interpreted"

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 18
    • Fix Version/s: 18
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
      jfr
    • Resolved In Build:
      b17
    • CPU:
      aarch64
    • OS:
      linux

      Description

      The following test failed in the JDK18 CI:

      jdk/jfr/api/consumer/TestRecordedFrameType.java

      Here's a snippet from the log file:

      #section:main
      ----------messages:(5/422)----------
      command: main -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI jdk.jfr.api.consumer.TestRecordedFrameType
      reason: User specified action: run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI jdk.jfr.api.consumer.TestRecordedFrameType
      Mode: othervm [/othervm specified]
      Additional options from @modules: --add-modules jdk.jfr,java.management
      elapsed time (seconds): 3.796
      ----------configuration:(3/51)----------
      Boot Layer
        add modules: jdk.jfr java.management

      ----------System.out:(17/380)----------
      2 compiler directives added
      Found frame with method named: interpreted
      {
        method = jdk.jfr.api.consumer.TestRecordedFrameType.interpreted()
        lineNumber = 110
        bytecodeIndex = 14
        type = "Interpreted"
      }

      Found frame with method named: compiled
      {
        method = jdk.jfr.api.consumer.TestRecordedFrameType.compiled()
        lineNumber = 116
        bytecodeIndex = 14
        type = "Interpreted"
      }

      ----------System.err:(16/1131)----------
      java.lang.RuntimeException: assertNotEquals: expected Interpreted to not equal Interpreted
      at jdk.test.lib.Asserts.fail(Asserts.java:594)
      at jdk.test.lib.Asserts.assertNotEquals(Asserts.java:394)
      at jdk.test.lib.Asserts.assertNotEquals(Asserts.java:378)
      at jdk.jfr.api.consumer.TestRecordedFrameType.main(TestRecordedFrameType.java:91)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:568)
      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.RuntimeException: assertNotEquals: expected Interpreted to not equal Interpreted
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.RuntimeException: assertNotEquals: expected Interpreted to not equal Interpreted
      ----------rerun:(43/6882)*----------

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: