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

java/lang/ref/FinalizerHistogramTest.java failed with "RuntimeException: MyObject is not found in test output"

XMLWordPrintable

    • x86_64
    • os_x

      The following test failed in the JDK20 CI:

      java/lang/ref/FinalizerHistogramTest.java

      Here's a snippet from the log file:

      #section:main
      ----------messages:(8/310)----------
      command: main FinalizerHistogramTest
      reason: User specified action: run main FinalizerHistogramTest
      started: Wed Dec 14 08:24:41 GMT 2022
      Mode: agentvm
      Agent id: 10
      Additional opens to unnamed modules from @modules: java.base/java.lang.ref
      finished: Wed Dec 14 08:24:41 GMT 2022
      elapsed time (seconds): 0.039
      ----------configuration:(13/1577)----------

      <snip>

      ----------System.err:(17/1064)----------
      Test failed with java.lang.RuntimeException: MyObject is not found in test output
      java.lang.RuntimeException: MyObject is not found in test output
      at FinalizerHistogramTest.main(FinalizerHistogramTest.java:93)
      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.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:312)
      at java.base/java.lang.Thread.run(Thread.java:1623)
      java.lang.RuntimeException: Test failed
      at FinalizerHistogramTest.main(FinalizerHistogramTest.java:100)
      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.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:312)
      at java.base/java.lang.Thread.run(Thread.java:1623)

      JavaTest Message: Test threw exception: java.lang.RuntimeException
      JavaTest Message: shutting down test

      ----------System.out:(4/119)----------
      Objects intialized: 1000
      Unreachable instances waiting for finalization
      #instances class name
      -----------------------
      result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Test failed


      Normally a Tier1 failure would start as a P2, but this failure did not
      reproduce in the next three Tier1 job sets.

            bchristi Brent Christian
            dcubed Daniel Daugherty
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: