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

resourcehogs/serviceability/sa/TestHeapDumpForLargeArray.java timed out

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: P3
    • Resolution: Unresolved
    • Affects Version/s: 17
    • Fix Version/s: 17
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • CPU:
      generic
    • OS:
      generic

      Description

      The following test timed out in the JDK17 CI:

      resourcehogs/serviceability/sa/TestHeapDumpForLargeArray.java

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

      ----------System.err:(26/1305)----------
       stdout: [Attaching to process ID 13151, please wait...
      Debugger attached successfully.
      Server compiler detected.
      JVM version is 17-ea+12-LTS-842
      ];
       stderr: [WARNING: Cannot dump array of type int with length 1073741823; truncating to length 1073717270
      ]
       exitValue = 134

      java.lang.RuntimeException: Expected to get exit value of [0]

      at jdk.test.lib.process.OutputAnalyzer.shouldHaveExitValue(OutputAnalyzer.java:474)
      at TestHeapDumpForLargeArray.attachAndDump(TestHeapDumpForLargeArray.java:67)
      at TestHeapDumpForLargeArray.main(TestHeapDumpForLargeArray.java:96)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:566)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
      at java.base/java.lang.Thread.run(Thread.java:831)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: Expected to get exit value of [0]

      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Expected to get exit value of [0]
      ----------rerun:(44/7874)*----------

      The test task for the above failing snippet has the following JVM args:

      -XX:+CreateCoredumpOnCrash -XX:+UseParallelGC -XX:+UseNUMA

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              lzang Lin Zang
              Reporter:
              dcubed Daniel Daugherty
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated: