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

gc/epsilon/TestDieWithHeapDump.java failed with "IllegalStateException: Should have produced the heap dump at: java_pidNNNNN.hprof"

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P4
    • 23
    • 20
    • hotspot
    • gc
    • x86_64
    • windows

    Description

      The following test failed in the JDK20 CI:

      gc/epsilon/TestDieWithHeapDump.java

      Here's a snippet from the log file:

      #section:driver
      ----------messages:(5/182)----------
      command: driver gc.epsilon.TestDieWithHeapDump
      reason: User specified action: run driver gc.epsilon.TestDieWithHeapDump
      Mode: agentvm
      Agent id: 11
      elapsed time (seconds): 0.75
      ----------configuration:(16/1577)*----------

      <snip>

      ----------System.out:(8/3310)*----------
      Command line: [c:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-20+10-573\\windows-x64-debug.jdk\\jdk-20\\fastdebug\\bin\\java.exe -cp C:\\sb\\prod\\1660259755\\testoutput\\test-support\\jtreg_open_test_hotspot_jtreg_hotspot_gc\\classes\\2\\gc\\epsilon\\TestDieWithHeapDump.d;C:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-20+10-573\\src.full\\open\\test\\hotspot\\jtreg\\gc\\epsilon;C:\\sb\\prod\\1660259755\\testoutput\\test-support\\jtreg_open_test_hotspot_jtreg_hotspot_gc\\classes\\2\\test\\lib;C:\\ade\\mesos\\work_dir\\jib-master\\install\\jtreg\\6.1\\1\\bundles\\jtreg-6.1+1.zip\\jtreg\\lib\\javatest.jar;C:\\ade\\mesos\\work_dir\\jib-master\\install\\jtreg\\6.1\\1\\bundles\\jtreg-6.1+1.zip\\jtreg\\lib\\jtreg.jar;C:\\ade\\mesos\\work_dir\\jib-master\\install\\jtreg\\6.1\\1\\bundles\\jtreg-6.1+1.zip\\jtreg\\lib\\junit.jar;C:\\ade\\mesos\\work_dir\\jib-master\\install\\jtreg\\6.1\\1\\bundles\\jtreg-6.1+1.zip\\jtreg\\lib\\hamcrest.jar;C:\\ade\\mesos\\work_dir\\jib-master\\install\\jtreg\\6.1\\1\\bundles\\jtreg-6.1+1.zip\\jtreg\\lib\\testng.jar;C:\\ade\\mesos\\work_dir\\jib-master\\install\\jtreg\\6.1\\1\\bundles\\jtreg-6.1+1.zip\\jtreg\\lib\\jcommander.jar;C:\\ade\\mesos\\work_dir\\jib-master\\install\\jtreg\\6.1\\1\\bundles\\jtreg-6.1+1.zip\\jtreg\\lib\\guice.jar -Xmx64m -XX:+UnlockExperimentalVMOptions -XX:+UseEpsilonGC -Dcount=1 -XX:+HeapDumpOnOutOfMemoryError gc.epsilon.TestDieWithHeapDump$Workload ]
      [2022-08-11T23:17:28.850264600Z] Gathering output for process 40864
      [2022-08-11T23:17:29.127633600Z] Waiting for completion for process 40864
      [2022-08-11T23:17:29.134314300Z] Waiting for completion finished for process 40864
      Command line: [c:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-20+10-573\\windows-x64-debug.jdk\\jdk-20\\fastdebug\\bin\\java.exe -cp C:\\sb\\prod\\1660259755\\testoutput\\test-support\\jtreg_open_test_hotspot_jtreg_hotspot_gc\\classes\\2\\gc\\epsilon\\TestDieWithHeapDump.d;C:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-20+10-573\\src.full\\open\\test\\hotspot\\jtreg\\gc\\epsilon;C:\\sb\\prod\\1660259755\\testoutput\\test-support\\jtreg_open_test_hotspot_jtreg_hotspot_gc\\classes\\2\\test\\lib;C:\\ade\\mesos\\work_dir\\jib-master\\install\\jtreg\\6.1\\1\\bundles\\jtreg-6.1+1.zip\\jtreg\\lib\\javatest.jar;C:\\ade\\mesos\\work_dir\\jib-master\\install\\jtreg\\6.1\\1\\bundles\\jtreg-6.1+1.zip\\jtreg\\lib\\jtreg.jar;C:\\ade\\mesos\\work_dir\\jib-master\\install\\jtreg\\6.1\\1\\bundles\\jtreg-6.1+1.zip\\jtreg\\lib\\junit.jar;C:\\ade\\mesos\\work_dir\\jib-master\\install\\jtreg\\6.1\\1\\bundles\\jtreg-6.1+1.zip\\jtreg\\lib\\hamcrest.jar;C:\\ade\\mesos\\work_dir\\jib-master\\install\\jtreg\\6.1\\1\\bundles\\jtreg-6.1+1.zip\\jtreg\\lib\\testng.jar;C:\\ade\\mesos\\work_dir\\jib-master\\install\\jtreg\\6.1\\1\\bundles\\jtreg-6.1+1.zip\\jtreg\\lib\\jcommander.jar;C:\\ade\\mesos\\work_dir\\jib-master\\install\\jtreg\\6.1\\1\\bundles\\jtreg-6.1+1.zip\\jtreg\\lib\\guice.jar -Xmx64m -XX:+UnlockExperimentalVMOptions -XX:+UseEpsilonGC -XX:+HeapDumpOnOutOfMemoryError gc.epsilon.TestDieWithHeapDump$Workload ]
      [2022-08-11T23:17:29.142734400Z] Gathering output for process 57160
      [2022-08-11T23:17:29.497127500Z] Waiting for completion for process 57160
      [2022-08-11T23:17:29.512867500Z] Waiting for completion finished for process 57160
      ----------System.err:(11/677)----------
      java.lang.IllegalStateException: Should have produced the heap dump at: java_pid57160.hprof
      at gc.epsilon.TestDieWithHeapDump.failWith(TestDieWithHeapDump.java:57)
      at gc.epsilon.TestDieWithHeapDump.main(TestDieWithHeapDump.java:69)
      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:1589)

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

      result: Failed. Execution failed: `main' threw exception: java.lang.IllegalStateException: Should have produced the heap dump at: java_pid57160.hprof

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: