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

JFR TestThreadStartEndEvents.java failed due to "RuntimeException: Wrong thread id"

    XMLWordPrintable

Details

    • jfr
    • b31
    • x86_64
    • generic

    Backports

      Description

        The following test failed in the JDK15 CI:

        jdk/jfr/event/runtime/TestThreadStartEndEvents.java

        Here's a snippet from the log file:

        ----------System.err:(17/1148)----------
        java.lang.RuntimeException: Wrong thread id: expected 29 to equal 28
        at jdk.test.lib.Asserts.fail(Asserts.java:594)
        at jdk.test.lib.Asserts.assertEquals(Asserts.java:205)
        at jdk.test.lib.jfr.Events.assertThread(Events.java:238)
        at jdk.test.lib.jfr.Events.assertEventThread(Events.java:186)
        at jdk.jfr.event.runtime.TestThreadStartEndEvents.main(TestThreadStartEndEvents.java:79)
        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:564)
        at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
        at java.base/java.lang.Thread.run(Thread.java:832)

        JavaTest Message: Test threw exception: java.lang.RuntimeException: Wrong thread id: expected 29 to equal 28
        JavaTest Message: shutting down test

        STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Wrong thread id: expected 29 to equal 28
        ----------rerun:(43/5112)*----------

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                  Created:
                  Updated:
                  Resolved: