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

HeapDumpTestWithActiveProcess.java times out or fails with "Expected to get exit value of [0]"

XMLWordPrintable

    • aarch64
    • linux

      sun/tools/jhsdb/HeapDumpTestWithActiveProcess.java timed out on linux-aarch64

      ----------System.out:(27/1215)----------
      Starting Jshell
      [JShell]:/opt/mach5/mesos/work_dir/jib-master/install/jdk-18+17-984/linux-aarch64-debug.jdk/jdk-18/fastdebug/bin/jshell
      [JShell] | Welcome to JShell -- Version 18-ea
      [JShell] | For an introduction type: /help intro
      Jshell Started in 5732ms
      Starting jmap against 290150
      [2021-09-28T04:26:32.812775996Z] Gathering output for process 291215
      Timeout refired 960 times
      [2021-09-28T04:43:16.753296914Z] Waiting for completion for process 291215
      [2021-09-28T04:43:16.753500234Z] Waiting for completion finished for process 291215
      Output and diagnostic info for process 291215 was saved into 'pid-291215-output.log'
      jhsdb jmap stdout:
      Attaching to process ID 290150, please wait...
      Debugger attached successfully.
      Server compiler detected.
      JVM version is 18-ea+17-984

      jhsdb jmap stderr:

      ###### End of all output:
      [2021-09-28T04:43:16.757084483Z] Waiting for completion for process 291215
      [2021-09-28T04:43:16.757192483Z] Waiting for completion finished for process 291215
      [2021-09-28T04:43:16.757343204Z] Waiting for completion for process 291215
      [2021-09-28T04:43:16.757399404Z] Waiting for completion finished for process 291215
      [JShell] | State engine terminated.
      Destroying jshell
      Jshell destroyed
      ----------System.err:(33/1685)----------
      [JShell] Sep 28, 2021 4:26:27 AM java.util.prefs.FileSystemPreferences$1 run
      [JShell] INFO: Created user preferences directory.
       stdout: [Attaching to process ID 290150, please wait...
      Debugger attached successfully.
      Server compiler detected.
      JVM version is 18-ea+17-984
      ];
       stderr: []
       exitValue = 134

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

      at JShellHeapDumpTest.launch(JShellHeapDumpTest.java:82)
      at JShellHeapDumpTest.launch(JShellHeapDumpTest.java:97)
      at JShellHeapDumpTest.testHeapDump(JShellHeapDumpTest.java:121)
      at JShellHeapDumpTest.main(JShellHeapDumpTest.java:169)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:568)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
      at java.base/java.lang.Thread.run(Thread.java:833)
      Caused by: java.lang.RuntimeException: Expected to get exit value of [0]

      at jdk.test.lib.process.OutputAnalyzer.shouldHaveExitValue(OutputAnalyzer.java:489)
      at JShellHeapDumpTest.launch(JShellHeapDumpTest.java:80)
      ... 9 more

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

      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Test ERROR java.lang.RuntimeException: Expected to get exit value of [0]

            Unassigned Unassigned
            tschatzl Thomas Schatzl
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: