No Possible Issues Found via Git Search

jdk_tools_2

[2025-11-06T20:46:27.459Z] Running test jdk_tools_2 ... [2025-11-06T20:46:27.459Z] =============================================== [2025-11-06T20:46:27.459Z] jdk_tools_2 Start Time: Thu Nov 6 20:46:27 2025 Epoch Time (ms): 1762461987216 [2025-11-06T20:46:27.459Z] variation: Mode1000 [2025-11-06T20:46:27.459Z] JVM_OPTIONS: [2025-11-06T20:46:27.459Z] { \ [2025-11-06T20:46:27.459Z] echo ""; echo "TEST SETUP:"; \ [2025-11-06T20:46:27.459Z] echo "Nothing to be done for setup."; \ [2025-11-06T20:46:27.459Z] mkdir -p "C:/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun/aqa-tests/\\TKG\\output_17624559952789\\jdk_tools_2"; \ [2025-11-06T20:46:27.459Z] cd "C:/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun/aqa-tests/\\TKG\\output_17624559952789\\jdk_tools_2"; \ [2025-11-06T20:46:27.459Z] echo ""; echo "TESTING:"; \ [2025-11-06T20:46:27.459Z] "c:/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun/jdkbinary/j2sdk-image\\bin\\java" -Xmx512m -jar "C:/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun/aqa-tests///..//jvmtest\\openjdk\\jtreg\\lib\\jtreg.jar" \ [2025-11-06T20:46:27.459Z] -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-32_windows_rerun/jdkbinary/openjdk-test-image\\jdk\\jtreg\\native" -vmoptions:"-Xmx512m " \ [2025-11-06T20:46:27.459Z] \ [2025-11-06T20:46:27.459Z] -w ""C:/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun/aqa-tests/\\TKG\\output_17624559952789\\jdk_tools_2"\\work" \ [2025-11-06T20:46:27.459Z] -r ""C:/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun/aqa-tests/\\TKG\\output_17624559952789\\jdk_tools_2"\\report" \ [2025-11-06T20:46:27.459Z] -jdk:"c:/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun/jdkbinary/j2sdk-image" \ [2025-11-06T20:46:27.459Z] -exclude:"C:/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun/aqa-tests/\\openjdk\\openjdk-jdk\\test\\jdk\\ProblemList.txt" \ [2025-11-06T20:46:27.459Z] -exclude:"C:/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun/aqa-tests///..//jvmtest\\openjdk\\excludes/ProblemList_openjdk17.txt" \ [2025-11-06T20:46:27.459Z] \ [2025-11-06T20:46:27.459Z] -exclude:"C:/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun/aqa-tests/\\openjdk\\excludes\\vendors\\eclipse\\ProblemList_openjdk17.txt" \ [2025-11-06T20:46:27.459Z] "C:/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun/aqa-tests/\\openjdk\\openjdk-jdk\\test\\jdk:jdk_tools"; \ [2025-11-06T20:46:27.459Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "jdk_tools_2""_PASSED"; echo "-----------------------------------"; cd C:/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun/aqa-tests/; else echo "-----------------------------------"; echo "jdk_tools_2""_FAILED"; echo "-----------------------------------"; fi; \ [2025-11-06T20:46:27.459Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-11-06T20:46:27.459Z] echo "Nothing to be done for teardown."; \ [2025-11-06T20:46:27.459Z] } 2>&1 | tee -a "C:/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun/aqa-tests/\\TKG\\output_17624559952789\\TestTargetResult"; [2025-11-06T20:46:27.783Z] [2025-11-06T20:46:27.783Z] TEST SETUP: [2025-11-06T20:46:27.783Z] Nothing to be done for setup. [2025-11-06T20:46:27.783Z] [2025-11-06T20:46:27.783Z] TESTING: [2025-11-06T20:46:28.120Z] Directory "C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work" not found: creating [2025-11-06T20:46:28.120Z] Directory "C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\report" not found: creating [2025-11-06T20:46:31.873Z] XML output with verification to C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work [2025-11-06T20:59:43.325Z] -------------------------------------------------- [2025-11-06T20:59:43.325Z] TEST: tools/jpackage/share/BasicTest.java [2025-11-06T20:59:43.325Z] TEST JDK: c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image [2025-11-06T20:59:43.325Z] [2025-11-06T20:59:43.325Z] ACTION: build -- Passed. All files up to date [2025-11-06T20:59:43.325Z] REASON: User specified action: run build jdk.jpackage.test.* [2025-11-06T20:59:43.325Z] TIME: 0.11 seconds [2025-11-06T20:59:43.325Z] messages: [2025-11-06T20:59:43.325Z] command: build jdk.jpackage.test.* [2025-11-06T20:59:43.325Z] reason: User specified action: run build jdk.jpackage.test.* [2025-11-06T20:59:43.325Z] started: Thu Nov 06 20:55:33 UTC 2025 [2025-11-06T20:59:43.325Z] finished: Thu Nov 06 20:55:33 UTC 2025 [2025-11-06T20:59:43.325Z] elapsed time (seconds): 0.11 [2025-11-06T20:59:43.325Z] [2025-11-06T20:59:43.325Z] ACTION: compile -- Passed. Compilation successful [2025-11-06T20:59:43.325Z] REASON: User specified action: run compile BasicTest.java [2025-11-06T20:59:43.325Z] TIME: 0.151 seconds [2025-11-06T20:59:43.325Z] messages: [2025-11-06T20:59:43.325Z] command: compile C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\share\BasicTest.java [2025-11-06T20:59:43.325Z] reason: User specified action: run compile BasicTest.java [2025-11-06T20:59:43.325Z] started: Thu Nov 06 20:55:33 UTC 2025 [2025-11-06T20:59:43.325Z] Additional options from @modules: --add-modules jdk.jpackage,java.base --add-exports jdk.jpackage/jdk.jpackage.internal=ALL-UNNAMED --add-exports java.base/jdk.internal.util=ALL-UNNAMED [2025-11-06T20:59:43.325Z] Mode: agentvm [2025-11-06T20:59:43.325Z] Agent id: 2 [2025-11-06T20:59:43.325Z] finished: Thu Nov 06 20:55:33 UTC 2025 [2025-11-06T20:59:43.325Z] elapsed time (seconds): 0.151 [2025-11-06T20:59:43.325Z] configuration: [2025-11-06T20:59:43.325Z] Boot Layer (javac runtime environment) [2025-11-06T20:59:43.325Z] class path: C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jvmtest\openjdk\jtreg\lib\javatest.jar [2025-11-06T20:59:43.325Z] C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jvmtest\openjdk\jtreg\lib\jtreg.jar [2025-11-06T20:59:43.325Z] patch: java.base C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\patches\java.base [2025-11-06T20:59:43.325Z] [2025-11-06T20:59:43.325Z] javac compilation environment [2025-11-06T20:59:43.325Z] add modules: jdk.jpackage java.base [2025-11-06T20:59:43.325Z] add exports: java.base/jdk.internal.util ALL-UNNAMED [2025-11-06T20:59:43.325Z] jdk.jpackage/jdk.jpackage.internal ALL-UNNAMED [2025-11-06T20:59:43.325Z] source path: C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\share [2025-11-06T20:59:43.325Z] C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\helpers [2025-11-06T20:59:43.325Z] class path: C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\share [2025-11-06T20:59:43.325Z] C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\classes\2\tools\jpackage\share\BasicTest.d [2025-11-06T20:59:43.325Z] C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\classes\2\test\jdk\tools\jpackage\helpers [2025-11-06T20:59:43.325Z] [2025-11-06T20:59:43.325Z] rerun: [2025-11-06T20:59:43.325Z] cd 'C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2' && \ [2025-11-06T20:59:43.325Z] PATH='C:\Program Files\Eclipse Adoptium\jdk-21.0.8.9-hotspot\bin;C:\cygwin64\bin;C:\Windows;C:\windows\system32;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\Microsoft SQL Server\120\Tools\Binn;C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.0;C:\Program Files (x86)\IncrediBuild;C:\rust\bin;C:\Program Files\IcedTeaWEB\bin;C:\Users\adoptopenjdk\AppData\Local\Microsoft\WindowsApps;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit;C:\Users\jenkins.test-azure-win2\AppData\Local\Microsoft\WindowsApps' \ [2025-11-06T20:59:43.325Z] SystemDrive=C: \ [2025-11-06T20:59:43.325Z] SystemRoot='C:\Windows' \ [2025-11-06T20:59:43.325Z] TEMP='C:\Users\JENKIN~1.TES\AppData\Local\Temp' \ [2025-11-06T20:59:43.325Z] TMP='C:\Users\JENKIN~1.TES\AppData\Local\Temp' \ [2025-11-06T20:59:43.325Z] windir='C:\Windows' \ [2025-11-06T20:59:43.325Z] 'c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image\bin\javac' \ [2025-11-06T20:59:43.325Z] -J-ea \ [2025-11-06T20:59:43.325Z] -J-esa \ [2025-11-06T20:59:43.325Z] -J-Xmx512m \ [2025-11-06T20:59:43.325Z] -J-Dtest.vm.opts='-ea -esa -Xmx512m' \ [2025-11-06T20:59:43.325Z] -J-Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m' \ [2025-11-06T20:59:43.325Z] -J-Dtest.compiler.opts= \ [2025-11-06T20:59:43.325Z] -J-Dtest.java.opts= \ [2025-11-06T20:59:43.325Z] -J-Dtest.jdk='c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image' \ [2025-11-06T20:59:43.325Z] -J-Dcompile.jdk='c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image' \ [2025-11-06T20:59:43.325Z] -J-Dtest.timeout.factor=8.0 \ [2025-11-06T20:59:43.325Z] -J-Dtest.nativepath='c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\openjdk-test-image\jdk\jtreg\native' \ [2025-11-06T20:59:43.325Z] -J-Dtest.root='C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk' \ [2025-11-06T20:59:43.325Z] -J-Dtest.name=tools/jpackage/share/BasicTest.java \ [2025-11-06T20:59:43.325Z] -J-Dtest.file='C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\share\BasicTest.java' \ [2025-11-06T20:59:43.325Z] -J-Dtest.src='C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\share' \ [2025-11-06T20:59:43.325Z] -J-Dtest.src.path='C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\share;C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\helpers' \ [2025-11-06T20:59:43.325Z] -J-Dtest.classes='C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\classes\2\tools\jpackage\share\BasicTest.d' \ [2025-11-06T20:59:43.325Z] -J-Dtest.class.path='C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\classes\2\tools\jpackage\share\BasicTest.d;C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\classes\2\test\jdk\tools\jpackage\helpers' \ [2025-11-06T20:59:43.325Z] -J-Dtest.class.path.prefix='C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\classes\2\tools\jpackage\share\BasicTest.d;C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\share;C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\classes\2\test\jdk\tools\jpackage\helpers' \ [2025-11-06T20:59:43.325Z] -J-Dtest.modules='jdk.jpackage/jdk.jpackage.internal:+open java.base/jdk.internal.util' \ [2025-11-06T20:59:43.325Z] --add-modules jdk.jpackage,java.base \ [2025-11-06T20:59:43.325Z] --add-exports jdk.jpackage/jdk.jpackage.internal=ALL-UNNAMED \ [2025-11-06T20:59:43.325Z] --add-exports java.base/jdk.internal.util=ALL-UNNAMED \ [2025-11-06T20:59:43.325Z] -d 'C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\classes\2\tools\jpackage\share\BasicTest.d' \ [2025-11-06T20:59:43.325Z] -sourcepath 'C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\share;C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\helpers' \ [2025-11-06T20:59:43.325Z] -classpath 'C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\share;C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\classes\2\tools\jpackage\share\BasicTest.d;C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\classes\2\test\jdk\tools\jpackage\helpers' 'C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\share\BasicTest.java' [2025-11-06T20:59:43.325Z] [2025-11-06T20:59:43.325Z] ACTION: build -- Passed. All files up to date [2025-11-06T20:59:43.325Z] REASON: Named class compiled on demand [2025-11-06T20:59:43.325Z] TIME: 0.001 seconds [2025-11-06T20:59:43.325Z] messages: [2025-11-06T20:59:43.325Z] command: build jdk.jpackage.test.Main [2025-11-06T20:59:43.325Z] reason: Named class compiled on demand [2025-11-06T20:59:43.325Z] started: Thu Nov 06 20:55:33 UTC 2025 [2025-11-06T20:59:43.325Z] finished: Thu Nov 06 20:55:33 UTC 2025 [2025-11-06T20:59:43.325Z] elapsed time (seconds): 0.001 [2025-11-06T20:59:43.325Z] [2025-11-06T20:59:43.325Z] ACTION: main -- Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: 2 FAILED TESTS [2025-11-06T20:59:43.325Z] REASON: User specified action: run main/othervm/timeout=720 -Xmx512m jdk.jpackage.test.Main --jpt-run=BasicTest [2025-11-06T20:59:43.325Z] TIME: 157.27 seconds [2025-11-06T20:59:43.325Z] messages: [2025-11-06T20:59:43.325Z] command: main -Xmx512m jdk.jpackage.test.Main --jpt-run=BasicTest [2025-11-06T20:59:43.325Z] reason: User specified action: run main/othervm/timeout=720 -Xmx512m jdk.jpackage.test.Main --jpt-run=BasicTest [2025-11-06T20:59:43.325Z] started: Thu Nov 06 20:56:51 UTC 2025 [2025-11-06T20:59:43.325Z] Mode: othervm [/othervm specified] [2025-11-06T20:59:43.325Z] Additional options from @modules: --add-modules jdk.jpackage,java.base --add-exports jdk.jpackage/jdk.jpackage.internal=ALL-UNNAMED --add-opens jdk.jpackage/jdk.jpackage.internal=ALL-UNNAMED --add-exports java.base/jdk.internal.util=ALL-UNNAMED [2025-11-06T20:59:43.325Z] finished: Thu Nov 06 20:59:29 UTC 2025 [2025-11-06T20:59:43.325Z] elapsed time (seconds): 157.27 [2025-11-06T20:59:43.325Z] configuration: [2025-11-06T20:59:43.325Z] Boot Layer [2025-11-06T20:59:43.325Z] add modules: jdk.jpackage java.base [2025-11-06T20:59:43.325Z] add exports: java.base/jdk.internal.util ALL-UNNAMED [2025-11-06T20:59:43.325Z] jdk.jpackage/jdk.jpackage.internal ALL-UNNAMED [2025-11-06T20:59:43.325Z] add opens: jdk.jpackage/jdk.jpackage.internal ALL-UNNAMED [2025-11-06T20:59:43.325Z] [2025-11-06T20:59:43.325Z] STDOUT: [2025-11-06T20:59:43.325Z] [20:56:52.105] Parsing [--jpt-run=BasicTest]... [2025-11-06T20:59:43.325Z] [20:56:52.161] BasicTest.testExitCode -> [public void BasicTest.testExitCode(int)] [2025-11-06T20:59:43.325Z] [20:56:52.173] BasicTest.testAddModules -> [public void BasicTest.testAddModules(java.lang.String[])] [2025-11-06T20:59:43.325Z] [20:56:52.174] BasicTest.testVerbose -> [public void BasicTest.testVerbose()] [2025-11-06T20:59:43.325Z] [20:56:52.174] BasicTest.testVersion -> [public void BasicTest.testVersion()] [2025-11-06T20:59:43.325Z] [20:56:52.175] BasicTest.testJpackageProps -> [public void BasicTest.testJpackageProps()] [2025-11-06T20:59:43.325Z] [20:56:52.175] BasicTest.testWhitespaceInPaths -> [public void BasicTest.testWhitespaceInPaths()] [2025-11-06T20:59:43.326Z] [20:56:52.175] BasicTest.testTemp -> [public void BasicTest.testTemp(BasicTest$TestTempType) throws java.io.IOException] [2025-11-06T20:59:43.326Z] [20:56:52.176] BasicTest.testAtFile -> [public void BasicTest.testAtFile() throws java.io.IOException] [2025-11-06T20:59:43.326Z] [20:56:52.176] BasicTest.testHelp -> [public void BasicTest.testHelp()] [2025-11-06T20:59:43.326Z] [20:56:52.176] BasicTest.testApp -> [public void BasicTest.testApp(java.lang.String)] [2025-11-06T20:59:43.326Z] [20:56:52.177] BasicTest.testNoName -> [public void BasicTest.testNoName()] [2025-11-06T20:59:43.326Z] [20:56:52.177] BasicTest.testNoArgs -> [public void BasicTest.testNoArgs()] [2025-11-06T20:59:43.326Z] [20:56:52.185] Create: BasicTest.testExitCode(1) [2025-11-06T20:59:43.326Z] [20:56:52.185] Create: BasicTest.testExitCode(123) [2025-11-06T20:59:43.326Z] [20:56:52.186] Create: BasicTest.testAddModules([ALL-MODULE-PATH](length=1)) [2025-11-06T20:59:43.326Z] [20:56:52.186] Create: BasicTest.testAddModules([ALL-DEFAULT](length=1)) [2025-11-06T20:59:43.326Z] [20:56:52.186] Create: BasicTest.testAddModules([java.desktop](length=1)) [2025-11-06T20:59:43.326Z] [20:56:52.187] Create: BasicTest.testAddModules([java.desktop,jdk.jartool](length=1)) [2025-11-06T20:59:43.326Z] [20:56:52.187] Create: BasicTest.testAddModules([java.desktop, jdk.jartool](length=2)) [2025-11-06T20:59:43.326Z] [20:56:52.187] Create: BasicTest.testVerbose [2025-11-06T20:59:43.326Z] [20:56:52.187] Create: BasicTest.testVersion [2025-11-06T20:59:43.326Z] [20:56:52.188] Create: BasicTest.testJpackageProps [2025-11-06T20:59:43.326Z] [20:56:52.188] Create: BasicTest.testWhitespaceInPaths [2025-11-06T20:59:43.326Z] [20:56:52.188] Create: BasicTest.testTemp(TEMPDIR_EMPTY) [2025-11-06T20:59:43.326Z] [20:56:52.188] Create: BasicTest.testTemp(TEMPDIR_NOT_EMPTY) [2025-11-06T20:59:43.326Z] [20:56:52.189] Create: BasicTest.testTemp(TEMPDIR_NOT_EXIST) [2025-11-06T20:59:43.326Z] [20:56:52.189] Create: BasicTest.testAtFile [2025-11-06T20:59:43.326Z] [20:56:52.190] Create: BasicTest.testHelp [2025-11-06T20:59:43.326Z] [20:56:52.190] Create: BasicTest.testApp(Hello) [2025-11-06T20:59:43.326Z] [20:56:52.190] Create: BasicTest.testApp(com.other/com.other.Hello) [2025-11-06T20:59:43.326Z] [20:56:52.190] Create: BasicTest.testApp(hello.jmod:com.other/com.other.Hello) [2025-11-06T20:59:43.326Z] [20:56:52.191] Create: BasicTest.testApp(hello.ejmod:com.other/com.other.Hello) [2025-11-06T20:59:43.326Z] [20:56:52.191] Create: BasicTest.testNoName [2025-11-06T20:59:43.326Z] [20:56:52.191] Create: BasicTest.testNoArgs [2025-11-06T20:59:43.326Z] [20:56:52.193] [ RUN ] BasicTest.testAddModules([ALL-DEFAULT](length=1)) [2025-11-06T20:59:43.326Z] [20:56:52.464] TRACE: Bundler msi supported [2025-11-06T20:59:43.326Z] [20:56:52.673] TRACE: Bundler exe supported [2025-11-06T20:59:43.326Z] [20:56:52.690] TRACE: Create [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testAddModules.c08bdc01\src\module-info.java] text file... [2025-11-06T20:59:43.326Z] [20:56:52.691] TRACE: module com.other { [2025-11-06T20:59:43.326Z] [20:56:52.691] TRACE: exports com.other; [2025-11-06T20:59:43.326Z] [20:56:52.691] TRACE: requires java.desktop; [2025-11-06T20:59:43.326Z] [20:56:52.691] TRACE: } [2025-11-06T20:59:43.326Z] [20:56:52.693] TRACE: Done [2025-11-06T20:59:43.326Z] [20:56:52.724] TRACE: exec: Execute tool provider [javac -d .\testAddModules.c08bdc01\jar-workdir .\testAddModules.c08bdc01\src\com\other\Hello.java .\testAddModules.c08bdc01\src\module-info.java](5)... [2025-11-06T20:59:43.326Z] [20:56:53.295] TRACE: exec: Done. Exit code: 0 [2025-11-06T20:59:43.326Z] [20:56:53.297] TRACE: assertEquals(0): Check command tool provider [javac -d .\testAddModules.c08bdc01\jar-workdir .\testAddModules.c08bdc01\src\com\other\Hello.java .\testAddModules.c08bdc01\src\module-info.java](5) exited with 0 code [2025-11-06T20:59:43.326Z] [20:56:53.299] TRACE: exec: Execute tool provider [jar -c -f .\testAddModules.c08bdc01\input-modules\goodbye.jar -C .\testAddModules.c08bdc01\jar-workdir .](7)... [2025-11-06T20:59:43.326Z] [20:56:53.408] TRACE: exec: Done. Exit code: 0 [2025-11-06T20:59:43.326Z] [20:56:53.409] TRACE: assertEquals(0): Check command tool provider [jar -c -f .\testAddModules.c08bdc01\input-modules\goodbye.jar -C .\testAddModules.c08bdc01\jar-workdir .](7) exited with 0 code [2025-11-06T20:59:43.326Z] [20:56:53.416] TRACE: exec: Execute [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image\bin\jpackage.exe --dest .\testAddModules.c08bdc01\output --name AddModulesBasicTest --type app-image --module-path .\testAddModules.c08bdc01\input-modules --module com.other/com.other.Hello --win-console --add-modules ALL-DEFAULT --verbose](15); inherit I/O... [2025-11-06T20:59:43.326Z] [20:56:53.799] Creating app package: AddModulesBasicTest in C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\.\testAddModules.c08bdc01\output [2025-11-06T20:59:43.326Z] [20:57:03.439] Command [PID: -1]: [2025-11-06T20:59:43.326Z] jlink --output .\testAddModules.c08bdc01\output\AddModulesBasicTest\runtime --module-path .\\testAddModules.c08bdc01\\input-modules;c:\\jenkins\\workspace\\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\\jdkbinary\\j2sdk-image\\jmods --add-modules jdk.management.jfr,java.rmi,jdk.jdi,jdk.charsets,jdk.xml.dom,java.xml,java.datatransfer,jdk.jstatd,jdk.httpserver,com.other,java.desktop,java.security.sasl,jdk.zipfs,java.base,jdk.crypto.ec,jdk.javadoc,jdk.management.agent,jdk.jshell,jdk.editpad,jdk.jsobject,java.sql.rowset,jdk.sctp,java.smartcardio,jdk.unsupported,jdk.jlink,java.security.jgss,java.compiler,jdk.nio.mapmode,jdk.dynalink,jdk.unsupported.desktop,jdk.accessibility,jdk.security.jgss,java.sql,jdk.incubator.vector,java.xml.crypto,java.transaction.xa,java.logging,jdk.jfr,jdk.crypto.cryptoki,jdk.random,jdk.net,java.naming,jdk.internal.ed,java.prefs,java.net.http,jdk.compiler,jdk.internal.opt,jdk.naming.rmi,jdk.jconsole,jdk.attach,jdk.crypto.mscapi,jdk.internal.le,java.management,jdk.jdwp.agent,jdk.incubator.foreign,jdk.internal.jvmstat,java.instrument,jdk.management,jdk.security.auth,java.scripting,jdk.jdeps,jdk.jartool,java.management.rmi,jdk.jpackage,jdk.naming.dns,jdk.localedata --strip-native-commands --strip-debug --no-man-pages --no-header-files [2025-11-06T20:59:43.326Z] [20:57:03.439] Output: [2025-11-06T20:59:43.326Z] WARNING: Using incubator modules: jdk.incubator.foreign, jdk.incubator.vector [2025-11-06T20:59:43.326Z] [2025-11-06T20:59:43.326Z] [20:57:03.441] Returned: 0 [2025-11-06T20:59:43.326Z] [2025-11-06T20:59:43.326Z] [20:57:03.445] Using default package resource JavaApp.ico [icon] (add AddModulesBasicTest.ico to the resource-dir to customize). [2025-11-06T20:59:43.326Z] [20:57:03.458] Warning: Windows Defender may prevent jpackage from functioning. If there is an issue, it can be addressed by either disabling realtime monitoring, or adding an exclusion for the directory "C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage1745986691263557439". [2025-11-06T20:59:43.326Z] [20:57:03.655] Using default package resource WinLauncher.template [Template for creating executable properties file] (add AddModulesBasicTest.properties to the resource-dir to customize). [2025-11-06T20:59:43.326Z] [20:57:03.695] Succeeded in building Windows Application Image package [2025-11-06T20:59:43.326Z] [20:57:03.767] TRACE: exec: Done. Exit code: 0 [2025-11-06T20:59:43.326Z] [20:57:03.768] TRACE: assertEquals(0): Check command [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image\bin\jpackage.exe --dest .\testAddModules.c08bdc01\output --name AddModulesBasicTest --type app-image --module-path .\testAddModules.c08bdc01\input-modules --module com.other/com.other.Hello --win-console --add-modules ALL-DEFAULT --verbose](15) exited with 0 code [2025-11-06T20:59:43.326Z] [20:57:03.794] TRACE: assertStringListEquals(): Check there is only one file with [.jpackage.xml] name in the package [2025-11-06T20:59:43.326Z] [20:57:03.797] TRACE: assertStringListEquals(1, .\testAddModules.c08bdc01\output\AddModulesBasicTest\app\.jpackage.xml) [2025-11-06T20:59:43.326Z] [20:57:03.805] TRACE: assertTrue(): Check [.\testAddModules.c08bdc01\output\AddModulesBasicTest\runtime] path exists [2025-11-06T20:59:43.326Z] [20:57:03.809] TRACE: assertTrue(): Check [.\testAddModules.c08bdc01\output\AddModulesBasicTest\runtime] is a directory [2025-11-06T20:59:43.326Z] [20:57:03.810] TRACE: assertTrue(): Check [.\testAddModules.c08bdc01\output\AddModulesBasicTest\AddModulesBasicTest.exe] path exists [2025-11-06T20:59:43.326Z] [20:57:03.810] TRACE: assertTrue(): Check [.\testAddModules.c08bdc01\output\AddModulesBasicTest\AddModulesBasicTest.exe] is a file [2025-11-06T20:59:43.326Z] [20:57:03.811] TRACE: assertTrue(): Check [.\testAddModules.c08bdc01\output\AddModulesBasicTest\AddModulesBasicTest.exe] file is executable [2025-11-06T20:59:43.326Z] [20:57:03.812] TRACE: assertTrue(): Check [.\testAddModules.c08bdc01\output\AddModulesBasicTest\app\AddModulesBasicTest.cfg] path exists [2025-11-06T20:59:43.326Z] [20:57:03.813] TRACE: assertTrue(): Check [.\testAddModules.c08bdc01\output\AddModulesBasicTest\app\AddModulesBasicTest.cfg] is a file [2025-11-06T20:59:43.326Z] [20:57:03.822] TRACE: Clearing PATH in environment [2025-11-06T20:59:43.326Z] [20:57:03.822] TRACE: exec: Execute [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\.\testAddModules.c08bdc01\output\AddModulesBasicTest\AddModulesBasicTest.exe](1); inherit I/O; in directory [.\testAddModules.c08bdc01]... [2025-11-06T20:59:43.326Z] hello: Environment supports a display [2025-11-06T20:59:43.326Z] hello: Environment supports a desktop [2025-11-06T20:59:43.326Z] jpackage test application [2025-11-06T20:59:43.326Z] args.length: 0 [2025-11-06T20:59:43.326Z] hello: Output file: [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testAddModules.c08bdc01\appOutput.txt] [2025-11-06T20:59:43.326Z] [20:57:04.465] TRACE: exec: Done. Exit code: 0 [2025-11-06T20:59:43.326Z] [20:57:04.465] TRACE: assertEquals(0): Check command [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\.\testAddModules.c08bdc01\output\AddModulesBasicTest\AddModulesBasicTest.exe](1) exited with 0 code [2025-11-06T20:59:43.326Z] [20:57:04.466] TRACE: assertTrue(): Check [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testAddModules.c08bdc01\appOutput.txt] path exists [2025-11-06T20:59:43.326Z] [20:57:04.466] TRACE: assertTrue(): Check [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testAddModules.c08bdc01\appOutput.txt] is a file [2025-11-06T20:59:43.326Z] [20:57:04.467] TRACE: assertStringListEquals(): Check contents of [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testAddModules.c08bdc01\appOutput.txt] file [2025-11-06T20:59:43.326Z] [20:57:04.468] TRACE: assertStringListEquals(1, jpackage test application) [2025-11-06T20:59:43.326Z] [20:57:04.468] TRACE: assertStringListEquals(2, args.length: 0) [2025-11-06T20:59:43.326Z] [20:57:04.468] TRACE: Deleting [.\testAddModules.c08bdc01] directory recursively [2025-11-06T20:59:43.326Z] [20:57:04.619] [ OK ] BasicTest.testAddModules([ALL-DEFAULT](length=1)); checks=15 [2025-11-06T20:59:43.326Z] [20:57:04.620] [ RUN ] BasicTest.testAddModules([ALL-MODULE-PATH](length=1)) [2025-11-06T20:59:43.326Z] [20:57:04.621] TRACE: Create [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testAddModules.bf4a7bc6\src\module-info.java] text file... [2025-11-06T20:59:43.326Z] [20:57:04.621] TRACE: module com.other { [2025-11-06T20:59:43.326Z] [20:57:04.622] TRACE: exports com.other; [2025-11-06T20:59:43.326Z] [20:57:04.622] TRACE: requires java.desktop; [2025-11-06T20:59:43.326Z] [20:57:04.622] TRACE: } [2025-11-06T20:59:43.326Z] [20:57:04.623] TRACE: Done [2025-11-06T20:59:43.326Z] [20:57:04.626] TRACE: exec: Execute tool provider [javac -d .\testAddModules.bf4a7bc6\jar-workdir .\testAddModules.bf4a7bc6\src\com\other\Hello.java .\testAddModules.bf4a7bc6\src\module-info.java](5)... [2025-11-06T20:59:43.326Z] [20:57:04.763] TRACE: exec: Done. Exit code: 0 [2025-11-06T20:59:43.326Z] [20:57:04.764] TRACE: assertEquals(0): Check command tool provider [javac -d .\testAddModules.bf4a7bc6\jar-workdir .\testAddModules.bf4a7bc6\src\com\other\Hello.java .\testAddModules.bf4a7bc6\src\module-info.java](5) exited with 0 code [2025-11-06T20:59:43.326Z] [20:57:04.765] TRACE: exec: Execute tool provider [jar -c -f .\testAddModules.bf4a7bc6\input-modules\goodbye.jar -C .\testAddModules.bf4a7bc6\jar-workdir .](7)... [2025-11-06T20:59:43.326Z] [20:57:04.790] TRACE: exec: Done. Exit code: 0 [2025-11-06T20:59:43.326Z] [20:57:04.790] TRACE: assertEquals(0): Check command tool provider [jar -c -f .\testAddModules.bf4a7bc6\input-modules\goodbye.jar -C .\testAddModules.bf4a7bc6\jar-workdir .](7) exited with 0 code [2025-11-06T20:59:43.326Z] [20:57:04.793] TRACE: exec: Execute [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image\bin\jpackage.exe --dest .\testAddModules.bf4a7bc6\output --name AddModulesBasicTest --type app-image --module-path .\testAddModules.bf4a7bc6\input-modules --module com.other/com.other.Hello --win-console --add-modules ALL-MODULE-PATH --verbose](15); inherit I/O... [2025-11-06T20:59:43.326Z] [20:57:05.175] Creating app package: AddModulesBasicTest in C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\.\testAddModules.bf4a7bc6\output [2025-11-06T20:59:43.326Z] [20:57:13.074] Command [PID: -1]: [2025-11-06T20:59:43.326Z] jlink --output .\testAddModules.bf4a7bc6\output\AddModulesBasicTest\runtime --module-path .\\testAddModules.bf4a7bc6\\input-modules;c:\\jenkins\\workspace\\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\\jdkbinary\\j2sdk-image\\jmods --add-modules jdk.management.jfr,java.rmi,jdk.jdi,jdk.charsets,jdk.xml.dom,java.xml,java.datatransfer,jdk.jstatd,jdk.httpserver,com.other,jdk.jcmd,java.desktop,java.se,java.security.sasl,jdk.zipfs,java.base,jdk.crypto.ec,jdk.javadoc,jdk.management.agent,jdk.jshell,jdk.editpad,jdk.jsobject,jdk.sctp,java.sql.rowset,jdk.unsupported,jdk.jlink,java.smartcardio,java.security.jgss,java.compiler,jdk.nio.mapmode,jdk.dynalink,jdk.unsupported.desktop,jdk.accessibility,jdk.security.jgss,jdk.incubator.vector,java.sql,jdk.hotspot.agent,java.xml.crypto,java.transaction.xa,java.logging,jdk.jfr,jdk.crypto.cryptoki,jdk.random,jdk.net,java.naming,jdk.internal.ed,java.prefs,java.net.http,jdk.compiler,jdk.internal.opt,jdk.naming.rmi,jdk.jconsole,jdk.attach,jdk.crypto.mscapi,jdk.internal.le,java.management,jdk.jdwp.agent,jdk.incubator.foreign,jdk.internal.jvmstat,java.instrument,jdk.management,jdk.security.auth,java.scripting,jdk.jdeps,jdk.jartool,jdk.jpackage,java.management.rmi,jdk.naming.dns,jdk.localedata --strip-native-commands --strip-debug --no-man-pages --no-header-files [2025-11-06T20:59:43.326Z] [20:57:13.074] Output: [2025-11-06T20:59:43.326Z] WARNING: Using incubator modules: jdk.incubator.foreign, jdk.incubator.vector [2025-11-06T20:59:43.326Z] [2025-11-06T20:59:43.326Z] [20:57:13.076] Returned: 0 [2025-11-06T20:59:43.326Z] [2025-11-06T20:59:43.326Z] [20:57:13.080] Using default package resource JavaApp.ico [icon] (add AddModulesBasicTest.ico to the resource-dir to customize). [2025-11-06T20:59:43.326Z] [20:57:13.090] Warning: Windows Defender may prevent jpackage from functioning. If there is an issue, it can be addressed by either disabling realtime monitoring, or adding an exclusion for the directory "C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage508373256997707076". [2025-11-06T20:59:43.326Z] [20:57:13.289] Using default package resource WinLauncher.template [Template for creating executable properties file] (add AddModulesBasicTest.properties to the resource-dir to customize). [2025-11-06T20:59:43.326Z] [20:57:13.374] Succeeded in building Windows Application Image package [2025-11-06T20:59:43.326Z] [20:57:13.429] TRACE: exec: Done. Exit code: 0 [2025-11-06T20:59:43.326Z] [20:57:13.430] TRACE: assertEquals(0): Check command [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image\bin\jpackage.exe --dest .\testAddModules.bf4a7bc6\output --name AddModulesBasicTest --type app-image --module-path .\testAddModules.bf4a7bc6\input-modules --module com.other/com.other.Hello --win-console --add-modules ALL-MODULE-PATH --verbose](15) exited with 0 code [2025-11-06T20:59:43.326Z] [20:57:13.447] TRACE: assertStringListEquals(): Check there is only one file with [.jpackage.xml] name in the package [2025-11-06T20:59:43.326Z] [20:57:13.447] TRACE: assertStringListEquals(1, .\testAddModules.bf4a7bc6\output\AddModulesBasicTest\app\.jpackage.xml) [2025-11-06T20:59:43.326Z] [20:57:13.448] TRACE: assertTrue(): Check [.\testAddModules.bf4a7bc6\output\AddModulesBasicTest\runtime] path exists [2025-11-06T20:59:43.326Z] [20:57:13.448] TRACE: assertTrue(): Check [.\testAddModules.bf4a7bc6\output\AddModulesBasicTest\runtime] is a directory [2025-11-06T20:59:43.326Z] [20:57:13.448] TRACE: assertTrue(): Check [.\testAddModules.bf4a7bc6\output\AddModulesBasicTest\AddModulesBasicTest.exe] path exists [2025-11-06T20:59:43.326Z] [20:57:13.449] TRACE: assertTrue(): Check [.\testAddModules.bf4a7bc6\output\AddModulesBasicTest\AddModulesBasicTest.exe] is a file [2025-11-06T20:59:43.326Z] [20:57:13.450] TRACE: assertTrue(): Check [.\testAddModules.bf4a7bc6\output\AddModulesBasicTest\AddModulesBasicTest.exe] file is executable [2025-11-06T20:59:43.326Z] [20:57:13.451] TRACE: assertTrue(): Check [.\testAddModules.bf4a7bc6\output\AddModulesBasicTest\app\AddModulesBasicTest.cfg] path exists [2025-11-06T20:59:43.326Z] [20:57:13.452] TRACE: assertTrue(): Check [.\testAddModules.bf4a7bc6\output\AddModulesBasicTest\app\AddModulesBasicTest.cfg] is a file [2025-11-06T20:59:43.326Z] [20:57:13.454] TRACE: Clearing PATH in environment [2025-11-06T20:59:43.327Z] [20:57:13.454] TRACE: exec: Execute [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\.\testAddModules.bf4a7bc6\output\AddModulesBasicTest\AddModulesBasicTest.exe](1); inherit I/O; in directory [.\testAddModules.bf4a7bc6]... [2025-11-06T20:59:43.327Z] hello: Environment supports a display [2025-11-06T20:59:43.327Z] hello: Environment supports a desktop [2025-11-06T20:59:43.327Z] jpackage test application [2025-11-06T20:59:43.327Z] args.length: 0 [2025-11-06T20:59:43.327Z] hello: Output file: [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testAddModules.bf4a7bc6\appOutput.txt] [2025-11-06T20:59:43.327Z] [20:57:14.035] TRACE: exec: Done. Exit code: 0 [2025-11-06T20:59:43.327Z] [20:57:14.035] TRACE: assertEquals(0): Check command [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\.\testAddModules.bf4a7bc6\output\AddModulesBasicTest\AddModulesBasicTest.exe](1) exited with 0 code [2025-11-06T20:59:43.327Z] [20:57:14.035] TRACE: assertTrue(): Check [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testAddModules.bf4a7bc6\appOutput.txt] path exists [2025-11-06T20:59:43.327Z] [20:57:14.036] TRACE: assertTrue(): Check [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testAddModules.bf4a7bc6\appOutput.txt] is a file [2025-11-06T20:59:43.327Z] [20:57:14.036] TRACE: assertStringListEquals(): Check contents of [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testAddModules.bf4a7bc6\appOutput.txt] file [2025-11-06T20:59:43.327Z] [20:57:14.036] TRACE: assertStringListEquals(1, jpackage test application) [2025-11-06T20:59:43.327Z] [20:57:14.036] TRACE: assertStringListEquals(2, args.length: 0) [2025-11-06T20:59:43.327Z] [20:57:14.037] TRACE: Deleting [.\testAddModules.bf4a7bc6] directory recursively [2025-11-06T20:59:43.327Z] [20:57:14.169] [ OK ] BasicTest.testAddModules([ALL-MODULE-PATH](length=1)); checks=15 [2025-11-06T20:59:43.327Z] [20:57:14.169] [ RUN ] BasicTest.testAddModules([java.desktop, jdk.jartool](length=2)) [2025-11-06T20:59:43.327Z] [20:57:14.174] TRACE: Create [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testAddModules.9ab4d59f\src\module-info.java] text file... [2025-11-06T20:59:43.327Z] [20:57:14.174] TRACE: module com.other { [2025-11-06T20:59:43.327Z] [20:57:14.175] TRACE: exports com.other; [2025-11-06T20:59:43.327Z] [20:57:14.175] TRACE: requires java.desktop; [2025-11-06T20:59:43.327Z] [20:57:14.175] TRACE: } [2025-11-06T20:59:43.327Z] [20:57:14.175] TRACE: Done [2025-11-06T20:59:43.327Z] [20:57:14.178] TRACE: exec: Execute tool provider [javac -d .\testAddModules.9ab4d59f\jar-workdir .\testAddModules.9ab4d59f\src\com\other\Hello.java .\testAddModules.9ab4d59f\src\module-info.java](5)... [2025-11-06T20:59:43.327Z] [20:57:14.273] TRACE: exec: Done. Exit code: 0 [2025-11-06T20:59:43.327Z] [20:57:14.274] TRACE: assertEquals(0): Check command tool provider [javac -d .\testAddModules.9ab4d59f\jar-workdir .\testAddModules.9ab4d59f\src\com\other\Hello.java .\testAddModules.9ab4d59f\src\module-info.java](5) exited with 0 code [2025-11-06T20:59:43.327Z] [20:57:14.275] TRACE: exec: Execute tool provider [jar -c -f .\testAddModules.9ab4d59f\input-modules\goodbye.jar -C .\testAddModules.9ab4d59f\jar-workdir .](7)... [2025-11-06T20:59:43.327Z] [20:57:14.298] TRACE: exec: Done. Exit code: 0 [2025-11-06T20:59:43.327Z] [20:57:14.298] TRACE: assertEquals(0): Check command tool provider [jar -c -f .\testAddModules.9ab4d59f\input-modules\goodbye.jar -C .\testAddModules.9ab4d59f\jar-workdir .](7) exited with 0 code [2025-11-06T20:59:43.327Z] [20:57:14.301] TRACE: exec: Execute [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image\bin\jpackage.exe --dest .\testAddModules.9ab4d59f\output --name AddModulesBasicTest --type app-image --module-path .\testAddModules.9ab4d59f\input-modules --module com.other/com.other.Hello --win-console --add-modules java.desktop --add-modules jdk.jartool --verbose](17); inherit I/O... [2025-11-06T20:59:43.327Z] [20:57:14.718] Creating app package: AddModulesBasicTest in C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\.\testAddModules.9ab4d59f\output [2025-11-06T20:59:43.327Z] [20:57:18.257] Command [PID: -1]: [2025-11-06T20:59:43.327Z] jlink --output .\testAddModules.9ab4d59f\output\AddModulesBasicTest\runtime --module-path .\\testAddModules.9ab4d59f\\input-modules;c:\\jenkins\\workspace\\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\\jdkbinary\\j2sdk-image\\jmods --add-modules com.other,java.desktop,jdk.jartool --strip-native-commands --strip-debug --no-man-pages --no-header-files [2025-11-06T20:59:43.327Z] [20:57:18.258] Output: [2025-11-06T20:59:43.327Z] [2025-11-06T20:59:43.327Z] [20:57:18.260] Returned: 0 [2025-11-06T20:59:43.327Z] [2025-11-06T20:59:43.327Z] [20:57:18.267] Using default package resource JavaApp.ico [icon] (add AddModulesBasicTest.ico to the resource-dir to customize). [2025-11-06T20:59:43.327Z] [20:57:18.278] Warning: Windows Defender may prevent jpackage from functioning. If there is an issue, it can be addressed by either disabling realtime monitoring, or adding an exclusion for the directory "C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage3698319548465337644". [2025-11-06T20:59:43.327Z] [20:57:18.491] Using default package resource WinLauncher.template [Template for creating executable properties file] (add AddModulesBasicTest.properties to the resource-dir to customize). [2025-11-06T20:59:43.327Z] [20:57:18.532] Succeeded in building Windows Application Image package [2025-11-06T20:59:43.327Z] [20:57:18.563] TRACE: exec: Done. Exit code: 0 [2025-11-06T20:59:43.327Z] [20:57:18.563] TRACE: assertEquals(0): Check command [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image\bin\jpackage.exe --dest .\testAddModules.9ab4d59f\output --name AddModulesBasicTest --type app-image --module-path .\testAddModules.9ab4d59f\input-modules --module com.other/com.other.Hello --win-console --add-modules java.desktop --add-modules jdk.jartool --verbose](17) exited with 0 code [2025-11-06T20:59:43.327Z] [20:57:18.566] TRACE: assertStringListEquals(): Check there is only one file with [.jpackage.xml] name in the package [2025-11-06T20:59:43.327Z] [20:57:18.566] TRACE: assertStringListEquals(1, .\testAddModules.9ab4d59f\output\AddModulesBasicTest\app\.jpackage.xml) [2025-11-06T20:59:43.327Z] [20:57:18.567] TRACE: assertTrue(): Check [.\testAddModules.9ab4d59f\output\AddModulesBasicTest\runtime] path exists [2025-11-06T20:59:43.327Z] [20:57:18.567] TRACE: assertTrue(): Check [.\testAddModules.9ab4d59f\output\AddModulesBasicTest\runtime] is a directory [2025-11-06T20:59:43.327Z] [20:57:18.567] TRACE: assertTrue(): Check [.\testAddModules.9ab4d59f\output\AddModulesBasicTest\AddModulesBasicTest.exe] path exists [2025-11-06T20:59:43.327Z] [20:57:18.567] TRACE: assertTrue(): Check [.\testAddModules.9ab4d59f\output\AddModulesBasicTest\AddModulesBasicTest.exe] is a file [2025-11-06T20:59:43.327Z] [20:57:18.567] TRACE: assertTrue(): Check [.\testAddModules.9ab4d59f\output\AddModulesBasicTest\AddModulesBasicTest.exe] file is executable [2025-11-06T20:59:43.327Z] [20:57:18.568] TRACE: assertTrue(): Check [.\testAddModules.9ab4d59f\output\AddModulesBasicTest\app\AddModulesBasicTest.cfg] path exists [2025-11-06T20:59:43.327Z] [20:57:18.568] TRACE: assertTrue(): Check [.\testAddModules.9ab4d59f\output\AddModulesBasicTest\app\AddModulesBasicTest.cfg] is a file [2025-11-06T20:59:43.327Z] [20:57:18.569] TRACE: Clearing PATH in environment [2025-11-06T20:59:43.327Z] [20:57:18.569] TRACE: exec: Execute [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\.\testAddModules.9ab4d59f\output\AddModulesBasicTest\AddModulesBasicTest.exe](1); inherit I/O; in directory [.\testAddModules.9ab4d59f]... [2025-11-06T20:59:43.327Z] hello: Environment supports a display [2025-11-06T20:59:43.327Z] hello: Environment supports a desktop [2025-11-06T20:59:43.327Z] jpackage test application [2025-11-06T20:59:43.327Z] args.length: 0 [2025-11-06T20:59:43.327Z] hello: Output file: [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testAddModules.9ab4d59f\appOutput.txt] [2025-11-06T20:59:43.327Z] [20:57:19.152] TRACE: exec: Done. Exit code: 0 [2025-11-06T20:59:43.327Z] [20:57:19.153] TRACE: assertEquals(0): Check command [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\.\testAddModules.9ab4d59f\output\AddModulesBasicTest\AddModulesBasicTest.exe](1) exited with 0 code [2025-11-06T20:59:43.327Z] [20:57:19.153] TRACE: assertTrue(): Check [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testAddModules.9ab4d59f\appOutput.txt] path exists [2025-11-06T20:59:43.327Z] [20:57:19.153] TRACE: assertTrue(): Check [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testAddModules.9ab4d59f\appOutput.txt] is a file [2025-11-06T20:59:43.327Z] [20:57:19.154] TRACE: assertStringListEquals(): Check contents of [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testAddModules.9ab4d59f\appOutput.txt] file [2025-11-06T20:59:43.327Z] [20:57:19.154] TRACE: assertStringListEquals(1, jpackage test application) [2025-11-06T20:59:43.327Z] [20:57:19.154] TRACE: assertStringListEquals(2, args.length: 0) [2025-11-06T20:59:43.327Z] [20:57:19.154] TRACE: Deleting [.\testAddModules.9ab4d59f] directory recursively [2025-11-06T20:59:43.327Z] [20:57:19.209] [ OK ] BasicTest.testAddModules([java.desktop, jdk.jartool](length=2)); checks=15 [2025-11-06T20:59:43.327Z] [20:57:19.209] [ RUN ] BasicTest.testAddModules([java.desktop,jdk.jartool](length=1)) [2025-11-06T20:59:43.327Z] [20:57:19.211] TRACE: Create [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testAddModules.346bed98\src\module-info.java] text file... [2025-11-06T20:59:43.327Z] [20:57:19.212] TRACE: module com.other { [2025-11-06T20:59:43.327Z] [20:57:19.212] TRACE: exports com.other; [2025-11-06T20:59:43.327Z] [20:57:19.212] TRACE: requires java.desktop; [2025-11-06T20:59:43.327Z] [20:57:19.212] TRACE: } [2025-11-06T20:59:43.327Z] [20:57:19.213] TRACE: Done [2025-11-06T20:59:43.327Z] [20:57:19.215] TRACE: exec: Execute tool provider [javac -d .\testAddModules.346bed98\jar-workdir .\testAddModules.346bed98\src\com\other\Hello.java .\testAddModules.346bed98\src\module-info.java](5)... [2025-11-06T20:59:43.327Z] [20:57:19.312] TRACE: exec: Done. Exit code: 0 [2025-11-06T20:59:43.327Z] [20:57:19.312] TRACE: assertEquals(0): Check command tool provider [javac -d .\testAddModules.346bed98\jar-workdir .\testAddModules.346bed98\src\com\other\Hello.java .\testAddModules.346bed98\src\module-info.java](5) exited with 0 code [2025-11-06T20:59:43.327Z] [20:57:19.313] TRACE: exec: Execute tool provider [jar -c -f .\testAddModules.346bed98\input-modules\goodbye.jar -C .\testAddModules.346bed98\jar-workdir .](7)... [2025-11-06T20:59:43.327Z] [20:57:19.337] TRACE: exec: Done. Exit code: 0 [2025-11-06T20:59:43.327Z] [20:57:19.338] TRACE: assertEquals(0): Check command tool provider [jar -c -f .\testAddModules.346bed98\input-modules\goodbye.jar -C .\testAddModules.346bed98\jar-workdir .](7) exited with 0 code [2025-11-06T20:59:43.327Z] [20:57:19.340] TRACE: exec: Execute [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image\bin\jpackage.exe --dest .\testAddModules.346bed98\output --name AddModulesBasicTest --type app-image --module-path .\testAddModules.346bed98\input-modules --module com.other/com.other.Hello --win-console --add-modules java.desktop,jdk.jartool --verbose](15); inherit I/O... [2025-11-06T20:59:43.327Z] [20:57:19.732] Creating app package: AddModulesBasicTest in C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\.\testAddModules.346bed98\output [2025-11-06T20:59:43.327Z] [20:57:23.269] Command [PID: -1]: [2025-11-06T20:59:43.327Z] jlink --output .\testAddModules.346bed98\output\AddModulesBasicTest\runtime --module-path .\\testAddModules.346bed98\\input-modules;c:\\jenkins\\workspace\\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\\jdkbinary\\j2sdk-image\\jmods --add-modules com.other,java.desktop,jdk.jartool --strip-native-commands --strip-debug --no-man-pages --no-header-files [2025-11-06T20:59:43.327Z] [20:57:23.269] Output: [2025-11-06T20:59:43.327Z] [2025-11-06T20:59:43.327Z] [20:57:23.272] Returned: 0 [2025-11-06T20:59:43.327Z] [2025-11-06T20:59:43.327Z] [20:57:23.277] Using default package resource JavaApp.ico [icon] (add AddModulesBasicTest.ico to the resource-dir to customize). [2025-11-06T20:59:43.327Z] [20:57:23.287] Warning: Windows Defender may prevent jpackage from functioning. If there is an issue, it can be addressed by either disabling realtime monitoring, or adding an exclusion for the directory "C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage16340972572826055628". [2025-11-06T20:59:43.327Z] [20:57:23.481] Using default package resource WinLauncher.template [Template for creating executable properties file] (add AddModulesBasicTest.properties to the resource-dir to customize). [2025-11-06T20:59:43.327Z] [20:57:23.521] Succeeded in building Windows Application Image package [2025-11-06T20:59:43.327Z] [20:57:23.555] TRACE: exec: Done. Exit code: 0 [2025-11-06T20:59:43.327Z] [20:57:23.556] TRACE: assertEquals(0): Check command [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image\bin\jpackage.exe --dest .\testAddModules.346bed98\output --name AddModulesBasicTest --type app-image --module-path .\testAddModules.346bed98\input-modules --module com.other/com.other.Hello --win-console --add-modules java.desktop,jdk.jartool --verbose](15) exited with 0 code [2025-11-06T20:59:43.327Z] [20:57:23.559] TRACE: assertStringListEquals(): Check there is only one file with [.jpackage.xml] name in the package [2025-11-06T20:59:43.327Z] [20:57:23.559] TRACE: assertStringListEquals(1, .\testAddModules.346bed98\output\AddModulesBasicTest\app\.jpackage.xml) [2025-11-06T20:59:43.327Z] [20:57:23.560] TRACE: assertTrue(): Check [.\testAddModules.346bed98\output\AddModulesBasicTest\runtime] path exists [2025-11-06T20:59:43.327Z] [20:57:23.560] TRACE: assertTrue(): Check [.\testAddModules.346bed98\output\AddModulesBasicTest\runtime] is a directory [2025-11-06T20:59:43.327Z] [20:57:23.560] TRACE: assertTrue(): Check [.\testAddModules.346bed98\output\AddModulesBasicTest\AddModulesBasicTest.exe] path exists [2025-11-06T20:59:43.327Z] [20:57:23.560] TRACE: assertTrue(): Check [.\testAddModules.346bed98\output\AddModulesBasicTest\AddModulesBasicTest.exe] is a file [2025-11-06T20:59:43.327Z] [20:57:23.560] TRACE: assertTrue(): Check [.\testAddModules.346bed98\output\AddModulesBasicTest\AddModulesBasicTest.exe] file is executable [2025-11-06T20:59:43.327Z] [20:57:23.561] TRACE: assertTrue(): Check [.\testAddModules.346bed98\output\AddModulesBasicTest\app\AddModulesBasicTest.cfg] path exists [2025-11-06T20:59:43.327Z] [20:57:23.561] TRACE: assertTrue(): Check [.\testAddModules.346bed98\output\AddModulesBasicTest\app\AddModulesBasicTest.cfg] is a file [2025-11-06T20:59:43.327Z] [20:57:23.561] TRACE: Clearing PATH in environment [2025-11-06T20:59:43.327Z] [20:57:23.561] TRACE: exec: Execute [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\.\testAddModules.346bed98\output\AddModulesBasicTest\AddModulesBasicTest.exe](1); inherit I/O; in directory [.\testAddModules.346bed98]... [2025-11-06T20:59:43.327Z] hello: Environment supports a display [2025-11-06T20:59:43.327Z] hello: Environment supports a desktop [2025-11-06T20:59:43.328Z] jpackage test application [2025-11-06T20:59:43.328Z] args.length: 0 [2025-11-06T20:59:43.328Z] hello: Output file: [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testAddModules.346bed98\appOutput.txt] [2025-11-06T20:59:43.328Z] [20:57:24.183] TRACE: exec: Done. Exit code: 0 [2025-11-06T20:59:43.328Z] [20:57:24.184] TRACE: assertEquals(0): Check command [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\.\testAddModules.346bed98\output\AddModulesBasicTest\AddModulesBasicTest.exe](1) exited with 0 code [2025-11-06T20:59:43.328Z] [20:57:24.184] TRACE: assertTrue(): Check [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testAddModules.346bed98\appOutput.txt] path exists [2025-11-06T20:59:43.328Z] [20:57:24.184] TRACE: assertTrue(): Check [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testAddModules.346bed98\appOutput.txt] is a file [2025-11-06T20:59:43.328Z] [20:57:24.184] TRACE: assertStringListEquals(): Check contents of [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testAddModules.346bed98\appOutput.txt] file [2025-11-06T20:59:43.328Z] [20:57:24.185] TRACE: assertStringListEquals(1, jpackage test application) [2025-11-06T20:59:43.328Z] [20:57:24.185] TRACE: assertStringListEquals(2, args.length: 0) [2025-11-06T20:59:43.328Z] [20:57:24.185] TRACE: Deleting [.\testAddModules.346bed98] directory recursively [2025-11-06T20:59:43.328Z] [20:57:24.234] [ OK ] BasicTest.testAddModules([java.desktop,jdk.jartool](length=1)); checks=15 [2025-11-06T20:59:43.328Z] [20:57:24.235] [ RUN ] BasicTest.testAddModules([java.desktop](length=1)) [2025-11-06T20:59:43.328Z] [20:57:24.236] TRACE: Create [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testAddModules.a6bafe0e\src\module-info.java] text file... [2025-11-06T20:59:43.328Z] [20:57:24.236] TRACE: module com.other { [2025-11-06T20:59:43.328Z] [20:57:24.236] TRACE: exports com.other; [2025-11-06T20:59:43.328Z] [20:57:24.237] TRACE: requires java.desktop; [2025-11-06T20:59:43.328Z] [20:57:24.237] TRACE: } [2025-11-06T20:59:43.328Z] [20:57:24.237] TRACE: Done [2025-11-06T20:59:43.328Z] [20:57:24.240] TRACE: exec: Execute tool provider [javac -d .\testAddModules.a6bafe0e\jar-workdir .\testAddModules.a6bafe0e\src\com\other\Hello.java .\testAddModules.a6bafe0e\src\module-info.java](5)... [2025-11-06T20:59:43.328Z] [20:57:24.361] TRACE: exec: Done. Exit code: 0 [2025-11-06T20:59:43.328Z] [20:57:24.361] TRACE: assertEquals(0): Check command tool provider [javac -d .\testAddModules.a6bafe0e\jar-workdir .\testAddModules.a6bafe0e\src\com\other\Hello.java .\testAddModules.a6bafe0e\src\module-info.java](5) exited with 0 code [2025-11-06T20:59:43.328Z] [20:57:24.361] TRACE: exec: Execute tool provider [jar -c -f .\testAddModules.a6bafe0e\input-modules\goodbye.jar -C .\testAddModules.a6bafe0e\jar-workdir .](7)... [2025-11-06T20:59:43.328Z] [20:57:24.385] TRACE: exec: Done. Exit code: 0 [2025-11-06T20:59:43.328Z] [20:57:24.385] TRACE: assertEquals(0): Check command tool provider [jar -c -f .\testAddModules.a6bafe0e\input-modules\goodbye.jar -C .\testAddModules.a6bafe0e\jar-workdir .](7) exited with 0 code [2025-11-06T20:59:43.328Z] [20:57:24.388] TRACE: exec: Execute [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image\bin\jpackage.exe --dest .\testAddModules.a6bafe0e\output --name AddModulesBasicTest --type app-image --module-path .\testAddModules.a6bafe0e\input-modules --module com.other/com.other.Hello --win-console --add-modules java.desktop --verbose](15); inherit I/O... [2025-11-06T20:59:43.328Z] [20:57:24.791] Creating app package: AddModulesBasicTest in C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\.\testAddModules.a6bafe0e\output [2025-11-06T20:59:43.328Z] [20:57:28.296] Command [PID: -1]: [2025-11-06T20:59:43.328Z] jlink --output .\testAddModules.a6bafe0e\output\AddModulesBasicTest\runtime --module-path .\\testAddModules.a6bafe0e\\input-modules;c:\\jenkins\\workspace\\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\\jdkbinary\\j2sdk-image\\jmods --add-modules com.other,java.desktop --strip-native-commands --strip-debug --no-man-pages --no-header-files [2025-11-06T20:59:43.328Z] [20:57:28.297] Output: [2025-11-06T20:59:43.328Z] [2025-11-06T20:59:43.328Z] [20:57:28.299] Returned: 0 [2025-11-06T20:59:43.328Z] [2025-11-06T20:59:43.328Z] [20:57:28.306] Using default package resource JavaApp.ico [icon] (add AddModulesBasicTest.ico to the resource-dir to customize). [2025-11-06T20:59:43.328Z] [20:57:28.317] Warning: Windows Defender may prevent jpackage from functioning. If there is an issue, it can be addressed by either disabling realtime monitoring, or adding an exclusion for the directory "C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage8893315951482517635". [2025-11-06T20:59:43.328Z] [20:57:28.515] Using default package resource WinLauncher.template [Template for creating executable properties file] (add AddModulesBasicTest.properties to the resource-dir to customize). [2025-11-06T20:59:43.328Z] [20:57:28.569] Succeeded in building Windows Application Image package [2025-11-06T20:59:43.328Z] [20:57:28.594] TRACE: exec: Done. Exit code: 0 [2025-11-06T20:59:43.328Z] [20:57:28.594] TRACE: assertEquals(0): Check command [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image\bin\jpackage.exe --dest .\testAddModules.a6bafe0e\output --name AddModulesBasicTest --type app-image --module-path .\testAddModules.a6bafe0e\input-modules --module com.other/com.other.Hello --win-console --add-modules java.desktop --verbose](15) exited with 0 code [2025-11-06T20:59:43.328Z] [20:57:28.596] TRACE: assertStringListEquals(): Check there is only one file with [.jpackage.xml] name in the package [2025-11-06T20:59:43.328Z] [20:57:28.596] TRACE: assertStringListEquals(1, .\testAddModules.a6bafe0e\output\AddModulesBasicTest\app\.jpackage.xml) [2025-11-06T20:59:43.328Z] [20:57:28.597] TRACE: assertTrue(): Check [.\testAddModules.a6bafe0e\output\AddModulesBasicTest\runtime] path exists [2025-11-06T20:59:43.328Z] [20:57:28.597] TRACE: assertTrue(): Check [.\testAddModules.a6bafe0e\output\AddModulesBasicTest\runtime] is a directory [2025-11-06T20:59:43.328Z] [20:57:28.597] TRACE: assertTrue(): Check [.\testAddModules.a6bafe0e\output\AddModulesBasicTest\AddModulesBasicTest.exe] path exists [2025-11-06T20:59:43.328Z] [20:57:28.597] TRACE: assertTrue(): Check [.\testAddModules.a6bafe0e\output\AddModulesBasicTest\AddModulesBasicTest.exe] is a file [2025-11-06T20:59:43.328Z] [20:57:28.597] TRACE: assertTrue(): Check [.\testAddModules.a6bafe0e\output\AddModulesBasicTest\AddModulesBasicTest.exe] file is executable [2025-11-06T20:59:43.328Z] [20:57:28.597] TRACE: assertTrue(): Check [.\testAddModules.a6bafe0e\output\AddModulesBasicTest\app\AddModulesBasicTest.cfg] path exists [2025-11-06T20:59:43.328Z] [20:57:28.598] TRACE: assertTrue(): Check [.\testAddModules.a6bafe0e\output\AddModulesBasicTest\app\AddModulesBasicTest.cfg] is a file [2025-11-06T20:59:43.328Z] [20:57:28.598] TRACE: Clearing PATH in environment [2025-11-06T20:59:43.328Z] [20:57:28.598] TRACE: exec: Execute [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\.\testAddModules.a6bafe0e\output\AddModulesBasicTest\AddModulesBasicTest.exe](1); inherit I/O; in directory [.\testAddModules.a6bafe0e]... [2025-11-06T20:59:43.328Z] hello: Environment supports a display [2025-11-06T20:59:43.328Z] hello: Environment supports a desktop [2025-11-06T20:59:43.328Z] jpackage test application [2025-11-06T20:59:43.328Z] args.length: 0 [2025-11-06T20:59:43.328Z] hello: Output file: [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testAddModules.a6bafe0e\appOutput.txt] [2025-11-06T20:59:43.328Z] [20:57:29.197] TRACE: exec: Done. Exit code: 0 [2025-11-06T20:59:43.328Z] [20:57:29.198] TRACE: assertEquals(0): Check command [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\.\testAddModules.a6bafe0e\output\AddModulesBasicTest\AddModulesBasicTest.exe](1) exited with 0 code [2025-11-06T20:59:43.328Z] [20:57:29.198] TRACE: assertTrue(): Check [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testAddModules.a6bafe0e\appOutput.txt] path exists [2025-11-06T20:59:43.328Z] [20:57:29.198] TRACE: assertTrue(): Check [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testAddModules.a6bafe0e\appOutput.txt] is a file [2025-11-06T20:59:43.328Z] [20:57:29.198] TRACE: assertStringListEquals(): Check contents of [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testAddModules.a6bafe0e\appOutput.txt] file [2025-11-06T20:59:43.328Z] [20:57:29.199] TRACE: assertStringListEquals(1, jpackage test application) [2025-11-06T20:59:43.328Z] [20:57:29.199] TRACE: assertStringListEquals(2, args.length: 0) [2025-11-06T20:59:43.328Z] [20:57:29.199] TRACE: Deleting [.\testAddModules.a6bafe0e] directory recursively [2025-11-06T20:59:43.328Z] [20:57:29.247] [ OK ] BasicTest.testAddModules([java.desktop](length=1)); checks=15 [2025-11-06T20:59:43.328Z] [20:57:29.247] [ RUN ] BasicTest.testApp(Hello) [2025-11-06T20:59:43.328Z] [20:57:29.250] TRACE: exec: Execute tool provider [javac -d .\testApp.5d334abe\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4)... [2025-11-06T20:59:43.328Z] [20:57:29.372] TRACE: exec: Done. Exit code: 0 [2025-11-06T20:59:43.328Z] [20:57:29.372] TRACE: assertEquals(0): Check command tool provider [javac -d .\testApp.5d334abe\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4) exited with 0 code [2025-11-06T20:59:43.328Z] [20:57:29.373] TRACE: exec: Execute tool provider [jar -c -f .\testApp.5d334abe\input\hello.jar -C .\testApp.5d334abe\jar-workdir .](7)... [2025-11-06T20:59:43.328Z] [20:57:29.393] TRACE: exec: Done. Exit code: 0 [2025-11-06T20:59:43.328Z] [20:57:29.394] TRACE: assertEquals(0): Check command tool provider [jar -c -f .\testApp.5d334abe\input\hello.jar -C .\testApp.5d334abe\jar-workdir .](7) exited with 0 code [2025-11-06T20:59:43.328Z] [20:57:29.394] TRACE: exec: Execute [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\testApp.5d334abe\input --dest .\testApp.5d334abe\output --name AppBasicTest --type app-image --main-jar hello.jar --main-class Hello --win-console --verbose](15); inherit I/O... [2025-11-06T20:59:43.328Z] [20:57:29.732] Creating app package: AppBasicTest in C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\.\testApp.5d334abe\output [2025-11-06T20:59:43.328Z] [20:57:39.368] Command [PID: -1]: [2025-11-06T20:59:43.328Z] jlink --output .\testApp.5d334abe\output\AppBasicTest\runtime --module-path c:\\jenkins\\workspace\\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\\jdkbinary\\j2sdk-image\\jmods --add-modules java.rmi,jdk.management.jfr,jdk.jdi,jdk.charsets,jdk.xml.dom,java.xml,java.datatransfer,jdk.jstatd,jdk.httpserver,java.desktop,java.security.sasl,jdk.zipfs,java.base,jdk.crypto.ec,jdk.javadoc,jdk.management.agent,jdk.jshell,jdk.editpad,jdk.jsobject,java.sql.rowset,jdk.sctp,java.smartcardio,jdk.unsupported,jdk.jlink,java.security.jgss,jdk.nio.mapmode,java.compiler,jdk.dynalink,jdk.unsupported.desktop,jdk.accessibility,jdk.security.jgss,jdk.incubator.vector,java.sql,java.xml.crypto,java.logging,java.transaction.xa,jdk.jfr,jdk.crypto.cryptoki,jdk.random,jdk.net,java.naming,jdk.internal.ed,java.prefs,java.net.http,jdk.compiler,jdk.internal.opt,jdk.naming.rmi,jdk.jconsole,jdk.attach,jdk.crypto.mscapi,jdk.internal.le,java.management,jdk.jdwp.agent,jdk.internal.jvmstat,jdk.incubator.foreign,java.instrument,jdk.management,jdk.security.auth,java.scripting,jdk.jdeps,jdk.jartool,jdk.jpackage,java.management.rmi,jdk.naming.dns,jdk.localedata --strip-native-commands --strip-debug --no-man-pages --no-header-files [2025-11-06T20:59:43.329Z] [20:57:39.369] Output: [2025-11-06T20:59:43.329Z] WARNING: Using incubator modules: jdk.incubator.foreign, jdk.incubator.vector [2025-11-06T20:59:43.329Z] [2025-11-06T20:59:43.329Z] [20:57:39.370] Returned: 0 [2025-11-06T20:59:43.329Z] [2025-11-06T20:59:43.329Z] [20:57:39.375] Using default package resource JavaApp.ico [icon] (add AppBasicTest.ico to the resource-dir to customize). [2025-11-06T20:59:43.329Z] [20:57:39.387] Warning: Windows Defender may prevent jpackage from functioning. If there is an issue, it can be addressed by either disabling realtime monitoring, or adding an exclusion for the directory "C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage10387440084602285284". [2025-11-06T20:59:43.329Z] [20:57:39.598] Using default package resource WinLauncher.template [Template for creating executable properties file] (add AppBasicTest.properties to the resource-dir to customize). [2025-11-06T20:59:43.329Z] [20:57:39.714] Succeeded in building Windows Application Image package [2025-11-06T20:59:43.329Z] [20:57:39.776] TRACE: exec: Done. Exit code: 0 [2025-11-06T20:59:43.329Z] [20:57:39.777] TRACE: assertEquals(0): Check command [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\testApp.5d334abe\input --dest .\testApp.5d334abe\output --name AppBasicTest --type app-image --main-jar hello.jar --main-class Hello --win-console --verbose](15) exited with 0 code [2025-11-06T20:59:43.329Z] [20:57:39.788] TRACE: assertStringListEquals(): Check there is only one file with [.jpackage.xml] name in the package [2025-11-06T20:59:43.329Z] [20:57:39.788] TRACE: assertStringListEquals(1, .\testApp.5d334abe\output\AppBasicTest\app\.jpackage.xml) [2025-11-06T20:59:43.329Z] [20:57:39.788] TRACE: assertTrue(): Check [.\testApp.5d334abe\output\AppBasicTest\runtime] path exists [2025-11-06T20:59:43.329Z] [20:57:39.789] TRACE: assertTrue(): Check [.\testApp.5d334abe\output\AppBasicTest\runtime] is a directory [2025-11-06T20:59:43.329Z] [20:57:39.789] TRACE: assertTrue(): Check [.\testApp.5d334abe\output\AppBasicTest\AppBasicTest.exe] path exists [2025-11-06T20:59:43.329Z] [20:57:39.789] TRACE: assertTrue(): Check [.\testApp.5d334abe\output\AppBasicTest\AppBasicTest.exe] is a file [2025-11-06T20:59:43.329Z] [20:57:39.789] TRACE: assertTrue(): Check [.\testApp.5d334abe\output\AppBasicTest\AppBasicTest.exe] file is executable [2025-11-06T20:59:43.329Z] [20:57:39.790] TRACE: assertTrue(): Check [.\testApp.5d334abe\output\AppBasicTest\app\AppBasicTest.cfg] path exists [2025-11-06T20:59:43.329Z] [20:57:39.790] TRACE: assertTrue(): Check [.\testApp.5d334abe\output\AppBasicTest\app\AppBasicTest.cfg] is a file [2025-11-06T20:59:43.329Z] [20:57:39.792] TRACE: Clearing PATH in environment [2025-11-06T20:59:43.329Z] [20:57:39.792] TRACE: exec: Execute [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\.\testApp.5d334abe\output\AppBasicTest\AppBasicTest.exe](1); inherit I/O; in directory [.\testApp.5d334abe]... [2025-11-06T20:59:43.331Z] hello: Environment supports a display [2025-11-06T20:59:43.331Z] hello: Environment supports a desktop [2025-11-06T20:59:43.331Z] jpackage test application [2025-11-06T20:59:43.331Z] args.length: 0 [2025-11-06T20:59:43.331Z] hello: Output file: [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testApp.5d334abe\appOutput.txt] [2025-11-06T20:59:43.331Z] [20:57:40.362] TRACE: exec: Done. Exit code: 0 [2025-11-06T20:59:43.331Z] [20:57:40.363] TRACE: assertEquals(0): Check command [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\.\testApp.5d334abe\output\AppBasicTest\AppBasicTest.exe](1) exited with 0 code [2025-11-06T20:59:43.331Z] [20:57:40.363] TRACE: assertTrue(): Check [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testApp.5d334abe\appOutput.txt] path exists [2025-11-06T20:59:43.331Z] [20:57:40.363] TRACE: assertTrue(): Check [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testApp.5d334abe\appOutput.txt] is a file [2025-11-06T20:59:43.331Z] [20:57:40.364] TRACE: assertStringListEquals(): Check contents of [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testApp.5d334abe\appOutput.txt] file [2025-11-06T20:59:43.331Z] [20:57:40.364] TRACE: assertStringListEquals(1, jpackage test application) [2025-11-06T20:59:43.331Z] [20:57:40.364] TRACE: assertStringListEquals(2, args.length: 0) [2025-11-06T20:59:43.331Z] [20:57:40.364] TRACE: Deleting [.\testApp.5d334abe] directory recursively [2025-11-06T20:59:43.331Z] [20:57:40.481] [ OK ] BasicTest.testApp(Hello); checks=15 [2025-11-06T20:59:43.331Z] [20:57:40.481] [ RUN ] BasicTest.testApp(com.other/com.other.Hello) [2025-11-06T20:59:43.331Z] [20:57:40.483] TRACE: Create [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testApp.0432a555\src\module-info.java] text file... [2025-11-06T20:59:43.331Z] [20:57:40.483] TRACE: module com.other { [2025-11-06T20:59:43.331Z] [20:57:40.483] TRACE: exports com.other; [2025-11-06T20:59:43.331Z] [20:57:40.483] TRACE: requires java.desktop; [2025-11-06T20:59:43.331Z] [20:57:40.483] TRACE: } [2025-11-06T20:59:43.331Z] [20:57:40.484] TRACE: Done [2025-11-06T20:59:43.331Z] [20:57:40.486] TRACE: exec: Execute tool provider [javac -d .\testApp.0432a555\jar-workdir .\testApp.0432a555\src\com\other\Hello.java .\testApp.0432a555\src\module-info.java](5)... [2025-11-06T20:59:43.331Z] [20:57:40.602] TRACE: exec: Done. Exit code: 0 [2025-11-06T20:59:43.331Z] [20:57:40.602] TRACE: assertEquals(0): Check command tool provider [javac -d .\testApp.0432a555\jar-workdir .\testApp.0432a555\src\com\other\Hello.java .\testApp.0432a555\src\module-info.java](5) exited with 0 code [2025-11-06T20:59:43.331Z] [20:57:40.603] TRACE: exec: Execute tool provider [jar -c -f .\testApp.0432a555\input-modules\hello.jar -C .\testApp.0432a555\jar-workdir .](7)... [2025-11-06T20:59:43.331Z] [20:57:40.626] TRACE: exec: Done. Exit code: 0 [2025-11-06T20:59:43.331Z] [20:57:40.627] TRACE: assertEquals(0): Check command tool provider [jar -c -f .\testApp.0432a555\input-modules\hello.jar -C .\testApp.0432a555\jar-workdir .](7) exited with 0 code [2025-11-06T20:59:43.331Z] [20:57:40.630] TRACE: exec: Execute [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image\bin\jpackage.exe --dest .\testApp.0432a555\output --name AppBasicTest --type app-image --module-path .\testApp.0432a555\input-modules --module com.other/com.other.Hello --win-console --verbose](13); inherit I/O... [2025-11-06T20:59:43.331Z] [20:57:41.009] Creating app package: AppBasicTest in C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\.\testApp.0432a555\output [2025-11-06T20:59:43.331Z] [20:57:44.487] Command [PID: -1]: [2025-11-06T20:59:43.331Z] jlink --output .\testApp.0432a555\output\AppBasicTest\runtime --module-path .\\testApp.0432a555\\input-modules;c:\\jenkins\\workspace\\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\\jdkbinary\\j2sdk-image\\jmods --add-modules com.other --strip-native-commands --strip-debug --no-man-pages --no-header-files [2025-11-06T20:59:43.331Z] [20:57:44.488] Output: [2025-11-06T20:59:43.331Z] [2025-11-06T20:59:43.331Z] [20:57:44.490] Returned: 0 [2025-11-06T20:59:43.331Z] [2025-11-06T20:59:43.331Z] [20:57:44.499] Using default package resource JavaApp.ico [icon] (add AppBasicTest.ico to the resource-dir to customize). [2025-11-06T20:59:43.331Z] [20:57:44.510] Warning: Windows Defender may prevent jpackage from functioning. If there is an issue, it can be addressed by either disabling realtime monitoring, or adding an exclusion for the directory "C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage5913800381344582278". [2025-11-06T20:59:43.331Z] [20:57:44.716] Using default package resource WinLauncher.template [Template for creating executable properties file] (add AppBasicTest.properties to the resource-dir to customize). [2025-11-06T20:59:43.331Z] [20:57:44.755] Succeeded in building Windows Application Image package [2025-11-06T20:59:43.331Z] [20:57:44.781] TRACE: exec: Done. Exit code: 0 [2025-11-06T20:59:43.331Z] [20:57:44.782] TRACE: assertEquals(0): Check command [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image\bin\jpackage.exe --dest .\testApp.0432a555\output --name AppBasicTest --type app-image --module-path .\testApp.0432a555\input-modules --module com.other/com.other.Hello --win-console --verbose](13) exited with 0 code [2025-11-06T20:59:43.331Z] [20:57:44.785] TRACE: assertStringListEquals(): Check there is only one file with [.jpackage.xml] name in the package [2025-11-06T20:59:43.331Z] [20:57:44.785] TRACE: assertStringListEquals(1, .\testApp.0432a555\output\AppBasicTest\app\.jpackage.xml) [2025-11-06T20:59:43.331Z] [20:57:44.785] TRACE: assertTrue(): Check [.\testApp.0432a555\output\AppBasicTest\runtime] path exists [2025-11-06T20:59:43.331Z] [20:57:44.786] TRACE: assertTrue(): Check [.\testApp.0432a555\output\AppBasicTest\runtime] is a directory [2025-11-06T20:59:43.331Z] [20:57:44.786] TRACE: assertTrue(): Check [.\testApp.0432a555\output\AppBasicTest\AppBasicTest.exe] path exists [2025-11-06T20:59:43.331Z] [20:57:44.786] TRACE: assertTrue(): Check [.\testApp.0432a555\output\AppBasicTest\AppBasicTest.exe] is a file [2025-11-06T20:59:43.331Z] [20:57:44.786] TRACE: assertTrue(): Check [.\testApp.0432a555\output\AppBasicTest\AppBasicTest.exe] file is executable [2025-11-06T20:59:43.331Z] [20:57:44.786] TRACE: assertTrue(): Check [.\testApp.0432a555\output\AppBasicTest\app\AppBasicTest.cfg] path exists [2025-11-06T20:59:43.331Z] [20:57:44.786] TRACE: assertTrue(): Check [.\testApp.0432a555\output\AppBasicTest\app\AppBasicTest.cfg] is a file [2025-11-06T20:59:43.331Z] [20:57:44.787] TRACE: Clearing PATH in environment [2025-11-06T20:59:43.331Z] [20:57:44.787] TRACE: exec: Execute [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\.\testApp.0432a555\output\AppBasicTest\AppBasicTest.exe](1); inherit I/O; in directory [.\testApp.0432a555]... [2025-11-06T20:59:43.331Z] hello: Environment supports a display [2025-11-06T20:59:43.331Z] hello: Environment supports a desktop [2025-11-06T20:59:43.331Z] jpackage test application [2025-11-06T20:59:43.331Z] args.length: 0 [2025-11-06T20:59:43.331Z] hello: Output file: [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testApp.0432a555\appOutput.txt] [2025-11-06T20:59:43.331Z] [20:57:45.380] TRACE: exec: Done. Exit code: 0 [2025-11-06T20:59:43.331Z] [20:57:45.380] TRACE: assertEquals(0): Check command [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\.\testApp.0432a555\output\AppBasicTest\AppBasicTest.exe](1) exited with 0 code [2025-11-06T20:59:43.331Z] [20:57:45.380] TRACE: assertTrue(): Check [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testApp.0432a555\appOutput.txt] path exists [2025-11-06T20:59:43.331Z] [20:57:45.381] TRACE: assertTrue(): Check [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testApp.0432a555\appOutput.txt] is a file [2025-11-06T20:59:43.331Z] [20:57:45.381] TRACE: assertStringListEquals(): Check contents of [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testApp.0432a555\appOutput.txt] file [2025-11-06T20:59:43.331Z] [20:57:45.381] TRACE: assertStringListEquals(1, jpackage test application) [2025-11-06T20:59:43.331Z] [20:57:45.381] TRACE: assertStringListEquals(2, args.length: 0) [2025-11-06T20:59:43.331Z] [20:57:45.382] TRACE: Deleting [.\testApp.0432a555] directory recursively [2025-11-06T20:59:43.331Z] [20:57:45.431] [ OK ] BasicTest.testApp(com.other/com.other.Hello); checks=15 [2025-11-06T20:59:43.331Z] [20:57:45.431] [ RUN ] BasicTest.testApp(hello.ejmod:com.other/com.other.Hello) [2025-11-06T20:59:43.331Z] [20:57:45.434] TRACE: Create [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testApp.280d15ce\src\module-info.java] text file... [2025-11-06T20:59:43.331Z] [20:57:45.434] TRACE: module com.other { [2025-11-06T20:59:43.331Z] [20:57:45.434] TRACE: exports com.other; [2025-11-06T20:59:43.331Z] [20:57:45.434] TRACE: requires java.desktop; [2025-11-06T20:59:43.331Z] [20:57:45.434] TRACE: } [2025-11-06T20:59:43.331Z] [20:57:45.435] TRACE: Done [2025-11-06T20:59:43.331Z] [20:57:45.437] TRACE: exec: Execute tool provider [javac -d .\testApp.280d15ce\jar-workdir .\testApp.280d15ce\src\com\other\Hello.java .\testApp.280d15ce\src\module-info.java](5)... [2025-11-06T20:59:43.331Z] [20:57:45.513] TRACE: exec: Done. Exit code: 0 [2025-11-06T20:59:43.331Z] [20:57:45.513] TRACE: assertEquals(0): Check command tool provider [javac -d .\testApp.280d15ce\jar-workdir .\testApp.280d15ce\src\com\other\Hello.java .\testApp.280d15ce\src\module-info.java](5) exited with 0 code [2025-11-06T20:59:43.331Z] [20:57:45.515] TRACE: exec: Execute tool provider [jar -c -f .\testApp.280d15ce\jmod-workdir\tmp.jar -C .\testApp.280d15ce\jar-workdir .](7)... [2025-11-06T20:59:43.331Z] [20:57:45.541] TRACE: exec: Done. Exit code: 0 [2025-11-06T20:59:43.331Z] [20:57:45.541] TRACE: assertEquals(0): Check command tool provider [jar -c -f .\testApp.280d15ce\jmod-workdir\tmp.jar -C .\testApp.280d15ce\jar-workdir .](7) exited with 0 code [2025-11-06T20:59:43.331Z] [20:57:45.544] TRACE: exec: Execute tool provider [jmod create --class-path .\testApp.280d15ce\jmod-workdir\tmp.jar .\testApp.280d15ce\jmod-workdir\tmp.jmod](5)... [2025-11-06T20:59:43.331Z] [20:57:45.618] TRACE: exec: Done. Exit code: 0 [2025-11-06T20:59:43.332Z] [20:57:45.618] TRACE: assertEquals(0): Check command tool provider [jmod create --class-path .\testApp.280d15ce\jmod-workdir\tmp.jar .\testApp.280d15ce\jmod-workdir\tmp.jmod](5) exited with 0 code [2025-11-06T20:59:43.332Z] [20:57:45.618] TRACE: Explode [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testApp.280d15ce\jmod-workdir\tmp.jmod] module file... [2025-11-06T20:59:43.332Z] [20:57:45.629] TRACE: Save [classes/module-info.class] zip entry in [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testApp.280d15ce\input-modules\hello.ejmod\module-info.class] file... [2025-11-06T20:59:43.332Z] [20:57:45.630] TRACE: Save [classes/META-INF/MANIFEST.MF] zip entry in [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testApp.280d15ce\input-modules\hello.ejmod\META-INF\MANIFEST.MF] file... [2025-11-06T20:59:43.332Z] [20:57:45.631] TRACE: Save [classes/com/other/Hello.class] zip entry in [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testApp.280d15ce\input-modules\hello.ejmod\com\other\Hello.class] file... [2025-11-06T20:59:43.332Z] [20:57:45.633] TRACE: exec: Execute [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image\bin\jpackage.exe --dest .\testApp.280d15ce\output --name AppBasicTest --type app-image --module-path .\testApp.280d15ce\input-modules --module com.other/com.other.Hello --win-console --verbose](13); inherit I/O... [2025-11-06T20:59:43.332Z] [20:57:45.990] Creating app package: AppBasicTest in C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\.\testApp.280d15ce\output [2025-11-06T20:59:43.332Z] [20:57:49.513] Command [PID: -1]: [2025-11-06T20:59:43.332Z] jlink --output .\testApp.280d15ce\output\AppBasicTest\runtime --module-path .\\testApp.280d15ce\\input-modules;c:\\jenkins\\workspace\\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\\jdkbinary\\j2sdk-image\\jmods --add-modules com.other --strip-native-commands --strip-debug --no-man-pages --no-header-files [2025-11-06T20:59:43.332Z] [20:57:49.513] Output: [2025-11-06T20:59:43.332Z] [2025-11-06T20:59:43.332Z] [20:57:49.515] Returned: 0 [2025-11-06T20:59:43.332Z] [2025-11-06T20:59:43.332Z] [20:57:49.519] Using default package resource JavaApp.ico [icon] (add AppBasicTest.ico to the resource-dir to customize). [2025-11-06T20:59:43.332Z] [20:57:49.529] Warning: Windows Defender may prevent jpackage from functioning. If there is an issue, it can be addressed by either disabling realtime monitoring, or adding an exclusion for the directory "C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage939975042422013435". [2025-11-06T20:59:43.332Z] [20:57:49.724] Using default package resource WinLauncher.template [Template for creating executable properties file] (add AppBasicTest.properties to the resource-dir to customize). [2025-11-06T20:59:43.332Z] [20:57:49.764] Succeeded in building Windows Application Image package [2025-11-06T20:59:43.332Z] [20:57:49.800] TRACE: exec: Done. Exit code: 0 [2025-11-06T20:59:43.332Z] [20:57:49.800] TRACE: assertEquals(0): Check command [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image\bin\jpackage.exe --dest .\testApp.280d15ce\output --name AppBasicTest --type app-image --module-path .\testApp.280d15ce\input-modules --module com.other/com.other.Hello --win-console --verbose](13) exited with 0 code [2025-11-06T20:59:43.332Z] [20:57:49.803] TRACE: assertStringListEquals(): Check there is only one file with [.jpackage.xml] name in the package [2025-11-06T20:59:43.332Z] [20:57:49.803] TRACE: assertStringListEquals(1, .\testApp.280d15ce\output\AppBasicTest\app\.jpackage.xml) [2025-11-06T20:59:43.332Z] [20:57:49.803] TRACE: assertTrue(): Check [.\testApp.280d15ce\output\AppBasicTest\runtime] path exists [2025-11-06T20:59:43.332Z] [20:57:49.803] TRACE: assertTrue(): Check [.\testApp.280d15ce\output\AppBasicTest\runtime] is a directory [2025-11-06T20:59:43.332Z] [20:57:49.803] TRACE: assertTrue(): Check [.\testApp.280d15ce\output\AppBasicTest\AppBasicTest.exe] path exists [2025-11-06T20:59:43.332Z] [20:57:49.804] TRACE: assertTrue(): Check [.\testApp.280d15ce\output\AppBasicTest\AppBasicTest.exe] is a file [2025-11-06T20:59:43.332Z] [20:57:49.804] TRACE: assertTrue(): Check [.\testApp.280d15ce\output\AppBasicTest\AppBasicTest.exe] file is executable [2025-11-06T20:59:43.332Z] [20:57:49.804] TRACE: assertTrue(): Check [.\testApp.280d15ce\output\AppBasicTest\app\AppBasicTest.cfg] path exists [2025-11-06T20:59:43.332Z] [20:57:49.804] TRACE: assertTrue(): Check [.\testApp.280d15ce\output\AppBasicTest\app\AppBasicTest.cfg] is a file [2025-11-06T20:59:43.332Z] [20:57:49.805] TRACE: Clearing PATH in environment [2025-11-06T20:59:43.332Z] [20:57:49.805] TRACE: exec: Execute [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\.\testApp.280d15ce\output\AppBasicTest\AppBasicTest.exe](1); inherit I/O; in directory [.\testApp.280d15ce]... [2025-11-06T20:59:43.332Z] hello: Environment supports a display [2025-11-06T20:59:43.332Z] hello: Environment supports a desktop [2025-11-06T20:59:43.332Z] jpackage test application [2025-11-06T20:59:43.332Z] args.length: 0 [2025-11-06T20:59:43.332Z] hello: Output file: [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testApp.280d15ce\appOutput.txt] [2025-11-06T20:59:43.332Z] [20:57:50.425] TRACE: exec: Done. Exit code: 0 [2025-11-06T20:59:43.332Z] [20:57:50.425] TRACE: assertEquals(0): Check command [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\.\testApp.280d15ce\output\AppBasicTest\AppBasicTest.exe](1) exited with 0 code [2025-11-06T20:59:43.332Z] [20:57:50.425] TRACE: assertTrue(): Check [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testApp.280d15ce\appOutput.txt] path exists [2025-11-06T20:59:43.332Z] [20:57:50.426] TRACE: assertTrue(): Check [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testApp.280d15ce\appOutput.txt] is a file [2025-11-06T20:59:43.332Z] [20:57:50.426] TRACE: assertStringListEquals(): Check contents of [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testApp.280d15ce\appOutput.txt] file [2025-11-06T20:59:43.332Z] [20:57:50.426] TRACE: assertStringListEquals(1, jpackage test application) [2025-11-06T20:59:43.332Z] [20:57:50.426] TRACE: assertStringListEquals(2, args.length: 0) [2025-11-06T20:59:43.332Z] [20:57:50.427] TRACE: Deleting [.\testApp.280d15ce] directory recursively [2025-11-06T20:59:43.332Z] [20:57:50.486] [ OK ] BasicTest.testApp(hello.ejmod:com.other/com.other.Hello); checks=16 [2025-11-06T20:59:43.332Z] [20:57:50.487] [ RUN ] BasicTest.testApp(hello.jmod:com.other/com.other.Hello) [2025-11-06T20:59:43.332Z] [20:57:50.488] TRACE: Create [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testApp.1a6f5d2d\src\module-info.java] text file... [2025-11-06T20:59:43.332Z] [20:57:50.488] TRACE: module com.other { [2025-11-06T20:59:43.332Z] [20:57:50.489] TRACE: exports com.other; [2025-11-06T20:59:43.332Z] [20:57:50.489] TRACE: requires java.desktop; [2025-11-06T20:59:43.332Z] [20:57:50.489] TRACE: } [2025-11-06T20:59:43.332Z] [20:57:50.489] TRACE: Done [2025-11-06T20:59:43.332Z] [20:57:50.492] TRACE: exec: Execute tool provider [javac -d .\testApp.1a6f5d2d\jar-workdir .\testApp.1a6f5d2d\src\com\other\Hello.java .\testApp.1a6f5d2d\src\module-info.java](5)... [2025-11-06T20:59:43.332Z] [20:57:50.574] TRACE: exec: Done. Exit code: 0 [2025-11-06T20:59:43.332Z] [20:57:50.575] TRACE: assertEquals(0): Check command tool provider [javac -d .\testApp.1a6f5d2d\jar-workdir .\testApp.1a6f5d2d\src\com\other\Hello.java .\testApp.1a6f5d2d\src\module-info.java](5) exited with 0 code [2025-11-06T20:59:43.332Z] [20:57:50.575] TRACE: exec: Execute tool provider [jar -c -f .\testApp.1a6f5d2d\jmod-workdir\tmp.jar -C .\testApp.1a6f5d2d\jar-workdir .](7)... [2025-11-06T20:59:43.332Z] [20:57:50.598] TRACE: exec: Done. Exit code: 0 [2025-11-06T20:59:43.332Z] [20:57:50.599] TRACE: assertEquals(0): Check command tool provider [jar -c -f .\testApp.1a6f5d2d\jmod-workdir\tmp.jar -C .\testApp.1a6f5d2d\jar-workdir .](7) exited with 0 code [2025-11-06T20:59:43.332Z] [20:57:50.602] TRACE: exec: Execute tool provider [jmod create --class-path .\testApp.1a6f5d2d\jmod-workdir\tmp.jar .\testApp.1a6f5d2d\input-modules\hello.jmod](5)... [2025-11-06T20:59:43.332Z] [20:57:50.646] TRACE: exec: Done. Exit code: 0 [2025-11-06T20:59:43.332Z] [20:57:50.647] TRACE: assertEquals(0): Check command tool provider [jmod create --class-path .\testApp.1a6f5d2d\jmod-workdir\tmp.jar .\testApp.1a6f5d2d\input-modules\hello.jmod](5) exited with 0 code [2025-11-06T20:59:43.332Z] [20:57:50.648] TRACE: exec: Execute [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image\bin\jpackage.exe --dest .\testApp.1a6f5d2d\output --name AppBasicTest --type app-image --module-path .\testApp.1a6f5d2d\input-modules --module com.other/com.other.Hello --win-console --verbose](13); inherit I/O... [2025-11-06T20:59:43.332Z] [20:57:50.989] Creating app package: AppBasicTest in C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\.\testApp.1a6f5d2d\output [2025-11-06T20:59:43.332Z] [20:57:54.481] Command [PID: -1]: [2025-11-06T20:59:43.332Z] jlink --output .\testApp.1a6f5d2d\output\AppBasicTest\runtime --module-path .\\testApp.1a6f5d2d\\input-modules;c:\\jenkins\\workspace\\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\\jdkbinary\\j2sdk-image\\jmods --add-modules com.other --strip-native-commands --strip-debug --no-man-pages --no-header-files [2025-11-06T20:59:43.332Z] [20:57:54.481] Output: [2025-11-06T20:59:43.332Z] [2025-11-06T20:59:43.332Z] [20:57:54.483] Returned: 0 [2025-11-06T20:59:43.332Z] [2025-11-06T20:59:43.332Z] [20:57:54.487] Using default package resource JavaApp.ico [icon] (add AppBasicTest.ico to the resource-dir to customize). [2025-11-06T20:59:43.332Z] [20:57:54.497] Warning: Windows Defender may prevent jpackage from functioning. If there is an issue, it can be addressed by either disabling realtime monitoring, or adding an exclusion for the directory "C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage9977099657935210840". [2025-11-06T20:59:43.332Z] [20:57:54.693] Using default package resource WinLauncher.template [Template for creating executable properties file] (add AppBasicTest.properties to the resource-dir to customize). [2025-11-06T20:59:43.332Z] [20:57:54.739] Succeeded in building Windows Application Image package [2025-11-06T20:59:43.332Z] [20:57:54.776] TRACE: exec: Done. Exit code: 0 [2025-11-06T20:59:43.332Z] [20:57:54.776] TRACE: assertEquals(0): Check command [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image\bin\jpackage.exe --dest .\testApp.1a6f5d2d\output --name AppBasicTest --type app-image --module-path .\testApp.1a6f5d2d\input-modules --module com.other/com.other.Hello --win-console --verbose](13) exited with 0 code [2025-11-06T20:59:43.332Z] [20:57:54.779] TRACE: assertStringListEquals(): Check there is only one file with [.jpackage.xml] name in the package [2025-11-06T20:59:43.332Z] [20:57:54.780] TRACE: assertStringListEquals(1, .\testApp.1a6f5d2d\output\AppBasicTest\app\.jpackage.xml) [2025-11-06T20:59:43.332Z] [20:57:54.780] TRACE: assertTrue(): Check [.\testApp.1a6f5d2d\output\AppBasicTest\runtime] path exists [2025-11-06T20:59:43.332Z] [20:57:54.780] TRACE: assertTrue(): Check [.\testApp.1a6f5d2d\output\AppBasicTest\runtime] is a directory [2025-11-06T20:59:43.332Z] [20:57:54.780] TRACE: assertTrue(): Check [.\testApp.1a6f5d2d\output\AppBasicTest\AppBasicTest.exe] path exists [2025-11-06T20:59:43.332Z] [20:57:54.781] TRACE: assertTrue(): Check [.\testApp.1a6f5d2d\output\AppBasicTest\AppBasicTest.exe] is a file [2025-11-06T20:59:43.332Z] [20:57:54.781] TRACE: assertTrue(): Check [.\testApp.1a6f5d2d\output\AppBasicTest\AppBasicTest.exe] file is executable [2025-11-06T20:59:43.332Z] [20:57:54.781] TRACE: assertTrue(): Check [.\testApp.1a6f5d2d\output\AppBasicTest\app\AppBasicTest.cfg] path exists [2025-11-06T20:59:43.332Z] [20:57:54.781] TRACE: assertTrue(): Check [.\testApp.1a6f5d2d\output\AppBasicTest\app\AppBasicTest.cfg] is a file [2025-11-06T20:59:43.332Z] [20:57:54.782] TRACE: Clearing PATH in environment [2025-11-06T20:59:43.332Z] [20:57:54.782] TRACE: exec: Execute [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\.\testApp.1a6f5d2d\output\AppBasicTest\AppBasicTest.exe](1); inherit I/O; in directory [.\testApp.1a6f5d2d]... [2025-11-06T20:59:43.332Z] hello: Environment supports a display [2025-11-06T20:59:43.332Z] hello: Environment supports a desktop [2025-11-06T20:59:43.332Z] jpackage test application [2025-11-06T20:59:43.332Z] args.length: 0 [2025-11-06T20:59:43.333Z] hello: Output file: [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testApp.1a6f5d2d\appOutput.txt] [2025-11-06T20:59:43.333Z] [20:57:55.385] TRACE: exec: Done. Exit code: 0 [2025-11-06T20:59:43.333Z] [20:57:55.385] TRACE: assertEquals(0): Check command [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\.\testApp.1a6f5d2d\output\AppBasicTest\AppBasicTest.exe](1) exited with 0 code [2025-11-06T20:59:43.333Z] [20:57:55.385] TRACE: assertTrue(): Check [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testApp.1a6f5d2d\appOutput.txt] path exists [2025-11-06T20:59:43.333Z] [20:57:55.386] TRACE: assertTrue(): Check [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testApp.1a6f5d2d\appOutput.txt] is a file [2025-11-06T20:59:43.333Z] [20:57:55.386] TRACE: assertStringListEquals(): Check contents of [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testApp.1a6f5d2d\appOutput.txt] file [2025-11-06T20:59:43.333Z] [20:57:55.386] TRACE: assertStringListEquals(1, jpackage test application) [2025-11-06T20:59:43.333Z] [20:57:55.386] TRACE: assertStringListEquals(2, args.length: 0) [2025-11-06T20:59:43.333Z] [20:57:55.387] TRACE: Deleting [.\testApp.1a6f5d2d] directory recursively [2025-11-06T20:59:43.333Z] [20:57:55.436] [ OK ] BasicTest.testApp(hello.jmod:com.other/com.other.Hello); checks=16 [2025-11-06T20:59:43.333Z] [20:57:55.436] [ RUN ] BasicTest.testAtFile [2025-11-06T20:59:43.333Z] [20:57:55.439] TRACE: exec: Execute tool provider [javac -d .\testAtFile\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4)... [2025-11-06T20:59:43.333Z] [20:57:55.570] TRACE: exec: Done. Exit code: 0 [2025-11-06T20:59:43.333Z] [20:57:55.570] TRACE: assertEquals(0): Check command tool provider [javac -d .\testAtFile\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4) exited with 0 code [2025-11-06T20:59:43.333Z] [20:57:55.571] TRACE: exec: Execute tool provider [jar -c -f .\testAtFile\input\hello.jar -C .\testAtFile\jar-workdir .](7)... [2025-11-06T20:59:43.333Z] [20:57:55.592] TRACE: exec: Done. Exit code: 0 [2025-11-06T20:59:43.333Z] [20:57:55.592] TRACE: assertEquals(0): Check command tool provider [jar -c -f .\testAtFile\input\hello.jar -C .\testAtFile\jar-workdir .](7) exited with 0 code [2025-11-06T20:59:43.333Z] [20:57:55.594] TRACE: exec: Execute tool provider [jpackage @.\testAtFile\options](2)... [2025-11-06T20:59:43.333Z] [20:58:05.260] TRACE: exec: Done. Exit code: 0 [2025-11-06T20:59:43.333Z] [20:58:05.261] TRACE: assertEquals(0): Check command tool provider [jpackage @.\testAtFile\options](2) exited with 0 code [2025-11-06T20:59:43.333Z] [20:58:05.267] TRACE: assertStringListEquals(): Check there is only one file with [.jpackage.xml] name in the package [2025-11-06T20:59:43.333Z] [20:58:05.267] TRACE: assertStringListEquals(1, .\testAtFile\output\AtFileBasicTest\app\.jpackage.xml) [2025-11-06T20:59:43.333Z] [20:58:05.267] TRACE: assertTrue(): Check [.\testAtFile\output\AtFileBasicTest\runtime] path exists [2025-11-06T20:59:43.333Z] [20:58:05.267] TRACE: assertTrue(): Check [.\testAtFile\output\AtFileBasicTest\runtime] is a directory [2025-11-06T20:59:43.333Z] [20:58:05.268] TRACE: assertTrue(): Check [.\testAtFile\output\AtFileBasicTest\AtFileBasicTest.exe] path exists [2025-11-06T20:59:43.333Z] [20:58:05.268] TRACE: assertTrue(): Check [.\testAtFile\output\AtFileBasicTest\AtFileBasicTest.exe] is a file [2025-11-06T20:59:43.333Z] [20:58:05.268] TRACE: assertTrue(): Check [.\testAtFile\output\AtFileBasicTest\AtFileBasicTest.exe] file is executable [2025-11-06T20:59:43.333Z] [20:58:05.268] TRACE: assertTrue(): Check [.\testAtFile\output\AtFileBasicTest\app\AtFileBasicTest.cfg] path exists [2025-11-06T20:59:43.333Z] [20:58:05.268] TRACE: assertTrue(): Check [.\testAtFile\output\AtFileBasicTest\app\AtFileBasicTest.cfg] is a file [2025-11-06T20:59:43.333Z] [20:58:05.269] TRACE: Clearing PATH in environment [2025-11-06T20:59:43.333Z] [20:58:05.269] TRACE: exec: Execute [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\.\testAtFile\output\AtFileBasicTest\AtFileBasicTest.exe](1); inherit I/O; in directory [.\testAtFile]... [2025-11-06T20:59:43.333Z] hello: Environment supports a display [2025-11-06T20:59:43.333Z] hello: Environment supports a desktop [2025-11-06T20:59:43.333Z] jpackage test application [2025-11-06T20:59:43.333Z] args.length: 0 [2025-11-06T20:59:43.333Z] hello: Output file: [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testAtFile\appOutput.txt] [2025-11-06T20:59:43.333Z] [20:58:05.946] TRACE: exec: Done. Exit code: 0 [2025-11-06T20:59:43.333Z] [20:58:05.946] TRACE: assertEquals(0): Check command [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\.\testAtFile\output\AtFileBasicTest\AtFileBasicTest.exe](1) exited with 0 code [2025-11-06T20:59:43.333Z] [20:58:05.946] TRACE: assertTrue(): Check [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testAtFile\appOutput.txt] path exists [2025-11-06T20:59:43.333Z] [20:58:05.946] TRACE: assertTrue(): Check [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testAtFile\appOutput.txt] is a file [2025-11-06T20:59:43.333Z] [20:58:05.947] TRACE: assertStringListEquals(): Check contents of [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testAtFile\appOutput.txt] file [2025-11-06T20:59:43.333Z] [20:58:05.947] TRACE: assertStringListEquals(1, jpackage test application) [2025-11-06T20:59:43.333Z] [20:58:05.947] TRACE: assertStringListEquals(2, args.length: 0) [2025-11-06T20:59:43.333Z] [20:58:05.947] TRACE: Deleting [.\testAtFile] directory recursively [2025-11-06T20:59:43.333Z] [20:58:06.066] [ OK ] BasicTest.testAtFile; checks=15 [2025-11-06T20:59:43.333Z] [20:58:06.066] [ RUN ] BasicTest.testExitCode(1) [2025-11-06T20:59:43.333Z] [20:58:06.067] TRACE: exec: Execute tool provider [javac -d .\testExitCode.102b0415\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4)... [2025-11-06T20:59:43.333Z] [20:58:06.146] TRACE: exec: Done. Exit code: 0 [2025-11-06T20:59:43.333Z] [20:58:06.146] TRACE: assertEquals(0): Check command tool provider [javac -d .\testExitCode.102b0415\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4) exited with 0 code [2025-11-06T20:59:43.333Z] [20:58:06.147] TRACE: exec: Execute tool provider [jar -c -f .\testExitCode.102b0415\input\hello.jar -C .\testExitCode.102b0415\jar-workdir .](7)... [2025-11-06T20:59:43.333Z] [20:58:06.171] TRACE: exec: Done. Exit code: 0 [2025-11-06T20:59:43.333Z] [20:58:06.171] TRACE: assertEquals(0): Check command tool provider [jar -c -f .\testExitCode.102b0415\input\hello.jar -C .\testExitCode.102b0415\jar-workdir .](7) exited with 0 code [2025-11-06T20:59:43.333Z] [20:58:06.172] TRACE: exec: Execute [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\testExitCode.102b0415\input --dest .\testExitCode.102b0415\output --name ExitCodeBasicTest --type app-image --main-jar hello.jar --main-class Hello --win-console --java-options -Djpackage.test.exitCode=1 --verbose](17); inherit I/O... [2025-11-06T20:59:43.333Z] [20:58:06.498] Creating app package: ExitCodeBasicTest in C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\.\testExitCode.102b0415\output [2025-11-06T20:59:43.333Z] [20:58:16.180] Command [PID: -1]: [2025-11-06T20:59:43.333Z] jlink --output .\testExitCode.102b0415\output\ExitCodeBasicTest\runtime --module-path c:\\jenkins\\workspace\\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\\jdkbinary\\j2sdk-image\\jmods --add-modules jdk.management.jfr,java.rmi,jdk.jdi,jdk.charsets,java.xml,jdk.xml.dom,java.datatransfer,jdk.jstatd,jdk.httpserver,java.desktop,java.security.sasl,jdk.zipfs,java.base,jdk.crypto.ec,jdk.javadoc,jdk.management.agent,jdk.jshell,jdk.editpad,jdk.sctp,jdk.jsobject,java.sql.rowset,java.smartcardio,jdk.jlink,jdk.unsupported,java.security.jgss,java.compiler,jdk.nio.mapmode,jdk.dynalink,jdk.unsupported.desktop,jdk.accessibility,jdk.security.jgss,java.sql,jdk.incubator.vector,java.xml.crypto,java.logging,java.transaction.xa,jdk.jfr,jdk.crypto.cryptoki,jdk.random,jdk.net,java.naming,jdk.internal.ed,java.prefs,java.net.http,jdk.compiler,jdk.naming.rmi,jdk.internal.opt,jdk.jconsole,jdk.attach,jdk.crypto.mscapi,jdk.internal.le,java.management,jdk.jdwp.agent,jdk.internal.jvmstat,jdk.incubator.foreign,java.instrument,jdk.management,jdk.security.auth,java.scripting,jdk.jdeps,jdk.jartool,java.management.rmi,jdk.jpackage,jdk.naming.dns,jdk.localedata --strip-native-commands --strip-debug --no-man-pages --no-header-files [2025-11-06T20:59:43.333Z] [20:58:16.181] Output: [2025-11-06T20:59:43.333Z] WARNING: Using incubator modules: jdk.incubator.foreign, jdk.incubator.vector [2025-11-06T20:59:43.333Z] [2025-11-06T20:59:43.333Z] [20:58:16.184] Returned: 0 [2025-11-06T20:59:43.333Z] [2025-11-06T20:59:43.333Z] [20:58:16.189] Using default package resource JavaApp.ico [icon] (add ExitCodeBasicTest.ico to the resource-dir to customize). [2025-11-06T20:59:43.333Z] [20:58:16.201] Warning: Windows Defender may prevent jpackage from functioning. If there is an issue, it can be addressed by either disabling realtime monitoring, or adding an exclusion for the directory "C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage4895077989968134480". [2025-11-06T20:59:43.333Z] [20:58:16.394] Using default package resource WinLauncher.template [Template for creating executable properties file] (add ExitCodeBasicTest.properties to the resource-dir to customize). [2025-11-06T20:59:43.333Z] [20:58:16.500] Succeeded in building Windows Application Image package [2025-11-06T20:59:43.333Z] [20:58:16.566] TRACE: exec: Done. Exit code: 0 [2025-11-06T20:59:43.333Z] [20:58:16.566] TRACE: assertEquals(0): Check command [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\testExitCode.102b0415\input --dest .\testExitCode.102b0415\output --name ExitCodeBasicTest --type app-image --main-jar hello.jar --main-class Hello --win-console --java-options -Djpackage.test.exitCode=1 --verbose](17) exited with 0 code [2025-11-06T20:59:43.333Z] [20:58:16.581] TRACE: assertStringListEquals(): Check there is only one file with [.jpackage.xml] name in the package [2025-11-06T20:59:43.333Z] [20:58:16.581] TRACE: assertStringListEquals(1, .\testExitCode.102b0415\output\ExitCodeBasicTest\app\.jpackage.xml) [2025-11-06T20:59:43.333Z] [20:58:16.581] TRACE: assertTrue(): Check [.\testExitCode.102b0415\output\ExitCodeBasicTest\runtime] path exists [2025-11-06T20:59:43.333Z] [20:58:16.581] TRACE: assertTrue(): Check [.\testExitCode.102b0415\output\ExitCodeBasicTest\runtime] is a directory [2025-11-06T20:59:43.333Z] [20:58:16.582] TRACE: assertTrue(): Check [.\testExitCode.102b0415\output\ExitCodeBasicTest\ExitCodeBasicTest.exe] path exists [2025-11-06T20:59:43.333Z] [20:58:16.582] TRACE: assertTrue(): Check [.\testExitCode.102b0415\output\ExitCodeBasicTest\ExitCodeBasicTest.exe] is a file [2025-11-06T20:59:43.333Z] [20:58:16.582] TRACE: assertTrue(): Check [.\testExitCode.102b0415\output\ExitCodeBasicTest\ExitCodeBasicTest.exe] file is executable [2025-11-06T20:59:43.333Z] [20:58:16.582] TRACE: assertTrue(): Check [.\testExitCode.102b0415\output\ExitCodeBasicTest\app\ExitCodeBasicTest.cfg] path exists [2025-11-06T20:59:43.333Z] [20:58:16.583] TRACE: assertTrue(): Check [.\testExitCode.102b0415\output\ExitCodeBasicTest\app\ExitCodeBasicTest.cfg] is a file [2025-11-06T20:59:43.333Z] [20:58:16.584] TRACE: Clearing PATH in environment [2025-11-06T20:59:43.333Z] [20:58:16.584] TRACE: exec: Execute [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\.\testExitCode.102b0415\output\ExitCodeBasicTest\ExitCodeBasicTest.exe](1); inherit I/O; in directory [.\testExitCode.102b0415]... [2025-11-06T20:59:43.333Z] hello: Environment supports a display [2025-11-06T20:59:43.333Z] hello: Environment supports a desktop [2025-11-06T20:59:43.333Z] jpackage test application [2025-11-06T20:59:43.333Z] args.length: 0 [2025-11-06T20:59:43.333Z] hello: Output file: [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testExitCode.102b0415\appOutput.txt] [2025-11-06T20:59:43.333Z] [20:58:17.137] TRACE: exec: Done. Exit code: 1 [2025-11-06T20:59:43.334Z] [20:58:17.138] TRACE: assertEquals(1): Check command [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\.\testExitCode.102b0415\output\ExitCodeBasicTest\ExitCodeBasicTest.exe](1) exited with 1 code [2025-11-06T20:59:43.334Z] [20:58:17.138] TRACE: assertTrue(): Check [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testExitCode.102b0415\appOutput.txt] path exists [2025-11-06T20:59:43.334Z] [20:58:17.138] TRACE: assertTrue(): Check [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testExitCode.102b0415\appOutput.txt] is a file [2025-11-06T20:59:43.334Z] [20:58:17.139] TRACE: assertStringListEquals(): Check contents of [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testExitCode.102b0415\appOutput.txt] file [2025-11-06T20:59:43.334Z] [20:58:17.139] TRACE: assertStringListEquals(1, jpackage test application) [2025-11-06T20:59:43.334Z] [20:58:17.139] TRACE: assertStringListEquals(2, args.length: 0) [2025-11-06T20:59:43.334Z] [20:58:17.139] TRACE: Deleting [.\testExitCode.102b0415] directory recursively [2025-11-06T20:59:43.334Z] [20:58:17.259] [ OK ] BasicTest.testExitCode(1); checks=15 [2025-11-06T20:59:43.334Z] [20:58:17.259] [ RUN ] BasicTest.testExitCode(123) [2025-11-06T20:59:43.334Z] [20:58:17.260] TRACE: exec: Execute tool provider [javac -d .\testExitCode.b17a7af4\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4)... [2025-11-06T20:59:43.334Z] [20:58:17.334] TRACE: exec: Done. Exit code: 0 [2025-11-06T20:59:43.334Z] [20:58:17.335] TRACE: assertEquals(0): Check command tool provider [javac -d .\testExitCode.b17a7af4\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4) exited with 0 code [2025-11-06T20:59:43.334Z] [20:58:17.335] TRACE: exec: Execute tool provider [jar -c -f .\testExitCode.b17a7af4\input\hello.jar -C .\testExitCode.b17a7af4\jar-workdir .](7)... [2025-11-06T20:59:43.334Z] [20:58:17.358] TRACE: exec: Done. Exit code: 0 [2025-11-06T20:59:43.334Z] [20:58:17.358] TRACE: assertEquals(0): Check command tool provider [jar -c -f .\testExitCode.b17a7af4\input\hello.jar -C .\testExitCode.b17a7af4\jar-workdir .](7) exited with 0 code [2025-11-06T20:59:43.334Z] [20:58:17.359] TRACE: exec: Execute [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\testExitCode.b17a7af4\input --dest .\testExitCode.b17a7af4\output --name ExitCodeBasicTest --type app-image --main-jar hello.jar --main-class Hello --win-console --java-options -Djpackage.test.exitCode=123 --verbose](17); inherit I/O... [2025-11-06T20:59:43.334Z] [20:58:17.694] Creating app package: ExitCodeBasicTest in C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\.\testExitCode.b17a7af4\output [2025-11-06T20:59:43.334Z] [20:58:27.348] Command [PID: -1]: [2025-11-06T20:59:43.334Z] jlink --output .\testExitCode.b17a7af4\output\ExitCodeBasicTest\runtime --module-path c:\\jenkins\\workspace\\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\\jdkbinary\\j2sdk-image\\jmods --add-modules java.rmi,jdk.management.jfr,jdk.jdi,jdk.charsets,java.xml,jdk.xml.dom,java.datatransfer,jdk.jstatd,jdk.httpserver,java.desktop,java.security.sasl,jdk.zipfs,java.base,jdk.crypto.ec,jdk.javadoc,jdk.management.agent,jdk.jshell,jdk.editpad,java.sql.rowset,jdk.jsobject,jdk.sctp,jdk.unsupported,jdk.jlink,java.smartcardio,java.security.jgss,jdk.nio.mapmode,java.compiler,jdk.dynalink,jdk.unsupported.desktop,jdk.accessibility,jdk.security.jgss,java.sql,jdk.incubator.vector,java.transaction.xa,java.logging,java.xml.crypto,jdk.jfr,jdk.crypto.cryptoki,jdk.net,jdk.random,java.naming,jdk.internal.ed,java.prefs,java.net.http,jdk.compiler,jdk.naming.rmi,jdk.internal.opt,jdk.jconsole,jdk.attach,jdk.crypto.mscapi,jdk.internal.le,java.management,jdk.jdwp.agent,jdk.internal.jvmstat,jdk.incubator.foreign,java.instrument,jdk.management,jdk.security.auth,java.scripting,jdk.jdeps,jdk.jartool,jdk.jpackage,java.management.rmi,jdk.naming.dns,jdk.localedata --strip-native-commands --strip-debug --no-man-pages --no-header-files [2025-11-06T20:59:43.334Z] [20:58:27.348] Output: [2025-11-06T20:59:43.334Z] WARNING: Using incubator modules: jdk.incubator.vector, jdk.incubator.foreign [2025-11-06T20:59:43.334Z] [2025-11-06T20:59:43.334Z] [20:58:27.350] Returned: 0 [2025-11-06T20:59:43.334Z] [2025-11-06T20:59:43.334Z] [20:58:27.354] Using default package resource JavaApp.ico [icon] (add ExitCodeBasicTest.ico to the resource-dir to customize). [2025-11-06T20:59:43.334Z] [20:58:27.366] Warning: Windows Defender may prevent jpackage from functioning. If there is an issue, it can be addressed by either disabling realtime monitoring, or adding an exclusion for the directory "C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage4058032279648679229". [2025-11-06T20:59:43.334Z] [20:58:27.574] Using default package resource WinLauncher.template [Template for creating executable properties file] (add ExitCodeBasicTest.properties to the resource-dir to customize). [2025-11-06T20:59:43.334Z] [20:58:27.677] Succeeded in building Windows Application Image package [2025-11-06T20:59:43.334Z] [20:58:27.734] TRACE: exec: Done. Exit code: 0 [2025-11-06T20:59:43.334Z] [20:58:27.735] TRACE: assertEquals(0): Check command [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\testExitCode.b17a7af4\input --dest .\testExitCode.b17a7af4\output --name ExitCodeBasicTest --type app-image --main-jar hello.jar --main-class Hello --win-console --java-options -Djpackage.test.exitCode=123 --verbose](17) exited with 0 code [2025-11-06T20:59:43.334Z] [20:58:27.749] TRACE: assertStringListEquals(): Check there is only one file with [.jpackage.xml] name in the package [2025-11-06T20:59:43.334Z] [20:58:27.749] TRACE: assertStringListEquals(1, .\testExitCode.b17a7af4\output\ExitCodeBasicTest\app\.jpackage.xml) [2025-11-06T20:59:43.334Z] [20:58:27.749] TRACE: assertTrue(): Check [.\testExitCode.b17a7af4\output\ExitCodeBasicTest\runtime] path exists [2025-11-06T20:59:43.334Z] [20:58:27.750] TRACE: assertTrue(): Check [.\testExitCode.b17a7af4\output\ExitCodeBasicTest\runtime] is a directory [2025-11-06T20:59:43.334Z] [20:58:27.750] TRACE: assertTrue(): Check [.\testExitCode.b17a7af4\output\ExitCodeBasicTest\ExitCodeBasicTest.exe] path exists [2025-11-06T20:59:43.334Z] [20:58:27.750] TRACE: assertTrue(): Check [.\testExitCode.b17a7af4\output\ExitCodeBasicTest\ExitCodeBasicTest.exe] is a file [2025-11-06T20:59:43.334Z] [20:58:27.750] TRACE: assertTrue(): Check [.\testExitCode.b17a7af4\output\ExitCodeBasicTest\ExitCodeBasicTest.exe] file is executable [2025-11-06T20:59:43.334Z] [20:58:27.751] TRACE: assertTrue(): Check [.\testExitCode.b17a7af4\output\ExitCodeBasicTest\app\ExitCodeBasicTest.cfg] path exists [2025-11-06T20:59:43.334Z] [20:58:27.751] TRACE: assertTrue(): Check [.\testExitCode.b17a7af4\output\ExitCodeBasicTest\app\ExitCodeBasicTest.cfg] is a file [2025-11-06T20:59:43.334Z] [20:58:27.752] TRACE: Clearing PATH in environment [2025-11-06T20:59:43.334Z] [20:58:27.753] TRACE: exec: Execute [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\.\testExitCode.b17a7af4\output\ExitCodeBasicTest\ExitCodeBasicTest.exe](1); inherit I/O; in directory [.\testExitCode.b17a7af4]... [2025-11-06T20:59:43.334Z] hello: Environment supports a display [2025-11-06T20:59:43.334Z] hello: Environment supports a desktop [2025-11-06T20:59:43.334Z] jpackage test application [2025-11-06T20:59:43.334Z] args.length: 0 [2025-11-06T20:59:43.334Z] hello: Output file: [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testExitCode.b17a7af4\appOutput.txt] [2025-11-06T20:59:43.334Z] [20:58:28.326] TRACE: exec: Done. Exit code: 123 [2025-11-06T20:59:43.334Z] [20:58:28.326] TRACE: assertEquals(123): Check command [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\.\testExitCode.b17a7af4\output\ExitCodeBasicTest\ExitCodeBasicTest.exe](1) exited with 123 code [2025-11-06T20:59:43.334Z] [20:58:28.326] TRACE: assertTrue(): Check [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testExitCode.b17a7af4\appOutput.txt] path exists [2025-11-06T20:59:43.334Z] [20:58:28.326] TRACE: assertTrue(): Check [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testExitCode.b17a7af4\appOutput.txt] is a file [2025-11-06T20:59:43.334Z] [20:58:28.326] TRACE: assertStringListEquals(): Check contents of [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testExitCode.b17a7af4\appOutput.txt] file [2025-11-06T20:59:43.334Z] [20:58:28.327] TRACE: assertStringListEquals(1, jpackage test application) [2025-11-06T20:59:43.334Z] [20:58:28.327] TRACE: assertStringListEquals(2, args.length: 0) [2025-11-06T20:59:43.334Z] [20:58:28.327] TRACE: Deleting [.\testExitCode.b17a7af4] directory recursively [2025-11-06T20:59:43.334Z] [20:58:28.441] [ OK ] BasicTest.testExitCode(123); checks=15 [2025-11-06T20:59:43.334Z] [20:58:28.441] [ RUN ] BasicTest.testHelp [2025-11-06T20:59:43.334Z] [20:58:28.442] TRACE: exec: Execute tool provider [jpackage -h](2)... [2025-11-06T20:59:43.334Z] [20:58:28.446] TRACE: exec: Done. Exit code: 0 [2025-11-06T20:59:43.334Z] Usage: jpackage <options> [2025-11-06T20:59:43.334Z] [2025-11-06T20:59:43.334Z] Sample usages: [2025-11-06T20:59:43.334Z] -------------- [2025-11-06T20:59:43.334Z] Generate an application package suitable for the host system: [2025-11-06T20:59:43.334Z] For a modular application: [2025-11-06T20:59:43.334Z] jpackage -n name -p modulePath -m moduleName/className [2025-11-06T20:59:43.334Z] For a non-modular application: [2025-11-06T20:59:43.334Z] jpackage -i inputDir -n name \ [2025-11-06T20:59:43.334Z] --main-class className --main-jar myJar.jar [2025-11-06T20:59:43.334Z] From a pre-built application image: [2025-11-06T20:59:43.334Z] jpackage -n name --app-image appImageDir [2025-11-06T20:59:43.334Z] Generate an application image: [2025-11-06T20:59:43.334Z] For a modular application: [2025-11-06T20:59:43.334Z] jpackage --type app-image -n name -p modulePath \ [2025-11-06T20:59:43.334Z] -m moduleName/className [2025-11-06T20:59:43.334Z] For a non-modular application: [2025-11-06T20:59:43.334Z] jpackage --type app-image -i inputDir -n name \ [2025-11-06T20:59:43.334Z] --main-class className --main-jar myJar.jar [2025-11-06T20:59:43.334Z] To provide your own options to jlink, run jlink separately: [2025-11-06T20:59:43.334Z] jlink --output appRuntimeImage -p modulePath \ [2025-11-06T20:59:43.334Z] --add-modules moduleName \ [2025-11-06T20:59:43.334Z] --no-header-files [<additional jlink options>...] [2025-11-06T20:59:43.334Z] jpackage --type app-image -n name \ [2025-11-06T20:59:43.334Z] -m moduleName/className --runtime-image appRuntimeImage [2025-11-06T20:59:43.334Z] Generate a Java runtime package: [2025-11-06T20:59:43.334Z] jpackage -n name --runtime-image <runtime-image> [2025-11-06T20:59:43.334Z] [2025-11-06T20:59:43.334Z] Generic Options: [2025-11-06T20:59:43.334Z] @<filename> [2025-11-06T20:59:43.334Z] Read options and/or mode from a file [2025-11-06T20:59:43.334Z] This option can be used multiple times. [2025-11-06T20:59:43.334Z] --type -t <type> [2025-11-06T20:59:43.334Z] The type of package to create [2025-11-06T20:59:43.334Z] Valid values are: {"app-image", "exe", "msi"} [2025-11-06T20:59:43.334Z] If this option is not specified a platform dependent [2025-11-06T20:59:43.334Z] default type will be created. [2025-11-06T20:59:43.334Z] --app-version <version> [2025-11-06T20:59:43.334Z] Version of the application and/or package [2025-11-06T20:59:43.334Z] --copyright <copyright string> [2025-11-06T20:59:43.334Z] Copyright for the application [2025-11-06T20:59:43.334Z] --description <description string> [2025-11-06T20:59:43.334Z] Description of the application [2025-11-06T20:59:43.334Z] --help -h [2025-11-06T20:59:43.334Z] Print the usage text with a list and description of each valid [2025-11-06T20:59:43.334Z] option for the current platform to the output stream, and exit [2025-11-06T20:59:43.334Z] --icon <file path> [2025-11-06T20:59:43.335Z] Path of the icon of the application package [2025-11-06T20:59:43.335Z] (absolute path or relative to the current directory) [2025-11-06T20:59:43.335Z] --name -n <name> [2025-11-06T20:59:43.335Z] Name of the application and/or package [2025-11-06T20:59:43.335Z] --dest -d <destination path> [2025-11-06T20:59:43.335Z] Path where generated output file is placed [2025-11-06T20:59:43.335Z] (absolute path or relative to the current directory) [2025-11-06T20:59:43.335Z] Defaults to the current working directory. [2025-11-06T20:59:43.335Z] --temp <directory path> [2025-11-06T20:59:43.335Z] Path of a new or empty directory used to create temporary files [2025-11-06T20:59:43.335Z] (absolute path or relative to the current directory) [2025-11-06T20:59:43.335Z] If specified, the temp dir will not be removed upon the task [2025-11-06T20:59:43.335Z] completion and must be removed manually. [2025-11-06T20:59:43.335Z] If not specified, a temporary directory will be created and [2025-11-06T20:59:43.335Z] removed upon the task completion. [2025-11-06T20:59:43.335Z] --vendor <vendor string> [2025-11-06T20:59:43.335Z] Vendor of the application [2025-11-06T20:59:43.335Z] --verbose [2025-11-06T20:59:43.335Z] Enables verbose output [2025-11-06T20:59:43.335Z] --version [2025-11-06T20:59:43.335Z] Print the product version to the output stream and exit. [2025-11-06T20:59:43.335Z] [2025-11-06T20:59:43.335Z] Options for creating the runtime image: [2025-11-06T20:59:43.335Z] --add-modules <module name>[,<module name>...] [2025-11-06T20:59:43.335Z] A comma (",") separated list of modules to add [2025-11-06T20:59:43.335Z] This module list, along with the main module (if specified) [2025-11-06T20:59:43.335Z] will be passed to jlink as the --add-module argument. [2025-11-06T20:59:43.335Z] If not specified, either just the main module (if --module is [2025-11-06T20:59:43.335Z] specified), or the default set of modules (if --main-jar is [2025-11-06T20:59:43.335Z] specified) are used. [2025-11-06T20:59:43.335Z] This option can be used multiple times. [2025-11-06T20:59:43.335Z] --module-path -p <module path>... [2025-11-06T20:59:43.335Z] A ; separated list of paths [2025-11-06T20:59:43.335Z] Each path is either a directory of modules or the path to a [2025-11-06T20:59:43.335Z] modular jar. [2025-11-06T20:59:43.335Z] (Each path is absolute or relative to the current directory.) [2025-11-06T20:59:43.335Z] This option can be used multiple times. [2025-11-06T20:59:43.335Z] --jlink-options <jlink options> [2025-11-06T20:59:43.335Z] A space separated list of options to pass to jlink [2025-11-06T20:59:43.335Z] If not specified, defaults to "--strip-native-commands [2025-11-06T20:59:43.335Z] --strip-debug --no-man-pages --no-header-files". [2025-11-06T20:59:43.335Z] This option can be used multiple times. [2025-11-06T20:59:43.335Z] --runtime-image <directory path> [2025-11-06T20:59:43.335Z] Path of the predefined runtime image that will be copied into [2025-11-06T20:59:43.335Z] the application image [2025-11-06T20:59:43.335Z] (absolute path or relative to the current directory) [2025-11-06T20:59:43.335Z] If --runtime-image is not specified, jpackage will run jlink to [2025-11-06T20:59:43.335Z] create the runtime image using options: [2025-11-06T20:59:43.335Z] --strip-debug, --no-header-files, --no-man-pages, and [2025-11-06T20:59:43.335Z] --strip-native-commands. [2025-11-06T20:59:43.335Z] [2025-11-06T20:59:43.335Z] Options for creating the application image: [2025-11-06T20:59:43.335Z] --input -i <directory path> [2025-11-06T20:59:43.335Z] Path of the input directory that contains the files to be packaged [2025-11-06T20:59:43.335Z] (absolute path or relative to the current directory) [2025-11-06T20:59:43.335Z] All files in the input directory will be packaged into the [2025-11-06T20:59:43.335Z] application image. [2025-11-06T20:59:43.335Z] [2025-11-06T20:59:43.335Z] Options for creating the application launcher(s): [2025-11-06T20:59:43.335Z] --add-launcher <launcher name>=<file path> [2025-11-06T20:59:43.335Z] Name of launcher, and a path to a Properties file that contains [2025-11-06T20:59:43.335Z] a list of key, value pairs [2025-11-06T20:59:43.335Z] (absolute path or relative to the current directory) [2025-11-06T20:59:43.335Z] The keys "module", "main-jar", "main-class", [2025-11-06T20:59:43.335Z] "arguments", "java-options", "app-version", "icon", and [2025-11-06T20:59:43.335Z] "win-console" can be used. [2025-11-06T20:59:43.335Z] These options are added to, or used to overwrite, the original [2025-11-06T20:59:43.335Z] command line options to build an additional alternative launcher. [2025-11-06T20:59:43.335Z] The main application launcher will be built from the command line [2025-11-06T20:59:43.335Z] options. Additional alternative launchers can be built using [2025-11-06T20:59:43.335Z] this option, and this option can be used multiple times to [2025-11-06T20:59:43.335Z] build multiple additional launchers. [2025-11-06T20:59:43.335Z] --arguments <main class arguments> [2025-11-06T20:59:43.335Z] Command line arguments to pass to the main class if no command [2025-11-06T20:59:43.335Z] line arguments are given to the launcher [2025-11-06T20:59:43.335Z] This option can be used multiple times. [2025-11-06T20:59:43.335Z] --java-options <java options> [2025-11-06T20:59:43.335Z] Options to pass to the Java runtime [2025-11-06T20:59:43.335Z] This option can be used multiple times. [2025-11-06T20:59:43.335Z] --main-class <class name> [2025-11-06T20:59:43.335Z] Qualified name of the application main class to execute [2025-11-06T20:59:43.335Z] This option can only be used if --main-jar is specified. [2025-11-06T20:59:43.335Z] --main-jar <main jar file> [2025-11-06T20:59:43.335Z] The main JAR of the application; containing the main class [2025-11-06T20:59:43.335Z] (specified as a path relative to the input path) [2025-11-06T20:59:43.335Z] Either --module or --main-jar option can be specified but not [2025-11-06T20:59:43.335Z] both. [2025-11-06T20:59:43.335Z] --module -m <module name>[/<main class>] [2025-11-06T20:59:43.335Z] The main module (and optionally main class) of the application [2025-11-06T20:59:43.335Z] This module must be located on the module path. [2025-11-06T20:59:43.335Z] When this option is specified, the main module will be linked [2025-11-06T20:59:43.335Z] in the Java runtime image. Either --module or --main-jar [2025-11-06T20:59:43.335Z] option can be specified but not both. [2025-11-06T20:59:43.335Z] [2025-11-06T20:59:43.335Z] Platform dependent option for creating the application launcher: [2025-11-06T20:59:43.335Z] --win-console [2025-11-06T20:59:43.335Z] Creates a console launcher for the application, should be [2025-11-06T20:59:43.335Z] specified for application which requires console interactions [2025-11-06T20:59:43.335Z] [2025-11-06T20:59:43.335Z] Options for creating the application package: [2025-11-06T20:59:43.335Z] --about-url <url> [2025-11-06T20:59:43.335Z] URL of the application's home page [2025-11-06T20:59:43.335Z] --app-image <directory path> [2025-11-06T20:59:43.335Z] Location of the predefined application image that is used [2025-11-06T20:59:43.335Z] to build an installable package [2025-11-06T20:59:43.335Z] (absolute path or relative to the current directory) [2025-11-06T20:59:43.335Z] --file-associations <file path> [2025-11-06T20:59:43.335Z] Path to a Properties file that contains list of key, value pairs [2025-11-06T20:59:43.335Z] (absolute path or relative to the current directory) [2025-11-06T20:59:43.335Z] The keys "extension", "mime-type", "icon", and "description" [2025-11-06T20:59:43.335Z] can be used to describe the association. [2025-11-06T20:59:43.335Z] This option can be used multiple times. [2025-11-06T20:59:43.335Z] --install-dir <directory path> [2025-11-06T20:59:43.335Z] Relative sub-path under the default installation location [2025-11-06T20:59:43.335Z] --license-file <file path> [2025-11-06T20:59:43.335Z] Path to the license file [2025-11-06T20:59:43.335Z] (absolute path or relative to the current directory) [2025-11-06T20:59:43.335Z] --resource-dir <directory path> [2025-11-06T20:59:43.335Z] Path to override jpackage resources [2025-11-06T20:59:43.335Z] Icons, template files, and other resources of jpackage can be [2025-11-06T20:59:43.335Z] over-ridden by adding replacement resources to this directory. [2025-11-06T20:59:43.335Z] (absolute path or relative to the current directory) [2025-11-06T20:59:43.335Z] --runtime-image <directory path> [2025-11-06T20:59:43.335Z] Path of the predefined runtime image to install [2025-11-06T20:59:43.335Z] (absolute path or relative to the current directory) [2025-11-06T20:59:43.335Z] Option is required when creating a runtime package. [2025-11-06T20:59:43.335Z] [2025-11-06T20:59:43.335Z] Platform dependent options for creating the application package: [2025-11-06T20:59:43.335Z] --win-dir-chooser [2025-11-06T20:59:43.335Z] Adds a dialog to enable the user to choose a directory in which [2025-11-06T20:59:43.335Z] the product is installed. [2025-11-06T20:59:43.335Z] --win-help-url <url> [2025-11-06T20:59:43.335Z] URL where user can obtain further information or technical support [2025-11-06T20:59:43.335Z] --win-menu [2025-11-06T20:59:43.335Z] Request to add a Start menu shortcut for this application [2025-11-06T20:59:43.335Z] --win-menu-group <menu group name> [2025-11-06T20:59:43.335Z] Start Menu group this application is placed in [2025-11-06T20:59:43.335Z] --win-per-user-install [2025-11-06T20:59:43.335Z] Request to perform an install on a per-user basis [2025-11-06T20:59:43.335Z] --win-shortcut [2025-11-06T20:59:43.335Z] Request to add desktop shortcut for this application [2025-11-06T20:59:43.335Z] --win-shortcut-prompt [2025-11-06T20:59:43.335Z] Adds a dialog to enable the user to choose if shortcuts [2025-11-06T20:59:43.335Z] will be created by installer. [2025-11-06T20:59:43.335Z] --win-update-url <url> [2025-11-06T20:59:43.335Z] URL of available application update information [2025-11-06T20:59:43.335Z] --win-upgrade-uuid <id string> [2025-11-06T20:59:43.335Z] UUID associated with upgrades for this package [2025-11-06T20:59:43.335Z] [2025-11-06T20:59:43.335Z] [20:58:28.447] TRACE: assertEquals(0): Check command tool provider [jpackage -h](2) exited with 0 code [2025-11-06T20:59:43.335Z] [20:58:28.447] TRACE: exec: Execute tool provider [jpackage --help](2)... [2025-11-06T20:59:43.335Z] [20:58:28.448] TRACE: exec: Done. Exit code: 0 [2025-11-06T20:59:43.335Z] Usage: jpackage <options> [2025-11-06T20:59:43.335Z] [2025-11-06T20:59:43.335Z] Sample usages: [2025-11-06T20:59:43.336Z] -------------- [2025-11-06T20:59:43.336Z] Generate an application package suitable for the host system: [2025-11-06T20:59:43.336Z] For a modular application: [2025-11-06T20:59:43.336Z] jpackage -n name -p modulePath -m moduleName/className [2025-11-06T20:59:43.336Z] For a non-modular application: [2025-11-06T20:59:43.336Z] jpackage -i inputDir -n name \ [2025-11-06T20:59:43.336Z] --main-class className --main-jar myJar.jar [2025-11-06T20:59:43.336Z] From a pre-built application image: [2025-11-06T20:59:43.336Z] jpackage -n name --app-image appImageDir [2025-11-06T20:59:43.336Z] Generate an application image: [2025-11-06T20:59:43.336Z] For a modular application: [2025-11-06T20:59:43.336Z] jpackage --type app-image -n name -p modulePath \ [2025-11-06T20:59:43.336Z] -m moduleName/className [2025-11-06T20:59:43.336Z] For a non-modular application: [2025-11-06T20:59:43.336Z] jpackage --type app-image -i inputDir -n name \ [2025-11-06T20:59:43.336Z] --main-class className --main-jar myJar.jar [2025-11-06T20:59:43.336Z] To provide your own options to jlink, run jlink separately: [2025-11-06T20:59:43.336Z] jlink --output appRuntimeImage -p modulePath \ [2025-11-06T20:59:43.336Z] --add-modules moduleName \ [2025-11-06T20:59:43.336Z] --no-header-files [<additional jlink options>...] [2025-11-06T20:59:43.336Z] jpackage --type app-image -n name \ [2025-11-06T20:59:43.336Z] -m moduleName/className --runtime-image appRuntimeImage [2025-11-06T20:59:43.336Z] Generate a Java runtime package: [2025-11-06T20:59:43.336Z] jpackage -n name --runtime-image <runtime-image> [2025-11-06T20:59:43.336Z] [2025-11-06T20:59:43.336Z] Generic Options: [2025-11-06T20:59:43.336Z] @<filename> [2025-11-06T20:59:43.336Z] Read options and/or mode from a file [2025-11-06T20:59:43.336Z] This option can be used multiple times. [2025-11-06T20:59:43.336Z] --type -t <type> [2025-11-06T20:59:43.336Z] The type of package to create [2025-11-06T20:59:43.336Z] Valid values are: {"app-image", "exe", "msi"} [2025-11-06T20:59:43.336Z] If this option is not specified a platform dependent [2025-11-06T20:59:43.336Z] default type will be created. [2025-11-06T20:59:43.336Z] --app-version <version> [2025-11-06T20:59:43.336Z] Version of the application and/or package [2025-11-06T20:59:43.336Z] --copyright <copyright string> [2025-11-06T20:59:43.336Z] Copyright for the application [2025-11-06T20:59:43.336Z] --description <description string> [2025-11-06T20:59:43.336Z] Description of the application [2025-11-06T20:59:43.336Z] --help -h [2025-11-06T20:59:43.336Z] Print the usage text with a list and description of each valid [2025-11-06T20:59:43.336Z] option for the current platform to the output stream, and exit [2025-11-06T20:59:43.336Z] --icon <file path> [2025-11-06T20:59:43.336Z] Path of the icon of the application package [2025-11-06T20:59:43.336Z] (absolute path or relative to the current directory) [2025-11-06T20:59:43.336Z] --name -n <name> [2025-11-06T20:59:43.336Z] Name of the application and/or package [2025-11-06T20:59:43.336Z] --dest -d <destination path> [2025-11-06T20:59:43.336Z] Path where generated output file is placed [2025-11-06T20:59:43.336Z] (absolute path or relative to the current directory) [2025-11-06T20:59:43.336Z] Defaults to the current working directory. [2025-11-06T20:59:43.336Z] --temp <directory path> [2025-11-06T20:59:43.336Z] Path of a new or empty directory used to create temporary files [2025-11-06T20:59:43.336Z] (absolute path or relative to the current directory) [2025-11-06T20:59:43.336Z] If specified, the temp dir will not be removed upon the task [2025-11-06T20:59:43.336Z] completion and must be removed manually. [2025-11-06T20:59:43.336Z] If not specified, a temporary directory will be created and [2025-11-06T20:59:43.336Z] removed upon the task completion. [2025-11-06T20:59:43.336Z] --vendor <vendor string> [2025-11-06T20:59:43.336Z] Vendor of the application [2025-11-06T20:59:43.336Z] --verbose [2025-11-06T20:59:43.336Z] Enables verbose output [2025-11-06T20:59:43.336Z] --version [2025-11-06T20:59:43.336Z] Print the product version to the output stream and exit. [2025-11-06T20:59:43.336Z] [2025-11-06T20:59:43.336Z] Options for creating the runtime image: [2025-11-06T20:59:43.336Z] --add-modules <module name>[,<module name>...] [2025-11-06T20:59:43.336Z] A comma (",") separated list of modules to add [2025-11-06T20:59:43.336Z] This module list, along with the main module (if specified) [2025-11-06T20:59:43.336Z] will be passed to jlink as the --add-module argument. [2025-11-06T20:59:43.336Z] If not specified, either just the main module (if --module is [2025-11-06T20:59:43.336Z] specified), or the default set of modules (if --main-jar is [2025-11-06T20:59:43.336Z] specified) are used. [2025-11-06T20:59:43.336Z] This option can be used multiple times. [2025-11-06T20:59:43.336Z] --module-path -p <module path>... [2025-11-06T20:59:43.336Z] A ; separated list of paths [2025-11-06T20:59:43.336Z] Each path is either a directory of modules or the path to a [2025-11-06T20:59:43.336Z] modular jar. [2025-11-06T20:59:43.336Z] (Each path is absolute or relative to the current directory.) [2025-11-06T20:59:43.336Z] This option can be used multiple times. [2025-11-06T20:59:43.336Z] --jlink-options <jlink options> [2025-11-06T20:59:43.336Z] A space separated list of options to pass to jlink [2025-11-06T20:59:43.336Z] If not specified, defaults to "--strip-native-commands [2025-11-06T20:59:43.336Z] --strip-debug --no-man-pages --no-header-files". [2025-11-06T20:59:43.336Z] This option can be used multiple times. [2025-11-06T20:59:43.336Z] --runtime-image <directory path> [2025-11-06T20:59:43.336Z] Path of the predefined runtime image that will be copied into [2025-11-06T20:59:43.336Z] the application image [2025-11-06T20:59:43.336Z] (absolute path or relative to the current directory) [2025-11-06T20:59:43.336Z] If --runtime-image is not specified, jpackage will run jlink to [2025-11-06T20:59:43.336Z] create the runtime image using options: [2025-11-06T20:59:43.336Z] --strip-debug, --no-header-files, --no-man-pages, and [2025-11-06T20:59:43.336Z] --strip-native-commands. [2025-11-06T20:59:43.336Z] [2025-11-06T20:59:43.336Z] Options for creating the application image: [2025-11-06T20:59:43.336Z] --input -i <directory path> [2025-11-06T20:59:43.336Z] Path of the input directory that contains the files to be packaged [2025-11-06T20:59:43.336Z] (absolute path or relative to the current directory) [2025-11-06T20:59:43.336Z] All files in the input directory will be packaged into the [2025-11-06T20:59:43.336Z] application image. [2025-11-06T20:59:43.336Z] [2025-11-06T20:59:43.336Z] Options for creating the application launcher(s): [2025-11-06T20:59:43.336Z] --add-launcher <launcher name>=<file path> [2025-11-06T20:59:43.336Z] Name of launcher, and a path to a Properties file that contains [2025-11-06T20:59:43.336Z] a list of key, value pairs [2025-11-06T20:59:43.336Z] (absolute path or relative to the current directory) [2025-11-06T20:59:43.336Z] The keys "module", "main-jar", "main-class", [2025-11-06T20:59:43.336Z] "arguments", "java-options", "app-version", "icon", and [2025-11-06T20:59:43.336Z] "win-console" can be used. [2025-11-06T20:59:43.336Z] These options are added to, or used to overwrite, the original [2025-11-06T20:59:43.336Z] command line options to build an additional alternative launcher. [2025-11-06T20:59:43.336Z] The main application launcher will be built from the command line [2025-11-06T20:59:43.336Z] options. Additional alternative launchers can be built using [2025-11-06T20:59:43.336Z] this option, and this option can be used multiple times to [2025-11-06T20:59:43.336Z] build multiple additional launchers. [2025-11-06T20:59:43.336Z] --arguments <main class arguments> [2025-11-06T20:59:43.336Z] Command line arguments to pass to the main class if no command [2025-11-06T20:59:43.336Z] line arguments are given to the launcher [2025-11-06T20:59:43.336Z] This option can be used multiple times. [2025-11-06T20:59:43.336Z] --java-options <java options> [2025-11-06T20:59:43.336Z] Options to pass to the Java runtime [2025-11-06T20:59:43.336Z] This option can be used multiple times. [2025-11-06T20:59:43.336Z] --main-class <class name> [2025-11-06T20:59:43.336Z] Qualified name of the application main class to execute [2025-11-06T20:59:43.336Z] This option can only be used if --main-jar is specified. [2025-11-06T20:59:43.336Z] --main-jar <main jar file> [2025-11-06T20:59:43.336Z] The main JAR of the application; containing the main class [2025-11-06T20:59:43.336Z] (specified as a path relative to the input path) [2025-11-06T20:59:43.336Z] Either --module or --main-jar option can be specified but not [2025-11-06T20:59:43.336Z] both. [2025-11-06T20:59:43.336Z] --module -m <module name>[/<main class>] [2025-11-06T20:59:43.336Z] The main module (and optionally main class) of the application [2025-11-06T20:59:43.336Z] This module must be located on the module path. [2025-11-06T20:59:43.336Z] When this option is specified, the main module will be linked [2025-11-06T20:59:43.336Z] in the Java runtime image. Either --module or --main-jar [2025-11-06T20:59:43.336Z] option can be specified but not both. [2025-11-06T20:59:43.336Z] [2025-11-06T20:59:43.336Z] Platform dependent option for creating the application launcher: [2025-11-06T20:59:43.336Z] --win-console [2025-11-06T20:59:43.336Z] Creates a console launcher for the application, should be [2025-11-06T20:59:43.336Z] specified for application which requires console interactions [2025-11-06T20:59:43.336Z] [2025-11-06T20:59:43.336Z] Options for creating the application package: [2025-11-06T20:59:43.336Z] --about-url <url> [2025-11-06T20:59:43.336Z] URL of the application's home page [2025-11-06T20:59:43.336Z] --app-image <directory path> [2025-11-06T20:59:43.336Z] Location of the predefined application image that is used [2025-11-06T20:59:43.336Z] to build an installable package [2025-11-06T20:59:43.336Z] (absolute path or relative to the current directory) [2025-11-06T20:59:43.336Z] --file-associations <file path> [2025-11-06T20:59:43.336Z] Path to a Properties file that contains list of key, value pairs [2025-11-06T20:59:43.336Z] (absolute path or relative to the current directory) [2025-11-06T20:59:43.336Z] The keys "extension", "mime-type", "icon", and "description" [2025-11-06T20:59:43.336Z] can be used to describe the association. [2025-11-06T20:59:43.336Z] This option can be used multiple times. [2025-11-06T20:59:43.336Z] --install-dir <directory path> [2025-11-06T20:59:43.336Z] Relative sub-path under the default installation location [2025-11-06T20:59:43.336Z] --license-file <file path> [2025-11-06T20:59:43.336Z] Path to the license file [2025-11-06T20:59:43.337Z] (absolute path or relative to the current directory) [2025-11-06T20:59:43.337Z] --resource-dir <directory path> [2025-11-06T20:59:43.337Z] Path to override jpackage resources [2025-11-06T20:59:43.337Z] Icons, template files, and other resources of jpackage can be [2025-11-06T20:59:43.337Z] over-ridden by adding replacement resources to this directory. [2025-11-06T20:59:43.337Z] (absolute path or relative to the current directory) [2025-11-06T20:59:43.337Z] --runtime-image <directory path> [2025-11-06T20:59:43.337Z] Path of the predefined runtime image to install [2025-11-06T20:59:43.337Z] (absolute path or relative to the current directory) [2025-11-06T20:59:43.337Z] Option is required when creating a runtime package. [2025-11-06T20:59:43.337Z] [2025-11-06T20:59:43.337Z] Platform dependent options for creating the application package: [2025-11-06T20:59:43.337Z] --win-dir-chooser [2025-11-06T20:59:43.337Z] Adds a dialog to enable the user to choose a directory in which [2025-11-06T20:59:43.337Z] the product is installed. [2025-11-06T20:59:43.337Z] --win-help-url <url> [2025-11-06T20:59:43.337Z] URL where user can obtain further information or technical support [2025-11-06T20:59:43.337Z] --win-menu [2025-11-06T20:59:43.337Z] Request to add a Start menu shortcut for this application [2025-11-06T20:59:43.337Z] --win-menu-group <menu group name> [2025-11-06T20:59:43.337Z] Start Menu group this application is placed in [2025-11-06T20:59:43.337Z] --win-per-user-install [2025-11-06T20:59:43.337Z] Request to perform an install on a per-user basis [2025-11-06T20:59:43.337Z] --win-shortcut [2025-11-06T20:59:43.337Z] Request to add desktop shortcut for this application [2025-11-06T20:59:43.337Z] --win-shortcut-prompt [2025-11-06T20:59:43.337Z] Adds a dialog to enable the user to choose if shortcuts [2025-11-06T20:59:43.337Z] will be created by installer. [2025-11-06T20:59:43.337Z] --win-update-url <url> [2025-11-06T20:59:43.337Z] URL of available application update information [2025-11-06T20:59:43.337Z] --win-upgrade-uuid <id string> [2025-11-06T20:59:43.337Z] UUID associated with upgrades for this package [2025-11-06T20:59:43.337Z] [2025-11-06T20:59:43.337Z] [20:58:28.449] TRACE: assertEquals(0): Check command tool provider [jpackage --help](2) exited with 0 code [2025-11-06T20:59:43.337Z] [20:58:28.449] TRACE: assertStringListEquals(): Check -h and --help parameters produce the same output [2025-11-06T20:59:43.337Z] [20:58:28.449] TRACE: assertStringListEquals( 1, Usage: jpackage <options>) [2025-11-06T20:59:43.337Z] [20:58:28.449] TRACE: assertStringListEquals( 2, ) [2025-11-06T20:59:43.337Z] [20:58:28.449] TRACE: assertStringListEquals( 3, Sample usages:) [2025-11-06T20:59:43.337Z] [20:58:28.449] TRACE: assertStringListEquals( 4, --------------) [2025-11-06T20:59:43.337Z] [20:58:28.449] TRACE: assertStringListEquals( 5, Generate an application package suitable for the host system:) [2025-11-06T20:59:43.337Z] [20:58:28.449] TRACE: assertStringListEquals( 6, For a modular application:) [2025-11-06T20:59:43.337Z] [20:58:28.449] TRACE: assertStringListEquals( 7, jpackage -n name -p modulePath -m moduleName/className) [2025-11-06T20:59:43.337Z] [20:58:28.449] TRACE: assertStringListEquals( 8, For a non-modular application:) [2025-11-06T20:59:43.337Z] [20:58:28.449] TRACE: assertStringListEquals( 9, jpackage -i inputDir -n name \) [2025-11-06T20:59:43.337Z] [20:58:28.449] TRACE: assertStringListEquals( 10, --main-class className --main-jar myJar.jar) [2025-11-06T20:59:43.337Z] [20:58:28.449] TRACE: assertStringListEquals( 11, From a pre-built application image:) [2025-11-06T20:59:43.337Z] [20:58:28.449] TRACE: assertStringListEquals( 12, jpackage -n name --app-image appImageDir) [2025-11-06T20:59:43.337Z] [20:58:28.449] TRACE: assertStringListEquals( 13, Generate an application image:) [2025-11-06T20:59:43.337Z] [20:58:28.449] TRACE: assertStringListEquals( 14, For a modular application:) [2025-11-06T20:59:43.337Z] [20:58:28.449] TRACE: assertStringListEquals( 15, jpackage --type app-image -n name -p modulePath \) [2025-11-06T20:59:43.337Z] [20:58:28.450] TRACE: assertStringListEquals( 16, -m moduleName/className) [2025-11-06T20:59:43.337Z] [20:58:28.450] TRACE: assertStringListEquals( 17, For a non-modular application:) [2025-11-06T20:59:43.337Z] [20:58:28.450] TRACE: assertStringListEquals( 18, jpackage --type app-image -i inputDir -n name \) [2025-11-06T20:59:43.337Z] [20:58:28.450] TRACE: assertStringListEquals( 19, --main-class className --main-jar myJar.jar) [2025-11-06T20:59:43.337Z] [20:58:28.450] TRACE: assertStringListEquals( 20, To provide your own options to jlink, run jlink separately:) [2025-11-06T20:59:43.337Z] [20:58:28.450] TRACE: assertStringListEquals( 21, jlink --output appRuntimeImage -p modulePath \) [2025-11-06T20:59:43.337Z] [20:58:28.450] TRACE: assertStringListEquals( 22, --add-modules moduleName \) [2025-11-06T20:59:43.337Z] [20:58:28.450] TRACE: assertStringListEquals( 23, --no-header-files [<additional jlink options>...]) [2025-11-06T20:59:43.337Z] [20:58:28.450] TRACE: assertStringListEquals( 24, jpackage --type app-image -n name \) [2025-11-06T20:59:43.337Z] [20:58:28.450] TRACE: assertStringListEquals( 25, -m moduleName/className --runtime-image appRuntimeImage) [2025-11-06T20:59:43.337Z] [20:58:28.450] TRACE: assertStringListEquals( 26, Generate a Java runtime package:) [2025-11-06T20:59:43.337Z] [20:58:28.450] TRACE: assertStringListEquals( 27, jpackage -n name --runtime-image <runtime-image>) [2025-11-06T20:59:43.337Z] [20:58:28.450] TRACE: assertStringListEquals( 28, ) [2025-11-06T20:59:43.337Z] [20:58:28.450] TRACE: assertStringListEquals( 29, Generic Options:) [2025-11-06T20:59:43.337Z] [20:58:28.450] TRACE: assertStringListEquals( 30, @<filename> ) [2025-11-06T20:59:43.337Z] [20:58:28.450] TRACE: assertStringListEquals( 31, Read options and/or mode from a file ) [2025-11-06T20:59:43.337Z] [20:58:28.450] TRACE: assertStringListEquals( 32, This option can be used multiple times.) [2025-11-06T20:59:43.337Z] [20:58:28.450] TRACE: assertStringListEquals( 33, --type -t <type> ) [2025-11-06T20:59:43.337Z] [20:58:28.450] TRACE: assertStringListEquals( 34, The type of package to create) [2025-11-06T20:59:43.337Z] [20:58:28.450] TRACE: assertStringListEquals( 35, Valid values are: {"app-image", "exe", "msi"} ) [2025-11-06T20:59:43.337Z] [20:58:28.451] TRACE: assertStringListEquals( 36, If this option is not specified a platform dependent) [2025-11-06T20:59:43.337Z] [20:58:28.451] TRACE: assertStringListEquals( 37, default type will be created.) [2025-11-06T20:59:43.337Z] [20:58:28.451] TRACE: assertStringListEquals( 38, --app-version <version>) [2025-11-06T20:59:43.337Z] [20:58:28.451] TRACE: assertStringListEquals( 39, Version of the application and/or package) [2025-11-06T20:59:43.337Z] [20:58:28.451] TRACE: assertStringListEquals( 40, --copyright <copyright string>) [2025-11-06T20:59:43.337Z] [20:58:28.451] TRACE: assertStringListEquals( 41, Copyright for the application) [2025-11-06T20:59:43.337Z] [20:58:28.451] TRACE: assertStringListEquals( 42, --description <description string>) [2025-11-06T20:59:43.337Z] [20:58:28.451] TRACE: assertStringListEquals( 43, Description of the application) [2025-11-06T20:59:43.337Z] [20:58:28.451] TRACE: assertStringListEquals( 44, --help -h ) [2025-11-06T20:59:43.337Z] [20:58:28.451] TRACE: assertStringListEquals( 45, Print the usage text with a list and description of each valid) [2025-11-06T20:59:43.337Z] [20:58:28.451] TRACE: assertStringListEquals( 46, option for the current platform to the output stream, and exit) [2025-11-06T20:59:43.337Z] [20:58:28.451] TRACE: assertStringListEquals( 47, --icon <file path>) [2025-11-06T20:59:43.337Z] [20:58:28.451] TRACE: assertStringListEquals( 48, Path of the icon of the application package) [2025-11-06T20:59:43.337Z] [20:58:28.451] TRACE: assertStringListEquals( 49, (absolute path or relative to the current directory)) [2025-11-06T20:59:43.337Z] [20:58:28.451] TRACE: assertStringListEquals( 50, --name -n <name>) [2025-11-06T20:59:43.337Z] [20:58:28.451] TRACE: assertStringListEquals( 51, Name of the application and/or package) [2025-11-06T20:59:43.337Z] [20:58:28.451] TRACE: assertStringListEquals( 52, --dest -d <destination path>) [2025-11-06T20:59:43.337Z] [20:58:28.451] TRACE: assertStringListEquals( 53, Path where generated output file is placed) [2025-11-06T20:59:43.337Z] [20:58:28.451] TRACE: assertStringListEquals( 54, (absolute path or relative to the current directory)) [2025-11-06T20:59:43.337Z] [20:58:28.452] TRACE: assertStringListEquals( 55, Defaults to the current working directory.) [2025-11-06T20:59:43.337Z] [20:58:28.452] TRACE: assertStringListEquals( 56, --temp <directory path>) [2025-11-06T20:59:43.337Z] [20:58:28.452] TRACE: assertStringListEquals( 57, Path of a new or empty directory used to create temporary files) [2025-11-06T20:59:43.337Z] [20:58:28.452] TRACE: assertStringListEquals( 58, (absolute path or relative to the current directory)) [2025-11-06T20:59:43.337Z] [20:58:28.452] TRACE: assertStringListEquals( 59, If specified, the temp dir will not be removed upon the task) [2025-11-06T20:59:43.337Z] [20:58:28.452] TRACE: assertStringListEquals( 60, completion and must be removed manually.) [2025-11-06T20:59:43.337Z] [20:58:28.452] TRACE: assertStringListEquals( 61, If not specified, a temporary directory will be created and) [2025-11-06T20:59:43.337Z] [20:58:28.452] TRACE: assertStringListEquals( 62, removed upon the task completion.) [2025-11-06T20:59:43.337Z] [20:58:28.452] TRACE: assertStringListEquals( 63, --vendor <vendor string>) [2025-11-06T20:59:43.337Z] [20:58:28.452] TRACE: assertStringListEquals( 64, Vendor of the application) [2025-11-06T20:59:43.337Z] [20:58:28.452] TRACE: assertStringListEquals( 65, --verbose) [2025-11-06T20:59:43.337Z] [20:58:28.452] TRACE: assertStringListEquals( 66, Enables verbose output) [2025-11-06T20:59:43.337Z] [20:58:28.452] TRACE: assertStringListEquals( 67, --version) [2025-11-06T20:59:43.337Z] [20:58:28.452] TRACE: assertStringListEquals( 68, Print the product version to the output stream and exit.) [2025-11-06T20:59:43.337Z] [20:58:28.452] TRACE: assertStringListEquals( 69, ) [2025-11-06T20:59:43.337Z] [20:58:28.452] TRACE: assertStringListEquals( 70, Options for creating the runtime image:) [2025-11-06T20:59:43.337Z] [20:58:28.452] TRACE: assertStringListEquals( 71, --add-modules <module name>[,<module name>...]) [2025-11-06T20:59:43.337Z] [20:58:28.452] TRACE: assertStringListEquals( 72, A comma (",") separated list of modules to add) [2025-11-06T20:59:43.337Z] [20:58:28.452] TRACE: assertStringListEquals( 73, This module list, along with the main module (if specified)) [2025-11-06T20:59:43.337Z] [20:58:28.452] TRACE: assertStringListEquals( 74, will be passed to jlink as the --add-module argument.) [2025-11-06T20:59:43.337Z] [20:58:28.453] TRACE: assertStringListEquals( 75, If not specified, either just the main module (if --module is) [2025-11-06T20:59:43.337Z] [20:58:28.453] TRACE: assertStringListEquals( 76, specified), or the default set of modules (if --main-jar is ) [2025-11-06T20:59:43.337Z] [20:58:28.453] TRACE: assertStringListEquals( 77, specified) are used.) [2025-11-06T20:59:43.337Z] [20:58:28.453] TRACE: assertStringListEquals( 78, This option can be used multiple times.) [2025-11-06T20:59:43.337Z] [20:58:28.453] TRACE: assertStringListEquals( 79, --module-path -p <module path>...) [2025-11-06T20:59:43.337Z] [20:58:28.453] TRACE: assertStringListEquals( 80, A ; separated list of paths) [2025-11-06T20:59:43.337Z] [20:58:28.453] TRACE: assertStringListEquals( 81, Each path is either a directory of modules or the path to a) [2025-11-06T20:59:43.337Z] [20:58:28.453] TRACE: assertStringListEquals( 82, modular jar.) [2025-11-06T20:59:43.337Z] [20:58:28.453] TRACE: assertStringListEquals( 83, (Each path is absolute or relative to the current directory.)) [2025-11-06T20:59:43.337Z] [20:58:28.453] TRACE: assertStringListEquals( 84, This option can be used multiple times.) [2025-11-06T20:59:43.337Z] [20:58:28.453] TRACE: assertStringListEquals( 85, --jlink-options <jlink options> ) [2025-11-06T20:59:43.337Z] [20:58:28.453] TRACE: assertStringListEquals( 86, A space separated list of options to pass to jlink ) [2025-11-06T20:59:43.337Z] [20:58:28.453] TRACE: assertStringListEquals( 87, If not specified, defaults to "--strip-native-commands ) [2025-11-06T20:59:43.337Z] [20:58:28.453] TRACE: assertStringListEquals( 88, --strip-debug --no-man-pages --no-header-files". ) [2025-11-06T20:59:43.337Z] [20:58:28.453] TRACE: assertStringListEquals( 89, This option can be used multiple times.) [2025-11-06T20:59:43.337Z] [20:58:28.453] TRACE: assertStringListEquals( 90, --runtime-image <directory path>) [2025-11-06T20:59:43.337Z] [20:58:28.453] TRACE: assertStringListEquals( 91, Path of the predefined runtime image that will be copied into) [2025-11-06T20:59:43.337Z] [20:58:28.453] TRACE: assertStringListEquals( 92, the application image) [2025-11-06T20:59:43.337Z] [20:58:28.453] TRACE: assertStringListEquals( 93, (absolute path or relative to the current directory)) [2025-11-06T20:59:43.337Z] [20:58:28.453] TRACE: assertStringListEquals( 94, If --runtime-image is not specified, jpackage will run jlink to) [2025-11-06T20:59:43.337Z] [20:58:28.453] TRACE: assertStringListEquals( 95, create the runtime image using options:) [2025-11-06T20:59:43.337Z] [20:58:28.454] TRACE: assertStringListEquals( 96, --strip-debug, --no-header-files, --no-man-pages, and) [2025-11-06T20:59:43.337Z] [20:58:28.454] TRACE: assertStringListEquals( 97, --strip-native-commands.) [2025-11-06T20:59:43.337Z] [20:58:28.454] TRACE: assertStringListEquals( 98, ) [2025-11-06T20:59:43.337Z] [20:58:28.454] TRACE: assertStringListEquals( 99, Options for creating the application image:) [2025-11-06T20:59:43.337Z] [20:58:28.454] TRACE: assertStringListEquals(100, --input -i <directory path>) [2025-11-06T20:59:43.338Z] [20:58:28.454] TRACE: assertStringListEquals(101, Path of the input directory that contains the files to be packaged) [2025-11-06T20:59:43.338Z] [20:58:28.454] TRACE: assertStringListEquals(102, (absolute path or relative to the current directory)) [2025-11-06T20:59:43.338Z] [20:58:28.454] TRACE: assertStringListEquals(103, All files in the input directory will be packaged into the) [2025-11-06T20:59:43.338Z] [20:58:28.454] TRACE: assertStringListEquals(104, application image.) [2025-11-06T20:59:43.338Z] [20:58:28.454] TRACE: assertStringListEquals(105, ) [2025-11-06T20:59:43.338Z] [20:58:28.454] TRACE: assertStringListEquals(106, Options for creating the application launcher(s):) [2025-11-06T20:59:43.338Z] [20:58:28.454] TRACE: assertStringListEquals(107, --add-launcher <launcher name>=<file path>) [2025-11-06T20:59:43.338Z] [20:58:28.454] TRACE: assertStringListEquals(108, Name of launcher, and a path to a Properties file that contains) [2025-11-06T20:59:43.338Z] [20:58:28.454] TRACE: assertStringListEquals(109, a list of key, value pairs) [2025-11-06T20:59:43.338Z] [20:58:28.454] TRACE: assertStringListEquals(110, (absolute path or relative to the current directory)) [2025-11-06T20:59:43.338Z] [20:58:28.454] TRACE: assertStringListEquals(111, The keys "module", "main-jar", "main-class",) [2025-11-06T20:59:43.338Z] [20:58:28.454] TRACE: assertStringListEquals(112, "arguments", "java-options", "app-version", "icon", and) [2025-11-06T20:59:43.338Z] [20:58:28.454] TRACE: assertStringListEquals(113, "win-console" can be used.) [2025-11-06T20:59:43.338Z] [20:58:28.454] TRACE: assertStringListEquals(114, These options are added to, or used to overwrite, the original) [2025-11-06T20:59:43.338Z] [20:58:28.455] TRACE: assertStringListEquals(115, command line options to build an additional alternative launcher.) [2025-11-06T20:59:43.338Z] [20:58:28.455] TRACE: assertStringListEquals(116, The main application launcher will be built from the command line) [2025-11-06T20:59:43.338Z] [20:58:28.455] TRACE: assertStringListEquals(117, options. Additional alternative launchers can be built using) [2025-11-06T20:59:43.338Z] [20:58:28.455] TRACE: assertStringListEquals(118, this option, and this option can be used multiple times to) [2025-11-06T20:59:43.338Z] [20:58:28.455] TRACE: assertStringListEquals(119, build multiple additional launchers. ) [2025-11-06T20:59:43.338Z] [20:58:28.455] TRACE: assertStringListEquals(120, --arguments <main class arguments>) [2025-11-06T20:59:43.338Z] [20:58:28.455] TRACE: assertStringListEquals(121, Command line arguments to pass to the main class if no command) [2025-11-06T20:59:43.338Z] [20:58:28.455] TRACE: assertStringListEquals(122, line arguments are given to the launcher) [2025-11-06T20:59:43.338Z] [20:58:28.455] TRACE: assertStringListEquals(123, This option can be used multiple times.) [2025-11-06T20:59:43.338Z] [20:58:28.455] TRACE: assertStringListEquals(124, --java-options <java options>) [2025-11-06T20:59:43.338Z] [20:58:28.455] TRACE: assertStringListEquals(125, Options to pass to the Java runtime) [2025-11-06T20:59:43.338Z] [20:58:28.455] TRACE: assertStringListEquals(126, This option can be used multiple times.) [2025-11-06T20:59:43.338Z] [20:58:28.455] TRACE: assertStringListEquals(127, --main-class <class name>) [2025-11-06T20:59:43.338Z] [20:58:28.455] TRACE: assertStringListEquals(128, Qualified name of the application main class to execute) [2025-11-06T20:59:43.338Z] [20:58:28.455] TRACE: assertStringListEquals(129, This option can only be used if --main-jar is specified.) [2025-11-06T20:59:43.338Z] [20:58:28.455] TRACE: assertStringListEquals(130, --main-jar <main jar file>) [2025-11-06T20:59:43.338Z] [20:58:28.455] TRACE: assertStringListEquals(131, The main JAR of the application; containing the main class) [2025-11-06T20:59:43.338Z] [20:58:28.455] TRACE: assertStringListEquals(132, (specified as a path relative to the input path)) [2025-11-06T20:59:43.338Z] [20:58:28.455] TRACE: assertStringListEquals(133, Either --module or --main-jar option can be specified but not) [2025-11-06T20:59:43.338Z] [20:58:28.456] TRACE: assertStringListEquals(134, both.) [2025-11-06T20:59:43.338Z] [20:58:28.456] TRACE: assertStringListEquals(135, --module -m <module name>[/<main class>]) [2025-11-06T20:59:43.338Z] [20:58:28.456] TRACE: assertStringListEquals(136, The main module (and optionally main class) of the application) [2025-11-06T20:59:43.338Z] [20:58:28.456] TRACE: assertStringListEquals(137, This module must be located on the module path.) [2025-11-06T20:59:43.338Z] [20:58:28.456] TRACE: assertStringListEquals(138, When this option is specified, the main module will be linked) [2025-11-06T20:59:43.338Z] [20:58:28.456] TRACE: assertStringListEquals(139, in the Java runtime image. Either --module or --main-jar) [2025-11-06T20:59:43.338Z] [20:58:28.456] TRACE: assertStringListEquals(140, option can be specified but not both.) [2025-11-06T20:59:43.338Z] [20:58:28.456] TRACE: assertStringListEquals(141, ) [2025-11-06T20:59:43.338Z] [20:58:28.456] TRACE: assertStringListEquals(142, Platform dependent option for creating the application launcher:) [2025-11-06T20:59:43.338Z] [20:58:28.456] TRACE: assertStringListEquals(143, --win-console) [2025-11-06T20:59:43.338Z] [20:58:28.456] TRACE: assertStringListEquals(144, Creates a console launcher for the application, should be) [2025-11-06T20:59:43.338Z] [20:58:28.456] TRACE: assertStringListEquals(145, specified for application which requires console interactions) [2025-11-06T20:59:43.338Z] [20:58:28.456] TRACE: assertStringListEquals(146, ) [2025-11-06T20:59:43.338Z] [20:58:28.456] TRACE: assertStringListEquals(147, Options for creating the application package:) [2025-11-06T20:59:43.338Z] [20:58:28.456] TRACE: assertStringListEquals(148, --about-url <url>) [2025-11-06T20:59:43.338Z] [20:58:28.456] TRACE: assertStringListEquals(149, URL of the application's home page) [2025-11-06T20:59:43.338Z] [20:58:28.456] TRACE: assertStringListEquals(150, --app-image <directory path>) [2025-11-06T20:59:43.338Z] [20:58:28.456] TRACE: assertStringListEquals(151, Location of the predefined application image that is used) [2025-11-06T20:59:43.338Z] [20:58:28.456] TRACE: assertStringListEquals(152, to build an installable package) [2025-11-06T20:59:43.338Z] [20:58:28.456] TRACE: assertStringListEquals(153, (absolute path or relative to the current directory)) [2025-11-06T20:59:43.338Z] [20:58:28.456] TRACE: assertStringListEquals(154, --file-associations <file path>) [2025-11-06T20:59:43.338Z] [20:58:28.456] TRACE: assertStringListEquals(155, Path to a Properties file that contains list of key, value pairs) [2025-11-06T20:59:43.338Z] [20:58:28.456] TRACE: assertStringListEquals(156, (absolute path or relative to the current directory)) [2025-11-06T20:59:43.338Z] [20:58:28.456] TRACE: assertStringListEquals(157, The keys "extension", "mime-type", "icon", and "description") [2025-11-06T20:59:43.338Z] [20:58:28.457] TRACE: assertStringListEquals(158, can be used to describe the association.) [2025-11-06T20:59:43.338Z] [20:58:28.457] TRACE: assertStringListEquals(159, This option can be used multiple times.) [2025-11-06T20:59:43.338Z] [20:58:28.457] TRACE: assertStringListEquals(160, --install-dir <directory path>) [2025-11-06T20:59:43.338Z] [20:58:28.457] TRACE: assertStringListEquals(161, Relative sub-path under the default installation location) [2025-11-06T20:59:43.338Z] [20:58:28.457] TRACE: assertStringListEquals(162, --license-file <file path>) [2025-11-06T20:59:43.338Z] [20:58:28.457] TRACE: assertStringListEquals(163, Path to the license file) [2025-11-06T20:59:43.338Z] [20:58:28.457] TRACE: assertStringListEquals(164, (absolute path or relative to the current directory)) [2025-11-06T20:59:43.338Z] [20:58:28.457] TRACE: assertStringListEquals(165, --resource-dir <directory path>) [2025-11-06T20:59:43.338Z] [20:58:28.457] TRACE: assertStringListEquals(166, Path to override jpackage resources) [2025-11-06T20:59:43.338Z] [20:58:28.457] TRACE: assertStringListEquals(167, Icons, template files, and other resources of jpackage can be) [2025-11-06T20:59:43.338Z] [20:58:28.457] TRACE: assertStringListEquals(168, over-ridden by adding replacement resources to this directory.) [2025-11-06T20:59:43.338Z] [20:58:28.457] TRACE: assertStringListEquals(169, (absolute path or relative to the current directory)) [2025-11-06T20:59:43.338Z] [20:58:28.457] TRACE: assertStringListEquals(170, --runtime-image <directory path>) [2025-11-06T20:59:43.338Z] [20:58:28.457] TRACE: assertStringListEquals(171, Path of the predefined runtime image to install) [2025-11-06T20:59:43.338Z] [20:58:28.457] TRACE: assertStringListEquals(172, (absolute path or relative to the current directory)) [2025-11-06T20:59:43.338Z] [20:58:28.457] TRACE: assertStringListEquals(173, Option is required when creating a runtime package.) [2025-11-06T20:59:43.338Z] [20:58:28.457] TRACE: assertStringListEquals(174, ) [2025-11-06T20:59:43.338Z] [20:58:28.457] TRACE: assertStringListEquals(175, Platform dependent options for creating the application package:) [2025-11-06T20:59:43.338Z] [20:58:28.457] TRACE: assertStringListEquals(176, --win-dir-chooser) [2025-11-06T20:59:43.338Z] [20:58:28.457] TRACE: assertStringListEquals(177, Adds a dialog to enable the user to choose a directory in which) [2025-11-06T20:59:43.338Z] [20:58:28.457] TRACE: assertStringListEquals(178, the product is installed.) [2025-11-06T20:59:43.338Z] [20:58:28.458] TRACE: assertStringListEquals(179, --win-help-url <url>) [2025-11-06T20:59:43.338Z] [20:58:28.458] TRACE: assertStringListEquals(180, URL where user can obtain further information or technical support) [2025-11-06T20:59:43.338Z] [20:58:28.458] TRACE: assertStringListEquals(181, --win-menu) [2025-11-06T20:59:43.338Z] [20:58:28.458] TRACE: assertStringListEquals(182, Request to add a Start menu shortcut for this application) [2025-11-06T20:59:43.338Z] [20:58:28.458] TRACE: assertStringListEquals(183, --win-menu-group <menu group name>) [2025-11-06T20:59:43.338Z] [20:58:28.458] TRACE: assertStringListEquals(184, Start Menu group this application is placed in) [2025-11-06T20:59:43.338Z] [20:58:28.458] TRACE: assertStringListEquals(185, --win-per-user-install) [2025-11-06T20:59:43.338Z] [20:58:28.458] TRACE: assertStringListEquals(186, Request to perform an install on a per-user basis) [2025-11-06T20:59:43.338Z] [20:58:28.458] TRACE: assertStringListEquals(187, --win-shortcut) [2025-11-06T20:59:43.338Z] [20:58:28.458] TRACE: assertStringListEquals(188, Request to add desktop shortcut for this application) [2025-11-06T20:59:43.338Z] [20:58:28.458] TRACE: assertStringListEquals(189, --win-shortcut-prompt) [2025-11-06T20:59:43.338Z] [20:58:28.458] TRACE: assertStringListEquals(190, Adds a dialog to enable the user to choose if shortcuts) [2025-11-06T20:59:43.338Z] [20:58:28.458] TRACE: assertStringListEquals(191, will be created by installer.) [2025-11-06T20:59:43.338Z] [20:58:28.458] TRACE: assertStringListEquals(192, --win-update-url <url>) [2025-11-06T20:59:43.338Z] [20:58:28.458] TRACE: assertStringListEquals(193, URL of available application update information) [2025-11-06T20:59:43.338Z] [20:58:28.458] TRACE: assertStringListEquals(194, --win-upgrade-uuid <id string>) [2025-11-06T20:59:43.338Z] [20:58:28.458] TRACE: assertStringListEquals(195, UUID associated with upgrades for this package) [2025-11-06T20:59:43.338Z] [20:58:28.458] TRACE: assertStringListEquals(196, ) [2025-11-06T20:59:43.338Z] [20:58:28.459] TRACE: Check parameters in help text [2025-11-06T20:59:43.338Z] [20:58:28.460] TRACE: --win-console [2025-11-06T20:59:43.338Z] [20:58:28.460] TRACE: --win-dir-chooser [2025-11-06T20:59:43.338Z] [20:58:28.460] TRACE: --win-help-url <url> [2025-11-06T20:59:43.338Z] [20:58:28.460] TRACE: --win-menu [2025-11-06T20:59:43.338Z] [20:58:28.460] TRACE: --win-menu-group <menu group name> [2025-11-06T20:59:43.338Z] [20:58:28.460] TRACE: --win-per-user-install [2025-11-06T20:59:43.338Z] [20:58:28.460] TRACE: --win-shortcut [2025-11-06T20:59:43.338Z] [20:58:28.460] TRACE: --win-shortcut-prompt [2025-11-06T20:59:43.338Z] [20:58:28.460] TRACE: --win-update-url <url> [2025-11-06T20:59:43.338Z] [20:58:28.460] TRACE: --win-upgrade-uuid <id string> [2025-11-06T20:59:43.338Z] [20:58:28.460] TRACE: assertNotEquals(0, 10): Check help text contains platform specific parameters [2025-11-06T20:59:43.338Z] [20:58:28.461] TRACE: assertEquals(0): Check help text doesn't contain unexpected parameters [2025-11-06T20:59:43.338Z] [20:58:28.461] TRACE: Deleting [.\testHelp] directory recursively [2025-11-06T20:59:43.338Z] [20:58:28.461] [ OK ] BasicTest.testHelp; checks=5 [2025-11-06T20:59:43.338Z] [20:58:28.461] [ RUN ] BasicTest.testJpackageProps [2025-11-06T20:59:43.338Z] [20:58:28.462] TRACE: exec: Execute tool provider [javac -d .\testJpackageProps\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4)... [2025-11-06T20:59:43.338Z] [20:58:28.547] TRACE: exec: Done. Exit code: 0 [2025-11-06T20:59:43.338Z] [20:58:28.547] TRACE: assertEquals(0): Check command tool provider [javac -d .\testJpackageProps\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4) exited with 0 code [2025-11-06T20:59:43.338Z] [20:58:28.549] TRACE: exec: Execute tool provider [jar -c -f .\testJpackageProps\input\hello.jar -C .\testJpackageProps\jar-workdir .](7)... [2025-11-06T20:59:43.338Z] [20:58:28.577] TRACE: exec: Done. Exit code: 0 [2025-11-06T20:59:43.338Z] [20:58:28.577] TRACE: assertEquals(0): Check command tool provider [jar -c -f .\testJpackageProps\input\hello.jar -C .\testJpackageProps\jar-workdir .](7) exited with 0 code [2025-11-06T20:59:43.338Z] [20:58:28.578] TRACE: exec: Execute [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\testJpackageProps\input --dest .\testJpackageProps\output --name JpackagePropsBasicTest --type app-image --main-jar hello.jar --main-class Hello --win-console --app-version 3.0 --arguments "jpackage.app-version jpackage.app-path"](18); save output... [2025-11-06T20:59:43.338Z] [20:58:39.001] TRACE: exec: Done. Exit code: 0 [2025-11-06T20:59:43.338Z] [20:58:39.001] TRACE: assertEquals(0): Check command [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\testJpackageProps\input --dest .\testJpackageProps\output --name JpackagePropsBasicTest --type app-image --main-jar hello.jar --main-class Hello --win-console --app-version 3.0 --arguments "jpackage.app-version jpackage.app-path"](18) exited with 0 code [2025-11-06T20:59:43.338Z] [20:58:39.011] TRACE: assertStringListEquals(): Check there is only one file with [.jpackage.xml] name in the package [2025-11-06T20:59:43.338Z] [20:58:39.011] TRACE: assertStringListEquals(1, .\testJpackageProps\output\JpackagePropsBasicTest\app\.jpackage.xml) [2025-11-06T20:59:43.338Z] [20:58:39.011] TRACE: assertTrue(): Check [.\testJpackageProps\output\JpackagePropsBasicTest\runtime] path exists [2025-11-06T20:59:43.338Z] [20:58:39.011] TRACE: assertTrue(): Check [.\testJpackageProps\output\JpackagePropsBasicTest\runtime] is a directory [2025-11-06T20:59:43.338Z] [20:58:39.012] TRACE: assertTrue(): Check [.\testJpackageProps\output\JpackagePropsBasicTest\JpackagePropsBasicTest.exe] path exists [2025-11-06T20:59:43.338Z] [20:58:39.012] TRACE: assertTrue(): Check [.\testJpackageProps\output\JpackagePropsBasicTest\JpackagePropsBasicTest.exe] is a file [2025-11-06T20:59:43.338Z] [20:58:39.012] TRACE: assertTrue(): Check [.\testJpackageProps\output\JpackagePropsBasicTest\JpackagePropsBasicTest.exe] file is executable [2025-11-06T20:59:43.338Z] [20:58:39.012] TRACE: assertTrue(): Check [.\testJpackageProps\output\JpackagePropsBasicTest\app\JpackagePropsBasicTest.cfg] path exists [2025-11-06T20:59:43.338Z] [20:58:39.012] TRACE: assertTrue(): Check [.\testJpackageProps\output\JpackagePropsBasicTest\app\JpackagePropsBasicTest.cfg] is a file [2025-11-06T20:59:43.338Z] [20:58:39.013] TRACE: Clearing PATH in environment [2025-11-06T20:59:43.338Z] [20:58:39.013] TRACE: exec: Execute [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\.\testJpackageProps\output\JpackagePropsBasicTest\JpackagePropsBasicTest.exe](1); save output; in directory [.\testJpackageProps]... [2025-11-06T20:59:43.338Z] hello: Environment supports a display [2025-11-06T20:59:43.338Z] hello: Environment supports a desktop [2025-11-06T20:59:43.339Z] [0x006a,0x0070,0x0061,0x0063,0x006b,0x0061,0x0067,0x0065,0x002e,0x0061,0x0070,0x0070,0x002d,0x0076,0x0065,0x0072,0x0073,0x0069,0x006f,0x006e] [2025-11-06T20:59:43.339Z] [0x006a,0x0070,0x0061,0x0063,0x006b,0x0061,0x0067,0x0065,0x002e,0x0061,0x0070,0x0070,0x002d,0x0070,0x0061,0x0074,0x0068] [2025-11-06T20:59:43.339Z] jpackage test application [2025-11-06T20:59:43.339Z] args.length: 2 [2025-11-06T20:59:43.339Z] jpackage.app-version=3.0 [2025-11-06T20:59:43.339Z] jpackage.app-path=C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testJpackageProps\output\JpackagePropsBasicTest\JpackagePropsBasicTest.exe [2025-11-06T20:59:43.339Z] hello: Output file: [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testJpackageProps\appOutput.txt] [2025-11-06T20:59:43.339Z] [20:58:39.539] TRACE: exec: Done. Exit code: 0 [2025-11-06T20:59:43.339Z] [20:58:39.539] TRACE: assertEquals(0): Check command [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\.\testJpackageProps\output\JpackagePropsBasicTest\JpackagePropsBasicTest.exe](1) exited with 0 code [2025-11-06T20:59:43.339Z] [20:58:39.540] TRACE: assertNotNull(jpackage.app-version=3.0): Check output contains [jpackage.app-version=3.0] string [2025-11-06T20:59:43.339Z] [20:58:39.540] TRACE: assertNotNull(jpackage.app-path=C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testJpackageProps\output\JpackagePropsBasicTest\JpackagePropsBasicTest.exe): Check output contains [jpackage.app-path=] string [2025-11-06T20:59:43.339Z] [20:58:39.541] TRACE: Deleting [.\testJpackageProps] directory recursively [2025-11-06T20:59:43.339Z] [20:58:39.660] [ OK ] BasicTest.testJpackageProps; checks=14 [2025-11-06T20:59:43.339Z] [20:58:39.660] [ RUN ] BasicTest.testNoArgs [2025-11-06T20:59:43.339Z] [20:58:39.661] TRACE: exec: Execute tool provider [jpackage](1)... [2025-11-06T20:59:43.339Z] [20:58:39.661] TRACE: exec: Done. Exit code: 0 [2025-11-06T20:59:43.339Z] Usage: jpackage <options> [2025-11-06T20:59:43.339Z] Use jpackage --help (or -h) for a list of possible options [2025-11-06T20:59:43.339Z] [20:58:39.661] TRACE: assertEquals(0): Check command tool provider [jpackage](1) exited with 0 code [2025-11-06T20:59:43.339Z] [20:58:39.662] TRACE: assertStringListEquals(): Check jpackage output [2025-11-06T20:59:43.339Z] [20:58:39.662] TRACE: assertStringListEquals(1, Usage: jpackage <options>) [2025-11-06T20:59:43.339Z] [20:58:39.662] TRACE: assertStringListEquals(2, Use jpackage --help (or -h) for a list of possible options) [2025-11-06T20:59:43.339Z] [20:58:39.662] TRACE: Deleting [.\testNoArgs] directory recursively [2025-11-06T20:59:43.339Z] [20:58:39.662] [ OK ] BasicTest.testNoArgs; checks=2 [2025-11-06T20:59:43.339Z] [20:58:39.662] [ RUN ] BasicTest.testNoName [2025-11-06T20:59:43.339Z] [20:58:39.666] TRACE: exec: Execute tool provider [javac -d .\testNoName\jar-workdir .\testNoName\src\Greetings.java](4)... [2025-11-06T20:59:43.339Z] [20:58:39.763] TRACE: exec: Done. Exit code: 0 [2025-11-06T20:59:43.339Z] [20:58:39.763] TRACE: assertEquals(0): Check command tool provider [javac -d .\testNoName\jar-workdir .\testNoName\src\Greetings.java](4) exited with 0 code [2025-11-06T20:59:43.339Z] [20:58:39.764] TRACE: exec: Execute tool provider [jar -c -f .\testNoName\input\hello.jar -C .\testNoName\jar-workdir .](7)... [2025-11-06T20:59:43.339Z] [20:58:39.786] TRACE: exec: Done. Exit code: 0 [2025-11-06T20:59:43.339Z] [20:58:39.786] TRACE: assertEquals(0): Check command tool provider [jar -c -f .\testNoName\input\hello.jar -C .\testNoName\jar-workdir .](7) exited with 0 code [2025-11-06T20:59:43.339Z] [20:58:39.787] TRACE: exec: Execute [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\testNoName\input --dest .\testNoName\output --type app-image --main-jar hello.jar --main-class Greetings --win-console --verbose](13); inherit I/O... [2025-11-06T20:59:43.339Z] [20:58:40.119] Creating app package: Greetings in C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\.\testNoName\output [2025-11-06T20:59:43.339Z] [20:58:49.771] Command [PID: -1]: [2025-11-06T20:59:43.339Z] jlink --output .\testNoName\output\Greetings\runtime --module-path c:\\jenkins\\workspace\\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\\jdkbinary\\j2sdk-image\\jmods --add-modules jdk.management.jfr,java.rmi,jdk.jdi,jdk.charsets,java.xml,jdk.xml.dom,java.datatransfer,jdk.jstatd,jdk.httpserver,java.desktop,java.security.sasl,jdk.zipfs,java.base,jdk.crypto.ec,jdk.javadoc,jdk.management.agent,jdk.jshell,jdk.editpad,jdk.sctp,java.sql.rowset,jdk.jsobject,jdk.unsupported,java.smartcardio,jdk.jlink,java.security.jgss,java.compiler,jdk.nio.mapmode,jdk.dynalink,jdk.unsupported.desktop,jdk.accessibility,jdk.security.jgss,java.sql,jdk.incubator.vector,java.transaction.xa,java.logging,java.xml.crypto,jdk.jfr,jdk.crypto.cryptoki,jdk.net,jdk.random,java.naming,jdk.internal.ed,java.prefs,java.net.http,jdk.compiler,jdk.internal.opt,jdk.naming.rmi,jdk.jconsole,jdk.attach,jdk.crypto.mscapi,jdk.internal.le,java.management,jdk.jdwp.agent,jdk.incubator.foreign,jdk.internal.jvmstat,java.instrument,jdk.management,jdk.security.auth,java.scripting,jdk.jdeps,jdk.jartool,java.management.rmi,jdk.jpackage,jdk.naming.dns,jdk.localedata --strip-native-commands --strip-debug --no-man-pages --no-header-files [2025-11-06T20:59:43.339Z] [20:58:49.771] Output: [2025-11-06T20:59:43.339Z] WARNING: Using incubator modules: jdk.incubator.vector, jdk.incubator.foreign [2025-11-06T20:59:43.339Z] [2025-11-06T20:59:43.339Z] [20:58:49.773] Returned: 0 [2025-11-06T20:59:43.339Z] [2025-11-06T20:59:43.339Z] [20:58:49.777] Using default package resource JavaApp.ico [icon] (add Greetings.ico to the resource-dir to customize). [2025-11-06T20:59:43.339Z] [20:58:49.789] Warning: Windows Defender may prevent jpackage from functioning. If there is an issue, it can be addressed by either disabling realtime monitoring, or adding an exclusion for the directory "C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage4306631259100861666". [2025-11-06T20:59:43.339Z] [20:58:49.981] Using default package resource WinLauncher.template [Template for creating executable properties file] (add Greetings.properties to the resource-dir to customize). [2025-11-06T20:59:43.339Z] [20:58:50.083] Succeeded in building Windows Application Image package [2025-11-06T20:59:43.339Z] [20:58:50.125] TRACE: exec: Done. Exit code: 0 [2025-11-06T20:59:43.339Z] [20:58:50.125] TRACE: assertEquals(0): Check command [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\testNoName\input --dest .\testNoName\output --type app-image --main-jar hello.jar --main-class Greetings --win-console --verbose](13) exited with 0 code [2025-11-06T20:59:43.339Z] [20:58:50.135] TRACE: assertStringListEquals(): Check there is only one file with [.jpackage.xml] name in the package [2025-11-06T20:59:43.339Z] [20:58:50.135] TRACE: assertStringListEquals(1, .\testNoName\output\Greetings\app\.jpackage.xml) [2025-11-06T20:59:43.339Z] [20:58:50.136] TRACE: assertTrue(): Check [.\testNoName\output\Greetings\runtime] path exists [2025-11-06T20:59:43.339Z] [20:58:50.136] TRACE: assertTrue(): Check [.\testNoName\output\Greetings\runtime] is a directory [2025-11-06T20:59:43.339Z] [20:58:50.136] TRACE: assertTrue(): Check [.\testNoName\output\Greetings\Greetings.exe] path exists [2025-11-06T20:59:43.339Z] [20:58:50.136] TRACE: assertTrue(): Check [.\testNoName\output\Greetings\Greetings.exe] is a file [2025-11-06T20:59:43.339Z] [20:58:50.136] TRACE: assertTrue(): Check [.\testNoName\output\Greetings\Greetings.exe] file is executable [2025-11-06T20:59:43.339Z] [20:58:50.136] TRACE: assertTrue(): Check [.\testNoName\output\Greetings\app\Greetings.cfg] path exists [2025-11-06T20:59:43.339Z] [20:58:50.136] TRACE: assertTrue(): Check [.\testNoName\output\Greetings\app\Greetings.cfg] is a file [2025-11-06T20:59:43.339Z] [20:58:50.137] TRACE: Clearing PATH in environment [2025-11-06T20:59:43.339Z] [20:58:50.137] TRACE: exec: Execute [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\.\testNoName\output\Greetings\Greetings.exe](1); inherit I/O; in directory [.\testNoName]... [2025-11-06T20:59:43.339Z] hello: Environment supports a display [2025-11-06T20:59:43.339Z] hello: Environment supports a desktop [2025-11-06T20:59:43.339Z] jpackage test application [2025-11-06T20:59:43.339Z] args.length: 0 [2025-11-06T20:59:43.339Z] hello: Output file: [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testNoName\appOutput.txt] [2025-11-06T20:59:43.339Z] [20:58:50.707] TRACE: exec: Done. Exit code: 0 [2025-11-06T20:59:43.339Z] [20:58:50.708] TRACE: assertEquals(0): Check command [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\.\testNoName\output\Greetings\Greetings.exe](1) exited with 0 code [2025-11-06T20:59:43.339Z] [20:58:50.708] TRACE: assertTrue(): Check [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testNoName\appOutput.txt] path exists [2025-11-06T20:59:43.339Z] [20:58:50.708] TRACE: assertTrue(): Check [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testNoName\appOutput.txt] is a file [2025-11-06T20:59:43.339Z] [20:58:50.708] TRACE: assertStringListEquals(): Check contents of [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testNoName\appOutput.txt] file [2025-11-06T20:59:43.339Z] [20:58:50.708] TRACE: assertStringListEquals(1, jpackage test application) [2025-11-06T20:59:43.339Z] [20:58:50.708] TRACE: assertStringListEquals(2, args.length: 0) [2025-11-06T20:59:43.339Z] [20:58:50.709] TRACE: assertEquals(C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testNoName\output\Greetings): Check [.\testNoName\output\Greetings] directory is filled with application image data [2025-11-06T20:59:43.339Z] [20:58:50.709] TRACE: Deleting [.\testNoName] directory recursively [2025-11-06T20:59:43.339Z] [20:58:50.824] [ OK ] BasicTest.testNoName; checks=16 [2025-11-06T20:59:43.339Z] [20:58:50.824] [ RUN ] BasicTest.testTemp(TEMPDIR_EMPTY) [2025-11-06T20:59:43.339Z] [20:58:50.852] TRACE: Actions: [[initialize], [create], [finalize]] [2025-11-06T20:59:43.339Z] [20:58:50.868] TRACE: exec: Execute tool provider [javac -d .\testTemp.8b6cf736\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4)... [2025-11-06T20:59:43.339Z] [20:58:50.940] TRACE: exec: Done. Exit code: 0 [2025-11-06T20:59:43.339Z] [20:58:50.940] TRACE: assertEquals(0): Check command tool provider [javac -d .\testTemp.8b6cf736\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4) exited with 0 code [2025-11-06T20:59:43.339Z] [20:58:50.941] TRACE: exec: Execute tool provider [jar -c -f .\testTemp.8b6cf736\input\hello.jar -C .\testTemp.8b6cf736\jar-workdir .](7)... [2025-11-06T20:59:43.339Z] [20:58:50.961] TRACE: exec: Done. Exit code: 0 [2025-11-06T20:59:43.339Z] [20:58:50.961] TRACE: assertEquals(0): Check command tool provider [jar -c -f .\testTemp.8b6cf736\input\hello.jar -C .\testTemp.8b6cf736\jar-workdir .](7) exited with 0 code [2025-11-06T20:59:43.339Z] [20:58:50.963] TRACE: exec: Execute [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\testTemp.8b6cf736\input --dest .\testTemp.8b6cf736\output --name TempBasicTest --type exe --main-jar hello.jar --main-class Hello --win-console --temp .\testTemp.8b6cf736\tmp\WIN_EXE --verbose](17); inherit I/O... [2025-11-06T20:59:43.339Z] [20:58:51.227] Running candle.exe [2025-11-06T20:59:43.339Z] [20:58:51.240] Running C:\Program Files (x86)\WiX Toolset v3.14\bin\candle.exe [2025-11-06T20:59:43.339Z] [20:58:51.328] Running light.exe [2025-11-06T20:59:43.339Z] [20:58:51.331] Running C:\Program Files (x86)\WiX Toolset v3.14\bin\light.exe [2025-11-06T20:59:43.339Z] [20:58:51.468] Detected [light.exe] version [3.14.0.3910]. [2025-11-06T20:59:43.339Z] [20:58:51.468] Detected [candle.exe] version [3.14.0.3910]. [2025-11-06T20:59:43.339Z] [20:58:51.468] WiX 3.14.0.3910 detected. Enabling advanced cleanup action. [2025-11-06T20:59:43.339Z] [20:59:01.139] Command [PID: -1]: [2025-11-06T20:59:43.339Z] jlink --output .\testTemp.8b6cf736\tmp\WIN_EXE\images\win-msi.image\TempBasicTest\runtime --module-path c:\\jenkins\\workspace\\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\\jdkbinary\\j2sdk-image\\jmods --add-modules jdk.management.jfr,java.rmi,jdk.jdi,jdk.charsets,jdk.xml.dom,java.xml,java.datatransfer,jdk.jstatd,jdk.httpserver,java.desktop,java.security.sasl,jdk.zipfs,java.base,jdk.crypto.ec,jdk.javadoc,jdk.management.agent,jdk.jshell,jdk.editpad,java.sql.rowset,jdk.sctp,jdk.jsobject,jdk.unsupported,java.smartcardio,jdk.jlink,java.security.jgss,java.compiler,jdk.nio.mapmode,jdk.dynalink,jdk.unsupported.desktop,jdk.accessibility,jdk.security.jgss,jdk.incubator.vector,java.sql,java.logging,java.transaction.xa,java.xml.crypto,jdk.jfr,jdk.crypto.cryptoki,jdk.net,jdk.random,java.naming,jdk.internal.ed,java.prefs,java.net.http,jdk.compiler,jdk.internal.opt,jdk.naming.rmi,jdk.jconsole,jdk.attach,jdk.crypto.mscapi,jdk.internal.le,java.management,jdk.jdwp.agent,jdk.internal.jvmstat,jdk.incubator.foreign,java.instrument,jdk.management,jdk.security.auth,java.scripting,jdk.jdeps,jdk.jartool,jdk.jpackage,java.management.rmi,jdk.naming.dns,jdk.localedata --strip-native-commands --strip-debug --no-man-pages --no-header-files [2025-11-06T20:59:43.339Z] [20:59:01.139] Output: [2025-11-06T20:59:43.339Z] WARNING: Using incubator modules: jdk.incubator.vector, jdk.incubator.foreign [2025-11-06T20:59:43.339Z] [2025-11-06T20:59:43.339Z] [20:59:01.141] Returned: 0 [2025-11-06T20:59:43.339Z] [2025-11-06T20:59:43.339Z] [20:59:01.145] Using default package resource JavaApp.ico [icon] (add TempBasicTest.ico to the resource-dir to customize). [2025-11-06T20:59:43.339Z] [20:59:01.155] Warning: Windows Defender may prevent jpackage from functioning. If there is an issue, it can be addressed by either disabling realtime monitoring, or adding an exclusion for the directory "C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\.\testTemp.8b6cf736\tmp\WIN_EXE". [2025-11-06T20:59:43.339Z] [20:59:01.354] Using default package resource WinLauncher.template [Template for creating executable properties file] (add TempBasicTest.properties to the resource-dir to customize). [2025-11-06T20:59:43.339Z] [20:59:01.838] MSI ProductCode: f778793a-ad04-3b3c-a894-2cf231ae772c. [2025-11-06T20:59:43.339Z] [20:59:01.838] MSI UpgradeCode: ef450521-1082-376c-b63c-21e29a86707d. [2025-11-06T20:59:43.339Z] [20:59:01.876] Using default package resource main.wxs [Main WiX project file] (add main.wxs to the resource-dir to customize). [2025-11-06T20:59:43.339Z] [20:59:01.878] Using default package resource overrides.wxi [Overrides WiX project file] (add overrides.wxi to the resource-dir to customize). [2025-11-06T20:59:43.339Z] [20:59:01.891] Preparing MSI config: C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\.\testTemp.8b6cf736\tmp\WIN_EXE\images\win-exe.image\TempBasicTest-1.0.msi. [2025-11-06T20:59:43.339Z] [20:59:01.894] Generating MSI: C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\.\testTemp.8b6cf736\tmp\WIN_EXE\images\win-exe.image\TempBasicTest-1.0.msi. [2025-11-06T20:59:43.339Z] [20:59:01.902] Running C:\Program Files (x86)\WiX Toolset v3.14\bin\candle.exe in C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\.\testTemp.8b6cf736\tmp\WIN_EXE\images\win-msi.image\TempBasicTest [2025-11-06T20:59:43.339Z] [20:59:02.960] Command [PID: 11444]: [2025-11-06T20:59:43.340Z] C:\Program Files (x86)\WiX Toolset v3.14\bin\candle.exe -nologo C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\.\testTemp.8b6cf736\tmp\WIN_EXE\config\main.wxs -ext WixUtilExtension -arch x86 -out C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\.\testTemp.8b6cf736\tmp\WIN_EXE\wixobj\main.wixobj -dJpAppDescription=TempBasicTest -dJpProductCode=f778793a-ad04-3b3c-a894-2cf231ae772c -dJpAppName=TempBasicTest -dJpIsSystemWide=yes -dJpAllowDowngrades=yes -dJpIcon=C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\.\testTemp.8b6cf736\tmp\WIN_EXE\images\win-msi.image\TempBasicTest\TempBasicTest.exe -dJpAppSizeKb=130127 -dJpAppVersion=1.0 -dJpAllowUpgrades=yes -dJpProductUpgradeCode=ef450521-1082-376c-b63c-21e29a86707d -dJpAppVendor=Unknown -dJpConfigDir=C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\.\testTemp.8b6cf736\tmp\WIN_EXE\config [2025-11-06T20:59:43.340Z] [20:59:02.960] Output: [2025-11-06T20:59:43.340Z] main.wxs [2025-11-06T20:59:43.340Z] [20:59:02.960] Returned: 0 [2025-11-06T20:59:43.340Z] [2025-11-06T20:59:43.340Z] [20:59:02.960] Running C:\Program Files (x86)\WiX Toolset v3.14\bin\candle.exe in C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\.\testTemp.8b6cf736\tmp\WIN_EXE\images\win-msi.image\TempBasicTest [2025-11-06T20:59:43.340Z] [20:59:03.234] Command [PID: 6708]: [2025-11-06T20:59:43.340Z] C:\Program Files (x86)\WiX Toolset v3.14\bin\candle.exe -nologo C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\.\testTemp.8b6cf736\tmp\WIN_EXE\config\bundle.wxf -ext WixUtilExtension -arch x86 -out C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\.\testTemp.8b6cf736\tmp\WIN_EXE\wixobj\bundle.wixobj [2025-11-06T20:59:43.340Z] [20:59:03.234] Output: [2025-11-06T20:59:43.340Z] bundle.wxf [2025-11-06T20:59:43.340Z] [20:59:03.234] Returned: 0 [2025-11-06T20:59:43.340Z] [2025-11-06T20:59:43.340Z] [20:59:03.234] Running C:\Program Files (x86)\WiX Toolset v3.14\bin\candle.exe in C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\.\testTemp.8b6cf736\tmp\WIN_EXE\images\win-msi.image\TempBasicTest [2025-11-06T20:59:43.340Z] [20:59:03.396] Command [PID: 11300]: [2025-11-06T20:59:43.340Z] C:\Program Files (x86)\WiX Toolset v3.14\bin\candle.exe -nologo C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\.\testTemp.8b6cf736\tmp\WIN_EXE\config\ui.wxf -ext WixUtilExtension -arch x86 -out C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\.\testTemp.8b6cf736\tmp\WIN_EXE\wixobj\ui.wixobj [2025-11-06T20:59:43.340Z] [20:59:03.396] Output: [2025-11-06T20:59:43.340Z] ui.wxf [2025-11-06T20:59:43.340Z] [20:59:03.396] Returned: 0 [2025-11-06T20:59:43.340Z] [2025-11-06T20:59:43.340Z] [20:59:03.398] Running C:\Program Files (x86)\WiX Toolset v3.14\bin\light.exe in C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\.\testTemp.8b6cf736\tmp\WIN_EXE\images\win-msi.image\TempBasicTest [2025-11-06T20:59:43.340Z] [20:59:03.741] Command [PID: 6280]: [2025-11-06T20:59:43.340Z] C:\Program Files (x86)\WiX Toolset v3.14\bin\light.exe -nologo -spdb -ext WixUtilExtension -out C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\.\testTemp.8b6cf736\tmp\WIN_EXE\images\win-exe.image\TempBasicTest-1.0.msi -sice:ICE27 -loc C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\.\testTemp.8b6cf736\tmp\WIN_EXE\config\MsiInstallerStrings_en.wxl -cultures:en-us C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\.\testTemp.8b6cf736\tmp\WIN_EXE\wixobj\main.wixobj C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\.\testTemp.8b6cf736\tmp\WIN_EXE\wixobj\bundle.wixobj C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\.\testTemp.8b6cf736\tmp\WIN_EXE\wixobj\ui.wixobj [2025-11-06T20:59:43.340Z] [20:59:03.741] Output: [2025-11-06T20:59:43.340Z] C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testTemp.8b6cf736\tmp\WIN_EXE\config\bundle.wxf(68) : error LGHT0103 : The system cannot find the file 'C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testTemp.8b6cf736\tmp\WIN_EXE\images\win-msi.image\TempBasicTest\runtime\conf\security\policy\limited\default_US_export.policy'. [2025-11-06T20:59:43.340Z] C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testTemp.8b6cf736\tmp\WIN_EXE\config\bundle.wxf(98) : error LGHT0103 : The system cannot find the file 'C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testTemp.8b6cf736\tmp\WIN_EXE\images\win-msi.image\TempBasicTest\runtime\legal\java.transaction.xa\ADDITIONAL_LICENSE_INFO'. [2025-11-06T20:59:43.340Z] C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testTemp.8b6cf736\tmp\WIN_EXE\config\bundle.wxf(133) : error LGHT0103 : The system cannot find the file 'C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testTemp.8b6cf736\tmp\WIN_EXE\images\win-msi.image\TempBasicTest\runtime\legal\jdk.accessibility\ADDITIONAL_LICENSE_INFO'. [2025-11-06T20:59:43.340Z] C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testTemp.8b6cf736\tmp\WIN_EXE\config\bundle.wxf(213) : error LGHT0103 : The system cannot find the file 'C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testTemp.8b6cf736\tmp\WIN_EXE\images\win-msi.image\TempBasicTest\runtime\legal\java.security.jgss\ADDITIONAL_LICENSE_INFO'. [2025-11-06T20:59:43.340Z] C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testTemp.8b6cf736\tmp\WIN_EXE\config\bundle.wxf(223) : error LGHT0103 : The system cannot find the file 'C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testTemp.8b6cf736\tmp\WIN_EXE\images\win-msi.image\TempBasicTest\runtime\legal\java.security.sasl\ADDITIONAL_LICENSE_INFO'. [2025-11-06T20:59:43.340Z] C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testTemp.8b6cf736\tmp\WIN_EXE\config\bundle.wxf(333) : error LGHT0103 : The system cannot find the file 'C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testTemp.8b6cf736\tmp\WIN_EXE\images\win-msi.image\TempBasicTest\runtime\legal\jdk.crypto.mscapi\ADDITIONAL_LICENSE_INFO'. [2025-11-06T20:59:43.340Z] C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testTemp.8b6cf736\tmp\WIN_EXE\config\bundle.wxf(383) : error LGHT0103 : The system cannot find the file 'C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testTemp.8b6cf736\tmp\WIN_EXE\images\win-msi.image\TempBasicTest\runtime\legal\jdk.security.auth\ADDITIONAL_LICENSE_INFO'. [2025-11-06T20:59:43.340Z] C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testTemp.8b6cf736\tmp\WIN_EXE\config\bundle.wxf(643) : error LGHT0103 : The system cannot find the file 'C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testTemp.8b6cf736\tmp\WIN_EXE\images\win-msi.image\TempBasicTest\runtime\legal\jdk.internal.jvmstat\ADDITIONAL_LICENSE_INFO'. [2025-11-06T20:59:43.340Z] C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testTemp.8b6cf736\tmp\WIN_EXE\config\bundle.wxf(653) : error LGHT0103 : The system cannot find the file 'C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testTemp.8b6cf736\tmp\WIN_EXE\images\win-msi.image\TempBasicTest\runtime\legal\jdk.unsupported.desktop\ASSEMBLY_EXCEPTION'. [2025-11-06T20:59:43.340Z] C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testTemp.8b6cf736\tmp\WIN_EXE\config\bundle.wxf(758) : error LGHT0103 : The system cannot find the file 'C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testTemp.8b6cf736\tmp\WIN_EXE\images\win-msi.image\TempBasicTest\runtime\conf\security\policy\limited\exempt_local.policy'. [2025-11-06T20:59:43.340Z] C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testTemp.8b6cf736\tmp\WIN_EXE\config\bundle.wxf(813) : error LGHT0103 : The system cannot find the file 'C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testTemp.8b6cf736\tmp\WIN_EXE\images\win-msi.image\TempBasicTest\runtime\legal\jdk.security.jgss\ADDITIONAL_LICENSE_INFO'. [2025-11-06T20:59:43.340Z] C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testTemp.8b6cf736\tmp\WIN_EXE\config\bundle.wxf(923) : error LGHT0103 : The system cannot find the file 'C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testTemp.8b6cf736\tmp\WIN_EXE\images\win-msi.image\TempBasicTest\runtime\conf\security\policy\unlimited\default_US_export.policy'. [2025-11-06T20:59:43.340Z] C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testTemp.8b6cf736\tmp\WIN_EXE\config\bundle.wxf(948) : error LGHT0103 : The system cannot find the file 'C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testTemp.8b6cf736\tmp\WIN_EXE\images\win-msi.image\TempBasicTest\runtime\legal\java.management.rmi\ADDITIONAL_LICENSE_INFO'. [2025-11-06T20:59:43.340Z] C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testTemp.8b6cf736\tmp\WIN_EXE\config\bundle.wxf(963) : error LGHT0103 : The system cannot find the file 'C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testTemp.8b6cf736\tmp\WIN_EXE\images\win-msi.image\TempBasicTest\runtime\legal\jdk.incubator.foreign\ADDITIONAL_LICENSE_INFO'. [2025-11-06T20:59:43.340Z] C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testTemp.8b6cf736\tmp\WIN_EXE\config\bundle.wxf(1013) : error LGHT0103 : The system cannot find the file 'C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testTemp.8b6cf736\tmp\WIN_EXE\images\win-msi.image\TempBasicTest\runtime\legal\jdk.management.jfr\ADDITIONAL_LICENSE_INFO'. [2025-11-06T20:59:43.340Z] C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testTemp.8b6cf736\tmp\WIN_EXE\config\bundle.wxf(1023) : error LGHT0103 : The system cannot find the file 'C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testTemp.8b6cf736\tmp\WIN_EXE\images\win-msi.image\TempBasicTest\runtime\legal\jdk.crypto.cryptoki\ADDITIONAL_LICENSE_INFO'. [2025-11-06T20:59:43.340Z] C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testTemp.8b6cf736\tmp\WIN_EXE\config\bundle.wxf(1038) : error LGHT0103 : The system cannot find the file 'C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testTemp.8b6cf736\tmp\WIN_EXE\images\win-msi.image\TempBasicTest\runtime\conf\security\policy\limited\default_local.policy'. [2025-11-06T20:59:43.340Z] C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testTemp.8b6cf736\tmp\WIN_EXE\config\bundle.wxf(1283) : error LGHT0103 : The system cannot find the file 'C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testTemp.8b6cf736\tmp\WIN_EXE\images\win-msi.image\TempBasicTest\runtime\legal\jdk.management.agent\ADDITIONAL_LICENSE_INFO'. [2025-11-06T20:59:43.340Z] C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testTemp.8b6cf736\tmp\WIN_EXE\config\bundle.wxf(1388) : error LGHT0103 : The system cannot find the file 'C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testTemp.8b6cf736\tmp\WIN_EXE\images\win-msi.image\TempBasicTest\runtime\legal\java.datatransfer\ADDITIONAL_LICENSE_INFO'. [2025-11-06T20:59:43.341Z] C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testTemp.8b6cf736\tmp\WIN_EXE\config\bundle.wxf(1443) : error LGHT0103 : The system cannot find the file 'C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testTemp.8b6cf736\tmp\WIN_EXE\images\win-msi.image\TempBasicTest\runtime\conf\security\policy\unlimited\default_local.policy'. [2025-11-06T20:59:43.341Z] C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testTemp.8b6cf736\tmp\WIN_EXE\config\bundle.wxf(1583) : error LGHT0103 : The system cannot find the file 'C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testTemp.8b6cf736\tmp\WIN_EXE\images\win-msi.image\TempBasicTest\runtime\legal\jdk.unsupported.desktop\ADDITIONAL_LICENSE_INFO'. [2025-11-06T20:59:43.341Z] C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testTemp.8b6cf736\tmp\WIN_EXE\config\bundle.wxf(1633) : error LGHT0103 : The system cannot find the file 'C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testTemp.8b6cf736\tmp\WIN_EXE\images\win-msi.image\TempBasicTest\runtime\bin\api-ms-win-core-processenvironment-l1-1-0.dll'. [2025-11-06T20:59:43.341Z] C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testTemp.8b6cf736\tmp\WIN_EXE\config\bundle.wxf(1673) : error LGHT0103 : The system cannot find the file 'C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testTemp.8b6cf736\tmp\WIN_EXE\images\win-msi.image\TempBasicTest\runtime\legal\jdk.incubator.vector\ADDITIONAL_LICENSE_INFO'. [2025-11-06T20:59:43.341Z] [20:59:03.742] Returned: 103 [2025-11-06T20:59:43.341Z] [2025-11-06T20:59:43.341Z] [20:59:03.742] java.io.IOException: Command [C:\Program Files (x86)\WiX Toolset v3.14\bin\light.exe, -nologo, -spdb, -ext, WixUtilExtension, -out, C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\.\testTemp.8b6cf736\tmp\WIN_EXE\images\win-exe.image\TempBasicTest-1.0.msi, -sice:ICE27, -loc, C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\.\testTemp.8b6cf736\tmp\WIN_EXE\config\MsiInstallerStrings_en.wxl, -cultures:en-us, C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\.\testTemp.8b6cf736\tmp\WIN_EXE\wixobj\main.wixobj, C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\.\testTemp.8b6cf736\tmp\WIN_EXE\wixobj\bundle.wixobj, C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\.\testTemp.8b6cf736\tmp\WIN_EXE\wixobj\ui.wixobj] in C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\.\testTemp.8b6cf736\tmp\WIN_EXE\images\win-msi.image\TempBasicTest exited with 103 code [2025-11-06T20:59:43.341Z] at jdk.jpackage/jdk.jpackage.internal.Executor.executeExpectSuccess(Executor.java:90) [2025-11-06T20:59:43.341Z] at jdk.jpackage/jdk.jpackage.internal.WixPipeline.execute(WixPipeline.java:135) [2025-11-06T20:59:43.341Z] at jdk.jpackage/jdk.jpackage.internal.WixPipeline.buildMsi(WixPipeline.java:99) [2025-11-06T20:59:43.341Z] at jdk.jpackage/jdk.jpackage.internal.WinMsiBundler.buildMSI(WinMsiBundler.java:557) [2025-11-06T20:59:43.341Z] at jdk.jpackage/jdk.jpackage.internal.WinMsiBundler.execute(WinMsiBundler.java:416) [2025-11-06T20:59:43.341Z] at jdk.jpackage/jdk.jpackage.internal.WinExeBundler.bundle(WinExeBundler.java:104) [2025-11-06T20:59:43.341Z] at jdk.jpackage/jdk.jpackage.internal.WinExeBundler.execute(WinExeBundler.java:77) [2025-11-06T20:59:43.341Z] at jdk.jpackage/jdk.jpackage.internal.Arguments.generateBundle(Arguments.java:674) [2025-11-06T20:59:43.341Z] at jdk.jpackage/jdk.jpackage.internal.Arguments.processArguments(Arguments.java:551) [2025-11-06T20:59:43.341Z] at jdk.jpackage/jdk.jpackage.main.Main.execute(Main.java:91) [2025-11-06T20:59:43.341Z] at jdk.jpackage/jdk.jpackage.main.Main.main(Main.java:52) [2025-11-06T20:59:43.341Z] [20:59:03.743] Kept working directory for debug: C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\.\testTemp.8b6cf736\tmp\WIN_EXE [2025-11-06T20:59:43.341Z] [20:59:03.743] jdk.jpackage.internal.PackagerException: java.io.IOException: Command [C:\Program Files (x86)\WiX Toolset v3.14\bin\light.exe, -nologo, -spdb, -ext, WixUtilExtension, -out, C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\.\testTemp.8b6cf736\tmp\WIN_EXE\images\win-exe.image\TempBasicTest-1.0.msi, -sice:ICE27, -loc, C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\.\testTemp.8b6cf736\tmp\WIN_EXE\config\MsiInstallerStrings_en.wxl, -cultures:en-us, C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\.\testTemp.8b6cf736\tmp\WIN_EXE\wixobj\main.wixobj, C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\.\testTemp.8b6cf736\tmp\WIN_EXE\wixobj\bundle.wixobj, C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\.\testTemp.8b6cf736\tmp\WIN_EXE\wixobj\ui.wixobj] in C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\.\testTemp.8b6cf736\tmp\WIN_EXE\images\win-msi.image\TempBasicTest exited with 103 code [2025-11-06T20:59:43.341Z] at jdk.jpackage/jdk.jpackage.internal.WinMsiBundler.execute(WinMsiBundler.java:419) [2025-11-06T20:59:43.341Z] at jdk.jpackage/jdk.jpackage.internal.WinExeBundler.bundle(WinExeBundler.java:104) [2025-11-06T20:59:43.341Z] at jdk.jpackage/jdk.jpackage.internal.WinExeBundler.execute(WinExeBundler.java:77) [2025-11-06T20:59:43.341Z] at jdk.jpackage/jdk.jpackage.internal.Arguments.generateBundle(Arguments.java:674) [2025-11-06T20:59:43.341Z] at jdk.jpackage/jdk.jpackage.internal.Arguments.processArguments(Arguments.java:551) [2025-11-06T20:59:43.341Z] at jdk.jpackage/jdk.jpackage.main.Main.execute(Main.java:91) [2025-11-06T20:59:43.341Z] at jdk.jpackage/jdk.jpackage.main.Main.main(Main.java:52) [2025-11-06T20:59:43.341Z] Caused by: java.io.IOException: Command [C:\Program Files (x86)\WiX Toolset v3.14\bin\light.exe, -nologo, -spdb, -ext, WixUtilExtension, -out, C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\.\testTemp.8b6cf736\tmp\WIN_EXE\images\win-exe.image\TempBasicTest-1.0.msi, -sice:ICE27, -loc, C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\.\testTemp.8b6cf736\tmp\WIN_EXE\config\MsiInstallerStrings_en.wxl, -cultures:en-us, C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\.\testTemp.8b6cf736\tmp\WIN_EXE\wixobj\main.wixobj, C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\.\testTemp.8b6cf736\tmp\WIN_EXE\wixobj\bundle.wixobj, C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\.\testTemp.8b6cf736\tmp\WIN_EXE\wixobj\ui.wixobj] in C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\.\testTemp.8b6cf736\tmp\WIN_EXE\images\win-msi.image\TempBasicTest exited with 103 code [2025-11-06T20:59:43.341Z] at jdk.jpackage/jdk.jpackage.internal.Executor.executeExpectSuccess(Executor.java:90) [2025-11-06T20:59:43.341Z] at jdk.jpackage/jdk.jpackage.internal.WixPipeline.execute(WixPipeline.java:135) [2025-11-06T20:59:43.341Z] at jdk.jpackage/jdk.jpackage.internal.WixPipeline.buildMsi(WixPipeline.java:99) [2025-11-06T20:59:43.341Z] at jdk.jpackage/jdk.jpackage.internal.WinMsiBundler.buildMSI(WinMsiBundler.java:557) [2025-11-06T20:59:43.341Z] at jdk.jpackage/jdk.jpackage.internal.WinMsiBundler.execute(WinMsiBundler.java:416) [2025-11-06T20:59:43.341Z] ... 6 more [2025-11-06T20:59:43.341Z] [20:59:03.775] TRACE: exec: Done. Exit code: 1 [2025-11-06T20:59:43.341Z] [20:59:03.775] ERROR: Expected [0]. Actual [1]: Check command [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\testTemp.8b6cf736\input --dest .\testTemp.8b6cf736\output --name TempBasicTest --type exe --main-jar hello.jar --main-class Hello --win-console --temp .\testTemp.8b6cf736\tmp\WIN_EXE --verbose](17) exited with 0 code [2025-11-06T20:59:43.341Z] [20:59:03.776] [ FAILED ] BasicTest.testTemp(TEMPDIR_EMPTY); checks=3 [2025-11-06T20:59:43.341Z] [20:59:03.777] [ RUN ] BasicTest.testTemp(TEMPDIR_NOT_EMPTY) [2025-11-06T20:59:43.341Z] [20:59:03.779] TRACE: Actions: [[initialize], [create], [finalize]] [2025-11-06T20:59:43.341Z] [20:59:03.779] TRACE: Create [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testTemp.15998942\tmp\WIN_EXE\foo.txt] text file... [2025-11-06T20:59:43.341Z] [20:59:03.779] TRACE: Hello Duke! [2025-11-06T20:59:43.341Z] [20:59:03.780] TRACE: Done [2025-11-06T20:59:43.341Z] [20:59:03.781] TRACE: exec: Execute tool provider [javac -d .\testTemp.15998942\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4)... [2025-11-06T20:59:43.341Z] [20:59:03.853] TRACE: exec: Done. Exit code: 0 [2025-11-06T20:59:43.341Z] [20:59:03.853] TRACE: assertEquals(0): Check command tool provider [javac -d .\testTemp.15998942\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4) exited with 0 code [2025-11-06T20:59:43.341Z] [20:59:03.854] TRACE: exec: Execute tool provider [jar -c -f .\testTemp.15998942\input\hello.jar -C .\testTemp.15998942\jar-workdir .](7)... [2025-11-06T20:59:43.341Z] [20:59:03.875] TRACE: exec: Done. Exit code: 0 [2025-11-06T20:59:43.341Z] [20:59:03.876] TRACE: assertEquals(0): Check command tool provider [jar -c -f .\testTemp.15998942\input\hello.jar -C .\testTemp.15998942\jar-workdir .](7) exited with 0 code [2025-11-06T20:59:43.341Z] [20:59:03.877] TRACE: exec: Execute [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\testTemp.15998942\input --dest .\testTemp.15998942\output --name TempBasicTest --type exe --main-jar hello.jar --main-class Hello --win-console --temp .\testTemp.15998942\tmp\WIN_EXE --verbose](17); inherit I/O... [2025-11-06T20:59:43.341Z] [20:59:04.112] jdk.jpackage.internal.PackagerException: Error: temp (.\testTemp.15998942\tmp\WIN_EXE) must be non-existant or empty directory [2025-11-06T20:59:43.341Z] at jdk.jpackage/jdk.jpackage.internal.DeployParams.validate(DeployParams.java:228) [2025-11-06T20:59:43.341Z] at jdk.jpackage/jdk.jpackage.internal.Arguments.processArguments(Arguments.java:523) [2025-11-06T20:59:43.341Z] at jdk.jpackage/jdk.jpackage.main.Main.execute(Main.java:91) [2025-11-06T20:59:43.341Z] at jdk.jpackage/jdk.jpackage.main.Main.main(Main.java:52) [2025-11-06T20:59:43.341Z] [20:59:04.121] TRACE: exec: Done. Exit code: 1 [2025-11-06T20:59:43.341Z] [20:59:04.121] TRACE: assertEquals(1): Check command [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\testTemp.15998942\input --dest .\testTemp.15998942\output --name TempBasicTest --type exe --main-jar hello.jar --main-class Hello --win-console --temp .\testTemp.15998942\tmp\WIN_EXE --verbose](17) exited with 1 code [2025-11-06T20:59:43.341Z] [20:59:04.122] TRACE: assertTrue(): Check [.\testTemp.15998942\output\TempBasicTest-1.0.exe] path doesn't exist [2025-11-06T20:59:43.341Z] [20:59:04.140] TRACE: assertDirectoryContentEquals(.\testTemp.15998942\tmp\WIN_EXE): Expected [foo.txt] [2025-11-06T20:59:43.341Z] [20:59:04.149] TRACE: assertStringListEquals(): Check the contents of the file in the supplied temporary directory [2025-11-06T20:59:43.341Z] [20:59:04.149] TRACE: assertStringListEquals(1, Hello Duke!) [2025-11-06T20:59:43.341Z] [20:59:04.150] TRACE: Create [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testTemp.15998942\tmp\WIN_MSI\foo.txt] text file... [2025-11-06T20:59:43.341Z] [20:59:04.150] TRACE: Hello Duke! [2025-11-06T20:59:43.341Z] [20:59:04.150] TRACE: Done [2025-11-06T20:59:43.341Z] [20:59:04.151] TRACE: exec: Execute tool provider [javac -d .\testTemp.15998942\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4)... [2025-11-06T20:59:43.341Z] [20:59:04.230] TRACE: exec: Done. Exit code: 0 [2025-11-06T20:59:43.341Z] [20:59:04.230] TRACE: assertEquals(0): Check command tool provider [javac -d .\testTemp.15998942\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4) exited with 0 code [2025-11-06T20:59:43.341Z] [20:59:04.230] TRACE: Delete [.\testTemp.15998942\input\hello.jar] existing jar file [2025-11-06T20:59:43.341Z] [20:59:04.230] TRACE: exec: Execute tool provider [jar -c -f .\testTemp.15998942\input\hello.jar -C .\testTemp.15998942\jar-workdir .](7)... [2025-11-06T20:59:43.341Z] [20:59:04.252] TRACE: exec: Done. Exit code: 0 [2025-11-06T20:59:43.341Z] [20:59:04.252] TRACE: assertEquals(0): Check command tool provider [jar -c -f .\testTemp.15998942\input\hello.jar -C .\testTemp.15998942\jar-workdir .](7) exited with 0 code [2025-11-06T20:59:43.341Z] [20:59:04.253] TRACE: exec: Execute [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\testTemp.15998942\input --dest .\testTemp.15998942\output --name TempBasicTest --type msi --main-jar hello.jar --main-class Hello --win-console --temp .\testTemp.15998942\tmp\WIN_MSI --verbose](17); inherit I/O... [2025-11-06T20:59:43.341Z] [20:59:04.487] jdk.jpackage.internal.PackagerException: Error: temp (.\testTemp.15998942\tmp\WIN_MSI) must be non-existant or empty directory [2025-11-06T20:59:43.341Z] at jdk.jpackage/jdk.jpackage.internal.DeployParams.validate(DeployParams.java:228) [2025-11-06T20:59:43.341Z] at jdk.jpackage/jdk.jpackage.internal.Arguments.processArguments(Arguments.java:523) [2025-11-06T20:59:43.341Z] at jdk.jpackage/jdk.jpackage.main.Main.execute(Main.java:91) [2025-11-06T20:59:43.341Z] at jdk.jpackage/jdk.jpackage.main.Main.main(Main.java:52) [2025-11-06T20:59:43.341Z] [20:59:04.496] TRACE: exec: Done. Exit code: 1 [2025-11-06T20:59:43.342Z] [20:59:04.496] TRACE: assertEquals(1): Check command [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\testTemp.15998942\input --dest .\testTemp.15998942\output --name TempBasicTest --type msi --main-jar hello.jar --main-class Hello --win-console --temp .\testTemp.15998942\tmp\WIN_MSI --verbose](17) exited with 1 code [2025-11-06T20:59:43.342Z] [20:59:04.496] TRACE: assertTrue(): Check [.\testTemp.15998942\output\TempBasicTest-1.0.msi] path doesn't exist [2025-11-06T20:59:43.342Z] [20:59:04.496] TRACE: assertDirectoryContentEquals(.\testTemp.15998942\tmp\WIN_MSI): Expected [foo.txt] [2025-11-06T20:59:43.342Z] [20:59:04.498] TRACE: assertStringListEquals(): Check the contents of the file in the supplied temporary directory [2025-11-06T20:59:43.342Z] [20:59:04.498] TRACE: assertStringListEquals(1, Hello Duke!) [2025-11-06T20:59:43.342Z] [20:59:04.498] TRACE: Deleting [.\testTemp.15998942] directory recursively [2025-11-06T20:59:43.342Z] [20:59:04.500] [ OK ] BasicTest.testTemp(TEMPDIR_NOT_EMPTY); checks=12 [2025-11-06T20:59:43.342Z] [20:59:04.500] [ RUN ] BasicTest.testTemp(TEMPDIR_NOT_EXIST) [2025-11-06T20:59:43.342Z] [20:59:04.500] TRACE: Actions: [[initialize], [create], [finalize]] [2025-11-06T20:59:43.342Z] [20:59:04.501] TRACE: exec: Execute tool provider [javac -d .\testTemp.163158d8\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4)... [2025-11-06T20:59:43.342Z] [20:59:04.578] TRACE: exec: Done. Exit code: 0 [2025-11-06T20:59:43.342Z] [20:59:04.578] TRACE: assertEquals(0): Check command tool provider [javac -d .\testTemp.163158d8\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4) exited with 0 code [2025-11-06T20:59:43.342Z] [20:59:04.579] TRACE: exec: Execute tool provider [jar -c -f .\testTemp.163158d8\input\hello.jar -C .\testTemp.163158d8\jar-workdir .](7)... [2025-11-06T20:59:43.342Z] [20:59:04.599] TRACE: exec: Done. Exit code: 0 [2025-11-06T20:59:43.342Z] [20:59:04.599] TRACE: assertEquals(0): Check command tool provider [jar -c -f .\testTemp.163158d8\input\hello.jar -C .\testTemp.163158d8\jar-workdir .](7) exited with 0 code [2025-11-06T20:59:43.342Z] [20:59:04.600] TRACE: exec: Execute [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\testTemp.163158d8\input --dest .\testTemp.163158d8\output --name TempBasicTest --type exe --main-jar hello.jar --main-class Hello --win-console --temp .\testTemp.163158d8\tmp\WIN_EXE --verbose](17); inherit I/O... [2025-11-06T20:59:43.342Z] [20:59:04.855] Running candle.exe [2025-11-06T20:59:43.342Z] [20:59:04.870] Running C:\Program Files (x86)\WiX Toolset v3.14\bin\candle.exe [2025-11-06T20:59:43.342Z] [20:59:04.955] Running light.exe [2025-11-06T20:59:43.342Z] [20:59:04.958] Running C:\Program Files (x86)\WiX Toolset v3.14\bin\light.exe [2025-11-06T20:59:43.342Z] [20:59:05.087] Detected [candle.exe] version [3.14.0.3910]. [2025-11-06T20:59:43.342Z] [20:59:05.088] Detected [light.exe] version [3.14.0.3910]. [2025-11-06T20:59:43.342Z] [20:59:05.088] WiX 3.14.0.3910 detected. Enabling advanced cleanup action. [2025-11-06T20:59:43.342Z] [20:59:14.752] Command [PID: -1]: [2025-11-06T20:59:43.342Z] jlink --output .\testTemp.163158d8\tmp\WIN_EXE\images\win-msi.image\TempBasicTest\runtime --module-path c:\\jenkins\\workspace\\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\\jdkbinary\\j2sdk-image\\jmods --add-modules jdk.management.jfr,java.rmi,jdk.jdi,jdk.charsets,jdk.xml.dom,java.xml,java.datatransfer,jdk.jstatd,jdk.httpserver,java.desktop,java.security.sasl,jdk.zipfs,java.base,jdk.crypto.ec,jdk.javadoc,jdk.management.agent,jdk.jshell,jdk.editpad,jdk.sctp,java.sql.rowset,jdk.jsobject,jdk.unsupported,jdk.jlink,java.smartcardio,java.security.jgss,jdk.nio.mapmode,java.compiler,jdk.dynalink,jdk.unsupported.desktop,jdk.accessibility,jdk.security.jgss,java.sql,jdk.incubator.vector,java.logging,java.xml.crypto,java.transaction.xa,jdk.jfr,jdk.crypto.cryptoki,jdk.random,jdk.net,java.naming,jdk.internal.ed,java.prefs,java.net.http,jdk.compiler,jdk.naming.rmi,jdk.internal.opt,jdk.jconsole,jdk.attach,jdk.crypto.mscapi,jdk.internal.le,java.management,jdk.jdwp.agent,jdk.internal.jvmstat,jdk.incubator.foreign,java.instrument,jdk.management,jdk.security.auth,java.scripting,jdk.jdeps,jdk.jartool,jdk.jpackage,java.management.rmi,jdk.naming.dns,jdk.localedata --strip-native-commands --strip-debug --no-man-pages --no-header-files [2025-11-06T20:59:43.342Z] [20:59:14.752] Output: [2025-11-06T20:59:43.342Z] WARNING: Using incubator modules: jdk.incubator.foreign, jdk.incubator.vector [2025-11-06T20:59:43.342Z] [2025-11-06T20:59:43.342Z] [20:59:14.754] Returned: 0 [2025-11-06T20:59:43.342Z] [2025-11-06T20:59:43.342Z] [20:59:14.758] Using default package resource JavaApp.ico [icon] (add TempBasicTest.ico to the resource-dir to customize). [2025-11-06T20:59:43.342Z] [20:59:14.768] Warning: Windows Defender may prevent jpackage from functioning. If there is an issue, it can be addressed by either disabling realtime monitoring, or adding an exclusion for the directory "C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\.\testTemp.163158d8\tmp\WIN_EXE". [2025-11-06T20:59:43.342Z] [20:59:14.958] Using default package resource WinLauncher.template [Template for creating executable properties file] (add TempBasicTest.properties to the resource-dir to customize). [2025-11-06T20:59:43.342Z] [20:59:15.445] MSI ProductCode: f778793a-ad04-3b3c-a894-2cf231ae772c. [2025-11-06T20:59:43.342Z] [20:59:15.445] MSI UpgradeCode: ef450521-1082-376c-b63c-21e29a86707d. [2025-11-06T20:59:43.342Z] [20:59:15.481] Using default package resource main.wxs [Main WiX project file] (add main.wxs to the resource-dir to customize). [2025-11-06T20:59:43.342Z] [20:59:15.482] Using default package resource overrides.wxi [Overrides WiX project file] (add overrides.wxi to the resource-dir to customize). [2025-11-06T20:59:43.342Z] [20:59:15.484] Preparing MSI config: C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\.\testTemp.163158d8\tmp\WIN_EXE\images\win-exe.image\TempBasicTest-1.0.msi. [2025-11-06T20:59:43.342Z] [20:59:15.486] Generating MSI: C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\.\testTemp.163158d8\tmp\WIN_EXE\images\win-exe.image\TempBasicTest-1.0.msi. [2025-11-06T20:59:43.342Z] [20:59:15.492] Running C:\Program Files (x86)\WiX Toolset v3.14\bin\candle.exe in C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\.\testTemp.163158d8\tmp\WIN_EXE\images\win-msi.image\TempBasicTest [2025-11-06T20:59:43.342Z] [20:59:15.702] Command [PID: 17384]: [2025-11-06T20:59:43.342Z] C:\Program Files (x86)\WiX Toolset v3.14\bin\candle.exe -nologo C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\.\testTemp.163158d8\tmp\WIN_EXE\config\main.wxs -ext WixUtilExtension -arch x86 -out C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\.\testTemp.163158d8\tmp\WIN_EXE\wixobj\main.wixobj -dJpAppDescription=TempBasicTest -dJpProductCode=f778793a-ad04-3b3c-a894-2cf231ae772c -dJpAppName=TempBasicTest -dJpIsSystemWide=yes -dJpAllowDowngrades=yes -dJpIcon=C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\.\testTemp.163158d8\tmp\WIN_EXE\images\win-msi.image\TempBasicTest\TempBasicTest.exe -dJpAppSizeKb=130127 -dJpAppVersion=1.0 -dJpAllowUpgrades=yes -dJpProductUpgradeCode=ef450521-1082-376c-b63c-21e29a86707d -dJpAppVendor=Unknown -dJpConfigDir=C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\.\testTemp.163158d8\tmp\WIN_EXE\config [2025-11-06T20:59:43.342Z] [20:59:15.703] Output: [2025-11-06T20:59:43.342Z] main.wxs [2025-11-06T20:59:43.342Z] [20:59:15.703] Returned: 0 [2025-11-06T20:59:43.342Z] [2025-11-06T20:59:43.342Z] [20:59:15.703] Running C:\Program Files (x86)\WiX Toolset v3.14\bin\candle.exe in C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\.\testTemp.163158d8\tmp\WIN_EXE\images\win-msi.image\TempBasicTest [2025-11-06T20:59:43.342Z] [20:59:15.973] Command [PID: 17216]: [2025-11-06T20:59:43.342Z] C:\Program Files (x86)\WiX Toolset v3.14\bin\candle.exe -nologo C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\.\testTemp.163158d8\tmp\WIN_EXE\config\bundle.wxf -ext WixUtilExtension -arch x86 -out C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\.\testTemp.163158d8\tmp\WIN_EXE\wixobj\bundle.wixobj [2025-11-06T20:59:43.342Z] [20:59:15.973] Output: [2025-11-06T20:59:43.342Z] bundle.wxf [2025-11-06T20:59:43.342Z] [20:59:15.973] Returned: 0 [2025-11-06T20:59:43.342Z] [2025-11-06T20:59:43.342Z] [20:59:15.973] Running C:\Program Files (x86)\WiX Toolset v3.14\bin\candle.exe in C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\.\testTemp.163158d8\tmp\WIN_EXE\images\win-msi.image\TempBasicTest [2025-11-06T20:59:43.342Z] [20:59:16.144] Command [PID: 6500]: [2025-11-06T20:59:43.342Z] C:\Program Files (x86)\WiX Toolset v3.14\bin\candle.exe -nologo C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\.\testTemp.163158d8\tmp\WIN_EXE\config\ui.wxf -ext WixUtilExtension -arch x86 -out C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\.\testTemp.163158d8\tmp\WIN_EXE\wixobj\ui.wixobj [2025-11-06T20:59:43.342Z] [20:59:16.144] Output: [2025-11-06T20:59:43.342Z] ui.wxf [2025-11-06T20:59:43.342Z] [20:59:16.144] Returned: 0 [2025-11-06T20:59:43.342Z] [2025-11-06T20:59:43.342Z] [20:59:16.145] Running C:\Program Files (x86)\WiX Toolset v3.14\bin\light.exe in C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\.\testTemp.163158d8\tmp\WIN_EXE\images\win-msi.image\TempBasicTest [2025-11-06T20:59:43.342Z] [20:59:16.464] Command [PID: 6624]: [2025-11-06T20:59:43.342Z] C:\Program Files (x86)\WiX Toolset v3.14\bin\light.exe -nologo -spdb -ext WixUtilExtension -out C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\.\testTemp.163158d8\tmp\WIN_EXE\images\win-exe.image\TempBasicTest-1.0.msi -sice:ICE27 -loc C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\.\testTemp.163158d8\tmp\WIN_EXE\config\MsiInstallerStrings_en.wxl -cultures:en-us C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\.\testTemp.163158d8\tmp\WIN_EXE\wixobj\main.wixobj C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\.\testTemp.163158d8\tmp\WIN_EXE\wixobj\bundle.wixobj C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\.\testTemp.163158d8\tmp\WIN_EXE\wixobj\ui.wixobj [2025-11-06T20:59:43.342Z] [20:59:16.464] Output: [2025-11-06T20:59:43.342Z] C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testTemp.163158d8\tmp\WIN_EXE\config\bundle.wxf(68) : error LGHT0103 : The system cannot find the file 'C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testTemp.163158d8\tmp\WIN_EXE\images\win-msi.image\TempBasicTest\runtime\conf\security\policy\limited\default_US_export.policy'. [2025-11-06T20:59:43.342Z] C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testTemp.163158d8\tmp\WIN_EXE\config\bundle.wxf(98) : error LGHT0103 : The system cannot find the file 'C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testTemp.163158d8\tmp\WIN_EXE\images\win-msi.image\TempBasicTest\runtime\legal\java.transaction.xa\ADDITIONAL_LICENSE_INFO'. [2025-11-06T20:59:43.342Z] C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testTemp.163158d8\tmp\WIN_EXE\config\bundle.wxf(133) : error LGHT0103 : The system cannot find the file 'C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testTemp.163158d8\tmp\WIN_EXE\images\win-msi.image\TempBasicTest\runtime\legal\jdk.accessibility\ADDITIONAL_LICENSE_INFO'. [2025-11-06T20:59:43.342Z] C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testTemp.163158d8\tmp\WIN_EXE\config\bundle.wxf(213) : error LGHT0103 : The system cannot find the file 'C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testTemp.163158d8\tmp\WIN_EXE\images\win-msi.image\TempBasicTest\runtime\legal\java.security.jgss\ADDITIONAL_LICENSE_INFO'. [2025-11-06T20:59:43.342Z] C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testTemp.163158d8\tmp\WIN_EXE\config\bundle.wxf(223) : error LGHT0103 : The system cannot find the file 'C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testTemp.163158d8\tmp\WIN_EXE\images\win-msi.image\TempBasicTest\runtime\legal\java.security.sasl\ADDITIONAL_LICENSE_INFO'. [2025-11-06T20:59:43.342Z] C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testTemp.163158d8\tmp\WIN_EXE\config\bundle.wxf(333) : error LGHT0103 : The system cannot find the file 'C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testTemp.163158d8\tmp\WIN_EXE\images\win-msi.image\TempBasicTest\runtime\legal\jdk.crypto.mscapi\ADDITIONAL_LICENSE_INFO'. [2025-11-06T20:59:43.342Z] C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testTemp.163158d8\tmp\WIN_EXE\config\bundle.wxf(383) : error LGHT0103 : The system cannot find the file 'C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testTemp.163158d8\tmp\WIN_EXE\images\win-msi.image\TempBasicTest\runtime\legal\jdk.security.auth\ADDITIONAL_LICENSE_INFO'. [2025-11-06T20:59:43.342Z] C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testTemp.163158d8\tmp\WIN_EXE\config\bundle.wxf(643) : error LGHT0103 : The system cannot find the file 'C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testTemp.163158d8\tmp\WIN_EXE\images\win-msi.image\TempBasicTest\runtime\legal\jdk.internal.jvmstat\ADDITIONAL_LICENSE_INFO'. [2025-11-06T20:59:43.342Z] C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testTemp.163158d8\tmp\WIN_EXE\config\bundle.wxf(653) : error LGHT0103 : The system cannot find the file 'C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testTemp.163158d8\tmp\WIN_EXE\images\win-msi.image\TempBasicTest\runtime\legal\jdk.unsupported.desktop\ASSEMBLY_EXCEPTION'. [2025-11-06T20:59:43.342Z] C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testTemp.163158d8\tmp\WIN_EXE\config\bundle.wxf(758) : error LGHT0103 : The system cannot find the file 'C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testTemp.163158d8\tmp\WIN_EXE\images\win-msi.image\TempBasicTest\runtime\conf\security\policy\limited\exempt_local.policy'. [2025-11-06T20:59:43.342Z] C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testTemp.163158d8\tmp\WIN_EXE\config\bundle.wxf(813) : error LGHT0103 : The system cannot find the file 'C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testTemp.163158d8\tmp\WIN_EXE\images\win-msi.image\TempBasicTest\runtime\legal\jdk.security.jgss\ADDITIONAL_LICENSE_INFO'. [2025-11-06T20:59:43.343Z] C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testTemp.163158d8\tmp\WIN_EXE\config\bundle.wxf(923) : error LGHT0103 : The system cannot find the file 'C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testTemp.163158d8\tmp\WIN_EXE\images\win-msi.image\TempBasicTest\runtime\conf\security\policy\unlimited\default_US_export.policy'. [2025-11-06T20:59:43.343Z] C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testTemp.163158d8\tmp\WIN_EXE\config\bundle.wxf(948) : error LGHT0103 : The system cannot find the file 'C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testTemp.163158d8\tmp\WIN_EXE\images\win-msi.image\TempBasicTest\runtime\legal\java.management.rmi\ADDITIONAL_LICENSE_INFO'. [2025-11-06T20:59:43.343Z] C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testTemp.163158d8\tmp\WIN_EXE\config\bundle.wxf(963) : error LGHT0103 : The system cannot find the file 'C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testTemp.163158d8\tmp\WIN_EXE\images\win-msi.image\TempBasicTest\runtime\legal\jdk.incubator.foreign\ADDITIONAL_LICENSE_INFO'. [2025-11-06T20:59:43.343Z] C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testTemp.163158d8\tmp\WIN_EXE\config\bundle.wxf(1013) : error LGHT0103 : The system cannot find the file 'C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testTemp.163158d8\tmp\WIN_EXE\images\win-msi.image\TempBasicTest\runtime\legal\jdk.management.jfr\ADDITIONAL_LICENSE_INFO'. [2025-11-06T20:59:43.343Z] C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testTemp.163158d8\tmp\WIN_EXE\config\bundle.wxf(1023) : error LGHT0103 : The system cannot find the file 'C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testTemp.163158d8\tmp\WIN_EXE\images\win-msi.image\TempBasicTest\runtime\legal\jdk.crypto.cryptoki\ADDITIONAL_LICENSE_INFO'. [2025-11-06T20:59:43.343Z] C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testTemp.163158d8\tmp\WIN_EXE\config\bundle.wxf(1038) : error LGHT0103 : The system cannot find the file 'C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testTemp.163158d8\tmp\WIN_EXE\images\win-msi.image\TempBasicTest\runtime\conf\security\policy\limited\default_local.policy'. [2025-11-06T20:59:43.343Z] C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testTemp.163158d8\tmp\WIN_EXE\config\bundle.wxf(1283) : error LGHT0103 : The system cannot find the file 'C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testTemp.163158d8\tmp\WIN_EXE\images\win-msi.image\TempBasicTest\runtime\legal\jdk.management.agent\ADDITIONAL_LICENSE_INFO'. [2025-11-06T20:59:43.343Z] C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testTemp.163158d8\tmp\WIN_EXE\config\bundle.wxf(1388) : error LGHT0103 : The system cannot find the file 'C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testTemp.163158d8\tmp\WIN_EXE\images\win-msi.image\TempBasicTest\runtime\legal\java.datatransfer\ADDITIONAL_LICENSE_INFO'. [2025-11-06T20:59:43.343Z] C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testTemp.163158d8\tmp\WIN_EXE\config\bundle.wxf(1443) : error LGHT0103 : The system cannot find the file 'C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testTemp.163158d8\tmp\WIN_EXE\images\win-msi.image\TempBasicTest\runtime\conf\security\policy\unlimited\default_local.policy'. [2025-11-06T20:59:43.343Z] C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testTemp.163158d8\tmp\WIN_EXE\config\bundle.wxf(1583) : error LGHT0103 : The system cannot find the file 'C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testTemp.163158d8\tmp\WIN_EXE\images\win-msi.image\TempBasicTest\runtime\legal\jdk.unsupported.desktop\ADDITIONAL_LICENSE_INFO'. [2025-11-06T20:59:43.343Z] C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testTemp.163158d8\tmp\WIN_EXE\config\bundle.wxf(1633) : error LGHT0103 : The system cannot find the file 'C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testTemp.163158d8\tmp\WIN_EXE\images\win-msi.image\TempBasicTest\runtime\bin\api-ms-win-core-processenvironment-l1-1-0.dll'. [2025-11-06T20:59:43.343Z] C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testTemp.163158d8\tmp\WIN_EXE\config\bundle.wxf(1673) : error LGHT0103 : The system cannot find the file 'C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testTemp.163158d8\tmp\WIN_EXE\images\win-msi.image\TempBasicTest\runtime\legal\jdk.incubator.vector\ADDITIONAL_LICENSE_INFO'. [2025-11-06T20:59:43.343Z] [20:59:16.465] Returned: 103 [2025-11-06T20:59:43.343Z] [2025-11-06T20:59:43.343Z] [20:59:16.465] java.io.IOException: Command [C:\Program Files (x86)\WiX Toolset v3.14\bin\light.exe, -nologo, -spdb, -ext, WixUtilExtension, -out, C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\.\testTemp.163158d8\tmp\WIN_EXE\images\win-exe.image\TempBasicTest-1.0.msi, -sice:ICE27, -loc, C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\.\testTemp.163158d8\tmp\WIN_EXE\config\MsiInstallerStrings_en.wxl, -cultures:en-us, C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\.\testTemp.163158d8\tmp\WIN_EXE\wixobj\main.wixobj, C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\.\testTemp.163158d8\tmp\WIN_EXE\wixobj\bundle.wixobj, C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\.\testTemp.163158d8\tmp\WIN_EXE\wixobj\ui.wixobj] in C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\.\testTemp.163158d8\tmp\WIN_EXE\images\win-msi.image\TempBasicTest exited with 103 code [2025-11-06T20:59:43.343Z] at jdk.jpackage/jdk.jpackage.internal.Executor.executeExpectSuccess(Executor.java:90) [2025-11-06T20:59:43.343Z] at jdk.jpackage/jdk.jpackage.internal.WixPipeline.execute(WixPipeline.java:135) [2025-11-06T20:59:43.343Z] at jdk.jpackage/jdk.jpackage.internal.WixPipeline.buildMsi(WixPipeline.java:99) [2025-11-06T20:59:43.343Z] at jdk.jpackage/jdk.jpackage.internal.WinMsiBundler.buildMSI(WinMsiBundler.java:557) [2025-11-06T20:59:43.343Z] at jdk.jpackage/jdk.jpackage.internal.WinMsiBundler.execute(WinMsiBundler.java:416) [2025-11-06T20:59:43.343Z] at jdk.jpackage/jdk.jpackage.internal.WinExeBundler.bundle(WinExeBundler.java:104) [2025-11-06T20:59:43.343Z] at jdk.jpackage/jdk.jpackage.internal.WinExeBundler.execute(WinExeBundler.java:77) [2025-11-06T20:59:43.343Z] at jdk.jpackage/jdk.jpackage.internal.Arguments.generateBundle(Arguments.java:674) [2025-11-06T20:59:43.343Z] at jdk.jpackage/jdk.jpackage.internal.Arguments.processArguments(Arguments.java:551) [2025-11-06T20:59:43.343Z] at jdk.jpackage/jdk.jpackage.main.Main.execute(Main.java:91) [2025-11-06T20:59:43.343Z] at jdk.jpackage/jdk.jpackage.main.Main.main(Main.java:52) [2025-11-06T20:59:43.343Z] [20:59:16.466] Kept working directory for debug: C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\.\testTemp.163158d8\tmp\WIN_EXE [2025-11-06T20:59:43.343Z] [20:59:16.466] jdk.jpackage.internal.PackagerException: java.io.IOException: Command [C:\Program Files (x86)\WiX Toolset v3.14\bin\light.exe, -nologo, -spdb, -ext, WixUtilExtension, -out, C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\.\testTemp.163158d8\tmp\WIN_EXE\images\win-exe.image\TempBasicTest-1.0.msi, -sice:ICE27, -loc, C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\.\testTemp.163158d8\tmp\WIN_EXE\config\MsiInstallerStrings_en.wxl, -cultures:en-us, C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\.\testTemp.163158d8\tmp\WIN_EXE\wixobj\main.wixobj, C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\.\testTemp.163158d8\tmp\WIN_EXE\wixobj\bundle.wixobj, C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\.\testTemp.163158d8\tmp\WIN_EXE\wixobj\ui.wixobj] in C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\.\testTemp.163158d8\tmp\WIN_EXE\images\win-msi.image\TempBasicTest exited with 103 code [2025-11-06T20:59:43.343Z] at jdk.jpackage/jdk.jpackage.internal.WinMsiBundler.execute(WinMsiBundler.java:419) [2025-11-06T20:59:43.343Z] at jdk.jpackage/jdk.jpackage.internal.WinExeBundler.bundle(WinExeBundler.java:104) [2025-11-06T20:59:43.343Z] at jdk.jpackage/jdk.jpackage.internal.WinExeBundler.execute(WinExeBundler.java:77) [2025-11-06T20:59:43.343Z] at jdk.jpackage/jdk.jpackage.internal.Arguments.generateBundle(Arguments.java:674) [2025-11-06T20:59:43.343Z] at jdk.jpackage/jdk.jpackage.internal.Arguments.processArguments(Arguments.java:551) [2025-11-06T20:59:43.343Z] at jdk.jpackage/jdk.jpackage.main.Main.execute(Main.java:91) [2025-11-06T20:59:43.343Z] at jdk.jpackage/jdk.jpackage.main.Main.main(Main.java:52) [2025-11-06T20:59:43.343Z] Caused by: java.io.IOException: Command [C:\Program Files (x86)\WiX Toolset v3.14\bin\light.exe, -nologo, -spdb, -ext, WixUtilExtension, -out, C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\.\testTemp.163158d8\tmp\WIN_EXE\images\win-exe.image\TempBasicTest-1.0.msi, -sice:ICE27, -loc, C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\.\testTemp.163158d8\tmp\WIN_EXE\config\MsiInstallerStrings_en.wxl, -cultures:en-us, C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\.\testTemp.163158d8\tmp\WIN_EXE\wixobj\main.wixobj, C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\.\testTemp.163158d8\tmp\WIN_EXE\wixobj\bundle.wixobj, C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\.\testTemp.163158d8\tmp\WIN_EXE\wixobj\ui.wixobj] in C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\.\testTemp.163158d8\tmp\WIN_EXE\images\win-msi.image\TempBasicTest exited with 103 code [2025-11-06T20:59:43.343Z] at jdk.jpackage/jdk.jpackage.internal.Executor.executeExpectSuccess(Executor.java:90) [2025-11-06T20:59:43.343Z] at jdk.jpackage/jdk.jpackage.internal.WixPipeline.execute(WixPipeline.java:135) [2025-11-06T20:59:43.343Z] at jdk.jpackage/jdk.jpackage.internal.WixPipeline.buildMsi(WixPipeline.java:99) [2025-11-06T20:59:43.343Z] at jdk.jpackage/jdk.jpackage.internal.WinMsiBundler.buildMSI(WinMsiBundler.java:557) [2025-11-06T20:59:43.343Z] at jdk.jpackage/jdk.jpackage.internal.WinMsiBundler.execute(WinMsiBundler.java:416) [2025-11-06T20:59:43.343Z] ... 6 more [2025-11-06T20:59:43.343Z] [20:59:16.500] TRACE: exec: Done. Exit code: 1 [2025-11-06T20:59:43.343Z] [20:59:16.500] ERROR: Expected [0]. Actual [1]: Check command [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\testTemp.163158d8\input --dest .\testTemp.163158d8\output --name TempBasicTest --type exe --main-jar hello.jar --main-class Hello --win-console --temp .\testTemp.163158d8\tmp\WIN_EXE --verbose](17) exited with 0 code [2025-11-06T20:59:43.343Z] [20:59:16.500] [ FAILED ] BasicTest.testTemp(TEMPDIR_NOT_EXIST); checks=3 [2025-11-06T20:59:43.343Z] [20:59:16.500] [ RUN ] BasicTest.testVerbose [2025-11-06T20:59:43.343Z] [20:59:16.502] TRACE: exec: Execute tool provider [javac -d .\testVerbose\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4)... [2025-11-06T20:59:43.343Z] [20:59:16.584] TRACE: exec: Done. Exit code: 0 [2025-11-06T20:59:43.343Z] [20:59:16.584] TRACE: assertEquals(0): Check command tool provider [javac -d .\testVerbose\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4) exited with 0 code [2025-11-06T20:59:43.343Z] [20:59:16.585] TRACE: exec: Execute tool provider [jar -c -f .\testVerbose\input\hello.jar -C .\testVerbose\jar-workdir .](7)... [2025-11-06T20:59:43.343Z] [20:59:16.607] TRACE: exec: Done. Exit code: 0 [2025-11-06T20:59:43.343Z] [20:59:16.607] TRACE: assertEquals(0): Check command tool provider [jar -c -f .\testVerbose\input\hello.jar -C .\testVerbose\jar-workdir .](7) exited with 0 code [2025-11-06T20:59:43.343Z] [20:59:16.608] TRACE: Init fake runtime in [.\testVerbose\fake_runtime] directory [2025-11-06T20:59:43.343Z] [20:59:16.610] TRACE: exec: Execute [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\testVerbose\input --dest .\testVerbose\output --name VerboseBasicTest --type app-image --main-jar hello.jar --main-class Hello --win-console --runtime-image .\testVerbose\fake_runtime](16); save output... [2025-11-06T20:59:43.343Z] [20:59:17.213] TRACE: exec: Done. Exit code: 0 [2025-11-06T20:59:43.343Z] [20:59:17.213] TRACE: assertEquals(0): Check command [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\testVerbose\input --dest .\testVerbose\output --name VerboseBasicTest --type app-image --main-jar hello.jar --main-class Hello --win-console --runtime-image .\testVerbose\fake_runtime](16) exited with 0 code [2025-11-06T20:59:43.343Z] [20:59:17.215] TRACE: Cleaning [.\testVerbose\verbose-output] directory recursively [2025-11-06T20:59:43.343Z] [20:59:17.215] TRACE: exec: Execute [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\testVerbose\input --dest .\testVerbose\verbose-output --name VerboseBasicTest --type app-image --main-jar hello.jar --main-class Hello --win-console --runtime-image .\testVerbose\fake_runtime --verbose](17); save output... [2025-11-06T20:59:43.343Z] [20:59:17.558] Creating app package: VerboseBasicTest in C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\.\testVerbose\verbose-output [2025-11-06T20:59:43.343Z] [20:59:17.570] Using default package resource JavaApp.ico [icon] (add VerboseBasicTest.ico to the resource-dir to customize). [2025-11-06T20:59:43.343Z] [20:59:17.587] Warning: Windows Defender may prevent jpackage from functioning. If there is an issue, it can be addressed by either disabling realtime monitoring, or adding an exclusion for the directory "C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage2159765487539206692". [2025-11-06T20:59:43.343Z] [20:59:17.720] Using default package resource WinLauncher.template [Template for creating executable properties file] (add VerboseBasicTest.properties to the resource-dir to customize). [2025-11-06T20:59:43.343Z] [20:59:17.757] Succeeded in building Windows Application Image package [2025-11-06T20:59:43.343Z] [20:59:17.769] TRACE: exec: Done. Exit code: 0 [2025-11-06T20:59:43.343Z] [20:59:17.770] TRACE: assertEquals(0): Check command [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\testVerbose\input --dest .\testVerbose\verbose-output --name VerboseBasicTest --type app-image --main-jar hello.jar --main-class Hello --win-console --runtime-image .\testVerbose\fake_runtime --verbose](17) exited with 0 code [2025-11-06T20:59:43.344Z] [20:59:17.867] TRACE: assertTrue(): Check verbose output is longer than regular [2025-11-06T20:59:43.344Z] [20:59:17.868] TRACE: assertNull(): Check regular output doesn't contain [Creating app package:] string [2025-11-06T20:59:43.344Z] [20:59:17.868] TRACE: assertNull(): Check regular output doesn't contain [Succeeded in building Windows Application Image package] string [2025-11-06T20:59:43.344Z] [20:59:17.868] TRACE: assertNotNull([20:59:17.558] Creating app package: VerboseBasicTest in C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\.\testVerbose\verbose-output): Check verbose output contains [Creating app package:] string [2025-11-06T20:59:43.344Z] [20:59:17.868] TRACE: assertNotNull([20:59:17.757] Succeeded in building Windows Application Image package): Check verbose output contains [Succeeded in building Windows Application Image package] string [2025-11-06T20:59:43.344Z] [20:59:17.869] TRACE: Deleting [.\testVerbose] directory recursively [2025-11-06T20:59:43.344Z] [20:59:17.872] [ OK ] BasicTest.testVerbose; checks=9 [2025-11-06T20:59:43.344Z] [20:59:17.872] [ RUN ] BasicTest.testVersion [2025-11-06T20:59:43.344Z] [20:59:17.873] TRACE: exec: Execute tool provider [jpackage --version](2)... [2025-11-06T20:59:43.344Z] [20:59:17.873] TRACE: exec: Done. Exit code: 0 [2025-11-06T20:59:43.344Z] 17.0.18-beta [2025-11-06T20:59:43.344Z] [20:59:17.873] TRACE: assertEquals(0): Check command tool provider [jpackage --version](2) exited with 0 code [2025-11-06T20:59:43.344Z] [20:59:17.873] TRACE: assertStringListEquals(): Check jpackage output [2025-11-06T20:59:43.344Z] [20:59:17.873] TRACE: assertStringListEquals(1, 17.0.18-beta) [2025-11-06T20:59:43.344Z] [20:59:17.873] TRACE: Deleting [.\testVersion] directory recursively [2025-11-06T20:59:43.344Z] [20:59:17.874] [ OK ] BasicTest.testVersion; checks=2 [2025-11-06T20:59:43.344Z] [20:59:17.874] [ RUN ] BasicTest.testWhitespaceInPaths [2025-11-06T20:59:43.344Z] [20:59:17.874] TRACE: exec: Execute tool provider [javac -d .\testWhitespaceInPaths\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4)... [2025-11-06T20:59:43.344Z] [20:59:17.943] TRACE: exec: Done. Exit code: 0 [2025-11-06T20:59:43.344Z] [20:59:17.944] TRACE: assertEquals(0): Check command tool provider [javac -d .\testWhitespaceInPaths\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4) exited with 0 code [2025-11-06T20:59:43.344Z] [20:59:17.945] TRACE: exec: Execute tool provider [jar -c -f ".\testWhitespaceInPaths\The quick brown fox\a\b c.jar" -C .\testWhitespaceInPaths\jar-workdir .](7)... [2025-11-06T20:59:43.344Z] [20:59:17.965] TRACE: exec: Done. Exit code: 0 [2025-11-06T20:59:43.344Z] [20:59:17.966] TRACE: assertEquals(0): Check command tool provider [jar -c -f ".\testWhitespaceInPaths\The quick brown fox\a\b c.jar" -C .\testWhitespaceInPaths\jar-workdir .](7) exited with 0 code [2025-11-06T20:59:43.344Z] [20:59:17.966] TRACE: exec: Execute [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image\bin\jpackage.exe --input ".\testWhitespaceInPaths\The quick brown fox" --dest ".\testWhitespaceInPaths\jumps over the lazy dog" --name WhitespaceInPathsBasicTest --type app-image --main-jar "a/b c.jar" --main-class Hello --win-console --verbose](15); inherit I/O... [2025-11-06T20:59:43.344Z] [20:59:18.303] Creating app package: WhitespaceInPathsBasicTest in C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\.\testWhitespaceInPaths\jumps over the lazy dog [2025-11-06T20:59:43.344Z] [20:59:27.959] Command [PID: -1]: [2025-11-06T20:59:43.344Z] jlink --output .\testWhitespaceInPaths\jumps over the lazy dog\WhitespaceInPathsBasicTest\runtime --module-path c:\\jenkins\\workspace\\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\\jdkbinary\\j2sdk-image\\jmods --add-modules jdk.management.jfr,java.rmi,jdk.jdi,jdk.charsets,java.xml,jdk.xml.dom,java.datatransfer,jdk.jstatd,jdk.httpserver,java.desktop,java.security.sasl,jdk.zipfs,java.base,jdk.crypto.ec,jdk.javadoc,jdk.management.agent,jdk.jshell,jdk.editpad,jdk.sctp,java.sql.rowset,jdk.jsobject,jdk.jlink,jdk.unsupported,java.smartcardio,java.security.jgss,java.compiler,jdk.nio.mapmode,jdk.dynalink,jdk.unsupported.desktop,jdk.accessibility,jdk.security.jgss,jdk.incubator.vector,java.sql,java.transaction.xa,java.logging,java.xml.crypto,jdk.jfr,jdk.crypto.cryptoki,jdk.net,jdk.random,java.naming,jdk.internal.ed,java.prefs,java.net.http,jdk.compiler,jdk.internal.opt,jdk.naming.rmi,jdk.jconsole,jdk.attach,jdk.crypto.mscapi,jdk.internal.le,java.management,jdk.jdwp.agent,jdk.incubator.foreign,jdk.internal.jvmstat,java.instrument,jdk.management,jdk.security.auth,java.scripting,jdk.jdeps,jdk.jartool,java.management.rmi,jdk.jpackage,jdk.naming.dns,jdk.localedata --strip-native-commands --strip-debug --no-man-pages --no-header-files [2025-11-06T20:59:43.344Z] [20:59:27.959] Output: [2025-11-06T20:59:43.344Z] WARNING: Using incubator modules: jdk.incubator.vector, jdk.incubator.foreign [2025-11-06T20:59:43.344Z] [2025-11-06T20:59:43.344Z] [20:59:27.961] Returned: 0 [2025-11-06T20:59:43.344Z] [2025-11-06T20:59:43.344Z] [20:59:27.965] Using default package resource JavaApp.ico [icon] (add WhitespaceInPathsBasicTest.ico to the resource-dir to customize). [2025-11-06T20:59:43.344Z] [20:59:27.975] Warning: Windows Defender may prevent jpackage from functioning. If there is an issue, it can be addressed by either disabling realtime monitoring, or adding an exclusion for the directory "C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage10322034184404891375". [2025-11-06T20:59:43.344Z] [20:59:28.171] Using default package resource WinLauncher.template [Template for creating executable properties file] (add WhitespaceInPathsBasicTest.properties to the resource-dir to customize). [2025-11-06T20:59:43.344Z] [20:59:28.215] Succeeded in building Windows Application Image package [2025-11-06T20:59:43.344Z] [20:59:28.278] TRACE: exec: Done. Exit code: 0 [2025-11-06T20:59:43.344Z] [20:59:28.278] TRACE: assertEquals(0): Check command [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image\bin\jpackage.exe --input ".\testWhitespaceInPaths\The quick brown fox" --dest ".\testWhitespaceInPaths\jumps over the lazy dog" --name WhitespaceInPathsBasicTest --type app-image --main-jar "a/b c.jar" --main-class Hello --win-console --verbose](15) exited with 0 code [2025-11-06T20:59:43.344Z] [20:59:28.297] TRACE: assertStringListEquals(): Check there is only one file with [.jpackage.xml] name in the package [2025-11-06T20:59:43.344Z] [20:59:28.298] TRACE: assertStringListEquals(1, .\testWhitespaceInPaths\jumps over the lazy dog\WhitespaceInPathsBasicTest\app\.jpackage.xml) [2025-11-06T20:59:43.344Z] [20:59:28.298] TRACE: assertTrue(): Check [.\testWhitespaceInPaths\jumps over the lazy dog\WhitespaceInPathsBasicTest\runtime] path exists [2025-11-06T20:59:43.344Z] [20:59:28.298] TRACE: assertTrue(): Check [.\testWhitespaceInPaths\jumps over the lazy dog\WhitespaceInPathsBasicTest\runtime] is a directory [2025-11-06T20:59:43.344Z] [20:59:28.299] TRACE: assertTrue(): Check [.\testWhitespaceInPaths\jumps over the lazy dog\WhitespaceInPathsBasicTest\WhitespaceInPathsBasicTest.exe] path exists [2025-11-06T20:59:43.344Z] [20:59:28.299] TRACE: assertTrue(): Check [.\testWhitespaceInPaths\jumps over the lazy dog\WhitespaceInPathsBasicTest\WhitespaceInPathsBasicTest.exe] is a file [2025-11-06T20:59:43.344Z] [20:59:28.299] TRACE: assertTrue(): Check [.\testWhitespaceInPaths\jumps over the lazy dog\WhitespaceInPathsBasicTest\WhitespaceInPathsBasicTest.exe] file is executable [2025-11-06T20:59:43.344Z] [20:59:28.299] TRACE: assertTrue(): Check [.\testWhitespaceInPaths\jumps over the lazy dog\WhitespaceInPathsBasicTest\app\WhitespaceInPathsBasicTest.cfg] path exists [2025-11-06T20:59:43.344Z] [20:59:28.299] TRACE: assertTrue(): Check [.\testWhitespaceInPaths\jumps over the lazy dog\WhitespaceInPathsBasicTest\app\WhitespaceInPathsBasicTest.cfg] is a file [2025-11-06T20:59:43.344Z] [20:59:28.300] TRACE: Clearing PATH in environment [2025-11-06T20:59:43.344Z] [20:59:28.300] TRACE: exec: Execute ["C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\.\testWhitespaceInPaths\jumps over the lazy dog\WhitespaceInPathsBasicTest\WhitespaceInPathsBasicTest.exe"](1); inherit I/O; in directory [.\testWhitespaceInPaths]... [2025-11-06T20:59:43.344Z] hello: Environment supports a display [2025-11-06T20:59:43.344Z] hello: Environment supports a desktop [2025-11-06T20:59:43.344Z] jpackage test application [2025-11-06T20:59:43.344Z] args.length: 0 [2025-11-06T20:59:43.344Z] hello: Output file: [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testWhitespaceInPaths\appOutput.txt] [2025-11-06T20:59:43.344Z] [20:59:28.910] TRACE: exec: Done. Exit code: 0 [2025-11-06T20:59:43.344Z] [20:59:28.910] TRACE: assertEquals(0): Check command ["C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\.\testWhitespaceInPaths\jumps over the lazy dog\WhitespaceInPathsBasicTest\WhitespaceInPathsBasicTest.exe"](1) exited with 0 code [2025-11-06T20:59:43.344Z] [20:59:28.910] TRACE: assertTrue(): Check [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testWhitespaceInPaths\appOutput.txt] path exists [2025-11-06T20:59:43.344Z] [20:59:28.911] TRACE: assertTrue(): Check [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testWhitespaceInPaths\appOutput.txt] is a file [2025-11-06T20:59:43.344Z] [20:59:28.911] TRACE: assertStringListEquals(): Check contents of [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\testWhitespaceInPaths\appOutput.txt] file [2025-11-06T20:59:43.344Z] [20:59:28.911] TRACE: assertStringListEquals(1, jpackage test application) [2025-11-06T20:59:43.344Z] [20:59:28.911] TRACE: assertStringListEquals(2, args.length: 0) [2025-11-06T20:59:43.344Z] [20:59:28.911] TRACE: Deleting [.\testWhitespaceInPaths] directory recursively [2025-11-06T20:59:43.344Z] [20:59:29.079] [ OK ] BasicTest.testWhitespaceInPaths; checks=15 [2025-11-06T20:59:43.344Z] [20:59:29.079] [==========] 22 tests ran [2025-11-06T20:59:43.344Z] [20:59:29.080] [ PASSED ] 20 tests [2025-11-06T20:59:43.344Z] [20:59:29.081] [ FAILED ] 2 tests, listed below [2025-11-06T20:59:43.344Z] [20:59:29.081] [ FAILED ] BasicTest.testTemp(TEMPDIR_EMPTY); workDir=[.\testTemp.8b6cf736] [2025-11-06T20:59:43.344Z] [20:59:29.081] [ FAILED ] BasicTest.testTemp(TEMPDIR_NOT_EXIST); workDir=[.\testTemp.163158d8] [2025-11-06T20:59:43.344Z] [20:59:29.081] 2 FAILED TESTS [2025-11-06T20:59:43.344Z] STDERR: [2025-11-06T20:59:43.344Z] java.lang.AssertionError: Expected [0]. Actual [1]: Check command [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\testTemp.8b6cf736\input --dest .\testTemp.8b6cf736\output --name TempBasicTest --type exe --main-jar hello.jar --main-class Hello --win-console --temp .\testTemp.8b6cf736\tmp\WIN_EXE --verbose](17) exited with 0 code [2025-11-06T20:59:43.344Z] at jdk.jpackage.test.TKit.error(TKit.java:269) [2025-11-06T20:59:43.344Z] at jdk.jpackage.test.TKit.assertEquals(TKit.java:588) [2025-11-06T20:59:43.344Z] at jdk.jpackage.test.Executor$Result.assertExitCodeIs(Executor.java:197) [2025-11-06T20:59:43.344Z] at jdk.jpackage.test.Executor.execute(Executor.java:237) [2025-11-06T20:59:43.344Z] at jdk.jpackage.test.JPackageCommand.execute(JPackageCommand.java:734) [2025-11-06T20:59:43.344Z] at jdk.jpackage.test.PackageTest$Handler.accept(PackageTest.java:532) [2025-11-06T20:59:43.344Z] at jdk.jpackage.test.PackageTest$2.accept(PackageTest.java:460) [2025-11-06T20:59:43.344Z] at jdk.jpackage.test.PackageTest$2.accept(PackageTest.java:397) [2025-11-06T20:59:43.344Z] at jdk.jpackage.test.Functional$ThrowingConsumer.lambda$toConsumer$0(Functional.java:41) [2025-11-06T20:59:43.344Z] at java.base/java.lang.Iterable.forEach(Iterable.java:75) [2025-11-06T20:59:43.344Z] at jdk.jpackage.test.PackageTest.lambda$runActions$21(PackageTest.java:361) [2025-11-06T20:59:43.344Z] at java.base/java.util.ArrayList.forEach(ArrayList.java:1511) [2025-11-06T20:59:43.344Z] at jdk.jpackage.test.PackageTest.lambda$runActions$22(PackageTest.java:360) [2025-11-06T20:59:43.344Z] at java.base/java.util.ArrayList.forEach(ArrayList.java:1511) [2025-11-06T20:59:43.344Z] at jdk.jpackage.test.PackageTest.runActions(PackageTest.java:359) [2025-11-06T20:59:43.344Z] at jdk.jpackage.test.RunnablePackageTest.run(RunnablePackageTest.java:57) [2025-11-06T20:59:43.344Z] at BasicTest.testTemp(BasicTest.java:316) [2025-11-06T20:59:43.344Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [2025-11-06T20:59:43.344Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) [2025-11-06T20:59:43.344Z] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [2025-11-06T20:59:43.344Z] at java.base/java.lang.reflect.Method.invoke(Method.java:569) [2025-11-06T20:59:43.344Z] at jdk.jpackage.test.MethodCall.accept(MethodCall.java:145) [2025-11-06T20:59:43.344Z] at jdk.jpackage.test.TestInstance.run(TestInstance.java:230) [2025-11-06T20:59:43.344Z] at jdk.jpackage.test.TKit.lambda$ignoreExceptions$5(TKit.java:148) [2025-11-06T20:59:43.344Z] at jdk.jpackage.test.TKit.lambda$runTests$3(TKit.java:133) [2025-11-06T20:59:43.344Z] at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1625) [2025-11-06T20:59:43.344Z] at java.base/java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:762) [2025-11-06T20:59:43.344Z] at jdk.jpackage.test.TKit.lambda$runTests$4(TKit.java:130) [2025-11-06T20:59:43.344Z] at jdk.jpackage.test.Functional$ThrowingRunnable.lambda$toRunnable$0(Functional.java:105) [2025-11-06T20:59:43.344Z] at jdk.jpackage.test.TKit.withExtraLogStream(TKit.java:117) [2025-11-06T20:59:43.344Z] at jdk.jpackage.test.TKit.withExtraLogStream(TKit.java:108) [2025-11-06T20:59:43.344Z] at jdk.jpackage.test.TKit.runTests(TKit.java:129) [2025-11-06T20:59:43.344Z] at jdk.jpackage.test.Main.runTests(Main.java:79) [2025-11-06T20:59:43.344Z] at jdk.jpackage.test.Main.lambda$main$2(Main.java:75) [2025-11-06T20:59:43.344Z] at jdk.jpackage.test.Functional$ThrowingRunnable.lambda$toRunnable$0(Functional.java:105) [2025-11-06T20:59:43.344Z] at jdk.jpackage.test.TKit.withExtraLogStream(TKit.java:117) [2025-11-06T20:59:43.344Z] at jdk.jpackage.test.TKit.withExtraLogStream(TKit.java:108) [2025-11-06T20:59:43.344Z] at jdk.jpackage.test.Main.main(Main.java:75) [2025-11-06T20:59:43.344Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [2025-11-06T20:59:43.344Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) [2025-11-06T20:59:43.344Z] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [2025-11-06T20:59:43.344Z] at java.base/java.lang.reflect.Method.invoke(Method.java:569) [2025-11-06T20:59:43.344Z] at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138) [2025-11-06T20:59:43.344Z] at java.base/java.lang.Thread.run(Thread.java:840) [2025-11-06T20:59:43.345Z] java.lang.AssertionError: Expected [0]. Actual [1]: Check command [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\testTemp.163158d8\input --dest .\testTemp.163158d8\output --name TempBasicTest --type exe --main-jar hello.jar --main-class Hello --win-console --temp .\testTemp.163158d8\tmp\WIN_EXE --verbose](17) exited with 0 code [2025-11-06T20:59:43.345Z] at jdk.jpackage.test.TKit.error(TKit.java:269) [2025-11-06T20:59:43.345Z] at jdk.jpackage.test.TKit.assertEquals(TKit.java:588) [2025-11-06T20:59:43.345Z] at jdk.jpackage.test.Executor$Result.assertExitCodeIs(Executor.java:197) [2025-11-06T20:59:43.345Z] at jdk.jpackage.test.Executor.execute(Executor.java:237) [2025-11-06T20:59:43.345Z] at jdk.jpackage.test.JPackageCommand.execute(JPackageCommand.java:734) [2025-11-06T20:59:43.345Z] at jdk.jpackage.test.PackageTest$Handler.accept(PackageTest.java:532) [2025-11-06T20:59:43.345Z] at jdk.jpackage.test.PackageTest$2.accept(PackageTest.java:460) [2025-11-06T20:59:43.345Z] at jdk.jpackage.test.PackageTest$2.accept(PackageTest.java:397) [2025-11-06T20:59:43.345Z] at jdk.jpackage.test.Functional$ThrowingConsumer.lambda$toConsumer$0(Functional.java:41) [2025-11-06T20:59:43.345Z] at java.base/java.lang.Iterable.forEach(Iterable.java:75) [2025-11-06T20:59:43.345Z] at jdk.jpackage.test.PackageTest.lambda$runActions$21(PackageTest.java:361) [2025-11-06T20:59:43.345Z] at java.base/java.util.ArrayList.forEach(ArrayList.java:1511) [2025-11-06T20:59:43.345Z] at jdk.jpackage.test.PackageTest.lambda$runActions$22(PackageTest.java:360) [2025-11-06T20:59:43.345Z] at java.base/java.util.ArrayList.forEach(ArrayList.java:1511) [2025-11-06T20:59:43.345Z] at jdk.jpackage.test.PackageTest.runActions(PackageTest.java:359) [2025-11-06T20:59:43.345Z] at jdk.jpackage.test.RunnablePackageTest.run(RunnablePackageTest.java:57) [2025-11-06T20:59:43.345Z] at BasicTest.testTemp(BasicTest.java:316) [2025-11-06T20:59:43.345Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [2025-11-06T20:59:43.345Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) [2025-11-06T20:59:43.345Z] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [2025-11-06T20:59:43.345Z] at java.base/java.lang.reflect.Method.invoke(Method.java:569) [2025-11-06T20:59:43.345Z] at jdk.jpackage.test.MethodCall.accept(MethodCall.java:145) [2025-11-06T20:59:43.345Z] at jdk.jpackage.test.TestInstance.run(TestInstance.java:230) [2025-11-06T20:59:43.345Z] at jdk.jpackage.test.TKit.lambda$ignoreExceptions$5(TKit.java:148) [2025-11-06T20:59:43.345Z] at jdk.jpackage.test.TKit.lambda$runTests$3(TKit.java:133) [2025-11-06T20:59:43.345Z] at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1625) [2025-11-06T20:59:43.345Z] at java.base/java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:762) [2025-11-06T20:59:43.345Z] at jdk.jpackage.test.TKit.lambda$runTests$4(TKit.java:130) [2025-11-06T20:59:43.345Z] at jdk.jpackage.test.Functional$ThrowingRunnable.lambda$toRunnable$0(Functional.java:105) [2025-11-06T20:59:43.345Z] at jdk.jpackage.test.TKit.withExtraLogStream(TKit.java:117) [2025-11-06T20:59:43.345Z] at jdk.jpackage.test.TKit.withExtraLogStream(TKit.java:108) [2025-11-06T20:59:43.345Z] at jdk.jpackage.test.TKit.runTests(TKit.java:129) [2025-11-06T20:59:43.345Z] at jdk.jpackage.test.Main.runTests(Main.java:79) [2025-11-06T20:59:43.345Z] at jdk.jpackage.test.Main.lambda$main$2(Main.java:75) [2025-11-06T20:59:43.345Z] at jdk.jpackage.test.Functional$ThrowingRunnable.lambda$toRunnable$0(Functional.java:105) [2025-11-06T20:59:43.345Z] at jdk.jpackage.test.TKit.withExtraLogStream(TKit.java:117) [2025-11-06T20:59:43.345Z] at jdk.jpackage.test.TKit.withExtraLogStream(TKit.java:108) [2025-11-06T20:59:43.345Z] at jdk.jpackage.test.Main.main(Main.java:75) [2025-11-06T20:59:43.345Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [2025-11-06T20:59:43.345Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) [2025-11-06T20:59:43.345Z] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [2025-11-06T20:59:43.345Z] at java.base/java.lang.reflect.Method.invoke(Method.java:569) [2025-11-06T20:59:43.345Z] at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138) [2025-11-06T20:59:43.345Z] at java.base/java.lang.Thread.run(Thread.java:840) [2025-11-06T20:59:43.345Z] java.lang.RuntimeException: 2 FAILED TESTS [2025-11-06T20:59:43.345Z] at jdk.jpackage.test.Main.reportSummary(Main.java:130) [2025-11-06T20:59:43.345Z] at jdk.jpackage.test.Main.runTests(Main.java:90) [2025-11-06T20:59:43.345Z] at jdk.jpackage.test.Main.lambda$main$2(Main.java:75) [2025-11-06T20:59:43.345Z] at jdk.jpackage.test.Functional$ThrowingRunnable.lambda$toRunnable$0(Functional.java:105) [2025-11-06T20:59:43.345Z] at jdk.jpackage.test.TKit.withExtraLogStream(TKit.java:117) [2025-11-06T20:59:43.345Z] at jdk.jpackage.test.TKit.withExtraLogStream(TKit.java:108) [2025-11-06T20:59:43.345Z] at jdk.jpackage.test.Main.main(Main.java:75) [2025-11-06T20:59:43.345Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [2025-11-06T20:59:43.345Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) [2025-11-06T20:59:43.345Z] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [2025-11-06T20:59:43.345Z] at java.base/java.lang.reflect.Method.invoke(Method.java:569) [2025-11-06T20:59:43.345Z] at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138) [2025-11-06T20:59:43.345Z] at java.base/java.lang.Thread.run(Thread.java:840) [2025-11-06T20:59:43.345Z] [2025-11-06T20:59:43.345Z] JavaTest Message: Test threw exception: java.lang.RuntimeException: 2 FAILED TESTS [2025-11-06T20:59:43.345Z] JavaTest Message: shutting down test [2025-11-06T20:59:43.345Z] [2025-11-06T20:59:43.345Z] STATUS:Failed.`main' threw exception: java.lang.RuntimeException: 2 FAILED TESTS [2025-11-06T20:59:43.345Z] rerun: [2025-11-06T20:59:43.345Z] cd 'C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2' && \ [2025-11-06T20:59:43.345Z] PATH='C:\Program Files\Eclipse Adoptium\jdk-21.0.8.9-hotspot\bin;C:\cygwin64\bin;C:\Windows;C:\windows\system32;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\Microsoft SQL Server\120\Tools\Binn;C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.0;C:\Program Files (x86)\IncrediBuild;C:\rust\bin;C:\Program Files\IcedTeaWEB\bin;C:\Users\adoptopenjdk\AppData\Local\Microsoft\WindowsApps;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit;C:\Users\jenkins.test-azure-win2\AppData\Local\Microsoft\WindowsApps' \ [2025-11-06T20:59:43.345Z] SystemDrive=C: \ [2025-11-06T20:59:43.345Z] SystemRoot='C:\Windows' \ [2025-11-06T20:59:43.345Z] TEMP='C:\Users\JENKIN~1.TES\AppData\Local\Temp' \ [2025-11-06T20:59:43.345Z] TMP='C:\Users\JENKIN~1.TES\AppData\Local\Temp' \ [2025-11-06T20:59:43.345Z] windir='C:\Windows' \ [2025-11-06T20:59:43.345Z] CLASSPATH='C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\classes\2\tools\jpackage\share\BasicTest.d;C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\share;C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\classes\2\test\jdk\tools\jpackage\helpers;C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\helpers;C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jvmtest\openjdk\jtreg\lib\javatest.jar;C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jvmtest\openjdk\jtreg\lib\jtreg.jar' \ [2025-11-06T20:59:43.345Z] 'c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image\bin\java' \ [2025-11-06T20:59:43.345Z] -Dtest.vm.opts='-ea -esa -Xmx512m' \ [2025-11-06T20:59:43.345Z] -Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m' \ [2025-11-06T20:59:43.345Z] -Dtest.compiler.opts= \ [2025-11-06T20:59:43.345Z] -Dtest.java.opts= \ [2025-11-06T20:59:43.345Z] -Dtest.jdk='c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image' \ [2025-11-06T20:59:43.345Z] -Dcompile.jdk='c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image' \ [2025-11-06T20:59:43.345Z] -Dtest.timeout.factor=8.0 \ [2025-11-06T20:59:43.345Z] -Dtest.nativepath='c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\openjdk-test-image\jdk\jtreg\native' \ [2025-11-06T20:59:43.345Z] -Dtest.root='C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk' \ [2025-11-06T20:59:43.345Z] -Dtest.name=tools/jpackage/share/BasicTest.java \ [2025-11-06T20:59:43.345Z] -Dtest.file='C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\share\BasicTest.java' \ [2025-11-06T20:59:43.345Z] -Dtest.src='C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\share' \ [2025-11-06T20:59:43.345Z] -Dtest.src.path='C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\share;C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\helpers' \ [2025-11-06T20:59:43.345Z] -Dtest.classes='C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\classes\2\tools\jpackage\share\BasicTest.d' \ [2025-11-06T20:59:43.345Z] -Dtest.class.path='C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\classes\2\tools\jpackage\share\BasicTest.d;C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\classes\2\test\jdk\tools\jpackage\helpers' \ [2025-11-06T20:59:43.345Z] -Dtest.class.path.prefix='C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\classes\2\tools\jpackage\share\BasicTest.d;C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\share;C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\classes\2\test\jdk\tools\jpackage\helpers' \ [2025-11-06T20:59:43.345Z] -Dtest.modules='jdk.jpackage/jdk.jpackage.internal:+open java.base/jdk.internal.util' \ [2025-11-06T20:59:43.345Z] --add-modules jdk.jpackage,java.base \ [2025-11-06T20:59:43.345Z] --add-exports jdk.jpackage/jdk.jpackage.internal=ALL-UNNAMED \ [2025-11-06T20:59:43.345Z] --add-opens jdk.jpackage/jdk.jpackage.internal=ALL-UNNAMED \ [2025-11-06T20:59:43.345Z] --add-exports java.base/jdk.internal.util=ALL-UNNAMED \ [2025-11-06T20:59:43.345Z] -ea \ [2025-11-06T20:59:43.345Z] -esa \ [2025-11-06T20:59:43.345Z] -Xmx512m \ [2025-11-06T20:59:43.345Z] '-Djava.library.path=c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\openjdk-test-image\jdk\jtreg\native' \ [2025-11-06T20:59:43.345Z] -Xmx512m \ [2025-11-06T20:59:43.345Z] com.sun.javatest.regtest.agent.MainWrapper 'C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\tools\jpackage\share\BasicTest.d\main.0.jta' --jpt-run=BasicTest [2025-11-06T20:59:43.345Z] [2025-11-06T20:59:43.345Z] TEST RESULT: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: 2 FAILED TESTS [2025-11-06T20:59:43.345Z] -------------------------------------------------- [2025-11-06T21:00:31.298Z] TEST: tools/jpackage/share/EmptyFolderTest.java#id0 [2025-11-06T21:00:31.299Z] TEST JDK: c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image [2025-11-06T21:00:31.299Z] [2025-11-06T21:00:31.299Z] ACTION: build -- Passed. All files up to date [2025-11-06T21:00:31.299Z] REASON: User specified action: run build jdk.jpackage.test.* [2025-11-06T21:00:31.299Z] TIME: 0.004 seconds [2025-11-06T21:00:31.299Z] messages: [2025-11-06T21:00:31.299Z] command: build jdk.jpackage.test.* [2025-11-06T21:00:31.299Z] reason: User specified action: run build jdk.jpackage.test.* [2025-11-06T21:00:31.299Z] started: Thu Nov 06 20:59:30 UTC 2025 [2025-11-06T21:00:31.299Z] finished: Thu Nov 06 20:59:30 UTC 2025 [2025-11-06T21:00:31.299Z] elapsed time (seconds): 0.004 [2025-11-06T21:00:31.299Z] [2025-11-06T21:00:31.299Z] ACTION: build -- Passed. Build successful [2025-11-06T21:00:31.299Z] REASON: User specified action: run build EmptyFolderTest [2025-11-06T21:00:31.299Z] TIME: 0.124 seconds [2025-11-06T21:00:31.299Z] messages: [2025-11-06T21:00:31.299Z] command: build EmptyFolderTest [2025-11-06T21:00:31.299Z] reason: User specified action: run build EmptyFolderTest [2025-11-06T21:00:31.299Z] started: Thu Nov 06 20:59:30 UTC 2025 [2025-11-06T21:00:31.299Z] Test directory: [2025-11-06T21:00:31.299Z] compile: EmptyFolderTest [2025-11-06T21:00:31.299Z] finished: Thu Nov 06 20:59:30 UTC 2025 [2025-11-06T21:00:31.299Z] elapsed time (seconds): 0.124 [2025-11-06T21:00:31.299Z] [2025-11-06T21:00:31.299Z] ACTION: compile -- Passed. Compilation successful [2025-11-06T21:00:31.299Z] REASON: .class file out of date or does not exist [2025-11-06T21:00:31.299Z] TIME: 0.123 seconds [2025-11-06T21:00:31.299Z] messages: [2025-11-06T21:00:31.299Z] command: compile C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\share\EmptyFolderTest.java [2025-11-06T21:00:31.299Z] reason: .class file out of date or does not exist [2025-11-06T21:00:31.299Z] started: Thu Nov 06 20:59:30 UTC 2025 [2025-11-06T21:00:31.299Z] Additional options from @modules: --add-modules jdk.jpackage,java.base --add-exports jdk.jpackage/jdk.jpackage.internal=ALL-UNNAMED --add-exports java.base/jdk.internal.util=ALL-UNNAMED [2025-11-06T21:00:31.299Z] Mode: agentvm [2025-11-06T21:00:31.299Z] Agent id: 2 [2025-11-06T21:00:31.299Z] finished: Thu Nov 06 20:59:30 UTC 2025 [2025-11-06T21:00:31.299Z] elapsed time (seconds): 0.123 [2025-11-06T21:00:31.299Z] configuration: [2025-11-06T21:00:31.299Z] Boot Layer (javac runtime environment) [2025-11-06T21:00:31.299Z] class path: C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jvmtest\openjdk\jtreg\lib\javatest.jar [2025-11-06T21:00:31.299Z] C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jvmtest\openjdk\jtreg\lib\jtreg.jar [2025-11-06T21:00:31.299Z] patch: java.base C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\patches\java.base [2025-11-06T21:00:31.299Z] [2025-11-06T21:00:31.299Z] javac compilation environment [2025-11-06T21:00:31.299Z] add modules: jdk.jpackage java.base [2025-11-06T21:00:31.299Z] add exports: java.base/jdk.internal.util ALL-UNNAMED [2025-11-06T21:00:31.299Z] jdk.jpackage/jdk.jpackage.internal ALL-UNNAMED [2025-11-06T21:00:31.299Z] source path: C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\share [2025-11-06T21:00:31.299Z] C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\helpers [2025-11-06T21:00:31.299Z] class path: C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\share [2025-11-06T21:00:31.299Z] C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\classes\2\tools\jpackage\share\EmptyFolderTest_id0.d [2025-11-06T21:00:31.299Z] C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\classes\2\test\jdk\tools\jpackage\helpers [2025-11-06T21:00:31.299Z] [2025-11-06T21:00:31.299Z] rerun: [2025-11-06T21:00:31.299Z] cd 'C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2' && \ [2025-11-06T21:00:31.299Z] PATH='C:\Program Files\Eclipse Adoptium\jdk-21.0.8.9-hotspot\bin;C:\cygwin64\bin;C:\Windows;C:\windows\system32;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\Microsoft SQL Server\120\Tools\Binn;C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.0;C:\Program Files (x86)\IncrediBuild;C:\rust\bin;C:\Program Files\IcedTeaWEB\bin;C:\Users\adoptopenjdk\AppData\Local\Microsoft\WindowsApps;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit;C:\Users\jenkins.test-azure-win2\AppData\Local\Microsoft\WindowsApps' \ [2025-11-06T21:00:31.299Z] SystemDrive=C: \ [2025-11-06T21:00:31.299Z] SystemRoot='C:\Windows' \ [2025-11-06T21:00:31.299Z] TEMP='C:\Users\JENKIN~1.TES\AppData\Local\Temp' \ [2025-11-06T21:00:31.299Z] TMP='C:\Users\JENKIN~1.TES\AppData\Local\Temp' \ [2025-11-06T21:00:31.299Z] windir='C:\Windows' \ [2025-11-06T21:00:31.299Z] 'c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image\bin\javac' \ [2025-11-06T21:00:31.299Z] -J-ea \ [2025-11-06T21:00:31.299Z] -J-esa \ [2025-11-06T21:00:31.299Z] -J-Xmx512m \ [2025-11-06T21:00:31.299Z] -J-Dtest.vm.opts='-ea -esa -Xmx512m' \ [2025-11-06T21:00:31.299Z] -J-Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m' \ [2025-11-06T21:00:31.299Z] -J-Dtest.compiler.opts= \ [2025-11-06T21:00:31.299Z] -J-Dtest.java.opts= \ [2025-11-06T21:00:31.299Z] -J-Dtest.jdk='c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image' \ [2025-11-06T21:00:31.299Z] -J-Dcompile.jdk='c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image' \ [2025-11-06T21:00:31.299Z] -J-Dtest.timeout.factor=8.0 \ [2025-11-06T21:00:31.299Z] -J-Dtest.nativepath='c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\openjdk-test-image\jdk\jtreg\native' \ [2025-11-06T21:00:31.299Z] -J-Dtest.root='C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk' \ [2025-11-06T21:00:31.299Z] -J-Dtest.name=tools/jpackage/share/EmptyFolderTest.java#id0 \ [2025-11-06T21:00:31.299Z] -J-Dtest.file='C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\share\EmptyFolderTest.java' \ [2025-11-06T21:00:31.299Z] -J-Dtest.src='C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\share' \ [2025-11-06T21:00:31.299Z] -J-Dtest.src.path='C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\share;C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\helpers' \ [2025-11-06T21:00:31.299Z] -J-Dtest.classes='C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\classes\2\tools\jpackage\share\EmptyFolderTest_id0.d' \ [2025-11-06T21:00:31.299Z] -J-Dtest.class.path='C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\classes\2\tools\jpackage\share\EmptyFolderTest_id0.d;C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\classes\2\test\jdk\tools\jpackage\helpers' \ [2025-11-06T21:00:31.299Z] -J-Dtest.class.path.prefix='C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\classes\2\tools\jpackage\share\EmptyFolderTest_id0.d;C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\share;C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\classes\2\test\jdk\tools\jpackage\helpers' \ [2025-11-06T21:00:31.299Z] -J-Dtest.modules='jdk.jpackage/jdk.jpackage.internal:+open java.base/jdk.internal.util' \ [2025-11-06T21:00:31.299Z] --add-modules jdk.jpackage,java.base \ [2025-11-06T21:00:31.299Z] --add-exports jdk.jpackage/jdk.jpackage.internal=ALL-UNNAMED \ [2025-11-06T21:00:31.299Z] --add-exports java.base/jdk.internal.util=ALL-UNNAMED \ [2025-11-06T21:00:31.299Z] -d 'C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\classes\2\tools\jpackage\share\EmptyFolderTest_id0.d' \ [2025-11-06T21:00:31.299Z] -sourcepath 'C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\share;C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\helpers' \ [2025-11-06T21:00:31.299Z] -classpath 'C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\share;C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\classes\2\tools\jpackage\share\EmptyFolderTest_id0.d;C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\classes\2\test\jdk\tools\jpackage\helpers' 'C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\share\EmptyFolderTest.java' [2025-11-06T21:00:31.299Z] [2025-11-06T21:00:31.299Z] ACTION: build -- Passed. All files up to date [2025-11-06T21:00:31.299Z] REASON: Named class compiled on demand [2025-11-06T21:00:31.299Z] TIME: 0.001 seconds [2025-11-06T21:00:31.299Z] messages: [2025-11-06T21:00:31.299Z] command: build jdk.jpackage.test.Main [2025-11-06T21:00:31.299Z] reason: Named class compiled on demand [2025-11-06T21:00:31.299Z] started: Thu Nov 06 20:59:30 UTC 2025 [2025-11-06T21:00:31.299Z] finished: Thu Nov 06 20:59:30 UTC 2025 [2025-11-06T21:00:31.299Z] elapsed time (seconds): 0.001 [2025-11-06T21:00:31.299Z] [2025-11-06T21:00:31.299Z] ACTION: main -- Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: 1 FAILED TEST [2025-11-06T21:00:31.299Z] REASON: User specified action: run main/othervm/timeout=720 -Xmx512m jdk.jpackage.test.Main --jpt-run=EmptyFolderTest.testPackage [2025-11-06T21:00:31.299Z] TIME: 28.255 seconds [2025-11-06T21:00:31.299Z] messages: [2025-11-06T21:00:31.299Z] command: main -Xmx512m jdk.jpackage.test.Main --jpt-run=EmptyFolderTest.testPackage [2025-11-06T21:00:31.299Z] reason: User specified action: run main/othervm/timeout=720 -Xmx512m jdk.jpackage.test.Main --jpt-run=EmptyFolderTest.testPackage [2025-11-06T21:00:31.300Z] started: Thu Nov 06 20:59:56 UTC 2025 [2025-11-06T21:00:31.300Z] Mode: othervm [/othervm specified] [2025-11-06T21:00:31.300Z] Additional options from @modules: --add-modules jdk.jpackage,java.base --add-exports jdk.jpackage/jdk.jpackage.internal=ALL-UNNAMED --add-opens jdk.jpackage/jdk.jpackage.internal=ALL-UNNAMED --add-exports java.base/jdk.internal.util=ALL-UNNAMED [2025-11-06T21:00:31.300Z] finished: Thu Nov 06 21:00:24 UTC 2025 [2025-11-06T21:00:31.300Z] elapsed time (seconds): 28.255 [2025-11-06T21:00:31.300Z] configuration: [2025-11-06T21:00:31.300Z] Boot Layer [2025-11-06T21:00:31.300Z] add modules: jdk.jpackage java.base [2025-11-06T21:00:31.300Z] add exports: java.base/jdk.internal.util ALL-UNNAMED [2025-11-06T21:00:31.300Z] jdk.jpackage/jdk.jpackage.internal ALL-UNNAMED [2025-11-06T21:00:31.300Z] add opens: jdk.jpackage/jdk.jpackage.internal ALL-UNNAMED [2025-11-06T21:00:31.300Z] [2025-11-06T21:00:31.300Z] STDOUT: [2025-11-06T21:00:31.300Z] [20:59:56.485] Parsing [--jpt-run=EmptyFolderTest.testPackage]... [2025-11-06T21:00:31.300Z] [20:59:56.520] EmptyFolderTest.testPackage -> [public static void EmptyFolderTest.testPackage()] [2025-11-06T21:00:31.300Z] [20:59:56.540] Create: EmptyFolderTest.testPackage [2025-11-06T21:00:31.300Z] [20:59:56.542] [ RUN ] EmptyFolderTest.testPackage [2025-11-06T21:00:31.300Z] [20:59:56.821] TRACE: Bundler msi supported [2025-11-06T21:00:31.300Z] [20:59:57.013] TRACE: Bundler exe supported [2025-11-06T21:00:31.300Z] [20:59:57.024] TRACE: Actions: [[initialize], [create], [unpack], [verify-install], [finalize]] [2025-11-06T21:00:31.300Z] [20:59:57.051] TRACE: exec: Execute tool provider [javac -d .\testPackage\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4)... [2025-11-06T21:00:31.300Z] [20:59:57.660] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:00:31.300Z] [20:59:57.665] TRACE: assertEquals(0): Check command tool provider [javac -d .\testPackage\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4) exited with 0 code [2025-11-06T21:00:31.300Z] [20:59:57.666] TRACE: exec: Execute tool provider [jar -c -f .\testPackage\input\hello.jar -C .\testPackage\jar-workdir .](7)... [2025-11-06T21:00:31.300Z] [20:59:57.770] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:00:31.300Z] [20:59:57.770] TRACE: assertEquals(0): Check command tool provider [jar -c -f .\testPackage\input\hello.jar -C .\testPackage\jar-workdir .](7) exited with 0 code [2025-11-06T21:00:31.300Z] [20:59:57.776] TRACE: exec: Execute [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\testPackage\input --dest .\testPackage\output --name EmptyFolderPackageTest --type msi --main-jar hello.jar --main-class Hello --win-console --verbose](15); inherit I/O... [2025-11-06T21:00:31.300Z] [20:59:58.100] Running candle.exe [2025-11-06T21:00:31.300Z] [20:59:58.110] Running C:\Program Files (x86)\WiX Toolset v3.14\bin\candle.exe [2025-11-06T21:00:31.300Z] [20:59:58.195] Running light.exe [2025-11-06T21:00:31.300Z] [20:59:58.199] Running C:\Program Files (x86)\WiX Toolset v3.14\bin\light.exe [2025-11-06T21:00:31.300Z] [20:59:58.316] Detected [candle.exe] version [3.14.0.3910]. [2025-11-06T21:00:31.300Z] [20:59:58.316] Detected [light.exe] version [3.14.0.3910]. [2025-11-06T21:00:31.300Z] [20:59:58.317] WiX 3.14.0.3910 detected. Enabling advanced cleanup action. [2025-11-06T21:00:31.300Z] [21:00:08.125] Command [PID: -1]: [2025-11-06T21:00:31.300Z] jlink --output C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage9647401563445101543\images\win-msi.image\EmptyFolderPackageTest\runtime --module-path c:\\jenkins\\workspace\\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\\jdkbinary\\j2sdk-image\\jmods --add-modules java.rmi,jdk.management.jfr,jdk.jdi,jdk.charsets,jdk.xml.dom,java.xml,java.datatransfer,jdk.jstatd,jdk.httpserver,java.desktop,java.security.sasl,jdk.zipfs,java.base,jdk.crypto.ec,jdk.javadoc,jdk.management.agent,jdk.jshell,jdk.editpad,jdk.jsobject,jdk.sctp,java.sql.rowset,jdk.unsupported,java.smartcardio,jdk.jlink,java.security.jgss,jdk.nio.mapmode,java.compiler,jdk.dynalink,jdk.unsupported.desktop,jdk.accessibility,jdk.security.jgss,jdk.incubator.vector,java.sql,java.transaction.xa,java.logging,java.xml.crypto,jdk.jfr,jdk.crypto.cryptoki,jdk.net,jdk.random,java.naming,jdk.internal.ed,java.prefs,java.net.http,jdk.compiler,jdk.internal.opt,jdk.naming.rmi,jdk.jconsole,jdk.attach,jdk.crypto.mscapi,jdk.internal.le,java.management,jdk.jdwp.agent,jdk.incubator.foreign,jdk.internal.jvmstat,java.instrument,jdk.management,jdk.security.auth,java.scripting,jdk.jdeps,jdk.jartool,jdk.jpackage,java.management.rmi,jdk.naming.dns,jdk.localedata --strip-native-commands --strip-debug --no-man-pages --no-header-files [2025-11-06T21:00:31.300Z] [21:00:08.125] Output: [2025-11-06T21:00:31.300Z] WARNING: Using incubator modules: jdk.incubator.vector, jdk.incubator.foreign [2025-11-06T21:00:31.300Z] [2025-11-06T21:00:31.300Z] [21:00:08.127] Returned: 0 [2025-11-06T21:00:31.300Z] [2025-11-06T21:00:31.300Z] [21:00:08.131] Using default package resource JavaApp.ico [icon] (add EmptyFolderPackageTest.ico to the resource-dir to customize). [2025-11-06T21:00:31.300Z] [21:00:08.141] Warning: Windows Defender may prevent jpackage from functioning. If there is an issue, it can be addressed by either disabling realtime monitoring, or adding an exclusion for the directory "C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage9647401563445101543". [2025-11-06T21:00:31.300Z] [21:00:08.148] Using default package resource WinLauncher.template [Template for creating executable properties file] (add EmptyFolderPackageTest.properties to the resource-dir to customize). [2025-11-06T21:00:31.300Z] [21:00:08.683] MSI ProductCode: f49bc025-309b-3f34-9cce-9e3cac92b8de. [2025-11-06T21:00:31.300Z] [21:00:08.683] MSI UpgradeCode: 74b36052-fc0e-3e9c-98c2-47c57b9f34bd. [2025-11-06T21:00:31.300Z] [21:00:08.723] Using default package resource main.wxs [Main WiX project file] (add main.wxs to the resource-dir to customize). [2025-11-06T21:00:31.300Z] [21:00:08.724] Using default package resource overrides.wxi [Overrides WiX project file] (add overrides.wxi to the resource-dir to customize). [2025-11-06T21:00:31.300Z] [21:00:08.726] Preparing MSI config: C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\.\testPackage\output\EmptyFolderPackageTest-1.0.msi. [2025-11-06T21:00:31.300Z] [21:00:08.728] Generating MSI: C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\.\testPackage\output\EmptyFolderPackageTest-1.0.msi. [2025-11-06T21:00:31.300Z] [21:00:08.734] Running C:\Program Files (x86)\WiX Toolset v3.14\bin\candle.exe in C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage9647401563445101543\images\win-msi.image\EmptyFolderPackageTest [2025-11-06T21:00:31.300Z] [21:00:08.948] Command [PID: 7544]: [2025-11-06T21:00:31.300Z] C:\Program Files (x86)\WiX Toolset v3.14\bin\candle.exe -nologo C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage9647401563445101543\config\main.wxs -ext WixUtilExtension -arch x86 -out C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage9647401563445101543\wixobj\main.wixobj -dJpAppDescription=EmptyFolderPackageTest -dJpProductCode=f49bc025-309b-3f34-9cce-9e3cac92b8de -dJpAppName=EmptyFolderPackageTest -dJpIsSystemWide=yes -dJpAllowDowngrades=yes -dJpIcon=C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage9647401563445101543\images\win-msi.image\EmptyFolderPackageTest\EmptyFolderPackageTest.exe -dJpAppSizeKb=130127 -dJpAppVersion=1.0 -dJpAllowUpgrades=yes -dJpProductUpgradeCode=74b36052-fc0e-3e9c-98c2-47c57b9f34bd -dJpAppVendor=Unknown -dJpConfigDir=C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage9647401563445101543\config [2025-11-06T21:00:31.300Z] [21:00:08.948] Output: [2025-11-06T21:00:31.300Z] main.wxs [2025-11-06T21:00:31.300Z] [21:00:08.948] Returned: 0 [2025-11-06T21:00:31.300Z] [2025-11-06T21:00:31.300Z] [21:00:08.948] Running C:\Program Files (x86)\WiX Toolset v3.14\bin\candle.exe in C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage9647401563445101543\images\win-msi.image\EmptyFolderPackageTest [2025-11-06T21:00:31.300Z] [21:00:09.218] Command [PID: 1472]: [2025-11-06T21:00:31.300Z] C:\Program Files (x86)\WiX Toolset v3.14\bin\candle.exe -nologo C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage9647401563445101543\config\bundle.wxf -ext WixUtilExtension -arch x86 -out C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage9647401563445101543\wixobj\bundle.wixobj [2025-11-06T21:00:31.300Z] [21:00:09.219] Output: [2025-11-06T21:00:31.300Z] bundle.wxf [2025-11-06T21:00:31.300Z] [21:00:09.219] Returned: 0 [2025-11-06T21:00:31.300Z] [2025-11-06T21:00:31.300Z] [21:00:09.219] Running C:\Program Files (x86)\WiX Toolset v3.14\bin\candle.exe in C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage9647401563445101543\images\win-msi.image\EmptyFolderPackageTest [2025-11-06T21:00:31.300Z] [21:00:09.382] Command [PID: 16100]: [2025-11-06T21:00:31.300Z] C:\Program Files (x86)\WiX Toolset v3.14\bin\candle.exe -nologo C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage9647401563445101543\config\ui.wxf -ext WixUtilExtension -arch x86 -out C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage9647401563445101543\wixobj\ui.wixobj [2025-11-06T21:00:31.300Z] [21:00:09.382] Output: [2025-11-06T21:00:31.300Z] ui.wxf [2025-11-06T21:00:31.300Z] [21:00:09.382] Returned: 0 [2025-11-06T21:00:31.300Z] [2025-11-06T21:00:31.300Z] [21:00:09.383] Running C:\Program Files (x86)\WiX Toolset v3.14\bin\light.exe in C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage9647401563445101543\images\win-msi.image\EmptyFolderPackageTest [2025-11-06T21:00:31.300Z] [21:00:24.278] Command [PID: 6564]: [2025-11-06T21:00:31.300Z] C:\Program Files (x86)\WiX Toolset v3.14\bin\light.exe -nologo -spdb -ext WixUtilExtension -out C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\.\testPackage\output\EmptyFolderPackageTest-1.0.msi -sice:ICE27 -loc C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage9647401563445101543\config\MsiInstallerStrings_en.wxl -cultures:en-us C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage9647401563445101543\wixobj\main.wixobj C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage9647401563445101543\wixobj\bundle.wixobj C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage9647401563445101543\wixobj\ui.wixobj [2025-11-06T21:00:31.300Z] [21:00:24.278] Output: [2025-11-06T21:00:31.300Z] light.exe : error LGHT0217 : Error executing ICE action 'ICE01'. The most common cause of this kind of ICE failure is an incorrectly registered scripting engine. See http://wixtoolset.org/documentation/error217/ for details and how to solve this problem. The following string format was not expected by the external UI message logger: "The Windows Installer Service could not be accessed. This can occur if the Windows Installer is not correctly installed. Contact your support personnel for assistance.". [2025-11-06T21:00:31.300Z] light.exe : error LGHT0217 : Error executing ICE action 'ICE02'. The most common cause of this kind of ICE failure is an incorrectly registered scripting engine. See http://wixtoolset.org/documentation/error217/ for details and how to solve this problem. The following string format was not expected by the external UI message logger: "The Windows Installer Service could not be accessed. This can occur if the Windows Installer is not correctly installed. Contact your support personnel for assistance.". [2025-11-06T21:00:31.301Z] light.exe : error LGHT0217 : Error executing ICE action 'ICE03'. The most common cause of this kind of ICE failure is an incorrectly registered scripting engine. See http://wixtoolset.org/documentation/error217/ for details and how to solve this problem. The following string format was not expected by the external UI message logger: "The Windows Installer Service could not be accessed. This can occur if the Windows Installer is not correctly installed. Contact your support personnel for assistance.". [2025-11-06T21:00:31.301Z] light.exe : error LGHT0217 : Error executing ICE action 'ICE04'. The most common cause of this kind of ICE failure is an incorrectly registered scripting engine. See http://wixtoolset.org/documentation/error217/ for details and how to solve this problem. The following string format was not expected by the external UI message logger: "The Windows Installer Service could not be accessed. This can occur if the Windows Installer is not correctly installed. Contact your support personnel for assistance.". [2025-11-06T21:00:31.301Z] light.exe : error LGHT0217 : Error executing ICE action 'ICE05'. The most common cause of this kind of ICE failure is an incorrectly registered scripting engine. See http://wixtoolset.org/documentation/error217/ for details and how to solve this problem. The following string format was not expected by the external UI message logger: "The Windows Installer Service could not be accessed. This can occur if the Windows Installer is not correctly installed. Contact your support personnel for assistance.". [2025-11-06T21:00:31.301Z] light.exe : error LGHT0217 : Error executing ICE action 'ICE06'. The most common cause of this kind of ICE failure is an incorrectly registered scripting engine. See http://wixtoolset.org/documentation/error217/ for details and how to solve this problem. The following string format was not expected by the external UI message logger: "The Windows Installer Service could not be accessed. This can occur if the Windows Installer is not correctly installed. Contact your support personnel for assistance.". [2025-11-06T21:00:31.301Z] light.exe : error LGHT0217 : Error executing ICE action 'ICE07'. The most common cause of this kind of ICE failure is an incorrectly registered scripting engine. See http://wixtoolset.org/documentation/error217/ for details and how to solve this problem. The following string format was not expected by the external UI message logger: "The Windows Installer Service could not be accessed. This can occur if the Windows Installer is not correctly installed. Contact your support personnel for assistance.". [2025-11-06T21:00:31.301Z] light.exe : error LGHT0216 : An unexpected Win32 exception with error code 0x643 occurred: Action - 'ICE09' Fatal error during installation [2025-11-06T21:00:31.301Z] [21:00:24.278] Returned: 216 [2025-11-06T21:00:31.301Z] [2025-11-06T21:00:31.301Z] [21:00:24.279] java.io.IOException: Command [C:\Program Files (x86)\WiX Toolset v3.14\bin\light.exe, -nologo, -spdb, -ext, WixUtilExtension, -out, C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\.\testPackage\output\EmptyFolderPackageTest-1.0.msi, -sice:ICE27, -loc, C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage9647401563445101543\config\MsiInstallerStrings_en.wxl, -cultures:en-us, C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage9647401563445101543\wixobj\main.wixobj, C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage9647401563445101543\wixobj\bundle.wixobj, C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage9647401563445101543\wixobj\ui.wixobj] in C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage9647401563445101543\images\win-msi.image\EmptyFolderPackageTest exited with 216 code [2025-11-06T21:00:31.301Z] at jdk.jpackage/jdk.jpackage.internal.Executor.executeExpectSuccess(Executor.java:90) [2025-11-06T21:00:31.301Z] at jdk.jpackage/jdk.jpackage.internal.WixPipeline.execute(WixPipeline.java:135) [2025-11-06T21:00:31.301Z] at jdk.jpackage/jdk.jpackage.internal.WixPipeline.buildMsi(WixPipeline.java:99) [2025-11-06T21:00:31.301Z] at jdk.jpackage/jdk.jpackage.internal.WinMsiBundler.buildMSI(WinMsiBundler.java:557) [2025-11-06T21:00:31.301Z] at jdk.jpackage/jdk.jpackage.internal.WinMsiBundler.execute(WinMsiBundler.java:416) [2025-11-06T21:00:31.301Z] at jdk.jpackage/jdk.jpackage.internal.Arguments.generateBundle(Arguments.java:674) [2025-11-06T21:00:31.301Z] at jdk.jpackage/jdk.jpackage.internal.Arguments.processArguments(Arguments.java:551) [2025-11-06T21:00:31.301Z] at jdk.jpackage/jdk.jpackage.main.Main.execute(Main.java:91) [2025-11-06T21:00:31.301Z] at jdk.jpackage/jdk.jpackage.main.Main.main(Main.java:52) [2025-11-06T21:00:31.301Z] [21:00:24.423] jdk.jpackage.internal.PackagerException: java.io.IOException: Command [C:\Program Files (x86)\WiX Toolset v3.14\bin\light.exe, -nologo, -spdb, -ext, WixUtilExtension, -out, C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\.\testPackage\output\EmptyFolderPackageTest-1.0.msi, -sice:ICE27, -loc, C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage9647401563445101543\config\MsiInstallerStrings_en.wxl, -cultures:en-us, C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage9647401563445101543\wixobj\main.wixobj, C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage9647401563445101543\wixobj\bundle.wixobj, C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage9647401563445101543\wixobj\ui.wixobj] in C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage9647401563445101543\images\win-msi.image\EmptyFolderPackageTest exited with 216 code [2025-11-06T21:00:31.301Z] at jdk.jpackage/jdk.jpackage.internal.WinMsiBundler.execute(WinMsiBundler.java:419) [2025-11-06T21:00:31.301Z] at jdk.jpackage/jdk.jpackage.internal.Arguments.generateBundle(Arguments.java:674) [2025-11-06T21:00:31.301Z] at jdk.jpackage/jdk.jpackage.internal.Arguments.processArguments(Arguments.java:551) [2025-11-06T21:00:31.301Z] at jdk.jpackage/jdk.jpackage.main.Main.execute(Main.java:91) [2025-11-06T21:00:31.301Z] at jdk.jpackage/jdk.jpackage.main.Main.main(Main.java:52) [2025-11-06T21:00:31.301Z] Caused by: java.io.IOException: Command [C:\Program Files (x86)\WiX Toolset v3.14\bin\light.exe, -nologo, -spdb, -ext, WixUtilExtension, -out, C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2\.\testPackage\output\EmptyFolderPackageTest-1.0.msi, -sice:ICE27, -loc, C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage9647401563445101543\config\MsiInstallerStrings_en.wxl, -cultures:en-us, C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage9647401563445101543\wixobj\main.wixobj, C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage9647401563445101543\wixobj\bundle.wixobj, C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage9647401563445101543\wixobj\ui.wixobj] in C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage9647401563445101543\images\win-msi.image\EmptyFolderPackageTest exited with 216 code [2025-11-06T21:00:31.301Z] at jdk.jpackage/jdk.jpackage.internal.Executor.executeExpectSuccess(Executor.java:90) [2025-11-06T21:00:31.301Z] at jdk.jpackage/jdk.jpackage.internal.WixPipeline.execute(WixPipeline.java:135) [2025-11-06T21:00:31.301Z] at jdk.jpackage/jdk.jpackage.internal.WixPipeline.buildMsi(WixPipeline.java:99) [2025-11-06T21:00:31.301Z] at jdk.jpackage/jdk.jpackage.internal.WinMsiBundler.buildMSI(WinMsiBundler.java:557) [2025-11-06T21:00:31.301Z] at jdk.jpackage/jdk.jpackage.internal.WinMsiBundler.execute(WinMsiBundler.java:416) [2025-11-06T21:00:31.301Z] ... 4 more [2025-11-06T21:00:31.301Z] [21:00:24.456] TRACE: exec: Done. Exit code: 1 [2025-11-06T21:00:31.301Z] [21:00:24.456] ERROR: Expected [0]. Actual [1]: Check command [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\testPackage\input --dest .\testPackage\output --name EmptyFolderPackageTest --type msi --main-jar hello.jar --main-class Hello --win-console --verbose](15) exited with 0 code [2025-11-06T21:00:31.301Z] [21:00:24.457] [ FAILED ] EmptyFolderTest.testPackage; checks=3 [2025-11-06T21:00:31.301Z] [21:00:24.459] [==========] 1 tests ran [2025-11-06T21:00:31.301Z] [21:00:24.459] [ PASSED ] 0 tests [2025-11-06T21:00:31.301Z] [21:00:24.460] [ FAILED ] 1 test, listed below [2025-11-06T21:00:31.301Z] [21:00:24.461] [ FAILED ] EmptyFolderTest.testPackage; workDir=[.\testPackage] [2025-11-06T21:00:31.301Z] [21:00:24.461] 1 FAILED TEST [2025-11-06T21:00:31.301Z] STDERR: [2025-11-06T21:00:31.301Z] java.lang.AssertionError: Expected [0]. Actual [1]: Check command [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\testPackage\input --dest .\testPackage\output --name EmptyFolderPackageTest --type msi --main-jar hello.jar --main-class Hello --win-console --verbose](15) exited with 0 code [2025-11-06T21:00:31.301Z] at jdk.jpackage.test.TKit.error(TKit.java:269) [2025-11-06T21:00:31.301Z] at jdk.jpackage.test.TKit.assertEquals(TKit.java:588) [2025-11-06T21:00:31.301Z] at jdk.jpackage.test.Executor$Result.assertExitCodeIs(Executor.java:197) [2025-11-06T21:00:31.301Z] at jdk.jpackage.test.Executor.execute(Executor.java:237) [2025-11-06T21:00:31.301Z] at jdk.jpackage.test.JPackageCommand.execute(JPackageCommand.java:734) [2025-11-06T21:00:31.301Z] at jdk.jpackage.test.PackageTest$Handler.accept(PackageTest.java:532) [2025-11-06T21:00:31.301Z] at jdk.jpackage.test.PackageTest$2.accept(PackageTest.java:460) [2025-11-06T21:00:31.301Z] at jdk.jpackage.test.PackageTest$2.accept(PackageTest.java:397) [2025-11-06T21:00:31.301Z] at jdk.jpackage.test.Functional$ThrowingConsumer.lambda$toConsumer$0(Functional.java:41) [2025-11-06T21:00:31.301Z] at java.base/java.lang.Iterable.forEach(Iterable.java:75) [2025-11-06T21:00:31.301Z] at jdk.jpackage.test.PackageTest.lambda$runActions$21(PackageTest.java:361) [2025-11-06T21:00:31.301Z] at java.base/java.util.ArrayList.forEach(ArrayList.java:1511) [2025-11-06T21:00:31.301Z] at jdk.jpackage.test.PackageTest.lambda$runActions$22(PackageTest.java:360) [2025-11-06T21:00:31.301Z] at java.base/java.util.ArrayList.forEach(ArrayList.java:1511) [2025-11-06T21:00:31.301Z] at jdk.jpackage.test.PackageTest.runActions(PackageTest.java:359) [2025-11-06T21:00:31.301Z] at jdk.jpackage.test.RunnablePackageTest.run(RunnablePackageTest.java:57) [2025-11-06T21:00:31.301Z] at EmptyFolderTest.testPackage(EmptyFolderTest.java:69) [2025-11-06T21:00:31.301Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [2025-11-06T21:00:31.301Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) [2025-11-06T21:00:31.301Z] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [2025-11-06T21:00:31.301Z] at java.base/java.lang.reflect.Method.invoke(Method.java:569) [2025-11-06T21:00:31.301Z] at jdk.jpackage.test.MethodCall.accept(MethodCall.java:145) [2025-11-06T21:00:31.301Z] at jdk.jpackage.test.TestInstance.run(TestInstance.java:230) [2025-11-06T21:00:31.301Z] at jdk.jpackage.test.TKit.lambda$ignoreExceptions$5(TKit.java:148) [2025-11-06T21:00:31.301Z] at jdk.jpackage.test.TKit.lambda$runTests$3(TKit.java:133) [2025-11-06T21:00:31.301Z] at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1625) [2025-11-06T21:00:31.301Z] at java.base/java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:762) [2025-11-06T21:00:31.301Z] at jdk.jpackage.test.TKit.lambda$runTests$4(TKit.java:130) [2025-11-06T21:00:31.301Z] at jdk.jpackage.test.Functional$ThrowingRunnable.lambda$toRunnable$0(Functional.java:105) [2025-11-06T21:00:31.301Z] at jdk.jpackage.test.TKit.withExtraLogStream(TKit.java:117) [2025-11-06T21:00:31.301Z] at jdk.jpackage.test.TKit.withExtraLogStream(TKit.java:108) [2025-11-06T21:00:31.301Z] at jdk.jpackage.test.TKit.runTests(TKit.java:129) [2025-11-06T21:00:31.301Z] at jdk.jpackage.test.Main.runTests(Main.java:79) [2025-11-06T21:00:31.301Z] at jdk.jpackage.test.Main.lambda$main$2(Main.java:75) [2025-11-06T21:00:31.301Z] at jdk.jpackage.test.Functional$ThrowingRunnable.lambda$toRunnable$0(Functional.java:105) [2025-11-06T21:00:31.301Z] at jdk.jpackage.test.TKit.withExtraLogStream(TKit.java:117) [2025-11-06T21:00:31.301Z] at jdk.jpackage.test.TKit.withExtraLogStream(TKit.java:108) [2025-11-06T21:00:31.301Z] at jdk.jpackage.test.Main.main(Main.java:75) [2025-11-06T21:00:31.302Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [2025-11-06T21:00:31.302Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) [2025-11-06T21:00:31.302Z] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [2025-11-06T21:00:31.302Z] at java.base/java.lang.reflect.Method.invoke(Method.java:569) [2025-11-06T21:00:31.302Z] at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138) [2025-11-06T21:00:31.302Z] at java.base/java.lang.Thread.run(Thread.java:840) [2025-11-06T21:00:31.302Z] java.lang.RuntimeException: 1 FAILED TEST [2025-11-06T21:00:31.302Z] at jdk.jpackage.test.Main.reportSummary(Main.java:130) [2025-11-06T21:00:31.302Z] at jdk.jpackage.test.Main.runTests(Main.java:90) [2025-11-06T21:00:31.302Z] at jdk.jpackage.test.Main.lambda$main$2(Main.java:75) [2025-11-06T21:00:31.302Z] at jdk.jpackage.test.Functional$ThrowingRunnable.lambda$toRunnable$0(Functional.java:105) [2025-11-06T21:00:31.302Z] at jdk.jpackage.test.TKit.withExtraLogStream(TKit.java:117) [2025-11-06T21:00:31.302Z] at jdk.jpackage.test.TKit.withExtraLogStream(TKit.java:108) [2025-11-06T21:00:31.302Z] at jdk.jpackage.test.Main.main(Main.java:75) [2025-11-06T21:00:31.302Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [2025-11-06T21:00:31.302Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) [2025-11-06T21:00:31.302Z] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [2025-11-06T21:00:31.302Z] at java.base/java.lang.reflect.Method.invoke(Method.java:569) [2025-11-06T21:00:31.302Z] at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138) [2025-11-06T21:00:31.302Z] at java.base/java.lang.Thread.run(Thread.java:840) [2025-11-06T21:00:31.302Z] [2025-11-06T21:00:31.302Z] JavaTest Message: Test threw exception: java.lang.RuntimeException: 1 FAILED TEST [2025-11-06T21:00:31.302Z] JavaTest Message: shutting down test [2025-11-06T21:00:31.302Z] [2025-11-06T21:00:31.302Z] STATUS:Failed.`main' threw exception: java.lang.RuntimeException: 1 FAILED TEST [2025-11-06T21:00:31.302Z] rerun: [2025-11-06T21:00:31.302Z] cd 'C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2' && \ [2025-11-06T21:00:31.302Z] PATH='C:\Program Files\Eclipse Adoptium\jdk-21.0.8.9-hotspot\bin;C:\cygwin64\bin;C:\Windows;C:\windows\system32;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\Microsoft SQL Server\120\Tools\Binn;C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.0;C:\Program Files (x86)\IncrediBuild;C:\rust\bin;C:\Program Files\IcedTeaWEB\bin;C:\Users\adoptopenjdk\AppData\Local\Microsoft\WindowsApps;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit;C:\Users\jenkins.test-azure-win2\AppData\Local\Microsoft\WindowsApps' \ [2025-11-06T21:00:31.302Z] SystemDrive=C: \ [2025-11-06T21:00:31.302Z] SystemRoot='C:\Windows' \ [2025-11-06T21:00:31.302Z] TEMP='C:\Users\JENKIN~1.TES\AppData\Local\Temp' \ [2025-11-06T21:00:31.302Z] TMP='C:\Users\JENKIN~1.TES\AppData\Local\Temp' \ [2025-11-06T21:00:31.302Z] windir='C:\Windows' \ [2025-11-06T21:00:31.302Z] CLASSPATH='C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\classes\2\tools\jpackage\share\EmptyFolderTest_id0.d;C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\share;C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\classes\2\test\jdk\tools\jpackage\helpers;C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\helpers;C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jvmtest\openjdk\jtreg\lib\javatest.jar;C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jvmtest\openjdk\jtreg\lib\jtreg.jar' \ [2025-11-06T21:00:31.302Z] 'c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image\bin\java' \ [2025-11-06T21:00:31.302Z] -Dtest.vm.opts='-ea -esa -Xmx512m' \ [2025-11-06T21:00:31.302Z] -Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m' \ [2025-11-06T21:00:31.302Z] -Dtest.compiler.opts= \ [2025-11-06T21:00:31.302Z] -Dtest.java.opts= \ [2025-11-06T21:00:31.302Z] -Dtest.jdk='c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image' \ [2025-11-06T21:00:31.302Z] -Dcompile.jdk='c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image' \ [2025-11-06T21:00:31.302Z] -Dtest.timeout.factor=8.0 \ [2025-11-06T21:00:31.302Z] -Dtest.nativepath='c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\openjdk-test-image\jdk\jtreg\native' \ [2025-11-06T21:00:31.302Z] -Dtest.root='C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk' \ [2025-11-06T21:00:31.302Z] -Dtest.name=tools/jpackage/share/EmptyFolderTest.java#id0 \ [2025-11-06T21:00:31.302Z] -Dtest.file='C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\share\EmptyFolderTest.java' \ [2025-11-06T21:00:31.302Z] -Dtest.src='C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\share' \ [2025-11-06T21:00:31.302Z] -Dtest.src.path='C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\share;C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\helpers' \ [2025-11-06T21:00:31.302Z] -Dtest.classes='C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\classes\2\tools\jpackage\share\EmptyFolderTest_id0.d' \ [2025-11-06T21:00:31.302Z] -Dtest.class.path='C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\classes\2\tools\jpackage\share\EmptyFolderTest_id0.d;C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\classes\2\test\jdk\tools\jpackage\helpers' \ [2025-11-06T21:00:31.302Z] -Dtest.class.path.prefix='C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\classes\2\tools\jpackage\share\EmptyFolderTest_id0.d;C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\share;C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\classes\2\test\jdk\tools\jpackage\helpers' \ [2025-11-06T21:00:31.302Z] -Dtest.modules='jdk.jpackage/jdk.jpackage.internal:+open java.base/jdk.internal.util' \ [2025-11-06T21:00:31.302Z] --add-modules jdk.jpackage,java.base \ [2025-11-06T21:00:31.302Z] --add-exports jdk.jpackage/jdk.jpackage.internal=ALL-UNNAMED \ [2025-11-06T21:00:31.302Z] --add-opens jdk.jpackage/jdk.jpackage.internal=ALL-UNNAMED \ [2025-11-06T21:00:31.302Z] --add-exports java.base/jdk.internal.util=ALL-UNNAMED \ [2025-11-06T21:00:31.302Z] -ea \ [2025-11-06T21:00:31.302Z] -esa \ [2025-11-06T21:00:31.302Z] -Xmx512m \ [2025-11-06T21:00:31.302Z] '-Djava.library.path=c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\openjdk-test-image\jdk\jtreg\native' \ [2025-11-06T21:00:31.302Z] -Xmx512m \ [2025-11-06T21:00:31.302Z] com.sun.javatest.regtest.agent.MainWrapper 'C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\tools\jpackage\share\EmptyFolderTest_id0.d\main.0.jta' --jpt-run=EmptyFolderTest.testPackage [2025-11-06T21:00:31.302Z] [2025-11-06T21:00:31.302Z] TEST RESULT: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: 1 FAILED TEST [2025-11-06T21:00:31.302Z] -------------------------------------------------- [2025-11-06T21:01:54.278Z] TEST: tools/jpackage/share/IconTest.java [2025-11-06T21:01:54.278Z] TEST JDK: c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image [2025-11-06T21:01:54.278Z] [2025-11-06T21:01:54.278Z] ACTION: build -- Passed. All files up to date [2025-11-06T21:01:54.278Z] REASON: User specified action: run build jdk.jpackage.test.* [2025-11-06T21:01:54.278Z] TIME: 0.006 seconds [2025-11-06T21:01:54.278Z] messages: [2025-11-06T21:01:54.278Z] command: build jdk.jpackage.test.* [2025-11-06T21:01:54.278Z] reason: User specified action: run build jdk.jpackage.test.* [2025-11-06T21:01:54.278Z] started: Thu Nov 06 21:00:37 UTC 2025 [2025-11-06T21:01:54.278Z] finished: Thu Nov 06 21:00:37 UTC 2025 [2025-11-06T21:01:54.278Z] elapsed time (seconds): 0.006 [2025-11-06T21:01:54.278Z] [2025-11-06T21:01:54.278Z] ACTION: compile -- Passed. Compilation successful [2025-11-06T21:01:54.278Z] REASON: User specified action: run compile IconTest.java [2025-11-06T21:01:54.278Z] TIME: 0.124 seconds [2025-11-06T21:01:54.278Z] messages: [2025-11-06T21:01:54.278Z] command: compile C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\share\IconTest.java [2025-11-06T21:01:54.278Z] reason: User specified action: run compile IconTest.java [2025-11-06T21:01:54.278Z] started: Thu Nov 06 21:00:37 UTC 2025 [2025-11-06T21:01:54.278Z] Additional options from @modules: --add-modules jdk.jpackage,java.base --add-exports jdk.jpackage/jdk.jpackage.internal=ALL-UNNAMED --add-exports java.base/jdk.internal.util=ALL-UNNAMED [2025-11-06T21:01:54.278Z] Mode: agentvm [2025-11-06T21:01:54.278Z] Agent id: 1 [2025-11-06T21:01:54.278Z] finished: Thu Nov 06 21:00:37 UTC 2025 [2025-11-06T21:01:54.278Z] elapsed time (seconds): 0.124 [2025-11-06T21:01:54.278Z] configuration: [2025-11-06T21:01:54.278Z] Boot Layer (javac runtime environment) [2025-11-06T21:01:54.278Z] class path: C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jvmtest\openjdk\jtreg\lib\javatest.jar [2025-11-06T21:01:54.278Z] C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jvmtest\openjdk\jtreg\lib\jtreg.jar [2025-11-06T21:01:54.278Z] patch: java.base C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\patches\java.base [2025-11-06T21:01:54.278Z] [2025-11-06T21:01:54.278Z] javac compilation environment [2025-11-06T21:01:54.278Z] add modules: jdk.jpackage java.base [2025-11-06T21:01:54.278Z] add exports: java.base/jdk.internal.util ALL-UNNAMED [2025-11-06T21:01:54.278Z] jdk.jpackage/jdk.jpackage.internal ALL-UNNAMED [2025-11-06T21:01:54.278Z] source path: C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\share [2025-11-06T21:01:54.278Z] C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\helpers [2025-11-06T21:01:54.278Z] class path: C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\share [2025-11-06T21:01:54.278Z] C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\classes\1\tools\jpackage\share\IconTest.d [2025-11-06T21:01:54.278Z] C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\classes\1\test\jdk\tools\jpackage\helpers [2025-11-06T21:01:54.278Z] [2025-11-06T21:01:54.278Z] rerun: [2025-11-06T21:01:54.278Z] cd 'C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0' && \ [2025-11-06T21:01:54.279Z] PATH='C:\Program Files\Eclipse Adoptium\jdk-21.0.8.9-hotspot\bin;C:\cygwin64\bin;C:\Windows;C:\windows\system32;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\Microsoft SQL Server\120\Tools\Binn;C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.0;C:\Program Files (x86)\IncrediBuild;C:\rust\bin;C:\Program Files\IcedTeaWEB\bin;C:\Users\adoptopenjdk\AppData\Local\Microsoft\WindowsApps;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit;C:\Users\jenkins.test-azure-win2\AppData\Local\Microsoft\WindowsApps' \ [2025-11-06T21:01:54.279Z] SystemDrive=C: \ [2025-11-06T21:01:54.279Z] SystemRoot='C:\Windows' \ [2025-11-06T21:01:54.279Z] TEMP='C:\Users\JENKIN~1.TES\AppData\Local\Temp' \ [2025-11-06T21:01:54.279Z] TMP='C:\Users\JENKIN~1.TES\AppData\Local\Temp' \ [2025-11-06T21:01:54.279Z] windir='C:\Windows' \ [2025-11-06T21:01:54.279Z] 'c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image\bin\javac' \ [2025-11-06T21:01:54.279Z] -J-ea \ [2025-11-06T21:01:54.279Z] -J-esa \ [2025-11-06T21:01:54.279Z] -J-Xmx512m \ [2025-11-06T21:01:54.279Z] -J-Dtest.vm.opts='-ea -esa -Xmx512m' \ [2025-11-06T21:01:54.279Z] -J-Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m' \ [2025-11-06T21:01:54.279Z] -J-Dtest.compiler.opts= \ [2025-11-06T21:01:54.279Z] -J-Dtest.java.opts= \ [2025-11-06T21:01:54.279Z] -J-Dtest.jdk='c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image' \ [2025-11-06T21:01:54.279Z] -J-Dcompile.jdk='c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image' \ [2025-11-06T21:01:54.279Z] -J-Dtest.timeout.factor=8.0 \ [2025-11-06T21:01:54.279Z] -J-Dtest.nativepath='c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\openjdk-test-image\jdk\jtreg\native' \ [2025-11-06T21:01:54.279Z] -J-Dtest.root='C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk' \ [2025-11-06T21:01:54.279Z] -J-Dtest.name=tools/jpackage/share/IconTest.java \ [2025-11-06T21:01:54.279Z] -J-Dtest.file='C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\share\IconTest.java' \ [2025-11-06T21:01:54.279Z] -J-Dtest.src='C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\share' \ [2025-11-06T21:01:54.279Z] -J-Dtest.src.path='C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\share;C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\helpers' \ [2025-11-06T21:01:54.279Z] -J-Dtest.classes='C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\classes\1\tools\jpackage\share\IconTest.d' \ [2025-11-06T21:01:54.279Z] -J-Dtest.class.path='C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\classes\1\tools\jpackage\share\IconTest.d;C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\classes\1\test\jdk\tools\jpackage\helpers' \ [2025-11-06T21:01:54.279Z] -J-Dtest.class.path.prefix='C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\classes\1\tools\jpackage\share\IconTest.d;C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\share;C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\classes\1\test\jdk\tools\jpackage\helpers' \ [2025-11-06T21:01:54.279Z] -J-Dtest.modules='jdk.jpackage/jdk.jpackage.internal:+open java.base/jdk.internal.util' \ [2025-11-06T21:01:54.279Z] --add-modules jdk.jpackage,java.base \ [2025-11-06T21:01:54.279Z] --add-exports jdk.jpackage/jdk.jpackage.internal=ALL-UNNAMED \ [2025-11-06T21:01:54.279Z] --add-exports java.base/jdk.internal.util=ALL-UNNAMED \ [2025-11-06T21:01:54.279Z] -d 'C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\classes\1\tools\jpackage\share\IconTest.d' \ [2025-11-06T21:01:54.279Z] -sourcepath 'C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\share;C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\helpers' \ [2025-11-06T21:01:54.279Z] -classpath 'C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\share;C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\classes\1\tools\jpackage\share\IconTest.d;C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\classes\1\test\jdk\tools\jpackage\helpers' 'C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\share\IconTest.java' [2025-11-06T21:01:54.279Z] [2025-11-06T21:01:54.279Z] ACTION: build -- Passed. All files up to date [2025-11-06T21:01:54.279Z] REASON: Named class compiled on demand [2025-11-06T21:01:54.279Z] TIME: 0.001 seconds [2025-11-06T21:01:54.279Z] messages: [2025-11-06T21:01:54.279Z] command: build jdk.jpackage.test.Main [2025-11-06T21:01:54.279Z] reason: Named class compiled on demand [2025-11-06T21:01:54.279Z] started: Thu Nov 06 21:00:37 UTC 2025 [2025-11-06T21:01:54.279Z] finished: Thu Nov 06 21:00:37 UTC 2025 [2025-11-06T21:01:54.279Z] elapsed time (seconds): 0.001 [2025-11-06T21:01:54.279Z] [2025-11-06T21:01:54.279Z] ACTION: main -- Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: 1 FAILED TEST [2025-11-06T21:01:54.279Z] REASON: User specified action: run main/othervm/timeout=540 -Xmx512m --add-opens jdk.jpackage/jdk.jpackage.internal=ALL-UNNAMED jdk.jpackage.test.Main --jpt-run=IconTest [2025-11-06T21:01:54.279Z] TIME: 67.458 seconds [2025-11-06T21:01:54.279Z] messages: [2025-11-06T21:01:54.279Z] command: main -Xmx512m --add-opens jdk.jpackage/jdk.jpackage.internal=ALL-UNNAMED jdk.jpackage.test.Main --jpt-run=IconTest [2025-11-06T21:01:54.279Z] reason: User specified action: run main/othervm/timeout=540 -Xmx512m --add-opens jdk.jpackage/jdk.jpackage.internal=ALL-UNNAMED jdk.jpackage.test.Main --jpt-run=IconTest [2025-11-06T21:01:54.279Z] started: Thu Nov 06 21:00:44 UTC 2025 [2025-11-06T21:01:54.279Z] Mode: othervm [/othervm specified] [2025-11-06T21:01:54.279Z] Additional options from @modules: --add-modules jdk.jpackage,java.base --add-exports jdk.jpackage/jdk.jpackage.internal=ALL-UNNAMED --add-opens jdk.jpackage/jdk.jpackage.internal=ALL-UNNAMED --add-exports java.base/jdk.internal.util=ALL-UNNAMED [2025-11-06T21:01:54.279Z] finished: Thu Nov 06 21:01:51 UTC 2025 [2025-11-06T21:01:54.279Z] elapsed time (seconds): 67.458 [2025-11-06T21:01:54.279Z] configuration: [2025-11-06T21:01:54.279Z] Boot Layer [2025-11-06T21:01:54.279Z] add modules: jdk.jpackage java.base [2025-11-06T21:01:54.279Z] add exports: java.base/jdk.internal.util ALL-UNNAMED [2025-11-06T21:01:54.279Z] jdk.jpackage/jdk.jpackage.internal ALL-UNNAMED [2025-11-06T21:01:54.279Z] add opens: jdk.jpackage/jdk.jpackage.internal ALL-UNNAMED [2025-11-06T21:01:54.279Z] [2025-11-06T21:01:54.279Z] STDOUT: [2025-11-06T21:01:54.279Z] [21:00:44.718] Parsing [--jpt-run=IconTest]... [2025-11-06T21:01:54.279Z] [21:00:44.755] IconTest.test -> [public void IconTest.test() throws java.io.IOException] [2025-11-06T21:01:54.279Z] [21:00:44.794] Create: IconTest(AppImage, DefaultIcon, DefaultIcon).test [2025-11-06T21:01:54.279Z] [21:00:44.795] Create: IconTest(AppImage, DefaultIcon, NoIcon).test [2025-11-06T21:01:54.279Z] [21:00:44.795] Create: IconTest(AppImage, DefaultIcon, CustomIcon).test [2025-11-06T21:01:54.279Z] [21:00:44.796] Create: IconTest(AppImage, DefaultIcon, ResourceDirIcon).test [2025-11-06T21:01:54.279Z] [21:00:44.796] Create: IconTest(AppImage, DefaultIcon, CustomWithResourceDirIcon).test [2025-11-06T21:01:54.279Z] [21:00:44.796] Create: IconTest(AppImage, CustomIcon, DefaultIcon).test [2025-11-06T21:01:54.279Z] [21:00:44.797] Create: IconTest(AppImage, CustomIcon, NoIcon).test [2025-11-06T21:01:54.279Z] [21:00:44.797] Create: IconTest(AppImage, CustomIcon, CustomIcon).test [2025-11-06T21:01:54.279Z] [21:00:44.797] Create: IconTest(AppImage, CustomIcon, ResourceDirIcon).test [2025-11-06T21:01:54.279Z] [21:00:44.798] Create: IconTest(AppImage, CustomIcon, CustomWithResourceDirIcon).test [2025-11-06T21:01:54.279Z] [21:00:44.798] Create: IconTest(AppImage, ResourceDirIcon, DefaultIcon).test [2025-11-06T21:01:54.279Z] [21:00:44.798] Create: IconTest(AppImage, ResourceDirIcon, NoIcon).test [2025-11-06T21:01:54.279Z] [21:00:44.798] Create: IconTest(AppImage, ResourceDirIcon, CustomIcon).test [2025-11-06T21:01:54.279Z] [21:00:44.799] Create: IconTest(AppImage, ResourceDirIcon, ResourceDirIcon).test [2025-11-06T21:01:54.279Z] [21:00:44.799] Create: IconTest(AppImage, ResourceDirIcon, CustomWithResourceDirIcon).test [2025-11-06T21:01:54.279Z] [21:00:44.799] Create: IconTest(AppImage, CustomWithResourceDirIcon, DefaultIcon).test [2025-11-06T21:01:54.279Z] [21:00:44.800] Create: IconTest(AppImage, CustomWithResourceDirIcon, NoIcon).test [2025-11-06T21:01:54.279Z] [21:00:44.800] Create: IconTest(AppImage, CustomWithResourceDirIcon, CustomIcon).test [2025-11-06T21:01:54.279Z] [21:00:44.800] Create: IconTest(AppImage, CustomWithResourceDirIcon, ResourceDirIcon).test [2025-11-06T21:01:54.279Z] [21:00:44.801] Create: IconTest(AppImage, CustomWithResourceDirIcon, CustomWithResourceDirIcon).test [2025-11-06T21:01:54.279Z] [21:00:44.802] [ RUN ] IconTest(AppImage, CustomIcon, CustomIcon).test [2025-11-06T21:01:54.279Z] [21:00:45.088] TRACE: Bundler msi supported [2025-11-06T21:01:54.279Z] [21:00:45.283] TRACE: Bundler exe supported [2025-11-06T21:01:54.279Z] [21:00:45.322] TRACE: exec: Execute tool provider [javac -d .\test.e40bd2ca\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4)... [2025-11-06T21:01:54.279Z] [21:00:45.959] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.279Z] [21:00:45.963] TRACE: assertEquals(0): Check command tool provider [javac -d .\test.e40bd2ca\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4) exited with 0 code [2025-11-06T21:01:54.279Z] [21:00:45.965] TRACE: exec: Execute tool provider [jar -c -f .\test.e40bd2ca\input\hello.jar -C .\test.e40bd2ca\jar-workdir .](7)... [2025-11-06T21:01:54.279Z] [21:00:46.072] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.279Z] [21:00:46.072] TRACE: assertEquals(0): Check command tool provider [jar -c -f .\test.e40bd2ca\input\hello.jar -C .\test.e40bd2ca\jar-workdir .](7) exited with 0 code [2025-11-06T21:01:54.279Z] [21:00:46.075] TRACE: Create [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.e40bd2ca\x.properties] properties file... [2025-11-06T21:01:54.279Z] [21:00:46.076] TRACE: icon=C:/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/tools/jpackage/resources/icon3.ico [2025-11-06T21:01:54.279Z] [21:00:46.078] TRACE: Done [2025-11-06T21:01:54.279Z] [21:00:46.078] TRACE: Init fake runtime in [.\test.e40bd2ca\fake_runtime] directory [2025-11-06T21:01:54.279Z] [21:00:46.083] TRACE: exec: Execute [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\test.e40bd2ca\input --dest .\test.e40bd2ca\output --name IconTest --type app-image --main-jar hello.jar --main-class Hello --win-console --icon C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon.ico --add-launcher x=.\test.e40bd2ca\x.properties --runtime-image .\test.e40bd2ca\fake_runtime --verbose](21); save output... [2025-11-06T21:01:54.279Z] [21:00:46.424] Creating app package: IconTest in C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\.\test.e40bd2ca\output [2025-11-06T21:01:54.279Z] [21:00:46.447] Using custom package resource [icon] (loaded from file C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon.ico). [2025-11-06T21:01:54.279Z] [21:00:46.472] Warning: Windows Defender may prevent jpackage from functioning. If there is an issue, it can be addressed by either disabling realtime monitoring, or adding an exclusion for the directory "C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage2279158823327102688". [2025-11-06T21:01:54.279Z] [21:00:46.475] Using default package resource WinLauncher.template [Template for creating executable properties file] (add IconTest.properties to the resource-dir to customize). [2025-11-06T21:01:54.279Z] [21:00:46.569] Using custom package resource [icon] (loaded from file C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon3.ico). [2025-11-06T21:01:54.279Z] [21:00:46.586] Warning: Windows Defender may prevent jpackage from functioning. If there is an issue, it can be addressed by either disabling realtime monitoring, or adding an exclusion for the directory "C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage2279158823327102688". [2025-11-06T21:01:54.279Z] [21:00:46.591] Using default package resource WinLauncher.template [Template for creating executable properties file] (add x.properties to the resource-dir to customize). [2025-11-06T21:01:54.279Z] [21:00:46.600] Succeeded in building Windows Application Image package [2025-11-06T21:01:54.279Z] [21:00:46.616] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.279Z] [21:00:46.616] TRACE: assertEquals(0): Check command [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\test.e40bd2ca\input --dest .\test.e40bd2ca\output --name IconTest --type app-image --main-jar hello.jar --main-class Hello --win-console --icon C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon.ico --add-launcher x=.\test.e40bd2ca\x.properties --runtime-image .\test.e40bd2ca\fake_runtime --verbose](21) exited with 0 code [2025-11-06T21:01:54.279Z] [21:00:46.621] TRACE: assertTrue(): Check [.\test.e40bd2ca\output\IconTest\x.ico] path doesn't exist [2025-11-06T21:01:54.279Z] [21:00:46.653] TRACE: exec: Execute tool provider [javac -d .\test.e40bd2ca\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4)... [2025-11-06T21:01:54.279Z] [21:00:46.831] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.280Z] [21:00:46.831] TRACE: assertEquals(0): Check command tool provider [javac -d .\test.e40bd2ca\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4) exited with 0 code [2025-11-06T21:01:54.280Z] [21:00:46.832] TRACE: Delete [.\test.e40bd2ca\input\hello.jar] existing jar file [2025-11-06T21:01:54.280Z] [21:00:46.833] TRACE: exec: Execute tool provider [jar -c -f .\test.e40bd2ca\input\hello.jar -C .\test.e40bd2ca\jar-workdir .](7)... [2025-11-06T21:01:54.280Z] [21:00:46.853] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.280Z] [21:00:46.853] TRACE: assertEquals(0): Check command tool provider [jar -c -f .\test.e40bd2ca\input\hello.jar -C .\test.e40bd2ca\jar-workdir .](7) exited with 0 code [2025-11-06T21:01:54.280Z] [21:00:46.854] TRACE: Init fake runtime in [.\test.e40bd2ca\fake_runtime] directory [2025-11-06T21:01:54.280Z] [21:00:46.857] TRACE: exec: Execute [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\test.e40bd2ca\input --dest .\test.e40bd2ca\out-8156 --name IconTest --type app-image --main-jar hello.jar --main-class Hello --win-console --runtime-image .\test.e40bd2ca\fake_runtime --verbose](17); inherit I/O... [2025-11-06T21:01:54.280Z] [21:00:47.182] Creating app package: IconTest in C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\.\test.e40bd2ca\out-8156 [2025-11-06T21:01:54.280Z] [21:00:47.208] Using default package resource JavaApp.ico [icon] (add IconTest.ico to the resource-dir to customize). [2025-11-06T21:01:54.280Z] [21:00:47.225] Warning: Windows Defender may prevent jpackage from functioning. If there is an issue, it can be addressed by either disabling realtime monitoring, or adding an exclusion for the directory "C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage15747419899458992284". [2025-11-06T21:01:54.280Z] [21:00:47.228] Using default package resource WinLauncher.template [Template for creating executable properties file] (add IconTest.properties to the resource-dir to customize). [2025-11-06T21:01:54.280Z] [21:00:47.311] Succeeded in building Windows Application Image package [2025-11-06T21:01:54.280Z] [21:00:47.324] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.280Z] [21:00:47.325] TRACE: assertEquals(0): Check command [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\test.e40bd2ca\input --dest .\test.e40bd2ca\out-8156 --name IconTest --type app-image --main-jar hello.jar --main-class Hello --win-console --runtime-image .\test.e40bd2ca\fake_runtime --verbose](17) exited with 0 code [2025-11-06T21:01:54.280Z] [21:00:47.385] TRACE: Set icon of [.\test.e40bd2ca\icons\x.exe\container.exe] launcher to [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon3.ico] file [2025-11-06T21:01:54.280Z] [21:00:47.509] TRACE: exec: Execute [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.e40bd2ca\icons\x.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.e40bd2ca\icons\x.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T21:01:54.280Z] [21:00:50.202] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.280Z] [21:00:50.203] TRACE: assertEquals(0): Check command [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.e40bd2ca\icons\x.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.e40bd2ca\icons\x.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T21:01:54.280Z] [21:00:50.203] TRACE: exec: Execute [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.e40bd2ca\output\IconTest\x.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.e40bd2ca\icons\x.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T21:01:54.280Z] [21:00:50.542] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.280Z] [21:00:50.543] TRACE: assertEquals(0): Check command [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.e40bd2ca\output\IconTest\x.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.e40bd2ca\icons\x.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T21:01:54.280Z] [21:00:50.543] TRACE: Check icon file [.\test.e40bd2ca\icons\x.exe\actual.bmp] of x launcher is a copy of source icon file [.\test.e40bd2ca\icons\x.exe\expected.bmp] [2025-11-06T21:01:54.280Z] [21:00:50.546] TRACE: assertTrue(): Check [.\test.e40bd2ca\output\IconTest\x.exe] path exists [2025-11-06T21:01:54.280Z] [21:00:50.546] TRACE: assertTrue(): Check [.\test.e40bd2ca\output\IconTest\x.exe] is a file [2025-11-06T21:01:54.280Z] [21:00:50.546] TRACE: assertTrue(): Check [.\test.e40bd2ca\output\IconTest\x.exe] file is executable [2025-11-06T21:01:54.280Z] [21:00:50.548] TRACE: Not running .\test.e40bd2ca\output\IconTest\x.exe launcher because application runtime directory [.\test.e40bd2ca\output\IconTest\runtime] is incomplete [2025-11-06T21:01:54.280Z] [21:00:50.550] TRACE: assertStringListEquals(): Check there is only one file with [.jpackage.xml] name in the package [2025-11-06T21:01:54.280Z] [21:00:50.551] TRACE: assertStringListEquals(1, .\test.e40bd2ca\output\IconTest\app\.jpackage.xml) [2025-11-06T21:01:54.280Z] [21:00:50.552] TRACE: assertTrue(): Check [.\test.e40bd2ca\output\IconTest\runtime] path exists [2025-11-06T21:01:54.280Z] [21:00:50.552] TRACE: assertTrue(): Check [.\test.e40bd2ca\output\IconTest\runtime] is a directory [2025-11-06T21:01:54.280Z] [21:00:50.552] TRACE: assertTrue(): Check [.\test.e40bd2ca\output\IconTest\IconTest.exe] path exists [2025-11-06T21:01:54.280Z] [21:00:50.552] TRACE: assertTrue(): Check [.\test.e40bd2ca\output\IconTest\IconTest.exe] is a file [2025-11-06T21:01:54.280Z] [21:00:50.552] TRACE: assertTrue(): Check [.\test.e40bd2ca\output\IconTest\IconTest.exe] file is executable [2025-11-06T21:01:54.280Z] [21:00:50.553] TRACE: assertTrue(): Check [.\test.e40bd2ca\output\IconTest\app\IconTest.cfg] path exists [2025-11-06T21:01:54.280Z] [21:00:50.553] TRACE: assertTrue(): Check [.\test.e40bd2ca\output\IconTest\app\IconTest.cfg] is a file [2025-11-06T21:01:54.280Z] [21:00:50.553] TRACE: assertTrue(): Check [.\test.e40bd2ca\output\IconTest\IconTest.ico] path doesn't exist [2025-11-06T21:01:54.280Z] [21:00:50.556] TRACE: Set icon of [.\test.e40bd2ca\icons\IconTest.exe\container.exe] launcher to [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon.ico] file [2025-11-06T21:01:54.280Z] [21:00:50.690] TRACE: exec: Execute [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.e40bd2ca\icons\IconTest.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.e40bd2ca\icons\IconTest.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T21:01:54.280Z] [21:00:51.156] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.280Z] [21:00:51.156] TRACE: assertEquals(0): Check command [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.e40bd2ca\icons\IconTest.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.e40bd2ca\icons\IconTest.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T21:01:54.280Z] [21:00:51.157] TRACE: exec: Execute [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.e40bd2ca\output\IconTest\IconTest.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.e40bd2ca\icons\IconTest.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T21:01:54.280Z] [21:00:51.483] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.280Z] [21:00:51.483] TRACE: assertEquals(0): Check command [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.e40bd2ca\output\IconTest\IconTest.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.e40bd2ca\icons\IconTest.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T21:01:54.280Z] [21:00:51.483] TRACE: Check icon file [.\test.e40bd2ca\icons\IconTest.exe\actual.bmp] of main launcher is a copy of source icon file [.\test.e40bd2ca\icons\IconTest.exe\expected.bmp] [2025-11-06T21:01:54.280Z] [21:00:51.488] TRACE: assertNotNull([21:00:46.447] Using custom package resource [icon] (loaded from file C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon.ico).): Check output contains [Using custom package resource [icon] (loaded from file] string [2025-11-06T21:01:54.280Z] [21:00:51.488] TRACE: assertNotNull([21:00:46.447] Using custom package resource [icon] (loaded from file C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon.ico).): Check output contains [Using custom package resource [icon] (loaded from file] string [2025-11-06T21:01:54.280Z] [21:00:51.488] TRACE: Deleting [.\test.e40bd2ca] directory recursively [2025-11-06T21:01:54.280Z] [21:00:51.495] [ OK ] IconTest(AppImage, CustomIcon, CustomIcon).test; checks=25 [2025-11-06T21:01:54.280Z] [21:00:51.495] [ RUN ] IconTest(AppImage, CustomIcon, CustomWithResourceDirIcon).test [2025-11-06T21:01:54.280Z] [21:00:51.497] TRACE: Resource file: [.\test.793915af\resources\x.ico] <- [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon3.ico] [2025-11-06T21:01:54.280Z] [21:00:51.499] TRACE: exec: Execute tool provider [javac -d .\test.793915af\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4)... [2025-11-06T21:01:54.280Z] [21:00:51.631] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.280Z] [21:00:51.631] TRACE: assertEquals(0): Check command tool provider [javac -d .\test.793915af\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4) exited with 0 code [2025-11-06T21:01:54.280Z] [21:00:51.632] TRACE: exec: Execute tool provider [jar -c -f .\test.793915af\input\hello.jar -C .\test.793915af\jar-workdir .](7)... [2025-11-06T21:01:54.280Z] [21:00:51.654] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.280Z] [21:00:51.654] TRACE: assertEquals(0): Check command tool provider [jar -c -f .\test.793915af\input\hello.jar -C .\test.793915af\jar-workdir .](7) exited with 0 code [2025-11-06T21:01:54.280Z] [21:00:51.656] TRACE: Create [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.793915af\x.properties] properties file... [2025-11-06T21:01:54.280Z] [21:00:51.656] TRACE: icon=C:/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/tools/jpackage/resources/icon4.ico [2025-11-06T21:01:54.280Z] [21:00:51.656] TRACE: Done [2025-11-06T21:01:54.280Z] [21:00:51.656] TRACE: Init fake runtime in [.\test.793915af\fake_runtime] directory [2025-11-06T21:01:54.280Z] [21:00:51.658] TRACE: Files in [.\test.793915af\resources] resource dir: [2025-11-06T21:01:54.280Z] [21:00:51.660] TRACE: [x.ico] [2025-11-06T21:01:54.280Z] [21:00:51.660] TRACE: Done [2025-11-06T21:01:54.280Z] [21:00:51.660] TRACE: exec: Execute [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\test.793915af\input --dest .\test.793915af\output --name IconTest --type app-image --main-jar hello.jar --main-class Hello --win-console --icon C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon.ico --resource-dir .\test.793915af\resources --add-launcher x=.\test.793915af\x.properties --runtime-image .\test.793915af\fake_runtime --verbose](23); save output... [2025-11-06T21:01:54.280Z] [21:00:52.011] Creating app package: IconTest in C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\.\test.793915af\output [2025-11-06T21:01:54.280Z] [21:00:52.034] Using custom package resource [icon] (loaded from file C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon.ico). [2025-11-06T21:01:54.280Z] [21:00:52.048] Warning: Windows Defender may prevent jpackage from functioning. If there is an issue, it can be addressed by either disabling realtime monitoring, or adding an exclusion for the directory "C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage14518163079230444109". [2025-11-06T21:01:54.280Z] [21:00:52.052] Using default package resource WinLauncher.template [Template for creating executable properties file] (add IconTest.properties to the resource-dir to customize). [2025-11-06T21:01:54.280Z] [21:00:52.127] Using custom package resource [icon] (loaded from file C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon4.ico). [2025-11-06T21:01:54.280Z] [21:00:52.142] Warning: Windows Defender may prevent jpackage from functioning. If there is an issue, it can be addressed by either disabling realtime monitoring, or adding an exclusion for the directory "C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage14518163079230444109". [2025-11-06T21:01:54.280Z] [21:00:52.146] Using default package resource WinLauncher.template [Template for creating executable properties file] (add x.properties to the resource-dir to customize). [2025-11-06T21:01:54.280Z] [21:00:52.156] Succeeded in building Windows Application Image package [2025-11-06T21:01:54.281Z] [21:00:52.170] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.281Z] [21:00:52.170] TRACE: assertEquals(0): Check command [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\test.793915af\input --dest .\test.793915af\output --name IconTest --type app-image --main-jar hello.jar --main-class Hello --win-console --icon C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon.ico --resource-dir .\test.793915af\resources --add-launcher x=.\test.793915af\x.properties --runtime-image .\test.793915af\fake_runtime --verbose](23) exited with 0 code [2025-11-06T21:01:54.281Z] [21:00:52.171] TRACE: assertTrue(): Check [.\test.793915af\output\IconTest\x.ico] path doesn't exist [2025-11-06T21:01:54.281Z] [21:00:52.173] TRACE: exec: Execute tool provider [javac -d .\test.793915af\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4)... [2025-11-06T21:01:54.281Z] [21:00:52.325] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.281Z] [21:00:52.325] TRACE: assertEquals(0): Check command tool provider [javac -d .\test.793915af\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4) exited with 0 code [2025-11-06T21:01:54.281Z] [21:00:52.325] TRACE: Delete [.\test.793915af\input\hello.jar] existing jar file [2025-11-06T21:01:54.281Z] [21:00:52.326] TRACE: exec: Execute tool provider [jar -c -f .\test.793915af\input\hello.jar -C .\test.793915af\jar-workdir .](7)... [2025-11-06T21:01:54.281Z] [21:00:52.345] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.281Z] [21:00:52.345] TRACE: assertEquals(0): Check command tool provider [jar -c -f .\test.793915af\input\hello.jar -C .\test.793915af\jar-workdir .](7) exited with 0 code [2025-11-06T21:01:54.281Z] [21:00:52.346] TRACE: Init fake runtime in [.\test.793915af\fake_runtime] directory [2025-11-06T21:01:54.281Z] [21:00:52.348] TRACE: exec: Execute [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\test.793915af\input --dest .\test.793915af\out-8156 --name IconTest --type app-image --main-jar hello.jar --main-class Hello --win-console --runtime-image .\test.793915af\fake_runtime --verbose](17); inherit I/O... [2025-11-06T21:01:54.281Z] [21:00:52.678] Creating app package: IconTest in C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\.\test.793915af\out-8156 [2025-11-06T21:01:54.281Z] [21:00:52.701] Using default package resource JavaApp.ico [icon] (add IconTest.ico to the resource-dir to customize). [2025-11-06T21:01:54.281Z] [21:00:52.717] Warning: Windows Defender may prevent jpackage from functioning. If there is an issue, it can be addressed by either disabling realtime monitoring, or adding an exclusion for the directory "C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage8450671865640838011". [2025-11-06T21:01:54.281Z] [21:00:52.721] Using default package resource WinLauncher.template [Template for creating executable properties file] (add IconTest.properties to the resource-dir to customize). [2025-11-06T21:01:54.281Z] [21:00:52.804] Succeeded in building Windows Application Image package [2025-11-06T21:01:54.281Z] [21:00:52.818] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.281Z] [21:00:52.818] TRACE: assertEquals(0): Check command [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\test.793915af\input --dest .\test.793915af\out-8156 --name IconTest --type app-image --main-jar hello.jar --main-class Hello --win-console --runtime-image .\test.793915af\fake_runtime --verbose](17) exited with 0 code [2025-11-06T21:01:54.281Z] [21:00:52.878] TRACE: Set icon of [.\test.793915af\icons\x.exe\container.exe] launcher to [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon4.ico] file [2025-11-06T21:01:54.281Z] [21:00:53.007] TRACE: exec: Execute [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.793915af\icons\x.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.793915af\icons\x.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T21:01:54.281Z] [21:00:53.462] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.281Z] [21:00:53.462] TRACE: assertEquals(0): Check command [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.793915af\icons\x.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.793915af\icons\x.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T21:01:54.281Z] [21:00:53.462] TRACE: exec: Execute [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.793915af\output\IconTest\x.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.793915af\icons\x.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T21:01:54.281Z] [21:00:53.783] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.281Z] [21:00:53.784] TRACE: assertEquals(0): Check command [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.793915af\output\IconTest\x.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.793915af\icons\x.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T21:01:54.281Z] [21:00:53.784] TRACE: Check icon file [.\test.793915af\icons\x.exe\actual.bmp] of x launcher is a copy of source icon file [.\test.793915af\icons\x.exe\expected.bmp] [2025-11-06T21:01:54.281Z] [21:00:53.786] TRACE: assertTrue(): Check [.\test.793915af\output\IconTest\x.exe] path exists [2025-11-06T21:01:54.281Z] [21:00:53.786] TRACE: assertTrue(): Check [.\test.793915af\output\IconTest\x.exe] is a file [2025-11-06T21:01:54.281Z] [21:00:53.786] TRACE: assertTrue(): Check [.\test.793915af\output\IconTest\x.exe] file is executable [2025-11-06T21:01:54.281Z] [21:00:53.787] TRACE: Not running .\test.793915af\output\IconTest\x.exe launcher because application runtime directory [.\test.793915af\output\IconTest\runtime] is incomplete [2025-11-06T21:01:54.281Z] [21:00:53.787] TRACE: assertStringListEquals(): Check there is only one file with [.jpackage.xml] name in the package [2025-11-06T21:01:54.281Z] [21:00:53.788] TRACE: assertStringListEquals(1, .\test.793915af\output\IconTest\app\.jpackage.xml) [2025-11-06T21:01:54.281Z] [21:00:53.788] TRACE: assertTrue(): Check [.\test.793915af\output\IconTest\runtime] path exists [2025-11-06T21:01:54.281Z] [21:00:53.788] TRACE: assertTrue(): Check [.\test.793915af\output\IconTest\runtime] is a directory [2025-11-06T21:01:54.281Z] [21:00:53.788] TRACE: assertTrue(): Check [.\test.793915af\output\IconTest\IconTest.exe] path exists [2025-11-06T21:01:54.281Z] [21:00:53.788] TRACE: assertTrue(): Check [.\test.793915af\output\IconTest\IconTest.exe] is a file [2025-11-06T21:01:54.281Z] [21:00:53.788] TRACE: assertTrue(): Check [.\test.793915af\output\IconTest\IconTest.exe] file is executable [2025-11-06T21:01:54.281Z] [21:00:53.788] TRACE: assertTrue(): Check [.\test.793915af\output\IconTest\app\IconTest.cfg] path exists [2025-11-06T21:01:54.281Z] [21:00:53.788] TRACE: assertTrue(): Check [.\test.793915af\output\IconTest\app\IconTest.cfg] is a file [2025-11-06T21:01:54.281Z] [21:00:53.789] TRACE: assertTrue(): Check [.\test.793915af\output\IconTest\IconTest.ico] path doesn't exist [2025-11-06T21:01:54.281Z] [21:00:53.791] TRACE: Set icon of [.\test.793915af\icons\IconTest.exe\container.exe] launcher to [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon.ico] file [2025-11-06T21:01:54.281Z] [21:00:53.919] TRACE: exec: Execute [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.793915af\icons\IconTest.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.793915af\icons\IconTest.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T21:01:54.281Z] [21:00:54.397] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.281Z] [21:00:54.397] TRACE: assertEquals(0): Check command [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.793915af\icons\IconTest.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.793915af\icons\IconTest.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T21:01:54.281Z] [21:00:54.397] TRACE: exec: Execute [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.793915af\output\IconTest\IconTest.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.793915af\icons\IconTest.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T21:01:54.281Z] [21:00:54.741] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.281Z] [21:00:54.741] TRACE: assertEquals(0): Check command [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.793915af\output\IconTest\IconTest.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.793915af\icons\IconTest.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T21:01:54.281Z] [21:00:54.741] TRACE: Check icon file [.\test.793915af\icons\IconTest.exe\actual.bmp] of main launcher is a copy of source icon file [.\test.793915af\icons\IconTest.exe\expected.bmp] [2025-11-06T21:01:54.281Z] [21:00:54.743] TRACE: assertNotNull([21:00:52.034] Using custom package resource [icon] (loaded from file C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon.ico).): Check output contains [Using custom package resource [icon] (loaded from file] string [2025-11-06T21:01:54.281Z] [21:00:54.743] TRACE: assertNotNull([21:00:52.034] Using custom package resource [icon] (loaded from file C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon.ico).): Check output contains [Using custom package resource [icon] (loaded from file] string [2025-11-06T21:01:54.281Z] [21:00:54.744] TRACE: Deleting [.\test.793915af] directory recursively [2025-11-06T21:01:54.281Z] [21:00:54.751] [ OK ] IconTest(AppImage, CustomIcon, CustomWithResourceDirIcon).test; checks=25 [2025-11-06T21:01:54.281Z] [21:00:54.751] [ RUN ] IconTest(AppImage, CustomIcon, DefaultIcon).test [2025-11-06T21:01:54.281Z] [21:00:54.752] TRACE: exec: Execute tool provider [javac -d .\test.ee131ba8\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4)... [2025-11-06T21:01:54.281Z] [21:00:54.853] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.281Z] [21:00:54.853] TRACE: assertEquals(0): Check command tool provider [javac -d .\test.ee131ba8\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4) exited with 0 code [2025-11-06T21:01:54.281Z] [21:00:54.854] TRACE: exec: Execute tool provider [jar -c -f .\test.ee131ba8\input\hello.jar -C .\test.ee131ba8\jar-workdir .](7)... [2025-11-06T21:01:54.281Z] [21:00:54.875] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.281Z] [21:00:54.875] TRACE: assertEquals(0): Check command tool provider [jar -c -f .\test.ee131ba8\input\hello.jar -C .\test.ee131ba8\jar-workdir .](7) exited with 0 code [2025-11-06T21:01:54.281Z] [21:00:54.876] TRACE: Create [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.ee131ba8\x.properties] properties file... [2025-11-06T21:01:54.281Z] [21:00:54.876] TRACE: Done [2025-11-06T21:01:54.281Z] [21:00:54.876] TRACE: Init fake runtime in [.\test.ee131ba8\fake_runtime] directory [2025-11-06T21:01:54.281Z] [21:00:54.878] TRACE: exec: Execute [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\test.ee131ba8\input --dest .\test.ee131ba8\output --name IconTest --type app-image --main-jar hello.jar --main-class Hello --win-console --icon C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon.ico --add-launcher x=.\test.ee131ba8\x.properties --runtime-image .\test.ee131ba8\fake_runtime --verbose](21); save output... [2025-11-06T21:01:54.281Z] [21:00:55.216] Creating app package: IconTest in C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\.\test.ee131ba8\output [2025-11-06T21:01:54.281Z] [21:00:55.242] Using custom package resource [icon] (loaded from file C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon.ico). [2025-11-06T21:01:54.281Z] [21:00:55.256] Warning: Windows Defender may prevent jpackage from functioning. If there is an issue, it can be addressed by either disabling realtime monitoring, or adding an exclusion for the directory "C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage11063735935834865382". [2025-11-06T21:01:54.281Z] [21:00:55.260] Using default package resource WinLauncher.template [Template for creating executable properties file] (add IconTest.properties to the resource-dir to customize). [2025-11-06T21:01:54.282Z] [21:00:55.340] Using custom package resource [icon] (loaded from file C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon.ico). [2025-11-06T21:01:54.282Z] [21:00:55.345] Warning: Windows Defender may prevent jpackage from functioning. If there is an issue, it can be addressed by either disabling realtime monitoring, or adding an exclusion for the directory "C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage11063735935834865382". [2025-11-06T21:01:54.282Z] [21:00:55.349] Using default package resource WinLauncher.template [Template for creating executable properties file] (add x.properties to the resource-dir to customize). [2025-11-06T21:01:54.282Z] [21:00:55.353] Succeeded in building Windows Application Image package [2025-11-06T21:01:54.282Z] [21:00:55.366] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.282Z] [21:00:55.367] TRACE: assertEquals(0): Check command [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\test.ee131ba8\input --dest .\test.ee131ba8\output --name IconTest --type app-image --main-jar hello.jar --main-class Hello --win-console --icon C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon.ico --add-launcher x=.\test.ee131ba8\x.properties --runtime-image .\test.ee131ba8\fake_runtime --verbose](21) exited with 0 code [2025-11-06T21:01:54.282Z] [21:00:55.368] TRACE: assertTrue(): Check [.\test.ee131ba8\output\IconTest\x.ico] path doesn't exist [2025-11-06T21:01:54.282Z] [21:00:55.370] TRACE: exec: Execute tool provider [javac -d .\test.ee131ba8\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4)... [2025-11-06T21:01:54.282Z] [21:00:55.538] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.282Z] [21:00:55.538] TRACE: assertEquals(0): Check command tool provider [javac -d .\test.ee131ba8\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4) exited with 0 code [2025-11-06T21:01:54.282Z] [21:00:55.539] TRACE: Delete [.\test.ee131ba8\input\hello.jar] existing jar file [2025-11-06T21:01:54.282Z] [21:00:55.539] TRACE: exec: Execute tool provider [jar -c -f .\test.ee131ba8\input\hello.jar -C .\test.ee131ba8\jar-workdir .](7)... [2025-11-06T21:01:54.282Z] [21:00:55.559] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.282Z] [21:00:55.560] TRACE: assertEquals(0): Check command tool provider [jar -c -f .\test.ee131ba8\input\hello.jar -C .\test.ee131ba8\jar-workdir .](7) exited with 0 code [2025-11-06T21:01:54.282Z] [21:00:55.560] TRACE: Init fake runtime in [.\test.ee131ba8\fake_runtime] directory [2025-11-06T21:01:54.282Z] [21:00:55.562] TRACE: exec: Execute [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\test.ee131ba8\input --dest .\test.ee131ba8\out-8156 --name IconTest --type app-image --main-jar hello.jar --main-class Hello --win-console --runtime-image .\test.ee131ba8\fake_runtime --verbose](17); inherit I/O... [2025-11-06T21:01:54.282Z] [21:00:55.892] Creating app package: IconTest in C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\.\test.ee131ba8\out-8156 [2025-11-06T21:01:54.282Z] [21:00:55.915] Using default package resource JavaApp.ico [icon] (add IconTest.ico to the resource-dir to customize). [2025-11-06T21:01:54.282Z] [21:00:55.932] Warning: Windows Defender may prevent jpackage from functioning. If there is an issue, it can be addressed by either disabling realtime monitoring, or adding an exclusion for the directory "C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage1018865081151418593". [2025-11-06T21:01:54.282Z] [21:00:55.936] Using default package resource WinLauncher.template [Template for creating executable properties file] (add IconTest.properties to the resource-dir to customize). [2025-11-06T21:01:54.282Z] [21:00:55.973] Succeeded in building Windows Application Image package [2025-11-06T21:01:54.282Z] [21:00:55.986] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.282Z] [21:00:55.987] TRACE: assertEquals(0): Check command [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\test.ee131ba8\input --dest .\test.ee131ba8\out-8156 --name IconTest --type app-image --main-jar hello.jar --main-class Hello --win-console --runtime-image .\test.ee131ba8\fake_runtime --verbose](17) exited with 0 code [2025-11-06T21:01:54.282Z] [21:00:56.084] TRACE: Set icon of [.\test.ee131ba8\icons\x.exe\container.exe] launcher to [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon.ico] file [2025-11-06T21:01:54.282Z] [21:00:56.212] TRACE: exec: Execute [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.ee131ba8\icons\x.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.ee131ba8\icons\x.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T21:01:54.282Z] [21:00:56.660] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.282Z] [21:00:56.660] TRACE: assertEquals(0): Check command [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.ee131ba8\icons\x.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.ee131ba8\icons\x.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T21:01:54.282Z] [21:00:56.661] TRACE: exec: Execute [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.ee131ba8\output\IconTest\x.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.ee131ba8\icons\x.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T21:01:54.282Z] [21:00:56.995] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.282Z] [21:00:56.995] TRACE: assertEquals(0): Check command [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.ee131ba8\output\IconTest\x.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.ee131ba8\icons\x.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T21:01:54.282Z] [21:00:56.995] TRACE: Check icon file [.\test.ee131ba8\icons\x.exe\actual.bmp] of x launcher is a copy of source icon file [.\test.ee131ba8\icons\x.exe\expected.bmp] [2025-11-06T21:01:54.282Z] [21:00:56.998] TRACE: assertTrue(): Check [.\test.ee131ba8\output\IconTest\x.exe] path exists [2025-11-06T21:01:54.282Z] [21:00:56.998] TRACE: assertTrue(): Check [.\test.ee131ba8\output\IconTest\x.exe] is a file [2025-11-06T21:01:54.282Z] [21:00:56.998] TRACE: assertTrue(): Check [.\test.ee131ba8\output\IconTest\x.exe] file is executable [2025-11-06T21:01:54.282Z] [21:00:56.998] TRACE: Not running .\test.ee131ba8\output\IconTest\x.exe launcher because application runtime directory [.\test.ee131ba8\output\IconTest\runtime] is incomplete [2025-11-06T21:01:54.282Z] [21:00:56.999] TRACE: assertStringListEquals(): Check there is only one file with [.jpackage.xml] name in the package [2025-11-06T21:01:54.282Z] [21:00:56.999] TRACE: assertStringListEquals(1, .\test.ee131ba8\output\IconTest\app\.jpackage.xml) [2025-11-06T21:01:54.282Z] [21:00:56.999] TRACE: assertTrue(): Check [.\test.ee131ba8\output\IconTest\runtime] path exists [2025-11-06T21:01:54.282Z] [21:00:56.999] TRACE: assertTrue(): Check [.\test.ee131ba8\output\IconTest\runtime] is a directory [2025-11-06T21:01:54.282Z] [21:00:56.999] TRACE: assertTrue(): Check [.\test.ee131ba8\output\IconTest\IconTest.exe] path exists [2025-11-06T21:01:54.282Z] [21:00:56.999] TRACE: assertTrue(): Check [.\test.ee131ba8\output\IconTest\IconTest.exe] is a file [2025-11-06T21:01:54.282Z] [21:00:56.999] TRACE: assertTrue(): Check [.\test.ee131ba8\output\IconTest\IconTest.exe] file is executable [2025-11-06T21:01:54.282Z] [21:00:57.000] TRACE: assertTrue(): Check [.\test.ee131ba8\output\IconTest\app\IconTest.cfg] path exists [2025-11-06T21:01:54.282Z] [21:00:57.000] TRACE: assertTrue(): Check [.\test.ee131ba8\output\IconTest\app\IconTest.cfg] is a file [2025-11-06T21:01:54.282Z] [21:00:57.000] TRACE: assertTrue(): Check [.\test.ee131ba8\output\IconTest\IconTest.ico] path doesn't exist [2025-11-06T21:01:54.282Z] [21:00:57.002] TRACE: Set icon of [.\test.ee131ba8\icons\IconTest.exe\container.exe] launcher to [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon.ico] file [2025-11-06T21:01:54.282Z] [21:00:57.127] TRACE: exec: Execute [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.ee131ba8\icons\IconTest.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.ee131ba8\icons\IconTest.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T21:01:54.282Z] [21:00:57.572] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.282Z] [21:00:57.572] TRACE: assertEquals(0): Check command [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.ee131ba8\icons\IconTest.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.ee131ba8\icons\IconTest.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T21:01:54.282Z] [21:00:57.573] TRACE: exec: Execute [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.ee131ba8\output\IconTest\IconTest.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.ee131ba8\icons\IconTest.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T21:01:54.282Z] [21:00:57.915] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.282Z] [21:00:57.916] TRACE: assertEquals(0): Check command [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.ee131ba8\output\IconTest\IconTest.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.ee131ba8\icons\IconTest.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T21:01:54.282Z] [21:00:57.916] TRACE: Check icon file [.\test.ee131ba8\icons\IconTest.exe\actual.bmp] of main launcher is a copy of source icon file [.\test.ee131ba8\icons\IconTest.exe\expected.bmp] [2025-11-06T21:01:54.282Z] [21:00:57.918] TRACE: assertNotNull([21:00:55.242] Using custom package resource [icon] (loaded from file C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon.ico).): Check output contains [Using custom package resource [icon] (loaded from file] string [2025-11-06T21:01:54.283Z] [21:00:57.918] TRACE: assertNotNull([21:00:55.242] Using custom package resource [icon] (loaded from file C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon.ico).): Check output contains [Using custom package resource [icon] (loaded from file] string [2025-11-06T21:01:54.283Z] [21:00:57.918] TRACE: Deleting [.\test.ee131ba8] directory recursively [2025-11-06T21:01:54.283Z] [21:00:57.924] [ OK ] IconTest(AppImage, CustomIcon, DefaultIcon).test; checks=25 [2025-11-06T21:01:54.283Z] [21:00:57.925] [ RUN ] IconTest(AppImage, CustomIcon, NoIcon).test [2025-11-06T21:01:54.283Z] [21:00:57.926] TRACE: exec: Execute tool provider [javac -d .\test.3b95dd9a\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4)... [2025-11-06T21:01:54.283Z] [21:00:58.019] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.283Z] [21:00:58.019] TRACE: assertEquals(0): Check command tool provider [javac -d .\test.3b95dd9a\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4) exited with 0 code [2025-11-06T21:01:54.283Z] [21:00:58.020] TRACE: exec: Execute tool provider [jar -c -f .\test.3b95dd9a\input\hello.jar -C .\test.3b95dd9a\jar-workdir .](7)... [2025-11-06T21:01:54.283Z] [21:00:58.041] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.283Z] [21:00:58.041] TRACE: assertEquals(0): Check command tool provider [jar -c -f .\test.3b95dd9a\input\hello.jar -C .\test.3b95dd9a\jar-workdir .](7) exited with 0 code [2025-11-06T21:01:54.283Z] [21:00:58.042] TRACE: Create [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.3b95dd9a\x.properties] properties file... [2025-11-06T21:01:54.283Z] [21:00:58.042] TRACE: icon= [2025-11-06T21:01:54.283Z] [21:00:58.043] TRACE: Done [2025-11-06T21:01:54.283Z] [21:00:58.043] TRACE: Init fake runtime in [.\test.3b95dd9a\fake_runtime] directory [2025-11-06T21:01:54.283Z] [21:00:58.044] TRACE: exec: Execute [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\test.3b95dd9a\input --dest .\test.3b95dd9a\output --name IconTest --type app-image --main-jar hello.jar --main-class Hello --win-console --icon C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon.ico --add-launcher x=.\test.3b95dd9a\x.properties --runtime-image .\test.3b95dd9a\fake_runtime --verbose](21); save output... [2025-11-06T21:01:54.283Z] [21:00:58.383] Creating app package: IconTest in C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\.\test.3b95dd9a\output [2025-11-06T21:01:54.283Z] [21:00:58.406] Using custom package resource [icon] (loaded from file C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon.ico). [2025-11-06T21:01:54.283Z] [21:00:58.421] Warning: Windows Defender may prevent jpackage from functioning. If there is an issue, it can be addressed by either disabling realtime monitoring, or adding an exclusion for the directory "C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage5033692178295100125". [2025-11-06T21:01:54.283Z] [21:00:58.424] Using default package resource WinLauncher.template [Template for creating executable properties file] (add IconTest.properties to the resource-dir to customize). [2025-11-06T21:01:54.283Z] [21:00:58.518] Warning: Windows Defender may prevent jpackage from functioning. If there is an issue, it can be addressed by either disabling realtime monitoring, or adding an exclusion for the directory "C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage5033692178295100125". [2025-11-06T21:01:54.283Z] [21:00:58.521] Using default package resource WinLauncher.template [Template for creating executable properties file] (add x.properties to the resource-dir to customize). [2025-11-06T21:01:54.283Z] [21:00:58.526] Succeeded in building Windows Application Image package [2025-11-06T21:01:54.283Z] [21:00:58.539] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.283Z] [21:00:58.540] TRACE: assertEquals(0): Check command [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\test.3b95dd9a\input --dest .\test.3b95dd9a\output --name IconTest --type app-image --main-jar hello.jar --main-class Hello --win-console --icon C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon.ico --add-launcher x=.\test.3b95dd9a\x.properties --runtime-image .\test.3b95dd9a\fake_runtime --verbose](21) exited with 0 code [2025-11-06T21:01:54.283Z] [21:00:58.540] TRACE: assertTrue(): Check [.\test.3b95dd9a\output\IconTest\x.ico] path doesn't exist [2025-11-06T21:01:54.283Z] [21:00:58.542] TRACE: exec: Execute tool provider [javac -d .\test.3b95dd9a\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4)... [2025-11-06T21:01:54.283Z] [21:00:58.704] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.283Z] [21:00:58.704] TRACE: assertEquals(0): Check command tool provider [javac -d .\test.3b95dd9a\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4) exited with 0 code [2025-11-06T21:01:54.283Z] [21:00:58.704] TRACE: Delete [.\test.3b95dd9a\input\hello.jar] existing jar file [2025-11-06T21:01:54.283Z] [21:00:58.707] TRACE: exec: Execute tool provider [jar -c -f .\test.3b95dd9a\input\hello.jar -C .\test.3b95dd9a\jar-workdir .](7)... [2025-11-06T21:01:54.283Z] [21:00:58.731] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.283Z] [21:00:58.731] TRACE: assertEquals(0): Check command tool provider [jar -c -f .\test.3b95dd9a\input\hello.jar -C .\test.3b95dd9a\jar-workdir .](7) exited with 0 code [2025-11-06T21:01:54.283Z] [21:00:58.732] TRACE: Init fake runtime in [.\test.3b95dd9a\fake_runtime] directory [2025-11-06T21:01:54.283Z] [21:00:58.733] TRACE: Create [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.3b95dd9a\no-icon.properties] properties file... [2025-11-06T21:01:54.283Z] [21:00:58.733] TRACE: icon= [2025-11-06T21:01:54.283Z] [21:00:58.734] TRACE: Done [2025-11-06T21:01:54.283Z] [21:00:58.734] TRACE: exec: Execute [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\test.3b95dd9a\input --dest .\test.3b95dd9a\out-8156 --name IconTest --type app-image --main-jar hello.jar --main-class Hello --win-console --runtime-image .\test.3b95dd9a\fake_runtime --add-launcher no-icon=.\test.3b95dd9a\no-icon.properties --verbose](19); inherit I/O... [2025-11-06T21:01:54.283Z] [21:00:59.058] Creating app package: IconTest in C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\.\test.3b95dd9a\out-8156 [2025-11-06T21:01:54.283Z] [21:00:59.083] Using default package resource JavaApp.ico [icon] (add IconTest.ico to the resource-dir to customize). [2025-11-06T21:01:54.283Z] [21:00:59.099] Warning: Windows Defender may prevent jpackage from functioning. If there is an issue, it can be addressed by either disabling realtime monitoring, or adding an exclusion for the directory "C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage10084790002955762414". [2025-11-06T21:01:54.283Z] [21:00:59.103] Using default package resource WinLauncher.template [Template for creating executable properties file] (add IconTest.properties to the resource-dir to customize). [2025-11-06T21:01:54.283Z] [21:00:59.144] Warning: Windows Defender may prevent jpackage from functioning. If there is an issue, it can be addressed by either disabling realtime monitoring, or adding an exclusion for the directory "C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage10084790002955762414". [2025-11-06T21:01:54.283Z] [21:00:59.149] Using default package resource WinLauncher.template [Template for creating executable properties file] (add no-icon.properties to the resource-dir to customize). [2025-11-06T21:01:54.283Z] [21:00:59.153] Succeeded in building Windows Application Image package [2025-11-06T21:01:54.283Z] [21:00:59.170] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.283Z] [21:00:59.170] TRACE: assertEquals(0): Check command [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\test.3b95dd9a\input --dest .\test.3b95dd9a\out-8156 --name IconTest --type app-image --main-jar hello.jar --main-class Hello --win-console --runtime-image .\test.3b95dd9a\fake_runtime --add-launcher no-icon=.\test.3b95dd9a\no-icon.properties --verbose](19) exited with 0 code [2025-11-06T21:01:54.283Z] [21:00:59.171] TRACE: assertTrue(): Check [.\test.3b95dd9a\out-8156\IconTest\no-icon.ico] path doesn't exist [2025-11-06T21:01:54.283Z] [21:00:59.280] TRACE: exec: Execute [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.3b95dd9a\icons.0\no-icon.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.3b95dd9a\icons.0\no-icon.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T21:01:54.283Z] [21:01:00.155] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.283Z] [21:01:00.156] TRACE: assertEquals(0): Check command [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.3b95dd9a\icons.0\no-icon.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.3b95dd9a\icons.0\no-icon.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T21:01:54.283Z] [21:01:00.156] TRACE: exec: Execute [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.3b95dd9a\out-8156\IconTest\no-icon.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.3b95dd9a\icons.0\no-icon.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T21:01:54.283Z] [21:01:00.520] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.283Z] [21:01:00.521] TRACE: assertEquals(0): Check command [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.3b95dd9a\out-8156\IconTest\no-icon.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.3b95dd9a\icons.0\no-icon.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T21:01:54.283Z] [21:01:00.521] TRACE: Check icon file [.\test.3b95dd9a\icons.0\no-icon.exe\actual.bmp] of no-icon launcher is a copy of source icon file [.\test.3b95dd9a\icons.0\no-icon.exe\expected.bmp] [2025-11-06T21:01:54.283Z] [21:01:00.554] TRACE: assertEquals(32): Check expected and actual icons have the same width [2025-11-06T21:01:54.283Z] [21:01:00.554] TRACE: assertEquals(32): Check expected and actual icons have the same height [2025-11-06T21:01:54.283Z] [21:01:00.554] TRACE: Images mismatch at [9, 9] pixel [2025-11-06T21:01:54.283Z] [21:01:00.554] TRACE: Images mismatch at [9, 10] pixel [2025-11-06T21:01:54.283Z] [21:01:00.554] TRACE: Images mismatch at [9, 11] pixel [2025-11-06T21:01:54.283Z] [21:01:00.554] TRACE: Images mismatch at [9, 12] pixel [2025-11-06T21:01:54.283Z] [21:01:00.554] TRACE: Images mismatch at [9, 13] pixel [2025-11-06T21:01:54.283Z] [21:01:00.554] TRACE: Images mismatch at [9, 14] pixel [2025-11-06T21:01:54.283Z] [21:01:00.554] TRACE: Images mismatch at [9, 15] pixel [2025-11-06T21:01:54.283Z] [21:01:00.554] TRACE: Images mismatch at [9, 16] pixel [2025-11-06T21:01:54.283Z] [21:01:00.555] TRACE: Images mismatch at [9, 17] pixel [2025-11-06T21:01:54.283Z] [21:01:00.555] TRACE: Images mismatch at [9, 18] pixel [2025-11-06T21:01:54.283Z] [21:01:00.555] TRACE: Images mismatch at [9, 19] pixel [2025-11-06T21:01:54.283Z] [21:01:00.555] TRACE: Images mismatch at [9, 20] pixel [2025-11-06T21:01:54.283Z] [21:01:00.555] TRACE: Images mismatch at [9, 21] pixel [2025-11-06T21:01:54.283Z] [21:01:00.555] TRACE: Images mismatch at [9, 22] pixel [2025-11-06T21:01:54.283Z] [21:01:00.555] TRACE: Images mismatch at [10, 9] pixel [2025-11-06T21:01:54.283Z] [21:01:00.555] TRACE: Images mismatch at [10, 10] pixel [2025-11-06T21:01:54.283Z] [21:01:00.555] TRACE: Images mismatch at [10, 11] pixel [2025-11-06T21:01:54.283Z] [21:01:00.555] TRACE: Images mismatch at [10, 12] pixel [2025-11-06T21:01:54.283Z] [21:01:00.555] TRACE: Images mismatch at [10, 13] pixel [2025-11-06T21:01:54.283Z] [21:01:00.555] TRACE: Images mismatch at [10, 14] pixel [2025-11-06T21:01:54.283Z] [21:01:00.555] TRACE: Images mismatch at [10, 15] pixel [2025-11-06T21:01:54.283Z] [21:01:00.555] TRACE: Images mismatch at [10, 16] pixel [2025-11-06T21:01:54.283Z] [21:01:00.555] TRACE: Images mismatch at [10, 17] pixel [2025-11-06T21:01:54.283Z] [21:01:00.555] TRACE: Images mismatch at [10, 18] pixel [2025-11-06T21:01:54.283Z] [21:01:00.555] TRACE: Images mismatch at [10, 19] pixel [2025-11-06T21:01:54.283Z] [21:01:00.555] TRACE: Images mismatch at [10, 20] pixel [2025-11-06T21:01:54.283Z] [21:01:00.556] TRACE: Images mismatch at [10, 21] pixel [2025-11-06T21:01:54.283Z] [21:01:00.556] TRACE: Images mismatch at [10, 22] pixel [2025-11-06T21:01:54.283Z] [21:01:00.556] TRACE: Images mismatch at [11, 9] pixel [2025-11-06T21:01:54.283Z] [21:01:00.556] TRACE: Images mismatch at [11, 10] pixel [2025-11-06T21:01:54.283Z] [21:01:00.556] TRACE: Images mismatch at [11, 11] pixel [2025-11-06T21:01:54.283Z] [21:01:00.556] TRACE: Images mismatch at [11, 12] pixel [2025-11-06T21:01:54.283Z] [21:01:00.556] TRACE: Images mismatch at [11, 13] pixel [2025-11-06T21:01:54.283Z] [21:01:00.556] TRACE: Images mismatch at [11, 14] pixel [2025-11-06T21:01:54.283Z] [21:01:00.556] TRACE: Images mismatch at [11, 15] pixel [2025-11-06T21:01:54.283Z] [21:01:00.556] TRACE: Images mismatch at [11, 16] pixel [2025-11-06T21:01:54.283Z] [21:01:00.556] TRACE: Images mismatch at [11, 17] pixel [2025-11-06T21:01:54.283Z] [21:01:00.556] TRACE: Images mismatch at [11, 18] pixel [2025-11-06T21:01:54.283Z] [21:01:00.556] TRACE: Images mismatch at [11, 19] pixel [2025-11-06T21:01:54.283Z] [21:01:00.556] TRACE: Images mismatch at [11, 20] pixel [2025-11-06T21:01:54.283Z] [21:01:00.556] TRACE: Images mismatch at [11, 21] pixel [2025-11-06T21:01:54.283Z] [21:01:00.557] TRACE: Images mismatch at [11, 22] pixel [2025-11-06T21:01:54.283Z] [21:01:00.557] TRACE: Images mismatch at [12, 9] pixel [2025-11-06T21:01:54.283Z] [21:01:00.557] TRACE: Images mismatch at [12, 10] pixel [2025-11-06T21:01:54.283Z] [21:01:00.557] TRACE: Images mismatch at [12, 11] pixel [2025-11-06T21:01:54.283Z] [21:01:00.557] TRACE: Images mismatch at [12, 12] pixel [2025-11-06T21:01:54.283Z] [21:01:00.557] TRACE: Images mismatch at [12, 13] pixel [2025-11-06T21:01:54.283Z] [21:01:00.557] TRACE: Images mismatch at [12, 14] pixel [2025-11-06T21:01:54.283Z] [21:01:00.557] TRACE: Images mismatch at [12, 15] pixel [2025-11-06T21:01:54.283Z] [21:01:00.557] TRACE: Images mismatch at [12, 16] pixel [2025-11-06T21:01:54.283Z] [21:01:00.557] TRACE: Images mismatch at [12, 17] pixel [2025-11-06T21:01:54.284Z] [21:01:00.557] TRACE: Images mismatch at [12, 18] pixel [2025-11-06T21:01:54.284Z] [21:01:00.557] TRACE: Images mismatch at [12, 19] pixel [2025-11-06T21:01:54.284Z] [21:01:00.557] TRACE: Images mismatch at [12, 20] pixel [2025-11-06T21:01:54.284Z] [21:01:00.557] TRACE: Images mismatch at [12, 21] pixel [2025-11-06T21:01:54.284Z] [21:01:00.557] TRACE: Images mismatch at [12, 22] pixel [2025-11-06T21:01:54.284Z] [21:01:00.557] TRACE: Images mismatch at [13, 9] pixel [2025-11-06T21:01:54.284Z] [21:01:00.558] TRACE: Images mismatch at [13, 10] pixel [2025-11-06T21:01:54.284Z] [21:01:00.558] TRACE: Images mismatch at [13, 11] pixel [2025-11-06T21:01:54.284Z] [21:01:00.558] TRACE: Images mismatch at [13, 12] pixel [2025-11-06T21:01:54.284Z] [21:01:00.558] TRACE: Images mismatch at [13, 13] pixel [2025-11-06T21:01:54.284Z] [21:01:00.558] TRACE: Images mismatch at [13, 14] pixel [2025-11-06T21:01:54.284Z] [21:01:00.558] TRACE: Images mismatch at [13, 15] pixel [2025-11-06T21:01:54.284Z] [21:01:00.558] TRACE: Images mismatch at [13, 16] pixel [2025-11-06T21:01:54.284Z] [21:01:00.558] TRACE: Images mismatch at [13, 17] pixel [2025-11-06T21:01:54.284Z] [21:01:00.558] TRACE: Images mismatch at [13, 18] pixel [2025-11-06T21:01:54.284Z] [21:01:00.558] TRACE: Images mismatch at [13, 19] pixel [2025-11-06T21:01:54.284Z] [21:01:00.558] TRACE: Images mismatch at [13, 20] pixel [2025-11-06T21:01:54.284Z] [21:01:00.558] TRACE: Images mismatch at [13, 21] pixel [2025-11-06T21:01:54.284Z] [21:01:00.558] TRACE: Images mismatch at [13, 22] pixel [2025-11-06T21:01:54.284Z] [21:01:00.558] TRACE: Images mismatch at [14, 9] pixel [2025-11-06T21:01:54.284Z] [21:01:00.558] TRACE: Images mismatch at [14, 10] pixel [2025-11-06T21:01:54.284Z] [21:01:00.558] TRACE: Images mismatch at [14, 11] pixel [2025-11-06T21:01:54.284Z] [21:01:00.558] TRACE: Images mismatch at [14, 12] pixel [2025-11-06T21:01:54.284Z] [21:01:00.558] TRACE: Images mismatch at [14, 13] pixel [2025-11-06T21:01:54.284Z] [21:01:00.558] TRACE: Images mismatch at [14, 14] pixel [2025-11-06T21:01:54.284Z] [21:01:00.559] TRACE: Images mismatch at [14, 15] pixel [2025-11-06T21:01:54.284Z] [21:01:00.559] TRACE: Images mismatch at [14, 16] pixel [2025-11-06T21:01:54.284Z] [21:01:00.559] TRACE: Images mismatch at [14, 17] pixel [2025-11-06T21:01:54.284Z] [21:01:00.559] TRACE: Images mismatch at [14, 18] pixel [2025-11-06T21:01:54.284Z] [21:01:00.559] TRACE: Images mismatch at [14, 19] pixel [2025-11-06T21:01:54.284Z] [21:01:00.559] TRACE: Images mismatch at [14, 20] pixel [2025-11-06T21:01:54.284Z] [21:01:00.559] TRACE: Images mismatch at [14, 21] pixel [2025-11-06T21:01:54.284Z] [21:01:00.559] TRACE: Images mismatch at [14, 22] pixel [2025-11-06T21:01:54.284Z] [21:01:00.559] TRACE: Images mismatch at [15, 9] pixel [2025-11-06T21:01:54.284Z] [21:01:00.559] TRACE: Images mismatch at [15, 10] pixel [2025-11-06T21:01:54.284Z] [21:01:00.559] TRACE: Images mismatch at [15, 11] pixel [2025-11-06T21:01:54.284Z] [21:01:00.559] TRACE: Images mismatch at [15, 12] pixel [2025-11-06T21:01:54.284Z] [21:01:00.559] TRACE: Images mismatch at [15, 13] pixel [2025-11-06T21:01:54.284Z] [21:01:00.559] TRACE: Images mismatch at [15, 14] pixel [2025-11-06T21:01:54.284Z] [21:01:00.559] TRACE: Images mismatch at [15, 15] pixel [2025-11-06T21:01:54.284Z] [21:01:00.559] TRACE: Images mismatch at [15, 16] pixel [2025-11-06T21:01:54.284Z] [21:01:00.559] TRACE: Images mismatch at [15, 17] pixel [2025-11-06T21:01:54.284Z] [21:01:00.560] TRACE: Images mismatch at [15, 18] pixel [2025-11-06T21:01:54.284Z] [21:01:00.560] TRACE: Images mismatch at [15, 19] pixel [2025-11-06T21:01:54.284Z] [21:01:00.560] TRACE: Images mismatch at [15, 20] pixel [2025-11-06T21:01:54.284Z] [21:01:00.560] TRACE: Images mismatch at [15, 21] pixel [2025-11-06T21:01:54.284Z] [21:01:00.560] TRACE: Images mismatch at [15, 22] pixel [2025-11-06T21:01:54.284Z] [21:01:00.560] TRACE: Images mismatch at [16, 9] pixel [2025-11-06T21:01:54.284Z] [21:01:00.560] TRACE: Images mismatch at [16, 10] pixel [2025-11-06T21:01:54.284Z] [21:01:00.560] TRACE: Images mismatch at [16, 11] pixel [2025-11-06T21:01:54.284Z] [21:01:00.560] TRACE: Images mismatch at [16, 12] pixel [2025-11-06T21:01:54.284Z] [21:01:00.560] TRACE: Images mismatch at [16, 13] pixel [2025-11-06T21:01:54.284Z] [21:01:00.560] TRACE: Images mismatch at [16, 14] pixel [2025-11-06T21:01:54.284Z] [21:01:00.560] TRACE: Images mismatch at [16, 15] pixel [2025-11-06T21:01:54.284Z] [21:01:00.560] TRACE: Images mismatch at [16, 16] pixel [2025-11-06T21:01:54.284Z] [21:01:00.560] TRACE: Images mismatch at [16, 17] pixel [2025-11-06T21:01:54.284Z] [21:01:00.560] TRACE: Images mismatch at [16, 18] pixel [2025-11-06T21:01:54.284Z] [21:01:00.560] TRACE: Images mismatch at [16, 19] pixel [2025-11-06T21:01:54.284Z] [21:01:00.560] TRACE: Images mismatch at [16, 20] pixel [2025-11-06T21:01:54.284Z] [21:01:00.560] TRACE: Images mismatch at [16, 21] pixel [2025-11-06T21:01:54.284Z] [21:01:00.561] TRACE: Images mismatch at [16, 22] pixel [2025-11-06T21:01:54.284Z] [21:01:00.561] TRACE: Images mismatch at [17, 9] pixel [2025-11-06T21:01:54.284Z] [21:01:00.561] TRACE: Images mismatch at [17, 10] pixel [2025-11-06T21:01:54.284Z] [21:01:00.561] TRACE: Images mismatch at [17, 11] pixel [2025-11-06T21:01:54.284Z] [21:01:00.561] TRACE: Images mismatch at [17, 12] pixel [2025-11-06T21:01:54.284Z] [21:01:00.561] TRACE: Images mismatch at [17, 13] pixel [2025-11-06T21:01:54.284Z] [21:01:00.561] TRACE: Images mismatch at [17, 14] pixel [2025-11-06T21:01:54.284Z] [21:01:00.561] TRACE: Images mismatch at [17, 15] pixel [2025-11-06T21:01:54.284Z] [21:01:00.561] TRACE: Images mismatch at [17, 16] pixel [2025-11-06T21:01:54.284Z] [21:01:00.561] TRACE: Images mismatch at [17, 17] pixel [2025-11-06T21:01:54.284Z] [21:01:00.561] TRACE: Images mismatch at [17, 18] pixel [2025-11-06T21:01:54.284Z] [21:01:00.561] TRACE: Images mismatch at [17, 19] pixel [2025-11-06T21:01:54.284Z] [21:01:00.561] TRACE: Images mismatch at [17, 20] pixel [2025-11-06T21:01:54.284Z] [21:01:00.561] TRACE: Images mismatch at [17, 21] pixel [2025-11-06T21:01:54.284Z] [21:01:00.561] TRACE: Images mismatch at [17, 22] pixel [2025-11-06T21:01:54.284Z] [21:01:00.561] TRACE: Images mismatch at [18, 9] pixel [2025-11-06T21:01:54.284Z] [21:01:00.561] TRACE: Images mismatch at [18, 10] pixel [2025-11-06T21:01:54.284Z] [21:01:00.561] TRACE: Images mismatch at [18, 11] pixel [2025-11-06T21:01:54.284Z] [21:01:00.561] TRACE: Images mismatch at [18, 12] pixel [2025-11-06T21:01:54.284Z] [21:01:00.562] TRACE: Images mismatch at [18, 13] pixel [2025-11-06T21:01:54.284Z] [21:01:00.562] TRACE: Images mismatch at [18, 14] pixel [2025-11-06T21:01:54.284Z] [21:01:00.562] TRACE: Images mismatch at [18, 15] pixel [2025-11-06T21:01:54.284Z] [21:01:00.562] TRACE: Images mismatch at [18, 16] pixel [2025-11-06T21:01:54.284Z] [21:01:00.562] TRACE: Images mismatch at [18, 17] pixel [2025-11-06T21:01:54.284Z] [21:01:00.562] TRACE: Images mismatch at [18, 18] pixel [2025-11-06T21:01:54.284Z] [21:01:00.562] TRACE: Images mismatch at [18, 19] pixel [2025-11-06T21:01:54.284Z] [21:01:00.562] TRACE: Images mismatch at [18, 20] pixel [2025-11-06T21:01:54.284Z] [21:01:00.562] TRACE: Images mismatch at [18, 21] pixel [2025-11-06T21:01:54.284Z] [21:01:00.562] TRACE: Images mismatch at [18, 22] pixel [2025-11-06T21:01:54.284Z] [21:01:00.562] TRACE: Images mismatch at [19, 9] pixel [2025-11-06T21:01:54.284Z] [21:01:00.562] TRACE: Images mismatch at [19, 10] pixel [2025-11-06T21:01:54.284Z] [21:01:00.562] TRACE: Images mismatch at [19, 11] pixel [2025-11-06T21:01:54.284Z] [21:01:00.562] TRACE: Images mismatch at [19, 12] pixel [2025-11-06T21:01:54.284Z] [21:01:00.562] TRACE: Images mismatch at [19, 13] pixel [2025-11-06T21:01:54.284Z] [21:01:00.562] TRACE: Images mismatch at [19, 14] pixel [2025-11-06T21:01:54.284Z] [21:01:00.562] TRACE: Images mismatch at [19, 15] pixel [2025-11-06T21:01:54.284Z] [21:01:00.562] TRACE: Images mismatch at [19, 16] pixel [2025-11-06T21:01:54.284Z] [21:01:00.562] TRACE: Images mismatch at [19, 17] pixel [2025-11-06T21:01:54.284Z] [21:01:00.563] TRACE: Images mismatch at [19, 18] pixel [2025-11-06T21:01:54.284Z] [21:01:00.563] TRACE: Images mismatch at [19, 19] pixel [2025-11-06T21:01:54.284Z] [21:01:00.563] TRACE: Images mismatch at [19, 20] pixel [2025-11-06T21:01:54.284Z] [21:01:00.563] TRACE: Images mismatch at [19, 21] pixel [2025-11-06T21:01:54.284Z] [21:01:00.563] TRACE: Images mismatch at [19, 22] pixel [2025-11-06T21:01:54.284Z] [21:01:00.564] ERROR: Failed: Check the number of mismatched pixels [154] of [1024] is < [0.100000] threshold [2025-11-06T21:01:54.284Z] [21:01:00.565] [ FAILED ] IconTest(AppImage, CustomIcon, NoIcon).test; checks=13 [2025-11-06T21:01:54.284Z] [21:01:00.566] [ RUN ] IconTest(AppImage, CustomIcon, ResourceDirIcon).test [2025-11-06T21:01:54.284Z] [21:01:00.567] TRACE: Resource file: [.\test.ec12aa06\resources\x.ico] <- [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon4.ico] [2025-11-06T21:01:54.284Z] [21:01:00.569] TRACE: exec: Execute tool provider [javac -d .\test.ec12aa06\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4)... [2025-11-06T21:01:54.284Z] [21:01:00.657] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.284Z] [21:01:00.657] TRACE: assertEquals(0): Check command tool provider [javac -d .\test.ec12aa06\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4) exited with 0 code [2025-11-06T21:01:54.284Z] [21:01:00.658] TRACE: exec: Execute tool provider [jar -c -f .\test.ec12aa06\input\hello.jar -C .\test.ec12aa06\jar-workdir .](7)... [2025-11-06T21:01:54.284Z] [21:01:00.679] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.284Z] [21:01:00.679] TRACE: assertEquals(0): Check command tool provider [jar -c -f .\test.ec12aa06\input\hello.jar -C .\test.ec12aa06\jar-workdir .](7) exited with 0 code [2025-11-06T21:01:54.284Z] [21:01:00.680] TRACE: Create [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.ec12aa06\x.properties] properties file... [2025-11-06T21:01:54.284Z] [21:01:00.681] TRACE: Done [2025-11-06T21:01:54.284Z] [21:01:00.681] TRACE: Init fake runtime in [.\test.ec12aa06\fake_runtime] directory [2025-11-06T21:01:54.284Z] [21:01:00.683] TRACE: Files in [.\test.ec12aa06\resources] resource dir: [2025-11-06T21:01:54.284Z] [21:01:00.683] TRACE: [x.ico] [2025-11-06T21:01:54.284Z] [21:01:00.683] TRACE: Done [2025-11-06T21:01:54.284Z] [21:01:00.683] TRACE: exec: Execute [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\test.ec12aa06\input --dest .\test.ec12aa06\output --name IconTest --type app-image --main-jar hello.jar --main-class Hello --win-console --icon C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon.ico --resource-dir .\test.ec12aa06\resources --add-launcher x=.\test.ec12aa06\x.properties --runtime-image .\test.ec12aa06\fake_runtime --verbose](23); save output... [2025-11-06T21:01:54.284Z] [21:01:01.012] Creating app package: IconTest in C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\.\test.ec12aa06\output [2025-11-06T21:01:54.284Z] [21:01:01.036] Using custom package resource [icon] (loaded from file C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon.ico). [2025-11-06T21:01:54.284Z] [21:01:01.050] Warning: Windows Defender may prevent jpackage from functioning. If there is an issue, it can be addressed by either disabling realtime monitoring, or adding an exclusion for the directory "C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage17489987240082393459". [2025-11-06T21:01:54.284Z] [21:01:01.054] Using default package resource WinLauncher.template [Template for creating executable properties file] (add IconTest.properties to the resource-dir to customize). [2025-11-06T21:01:54.284Z] [21:01:01.129] Using custom package resource [icon] (loaded from x.ico). [2025-11-06T21:01:54.284Z] [21:01:01.145] Warning: Windows Defender may prevent jpackage from functioning. If there is an issue, it can be addressed by either disabling realtime monitoring, or adding an exclusion for the directory "C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage17489987240082393459". [2025-11-06T21:01:54.284Z] [21:01:01.149] Using default package resource WinLauncher.template [Template for creating executable properties file] (add x.properties to the resource-dir to customize). [2025-11-06T21:01:54.284Z] [21:01:01.157] Succeeded in building Windows Application Image package [2025-11-06T21:01:54.284Z] [21:01:01.172] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.284Z] [21:01:01.172] TRACE: assertEquals(0): Check command [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\test.ec12aa06\input --dest .\test.ec12aa06\output --name IconTest --type app-image --main-jar hello.jar --main-class Hello --win-console --icon C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon.ico --resource-dir .\test.ec12aa06\resources --add-launcher x=.\test.ec12aa06\x.properties --runtime-image .\test.ec12aa06\fake_runtime --verbose](23) exited with 0 code [2025-11-06T21:01:54.284Z] [21:01:01.173] TRACE: assertTrue(): Check [.\test.ec12aa06\output\IconTest\x.ico] path doesn't exist [2025-11-06T21:01:54.284Z] [21:01:01.175] TRACE: exec: Execute tool provider [javac -d .\test.ec12aa06\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4)... [2025-11-06T21:01:54.284Z] [21:01:01.313] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.284Z] [21:01:01.313] TRACE: assertEquals(0): Check command tool provider [javac -d .\test.ec12aa06\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4) exited with 0 code [2025-11-06T21:01:54.284Z] [21:01:01.313] TRACE: Delete [.\test.ec12aa06\input\hello.jar] existing jar file [2025-11-06T21:01:54.284Z] [21:01:01.314] TRACE: exec: Execute tool provider [jar -c -f .\test.ec12aa06\input\hello.jar -C .\test.ec12aa06\jar-workdir .](7)... [2025-11-06T21:01:54.284Z] [21:01:01.334] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.284Z] [21:01:01.334] TRACE: assertEquals(0): Check command tool provider [jar -c -f .\test.ec12aa06\input\hello.jar -C .\test.ec12aa06\jar-workdir .](7) exited with 0 code [2025-11-06T21:01:54.284Z] [21:01:01.335] TRACE: Init fake runtime in [.\test.ec12aa06\fake_runtime] directory [2025-11-06T21:01:54.284Z] [21:01:01.336] TRACE: exec: Execute [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\test.ec12aa06\input --dest .\test.ec12aa06\out-8156 --name IconTest --type app-image --main-jar hello.jar --main-class Hello --win-console --runtime-image .\test.ec12aa06\fake_runtime --verbose](17); inherit I/O... [2025-11-06T21:01:54.284Z] [21:01:01.660] Creating app package: IconTest in C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\.\test.ec12aa06\out-8156 [2025-11-06T21:01:54.284Z] [21:01:01.689] Using default package resource JavaApp.ico [icon] (add IconTest.ico to the resource-dir to customize). [2025-11-06T21:01:54.284Z] [21:01:01.706] Warning: Windows Defender may prevent jpackage from functioning. If there is an issue, it can be addressed by either disabling realtime monitoring, or adding an exclusion for the directory "C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage18096898364536140538". [2025-11-06T21:01:54.284Z] [21:01:01.709] Using default package resource WinLauncher.template [Template for creating executable properties file] (add IconTest.properties to the resource-dir to customize). [2025-11-06T21:01:54.284Z] [21:01:01.745] Succeeded in building Windows Application Image package [2025-11-06T21:01:54.284Z] [21:01:01.759] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.285Z] [21:01:01.759] TRACE: assertEquals(0): Check command [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\test.ec12aa06\input --dest .\test.ec12aa06\out-8156 --name IconTest --type app-image --main-jar hello.jar --main-class Hello --win-console --runtime-image .\test.ec12aa06\fake_runtime --verbose](17) exited with 0 code [2025-11-06T21:01:54.285Z] [21:01:01.868] TRACE: Set icon of [.\test.ec12aa06\icons\x.exe\container.exe] launcher to [.\test.ec12aa06\resources\x.ico] file [2025-11-06T21:01:54.285Z] [21:01:01.995] TRACE: exec: Execute [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.ec12aa06\icons\x.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.ec12aa06\icons\x.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T21:01:54.285Z] [21:01:02.455] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.285Z] [21:01:02.456] TRACE: assertEquals(0): Check command [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.ec12aa06\icons\x.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.ec12aa06\icons\x.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T21:01:54.285Z] [21:01:02.456] TRACE: exec: Execute [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.ec12aa06\output\IconTest\x.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.ec12aa06\icons\x.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T21:01:54.285Z] [21:01:02.776] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.285Z] [21:01:02.776] TRACE: assertEquals(0): Check command [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.ec12aa06\output\IconTest\x.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.ec12aa06\icons\x.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T21:01:54.285Z] [21:01:02.776] TRACE: Check icon file [.\test.ec12aa06\icons\x.exe\actual.bmp] of x launcher is a copy of source icon file [.\test.ec12aa06\icons\x.exe\expected.bmp] [2025-11-06T21:01:54.285Z] [21:01:02.778] TRACE: assertTrue(): Check [.\test.ec12aa06\output\IconTest\x.exe] path exists [2025-11-06T21:01:54.285Z] [21:01:02.778] TRACE: assertTrue(): Check [.\test.ec12aa06\output\IconTest\x.exe] is a file [2025-11-06T21:01:54.285Z] [21:01:02.778] TRACE: assertTrue(): Check [.\test.ec12aa06\output\IconTest\x.exe] file is executable [2025-11-06T21:01:54.285Z] [21:01:02.779] TRACE: Not running .\test.ec12aa06\output\IconTest\x.exe launcher because application runtime directory [.\test.ec12aa06\output\IconTest\runtime] is incomplete [2025-11-06T21:01:54.285Z] [21:01:02.779] TRACE: assertStringListEquals(): Check there is only one file with [.jpackage.xml] name in the package [2025-11-06T21:01:54.285Z] [21:01:02.779] TRACE: assertStringListEquals(1, .\test.ec12aa06\output\IconTest\app\.jpackage.xml) [2025-11-06T21:01:54.285Z] [21:01:02.779] TRACE: assertTrue(): Check [.\test.ec12aa06\output\IconTest\runtime] path exists [2025-11-06T21:01:54.285Z] [21:01:02.780] TRACE: assertTrue(): Check [.\test.ec12aa06\output\IconTest\runtime] is a directory [2025-11-06T21:01:54.285Z] [21:01:02.780] TRACE: assertTrue(): Check [.\test.ec12aa06\output\IconTest\IconTest.exe] path exists [2025-11-06T21:01:54.285Z] [21:01:02.780] TRACE: assertTrue(): Check [.\test.ec12aa06\output\IconTest\IconTest.exe] is a file [2025-11-06T21:01:54.285Z] [21:01:02.780] TRACE: assertTrue(): Check [.\test.ec12aa06\output\IconTest\IconTest.exe] file is executable [2025-11-06T21:01:54.285Z] [21:01:02.780] TRACE: assertTrue(): Check [.\test.ec12aa06\output\IconTest\app\IconTest.cfg] path exists [2025-11-06T21:01:54.285Z] [21:01:02.780] TRACE: assertTrue(): Check [.\test.ec12aa06\output\IconTest\app\IconTest.cfg] is a file [2025-11-06T21:01:54.285Z] [21:01:02.780] TRACE: assertTrue(): Check [.\test.ec12aa06\output\IconTest\IconTest.ico] path doesn't exist [2025-11-06T21:01:54.285Z] [21:01:02.782] TRACE: Set icon of [.\test.ec12aa06\icons\IconTest.exe\container.exe] launcher to [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon.ico] file [2025-11-06T21:01:54.285Z] [21:01:02.907] TRACE: exec: Execute [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.ec12aa06\icons\IconTest.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.ec12aa06\icons\IconTest.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T21:01:54.285Z] [21:01:03.360] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.285Z] [21:01:03.360] TRACE: assertEquals(0): Check command [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.ec12aa06\icons\IconTest.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.ec12aa06\icons\IconTest.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T21:01:54.285Z] [21:01:03.360] TRACE: exec: Execute [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.ec12aa06\output\IconTest\IconTest.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.ec12aa06\icons\IconTest.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T21:01:54.285Z] [21:01:03.679] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.285Z] [21:01:03.680] TRACE: assertEquals(0): Check command [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.ec12aa06\output\IconTest\IconTest.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.ec12aa06\icons\IconTest.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T21:01:54.285Z] [21:01:03.680] TRACE: Check icon file [.\test.ec12aa06\icons\IconTest.exe\actual.bmp] of main launcher is a copy of source icon file [.\test.ec12aa06\icons\IconTest.exe\expected.bmp] [2025-11-06T21:01:54.285Z] [21:01:03.682] TRACE: assertNotNull([21:01:01.036] Using custom package resource [icon] (loaded from file C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon.ico).): Check output contains [Using custom package resource [icon] (loaded from file] string [2025-11-06T21:01:54.285Z] [21:01:03.682] TRACE: assertNotNull([21:01:01.129] Using custom package resource [icon] (loaded from x.ico).): Check output contains [Using custom package resource [icon] (loaded from x.ico)] string [2025-11-06T21:01:54.285Z] [21:01:03.682] TRACE: Deleting [.\test.ec12aa06] directory recursively [2025-11-06T21:01:54.285Z] [21:01:03.689] [ OK ] IconTest(AppImage, CustomIcon, ResourceDirIcon).test; checks=25 [2025-11-06T21:01:54.285Z] [21:01:03.689] [ RUN ] IconTest(AppImage, CustomWithResourceDirIcon, CustomIcon).test [2025-11-06T21:01:54.285Z] [21:01:03.689] TRACE: Resource file: [.\test.0bd7d82b\resources\IconTest.ico] <- [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon.ico] [2025-11-06T21:01:54.285Z] [21:01:03.691] TRACE: exec: Execute tool provider [javac -d .\test.0bd7d82b\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4)... [2025-11-06T21:01:54.285Z] [21:01:03.809] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.285Z] [21:01:03.809] TRACE: assertEquals(0): Check command tool provider [javac -d .\test.0bd7d82b\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4) exited with 0 code [2025-11-06T21:01:54.285Z] [21:01:03.809] TRACE: exec: Execute tool provider [jar -c -f .\test.0bd7d82b\input\hello.jar -C .\test.0bd7d82b\jar-workdir .](7)... [2025-11-06T21:01:54.285Z] [21:01:03.831] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.285Z] [21:01:03.831] TRACE: assertEquals(0): Check command tool provider [jar -c -f .\test.0bd7d82b\input\hello.jar -C .\test.0bd7d82b\jar-workdir .](7) exited with 0 code [2025-11-06T21:01:54.285Z] [21:01:03.832] TRACE: Create [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.0bd7d82b\x.properties] properties file... [2025-11-06T21:01:54.285Z] [21:01:03.832] TRACE: icon=C:/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/tools/jpackage/resources/icon3.ico [2025-11-06T21:01:54.285Z] [21:01:03.833] TRACE: Done [2025-11-06T21:01:54.285Z] [21:01:03.833] TRACE: Init fake runtime in [.\test.0bd7d82b\fake_runtime] directory [2025-11-06T21:01:54.285Z] [21:01:03.834] TRACE: Files in [.\test.0bd7d82b\resources] resource dir: [2025-11-06T21:01:54.285Z] [21:01:03.834] TRACE: [IconTest.ico] [2025-11-06T21:01:54.285Z] [21:01:03.835] TRACE: Done [2025-11-06T21:01:54.285Z] [21:01:03.835] TRACE: exec: Execute [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\test.0bd7d82b\input --dest .\test.0bd7d82b\output --name IconTest --type app-image --main-jar hello.jar --main-class Hello --win-console --icon C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon2.ico --resource-dir .\test.0bd7d82b\resources --add-launcher x=.\test.0bd7d82b\x.properties --runtime-image .\test.0bd7d82b\fake_runtime --verbose](23); save output... [2025-11-06T21:01:54.285Z] [21:01:04.179] Creating app package: IconTest in C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\.\test.0bd7d82b\output [2025-11-06T21:01:54.285Z] [21:01:04.202] Using custom package resource [icon] (loaded from file C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon2.ico). [2025-11-06T21:01:54.285Z] [21:01:04.228] Warning: Windows Defender may prevent jpackage from functioning. If there is an issue, it can be addressed by either disabling realtime monitoring, or adding an exclusion for the directory "C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage6971481745979694506". [2025-11-06T21:01:54.285Z] [21:01:04.233] Using default package resource WinLauncher.template [Template for creating executable properties file] (add IconTest.properties to the resource-dir to customize). [2025-11-06T21:01:54.285Z] [21:01:04.308] Using custom package resource [icon] (loaded from file C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon3.ico). [2025-11-06T21:01:54.285Z] [21:01:04.313] Warning: Windows Defender may prevent jpackage from functioning. If there is an issue, it can be addressed by either disabling realtime monitoring, or adding an exclusion for the directory "C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage6971481745979694506". [2025-11-06T21:01:54.285Z] [21:01:04.317] Using default package resource WinLauncher.template [Template for creating executable properties file] (add x.properties to the resource-dir to customize). [2025-11-06T21:01:54.285Z] [21:01:04.334] Succeeded in building Windows Application Image package [2025-11-06T21:01:54.285Z] [21:01:04.349] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.285Z] [21:01:04.350] TRACE: assertEquals(0): Check command [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\test.0bd7d82b\input --dest .\test.0bd7d82b\output --name IconTest --type app-image --main-jar hello.jar --main-class Hello --win-console --icon C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon2.ico --resource-dir .\test.0bd7d82b\resources --add-launcher x=.\test.0bd7d82b\x.properties --runtime-image .\test.0bd7d82b\fake_runtime --verbose](23) exited with 0 code [2025-11-06T21:01:54.285Z] [21:01:04.350] TRACE: assertTrue(): Check [.\test.0bd7d82b\output\IconTest\x.ico] path doesn't exist [2025-11-06T21:01:54.285Z] [21:01:04.351] TRACE: exec: Execute tool provider [javac -d .\test.0bd7d82b\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4)... [2025-11-06T21:01:54.285Z] [21:01:04.480] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.285Z] [21:01:04.481] TRACE: assertEquals(0): Check command tool provider [javac -d .\test.0bd7d82b\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4) exited with 0 code [2025-11-06T21:01:54.285Z] [21:01:04.481] TRACE: Delete [.\test.0bd7d82b\input\hello.jar] existing jar file [2025-11-06T21:01:54.285Z] [21:01:04.482] TRACE: exec: Execute tool provider [jar -c -f .\test.0bd7d82b\input\hello.jar -C .\test.0bd7d82b\jar-workdir .](7)... [2025-11-06T21:01:54.285Z] [21:01:04.502] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.285Z] [21:01:04.502] TRACE: assertEquals(0): Check command tool provider [jar -c -f .\test.0bd7d82b\input\hello.jar -C .\test.0bd7d82b\jar-workdir .](7) exited with 0 code [2025-11-06T21:01:54.285Z] [21:01:04.503] TRACE: Init fake runtime in [.\test.0bd7d82b\fake_runtime] directory [2025-11-06T21:01:54.285Z] [21:01:04.504] TRACE: exec: Execute [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\test.0bd7d82b\input --dest .\test.0bd7d82b\out-8156 --name IconTest --type app-image --main-jar hello.jar --main-class Hello --win-console --runtime-image .\test.0bd7d82b\fake_runtime --verbose](17); inherit I/O... [2025-11-06T21:01:54.286Z] [21:01:04.832] Creating app package: IconTest in C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\.\test.0bd7d82b\out-8156 [2025-11-06T21:01:54.286Z] [21:01:04.855] Using default package resource JavaApp.ico [icon] (add IconTest.ico to the resource-dir to customize). [2025-11-06T21:01:54.286Z] [21:01:04.871] Warning: Windows Defender may prevent jpackage from functioning. If there is an issue, it can be addressed by either disabling realtime monitoring, or adding an exclusion for the directory "C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage812240399865452195". [2025-11-06T21:01:54.286Z] [21:01:04.875] Using default package resource WinLauncher.template [Template for creating executable properties file] (add IconTest.properties to the resource-dir to customize). [2025-11-06T21:01:54.286Z] [21:01:04.961] Succeeded in building Windows Application Image package [2025-11-06T21:01:54.286Z] [21:01:04.973] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.286Z] [21:01:04.973] TRACE: assertEquals(0): Check command [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\test.0bd7d82b\input --dest .\test.0bd7d82b\out-8156 --name IconTest --type app-image --main-jar hello.jar --main-class Hello --win-console --runtime-image .\test.0bd7d82b\fake_runtime --verbose](17) exited with 0 code [2025-11-06T21:01:54.286Z] [21:01:05.034] TRACE: Set icon of [.\test.0bd7d82b\icons\x.exe\container.exe] launcher to [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon3.ico] file [2025-11-06T21:01:54.286Z] [21:01:05.158] TRACE: exec: Execute [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.0bd7d82b\icons\x.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.0bd7d82b\icons\x.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T21:01:54.286Z] [21:01:05.609] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.286Z] [21:01:05.609] TRACE: assertEquals(0): Check command [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.0bd7d82b\icons\x.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.0bd7d82b\icons\x.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T21:01:54.286Z] [21:01:05.609] TRACE: exec: Execute [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.0bd7d82b\output\IconTest\x.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.0bd7d82b\icons\x.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T21:01:54.286Z] [21:01:05.927] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.286Z] [21:01:05.927] TRACE: assertEquals(0): Check command [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.0bd7d82b\output\IconTest\x.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.0bd7d82b\icons\x.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T21:01:54.286Z] [21:01:05.928] TRACE: Check icon file [.\test.0bd7d82b\icons\x.exe\actual.bmp] of x launcher is a copy of source icon file [.\test.0bd7d82b\icons\x.exe\expected.bmp] [2025-11-06T21:01:54.286Z] [21:01:05.930] TRACE: assertTrue(): Check [.\test.0bd7d82b\output\IconTest\x.exe] path exists [2025-11-06T21:01:54.286Z] [21:01:05.930] TRACE: assertTrue(): Check [.\test.0bd7d82b\output\IconTest\x.exe] is a file [2025-11-06T21:01:54.286Z] [21:01:05.930] TRACE: assertTrue(): Check [.\test.0bd7d82b\output\IconTest\x.exe] file is executable [2025-11-06T21:01:54.286Z] [21:01:05.930] TRACE: Not running .\test.0bd7d82b\output\IconTest\x.exe launcher because application runtime directory [.\test.0bd7d82b\output\IconTest\runtime] is incomplete [2025-11-06T21:01:54.286Z] [21:01:05.931] TRACE: assertStringListEquals(): Check there is only one file with [.jpackage.xml] name in the package [2025-11-06T21:01:54.286Z] [21:01:05.931] TRACE: assertStringListEquals(1, .\test.0bd7d82b\output\IconTest\app\.jpackage.xml) [2025-11-06T21:01:54.286Z] [21:01:05.931] TRACE: assertTrue(): Check [.\test.0bd7d82b\output\IconTest\runtime] path exists [2025-11-06T21:01:54.286Z] [21:01:05.931] TRACE: assertTrue(): Check [.\test.0bd7d82b\output\IconTest\runtime] is a directory [2025-11-06T21:01:54.286Z] [21:01:05.931] TRACE: assertTrue(): Check [.\test.0bd7d82b\output\IconTest\IconTest.exe] path exists [2025-11-06T21:01:54.286Z] [21:01:05.932] TRACE: assertTrue(): Check [.\test.0bd7d82b\output\IconTest\IconTest.exe] is a file [2025-11-06T21:01:54.286Z] [21:01:05.932] TRACE: assertTrue(): Check [.\test.0bd7d82b\output\IconTest\IconTest.exe] file is executable [2025-11-06T21:01:54.286Z] [21:01:05.932] TRACE: assertTrue(): Check [.\test.0bd7d82b\output\IconTest\app\IconTest.cfg] path exists [2025-11-06T21:01:54.286Z] [21:01:05.932] TRACE: assertTrue(): Check [.\test.0bd7d82b\output\IconTest\app\IconTest.cfg] is a file [2025-11-06T21:01:54.286Z] [21:01:05.932] TRACE: assertTrue(): Check [.\test.0bd7d82b\output\IconTest\IconTest.ico] path doesn't exist [2025-11-06T21:01:54.286Z] [21:01:05.934] TRACE: Set icon of [.\test.0bd7d82b\icons\IconTest.exe\container.exe] launcher to [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon2.ico] file [2025-11-06T21:01:54.286Z] [21:01:06.059] TRACE: exec: Execute [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.0bd7d82b\icons\IconTest.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.0bd7d82b\icons\IconTest.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T21:01:54.286Z] [21:01:06.521] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.286Z] [21:01:06.521] TRACE: assertEquals(0): Check command [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.0bd7d82b\icons\IconTest.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.0bd7d82b\icons\IconTest.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T21:01:54.286Z] [21:01:06.522] TRACE: exec: Execute [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.0bd7d82b\output\IconTest\IconTest.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.0bd7d82b\icons\IconTest.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T21:01:54.286Z] [21:01:06.850] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.286Z] [21:01:06.851] TRACE: assertEquals(0): Check command [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.0bd7d82b\output\IconTest\IconTest.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.0bd7d82b\icons\IconTest.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T21:01:54.286Z] [21:01:06.851] TRACE: Check icon file [.\test.0bd7d82b\icons\IconTest.exe\actual.bmp] of main launcher is a copy of source icon file [.\test.0bd7d82b\icons\IconTest.exe\expected.bmp] [2025-11-06T21:01:54.286Z] [21:01:06.853] TRACE: assertNotNull([21:01:04.202] Using custom package resource [icon] (loaded from file C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon2.ico).): Check output contains [Using custom package resource [icon] (loaded from file] string [2025-11-06T21:01:54.286Z] [21:01:06.853] TRACE: assertNotNull([21:01:04.202] Using custom package resource [icon] (loaded from file C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon2.ico).): Check output contains [Using custom package resource [icon] (loaded from file] string [2025-11-06T21:01:54.286Z] [21:01:06.853] TRACE: Deleting [.\test.0bd7d82b] directory recursively [2025-11-06T21:01:54.286Z] [21:01:06.859] [ OK ] IconTest(AppImage, CustomWithResourceDirIcon, CustomIcon).test; checks=25 [2025-11-06T21:01:54.286Z] [21:01:06.859] [ RUN ] IconTest(AppImage, CustomWithResourceDirIcon, CustomWithResourceDirIcon).test [2025-11-06T21:01:54.286Z] [21:01:06.860] TRACE: Resource file: [.\test.9187822e\resources\IconTest.ico] <- [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon.ico] [2025-11-06T21:01:54.286Z] [21:01:06.861] TRACE: Resource file: [.\test.9187822e\resources\x.ico] <- [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon3.ico] [2025-11-06T21:01:54.286Z] [21:01:06.863] TRACE: exec: Execute tool provider [javac -d .\test.9187822e\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4)... [2025-11-06T21:01:54.286Z] [21:01:06.990] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.286Z] [21:01:06.991] TRACE: assertEquals(0): Check command tool provider [javac -d .\test.9187822e\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4) exited with 0 code [2025-11-06T21:01:54.286Z] [21:01:06.991] TRACE: exec: Execute tool provider [jar -c -f .\test.9187822e\input\hello.jar -C .\test.9187822e\jar-workdir .](7)... [2025-11-06T21:01:54.286Z] [21:01:07.012] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.286Z] [21:01:07.012] TRACE: assertEquals(0): Check command tool provider [jar -c -f .\test.9187822e\input\hello.jar -C .\test.9187822e\jar-workdir .](7) exited with 0 code [2025-11-06T21:01:54.287Z] [21:01:07.013] TRACE: Create [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.9187822e\x.properties] properties file... [2025-11-06T21:01:54.287Z] [21:01:07.013] TRACE: icon=C:/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/tools/jpackage/resources/icon4.ico [2025-11-06T21:01:54.287Z] [21:01:07.014] TRACE: Done [2025-11-06T21:01:54.287Z] [21:01:07.014] TRACE: Init fake runtime in [.\test.9187822e\fake_runtime] directory [2025-11-06T21:01:54.287Z] [21:01:07.015] TRACE: Files in [.\test.9187822e\resources] resource dir: [2025-11-06T21:01:54.287Z] [21:01:07.016] TRACE: [IconTest.ico] [2025-11-06T21:01:54.287Z] [21:01:07.016] TRACE: [x.ico] [2025-11-06T21:01:54.287Z] [21:01:07.016] TRACE: Done [2025-11-06T21:01:54.287Z] [21:01:07.016] TRACE: exec: Execute [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\test.9187822e\input --dest .\test.9187822e\output --name IconTest --type app-image --main-jar hello.jar --main-class Hello --win-console --icon C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon2.ico --resource-dir .\test.9187822e\resources --add-launcher x=.\test.9187822e\x.properties --runtime-image .\test.9187822e\fake_runtime --verbose](23); save output... [2025-11-06T21:01:54.287Z] [21:01:07.344] Creating app package: IconTest in C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\.\test.9187822e\output [2025-11-06T21:01:54.287Z] [21:01:07.367] Using custom package resource [icon] (loaded from file C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon2.ico). [2025-11-06T21:01:54.287Z] [21:01:07.383] Warning: Windows Defender may prevent jpackage from functioning. If there is an issue, it can be addressed by either disabling realtime monitoring, or adding an exclusion for the directory "C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage16191027444551008006". [2025-11-06T21:01:54.287Z] [21:01:07.387] Using default package resource WinLauncher.template [Template for creating executable properties file] (add IconTest.properties to the resource-dir to customize). [2025-11-06T21:01:54.287Z] [21:01:07.460] Using custom package resource [icon] (loaded from file C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon4.ico). [2025-11-06T21:01:54.287Z] [21:01:07.465] Warning: Windows Defender may prevent jpackage from functioning. If there is an issue, it can be addressed by either disabling realtime monitoring, or adding an exclusion for the directory "C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage16191027444551008006". [2025-11-06T21:01:54.287Z] [21:01:07.470] Using default package resource WinLauncher.template [Template for creating executable properties file] (add x.properties to the resource-dir to customize). [2025-11-06T21:01:54.287Z] [21:01:07.478] Succeeded in building Windows Application Image package [2025-11-06T21:01:54.287Z] [21:01:07.492] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.287Z] [21:01:07.492] TRACE: assertEquals(0): Check command [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\test.9187822e\input --dest .\test.9187822e\output --name IconTest --type app-image --main-jar hello.jar --main-class Hello --win-console --icon C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon2.ico --resource-dir .\test.9187822e\resources --add-launcher x=.\test.9187822e\x.properties --runtime-image .\test.9187822e\fake_runtime --verbose](23) exited with 0 code [2025-11-06T21:01:54.287Z] [21:01:07.492] TRACE: assertTrue(): Check [.\test.9187822e\output\IconTest\x.ico] path doesn't exist [2025-11-06T21:01:54.287Z] [21:01:07.494] TRACE: exec: Execute tool provider [javac -d .\test.9187822e\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4)... [2025-11-06T21:01:54.287Z] [21:01:07.609] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.287Z] [21:01:07.609] TRACE: assertEquals(0): Check command tool provider [javac -d .\test.9187822e\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4) exited with 0 code [2025-11-06T21:01:54.287Z] [21:01:07.609] TRACE: Delete [.\test.9187822e\input\hello.jar] existing jar file [2025-11-06T21:01:54.287Z] [21:01:07.610] TRACE: exec: Execute tool provider [jar -c -f .\test.9187822e\input\hello.jar -C .\test.9187822e\jar-workdir .](7)... [2025-11-06T21:01:54.287Z] [21:01:07.637] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.287Z] [21:01:07.637] TRACE: assertEquals(0): Check command tool provider [jar -c -f .\test.9187822e\input\hello.jar -C .\test.9187822e\jar-workdir .](7) exited with 0 code [2025-11-06T21:01:54.287Z] [21:01:07.638] TRACE: Init fake runtime in [.\test.9187822e\fake_runtime] directory [2025-11-06T21:01:54.287Z] [21:01:07.640] TRACE: exec: Execute [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\test.9187822e\input --dest .\test.9187822e\out-8156 --name IconTest --type app-image --main-jar hello.jar --main-class Hello --win-console --runtime-image .\test.9187822e\fake_runtime --verbose](17); inherit I/O... [2025-11-06T21:01:54.287Z] [21:01:07.961] Creating app package: IconTest in C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\.\test.9187822e\out-8156 [2025-11-06T21:01:54.287Z] [21:01:07.983] Using default package resource JavaApp.ico [icon] (add IconTest.ico to the resource-dir to customize). [2025-11-06T21:01:54.287Z] [21:01:07.998] Warning: Windows Defender may prevent jpackage from functioning. If there is an issue, it can be addressed by either disabling realtime monitoring, or adding an exclusion for the directory "C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage12695521547028615062". [2025-11-06T21:01:54.287Z] [21:01:08.003] Using default package resource WinLauncher.template [Template for creating executable properties file] (add IconTest.properties to the resource-dir to customize). [2025-11-06T21:01:54.287Z] [21:01:08.039] Succeeded in building Windows Application Image package [2025-11-06T21:01:54.287Z] [21:01:08.053] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.287Z] [21:01:08.053] TRACE: assertEquals(0): Check command [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\test.9187822e\input --dest .\test.9187822e\out-8156 --name IconTest --type app-image --main-jar hello.jar --main-class Hello --win-console --runtime-image .\test.9187822e\fake_runtime --verbose](17) exited with 0 code [2025-11-06T21:01:54.287Z] [21:01:08.150] TRACE: Set icon of [.\test.9187822e\icons\x.exe\container.exe] launcher to [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon4.ico] file [2025-11-06T21:01:54.287Z] [21:01:08.274] TRACE: exec: Execute [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.9187822e\icons\x.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.9187822e\icons\x.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T21:01:54.287Z] [21:01:08.736] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.287Z] [21:01:08.737] TRACE: assertEquals(0): Check command [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.9187822e\icons\x.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.9187822e\icons\x.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T21:01:54.287Z] [21:01:08.737] TRACE: exec: Execute [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.9187822e\output\IconTest\x.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.9187822e\icons\x.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T21:01:54.287Z] [21:01:09.055] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.287Z] [21:01:09.055] TRACE: assertEquals(0): Check command [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.9187822e\output\IconTest\x.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.9187822e\icons\x.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T21:01:54.287Z] [21:01:09.055] TRACE: Check icon file [.\test.9187822e\icons\x.exe\actual.bmp] of x launcher is a copy of source icon file [.\test.9187822e\icons\x.exe\expected.bmp] [2025-11-06T21:01:54.287Z] [21:01:09.058] TRACE: assertTrue(): Check [.\test.9187822e\output\IconTest\x.exe] path exists [2025-11-06T21:01:54.287Z] [21:01:09.058] TRACE: assertTrue(): Check [.\test.9187822e\output\IconTest\x.exe] is a file [2025-11-06T21:01:54.287Z] [21:01:09.058] TRACE: assertTrue(): Check [.\test.9187822e\output\IconTest\x.exe] file is executable [2025-11-06T21:01:54.287Z] [21:01:09.058] TRACE: Not running .\test.9187822e\output\IconTest\x.exe launcher because application runtime directory [.\test.9187822e\output\IconTest\runtime] is incomplete [2025-11-06T21:01:54.287Z] [21:01:09.058] TRACE: assertStringListEquals(): Check there is only one file with [.jpackage.xml] name in the package [2025-11-06T21:01:54.287Z] [21:01:09.059] TRACE: assertStringListEquals(1, .\test.9187822e\output\IconTest\app\.jpackage.xml) [2025-11-06T21:01:54.287Z] [21:01:09.059] TRACE: assertTrue(): Check [.\test.9187822e\output\IconTest\runtime] path exists [2025-11-06T21:01:54.287Z] [21:01:09.059] TRACE: assertTrue(): Check [.\test.9187822e\output\IconTest\runtime] is a directory [2025-11-06T21:01:54.287Z] [21:01:09.059] TRACE: assertTrue(): Check [.\test.9187822e\output\IconTest\IconTest.exe] path exists [2025-11-06T21:01:54.287Z] [21:01:09.059] TRACE: assertTrue(): Check [.\test.9187822e\output\IconTest\IconTest.exe] is a file [2025-11-06T21:01:54.287Z] [21:01:09.059] TRACE: assertTrue(): Check [.\test.9187822e\output\IconTest\IconTest.exe] file is executable [2025-11-06T21:01:54.287Z] [21:01:09.059] TRACE: assertTrue(): Check [.\test.9187822e\output\IconTest\app\IconTest.cfg] path exists [2025-11-06T21:01:54.287Z] [21:01:09.059] TRACE: assertTrue(): Check [.\test.9187822e\output\IconTest\app\IconTest.cfg] is a file [2025-11-06T21:01:54.287Z] [21:01:09.059] TRACE: assertTrue(): Check [.\test.9187822e\output\IconTest\IconTest.ico] path doesn't exist [2025-11-06T21:01:54.287Z] [21:01:09.061] TRACE: Set icon of [.\test.9187822e\icons\IconTest.exe\container.exe] launcher to [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon2.ico] file [2025-11-06T21:01:54.287Z] [21:01:09.187] TRACE: exec: Execute [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.9187822e\icons\IconTest.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.9187822e\icons\IconTest.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T21:01:54.287Z] [21:01:09.632] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.287Z] [21:01:09.632] TRACE: assertEquals(0): Check command [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.9187822e\icons\IconTest.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.9187822e\icons\IconTest.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T21:01:54.287Z] [21:01:09.633] TRACE: exec: Execute [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.9187822e\output\IconTest\IconTest.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.9187822e\icons\IconTest.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T21:01:54.287Z] [21:01:09.952] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.287Z] [21:01:09.953] TRACE: assertEquals(0): Check command [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.9187822e\output\IconTest\IconTest.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.9187822e\icons\IconTest.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T21:01:54.287Z] [21:01:09.953] TRACE: Check icon file [.\test.9187822e\icons\IconTest.exe\actual.bmp] of main launcher is a copy of source icon file [.\test.9187822e\icons\IconTest.exe\expected.bmp] [2025-11-06T21:01:54.287Z] [21:01:09.956] TRACE: assertNotNull([21:01:07.367] Using custom package resource [icon] (loaded from file C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon2.ico).): Check output contains [Using custom package resource [icon] (loaded from file] string [2025-11-06T21:01:54.287Z] [21:01:09.956] TRACE: assertNotNull([21:01:07.367] Using custom package resource [icon] (loaded from file C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon2.ico).): Check output contains [Using custom package resource [icon] (loaded from file] string [2025-11-06T21:01:54.287Z] [21:01:09.956] TRACE: Deleting [.\test.9187822e] directory recursively [2025-11-06T21:01:54.287Z] [21:01:09.976] [ OK ] IconTest(AppImage, CustomWithResourceDirIcon, CustomWithResourceDirIcon).test; checks=25 [2025-11-06T21:01:54.287Z] [21:01:09.976] [ RUN ] IconTest(AppImage, CustomWithResourceDirIcon, DefaultIcon).test [2025-11-06T21:01:54.287Z] [21:01:09.977] TRACE: Resource file: [.\test.bfc7c267\resources\IconTest.ico] <- [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon.ico] [2025-11-06T21:01:54.287Z] [21:01:09.980] TRACE: exec: Execute tool provider [javac -d .\test.bfc7c267\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4)... [2025-11-06T21:01:54.287Z] [21:01:10.082] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.287Z] [21:01:10.082] TRACE: assertEquals(0): Check command tool provider [javac -d .\test.bfc7c267\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4) exited with 0 code [2025-11-06T21:01:54.287Z] [21:01:10.083] TRACE: exec: Execute tool provider [jar -c -f .\test.bfc7c267\input\hello.jar -C .\test.bfc7c267\jar-workdir .](7)... [2025-11-06T21:01:54.287Z] [21:01:10.104] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.287Z] [21:01:10.104] TRACE: assertEquals(0): Check command tool provider [jar -c -f .\test.bfc7c267\input\hello.jar -C .\test.bfc7c267\jar-workdir .](7) exited with 0 code [2025-11-06T21:01:54.287Z] [21:01:10.105] TRACE: Create [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.bfc7c267\x.properties] properties file... [2025-11-06T21:01:54.287Z] [21:01:10.106] TRACE: Done [2025-11-06T21:01:54.287Z] [21:01:10.106] TRACE: Init fake runtime in [.\test.bfc7c267\fake_runtime] directory [2025-11-06T21:01:54.287Z] [21:01:10.108] TRACE: Files in [.\test.bfc7c267\resources] resource dir: [2025-11-06T21:01:54.287Z] [21:01:10.108] TRACE: [IconTest.ico] [2025-11-06T21:01:54.287Z] [21:01:10.108] TRACE: Done [2025-11-06T21:01:54.287Z] [21:01:10.108] TRACE: exec: Execute [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\test.bfc7c267\input --dest .\test.bfc7c267\output --name IconTest --type app-image --main-jar hello.jar --main-class Hello --win-console --icon C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon2.ico --resource-dir .\test.bfc7c267\resources --add-launcher x=.\test.bfc7c267\x.properties --runtime-image .\test.bfc7c267\fake_runtime --verbose](23); save output... [2025-11-06T21:01:54.287Z] [21:01:10.433] Creating app package: IconTest in C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\.\test.bfc7c267\output [2025-11-06T21:01:54.287Z] [21:01:10.456] Using custom package resource [icon] (loaded from file C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon2.ico). [2025-11-06T21:01:54.288Z] [21:01:10.471] Warning: Windows Defender may prevent jpackage from functioning. If there is an issue, it can be addressed by either disabling realtime monitoring, or adding an exclusion for the directory "C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage13438826686088811898". [2025-11-06T21:01:54.288Z] [21:01:10.475] Using default package resource WinLauncher.template [Template for creating executable properties file] (add IconTest.properties to the resource-dir to customize). [2025-11-06T21:01:54.288Z] [21:01:10.561] Using custom package resource [icon] (loaded from file C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon2.ico). [2025-11-06T21:01:54.288Z] [21:01:10.565] Warning: Windows Defender may prevent jpackage from functioning. If there is an issue, it can be addressed by either disabling realtime monitoring, or adding an exclusion for the directory "C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage13438826686088811898". [2025-11-06T21:01:54.288Z] [21:01:10.570] Using default package resource WinLauncher.template [Template for creating executable properties file] (add x.properties to the resource-dir to customize). [2025-11-06T21:01:54.288Z] [21:01:10.579] Succeeded in building Windows Application Image package [2025-11-06T21:01:54.288Z] [21:01:10.594] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.288Z] [21:01:10.594] TRACE: assertEquals(0): Check command [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\test.bfc7c267\input --dest .\test.bfc7c267\output --name IconTest --type app-image --main-jar hello.jar --main-class Hello --win-console --icon C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon2.ico --resource-dir .\test.bfc7c267\resources --add-launcher x=.\test.bfc7c267\x.properties --runtime-image .\test.bfc7c267\fake_runtime --verbose](23) exited with 0 code [2025-11-06T21:01:54.288Z] [21:01:10.595] TRACE: assertTrue(): Check [.\test.bfc7c267\output\IconTest\x.ico] path doesn't exist [2025-11-06T21:01:54.288Z] [21:01:10.597] TRACE: exec: Execute tool provider [javac -d .\test.bfc7c267\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4)... [2025-11-06T21:01:54.288Z] [21:01:10.751] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.288Z] [21:01:10.752] TRACE: assertEquals(0): Check command tool provider [javac -d .\test.bfc7c267\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4) exited with 0 code [2025-11-06T21:01:54.288Z] [21:01:10.752] TRACE: Delete [.\test.bfc7c267\input\hello.jar] existing jar file [2025-11-06T21:01:54.288Z] [21:01:10.753] TRACE: exec: Execute tool provider [jar -c -f .\test.bfc7c267\input\hello.jar -C .\test.bfc7c267\jar-workdir .](7)... [2025-11-06T21:01:54.288Z] [21:01:10.774] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.288Z] [21:01:10.774] TRACE: assertEquals(0): Check command tool provider [jar -c -f .\test.bfc7c267\input\hello.jar -C .\test.bfc7c267\jar-workdir .](7) exited with 0 code [2025-11-06T21:01:54.288Z] [21:01:10.775] TRACE: Init fake runtime in [.\test.bfc7c267\fake_runtime] directory [2025-11-06T21:01:54.288Z] [21:01:10.776] TRACE: exec: Execute [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\test.bfc7c267\input --dest .\test.bfc7c267\out-8156 --name IconTest --type app-image --main-jar hello.jar --main-class Hello --win-console --runtime-image .\test.bfc7c267\fake_runtime --verbose](17); inherit I/O... [2025-11-06T21:01:54.288Z] [21:01:11.093] Creating app package: IconTest in C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\.\test.bfc7c267\out-8156 [2025-11-06T21:01:54.288Z] [21:01:11.116] Using default package resource JavaApp.ico [icon] (add IconTest.ico to the resource-dir to customize). [2025-11-06T21:01:54.288Z] [21:01:11.131] Warning: Windows Defender may prevent jpackage from functioning. If there is an issue, it can be addressed by either disabling realtime monitoring, or adding an exclusion for the directory "C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage16351809173167389990". [2025-11-06T21:01:54.288Z] [21:01:11.135] Using default package resource WinLauncher.template [Template for creating executable properties file] (add IconTest.properties to the resource-dir to customize). [2025-11-06T21:01:54.288Z] [21:01:11.172] Succeeded in building Windows Application Image package [2025-11-06T21:01:54.288Z] [21:01:11.185] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.288Z] [21:01:11.185] TRACE: assertEquals(0): Check command [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\test.bfc7c267\input --dest .\test.bfc7c267\out-8156 --name IconTest --type app-image --main-jar hello.jar --main-class Hello --win-console --runtime-image .\test.bfc7c267\fake_runtime --verbose](17) exited with 0 code [2025-11-06T21:01:54.288Z] [21:01:11.280] TRACE: Set icon of [.\test.bfc7c267\icons\x.exe\container.exe] launcher to [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon2.ico] file [2025-11-06T21:01:54.288Z] [21:01:11.405] TRACE: exec: Execute [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.bfc7c267\icons\x.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.bfc7c267\icons\x.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T21:01:54.288Z] [21:01:11.849] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.288Z] [21:01:11.849] TRACE: assertEquals(0): Check command [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.bfc7c267\icons\x.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.bfc7c267\icons\x.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T21:01:54.288Z] [21:01:11.850] TRACE: exec: Execute [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.bfc7c267\output\IconTest\x.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.bfc7c267\icons\x.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T21:01:54.288Z] [21:01:12.166] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.288Z] [21:01:12.166] TRACE: assertEquals(0): Check command [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.bfc7c267\output\IconTest\x.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.bfc7c267\icons\x.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T21:01:54.288Z] [21:01:12.167] TRACE: Check icon file [.\test.bfc7c267\icons\x.exe\actual.bmp] of x launcher is a copy of source icon file [.\test.bfc7c267\icons\x.exe\expected.bmp] [2025-11-06T21:01:54.288Z] [21:01:12.169] TRACE: assertTrue(): Check [.\test.bfc7c267\output\IconTest\x.exe] path exists [2025-11-06T21:01:54.288Z] [21:01:12.169] TRACE: assertTrue(): Check [.\test.bfc7c267\output\IconTest\x.exe] is a file [2025-11-06T21:01:54.288Z] [21:01:12.170] TRACE: assertTrue(): Check [.\test.bfc7c267\output\IconTest\x.exe] file is executable [2025-11-06T21:01:54.288Z] [21:01:12.170] TRACE: Not running .\test.bfc7c267\output\IconTest\x.exe launcher because application runtime directory [.\test.bfc7c267\output\IconTest\runtime] is incomplete [2025-11-06T21:01:54.288Z] [21:01:12.170] TRACE: assertStringListEquals(): Check there is only one file with [.jpackage.xml] name in the package [2025-11-06T21:01:54.288Z] [21:01:12.170] TRACE: assertStringListEquals(1, .\test.bfc7c267\output\IconTest\app\.jpackage.xml) [2025-11-06T21:01:54.288Z] [21:01:12.171] TRACE: assertTrue(): Check [.\test.bfc7c267\output\IconTest\runtime] path exists [2025-11-06T21:01:54.288Z] [21:01:12.171] TRACE: assertTrue(): Check [.\test.bfc7c267\output\IconTest\runtime] is a directory [2025-11-06T21:01:54.288Z] [21:01:12.171] TRACE: assertTrue(): Check [.\test.bfc7c267\output\IconTest\IconTest.exe] path exists [2025-11-06T21:01:54.288Z] [21:01:12.171] TRACE: assertTrue(): Check [.\test.bfc7c267\output\IconTest\IconTest.exe] is a file [2025-11-06T21:01:54.288Z] [21:01:12.171] TRACE: assertTrue(): Check [.\test.bfc7c267\output\IconTest\IconTest.exe] file is executable [2025-11-06T21:01:54.288Z] [21:01:12.171] TRACE: assertTrue(): Check [.\test.bfc7c267\output\IconTest\app\IconTest.cfg] path exists [2025-11-06T21:01:54.288Z] [21:01:12.171] TRACE: assertTrue(): Check [.\test.bfc7c267\output\IconTest\app\IconTest.cfg] is a file [2025-11-06T21:01:54.288Z] [21:01:12.171] TRACE: assertTrue(): Check [.\test.bfc7c267\output\IconTest\IconTest.ico] path doesn't exist [2025-11-06T21:01:54.288Z] [21:01:12.173] TRACE: Set icon of [.\test.bfc7c267\icons\IconTest.exe\container.exe] launcher to [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon2.ico] file [2025-11-06T21:01:54.288Z] [21:01:12.298] TRACE: exec: Execute [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.bfc7c267\icons\IconTest.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.bfc7c267\icons\IconTest.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T21:01:54.288Z] [21:01:12.745] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.288Z] [21:01:12.745] TRACE: assertEquals(0): Check command [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.bfc7c267\icons\IconTest.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.bfc7c267\icons\IconTest.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T21:01:54.288Z] [21:01:12.745] TRACE: exec: Execute [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.bfc7c267\output\IconTest\IconTest.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.bfc7c267\icons\IconTest.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T21:01:54.288Z] [21:01:13.067] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.288Z] [21:01:13.067] TRACE: assertEquals(0): Check command [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.bfc7c267\output\IconTest\IconTest.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.bfc7c267\icons\IconTest.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T21:01:54.288Z] [21:01:13.067] TRACE: Check icon file [.\test.bfc7c267\icons\IconTest.exe\actual.bmp] of main launcher is a copy of source icon file [.\test.bfc7c267\icons\IconTest.exe\expected.bmp] [2025-11-06T21:01:54.288Z] [21:01:13.069] TRACE: assertNotNull([21:01:10.456] Using custom package resource [icon] (loaded from file C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon2.ico).): Check output contains [Using custom package resource [icon] (loaded from file] string [2025-11-06T21:01:54.288Z] [21:01:13.069] TRACE: assertNotNull([21:01:10.456] Using custom package resource [icon] (loaded from file C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon2.ico).): Check output contains [Using custom package resource [icon] (loaded from file] string [2025-11-06T21:01:54.288Z] [21:01:13.069] TRACE: Deleting [.\test.bfc7c267] directory recursively [2025-11-06T21:01:54.288Z] [21:01:13.076] [ OK ] IconTest(AppImage, CustomWithResourceDirIcon, DefaultIcon).test; checks=25 [2025-11-06T21:01:54.288Z] [21:01:13.076] [ RUN ] IconTest(AppImage, CustomWithResourceDirIcon, NoIcon).test [2025-11-06T21:01:54.288Z] [21:01:13.077] TRACE: Resource file: [.\test.9435bb7b\resources\IconTest.ico] <- [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon.ico] [2025-11-06T21:01:54.288Z] [21:01:13.079] TRACE: exec: Execute tool provider [javac -d .\test.9435bb7b\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4)... [2025-11-06T21:01:54.288Z] [21:01:13.164] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.288Z] [21:01:13.165] TRACE: assertEquals(0): Check command tool provider [javac -d .\test.9435bb7b\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4) exited with 0 code [2025-11-06T21:01:54.288Z] [21:01:13.165] TRACE: exec: Execute tool provider [jar -c -f .\test.9435bb7b\input\hello.jar -C .\test.9435bb7b\jar-workdir .](7)... [2025-11-06T21:01:54.288Z] [21:01:13.186] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.288Z] [21:01:13.187] TRACE: assertEquals(0): Check command tool provider [jar -c -f .\test.9435bb7b\input\hello.jar -C .\test.9435bb7b\jar-workdir .](7) exited with 0 code [2025-11-06T21:01:54.288Z] [21:01:13.188] TRACE: Create [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.9435bb7b\x.properties] properties file... [2025-11-06T21:01:54.288Z] [21:01:13.188] TRACE: icon= [2025-11-06T21:01:54.288Z] [21:01:13.188] TRACE: Done [2025-11-06T21:01:54.288Z] [21:01:13.188] TRACE: Init fake runtime in [.\test.9435bb7b\fake_runtime] directory [2025-11-06T21:01:54.288Z] [21:01:13.190] TRACE: Files in [.\test.9435bb7b\resources] resource dir: [2025-11-06T21:01:54.288Z] [21:01:13.190] TRACE: [IconTest.ico] [2025-11-06T21:01:54.288Z] [21:01:13.190] TRACE: Done [2025-11-06T21:01:54.288Z] [21:01:13.191] TRACE: exec: Execute [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\test.9435bb7b\input --dest .\test.9435bb7b\output --name IconTest --type app-image --main-jar hello.jar --main-class Hello --win-console --icon C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon2.ico --resource-dir .\test.9435bb7b\resources --add-launcher x=.\test.9435bb7b\x.properties --runtime-image .\test.9435bb7b\fake_runtime --verbose](23); save output... [2025-11-06T21:01:54.288Z] [21:01:13.517] Creating app package: IconTest in C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\.\test.9435bb7b\output [2025-11-06T21:01:54.288Z] [21:01:13.542] Using custom package resource [icon] (loaded from file C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon2.ico). [2025-11-06T21:01:54.288Z] [21:01:13.559] Warning: Windows Defender may prevent jpackage from functioning. If there is an issue, it can be addressed by either disabling realtime monitoring, or adding an exclusion for the directory "C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage5093601073103649600". [2025-11-06T21:01:54.288Z] [21:01:13.563] Using default package resource WinLauncher.template [Template for creating executable properties file] (add IconTest.properties to the resource-dir to customize). [2025-11-06T21:01:54.288Z] [21:01:13.651] Warning: Windows Defender may prevent jpackage from functioning. If there is an issue, it can be addressed by either disabling realtime monitoring, or adding an exclusion for the directory "C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage5093601073103649600". [2025-11-06T21:01:54.288Z] [21:01:13.655] Using default package resource WinLauncher.template [Template for creating executable properties file] (add x.properties to the resource-dir to customize). [2025-11-06T21:01:54.288Z] [21:01:13.659] Succeeded in building Windows Application Image package [2025-11-06T21:01:54.288Z] [21:01:13.672] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.288Z] [21:01:13.672] TRACE: assertEquals(0): Check command [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\test.9435bb7b\input --dest .\test.9435bb7b\output --name IconTest --type app-image --main-jar hello.jar --main-class Hello --win-console --icon C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon2.ico --resource-dir .\test.9435bb7b\resources --add-launcher x=.\test.9435bb7b\x.properties --runtime-image .\test.9435bb7b\fake_runtime --verbose](23) exited with 0 code [2025-11-06T21:01:54.288Z] [21:01:13.673] TRACE: assertTrue(): Check [.\test.9435bb7b\output\IconTest\x.ico] path doesn't exist [2025-11-06T21:01:54.288Z] [21:01:13.674] TRACE: exec: Execute tool provider [javac -d .\test.9435bb7b\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4)... [2025-11-06T21:01:54.288Z] [21:01:13.774] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.288Z] [21:01:13.774] TRACE: assertEquals(0): Check command tool provider [javac -d .\test.9435bb7b\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4) exited with 0 code [2025-11-06T21:01:54.288Z] [21:01:13.774] TRACE: Delete [.\test.9435bb7b\input\hello.jar] existing jar file [2025-11-06T21:01:54.288Z] [21:01:13.775] TRACE: exec: Execute tool provider [jar -c -f .\test.9435bb7b\input\hello.jar -C .\test.9435bb7b\jar-workdir .](7)... [2025-11-06T21:01:54.288Z] [21:01:13.802] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.288Z] [21:01:13.802] TRACE: assertEquals(0): Check command tool provider [jar -c -f .\test.9435bb7b\input\hello.jar -C .\test.9435bb7b\jar-workdir .](7) exited with 0 code [2025-11-06T21:01:54.288Z] [21:01:13.803] TRACE: Init fake runtime in [.\test.9435bb7b\fake_runtime] directory [2025-11-06T21:01:54.288Z] [21:01:13.804] TRACE: Create [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.9435bb7b\no-icon.properties] properties file... [2025-11-06T21:01:54.288Z] [21:01:13.804] TRACE: icon= [2025-11-06T21:01:54.288Z] [21:01:13.804] TRACE: Done [2025-11-06T21:01:54.288Z] [21:01:13.805] TRACE: exec: Execute [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\test.9435bb7b\input --dest .\test.9435bb7b\out-8156 --name IconTest --type app-image --main-jar hello.jar --main-class Hello --win-console --runtime-image .\test.9435bb7b\fake_runtime --add-launcher no-icon=.\test.9435bb7b\no-icon.properties --verbose](19); inherit I/O... [2025-11-06T21:01:54.289Z] [21:01:14.136] Creating app package: IconTest in C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\.\test.9435bb7b\out-8156 [2025-11-06T21:01:54.289Z] [21:01:14.161] Using default package resource JavaApp.ico [icon] (add IconTest.ico to the resource-dir to customize). [2025-11-06T21:01:54.289Z] [21:01:14.177] Warning: Windows Defender may prevent jpackage from functioning. If there is an issue, it can be addressed by either disabling realtime monitoring, or adding an exclusion for the directory "C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage14829950023046864118". [2025-11-06T21:01:54.289Z] [21:01:14.181] Using default package resource WinLauncher.template [Template for creating executable properties file] (add IconTest.properties to the resource-dir to customize). [2025-11-06T21:01:54.289Z] [21:01:14.222] Warning: Windows Defender may prevent jpackage from functioning. If there is an issue, it can be addressed by either disabling realtime monitoring, or adding an exclusion for the directory "C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage14829950023046864118". [2025-11-06T21:01:54.289Z] [21:01:14.226] Using default package resource WinLauncher.template [Template for creating executable properties file] (add no-icon.properties to the resource-dir to customize). [2025-11-06T21:01:54.289Z] [21:01:14.230] Succeeded in building Windows Application Image package [2025-11-06T21:01:54.289Z] [21:01:14.245] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.289Z] [21:01:14.246] TRACE: assertEquals(0): Check command [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\test.9435bb7b\input --dest .\test.9435bb7b\out-8156 --name IconTest --type app-image --main-jar hello.jar --main-class Hello --win-console --runtime-image .\test.9435bb7b\fake_runtime --add-launcher no-icon=.\test.9435bb7b\no-icon.properties --verbose](19) exited with 0 code [2025-11-06T21:01:54.289Z] [21:01:14.246] TRACE: assertTrue(): Check [.\test.9435bb7b\out-8156\IconTest\no-icon.ico] path doesn't exist [2025-11-06T21:01:54.289Z] [21:01:14.357] TRACE: exec: Execute [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.9435bb7b\icons.0\no-icon.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.9435bb7b\icons.0\no-icon.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T21:01:54.289Z] [21:01:14.831] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.289Z] [21:01:14.831] TRACE: assertEquals(0): Check command [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.9435bb7b\icons.0\no-icon.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.9435bb7b\icons.0\no-icon.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T21:01:54.289Z] [21:01:14.832] TRACE: exec: Execute [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.9435bb7b\out-8156\IconTest\no-icon.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.9435bb7b\icons.0\no-icon.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T21:01:54.289Z] [21:01:15.184] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.289Z] [21:01:15.184] TRACE: assertEquals(0): Check command [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.9435bb7b\out-8156\IconTest\no-icon.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.9435bb7b\icons.0\no-icon.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T21:01:54.289Z] [21:01:15.184] TRACE: Check icon file [.\test.9435bb7b\icons.0\no-icon.exe\actual.bmp] of no-icon launcher is a copy of source icon file [.\test.9435bb7b\icons.0\no-icon.exe\expected.bmp] [2025-11-06T21:01:54.289Z] [21:01:15.186] TRACE: assertTrue(): Check [.\test.9435bb7b\out-8156\IconTest\no-icon.exe] path exists [2025-11-06T21:01:54.289Z] [21:01:15.187] TRACE: assertTrue(): Check [.\test.9435bb7b\out-8156\IconTest\no-icon.exe] is a file [2025-11-06T21:01:54.289Z] [21:01:15.187] TRACE: assertTrue(): Check [.\test.9435bb7b\out-8156\IconTest\no-icon.exe] file is executable [2025-11-06T21:01:54.289Z] [21:01:15.187] TRACE: Not running .\test.9435bb7b\out-8156\IconTest\no-icon.exe launcher because application runtime directory [.\test.9435bb7b\out-8156\IconTest\runtime] is incomplete [2025-11-06T21:01:54.289Z] [21:01:15.188] TRACE: exec: Execute [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.9435bb7b\icons\x.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.9435bb7b\icons\x.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T21:01:54.289Z] [21:01:15.669] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.289Z] [21:01:15.669] TRACE: assertEquals(0): Check command [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.9435bb7b\icons\x.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.9435bb7b\icons\x.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T21:01:54.289Z] [21:01:15.670] TRACE: exec: Execute [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.9435bb7b\output\IconTest\x.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.9435bb7b\icons\x.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T21:01:54.289Z] [21:01:16.025] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.289Z] [21:01:16.026] TRACE: assertEquals(0): Check command [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.9435bb7b\output\IconTest\x.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.9435bb7b\icons\x.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T21:01:54.289Z] [21:01:16.026] TRACE: Check icon file [.\test.9435bb7b\icons\x.exe\actual.bmp] of x launcher is a copy of source icon file [.\test.9435bb7b\icons\x.exe\expected.bmp] [2025-11-06T21:01:54.289Z] [21:01:16.028] TRACE: assertTrue(): Check [.\test.9435bb7b\output\IconTest\x.exe] path exists [2025-11-06T21:01:54.289Z] [21:01:16.028] TRACE: assertTrue(): Check [.\test.9435bb7b\output\IconTest\x.exe] is a file [2025-11-06T21:01:54.289Z] [21:01:16.028] TRACE: assertTrue(): Check [.\test.9435bb7b\output\IconTest\x.exe] file is executable [2025-11-06T21:01:54.289Z] [21:01:16.028] TRACE: Not running .\test.9435bb7b\output\IconTest\x.exe launcher because application runtime directory [.\test.9435bb7b\output\IconTest\runtime] is incomplete [2025-11-06T21:01:54.289Z] [21:01:16.029] TRACE: assertStringListEquals(): Check there is only one file with [.jpackage.xml] name in the package [2025-11-06T21:01:54.289Z] [21:01:16.029] TRACE: assertStringListEquals(1, .\test.9435bb7b\output\IconTest\app\.jpackage.xml) [2025-11-06T21:01:54.289Z] [21:01:16.029] TRACE: assertTrue(): Check [.\test.9435bb7b\output\IconTest\runtime] path exists [2025-11-06T21:01:54.289Z] [21:01:16.029] TRACE: assertTrue(): Check [.\test.9435bb7b\output\IconTest\runtime] is a directory [2025-11-06T21:01:54.289Z] [21:01:16.029] TRACE: assertTrue(): Check [.\test.9435bb7b\output\IconTest\IconTest.exe] path exists [2025-11-06T21:01:54.289Z] [21:01:16.029] TRACE: assertTrue(): Check [.\test.9435bb7b\output\IconTest\IconTest.exe] is a file [2025-11-06T21:01:54.289Z] [21:01:16.029] TRACE: assertTrue(): Check [.\test.9435bb7b\output\IconTest\IconTest.exe] file is executable [2025-11-06T21:01:54.289Z] [21:01:16.029] TRACE: assertTrue(): Check [.\test.9435bb7b\output\IconTest\app\IconTest.cfg] path exists [2025-11-06T21:01:54.289Z] [21:01:16.030] TRACE: assertTrue(): Check [.\test.9435bb7b\output\IconTest\app\IconTest.cfg] is a file [2025-11-06T21:01:54.289Z] [21:01:16.030] TRACE: assertTrue(): Check [.\test.9435bb7b\output\IconTest\IconTest.ico] path doesn't exist [2025-11-06T21:01:54.289Z] [21:01:16.032] TRACE: Set icon of [.\test.9435bb7b\icons\IconTest.exe\container.exe] launcher to [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon2.ico] file [2025-11-06T21:01:54.289Z] [21:01:16.166] TRACE: exec: Execute [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.9435bb7b\icons\IconTest.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.9435bb7b\icons\IconTest.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T21:01:54.289Z] [21:01:16.618] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.289Z] [21:01:16.619] TRACE: assertEquals(0): Check command [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.9435bb7b\icons\IconTest.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.9435bb7b\icons\IconTest.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T21:01:54.289Z] [21:01:16.619] TRACE: exec: Execute [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.9435bb7b\output\IconTest\IconTest.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.9435bb7b\icons\IconTest.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T21:01:54.289Z] [21:01:16.934] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.289Z] [21:01:16.934] TRACE: assertEquals(0): Check command [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.9435bb7b\output\IconTest\IconTest.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.9435bb7b\icons\IconTest.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T21:01:54.289Z] [21:01:16.934] TRACE: Check icon file [.\test.9435bb7b\icons\IconTest.exe\actual.bmp] of main launcher is a copy of source icon file [.\test.9435bb7b\icons\IconTest.exe\expected.bmp] [2025-11-06T21:01:54.289Z] [21:01:16.936] TRACE: assertNotNull([21:01:13.542] Using custom package resource [icon] (loaded from file C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon2.ico).): Check output contains [Using custom package resource [icon] (loaded from file] string [2025-11-06T21:01:54.289Z] [21:01:16.936] TRACE: Deleting [.\test.9435bb7b] directory recursively [2025-11-06T21:01:54.289Z] [21:01:16.944] [ OK ] IconTest(AppImage, CustomWithResourceDirIcon, NoIcon).test; checks=30 [2025-11-06T21:01:54.289Z] [21:01:16.944] [ RUN ] IconTest(AppImage, CustomWithResourceDirIcon, ResourceDirIcon).test [2025-11-06T21:01:54.289Z] [21:01:16.945] TRACE: Resource file: [.\test.f187d945\resources\IconTest.ico] <- [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon.ico] [2025-11-06T21:01:54.289Z] [21:01:16.946] TRACE: Resource file: [.\test.f187d945\resources\x.ico] <- [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon4.ico] [2025-11-06T21:01:54.289Z] [21:01:16.947] TRACE: exec: Execute tool provider [javac -d .\test.f187d945\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4)... [2025-11-06T21:01:54.289Z] [21:01:17.071] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.289Z] [21:01:17.071] TRACE: assertEquals(0): Check command tool provider [javac -d .\test.f187d945\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4) exited with 0 code [2025-11-06T21:01:54.289Z] [21:01:17.072] TRACE: exec: Execute tool provider [jar -c -f .\test.f187d945\input\hello.jar -C .\test.f187d945\jar-workdir .](7)... [2025-11-06T21:01:54.289Z] [21:01:17.097] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.289Z] [21:01:17.097] TRACE: assertEquals(0): Check command tool provider [jar -c -f .\test.f187d945\input\hello.jar -C .\test.f187d945\jar-workdir .](7) exited with 0 code [2025-11-06T21:01:54.289Z] [21:01:17.098] TRACE: Create [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.f187d945\x.properties] properties file... [2025-11-06T21:01:54.289Z] [21:01:17.099] TRACE: Done [2025-11-06T21:01:54.289Z] [21:01:17.099] TRACE: Init fake runtime in [.\test.f187d945\fake_runtime] directory [2025-11-06T21:01:54.289Z] [21:01:17.100] TRACE: Files in [.\test.f187d945\resources] resource dir: [2025-11-06T21:01:54.289Z] [21:01:17.100] TRACE: [IconTest.ico] [2025-11-06T21:01:54.289Z] [21:01:17.100] TRACE: [x.ico] [2025-11-06T21:01:54.289Z] [21:01:17.100] TRACE: Done [2025-11-06T21:01:54.289Z] [21:01:17.101] TRACE: exec: Execute [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\test.f187d945\input --dest .\test.f187d945\output --name IconTest --type app-image --main-jar hello.jar --main-class Hello --win-console --icon C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon2.ico --resource-dir .\test.f187d945\resources --add-launcher x=.\test.f187d945\x.properties --runtime-image .\test.f187d945\fake_runtime --verbose](23); save output... [2025-11-06T21:01:54.289Z] [21:01:17.429] Creating app package: IconTest in C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\.\test.f187d945\output [2025-11-06T21:01:54.289Z] [21:01:17.452] Using custom package resource [icon] (loaded from file C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon2.ico). [2025-11-06T21:01:54.289Z] [21:01:17.468] Warning: Windows Defender may prevent jpackage from functioning. If there is an issue, it can be addressed by either disabling realtime monitoring, or adding an exclusion for the directory "C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage14003531157011484014". [2025-11-06T21:01:54.289Z] [21:01:17.472] Using default package resource WinLauncher.template [Template for creating executable properties file] (add IconTest.properties to the resource-dir to customize). [2025-11-06T21:01:54.289Z] [21:01:17.544] Using custom package resource [icon] (loaded from x.ico). [2025-11-06T21:01:54.289Z] [21:01:17.559] Warning: Windows Defender may prevent jpackage from functioning. If there is an issue, it can be addressed by either disabling realtime monitoring, or adding an exclusion for the directory "C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage14003531157011484014". [2025-11-06T21:01:54.289Z] [21:01:17.563] Using default package resource WinLauncher.template [Template for creating executable properties file] (add x.properties to the resource-dir to customize). [2025-11-06T21:01:54.289Z] [21:01:17.572] Succeeded in building Windows Application Image package [2025-11-06T21:01:54.289Z] [21:01:17.587] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.289Z] [21:01:17.587] TRACE: assertEquals(0): Check command [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\test.f187d945\input --dest .\test.f187d945\output --name IconTest --type app-image --main-jar hello.jar --main-class Hello --win-console --icon C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon2.ico --resource-dir .\test.f187d945\resources --add-launcher x=.\test.f187d945\x.properties --runtime-image .\test.f187d945\fake_runtime --verbose](23) exited with 0 code [2025-11-06T21:01:54.289Z] [21:01:17.587] TRACE: assertTrue(): Check [.\test.f187d945\output\IconTest\x.ico] path doesn't exist [2025-11-06T21:01:54.289Z] [21:01:17.589] TRACE: exec: Execute tool provider [javac -d .\test.f187d945\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4)... [2025-11-06T21:01:54.290Z] [21:01:17.713] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.290Z] [21:01:17.713] TRACE: assertEquals(0): Check command tool provider [javac -d .\test.f187d945\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4) exited with 0 code [2025-11-06T21:01:54.290Z] [21:01:17.713] TRACE: Delete [.\test.f187d945\input\hello.jar] existing jar file [2025-11-06T21:01:54.290Z] [21:01:17.714] TRACE: exec: Execute tool provider [jar -c -f .\test.f187d945\input\hello.jar -C .\test.f187d945\jar-workdir .](7)... [2025-11-06T21:01:54.290Z] [21:01:17.734] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.290Z] [21:01:17.735] TRACE: assertEquals(0): Check command tool provider [jar -c -f .\test.f187d945\input\hello.jar -C .\test.f187d945\jar-workdir .](7) exited with 0 code [2025-11-06T21:01:54.290Z] [21:01:17.735] TRACE: Init fake runtime in [.\test.f187d945\fake_runtime] directory [2025-11-06T21:01:54.290Z] [21:01:17.737] TRACE: exec: Execute [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\test.f187d945\input --dest .\test.f187d945\out-8156 --name IconTest --type app-image --main-jar hello.jar --main-class Hello --win-console --runtime-image .\test.f187d945\fake_runtime --verbose](17); inherit I/O... [2025-11-06T21:01:54.290Z] [21:01:18.065] Creating app package: IconTest in C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\.\test.f187d945\out-8156 [2025-11-06T21:01:54.290Z] [21:01:18.089] Using default package resource JavaApp.ico [icon] (add IconTest.ico to the resource-dir to customize). [2025-11-06T21:01:54.290Z] [21:01:18.106] Warning: Windows Defender may prevent jpackage from functioning. If there is an issue, it can be addressed by either disabling realtime monitoring, or adding an exclusion for the directory "C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage9306893435527373355". [2025-11-06T21:01:54.290Z] [21:01:18.110] Using default package resource WinLauncher.template [Template for creating executable properties file] (add IconTest.properties to the resource-dir to customize). [2025-11-06T21:01:54.290Z] [21:01:18.147] Succeeded in building Windows Application Image package [2025-11-06T21:01:54.290Z] [21:01:18.160] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.290Z] [21:01:18.160] TRACE: assertEquals(0): Check command [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\test.f187d945\input --dest .\test.f187d945\out-8156 --name IconTest --type app-image --main-jar hello.jar --main-class Hello --win-console --runtime-image .\test.f187d945\fake_runtime --verbose](17) exited with 0 code [2025-11-06T21:01:54.290Z] [21:01:18.256] TRACE: Set icon of [.\test.f187d945\icons\x.exe\container.exe] launcher to [.\test.f187d945\resources\x.ico] file [2025-11-06T21:01:54.290Z] [21:01:18.392] TRACE: exec: Execute [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.f187d945\icons\x.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.f187d945\icons\x.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T21:01:54.290Z] [21:01:18.834] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.290Z] [21:01:18.835] TRACE: assertEquals(0): Check command [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.f187d945\icons\x.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.f187d945\icons\x.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T21:01:54.290Z] [21:01:18.835] TRACE: exec: Execute [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.f187d945\output\IconTest\x.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.f187d945\icons\x.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T21:01:54.290Z] [21:01:19.152] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.290Z] [21:01:19.152] TRACE: assertEquals(0): Check command [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.f187d945\output\IconTest\x.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.f187d945\icons\x.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T21:01:54.290Z] [21:01:19.152] TRACE: Check icon file [.\test.f187d945\icons\x.exe\actual.bmp] of x launcher is a copy of source icon file [.\test.f187d945\icons\x.exe\expected.bmp] [2025-11-06T21:01:54.290Z] [21:01:19.154] TRACE: assertTrue(): Check [.\test.f187d945\output\IconTest\x.exe] path exists [2025-11-06T21:01:54.290Z] [21:01:19.154] TRACE: assertTrue(): Check [.\test.f187d945\output\IconTest\x.exe] is a file [2025-11-06T21:01:54.290Z] [21:01:19.154] TRACE: assertTrue(): Check [.\test.f187d945\output\IconTest\x.exe] file is executable [2025-11-06T21:01:54.290Z] [21:01:19.154] TRACE: Not running .\test.f187d945\output\IconTest\x.exe launcher because application runtime directory [.\test.f187d945\output\IconTest\runtime] is incomplete [2025-11-06T21:01:54.290Z] [21:01:19.155] TRACE: assertStringListEquals(): Check there is only one file with [.jpackage.xml] name in the package [2025-11-06T21:01:54.290Z] [21:01:19.155] TRACE: assertStringListEquals(1, .\test.f187d945\output\IconTest\app\.jpackage.xml) [2025-11-06T21:01:54.290Z] [21:01:19.155] TRACE: assertTrue(): Check [.\test.f187d945\output\IconTest\runtime] path exists [2025-11-06T21:01:54.290Z] [21:01:19.155] TRACE: assertTrue(): Check [.\test.f187d945\output\IconTest\runtime] is a directory [2025-11-06T21:01:54.290Z] [21:01:19.155] TRACE: assertTrue(): Check [.\test.f187d945\output\IconTest\IconTest.exe] path exists [2025-11-06T21:01:54.290Z] [21:01:19.155] TRACE: assertTrue(): Check [.\test.f187d945\output\IconTest\IconTest.exe] is a file [2025-11-06T21:01:54.290Z] [21:01:19.155] TRACE: assertTrue(): Check [.\test.f187d945\output\IconTest\IconTest.exe] file is executable [2025-11-06T21:01:54.290Z] [21:01:19.155] TRACE: assertTrue(): Check [.\test.f187d945\output\IconTest\app\IconTest.cfg] path exists [2025-11-06T21:01:54.290Z] [21:01:19.161] TRACE: assertTrue(): Check [.\test.f187d945\output\IconTest\app\IconTest.cfg] is a file [2025-11-06T21:01:54.290Z] [21:01:19.161] TRACE: assertTrue(): Check [.\test.f187d945\output\IconTest\IconTest.ico] path doesn't exist [2025-11-06T21:01:54.290Z] [21:01:19.163] TRACE: Set icon of [.\test.f187d945\icons\IconTest.exe\container.exe] launcher to [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon2.ico] file [2025-11-06T21:01:54.290Z] [21:01:19.298] TRACE: exec: Execute [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.f187d945\icons\IconTest.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.f187d945\icons\IconTest.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T21:01:54.290Z] [21:01:19.747] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.290Z] [21:01:19.747] TRACE: assertEquals(0): Check command [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.f187d945\icons\IconTest.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.f187d945\icons\IconTest.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T21:01:54.290Z] [21:01:19.747] TRACE: exec: Execute [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.f187d945\output\IconTest\IconTest.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.f187d945\icons\IconTest.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T21:01:54.290Z] [21:01:20.061] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.290Z] [21:01:20.061] TRACE: assertEquals(0): Check command [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.f187d945\output\IconTest\IconTest.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.f187d945\icons\IconTest.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T21:01:54.290Z] [21:01:20.061] TRACE: Check icon file [.\test.f187d945\icons\IconTest.exe\actual.bmp] of main launcher is a copy of source icon file [.\test.f187d945\icons\IconTest.exe\expected.bmp] [2025-11-06T21:01:54.290Z] [21:01:20.063] TRACE: assertNotNull([21:01:17.452] Using custom package resource [icon] (loaded from file C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon2.ico).): Check output contains [Using custom package resource [icon] (loaded from file] string [2025-11-06T21:01:54.290Z] [21:01:20.063] TRACE: assertNotNull([21:01:17.544] Using custom package resource [icon] (loaded from x.ico).): Check output contains [Using custom package resource [icon] (loaded from x.ico)] string [2025-11-06T21:01:54.290Z] [21:01:20.064] TRACE: Deleting [.\test.f187d945] directory recursively [2025-11-06T21:01:54.290Z] [21:01:20.071] [ OK ] IconTest(AppImage, CustomWithResourceDirIcon, ResourceDirIcon).test; checks=25 [2025-11-06T21:01:54.290Z] [21:01:20.071] [ RUN ] IconTest(AppImage, DefaultIcon, CustomIcon).test [2025-11-06T21:01:54.290Z] [21:01:20.072] TRACE: exec: Execute tool provider [javac -d .\test.63af6d24\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4)... [2025-11-06T21:01:54.290Z] [21:01:20.157] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.290Z] [21:01:20.157] TRACE: assertEquals(0): Check command tool provider [javac -d .\test.63af6d24\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4) exited with 0 code [2025-11-06T21:01:54.290Z] [21:01:20.157] TRACE: exec: Execute tool provider [jar -c -f .\test.63af6d24\input\hello.jar -C .\test.63af6d24\jar-workdir .](7)... [2025-11-06T21:01:54.290Z] [21:01:20.180] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.290Z] [21:01:20.180] TRACE: assertEquals(0): Check command tool provider [jar -c -f .\test.63af6d24\input\hello.jar -C .\test.63af6d24\jar-workdir .](7) exited with 0 code [2025-11-06T21:01:54.290Z] [21:01:20.181] TRACE: Create [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.63af6d24\x.properties] properties file... [2025-11-06T21:01:54.290Z] [21:01:20.181] TRACE: icon=C:/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/tools/jpackage/resources/icon3.ico [2025-11-06T21:01:54.290Z] [21:01:20.181] TRACE: Done [2025-11-06T21:01:54.290Z] [21:01:20.181] TRACE: Init fake runtime in [.\test.63af6d24\fake_runtime] directory [2025-11-06T21:01:54.290Z] [21:01:20.183] TRACE: exec: Execute [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\test.63af6d24\input --dest .\test.63af6d24\output --name IconTest --type app-image --main-jar hello.jar --main-class Hello --win-console --add-launcher x=.\test.63af6d24\x.properties --runtime-image .\test.63af6d24\fake_runtime --verbose](19); save output... [2025-11-06T21:01:54.290Z] [21:01:20.507] Creating app package: IconTest in C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\.\test.63af6d24\output [2025-11-06T21:01:54.290Z] [21:01:20.532] Using default package resource JavaApp.ico [icon] (add IconTest.ico to the resource-dir to customize). [2025-11-06T21:01:54.290Z] [21:01:20.549] Warning: Windows Defender may prevent jpackage from functioning. If there is an issue, it can be addressed by either disabling realtime monitoring, or adding an exclusion for the directory "C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage1132772343499452604". [2025-11-06T21:01:54.290Z] [21:01:20.552] Using default package resource WinLauncher.template [Template for creating executable properties file] (add IconTest.properties to the resource-dir to customize). [2025-11-06T21:01:54.290Z] [21:01:20.644] Using custom package resource [icon] (loaded from file C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon3.ico). [2025-11-06T21:01:54.290Z] [21:01:20.649] Warning: Windows Defender may prevent jpackage from functioning. If there is an issue, it can be addressed by either disabling realtime monitoring, or adding an exclusion for the directory "C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage1132772343499452604". [2025-11-06T21:01:54.290Z] [21:01:20.654] Using default package resource WinLauncher.template [Template for creating executable properties file] (add x.properties to the resource-dir to customize). [2025-11-06T21:01:54.290Z] [21:01:20.663] Succeeded in building Windows Application Image package [2025-11-06T21:01:54.290Z] [21:01:20.678] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.290Z] [21:01:20.678] TRACE: assertEquals(0): Check command [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\test.63af6d24\input --dest .\test.63af6d24\output --name IconTest --type app-image --main-jar hello.jar --main-class Hello --win-console --add-launcher x=.\test.63af6d24\x.properties --runtime-image .\test.63af6d24\fake_runtime --verbose](19) exited with 0 code [2025-11-06T21:01:54.290Z] [21:01:20.679] TRACE: assertTrue(): Check [.\test.63af6d24\output\IconTest\x.ico] path doesn't exist [2025-11-06T21:01:54.290Z] [21:01:20.681] TRACE: exec: Execute tool provider [javac -d .\test.63af6d24\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4)... [2025-11-06T21:01:54.290Z] [21:01:20.820] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.290Z] [21:01:20.820] TRACE: assertEquals(0): Check command tool provider [javac -d .\test.63af6d24\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4) exited with 0 code [2025-11-06T21:01:54.290Z] [21:01:20.820] TRACE: Delete [.\test.63af6d24\input\hello.jar] existing jar file [2025-11-06T21:01:54.290Z] [21:01:20.821] TRACE: exec: Execute tool provider [jar -c -f .\test.63af6d24\input\hello.jar -C .\test.63af6d24\jar-workdir .](7)... [2025-11-06T21:01:54.290Z] [21:01:20.840] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.290Z] [21:01:20.840] TRACE: assertEquals(0): Check command tool provider [jar -c -f .\test.63af6d24\input\hello.jar -C .\test.63af6d24\jar-workdir .](7) exited with 0 code [2025-11-06T21:01:54.290Z] [21:01:20.841] TRACE: Init fake runtime in [.\test.63af6d24\fake_runtime] directory [2025-11-06T21:01:54.290Z] [21:01:20.842] TRACE: exec: Execute [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\test.63af6d24\input --dest .\test.63af6d24\out-8156 --name IconTest --type app-image --main-jar hello.jar --main-class Hello --win-console --runtime-image .\test.63af6d24\fake_runtime --verbose](17); inherit I/O... [2025-11-06T21:01:54.290Z] [21:01:21.161] Creating app package: IconTest in C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\.\test.63af6d24\out-8156 [2025-11-06T21:01:54.290Z] [21:01:21.185] Using default package resource JavaApp.ico [icon] (add IconTest.ico to the resource-dir to customize). [2025-11-06T21:01:54.290Z] [21:01:21.202] Warning: Windows Defender may prevent jpackage from functioning. If there is an issue, it can be addressed by either disabling realtime monitoring, or adding an exclusion for the directory "C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage6039419716788477997". [2025-11-06T21:01:54.290Z] [21:01:21.205] Using default package resource WinLauncher.template [Template for creating executable properties file] (add IconTest.properties to the resource-dir to customize). [2025-11-06T21:01:54.290Z] [21:01:21.240] Succeeded in building Windows Application Image package [2025-11-06T21:01:54.290Z] [21:01:21.253] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.290Z] [21:01:21.254] TRACE: assertEquals(0): Check command [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\test.63af6d24\input --dest .\test.63af6d24\out-8156 --name IconTest --type app-image --main-jar hello.jar --main-class Hello --win-console --runtime-image .\test.63af6d24\fake_runtime --verbose](17) exited with 0 code [2025-11-06T21:01:54.290Z] [21:01:21.354] TRACE: Set icon of [.\test.63af6d24\icons\x.exe\container.exe] launcher to [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon3.ico] file [2025-11-06T21:01:54.290Z] [21:01:21.479] TRACE: exec: Execute [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.63af6d24\icons\x.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.63af6d24\icons\x.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T21:01:54.290Z] [21:01:21.925] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.291Z] [21:01:21.925] TRACE: assertEquals(0): Check command [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.63af6d24\icons\x.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.63af6d24\icons\x.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T21:01:54.291Z] [21:01:21.925] TRACE: exec: Execute [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.63af6d24\output\IconTest\x.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.63af6d24\icons\x.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T21:01:54.291Z] [21:01:22.265] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.291Z] [21:01:22.265] TRACE: assertEquals(0): Check command [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.63af6d24\output\IconTest\x.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.63af6d24\icons\x.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T21:01:54.291Z] [21:01:22.265] TRACE: Check icon file [.\test.63af6d24\icons\x.exe\actual.bmp] of x launcher is a copy of source icon file [.\test.63af6d24\icons\x.exe\expected.bmp] [2025-11-06T21:01:54.291Z] [21:01:22.267] TRACE: assertTrue(): Check [.\test.63af6d24\output\IconTest\x.exe] path exists [2025-11-06T21:01:54.291Z] [21:01:22.267] TRACE: assertTrue(): Check [.\test.63af6d24\output\IconTest\x.exe] is a file [2025-11-06T21:01:54.291Z] [21:01:22.267] TRACE: assertTrue(): Check [.\test.63af6d24\output\IconTest\x.exe] file is executable [2025-11-06T21:01:54.291Z] [21:01:22.267] TRACE: Not running .\test.63af6d24\output\IconTest\x.exe launcher because application runtime directory [.\test.63af6d24\output\IconTest\runtime] is incomplete [2025-11-06T21:01:54.291Z] [21:01:22.268] TRACE: assertStringListEquals(): Check there is only one file with [.jpackage.xml] name in the package [2025-11-06T21:01:54.291Z] [21:01:22.268] TRACE: assertStringListEquals(1, .\test.63af6d24\output\IconTest\app\.jpackage.xml) [2025-11-06T21:01:54.291Z] [21:01:22.268] TRACE: assertTrue(): Check [.\test.63af6d24\output\IconTest\runtime] path exists [2025-11-06T21:01:54.291Z] [21:01:22.268] TRACE: assertTrue(): Check [.\test.63af6d24\output\IconTest\runtime] is a directory [2025-11-06T21:01:54.291Z] [21:01:22.268] TRACE: assertTrue(): Check [.\test.63af6d24\output\IconTest\IconTest.exe] path exists [2025-11-06T21:01:54.291Z] [21:01:22.268] TRACE: assertTrue(): Check [.\test.63af6d24\output\IconTest\IconTest.exe] is a file [2025-11-06T21:01:54.291Z] [21:01:22.268] TRACE: assertTrue(): Check [.\test.63af6d24\output\IconTest\IconTest.exe] file is executable [2025-11-06T21:01:54.291Z] [21:01:22.269] TRACE: assertTrue(): Check [.\test.63af6d24\output\IconTest\app\IconTest.cfg] path exists [2025-11-06T21:01:54.291Z] [21:01:22.269] TRACE: assertTrue(): Check [.\test.63af6d24\output\IconTest\app\IconTest.cfg] is a file [2025-11-06T21:01:54.291Z] [21:01:22.269] TRACE: assertTrue(): Check [.\test.63af6d24\output\IconTest\IconTest.ico] path doesn't exist [2025-11-06T21:01:54.291Z] [21:01:22.271] TRACE: exec: Execute [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.63af6d24\icons\IconTest.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.63af6d24\icons\IconTest.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T21:01:54.291Z] [21:01:22.737] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.291Z] [21:01:22.737] TRACE: assertEquals(0): Check command [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.63af6d24\icons\IconTest.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.63af6d24\icons\IconTest.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T21:01:54.291Z] [21:01:22.738] TRACE: exec: Execute [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.63af6d24\output\IconTest\IconTest.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.63af6d24\icons\IconTest.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T21:01:54.291Z] [21:01:23.053] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.291Z] [21:01:23.053] TRACE: assertEquals(0): Check command [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.63af6d24\output\IconTest\IconTest.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.63af6d24\icons\IconTest.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T21:01:54.291Z] [21:01:23.053] TRACE: Check icon file [.\test.63af6d24\icons\IconTest.exe\actual.bmp] of main launcher is a copy of source icon file [.\test.63af6d24\icons\IconTest.exe\expected.bmp] [2025-11-06T21:01:54.291Z] [21:01:23.055] TRACE: assertNotNull([21:01:20.532] Using default package resource JavaApp.ico [icon] (add IconTest.ico to the resource-dir to customize).): Check output contains [Using default package resource JavaApp.ico [icon] (add IconTest.ico to the resource-dir to customize)] string [2025-11-06T21:01:54.291Z] [21:01:23.055] TRACE: assertNotNull([21:01:20.644] Using custom package resource [icon] (loaded from file C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon3.ico).): Check output contains [Using custom package resource [icon] (loaded from file] string [2025-11-06T21:01:54.291Z] [21:01:23.055] TRACE: Deleting [.\test.63af6d24] directory recursively [2025-11-06T21:01:54.291Z] [21:01:23.061] [ OK ] IconTest(AppImage, DefaultIcon, CustomIcon).test; checks=25 [2025-11-06T21:01:54.291Z] [21:01:23.061] [ RUN ] IconTest(AppImage, DefaultIcon, CustomWithResourceDirIcon).test [2025-11-06T21:01:54.291Z] [21:01:23.062] TRACE: Resource file: [.\test.6bf63c15\resources\x.ico] <- [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon3.ico] [2025-11-06T21:01:54.291Z] [21:01:23.064] TRACE: exec: Execute tool provider [javac -d .\test.6bf63c15\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4)... [2025-11-06T21:01:54.291Z] [21:01:23.145] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.291Z] [21:01:23.145] TRACE: assertEquals(0): Check command tool provider [javac -d .\test.6bf63c15\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4) exited with 0 code [2025-11-06T21:01:54.291Z] [21:01:23.146] TRACE: exec: Execute tool provider [jar -c -f .\test.6bf63c15\input\hello.jar -C .\test.6bf63c15\jar-workdir .](7)... [2025-11-06T21:01:54.291Z] [21:01:23.166] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.291Z] [21:01:23.166] TRACE: assertEquals(0): Check command tool provider [jar -c -f .\test.6bf63c15\input\hello.jar -C .\test.6bf63c15\jar-workdir .](7) exited with 0 code [2025-11-06T21:01:54.291Z] [21:01:23.167] TRACE: Create [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.6bf63c15\x.properties] properties file... [2025-11-06T21:01:54.291Z] [21:01:23.167] TRACE: icon=C:/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/tools/jpackage/resources/icon4.ico [2025-11-06T21:01:54.291Z] [21:01:23.168] TRACE: Done [2025-11-06T21:01:54.291Z] [21:01:23.168] TRACE: Init fake runtime in [.\test.6bf63c15\fake_runtime] directory [2025-11-06T21:01:54.291Z] [21:01:23.171] TRACE: Files in [.\test.6bf63c15\resources] resource dir: [2025-11-06T21:01:54.291Z] [21:01:23.171] TRACE: [x.ico] [2025-11-06T21:01:54.291Z] [21:01:23.171] TRACE: Done [2025-11-06T21:01:54.291Z] [21:01:23.171] TRACE: exec: Execute [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\test.6bf63c15\input --dest .\test.6bf63c15\output --name IconTest --type app-image --main-jar hello.jar --main-class Hello --win-console --resource-dir .\test.6bf63c15\resources --add-launcher x=.\test.6bf63c15\x.properties --runtime-image .\test.6bf63c15\fake_runtime --verbose](21); save output... [2025-11-06T21:01:54.291Z] [21:01:23.496] Creating app package: IconTest in C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\.\test.6bf63c15\output [2025-11-06T21:01:54.291Z] [21:01:23.520] Using default package resource JavaApp.ico [icon] (add IconTest.ico to the resource-dir to customize). [2025-11-06T21:01:54.291Z] [21:01:23.535] Warning: Windows Defender may prevent jpackage from functioning. If there is an issue, it can be addressed by either disabling realtime monitoring, or adding an exclusion for the directory "C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage5822205158318963147". [2025-11-06T21:01:54.291Z] [21:01:23.539] Using default package resource WinLauncher.template [Template for creating executable properties file] (add IconTest.properties to the resource-dir to customize). [2025-11-06T21:01:54.291Z] [21:01:23.630] Using custom package resource [icon] (loaded from file C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon4.ico). [2025-11-06T21:01:54.291Z] [21:01:23.635] Warning: Windows Defender may prevent jpackage from functioning. If there is an issue, it can be addressed by either disabling realtime monitoring, or adding an exclusion for the directory "C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage5822205158318963147". [2025-11-06T21:01:54.291Z] [21:01:23.640] Using default package resource WinLauncher.template [Template for creating executable properties file] (add x.properties to the resource-dir to customize). [2025-11-06T21:01:54.291Z] [21:01:23.648] Succeeded in building Windows Application Image package [2025-11-06T21:01:54.291Z] [21:01:23.662] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.291Z] [21:01:23.663] TRACE: assertEquals(0): Check command [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\test.6bf63c15\input --dest .\test.6bf63c15\output --name IconTest --type app-image --main-jar hello.jar --main-class Hello --win-console --resource-dir .\test.6bf63c15\resources --add-launcher x=.\test.6bf63c15\x.properties --runtime-image .\test.6bf63c15\fake_runtime --verbose](21) exited with 0 code [2025-11-06T21:01:54.291Z] [21:01:23.663] TRACE: assertTrue(): Check [.\test.6bf63c15\output\IconTest\x.ico] path doesn't exist [2025-11-06T21:01:54.291Z] [21:01:23.665] TRACE: exec: Execute tool provider [javac -d .\test.6bf63c15\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4)... [2025-11-06T21:01:54.291Z] [21:01:23.766] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.291Z] [21:01:23.766] TRACE: assertEquals(0): Check command tool provider [javac -d .\test.6bf63c15\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4) exited with 0 code [2025-11-06T21:01:54.291Z] [21:01:23.766] TRACE: Delete [.\test.6bf63c15\input\hello.jar] existing jar file [2025-11-06T21:01:54.291Z] [21:01:23.767] TRACE: exec: Execute tool provider [jar -c -f .\test.6bf63c15\input\hello.jar -C .\test.6bf63c15\jar-workdir .](7)... [2025-11-06T21:01:54.291Z] [21:01:23.794] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.291Z] [21:01:23.795] TRACE: assertEquals(0): Check command tool provider [jar -c -f .\test.6bf63c15\input\hello.jar -C .\test.6bf63c15\jar-workdir .](7) exited with 0 code [2025-11-06T21:01:54.291Z] [21:01:23.795] TRACE: Init fake runtime in [.\test.6bf63c15\fake_runtime] directory [2025-11-06T21:01:54.291Z] [21:01:23.797] TRACE: exec: Execute [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\test.6bf63c15\input --dest .\test.6bf63c15\out-8156 --name IconTest --type app-image --main-jar hello.jar --main-class Hello --win-console --runtime-image .\test.6bf63c15\fake_runtime --verbose](17); inherit I/O... [2025-11-06T21:01:54.291Z] [21:01:24.120] Creating app package: IconTest in C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\.\test.6bf63c15\out-8156 [2025-11-06T21:01:54.291Z] [21:01:24.143] Using default package resource JavaApp.ico [icon] (add IconTest.ico to the resource-dir to customize). [2025-11-06T21:01:54.291Z] [21:01:24.159] Warning: Windows Defender may prevent jpackage from functioning. If there is an issue, it can be addressed by either disabling realtime monitoring, or adding an exclusion for the directory "C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage8460783349565348550". [2025-11-06T21:01:54.291Z] [21:01:24.162] Using default package resource WinLauncher.template [Template for creating executable properties file] (add IconTest.properties to the resource-dir to customize). [2025-11-06T21:01:54.291Z] [21:01:24.197] Succeeded in building Windows Application Image package [2025-11-06T21:01:54.291Z] [21:01:24.211] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.291Z] [21:01:24.211] TRACE: assertEquals(0): Check command [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\test.6bf63c15\input --dest .\test.6bf63c15\out-8156 --name IconTest --type app-image --main-jar hello.jar --main-class Hello --win-console --runtime-image .\test.6bf63c15\fake_runtime --verbose](17) exited with 0 code [2025-11-06T21:01:54.291Z] [21:01:24.308] TRACE: Set icon of [.\test.6bf63c15\icons\x.exe\container.exe] launcher to [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon4.ico] file [2025-11-06T21:01:54.291Z] [21:01:24.434] TRACE: exec: Execute [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.6bf63c15\icons\x.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.6bf63c15\icons\x.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T21:01:54.291Z] [21:01:24.900] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.291Z] [21:01:24.900] TRACE: assertEquals(0): Check command [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.6bf63c15\icons\x.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.6bf63c15\icons\x.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T21:01:54.291Z] [21:01:24.901] TRACE: exec: Execute [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.6bf63c15\output\IconTest\x.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.6bf63c15\icons\x.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T21:01:54.291Z] [21:01:25.231] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.291Z] [21:01:25.232] TRACE: assertEquals(0): Check command [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.6bf63c15\output\IconTest\x.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.6bf63c15\icons\x.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T21:01:54.291Z] [21:01:25.232] TRACE: Check icon file [.\test.6bf63c15\icons\x.exe\actual.bmp] of x launcher is a copy of source icon file [.\test.6bf63c15\icons\x.exe\expected.bmp] [2025-11-06T21:01:54.291Z] [21:01:25.234] TRACE: assertTrue(): Check [.\test.6bf63c15\output\IconTest\x.exe] path exists [2025-11-06T21:01:54.291Z] [21:01:25.234] TRACE: assertTrue(): Check [.\test.6bf63c15\output\IconTest\x.exe] is a file [2025-11-06T21:01:54.291Z] [21:01:25.234] TRACE: assertTrue(): Check [.\test.6bf63c15\output\IconTest\x.exe] file is executable [2025-11-06T21:01:54.291Z] [21:01:25.234] TRACE: Not running .\test.6bf63c15\output\IconTest\x.exe launcher because application runtime directory [.\test.6bf63c15\output\IconTest\runtime] is incomplete [2025-11-06T21:01:54.291Z] [21:01:25.234] TRACE: assertStringListEquals(): Check there is only one file with [.jpackage.xml] name in the package [2025-11-06T21:01:54.291Z] [21:01:25.235] TRACE: assertStringListEquals(1, .\test.6bf63c15\output\IconTest\app\.jpackage.xml) [2025-11-06T21:01:54.291Z] [21:01:25.235] TRACE: assertTrue(): Check [.\test.6bf63c15\output\IconTest\runtime] path exists [2025-11-06T21:01:54.291Z] [21:01:25.235] TRACE: assertTrue(): Check [.\test.6bf63c15\output\IconTest\runtime] is a directory [2025-11-06T21:01:54.291Z] [21:01:25.235] TRACE: assertTrue(): Check [.\test.6bf63c15\output\IconTest\IconTest.exe] path exists [2025-11-06T21:01:54.291Z] [21:01:25.235] TRACE: assertTrue(): Check [.\test.6bf63c15\output\IconTest\IconTest.exe] is a file [2025-11-06T21:01:54.291Z] [21:01:25.235] TRACE: assertTrue(): Check [.\test.6bf63c15\output\IconTest\IconTest.exe] file is executable [2025-11-06T21:01:54.291Z] [21:01:25.235] TRACE: assertTrue(): Check [.\test.6bf63c15\output\IconTest\app\IconTest.cfg] path exists [2025-11-06T21:01:54.291Z] [21:01:25.235] TRACE: assertTrue(): Check [.\test.6bf63c15\output\IconTest\app\IconTest.cfg] is a file [2025-11-06T21:01:54.291Z] [21:01:25.235] TRACE: assertTrue(): Check [.\test.6bf63c15\output\IconTest\IconTest.ico] path doesn't exist [2025-11-06T21:01:54.291Z] [21:01:25.237] TRACE: exec: Execute [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.6bf63c15\icons\IconTest.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.6bf63c15\icons\IconTest.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T21:01:54.291Z] [21:01:25.693] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.292Z] [21:01:25.693] TRACE: assertEquals(0): Check command [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.6bf63c15\icons\IconTest.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.6bf63c15\icons\IconTest.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T21:01:54.292Z] [21:01:25.693] TRACE: exec: Execute [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.6bf63c15\output\IconTest\IconTest.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.6bf63c15\icons\IconTest.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T21:01:54.292Z] [21:01:26.006] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.292Z] [21:01:26.006] TRACE: assertEquals(0): Check command [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.6bf63c15\output\IconTest\IconTest.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.6bf63c15\icons\IconTest.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T21:01:54.292Z] [21:01:26.006] TRACE: Check icon file [.\test.6bf63c15\icons\IconTest.exe\actual.bmp] of main launcher is a copy of source icon file [.\test.6bf63c15\icons\IconTest.exe\expected.bmp] [2025-11-06T21:01:54.292Z] [21:01:26.008] TRACE: assertNotNull([21:01:23.520] Using default package resource JavaApp.ico [icon] (add IconTest.ico to the resource-dir to customize).): Check output contains [Using default package resource JavaApp.ico [icon] (add IconTest.ico to the resource-dir to customize)] string [2025-11-06T21:01:54.292Z] [21:01:26.008] TRACE: assertNotNull([21:01:23.630] Using custom package resource [icon] (loaded from file C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon4.ico).): Check output contains [Using custom package resource [icon] (loaded from file] string [2025-11-06T21:01:54.292Z] [21:01:26.009] TRACE: Deleting [.\test.6bf63c15] directory recursively [2025-11-06T21:01:54.292Z] [21:01:26.015] [ OK ] IconTest(AppImage, DefaultIcon, CustomWithResourceDirIcon).test; checks=25 [2025-11-06T21:01:54.292Z] [21:01:26.015] [ RUN ] IconTest(AppImage, DefaultIcon, DefaultIcon).test [2025-11-06T21:01:54.292Z] [21:01:26.016] TRACE: exec: Execute tool provider [javac -d .\test.62e2cc8e\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4)... [2025-11-06T21:01:54.292Z] [21:01:26.126] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.292Z] [21:01:26.127] TRACE: assertEquals(0): Check command tool provider [javac -d .\test.62e2cc8e\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4) exited with 0 code [2025-11-06T21:01:54.292Z] [21:01:26.127] TRACE: exec: Execute tool provider [jar -c -f .\test.62e2cc8e\input\hello.jar -C .\test.62e2cc8e\jar-workdir .](7)... [2025-11-06T21:01:54.292Z] [21:01:26.148] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.292Z] [21:01:26.148] TRACE: assertEquals(0): Check command tool provider [jar -c -f .\test.62e2cc8e\input\hello.jar -C .\test.62e2cc8e\jar-workdir .](7) exited with 0 code [2025-11-06T21:01:54.292Z] [21:01:26.149] TRACE: Create [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.62e2cc8e\x.properties] properties file... [2025-11-06T21:01:54.292Z] [21:01:26.150] TRACE: Done [2025-11-06T21:01:54.292Z] [21:01:26.150] TRACE: Init fake runtime in [.\test.62e2cc8e\fake_runtime] directory [2025-11-06T21:01:54.292Z] [21:01:26.152] TRACE: exec: Execute [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\test.62e2cc8e\input --dest .\test.62e2cc8e\output --name IconTest --type app-image --main-jar hello.jar --main-class Hello --win-console --add-launcher x=.\test.62e2cc8e\x.properties --runtime-image .\test.62e2cc8e\fake_runtime --verbose](19); save output... [2025-11-06T21:01:54.292Z] [21:01:26.481] Creating app package: IconTest in C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\.\test.62e2cc8e\output [2025-11-06T21:01:54.292Z] [21:01:26.506] Using default package resource JavaApp.ico [icon] (add IconTest.ico to the resource-dir to customize). [2025-11-06T21:01:54.292Z] [21:01:26.522] Warning: Windows Defender may prevent jpackage from functioning. If there is an issue, it can be addressed by either disabling realtime monitoring, or adding an exclusion for the directory "C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage16237047103052846959". [2025-11-06T21:01:54.292Z] [21:01:26.525] Using default package resource WinLauncher.template [Template for creating executable properties file] (add IconTest.properties to the resource-dir to customize). [2025-11-06T21:01:54.292Z] [21:01:26.600] Using default package resource JavaApp.ico [icon] (add x.ico to the resource-dir to customize). [2025-11-06T21:01:54.292Z] [21:01:26.605] Warning: Windows Defender may prevent jpackage from functioning. If there is an issue, it can be addressed by either disabling realtime monitoring, or adding an exclusion for the directory "C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage16237047103052846959". [2025-11-06T21:01:54.292Z] [21:01:26.609] Using default package resource WinLauncher.template [Template for creating executable properties file] (add x.properties to the resource-dir to customize). [2025-11-06T21:01:54.292Z] [21:01:26.620] Succeeded in building Windows Application Image package [2025-11-06T21:01:54.292Z] [21:01:26.634] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.292Z] [21:01:26.634] TRACE: assertEquals(0): Check command [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\test.62e2cc8e\input --dest .\test.62e2cc8e\output --name IconTest --type app-image --main-jar hello.jar --main-class Hello --win-console --add-launcher x=.\test.62e2cc8e\x.properties --runtime-image .\test.62e2cc8e\fake_runtime --verbose](19) exited with 0 code [2025-11-06T21:01:54.292Z] [21:01:26.634] TRACE: assertTrue(): Check [.\test.62e2cc8e\output\IconTest\x.ico] path doesn't exist [2025-11-06T21:01:54.292Z] [21:01:26.636] TRACE: exec: Execute tool provider [javac -d .\test.62e2cc8e\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4)... [2025-11-06T21:01:54.292Z] [21:01:26.752] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.292Z] [21:01:26.752] TRACE: assertEquals(0): Check command tool provider [javac -d .\test.62e2cc8e\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4) exited with 0 code [2025-11-06T21:01:54.292Z] [21:01:26.753] TRACE: Delete [.\test.62e2cc8e\input\hello.jar] existing jar file [2025-11-06T21:01:54.292Z] [21:01:26.753] TRACE: exec: Execute tool provider [jar -c -f .\test.62e2cc8e\input\hello.jar -C .\test.62e2cc8e\jar-workdir .](7)... [2025-11-06T21:01:54.292Z] [21:01:26.780] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.292Z] [21:01:26.781] TRACE: assertEquals(0): Check command tool provider [jar -c -f .\test.62e2cc8e\input\hello.jar -C .\test.62e2cc8e\jar-workdir .](7) exited with 0 code [2025-11-06T21:01:54.292Z] [21:01:26.781] TRACE: Init fake runtime in [.\test.62e2cc8e\fake_runtime] directory [2025-11-06T21:01:54.292Z] [21:01:26.783] TRACE: exec: Execute [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\test.62e2cc8e\input --dest .\test.62e2cc8e\out-8156 --name IconTest --type app-image --main-jar hello.jar --main-class Hello --win-console --runtime-image .\test.62e2cc8e\fake_runtime --verbose](17); inherit I/O... [2025-11-06T21:01:54.292Z] [21:01:27.107] Creating app package: IconTest in C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\.\test.62e2cc8e\out-8156 [2025-11-06T21:01:54.292Z] [21:01:27.130] Using default package resource JavaApp.ico [icon] (add IconTest.ico to the resource-dir to customize). [2025-11-06T21:01:54.292Z] [21:01:27.147] Warning: Windows Defender may prevent jpackage from functioning. If there is an issue, it can be addressed by either disabling realtime monitoring, or adding an exclusion for the directory "C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage17315438069699446807". [2025-11-06T21:01:54.292Z] [21:01:27.150] Using default package resource WinLauncher.template [Template for creating executable properties file] (add IconTest.properties to the resource-dir to customize). [2025-11-06T21:01:54.292Z] [21:01:27.186] Succeeded in building Windows Application Image package [2025-11-06T21:01:54.292Z] [21:01:27.198] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.292Z] [21:01:27.198] TRACE: assertEquals(0): Check command [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\test.62e2cc8e\input --dest .\test.62e2cc8e\out-8156 --name IconTest --type app-image --main-jar hello.jar --main-class Hello --win-console --runtime-image .\test.62e2cc8e\fake_runtime --verbose](17) exited with 0 code [2025-11-06T21:01:54.292Z] [21:01:27.291] TRACE: exec: Execute [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.62e2cc8e\icons\x.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.62e2cc8e\icons\x.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T21:01:54.292Z] [21:01:27.732] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.292Z] [21:01:27.733] TRACE: assertEquals(0): Check command [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.62e2cc8e\icons\x.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.62e2cc8e\icons\x.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T21:01:54.292Z] [21:01:27.733] TRACE: exec: Execute [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.62e2cc8e\output\IconTest\x.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.62e2cc8e\icons\x.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T21:01:54.292Z] [21:01:28.047] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.292Z] [21:01:28.047] TRACE: assertEquals(0): Check command [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.62e2cc8e\output\IconTest\x.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.62e2cc8e\icons\x.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T21:01:54.292Z] [21:01:28.047] TRACE: Check icon file [.\test.62e2cc8e\icons\x.exe\actual.bmp] of x launcher is a copy of source icon file [.\test.62e2cc8e\icons\x.exe\expected.bmp] [2025-11-06T21:01:54.292Z] [21:01:28.050] TRACE: assertTrue(): Check [.\test.62e2cc8e\output\IconTest\x.exe] path exists [2025-11-06T21:01:54.292Z] [21:01:28.050] TRACE: assertTrue(): Check [.\test.62e2cc8e\output\IconTest\x.exe] is a file [2025-11-06T21:01:54.292Z] [21:01:28.050] TRACE: assertTrue(): Check [.\test.62e2cc8e\output\IconTest\x.exe] file is executable [2025-11-06T21:01:54.292Z] [21:01:28.050] TRACE: Not running .\test.62e2cc8e\output\IconTest\x.exe launcher because application runtime directory [.\test.62e2cc8e\output\IconTest\runtime] is incomplete [2025-11-06T21:01:54.292Z] [21:01:28.051] TRACE: assertStringListEquals(): Check there is only one file with [.jpackage.xml] name in the package [2025-11-06T21:01:54.292Z] [21:01:28.051] TRACE: assertStringListEquals(1, .\test.62e2cc8e\output\IconTest\app\.jpackage.xml) [2025-11-06T21:01:54.292Z] [21:01:28.051] TRACE: assertTrue(): Check [.\test.62e2cc8e\output\IconTest\runtime] path exists [2025-11-06T21:01:54.292Z] [21:01:28.051] TRACE: assertTrue(): Check [.\test.62e2cc8e\output\IconTest\runtime] is a directory [2025-11-06T21:01:54.292Z] [21:01:28.051] TRACE: assertTrue(): Check [.\test.62e2cc8e\output\IconTest\IconTest.exe] path exists [2025-11-06T21:01:54.292Z] [21:01:28.051] TRACE: assertTrue(): Check [.\test.62e2cc8e\output\IconTest\IconTest.exe] is a file [2025-11-06T21:01:54.292Z] [21:01:28.051] TRACE: assertTrue(): Check [.\test.62e2cc8e\output\IconTest\IconTest.exe] file is executable [2025-11-06T21:01:54.292Z] [21:01:28.051] TRACE: assertTrue(): Check [.\test.62e2cc8e\output\IconTest\app\IconTest.cfg] path exists [2025-11-06T21:01:54.292Z] [21:01:28.051] TRACE: assertTrue(): Check [.\test.62e2cc8e\output\IconTest\app\IconTest.cfg] is a file [2025-11-06T21:01:54.292Z] [21:01:28.051] TRACE: assertTrue(): Check [.\test.62e2cc8e\output\IconTest\IconTest.ico] path doesn't exist [2025-11-06T21:01:54.292Z] [21:01:28.059] TRACE: exec: Execute [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.62e2cc8e\icons\IconTest.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.62e2cc8e\icons\IconTest.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T21:01:54.292Z] [21:01:28.533] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.292Z] [21:01:28.533] TRACE: assertEquals(0): Check command [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.62e2cc8e\icons\IconTest.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.62e2cc8e\icons\IconTest.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T21:01:54.292Z] [21:01:28.533] TRACE: exec: Execute [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.62e2cc8e\output\IconTest\IconTest.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.62e2cc8e\icons\IconTest.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T21:01:54.292Z] [21:01:28.853] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.292Z] [21:01:28.853] TRACE: assertEquals(0): Check command [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.62e2cc8e\output\IconTest\IconTest.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.62e2cc8e\icons\IconTest.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T21:01:54.292Z] [21:01:28.853] TRACE: Check icon file [.\test.62e2cc8e\icons\IconTest.exe\actual.bmp] of main launcher is a copy of source icon file [.\test.62e2cc8e\icons\IconTest.exe\expected.bmp] [2025-11-06T21:01:54.292Z] [21:01:28.855] TRACE: assertNotNull([21:01:26.506] Using default package resource JavaApp.ico [icon] (add IconTest.ico to the resource-dir to customize).): Check output contains [Using default package resource JavaApp.ico [icon] (add IconTest.ico to the resource-dir to customize)] string [2025-11-06T21:01:54.292Z] [21:01:28.855] TRACE: assertNotNull([21:01:26.600] Using default package resource JavaApp.ico [icon] (add x.ico to the resource-dir to customize).): Check output contains [Using default package resource JavaApp.ico [icon] (add x.ico to the resource-dir to customize)] string [2025-11-06T21:01:54.292Z] [21:01:28.855] TRACE: Deleting [.\test.62e2cc8e] directory recursively [2025-11-06T21:01:54.292Z] [21:01:28.861] [ OK ] IconTest(AppImage, DefaultIcon, DefaultIcon).test; checks=25 [2025-11-06T21:01:54.292Z] [21:01:28.861] [ RUN ] IconTest(AppImage, DefaultIcon, NoIcon).test [2025-11-06T21:01:54.292Z] [21:01:28.862] TRACE: exec: Execute tool provider [javac -d .\test.2988b4f4\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4)... [2025-11-06T21:01:54.292Z] [21:01:28.940] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.292Z] [21:01:28.940] TRACE: assertEquals(0): Check command tool provider [javac -d .\test.2988b4f4\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4) exited with 0 code [2025-11-06T21:01:54.292Z] [21:01:28.940] TRACE: exec: Execute tool provider [jar -c -f .\test.2988b4f4\input\hello.jar -C .\test.2988b4f4\jar-workdir .](7)... [2025-11-06T21:01:54.292Z] [21:01:28.962] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.292Z] [21:01:28.962] TRACE: assertEquals(0): Check command tool provider [jar -c -f .\test.2988b4f4\input\hello.jar -C .\test.2988b4f4\jar-workdir .](7) exited with 0 code [2025-11-06T21:01:54.292Z] [21:01:28.962] TRACE: Create [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.2988b4f4\x.properties] properties file... [2025-11-06T21:01:54.292Z] [21:01:28.962] TRACE: icon= [2025-11-06T21:01:54.292Z] [21:01:28.963] TRACE: Done [2025-11-06T21:01:54.292Z] [21:01:28.963] TRACE: Init fake runtime in [.\test.2988b4f4\fake_runtime] directory [2025-11-06T21:01:54.292Z] [21:01:28.964] TRACE: exec: Execute [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\test.2988b4f4\input --dest .\test.2988b4f4\output --name IconTest --type app-image --main-jar hello.jar --main-class Hello --win-console --add-launcher x=.\test.2988b4f4\x.properties --runtime-image .\test.2988b4f4\fake_runtime --verbose](19); save output... [2025-11-06T21:01:54.293Z] [21:01:29.295] Creating app package: IconTest in C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\.\test.2988b4f4\output [2025-11-06T21:01:54.293Z] [21:01:29.318] Using default package resource JavaApp.ico [icon] (add IconTest.ico to the resource-dir to customize). [2025-11-06T21:01:54.293Z] [21:01:29.333] Warning: Windows Defender may prevent jpackage from functioning. If there is an issue, it can be addressed by either disabling realtime monitoring, or adding an exclusion for the directory "C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage3773348767691002408". [2025-11-06T21:01:54.293Z] [21:01:29.336] Using default package resource WinLauncher.template [Template for creating executable properties file] (add IconTest.properties to the resource-dir to customize). [2025-11-06T21:01:54.293Z] [21:01:29.425] Warning: Windows Defender may prevent jpackage from functioning. If there is an issue, it can be addressed by either disabling realtime monitoring, or adding an exclusion for the directory "C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage3773348767691002408". [2025-11-06T21:01:54.293Z] [21:01:29.429] Using default package resource WinLauncher.template [Template for creating executable properties file] (add x.properties to the resource-dir to customize). [2025-11-06T21:01:54.293Z] [21:01:29.433] Succeeded in building Windows Application Image package [2025-11-06T21:01:54.293Z] [21:01:29.447] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.293Z] [21:01:29.447] TRACE: assertEquals(0): Check command [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\test.2988b4f4\input --dest .\test.2988b4f4\output --name IconTest --type app-image --main-jar hello.jar --main-class Hello --win-console --add-launcher x=.\test.2988b4f4\x.properties --runtime-image .\test.2988b4f4\fake_runtime --verbose](19) exited with 0 code [2025-11-06T21:01:54.293Z] [21:01:29.448] TRACE: assertTrue(): Check [.\test.2988b4f4\output\IconTest\x.ico] path doesn't exist [2025-11-06T21:01:54.293Z] [21:01:29.449] TRACE: exec: Execute tool provider [javac -d .\test.2988b4f4\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4)... [2025-11-06T21:01:54.293Z] [21:01:29.581] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.293Z] [21:01:29.582] TRACE: assertEquals(0): Check command tool provider [javac -d .\test.2988b4f4\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4) exited with 0 code [2025-11-06T21:01:54.293Z] [21:01:29.582] TRACE: Delete [.\test.2988b4f4\input\hello.jar] existing jar file [2025-11-06T21:01:54.293Z] [21:01:29.582] TRACE: exec: Execute tool provider [jar -c -f .\test.2988b4f4\input\hello.jar -C .\test.2988b4f4\jar-workdir .](7)... [2025-11-06T21:01:54.293Z] [21:01:29.604] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.293Z] [21:01:29.604] TRACE: assertEquals(0): Check command tool provider [jar -c -f .\test.2988b4f4\input\hello.jar -C .\test.2988b4f4\jar-workdir .](7) exited with 0 code [2025-11-06T21:01:54.293Z] [21:01:29.604] TRACE: Init fake runtime in [.\test.2988b4f4\fake_runtime] directory [2025-11-06T21:01:54.293Z] [21:01:29.605] TRACE: Create [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.2988b4f4\no-icon.properties] properties file... [2025-11-06T21:01:54.293Z] [21:01:29.605] TRACE: icon= [2025-11-06T21:01:54.293Z] [21:01:29.606] TRACE: Done [2025-11-06T21:01:54.293Z] [21:01:29.606] TRACE: exec: Execute [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\test.2988b4f4\input --dest .\test.2988b4f4\out-8156 --name IconTest --type app-image --main-jar hello.jar --main-class Hello --win-console --runtime-image .\test.2988b4f4\fake_runtime --add-launcher no-icon=.\test.2988b4f4\no-icon.properties --verbose](19); inherit I/O... [2025-11-06T21:01:54.293Z] [21:01:29.928] Creating app package: IconTest in C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\.\test.2988b4f4\out-8156 [2025-11-06T21:01:54.293Z] [21:01:29.952] Using default package resource JavaApp.ico [icon] (add IconTest.ico to the resource-dir to customize). [2025-11-06T21:01:54.293Z] [21:01:29.968] Warning: Windows Defender may prevent jpackage from functioning. If there is an issue, it can be addressed by either disabling realtime monitoring, or adding an exclusion for the directory "C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage14076228733962385057". [2025-11-06T21:01:54.293Z] [21:01:29.971] Using default package resource WinLauncher.template [Template for creating executable properties file] (add IconTest.properties to the resource-dir to customize). [2025-11-06T21:01:54.293Z] [21:01:30.011] Warning: Windows Defender may prevent jpackage from functioning. If there is an issue, it can be addressed by either disabling realtime monitoring, or adding an exclusion for the directory "C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage14076228733962385057". [2025-11-06T21:01:54.293Z] [21:01:30.015] Using default package resource WinLauncher.template [Template for creating executable properties file] (add no-icon.properties to the resource-dir to customize). [2025-11-06T21:01:54.293Z] [21:01:30.020] Succeeded in building Windows Application Image package [2025-11-06T21:01:54.293Z] [21:01:30.034] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.293Z] [21:01:30.035] TRACE: assertEquals(0): Check command [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\test.2988b4f4\input --dest .\test.2988b4f4\out-8156 --name IconTest --type app-image --main-jar hello.jar --main-class Hello --win-console --runtime-image .\test.2988b4f4\fake_runtime --add-launcher no-icon=.\test.2988b4f4\no-icon.properties --verbose](19) exited with 0 code [2025-11-06T21:01:54.293Z] [21:01:30.035] TRACE: assertTrue(): Check [.\test.2988b4f4\out-8156\IconTest\no-icon.ico] path doesn't exist [2025-11-06T21:01:54.293Z] [21:01:30.148] TRACE: exec: Execute [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.2988b4f4\icons.0\no-icon.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.2988b4f4\icons.0\no-icon.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T21:01:54.293Z] [21:01:30.637] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.293Z] [21:01:30.638] TRACE: assertEquals(0): Check command [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.2988b4f4\icons.0\no-icon.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.2988b4f4\icons.0\no-icon.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T21:01:54.293Z] [21:01:30.638] TRACE: exec: Execute [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.2988b4f4\out-8156\IconTest\no-icon.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.2988b4f4\icons.0\no-icon.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T21:01:54.293Z] [21:01:30.987] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.293Z] [21:01:30.987] TRACE: assertEquals(0): Check command [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.2988b4f4\out-8156\IconTest\no-icon.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.2988b4f4\icons.0\no-icon.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T21:01:54.293Z] [21:01:30.987] TRACE: Check icon file [.\test.2988b4f4\icons.0\no-icon.exe\actual.bmp] of no-icon launcher is a copy of source icon file [.\test.2988b4f4\icons.0\no-icon.exe\expected.bmp] [2025-11-06T21:01:54.293Z] [21:01:30.989] TRACE: assertTrue(): Check [.\test.2988b4f4\out-8156\IconTest\no-icon.exe] path exists [2025-11-06T21:01:54.293Z] [21:01:30.989] TRACE: assertTrue(): Check [.\test.2988b4f4\out-8156\IconTest\no-icon.exe] is a file [2025-11-06T21:01:54.293Z] [21:01:30.989] TRACE: assertTrue(): Check [.\test.2988b4f4\out-8156\IconTest\no-icon.exe] file is executable [2025-11-06T21:01:54.293Z] [21:01:30.990] TRACE: Not running .\test.2988b4f4\out-8156\IconTest\no-icon.exe launcher because application runtime directory [.\test.2988b4f4\out-8156\IconTest\runtime] is incomplete [2025-11-06T21:01:54.293Z] [21:01:30.991] TRACE: exec: Execute [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.2988b4f4\icons\x.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.2988b4f4\icons\x.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T21:01:54.293Z] [21:01:31.481] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.293Z] [21:01:31.481] TRACE: assertEquals(0): Check command [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.2988b4f4\icons\x.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.2988b4f4\icons\x.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T21:01:54.293Z] [21:01:31.481] TRACE: exec: Execute [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.2988b4f4\output\IconTest\x.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.2988b4f4\icons\x.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T21:01:54.293Z] [21:01:31.845] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.293Z] [21:01:31.846] TRACE: assertEquals(0): Check command [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.2988b4f4\output\IconTest\x.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.2988b4f4\icons\x.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T21:01:54.293Z] [21:01:31.846] TRACE: Check icon file [.\test.2988b4f4\icons\x.exe\actual.bmp] of x launcher is a copy of source icon file [.\test.2988b4f4\icons\x.exe\expected.bmp] [2025-11-06T21:01:54.293Z] [21:01:31.848] TRACE: assertTrue(): Check [.\test.2988b4f4\output\IconTest\x.exe] path exists [2025-11-06T21:01:54.293Z] [21:01:31.848] TRACE: assertTrue(): Check [.\test.2988b4f4\output\IconTest\x.exe] is a file [2025-11-06T21:01:54.293Z] [21:01:31.848] TRACE: assertTrue(): Check [.\test.2988b4f4\output\IconTest\x.exe] file is executable [2025-11-06T21:01:54.293Z] [21:01:31.848] TRACE: Not running .\test.2988b4f4\output\IconTest\x.exe launcher because application runtime directory [.\test.2988b4f4\output\IconTest\runtime] is incomplete [2025-11-06T21:01:54.293Z] [21:01:31.848] TRACE: assertStringListEquals(): Check there is only one file with [.jpackage.xml] name in the package [2025-11-06T21:01:54.293Z] [21:01:31.848] TRACE: assertStringListEquals(1, .\test.2988b4f4\output\IconTest\app\.jpackage.xml) [2025-11-06T21:01:54.293Z] [21:01:31.848] TRACE: assertTrue(): Check [.\test.2988b4f4\output\IconTest\runtime] path exists [2025-11-06T21:01:54.293Z] [21:01:31.849] TRACE: assertTrue(): Check [.\test.2988b4f4\output\IconTest\runtime] is a directory [2025-11-06T21:01:54.293Z] [21:01:31.849] TRACE: assertTrue(): Check [.\test.2988b4f4\output\IconTest\IconTest.exe] path exists [2025-11-06T21:01:54.293Z] [21:01:31.849] TRACE: assertTrue(): Check [.\test.2988b4f4\output\IconTest\IconTest.exe] is a file [2025-11-06T21:01:54.293Z] [21:01:31.849] TRACE: assertTrue(): Check [.\test.2988b4f4\output\IconTest\IconTest.exe] file is executable [2025-11-06T21:01:54.293Z] [21:01:31.849] TRACE: assertTrue(): Check [.\test.2988b4f4\output\IconTest\app\IconTest.cfg] path exists [2025-11-06T21:01:54.293Z] [21:01:31.849] TRACE: assertTrue(): Check [.\test.2988b4f4\output\IconTest\app\IconTest.cfg] is a file [2025-11-06T21:01:54.293Z] [21:01:31.849] TRACE: assertTrue(): Check [.\test.2988b4f4\output\IconTest\IconTest.ico] path doesn't exist [2025-11-06T21:01:54.293Z] [21:01:31.851] TRACE: exec: Execute [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.2988b4f4\icons\IconTest.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.2988b4f4\icons\IconTest.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T21:01:54.293Z] [21:01:32.299] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.293Z] [21:01:32.299] TRACE: assertEquals(0): Check command [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.2988b4f4\icons\IconTest.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.2988b4f4\icons\IconTest.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T21:01:54.293Z] [21:01:32.299] TRACE: exec: Execute [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.2988b4f4\output\IconTest\IconTest.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.2988b4f4\icons\IconTest.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T21:01:54.293Z] [21:01:32.617] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.293Z] [21:01:32.617] TRACE: assertEquals(0): Check command [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.2988b4f4\output\IconTest\IconTest.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.2988b4f4\icons\IconTest.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T21:01:54.293Z] [21:01:32.617] TRACE: Check icon file [.\test.2988b4f4\icons\IconTest.exe\actual.bmp] of main launcher is a copy of source icon file [.\test.2988b4f4\icons\IconTest.exe\expected.bmp] [2025-11-06T21:01:54.293Z] [21:01:32.619] TRACE: assertNotNull([21:01:29.318] Using default package resource JavaApp.ico [icon] (add IconTest.ico to the resource-dir to customize).): Check output contains [Using default package resource JavaApp.ico [icon] (add IconTest.ico to the resource-dir to customize)] string [2025-11-06T21:01:54.293Z] [21:01:32.619] TRACE: Deleting [.\test.2988b4f4] directory recursively [2025-11-06T21:01:54.293Z] [21:01:32.626] [ OK ] IconTest(AppImage, DefaultIcon, NoIcon).test; checks=30 [2025-11-06T21:01:54.293Z] [21:01:32.626] [ RUN ] IconTest(AppImage, DefaultIcon, ResourceDirIcon).test [2025-11-06T21:01:54.293Z] [21:01:32.627] TRACE: Resource file: [.\test.1e3377ec\resources\x.ico] <- [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon4.ico] [2025-11-06T21:01:54.293Z] [21:01:32.628] TRACE: exec: Execute tool provider [javac -d .\test.1e3377ec\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4)... [2025-11-06T21:01:54.293Z] [21:01:32.712] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.293Z] [21:01:32.712] TRACE: assertEquals(0): Check command tool provider [javac -d .\test.1e3377ec\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4) exited with 0 code [2025-11-06T21:01:54.293Z] [21:01:32.713] TRACE: exec: Execute tool provider [jar -c -f .\test.1e3377ec\input\hello.jar -C .\test.1e3377ec\jar-workdir .](7)... [2025-11-06T21:01:54.293Z] [21:01:32.733] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.293Z] [21:01:32.733] TRACE: assertEquals(0): Check command tool provider [jar -c -f .\test.1e3377ec\input\hello.jar -C .\test.1e3377ec\jar-workdir .](7) exited with 0 code [2025-11-06T21:01:54.294Z] [21:01:32.734] TRACE: Create [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.1e3377ec\x.properties] properties file... [2025-11-06T21:01:54.294Z] [21:01:32.734] TRACE: Done [2025-11-06T21:01:54.294Z] [21:01:32.734] TRACE: Init fake runtime in [.\test.1e3377ec\fake_runtime] directory [2025-11-06T21:01:54.294Z] [21:01:32.736] TRACE: Files in [.\test.1e3377ec\resources] resource dir: [2025-11-06T21:01:54.294Z] [21:01:32.736] TRACE: [x.ico] [2025-11-06T21:01:54.294Z] [21:01:32.736] TRACE: Done [2025-11-06T21:01:54.294Z] [21:01:32.736] TRACE: exec: Execute [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\test.1e3377ec\input --dest .\test.1e3377ec\output --name IconTest --type app-image --main-jar hello.jar --main-class Hello --win-console --resource-dir .\test.1e3377ec\resources --add-launcher x=.\test.1e3377ec\x.properties --runtime-image .\test.1e3377ec\fake_runtime --verbose](21); save output... [2025-11-06T21:01:54.294Z] [21:01:33.073] Creating app package: IconTest in C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\.\test.1e3377ec\output [2025-11-06T21:01:54.294Z] [21:01:33.097] Using default package resource JavaApp.ico [icon] (add IconTest.ico to the resource-dir to customize). [2025-11-06T21:01:54.294Z] [21:01:33.114] Warning: Windows Defender may prevent jpackage from functioning. If there is an issue, it can be addressed by either disabling realtime monitoring, or adding an exclusion for the directory "C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage10855308383904576555". [2025-11-06T21:01:54.294Z] [21:01:33.117] Using default package resource WinLauncher.template [Template for creating executable properties file] (add IconTest.properties to the resource-dir to customize). [2025-11-06T21:01:54.294Z] [21:01:33.195] Using custom package resource [icon] (loaded from x.ico). [2025-11-06T21:01:54.294Z] [21:01:33.214] Warning: Windows Defender may prevent jpackage from functioning. If there is an issue, it can be addressed by either disabling realtime monitoring, or adding an exclusion for the directory "C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage10855308383904576555". [2025-11-06T21:01:54.294Z] [21:01:33.219] Using default package resource WinLauncher.template [Template for creating executable properties file] (add x.properties to the resource-dir to customize). [2025-11-06T21:01:54.294Z] [21:01:33.226] Succeeded in building Windows Application Image package [2025-11-06T21:01:54.294Z] [21:01:33.246] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.294Z] [21:01:33.246] TRACE: assertEquals(0): Check command [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\test.1e3377ec\input --dest .\test.1e3377ec\output --name IconTest --type app-image --main-jar hello.jar --main-class Hello --win-console --resource-dir .\test.1e3377ec\resources --add-launcher x=.\test.1e3377ec\x.properties --runtime-image .\test.1e3377ec\fake_runtime --verbose](21) exited with 0 code [2025-11-06T21:01:54.294Z] [21:01:33.247] TRACE: assertTrue(): Check [.\test.1e3377ec\output\IconTest\x.ico] path doesn't exist [2025-11-06T21:01:54.294Z] [21:01:33.248] TRACE: exec: Execute tool provider [javac -d .\test.1e3377ec\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4)... [2025-11-06T21:01:54.294Z] [21:01:33.342] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.294Z] [21:01:33.342] TRACE: assertEquals(0): Check command tool provider [javac -d .\test.1e3377ec\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4) exited with 0 code [2025-11-06T21:01:54.294Z] [21:01:33.342] TRACE: Delete [.\test.1e3377ec\input\hello.jar] existing jar file [2025-11-06T21:01:54.294Z] [21:01:33.342] TRACE: exec: Execute tool provider [jar -c -f .\test.1e3377ec\input\hello.jar -C .\test.1e3377ec\jar-workdir .](7)... [2025-11-06T21:01:54.294Z] [21:01:33.364] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.294Z] [21:01:33.365] TRACE: assertEquals(0): Check command tool provider [jar -c -f .\test.1e3377ec\input\hello.jar -C .\test.1e3377ec\jar-workdir .](7) exited with 0 code [2025-11-06T21:01:54.294Z] [21:01:33.365] TRACE: Init fake runtime in [.\test.1e3377ec\fake_runtime] directory [2025-11-06T21:01:54.294Z] [21:01:33.367] TRACE: exec: Execute [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\test.1e3377ec\input --dest .\test.1e3377ec\out-8156 --name IconTest --type app-image --main-jar hello.jar --main-class Hello --win-console --runtime-image .\test.1e3377ec\fake_runtime --verbose](17); inherit I/O... [2025-11-06T21:01:54.294Z] [21:01:33.693] Creating app package: IconTest in C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\.\test.1e3377ec\out-8156 [2025-11-06T21:01:54.294Z] [21:01:33.717] Using default package resource JavaApp.ico [icon] (add IconTest.ico to the resource-dir to customize). [2025-11-06T21:01:54.294Z] [21:01:33.733] Warning: Windows Defender may prevent jpackage from functioning. If there is an issue, it can be addressed by either disabling realtime monitoring, or adding an exclusion for the directory "C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage17637493346446838055". [2025-11-06T21:01:54.294Z] [21:01:33.737] Using default package resource WinLauncher.template [Template for creating executable properties file] (add IconTest.properties to the resource-dir to customize). [2025-11-06T21:01:54.294Z] [21:01:33.773] Succeeded in building Windows Application Image package [2025-11-06T21:01:54.294Z] [21:01:33.785] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.294Z] [21:01:33.785] TRACE: assertEquals(0): Check command [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\test.1e3377ec\input --dest .\test.1e3377ec\out-8156 --name IconTest --type app-image --main-jar hello.jar --main-class Hello --win-console --runtime-image .\test.1e3377ec\fake_runtime --verbose](17) exited with 0 code [2025-11-06T21:01:54.294Z] [21:01:33.881] TRACE: Set icon of [.\test.1e3377ec\icons\x.exe\container.exe] launcher to [.\test.1e3377ec\resources\x.ico] file [2025-11-06T21:01:54.294Z] [21:01:34.007] TRACE: exec: Execute [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.1e3377ec\icons\x.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.1e3377ec\icons\x.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T21:01:54.294Z] [21:01:34.460] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.294Z] [21:01:34.460] TRACE: assertEquals(0): Check command [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.1e3377ec\icons\x.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.1e3377ec\icons\x.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T21:01:54.294Z] [21:01:34.460] TRACE: exec: Execute [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.1e3377ec\output\IconTest\x.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.1e3377ec\icons\x.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T21:01:54.294Z] [21:01:34.799] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.294Z] [21:01:34.799] TRACE: assertEquals(0): Check command [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.1e3377ec\output\IconTest\x.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.1e3377ec\icons\x.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T21:01:54.294Z] [21:01:34.799] TRACE: Check icon file [.\test.1e3377ec\icons\x.exe\actual.bmp] of x launcher is a copy of source icon file [.\test.1e3377ec\icons\x.exe\expected.bmp] [2025-11-06T21:01:54.294Z] [21:01:34.801] TRACE: assertTrue(): Check [.\test.1e3377ec\output\IconTest\x.exe] path exists [2025-11-06T21:01:54.294Z] [21:01:34.801] TRACE: assertTrue(): Check [.\test.1e3377ec\output\IconTest\x.exe] is a file [2025-11-06T21:01:54.294Z] [21:01:34.801] TRACE: assertTrue(): Check [.\test.1e3377ec\output\IconTest\x.exe] file is executable [2025-11-06T21:01:54.294Z] [21:01:34.801] TRACE: Not running .\test.1e3377ec\output\IconTest\x.exe launcher because application runtime directory [.\test.1e3377ec\output\IconTest\runtime] is incomplete [2025-11-06T21:01:54.294Z] [21:01:34.802] TRACE: assertStringListEquals(): Check there is only one file with [.jpackage.xml] name in the package [2025-11-06T21:01:54.294Z] [21:01:34.802] TRACE: assertStringListEquals(1, .\test.1e3377ec\output\IconTest\app\.jpackage.xml) [2025-11-06T21:01:54.294Z] [21:01:34.802] TRACE: assertTrue(): Check [.\test.1e3377ec\output\IconTest\runtime] path exists [2025-11-06T21:01:54.294Z] [21:01:34.802] TRACE: assertTrue(): Check [.\test.1e3377ec\output\IconTest\runtime] is a directory [2025-11-06T21:01:54.294Z] [21:01:34.802] TRACE: assertTrue(): Check [.\test.1e3377ec\output\IconTest\IconTest.exe] path exists [2025-11-06T21:01:54.294Z] [21:01:34.802] TRACE: assertTrue(): Check [.\test.1e3377ec\output\IconTest\IconTest.exe] is a file [2025-11-06T21:01:54.294Z] [21:01:34.802] TRACE: assertTrue(): Check [.\test.1e3377ec\output\IconTest\IconTest.exe] file is executable [2025-11-06T21:01:54.294Z] [21:01:34.802] TRACE: assertTrue(): Check [.\test.1e3377ec\output\IconTest\app\IconTest.cfg] path exists [2025-11-06T21:01:54.294Z] [21:01:34.802] TRACE: assertTrue(): Check [.\test.1e3377ec\output\IconTest\app\IconTest.cfg] is a file [2025-11-06T21:01:54.294Z] [21:01:34.802] TRACE: assertTrue(): Check [.\test.1e3377ec\output\IconTest\IconTest.ico] path doesn't exist [2025-11-06T21:01:54.294Z] [21:01:34.804] TRACE: exec: Execute [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.1e3377ec\icons\IconTest.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.1e3377ec\icons\IconTest.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T21:01:54.294Z] [21:01:35.258] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.294Z] [21:01:35.258] TRACE: assertEquals(0): Check command [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.1e3377ec\icons\IconTest.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.1e3377ec\icons\IconTest.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T21:01:54.294Z] [21:01:35.259] TRACE: exec: Execute [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.1e3377ec\output\IconTest\IconTest.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.1e3377ec\icons\IconTest.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T21:01:54.294Z] [21:01:35.572] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.294Z] [21:01:35.572] TRACE: assertEquals(0): Check command [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.1e3377ec\output\IconTest\IconTest.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.1e3377ec\icons\IconTest.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T21:01:54.294Z] [21:01:35.572] TRACE: Check icon file [.\test.1e3377ec\icons\IconTest.exe\actual.bmp] of main launcher is a copy of source icon file [.\test.1e3377ec\icons\IconTest.exe\expected.bmp] [2025-11-06T21:01:54.294Z] [21:01:35.574] TRACE: assertNotNull([21:01:33.097] Using default package resource JavaApp.ico [icon] (add IconTest.ico to the resource-dir to customize).): Check output contains [Using default package resource JavaApp.ico [icon] (add IconTest.ico to the resource-dir to customize)] string [2025-11-06T21:01:54.294Z] [21:01:35.574] TRACE: assertNotNull([21:01:33.195] Using custom package resource [icon] (loaded from x.ico).): Check output contains [Using custom package resource [icon] (loaded from x.ico)] string [2025-11-06T21:01:54.294Z] [21:01:35.574] TRACE: Deleting [.\test.1e3377ec] directory recursively [2025-11-06T21:01:54.294Z] [21:01:35.581] [ OK ] IconTest(AppImage, DefaultIcon, ResourceDirIcon).test; checks=25 [2025-11-06T21:01:54.294Z] [21:01:35.581] [ RUN ] IconTest(AppImage, ResourceDirIcon, CustomIcon).test [2025-11-06T21:01:54.294Z] [21:01:35.582] TRACE: Resource file: [.\test.dfa87f82\resources\IconTest.ico] <- [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon2.ico] [2025-11-06T21:01:54.294Z] [21:01:35.584] TRACE: exec: Execute tool provider [javac -d .\test.dfa87f82\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4)... [2025-11-06T21:01:54.294Z] [21:01:35.696] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.294Z] [21:01:35.696] TRACE: assertEquals(0): Check command tool provider [javac -d .\test.dfa87f82\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4) exited with 0 code [2025-11-06T21:01:54.294Z] [21:01:35.697] TRACE: exec: Execute tool provider [jar -c -f .\test.dfa87f82\input\hello.jar -C .\test.dfa87f82\jar-workdir .](7)... [2025-11-06T21:01:54.294Z] [21:01:35.718] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.294Z] [21:01:35.718] TRACE: assertEquals(0): Check command tool provider [jar -c -f .\test.dfa87f82\input\hello.jar -C .\test.dfa87f82\jar-workdir .](7) exited with 0 code [2025-11-06T21:01:54.294Z] [21:01:35.719] TRACE: Create [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.dfa87f82\x.properties] properties file... [2025-11-06T21:01:54.294Z] [21:01:35.719] TRACE: icon=C:/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/tools/jpackage/resources/icon3.ico [2025-11-06T21:01:54.294Z] [21:01:35.719] TRACE: Done [2025-11-06T21:01:54.294Z] [21:01:35.719] TRACE: Init fake runtime in [.\test.dfa87f82\fake_runtime] directory [2025-11-06T21:01:54.294Z] [21:01:35.721] TRACE: Files in [.\test.dfa87f82\resources] resource dir: [2025-11-06T21:01:54.294Z] [21:01:35.721] TRACE: [IconTest.ico] [2025-11-06T21:01:54.294Z] [21:01:35.721] TRACE: Done [2025-11-06T21:01:54.294Z] [21:01:35.721] TRACE: exec: Execute [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\test.dfa87f82\input --dest .\test.dfa87f82\output --name IconTest --type app-image --main-jar hello.jar --main-class Hello --win-console --resource-dir .\test.dfa87f82\resources --add-launcher x=.\test.dfa87f82\x.properties --runtime-image .\test.dfa87f82\fake_runtime --verbose](21); save output... [2025-11-06T21:01:54.294Z] [21:01:36.048] Creating app package: IconTest in C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\.\test.dfa87f82\output [2025-11-06T21:01:54.294Z] [21:01:36.073] Using custom package resource [icon] (loaded from IconTest.ico). [2025-11-06T21:01:54.294Z] [21:01:36.100] Warning: Windows Defender may prevent jpackage from functioning. If there is an issue, it can be addressed by either disabling realtime monitoring, or adding an exclusion for the directory "C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage12771247527225680708". [2025-11-06T21:01:54.294Z] [21:01:36.104] Using default package resource WinLauncher.template [Template for creating executable properties file] (add IconTest.properties to the resource-dir to customize). [2025-11-06T21:01:54.294Z] [21:01:36.180] Using custom package resource [icon] (loaded from file C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon3.ico). [2025-11-06T21:01:54.294Z] [21:01:36.185] Warning: Windows Defender may prevent jpackage from functioning. If there is an issue, it can be addressed by either disabling realtime monitoring, or adding an exclusion for the directory "C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage12771247527225680708". [2025-11-06T21:01:54.294Z] [21:01:36.190] Using default package resource WinLauncher.template [Template for creating executable properties file] (add x.properties to the resource-dir to customize). [2025-11-06T21:01:54.294Z] [21:01:36.199] Succeeded in building Windows Application Image package [2025-11-06T21:01:54.294Z] [21:01:36.213] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.294Z] [21:01:36.213] TRACE: assertEquals(0): Check command [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\test.dfa87f82\input --dest .\test.dfa87f82\output --name IconTest --type app-image --main-jar hello.jar --main-class Hello --win-console --resource-dir .\test.dfa87f82\resources --add-launcher x=.\test.dfa87f82\x.properties --runtime-image .\test.dfa87f82\fake_runtime --verbose](21) exited with 0 code [2025-11-06T21:01:54.294Z] [21:01:36.213] TRACE: assertTrue(): Check [.\test.dfa87f82\output\IconTest\x.ico] path doesn't exist [2025-11-06T21:01:54.294Z] [21:01:36.215] TRACE: exec: Execute tool provider [javac -d .\test.dfa87f82\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4)... [2025-11-06T21:01:54.294Z] [21:01:36.328] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.294Z] [21:01:36.329] TRACE: assertEquals(0): Check command tool provider [javac -d .\test.dfa87f82\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4) exited with 0 code [2025-11-06T21:01:54.294Z] [21:01:36.329] TRACE: Delete [.\test.dfa87f82\input\hello.jar] existing jar file [2025-11-06T21:01:54.294Z] [21:01:36.329] TRACE: exec: Execute tool provider [jar -c -f .\test.dfa87f82\input\hello.jar -C .\test.dfa87f82\jar-workdir .](7)... [2025-11-06T21:01:54.294Z] [21:01:36.351] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.294Z] [21:01:36.351] TRACE: assertEquals(0): Check command tool provider [jar -c -f .\test.dfa87f82\input\hello.jar -C .\test.dfa87f82\jar-workdir .](7) exited with 0 code [2025-11-06T21:01:54.295Z] [21:01:36.352] TRACE: Init fake runtime in [.\test.dfa87f82\fake_runtime] directory [2025-11-06T21:01:54.295Z] [21:01:36.353] TRACE: exec: Execute [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\test.dfa87f82\input --dest .\test.dfa87f82\out-8156 --name IconTest --type app-image --main-jar hello.jar --main-class Hello --win-console --runtime-image .\test.dfa87f82\fake_runtime --verbose](17); inherit I/O... [2025-11-06T21:01:54.295Z] [21:01:36.674] Creating app package: IconTest in C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\.\test.dfa87f82\out-8156 [2025-11-06T21:01:54.295Z] [21:01:36.697] Using default package resource JavaApp.ico [icon] (add IconTest.ico to the resource-dir to customize). [2025-11-06T21:01:54.295Z] [21:01:36.713] Warning: Windows Defender may prevent jpackage from functioning. If there is an issue, it can be addressed by either disabling realtime monitoring, or adding an exclusion for the directory "C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage6971658289050593858". [2025-11-06T21:01:54.295Z] [21:01:36.716] Using default package resource WinLauncher.template [Template for creating executable properties file] (add IconTest.properties to the resource-dir to customize). [2025-11-06T21:01:54.295Z] [21:01:36.790] Succeeded in building Windows Application Image package [2025-11-06T21:01:54.295Z] [21:01:36.803] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.295Z] [21:01:36.803] TRACE: assertEquals(0): Check command [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\test.dfa87f82\input --dest .\test.dfa87f82\out-8156 --name IconTest --type app-image --main-jar hello.jar --main-class Hello --win-console --runtime-image .\test.dfa87f82\fake_runtime --verbose](17) exited with 0 code [2025-11-06T21:01:54.295Z] [21:01:36.861] TRACE: Set icon of [.\test.dfa87f82\icons\x.exe\container.exe] launcher to [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon3.ico] file [2025-11-06T21:01:54.295Z] [21:01:36.983] TRACE: exec: Execute [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.dfa87f82\icons\x.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.dfa87f82\icons\x.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T21:01:54.295Z] [21:01:37.432] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.295Z] [21:01:37.432] TRACE: assertEquals(0): Check command [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.dfa87f82\icons\x.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.dfa87f82\icons\x.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T21:01:54.295Z] [21:01:37.432] TRACE: exec: Execute [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.dfa87f82\output\IconTest\x.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.dfa87f82\icons\x.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T21:01:54.295Z] [21:01:37.760] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.295Z] [21:01:37.760] TRACE: assertEquals(0): Check command [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.dfa87f82\output\IconTest\x.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.dfa87f82\icons\x.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T21:01:54.295Z] [21:01:37.760] TRACE: Check icon file [.\test.dfa87f82\icons\x.exe\actual.bmp] of x launcher is a copy of source icon file [.\test.dfa87f82\icons\x.exe\expected.bmp] [2025-11-06T21:01:54.295Z] [21:01:37.763] TRACE: assertTrue(): Check [.\test.dfa87f82\output\IconTest\x.exe] path exists [2025-11-06T21:01:54.295Z] [21:01:37.763] TRACE: assertTrue(): Check [.\test.dfa87f82\output\IconTest\x.exe] is a file [2025-11-06T21:01:54.295Z] [21:01:37.763] TRACE: assertTrue(): Check [.\test.dfa87f82\output\IconTest\x.exe] file is executable [2025-11-06T21:01:54.295Z] [21:01:37.763] TRACE: Not running .\test.dfa87f82\output\IconTest\x.exe launcher because application runtime directory [.\test.dfa87f82\output\IconTest\runtime] is incomplete [2025-11-06T21:01:54.295Z] [21:01:37.764] TRACE: assertStringListEquals(): Check there is only one file with [.jpackage.xml] name in the package [2025-11-06T21:01:54.295Z] [21:01:37.764] TRACE: assertStringListEquals(1, .\test.dfa87f82\output\IconTest\app\.jpackage.xml) [2025-11-06T21:01:54.295Z] [21:01:37.764] TRACE: assertTrue(): Check [.\test.dfa87f82\output\IconTest\runtime] path exists [2025-11-06T21:01:54.295Z] [21:01:37.764] TRACE: assertTrue(): Check [.\test.dfa87f82\output\IconTest\runtime] is a directory [2025-11-06T21:01:54.295Z] [21:01:37.764] TRACE: assertTrue(): Check [.\test.dfa87f82\output\IconTest\IconTest.exe] path exists [2025-11-06T21:01:54.295Z] [21:01:37.764] TRACE: assertTrue(): Check [.\test.dfa87f82\output\IconTest\IconTest.exe] is a file [2025-11-06T21:01:54.295Z] [21:01:37.764] TRACE: assertTrue(): Check [.\test.dfa87f82\output\IconTest\IconTest.exe] file is executable [2025-11-06T21:01:54.295Z] [21:01:37.764] TRACE: assertTrue(): Check [.\test.dfa87f82\output\IconTest\app\IconTest.cfg] path exists [2025-11-06T21:01:54.295Z] [21:01:37.764] TRACE: assertTrue(): Check [.\test.dfa87f82\output\IconTest\app\IconTest.cfg] is a file [2025-11-06T21:01:54.295Z] [21:01:37.764] TRACE: assertTrue(): Check [.\test.dfa87f82\output\IconTest\IconTest.ico] path doesn't exist [2025-11-06T21:01:54.295Z] [21:01:37.766] TRACE: Set icon of [.\test.dfa87f82\icons\IconTest.exe\container.exe] launcher to [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon2.ico] file [2025-11-06T21:01:54.295Z] [21:01:37.898] TRACE: exec: Execute [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.dfa87f82\icons\IconTest.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.dfa87f82\icons\IconTest.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T21:01:54.295Z] [21:01:38.356] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.295Z] [21:01:38.356] TRACE: assertEquals(0): Check command [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.dfa87f82\icons\IconTest.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.dfa87f82\icons\IconTest.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T21:01:54.295Z] [21:01:38.356] TRACE: exec: Execute [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.dfa87f82\output\IconTest\IconTest.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.dfa87f82\icons\IconTest.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T21:01:54.295Z] [21:01:38.691] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.295Z] [21:01:38.691] TRACE: assertEquals(0): Check command [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.dfa87f82\output\IconTest\IconTest.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.dfa87f82\icons\IconTest.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T21:01:54.295Z] [21:01:38.691] TRACE: Check icon file [.\test.dfa87f82\icons\IconTest.exe\actual.bmp] of main launcher is a copy of source icon file [.\test.dfa87f82\icons\IconTest.exe\expected.bmp] [2025-11-06T21:01:54.295Z] [21:01:38.693] TRACE: assertNotNull([21:01:36.073] Using custom package resource [icon] (loaded from IconTest.ico).): Check output contains [Using custom package resource [icon] (loaded from IconTest.ico)] string [2025-11-06T21:01:54.295Z] [21:01:38.693] TRACE: assertNotNull([21:01:36.180] Using custom package resource [icon] (loaded from file C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon3.ico).): Check output contains [Using custom package resource [icon] (loaded from file] string [2025-11-06T21:01:54.295Z] [21:01:38.694] TRACE: Deleting [.\test.dfa87f82] directory recursively [2025-11-06T21:01:54.295Z] [21:01:38.700] [ OK ] IconTest(AppImage, ResourceDirIcon, CustomIcon).test; checks=25 [2025-11-06T21:01:54.295Z] [21:01:38.700] [ RUN ] IconTest(AppImage, ResourceDirIcon, CustomWithResourceDirIcon).test [2025-11-06T21:01:54.295Z] [21:01:38.701] TRACE: Resource file: [.\test.740661f7\resources\IconTest.ico] <- [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon2.ico] [2025-11-06T21:01:54.295Z] [21:01:38.701] TRACE: Resource file: [.\test.740661f7\resources\x.ico] <- [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon3.ico] [2025-11-06T21:01:54.295Z] [21:01:38.703] TRACE: exec: Execute tool provider [javac -d .\test.740661f7\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4)... [2025-11-06T21:01:54.295Z] [21:01:38.782] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.295Z] [21:01:38.782] TRACE: assertEquals(0): Check command tool provider [javac -d .\test.740661f7\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4) exited with 0 code [2025-11-06T21:01:54.295Z] [21:01:38.783] TRACE: exec: Execute tool provider [jar -c -f .\test.740661f7\input\hello.jar -C .\test.740661f7\jar-workdir .](7)... [2025-11-06T21:01:54.295Z] [21:01:38.803] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.295Z] [21:01:38.803] TRACE: assertEquals(0): Check command tool provider [jar -c -f .\test.740661f7\input\hello.jar -C .\test.740661f7\jar-workdir .](7) exited with 0 code [2025-11-06T21:01:54.295Z] [21:01:38.804] TRACE: Create [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.740661f7\x.properties] properties file... [2025-11-06T21:01:54.295Z] [21:01:38.804] TRACE: icon=C:/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun/aqa-tests/openjdk/openjdk-jdk/test/jdk/tools/jpackage/resources/icon4.ico [2025-11-06T21:01:54.295Z] [21:01:38.805] TRACE: Done [2025-11-06T21:01:54.295Z] [21:01:38.805] TRACE: Init fake runtime in [.\test.740661f7\fake_runtime] directory [2025-11-06T21:01:54.295Z] [21:01:38.806] TRACE: Files in [.\test.740661f7\resources] resource dir: [2025-11-06T21:01:54.295Z] [21:01:38.807] TRACE: [IconTest.ico] [2025-11-06T21:01:54.295Z] [21:01:38.807] TRACE: [x.ico] [2025-11-06T21:01:54.295Z] [21:01:38.807] TRACE: Done [2025-11-06T21:01:54.295Z] [21:01:38.807] TRACE: exec: Execute [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\test.740661f7\input --dest .\test.740661f7\output --name IconTest --type app-image --main-jar hello.jar --main-class Hello --win-console --resource-dir .\test.740661f7\resources --add-launcher x=.\test.740661f7\x.properties --runtime-image .\test.740661f7\fake_runtime --verbose](21); save output... [2025-11-06T21:01:54.295Z] [21:01:39.137] Creating app package: IconTest in C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\.\test.740661f7\output [2025-11-06T21:01:54.295Z] [21:01:39.160] Using custom package resource [icon] (loaded from IconTest.ico). [2025-11-06T21:01:54.295Z] [21:01:39.185] Warning: Windows Defender may prevent jpackage from functioning. If there is an issue, it can be addressed by either disabling realtime monitoring, or adding an exclusion for the directory "C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage12958236859109415354". [2025-11-06T21:01:54.295Z] [21:01:39.189] Using default package resource WinLauncher.template [Template for creating executable properties file] (add IconTest.properties to the resource-dir to customize). [2025-11-06T21:01:54.295Z] [21:01:39.261] Using custom package resource [icon] (loaded from file C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon4.ico). [2025-11-06T21:01:54.295Z] [21:01:39.266] Warning: Windows Defender may prevent jpackage from functioning. If there is an issue, it can be addressed by either disabling realtime monitoring, or adding an exclusion for the directory "C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage12958236859109415354". [2025-11-06T21:01:54.295Z] [21:01:39.271] Using default package resource WinLauncher.template [Template for creating executable properties file] (add x.properties to the resource-dir to customize). [2025-11-06T21:01:54.295Z] [21:01:39.283] Succeeded in building Windows Application Image package [2025-11-06T21:01:54.295Z] [21:01:39.297] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.295Z] [21:01:39.298] TRACE: assertEquals(0): Check command [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\test.740661f7\input --dest .\test.740661f7\output --name IconTest --type app-image --main-jar hello.jar --main-class Hello --win-console --resource-dir .\test.740661f7\resources --add-launcher x=.\test.740661f7\x.properties --runtime-image .\test.740661f7\fake_runtime --verbose](21) exited with 0 code [2025-11-06T21:01:54.295Z] [21:01:39.298] TRACE: assertTrue(): Check [.\test.740661f7\output\IconTest\x.ico] path doesn't exist [2025-11-06T21:01:54.295Z] [21:01:39.299] TRACE: exec: Execute tool provider [javac -d .\test.740661f7\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4)... [2025-11-06T21:01:54.295Z] [21:01:39.399] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.295Z] [21:01:39.400] TRACE: assertEquals(0): Check command tool provider [javac -d .\test.740661f7\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4) exited with 0 code [2025-11-06T21:01:54.295Z] [21:01:39.400] TRACE: Delete [.\test.740661f7\input\hello.jar] existing jar file [2025-11-06T21:01:54.295Z] [21:01:39.400] TRACE: exec: Execute tool provider [jar -c -f .\test.740661f7\input\hello.jar -C .\test.740661f7\jar-workdir .](7)... [2025-11-06T21:01:54.295Z] [21:01:39.421] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.295Z] [21:01:39.421] TRACE: assertEquals(0): Check command tool provider [jar -c -f .\test.740661f7\input\hello.jar -C .\test.740661f7\jar-workdir .](7) exited with 0 code [2025-11-06T21:01:54.295Z] [21:01:39.422] TRACE: Init fake runtime in [.\test.740661f7\fake_runtime] directory [2025-11-06T21:01:54.295Z] [21:01:39.423] TRACE: exec: Execute [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\test.740661f7\input --dest .\test.740661f7\out-8156 --name IconTest --type app-image --main-jar hello.jar --main-class Hello --win-console --runtime-image .\test.740661f7\fake_runtime --verbose](17); inherit I/O... [2025-11-06T21:01:54.295Z] [21:01:39.750] Creating app package: IconTest in C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\.\test.740661f7\out-8156 [2025-11-06T21:01:54.295Z] [21:01:39.773] Using default package resource JavaApp.ico [icon] (add IconTest.ico to the resource-dir to customize). [2025-11-06T21:01:54.295Z] [21:01:39.789] Warning: Windows Defender may prevent jpackage from functioning. If there is an issue, it can be addressed by either disabling realtime monitoring, or adding an exclusion for the directory "C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage1106752748499725426". [2025-11-06T21:01:54.295Z] [21:01:39.792] Using default package resource WinLauncher.template [Template for creating executable properties file] (add IconTest.properties to the resource-dir to customize). [2025-11-06T21:01:54.295Z] [21:01:39.827] Succeeded in building Windows Application Image package [2025-11-06T21:01:54.295Z] [21:01:39.839] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.295Z] [21:01:39.840] TRACE: assertEquals(0): Check command [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\test.740661f7\input --dest .\test.740661f7\out-8156 --name IconTest --type app-image --main-jar hello.jar --main-class Hello --win-console --runtime-image .\test.740661f7\fake_runtime --verbose](17) exited with 0 code [2025-11-06T21:01:54.295Z] [21:01:39.934] TRACE: Set icon of [.\test.740661f7\icons\x.exe\container.exe] launcher to [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon4.ico] file [2025-11-06T21:01:54.295Z] [21:01:40.070] TRACE: exec: Execute [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.740661f7\icons\x.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.740661f7\icons\x.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T21:01:54.295Z] [21:01:40.515] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.295Z] [21:01:40.515] TRACE: assertEquals(0): Check command [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.740661f7\icons\x.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.740661f7\icons\x.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T21:01:54.296Z] [21:01:40.516] TRACE: exec: Execute [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.740661f7\output\IconTest\x.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.740661f7\icons\x.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T21:01:54.296Z] [21:01:40.854] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.296Z] [21:01:40.854] TRACE: assertEquals(0): Check command [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.740661f7\output\IconTest\x.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.740661f7\icons\x.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T21:01:54.296Z] [21:01:40.854] TRACE: Check icon file [.\test.740661f7\icons\x.exe\actual.bmp] of x launcher is a copy of source icon file [.\test.740661f7\icons\x.exe\expected.bmp] [2025-11-06T21:01:54.296Z] [21:01:40.856] TRACE: assertTrue(): Check [.\test.740661f7\output\IconTest\x.exe] path exists [2025-11-06T21:01:54.296Z] [21:01:40.856] TRACE: assertTrue(): Check [.\test.740661f7\output\IconTest\x.exe] is a file [2025-11-06T21:01:54.296Z] [21:01:40.856] TRACE: assertTrue(): Check [.\test.740661f7\output\IconTest\x.exe] file is executable [2025-11-06T21:01:54.296Z] [21:01:40.856] TRACE: Not running .\test.740661f7\output\IconTest\x.exe launcher because application runtime directory [.\test.740661f7\output\IconTest\runtime] is incomplete [2025-11-06T21:01:54.296Z] [21:01:40.857] TRACE: assertStringListEquals(): Check there is only one file with [.jpackage.xml] name in the package [2025-11-06T21:01:54.296Z] [21:01:40.857] TRACE: assertStringListEquals(1, .\test.740661f7\output\IconTest\app\.jpackage.xml) [2025-11-06T21:01:54.296Z] [21:01:40.857] TRACE: assertTrue(): Check [.\test.740661f7\output\IconTest\runtime] path exists [2025-11-06T21:01:54.296Z] [21:01:40.857] TRACE: assertTrue(): Check [.\test.740661f7\output\IconTest\runtime] is a directory [2025-11-06T21:01:54.296Z] [21:01:40.857] TRACE: assertTrue(): Check [.\test.740661f7\output\IconTest\IconTest.exe] path exists [2025-11-06T21:01:54.296Z] [21:01:40.857] TRACE: assertTrue(): Check [.\test.740661f7\output\IconTest\IconTest.exe] is a file [2025-11-06T21:01:54.296Z] [21:01:40.857] TRACE: assertTrue(): Check [.\test.740661f7\output\IconTest\IconTest.exe] file is executable [2025-11-06T21:01:54.296Z] [21:01:40.857] TRACE: assertTrue(): Check [.\test.740661f7\output\IconTest\app\IconTest.cfg] path exists [2025-11-06T21:01:54.296Z] [21:01:40.857] TRACE: assertTrue(): Check [.\test.740661f7\output\IconTest\app\IconTest.cfg] is a file [2025-11-06T21:01:54.296Z] [21:01:40.857] TRACE: assertTrue(): Check [.\test.740661f7\output\IconTest\IconTest.ico] path doesn't exist [2025-11-06T21:01:54.296Z] [21:01:40.859] TRACE: Set icon of [.\test.740661f7\icons\IconTest.exe\container.exe] launcher to [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon2.ico] file [2025-11-06T21:01:54.296Z] [21:01:40.987] TRACE: exec: Execute [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.740661f7\icons\IconTest.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.740661f7\icons\IconTest.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T21:01:54.296Z] [21:01:41.424] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.296Z] [21:01:41.424] TRACE: assertEquals(0): Check command [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.740661f7\icons\IconTest.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.740661f7\icons\IconTest.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T21:01:54.296Z] [21:01:41.424] TRACE: exec: Execute [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.740661f7\output\IconTest\IconTest.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.740661f7\icons\IconTest.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T21:01:54.296Z] [21:01:41.743] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.296Z] [21:01:41.743] TRACE: assertEquals(0): Check command [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.740661f7\output\IconTest\IconTest.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.740661f7\icons\IconTest.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T21:01:54.296Z] [21:01:41.743] TRACE: Check icon file [.\test.740661f7\icons\IconTest.exe\actual.bmp] of main launcher is a copy of source icon file [.\test.740661f7\icons\IconTest.exe\expected.bmp] [2025-11-06T21:01:54.296Z] [21:01:41.745] TRACE: assertNotNull([21:01:39.160] Using custom package resource [icon] (loaded from IconTest.ico).): Check output contains [Using custom package resource [icon] (loaded from IconTest.ico)] string [2025-11-06T21:01:54.296Z] [21:01:41.745] TRACE: assertNotNull([21:01:39.261] Using custom package resource [icon] (loaded from file C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon4.ico).): Check output contains [Using custom package resource [icon] (loaded from file] string [2025-11-06T21:01:54.296Z] [21:01:41.745] TRACE: Deleting [.\test.740661f7] directory recursively [2025-11-06T21:01:54.296Z] [21:01:41.752] [ OK ] IconTest(AppImage, ResourceDirIcon, CustomWithResourceDirIcon).test; checks=25 [2025-11-06T21:01:54.296Z] [21:01:41.752] [ RUN ] IconTest(AppImage, ResourceDirIcon, DefaultIcon).test [2025-11-06T21:01:54.296Z] [21:01:41.753] TRACE: Resource file: [.\test.660c05f0\resources\IconTest.ico] <- [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon2.ico] [2025-11-06T21:01:54.296Z] [21:01:41.754] TRACE: exec: Execute tool provider [javac -d .\test.660c05f0\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4)... [2025-11-06T21:01:54.296Z] [21:01:41.870] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.296Z] [21:01:41.870] TRACE: assertEquals(0): Check command tool provider [javac -d .\test.660c05f0\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4) exited with 0 code [2025-11-06T21:01:54.296Z] [21:01:41.870] TRACE: exec: Execute tool provider [jar -c -f .\test.660c05f0\input\hello.jar -C .\test.660c05f0\jar-workdir .](7)... [2025-11-06T21:01:54.296Z] [21:01:41.891] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.296Z] [21:01:41.891] TRACE: assertEquals(0): Check command tool provider [jar -c -f .\test.660c05f0\input\hello.jar -C .\test.660c05f0\jar-workdir .](7) exited with 0 code [2025-11-06T21:01:54.296Z] [21:01:41.892] TRACE: Create [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.660c05f0\x.properties] properties file... [2025-11-06T21:01:54.296Z] [21:01:41.892] TRACE: Done [2025-11-06T21:01:54.296Z] [21:01:41.892] TRACE: Init fake runtime in [.\test.660c05f0\fake_runtime] directory [2025-11-06T21:01:54.296Z] [21:01:41.894] TRACE: Files in [.\test.660c05f0\resources] resource dir: [2025-11-06T21:01:54.296Z] [21:01:41.894] TRACE: [IconTest.ico] [2025-11-06T21:01:54.296Z] [21:01:41.894] TRACE: Done [2025-11-06T21:01:54.296Z] [21:01:41.894] TRACE: exec: Execute [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\test.660c05f0\input --dest .\test.660c05f0\output --name IconTest --type app-image --main-jar hello.jar --main-class Hello --win-console --resource-dir .\test.660c05f0\resources --add-launcher x=.\test.660c05f0\x.properties --runtime-image .\test.660c05f0\fake_runtime --verbose](21); save output... [2025-11-06T21:01:54.296Z] [21:01:42.221] Creating app package: IconTest in C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\.\test.660c05f0\output [2025-11-06T21:01:54.296Z] [21:01:42.246] Using custom package resource [icon] (loaded from IconTest.ico). [2025-11-06T21:01:54.296Z] [21:01:42.272] Warning: Windows Defender may prevent jpackage from functioning. If there is an issue, it can be addressed by either disabling realtime monitoring, or adding an exclusion for the directory "C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage6136367677217654276". [2025-11-06T21:01:54.296Z] [21:01:42.276] Using default package resource WinLauncher.template [Template for creating executable properties file] (add IconTest.properties to the resource-dir to customize). [2025-11-06T21:01:54.296Z] [21:01:42.350] Using custom package resource [icon] (loaded from x.ico). [2025-11-06T21:01:54.296Z] [21:01:42.355] Warning: Windows Defender may prevent jpackage from functioning. If there is an issue, it can be addressed by either disabling realtime monitoring, or adding an exclusion for the directory "C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage6136367677217654276". [2025-11-06T21:01:54.296Z] [21:01:42.359] Using default package resource WinLauncher.template [Template for creating executable properties file] (add x.properties to the resource-dir to customize). [2025-11-06T21:01:54.296Z] [21:01:42.369] Succeeded in building Windows Application Image package [2025-11-06T21:01:54.296Z] [21:01:42.384] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.296Z] [21:01:42.384] TRACE: assertEquals(0): Check command [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\test.660c05f0\input --dest .\test.660c05f0\output --name IconTest --type app-image --main-jar hello.jar --main-class Hello --win-console --resource-dir .\test.660c05f0\resources --add-launcher x=.\test.660c05f0\x.properties --runtime-image .\test.660c05f0\fake_runtime --verbose](21) exited with 0 code [2025-11-06T21:01:54.296Z] [21:01:42.385] TRACE: assertTrue(): Check [.\test.660c05f0\output\IconTest\x.ico] path doesn't exist [2025-11-06T21:01:54.296Z] [21:01:42.386] TRACE: exec: Execute tool provider [javac -d .\test.660c05f0\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4)... [2025-11-06T21:01:54.296Z] [21:01:42.490] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.296Z] [21:01:42.491] TRACE: assertEquals(0): Check command tool provider [javac -d .\test.660c05f0\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4) exited with 0 code [2025-11-06T21:01:54.296Z] [21:01:42.491] TRACE: Delete [.\test.660c05f0\input\hello.jar] existing jar file [2025-11-06T21:01:54.296Z] [21:01:42.491] TRACE: exec: Execute tool provider [jar -c -f .\test.660c05f0\input\hello.jar -C .\test.660c05f0\jar-workdir .](7)... [2025-11-06T21:01:54.296Z] [21:01:42.518] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.296Z] [21:01:42.518] TRACE: assertEquals(0): Check command tool provider [jar -c -f .\test.660c05f0\input\hello.jar -C .\test.660c05f0\jar-workdir .](7) exited with 0 code [2025-11-06T21:01:54.296Z] [21:01:42.519] TRACE: Init fake runtime in [.\test.660c05f0\fake_runtime] directory [2025-11-06T21:01:54.296Z] [21:01:42.521] TRACE: exec: Execute [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\test.660c05f0\input --dest .\test.660c05f0\out-8156 --name IconTest --type app-image --main-jar hello.jar --main-class Hello --win-console --runtime-image .\test.660c05f0\fake_runtime --verbose](17); inherit I/O... [2025-11-06T21:01:54.296Z] [21:01:42.845] Creating app package: IconTest in C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\.\test.660c05f0\out-8156 [2025-11-06T21:01:54.296Z] [21:01:42.868] Using default package resource JavaApp.ico [icon] (add IconTest.ico to the resource-dir to customize). [2025-11-06T21:01:54.296Z] [21:01:42.884] Warning: Windows Defender may prevent jpackage from functioning. If there is an issue, it can be addressed by either disabling realtime monitoring, or adding an exclusion for the directory "C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage10484790060194797216". [2025-11-06T21:01:54.296Z] [21:01:42.889] Using default package resource WinLauncher.template [Template for creating executable properties file] (add IconTest.properties to the resource-dir to customize). [2025-11-06T21:01:54.296Z] [21:01:42.974] Succeeded in building Windows Application Image package [2025-11-06T21:01:54.296Z] [21:01:42.986] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.296Z] [21:01:42.987] TRACE: assertEquals(0): Check command [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\test.660c05f0\input --dest .\test.660c05f0\out-8156 --name IconTest --type app-image --main-jar hello.jar --main-class Hello --win-console --runtime-image .\test.660c05f0\fake_runtime --verbose](17) exited with 0 code [2025-11-06T21:01:54.296Z] [21:01:43.044] TRACE: Set icon of [.\test.660c05f0\icons\x.exe\container.exe] launcher to [.\test.660c05f0\resources\IconTest.ico] file [2025-11-06T21:01:54.296Z] [21:01:43.170] TRACE: exec: Execute [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.660c05f0\icons\x.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.660c05f0\icons\x.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T21:01:54.296Z] [21:01:43.616] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.296Z] [21:01:43.617] TRACE: assertEquals(0): Check command [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.660c05f0\icons\x.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.660c05f0\icons\x.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T21:01:54.296Z] [21:01:43.617] TRACE: exec: Execute [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.660c05f0\output\IconTest\x.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.660c05f0\icons\x.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T21:01:54.296Z] [21:01:43.946] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.296Z] [21:01:43.946] TRACE: assertEquals(0): Check command [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.660c05f0\output\IconTest\x.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.660c05f0\icons\x.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T21:01:54.296Z] [21:01:43.946] TRACE: Check icon file [.\test.660c05f0\icons\x.exe\actual.bmp] of x launcher is a copy of source icon file [.\test.660c05f0\icons\x.exe\expected.bmp] [2025-11-06T21:01:54.296Z] [21:01:43.948] TRACE: assertTrue(): Check [.\test.660c05f0\output\IconTest\x.exe] path exists [2025-11-06T21:01:54.296Z] [21:01:43.948] TRACE: assertTrue(): Check [.\test.660c05f0\output\IconTest\x.exe] is a file [2025-11-06T21:01:54.296Z] [21:01:43.948] TRACE: assertTrue(): Check [.\test.660c05f0\output\IconTest\x.exe] file is executable [2025-11-06T21:01:54.296Z] [21:01:43.949] TRACE: Not running .\test.660c05f0\output\IconTest\x.exe launcher because application runtime directory [.\test.660c05f0\output\IconTest\runtime] is incomplete [2025-11-06T21:01:54.296Z] [21:01:43.949] TRACE: assertStringListEquals(): Check there is only one file with [.jpackage.xml] name in the package [2025-11-06T21:01:54.296Z] [21:01:43.949] TRACE: assertStringListEquals(1, .\test.660c05f0\output\IconTest\app\.jpackage.xml) [2025-11-06T21:01:54.296Z] [21:01:43.949] TRACE: assertTrue(): Check [.\test.660c05f0\output\IconTest\runtime] path exists [2025-11-06T21:01:54.296Z] [21:01:43.949] TRACE: assertTrue(): Check [.\test.660c05f0\output\IconTest\runtime] is a directory [2025-11-06T21:01:54.296Z] [21:01:43.949] TRACE: assertTrue(): Check [.\test.660c05f0\output\IconTest\IconTest.exe] path exists [2025-11-06T21:01:54.297Z] [21:01:43.949] TRACE: assertTrue(): Check [.\test.660c05f0\output\IconTest\IconTest.exe] is a file [2025-11-06T21:01:54.297Z] [21:01:43.949] TRACE: assertTrue(): Check [.\test.660c05f0\output\IconTest\IconTest.exe] file is executable [2025-11-06T21:01:54.297Z] [21:01:43.949] TRACE: assertTrue(): Check [.\test.660c05f0\output\IconTest\app\IconTest.cfg] path exists [2025-11-06T21:01:54.297Z] [21:01:43.949] TRACE: assertTrue(): Check [.\test.660c05f0\output\IconTest\app\IconTest.cfg] is a file [2025-11-06T21:01:54.297Z] [21:01:43.950] TRACE: assertTrue(): Check [.\test.660c05f0\output\IconTest\IconTest.ico] path doesn't exist [2025-11-06T21:01:54.297Z] [21:01:43.952] TRACE: Set icon of [.\test.660c05f0\icons\IconTest.exe\container.exe] launcher to [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon2.ico] file [2025-11-06T21:01:54.297Z] [21:01:44.084] TRACE: exec: Execute [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.660c05f0\icons\IconTest.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.660c05f0\icons\IconTest.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T21:01:54.297Z] [21:01:44.543] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.297Z] [21:01:44.544] TRACE: assertEquals(0): Check command [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.660c05f0\icons\IconTest.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.660c05f0\icons\IconTest.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T21:01:54.297Z] [21:01:44.544] TRACE: exec: Execute [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.660c05f0\output\IconTest\IconTest.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.660c05f0\icons\IconTest.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T21:01:54.297Z] [21:01:44.861] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.297Z] [21:01:44.861] TRACE: assertEquals(0): Check command [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.660c05f0\output\IconTest\IconTest.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.660c05f0\icons\IconTest.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T21:01:54.297Z] [21:01:44.861] TRACE: Check icon file [.\test.660c05f0\icons\IconTest.exe\actual.bmp] of main launcher is a copy of source icon file [.\test.660c05f0\icons\IconTest.exe\expected.bmp] [2025-11-06T21:01:54.297Z] [21:01:44.863] TRACE: assertNotNull([21:01:42.246] Using custom package resource [icon] (loaded from IconTest.ico).): Check output contains [Using custom package resource [icon] (loaded from IconTest.ico)] string [2025-11-06T21:01:54.297Z] [21:01:44.863] TRACE: assertNotNull([21:01:42.350] Using custom package resource [icon] (loaded from x.ico).): Check output contains [Using custom package resource [icon] (loaded from x.ico)] string [2025-11-06T21:01:54.297Z] [21:01:44.864] TRACE: Deleting [.\test.660c05f0] directory recursively [2025-11-06T21:01:54.297Z] [21:01:44.870] [ OK ] IconTest(AppImage, ResourceDirIcon, DefaultIcon).test; checks=25 [2025-11-06T21:01:54.297Z] [21:01:44.870] [ RUN ] IconTest(AppImage, ResourceDirIcon, NoIcon).test [2025-11-06T21:01:54.297Z] [21:01:44.871] TRACE: Resource file: [.\test.9235a652\resources\IconTest.ico] <- [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon2.ico] [2025-11-06T21:01:54.297Z] [21:01:44.872] TRACE: exec: Execute tool provider [javac -d .\test.9235a652\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4)... [2025-11-06T21:01:54.297Z] [21:01:44.986] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.297Z] [21:01:44.986] TRACE: assertEquals(0): Check command tool provider [javac -d .\test.9235a652\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4) exited with 0 code [2025-11-06T21:01:54.297Z] [21:01:44.987] TRACE: exec: Execute tool provider [jar -c -f .\test.9235a652\input\hello.jar -C .\test.9235a652\jar-workdir .](7)... [2025-11-06T21:01:54.297Z] [21:01:45.009] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.297Z] [21:01:45.009] TRACE: assertEquals(0): Check command tool provider [jar -c -f .\test.9235a652\input\hello.jar -C .\test.9235a652\jar-workdir .](7) exited with 0 code [2025-11-06T21:01:54.297Z] [21:01:45.010] TRACE: Create [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.9235a652\x.properties] properties file... [2025-11-06T21:01:54.297Z] [21:01:45.010] TRACE: icon= [2025-11-06T21:01:54.297Z] [21:01:45.011] TRACE: Done [2025-11-06T21:01:54.297Z] [21:01:45.011] TRACE: Init fake runtime in [.\test.9235a652\fake_runtime] directory [2025-11-06T21:01:54.297Z] [21:01:45.012] TRACE: Files in [.\test.9235a652\resources] resource dir: [2025-11-06T21:01:54.297Z] [21:01:45.013] TRACE: [IconTest.ico] [2025-11-06T21:01:54.297Z] [21:01:45.013] TRACE: Done [2025-11-06T21:01:54.297Z] [21:01:45.013] TRACE: exec: Execute [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\test.9235a652\input --dest .\test.9235a652\output --name IconTest --type app-image --main-jar hello.jar --main-class Hello --win-console --resource-dir .\test.9235a652\resources --add-launcher x=.\test.9235a652\x.properties --runtime-image .\test.9235a652\fake_runtime --verbose](21); save output... [2025-11-06T21:01:54.297Z] [21:01:45.342] Creating app package: IconTest in C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\.\test.9235a652\output [2025-11-06T21:01:54.297Z] [21:01:45.365] Using custom package resource [icon] (loaded from IconTest.ico). [2025-11-06T21:01:54.297Z] [21:01:45.394] Warning: Windows Defender may prevent jpackage from functioning. If there is an issue, it can be addressed by either disabling realtime monitoring, or adding an exclusion for the directory "C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage17875647298807103753". [2025-11-06T21:01:54.297Z] [21:01:45.398] Using default package resource WinLauncher.template [Template for creating executable properties file] (add IconTest.properties to the resource-dir to customize). [2025-11-06T21:01:54.297Z] [21:01:45.478] Warning: Windows Defender may prevent jpackage from functioning. If there is an issue, it can be addressed by either disabling realtime monitoring, or adding an exclusion for the directory "C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage17875647298807103753". [2025-11-06T21:01:54.297Z] [21:01:45.482] Using default package resource WinLauncher.template [Template for creating executable properties file] (add x.properties to the resource-dir to customize). [2025-11-06T21:01:54.297Z] [21:01:45.486] Succeeded in building Windows Application Image package [2025-11-06T21:01:54.297Z] [21:01:45.501] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.297Z] [21:01:45.501] TRACE: assertEquals(0): Check command [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\test.9235a652\input --dest .\test.9235a652\output --name IconTest --type app-image --main-jar hello.jar --main-class Hello --win-console --resource-dir .\test.9235a652\resources --add-launcher x=.\test.9235a652\x.properties --runtime-image .\test.9235a652\fake_runtime --verbose](21) exited with 0 code [2025-11-06T21:01:54.297Z] [21:01:45.501] TRACE: assertTrue(): Check [.\test.9235a652\output\IconTest\x.ico] path doesn't exist [2025-11-06T21:01:54.297Z] [21:01:45.503] TRACE: exec: Execute tool provider [javac -d .\test.9235a652\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4)... [2025-11-06T21:01:54.297Z] [21:01:45.611] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.297Z] [21:01:45.611] TRACE: assertEquals(0): Check command tool provider [javac -d .\test.9235a652\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4) exited with 0 code [2025-11-06T21:01:54.297Z] [21:01:45.611] TRACE: Delete [.\test.9235a652\input\hello.jar] existing jar file [2025-11-06T21:01:54.297Z] [21:01:45.612] TRACE: exec: Execute tool provider [jar -c -f .\test.9235a652\input\hello.jar -C .\test.9235a652\jar-workdir .](7)... [2025-11-06T21:01:54.297Z] [21:01:45.639] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.297Z] [21:01:45.639] TRACE: assertEquals(0): Check command tool provider [jar -c -f .\test.9235a652\input\hello.jar -C .\test.9235a652\jar-workdir .](7) exited with 0 code [2025-11-06T21:01:54.297Z] [21:01:45.640] TRACE: Init fake runtime in [.\test.9235a652\fake_runtime] directory [2025-11-06T21:01:54.297Z] [21:01:45.642] TRACE: Create [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.9235a652\no-icon.properties] properties file... [2025-11-06T21:01:54.297Z] [21:01:45.642] TRACE: icon= [2025-11-06T21:01:54.297Z] [21:01:45.643] TRACE: Done [2025-11-06T21:01:54.297Z] [21:01:45.643] TRACE: exec: Execute [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\test.9235a652\input --dest .\test.9235a652\out-8156 --name IconTest --type app-image --main-jar hello.jar --main-class Hello --win-console --runtime-image .\test.9235a652\fake_runtime --add-launcher no-icon=.\test.9235a652\no-icon.properties --verbose](19); inherit I/O... [2025-11-06T21:01:54.297Z] [21:01:45.972] Creating app package: IconTest in C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\.\test.9235a652\out-8156 [2025-11-06T21:01:54.297Z] [21:01:45.995] Using default package resource JavaApp.ico [icon] (add IconTest.ico to the resource-dir to customize). [2025-11-06T21:01:54.297Z] [21:01:46.012] Warning: Windows Defender may prevent jpackage from functioning. If there is an issue, it can be addressed by either disabling realtime monitoring, or adding an exclusion for the directory "C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage17299659554406112966". [2025-11-06T21:01:54.297Z] [21:01:46.016] Using default package resource WinLauncher.template [Template for creating executable properties file] (add IconTest.properties to the resource-dir to customize). [2025-11-06T21:01:54.297Z] [21:01:46.060] Warning: Windows Defender may prevent jpackage from functioning. If there is an issue, it can be addressed by either disabling realtime monitoring, or adding an exclusion for the directory "C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage17299659554406112966". [2025-11-06T21:01:54.297Z] [21:01:46.064] Using default package resource WinLauncher.template [Template for creating executable properties file] (add no-icon.properties to the resource-dir to customize). [2025-11-06T21:01:54.297Z] [21:01:46.068] Succeeded in building Windows Application Image package [2025-11-06T21:01:54.297Z] [21:01:46.083] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.297Z] [21:01:46.084] TRACE: assertEquals(0): Check command [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\test.9235a652\input --dest .\test.9235a652\out-8156 --name IconTest --type app-image --main-jar hello.jar --main-class Hello --win-console --runtime-image .\test.9235a652\fake_runtime --add-launcher no-icon=.\test.9235a652\no-icon.properties --verbose](19) exited with 0 code [2025-11-06T21:01:54.297Z] [21:01:46.084] TRACE: assertTrue(): Check [.\test.9235a652\out-8156\IconTest\no-icon.ico] path doesn't exist [2025-11-06T21:01:54.297Z] [21:01:46.198] TRACE: exec: Execute [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.9235a652\icons.0\no-icon.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.9235a652\icons.0\no-icon.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T21:01:54.297Z] [21:01:46.678] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.297Z] [21:01:46.678] TRACE: assertEquals(0): Check command [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.9235a652\icons.0\no-icon.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.9235a652\icons.0\no-icon.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T21:01:54.297Z] [21:01:46.678] TRACE: exec: Execute [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.9235a652\out-8156\IconTest\no-icon.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.9235a652\icons.0\no-icon.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T21:01:54.297Z] [21:01:47.034] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.297Z] [21:01:47.035] TRACE: assertEquals(0): Check command [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.9235a652\out-8156\IconTest\no-icon.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.9235a652\icons.0\no-icon.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T21:01:54.297Z] [21:01:47.035] TRACE: Check icon file [.\test.9235a652\icons.0\no-icon.exe\actual.bmp] of no-icon launcher is a copy of source icon file [.\test.9235a652\icons.0\no-icon.exe\expected.bmp] [2025-11-06T21:01:54.297Z] [21:01:47.037] TRACE: assertTrue(): Check [.\test.9235a652\out-8156\IconTest\no-icon.exe] path exists [2025-11-06T21:01:54.297Z] [21:01:47.037] TRACE: assertTrue(): Check [.\test.9235a652\out-8156\IconTest\no-icon.exe] is a file [2025-11-06T21:01:54.297Z] [21:01:47.037] TRACE: assertTrue(): Check [.\test.9235a652\out-8156\IconTest\no-icon.exe] file is executable [2025-11-06T21:01:54.297Z] [21:01:47.037] TRACE: Not running .\test.9235a652\out-8156\IconTest\no-icon.exe launcher because application runtime directory [.\test.9235a652\out-8156\IconTest\runtime] is incomplete [2025-11-06T21:01:54.297Z] [21:01:47.038] TRACE: exec: Execute [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.9235a652\icons\x.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.9235a652\icons\x.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T21:01:54.297Z] [21:01:47.518] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.297Z] [21:01:47.518] TRACE: assertEquals(0): Check command [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.9235a652\icons\x.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.9235a652\icons\x.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T21:01:54.297Z] [21:01:47.518] TRACE: exec: Execute [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.9235a652\output\IconTest\x.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.9235a652\icons\x.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T21:01:54.297Z] [21:01:47.876] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.297Z] [21:01:47.877] TRACE: assertEquals(0): Check command [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.9235a652\output\IconTest\x.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.9235a652\icons\x.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T21:01:54.297Z] [21:01:47.877] TRACE: Check icon file [.\test.9235a652\icons\x.exe\actual.bmp] of x launcher is a copy of source icon file [.\test.9235a652\icons\x.exe\expected.bmp] [2025-11-06T21:01:54.297Z] [21:01:47.879] TRACE: assertTrue(): Check [.\test.9235a652\output\IconTest\x.exe] path exists [2025-11-06T21:01:54.297Z] [21:01:47.879] TRACE: assertTrue(): Check [.\test.9235a652\output\IconTest\x.exe] is a file [2025-11-06T21:01:54.297Z] [21:01:47.879] TRACE: assertTrue(): Check [.\test.9235a652\output\IconTest\x.exe] file is executable [2025-11-06T21:01:54.297Z] [21:01:47.879] TRACE: Not running .\test.9235a652\output\IconTest\x.exe launcher because application runtime directory [.\test.9235a652\output\IconTest\runtime] is incomplete [2025-11-06T21:01:54.297Z] [21:01:47.879] TRACE: assertStringListEquals(): Check there is only one file with [.jpackage.xml] name in the package [2025-11-06T21:01:54.297Z] [21:01:47.879] TRACE: assertStringListEquals(1, .\test.9235a652\output\IconTest\app\.jpackage.xml) [2025-11-06T21:01:54.297Z] [21:01:47.879] TRACE: assertTrue(): Check [.\test.9235a652\output\IconTest\runtime] path exists [2025-11-06T21:01:54.297Z] [21:01:47.879] TRACE: assertTrue(): Check [.\test.9235a652\output\IconTest\runtime] is a directory [2025-11-06T21:01:54.297Z] [21:01:47.879] TRACE: assertTrue(): Check [.\test.9235a652\output\IconTest\IconTest.exe] path exists [2025-11-06T21:01:54.297Z] [21:01:47.879] TRACE: assertTrue(): Check [.\test.9235a652\output\IconTest\IconTest.exe] is a file [2025-11-06T21:01:54.297Z] [21:01:47.880] TRACE: assertTrue(): Check [.\test.9235a652\output\IconTest\IconTest.exe] file is executable [2025-11-06T21:01:54.297Z] [21:01:47.880] TRACE: assertTrue(): Check [.\test.9235a652\output\IconTest\app\IconTest.cfg] path exists [2025-11-06T21:01:54.297Z] [21:01:47.880] TRACE: assertTrue(): Check [.\test.9235a652\output\IconTest\app\IconTest.cfg] is a file [2025-11-06T21:01:54.297Z] [21:01:47.880] TRACE: assertTrue(): Check [.\test.9235a652\output\IconTest\IconTest.ico] path doesn't exist [2025-11-06T21:01:54.297Z] [21:01:47.882] TRACE: Set icon of [.\test.9235a652\icons\IconTest.exe\container.exe] launcher to [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon2.ico] file [2025-11-06T21:01:54.297Z] [21:01:48.009] TRACE: exec: Execute [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.9235a652\icons\IconTest.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.9235a652\icons\IconTest.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T21:01:54.297Z] [21:01:48.451] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.297Z] [21:01:48.451] TRACE: assertEquals(0): Check command [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.9235a652\icons\IconTest.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.9235a652\icons\IconTest.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T21:01:54.297Z] [21:01:48.451] TRACE: exec: Execute [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.9235a652\output\IconTest\IconTest.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.9235a652\icons\IconTest.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T21:01:54.297Z] [21:01:48.769] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.297Z] [21:01:48.769] TRACE: assertEquals(0): Check command [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.9235a652\output\IconTest\IconTest.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.9235a652\icons\IconTest.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T21:01:54.297Z] [21:01:48.769] TRACE: Check icon file [.\test.9235a652\icons\IconTest.exe\actual.bmp] of main launcher is a copy of source icon file [.\test.9235a652\icons\IconTest.exe\expected.bmp] [2025-11-06T21:01:54.297Z] [21:01:48.771] TRACE: assertNotNull([21:01:45.365] Using custom package resource [icon] (loaded from IconTest.ico).): Check output contains [Using custom package resource [icon] (loaded from IconTest.ico)] string [2025-11-06T21:01:54.297Z] [21:01:48.771] TRACE: Deleting [.\test.9235a652] directory recursively [2025-11-06T21:01:54.297Z] [21:01:48.778] [ OK ] IconTest(AppImage, ResourceDirIcon, NoIcon).test; checks=30 [2025-11-06T21:01:54.297Z] [21:01:48.778] [ RUN ] IconTest(AppImage, ResourceDirIcon, ResourceDirIcon).test [2025-11-06T21:01:54.297Z] [21:01:48.779] TRACE: Resource file: [.\test.8d7d304e\resources\IconTest.ico] <- [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon2.ico] [2025-11-06T21:01:54.297Z] [21:01:48.780] TRACE: Resource file: [.\test.8d7d304e\resources\x.ico] <- [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon4.ico] [2025-11-06T21:01:54.297Z] [21:01:48.781] TRACE: exec: Execute tool provider [javac -d .\test.8d7d304e\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4)... [2025-11-06T21:01:54.297Z] [21:01:48.858] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.297Z] [21:01:48.858] TRACE: assertEquals(0): Check command tool provider [javac -d .\test.8d7d304e\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4) exited with 0 code [2025-11-06T21:01:54.297Z] [21:01:48.859] TRACE: exec: Execute tool provider [jar -c -f .\test.8d7d304e\input\hello.jar -C .\test.8d7d304e\jar-workdir .](7)... [2025-11-06T21:01:54.297Z] [21:01:48.879] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.297Z] [21:01:48.879] TRACE: assertEquals(0): Check command tool provider [jar -c -f .\test.8d7d304e\input\hello.jar -C .\test.8d7d304e\jar-workdir .](7) exited with 0 code [2025-11-06T21:01:54.297Z] [21:01:48.880] TRACE: Create [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.8d7d304e\x.properties] properties file... [2025-11-06T21:01:54.297Z] [21:01:48.881] TRACE: Done [2025-11-06T21:01:54.297Z] [21:01:48.881] TRACE: Init fake runtime in [.\test.8d7d304e\fake_runtime] directory [2025-11-06T21:01:54.297Z] [21:01:48.883] TRACE: Files in [.\test.8d7d304e\resources] resource dir: [2025-11-06T21:01:54.297Z] [21:01:48.883] TRACE: [IconTest.ico] [2025-11-06T21:01:54.297Z] [21:01:48.883] TRACE: [x.ico] [2025-11-06T21:01:54.297Z] [21:01:48.883] TRACE: Done [2025-11-06T21:01:54.297Z] [21:01:48.883] TRACE: exec: Execute [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\test.8d7d304e\input --dest .\test.8d7d304e\output --name IconTest --type app-image --main-jar hello.jar --main-class Hello --win-console --resource-dir .\test.8d7d304e\resources --add-launcher x=.\test.8d7d304e\x.properties --runtime-image .\test.8d7d304e\fake_runtime --verbose](21); save output... [2025-11-06T21:01:54.297Z] [21:01:49.207] Creating app package: IconTest in C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\.\test.8d7d304e\output [2025-11-06T21:01:54.297Z] [21:01:49.230] Using custom package resource [icon] (loaded from IconTest.ico). [2025-11-06T21:01:54.297Z] [21:01:49.257] Warning: Windows Defender may prevent jpackage from functioning. If there is an issue, it can be addressed by either disabling realtime monitoring, or adding an exclusion for the directory "C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage4394276881521882871". [2025-11-06T21:01:54.297Z] [21:01:49.261] Using default package resource WinLauncher.template [Template for creating executable properties file] (add IconTest.properties to the resource-dir to customize). [2025-11-06T21:01:54.297Z] [21:01:49.334] Using custom package resource [icon] (loaded from x.ico). [2025-11-06T21:01:54.297Z] [21:01:49.350] Warning: Windows Defender may prevent jpackage from functioning. If there is an issue, it can be addressed by either disabling realtime monitoring, or adding an exclusion for the directory "C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage4394276881521882871". [2025-11-06T21:01:54.297Z] [21:01:49.355] Using default package resource WinLauncher.template [Template for creating executable properties file] (add x.properties to the resource-dir to customize). [2025-11-06T21:01:54.297Z] [21:01:49.362] Succeeded in building Windows Application Image package [2025-11-06T21:01:54.297Z] [21:01:49.377] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.298Z] [21:01:49.377] TRACE: assertEquals(0): Check command [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\test.8d7d304e\input --dest .\test.8d7d304e\output --name IconTest --type app-image --main-jar hello.jar --main-class Hello --win-console --resource-dir .\test.8d7d304e\resources --add-launcher x=.\test.8d7d304e\x.properties --runtime-image .\test.8d7d304e\fake_runtime --verbose](21) exited with 0 code [2025-11-06T21:01:54.298Z] [21:01:49.377] TRACE: assertTrue(): Check [.\test.8d7d304e\output\IconTest\x.ico] path doesn't exist [2025-11-06T21:01:54.298Z] [21:01:49.379] TRACE: exec: Execute tool provider [javac -d .\test.8d7d304e\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4)... [2025-11-06T21:01:54.298Z] [21:01:49.518] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.298Z] [21:01:49.518] TRACE: assertEquals(0): Check command tool provider [javac -d .\test.8d7d304e\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4) exited with 0 code [2025-11-06T21:01:54.298Z] [21:01:49.518] TRACE: Delete [.\test.8d7d304e\input\hello.jar] existing jar file [2025-11-06T21:01:54.298Z] [21:01:49.518] TRACE: exec: Execute tool provider [jar -c -f .\test.8d7d304e\input\hello.jar -C .\test.8d7d304e\jar-workdir .](7)... [2025-11-06T21:01:54.298Z] [21:01:49.538] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.298Z] [21:01:49.538] TRACE: assertEquals(0): Check command tool provider [jar -c -f .\test.8d7d304e\input\hello.jar -C .\test.8d7d304e\jar-workdir .](7) exited with 0 code [2025-11-06T21:01:54.298Z] [21:01:49.539] TRACE: Init fake runtime in [.\test.8d7d304e\fake_runtime] directory [2025-11-06T21:01:54.298Z] [21:01:49.540] TRACE: exec: Execute [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\test.8d7d304e\input --dest .\test.8d7d304e\out-8156 --name IconTest --type app-image --main-jar hello.jar --main-class Hello --win-console --runtime-image .\test.8d7d304e\fake_runtime --verbose](17); inherit I/O... [2025-11-06T21:01:54.298Z] [21:01:49.862] Creating app package: IconTest in C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\.\test.8d7d304e\out-8156 [2025-11-06T21:01:54.298Z] [21:01:49.886] Using default package resource JavaApp.ico [icon] (add IconTest.ico to the resource-dir to customize). [2025-11-06T21:01:54.298Z] [21:01:49.907] Warning: Windows Defender may prevent jpackage from functioning. If there is an issue, it can be addressed by either disabling realtime monitoring, or adding an exclusion for the directory "C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage2188244529670138782". [2025-11-06T21:01:54.298Z] [21:01:49.912] Using default package resource WinLauncher.template [Template for creating executable properties file] (add IconTest.properties to the resource-dir to customize). [2025-11-06T21:01:54.298Z] [21:01:49.954] Succeeded in building Windows Application Image package [2025-11-06T21:01:54.298Z] [21:01:49.968] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.298Z] [21:01:49.968] TRACE: assertEquals(0): Check command [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\test.8d7d304e\input --dest .\test.8d7d304e\out-8156 --name IconTest --type app-image --main-jar hello.jar --main-class Hello --win-console --runtime-image .\test.8d7d304e\fake_runtime --verbose](17) exited with 0 code [2025-11-06T21:01:54.298Z] [21:01:50.074] TRACE: Set icon of [.\test.8d7d304e\icons\x.exe\container.exe] launcher to [.\test.8d7d304e\resources\x.ico] file [2025-11-06T21:01:54.298Z] [21:01:50.199] TRACE: exec: Execute [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.8d7d304e\icons\x.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.8d7d304e\icons\x.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T21:01:54.298Z] [21:01:50.657] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.298Z] [21:01:50.657] TRACE: assertEquals(0): Check command [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.8d7d304e\icons\x.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.8d7d304e\icons\x.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T21:01:54.298Z] [21:01:50.658] TRACE: exec: Execute [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.8d7d304e\output\IconTest\x.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.8d7d304e\icons\x.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T21:01:54.298Z] [21:01:50.974] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.298Z] [21:01:50.974] TRACE: assertEquals(0): Check command [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.8d7d304e\output\IconTest\x.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.8d7d304e\icons\x.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T21:01:54.298Z] [21:01:50.974] TRACE: Check icon file [.\test.8d7d304e\icons\x.exe\actual.bmp] of x launcher is a copy of source icon file [.\test.8d7d304e\icons\x.exe\expected.bmp] [2025-11-06T21:01:54.298Z] [21:01:50.976] TRACE: assertTrue(): Check [.\test.8d7d304e\output\IconTest\x.exe] path exists [2025-11-06T21:01:54.298Z] [21:01:50.976] TRACE: assertTrue(): Check [.\test.8d7d304e\output\IconTest\x.exe] is a file [2025-11-06T21:01:54.298Z] [21:01:50.976] TRACE: assertTrue(): Check [.\test.8d7d304e\output\IconTest\x.exe] file is executable [2025-11-06T21:01:54.298Z] [21:01:50.976] TRACE: Not running .\test.8d7d304e\output\IconTest\x.exe launcher because application runtime directory [.\test.8d7d304e\output\IconTest\runtime] is incomplete [2025-11-06T21:01:54.298Z] [21:01:50.977] TRACE: assertStringListEquals(): Check there is only one file with [.jpackage.xml] name in the package [2025-11-06T21:01:54.298Z] [21:01:50.977] TRACE: assertStringListEquals(1, .\test.8d7d304e\output\IconTest\app\.jpackage.xml) [2025-11-06T21:01:54.298Z] [21:01:50.977] TRACE: assertTrue(): Check [.\test.8d7d304e\output\IconTest\runtime] path exists [2025-11-06T21:01:54.298Z] [21:01:50.977] TRACE: assertTrue(): Check [.\test.8d7d304e\output\IconTest\runtime] is a directory [2025-11-06T21:01:54.298Z] [21:01:50.977] TRACE: assertTrue(): Check [.\test.8d7d304e\output\IconTest\IconTest.exe] path exists [2025-11-06T21:01:54.298Z] [21:01:50.977] TRACE: assertTrue(): Check [.\test.8d7d304e\output\IconTest\IconTest.exe] is a file [2025-11-06T21:01:54.298Z] [21:01:50.977] TRACE: assertTrue(): Check [.\test.8d7d304e\output\IconTest\IconTest.exe] file is executable [2025-11-06T21:01:54.298Z] [21:01:50.978] TRACE: assertTrue(): Check [.\test.8d7d304e\output\IconTest\app\IconTest.cfg] path exists [2025-11-06T21:01:54.298Z] [21:01:50.978] TRACE: assertTrue(): Check [.\test.8d7d304e\output\IconTest\app\IconTest.cfg] is a file [2025-11-06T21:01:54.298Z] [21:01:50.978] TRACE: assertTrue(): Check [.\test.8d7d304e\output\IconTest\IconTest.ico] path doesn't exist [2025-11-06T21:01:54.298Z] [21:01:50.979] TRACE: Set icon of [.\test.8d7d304e\icons\IconTest.exe\container.exe] launcher to [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon2.ico] file [2025-11-06T21:01:54.298Z] [21:01:51.109] TRACE: exec: Execute [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.8d7d304e\icons\IconTest.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.8d7d304e\icons\IconTest.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T21:01:54.298Z] [21:01:51.558] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.298Z] [21:01:51.558] TRACE: assertEquals(0): Check command [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.8d7d304e\icons\IconTest.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.8d7d304e\icons\IconTest.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T21:01:54.298Z] [21:01:51.558] TRACE: exec: Execute [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.8d7d304e\output\IconTest\IconTest.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.8d7d304e\icons\IconTest.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T21:01:54.298Z] [21:01:51.883] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:01:54.298Z] [21:01:51.883] TRACE: assertEquals(0): Check command [powershell -NoLogo -NoProfile -Command "[System.Reflection.Assembly]::LoadWithPartialName('System.Drawing');[System.Drawing.Icon]::ExtractAssociatedIcon('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.8d7d304e\output\IconTest\IconTest.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0\test.8d7d304e\icons\IconTest.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T21:01:54.298Z] [21:01:51.883] TRACE: Check icon file [.\test.8d7d304e\icons\IconTest.exe\actual.bmp] of main launcher is a copy of source icon file [.\test.8d7d304e\icons\IconTest.exe\expected.bmp] [2025-11-06T21:01:54.298Z] [21:01:51.885] TRACE: assertNotNull([21:01:49.230] Using custom package resource [icon] (loaded from IconTest.ico).): Check output contains [Using custom package resource [icon] (loaded from IconTest.ico)] string [2025-11-06T21:01:54.298Z] [21:01:51.885] TRACE: assertNotNull([21:01:49.334] Using custom package resource [icon] (loaded from x.ico).): Check output contains [Using custom package resource [icon] (loaded from x.ico)] string [2025-11-06T21:01:54.298Z] [21:01:51.885] TRACE: Deleting [.\test.8d7d304e] directory recursively [2025-11-06T21:01:54.298Z] [21:01:51.892] [ OK ] IconTest(AppImage, ResourceDirIcon, ResourceDirIcon).test; checks=25 [2025-11-06T21:01:54.298Z] [21:01:51.893] [==========] 20 tests ran [2025-11-06T21:01:54.298Z] [21:01:51.893] [ PASSED ] 19 tests [2025-11-06T21:01:54.298Z] [21:01:51.894] [ FAILED ] 1 test, listed below [2025-11-06T21:01:54.298Z] [21:01:51.894] [ FAILED ] IconTest(AppImage, CustomIcon, NoIcon).test; workDir=[.\test.3b95dd9a] [2025-11-06T21:01:54.298Z] [21:01:51.894] 1 FAILED TEST [2025-11-06T21:01:54.298Z] STDERR: [2025-11-06T21:01:54.298Z] java.lang.AssertionError: Failed: Check the number of mismatched pixels [154] of [1024] is < [0.100000] threshold [2025-11-06T21:01:54.298Z] at jdk.jpackage.test.TKit.error(TKit.java:269) [2025-11-06T21:01:54.298Z] at jdk.jpackage.test.TKit.assertTrue(TKit.java:665) [2025-11-06T21:01:54.298Z] at jdk.jpackage.test.TKit.assertTrue(TKit.java:652) [2025-11-06T21:01:54.298Z] at jdk.jpackage.test.LauncherIconVerifier$WinIconVerifier.lambda$verifyLauncherIcon$1(LauncherIconVerifier.java:150) [2025-11-06T21:01:54.298Z] at jdk.jpackage.test.Functional$ThrowingConsumer.lambda$toConsumer$0(Functional.java:41) [2025-11-06T21:01:54.298Z] at jdk.jpackage.test.TKit.withTempDirectory(TKit.java:353) [2025-11-06T21:01:54.298Z] at jdk.jpackage.test.LauncherIconVerifier$WinIconVerifier.verifyLauncherIcon(LauncherIconVerifier.java:89) [2025-11-06T21:01:54.298Z] at jdk.jpackage.test.LauncherIconVerifier.applyTo(LauncherIconVerifier.java:70) [2025-11-06T21:01:54.298Z] at jdk.jpackage.test.AdditionalLauncher.verifyIcon(AdditionalLauncher.java:251) [2025-11-06T21:01:54.298Z] at jdk.jpackage.test.AdditionalLauncher.verify(AdditionalLauncher.java:255) [2025-11-06T21:01:54.298Z] at jdk.jpackage.test.Functional$ThrowingConsumer.lambda$toConsumer$0(Functional.java:41) [2025-11-06T21:01:54.298Z] at jdk.jpackage.test.JPackageCommand$Actions$1.accept(JPackageCommand.java:966) [2025-11-06T21:01:54.298Z] at jdk.jpackage.test.JPackageCommand$Actions$1.accept(JPackageCommand.java:961) [2025-11-06T21:01:54.298Z] at jdk.jpackage.test.JPackageCommand$Actions.lambda$run$0(JPackageCommand.java:976) [2025-11-06T21:01:54.298Z] at java.base/java.util.ArrayList.forEach(ArrayList.java:1511) [2025-11-06T21:01:54.298Z] at jdk.jpackage.test.JPackageCommand$Actions.run(JPackageCommand.java:976) [2025-11-06T21:01:54.298Z] at jdk.jpackage.test.JPackageCommand.executeVerifyActions(JPackageCommand.java:677) [2025-11-06T21:01:54.298Z] at jdk.jpackage.test.JPackageCommand.execute(JPackageCommand.java:737) [2025-11-06T21:01:54.298Z] at jdk.jpackage.test.JPackageCommand.execute(JPackageCommand.java:699) [2025-11-06T21:01:54.298Z] at jdk.jpackage.test.LauncherIconVerifier$WinIconVerifier.getDefaultAppLauncher(LauncherIconVerifier.java:215) [2025-11-06T21:01:54.298Z] at jdk.jpackage.test.LauncherIconVerifier$WinIconVerifier.lambda$verifyLauncherIcon$1(LauncherIconVerifier.java:94) [2025-11-06T21:01:54.298Z] at jdk.jpackage.test.Functional$ThrowingConsumer.lambda$toConsumer$0(Functional.java:41) [2025-11-06T21:01:54.298Z] at jdk.jpackage.test.TKit.withTempDirectory(TKit.java:353) [2025-11-06T21:01:54.298Z] at jdk.jpackage.test.LauncherIconVerifier$WinIconVerifier.verifyLauncherIcon(LauncherIconVerifier.java:89) [2025-11-06T21:01:54.298Z] at jdk.jpackage.test.LauncherIconVerifier.applyTo(LauncherIconVerifier.java:70) [2025-11-06T21:01:54.298Z] at jdk.jpackage.test.AdditionalLauncher.verifyIcon(AdditionalLauncher.java:251) [2025-11-06T21:01:54.298Z] at jdk.jpackage.test.AdditionalLauncher.verify(AdditionalLauncher.java:255) [2025-11-06T21:01:54.298Z] at jdk.jpackage.test.Functional$ThrowingConsumer.lambda$toConsumer$0(Functional.java:41) [2025-11-06T21:01:54.298Z] at jdk.jpackage.test.JPackageCommand$Actions$1.accept(JPackageCommand.java:966) [2025-11-06T21:01:54.298Z] at jdk.jpackage.test.JPackageCommand$Actions$1.accept(JPackageCommand.java:961) [2025-11-06T21:01:54.298Z] at jdk.jpackage.test.JPackageCommand$Actions.lambda$run$0(JPackageCommand.java:976) [2025-11-06T21:01:54.298Z] at java.base/java.util.ArrayList.forEach(ArrayList.java:1511) [2025-11-06T21:01:54.298Z] at jdk.jpackage.test.JPackageCommand$Actions.run(JPackageCommand.java:976) [2025-11-06T21:01:54.298Z] at jdk.jpackage.test.JPackageCommand.executeVerifyActions(JPackageCommand.java:677) [2025-11-06T21:01:54.298Z] at jdk.jpackage.test.JPackageCommand.execute(JPackageCommand.java:737) [2025-11-06T21:01:54.298Z] at jdk.jpackage.test.JPackageCommand.execute(JPackageCommand.java:699) [2025-11-06T21:01:54.298Z] at jdk.jpackage.test.JPackageCommand.executeAndAssertImageCreated(JPackageCommand.java:750) [2025-11-06T21:01:54.298Z] at IconTest.test(IconTest.java:164) [2025-11-06T21:01:54.298Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [2025-11-06T21:01:54.298Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) [2025-11-06T21:01:54.298Z] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [2025-11-06T21:01:54.298Z] at java.base/java.lang.reflect.Method.invoke(Method.java:569) [2025-11-06T21:01:54.298Z] at jdk.jpackage.test.MethodCall.accept(MethodCall.java:145) [2025-11-06T21:01:54.298Z] at jdk.jpackage.test.TestInstance.run(TestInstance.java:230) [2025-11-06T21:01:54.298Z] at jdk.jpackage.test.TKit.lambda$ignoreExceptions$5(TKit.java:148) [2025-11-06T21:01:54.298Z] at jdk.jpackage.test.TKit.lambda$runTests$3(TKit.java:133) [2025-11-06T21:01:54.298Z] at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1625) [2025-11-06T21:01:54.298Z] at java.base/java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:762) [2025-11-06T21:01:54.298Z] at jdk.jpackage.test.TKit.lambda$runTests$4(TKit.java:130) [2025-11-06T21:01:54.298Z] at jdk.jpackage.test.Functional$ThrowingRunnable.lambda$toRunnable$0(Functional.java:105) [2025-11-06T21:01:54.298Z] at jdk.jpackage.test.TKit.withExtraLogStream(TKit.java:117) [2025-11-06T21:01:54.298Z] at jdk.jpackage.test.TKit.withExtraLogStream(TKit.java:108) [2025-11-06T21:01:54.298Z] at jdk.jpackage.test.TKit.runTests(TKit.java:129) [2025-11-06T21:01:54.298Z] at jdk.jpackage.test.Main.runTests(Main.java:79) [2025-11-06T21:01:54.298Z] at jdk.jpackage.test.Main.lambda$main$2(Main.java:75) [2025-11-06T21:01:54.298Z] at jdk.jpackage.test.Functional$ThrowingRunnable.lambda$toRunnable$0(Functional.java:105) [2025-11-06T21:01:54.298Z] at jdk.jpackage.test.TKit.withExtraLogStream(TKit.java:117) [2025-11-06T21:01:54.298Z] at jdk.jpackage.test.TKit.withExtraLogStream(TKit.java:108) [2025-11-06T21:01:54.298Z] at jdk.jpackage.test.Main.main(Main.java:75) [2025-11-06T21:01:54.298Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [2025-11-06T21:01:54.298Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) [2025-11-06T21:01:54.298Z] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [2025-11-06T21:01:54.298Z] at java.base/java.lang.reflect.Method.invoke(Method.java:569) [2025-11-06T21:01:54.298Z] at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138) [2025-11-06T21:01:54.298Z] at java.base/java.lang.Thread.run(Thread.java:840) [2025-11-06T21:01:54.298Z] java.lang.RuntimeException: 1 FAILED TEST [2025-11-06T21:01:54.298Z] at jdk.jpackage.test.Main.reportSummary(Main.java:130) [2025-11-06T21:01:54.298Z] at jdk.jpackage.test.Main.runTests(Main.java:90) [2025-11-06T21:01:54.298Z] at jdk.jpackage.test.Main.lambda$main$2(Main.java:75) [2025-11-06T21:01:54.298Z] at jdk.jpackage.test.Functional$ThrowingRunnable.lambda$toRunnable$0(Functional.java:105) [2025-11-06T21:01:54.298Z] at jdk.jpackage.test.TKit.withExtraLogStream(TKit.java:117) [2025-11-06T21:01:54.298Z] at jdk.jpackage.test.TKit.withExtraLogStream(TKit.java:108) [2025-11-06T21:01:54.298Z] at jdk.jpackage.test.Main.main(Main.java:75) [2025-11-06T21:01:54.298Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [2025-11-06T21:01:54.298Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) [2025-11-06T21:01:54.298Z] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [2025-11-06T21:01:54.298Z] at java.base/java.lang.reflect.Method.invoke(Method.java:569) [2025-11-06T21:01:54.298Z] at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138) [2025-11-06T21:01:54.298Z] at java.base/java.lang.Thread.run(Thread.java:840) [2025-11-06T21:01:54.298Z] [2025-11-06T21:01:54.298Z] JavaTest Message: Test threw exception: java.lang.RuntimeException: 1 FAILED TEST [2025-11-06T21:01:54.298Z] JavaTest Message: shutting down test [2025-11-06T21:01:54.298Z] [2025-11-06T21:01:54.298Z] STATUS:Failed.`main' threw exception: java.lang.RuntimeException: 1 FAILED TEST [2025-11-06T21:01:54.298Z] rerun: [2025-11-06T21:01:54.298Z] cd 'C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\0' && \ [2025-11-06T21:01:54.298Z] PATH='C:\Program Files\Eclipse Adoptium\jdk-21.0.8.9-hotspot\bin;C:\cygwin64\bin;C:\Windows;C:\windows\system32;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\Microsoft SQL Server\120\Tools\Binn;C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.0;C:\Program Files (x86)\IncrediBuild;C:\rust\bin;C:\Program Files\IcedTeaWEB\bin;C:\Users\adoptopenjdk\AppData\Local\Microsoft\WindowsApps;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit;C:\Users\jenkins.test-azure-win2\AppData\Local\Microsoft\WindowsApps' \ [2025-11-06T21:01:54.298Z] SystemDrive=C: \ [2025-11-06T21:01:54.298Z] SystemRoot='C:\Windows' \ [2025-11-06T21:01:54.298Z] TEMP='C:\Users\JENKIN~1.TES\AppData\Local\Temp' \ [2025-11-06T21:01:54.298Z] TMP='C:\Users\JENKIN~1.TES\AppData\Local\Temp' \ [2025-11-06T21:01:54.298Z] windir='C:\Windows' \ [2025-11-06T21:01:54.298Z] CLASSPATH='C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\classes\1\tools\jpackage\share\IconTest.d;C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\share;C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\classes\1\test\jdk\tools\jpackage\helpers;C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\helpers;C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jvmtest\openjdk\jtreg\lib\javatest.jar;C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jvmtest\openjdk\jtreg\lib\jtreg.jar' \ [2025-11-06T21:01:54.298Z] 'c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image\bin\java' \ [2025-11-06T21:01:54.298Z] -Dtest.vm.opts='-ea -esa -Xmx512m' \ [2025-11-06T21:01:54.298Z] -Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m' \ [2025-11-06T21:01:54.298Z] -Dtest.compiler.opts= \ [2025-11-06T21:01:54.298Z] -Dtest.java.opts= \ [2025-11-06T21:01:54.298Z] -Dtest.jdk='c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image' \ [2025-11-06T21:01:54.298Z] -Dcompile.jdk='c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image' \ [2025-11-06T21:01:54.298Z] -Dtest.timeout.factor=8.0 \ [2025-11-06T21:01:54.298Z] -Dtest.nativepath='c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\openjdk-test-image\jdk\jtreg\native' \ [2025-11-06T21:01:54.298Z] -Dtest.root='C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk' \ [2025-11-06T21:01:54.298Z] -Dtest.name=tools/jpackage/share/IconTest.java \ [2025-11-06T21:01:54.298Z] -Dtest.file='C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\share\IconTest.java' \ [2025-11-06T21:01:54.298Z] -Dtest.src='C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\share' \ [2025-11-06T21:01:54.298Z] -Dtest.src.path='C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\share;C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\helpers' \ [2025-11-06T21:01:54.298Z] -Dtest.classes='C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\classes\1\tools\jpackage\share\IconTest.d' \ [2025-11-06T21:01:54.298Z] -Dtest.class.path='C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\classes\1\tools\jpackage\share\IconTest.d;C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\classes\1\test\jdk\tools\jpackage\helpers' \ [2025-11-06T21:01:54.298Z] -Dtest.class.path.prefix='C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\classes\1\tools\jpackage\share\IconTest.d;C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\share;C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\classes\1\test\jdk\tools\jpackage\helpers' \ [2025-11-06T21:01:54.298Z] -Dtest.modules='jdk.jpackage/jdk.jpackage.internal:+open java.base/jdk.internal.util' \ [2025-11-06T21:01:54.298Z] --add-modules jdk.jpackage,java.base \ [2025-11-06T21:01:54.299Z] --add-exports jdk.jpackage/jdk.jpackage.internal=ALL-UNNAMED \ [2025-11-06T21:01:54.299Z] --add-opens jdk.jpackage/jdk.jpackage.internal=ALL-UNNAMED \ [2025-11-06T21:01:54.299Z] --add-exports java.base/jdk.internal.util=ALL-UNNAMED \ [2025-11-06T21:01:54.299Z] -ea \ [2025-11-06T21:01:54.299Z] -esa \ [2025-11-06T21:01:54.299Z] -Xmx512m \ [2025-11-06T21:01:54.299Z] '-Djava.library.path=c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\openjdk-test-image\jdk\jtreg\native' \ [2025-11-06T21:01:54.299Z] -Xmx512m \ [2025-11-06T21:01:54.299Z] com.sun.javatest.regtest.agent.MainWrapper 'C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\tools\jpackage\share\IconTest.d\main.0.jta' --jpt-run=IconTest [2025-11-06T21:01:54.299Z] [2025-11-06T21:01:54.299Z] TEST RESULT: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: 1 FAILED TEST [2025-11-06T21:01:54.299Z] -------------------------------------------------- [2025-11-06T21:10:34.369Z] TEST: tools/jpackage/share/VendorTest.java#id1 [2025-11-06T21:10:34.369Z] TEST JDK: c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image [2025-11-06T21:10:34.369Z] [2025-11-06T21:10:34.369Z] ACTION: build -- Passed. All files up to date [2025-11-06T21:10:34.369Z] REASON: User specified action: run build jdk.jpackage.test.* [2025-11-06T21:10:34.369Z] TIME: 0.009 seconds [2025-11-06T21:10:34.369Z] messages: [2025-11-06T21:10:34.369Z] command: build jdk.jpackage.test.* [2025-11-06T21:10:34.369Z] reason: User specified action: run build jdk.jpackage.test.* [2025-11-06T21:10:34.369Z] started: Thu Nov 06 21:08:37 UTC 2025 [2025-11-06T21:10:34.369Z] finished: Thu Nov 06 21:08:38 UTC 2025 [2025-11-06T21:10:34.369Z] elapsed time (seconds): 0.009 [2025-11-06T21:10:34.369Z] [2025-11-06T21:10:34.369Z] ACTION: compile -- Passed. Compilation successful [2025-11-06T21:10:34.369Z] REASON: User specified action: run compile VendorTest.java [2025-11-06T21:10:34.369Z] TIME: 0.11 seconds [2025-11-06T21:10:34.369Z] messages: [2025-11-06T21:10:34.369Z] command: compile C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\share\VendorTest.java [2025-11-06T21:10:34.369Z] reason: User specified action: run compile VendorTest.java [2025-11-06T21:10:34.369Z] started: Thu Nov 06 21:08:38 UTC 2025 [2025-11-06T21:10:34.369Z] Additional options from @modules: --add-modules jdk.jpackage,java.base --add-exports jdk.jpackage/jdk.jpackage.internal=ALL-UNNAMED --add-exports java.base/jdk.internal.util=ALL-UNNAMED [2025-11-06T21:10:34.369Z] Mode: agentvm [2025-11-06T21:10:34.369Z] Agent id: 2 [2025-11-06T21:10:34.369Z] finished: Thu Nov 06 21:08:38 UTC 2025 [2025-11-06T21:10:34.369Z] elapsed time (seconds): 0.11 [2025-11-06T21:10:34.369Z] configuration: [2025-11-06T21:10:34.369Z] Boot Layer (javac runtime environment) [2025-11-06T21:10:34.369Z] class path: C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jvmtest\openjdk\jtreg\lib\javatest.jar [2025-11-06T21:10:34.369Z] C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jvmtest\openjdk\jtreg\lib\jtreg.jar [2025-11-06T21:10:34.369Z] patch: java.base C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\patches\java.base [2025-11-06T21:10:34.369Z] [2025-11-06T21:10:34.369Z] javac compilation environment [2025-11-06T21:10:34.369Z] add modules: jdk.jpackage java.base [2025-11-06T21:10:34.369Z] add exports: java.base/jdk.internal.util ALL-UNNAMED [2025-11-06T21:10:34.369Z] jdk.jpackage/jdk.jpackage.internal ALL-UNNAMED [2025-11-06T21:10:34.369Z] source path: C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\share [2025-11-06T21:10:34.369Z] C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\helpers [2025-11-06T21:10:34.369Z] class path: C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\share [2025-11-06T21:10:34.369Z] C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\classes\2\tools\jpackage\share\VendorTest_id1.d [2025-11-06T21:10:34.369Z] C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\classes\2\test\jdk\tools\jpackage\helpers [2025-11-06T21:10:34.369Z] [2025-11-06T21:10:34.369Z] rerun: [2025-11-06T21:10:34.369Z] cd 'C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2' && \ [2025-11-06T21:10:34.369Z] PATH='C:\Program Files\Eclipse Adoptium\jdk-21.0.8.9-hotspot\bin;C:\cygwin64\bin;C:\Windows;C:\windows\system32;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\Microsoft SQL Server\120\Tools\Binn;C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.0;C:\Program Files (x86)\IncrediBuild;C:\rust\bin;C:\Program Files\IcedTeaWEB\bin;C:\Users\adoptopenjdk\AppData\Local\Microsoft\WindowsApps;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit;C:\Users\jenkins.test-azure-win2\AppData\Local\Microsoft\WindowsApps' \ [2025-11-06T21:10:34.369Z] SystemDrive=C: \ [2025-11-06T21:10:34.369Z] SystemRoot='C:\Windows' \ [2025-11-06T21:10:34.369Z] TEMP='C:\Users\JENKIN~1.TES\AppData\Local\Temp' \ [2025-11-06T21:10:34.369Z] TMP='C:\Users\JENKIN~1.TES\AppData\Local\Temp' \ [2025-11-06T21:10:34.369Z] windir='C:\Windows' \ [2025-11-06T21:10:34.369Z] 'c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image\bin\javac' \ [2025-11-06T21:10:34.369Z] -J-ea \ [2025-11-06T21:10:34.369Z] -J-esa \ [2025-11-06T21:10:34.369Z] -J-Xmx512m \ [2025-11-06T21:10:34.369Z] -J-Dtest.vm.opts='-ea -esa -Xmx512m' \ [2025-11-06T21:10:34.369Z] -J-Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m' \ [2025-11-06T21:10:34.369Z] -J-Dtest.compiler.opts= \ [2025-11-06T21:10:34.369Z] -J-Dtest.java.opts= \ [2025-11-06T21:10:34.369Z] -J-Dtest.jdk='c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image' \ [2025-11-06T21:10:34.370Z] -J-Dcompile.jdk='c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image' \ [2025-11-06T21:10:34.370Z] -J-Dtest.timeout.factor=8.0 \ [2025-11-06T21:10:34.370Z] -J-Dtest.nativepath='c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\openjdk-test-image\jdk\jtreg\native' \ [2025-11-06T21:10:34.370Z] -J-Dtest.root='C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk' \ [2025-11-06T21:10:34.370Z] -J-Dtest.name=tools/jpackage/share/VendorTest.java#id1 \ [2025-11-06T21:10:34.370Z] -J-Dtest.file='C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\share\VendorTest.java' \ [2025-11-06T21:10:34.370Z] -J-Dtest.src='C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\share' \ [2025-11-06T21:10:34.370Z] -J-Dtest.src.path='C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\share;C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\helpers' \ [2025-11-06T21:10:34.370Z] -J-Dtest.classes='C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\classes\2\tools\jpackage\share\VendorTest_id1.d' \ [2025-11-06T21:10:34.370Z] -J-Dtest.class.path='C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\classes\2\tools\jpackage\share\VendorTest_id1.d;C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\classes\2\test\jdk\tools\jpackage\helpers' \ [2025-11-06T21:10:34.370Z] -J-Dtest.class.path.prefix='C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\classes\2\tools\jpackage\share\VendorTest_id1.d;C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\share;C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\classes\2\test\jdk\tools\jpackage\helpers' \ [2025-11-06T21:10:34.370Z] -J-Dtest.modules='jdk.jpackage/jdk.jpackage.internal:+open java.base/jdk.internal.util' \ [2025-11-06T21:10:34.370Z] --add-modules jdk.jpackage,java.base \ [2025-11-06T21:10:34.370Z] --add-exports jdk.jpackage/jdk.jpackage.internal=ALL-UNNAMED \ [2025-11-06T21:10:34.370Z] --add-exports java.base/jdk.internal.util=ALL-UNNAMED \ [2025-11-06T21:10:34.370Z] -d 'C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\classes\2\tools\jpackage\share\VendorTest_id1.d' \ [2025-11-06T21:10:34.370Z] -sourcepath 'C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\share;C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\helpers' \ [2025-11-06T21:10:34.370Z] -classpath 'C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\share;C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\classes\2\tools\jpackage\share\VendorTest_id1.d;C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\classes\2\test\jdk\tools\jpackage\helpers' 'C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\share\VendorTest.java' [2025-11-06T21:10:34.370Z] [2025-11-06T21:10:34.370Z] ACTION: build -- Passed. All files up to date [2025-11-06T21:10:34.370Z] REASON: Named class compiled on demand [2025-11-06T21:10:34.370Z] TIME: 0.001 seconds [2025-11-06T21:10:34.370Z] messages: [2025-11-06T21:10:34.370Z] command: build jdk.jpackage.test.Main [2025-11-06T21:10:34.370Z] reason: Named class compiled on demand [2025-11-06T21:10:34.370Z] started: Thu Nov 06 21:08:38 UTC 2025 [2025-11-06T21:10:34.370Z] finished: Thu Nov 06 21:08:38 UTC 2025 [2025-11-06T21:10:34.370Z] elapsed time (seconds): 0.001 [2025-11-06T21:10:34.370Z] [2025-11-06T21:10:34.370Z] ACTION: main -- Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: 1 FAILED TEST [2025-11-06T21:10:34.370Z] REASON: User specified action: run main/othervm/timeout=360 -Xmx512m jdk.jpackage.test.Main --jpt-run=VendorTest [2025-11-06T21:10:34.370Z] TIME: 27.754 seconds [2025-11-06T21:10:34.370Z] messages: [2025-11-06T21:10:34.370Z] command: main -Xmx512m jdk.jpackage.test.Main --jpt-run=VendorTest [2025-11-06T21:10:34.370Z] reason: User specified action: run main/othervm/timeout=360 -Xmx512m jdk.jpackage.test.Main --jpt-run=VendorTest [2025-11-06T21:10:34.370Z] started: Thu Nov 06 21:09:59 UTC 2025 [2025-11-06T21:10:34.370Z] Mode: othervm [/othervm specified] [2025-11-06T21:10:34.370Z] Additional options from @modules: --add-modules jdk.jpackage,java.base --add-exports jdk.jpackage/jdk.jpackage.internal=ALL-UNNAMED --add-opens jdk.jpackage/jdk.jpackage.internal=ALL-UNNAMED --add-exports java.base/jdk.internal.util=ALL-UNNAMED [2025-11-06T21:10:34.370Z] finished: Thu Nov 06 21:10:27 UTC 2025 [2025-11-06T21:10:34.370Z] elapsed time (seconds): 27.754 [2025-11-06T21:10:34.370Z] configuration: [2025-11-06T21:10:34.370Z] Boot Layer [2025-11-06T21:10:34.370Z] add modules: jdk.jpackage java.base [2025-11-06T21:10:34.370Z] add exports: java.base/jdk.internal.util ALL-UNNAMED [2025-11-06T21:10:34.370Z] jdk.jpackage/jdk.jpackage.internal ALL-UNNAMED [2025-11-06T21:10:34.370Z] add opens: jdk.jpackage/jdk.jpackage.internal ALL-UNNAMED [2025-11-06T21:10:34.370Z] [2025-11-06T21:10:34.370Z] STDOUT: [2025-11-06T21:10:34.370Z] [21:09:59.723] Parsing [--jpt-run=VendorTest]... [2025-11-06T21:10:34.370Z] [21:09:59.758] VendorTest.test -> [public static void VendorTest.test()] [2025-11-06T21:10:34.370Z] [21:09:59.776] Create: VendorTest.test [2025-11-06T21:10:34.370Z] [21:09:59.777] [ RUN ] VendorTest.test [2025-11-06T21:10:34.370Z] [21:10:00.052] TRACE: Bundler msi supported [2025-11-06T21:10:34.370Z] [21:10:00.246] TRACE: Bundler exe supported [2025-11-06T21:10:34.370Z] [21:10:00.264] TRACE: Actions: [[initialize], [create], [unpack], [verify-install], [finalize]] [2025-11-06T21:10:34.370Z] [21:10:00.292] TRACE: exec: Execute tool provider [javac -d .\test\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4)... [2025-11-06T21:10:34.370Z] [21:10:00.891] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:10:34.370Z] [21:10:00.895] TRACE: assertEquals(0): Check command tool provider [javac -d .\test\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4) exited with 0 code [2025-11-06T21:10:34.370Z] [21:10:00.897] TRACE: exec: Execute tool provider [jar -c -f .\test\input\hello.jar -C .\test\jar-workdir .](7)... [2025-11-06T21:10:34.370Z] [21:10:01.000] TRACE: exec: Done. Exit code: 0 [2025-11-06T21:10:34.370Z] [21:10:01.000] TRACE: assertEquals(0): Check command tool provider [jar -c -f .\test\input\hello.jar -C .\test\jar-workdir .](7) exited with 0 code [2025-11-06T21:10:34.370Z] [21:10:01.007] TRACE: exec: Execute [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\test\input --dest .\test\output --name VendorTest --type exe --main-jar hello.jar --main-class Hello --win-console --vendor "Test Vendor" --verbose](17); inherit I/O... [2025-11-06T21:10:34.370Z] [21:10:01.331] Running candle.exe [2025-11-06T21:10:34.370Z] [21:10:01.341] Running C:\Program Files (x86)\WiX Toolset v3.14\bin\candle.exe [2025-11-06T21:10:34.370Z] [21:10:01.427] Running light.exe [2025-11-06T21:10:34.370Z] [21:10:01.431] Running C:\Program Files (x86)\WiX Toolset v3.14\bin\light.exe [2025-11-06T21:10:34.370Z] [21:10:01.555] Detected [candle.exe] version [3.14.0.3910]. [2025-11-06T21:10:34.370Z] [21:10:01.555] Detected [light.exe] version [3.14.0.3910]. [2025-11-06T21:10:34.370Z] [21:10:01.556] WiX 3.14.0.3910 detected. Enabling advanced cleanup action. [2025-11-06T21:10:34.370Z] [21:10:11.148] Command [PID: -1]: [2025-11-06T21:10:34.370Z] jlink --output C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage5152434731314617673\images\win-msi.image\VendorTest\runtime --module-path c:\\jenkins\\workspace\\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\\jdkbinary\\j2sdk-image\\jmods --add-modules java.rmi,jdk.management.jfr,jdk.jdi,jdk.charsets,jdk.xml.dom,java.xml,java.datatransfer,jdk.jstatd,jdk.httpserver,java.desktop,java.security.sasl,jdk.zipfs,java.base,jdk.crypto.ec,jdk.javadoc,jdk.management.agent,jdk.jshell,jdk.editpad,jdk.jsobject,jdk.sctp,java.sql.rowset,java.smartcardio,jdk.jlink,jdk.unsupported,java.security.jgss,jdk.nio.mapmode,java.compiler,jdk.dynalink,jdk.unsupported.desktop,jdk.accessibility,jdk.security.jgss,jdk.incubator.vector,java.sql,java.transaction.xa,java.logging,java.xml.crypto,jdk.jfr,jdk.crypto.cryptoki,jdk.net,jdk.random,java.naming,jdk.internal.ed,java.prefs,java.net.http,jdk.compiler,jdk.internal.opt,jdk.naming.rmi,jdk.jconsole,jdk.attach,jdk.crypto.mscapi,jdk.internal.le,java.management,jdk.jdwp.agent,jdk.incubator.foreign,jdk.internal.jvmstat,java.instrument,jdk.management,jdk.security.auth,java.scripting,jdk.jdeps,jdk.jartool,jdk.jpackage,java.management.rmi,jdk.naming.dns,jdk.localedata --strip-native-commands --strip-debug --no-man-pages --no-header-files [2025-11-06T21:10:34.370Z] [21:10:11.148] Output: [2025-11-06T21:10:34.370Z] WARNING: Using incubator modules: jdk.incubator.vector, jdk.incubator.foreign [2025-11-06T21:10:34.370Z] [2025-11-06T21:10:34.370Z] [21:10:11.151] Returned: 0 [2025-11-06T21:10:34.370Z] [2025-11-06T21:10:34.370Z] [21:10:11.157] Using default package resource JavaApp.ico [icon] (add VendorTest.ico to the resource-dir to customize). [2025-11-06T21:10:34.370Z] [21:10:11.168] Warning: Windows Defender may prevent jpackage from functioning. If there is an issue, it can be addressed by either disabling realtime monitoring, or adding an exclusion for the directory "C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage5152434731314617673". [2025-11-06T21:10:34.370Z] [21:10:11.174] Using default package resource WinLauncher.template [Template for creating executable properties file] (add VendorTest.properties to the resource-dir to customize). [2025-11-06T21:10:34.370Z] [21:10:11.803] MSI ProductCode: 9fb7c0a9-115d-3efa-99c3-d943422fabe6. [2025-11-06T21:10:34.370Z] [21:10:11.803] MSI UpgradeCode: 363bdc23-47c4-3dd5-8108-bc66c1273345. [2025-11-06T21:10:34.370Z] [21:10:11.850] Using default package resource main.wxs [Main WiX project file] (add main.wxs to the resource-dir to customize). [2025-11-06T21:10:34.370Z] [21:10:11.851] Using default package resource overrides.wxi [Overrides WiX project file] (add overrides.wxi to the resource-dir to customize). [2025-11-06T21:10:34.370Z] [21:10:11.853] Preparing MSI config: C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage5152434731314617673\images\win-exe.image\VendorTest-1.0.msi. [2025-11-06T21:10:34.370Z] [21:10:11.855] Generating MSI: C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage5152434731314617673\images\win-exe.image\VendorTest-1.0.msi. [2025-11-06T21:10:34.370Z] [21:10:11.885] Running C:\Program Files (x86)\WiX Toolset v3.14\bin\candle.exe in C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage5152434731314617673\images\win-msi.image\VendorTest [2025-11-06T21:10:34.370Z] [21:10:12.154] Command [PID: 15912]: [2025-11-06T21:10:34.370Z] C:\Program Files (x86)\WiX Toolset v3.14\bin\candle.exe -nologo C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage5152434731314617673\config\main.wxs -ext WixUtilExtension -arch x86 -out C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage5152434731314617673\wixobj\main.wixobj -dJpAppDescription=VendorTest -dJpProductCode=9fb7c0a9-115d-3efa-99c3-d943422fabe6 -dJpAppName=VendorTest -dJpIsSystemWide=yes -dJpAllowDowngrades=yes -dJpIcon=C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage5152434731314617673\images\win-msi.image\VendorTest\VendorTest.exe -dJpAppSizeKb=130127 -dJpAppVersion=1.0 -dJpAllowUpgrades=yes -dJpProductUpgradeCode=363bdc23-47c4-3dd5-8108-bc66c1273345 -dJpAppVendor=Test Vendor -dJpConfigDir=C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage5152434731314617673\config [2025-11-06T21:10:34.370Z] [21:10:12.154] Output: [2025-11-06T21:10:34.370Z] main.wxs [2025-11-06T21:10:34.370Z] [21:10:12.154] Returned: 0 [2025-11-06T21:10:34.370Z] [2025-11-06T21:10:34.370Z] [21:10:12.154] Running C:\Program Files (x86)\WiX Toolset v3.14\bin\candle.exe in C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage5152434731314617673\images\win-msi.image\VendorTest [2025-11-06T21:10:34.370Z] [21:10:12.459] Command [PID: 12220]: [2025-11-06T21:10:34.370Z] C:\Program Files (x86)\WiX Toolset v3.14\bin\candle.exe -nologo C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage5152434731314617673\config\bundle.wxf -ext WixUtilExtension -arch x86 -out C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage5152434731314617673\wixobj\bundle.wixobj [2025-11-06T21:10:34.370Z] [21:10:12.459] Output: [2025-11-06T21:10:34.370Z] bundle.wxf [2025-11-06T21:10:34.370Z] [21:10:12.459] Returned: 0 [2025-11-06T21:10:34.370Z] [2025-11-06T21:10:34.370Z] [21:10:12.460] Running C:\Program Files (x86)\WiX Toolset v3.14\bin\candle.exe in C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage5152434731314617673\images\win-msi.image\VendorTest [2025-11-06T21:10:34.370Z] [21:10:12.637] Command [PID: 1388]: [2025-11-06T21:10:34.370Z] C:\Program Files (x86)\WiX Toolset v3.14\bin\candle.exe -nologo C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage5152434731314617673\config\ui.wxf -ext WixUtilExtension -arch x86 -out C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage5152434731314617673\wixobj\ui.wixobj [2025-11-06T21:10:34.370Z] [21:10:12.637] Output: [2025-11-06T21:10:34.370Z] ui.wxf [2025-11-06T21:10:34.370Z] [21:10:12.637] Returned: 0 [2025-11-06T21:10:34.370Z] [2025-11-06T21:10:34.370Z] [21:10:12.638] Running C:\Program Files (x86)\WiX Toolset v3.14\bin\light.exe in C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage5152434731314617673\images\win-msi.image\VendorTest [2025-11-06T21:10:34.370Z] [21:10:26.998] Command [PID: 5680]: [2025-11-06T21:10:34.370Z] C:\Program Files (x86)\WiX Toolset v3.14\bin\light.exe -nologo -spdb -ext WixUtilExtension -out C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage5152434731314617673\images\win-exe.image\VendorTest-1.0.msi -sice:ICE27 -loc C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage5152434731314617673\config\MsiInstallerStrings_en.wxl -cultures:en-us C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage5152434731314617673\wixobj\main.wixobj C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage5152434731314617673\wixobj\bundle.wixobj C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage5152434731314617673\wixobj\ui.wixobj [2025-11-06T21:10:34.370Z] [21:10:26.998] Output: [2025-11-06T21:10:34.370Z] light.exe : error LGHT0217 : Error executing ICE action 'ICE01'. The most common cause of this kind of ICE failure is an incorrectly registered scripting engine. See http://wixtoolset.org/documentation/error217/ for details and how to solve this problem. The following string format was not expected by the external UI message logger: "The Windows Installer Service could not be accessed. This can occur if the Windows Installer is not correctly installed. Contact your support personnel for assistance.". [2025-11-06T21:10:34.370Z] light.exe : error LGHT0217 : Error executing ICE action 'ICE02'. The most common cause of this kind of ICE failure is an incorrectly registered scripting engine. See http://wixtoolset.org/documentation/error217/ for details and how to solve this problem. The following string format was not expected by the external UI message logger: "The Windows Installer Service could not be accessed. This can occur if the Windows Installer is not correctly installed. Contact your support personnel for assistance.". [2025-11-06T21:10:34.370Z] light.exe : error LGHT0217 : Error executing ICE action 'ICE03'. The most common cause of this kind of ICE failure is an incorrectly registered scripting engine. See http://wixtoolset.org/documentation/error217/ for details and how to solve this problem. The following string format was not expected by the external UI message logger: "The Windows Installer Service could not be accessed. This can occur if the Windows Installer is not correctly installed. Contact your support personnel for assistance.". [2025-11-06T21:10:34.370Z] light.exe : error LGHT0217 : Error executing ICE action 'ICE04'. The most common cause of this kind of ICE failure is an incorrectly registered scripting engine. See http://wixtoolset.org/documentation/error217/ for details and how to solve this problem. The following string format was not expected by the external UI message logger: "The Windows Installer Service could not be accessed. This can occur if the Windows Installer is not correctly installed. Contact your support personnel for assistance.". [2025-11-06T21:10:34.370Z] light.exe : error LGHT0217 : Error executing ICE action 'ICE05'. The most common cause of this kind of ICE failure is an incorrectly registered scripting engine. See http://wixtoolset.org/documentation/error217/ for details and how to solve this problem. The following string format was not expected by the external UI message logger: "The Windows Installer Service could not be accessed. This can occur if the Windows Installer is not correctly installed. Contact your support personnel for assistance.". [2025-11-06T21:10:34.370Z] light.exe : error LGHT0217 : Error executing ICE action 'ICE06'. The most common cause of this kind of ICE failure is an incorrectly registered scripting engine. See http://wixtoolset.org/documentation/error217/ for details and how to solve this problem. The following string format was not expected by the external UI message logger: "The Windows Installer Service could not be accessed. This can occur if the Windows Installer is not correctly installed. Contact your support personnel for assistance.". [2025-11-06T21:10:34.370Z] light.exe : error LGHT0217 : Error executing ICE action 'ICE07'. The most common cause of this kind of ICE failure is an incorrectly registered scripting engine. See http://wixtoolset.org/documentation/error217/ for details and how to solve this problem. The following string format was not expected by the external UI message logger: "The Windows Installer Service could not be accessed. This can occur if the Windows Installer is not correctly installed. Contact your support personnel for assistance.". [2025-11-06T21:10:34.370Z] light.exe : error LGHT0216 : An unexpected Win32 exception with error code 0x643 occurred: Action - 'ICE09' Fatal error during installation [2025-11-06T21:10:34.370Z] [21:10:26.999] Returned: 216 [2025-11-06T21:10:34.370Z] [2025-11-06T21:10:34.370Z] [21:10:26.999] java.io.IOException: Command [C:\Program Files (x86)\WiX Toolset v3.14\bin\light.exe, -nologo, -spdb, -ext, WixUtilExtension, -out, C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage5152434731314617673\images\win-exe.image\VendorTest-1.0.msi, -sice:ICE27, -loc, C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage5152434731314617673\config\MsiInstallerStrings_en.wxl, -cultures:en-us, C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage5152434731314617673\wixobj\main.wixobj, C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage5152434731314617673\wixobj\bundle.wixobj, C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage5152434731314617673\wixobj\ui.wixobj] in C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage5152434731314617673\images\win-msi.image\VendorTest exited with 216 code [2025-11-06T21:10:34.370Z] at jdk.jpackage/jdk.jpackage.internal.Executor.executeExpectSuccess(Executor.java:90) [2025-11-06T21:10:34.370Z] at jdk.jpackage/jdk.jpackage.internal.WixPipeline.execute(WixPipeline.java:135) [2025-11-06T21:10:34.370Z] at jdk.jpackage/jdk.jpackage.internal.WixPipeline.buildMsi(WixPipeline.java:99) [2025-11-06T21:10:34.370Z] at jdk.jpackage/jdk.jpackage.internal.WinMsiBundler.buildMSI(WinMsiBundler.java:557) [2025-11-06T21:10:34.370Z] at jdk.jpackage/jdk.jpackage.internal.WinMsiBundler.execute(WinMsiBundler.java:416) [2025-11-06T21:10:34.370Z] at jdk.jpackage/jdk.jpackage.internal.WinExeBundler.bundle(WinExeBundler.java:104) [2025-11-06T21:10:34.370Z] at jdk.jpackage/jdk.jpackage.internal.WinExeBundler.execute(WinExeBundler.java:77) [2025-11-06T21:10:34.370Z] at jdk.jpackage/jdk.jpackage.internal.Arguments.generateBundle(Arguments.java:674) [2025-11-06T21:10:34.370Z] at jdk.jpackage/jdk.jpackage.internal.Arguments.processArguments(Arguments.java:551) [2025-11-06T21:10:34.370Z] at jdk.jpackage/jdk.jpackage.main.Main.execute(Main.java:91) [2025-11-06T21:10:34.370Z] at jdk.jpackage/jdk.jpackage.main.Main.main(Main.java:52) [2025-11-06T21:10:34.370Z] [21:10:27.144] jdk.jpackage.internal.PackagerException: java.io.IOException: Command [C:\Program Files (x86)\WiX Toolset v3.14\bin\light.exe, -nologo, -spdb, -ext, WixUtilExtension, -out, C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage5152434731314617673\images\win-exe.image\VendorTest-1.0.msi, -sice:ICE27, -loc, C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage5152434731314617673\config\MsiInstallerStrings_en.wxl, -cultures:en-us, C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage5152434731314617673\wixobj\main.wixobj, C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage5152434731314617673\wixobj\bundle.wixobj, C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage5152434731314617673\wixobj\ui.wixobj] in C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage5152434731314617673\images\win-msi.image\VendorTest exited with 216 code [2025-11-06T21:10:34.370Z] at jdk.jpackage/jdk.jpackage.internal.WinMsiBundler.execute(WinMsiBundler.java:419) [2025-11-06T21:10:34.370Z] at jdk.jpackage/jdk.jpackage.internal.WinExeBundler.bundle(WinExeBundler.java:104) [2025-11-06T21:10:34.370Z] at jdk.jpackage/jdk.jpackage.internal.WinExeBundler.execute(WinExeBundler.java:77) [2025-11-06T21:10:34.370Z] at jdk.jpackage/jdk.jpackage.internal.Arguments.generateBundle(Arguments.java:674) [2025-11-06T21:10:34.370Z] at jdk.jpackage/jdk.jpackage.internal.Arguments.processArguments(Arguments.java:551) [2025-11-06T21:10:34.370Z] at jdk.jpackage/jdk.jpackage.main.Main.execute(Main.java:91) [2025-11-06T21:10:34.370Z] at jdk.jpackage/jdk.jpackage.main.Main.main(Main.java:52) [2025-11-06T21:10:34.371Z] Caused by: java.io.IOException: Command [C:\Program Files (x86)\WiX Toolset v3.14\bin\light.exe, -nologo, -spdb, -ext, WixUtilExtension, -out, C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage5152434731314617673\images\win-exe.image\VendorTest-1.0.msi, -sice:ICE27, -loc, C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage5152434731314617673\config\MsiInstallerStrings_en.wxl, -cultures:en-us, C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage5152434731314617673\wixobj\main.wixobj, C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage5152434731314617673\wixobj\bundle.wixobj, C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage5152434731314617673\wixobj\ui.wixobj] in C:\Users\JENKIN~1.TES\AppData\Local\Temp\jdk.jpackage5152434731314617673\images\win-msi.image\VendorTest exited with 216 code [2025-11-06T21:10:34.371Z] at jdk.jpackage/jdk.jpackage.internal.Executor.executeExpectSuccess(Executor.java:90) [2025-11-06T21:10:34.371Z] at jdk.jpackage/jdk.jpackage.internal.WixPipeline.execute(WixPipeline.java:135) [2025-11-06T21:10:34.371Z] at jdk.jpackage/jdk.jpackage.internal.WixPipeline.buildMsi(WixPipeline.java:99) [2025-11-06T21:10:34.371Z] at jdk.jpackage/jdk.jpackage.internal.WinMsiBundler.buildMSI(WinMsiBundler.java:557) [2025-11-06T21:10:34.371Z] at jdk.jpackage/jdk.jpackage.internal.WinMsiBundler.execute(WinMsiBundler.java:416) [2025-11-06T21:10:34.371Z] ... 6 more [2025-11-06T21:10:34.371Z] [21:10:27.179] TRACE: exec: Done. Exit code: 1 [2025-11-06T21:10:34.371Z] [21:10:27.179] ERROR: Expected [0]. Actual [1]: Check command [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\test\input --dest .\test\output --name VendorTest --type exe --main-jar hello.jar --main-class Hello --win-console --vendor "Test Vendor" --verbose](17) exited with 0 code [2025-11-06T21:10:34.371Z] [21:10:27.180] [ FAILED ] VendorTest.test; checks=3 [2025-11-06T21:10:34.371Z] [21:10:27.182] [==========] 1 tests ran [2025-11-06T21:10:34.371Z] [21:10:27.182] [ PASSED ] 0 tests [2025-11-06T21:10:34.371Z] [21:10:27.183] [ FAILED ] 1 test, listed below [2025-11-06T21:10:34.371Z] [21:10:27.184] [ FAILED ] VendorTest.test; workDir=[.\test] [2025-11-06T21:10:34.371Z] [21:10:27.184] 1 FAILED TEST [2025-11-06T21:10:34.371Z] STDERR: [2025-11-06T21:10:34.371Z] java.lang.AssertionError: Expected [0]. Actual [1]: Check command [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\test\input --dest .\test\output --name VendorTest --type exe --main-jar hello.jar --main-class Hello --win-console --vendor "Test Vendor" --verbose](17) exited with 0 code [2025-11-06T21:10:34.371Z] at jdk.jpackage.test.TKit.error(TKit.java:269) [2025-11-06T21:10:34.371Z] at jdk.jpackage.test.TKit.assertEquals(TKit.java:588) [2025-11-06T21:10:34.371Z] at jdk.jpackage.test.Executor$Result.assertExitCodeIs(Executor.java:197) [2025-11-06T21:10:34.371Z] at jdk.jpackage.test.Executor.execute(Executor.java:237) [2025-11-06T21:10:34.371Z] at jdk.jpackage.test.JPackageCommand.execute(JPackageCommand.java:734) [2025-11-06T21:10:34.371Z] at jdk.jpackage.test.PackageTest$Handler.accept(PackageTest.java:532) [2025-11-06T21:10:34.371Z] at jdk.jpackage.test.PackageTest$2.accept(PackageTest.java:460) [2025-11-06T21:10:34.371Z] at jdk.jpackage.test.PackageTest$2.accept(PackageTest.java:397) [2025-11-06T21:10:34.371Z] at jdk.jpackage.test.Functional$ThrowingConsumer.lambda$toConsumer$0(Functional.java:41) [2025-11-06T21:10:34.371Z] at java.base/java.lang.Iterable.forEach(Iterable.java:75) [2025-11-06T21:10:34.371Z] at jdk.jpackage.test.PackageTest.lambda$runActions$21(PackageTest.java:361) [2025-11-06T21:10:34.371Z] at java.base/java.util.ArrayList.forEach(ArrayList.java:1511) [2025-11-06T21:10:34.371Z] at jdk.jpackage.test.PackageTest.lambda$runActions$22(PackageTest.java:360) [2025-11-06T21:10:34.371Z] at java.base/java.util.ArrayList.forEach(ArrayList.java:1511) [2025-11-06T21:10:34.371Z] at jdk.jpackage.test.PackageTest.runActions(PackageTest.java:359) [2025-11-06T21:10:34.371Z] at jdk.jpackage.test.RunnablePackageTest.run(RunnablePackageTest.java:57) [2025-11-06T21:10:34.371Z] at VendorTest.test(VendorTest.java:102) [2025-11-06T21:10:34.371Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [2025-11-06T21:10:34.371Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) [2025-11-06T21:10:34.371Z] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [2025-11-06T21:10:34.371Z] at java.base/java.lang.reflect.Method.invoke(Method.java:569) [2025-11-06T21:10:34.371Z] at jdk.jpackage.test.MethodCall.accept(MethodCall.java:145) [2025-11-06T21:10:34.371Z] at jdk.jpackage.test.TestInstance.run(TestInstance.java:230) [2025-11-06T21:10:34.371Z] at jdk.jpackage.test.TKit.lambda$ignoreExceptions$5(TKit.java:148) [2025-11-06T21:10:34.371Z] at jdk.jpackage.test.TKit.lambda$runTests$3(TKit.java:133) [2025-11-06T21:10:34.371Z] at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1625) [2025-11-06T21:10:34.371Z] at java.base/java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:762) [2025-11-06T21:10:34.371Z] at jdk.jpackage.test.TKit.lambda$runTests$4(TKit.java:130) [2025-11-06T21:10:34.371Z] at jdk.jpackage.test.Functional$ThrowingRunnable.lambda$toRunnable$0(Functional.java:105) [2025-11-06T21:10:34.371Z] at jdk.jpackage.test.TKit.withExtraLogStream(TKit.java:117) [2025-11-06T21:10:34.371Z] at jdk.jpackage.test.TKit.withExtraLogStream(TKit.java:108) [2025-11-06T21:10:34.371Z] at jdk.jpackage.test.TKit.runTests(TKit.java:129) [2025-11-06T21:10:34.371Z] at jdk.jpackage.test.Main.runTests(Main.java:79) [2025-11-06T21:10:34.371Z] at jdk.jpackage.test.Main.lambda$main$2(Main.java:75) [2025-11-06T21:10:34.371Z] at jdk.jpackage.test.Functional$ThrowingRunnable.lambda$toRunnable$0(Functional.java:105) [2025-11-06T21:10:34.371Z] at jdk.jpackage.test.TKit.withExtraLogStream(TKit.java:117) [2025-11-06T21:10:34.371Z] at jdk.jpackage.test.TKit.withExtraLogStream(TKit.java:108) [2025-11-06T21:10:34.371Z] at jdk.jpackage.test.Main.main(Main.java:75) [2025-11-06T21:10:34.371Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [2025-11-06T21:10:34.371Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) [2025-11-06T21:10:34.371Z] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [2025-11-06T21:10:34.371Z] at java.base/java.lang.reflect.Method.invoke(Method.java:569) [2025-11-06T21:10:34.371Z] at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138) [2025-11-06T21:10:34.371Z] at java.base/java.lang.Thread.run(Thread.java:840) [2025-11-06T21:10:34.371Z] java.lang.RuntimeException: 1 FAILED TEST [2025-11-06T21:10:34.371Z] at jdk.jpackage.test.Main.reportSummary(Main.java:130) [2025-11-06T21:10:34.371Z] at jdk.jpackage.test.Main.runTests(Main.java:90) [2025-11-06T21:10:34.371Z] at jdk.jpackage.test.Main.lambda$main$2(Main.java:75) [2025-11-06T21:10:34.371Z] at jdk.jpackage.test.Functional$ThrowingRunnable.lambda$toRunnable$0(Functional.java:105) [2025-11-06T21:10:34.371Z] at jdk.jpackage.test.TKit.withExtraLogStream(TKit.java:117) [2025-11-06T21:10:34.371Z] at jdk.jpackage.test.TKit.withExtraLogStream(TKit.java:108) [2025-11-06T21:10:34.371Z] at jdk.jpackage.test.Main.main(Main.java:75) [2025-11-06T21:10:34.371Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [2025-11-06T21:10:34.371Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) [2025-11-06T21:10:34.371Z] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [2025-11-06T21:10:34.371Z] at java.base/java.lang.reflect.Method.invoke(Method.java:569) [2025-11-06T21:10:34.371Z] at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138) [2025-11-06T21:10:34.371Z] at java.base/java.lang.Thread.run(Thread.java:840) [2025-11-06T21:10:34.371Z] [2025-11-06T21:10:34.371Z] JavaTest Message: Test threw exception: java.lang.RuntimeException: 1 FAILED TEST [2025-11-06T21:10:34.371Z] JavaTest Message: shutting down test [2025-11-06T21:10:34.371Z] [2025-11-06T21:10:34.371Z] STATUS:Failed.`main' threw exception: java.lang.RuntimeException: 1 FAILED TEST [2025-11-06T21:10:34.371Z] rerun: [2025-11-06T21:10:34.371Z] cd 'C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\scratch\2' && \ [2025-11-06T21:10:34.371Z] PATH='C:\Program Files\Eclipse Adoptium\jdk-21.0.8.9-hotspot\bin;C:\cygwin64\bin;C:\Windows;C:\windows\system32;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\Microsoft SQL Server\120\Tools\Binn;C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.0;C:\Program Files (x86)\IncrediBuild;C:\rust\bin;C:\Program Files\IcedTeaWEB\bin;C:\Users\adoptopenjdk\AppData\Local\Microsoft\WindowsApps;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit;C:\Users\jenkins.test-azure-win2\AppData\Local\Microsoft\WindowsApps' \ [2025-11-06T21:10:34.371Z] SystemDrive=C: \ [2025-11-06T21:10:34.371Z] SystemRoot='C:\Windows' \ [2025-11-06T21:10:34.371Z] TEMP='C:\Users\JENKIN~1.TES\AppData\Local\Temp' \ [2025-11-06T21:10:34.371Z] TMP='C:\Users\JENKIN~1.TES\AppData\Local\Temp' \ [2025-11-06T21:10:34.371Z] windir='C:\Windows' \ [2025-11-06T21:10:34.371Z] CLASSPATH='C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\classes\2\tools\jpackage\share\VendorTest_id1.d;C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\share;C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\classes\2\test\jdk\tools\jpackage\helpers;C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\helpers;C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jvmtest\openjdk\jtreg\lib\javatest.jar;C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jvmtest\openjdk\jtreg\lib\jtreg.jar' \ [2025-11-06T21:10:34.371Z] 'c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image\bin\java' \ [2025-11-06T21:10:34.371Z] -Dtest.vm.opts='-ea -esa -Xmx512m' \ [2025-11-06T21:10:34.371Z] -Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m' \ [2025-11-06T21:10:34.371Z] -Dtest.compiler.opts= \ [2025-11-06T21:10:34.371Z] -Dtest.java.opts= \ [2025-11-06T21:10:34.371Z] -Dtest.jdk='c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image' \ [2025-11-06T21:10:34.371Z] -Dcompile.jdk='c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\j2sdk-image' \ [2025-11-06T21:10:34.371Z] -Dtest.timeout.factor=8.0 \ [2025-11-06T21:10:34.371Z] -Dtest.nativepath='c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\openjdk-test-image\jdk\jtreg\native' \ [2025-11-06T21:10:34.371Z] -Dtest.root='C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk' \ [2025-11-06T21:10:34.371Z] -Dtest.name=tools/jpackage/share/VendorTest.java#id1 \ [2025-11-06T21:10:34.371Z] -Dtest.file='C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\share\VendorTest.java' \ [2025-11-06T21:10:34.371Z] -Dtest.src='C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\share' \ [2025-11-06T21:10:34.371Z] -Dtest.src.path='C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\share;C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\helpers' \ [2025-11-06T21:10:34.371Z] -Dtest.classes='C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\classes\2\tools\jpackage\share\VendorTest_id1.d' \ [2025-11-06T21:10:34.371Z] -Dtest.class.path='C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\classes\2\tools\jpackage\share\VendorTest_id1.d;C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\classes\2\test\jdk\tools\jpackage\helpers' \ [2025-11-06T21:10:34.371Z] -Dtest.class.path.prefix='C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\classes\2\tools\jpackage\share\VendorTest_id1.d;C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\share;C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\classes\2\test\jdk\tools\jpackage\helpers' \ [2025-11-06T21:10:34.371Z] -Dtest.modules='jdk.jpackage/jdk.jpackage.internal:+open java.base/jdk.internal.util' \ [2025-11-06T21:10:34.371Z] --add-modules jdk.jpackage,java.base \ [2025-11-06T21:10:34.371Z] --add-exports jdk.jpackage/jdk.jpackage.internal=ALL-UNNAMED \ [2025-11-06T21:10:34.371Z] --add-opens jdk.jpackage/jdk.jpackage.internal=ALL-UNNAMED \ [2025-11-06T21:10:34.371Z] --add-exports java.base/jdk.internal.util=ALL-UNNAMED \ [2025-11-06T21:10:34.371Z] -ea \ [2025-11-06T21:10:34.371Z] -esa \ [2025-11-06T21:10:34.371Z] -Xmx512m \ [2025-11-06T21:10:34.371Z] '-Djava.library.path=c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\jdkbinary\openjdk-test-image\jdk\jtreg\native' \ [2025-11-06T21:10:34.371Z] -Xmx512m \ [2025-11-06T21:10:34.371Z] com.sun.javatest.regtest.agent.MainWrapper 'C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work\tools\jpackage\share\VendorTest_id1.d\main.0.jta' --jpt-run=VendorTest [2025-11-06T21:10:34.371Z] [2025-11-06T21:10:34.371Z] TEST RESULT: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: 1 FAILED TEST [2025-11-06T21:10:34.371Z] -------------------------------------------------- [2025-11-06T21:13:42.850Z] Test results: passed: 252; failed: 4 [2025-11-06T21:17:06.351Z] Report written to C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\report\html\report.html [2025-11-06T21:17:06.351Z] Results written to C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_rerun\aqa-tests\TKG\output_17624559952789\jdk_tools_2\work [2025-11-06T21:17:06.351Z] Error: Some tests failed or other problems occurred. [2025-11-06T21:17:06.351Z] ----------------------------------- [2025-11-06T21:17:06.351Z] jdk_tools_2_FAILED [2025-11-06T21:17:06.351Z] ----------------------------------- [2025-11-06T21:17:06.351Z] [2025-11-06T21:17:06.351Z] TEST TEARDOWN: [2025-11-06T21:17:06.351Z] Nothing to be done for teardown. [2025-11-06T21:17:06.351Z] jdk_tools_2 Finish Time: Thu Nov 6 21:17:01 2025 Epoch Time (ms): 1762463821830