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

misc tests timed out on specific M2 MacMini

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: External
    • Icon: P4 P4
    • None
    • 23
    • hotspot
    • aarch64
    • os_x

      The following tests timed out in the JDK23 CI:

      sun/tools/jhsdb/JStackStressTest.java
      sun/tools/jhsdb/JShellHeapDumpTest.java
      sun/tools/jhsdb/HeapDumpTestWithActiveProcess.java
      sun/tools/jhsdb/HeapDumpTest.java
      sun/tools/jhsdb/BasicLauncherTest.java
      sun/tools/jhsdb/heapconfig/JMapHeapConfigTest.java

      The timeouts vary between 44 minutes and 5h 26 minutes.
      All of the tests timed out with "exit value is: [134]"


      Here's log file snippets from the JStackStressTest.java failure:

      #section:main
      ----------messages:(9/399)----------
      command: main JStackStressTest
      reason: User specified action: run main/timeout=240 JStackStressTest
      started: Fri Mar 08 05:19:23 GMT 2024
      Mode: othervm [test requires non-default system module]
      Additional options from @modules: --add-modules jdk.hotspot.agent,java.management
      Timeout information:
      --- Timeout information end.
      finished: Fri Mar 08 06:43:02 GMT 2024
      elapsed time (seconds): 5019.806
      ----------configuration:(3/61)----------
      Boot Layer
        add modules: jdk.hotspot.agent java.management

      ----------System.out:(40/2470)----------
      STDOUT: Executable=/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-23+13-961/macosx-aarch64-debug.jdk/jdk-23/fastdebug/bin/java
      STDOUT: Identifier=com.oracle.java.java
      STDOUT: Format=Mach-O thin (arm64)
      STDOUT: CodeDirectory v=20400 size=749 flags=0x2(adhoc) hashes=13+7 location=embedded
      Target JDK is adhoc signed, but not hardened.
      STDOUT: Signature=adhoc
      STDOUT: Info.plist entries=5
      STDOUT: TeamIdentifier=not set
      STDOUT: Sealed Resources=none
      STDOUT: Internal requirements count=0 size=12
      DevToolsSecurity stdout: Developer mode is currently enabled.
      DevToolsSecurity stderr:
      Starting Jshell
      [JShell]:/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-23+13-961/macosx-aarch64-debug.jdk/jdk-23/fastdebug/bin/jshell -J-Xmx768m -J-XX:MaxRAMPercentage=6.25 -J-Dtest.boot.jdk=/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk/21/35/bundles/macos-aarch64/jdk-21_macos-aarch64_bin.tar.gz/jdk-21.jdk/Contents/Home -J-Djava.io.tmpdir=/System/Volumes/Data/mesos/work_dir/slaves/412fde1c-3e26-4c3d-b41e-bab008e2c85d-S16580/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/4d176e2d-030e-4c9b-b3e3-14527b2995de/runs/4819dc46-180a-4ad0-9237-4f9f88f75dbe/testoutput/test-support/jtreg_open_test_jdk_svc_tools/tmp -J-ea -J-esa -J-Xcomp -J-ea -J-esa -J-XX:CompileThreshold=100 -J-XX:+UnlockExperimentalVMOptions -J-server -J-XX:-TieredCompilation -J-XX:-DoEscapeAnalysis
      [2024-03-08T05:19:31.887981Z] Gathering output for process 26904
      ###### Starting jstack iteration 1 against 26904
      DevToolsSecurity stdout: Developer mode is currently enabled.
      DevToolsSecurity stderr:
      [2024-03-08T05:19:32.689298Z] Gathering output for process 26906
      [2024-03-08T05:19:32.713130Z] Waiting for completion for process 26906
      [JShell] | Welcome to JShell -- Version 23-ea
      [JShell] | For an introduction type: /help intro
      Timeout signalled after 3840 seconds
      [JShell] | State engine terminated.
      [JShell] | Restore definitions with: /reload -restore
      [2024-03-08T06:38:42.508904Z] Waiting for completion finished for process 26906
      Output and diagnostic info for process 26906 was saved into 'pid-26906-output.log'
      jhsdb jstack stdout:
      Attaching to process ID 26904, please wait...

      jhsdb jstack stderr:

      ###### End of all output for iteration 1 which took 4754814ms
      jshell Output: | Welcome to JShell -- Version 23-ea
      | For an introduction type: /help intro
      | State engine terminated.
      | Restore definitions with: /reload -restore

      jshell>
      jshell>
      ----------System.err:(23/1276)----------
       stdout: [Attaching to process ID 26904, please wait...
      ];
       stderr: []
       exitValue = 134

      [JShell] jshell>
      [JShell] jshell>
      java.lang.RuntimeException: Test ERROR java.lang.RuntimeException: Expected to get exit value of [0], exit value is: [134]
      at JStackStressTest.testjstack(JStackStressTest.java:78)
      at JStackStressTest.main(JStackStressTest.java:107)
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
      at java.base/java.lang.reflect.Method.invoke(Method.java:580)
      at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
      at java.base/java.lang.Thread.run(Thread.java:1575)
      Caused by: java.lang.RuntimeException: Expected to get exit value of [0], exit value is: [134]
      at jdk.test.lib.process.OutputAnalyzer.shouldHaveExitValue(OutputAnalyzer.java:521)
      at JStackStressTest.testjstack(JStackStressTest.java:70)
      ... 5 more

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

      Here's log file snippets from the JShellHeapDumpTest.java failure:

      #section:main
      ----------messages:(9/403)----------
      command: main JShellHeapDumpTest
      reason: User specified action: run main/timeout=240 JShellHeapDumpTest
      started: Fri Mar 08 03:55:57 GMT 2024
      Mode: othervm [test requires non-default system module]
      Additional options from @modules: --add-modules jdk.hotspot.agent,java.management
      Timeout information:
      --- Timeout information end.
      finished: Fri Mar 08 05:19:23 GMT 2024
      elapsed time (seconds): 5005.648
      ----------configuration:(3/61)----------
      Boot Layer
        add modules: jdk.hotspot.agent java.management

      ----------System.out:(35/2279)----------
      STDOUT: Executable=/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-23+13-961/macosx-aarch64-debug.jdk/jdk-23/fastdebug/bin/java
      STDOUT: Identifier=com.oracle.java.java
      STDOUT: Format=Mach-O thin (arm64)
      STDOUT: CodeDirectory v=20400 size=749 flags=0x2(adhoc) hashes=13+7 location=embedded
      Target JDK is adhoc signed, but not hardened.
      STDOUT: Signature=adhoc
      STDOUT: Info.plist entries=5
      STDOUT: TeamIdentifier=not set
      STDOUT: Sealed Resources=none
      STDOUT: Internal requirements count=0 size=12
      DevToolsSecurity stdout: Developer mode is currently enabled.
      DevToolsSecurity stderr:
      Starting Jshell
      [JShell]:/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-23+13-961/macosx-aarch64-debug.jdk/jdk-23/fastdebug/bin/jshell -J-Xmx768m -J-XX:MaxRAMPercentage=6.25 -J-Dtest.boot.jdk=/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk/21/35/bundles/macos-aarch64/jdk-21_macos-aarch64_bin.tar.gz/jdk-21.jdk/Contents/Home -J-Djava.io.tmpdir=/System/Volumes/Data/mesos/work_dir/slaves/412fde1c-3e26-4c3d-b41e-bab008e2c85d-S16580/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/4d176e2d-030e-4c9b-b3e3-14527b2995de/runs/4819dc46-180a-4ad0-9237-4f9f88f75dbe/testoutput/test-support/jtreg_open_test_jdk_svc_tools/tmp -J-ea -J-esa -J-Xcomp -J-ea -J-esa -J-XX:CompileThreshold=100 -J-XX:+UnlockExperimentalVMOptions -J-server -J-XX:-TieredCompilation -J-XX:-DoEscapeAnalysis -J-Duser.language=en -J-Duser.country=US
      [JShell] | Welcome to JShell -- Version 23-ea
      [JShell] | For an introduction type: /help intro
      Jshell Started in 38818ms
      Starting jmap against 26042
      DevToolsSecurity stdout: Developer mode is currently enabled.
      DevToolsSecurity stderr:
      [2024-03-08T03:56:47.773105Z] Gathering output for process 26072
      [2024-03-08T03:56:48.523168Z] Waiting for completion for process 26072
      Timeout signalled after 3840 seconds
      [JShell] | State engine terminated.
      [JShell] | Restore definitions with: /reload -restore
      [2024-03-08T05:15:09.863051Z] Waiting for completion finished for process 26072
      Output and diagnostic info for process 26072 was saved into 'pid-26072-output.log'
      jhsdb jmap stdout:
      Attaching to process ID 26042, please wait...

      jhsdb jmap stderr:

      ###### End of all output which took 4707005ms
      Destroying jshell
      Jshell destroyed
      ----------System.err:(24/1385)----------
       stdout: [Attaching to process ID 26042, please wait...
      ];
       stderr: []
       exitValue = 134

      [JShell] jshell>
      java.lang.RuntimeException: Test ERROR java.lang.RuntimeException: Expected to get exit value of [0], exit value is: [134]
      at JShellHeapDumpTest.launch(JShellHeapDumpTest.java:84)
      at JShellHeapDumpTest.launch(JShellHeapDumpTest.java:99)
      at JShellHeapDumpTest.testHeapDump(JShellHeapDumpTest.java:135)
      at JShellHeapDumpTest.main(JShellHeapDumpTest.java:196)
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
      at java.base/java.lang.reflect.Method.invoke(Method.java:580)
      at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
      at java.base/java.lang.Thread.run(Thread.java:1575)
      Caused by: java.lang.RuntimeException: Expected to get exit value of [0], exit value is: [134]
      at jdk.test.lib.process.OutputAnalyzer.shouldHaveExitValue(OutputAnalyzer.java:521)
      at JShellHeapDumpTest.launch(JShellHeapDumpTest.java:82)
      ... 7 more

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


      Here's log file snippets from the HeapDumpTestWithActiveProcess.java failure:

      #section:main
      ----------messages:(9/419)----------
      command: main JShellHeapDumpTest nosleep
      reason: User specified action: run main/timeout=240 JShellHeapDumpTest nosleep
      started: Fri Mar 08 02:32:30 GMT 2024
      Mode: othervm [test requires non-default system module]
      Additional options from @modules: --add-modules jdk.hotspot.agent,java.management
      Timeout information:
      --- Timeout information end.
      finished: Fri Mar 08 03:55:57 GMT 2024
      elapsed time (seconds): 5007.271
      ----------configuration:(3/61)----------
      Boot Layer
        add modules: jdk.hotspot.agent java.management

      ----------System.out:(35/2279)----------
      STDOUT: Executable=/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-23+13-961/macosx-aarch64-debug.jdk/jdk-23/fastdebug/bin/java
      STDOUT: Identifier=com.oracle.java.java
      STDOUT: Format=Mach-O thin (arm64)
      STDOUT: CodeDirectory v=20400 size=749 flags=0x2(adhoc) hashes=13+7 location=embedded
      Target JDK is adhoc signed, but not hardened.
      STDOUT: Signature=adhoc
      STDOUT: Info.plist entries=5
      STDOUT: TeamIdentifier=not set
      STDOUT: Sealed Resources=none
      STDOUT: Internal requirements count=0 size=12
      DevToolsSecurity stdout: Developer mode is currently enabled.
      DevToolsSecurity stderr:
      Starting Jshell
      [JShell]:/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-23+13-961/macosx-aarch64-debug.jdk/jdk-23/fastdebug/bin/jshell -J-Xmx768m -J-XX:MaxRAMPercentage=6.25 -J-Dtest.boot.jdk=/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk/21/35/bundles/macos-aarch64/jdk-21_macos-aarch64_bin.tar.gz/jdk-21.jdk/Contents/Home -J-Djava.io.tmpdir=/System/Volumes/Data/mesos/work_dir/slaves/412fde1c-3e26-4c3d-b41e-bab008e2c85d-S16580/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/4d176e2d-030e-4c9b-b3e3-14527b2995de/runs/4819dc46-180a-4ad0-9237-4f9f88f75dbe/testoutput/test-support/jtreg_open_test_jdk_svc_tools/tmp -J-ea -J-esa -J-Xcomp -J-ea -J-esa -J-XX:CompileThreshold=100 -J-XX:+UnlockExperimentalVMOptions -J-server -J-XX:-TieredCompilation -J-XX:-DoEscapeAnalysis -J-Duser.language=en -J-Duser.country=US
      [JShell] | Welcome to JShell -- Version 23-ea
      [JShell] | For an introduction type: /help intro
      Jshell Started in 36867ms
      Starting jmap against 25531
      DevToolsSecurity stdout: Developer mode is currently enabled.
      DevToolsSecurity stderr:
      [2024-03-08T02:33:14.536245Z] Gathering output for process 25551
      [2024-03-08T02:33:15.196726Z] Waiting for completion for process 25551
      Timeout signalled after 3840 seconds
      [JShell] | State engine terminated.
      [JShell] | Restore definitions with: /reload -restore
      [2024-03-08T03:51:44.178433Z] Waiting for completion finished for process 25551
      Output and diagnostic info for process 25551 was saved into 'pid-25551-output.log'
      jhsdb jmap stdout:
      Attaching to process ID 25531, please wait...

      jhsdb jmap stderr:

      ###### End of all output which took 4714540ms
      Destroying jshell
      Jshell destroyed
      ----------System.err:(24/1385)----------
       stdout: [Attaching to process ID 25531, please wait...
      ];
       stderr: []
       exitValue = 134

      [JShell] jshell>
      java.lang.RuntimeException: Test ERROR java.lang.RuntimeException: Expected to get exit value of [0], exit value is: [134]
      at JShellHeapDumpTest.launch(JShellHeapDumpTest.java:84)
      at JShellHeapDumpTest.launch(JShellHeapDumpTest.java:99)
      at JShellHeapDumpTest.testHeapDump(JShellHeapDumpTest.java:135)
      at JShellHeapDumpTest.main(JShellHeapDumpTest.java:196)
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
      at java.base/java.lang.reflect.Method.invoke(Method.java:580)
      at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
      at java.base/java.lang.Thread.run(Thread.java:1575)
      Caused by: java.lang.RuntimeException: Expected to get exit value of [0], exit value is: [134]
      at jdk.test.lib.process.OutputAnalyzer.shouldHaveExitValue(OutputAnalyzer.java:521)
      at JShellHeapDumpTest.launch(JShellHeapDumpTest.java:82)
      ... 7 more

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


      Here's log file snippets from the HeapDumpTest.java failure:

      #section:main
      ----------messages:(9/391)----------
      command: main HeapDumpTest
      reason: User specified action: run main/timeout=240 HeapDumpTest
      started: Fri Mar 08 01:16:39 GMT 2024
      Mode: othervm [test requires non-default system module]
      Additional options from @modules: --add-modules jdk.hotspot.agent,java.management
      Timeout information:
      --- Timeout information end.
      finished: Fri Mar 08 02:32:30 GMT 2024
      elapsed time (seconds): 4550.427
      ----------configuration:(3/61)----------
      Boot Layer
        add modules: jdk.hotspot.agent java.management

      ----------System.out:(34/2805)----------
      STDOUT: Executable=/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-23+13-961/macosx-aarch64-debug.jdk/jdk-23/fastdebug/bin/java
      STDOUT: Identifier=com.oracle.java.java
      STDOUT: Format=Mach-O thin (arm64)
      STDOUT: CodeDirectory v=20400 size=749 flags=0x2(adhoc) hashes=13+7 location=embedded
      Target JDK is adhoc signed, but not hardened.
      STDOUT: Signature=adhoc
      STDOUT: Info.plist entries=5
      STDOUT: TeamIdentifier=not set
      STDOUT: Sealed Resources=none
      STDOUT: Internal requirements count=0 size=12
      DevToolsSecurity stdout: Developer mode is currently enabled.
      DevToolsSecurity stderr:
      Starting LingeredApp
      Command line: ['/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-23+13-961/macosx-aarch64-debug.jdk/jdk-23/fastdebug/bin/java' '-Xmx768m' '-XX:MaxRAMPercentage=6.25' '-Dtest.boot.jdk=/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk/21/35/bundles/macos-aarch64/jdk-21_macos-aarch64_bin.tar.gz/jdk-21.jdk/Contents/Home' '-Djava.io.tmpdir=/System/Volumes/Data/mesos/work_dir/slaves/412fde1c-3e26-4c3d-b41e-bab008e2c85d-S16580/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/4d176e2d-030e-4c9b-b3e3-14527b2995de/runs/4819dc46-180a-4ad0-9237-4f9f88f75dbe/testoutput/test-support/jtreg_open_test_jdk_svc_tools/tmp' '-ea' '-esa' '-Xcomp' '-ea' '-esa' '-XX:CompileThreshold=100' '-XX:+UnlockExperimentalVMOptions' '-server' '-XX:-TieredCompilation' '-XX:-DoEscapeAnalysis' '-Xmx256m' '-cp' '/System/Volumes/Data/mesos/work_dir/slaves/412fde1c-3e26-4c3d-b41e-bab008e2c85d-S16580/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/4d176e2d-030e-4c9b-b3e3-14527b2995de/runs/4819dc46-180a-4ad0-9237-4f9f88f75dbe/testoutput/test-support/jtreg_open_test_jdk_svc_tools/classes/3/sun/tools/jhsdb/HeapDumpTest.d:/System/Volumes/Data/mesos/work_dir/slaves/412fde1c-3e26-4c3d-b41e-bab008e2c85d-S16580/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/4d176e2d-030e-4c9b-b3e3-14527b2995de/runs/4819dc46-180a-4ad0-9237-4f9f88f75dbe/testoutput/test-support/jtreg_open_test_jdk_svc_tools/classes/3/test/lib' 'LingeredAppWithExtendedChars' 'e0d57be8-2827-4308-a897-70a60bd75391.lck']
      LingeredApp startup took 3234ms
      Check for hs_err_pid/core/mdmp files:
      None.
      1
      Starting jmap against 25121
      DevToolsSecurity stdout: Developer mode is currently enabled.
      DevToolsSecurity stderr:
      [2024-03-08T01:16:52.002750Z] Gathering output for process 25136
      [2024-03-08T01:16:52.905769Z] Waiting for completion for process 25136
      Timeout signalled after 3840 seconds
      [2024-03-08T02:28:14.617972Z] Waiting for completion finished for process 25136
      Output and diagnostic info for process 25136 was saved into 'pid-25136-output.log'
      stdout:
      Attaching to process ID 25121, please wait...

      stderr:

       LingeredApp stdout: [];
       LingeredApp stderr: []
       LingeredApp exitValue = 0
      ----------System.err:(23/1307)----------
       stdout: [Attaching to process ID 25121, please wait...
      ];
       stderr: []
       exitValue = 134

      java.lang.RuntimeException: Test ERROR java.lang.RuntimeException: Expected to get exit value of [0], exit value is: [134]
      at HeapDumpTest.launch(HeapDumpTest.java:91)
      at HeapDumpTest.launch(HeapDumpTest.java:99)
      at HeapDumpTest.testHeapDump(HeapDumpTest.java:124)
      at HeapDumpTest.main(HeapDumpTest.java:155)
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
      at java.base/java.lang.reflect.Method.invoke(Method.java:580)
      at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
      at java.base/java.lang.Thread.run(Thread.java:1575)
      Caused by: java.lang.RuntimeException: Expected to get exit value of [0], exit value is: [134]
      at jdk.test.lib.process.OutputAnalyzer.shouldHaveExitValue(OutputAnalyzer.java:521)
      at HeapDumpTest.launch(HeapDumpTest.java:84)
      ... 7 more

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


      Here's log file snippets from the BasicLauncherTest.java failure:

      #section:main
      ----------messages:(9/389)----------
      command: main BasicLauncherTest
      reason: User specified action: run main BasicLauncherTest
      started: Fri Mar 08 00:32:54 GMT 2024
      Mode: othervm [test requires non-default system module]
      Additional options from @modules: --add-modules jdk.hotspot.agent,java.management
      Timeout information:
      --- Timeout information end.
      finished: Fri Mar 08 01:16:39 GMT 2024
      elapsed time (seconds): 2625.385
      ----------configuration:(3/61)----------
      Boot Layer
        add modules: jdk.hotspot.agent java.management

      ----------System.out:(25/2480)----------
      STDOUT: Executable=/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-23+13-961/macosx-aarch64-debug.jdk/jdk-23/fastdebug/bin/java
      STDOUT: Identifier=com.oracle.java.java
      STDOUT: Format=Mach-O thin (arm64)
      STDOUT: CodeDirectory v=20400 size=749 flags=0x2(adhoc) hashes=13+7 location=embedded
      Target JDK is adhoc signed, but not hardened.
      STDOUT: Signature=adhoc
      STDOUT: Info.plist entries=5
      STDOUT: TeamIdentifier=not set
      STDOUT: Sealed Resources=none
      STDOUT: Internal requirements count=0 size=12
      DevToolsSecurity stdout: Developer mode is currently enabled.
      DevToolsSecurity stderr:
      Starting LingeredApp
      Command line: ['/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-23+13-961/macosx-aarch64-debug.jdk/jdk-23/fastdebug/bin/java' '-Xmx768m' '-XX:MaxRAMPercentage=6.25' '-Dtest.boot.jdk=/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk/21/35/bundles/macos-aarch64/jdk-21_macos-aarch64_bin.tar.gz/jdk-21.jdk/Contents/Home' '-Djava.io.tmpdir=/System/Volumes/Data/mesos/work_dir/slaves/412fde1c-3e26-4c3d-b41e-bab008e2c85d-S16580/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/4d176e2d-030e-4c9b-b3e3-14527b2995de/runs/4819dc46-180a-4ad0-9237-4f9f88f75dbe/testoutput/test-support/jtreg_open_test_jdk_svc_tools/tmp' '-ea' '-esa' '-Xcomp' '-ea' '-esa' '-XX:CompileThreshold=100' '-XX:+UnlockExperimentalVMOptions' '-server' '-XX:-TieredCompilation' '-XX:-DoEscapeAnalysis' '-cp' '/System/Volumes/Data/mesos/work_dir/slaves/412fde1c-3e26-4c3d-b41e-bab008e2c85d-S16580/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/4d176e2d-030e-4c9b-b3e3-14527b2995de/runs/4819dc46-180a-4ad0-9237-4f9f88f75dbe/testoutput/test-support/jtreg_open_test_jdk_svc_tools/classes/0/sun/tools/jhsdb/BasicLauncherTest.d:/System/Volumes/Data/mesos/work_dir/slaves/412fde1c-3e26-4c3d-b41e-bab008e2c85d-S16580/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/4d176e2d-030e-4c9b-b3e3-14527b2995de/runs/4819dc46-180a-4ad0-9237-4f9f88f75dbe/testoutput/test-support/jtreg_open_test_jdk_svc_tools/classes/0/test/lib' 'jdk.test.lib.apps.LingeredApp' '65a93651-19dc-4df8-b93f-ea46f0b081b9.lck']
      LingeredApp startup took 3376ms
      Check for hs_err_pid/core/mdmp files:
      None.
      Starting clhsdb against 24793
      DevToolsSecurity stdout: Developer mode is currently enabled.
      DevToolsSecurity stderr:
      Attaching to process 24793, please wait...
      Timeout signalled after 1920 seconds
       LingeredApp stdout: [];
       LingeredApp stderr: []
       LingeredApp exitValue = 0
      ----------System.err:(15/1066)----------
      java.lang.RuntimeException: Test ERROR java.lang.RuntimeException: FAILED CLHSDB terminated with non-zero exit code 134
      at BasicLauncherTest.launchCLHSDB(BasicLauncherTest.java:119)
      at BasicLauncherTest.main(BasicLauncherTest.java:197)
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
      at java.base/java.lang.reflect.Method.invoke(Method.java:580)
      at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
      at java.base/java.lang.Thread.run(Thread.java:1575)
      Caused by: java.lang.RuntimeException: FAILED CLHSDB terminated with non-zero exit code 134
      at BasicLauncherTest.launchCLHSDB(BasicLauncherTest.java:111)
      ... 5 more

      JavaTest Message: Test threw exception: java.lang.RuntimeException: Test ERROR java.lang.RuntimeException: FAILED CLHSDB terminated with non-zero exit code 134


      Here's log file snippets from the JMapHeapConfigTest.java failure:

      #section:main
      ----------messages:(9/451)----------
      command: main JMapHeapConfigTest
      reason: User specified action: run main JMapHeapConfigTest
      started: Thu Mar 07 23:49:05 GMT 2024
      Mode: othervm [test requires non-default system module]
      Additional options from @modules: --add-modules java.management,jdk.hotspot.agent --add-exports jdk.hotspot.agent/sun.jvm.hotspot=ALL-UNNAMED
      Timeout information:
      --- Timeout information end.
      finished: Fri Mar 08 00:32:54 GMT 2024
      elapsed time (seconds): 2628.694
      ----------configuration:(4/123)----------
      Boot Layer
        add modules: java.management jdk.hotspot.agent
        add exports: jdk.hotspot.agent/sun.jvm.hotspot ALL-UNNAMED

      ----------System.out:(633/71180)----------
      Starting JMapHeapConfigTest
      STDOUT: Executable=/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-23+13-961/macosx-aarch64-debug.jdk/jdk-23/fastdebug/bin/java
      STDOUT: Identifier=com.oracle.java.java
      STDOUT: Format=Mach-O thin (arm64)
      STDOUT: CodeDirectory v=20400 size=749 flags=0x2(adhoc) hashes=13+7 location=embedded
      Target JDK is adhoc signed, but not hardened.
      STDOUT: Signature=adhoc
      STDOUT: Info.plist entries=5
      STDOUT: TeamIdentifier=not set
      STDOUT: Sealed Resources=none
      STDOUT: Internal requirements count=0 size=12
      DevToolsSecurity stdout: Developer mode is currently enabled.
      DevToolsSecurity stderr:
      INFO: maximum heap size set by JTREG as -Xmx768m
      Starting LingeredApp
      Command line: ['/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-23+13-961/macosx-aarch64-debug.jdk/jdk-23/fastdebug/bin/java' '-XX:+UsePerfData' '-Xmx768m' '-XX:MaxRAMPercentage=6.25' '-Dtest.boot.jdk=/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk/21/35/bundles/macos-aarch64/jdk-21_macos-aarch64_bin.tar.gz/jdk-21.jdk/Contents/Home' '-Djava.io.tmpdir=/System/Volumes/Data/mesos/work_dir/slaves/412fde1c-3e26-4c3d-b41e-bab008e2c85d-S16580/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/4d176e2d-030e-4c9b-b3e3-14527b2995de/runs/4819dc46-180a-4ad0-9237-4f9f88f75dbe/testoutput/test-support/jtreg_open_test_jdk_svc_tools/tmp' '-ea' '-esa' '-Xcomp' '-ea' '-esa' '-XX:CompileThreshold=100' '-XX:+UnlockExperimentalVMOptions' '-server' '-XX:-TieredCompilation' '-XX:-DoEscapeAnalysis' '-XX:+PrintFlagsFinal' '-cp' '/System/Volumes/Data/mesos/work_dir/slaves/412fde1c-3e26-4c3d-b41e-bab008e2c85d-S16580/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/4d176e2d-030e-4c9b-b3e3-14527b2995de/runs/4819dc46-180a-4ad0-9237-4f9f88f75dbe/testoutput/test-support/jtreg_open_test_jdk_svc_tools/classes/2/sun/tools/jhsdb/heapconfig/JMapHeapConfigTest.d:/System/Volumes/Data/mesos/work_dir/slaves/412fde1c-3e26-4c3d-b41e-bab008e2c85d-S16580/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/4d176e2d-030e-4c9b-b3e3-14527b2995de/runs/4819dc46-180a-4ad0-9237-4f9f88f75dbe/testoutput/test-support/jtreg_open_test_jdk_svc_tools/classes/2/test/lib' 'jdk.test.lib.apps.LingeredApp' 'dcdadde7-2f92-4cac-8f34-119e1404633c.lck']
      LingeredApp startup took 3405ms
      Check for hs_err_pid/core/mdmp files:
      None.
      Starting jmap against 24446
      DevToolsSecurity stdout: Developer mode is currently enabled.
      DevToolsSecurity stderr:
      Timeout signalled after 1920 seconds
       LingeredApp stdout: [[Global flags]
           bool AbortVMOnCompilationFailure = false {diagnostic} {default}
          ccstr AbortVMOnException = {diagnostic} {default}
          ccstr AbortVMOnExceptionMessage = {diagnostic} {default}

      <snip>

           bool ZeroTLAB = false {product} {default}
           bool ZombieALot = false {notproduct} {default}
           intx ZombieALotInterval = 5 {notproduct} {default}
           intx hashCode = 5 {experimental} {default}
      ];
       LingeredApp stderr: []
       LingeredApp exitValue = 0
      ----------System.err:(11/715)----------
      java.lang.RuntimeException: Test FAILED jmap exits with non zero exit code 134
      at JMapHeapConfigTest.main(JMapHeapConfigTest.java:150)
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
      at java.base/java.lang.reflect.Method.invoke(Method.java:580)
      at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
      at java.base/java.lang.Thread.run(Thread.java:1575)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: Test FAILED jmap exits with non zero exit code 134

            zsong Zhao Song
            dcubed Daniel Daugherty
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: