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

jdk/jfr/event/runtime tests failing with jtreg wrapper

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • repo-loom
    • repo-loom
    • hotspot
    • jfr

      2 JFR tests are failing in loom-tier4 with the jtreg wrapper, typical output is show below. For now, the tests are excluded via ProblemList-vthread.txt.


      test/jdk/jdk/jfr/event/runtime/TestVMOperation.java fails with:

      java.lang.AssertionError: No matching event with VM operation name ParallelGCSystemGC and current threasd as caller
      at jdk.jfr.event.runtime.TestVMOperation.main(TestVMOperation.java:68)
      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$MainTask.run(MainWrapper.java:142)
      at java.base/java.lang.VirtualThread.run(VirtualThread.java:271)
      at java.base/java.lang.VirtualThread$VThreadContinuation.lambda$new$0(VirtualThread.java:156)
      at java.base/jdk.internal.vm.Continuation.enter0(Continuation.java:358)
      at java.base/jdk.internal.vm.Continuation.enter(Continuation.java:351)


      test/jdk/jdk/jfr/event/runtime/TestJavaMonitorWaitEvent.java fails with:
      ----------System.err:(18/1197)----------
      java.lang.RuntimeException: Wrong thread id: expected 15 to equal 14
      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:190)
      at jdk.jfr.event.runtime.TestJavaMonitorWaitEvent.main(TestJavaMonitorWaitEvent.java:101)
      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$MainTask.run(MainWrapper.java:142)
      at java.base/java.lang.VirtualThread.run(VirtualThread.java:271)
      at java.base/java.lang.VirtualThread$VThreadContinuation.lambda$new$0(VirtualThread.java:156)
      at java.base/jdk.internal.vm.Continuation.enter0(Continuation.java:358)
      at java.base/jdk.internal.vm.Continuation.enter(Continuation.java:351)

            mgronlun Markus Grönlund
            alanb Alan Bateman
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: