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

loom: serviceability/jvmti/HeapMonitor/MyPackage/HeapMonitorVMEventsTest.java#id0 still fails

XMLWordPrintable

      The following test failed in the loom-jep-vt CI:

      serviceability/jvmti/HeapMonitor/MyPackage/HeapMonitorVMEventsTest.java#id0

      This test was updated in jdk-19-loomvt+1-39 to not enable preview
      in order to fix:

      JDK-8280914 serviceability/jvmti/HeapMonitor/MyPackage/HeapMonitorVMEventsTest.java failing in loom repo

      The fix for JDK-8280914 is in jdk-19-loomvt+1-39, but the test still fails.

      Here's a log file snippet for one of the failures:

      #section:main
      ----------messages:(4/391)----------
      command: main -XX:+UnlockDiagnosticVMOptions -XX:DisableIntrinsic=_clone -agentlib:HeapMonitorTest MyPackage.HeapMonitorVMEventsTest platform
      reason: User specified action: run main/othervm/native -XX:+UnlockDiagnosticVMOptions -XX:DisableIntrinsic=_clone -agentlib:HeapMonitorTest MyPackage.HeapMonitorVMEventsTest platform
      Mode: othervm [/othervm specified]
      elapsed time (seconds): 3.438
      ----------configuration:(0/0)----------
      ----------System.out:(0/0)----------
      ----------System.err:(14/1032)----------
      Obtained: 42593 - 34836 - 32921
      java.lang.RuntimeException: Error interval is over the accepted interval: 18.21191275561712: 42593 , 34836
      at MyPackage.HeapMonitorVMEventsTest.checkDifference(HeapMonitorVMEventsTest.java:84)
      at MyPackage.HeapMonitorVMEventsTest.compareSampledAndVM(HeapMonitorVMEventsTest.java:107)
      at MyPackage.HeapMonitorVMEventsTest.main(HeapMonitorVMEventsTest.java:123)
      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:1555)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: Error interval is over the accepted interval: 18.21191275561712: 42593 , 34836
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Error interval is over the accepted interval: 18.21191275561712: 42593 , 34836
      ----------rerun:(39/7483)*----------

            Unassigned Unassigned
            dcubed Daniel Daugherty
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: