jdk_tools_0

[2025-01-22T09:23:53.015Z] Running test jdk_tools_0 ... [2025-01-22T09:23:53.015Z] =============================================== [2025-01-22T09:23:53.015Z] jdk_tools_0 Start Time: Wed Jan 22 09:23:51 2025 Epoch Time (ms): 1737537831968 [2025-01-22T09:23:53.015Z] variation: Mode150 [2025-01-22T09:23:53.015Z] JVM_OPTIONS: -XX:+UseCompressedOops [2025-01-22T09:23:53.015Z] { \ [2025-01-22T09:23:53.015Z] echo ""; echo "TEST SETUP:"; \ [2025-01-22T09:23:53.015Z] echo "Nothing to be done for setup."; \ [2025-01-22T09:23:53.015Z] mkdir -p "C:/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_x86-64_windows/aqa-tests/\\TKG\\output_17375111535706\\jdk_tools_0"; \ [2025-01-22T09:23:53.015Z] cd "C:/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_x86-64_windows/aqa-tests/\\TKG\\output_17375111535706\\jdk_tools_0"; \ [2025-01-22T09:23:53.015Z] echo ""; echo "TESTING:"; \ [2025-01-22T09:23:53.015Z] "c:/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_x86-64_windows/jdkbinary/j2sdk-image\\bin\\java" -Xmx512m -jar "C:/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_x86-64_windows/aqa-tests///..//jvmtest\\openjdk\\jtreg\\lib\\jtreg.jar" \ [2025-01-22T09:23:53.015Z] -agentvm -a -ea -esa -v:fail,error,time,nopass -retain:fail,error,*.dmp,javacore.*,heapdump.*,*.trc -ignore:quiet -timeoutFactor:8 -xml:verify -concurrency:3 -nativepath:"c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-64_windows/jdkbinary/openjdk-test-image\\jdk\\jtreg\\native" -vmoptions:"-Xmx512m -XX:+UseCompressedOops " \ [2025-01-22T09:23:53.015Z] \ [2025-01-22T09:23:53.015Z] -w ""C:/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_x86-64_windows/aqa-tests/\\TKG\\output_17375111535706\\jdk_tools_0"\\work" \ [2025-01-22T09:23:53.015Z] -r ""C:/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_x86-64_windows/aqa-tests/\\TKG\\output_17375111535706\\jdk_tools_0"\\report" \ [2025-01-22T09:23:53.015Z] -jdk:"c:/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_x86-64_windows/jdkbinary/j2sdk-image" \ [2025-01-22T09:23:53.016Z] -exclude:"C:/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_x86-64_windows/aqa-tests/\\openjdk\\openjdk-jdk\\test\\jdk\\ProblemList.txt" \ [2025-01-22T09:23:53.016Z] -exclude:"C:/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_x86-64_windows/aqa-tests///..//jvmtest\\openjdk\\excludes/ProblemList_openjdk17.txt" \ [2025-01-22T09:23:53.016Z] \ [2025-01-22T09:23:53.016Z] -exclude:"C:/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_x86-64_windows/aqa-tests/\\openjdk\\excludes\\vendors\\eclipse\\ProblemList_openjdk17.txt" \ [2025-01-22T09:23:53.016Z] "C:/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_x86-64_windows/aqa-tests/\\openjdk\\openjdk-jdk\\test\\jdk:jdk_tools"; \ [2025-01-22T09:23:53.016Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "jdk_tools_0""_PASSED"; echo "-----------------------------------"; cd C:/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_x86-64_windows/aqa-tests/; else echo "-----------------------------------"; echo "jdk_tools_0""_FAILED"; echo "-----------------------------------"; fi; \ [2025-01-22T09:23:53.016Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-01-22T09:23:53.016Z] echo "Nothing to be done for teardown."; \ [2025-01-22T09:23:53.016Z] } 2>&1 | tee -a "C:/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_x86-64_windows/aqa-tests/\\TKG\\output_17375111535706\\TestTargetResult"; [2025-01-22T09:23:53.016Z] [2025-01-22T09:23:53.016Z] TEST SETUP: [2025-01-22T09:23:53.016Z] Nothing to be done for setup. [2025-01-22T09:23:53.016Z] [2025-01-22T09:23:53.016Z] TESTING: [2025-01-22T09:23:53.016Z] Directory "C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-64_windows\aqa-tests\TKG\output_17375111535706\jdk_tools_0\work" not found: creating [2025-01-22T09:23:53.016Z] Directory "C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-64_windows\aqa-tests\TKG\output_17375111535706\jdk_tools_0\report" not found: creating [2025-01-22T09:23:57.686Z] XML output with verification to C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-64_windows\aqa-tests\TKG\output_17375111535706\jdk_tools_0\work [2025-01-22T09:25:20.559Z] -------------------------------------------------- [2025-01-22T09:25:20.559Z] TEST: sun/tools/jhsdb/HeapDumpTestWithActiveProcess.java [2025-01-22T09:25:20.559Z] TEST JDK: c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-64_windows\jdkbinary\j2sdk-image [2025-01-22T09:25:20.559Z] [2025-01-22T09:25:20.559Z] ACTION: compile -- Passed. Compilation successful [2025-01-22T09:25:20.559Z] REASON: User specified action: run compile JShellHeapDumpTest.java [2025-01-22T09:25:20.559Z] TIME: 0.712 seconds [2025-01-22T09:25:20.559Z] messages: [2025-01-22T09:25:20.559Z] command: compile C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-64_windows\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\tools\jhsdb\JShellHeapDumpTest.java [2025-01-22T09:25:20.559Z] reason: User specified action: run compile JShellHeapDumpTest.java [2025-01-22T09:25:20.559Z] started: Wed Jan 22 09:24:37 UTC 2025 [2025-01-22T09:25:20.559Z] Additional options from @modules: --add-modules jdk.hotspot.agent,java.management [2025-01-22T09:25:20.559Z] Mode: agentvm [2025-01-22T09:25:20.559Z] Agent id: 3 [2025-01-22T09:25:20.559Z] finished: Wed Jan 22 09:24:37 UTC 2025 [2025-01-22T09:25:20.559Z] elapsed time (seconds): 0.712 [2025-01-22T09:25:20.559Z] configuration: [2025-01-22T09:25:20.559Z] Boot Layer (javac runtime environment) [2025-01-22T09:25:20.559Z] class path: C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-64_windows\jvmtest\openjdk\jtreg\lib\javatest.jar [2025-01-22T09:25:20.559Z] C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-64_windows\jvmtest\openjdk\jtreg\lib\jtreg.jar [2025-01-22T09:25:20.559Z] patch: java.base C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-64_windows\aqa-tests\TKG\output_17375111535706\jdk_tools_0\work\patches\java.base [2025-01-22T09:25:20.559Z] [2025-01-22T09:25:20.559Z] javac compilation environment [2025-01-22T09:25:20.559Z] add modules: jdk.hotspot.agent java.management [2025-01-22T09:25:20.559Z] source path: C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-64_windows\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\tools\jhsdb [2025-01-22T09:25:20.559Z] C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-64_windows\aqa-tests\openjdk\openjdk-jdk\test\lib [2025-01-22T09:25:20.559Z] class path: C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-64_windows\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\tools\jhsdb [2025-01-22T09:25:20.559Z] C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-64_windows\aqa-tests\TKG\output_17375111535706\jdk_tools_0\work\classes\0\sun\tools\jhsdb\HeapDumpTestWithActiveProcess.d [2025-01-22T09:25:20.559Z] C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-64_windows\aqa-tests\TKG\output_17375111535706\jdk_tools_0\work\classes\0\test\lib [2025-01-22T09:25:20.559Z] [2025-01-22T09:25:20.559Z] rerun: [2025-01-22T09:25:20.559Z] cd 'C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-64_windows\aqa-tests\TKG\output_17375111535706\jdk_tools_0\work\scratch\0' && \ [2025-01-22T09:25:20.559Z] PATH='C:\Program Files\Java\jdk-17.0.9+9\bin;C:\cygwin64\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Windows\System32\OpenSSH;C:\Program Files\dotnet;C:\Users\adoptopenjdk\AppData\Local\Microsoft\WindowsApps;C:\Strawberry\perl\bin;C:\Program Files\Git\cmd;C:\openjdk\jdk-8\bin;C:\apache-ant\apache-ant-1.10.15\bin;C:\Program Files\Microsoft SQL Server\110\Tools\Binn;C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.0;C:\Program Files (x86)\IncrediBuild;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit;C:\rust\bin;C:\Program Files\IcedTeaWEB\bin;C:\Users\jenkins.test-azure-win2\AppData\Local\Microsoft\WindowsApps' \ [2025-01-22T09:25:20.559Z] SystemDrive=C: \ [2025-01-22T09:25:20.559Z] SystemRoot='C:\Windows' \ [2025-01-22T09:25:20.559Z] TEMP='C:\Users\JENKIN~1.TES\AppData\Local\Temp\2' \ [2025-01-22T09:25:20.559Z] TMP='C:\Users\JENKIN~1.TES\AppData\Local\Temp\2' \ [2025-01-22T09:25:20.559Z] windir='C:\Windows' \ [2025-01-22T09:25:20.560Z] 'c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-64_windows\jdkbinary\j2sdk-image\bin\javac' \ [2025-01-22T09:25:20.560Z] -J-ea \ [2025-01-22T09:25:20.560Z] -J-esa \ [2025-01-22T09:25:20.560Z] -J-Xmx512m \ [2025-01-22T09:25:20.560Z] -J-XX:+UseCompressedOops \ [2025-01-22T09:25:20.560Z] -J-Dtest.vm.opts='-ea -esa -Xmx512m -XX:+UseCompressedOops' \ [2025-01-22T09:25:20.560Z] -J-Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m -J-XX:+UseCompressedOops' \ [2025-01-22T09:25:20.560Z] -J-Dtest.compiler.opts= \ [2025-01-22T09:25:20.560Z] -J-Dtest.java.opts= \ [2025-01-22T09:25:20.560Z] -J-Dtest.jdk='c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-64_windows\jdkbinary\j2sdk-image' \ [2025-01-22T09:25:20.560Z] -J-Dcompile.jdk='c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-64_windows\jdkbinary\j2sdk-image' \ [2025-01-22T09:25:20.560Z] -J-Dtest.timeout.factor=8.0 \ [2025-01-22T09:25:20.560Z] -J-Dtest.nativepath='c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-64_windows\jdkbinary\openjdk-test-image\jdk\jtreg\native' \ [2025-01-22T09:25:20.560Z] -J-Dtest.root='C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-64_windows\aqa-tests\openjdk\openjdk-jdk\test\jdk' \ [2025-01-22T09:25:20.560Z] -J-Dtest.name=sun/tools/jhsdb/HeapDumpTestWithActiveProcess.java \ [2025-01-22T09:25:20.560Z] -J-Dtest.file='C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-64_windows\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\tools\jhsdb\HeapDumpTestWithActiveProcess.java' \ [2025-01-22T09:25:20.560Z] -J-Dtest.src='C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-64_windows\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\tools\jhsdb' \ [2025-01-22T09:25:20.560Z] -J-Dtest.src.path='C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-64_windows\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\tools\jhsdb;C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-64_windows\aqa-tests\openjdk\openjdk-jdk\test\lib' \ [2025-01-22T09:25:20.560Z] -J-Dtest.classes='C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-64_windows\aqa-tests\TKG\output_17375111535706\jdk_tools_0\work\classes\0\sun\tools\jhsdb\HeapDumpTestWithActiveProcess.d' \ [2025-01-22T09:25:20.560Z] -J-Dtest.class.path='C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-64_windows\aqa-tests\TKG\output_17375111535706\jdk_tools_0\work\classes\0\sun\tools\jhsdb\HeapDumpTestWithActiveProcess.d;C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-64_windows\aqa-tests\TKG\output_17375111535706\jdk_tools_0\work\classes\0\test\lib' \ [2025-01-22T09:25:20.560Z] -J-Dtest.class.path.prefix='C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-64_windows\aqa-tests\TKG\output_17375111535706\jdk_tools_0\work\classes\0\sun\tools\jhsdb\HeapDumpTestWithActiveProcess.d;C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-64_windows\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\tools\jhsdb;C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-64_windows\aqa-tests\TKG\output_17375111535706\jdk_tools_0\work\classes\0\test\lib' \ [2025-01-22T09:25:20.560Z] -J-Dtest.modules='jdk.hotspot.agent java.management' \ [2025-01-22T09:25:20.560Z] --add-modules jdk.hotspot.agent,java.management \ [2025-01-22T09:25:20.560Z] -d 'C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-64_windows\aqa-tests\TKG\output_17375111535706\jdk_tools_0\work\classes\0\sun\tools\jhsdb\HeapDumpTestWithActiveProcess.d' \ [2025-01-22T09:25:20.560Z] -sourcepath 'C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-64_windows\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\tools\jhsdb;C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-64_windows\aqa-tests\openjdk\openjdk-jdk\test\lib' \ [2025-01-22T09:25:20.560Z] -classpath 'C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-64_windows\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\tools\jhsdb;C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-64_windows\aqa-tests\TKG\output_17375111535706\jdk_tools_0\work\classes\0\sun\tools\jhsdb\HeapDumpTestWithActiveProcess.d;C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-64_windows\aqa-tests\TKG\output_17375111535706\jdk_tools_0\work\classes\0\test\lib' 'C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-64_windows\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\tools\jhsdb\JShellHeapDumpTest.java' [2025-01-22T09:25:20.560Z] [2025-01-22T09:25:20.560Z] ACTION: build -- Passed. All files up to date [2025-01-22T09:25:20.560Z] REASON: Named class compiled on demand [2025-01-22T09:25:20.560Z] TIME: 0.019 seconds [2025-01-22T09:25:20.560Z] messages: [2025-01-22T09:25:20.560Z] command: build JShellHeapDumpTest [2025-01-22T09:25:20.560Z] reason: Named class compiled on demand [2025-01-22T09:25:20.560Z] started: Wed Jan 22 09:24:37 UTC 2025 [2025-01-22T09:25:20.560Z] finished: Wed Jan 22 09:24:37 UTC 2025 [2025-01-22T09:25:20.560Z] elapsed time (seconds): 0.019 [2025-01-22T09:25:20.560Z] [2025-01-22T09:25:20.560Z] ACTION: main -- Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Test ERROR java.lang.RuntimeException: Expected to get exit value of [0] [2025-01-22T09:25:20.560Z] REASON: User specified action: run main/timeout=240 JShellHeapDumpTest nosleep [2025-01-22T09:25:20.560Z] TIME: 2.669 seconds [2025-01-22T09:25:20.560Z] messages: [2025-01-22T09:25:20.560Z] command: main JShellHeapDumpTest nosleep [2025-01-22T09:25:20.560Z] reason: User specified action: run main/timeout=240 JShellHeapDumpTest nosleep [2025-01-22T09:25:20.560Z] started: Wed Jan 22 09:25:15 UTC 2025 [2025-01-22T09:25:20.560Z] Mode: othervm [test requires non-default system module] [2025-01-22T09:25:20.560Z] Additional options from @modules: --add-modules jdk.hotspot.agent,java.management [2025-01-22T09:25:20.560Z] finished: Wed Jan 22 09:25:18 UTC 2025 [2025-01-22T09:25:20.560Z] elapsed time (seconds): 2.669 [2025-01-22T09:25:20.560Z] configuration: [2025-01-22T09:25:20.560Z] Boot Layer [2025-01-22T09:25:20.560Z] add modules: jdk.hotspot.agent java.management [2025-01-22T09:25:20.560Z] [2025-01-22T09:25:20.560Z] STDOUT: [2025-01-22T09:25:20.560Z] Starting Jshell [2025-01-22T09:25:20.560Z] [JShell]:c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-64_windows\jdkbinary\j2sdk-image\bin\jshell.exe -J-ea -J-esa -J-Xmx512m -J-XX:+UseCompressedOops -J-Duser.language=en -J-Duser.country=US [2025-01-22T09:25:20.560Z] [JShell] | Welcome to JShell -- Version 17.0.14 [2025-01-22T09:25:20.560Z] [JShell] | For an introduction type: /help intro [2025-01-22T09:25:20.560Z] Jshell Started in 1632ms [2025-01-22T09:25:20.560Z] Starting jmap against 25852 [2025-01-22T09:25:20.560Z] [2025-01-22T09:25:17.590147600Z] Gathering output for process 17008 [2025-01-22T09:25:20.560Z] [2025-01-22T09:25:18.288173100Z] Waiting for completion for process 17008 [2025-01-22T09:25:20.560Z] [2025-01-22T09:25:18.288173100Z] Waiting for completion finished for process 17008 [2025-01-22T09:25:20.560Z] Output and diagnostic info for process 17008 was saved into 'pid-17008-output.log' [2025-01-22T09:25:20.560Z] jhsdb jmap stdout: [2025-01-22T09:25:20.560Z] Attaching to process ID 25852, please wait... [2025-01-22T09:25:20.560Z] [2025-01-22T09:25:20.560Z] jhsdb jmap stderr: [2025-01-22T09:25:20.560Z] Error attaching to process: Windbg Error: WaitForEvent failed! (hr: 0x80004002) [2025-01-22T09:25:20.561Z] sun.jvm.hotspot.debugger.DebuggerException: Windbg Error: WaitForEvent failed! (hr: 0x80004002) [2025-01-22T09:25:20.561Z] at jdk.hotspot.agent/sun.jvm.hotspot.debugger.windbg.WindbgDebuggerLocal.attach0(Native Method) [2025-01-22T09:25:20.561Z] at jdk.hotspot.agent/sun.jvm.hotspot.debugger.windbg.WindbgDebuggerLocal.attach(WindbgDebuggerLocal.java:152) [2025-01-22T09:25:20.561Z] at jdk.hotspot.agent/sun.jvm.hotspot.HotSpotAgent.attachDebugger(HotSpotAgent.java:651) [2025-01-22T09:25:20.561Z] at jdk.hotspot.agent/sun.jvm.hotspot.HotSpotAgent.setupDebuggerWin32(HotSpotAgent.java:549) [2025-01-22T09:25:20.561Z] at jdk.hotspot.agent/sun.jvm.hotspot.HotSpotAgent.setupDebugger(HotSpotAgent.java:366) [2025-01-22T09:25:20.561Z] at jdk.hotspot.agent/sun.jvm.hotspot.HotSpotAgent.go(HotSpotAgent.java:337) [2025-01-22T09:25:20.561Z] at jdk.hotspot.agent/sun.jvm.hotspot.HotSpotAgent.attach(HotSpotAgent.java:142) [2025-01-22T09:25:20.561Z] at jdk.hotspot.agent/sun.jvm.hotspot.tools.Tool.start(Tool.java:203) [2025-01-22T09:25:20.561Z] at jdk.hotspot.agent/sun.jvm.hotspot.tools.Tool.execute(Tool.java:134) [2025-01-22T09:25:20.561Z] at jdk.hotspot.agent/sun.jvm.hotspot.tools.JMap.main(JMap.java:202) [2025-01-22T09:25:20.561Z] at jdk.hotspot.agent/sun.jvm.hotspot.SALauncher.runJMAP(SALauncher.java:340) [2025-01-22T09:25:20.561Z] at jdk.hotspot.agent/sun.jvm.hotspot.SALauncher.main(SALauncher.java:500) [2025-01-22T09:25:20.561Z] [2025-01-22T09:25:20.561Z] [2025-01-22T09:25:20.561Z] ###### End of all output: [2025-01-22T09:25:20.561Z] Jshell not alive [2025-01-22T09:25:20.561Z] STDERR: [2025-01-22T09:25:20.561Z] [JShell] jshell> Exception in thread "main" java.io.IOError: java.io.IOException: The pipe is being closed [2025-01-22T09:25:20.561Z] [JShell] at jdk.internal.le/jdk.internal.org.jline.keymap.BindingReader.readCharacter(BindingReader.java:170) [2025-01-22T09:25:20.561Z] [JShell] at jdk.internal.le/jdk.internal.org.jline.keymap.BindingReader.readBinding(BindingReader.java:110) [2025-01-22T09:25:20.561Z] [JShell] at jdk.internal.le/jdk.internal.org.jline.keymap.BindingReader.readBinding(BindingReader.java:61) [2025-01-22T09:25:20.561Z] [JShell] at jdk.internal.le/jdk.internal.org.jline.reader.impl.LineReaderImpl.doReadBinding(LineReaderImpl.java:924) [2025-01-22T09:25:20.561Z] [JShell] at jdk.internal.le/jdk.internal.org.jline.reader.impl.LineReaderImpl.readBinding(LineReaderImpl.java:957) [2025-01-22T09:25:20.561Z] [JShell] at jdk.jshell/jdk.internal.jshell.tool.ConsoleIOContext$2.readBinding(ConsoleIOContext.java:172) [2025-01-22T09:25:20.561Z] [JShell] at jdk.internal.le/jdk.internal.org.jline.reader.impl.LineReaderImpl.readLine(LineReaderImpl.java:652) [2025-01-22T09:25:20.561Z] [JShell] at jdk.internal.le/jdk.internal.org.jline.reader.impl.LineReaderImpl.readLine(LineReaderImpl.java:468) [2025-01-22T09:25:20.561Z] [JShell] at jdk.jshell/jdk.internal.jshell.tool.ConsoleIOContext.readLine(ConsoleIOContext.java:248) [2025-01-22T09:25:20.561Z] [JShell] at jdk.jshell/jdk.internal.jshell.tool.JShellTool.getInput(JShellTool.java:1275) [2025-01-22T09:25:20.561Z] [JShell] at jdk.jshell/jdk.internal.jshell.tool.JShellTool.run(JShellTool.java:1209) [2025-01-22T09:25:20.561Z] [JShell] at jdk.jshell/jdk.internal.jshell.tool.JShellTool.start(JShellTool.java:995) [2025-01-22T09:25:20.561Z] [JShell] at jdk.jshell/jdk.internal.jshell.tool.JShellToolBuilder.start(JShellToolBuilder.java:261) [2025-01-22T09:25:20.561Z] [JShell] at jdk.jshell/jdk.internal.jshell.tool.JShellToolProvider.main(JShellToolProvider.java:120) [2025-01-22T09:25:20.561Z] [JShell] Caused by: java.io.IOException: The pipe is being closed [2025-01-22T09:25:20.561Z] [JShell] at java.base/java.io.FileInputStream.read0(Native Method) [2025-01-22T09:25:20.561Z] [JShell] at java.base/java.io.FileInputStream.read(FileInputStream.java:228) [2025-01-22T09:25:20.561Z] [JShell] at jdk.internal.le/jdk.internal.org.jline.utils.NonBlockingInputStreamImpl.run(NonBlockingInputStreamImpl.java:209) [2025-01-22T09:25:20.561Z] [JShell] at java.base/java.lang.Thread.run(Thread.java:840) [2025-01-22T09:25:20.561Z] stdout: [Attaching to process ID 25852, please wait... [2025-01-22T09:25:20.561Z] ]; [2025-01-22T09:25:20.561Z] stderr: [Error attaching to process: Windbg Error: WaitForEvent failed! (hr: 0x80004002) [2025-01-22T09:25:20.561Z] sun.jvm.hotspot.debugger.DebuggerException: Windbg Error: WaitForEvent failed! (hr: 0x80004002) [2025-01-22T09:25:20.561Z] at jdk.hotspot.agent/sun.jvm.hotspot.debugger.windbg.WindbgDebuggerLocal.attach0(Native Method) [2025-01-22T09:25:20.561Z] at jdk.hotspot.agent/sun.jvm.hotspot.debugger.windbg.WindbgDebuggerLocal.attach(WindbgDebuggerLocal.java:152) [2025-01-22T09:25:20.561Z] at jdk.hotspot.agent/sun.jvm.hotspot.HotSpotAgent.attachDebugger(HotSpotAgent.java:651) [2025-01-22T09:25:20.561Z] at jdk.hotspot.agent/sun.jvm.hotspot.HotSpotAgent.setupDebuggerWin32(HotSpotAgent.java:549) [2025-01-22T09:25:20.561Z] at jdk.hotspot.agent/sun.jvm.hotspot.HotSpotAgent.setupDebugger(HotSpotAgent.java:366) [2025-01-22T09:25:20.561Z] at jdk.hotspot.agent/sun.jvm.hotspot.HotSpotAgent.go(HotSpotAgent.java:337) [2025-01-22T09:25:20.561Z] at jdk.hotspot.agent/sun.jvm.hotspot.HotSpotAgent.attach(HotSpotAgent.java:142) [2025-01-22T09:25:20.561Z] at jdk.hotspot.agent/sun.jvm.hotspot.tools.Tool.start(Tool.java:203) [2025-01-22T09:25:20.561Z] at jdk.hotspot.agent/sun.jvm.hotspot.tools.Tool.execute(Tool.java:134) [2025-01-22T09:25:20.561Z] at jdk.hotspot.agent/sun.jvm.hotspot.tools.JMap.main(JMap.java:202) [2025-01-22T09:25:20.561Z] at jdk.hotspot.agent/sun.jvm.hotspot.SALauncher.runJMAP(SALauncher.java:340) [2025-01-22T09:25:20.561Z] at jdk.hotspot.agent/sun.jvm.hotspot.SALauncher.main(SALauncher.java:500) [2025-01-22T09:25:20.561Z] [2025-01-22T09:25:20.561Z] ] [2025-01-22T09:25:20.561Z] exitValue = 1 [2025-01-22T09:25:20.561Z] [2025-01-22T09:25:20.561Z] java.lang.RuntimeException: Test ERROR java.lang.RuntimeException: Expected to get exit value of [0] [2025-01-22T09:25:20.561Z] [2025-01-22T09:25:20.561Z] at JShellHeapDumpTest.launch(JShellHeapDumpTest.java:82) [2025-01-22T09:25:20.561Z] at JShellHeapDumpTest.launch(JShellHeapDumpTest.java:97) [2025-01-22T09:25:20.561Z] at JShellHeapDumpTest.testHeapDump(JShellHeapDumpTest.java:133) [2025-01-22T09:25:20.561Z] at JShellHeapDumpTest.main(JShellHeapDumpTest.java:194) [2025-01-22T09:25:20.561Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [2025-01-22T09:25:20.561Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) [2025-01-22T09:25:20.561Z] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [2025-01-22T09:25:20.561Z] at java.base/java.lang.reflect.Method.invoke(Method.java:569) [2025-01-22T09:25:20.561Z] at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138) [2025-01-22T09:25:20.561Z] at java.base/java.lang.Thread.run(Thread.java:840) [2025-01-22T09:25:20.561Z] Caused by: java.lang.RuntimeException: Expected to get exit value of [0] [2025-01-22T09:25:20.561Z] [2025-01-22T09:25:20.561Z] at jdk.test.lib.process.OutputAnalyzer.shouldHaveExitValue(OutputAnalyzer.java:489) [2025-01-22T09:25:20.561Z] at JShellHeapDumpTest.launch(JShellHeapDumpTest.java:80) [2025-01-22T09:25:20.561Z] ... 9 more [2025-01-22T09:25:20.561Z] [2025-01-22T09:25:20.561Z] JavaTest Message: Test threw exception: java.lang.RuntimeException: Test ERROR java.lang.RuntimeException: Expected to get exit value of [0] [2025-01-22T09:25:20.561Z] [2025-01-22T09:25:20.561Z] JavaTest Message: shutting down test [2025-01-22T09:25:20.561Z] [2025-01-22T09:25:20.561Z] STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Test ERROR java.lang.RuntimeException: Expected to get exit value of [0] [2025-01-22T09:25:20.561Z] rerun: [2025-01-22T09:25:20.561Z] cd 'C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-64_windows\aqa-tests\TKG\output_17375111535706\jdk_tools_0\work\scratch\0' && \ [2025-01-22T09:25:20.562Z] PATH='C:\Program Files\Java\jdk-17.0.9+9\bin;C:\cygwin64\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Windows\System32\OpenSSH;C:\Program Files\dotnet;C:\Users\adoptopenjdk\AppData\Local\Microsoft\WindowsApps;C:\Strawberry\perl\bin;C:\Program Files\Git\cmd;C:\openjdk\jdk-8\bin;C:\apache-ant\apache-ant-1.10.15\bin;C:\Program Files\Microsoft SQL Server\110\Tools\Binn;C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.0;C:\Program Files (x86)\IncrediBuild;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit;C:\rust\bin;C:\Program Files\IcedTeaWEB\bin;C:\Users\jenkins.test-azure-win2\AppData\Local\Microsoft\WindowsApps' \ [2025-01-22T09:25:20.562Z] SystemDrive=C: \ [2025-01-22T09:25:20.562Z] SystemRoot='C:\Windows' \ [2025-01-22T09:25:20.562Z] TEMP='C:\Users\JENKIN~1.TES\AppData\Local\Temp\2' \ [2025-01-22T09:25:20.562Z] TMP='C:\Users\JENKIN~1.TES\AppData\Local\Temp\2' \ [2025-01-22T09:25:20.562Z] windir='C:\Windows' \ [2025-01-22T09:25:20.562Z] CLASSPATH='C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-64_windows\aqa-tests\TKG\output_17375111535706\jdk_tools_0\work\classes\0\sun\tools\jhsdb\HeapDumpTestWithActiveProcess.d;C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-64_windows\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\tools\jhsdb;C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-64_windows\aqa-tests\TKG\output_17375111535706\jdk_tools_0\work\classes\0\test\lib;C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-64_windows\aqa-tests\openjdk\openjdk-jdk\test\lib;C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-64_windows\jvmtest\openjdk\jtreg\lib\javatest.jar;C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-64_windows\jvmtest\openjdk\jtreg\lib\jtreg.jar' \ [2025-01-22T09:25:20.562Z] 'c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-64_windows\jdkbinary\j2sdk-image\bin\java' \ [2025-01-22T09:25:20.562Z] -Dtest.vm.opts='-ea -esa -Xmx512m -XX:+UseCompressedOops' \ [2025-01-22T09:25:20.562Z] -Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m -J-XX:+UseCompressedOops' \ [2025-01-22T09:25:20.562Z] -Dtest.compiler.opts= \ [2025-01-22T09:25:20.562Z] -Dtest.java.opts= \ [2025-01-22T09:25:20.562Z] -Dtest.jdk='c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-64_windows\jdkbinary\j2sdk-image' \ [2025-01-22T09:25:20.562Z] -Dcompile.jdk='c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-64_windows\jdkbinary\j2sdk-image' \ [2025-01-22T09:25:20.562Z] -Dtest.timeout.factor=8.0 \ [2025-01-22T09:25:20.562Z] -Dtest.nativepath='c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-64_windows\jdkbinary\openjdk-test-image\jdk\jtreg\native' \ [2025-01-22T09:25:20.562Z] -Dtest.root='C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-64_windows\aqa-tests\openjdk\openjdk-jdk\test\jdk' \ [2025-01-22T09:25:20.562Z] -Dtest.name=sun/tools/jhsdb/HeapDumpTestWithActiveProcess.java \ [2025-01-22T09:25:20.562Z] -Dtest.file='C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-64_windows\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\tools\jhsdb\HeapDumpTestWithActiveProcess.java' \ [2025-01-22T09:25:20.562Z] -Dtest.src='C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-64_windows\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\tools\jhsdb' \ [2025-01-22T09:25:20.562Z] -Dtest.src.path='C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-64_windows\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\tools\jhsdb;C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-64_windows\aqa-tests\openjdk\openjdk-jdk\test\lib' \ [2025-01-22T09:25:20.562Z] -Dtest.classes='C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-64_windows\aqa-tests\TKG\output_17375111535706\jdk_tools_0\work\classes\0\sun\tools\jhsdb\HeapDumpTestWithActiveProcess.d' \ [2025-01-22T09:25:20.562Z] -Dtest.class.path='C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-64_windows\aqa-tests\TKG\output_17375111535706\jdk_tools_0\work\classes\0\sun\tools\jhsdb\HeapDumpTestWithActiveProcess.d;C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-64_windows\aqa-tests\TKG\output_17375111535706\jdk_tools_0\work\classes\0\test\lib' \ [2025-01-22T09:25:20.562Z] -Dtest.class.path.prefix='C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-64_windows\aqa-tests\TKG\output_17375111535706\jdk_tools_0\work\classes\0\sun\tools\jhsdb\HeapDumpTestWithActiveProcess.d;C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-64_windows\aqa-tests\openjdk\openjdk-jdk\test\jdk\sun\tools\jhsdb;C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-64_windows\aqa-tests\TKG\output_17375111535706\jdk_tools_0\work\classes\0\test\lib' \ [2025-01-22T09:25:20.562Z] -Dtest.modules='jdk.hotspot.agent java.management' \ [2025-01-22T09:25:20.562Z] --add-modules jdk.hotspot.agent,java.management \ [2025-01-22T09:25:20.562Z] -ea \ [2025-01-22T09:25:20.562Z] -esa \ [2025-01-22T09:25:20.562Z] -Xmx512m \ [2025-01-22T09:25:20.562Z] -XX:+UseCompressedOops \ [2025-01-22T09:25:20.562Z] '-Djava.library.path=c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-64_windows\jdkbinary\openjdk-test-image\jdk\jtreg\native' \ [2025-01-22T09:25:20.562Z] com.sun.javatest.regtest.agent.MainWrapper 'C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-64_windows\aqa-tests\TKG\output_17375111535706\jdk_tools_0\work\sun\tools\jhsdb\HeapDumpTestWithActiveProcess.d\main.0.jta' nosleep [2025-01-22T09:25:20.562Z] [2025-01-22T09:25:20.562Z] TEST RESULT: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Test ERROR java.lang.RuntimeException: Expected to get exit value of [0] [2025-01-22T09:25:20.562Z] -------------------------------------------------- [2025-01-22T09:45:21.863Z] Test results: passed: 249; failed: 1 [2025-01-22T09:45:27.641Z] Report written to C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-64_windows\aqa-tests\TKG\output_17375111535706\jdk_tools_0\report\html\report.html [2025-01-22T09:45:27.641Z] Results written to C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-64_windows\aqa-tests\TKG\output_17375111535706\jdk_tools_0\work [2025-01-22T09:45:27.641Z] Error: Some tests failed or other problems occurred. [2025-01-22T09:45:27.641Z] ----------------------------------- [2025-01-22T09:45:27.641Z] jdk_tools_0_FAILED [2025-01-22T09:45:27.641Z] ----------------------------------- [2025-01-22T09:45:27.641Z] [2025-01-22T09:45:27.641Z] TEST TEARDOWN: [2025-01-22T09:45:27.641Z] Nothing to be done for teardown. [2025-01-22T09:45:27.641Z] jdk_tools_0 Finish Time: Wed Jan 22 09:45:27 2025 Epoch Time (ms): 1737539127160