No Possible Issues Found via Git Search

jdk_tools_2

[2025-11-06T13:00:08.980Z] Running test jdk_tools_2 ... [2025-11-06T13:00:08.980Z] =============================================== [2025-11-06T13:00:08.980Z] jdk_tools_2 Start Time: Thu Nov 6 12:59:56 2025 Epoch Time (ms): 1762433996155 [2025-11-06T13:00:08.980Z] variation: Mode1000 [2025-11-06T13:00:08.980Z] JVM_OPTIONS: [2025-11-06T13:00:08.980Z] { \ [2025-11-06T13:00:08.980Z] echo ""; echo "TEST SETUP:"; \ [2025-11-06T13:00:08.980Z] echo "Nothing to be done for setup."; \ [2025-11-06T13:00:08.980Z] mkdir -p "C:/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2/aqa-tests/\\TKG\\output_17624288321459\\jdk_tools_2"; \ [2025-11-06T13:00:08.980Z] cd "C:/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2/aqa-tests/\\TKG\\output_17624288321459\\jdk_tools_2"; \ [2025-11-06T13:00:08.980Z] echo ""; echo "TESTING:"; \ [2025-11-06T13:00:08.980Z] "c:/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2/jdkbinary/j2sdk-image\\bin\\java" -Xmx512m -jar "C:/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2/aqa-tests///..//jvmtest\\openjdk\\jtreg\\lib\\jtreg.jar" \ [2025-11-06T13:00:08.981Z] -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_testList_2/jdkbinary/openjdk-test-image\\jdk\\jtreg\\native" -vmoptions:"-Xmx512m " \ [2025-11-06T13:00:08.981Z] \ [2025-11-06T13:00:08.981Z] -w ""C:/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2/aqa-tests/\\TKG\\output_17624288321459\\jdk_tools_2"\\work" \ [2025-11-06T13:00:08.981Z] -r ""C:/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2/aqa-tests/\\TKG\\output_17624288321459\\jdk_tools_2"\\report" \ [2025-11-06T13:00:08.981Z] -jdk:"c:/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2/jdkbinary/j2sdk-image" \ [2025-11-06T13:00:08.981Z] -exclude:"C:/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2/aqa-tests/\\openjdk\\openjdk-jdk\\test\\jdk\\ProblemList.txt" \ [2025-11-06T13:00:08.981Z] -exclude:"C:/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2/aqa-tests///..//jvmtest\\openjdk\\excludes/ProblemList_openjdk17.txt" \ [2025-11-06T13:00:08.981Z] \ [2025-11-06T13:00:08.981Z] -exclude:"C:/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2/aqa-tests/\\openjdk\\excludes\\vendors\\eclipse\\ProblemList_openjdk17.txt" \ [2025-11-06T13:00:08.981Z] "C:/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2/aqa-tests/\\openjdk\\openjdk-jdk\\test\\jdk:jdk_tools"; \ [2025-11-06T13:00:08.981Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "jdk_tools_2""_PASSED"; echo "-----------------------------------"; cd C:/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2/aqa-tests/; else echo "-----------------------------------"; echo "jdk_tools_2""_FAILED"; echo "-----------------------------------"; fi; \ [2025-11-06T13:00:08.981Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-11-06T13:00:08.981Z] echo "Nothing to be done for teardown."; \ [2025-11-06T13:00:08.981Z] } 2>&1 | tee -a "C:/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2/aqa-tests/\\TKG\\output_17624288321459\\TestTargetResult"; [2025-11-06T13:00:08.981Z] [2025-11-06T13:00:08.981Z] TEST SETUP: [2025-11-06T13:00:08.981Z] Nothing to be done for setup. [2025-11-06T13:00:08.981Z] [2025-11-06T13:00:08.981Z] TESTING: [2025-11-06T13:00:08.981Z] Directory "C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work" not found: creating [2025-11-06T13:00:08.981Z] Directory "C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\report" not found: creating [2025-11-06T13:00:08.981Z] XML output with verification to C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work [2025-11-06T13:15:07.134Z] -------------------------------------------------- [2025-11-06T13:15:07.134Z] TEST: tools/jpackage/share/IconTest.java [2025-11-06T13:15:07.134Z] TEST JDK: c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\jdkbinary\j2sdk-image [2025-11-06T13:15:07.134Z] [2025-11-06T13:15:07.134Z] ACTION: build -- Passed. All files up to date [2025-11-06T13:15:07.134Z] REASON: User specified action: run build jdk.jpackage.test.* [2025-11-06T13:15:07.134Z] TIME: 0.005 seconds [2025-11-06T13:15:07.134Z] messages: [2025-11-06T13:15:07.134Z] command: build jdk.jpackage.test.* [2025-11-06T13:15:07.134Z] reason: User specified action: run build jdk.jpackage.test.* [2025-11-06T13:15:07.134Z] started: Thu Nov 06 13:13:41 UTC 2025 [2025-11-06T13:15:07.134Z] finished: Thu Nov 06 13:13:41 UTC 2025 [2025-11-06T13:15:07.134Z] elapsed time (seconds): 0.005 [2025-11-06T13:15:07.134Z] [2025-11-06T13:15:07.134Z] ACTION: compile -- Passed. Compilation successful [2025-11-06T13:15:07.134Z] REASON: User specified action: run compile IconTest.java [2025-11-06T13:15:07.134Z] TIME: 0.121 seconds [2025-11-06T13:15:07.134Z] messages: [2025-11-06T13:15:07.134Z] command: compile C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\share\IconTest.java [2025-11-06T13:15:07.134Z] reason: User specified action: run compile IconTest.java [2025-11-06T13:15:07.134Z] started: Thu Nov 06 13:13:41 UTC 2025 [2025-11-06T13:15:07.134Z] 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-06T13:15:07.134Z] Mode: agentvm [2025-11-06T13:15:07.134Z] Agent id: 3 [2025-11-06T13:15:07.134Z] finished: Thu Nov 06 13:13:41 UTC 2025 [2025-11-06T13:15:07.134Z] elapsed time (seconds): 0.121 [2025-11-06T13:15:07.134Z] configuration: [2025-11-06T13:15:07.134Z] Boot Layer (javac runtime environment) [2025-11-06T13:15:07.134Z] class path: C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\jvmtest\openjdk\jtreg\lib\javatest.jar [2025-11-06T13:15:07.134Z] C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\jvmtest\openjdk\jtreg\lib\jtreg.jar [2025-11-06T13:15:07.134Z] patch: java.base C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\patches\java.base [2025-11-06T13:15:07.134Z] [2025-11-06T13:15:07.134Z] javac compilation environment [2025-11-06T13:15:07.135Z] add modules: jdk.jpackage java.base [2025-11-06T13:15:07.135Z] add exports: java.base/jdk.internal.util ALL-UNNAMED [2025-11-06T13:15:07.135Z] jdk.jpackage/jdk.jpackage.internal ALL-UNNAMED [2025-11-06T13:15:07.135Z] source path: C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\share [2025-11-06T13:15:07.135Z] C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\helpers [2025-11-06T13:15:07.135Z] class path: C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\share [2025-11-06T13:15:07.135Z] C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\classes\2\tools\jpackage\share\IconTest.d [2025-11-06T13:15:07.135Z] C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\classes\2\test\jdk\tools\jpackage\helpers [2025-11-06T13:15:07.135Z] [2025-11-06T13:15:07.135Z] rerun: [2025-11-06T13:15:07.135Z] cd 'C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1' && \ [2025-11-06T13:15:07.135Z] PATH='C:\cygwin64\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Windows\System32\OpenSSH;C:\Program Files\dotnet;C:\Users\adoptopenjdk\AppData\Local\Microsoft\WindowsApps;C:\Strawberry\perl\bin;C:\Program Files\Git\cmd;C:\openjdk\jdk-8\bin;C:\apache-ant\apache-ant-1.10.15\bin;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit;C:\Program Files (x86)\Incredibuild;C:\rust\bin;C:\Program Files\IcedTeaWEB\bin;C:\Users\jenkins\AppData\Local\Microsoft\WindowsApps' \ [2025-11-06T13:15:07.135Z] SystemDrive=C: \ [2025-11-06T13:15:07.135Z] SystemRoot='C:\Windows' \ [2025-11-06T13:15:07.135Z] TEMP='C:\Users\jenkins\AppData\Local\Temp' \ [2025-11-06T13:15:07.135Z] TMP='C:\Users\jenkins\AppData\Local\Temp' \ [2025-11-06T13:15:07.135Z] windir='C:\Windows' \ [2025-11-06T13:15:07.135Z] 'c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\jdkbinary\j2sdk-image\bin\javac' \ [2025-11-06T13:15:07.135Z] -J-ea \ [2025-11-06T13:15:07.135Z] -J-esa \ [2025-11-06T13:15:07.135Z] -J-Xmx512m \ [2025-11-06T13:15:07.135Z] -J-Dtest.vm.opts='-ea -esa -Xmx512m' \ [2025-11-06T13:15:07.135Z] -J-Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m' \ [2025-11-06T13:15:07.135Z] -J-Dtest.compiler.opts= \ [2025-11-06T13:15:07.135Z] -J-Dtest.java.opts= \ [2025-11-06T13:15:07.135Z] -J-Dtest.jdk='c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\jdkbinary\j2sdk-image' \ [2025-11-06T13:15:07.135Z] -J-Dcompile.jdk='c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\jdkbinary\j2sdk-image' \ [2025-11-06T13:15:07.135Z] -J-Dtest.timeout.factor=8.0 \ [2025-11-06T13:15:07.135Z] -J-Dtest.nativepath='c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\jdkbinary\openjdk-test-image\jdk\jtreg\native' \ [2025-11-06T13:15:07.135Z] -J-Dtest.root='C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk' \ [2025-11-06T13:15:07.135Z] -J-Dtest.name=tools/jpackage/share/IconTest.java \ [2025-11-06T13:15:07.135Z] -J-Dtest.file='C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\share\IconTest.java' \ [2025-11-06T13:15:07.135Z] -J-Dtest.src='C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\share' \ [2025-11-06T13:15:07.135Z] -J-Dtest.src.path='C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\share;C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\helpers' \ [2025-11-06T13:15:07.135Z] -J-Dtest.classes='C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\classes\2\tools\jpackage\share\IconTest.d' \ [2025-11-06T13:15:07.135Z] -J-Dtest.class.path='C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\classes\2\tools\jpackage\share\IconTest.d;C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\classes\2\test\jdk\tools\jpackage\helpers' \ [2025-11-06T13:15:07.135Z] -J-Dtest.class.path.prefix='C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\classes\2\tools\jpackage\share\IconTest.d;C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\share;C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\classes\2\test\jdk\tools\jpackage\helpers' \ [2025-11-06T13:15:07.135Z] -J-Dtest.modules='jdk.jpackage/jdk.jpackage.internal:+open java.base/jdk.internal.util' \ [2025-11-06T13:15:07.135Z] --add-modules jdk.jpackage,java.base \ [2025-11-06T13:15:07.135Z] --add-exports jdk.jpackage/jdk.jpackage.internal=ALL-UNNAMED \ [2025-11-06T13:15:07.135Z] --add-exports java.base/jdk.internal.util=ALL-UNNAMED \ [2025-11-06T13:15:07.135Z] -d 'C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\classes\2\tools\jpackage\share\IconTest.d' \ [2025-11-06T13:15:07.135Z] -sourcepath 'C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\share;C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\helpers' \ [2025-11-06T13:15:07.135Z] -classpath 'C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\share;C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\classes\2\tools\jpackage\share\IconTest.d;C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\classes\2\test\jdk\tools\jpackage\helpers' 'C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\share\IconTest.java' [2025-11-06T13:15:07.135Z] [2025-11-06T13:15:07.135Z] ACTION: build -- Passed. All files up to date [2025-11-06T13:15:07.135Z] REASON: Named class compiled on demand [2025-11-06T13:15:07.135Z] TIME: 0.001 seconds [2025-11-06T13:15:07.135Z] messages: [2025-11-06T13:15:07.135Z] command: build jdk.jpackage.test.Main [2025-11-06T13:15:07.135Z] reason: Named class compiled on demand [2025-11-06T13:15:07.135Z] started: Thu Nov 06 13:13:41 UTC 2025 [2025-11-06T13:15:07.135Z] finished: Thu Nov 06 13:13:41 UTC 2025 [2025-11-06T13:15:07.135Z] elapsed time (seconds): 0.001 [2025-11-06T13:15:07.135Z] [2025-11-06T13:15:07.135Z] ACTION: main -- Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: 1 FAILED TEST [2025-11-06T13:15:07.135Z] 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-06T13:15:07.135Z] TIME: 70.971 seconds [2025-11-06T13:15:07.135Z] messages: [2025-11-06T13:15:07.135Z] command: main -Xmx512m --add-opens jdk.jpackage/jdk.jpackage.internal=ALL-UNNAMED jdk.jpackage.test.Main --jpt-run=IconTest [2025-11-06T13:15:07.135Z] 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-06T13:15:07.135Z] started: Thu Nov 06 13:13:47 UTC 2025 [2025-11-06T13:15:07.135Z] Mode: othervm [/othervm specified] [2025-11-06T13:15:07.135Z] 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-06T13:15:07.135Z] finished: Thu Nov 06 13:14:58 UTC 2025 [2025-11-06T13:15:07.135Z] elapsed time (seconds): 70.971 [2025-11-06T13:15:07.135Z] configuration: [2025-11-06T13:15:07.135Z] Boot Layer [2025-11-06T13:15:07.135Z] add modules: jdk.jpackage java.base [2025-11-06T13:15:07.136Z] add exports: java.base/jdk.internal.util ALL-UNNAMED [2025-11-06T13:15:07.136Z] jdk.jpackage/jdk.jpackage.internal ALL-UNNAMED [2025-11-06T13:15:07.136Z] add opens: jdk.jpackage/jdk.jpackage.internal ALL-UNNAMED [2025-11-06T13:15:07.136Z] [2025-11-06T13:15:07.136Z] STDOUT: [2025-11-06T13:15:07.136Z] [13:13:48.208] Parsing [--jpt-run=IconTest]... [2025-11-06T13:15:07.136Z] [13:13:48.248] IconTest.test -> [public void IconTest.test() throws java.io.IOException] [2025-11-06T13:15:07.136Z] [13:13:48.291] Create: IconTest(AppImage, DefaultIcon, DefaultIcon).test [2025-11-06T13:15:07.136Z] [13:13:48.292] Create: IconTest(AppImage, DefaultIcon, NoIcon).test [2025-11-06T13:15:07.136Z] [13:13:48.292] Create: IconTest(AppImage, DefaultIcon, CustomIcon).test [2025-11-06T13:15:07.136Z] [13:13:48.292] Create: IconTest(AppImage, DefaultIcon, ResourceDirIcon).test [2025-11-06T13:15:07.136Z] [13:13:48.293] Create: IconTest(AppImage, DefaultIcon, CustomWithResourceDirIcon).test [2025-11-06T13:15:07.136Z] [13:13:48.293] Create: IconTest(AppImage, CustomIcon, DefaultIcon).test [2025-11-06T13:15:07.136Z] [13:13:48.293] Create: IconTest(AppImage, CustomIcon, NoIcon).test [2025-11-06T13:15:07.136Z] [13:13:48.294] Create: IconTest(AppImage, CustomIcon, CustomIcon).test [2025-11-06T13:15:07.136Z] [13:13:48.294] Create: IconTest(AppImage, CustomIcon, ResourceDirIcon).test [2025-11-06T13:15:07.136Z] [13:13:48.294] Create: IconTest(AppImage, CustomIcon, CustomWithResourceDirIcon).test [2025-11-06T13:15:07.136Z] [13:13:48.295] Create: IconTest(AppImage, ResourceDirIcon, DefaultIcon).test [2025-11-06T13:15:07.136Z] [13:13:48.295] Create: IconTest(AppImage, ResourceDirIcon, NoIcon).test [2025-11-06T13:15:07.136Z] [13:13:48.295] Create: IconTest(AppImage, ResourceDirIcon, CustomIcon).test [2025-11-06T13:15:07.136Z] [13:13:48.296] Create: IconTest(AppImage, ResourceDirIcon, ResourceDirIcon).test [2025-11-06T13:15:07.136Z] [13:13:48.296] Create: IconTest(AppImage, ResourceDirIcon, CustomWithResourceDirIcon).test [2025-11-06T13:15:07.136Z] [13:13:48.296] Create: IconTest(AppImage, CustomWithResourceDirIcon, DefaultIcon).test [2025-11-06T13:15:07.136Z] [13:13:48.297] Create: IconTest(AppImage, CustomWithResourceDirIcon, NoIcon).test [2025-11-06T13:15:07.136Z] [13:13:48.297] Create: IconTest(AppImage, CustomWithResourceDirIcon, CustomIcon).test [2025-11-06T13:15:07.136Z] [13:13:48.297] Create: IconTest(AppImage, CustomWithResourceDirIcon, ResourceDirIcon).test [2025-11-06T13:15:07.136Z] [13:13:48.298] Create: IconTest(AppImage, CustomWithResourceDirIcon, CustomWithResourceDirIcon).test [2025-11-06T13:15:07.136Z] [13:13:48.300] [ RUN ] IconTest(AppImage, CustomIcon, CustomIcon).test [2025-11-06T13:15:07.136Z] [13:13:48.423] TRACE: exec: Execute tool provider [javac -d .\test.e40bd2ca\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4)... [2025-11-06T13:15:07.136Z] [13:13:49.031] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.136Z] [13:13:49.036] TRACE: assertEquals(0): Check command tool provider [javac -d .\test.e40bd2ca\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4) exited with 0 code [2025-11-06T13:15:07.136Z] [13:13:49.038] TRACE: exec: Execute tool provider [jar -c -f .\test.e40bd2ca\input\hello.jar -C .\test.e40bd2ca\jar-workdir .](7)... [2025-11-06T13:15:07.136Z] [13:13:49.125] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.136Z] [13:13:49.125] 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-06T13:15:07.136Z] [13:13:49.129] TRACE: Create [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.e40bd2ca\x.properties] properties file... [2025-11-06T13:15:07.136Z] [13:13:49.129] TRACE: icon=C:/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/tools/jpackage/resources/icon3.ico [2025-11-06T13:15:07.136Z] [13:13:49.131] TRACE: Done [2025-11-06T13:15:07.136Z] [13:13:49.131] TRACE: Init fake runtime in [.\test.e40bd2ca\fake_runtime] directory [2025-11-06T13:15:07.136Z] [13:13:49.138] TRACE: exec: Execute [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\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_testList_2\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-06T13:15:07.136Z] [13:13:49.475] Creating app package: IconTest in C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\.\test.e40bd2ca\output [2025-11-06T13:15:07.136Z] [13:13:49.500] Using custom package resource [icon] (loaded from file C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon.ico). [2025-11-06T13:15:07.136Z] [13:13:49.525] 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\jenkins\AppData\Local\Temp\jdk.jpackage2365664303789071661". [2025-11-06T13:15:07.136Z] [13:13:49.658] Using default package resource WinLauncher.template [Template for creating executable properties file] (add IconTest.properties to the resource-dir to customize). [2025-11-06T13:15:07.136Z] [13:13:49.733] Using custom package resource [icon] (loaded from file C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon3.ico). [2025-11-06T13:15:07.136Z] [13:13:49.752] 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\jenkins\AppData\Local\Temp\jdk.jpackage2365664303789071661". [2025-11-06T13:15:07.136Z] [13:13:49.885] Using default package resource WinLauncher.template [Template for creating executable properties file] (add x.properties to the resource-dir to customize). [2025-11-06T13:15:07.136Z] [13:13:49.890] Succeeded in building Windows Application Image package [2025-11-06T13:15:07.136Z] [13:13:49.903] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.136Z] [13:13:49.903] TRACE: assertEquals(0): Check command [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\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_testList_2\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-06T13:15:07.136Z] [13:13:49.907] TRACE: assertTrue(): Check [.\test.e40bd2ca\output\IconTest\x.ico] path doesn't exist [2025-11-06T13:15:07.136Z] [13:13:49.935] TRACE: exec: Execute tool provider [javac -d .\test.e40bd2ca\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4)... [2025-11-06T13:15:07.136Z] [13:13:50.110] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.136Z] [13:13:50.110] TRACE: assertEquals(0): Check command tool provider [javac -d .\test.e40bd2ca\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4) exited with 0 code [2025-11-06T13:15:07.136Z] [13:13:50.110] TRACE: Delete [.\test.e40bd2ca\input\hello.jar] existing jar file [2025-11-06T13:15:07.136Z] [13:13:50.111] TRACE: exec: Execute tool provider [jar -c -f .\test.e40bd2ca\input\hello.jar -C .\test.e40bd2ca\jar-workdir .](7)... [2025-11-06T13:15:07.136Z] [13:13:50.133] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.136Z] [13:13:50.133] 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-06T13:15:07.136Z] [13:13:50.134] TRACE: Init fake runtime in [.\test.e40bd2ca\fake_runtime] directory [2025-11-06T13:15:07.136Z] [13:13:50.136] TRACE: exec: Execute [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\test.e40bd2ca\input --dest .\test.e40bd2ca\out-13052 --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-06T13:15:07.137Z] [13:13:50.436] Creating app package: IconTest in C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\.\test.e40bd2ca\out-13052 [2025-11-06T13:15:07.137Z] [13:13:50.461] Using default package resource JavaApp.ico [icon] (add IconTest.ico to the resource-dir to customize). [2025-11-06T13:15:07.137Z] [13:13:50.479] 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\jenkins\AppData\Local\Temp\jdk.jpackage5041612110124112301". [2025-11-06T13:15:07.137Z] [13:13:50.642] Using default package resource WinLauncher.template [Template for creating executable properties file] (add IconTest.properties to the resource-dir to customize). [2025-11-06T13:15:07.137Z] [13:13:50.729] Succeeded in building Windows Application Image package [2025-11-06T13:15:07.137Z] [13:13:50.742] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.138Z] [13:13:50.743] TRACE: assertEquals(0): Check command [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\test.e40bd2ca\input --dest .\test.e40bd2ca\out-13052 --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-06T13:15:07.138Z] [13:13:50.805] TRACE: Set icon of [.\test.e40bd2ca\icons\x.exe\container.exe] launcher to [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon3.ico] file [2025-11-06T13:15:07.138Z] [13:13:50.933] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.e40bd2ca\icons\x.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.e40bd2ca\icons\x.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T13:15:07.138Z] [13:13:52.580] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.138Z] [13:13:52.581] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.e40bd2ca\icons\x.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.e40bd2ca\icons\x.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T13:15:07.138Z] [13:13:52.581] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.e40bd2ca\output\IconTest\x.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.e40bd2ca\icons\x.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T13:15:07.138Z] [13:13:52.858] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.138Z] [13:13:52.858] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.e40bd2ca\output\IconTest\x.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.e40bd2ca\icons\x.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T13:15:07.138Z] [13:13:52.858] 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-06T13:15:07.138Z] [13:13:52.861] TRACE: assertTrue(): Check [.\test.e40bd2ca\output\IconTest\x.exe] path exists [2025-11-06T13:15:07.138Z] [13:13:52.861] TRACE: assertTrue(): Check [.\test.e40bd2ca\output\IconTest\x.exe] is a file [2025-11-06T13:15:07.138Z] [13:13:52.861] TRACE: assertTrue(): Check [.\test.e40bd2ca\output\IconTest\x.exe] file is executable [2025-11-06T13:15:07.138Z] [13:13:52.864] TRACE: Not running .\test.e40bd2ca\output\IconTest\x.exe launcher because application runtime directory [.\test.e40bd2ca\output\IconTest\runtime] is incomplete [2025-11-06T13:15:07.138Z] [13:13:52.866] TRACE: assertStringListEquals(): Check there is only one file with [.jpackage.xml] name in the package [2025-11-06T13:15:07.138Z] [13:13:52.868] TRACE: assertStringListEquals(1, .\test.e40bd2ca\output\IconTest\app\.jpackage.xml) [2025-11-06T13:15:07.138Z] [13:13:52.868] TRACE: assertTrue(): Check [.\test.e40bd2ca\output\IconTest\runtime] path exists [2025-11-06T13:15:07.138Z] [13:13:52.868] TRACE: assertTrue(): Check [.\test.e40bd2ca\output\IconTest\runtime] is a directory [2025-11-06T13:15:07.138Z] [13:13:52.869] TRACE: assertTrue(): Check [.\test.e40bd2ca\output\IconTest\IconTest.exe] path exists [2025-11-06T13:15:07.138Z] [13:13:52.869] TRACE: assertTrue(): Check [.\test.e40bd2ca\output\IconTest\IconTest.exe] is a file [2025-11-06T13:15:07.138Z] [13:13:52.869] TRACE: assertTrue(): Check [.\test.e40bd2ca\output\IconTest\IconTest.exe] file is executable [2025-11-06T13:15:07.138Z] [13:13:52.869] TRACE: assertTrue(): Check [.\test.e40bd2ca\output\IconTest\app\IconTest.cfg] path exists [2025-11-06T13:15:07.138Z] [13:13:52.869] TRACE: assertTrue(): Check [.\test.e40bd2ca\output\IconTest\app\IconTest.cfg] is a file [2025-11-06T13:15:07.138Z] [13:13:52.870] TRACE: assertTrue(): Check [.\test.e40bd2ca\output\IconTest\IconTest.ico] path doesn't exist [2025-11-06T13:15:07.138Z] [13:13:52.872] TRACE: Set icon of [.\test.e40bd2ca\icons\IconTest.exe\container.exe] launcher to [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon.ico] file [2025-11-06T13:15:07.138Z] [13:13:53.001] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.e40bd2ca\icons\IconTest.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.e40bd2ca\icons\IconTest.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T13:15:07.138Z] [13:13:53.403] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.138Z] [13:13:53.404] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.e40bd2ca\icons\IconTest.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.e40bd2ca\icons\IconTest.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T13:15:07.138Z] [13:13:53.404] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.e40bd2ca\output\IconTest\IconTest.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.e40bd2ca\icons\IconTest.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T13:15:07.138Z] [13:13:53.679] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.138Z] [13:13:53.679] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.e40bd2ca\output\IconTest\IconTest.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.e40bd2ca\icons\IconTest.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T13:15:07.138Z] [13:13:53.680] 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-06T13:15:07.138Z] [13:13:53.684] TRACE: assertNotNull([13:13:49.500] Using custom package resource [icon] (loaded from file C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\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-06T13:15:07.138Z] [13:13:53.684] TRACE: assertNotNull([13:13:49.500] Using custom package resource [icon] (loaded from file C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\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-06T13:15:07.138Z] [13:13:53.685] TRACE: Deleting [.\test.e40bd2ca] directory recursively [2025-11-06T13:15:07.138Z] [13:13:53.692] [ OK ] IconTest(AppImage, CustomIcon, CustomIcon).test; checks=25 [2025-11-06T13:15:07.138Z] [13:13:53.692] [ RUN ] IconTest(AppImage, CustomIcon, CustomWithResourceDirIcon).test [2025-11-06T13:15:07.138Z] [13:13:53.693] TRACE: Resource file: [.\test.793915af\resources\x.ico] <- [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon3.ico] [2025-11-06T13:15:07.139Z] [13:13:53.695] TRACE: exec: Execute tool provider [javac -d .\test.793915af\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4)... [2025-11-06T13:15:07.139Z] [13:13:53.815] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.139Z] [13:13:53.816] TRACE: assertEquals(0): Check command tool provider [javac -d .\test.793915af\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4) exited with 0 code [2025-11-06T13:15:07.139Z] [13:13:53.817] TRACE: exec: Execute tool provider [jar -c -f .\test.793915af\input\hello.jar -C .\test.793915af\jar-workdir .](7)... [2025-11-06T13:15:07.139Z] [13:13:53.839] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.139Z] [13:13:53.839] 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-06T13:15:07.139Z] [13:13:53.840] TRACE: Create [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.793915af\x.properties] properties file... [2025-11-06T13:15:07.139Z] [13:13:53.840] TRACE: icon=C:/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/tools/jpackage/resources/icon4.ico [2025-11-06T13:15:07.139Z] [13:13:53.841] TRACE: Done [2025-11-06T13:15:07.139Z] [13:13:53.841] TRACE: Init fake runtime in [.\test.793915af\fake_runtime] directory [2025-11-06T13:15:07.139Z] [13:13:53.843] TRACE: Files in [.\test.793915af\resources] resource dir: [2025-11-06T13:15:07.139Z] [13:13:53.845] TRACE: [x.ico] [2025-11-06T13:15:07.139Z] [13:13:53.845] TRACE: Done [2025-11-06T13:15:07.139Z] [13:13:53.845] TRACE: exec: Execute [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\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 --resource-dir .\test.793915af\resources --icon C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon.ico --add-launcher x=.\test.793915af\x.properties --runtime-image .\test.793915af\fake_runtime --verbose](23); save output... [2025-11-06T13:15:07.139Z] [13:13:54.157] Creating app package: IconTest in C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\.\test.793915af\output [2025-11-06T13:15:07.139Z] [13:13:54.180] Using custom package resource [icon] (loaded from file C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon.ico). [2025-11-06T13:15:07.139Z] [13:13:54.197] 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\jenkins\AppData\Local\Temp\jdk.jpackage6558466998722010510". [2025-11-06T13:15:07.139Z] [13:13:54.339] Using default package resource WinLauncher.template [Template for creating executable properties file] (add IconTest.properties to the resource-dir to customize). [2025-11-06T13:15:07.139Z] [13:13:54.416] Using custom package resource [icon] (loaded from file C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon4.ico). [2025-11-06T13:15:07.139Z] [13:13:54.432] 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\jenkins\AppData\Local\Temp\jdk.jpackage6558466998722010510". [2025-11-06T13:15:07.139Z] [13:13:54.567] Using default package resource WinLauncher.template [Template for creating executable properties file] (add x.properties to the resource-dir to customize). [2025-11-06T13:15:07.139Z] [13:13:54.575] Succeeded in building Windows Application Image package [2025-11-06T13:15:07.139Z] [13:13:54.588] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.139Z] [13:13:54.589] TRACE: assertEquals(0): Check command [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\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 --resource-dir .\test.793915af\resources --icon C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon.ico --add-launcher x=.\test.793915af\x.properties --runtime-image .\test.793915af\fake_runtime --verbose](23) exited with 0 code [2025-11-06T13:15:07.139Z] [13:13:54.589] TRACE: assertTrue(): Check [.\test.793915af\output\IconTest\x.ico] path doesn't exist [2025-11-06T13:15:07.139Z] [13:13:54.591] TRACE: exec: Execute tool provider [javac -d .\test.793915af\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4)... [2025-11-06T13:15:07.139Z] [13:13:54.772] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.139Z] [13:13:54.772] TRACE: assertEquals(0): Check command tool provider [javac -d .\test.793915af\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4) exited with 0 code [2025-11-06T13:15:07.139Z] [13:13:54.773] TRACE: Delete [.\test.793915af\input\hello.jar] existing jar file [2025-11-06T13:15:07.139Z] [13:13:54.774] TRACE: exec: Execute tool provider [jar -c -f .\test.793915af\input\hello.jar -C .\test.793915af\jar-workdir .](7)... [2025-11-06T13:15:07.139Z] [13:13:54.795] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.139Z] [13:13:54.795] 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-06T13:15:07.139Z] [13:13:54.796] TRACE: Init fake runtime in [.\test.793915af\fake_runtime] directory [2025-11-06T13:15:07.139Z] [13:13:54.797] TRACE: exec: Execute [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\test.793915af\input --dest .\test.793915af\out-13052 --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-06T13:15:07.139Z] [13:13:55.094] Creating app package: IconTest in C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\.\test.793915af\out-13052 [2025-11-06T13:15:07.139Z] [13:13:55.118] Using default package resource JavaApp.ico [icon] (add IconTest.ico to the resource-dir to customize). [2025-11-06T13:15:07.139Z] [13:13:55.135] 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\jenkins\AppData\Local\Temp\jdk.jpackage9348787848247316168". [2025-11-06T13:15:07.139Z] [13:13:55.271] Using default package resource WinLauncher.template [Template for creating executable properties file] (add IconTest.properties to the resource-dir to customize). [2025-11-06T13:15:07.139Z] [13:13:55.350] Succeeded in building Windows Application Image package [2025-11-06T13:15:07.139Z] [13:13:55.362] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.139Z] [13:13:55.363] TRACE: assertEquals(0): Check command [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\test.793915af\input --dest .\test.793915af\out-13052 --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-06T13:15:07.139Z] [13:13:55.424] TRACE: Set icon of [.\test.793915af\icons\x.exe\container.exe] launcher to [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon4.ico] file [2025-11-06T13:15:07.139Z] [13:13:55.553] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.793915af\icons\x.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.793915af\icons\x.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T13:15:07.139Z] [13:13:55.983] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.139Z] [13:13:55.983] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.793915af\icons\x.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.793915af\icons\x.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T13:15:07.139Z] [13:13:55.984] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.793915af\output\IconTest\x.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.793915af\icons\x.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T13:15:07.139Z] [13:13:56.261] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.139Z] [13:13:56.261] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.793915af\output\IconTest\x.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.793915af\icons\x.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T13:15:07.139Z] [13:13:56.262] 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-06T13:15:07.140Z] [13:13:56.264] TRACE: assertTrue(): Check [.\test.793915af\output\IconTest\x.exe] path exists [2025-11-06T13:15:07.140Z] [13:13:56.264] TRACE: assertTrue(): Check [.\test.793915af\output\IconTest\x.exe] is a file [2025-11-06T13:15:07.140Z] [13:13:56.264] TRACE: assertTrue(): Check [.\test.793915af\output\IconTest\x.exe] file is executable [2025-11-06T13:15:07.140Z] [13:13:56.265] TRACE: Not running .\test.793915af\output\IconTest\x.exe launcher because application runtime directory [.\test.793915af\output\IconTest\runtime] is incomplete [2025-11-06T13:15:07.140Z] [13:13:56.265] TRACE: assertStringListEquals(): Check there is only one file with [.jpackage.xml] name in the package [2025-11-06T13:15:07.140Z] [13:13:56.266] TRACE: assertStringListEquals(1, .\test.793915af\output\IconTest\app\.jpackage.xml) [2025-11-06T13:15:07.140Z] [13:13:56.266] TRACE: assertTrue(): Check [.\test.793915af\output\IconTest\runtime] path exists [2025-11-06T13:15:07.140Z] [13:13:56.266] TRACE: assertTrue(): Check [.\test.793915af\output\IconTest\runtime] is a directory [2025-11-06T13:15:07.140Z] [13:13:56.266] TRACE: assertTrue(): Check [.\test.793915af\output\IconTest\IconTest.exe] path exists [2025-11-06T13:15:07.140Z] [13:13:56.266] TRACE: assertTrue(): Check [.\test.793915af\output\IconTest\IconTest.exe] is a file [2025-11-06T13:15:07.140Z] [13:13:56.266] TRACE: assertTrue(): Check [.\test.793915af\output\IconTest\IconTest.exe] file is executable [2025-11-06T13:15:07.140Z] [13:13:56.266] TRACE: assertTrue(): Check [.\test.793915af\output\IconTest\app\IconTest.cfg] path exists [2025-11-06T13:15:07.140Z] [13:13:56.266] TRACE: assertTrue(): Check [.\test.793915af\output\IconTest\app\IconTest.cfg] is a file [2025-11-06T13:15:07.140Z] [13:13:56.267] TRACE: assertTrue(): Check [.\test.793915af\output\IconTest\IconTest.ico] path doesn't exist [2025-11-06T13:15:07.140Z] [13:13:56.269] TRACE: Set icon of [.\test.793915af\icons\IconTest.exe\container.exe] launcher to [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon.ico] file [2025-11-06T13:15:07.140Z] [13:13:56.414] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.793915af\icons\IconTest.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.793915af\icons\IconTest.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T13:15:07.140Z] [13:13:56.837] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.140Z] [13:13:56.838] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.793915af\icons\IconTest.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.793915af\icons\IconTest.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T13:15:07.141Z] [13:13:56.838] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.793915af\output\IconTest\IconTest.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.793915af\icons\IconTest.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T13:15:07.141Z] [13:13:57.128] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.141Z] [13:13:57.129] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.793915af\output\IconTest\IconTest.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.793915af\icons\IconTest.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T13:15:07.141Z] [13:13:57.129] 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-06T13:15:07.141Z] [13:13:57.131] TRACE: assertNotNull([13:13:54.180] Using custom package resource [icon] (loaded from file C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\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-06T13:15:07.141Z] [13:13:57.131] TRACE: assertNotNull([13:13:54.180] Using custom package resource [icon] (loaded from file C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\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-06T13:15:07.141Z] [13:13:57.132] TRACE: Deleting [.\test.793915af] directory recursively [2025-11-06T13:15:07.141Z] [13:13:57.138] [ OK ] IconTest(AppImage, CustomIcon, CustomWithResourceDirIcon).test; checks=25 [2025-11-06T13:15:07.141Z] [13:13:57.138] [ RUN ] IconTest(AppImage, CustomIcon, DefaultIcon).test [2025-11-06T13:15:07.141Z] [13:13:57.140] TRACE: exec: Execute tool provider [javac -d .\test.ee131ba8\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4)... [2025-11-06T13:15:07.141Z] [13:13:57.252] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.141Z] [13:13:57.252] TRACE: assertEquals(0): Check command tool provider [javac -d .\test.ee131ba8\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4) exited with 0 code [2025-11-06T13:15:07.141Z] [13:13:57.253] TRACE: exec: Execute tool provider [jar -c -f .\test.ee131ba8\input\hello.jar -C .\test.ee131ba8\jar-workdir .](7)... [2025-11-06T13:15:07.141Z] [13:13:57.279] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.141Z] [13:13:57.280] 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-06T13:15:07.141Z] [13:13:57.281] TRACE: Create [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.ee131ba8\x.properties] properties file... [2025-11-06T13:15:07.141Z] [13:13:57.281] TRACE: Done [2025-11-06T13:15:07.141Z] [13:13:57.281] TRACE: Init fake runtime in [.\test.ee131ba8\fake_runtime] directory [2025-11-06T13:15:07.141Z] [13:13:57.283] TRACE: exec: Execute [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\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_testList_2\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-06T13:15:07.141Z] [13:13:57.591] Creating app package: IconTest in C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\.\test.ee131ba8\output [2025-11-06T13:15:07.141Z] [13:13:57.616] Using custom package resource [icon] (loaded from file C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon.ico). [2025-11-06T13:15:07.141Z] [13:13:57.634] 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\jenkins\AppData\Local\Temp\jdk.jpackage18432206445273572506". [2025-11-06T13:15:07.141Z] [13:13:57.770] Using default package resource WinLauncher.template [Template for creating executable properties file] (add IconTest.properties to the resource-dir to customize). [2025-11-06T13:15:07.142Z] [13:13:57.853] Using custom package resource [icon] (loaded from file C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon.ico). [2025-11-06T13:15:07.142Z] [13:13:57.859] 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\jenkins\AppData\Local\Temp\jdk.jpackage18432206445273572506". [2025-11-06T13:15:07.142Z] [13:13:57.993] Using default package resource WinLauncher.template [Template for creating executable properties file] (add x.properties to the resource-dir to customize). [2025-11-06T13:15:07.142Z] [13:13:57.997] Succeeded in building Windows Application Image package [2025-11-06T13:15:07.142Z] [13:13:58.012] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.142Z] [13:13:58.012] TRACE: assertEquals(0): Check command [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\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_testList_2\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-06T13:15:07.142Z] [13:13:58.014] TRACE: assertTrue(): Check [.\test.ee131ba8\output\IconTest\x.ico] path doesn't exist [2025-11-06T13:15:07.142Z] [13:13:58.016] TRACE: exec: Execute tool provider [javac -d .\test.ee131ba8\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4)... [2025-11-06T13:15:07.142Z] [13:13:58.199] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.142Z] [13:13:58.199] TRACE: assertEquals(0): Check command tool provider [javac -d .\test.ee131ba8\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4) exited with 0 code [2025-11-06T13:15:07.142Z] [13:13:58.199] TRACE: Delete [.\test.ee131ba8\input\hello.jar] existing jar file [2025-11-06T13:15:07.142Z] [13:13:58.200] TRACE: exec: Execute tool provider [jar -c -f .\test.ee131ba8\input\hello.jar -C .\test.ee131ba8\jar-workdir .](7)... [2025-11-06T13:15:07.142Z] [13:13:58.221] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.142Z] [13:13:58.221] 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-06T13:15:07.142Z] [13:13:58.222] TRACE: Init fake runtime in [.\test.ee131ba8\fake_runtime] directory [2025-11-06T13:15:07.142Z] [13:13:58.223] TRACE: exec: Execute [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\test.ee131ba8\input --dest .\test.ee131ba8\out-13052 --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-06T13:15:07.142Z] [13:13:58.522] Creating app package: IconTest in C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\.\test.ee131ba8\out-13052 [2025-11-06T13:15:07.142Z] [13:13:58.546] Using default package resource JavaApp.ico [icon] (add IconTest.ico to the resource-dir to customize). [2025-11-06T13:15:07.142Z] [13:13:58.563] 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\jenkins\AppData\Local\Temp\jdk.jpackage13929835958528095635". [2025-11-06T13:15:07.142Z] [13:13:58.699] Using default package resource WinLauncher.template [Template for creating executable properties file] (add IconTest.properties to the resource-dir to customize). [2025-11-06T13:15:07.142Z] [13:13:58.773] Succeeded in building Windows Application Image package [2025-11-06T13:15:07.142Z] [13:13:58.785] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.143Z] [13:13:58.786] TRACE: assertEquals(0): Check command [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\test.ee131ba8\input --dest .\test.ee131ba8\out-13052 --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-06T13:15:07.143Z] [13:13:58.847] TRACE: Set icon of [.\test.ee131ba8\icons\x.exe\container.exe] launcher to [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon.ico] file [2025-11-06T13:15:07.143Z] [13:13:58.976] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.ee131ba8\icons\x.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.ee131ba8\icons\x.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T13:15:07.143Z] [13:13:59.378] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.143Z] [13:13:59.379] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.ee131ba8\icons\x.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.ee131ba8\icons\x.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T13:15:07.143Z] [13:13:59.379] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.ee131ba8\output\IconTest\x.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.ee131ba8\icons\x.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T13:15:07.143Z] [13:13:59.654] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.143Z] [13:13:59.655] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.ee131ba8\output\IconTest\x.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.ee131ba8\icons\x.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T13:15:07.143Z] [13:13:59.655] 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-06T13:15:07.143Z] [13:13:59.657] TRACE: assertTrue(): Check [.\test.ee131ba8\output\IconTest\x.exe] path exists [2025-11-06T13:15:07.143Z] [13:13:59.657] TRACE: assertTrue(): Check [.\test.ee131ba8\output\IconTest\x.exe] is a file [2025-11-06T13:15:07.143Z] [13:13:59.657] TRACE: assertTrue(): Check [.\test.ee131ba8\output\IconTest\x.exe] file is executable [2025-11-06T13:15:07.143Z] [13:13:59.658] TRACE: Not running .\test.ee131ba8\output\IconTest\x.exe launcher because application runtime directory [.\test.ee131ba8\output\IconTest\runtime] is incomplete [2025-11-06T13:15:07.143Z] [13:13:59.658] TRACE: assertStringListEquals(): Check there is only one file with [.jpackage.xml] name in the package [2025-11-06T13:15:07.143Z] [13:13:59.659] TRACE: assertStringListEquals(1, .\test.ee131ba8\output\IconTest\app\.jpackage.xml) [2025-11-06T13:15:07.143Z] [13:13:59.659] TRACE: assertTrue(): Check [.\test.ee131ba8\output\IconTest\runtime] path exists [2025-11-06T13:15:07.143Z] [13:13:59.659] TRACE: assertTrue(): Check [.\test.ee131ba8\output\IconTest\runtime] is a directory [2025-11-06T13:15:07.143Z] [13:13:59.659] TRACE: assertTrue(): Check [.\test.ee131ba8\output\IconTest\IconTest.exe] path exists [2025-11-06T13:15:07.143Z] [13:13:59.659] TRACE: assertTrue(): Check [.\test.ee131ba8\output\IconTest\IconTest.exe] is a file [2025-11-06T13:15:07.143Z] [13:13:59.659] TRACE: assertTrue(): Check [.\test.ee131ba8\output\IconTest\IconTest.exe] file is executable [2025-11-06T13:15:07.143Z] [13:13:59.659] TRACE: assertTrue(): Check [.\test.ee131ba8\output\IconTest\app\IconTest.cfg] path exists [2025-11-06T13:15:07.143Z] [13:13:59.660] TRACE: assertTrue(): Check [.\test.ee131ba8\output\IconTest\app\IconTest.cfg] is a file [2025-11-06T13:15:07.143Z] [13:13:59.660] TRACE: assertTrue(): Check [.\test.ee131ba8\output\IconTest\IconTest.ico] path doesn't exist [2025-11-06T13:15:07.143Z] [13:13:59.662] TRACE: Set icon of [.\test.ee131ba8\icons\IconTest.exe\container.exe] launcher to [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon.ico] file [2025-11-06T13:15:07.143Z] [13:13:59.791] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.ee131ba8\icons\IconTest.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.ee131ba8\icons\IconTest.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T13:15:07.146Z] [13:14:00.206] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.146Z] [13:14:00.207] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.ee131ba8\icons\IconTest.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.ee131ba8\icons\IconTest.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T13:15:07.146Z] [13:14:00.207] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.ee131ba8\output\IconTest\IconTest.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.ee131ba8\icons\IconTest.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T13:15:07.146Z] [13:14:00.493] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.146Z] [13:14:00.494] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.ee131ba8\output\IconTest\IconTest.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.ee131ba8\icons\IconTest.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T13:15:07.146Z] [13:14:00.494] 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-06T13:15:07.146Z] [13:14:00.496] TRACE: assertNotNull([13:13:57.616] Using custom package resource [icon] (loaded from file C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\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-06T13:15:07.146Z] [13:14:00.496] TRACE: assertNotNull([13:13:57.616] Using custom package resource [icon] (loaded from file C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\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-06T13:15:07.146Z] [13:14:00.497] TRACE: Deleting [.\test.ee131ba8] directory recursively [2025-11-06T13:15:07.146Z] [13:14:00.503] [ OK ] IconTest(AppImage, CustomIcon, DefaultIcon).test; checks=25 [2025-11-06T13:15:07.146Z] [13:14:00.503] [ RUN ] IconTest(AppImage, CustomIcon, NoIcon).test [2025-11-06T13:15:07.146Z] [13:14:00.505] TRACE: exec: Execute tool provider [javac -d .\test.3b95dd9a\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4)... [2025-11-06T13:15:07.146Z] [13:14:00.599] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.146Z] [13:14:00.599] TRACE: assertEquals(0): Check command tool provider [javac -d .\test.3b95dd9a\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4) exited with 0 code [2025-11-06T13:15:07.146Z] [13:14:00.600] TRACE: exec: Execute tool provider [jar -c -f .\test.3b95dd9a\input\hello.jar -C .\test.3b95dd9a\jar-workdir .](7)... [2025-11-06T13:15:07.146Z] [13:14:00.622] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.146Z] [13:14:00.622] 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-06T13:15:07.146Z] [13:14:00.623] TRACE: Create [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.3b95dd9a\x.properties] properties file... [2025-11-06T13:15:07.146Z] [13:14:00.623] TRACE: icon= [2025-11-06T13:15:07.146Z] [13:14:00.624] TRACE: Done [2025-11-06T13:15:07.146Z] [13:14:00.624] TRACE: Init fake runtime in [.\test.3b95dd9a\fake_runtime] directory [2025-11-06T13:15:07.146Z] [13:14:00.626] TRACE: exec: Execute [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\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_testList_2\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-06T13:15:07.146Z] [13:14:00.939] Creating app package: IconTest in C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\.\test.3b95dd9a\output [2025-11-06T13:15:07.146Z] [13:14:00.963] Using custom package resource [icon] (loaded from file C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon.ico). [2025-11-06T13:15:07.146Z] [13:14:00.978] 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\jenkins\AppData\Local\Temp\jdk.jpackage14860174495496672274". [2025-11-06T13:15:07.146Z] [13:14:01.115] Using default package resource WinLauncher.template [Template for creating executable properties file] (add IconTest.properties to the resource-dir to customize). [2025-11-06T13:15:07.146Z] [13:14:01.197] 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\jenkins\AppData\Local\Temp\jdk.jpackage14860174495496672274". [2025-11-06T13:15:07.146Z] [13:14:01.334] Using default package resource WinLauncher.template [Template for creating executable properties file] (add x.properties to the resource-dir to customize). [2025-11-06T13:15:07.146Z] [13:14:01.338] Succeeded in building Windows Application Image package [2025-11-06T13:15:07.146Z] [13:14:01.350] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.146Z] [13:14:01.351] TRACE: assertEquals(0): Check command [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\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_testList_2\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-06T13:15:07.146Z] [13:14:01.351] TRACE: assertTrue(): Check [.\test.3b95dd9a\output\IconTest\x.ico] path doesn't exist [2025-11-06T13:15:07.146Z] [13:14:01.353] TRACE: exec: Execute tool provider [javac -d .\test.3b95dd9a\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4)... [2025-11-06T13:15:07.146Z] [13:14:01.512] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.146Z] [13:14:01.512] TRACE: assertEquals(0): Check command tool provider [javac -d .\test.3b95dd9a\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4) exited with 0 code [2025-11-06T13:15:07.146Z] [13:14:01.512] TRACE: Delete [.\test.3b95dd9a\input\hello.jar] existing jar file [2025-11-06T13:15:07.146Z] [13:14:01.514] TRACE: exec: Execute tool provider [jar -c -f .\test.3b95dd9a\input\hello.jar -C .\test.3b95dd9a\jar-workdir .](7)... [2025-11-06T13:15:07.146Z] [13:14:01.536] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.146Z] [13:14:01.536] 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-06T13:15:07.146Z] [13:14:01.537] TRACE: Init fake runtime in [.\test.3b95dd9a\fake_runtime] directory [2025-11-06T13:15:07.146Z] [13:14:01.538] TRACE: Create [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.3b95dd9a\no-icon.properties] properties file... [2025-11-06T13:15:07.147Z] [13:14:01.538] TRACE: icon= [2025-11-06T13:15:07.147Z] [13:14:01.539] TRACE: Done [2025-11-06T13:15:07.147Z] [13:14:01.540] TRACE: exec: Execute [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\test.3b95dd9a\input --dest .\test.3b95dd9a\out-13052 --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-06T13:15:07.147Z] [13:14:01.849] Creating app package: IconTest in C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\.\test.3b95dd9a\out-13052 [2025-11-06T13:15:07.147Z] [13:14:01.873] Using default package resource JavaApp.ico [icon] (add IconTest.ico to the resource-dir to customize). [2025-11-06T13:15:07.147Z] [13:14:01.889] 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\jenkins\AppData\Local\Temp\jdk.jpackage6175169503053452377". [2025-11-06T13:15:07.147Z] [13:14:02.025] Using default package resource WinLauncher.template [Template for creating executable properties file] (add IconTest.properties to the resource-dir to customize). [2025-11-06T13:15:07.147Z] [13:14:02.072] 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\jenkins\AppData\Local\Temp\jdk.jpackage6175169503053452377". [2025-11-06T13:15:07.147Z] [13:14:02.211] Using default package resource WinLauncher.template [Template for creating executable properties file] (add no-icon.properties to the resource-dir to customize). [2025-11-06T13:15:07.147Z] [13:14:02.215] Succeeded in building Windows Application Image package [2025-11-06T13:15:07.147Z] [13:14:02.227] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.147Z] [13:14:02.228] TRACE: assertEquals(0): Check command [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\test.3b95dd9a\input --dest .\test.3b95dd9a\out-13052 --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-06T13:15:07.147Z] [13:14:02.228] TRACE: assertTrue(): Check [.\test.3b95dd9a\out-13052\IconTest\no-icon.ico] path doesn't exist [2025-11-06T13:15:07.147Z] [13:14:02.349] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.3b95dd9a\icons.0\no-icon.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.3b95dd9a\icons.0\no-icon.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T13:15:07.147Z] [13:14:03.126] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.147Z] [13:14:03.126] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.3b95dd9a\icons.0\no-icon.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.3b95dd9a\icons.0\no-icon.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T13:15:07.147Z] [13:14:03.126] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.3b95dd9a\out-13052\IconTest\no-icon.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.3b95dd9a\icons.0\no-icon.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T13:15:07.147Z] [13:14:03.445] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.147Z] [13:14:03.445] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.3b95dd9a\out-13052\IconTest\no-icon.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.3b95dd9a\icons.0\no-icon.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T13:15:07.147Z] [13:14:03.446] 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-06T13:15:07.147Z] [13:14:03.481] TRACE: assertEquals(32): Check expected and actual icons have the same width [2025-11-06T13:15:07.147Z] [13:14:03.481] TRACE: assertEquals(32): Check expected and actual icons have the same height [2025-11-06T13:15:07.147Z] [13:14:03.481] TRACE: Images mismatch at [9, 9] pixel [2025-11-06T13:15:07.147Z] [13:14:03.482] TRACE: Images mismatch at [9, 10] pixel [2025-11-06T13:15:07.147Z] [13:14:03.482] TRACE: Images mismatch at [9, 11] pixel [2025-11-06T13:15:07.147Z] [13:14:03.482] TRACE: Images mismatch at [9, 12] pixel [2025-11-06T13:15:07.147Z] [13:14:03.482] TRACE: Images mismatch at [9, 13] pixel [2025-11-06T13:15:07.147Z] [13:14:03.482] TRACE: Images mismatch at [9, 14] pixel [2025-11-06T13:15:07.147Z] [13:14:03.482] TRACE: Images mismatch at [9, 15] pixel [2025-11-06T13:15:07.147Z] [13:14:03.482] TRACE: Images mismatch at [9, 16] pixel [2025-11-06T13:15:07.147Z] [13:14:03.482] TRACE: Images mismatch at [9, 17] pixel [2025-11-06T13:15:07.147Z] [13:14:03.482] TRACE: Images mismatch at [9, 18] pixel [2025-11-06T13:15:07.147Z] [13:14:03.482] TRACE: Images mismatch at [9, 19] pixel [2025-11-06T13:15:07.147Z] [13:14:03.482] TRACE: Images mismatch at [9, 20] pixel [2025-11-06T13:15:07.147Z] [13:14:03.482] TRACE: Images mismatch at [9, 21] pixel [2025-11-06T13:15:07.147Z] [13:14:03.482] TRACE: Images mismatch at [9, 22] pixel [2025-11-06T13:15:07.147Z] [13:14:03.482] TRACE: Images mismatch at [10, 9] pixel [2025-11-06T13:15:07.147Z] [13:14:03.482] TRACE: Images mismatch at [10, 10] pixel [2025-11-06T13:15:07.147Z] [13:14:03.483] TRACE: Images mismatch at [10, 11] pixel [2025-11-06T13:15:07.147Z] [13:14:03.483] TRACE: Images mismatch at [10, 12] pixel [2025-11-06T13:15:07.147Z] [13:14:03.483] TRACE: Images mismatch at [10, 13] pixel [2025-11-06T13:15:07.147Z] [13:14:03.483] TRACE: Images mismatch at [10, 14] pixel [2025-11-06T13:15:07.147Z] [13:14:03.483] TRACE: Images mismatch at [10, 15] pixel [2025-11-06T13:15:07.147Z] [13:14:03.483] TRACE: Images mismatch at [10, 16] pixel [2025-11-06T13:15:07.147Z] [13:14:03.483] TRACE: Images mismatch at [10, 17] pixel [2025-11-06T13:15:07.147Z] [13:14:03.483] TRACE: Images mismatch at [10, 18] pixel [2025-11-06T13:15:07.147Z] [13:14:03.483] TRACE: Images mismatch at [10, 19] pixel [2025-11-06T13:15:07.147Z] [13:14:03.483] TRACE: Images mismatch at [10, 20] pixel [2025-11-06T13:15:07.147Z] [13:14:03.483] TRACE: Images mismatch at [10, 21] pixel [2025-11-06T13:15:07.147Z] [13:14:03.483] TRACE: Images mismatch at [10, 22] pixel [2025-11-06T13:15:07.147Z] [13:14:03.483] TRACE: Images mismatch at [11, 9] pixel [2025-11-06T13:15:07.147Z] [13:14:03.483] TRACE: Images mismatch at [11, 10] pixel [2025-11-06T13:15:07.147Z] [13:14:03.483] TRACE: Images mismatch at [11, 11] pixel [2025-11-06T13:15:07.147Z] [13:14:03.483] TRACE: Images mismatch at [11, 12] pixel [2025-11-06T13:15:07.147Z] [13:14:03.483] TRACE: Images mismatch at [11, 13] pixel [2025-11-06T13:15:07.147Z] [13:14:03.484] TRACE: Images mismatch at [11, 14] pixel [2025-11-06T13:15:07.147Z] [13:14:03.484] TRACE: Images mismatch at [11, 15] pixel [2025-11-06T13:15:07.147Z] [13:14:03.484] TRACE: Images mismatch at [11, 16] pixel [2025-11-06T13:15:07.147Z] [13:14:03.484] TRACE: Images mismatch at [11, 17] pixel [2025-11-06T13:15:07.147Z] [13:14:03.484] TRACE: Images mismatch at [11, 18] pixel [2025-11-06T13:15:07.147Z] [13:14:03.484] TRACE: Images mismatch at [11, 19] pixel [2025-11-06T13:15:07.147Z] [13:14:03.484] TRACE: Images mismatch at [11, 20] pixel [2025-11-06T13:15:07.147Z] [13:14:03.484] TRACE: Images mismatch at [11, 21] pixel [2025-11-06T13:15:07.147Z] [13:14:03.484] TRACE: Images mismatch at [11, 22] pixel [2025-11-06T13:15:07.147Z] [13:14:03.484] TRACE: Images mismatch at [12, 9] pixel [2025-11-06T13:15:07.147Z] [13:14:03.484] TRACE: Images mismatch at [12, 10] pixel [2025-11-06T13:15:07.147Z] [13:14:03.484] TRACE: Images mismatch at [12, 11] pixel [2025-11-06T13:15:07.147Z] [13:14:03.484] TRACE: Images mismatch at [12, 12] pixel [2025-11-06T13:15:07.147Z] [13:14:03.484] TRACE: Images mismatch at [12, 13] pixel [2025-11-06T13:15:07.147Z] [13:14:03.484] TRACE: Images mismatch at [12, 14] pixel [2025-11-06T13:15:07.147Z] [13:14:03.484] TRACE: Images mismatch at [12, 15] pixel [2025-11-06T13:15:07.147Z] [13:14:03.484] TRACE: Images mismatch at [12, 16] pixel [2025-11-06T13:15:07.147Z] [13:14:03.484] TRACE: Images mismatch at [12, 17] pixel [2025-11-06T13:15:07.148Z] [13:14:03.485] TRACE: Images mismatch at [12, 18] pixel [2025-11-06T13:15:07.148Z] [13:14:03.485] TRACE: Images mismatch at [12, 19] pixel [2025-11-06T13:15:07.148Z] [13:14:03.485] TRACE: Images mismatch at [12, 20] pixel [2025-11-06T13:15:07.148Z] [13:14:03.485] TRACE: Images mismatch at [12, 21] pixel [2025-11-06T13:15:07.148Z] [13:14:03.485] TRACE: Images mismatch at [12, 22] pixel [2025-11-06T13:15:07.148Z] [13:14:03.485] TRACE: Images mismatch at [13, 9] pixel [2025-11-06T13:15:07.148Z] [13:14:03.485] TRACE: Images mismatch at [13, 10] pixel [2025-11-06T13:15:07.148Z] [13:14:03.485] TRACE: Images mismatch at [13, 11] pixel [2025-11-06T13:15:07.148Z] [13:14:03.485] TRACE: Images mismatch at [13, 12] pixel [2025-11-06T13:15:07.148Z] [13:14:03.485] TRACE: Images mismatch at [13, 13] pixel [2025-11-06T13:15:07.148Z] [13:14:03.485] TRACE: Images mismatch at [13, 14] pixel [2025-11-06T13:15:07.148Z] [13:14:03.485] TRACE: Images mismatch at [13, 15] pixel [2025-11-06T13:15:07.148Z] [13:14:03.485] TRACE: Images mismatch at [13, 16] pixel [2025-11-06T13:15:07.148Z] [13:14:03.485] TRACE: Images mismatch at [13, 17] pixel [2025-11-06T13:15:07.148Z] [13:14:03.485] TRACE: Images mismatch at [13, 18] pixel [2025-11-06T13:15:07.148Z] [13:14:03.485] TRACE: Images mismatch at [13, 19] pixel [2025-11-06T13:15:07.148Z] [13:14:03.485] TRACE: Images mismatch at [13, 20] pixel [2025-11-06T13:15:07.148Z] [13:14:03.485] TRACE: Images mismatch at [13, 21] pixel [2025-11-06T13:15:07.148Z] [13:14:03.486] TRACE: Images mismatch at [13, 22] pixel [2025-11-06T13:15:07.148Z] [13:14:03.486] TRACE: Images mismatch at [14, 9] pixel [2025-11-06T13:15:07.148Z] [13:14:03.486] TRACE: Images mismatch at [14, 10] pixel [2025-11-06T13:15:07.148Z] [13:14:03.486] TRACE: Images mismatch at [14, 11] pixel [2025-11-06T13:15:07.148Z] [13:14:03.486] TRACE: Images mismatch at [14, 12] pixel [2025-11-06T13:15:07.148Z] [13:14:03.486] TRACE: Images mismatch at [14, 13] pixel [2025-11-06T13:15:07.148Z] [13:14:03.486] TRACE: Images mismatch at [14, 14] pixel [2025-11-06T13:15:07.148Z] [13:14:03.486] TRACE: Images mismatch at [14, 15] pixel [2025-11-06T13:15:07.148Z] [13:14:03.486] TRACE: Images mismatch at [14, 16] pixel [2025-11-06T13:15:07.148Z] [13:14:03.486] TRACE: Images mismatch at [14, 17] pixel [2025-11-06T13:15:07.148Z] [13:14:03.486] TRACE: Images mismatch at [14, 18] pixel [2025-11-06T13:15:07.148Z] [13:14:03.486] TRACE: Images mismatch at [14, 19] pixel [2025-11-06T13:15:07.148Z] [13:14:03.486] TRACE: Images mismatch at [14, 20] pixel [2025-11-06T13:15:07.148Z] [13:14:03.486] TRACE: Images mismatch at [14, 21] pixel [2025-11-06T13:15:07.148Z] [13:14:03.486] TRACE: Images mismatch at [14, 22] pixel [2025-11-06T13:15:07.148Z] [13:14:03.486] TRACE: Images mismatch at [15, 9] pixel [2025-11-06T13:15:07.148Z] [13:14:03.486] TRACE: Images mismatch at [15, 10] pixel [2025-11-06T13:15:07.148Z] [13:14:03.486] TRACE: Images mismatch at [15, 11] pixel [2025-11-06T13:15:07.148Z] [13:14:03.486] TRACE: Images mismatch at [15, 12] pixel [2025-11-06T13:15:07.148Z] [13:14:03.487] TRACE: Images mismatch at [15, 13] pixel [2025-11-06T13:15:07.148Z] [13:14:03.487] TRACE: Images mismatch at [15, 14] pixel [2025-11-06T13:15:07.148Z] [13:14:03.487] TRACE: Images mismatch at [15, 15] pixel [2025-11-06T13:15:07.148Z] [13:14:03.487] TRACE: Images mismatch at [15, 16] pixel [2025-11-06T13:15:07.148Z] [13:14:03.487] TRACE: Images mismatch at [15, 17] pixel [2025-11-06T13:15:07.148Z] [13:14:03.487] TRACE: Images mismatch at [15, 18] pixel [2025-11-06T13:15:07.148Z] [13:14:03.487] TRACE: Images mismatch at [15, 19] pixel [2025-11-06T13:15:07.148Z] [13:14:03.487] TRACE: Images mismatch at [15, 20] pixel [2025-11-06T13:15:07.148Z] [13:14:03.487] TRACE: Images mismatch at [15, 21] pixel [2025-11-06T13:15:07.148Z] [13:14:03.487] TRACE: Images mismatch at [15, 22] pixel [2025-11-06T13:15:07.148Z] [13:14:03.487] TRACE: Images mismatch at [16, 9] pixel [2025-11-06T13:15:07.148Z] [13:14:03.487] TRACE: Images mismatch at [16, 10] pixel [2025-11-06T13:15:07.148Z] [13:14:03.487] TRACE: Images mismatch at [16, 11] pixel [2025-11-06T13:15:07.148Z] [13:14:03.487] TRACE: Images mismatch at [16, 12] pixel [2025-11-06T13:15:07.148Z] [13:14:03.487] TRACE: Images mismatch at [16, 13] pixel [2025-11-06T13:15:07.148Z] [13:14:03.487] TRACE: Images mismatch at [16, 14] pixel [2025-11-06T13:15:07.148Z] [13:14:03.488] TRACE: Images mismatch at [16, 15] pixel [2025-11-06T13:15:07.148Z] [13:14:03.488] TRACE: Images mismatch at [16, 16] pixel [2025-11-06T13:15:07.148Z] [13:14:03.488] TRACE: Images mismatch at [16, 17] pixel [2025-11-06T13:15:07.148Z] [13:14:03.488] TRACE: Images mismatch at [16, 18] pixel [2025-11-06T13:15:07.148Z] [13:14:03.488] TRACE: Images mismatch at [16, 19] pixel [2025-11-06T13:15:07.148Z] [13:14:03.488] TRACE: Images mismatch at [16, 20] pixel [2025-11-06T13:15:07.148Z] [13:14:03.488] TRACE: Images mismatch at [16, 21] pixel [2025-11-06T13:15:07.148Z] [13:14:03.488] TRACE: Images mismatch at [16, 22] pixel [2025-11-06T13:15:07.148Z] [13:14:03.488] TRACE: Images mismatch at [17, 9] pixel [2025-11-06T13:15:07.148Z] [13:14:03.488] TRACE: Images mismatch at [17, 10] pixel [2025-11-06T13:15:07.148Z] [13:14:03.488] TRACE: Images mismatch at [17, 11] pixel [2025-11-06T13:15:07.148Z] [13:14:03.488] TRACE: Images mismatch at [17, 12] pixel [2025-11-06T13:15:07.148Z] [13:14:03.488] TRACE: Images mismatch at [17, 13] pixel [2025-11-06T13:15:07.148Z] [13:14:03.488] TRACE: Images mismatch at [17, 14] pixel [2025-11-06T13:15:07.148Z] [13:14:03.488] TRACE: Images mismatch at [17, 15] pixel [2025-11-06T13:15:07.148Z] [13:14:03.488] TRACE: Images mismatch at [17, 16] pixel [2025-11-06T13:15:07.148Z] [13:14:03.488] TRACE: Images mismatch at [17, 17] pixel [2025-11-06T13:15:07.148Z] [13:14:03.489] TRACE: Images mismatch at [17, 18] pixel [2025-11-06T13:15:07.148Z] [13:14:03.489] TRACE: Images mismatch at [17, 19] pixel [2025-11-06T13:15:07.148Z] [13:14:03.489] TRACE: Images mismatch at [17, 20] pixel [2025-11-06T13:15:07.148Z] [13:14:03.489] TRACE: Images mismatch at [17, 21] pixel [2025-11-06T13:15:07.148Z] [13:14:03.489] TRACE: Images mismatch at [17, 22] pixel [2025-11-06T13:15:07.148Z] [13:14:03.489] TRACE: Images mismatch at [18, 9] pixel [2025-11-06T13:15:07.148Z] [13:14:03.489] TRACE: Images mismatch at [18, 10] pixel [2025-11-06T13:15:07.148Z] [13:14:03.489] TRACE: Images mismatch at [18, 11] pixel [2025-11-06T13:15:07.148Z] [13:14:03.489] TRACE: Images mismatch at [18, 12] pixel [2025-11-06T13:15:07.148Z] [13:14:03.489] TRACE: Images mismatch at [18, 13] pixel [2025-11-06T13:15:07.148Z] [13:14:03.489] TRACE: Images mismatch at [18, 14] pixel [2025-11-06T13:15:07.148Z] [13:14:03.489] TRACE: Images mismatch at [18, 15] pixel [2025-11-06T13:15:07.148Z] [13:14:03.489] TRACE: Images mismatch at [18, 16] pixel [2025-11-06T13:15:07.148Z] [13:14:03.489] TRACE: Images mismatch at [18, 17] pixel [2025-11-06T13:15:07.148Z] [13:14:03.489] TRACE: Images mismatch at [18, 18] pixel [2025-11-06T13:15:07.148Z] [13:14:03.489] TRACE: Images mismatch at [18, 19] pixel [2025-11-06T13:15:07.148Z] [13:14:03.489] TRACE: Images mismatch at [18, 20] pixel [2025-11-06T13:15:07.148Z] [13:14:03.489] TRACE: Images mismatch at [18, 21] pixel [2025-11-06T13:15:07.148Z] [13:14:03.490] TRACE: Images mismatch at [18, 22] pixel [2025-11-06T13:15:07.148Z] [13:14:03.490] TRACE: Images mismatch at [19, 9] pixel [2025-11-06T13:15:07.148Z] [13:14:03.490] TRACE: Images mismatch at [19, 10] pixel [2025-11-06T13:15:07.148Z] [13:14:03.490] TRACE: Images mismatch at [19, 11] pixel [2025-11-06T13:15:07.148Z] [13:14:03.490] TRACE: Images mismatch at [19, 12] pixel [2025-11-06T13:15:07.148Z] [13:14:03.490] TRACE: Images mismatch at [19, 13] pixel [2025-11-06T13:15:07.148Z] [13:14:03.490] TRACE: Images mismatch at [19, 14] pixel [2025-11-06T13:15:07.148Z] [13:14:03.490] TRACE: Images mismatch at [19, 15] pixel [2025-11-06T13:15:07.148Z] [13:14:03.490] TRACE: Images mismatch at [19, 16] pixel [2025-11-06T13:15:07.148Z] [13:14:03.490] TRACE: Images mismatch at [19, 17] pixel [2025-11-06T13:15:07.148Z] [13:14:03.490] TRACE: Images mismatch at [19, 18] pixel [2025-11-06T13:15:07.148Z] [13:14:03.490] TRACE: Images mismatch at [19, 19] pixel [2025-11-06T13:15:07.148Z] [13:14:03.490] TRACE: Images mismatch at [19, 20] pixel [2025-11-06T13:15:07.148Z] [13:14:03.490] TRACE: Images mismatch at [19, 21] pixel [2025-11-06T13:15:07.148Z] [13:14:03.490] TRACE: Images mismatch at [19, 22] pixel [2025-11-06T13:15:07.148Z] [13:14:03.492] ERROR: Failed: Check the number of mismatched pixels [154] of [1024] is < [0.100000] threshold [2025-11-06T13:15:07.148Z] [13:14:03.493] [ FAILED ] IconTest(AppImage, CustomIcon, NoIcon).test; checks=13 [2025-11-06T13:15:07.148Z] [13:14:03.494] [ RUN ] IconTest(AppImage, CustomIcon, ResourceDirIcon).test [2025-11-06T13:15:07.148Z] [13:14:03.495] TRACE: Resource file: [.\test.ec12aa06\resources\x.ico] <- [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon4.ico] [2025-11-06T13:15:07.149Z] [13:14:03.497] TRACE: exec: Execute tool provider [javac -d .\test.ec12aa06\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4)... [2025-11-06T13:15:07.149Z] [13:14:03.589] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.149Z] [13:14:03.589] TRACE: assertEquals(0): Check command tool provider [javac -d .\test.ec12aa06\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4) exited with 0 code [2025-11-06T13:15:07.149Z] [13:14:03.590] TRACE: exec: Execute tool provider [jar -c -f .\test.ec12aa06\input\hello.jar -C .\test.ec12aa06\jar-workdir .](7)... [2025-11-06T13:15:07.149Z] [13:14:03.612] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.149Z] [13:14:03.612] 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-06T13:15:07.149Z] [13:14:03.613] TRACE: Create [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.ec12aa06\x.properties] properties file... [2025-11-06T13:15:07.149Z] [13:14:03.614] TRACE: Done [2025-11-06T13:15:07.149Z] [13:14:03.614] TRACE: Init fake runtime in [.\test.ec12aa06\fake_runtime] directory [2025-11-06T13:15:07.149Z] [13:14:03.616] TRACE: Files in [.\test.ec12aa06\resources] resource dir: [2025-11-06T13:15:07.149Z] [13:14:03.616] TRACE: [x.ico] [2025-11-06T13:15:07.149Z] [13:14:03.616] TRACE: Done [2025-11-06T13:15:07.149Z] [13:14:03.617] TRACE: exec: Execute [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\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 --resource-dir .\test.ec12aa06\resources --icon C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon.ico --add-launcher x=.\test.ec12aa06\x.properties --runtime-image .\test.ec12aa06\fake_runtime --verbose](23); save output... [2025-11-06T13:15:07.149Z] [13:14:03.926] Creating app package: IconTest in C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\.\test.ec12aa06\output [2025-11-06T13:15:07.149Z] [13:14:03.950] Using custom package resource [icon] (loaded from file C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon.ico). [2025-11-06T13:15:07.149Z] [13:14:03.964] 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\jenkins\AppData\Local\Temp\jdk.jpackage6988700656941434601". [2025-11-06T13:15:07.149Z] [13:14:04.099] Using default package resource WinLauncher.template [Template for creating executable properties file] (add IconTest.properties to the resource-dir to customize). [2025-11-06T13:15:07.149Z] [13:14:04.180] Using custom package resource [icon] (loaded from x.ico). [2025-11-06T13:15:07.149Z] [13:14:04.199] 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\jenkins\AppData\Local\Temp\jdk.jpackage6988700656941434601". [2025-11-06T13:15:07.149Z] [13:14:04.337] Using default package resource WinLauncher.template [Template for creating executable properties file] (add x.properties to the resource-dir to customize). [2025-11-06T13:15:07.149Z] [13:14:04.342] Succeeded in building Windows Application Image package [2025-11-06T13:15:07.149Z] [13:14:04.354] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.149Z] [13:14:04.355] TRACE: assertEquals(0): Check command [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\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 --resource-dir .\test.ec12aa06\resources --icon C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon.ico --add-launcher x=.\test.ec12aa06\x.properties --runtime-image .\test.ec12aa06\fake_runtime --verbose](23) exited with 0 code [2025-11-06T13:15:07.149Z] [13:14:04.355] TRACE: assertTrue(): Check [.\test.ec12aa06\output\IconTest\x.ico] path doesn't exist [2025-11-06T13:15:07.149Z] [13:14:04.362] TRACE: exec: Execute tool provider [javac -d .\test.ec12aa06\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4)... [2025-11-06T13:15:07.149Z] [13:14:04.492] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.149Z] [13:14:04.493] TRACE: assertEquals(0): Check command tool provider [javac -d .\test.ec12aa06\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4) exited with 0 code [2025-11-06T13:15:07.149Z] [13:14:04.493] TRACE: Delete [.\test.ec12aa06\input\hello.jar] existing jar file [2025-11-06T13:15:07.149Z] [13:14:04.494] TRACE: exec: Execute tool provider [jar -c -f .\test.ec12aa06\input\hello.jar -C .\test.ec12aa06\jar-workdir .](7)... [2025-11-06T13:15:07.149Z] [13:14:04.518] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.149Z] [13:14:04.518] 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-06T13:15:07.149Z] [13:14:04.519] TRACE: Init fake runtime in [.\test.ec12aa06\fake_runtime] directory [2025-11-06T13:15:07.149Z] [13:14:04.521] TRACE: exec: Execute [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\test.ec12aa06\input --dest .\test.ec12aa06\out-13052 --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-06T13:15:07.149Z] [13:14:04.827] Creating app package: IconTest in C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\.\test.ec12aa06\out-13052 [2025-11-06T13:15:07.149Z] [13:14:04.851] Using default package resource JavaApp.ico [icon] (add IconTest.ico to the resource-dir to customize). [2025-11-06T13:15:07.149Z] [13:14:04.867] 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\jenkins\AppData\Local\Temp\jdk.jpackage7967693337154154833". [2025-11-06T13:15:07.149Z] [13:14:05.002] Using default package resource WinLauncher.template [Template for creating executable properties file] (add IconTest.properties to the resource-dir to customize). [2025-11-06T13:15:07.149Z] [13:14:05.080] Succeeded in building Windows Application Image package [2025-11-06T13:15:07.149Z] [13:14:05.092] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.149Z] [13:14:05.093] TRACE: assertEquals(0): Check command [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\test.ec12aa06\input --dest .\test.ec12aa06\out-13052 --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-06T13:15:07.149Z] [13:14:05.156] TRACE: Set icon of [.\test.ec12aa06\icons\x.exe\container.exe] launcher to [.\test.ec12aa06\resources\x.ico] file [2025-11-06T13:15:07.149Z] [13:14:05.292] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.ec12aa06\icons\x.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.ec12aa06\icons\x.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T13:15:07.149Z] [13:14:05.744] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.149Z] [13:14:05.744] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.ec12aa06\icons\x.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.ec12aa06\icons\x.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T13:15:07.149Z] [13:14:05.744] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.ec12aa06\output\IconTest\x.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.ec12aa06\icons\x.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T13:15:07.149Z] [13:14:06.030] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.150Z] [13:14:06.030] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.ec12aa06\output\IconTest\x.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.ec12aa06\icons\x.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T13:15:07.150Z] [13:14:06.030] 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-06T13:15:07.150Z] [13:14:06.033] TRACE: assertTrue(): Check [.\test.ec12aa06\output\IconTest\x.exe] path exists [2025-11-06T13:15:07.150Z] [13:14:06.033] TRACE: assertTrue(): Check [.\test.ec12aa06\output\IconTest\x.exe] is a file [2025-11-06T13:15:07.150Z] [13:14:06.033] TRACE: assertTrue(): Check [.\test.ec12aa06\output\IconTest\x.exe] file is executable [2025-11-06T13:15:07.150Z] [13:14:06.033] TRACE: Not running .\test.ec12aa06\output\IconTest\x.exe launcher because application runtime directory [.\test.ec12aa06\output\IconTest\runtime] is incomplete [2025-11-06T13:15:07.150Z] [13:14:06.034] TRACE: assertStringListEquals(): Check there is only one file with [.jpackage.xml] name in the package [2025-11-06T13:15:07.150Z] [13:14:06.034] TRACE: assertStringListEquals(1, .\test.ec12aa06\output\IconTest\app\.jpackage.xml) [2025-11-06T13:15:07.150Z] [13:14:06.034] TRACE: assertTrue(): Check [.\test.ec12aa06\output\IconTest\runtime] path exists [2025-11-06T13:15:07.150Z] [13:14:06.034] TRACE: assertTrue(): Check [.\test.ec12aa06\output\IconTest\runtime] is a directory [2025-11-06T13:15:07.150Z] [13:14:06.034] TRACE: assertTrue(): Check [.\test.ec12aa06\output\IconTest\IconTest.exe] path exists [2025-11-06T13:15:07.150Z] [13:14:06.034] TRACE: assertTrue(): Check [.\test.ec12aa06\output\IconTest\IconTest.exe] is a file [2025-11-06T13:15:07.150Z] [13:14:06.034] TRACE: assertTrue(): Check [.\test.ec12aa06\output\IconTest\IconTest.exe] file is executable [2025-11-06T13:15:07.150Z] [13:14:06.034] TRACE: assertTrue(): Check [.\test.ec12aa06\output\IconTest\app\IconTest.cfg] path exists [2025-11-06T13:15:07.150Z] [13:14:06.034] TRACE: assertTrue(): Check [.\test.ec12aa06\output\IconTest\app\IconTest.cfg] is a file [2025-11-06T13:15:07.150Z] [13:14:06.035] TRACE: assertTrue(): Check [.\test.ec12aa06\output\IconTest\IconTest.ico] path doesn't exist [2025-11-06T13:15:07.150Z] [13:14:06.037] TRACE: Set icon of [.\test.ec12aa06\icons\IconTest.exe\container.exe] launcher to [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon.ico] file [2025-11-06T13:15:07.150Z] [13:14:06.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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.ec12aa06\icons\IconTest.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.ec12aa06\icons\IconTest.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T13:15:07.150Z] [13:14:06.614] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.150Z] [13:14:06.614] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.ec12aa06\icons\IconTest.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.ec12aa06\icons\IconTest.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T13:15:07.150Z] [13:14:06.615] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.ec12aa06\output\IconTest\IconTest.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.ec12aa06\icons\IconTest.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T13:15:07.150Z] [13:14:06.898] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.150Z] [13:14:06.899] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.ec12aa06\output\IconTest\IconTest.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.ec12aa06\icons\IconTest.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T13:15:07.150Z] [13:14:06.899] 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-06T13:15:07.150Z] [13:14:06.901] TRACE: assertNotNull([13:14:03.950] Using custom package resource [icon] (loaded from file C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\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-06T13:15:07.150Z] [13:14:06.901] TRACE: assertNotNull([13:14:04.180] Using custom package resource [icon] (loaded from x.ico).): Check output contains [Using custom package resource [icon] (loaded from x.ico)] string [2025-11-06T13:15:07.150Z] [13:14:06.901] TRACE: Deleting [.\test.ec12aa06] directory recursively [2025-11-06T13:15:07.150Z] [13:14:06.908] [ OK ] IconTest(AppImage, CustomIcon, ResourceDirIcon).test; checks=25 [2025-11-06T13:15:07.150Z] [13:14:06.908] [ RUN ] IconTest(AppImage, CustomWithResourceDirIcon, CustomIcon).test [2025-11-06T13:15:07.150Z] [13:14:06.909] TRACE: Resource file: [.\test.0bd7d82b\resources\IconTest.ico] <- [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon.ico] [2025-11-06T13:15:07.150Z] [13:14:06.910] TRACE: exec: Execute tool provider [javac -d .\test.0bd7d82b\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4)... [2025-11-06T13:15:07.150Z] [13:14:07.036] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.150Z] [13:14:07.036] TRACE: assertEquals(0): Check command tool provider [javac -d .\test.0bd7d82b\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4) exited with 0 code [2025-11-06T13:15:07.150Z] [13:14:07.037] TRACE: exec: Execute tool provider [jar -c -f .\test.0bd7d82b\input\hello.jar -C .\test.0bd7d82b\jar-workdir .](7)... [2025-11-06T13:15:07.150Z] [13:14:07.058] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.150Z] [13:14:07.059] 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-06T13:15:07.150Z] [13:14:07.060] TRACE: Create [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.0bd7d82b\x.properties] properties file... [2025-11-06T13:15:07.150Z] [13:14:07.060] TRACE: icon=C:/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/tools/jpackage/resources/icon3.ico [2025-11-06T13:15:07.150Z] [13:14:07.060] TRACE: Done [2025-11-06T13:15:07.150Z] [13:14:07.061] TRACE: Init fake runtime in [.\test.0bd7d82b\fake_runtime] directory [2025-11-06T13:15:07.150Z] [13:14:07.063] TRACE: Files in [.\test.0bd7d82b\resources] resource dir: [2025-11-06T13:15:07.150Z] [13:14:07.063] TRACE: [IconTest.ico] [2025-11-06T13:15:07.150Z] [13:14:07.063] TRACE: Done [2025-11-06T13:15:07.150Z] [13:14:07.063] TRACE: exec: Execute [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\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_testList_2\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-06T13:15:07.150Z] [13:14:07.371] Creating app package: IconTest in C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\.\test.0bd7d82b\output [2025-11-06T13:15:07.150Z] [13:14:07.404] Using custom package resource [icon] (loaded from file C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon2.ico). [2025-11-06T13:15:07.150Z] [13:14:07.431] 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\jenkins\AppData\Local\Temp\jdk.jpackage15652866312949773822". [2025-11-06T13:15:07.150Z] [13:14:07.568] Using default package resource WinLauncher.template [Template for creating executable properties file] (add IconTest.properties to the resource-dir to customize). [2025-11-06T13:15:07.150Z] [13:14:07.662] Using custom package resource [icon] (loaded from file C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon3.ico). [2025-11-06T13:15:07.150Z] [13:14:07.667] 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\jenkins\AppData\Local\Temp\jdk.jpackage15652866312949773822". [2025-11-06T13:15:07.150Z] [13:14:07.806] Using default package resource WinLauncher.template [Template for creating executable properties file] (add x.properties to the resource-dir to customize). [2025-11-06T13:15:07.150Z] [13:14:07.810] Succeeded in building Windows Application Image package [2025-11-06T13:15:07.150Z] [13:14:07.823] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.151Z] [13:14:07.823] TRACE: assertEquals(0): Check command [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\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_testList_2\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-06T13:15:07.151Z] [13:14:07.823] TRACE: assertTrue(): Check [.\test.0bd7d82b\output\IconTest\x.ico] path doesn't exist [2025-11-06T13:15:07.151Z] [13:14:07.825] TRACE: exec: Execute tool provider [javac -d .\test.0bd7d82b\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4)... [2025-11-06T13:15:07.151Z] [13:14:07.950] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.151Z] [13:14:07.950] TRACE: assertEquals(0): Check command tool provider [javac -d .\test.0bd7d82b\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4) exited with 0 code [2025-11-06T13:15:07.151Z] [13:14:07.951] TRACE: Delete [.\test.0bd7d82b\input\hello.jar] existing jar file [2025-11-06T13:15:07.151Z] [13:14:07.951] TRACE: exec: Execute tool provider [jar -c -f .\test.0bd7d82b\input\hello.jar -C .\test.0bd7d82b\jar-workdir .](7)... [2025-11-06T13:15:07.151Z] [13:14:07.974] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.151Z] [13:14:07.974] 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-06T13:15:07.151Z] [13:14:07.975] TRACE: Init fake runtime in [.\test.0bd7d82b\fake_runtime] directory [2025-11-06T13:15:07.151Z] [13:14:07.976] TRACE: exec: Execute [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\test.0bd7d82b\input --dest .\test.0bd7d82b\out-13052 --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-06T13:15:07.151Z] [13:14:08.286] Creating app package: IconTest in C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\.\test.0bd7d82b\out-13052 [2025-11-06T13:15:07.151Z] [13:14:08.311] Using default package resource JavaApp.ico [icon] (add IconTest.ico to the resource-dir to customize). [2025-11-06T13:15:07.151Z] [13:14:08.328] 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\jenkins\AppData\Local\Temp\jdk.jpackage6569994004541087216". [2025-11-06T13:15:07.151Z] [13:14:08.466] Using default package resource WinLauncher.template [Template for creating executable properties file] (add IconTest.properties to the resource-dir to customize). [2025-11-06T13:15:07.151Z] [13:14:08.504] Succeeded in building Windows Application Image package [2025-11-06T13:15:07.151Z] [13:14:08.516] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.151Z] [13:14:08.517] TRACE: assertEquals(0): Check command [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\test.0bd7d82b\input --dest .\test.0bd7d82b\out-13052 --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-06T13:15:07.151Z] [13:14:08.621] TRACE: Set icon of [.\test.0bd7d82b\icons\x.exe\container.exe] launcher to [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon3.ico] file [2025-11-06T13:15:07.151Z] [13:14:08.756] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.0bd7d82b\icons\x.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.0bd7d82b\icons\x.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T13:15:07.151Z] [13:14:09.175] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.151Z] [13:14:09.176] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.0bd7d82b\icons\x.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.0bd7d82b\icons\x.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T13:15:07.151Z] [13:14:09.176] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.0bd7d82b\output\IconTest\x.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.0bd7d82b\icons\x.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T13:15:07.151Z] [13:14:09.464] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.151Z] [13:14:09.464] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.0bd7d82b\output\IconTest\x.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.0bd7d82b\icons\x.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T13:15:07.151Z] [13:14:09.464] 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-06T13:15:07.151Z] [13:14:09.467] TRACE: assertTrue(): Check [.\test.0bd7d82b\output\IconTest\x.exe] path exists [2025-11-06T13:15:07.151Z] [13:14:09.468] TRACE: assertTrue(): Check [.\test.0bd7d82b\output\IconTest\x.exe] is a file [2025-11-06T13:15:07.151Z] [13:14:09.468] TRACE: assertTrue(): Check [.\test.0bd7d82b\output\IconTest\x.exe] file is executable [2025-11-06T13:15:07.151Z] [13:14:09.468] TRACE: Not running .\test.0bd7d82b\output\IconTest\x.exe launcher because application runtime directory [.\test.0bd7d82b\output\IconTest\runtime] is incomplete [2025-11-06T13:15:07.151Z] [13:14:09.469] TRACE: assertStringListEquals(): Check there is only one file with [.jpackage.xml] name in the package [2025-11-06T13:15:07.151Z] [13:14:09.469] TRACE: assertStringListEquals(1, .\test.0bd7d82b\output\IconTest\app\.jpackage.xml) [2025-11-06T13:15:07.151Z] [13:14:09.469] TRACE: assertTrue(): Check [.\test.0bd7d82b\output\IconTest\runtime] path exists [2025-11-06T13:15:07.151Z] [13:14:09.469] TRACE: assertTrue(): Check [.\test.0bd7d82b\output\IconTest\runtime] is a directory [2025-11-06T13:15:07.151Z] [13:14:09.470] TRACE: assertTrue(): Check [.\test.0bd7d82b\output\IconTest\IconTest.exe] path exists [2025-11-06T13:15:07.151Z] [13:14:09.470] TRACE: assertTrue(): Check [.\test.0bd7d82b\output\IconTest\IconTest.exe] is a file [2025-11-06T13:15:07.151Z] [13:14:09.470] TRACE: assertTrue(): Check [.\test.0bd7d82b\output\IconTest\IconTest.exe] file is executable [2025-11-06T13:15:07.151Z] [13:14:09.470] TRACE: assertTrue(): Check [.\test.0bd7d82b\output\IconTest\app\IconTest.cfg] path exists [2025-11-06T13:15:07.151Z] [13:14:09.471] TRACE: assertTrue(): Check [.\test.0bd7d82b\output\IconTest\app\IconTest.cfg] is a file [2025-11-06T13:15:07.151Z] [13:14:09.471] TRACE: assertTrue(): Check [.\test.0bd7d82b\output\IconTest\IconTest.ico] path doesn't exist [2025-11-06T13:15:07.151Z] [13:14:09.474] TRACE: Set icon of [.\test.0bd7d82b\icons\IconTest.exe\container.exe] launcher to [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon2.ico] file [2025-11-06T13:15:07.151Z] [13:14:09.608] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.0bd7d82b\icons\IconTest.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.0bd7d82b\icons\IconTest.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T13:15:07.151Z] [13:14:10.028] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.151Z] [13:14:10.028] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.0bd7d82b\icons\IconTest.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.0bd7d82b\icons\IconTest.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T13:15:07.151Z] [13:14:10.028] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.0bd7d82b\output\IconTest\IconTest.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.0bd7d82b\icons\IconTest.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T13:15:07.151Z] [13:14:10.309] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.151Z] [13:14:10.309] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.0bd7d82b\output\IconTest\IconTest.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.0bd7d82b\icons\IconTest.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T13:15:07.151Z] [13:14:10.309] 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-06T13:15:07.151Z] [13:14:10.311] TRACE: assertNotNull([13:14:07.404] Using custom package resource [icon] (loaded from file C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\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-06T13:15:07.152Z] [13:14:10.311] TRACE: assertNotNull([13:14:07.404] Using custom package resource [icon] (loaded from file C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\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-06T13:15:07.152Z] [13:14:10.311] TRACE: Deleting [.\test.0bd7d82b] directory recursively [2025-11-06T13:15:07.152Z] [13:14:10.319] [ OK ] IconTest(AppImage, CustomWithResourceDirIcon, CustomIcon).test; checks=25 [2025-11-06T13:15:07.152Z] [13:14:10.319] [ RUN ] IconTest(AppImage, CustomWithResourceDirIcon, CustomWithResourceDirIcon).test [2025-11-06T13:15:07.152Z] [13:14:10.319] TRACE: Resource file: [.\test.9187822e\resources\x.ico] <- [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon3.ico] [2025-11-06T13:15:07.152Z] [13:14:10.321] TRACE: Resource file: [.\test.9187822e\resources\IconTest.ico] <- [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon.ico] [2025-11-06T13:15:07.152Z] [13:14:10.322] TRACE: exec: Execute tool provider [javac -d .\test.9187822e\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4)... [2025-11-06T13:15:07.152Z] [13:14:10.444] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.152Z] [13:14:10.444] TRACE: assertEquals(0): Check command tool provider [javac -d .\test.9187822e\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4) exited with 0 code [2025-11-06T13:15:07.152Z] [13:14:10.445] TRACE: exec: Execute tool provider [jar -c -f .\test.9187822e\input\hello.jar -C .\test.9187822e\jar-workdir .](7)... [2025-11-06T13:15:07.152Z] [13:14:10.466] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.152Z] [13:14:10.467] 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-06T13:15:07.152Z] [13:14:10.468] TRACE: Create [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.9187822e\x.properties] properties file... [2025-11-06T13:15:07.152Z] [13:14:10.468] TRACE: icon=C:/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/tools/jpackage/resources/icon4.ico [2025-11-06T13:15:07.152Z] [13:14:10.468] TRACE: Done [2025-11-06T13:15:07.152Z] [13:14:10.468] TRACE: Init fake runtime in [.\test.9187822e\fake_runtime] directory [2025-11-06T13:15:07.152Z] [13:14:10.470] TRACE: Files in [.\test.9187822e\resources] resource dir: [2025-11-06T13:15:07.152Z] [13:14:10.471] TRACE: [IconTest.ico] [2025-11-06T13:15:07.152Z] [13:14:10.471] TRACE: [x.ico] [2025-11-06T13:15:07.152Z] [13:14:10.471] TRACE: Done [2025-11-06T13:15:07.152Z] [13:14:10.471] TRACE: exec: Execute [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\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 --resource-dir .\test.9187822e\resources --icon C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon2.ico --add-launcher x=.\test.9187822e\x.properties --runtime-image .\test.9187822e\fake_runtime --verbose](23); save output... [2025-11-06T13:15:07.152Z] [13:14:10.778] Creating app package: IconTest in C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\.\test.9187822e\output [2025-11-06T13:15:07.152Z] [13:14:10.803] Using custom package resource [icon] (loaded from file C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon2.ico). [2025-11-06T13:15:07.152Z] [13:14:10.820] 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\jenkins\AppData\Local\Temp\jdk.jpackage9059258309675908219". [2025-11-06T13:15:07.152Z] [13:14:10.953] Using default package resource WinLauncher.template [Template for creating executable properties file] (add IconTest.properties to the resource-dir to customize). [2025-11-06T13:15:07.152Z] [13:14:11.045] Using custom package resource [icon] (loaded from file C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon4.ico). [2025-11-06T13:15:07.152Z] [13:14:11.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\jenkins\AppData\Local\Temp\jdk.jpackage9059258309675908219". [2025-11-06T13:15:07.152Z] [13:14:11.183] Using default package resource WinLauncher.template [Template for creating executable properties file] (add x.properties to the resource-dir to customize). [2025-11-06T13:15:07.152Z] [13:14:11.187] Succeeded in building Windows Application Image package [2025-11-06T13:15:07.152Z] [13:14:11.200] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.152Z] [13:14:11.201] TRACE: assertEquals(0): Check command [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\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 --resource-dir .\test.9187822e\resources --icon C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon2.ico --add-launcher x=.\test.9187822e\x.properties --runtime-image .\test.9187822e\fake_runtime --verbose](23) exited with 0 code [2025-11-06T13:15:07.152Z] [13:14:11.201] TRACE: assertTrue(): Check [.\test.9187822e\output\IconTest\x.ico] path doesn't exist [2025-11-06T13:15:07.152Z] [13:14:11.203] TRACE: exec: Execute tool provider [javac -d .\test.9187822e\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4)... [2025-11-06T13:15:07.152Z] [13:14:11.297] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.152Z] [13:14:11.297] TRACE: assertEquals(0): Check command tool provider [javac -d .\test.9187822e\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4) exited with 0 code [2025-11-06T13:15:07.152Z] [13:14:11.297] TRACE: Delete [.\test.9187822e\input\hello.jar] existing jar file [2025-11-06T13:15:07.152Z] [13:14:11.298] TRACE: exec: Execute tool provider [jar -c -f .\test.9187822e\input\hello.jar -C .\test.9187822e\jar-workdir .](7)... [2025-11-06T13:15:07.152Z] [13:14:11.320] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.152Z] [13:14:11.320] 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-06T13:15:07.152Z] [13:14:11.321] TRACE: Init fake runtime in [.\test.9187822e\fake_runtime] directory [2025-11-06T13:15:07.152Z] [13:14:11.323] TRACE: exec: Execute [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\test.9187822e\input --dest .\test.9187822e\out-13052 --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-06T13:15:07.152Z] [13:14:11.626] Creating app package: IconTest in C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\.\test.9187822e\out-13052 [2025-11-06T13:15:07.152Z] [13:14:11.654] Using default package resource JavaApp.ico [icon] (add IconTest.ico to the resource-dir to customize). [2025-11-06T13:15:07.152Z] [13:14:11.672] 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\jenkins\AppData\Local\Temp\jdk.jpackage138593118157754618". [2025-11-06T13:15:07.152Z] [13:14:11.812] Using default package resource WinLauncher.template [Template for creating executable properties file] (add IconTest.properties to the resource-dir to customize). [2025-11-06T13:15:07.152Z] [13:14:11.851] Succeeded in building Windows Application Image package [2025-11-06T13:15:07.152Z] [13:14:11.864] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.152Z] [13:14:11.865] TRACE: assertEquals(0): Check command [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\test.9187822e\input --dest .\test.9187822e\out-13052 --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-06T13:15:07.152Z] [13:14:11.968] TRACE: Set icon of [.\test.9187822e\icons\x.exe\container.exe] launcher to [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon4.ico] file [2025-11-06T13:15:07.152Z] [13:14:12.098] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.9187822e\icons\x.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.9187822e\icons\x.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T13:15:07.152Z] [13:14:12.524] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.153Z] [13:14:12.524] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.9187822e\icons\x.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.9187822e\icons\x.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T13:15:07.153Z] [13:14:12.524] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.9187822e\output\IconTest\x.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.9187822e\icons\x.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T13:15:07.153Z] [13:14:12.804] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.153Z] [13:14:12.804] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.9187822e\output\IconTest\x.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.9187822e\icons\x.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T13:15:07.153Z] [13:14:12.804] 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-06T13:15:07.153Z] [13:14:12.806] TRACE: assertTrue(): Check [.\test.9187822e\output\IconTest\x.exe] path exists [2025-11-06T13:15:07.153Z] [13:14:12.806] TRACE: assertTrue(): Check [.\test.9187822e\output\IconTest\x.exe] is a file [2025-11-06T13:15:07.153Z] [13:14:12.806] TRACE: assertTrue(): Check [.\test.9187822e\output\IconTest\x.exe] file is executable [2025-11-06T13:15:07.153Z] [13:14:12.806] TRACE: Not running .\test.9187822e\output\IconTest\x.exe launcher because application runtime directory [.\test.9187822e\output\IconTest\runtime] is incomplete [2025-11-06T13:15:07.153Z] [13:14:12.807] TRACE: assertStringListEquals(): Check there is only one file with [.jpackage.xml] name in the package [2025-11-06T13:15:07.153Z] [13:14:12.807] TRACE: assertStringListEquals(1, .\test.9187822e\output\IconTest\app\.jpackage.xml) [2025-11-06T13:15:07.153Z] [13:14:12.807] TRACE: assertTrue(): Check [.\test.9187822e\output\IconTest\runtime] path exists [2025-11-06T13:15:07.153Z] [13:14:12.807] TRACE: assertTrue(): Check [.\test.9187822e\output\IconTest\runtime] is a directory [2025-11-06T13:15:07.153Z] [13:14:12.807] TRACE: assertTrue(): Check [.\test.9187822e\output\IconTest\IconTest.exe] path exists [2025-11-06T13:15:07.153Z] [13:14:12.807] TRACE: assertTrue(): Check [.\test.9187822e\output\IconTest\IconTest.exe] is a file [2025-11-06T13:15:07.153Z] [13:14:12.808] TRACE: assertTrue(): Check [.\test.9187822e\output\IconTest\IconTest.exe] file is executable [2025-11-06T13:15:07.153Z] [13:14:12.808] TRACE: assertTrue(): Check [.\test.9187822e\output\IconTest\app\IconTest.cfg] path exists [2025-11-06T13:15:07.153Z] [13:14:12.808] TRACE: assertTrue(): Check [.\test.9187822e\output\IconTest\app\IconTest.cfg] is a file [2025-11-06T13:15:07.153Z] [13:14:12.808] TRACE: assertTrue(): Check [.\test.9187822e\output\IconTest\IconTest.ico] path doesn't exist [2025-11-06T13:15:07.153Z] [13:14:12.810] TRACE: Set icon of [.\test.9187822e\icons\IconTest.exe\container.exe] launcher to [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon2.ico] file [2025-11-06T13:15:07.153Z] [13:14:12.945] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.9187822e\icons\IconTest.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.9187822e\icons\IconTest.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T13:15:07.153Z] [13:14:13.349] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.153Z] [13:14:13.349] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.9187822e\icons\IconTest.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.9187822e\icons\IconTest.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T13:15:07.153Z] [13:14:13.349] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.9187822e\output\IconTest\IconTest.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.9187822e\icons\IconTest.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T13:15:07.153Z] [13:14:13.625] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.153Z] [13:14:13.625] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.9187822e\output\IconTest\IconTest.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.9187822e\icons\IconTest.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T13:15:07.153Z] [13:14:13.625] 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-06T13:15:07.153Z] [13:14:13.628] TRACE: assertNotNull([13:14:10.803] Using custom package resource [icon] (loaded from file C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\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-06T13:15:07.153Z] [13:14:13.628] TRACE: assertNotNull([13:14:10.803] Using custom package resource [icon] (loaded from file C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\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-06T13:15:07.153Z] [13:14:13.628] TRACE: Deleting [.\test.9187822e] directory recursively [2025-11-06T13:15:07.153Z] [13:14:13.642] [ OK ] IconTest(AppImage, CustomWithResourceDirIcon, CustomWithResourceDirIcon).test; checks=25 [2025-11-06T13:15:07.153Z] [13:14:13.642] [ RUN ] IconTest(AppImage, CustomWithResourceDirIcon, DefaultIcon).test [2025-11-06T13:15:07.153Z] [13:14:13.643] TRACE: Resource file: [.\test.bfc7c267\resources\IconTest.ico] <- [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon.ico] [2025-11-06T13:15:07.153Z] [13:14:13.644] TRACE: exec: Execute tool provider [javac -d .\test.bfc7c267\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4)... [2025-11-06T13:15:07.153Z] [13:14:13.733] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.153Z] [13:14:13.733] TRACE: assertEquals(0): Check command tool provider [javac -d .\test.bfc7c267\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4) exited with 0 code [2025-11-06T13:15:07.153Z] [13:14:13.734] TRACE: exec: Execute tool provider [jar -c -f .\test.bfc7c267\input\hello.jar -C .\test.bfc7c267\jar-workdir .](7)... [2025-11-06T13:15:07.153Z] [13:14:13.755] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.153Z] [13:14:13.755] 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-06T13:15:07.153Z] [13:14:13.756] TRACE: Create [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.bfc7c267\x.properties] properties file... [2025-11-06T13:15:07.153Z] [13:14:13.756] TRACE: Done [2025-11-06T13:15:07.153Z] [13:14:13.756] TRACE: Init fake runtime in [.\test.bfc7c267\fake_runtime] directory [2025-11-06T13:15:07.153Z] [13:14:13.759] TRACE: Files in [.\test.bfc7c267\resources] resource dir: [2025-11-06T13:15:07.153Z] [13:14:13.759] TRACE: [IconTest.ico] [2025-11-06T13:15:07.153Z] [13:14:13.759] TRACE: Done [2025-11-06T13:15:07.153Z] [13:14:13.759] TRACE: exec: Execute [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\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_testList_2\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-06T13:15:07.153Z] [13:14:14.060] Creating app package: IconTest in C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\.\test.bfc7c267\output [2025-11-06T13:15:07.153Z] [13:14:14.085] Using custom package resource [icon] (loaded from file C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon2.ico). [2025-11-06T13:15:07.153Z] [13:14:14.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\jenkins\AppData\Local\Temp\jdk.jpackage15380625348721056790". [2025-11-06T13:15:07.153Z] [13:14:14.234] Using default package resource WinLauncher.template [Template for creating executable properties file] (add IconTest.properties to the resource-dir to customize). [2025-11-06T13:15:07.153Z] [13:14:14.312] Using custom package resource [icon] (loaded from file C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon2.ico). [2025-11-06T13:15:07.153Z] [13:14:14.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\jenkins\AppData\Local\Temp\jdk.jpackage15380625348721056790". [2025-11-06T13:15:07.153Z] [13:14:14.454] Using default package resource WinLauncher.template [Template for creating executable properties file] (add x.properties to the resource-dir to customize). [2025-11-06T13:15:07.153Z] [13:14:14.458] Succeeded in building Windows Application Image package [2025-11-06T13:15:07.153Z] [13:14:14.471] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.153Z] [13:14:14.472] TRACE: assertEquals(0): Check command [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\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_testList_2\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-06T13:15:07.153Z] [13:14:14.472] TRACE: assertTrue(): Check [.\test.bfc7c267\output\IconTest\x.ico] path doesn't exist [2025-11-06T13:15:07.153Z] [13:14:14.474] TRACE: exec: Execute tool provider [javac -d .\test.bfc7c267\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4)... [2025-11-06T13:15:07.153Z] [13:14:14.606] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.154Z] [13:14:14.606] TRACE: assertEquals(0): Check command tool provider [javac -d .\test.bfc7c267\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4) exited with 0 code [2025-11-06T13:15:07.154Z] [13:14:14.606] TRACE: Delete [.\test.bfc7c267\input\hello.jar] existing jar file [2025-11-06T13:15:07.154Z] [13:14:14.608] TRACE: exec: Execute tool provider [jar -c -f .\test.bfc7c267\input\hello.jar -C .\test.bfc7c267\jar-workdir .](7)... [2025-11-06T13:15:07.154Z] [13:14:14.631] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.154Z] [13:14:14.631] 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-06T13:15:07.154Z] [13:14:14.632] TRACE: Init fake runtime in [.\test.bfc7c267\fake_runtime] directory [2025-11-06T13:15:07.154Z] [13:14:14.633] TRACE: exec: Execute [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\test.bfc7c267\input --dest .\test.bfc7c267\out-13052 --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-06T13:15:07.154Z] [13:14:14.931] Creating app package: IconTest in C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\.\test.bfc7c267\out-13052 [2025-11-06T13:15:07.154Z] [13:14:14.955] Using default package resource JavaApp.ico [icon] (add IconTest.ico to the resource-dir to customize). [2025-11-06T13:15:07.154Z] [13:14:14.971] 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\jenkins\AppData\Local\Temp\jdk.jpackage10384808331975220888". [2025-11-06T13:15:07.154Z] [13:14:15.110] Using default package resource WinLauncher.template [Template for creating executable properties file] (add IconTest.properties to the resource-dir to customize). [2025-11-06T13:15:07.154Z] [13:14:15.187] Succeeded in building Windows Application Image package [2025-11-06T13:15:07.154Z] [13:14:15.199] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.154Z] [13:14:15.200] TRACE: assertEquals(0): Check command [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\test.bfc7c267\input --dest .\test.bfc7c267\out-13052 --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-06T13:15:07.154Z] [13:14:15.259] TRACE: Set icon of [.\test.bfc7c267\icons\x.exe\container.exe] launcher to [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon2.ico] file [2025-11-06T13:15:07.154Z] [13:14:15.387] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.bfc7c267\icons\x.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.bfc7c267\icons\x.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T13:15:07.154Z] [13:14:15.806] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.154Z] [13:14:15.806] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.bfc7c267\icons\x.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.bfc7c267\icons\x.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T13:15:07.154Z] [13:14:15.807] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.bfc7c267\output\IconTest\x.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.bfc7c267\icons\x.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T13:15:07.154Z] [13:14:16.092] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.154Z] [13:14:16.092] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.bfc7c267\output\IconTest\x.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.bfc7c267\icons\x.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T13:15:07.154Z] [13:14:16.092] 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-06T13:15:07.154Z] [13:14:16.095] TRACE: assertTrue(): Check [.\test.bfc7c267\output\IconTest\x.exe] path exists [2025-11-06T13:15:07.154Z] [13:14:16.095] TRACE: assertTrue(): Check [.\test.bfc7c267\output\IconTest\x.exe] is a file [2025-11-06T13:15:07.154Z] [13:14:16.095] TRACE: assertTrue(): Check [.\test.bfc7c267\output\IconTest\x.exe] file is executable [2025-11-06T13:15:07.154Z] [13:14:16.095] TRACE: Not running .\test.bfc7c267\output\IconTest\x.exe launcher because application runtime directory [.\test.bfc7c267\output\IconTest\runtime] is incomplete [2025-11-06T13:15:07.154Z] [13:14:16.096] TRACE: assertStringListEquals(): Check there is only one file with [.jpackage.xml] name in the package [2025-11-06T13:15:07.154Z] [13:14:16.096] TRACE: assertStringListEquals(1, .\test.bfc7c267\output\IconTest\app\.jpackage.xml) [2025-11-06T13:15:07.154Z] [13:14:16.096] TRACE: assertTrue(): Check [.\test.bfc7c267\output\IconTest\runtime] path exists [2025-11-06T13:15:07.154Z] [13:14:16.096] TRACE: assertTrue(): Check [.\test.bfc7c267\output\IconTest\runtime] is a directory [2025-11-06T13:15:07.154Z] [13:14:16.096] TRACE: assertTrue(): Check [.\test.bfc7c267\output\IconTest\IconTest.exe] path exists [2025-11-06T13:15:07.154Z] [13:14:16.097] TRACE: assertTrue(): Check [.\test.bfc7c267\output\IconTest\IconTest.exe] is a file [2025-11-06T13:15:07.154Z] [13:14:16.097] TRACE: assertTrue(): Check [.\test.bfc7c267\output\IconTest\IconTest.exe] file is executable [2025-11-06T13:15:07.154Z] [13:14:16.097] TRACE: assertTrue(): Check [.\test.bfc7c267\output\IconTest\app\IconTest.cfg] path exists [2025-11-06T13:15:07.154Z] [13:14:16.097] TRACE: assertTrue(): Check [.\test.bfc7c267\output\IconTest\app\IconTest.cfg] is a file [2025-11-06T13:15:07.154Z] [13:14:16.097] TRACE: assertTrue(): Check [.\test.bfc7c267\output\IconTest\IconTest.ico] path doesn't exist [2025-11-06T13:15:07.154Z] [13:14:16.100] TRACE: Set icon of [.\test.bfc7c267\icons\IconTest.exe\container.exe] launcher to [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon2.ico] file [2025-11-06T13:15:07.154Z] [13:14:16.232] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.bfc7c267\icons\IconTest.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.bfc7c267\icons\IconTest.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T13:15:07.154Z] [13:14:16.639] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.154Z] [13:14:16.639] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.bfc7c267\icons\IconTest.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.bfc7c267\icons\IconTest.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T13:15:07.154Z] [13:14:16.639] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.bfc7c267\output\IconTest\IconTest.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.bfc7c267\icons\IconTest.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T13:15:07.154Z] [13:14:16.915] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.154Z] [13:14:16.915] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.bfc7c267\output\IconTest\IconTest.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.bfc7c267\icons\IconTest.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T13:15:07.154Z] [13:14:16.915] 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-06T13:15:07.154Z] [13:14:16.917] TRACE: assertNotNull([13:14:14.085] Using custom package resource [icon] (loaded from file C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\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-06T13:15:07.154Z] [13:14:16.917] TRACE: assertNotNull([13:14:14.085] Using custom package resource [icon] (loaded from file C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\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-06T13:15:07.154Z] [13:14:16.918] TRACE: Deleting [.\test.bfc7c267] directory recursively [2025-11-06T13:15:07.154Z] [13:14:16.924] [ OK ] IconTest(AppImage, CustomWithResourceDirIcon, DefaultIcon).test; checks=25 [2025-11-06T13:15:07.154Z] [13:14:16.924] [ RUN ] IconTest(AppImage, CustomWithResourceDirIcon, NoIcon).test [2025-11-06T13:15:07.154Z] [13:14:16.925] TRACE: Resource file: [.\test.9435bb7b\resources\IconTest.ico] <- [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon.ico] [2025-11-06T13:15:07.154Z] [13:14:16.927] TRACE: exec: Execute tool provider [javac -d .\test.9435bb7b\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4)... [2025-11-06T13:15:07.154Z] [13:14:17.015] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.154Z] [13:14:17.015] TRACE: assertEquals(0): Check command tool provider [javac -d .\test.9435bb7b\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4) exited with 0 code [2025-11-06T13:15:07.154Z] [13:14:17.016] TRACE: exec: Execute tool provider [jar -c -f .\test.9435bb7b\input\hello.jar -C .\test.9435bb7b\jar-workdir .](7)... [2025-11-06T13:15:07.154Z] [13:14:17.037] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.154Z] [13:14:17.037] 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-06T13:15:07.154Z] [13:14:17.038] TRACE: Create [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.9435bb7b\x.properties] properties file... [2025-11-06T13:15:07.154Z] [13:14:17.038] TRACE: icon= [2025-11-06T13:15:07.154Z] [13:14:17.039] TRACE: Done [2025-11-06T13:15:07.154Z] [13:14:17.039] TRACE: Init fake runtime in [.\test.9435bb7b\fake_runtime] directory [2025-11-06T13:15:07.154Z] [13:14:17.041] TRACE: Files in [.\test.9435bb7b\resources] resource dir: [2025-11-06T13:15:07.154Z] [13:14:17.041] TRACE: [IconTest.ico] [2025-11-06T13:15:07.154Z] [13:14:17.041] TRACE: Done [2025-11-06T13:15:07.154Z] [13:14:17.041] TRACE: exec: Execute [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\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_testList_2\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-06T13:15:07.154Z] [13:14:17.349] Creating app package: IconTest in C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\.\test.9435bb7b\output [2025-11-06T13:15:07.154Z] [13:14:17.374] Using custom package resource [icon] (loaded from file C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon2.ico). [2025-11-06T13:15:07.154Z] [13:14:17.390] 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\jenkins\AppData\Local\Temp\jdk.jpackage9991047165843029835". [2025-11-06T13:15:07.154Z] [13:14:17.526] Using default package resource WinLauncher.template [Template for creating executable properties file] (add IconTest.properties to the resource-dir to customize). [2025-11-06T13:15:07.154Z] [13:14:17.618] 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\jenkins\AppData\Local\Temp\jdk.jpackage9991047165843029835". [2025-11-06T13:15:07.154Z] [13:14:17.755] Using default package resource WinLauncher.template [Template for creating executable properties file] (add x.properties to the resource-dir to customize). [2025-11-06T13:15:07.154Z] [13:14:17.759] Succeeded in building Windows Application Image package [2025-11-06T13:15:07.154Z] [13:14:17.772] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.154Z] [13:14:17.772] TRACE: assertEquals(0): Check command [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\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_testList_2\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-06T13:15:07.154Z] [13:14:17.773] TRACE: assertTrue(): Check [.\test.9435bb7b\output\IconTest\x.ico] path doesn't exist [2025-11-06T13:15:07.154Z] [13:14:17.774] TRACE: exec: Execute tool provider [javac -d .\test.9435bb7b\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4)... [2025-11-06T13:15:07.154Z] [13:14:17.884] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.154Z] [13:14:17.884] TRACE: assertEquals(0): Check command tool provider [javac -d .\test.9435bb7b\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4) exited with 0 code [2025-11-06T13:15:07.154Z] [13:14:17.884] TRACE: Delete [.\test.9435bb7b\input\hello.jar] existing jar file [2025-11-06T13:15:07.154Z] [13:14:17.885] TRACE: exec: Execute tool provider [jar -c -f .\test.9435bb7b\input\hello.jar -C .\test.9435bb7b\jar-workdir .](7)... [2025-11-06T13:15:07.154Z] [13:14:17.906] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.154Z] [13:14:17.906] 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-06T13:15:07.154Z] [13:14:17.907] TRACE: Init fake runtime in [.\test.9435bb7b\fake_runtime] directory [2025-11-06T13:15:07.154Z] [13:14:17.908] TRACE: Create [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.9435bb7b\no-icon.properties] properties file... [2025-11-06T13:15:07.154Z] [13:14:17.909] TRACE: icon= [2025-11-06T13:15:07.154Z] [13:14:17.909] TRACE: Done [2025-11-06T13:15:07.154Z] [13:14:17.910] TRACE: exec: Execute [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\test.9435bb7b\input --dest .\test.9435bb7b\out-13052 --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-06T13:15:07.154Z] [13:14:18.211] Creating app package: IconTest in C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\.\test.9435bb7b\out-13052 [2025-11-06T13:15:07.154Z] [13:14:18.234] Using default package resource JavaApp.ico [icon] (add IconTest.ico to the resource-dir to customize). [2025-11-06T13:15:07.154Z] [13:14:18.251] 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\jenkins\AppData\Local\Temp\jdk.jpackage6262970928060989002". [2025-11-06T13:15:07.154Z] [13:14:18.380] Using default package resource WinLauncher.template [Template for creating executable properties file] (add IconTest.properties to the resource-dir to customize). [2025-11-06T13:15:07.154Z] [13:14:18.422] 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\jenkins\AppData\Local\Temp\jdk.jpackage6262970928060989002". [2025-11-06T13:15:07.155Z] [13:14:18.609] Using default package resource WinLauncher.template [Template for creating executable properties file] (add no-icon.properties to the resource-dir to customize). [2025-11-06T13:15:07.155Z] [13:14:18.613] Succeeded in building Windows Application Image package [2025-11-06T13:15:07.155Z] [13:14:18.628] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.155Z] [13:14:18.628] TRACE: assertEquals(0): Check command [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\test.9435bb7b\input --dest .\test.9435bb7b\out-13052 --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-06T13:15:07.155Z] [13:14:18.628] TRACE: assertTrue(): Check [.\test.9435bb7b\out-13052\IconTest\no-icon.ico] path doesn't exist [2025-11-06T13:15:07.155Z] [13:14:18.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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.9435bb7b\icons.0\no-icon.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.9435bb7b\icons.0\no-icon.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T13:15:07.155Z] [13:14:19.178] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.155Z] [13:14:19.178] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.9435bb7b\icons.0\no-icon.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.9435bb7b\icons.0\no-icon.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T13:15:07.155Z] [13:14:19.178] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.9435bb7b\out-13052\IconTest\no-icon.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.9435bb7b\icons.0\no-icon.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T13:15:07.155Z] [13:14:19.486] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.155Z] [13:14:19.486] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.9435bb7b\out-13052\IconTest\no-icon.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.9435bb7b\icons.0\no-icon.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T13:15:07.155Z] [13:14:19.486] 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-06T13:15:07.155Z] [13:14:19.489] TRACE: assertTrue(): Check [.\test.9435bb7b\out-13052\IconTest\no-icon.exe] path exists [2025-11-06T13:15:07.155Z] [13:14:19.489] TRACE: assertTrue(): Check [.\test.9435bb7b\out-13052\IconTest\no-icon.exe] is a file [2025-11-06T13:15:07.155Z] [13:14:19.489] TRACE: assertTrue(): Check [.\test.9435bb7b\out-13052\IconTest\no-icon.exe] file is executable [2025-11-06T13:15:07.155Z] [13:14:19.489] TRACE: Not running .\test.9435bb7b\out-13052\IconTest\no-icon.exe launcher because application runtime directory [.\test.9435bb7b\out-13052\IconTest\runtime] is incomplete [2025-11-06T13:15:07.155Z] [13:14:19.491] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.9435bb7b\icons\x.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.9435bb7b\icons\x.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T13:15:07.155Z] [13:14:19.929] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.155Z] [13:14:19.930] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.9435bb7b\icons\x.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.9435bb7b\icons\x.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T13:15:07.155Z] [13:14:19.930] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.9435bb7b\output\IconTest\x.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.9435bb7b\icons\x.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T13:15:07.155Z] [13:14:20.225] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.155Z] [13:14:20.225] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.9435bb7b\output\IconTest\x.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.9435bb7b\icons\x.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T13:15:07.155Z] [13:14:20.226] 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-06T13:15:07.155Z] [13:14:20.228] TRACE: assertTrue(): Check [.\test.9435bb7b\output\IconTest\x.exe] path exists [2025-11-06T13:15:07.155Z] [13:14:20.228] TRACE: assertTrue(): Check [.\test.9435bb7b\output\IconTest\x.exe] is a file [2025-11-06T13:15:07.155Z] [13:14:20.228] TRACE: assertTrue(): Check [.\test.9435bb7b\output\IconTest\x.exe] file is executable [2025-11-06T13:15:07.155Z] [13:14:20.228] TRACE: Not running .\test.9435bb7b\output\IconTest\x.exe launcher because application runtime directory [.\test.9435bb7b\output\IconTest\runtime] is incomplete [2025-11-06T13:15:07.155Z] [13:14:20.229] TRACE: assertStringListEquals(): Check there is only one file with [.jpackage.xml] name in the package [2025-11-06T13:15:07.155Z] [13:14:20.229] TRACE: assertStringListEquals(1, .\test.9435bb7b\output\IconTest\app\.jpackage.xml) [2025-11-06T13:15:07.155Z] [13:14:20.229] TRACE: assertTrue(): Check [.\test.9435bb7b\output\IconTest\runtime] path exists [2025-11-06T13:15:07.155Z] [13:14:20.229] TRACE: assertTrue(): Check [.\test.9435bb7b\output\IconTest\runtime] is a directory [2025-11-06T13:15:07.155Z] [13:14:20.229] TRACE: assertTrue(): Check [.\test.9435bb7b\output\IconTest\IconTest.exe] path exists [2025-11-06T13:15:07.155Z] [13:14:20.229] TRACE: assertTrue(): Check [.\test.9435bb7b\output\IconTest\IconTest.exe] is a file [2025-11-06T13:15:07.155Z] [13:14:20.229] TRACE: assertTrue(): Check [.\test.9435bb7b\output\IconTest\IconTest.exe] file is executable [2025-11-06T13:15:07.155Z] [13:14:20.229] TRACE: assertTrue(): Check [.\test.9435bb7b\output\IconTest\app\IconTest.cfg] path exists [2025-11-06T13:15:07.155Z] [13:14:20.229] TRACE: assertTrue(): Check [.\test.9435bb7b\output\IconTest\app\IconTest.cfg] is a file [2025-11-06T13:15:07.155Z] [13:14:20.230] TRACE: assertTrue(): Check [.\test.9435bb7b\output\IconTest\IconTest.ico] path doesn't exist [2025-11-06T13:15:07.155Z] [13:14:20.231] TRACE: Set icon of [.\test.9435bb7b\icons\IconTest.exe\container.exe] launcher to [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon2.ico] file [2025-11-06T13:15:07.155Z] [13:14:20.362] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.9435bb7b\icons\IconTest.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.9435bb7b\icons\IconTest.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T13:15:07.155Z] [13:14:20.778] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.155Z] [13:14:20.778] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.9435bb7b\icons\IconTest.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.9435bb7b\icons\IconTest.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T13:15:07.155Z] [13:14:20.778] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.9435bb7b\output\IconTest\IconTest.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.9435bb7b\icons\IconTest.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T13:15:07.155Z] [13:14:21.051] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.155Z] [13:14:21.051] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.9435bb7b\output\IconTest\IconTest.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.9435bb7b\icons\IconTest.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T13:15:07.155Z] [13:14:21.051] 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-06T13:15:07.155Z] [13:14:21.053] TRACE: assertNotNull([13:14:17.374] Using custom package resource [icon] (loaded from file C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\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-06T13:15:07.155Z] [13:14:21.053] TRACE: Deleting [.\test.9435bb7b] directory recursively [2025-11-06T13:15:07.155Z] [13:14:21.061] [ OK ] IconTest(AppImage, CustomWithResourceDirIcon, NoIcon).test; checks=30 [2025-11-06T13:15:07.155Z] [13:14:21.061] [ RUN ] IconTest(AppImage, CustomWithResourceDirIcon, ResourceDirIcon).test [2025-11-06T13:15:07.155Z] [13:14:21.061] TRACE: Resource file: [.\test.f187d945\resources\x.ico] <- [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon4.ico] [2025-11-06T13:15:07.155Z] [13:14:21.062] TRACE: Resource file: [.\test.f187d945\resources\IconTest.ico] <- [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon.ico] [2025-11-06T13:15:07.155Z] [13:14:21.064] TRACE: exec: Execute tool provider [javac -d .\test.f187d945\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4)... [2025-11-06T13:15:07.155Z] [13:14:21.186] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.155Z] [13:14:21.187] TRACE: assertEquals(0): Check command tool provider [javac -d .\test.f187d945\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4) exited with 0 code [2025-11-06T13:15:07.155Z] [13:14:21.187] TRACE: exec: Execute tool provider [jar -c -f .\test.f187d945\input\hello.jar -C .\test.f187d945\jar-workdir .](7)... [2025-11-06T13:15:07.155Z] [13:14:21.209] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.155Z] [13:14:21.209] 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-06T13:15:07.155Z] [13:14:21.210] TRACE: Create [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.f187d945\x.properties] properties file... [2025-11-06T13:15:07.155Z] [13:14:21.210] TRACE: Done [2025-11-06T13:15:07.155Z] [13:14:21.210] TRACE: Init fake runtime in [.\test.f187d945\fake_runtime] directory [2025-11-06T13:15:07.155Z] [13:14:21.212] TRACE: Files in [.\test.f187d945\resources] resource dir: [2025-11-06T13:15:07.155Z] [13:14:21.212] TRACE: [IconTest.ico] [2025-11-06T13:15:07.155Z] [13:14:21.212] TRACE: [x.ico] [2025-11-06T13:15:07.155Z] [13:14:21.212] TRACE: Done [2025-11-06T13:15:07.155Z] [13:14:21.212] TRACE: exec: Execute [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\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 --resource-dir .\test.f187d945\resources --icon C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon2.ico --add-launcher x=.\test.f187d945\x.properties --runtime-image .\test.f187d945\fake_runtime --verbose](23); save output... [2025-11-06T13:15:07.155Z] [13:14:21.514] Creating app package: IconTest in C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\.\test.f187d945\output [2025-11-06T13:15:07.155Z] [13:14:21.541] Using custom package resource [icon] (loaded from file C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon2.ico). [2025-11-06T13:15:07.155Z] [13:14:21.557] 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\jenkins\AppData\Local\Temp\jdk.jpackage12775311944553353938". [2025-11-06T13:15:07.155Z] [13:14:21.705] Using default package resource WinLauncher.template [Template for creating executable properties file] (add IconTest.properties to the resource-dir to customize). [2025-11-06T13:15:07.155Z] [13:14:21.797] Using custom package resource [icon] (loaded from x.ico). [2025-11-06T13:15:07.155Z] [13:14:21.813] 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\jenkins\AppData\Local\Temp\jdk.jpackage12775311944553353938". [2025-11-06T13:15:07.155Z] [13:14:21.950] Using default package resource WinLauncher.template [Template for creating executable properties file] (add x.properties to the resource-dir to customize). [2025-11-06T13:15:07.155Z] [13:14:21.955] Succeeded in building Windows Application Image package [2025-11-06T13:15:07.155Z] [13:14:21.967] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.156Z] [13:14:21.968] TRACE: assertEquals(0): Check command [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\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 --resource-dir .\test.f187d945\resources --icon C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon2.ico --add-launcher x=.\test.f187d945\x.properties --runtime-image .\test.f187d945\fake_runtime --verbose](23) exited with 0 code [2025-11-06T13:15:07.156Z] [13:14:21.968] TRACE: assertTrue(): Check [.\test.f187d945\output\IconTest\x.ico] path doesn't exist [2025-11-06T13:15:07.156Z] [13:14:21.969] TRACE: exec: Execute tool provider [javac -d .\test.f187d945\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4)... [2025-11-06T13:15:07.156Z] [13:14:22.089] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.156Z] [13:14:22.089] TRACE: assertEquals(0): Check command tool provider [javac -d .\test.f187d945\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4) exited with 0 code [2025-11-06T13:15:07.156Z] [13:14:22.089] TRACE: Delete [.\test.f187d945\input\hello.jar] existing jar file [2025-11-06T13:15:07.156Z] [13:14:22.090] TRACE: exec: Execute tool provider [jar -c -f .\test.f187d945\input\hello.jar -C .\test.f187d945\jar-workdir .](7)... [2025-11-06T13:15:07.156Z] [13:14:22.118] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.156Z] [13:14:22.118] 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-06T13:15:07.156Z] [13:14:22.119] TRACE: Init fake runtime in [.\test.f187d945\fake_runtime] directory [2025-11-06T13:15:07.156Z] [13:14:22.121] TRACE: exec: Execute [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\test.f187d945\input --dest .\test.f187d945\out-13052 --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-06T13:15:07.156Z] [13:14:22.424] Creating app package: IconTest in C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\.\test.f187d945\out-13052 [2025-11-06T13:15:07.156Z] [13:14:22.448] Using default package resource JavaApp.ico [icon] (add IconTest.ico to the resource-dir to customize). [2025-11-06T13:15:07.156Z] [13:14:22.464] 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\jenkins\AppData\Local\Temp\jdk.jpackage3074461571992188884". [2025-11-06T13:15:07.156Z] [13:14:22.601] Using default package resource WinLauncher.template [Template for creating executable properties file] (add IconTest.properties to the resource-dir to customize). [2025-11-06T13:15:07.156Z] [13:14:22.676] Succeeded in building Windows Application Image package [2025-11-06T13:15:07.156Z] [13:14:22.689] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.156Z] [13:14:22.689] TRACE: assertEquals(0): Check command [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\test.f187d945\input --dest .\test.f187d945\out-13052 --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-06T13:15:07.156Z] [13:14:22.754] TRACE: Set icon of [.\test.f187d945\icons\x.exe\container.exe] launcher to [.\test.f187d945\resources\x.ico] file [2025-11-06T13:15:07.156Z] [13:14:22.886] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.f187d945\icons\x.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.f187d945\icons\x.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T13:15:07.156Z] [13:14:23.295] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.156Z] [13:14:23.296] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.f187d945\icons\x.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.f187d945\icons\x.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T13:15:07.156Z] [13:14:23.296] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.f187d945\output\IconTest\x.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.f187d945\icons\x.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T13:15:07.156Z] [13:14:23.572] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.156Z] [13:14:23.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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.f187d945\output\IconTest\x.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.f187d945\icons\x.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T13:15:07.156Z] [13:14:23.572] 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-06T13:15:07.156Z] [13:14:23.574] TRACE: assertTrue(): Check [.\test.f187d945\output\IconTest\x.exe] path exists [2025-11-06T13:15:07.156Z] [13:14:23.574] TRACE: assertTrue(): Check [.\test.f187d945\output\IconTest\x.exe] is a file [2025-11-06T13:15:07.156Z] [13:14:23.574] TRACE: assertTrue(): Check [.\test.f187d945\output\IconTest\x.exe] file is executable [2025-11-06T13:15:07.156Z] [13:14:23.574] TRACE: Not running .\test.f187d945\output\IconTest\x.exe launcher because application runtime directory [.\test.f187d945\output\IconTest\runtime] is incomplete [2025-11-06T13:15:07.156Z] [13:14:23.575] TRACE: assertStringListEquals(): Check there is only one file with [.jpackage.xml] name in the package [2025-11-06T13:15:07.156Z] [13:14:23.575] TRACE: assertStringListEquals(1, .\test.f187d945\output\IconTest\app\.jpackage.xml) [2025-11-06T13:15:07.156Z] [13:14:23.575] TRACE: assertTrue(): Check [.\test.f187d945\output\IconTest\runtime] path exists [2025-11-06T13:15:07.156Z] [13:14:23.575] TRACE: assertTrue(): Check [.\test.f187d945\output\IconTest\runtime] is a directory [2025-11-06T13:15:07.156Z] [13:14:23.575] TRACE: assertTrue(): Check [.\test.f187d945\output\IconTest\IconTest.exe] path exists [2025-11-06T13:15:07.156Z] [13:14:23.575] TRACE: assertTrue(): Check [.\test.f187d945\output\IconTest\IconTest.exe] is a file [2025-11-06T13:15:07.156Z] [13:14:23.575] TRACE: assertTrue(): Check [.\test.f187d945\output\IconTest\IconTest.exe] file is executable [2025-11-06T13:15:07.156Z] [13:14:23.575] TRACE: assertTrue(): Check [.\test.f187d945\output\IconTest\app\IconTest.cfg] path exists [2025-11-06T13:15:07.156Z] [13:14:23.575] TRACE: assertTrue(): Check [.\test.f187d945\output\IconTest\app\IconTest.cfg] is a file [2025-11-06T13:15:07.156Z] [13:14:23.576] TRACE: assertTrue(): Check [.\test.f187d945\output\IconTest\IconTest.ico] path doesn't exist [2025-11-06T13:15:07.156Z] [13:14:23.577] TRACE: Set icon of [.\test.f187d945\icons\IconTest.exe\container.exe] launcher to [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon2.ico] file [2025-11-06T13:15:07.156Z] [13:14:23.712] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.f187d945\icons\IconTest.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.f187d945\icons\IconTest.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T13:15:07.156Z] [13:14:24.116] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.156Z] [13:14:24.116] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.f187d945\icons\IconTest.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.f187d945\icons\IconTest.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T13:15:07.156Z] [13:14:24.116] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.f187d945\output\IconTest\IconTest.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.f187d945\icons\IconTest.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T13:15:07.156Z] [13:14:24.392] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.156Z] [13:14:24.393] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.f187d945\output\IconTest\IconTest.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.f187d945\icons\IconTest.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T13:15:07.156Z] [13:14:24.393] 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-06T13:15:07.156Z] [13:14:24.395] TRACE: assertNotNull([13:14:21.541] Using custom package resource [icon] (loaded from file C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\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-06T13:15:07.156Z] [13:14:24.395] TRACE: assertNotNull([13:14:21.797] Using custom package resource [icon] (loaded from x.ico).): Check output contains [Using custom package resource [icon] (loaded from x.ico)] string [2025-11-06T13:15:07.156Z] [13:14:24.395] TRACE: Deleting [.\test.f187d945] directory recursively [2025-11-06T13:15:07.156Z] [13:14:24.403] [ OK ] IconTest(AppImage, CustomWithResourceDirIcon, ResourceDirIcon).test; checks=25 [2025-11-06T13:15:07.156Z] [13:14:24.403] [ RUN ] IconTest(AppImage, DefaultIcon, CustomIcon).test [2025-11-06T13:15:07.156Z] [13:14:24.404] TRACE: exec: Execute tool provider [javac -d .\test.63af6d24\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4)... [2025-11-06T13:15:07.156Z] [13:14:24.491] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.156Z] [13:14:24.491] TRACE: assertEquals(0): Check command tool provider [javac -d .\test.63af6d24\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4) exited with 0 code [2025-11-06T13:15:07.156Z] [13:14:24.492] TRACE: exec: Execute tool provider [jar -c -f .\test.63af6d24\input\hello.jar -C .\test.63af6d24\jar-workdir .](7)... [2025-11-06T13:15:07.156Z] [13:14:24.514] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.156Z] [13:14:24.514] 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-06T13:15:07.156Z] [13:14:24.515] TRACE: Create [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.63af6d24\x.properties] properties file... [2025-11-06T13:15:07.156Z] [13:14:24.515] TRACE: icon=C:/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/tools/jpackage/resources/icon3.ico [2025-11-06T13:15:07.156Z] [13:14:24.515] TRACE: Done [2025-11-06T13:15:07.156Z] [13:14:24.515] TRACE: Init fake runtime in [.\test.63af6d24\fake_runtime] directory [2025-11-06T13:15:07.156Z] [13:14:24.517] TRACE: exec: Execute [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\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-06T13:15:07.156Z] [13:14:24.825] Creating app package: IconTest in C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\.\test.63af6d24\output [2025-11-06T13:15:07.156Z] [13:14:24.849] Using default package resource JavaApp.ico [icon] (add IconTest.ico to the resource-dir to customize). [2025-11-06T13:15:07.156Z] [13:14:24.866] 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\jenkins\AppData\Local\Temp\jdk.jpackage9115367867340509709". [2025-11-06T13:15:07.156Z] [13:14:25.010] Using default package resource WinLauncher.template [Template for creating executable properties file] (add IconTest.properties to the resource-dir to customize). [2025-11-06T13:15:07.156Z] [13:14:25.102] Using custom package resource [icon] (loaded from file C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon3.ico). [2025-11-06T13:15:07.156Z] [13:14:25.107] 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\jenkins\AppData\Local\Temp\jdk.jpackage9115367867340509709". [2025-11-06T13:15:07.156Z] [13:14:25.248] Using default package resource WinLauncher.template [Template for creating executable properties file] (add x.properties to the resource-dir to customize). [2025-11-06T13:15:07.156Z] [13:14:25.252] Succeeded in building Windows Application Image package [2025-11-06T13:15:07.156Z] [13:14:25.265] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.156Z] [13:14:25.266] TRACE: assertEquals(0): Check command [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\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-06T13:15:07.156Z] [13:14:25.266] TRACE: assertTrue(): Check [.\test.63af6d24\output\IconTest\x.ico] path doesn't exist [2025-11-06T13:15:07.156Z] [13:14:25.268] TRACE: exec: Execute tool provider [javac -d .\test.63af6d24\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4)... [2025-11-06T13:15:07.156Z] [13:14:25.372] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.156Z] [13:14:25.372] TRACE: assertEquals(0): Check command tool provider [javac -d .\test.63af6d24\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4) exited with 0 code [2025-11-06T13:15:07.156Z] [13:14:25.372] TRACE: Delete [.\test.63af6d24\input\hello.jar] existing jar file [2025-11-06T13:15:07.156Z] [13:14:25.373] TRACE: exec: Execute tool provider [jar -c -f .\test.63af6d24\input\hello.jar -C .\test.63af6d24\jar-workdir .](7)... [2025-11-06T13:15:07.156Z] [13:14:25.396] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.156Z] [13:14:25.396] 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-06T13:15:07.156Z] [13:14:25.397] TRACE: Init fake runtime in [.\test.63af6d24\fake_runtime] directory [2025-11-06T13:15:07.156Z] [13:14:25.398] TRACE: exec: Execute [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\test.63af6d24\input --dest .\test.63af6d24\out-13052 --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-06T13:15:07.156Z] [13:14:25.705] Creating app package: IconTest in C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\.\test.63af6d24\out-13052 [2025-11-06T13:15:07.156Z] [13:14:25.731] Using default package resource JavaApp.ico [icon] (add IconTest.ico to the resource-dir to customize). [2025-11-06T13:15:07.156Z] [13:14:25.749] 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\jenkins\AppData\Local\Temp\jdk.jpackage14369683627958824770". [2025-11-06T13:15:07.156Z] [13:14:25.883] Using default package resource WinLauncher.template [Template for creating executable properties file] (add IconTest.properties to the resource-dir to customize). [2025-11-06T13:15:07.156Z] [13:14:25.920] Succeeded in building Windows Application Image package [2025-11-06T13:15:07.156Z] [13:14:25.933] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.156Z] [13:14:25.934] TRACE: assertEquals(0): Check command [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\test.63af6d24\input --dest .\test.63af6d24\out-13052 --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-06T13:15:07.156Z] [13:14:26.037] TRACE: Set icon of [.\test.63af6d24\icons\x.exe\container.exe] launcher to [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon3.ico] file [2025-11-06T13:15:07.157Z] [13:14:26.168] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.63af6d24\icons\x.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.63af6d24\icons\x.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T13:15:07.157Z] [13:14:26.581] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.157Z] [13:14:26.581] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.63af6d24\icons\x.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.63af6d24\icons\x.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T13:15:07.157Z] [13:14:26.581] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.63af6d24\output\IconTest\x.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.63af6d24\icons\x.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T13:15:07.157Z] [13:14:26.855] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.157Z] [13:14:26.856] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.63af6d24\output\IconTest\x.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.63af6d24\icons\x.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T13:15:07.157Z] [13:14:26.856] 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-06T13:15:07.157Z] [13:14:26.858] TRACE: assertTrue(): Check [.\test.63af6d24\output\IconTest\x.exe] path exists [2025-11-06T13:15:07.157Z] [13:14:26.858] TRACE: assertTrue(): Check [.\test.63af6d24\output\IconTest\x.exe] is a file [2025-11-06T13:15:07.157Z] [13:14:26.858] TRACE: assertTrue(): Check [.\test.63af6d24\output\IconTest\x.exe] file is executable [2025-11-06T13:15:07.157Z] [13:14:26.858] TRACE: Not running .\test.63af6d24\output\IconTest\x.exe launcher because application runtime directory [.\test.63af6d24\output\IconTest\runtime] is incomplete [2025-11-06T13:15:07.157Z] [13:14:26.859] TRACE: assertStringListEquals(): Check there is only one file with [.jpackage.xml] name in the package [2025-11-06T13:15:07.157Z] [13:14:26.859] TRACE: assertStringListEquals(1, .\test.63af6d24\output\IconTest\app\.jpackage.xml) [2025-11-06T13:15:07.157Z] [13:14:26.859] TRACE: assertTrue(): Check [.\test.63af6d24\output\IconTest\runtime] path exists [2025-11-06T13:15:07.157Z] [13:14:26.859] TRACE: assertTrue(): Check [.\test.63af6d24\output\IconTest\runtime] is a directory [2025-11-06T13:15:07.157Z] [13:14:26.859] TRACE: assertTrue(): Check [.\test.63af6d24\output\IconTest\IconTest.exe] path exists [2025-11-06T13:15:07.157Z] [13:14:26.859] TRACE: assertTrue(): Check [.\test.63af6d24\output\IconTest\IconTest.exe] is a file [2025-11-06T13:15:07.157Z] [13:14:26.859] TRACE: assertTrue(): Check [.\test.63af6d24\output\IconTest\IconTest.exe] file is executable [2025-11-06T13:15:07.157Z] [13:14:26.859] TRACE: assertTrue(): Check [.\test.63af6d24\output\IconTest\app\IconTest.cfg] path exists [2025-11-06T13:15:07.157Z] [13:14:26.859] TRACE: assertTrue(): Check [.\test.63af6d24\output\IconTest\app\IconTest.cfg] is a file [2025-11-06T13:15:07.157Z] [13:14:26.860] TRACE: assertTrue(): Check [.\test.63af6d24\output\IconTest\IconTest.ico] path doesn't exist [2025-11-06T13:15:07.157Z] [13:14:26.862] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.63af6d24\icons\IconTest.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.63af6d24\icons\IconTest.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T13:15:07.157Z] [13:14:27.280] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.157Z] [13:14:27.280] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.63af6d24\icons\IconTest.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.63af6d24\icons\IconTest.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T13:15:07.157Z] [13:14:27.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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.63af6d24\output\IconTest\IconTest.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.63af6d24\icons\IconTest.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T13:15:07.157Z] [13:14:27.570] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.157Z] [13:14:27.570] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.63af6d24\output\IconTest\IconTest.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.63af6d24\icons\IconTest.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T13:15:07.157Z] [13:14:27.570] 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-06T13:15:07.157Z] [13:14:27.572] TRACE: assertNotNull([13:14:24.849] 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-06T13:15:07.157Z] [13:14:27.572] TRACE: assertNotNull([13:14:25.102] Using custom package resource [icon] (loaded from file C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\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-06T13:15:07.157Z] [13:14:27.573] TRACE: Deleting [.\test.63af6d24] directory recursively [2025-11-06T13:15:07.157Z] [13:14:27.579] [ OK ] IconTest(AppImage, DefaultIcon, CustomIcon).test; checks=25 [2025-11-06T13:15:07.157Z] [13:14:27.579] [ RUN ] IconTest(AppImage, DefaultIcon, CustomWithResourceDirIcon).test [2025-11-06T13:15:07.157Z] [13:14:27.580] TRACE: Resource file: [.\test.6bf63c15\resources\x.ico] <- [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon3.ico] [2025-11-06T13:15:07.157Z] [13:14:27.581] TRACE: exec: Execute tool provider [javac -d .\test.6bf63c15\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4)... [2025-11-06T13:15:07.157Z] [13:14:27.709] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.157Z] [13:14:27.709] TRACE: assertEquals(0): Check command tool provider [javac -d .\test.6bf63c15\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4) exited with 0 code [2025-11-06T13:15:07.157Z] [13:14:27.710] TRACE: exec: Execute tool provider [jar -c -f .\test.6bf63c15\input\hello.jar -C .\test.6bf63c15\jar-workdir .](7)... [2025-11-06T13:15:07.157Z] [13:14:27.733] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.157Z] [13:14:27.733] 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-06T13:15:07.157Z] [13:14:27.734] TRACE: Create [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.6bf63c15\x.properties] properties file... [2025-11-06T13:15:07.157Z] [13:14:27.734] TRACE: icon=C:/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/tools/jpackage/resources/icon4.ico [2025-11-06T13:15:07.157Z] [13:14:27.734] TRACE: Done [2025-11-06T13:15:07.157Z] [13:14:27.734] TRACE: Init fake runtime in [.\test.6bf63c15\fake_runtime] directory [2025-11-06T13:15:07.157Z] [13:14:27.736] TRACE: Files in [.\test.6bf63c15\resources] resource dir: [2025-11-06T13:15:07.157Z] [13:14:27.736] TRACE: [x.ico] [2025-11-06T13:15:07.157Z] [13:14:27.736] TRACE: Done [2025-11-06T13:15:07.157Z] [13:14:27.736] TRACE: exec: Execute [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\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-06T13:15:07.157Z] [13:14:28.063] Creating app package: IconTest in C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\.\test.6bf63c15\output [2025-11-06T13:15:07.157Z] [13:14:28.100] Using default package resource JavaApp.ico [icon] (add IconTest.ico to the resource-dir to customize). [2025-11-06T13:15:07.157Z] [13:14:28.116] 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\jenkins\AppData\Local\Temp\jdk.jpackage4533349764029948304". [2025-11-06T13:15:07.157Z] [13:14:28.253] Using default package resource WinLauncher.template [Template for creating executable properties file] (add IconTest.properties to the resource-dir to customize). [2025-11-06T13:15:07.157Z] [13:14:28.331] Using custom package resource [icon] (loaded from file C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon4.ico). [2025-11-06T13:15:07.157Z] [13:14:28.336] 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\jenkins\AppData\Local\Temp\jdk.jpackage4533349764029948304". [2025-11-06T13:15:07.157Z] [13:14:28.494] Using default package resource WinLauncher.template [Template for creating executable properties file] (add x.properties to the resource-dir to customize). [2025-11-06T13:15:07.157Z] [13:14:28.499] Succeeded in building Windows Application Image package [2025-11-06T13:15:07.157Z] [13:14:28.511] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.157Z] [13:14:28.511] TRACE: assertEquals(0): Check command [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\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-06T13:15:07.157Z] [13:14:28.512] TRACE: assertTrue(): Check [.\test.6bf63c15\output\IconTest\x.ico] path doesn't exist [2025-11-06T13:15:07.157Z] [13:14:28.513] TRACE: exec: Execute tool provider [javac -d .\test.6bf63c15\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4)... [2025-11-06T13:15:07.157Z] [13:14:28.604] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.157Z] [13:14:28.604] TRACE: assertEquals(0): Check command tool provider [javac -d .\test.6bf63c15\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4) exited with 0 code [2025-11-06T13:15:07.157Z] [13:14:28.605] TRACE: Delete [.\test.6bf63c15\input\hello.jar] existing jar file [2025-11-06T13:15:07.157Z] [13:14:28.605] TRACE: exec: Execute tool provider [jar -c -f .\test.6bf63c15\input\hello.jar -C .\test.6bf63c15\jar-workdir .](7)... [2025-11-06T13:15:07.157Z] [13:14:28.633] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.157Z] [13:14:28.633] 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-06T13:15:07.157Z] [13:14:28.634] TRACE: Init fake runtime in [.\test.6bf63c15\fake_runtime] directory [2025-11-06T13:15:07.157Z] [13:14:28.636] TRACE: exec: Execute [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\test.6bf63c15\input --dest .\test.6bf63c15\out-13052 --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-06T13:15:07.157Z] [13:14:28.939] Creating app package: IconTest in C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\.\test.6bf63c15\out-13052 [2025-11-06T13:15:07.157Z] [13:14:28.964] Using default package resource JavaApp.ico [icon] (add IconTest.ico to the resource-dir to customize). [2025-11-06T13:15:07.157Z] [13:14:28.982] 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\jenkins\AppData\Local\Temp\jdk.jpackage5751767655024132605". [2025-11-06T13:15:07.157Z] [13:14:29.114] Using default package resource WinLauncher.template [Template for creating executable properties file] (add IconTest.properties to the resource-dir to customize). [2025-11-06T13:15:07.157Z] [13:14:29.189] Succeeded in building Windows Application Image package [2025-11-06T13:15:07.157Z] [13:14:29.201] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.157Z] [13:14:29.201] TRACE: assertEquals(0): Check command [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\test.6bf63c15\input --dest .\test.6bf63c15\out-13052 --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-06T13:15:07.157Z] [13:14:29.268] TRACE: Set icon of [.\test.6bf63c15\icons\x.exe\container.exe] launcher to [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon4.ico] file [2025-11-06T13:15:07.157Z] [13:14:29.399] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.6bf63c15\icons\x.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.6bf63c15\icons\x.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T13:15:07.157Z] [13:14:29.812] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.157Z] [13:14:29.812] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.6bf63c15\icons\x.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.6bf63c15\icons\x.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T13:15:07.157Z] [13:14:29.812] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.6bf63c15\output\IconTest\x.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.6bf63c15\icons\x.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T13:15:07.157Z] [13:14:30.092] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.157Z] [13:14:30.092] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.6bf63c15\output\IconTest\x.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.6bf63c15\icons\x.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T13:15:07.157Z] [13:14:30.092] 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-06T13:15:07.157Z] [13:14:30.094] TRACE: assertTrue(): Check [.\test.6bf63c15\output\IconTest\x.exe] path exists [2025-11-06T13:15:07.157Z] [13:14:30.094] TRACE: assertTrue(): Check [.\test.6bf63c15\output\IconTest\x.exe] is a file [2025-11-06T13:15:07.157Z] [13:14:30.094] TRACE: assertTrue(): Check [.\test.6bf63c15\output\IconTest\x.exe] file is executable [2025-11-06T13:15:07.157Z] [13:14:30.094] TRACE: Not running .\test.6bf63c15\output\IconTest\x.exe launcher because application runtime directory [.\test.6bf63c15\output\IconTest\runtime] is incomplete [2025-11-06T13:15:07.157Z] [13:14:30.095] TRACE: assertStringListEquals(): Check there is only one file with [.jpackage.xml] name in the package [2025-11-06T13:15:07.157Z] [13:14:30.095] TRACE: assertStringListEquals(1, .\test.6bf63c15\output\IconTest\app\.jpackage.xml) [2025-11-06T13:15:07.157Z] [13:14:30.095] TRACE: assertTrue(): Check [.\test.6bf63c15\output\IconTest\runtime] path exists [2025-11-06T13:15:07.157Z] [13:14:30.095] TRACE: assertTrue(): Check [.\test.6bf63c15\output\IconTest\runtime] is a directory [2025-11-06T13:15:07.158Z] [13:14:30.095] TRACE: assertTrue(): Check [.\test.6bf63c15\output\IconTest\IconTest.exe] path exists [2025-11-06T13:15:07.158Z] [13:14:30.095] TRACE: assertTrue(): Check [.\test.6bf63c15\output\IconTest\IconTest.exe] is a file [2025-11-06T13:15:07.158Z] [13:14:30.095] TRACE: assertTrue(): Check [.\test.6bf63c15\output\IconTest\IconTest.exe] file is executable [2025-11-06T13:15:07.158Z] [13:14:30.096] TRACE: assertTrue(): Check [.\test.6bf63c15\output\IconTest\app\IconTest.cfg] path exists [2025-11-06T13:15:07.158Z] [13:14:30.096] TRACE: assertTrue(): Check [.\test.6bf63c15\output\IconTest\app\IconTest.cfg] is a file [2025-11-06T13:15:07.158Z] [13:14:30.096] TRACE: assertTrue(): Check [.\test.6bf63c15\output\IconTest\IconTest.ico] path doesn't exist [2025-11-06T13:15:07.158Z] [13:14:30.098] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.6bf63c15\icons\IconTest.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.6bf63c15\icons\IconTest.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T13:15:07.158Z] [13:14:30.510] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.158Z] [13:14:30.510] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.6bf63c15\icons\IconTest.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.6bf63c15\icons\IconTest.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T13:15:07.158Z] [13:14:30.511] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.6bf63c15\output\IconTest\IconTest.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.6bf63c15\icons\IconTest.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T13:15:07.158Z] [13:14:30.796] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.158Z] [13:14:30.797] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.6bf63c15\output\IconTest\IconTest.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.6bf63c15\icons\IconTest.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T13:15:07.158Z] [13:14:30.797] 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-06T13:15:07.158Z] [13:14:30.799] TRACE: assertNotNull([13:14:28.100] 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-06T13:15:07.158Z] [13:14:30.799] TRACE: assertNotNull([13:14:28.331] Using custom package resource [icon] (loaded from file C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\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-06T13:15:07.158Z] [13:14:30.799] TRACE: Deleting [.\test.6bf63c15] directory recursively [2025-11-06T13:15:07.158Z] [13:14:30.805] [ OK ] IconTest(AppImage, DefaultIcon, CustomWithResourceDirIcon).test; checks=25 [2025-11-06T13:15:07.158Z] [13:14:30.806] [ RUN ] IconTest(AppImage, DefaultIcon, DefaultIcon).test [2025-11-06T13:15:07.158Z] [13:14:30.807] TRACE: exec: Execute tool provider [javac -d .\test.62e2cc8e\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4)... [2025-11-06T13:15:07.158Z] [13:14:30.923] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.158Z] [13:14:30.923] TRACE: assertEquals(0): Check command tool provider [javac -d .\test.62e2cc8e\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4) exited with 0 code [2025-11-06T13:15:07.158Z] [13:14:30.924] TRACE: exec: Execute tool provider [jar -c -f .\test.62e2cc8e\input\hello.jar -C .\test.62e2cc8e\jar-workdir .](7)... [2025-11-06T13:15:07.158Z] [13:14:30.945] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.158Z] [13:14:30.945] 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-06T13:15:07.158Z] [13:14:30.946] TRACE: Create [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.62e2cc8e\x.properties] properties file... [2025-11-06T13:15:07.158Z] [13:14:30.946] TRACE: Done [2025-11-06T13:15:07.158Z] [13:14:30.946] TRACE: Init fake runtime in [.\test.62e2cc8e\fake_runtime] directory [2025-11-06T13:15:07.158Z] [13:14:30.947] TRACE: exec: Execute [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\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-06T13:15:07.158Z] [13:14:31.256] Creating app package: IconTest in C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\.\test.62e2cc8e\output [2025-11-06T13:15:07.158Z] [13:14:31.279] Using default package resource JavaApp.ico [icon] (add IconTest.ico to the resource-dir to customize). [2025-11-06T13:15:07.158Z] [13:14:31.295] 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\jenkins\AppData\Local\Temp\jdk.jpackage959585984861045285". [2025-11-06T13:15:07.158Z] [13:14:31.432] Using default package resource WinLauncher.template [Template for creating executable properties file] (add IconTest.properties to the resource-dir to customize). [2025-11-06T13:15:07.158Z] [13:14:31.515] Using default package resource JavaApp.ico [icon] (add x.ico to the resource-dir to customize). [2025-11-06T13:15:07.158Z] [13:14:31.520] 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\jenkins\AppData\Local\Temp\jdk.jpackage959585984861045285". [2025-11-06T13:15:07.158Z] [13:14:31.654] Using default package resource WinLauncher.template [Template for creating executable properties file] (add x.properties to the resource-dir to customize). [2025-11-06T13:15:07.158Z] [13:14:31.659] Succeeded in building Windows Application Image package [2025-11-06T13:15:07.158Z] [13:14:31.671] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.158Z] [13:14:31.671] TRACE: assertEquals(0): Check command [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\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-06T13:15:07.158Z] [13:14:31.672] TRACE: assertTrue(): Check [.\test.62e2cc8e\output\IconTest\x.ico] path doesn't exist [2025-11-06T13:15:07.158Z] [13:14:31.673] TRACE: exec: Execute tool provider [javac -d .\test.62e2cc8e\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4)... [2025-11-06T13:15:07.158Z] [13:14:31.771] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.158Z] [13:14:31.771] TRACE: assertEquals(0): Check command tool provider [javac -d .\test.62e2cc8e\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4) exited with 0 code [2025-11-06T13:15:07.158Z] [13:14:31.771] TRACE: Delete [.\test.62e2cc8e\input\hello.jar] existing jar file [2025-11-06T13:15:07.158Z] [13:14:31.771] TRACE: exec: Execute tool provider [jar -c -f .\test.62e2cc8e\input\hello.jar -C .\test.62e2cc8e\jar-workdir .](7)... [2025-11-06T13:15:07.158Z] [13:14:31.793] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.158Z] [13:14:31.793] 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-06T13:15:07.158Z] [13:14:31.794] TRACE: Init fake runtime in [.\test.62e2cc8e\fake_runtime] directory [2025-11-06T13:15:07.158Z] [13:14:31.795] TRACE: exec: Execute [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\test.62e2cc8e\input --dest .\test.62e2cc8e\out-13052 --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-06T13:15:07.158Z] [13:14:32.097] Creating app package: IconTest in C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\.\test.62e2cc8e\out-13052 [2025-11-06T13:15:07.158Z] [13:14:32.121] Using default package resource JavaApp.ico [icon] (add IconTest.ico to the resource-dir to customize). [2025-11-06T13:15:07.158Z] [13:14:32.138] 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\jenkins\AppData\Local\Temp\jdk.jpackage17515555950350404688". [2025-11-06T13:15:07.158Z] [13:14:32.270] Using default package resource WinLauncher.template [Template for creating executable properties file] (add IconTest.properties to the resource-dir to customize). [2025-11-06T13:15:07.158Z] [13:14:32.307] Succeeded in building Windows Application Image package [2025-11-06T13:15:07.158Z] [13:14:32.319] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.158Z] [13:14:32.319] TRACE: assertEquals(0): Check command [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\test.62e2cc8e\input --dest .\test.62e2cc8e\out-13052 --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-06T13:15:07.158Z] [13:14:32.415] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.62e2cc8e\icons\x.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.62e2cc8e\icons\x.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T13:15:07.158Z] [13:14:32.845] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.158Z] [13:14:32.845] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.62e2cc8e\icons\x.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.62e2cc8e\icons\x.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T13:15:07.158Z] [13:14:32.845] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.62e2cc8e\output\IconTest\x.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.62e2cc8e\icons\x.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T13:15:07.158Z] [13:14:33.124] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.158Z] [13:14:33.124] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.62e2cc8e\output\IconTest\x.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.62e2cc8e\icons\x.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T13:15:07.158Z] [13:14:33.124] 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-06T13:15:07.158Z] [13:14:33.127] TRACE: assertTrue(): Check [.\test.62e2cc8e\output\IconTest\x.exe] path exists [2025-11-06T13:15:07.158Z] [13:14:33.127] TRACE: assertTrue(): Check [.\test.62e2cc8e\output\IconTest\x.exe] is a file [2025-11-06T13:15:07.158Z] [13:14:33.127] TRACE: assertTrue(): Check [.\test.62e2cc8e\output\IconTest\x.exe] file is executable [2025-11-06T13:15:07.158Z] [13:14:33.127] TRACE: Not running .\test.62e2cc8e\output\IconTest\x.exe launcher because application runtime directory [.\test.62e2cc8e\output\IconTest\runtime] is incomplete [2025-11-06T13:15:07.158Z] [13:14:33.128] TRACE: assertStringListEquals(): Check there is only one file with [.jpackage.xml] name in the package [2025-11-06T13:15:07.158Z] [13:14:33.128] TRACE: assertStringListEquals(1, .\test.62e2cc8e\output\IconTest\app\.jpackage.xml) [2025-11-06T13:15:07.158Z] [13:14:33.128] TRACE: assertTrue(): Check [.\test.62e2cc8e\output\IconTest\runtime] path exists [2025-11-06T13:15:07.158Z] [13:14:33.128] TRACE: assertTrue(): Check [.\test.62e2cc8e\output\IconTest\runtime] is a directory [2025-11-06T13:15:07.158Z] [13:14:33.128] TRACE: assertTrue(): Check [.\test.62e2cc8e\output\IconTest\IconTest.exe] path exists [2025-11-06T13:15:07.158Z] [13:14:33.128] TRACE: assertTrue(): Check [.\test.62e2cc8e\output\IconTest\IconTest.exe] is a file [2025-11-06T13:15:07.158Z] [13:14:33.128] TRACE: assertTrue(): Check [.\test.62e2cc8e\output\IconTest\IconTest.exe] file is executable [2025-11-06T13:15:07.158Z] [13:14:33.128] TRACE: assertTrue(): Check [.\test.62e2cc8e\output\IconTest\app\IconTest.cfg] path exists [2025-11-06T13:15:07.158Z] [13:14:33.128] TRACE: assertTrue(): Check [.\test.62e2cc8e\output\IconTest\app\IconTest.cfg] is a file [2025-11-06T13:15:07.158Z] [13:14:33.128] TRACE: assertTrue(): Check [.\test.62e2cc8e\output\IconTest\IconTest.ico] path doesn't exist [2025-11-06T13:15:07.158Z] [13:14:33.131] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.62e2cc8e\icons\IconTest.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.62e2cc8e\icons\IconTest.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T13:15:07.158Z] [13:14:33.539] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.158Z] [13:14:33.539] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.62e2cc8e\icons\IconTest.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.62e2cc8e\icons\IconTest.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T13:15:07.158Z] [13:14:33.539] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.62e2cc8e\output\IconTest\IconTest.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.62e2cc8e\icons\IconTest.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T13:15:07.158Z] [13:14:33.819] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.158Z] [13:14:33.820] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.62e2cc8e\output\IconTest\IconTest.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.62e2cc8e\icons\IconTest.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T13:15:07.158Z] [13:14:33.820] 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-06T13:15:07.158Z] [13:14:33.822] TRACE: assertNotNull([13:14:31.279] 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-06T13:15:07.158Z] [13:14:33.822] TRACE: assertNotNull([13:14:31.515] 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-06T13:15:07.158Z] [13:14:33.822] TRACE: Deleting [.\test.62e2cc8e] directory recursively [2025-11-06T13:15:07.158Z] [13:14:33.829] [ OK ] IconTest(AppImage, DefaultIcon, DefaultIcon).test; checks=25 [2025-11-06T13:15:07.158Z] [13:14:33.829] [ RUN ] IconTest(AppImage, DefaultIcon, NoIcon).test [2025-11-06T13:15:07.159Z] [13:14:33.830] TRACE: exec: Execute tool provider [javac -d .\test.2988b4f4\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4)... [2025-11-06T13:15:07.159Z] [13:14:33.913] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.159Z] [13:14:33.913] TRACE: assertEquals(0): Check command tool provider [javac -d .\test.2988b4f4\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4) exited with 0 code [2025-11-06T13:15:07.159Z] [13:14:33.914] TRACE: exec: Execute tool provider [jar -c -f .\test.2988b4f4\input\hello.jar -C .\test.2988b4f4\jar-workdir .](7)... [2025-11-06T13:15:07.159Z] [13:14:33.935] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.159Z] [13:14:33.935] 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-06T13:15:07.159Z] [13:14:33.936] TRACE: Create [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.2988b4f4\x.properties] properties file... [2025-11-06T13:15:07.159Z] [13:14:33.936] TRACE: icon= [2025-11-06T13:15:07.159Z] [13:14:33.937] TRACE: Done [2025-11-06T13:15:07.159Z] [13:14:33.937] TRACE: Init fake runtime in [.\test.2988b4f4\fake_runtime] directory [2025-11-06T13:15:07.159Z] [13:14:33.938] TRACE: exec: Execute [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\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-06T13:15:07.159Z] [13:14:34.257] Creating app package: IconTest in C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\.\test.2988b4f4\output [2025-11-06T13:15:07.159Z] [13:14:34.281] Using default package resource JavaApp.ico [icon] (add IconTest.ico to the resource-dir to customize). [2025-11-06T13:15:07.159Z] [13:14:34.299] 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\jenkins\AppData\Local\Temp\jdk.jpackage14842961952160221881". [2025-11-06T13:15:07.159Z] [13:14:34.432] Using default package resource WinLauncher.template [Template for creating executable properties file] (add IconTest.properties to the resource-dir to customize). [2025-11-06T13:15:07.159Z] [13:14:34.526] 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\jenkins\AppData\Local\Temp\jdk.jpackage14842961952160221881". [2025-11-06T13:15:07.159Z] [13:14:34.696] Using default package resource WinLauncher.template [Template for creating executable properties file] (add x.properties to the resource-dir to customize). [2025-11-06T13:15:07.159Z] [13:14:34.700] Succeeded in building Windows Application Image package [2025-11-06T13:15:07.159Z] [13:14:34.712] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.159Z] [13:14:34.712] TRACE: assertEquals(0): Check command [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\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-06T13:15:07.159Z] [13:14:34.713] TRACE: assertTrue(): Check [.\test.2988b4f4\output\IconTest\x.ico] path doesn't exist [2025-11-06T13:15:07.159Z] [13:14:34.714] TRACE: exec: Execute tool provider [javac -d .\test.2988b4f4\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4)... [2025-11-06T13:15:07.159Z] [13:14:34.832] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.159Z] [13:14:34.833] TRACE: assertEquals(0): Check command tool provider [javac -d .\test.2988b4f4\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4) exited with 0 code [2025-11-06T13:15:07.159Z] [13:14:34.833] TRACE: Delete [.\test.2988b4f4\input\hello.jar] existing jar file [2025-11-06T13:15:07.159Z] [13:14:34.833] TRACE: exec: Execute tool provider [jar -c -f .\test.2988b4f4\input\hello.jar -C .\test.2988b4f4\jar-workdir .](7)... [2025-11-06T13:15:07.159Z] [13:14:34.862] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.159Z] [13:14:34.862] 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-06T13:15:07.159Z] [13:14:34.863] TRACE: Init fake runtime in [.\test.2988b4f4\fake_runtime] directory [2025-11-06T13:15:07.159Z] [13:14:34.864] TRACE: Create [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.2988b4f4\no-icon.properties] properties file... [2025-11-06T13:15:07.159Z] [13:14:34.864] TRACE: icon= [2025-11-06T13:15:07.159Z] [13:14:34.865] TRACE: Done [2025-11-06T13:15:07.159Z] [13:14:34.865] TRACE: exec: Execute [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\test.2988b4f4\input --dest .\test.2988b4f4\out-13052 --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-06T13:15:07.159Z] [13:14:35.160] Creating app package: IconTest in C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\.\test.2988b4f4\out-13052 [2025-11-06T13:15:07.159Z] [13:14:35.183] Using default package resource JavaApp.ico [icon] (add IconTest.ico to the resource-dir to customize). [2025-11-06T13:15:07.159Z] [13:14:35.200] 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\jenkins\AppData\Local\Temp\jdk.jpackage3417622982700267418". [2025-11-06T13:15:07.159Z] [13:14:35.331] Using default package resource WinLauncher.template [Template for creating executable properties file] (add IconTest.properties to the resource-dir to customize). [2025-11-06T13:15:07.159Z] [13:14:35.410] 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\jenkins\AppData\Local\Temp\jdk.jpackage3417622982700267418". [2025-11-06T13:15:07.159Z] [13:14:35.545] Using default package resource WinLauncher.template [Template for creating executable properties file] (add no-icon.properties to the resource-dir to customize). [2025-11-06T13:15:07.159Z] [13:14:35.553] Succeeded in building Windows Application Image package [2025-11-06T13:15:07.159Z] [13:14:35.565] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.159Z] [13:14:35.565] TRACE: assertEquals(0): Check command [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\test.2988b4f4\input --dest .\test.2988b4f4\out-13052 --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-06T13:15:07.159Z] [13:14:35.565] TRACE: assertTrue(): Check [.\test.2988b4f4\out-13052\IconTest\no-icon.ico] path doesn't exist [2025-11-06T13:15:07.159Z] [13:14:35.688] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.2988b4f4\icons.0\no-icon.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.2988b4f4\icons.0\no-icon.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T13:15:07.159Z] [13:14:36.117] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.159Z] [13:14:36.118] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.2988b4f4\icons.0\no-icon.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.2988b4f4\icons.0\no-icon.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T13:15:07.159Z] [13:14:36.118] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.2988b4f4\out-13052\IconTest\no-icon.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.2988b4f4\icons.0\no-icon.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T13:15:07.159Z] [13:14:36.416] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.159Z] [13:14:36.416] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.2988b4f4\out-13052\IconTest\no-icon.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.2988b4f4\icons.0\no-icon.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T13:15:07.159Z] [13:14:36.416] 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-06T13:15:07.159Z] [13:14:36.418] TRACE: assertTrue(): Check [.\test.2988b4f4\out-13052\IconTest\no-icon.exe] path exists [2025-11-06T13:15:07.159Z] [13:14:36.418] TRACE: assertTrue(): Check [.\test.2988b4f4\out-13052\IconTest\no-icon.exe] is a file [2025-11-06T13:15:07.159Z] [13:14:36.419] TRACE: assertTrue(): Check [.\test.2988b4f4\out-13052\IconTest\no-icon.exe] file is executable [2025-11-06T13:15:07.159Z] [13:14:36.419] TRACE: Not running .\test.2988b4f4\out-13052\IconTest\no-icon.exe launcher because application runtime directory [.\test.2988b4f4\out-13052\IconTest\runtime] is incomplete [2025-11-06T13:15:07.159Z] [13:14:36.420] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.2988b4f4\icons\x.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.2988b4f4\icons\x.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T13:15:07.159Z] [13:14:36.858] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.159Z] [13:14:36.858] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.2988b4f4\icons\x.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.2988b4f4\icons\x.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T13:15:07.159Z] [13:14:36.858] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.2988b4f4\output\IconTest\x.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.2988b4f4\icons\x.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T13:15:07.159Z] [13:14:37.175] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.159Z] [13:14:37.176] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.2988b4f4\output\IconTest\x.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.2988b4f4\icons\x.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T13:15:07.159Z] [13:14:37.176] 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-06T13:15:07.159Z] [13:14:37.179] TRACE: assertTrue(): Check [.\test.2988b4f4\output\IconTest\x.exe] path exists [2025-11-06T13:15:07.159Z] [13:14:37.179] TRACE: assertTrue(): Check [.\test.2988b4f4\output\IconTest\x.exe] is a file [2025-11-06T13:15:07.159Z] [13:14:37.179] TRACE: assertTrue(): Check [.\test.2988b4f4\output\IconTest\x.exe] file is executable [2025-11-06T13:15:07.159Z] [13:14:37.179] TRACE: Not running .\test.2988b4f4\output\IconTest\x.exe launcher because application runtime directory [.\test.2988b4f4\output\IconTest\runtime] is incomplete [2025-11-06T13:15:07.159Z] [13:14:37.180] TRACE: assertStringListEquals(): Check there is only one file with [.jpackage.xml] name in the package [2025-11-06T13:15:07.159Z] [13:14:37.180] TRACE: assertStringListEquals(1, .\test.2988b4f4\output\IconTest\app\.jpackage.xml) [2025-11-06T13:15:07.159Z] [13:14:37.219] TRACE: assertTrue(): Check [.\test.2988b4f4\output\IconTest\runtime] path exists [2025-11-06T13:15:07.159Z] [13:14:37.219] TRACE: assertTrue(): Check [.\test.2988b4f4\output\IconTest\runtime] is a directory [2025-11-06T13:15:07.159Z] [13:14:37.219] TRACE: assertTrue(): Check [.\test.2988b4f4\output\IconTest\IconTest.exe] path exists [2025-11-06T13:15:07.159Z] [13:14:37.219] TRACE: assertTrue(): Check [.\test.2988b4f4\output\IconTest\IconTest.exe] is a file [2025-11-06T13:15:07.159Z] [13:14:37.220] TRACE: assertTrue(): Check [.\test.2988b4f4\output\IconTest\IconTest.exe] file is executable [2025-11-06T13:15:07.159Z] [13:14:37.220] TRACE: assertTrue(): Check [.\test.2988b4f4\output\IconTest\app\IconTest.cfg] path exists [2025-11-06T13:15:07.159Z] [13:14:37.220] TRACE: assertTrue(): Check [.\test.2988b4f4\output\IconTest\app\IconTest.cfg] is a file [2025-11-06T13:15:07.159Z] [13:14:37.220] TRACE: assertTrue(): Check [.\test.2988b4f4\output\IconTest\IconTest.ico] path doesn't exist [2025-11-06T13:15:07.159Z] [13:14:37.223] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.2988b4f4\icons\IconTest.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.2988b4f4\icons\IconTest.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T13:15:07.159Z] [13:14:37.644] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.160Z] [13:14:37.644] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.2988b4f4\icons\IconTest.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.2988b4f4\icons\IconTest.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T13:15:07.160Z] [13:14:37.644] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.2988b4f4\output\IconTest\IconTest.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.2988b4f4\icons\IconTest.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T13:15:07.160Z] [13:14:37.925] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.160Z] [13:14:37.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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.2988b4f4\output\IconTest\IconTest.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.2988b4f4\icons\IconTest.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T13:15:07.160Z] [13:14:37.925] 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-06T13:15:07.160Z] [13:14:37.927] TRACE: assertNotNull([13:14:34.281] 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-06T13:15:07.160Z] [13:14:37.927] TRACE: Deleting [.\test.2988b4f4] directory recursively [2025-11-06T13:15:07.160Z] [13:14:37.935] [ OK ] IconTest(AppImage, DefaultIcon, NoIcon).test; checks=30 [2025-11-06T13:15:07.160Z] [13:14:37.935] [ RUN ] IconTest(AppImage, DefaultIcon, ResourceDirIcon).test [2025-11-06T13:15:07.160Z] [13:14:37.935] TRACE: Resource file: [.\test.1e3377ec\resources\x.ico] <- [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon4.ico] [2025-11-06T13:15:07.160Z] [13:14:37.937] TRACE: exec: Execute tool provider [javac -d .\test.1e3377ec\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4)... [2025-11-06T13:15:07.160Z] [13:14:38.021] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.160Z] [13:14:38.021] TRACE: assertEquals(0): Check command tool provider [javac -d .\test.1e3377ec\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4) exited with 0 code [2025-11-06T13:15:07.160Z] [13:14:38.022] TRACE: exec: Execute tool provider [jar -c -f .\test.1e3377ec\input\hello.jar -C .\test.1e3377ec\jar-workdir .](7)... [2025-11-06T13:15:07.160Z] [13:14:38.043] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.160Z] [13:14:38.043] 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-06T13:15:07.160Z] [13:14:38.043] TRACE: Create [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.1e3377ec\x.properties] properties file... [2025-11-06T13:15:07.160Z] [13:14:38.044] TRACE: Done [2025-11-06T13:15:07.160Z] [13:14:38.044] TRACE: Init fake runtime in [.\test.1e3377ec\fake_runtime] directory [2025-11-06T13:15:07.160Z] [13:14:38.046] TRACE: Files in [.\test.1e3377ec\resources] resource dir: [2025-11-06T13:15:07.160Z] [13:14:38.046] TRACE: [x.ico] [2025-11-06T13:15:07.160Z] [13:14:38.046] TRACE: Done [2025-11-06T13:15:07.160Z] [13:14:38.046] TRACE: exec: Execute [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\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-06T13:15:07.160Z] [13:14:38.351] Creating app package: IconTest in C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\.\test.1e3377ec\output [2025-11-06T13:15:07.160Z] [13:14:38.375] Using default package resource JavaApp.ico [icon] (add IconTest.ico to the resource-dir to customize). [2025-11-06T13:15:07.160Z] [13:14:38.391] 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\jenkins\AppData\Local\Temp\jdk.jpackage16422299884538109355". [2025-11-06T13:15:07.160Z] [13:14:38.527] Using default package resource WinLauncher.template [Template for creating executable properties file] (add IconTest.properties to the resource-dir to customize). [2025-11-06T13:15:07.160Z] [13:14:38.624] Using custom package resource [icon] (loaded from x.ico). [2025-11-06T13:15:07.160Z] [13:14:38.644] 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\jenkins\AppData\Local\Temp\jdk.jpackage16422299884538109355". [2025-11-06T13:15:07.160Z] [13:14:38.781] Using default package resource WinLauncher.template [Template for creating executable properties file] (add x.properties to the resource-dir to customize). [2025-11-06T13:15:07.160Z] [13:14:38.786] Succeeded in building Windows Application Image package [2025-11-06T13:15:07.160Z] [13:14:38.800] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.160Z] [13:14:38.801] TRACE: assertEquals(0): Check command [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\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-06T13:15:07.160Z] [13:14:38.801] TRACE: assertTrue(): Check [.\test.1e3377ec\output\IconTest\x.ico] path doesn't exist [2025-11-06T13:15:07.160Z] [13:14:38.802] TRACE: exec: Execute tool provider [javac -d .\test.1e3377ec\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4)... [2025-11-06T13:15:07.160Z] [13:14:38.888] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.160Z] [13:14:38.888] TRACE: assertEquals(0): Check command tool provider [javac -d .\test.1e3377ec\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4) exited with 0 code [2025-11-06T13:15:07.160Z] [13:14:38.888] TRACE: Delete [.\test.1e3377ec\input\hello.jar] existing jar file [2025-11-06T13:15:07.160Z] [13:14:38.889] TRACE: exec: Execute tool provider [jar -c -f .\test.1e3377ec\input\hello.jar -C .\test.1e3377ec\jar-workdir .](7)... [2025-11-06T13:15:07.160Z] [13:14:38.919] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.160Z] [13:14:38.919] 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-06T13:15:07.160Z] [13:14:38.920] TRACE: Init fake runtime in [.\test.1e3377ec\fake_runtime] directory [2025-11-06T13:15:07.160Z] [13:14:38.921] TRACE: exec: Execute [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\test.1e3377ec\input --dest .\test.1e3377ec\out-13052 --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-06T13:15:07.160Z] [13:14:39.225] Creating app package: IconTest in C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\.\test.1e3377ec\out-13052 [2025-11-06T13:15:07.160Z] [13:14:39.249] Using default package resource JavaApp.ico [icon] (add IconTest.ico to the resource-dir to customize). [2025-11-06T13:15:07.160Z] [13:14: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\jenkins\AppData\Local\Temp\jdk.jpackage11408104970808320051". [2025-11-06T13:15:07.160Z] [13:14:39.401] Using default package resource WinLauncher.template [Template for creating executable properties file] (add IconTest.properties to the resource-dir to customize). [2025-11-06T13:15:07.160Z] [13:14:39.439] Succeeded in building Windows Application Image package [2025-11-06T13:15:07.160Z] [13:14:39.450] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.160Z] [13:14:39.451] TRACE: assertEquals(0): Check command [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\test.1e3377ec\input --dest .\test.1e3377ec\out-13052 --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-06T13:15:07.160Z] [13:14:39.549] TRACE: Set icon of [.\test.1e3377ec\icons\x.exe\container.exe] launcher to [.\test.1e3377ec\resources\x.ico] file [2025-11-06T13:15:07.160Z] [13:14:39.683] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.1e3377ec\icons\x.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.1e3377ec\icons\x.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T13:15:07.160Z] [13:14:40.105] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.160Z] [13:14:40.105] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.1e3377ec\icons\x.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.1e3377ec\icons\x.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T13:15:07.160Z] [13:14:40.105] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.1e3377ec\output\IconTest\x.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.1e3377ec\icons\x.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T13:15:07.160Z] [13:14:40.401] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.160Z] [13:14:40.401] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.1e3377ec\output\IconTest\x.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.1e3377ec\icons\x.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T13:15:07.160Z] [13:14:40.401] 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-06T13:15:07.160Z] [13:14:40.404] TRACE: assertTrue(): Check [.\test.1e3377ec\output\IconTest\x.exe] path exists [2025-11-06T13:15:07.160Z] [13:14:40.404] TRACE: assertTrue(): Check [.\test.1e3377ec\output\IconTest\x.exe] is a file [2025-11-06T13:15:07.160Z] [13:14:40.404] TRACE: assertTrue(): Check [.\test.1e3377ec\output\IconTest\x.exe] file is executable [2025-11-06T13:15:07.160Z] [13:14:40.404] TRACE: Not running .\test.1e3377ec\output\IconTest\x.exe launcher because application runtime directory [.\test.1e3377ec\output\IconTest\runtime] is incomplete [2025-11-06T13:15:07.160Z] [13:14:40.404] TRACE: assertStringListEquals(): Check there is only one file with [.jpackage.xml] name in the package [2025-11-06T13:15:07.160Z] [13:14:40.404] TRACE: assertStringListEquals(1, .\test.1e3377ec\output\IconTest\app\.jpackage.xml) [2025-11-06T13:15:07.160Z] [13:14:40.404] TRACE: assertTrue(): Check [.\test.1e3377ec\output\IconTest\runtime] path exists [2025-11-06T13:15:07.160Z] [13:14:40.404] TRACE: assertTrue(): Check [.\test.1e3377ec\output\IconTest\runtime] is a directory [2025-11-06T13:15:07.160Z] [13:14:40.405] TRACE: assertTrue(): Check [.\test.1e3377ec\output\IconTest\IconTest.exe] path exists [2025-11-06T13:15:07.160Z] [13:14:40.405] TRACE: assertTrue(): Check [.\test.1e3377ec\output\IconTest\IconTest.exe] is a file [2025-11-06T13:15:07.160Z] [13:14:40.405] TRACE: assertTrue(): Check [.\test.1e3377ec\output\IconTest\IconTest.exe] file is executable [2025-11-06T13:15:07.160Z] [13:14:40.405] TRACE: assertTrue(): Check [.\test.1e3377ec\output\IconTest\app\IconTest.cfg] path exists [2025-11-06T13:15:07.160Z] [13:14:40.405] TRACE: assertTrue(): Check [.\test.1e3377ec\output\IconTest\app\IconTest.cfg] is a file [2025-11-06T13:15:07.160Z] [13:14:40.405] TRACE: assertTrue(): Check [.\test.1e3377ec\output\IconTest\IconTest.ico] path doesn't exist [2025-11-06T13:15:07.160Z] [13:14:40.407] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.1e3377ec\icons\IconTest.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.1e3377ec\icons\IconTest.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T13:15:07.160Z] [13:14:40.824] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.160Z] [13:14:40.824] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.1e3377ec\icons\IconTest.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.1e3377ec\icons\IconTest.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T13:15:07.160Z] [13:14:40.824] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.1e3377ec\output\IconTest\IconTest.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.1e3377ec\icons\IconTest.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T13:15:07.160Z] [13:14:41.109] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.161Z] [13:14:41.109] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.1e3377ec\output\IconTest\IconTest.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.1e3377ec\icons\IconTest.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T13:15:07.161Z] [13:14:41.109] 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-06T13:15:07.161Z] [13:14:41.111] TRACE: assertNotNull([13:14:38.375] 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-06T13:15:07.161Z] [13:14:41.111] TRACE: assertNotNull([13:14:38.624] Using custom package resource [icon] (loaded from x.ico).): Check output contains [Using custom package resource [icon] (loaded from x.ico)] string [2025-11-06T13:15:07.161Z] [13:14:41.111] TRACE: Deleting [.\test.1e3377ec] directory recursively [2025-11-06T13:15:07.161Z] [13:14:41.118] [ OK ] IconTest(AppImage, DefaultIcon, ResourceDirIcon).test; checks=25 [2025-11-06T13:15:07.161Z] [13:14:41.118] [ RUN ] IconTest(AppImage, ResourceDirIcon, CustomIcon).test [2025-11-06T13:15:07.161Z] [13:14:41.119] TRACE: Resource file: [.\test.dfa87f82\resources\IconTest.ico] <- [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon2.ico] [2025-11-06T13:15:07.161Z] [13:14:41.121] TRACE: exec: Execute tool provider [javac -d .\test.dfa87f82\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4)... [2025-11-06T13:15:07.161Z] [13:14:41.244] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.161Z] [13:14:41.244] TRACE: assertEquals(0): Check command tool provider [javac -d .\test.dfa87f82\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4) exited with 0 code [2025-11-06T13:15:07.161Z] [13:14:41.245] TRACE: exec: Execute tool provider [jar -c -f .\test.dfa87f82\input\hello.jar -C .\test.dfa87f82\jar-workdir .](7)... [2025-11-06T13:15:07.161Z] [13:14:41.267] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.161Z] [13:14:41.267] 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-06T13:15:07.161Z] [13:14:41.268] TRACE: Create [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.dfa87f82\x.properties] properties file... [2025-11-06T13:15:07.161Z] [13:14:41.268] TRACE: icon=C:/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/tools/jpackage/resources/icon3.ico [2025-11-06T13:15:07.161Z] [13:14:41.268] TRACE: Done [2025-11-06T13:15:07.161Z] [13:14:41.268] TRACE: Init fake runtime in [.\test.dfa87f82\fake_runtime] directory [2025-11-06T13:15:07.161Z] [13:14:41.270] TRACE: Files in [.\test.dfa87f82\resources] resource dir: [2025-11-06T13:15:07.161Z] [13:14:41.270] TRACE: [IconTest.ico] [2025-11-06T13:15:07.161Z] [13:14:41.270] TRACE: Done [2025-11-06T13:15:07.161Z] [13:14:41.270] TRACE: exec: Execute [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\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-06T13:15:07.161Z] [13:14:41.576] Creating app package: IconTest in C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\.\test.dfa87f82\output [2025-11-06T13:15:07.161Z] [13:14:41.604] Using custom package resource [icon] (loaded from IconTest.ico). [2025-11-06T13:15:07.161Z] [13:14:41.636] 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\jenkins\AppData\Local\Temp\jdk.jpackage1781489284204828439". [2025-11-06T13:15:07.161Z] [13:14:41.782] Using default package resource WinLauncher.template [Template for creating executable properties file] (add IconTest.properties to the resource-dir to customize). [2025-11-06T13:15:07.161Z] [13:14:41.868] Using custom package resource [icon] (loaded from file C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon3.ico). [2025-11-06T13:15:07.161Z] [13:14:41.873] 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\jenkins\AppData\Local\Temp\jdk.jpackage1781489284204828439". [2025-11-06T13:15:07.161Z] [13:14:42.013] Using default package resource WinLauncher.template [Template for creating executable properties file] (add x.properties to the resource-dir to customize). [2025-11-06T13:15:07.161Z] [13:14:42.018] Succeeded in building Windows Application Image package [2025-11-06T13:15:07.161Z] [13:14:42.031] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.161Z] [13:14:42.032] TRACE: assertEquals(0): Check command [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\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-06T13:15:07.161Z] [13:14:42.032] TRACE: assertTrue(): Check [.\test.dfa87f82\output\IconTest\x.ico] path doesn't exist [2025-11-06T13:15:07.161Z] [13:14:42.033] TRACE: exec: Execute tool provider [javac -d .\test.dfa87f82\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4)... [2025-11-06T13:15:07.161Z] [13:14:42.131] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.161Z] [13:14:42.131] TRACE: assertEquals(0): Check command tool provider [javac -d .\test.dfa87f82\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4) exited with 0 code [2025-11-06T13:15:07.161Z] [13:14:42.131] TRACE: Delete [.\test.dfa87f82\input\hello.jar] existing jar file [2025-11-06T13:15:07.161Z] [13:14:42.132] TRACE: exec: Execute tool provider [jar -c -f .\test.dfa87f82\input\hello.jar -C .\test.dfa87f82\jar-workdir .](7)... [2025-11-06T13:15:07.161Z] [13:14:42.162] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.161Z] [13:14:42.162] 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-06T13:15:07.161Z] [13:14:42.163] TRACE: Init fake runtime in [.\test.dfa87f82\fake_runtime] directory [2025-11-06T13:15:07.161Z] [13:14:42.165] TRACE: exec: Execute [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\test.dfa87f82\input --dest .\test.dfa87f82\out-13052 --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-06T13:15:07.161Z] [13:14:42.481] Creating app package: IconTest in C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\.\test.dfa87f82\out-13052 [2025-11-06T13:15:07.161Z] [13:14:42.505] Using default package resource JavaApp.ico [icon] (add IconTest.ico to the resource-dir to customize). [2025-11-06T13:15:07.161Z] [13:14:42.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\jenkins\AppData\Local\Temp\jdk.jpackage10687129361462890286". [2025-11-06T13:15:07.161Z] [13:14:42.664] Using default package resource WinLauncher.template [Template for creating executable properties file] (add IconTest.properties to the resource-dir to customize). [2025-11-06T13:15:07.161Z] [13:14:42.750] Succeeded in building Windows Application Image package [2025-11-06T13:15:07.161Z] [13:14:42.763] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.161Z] [13:14:42.764] TRACE: assertEquals(0): Check command [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\test.dfa87f82\input --dest .\test.dfa87f82\out-13052 --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-06T13:15:07.161Z] [13:14:42.825] TRACE: Set icon of [.\test.dfa87f82\icons\x.exe\container.exe] launcher to [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon3.ico] file [2025-11-06T13:15:07.161Z] [13:14:42.959] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.dfa87f82\icons\x.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.dfa87f82\icons\x.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T13:15:07.161Z] [13:14:43.402] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.161Z] [13:14:43.402] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.dfa87f82\icons\x.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.dfa87f82\icons\x.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T13:15:07.161Z] [13:14:43.402] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.dfa87f82\output\IconTest\x.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.dfa87f82\icons\x.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T13:15:07.161Z] [13:14:43.689] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.161Z] [13:14:43.689] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.dfa87f82\output\IconTest\x.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.dfa87f82\icons\x.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T13:15:07.161Z] [13:14:43.689] 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-06T13:15:07.161Z] [13:14:43.691] TRACE: assertTrue(): Check [.\test.dfa87f82\output\IconTest\x.exe] path exists [2025-11-06T13:15:07.161Z] [13:14:43.691] TRACE: assertTrue(): Check [.\test.dfa87f82\output\IconTest\x.exe] is a file [2025-11-06T13:15:07.161Z] [13:14:43.691] TRACE: assertTrue(): Check [.\test.dfa87f82\output\IconTest\x.exe] file is executable [2025-11-06T13:15:07.161Z] [13:14:43.691] TRACE: Not running .\test.dfa87f82\output\IconTest\x.exe launcher because application runtime directory [.\test.dfa87f82\output\IconTest\runtime] is incomplete [2025-11-06T13:15:07.161Z] [13:14:43.692] TRACE: assertStringListEquals(): Check there is only one file with [.jpackage.xml] name in the package [2025-11-06T13:15:07.161Z] [13:14:43.692] TRACE: assertStringListEquals(1, .\test.dfa87f82\output\IconTest\app\.jpackage.xml) [2025-11-06T13:15:07.161Z] [13:14:43.692] TRACE: assertTrue(): Check [.\test.dfa87f82\output\IconTest\runtime] path exists [2025-11-06T13:15:07.161Z] [13:14:43.692] TRACE: assertTrue(): Check [.\test.dfa87f82\output\IconTest\runtime] is a directory [2025-11-06T13:15:07.161Z] [13:14:43.692] TRACE: assertTrue(): Check [.\test.dfa87f82\output\IconTest\IconTest.exe] path exists [2025-11-06T13:15:07.161Z] [13:14:43.692] TRACE: assertTrue(): Check [.\test.dfa87f82\output\IconTest\IconTest.exe] is a file [2025-11-06T13:15:07.161Z] [13:14:43.692] TRACE: assertTrue(): Check [.\test.dfa87f82\output\IconTest\IconTest.exe] file is executable [2025-11-06T13:15:07.161Z] [13:14:43.692] TRACE: assertTrue(): Check [.\test.dfa87f82\output\IconTest\app\IconTest.cfg] path exists [2025-11-06T13:15:07.161Z] [13:14:43.692] TRACE: assertTrue(): Check [.\test.dfa87f82\output\IconTest\app\IconTest.cfg] is a file [2025-11-06T13:15:07.161Z] [13:14:43.693] TRACE: assertTrue(): Check [.\test.dfa87f82\output\IconTest\IconTest.ico] path doesn't exist [2025-11-06T13:15:07.161Z] [13:14:43.694] TRACE: Set icon of [.\test.dfa87f82\icons\IconTest.exe\container.exe] launcher to [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon2.ico] file [2025-11-06T13:15:07.161Z] [13:14:43.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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.dfa87f82\icons\IconTest.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.dfa87f82\icons\IconTest.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T13:15:07.161Z] [13:14:44.257] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.161Z] [13:14:44.257] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.dfa87f82\icons\IconTest.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.dfa87f82\icons\IconTest.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T13:15:07.161Z] [13:14:44.257] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.dfa87f82\output\IconTest\IconTest.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.dfa87f82\icons\IconTest.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T13:15:07.161Z] [13:14:44.542] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.161Z] [13:14:44.542] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.dfa87f82\output\IconTest\IconTest.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.dfa87f82\icons\IconTest.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T13:15:07.161Z] [13:14:44.542] 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-06T13:15:07.161Z] [13:14:44.544] TRACE: assertNotNull([13:14:41.604] Using custom package resource [icon] (loaded from IconTest.ico).): Check output contains [Using custom package resource [icon] (loaded from IconTest.ico)] string [2025-11-06T13:15:07.162Z] [13:14:44.544] TRACE: assertNotNull([13:14:41.868] Using custom package resource [icon] (loaded from file C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\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-06T13:15:07.162Z] [13:14:44.544] TRACE: Deleting [.\test.dfa87f82] directory recursively [2025-11-06T13:15:07.162Z] [13:14:44.550] [ OK ] IconTest(AppImage, ResourceDirIcon, CustomIcon).test; checks=25 [2025-11-06T13:15:07.162Z] [13:14:44.550] [ RUN ] IconTest(AppImage, ResourceDirIcon, CustomWithResourceDirIcon).test [2025-11-06T13:15:07.162Z] [13:14:44.551] TRACE: Resource file: [.\test.740661f7\resources\x.ico] <- [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon3.ico] [2025-11-06T13:15:07.162Z] [13:14:44.552] TRACE: Resource file: [.\test.740661f7\resources\IconTest.ico] <- [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon2.ico] [2025-11-06T13:15:07.162Z] [13:14:44.554] TRACE: exec: Execute tool provider [javac -d .\test.740661f7\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4)... [2025-11-06T13:15:07.162Z] [13:14:44.641] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.162Z] [13:14:44.641] TRACE: assertEquals(0): Check command tool provider [javac -d .\test.740661f7\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4) exited with 0 code [2025-11-06T13:15:07.162Z] [13:14:44.642] TRACE: exec: Execute tool provider [jar -c -f .\test.740661f7\input\hello.jar -C .\test.740661f7\jar-workdir .](7)... [2025-11-06T13:15:07.162Z] [13:14:44.663] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.162Z] [13:14:44.663] 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-06T13:15:07.162Z] [13:14:44.664] TRACE: Create [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.740661f7\x.properties] properties file... [2025-11-06T13:15:07.162Z] [13:14:44.664] TRACE: icon=C:/jenkins/workspace/Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk/tools/jpackage/resources/icon4.ico [2025-11-06T13:15:07.162Z] [13:14:44.665] TRACE: Done [2025-11-06T13:15:07.162Z] [13:14:44.665] TRACE: Init fake runtime in [.\test.740661f7\fake_runtime] directory [2025-11-06T13:15:07.162Z] [13:14:44.683] TRACE: Files in [.\test.740661f7\resources] resource dir: [2025-11-06T13:15:07.162Z] [13:14:44.683] TRACE: [IconTest.ico] [2025-11-06T13:15:07.162Z] [13:14:44.683] TRACE: [x.ico] [2025-11-06T13:15:07.162Z] [13:14:44.683] TRACE: Done [2025-11-06T13:15:07.162Z] [13:14:44.683] TRACE: exec: Execute [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\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-06T13:15:07.162Z] [13:14:44.990] Creating app package: IconTest in C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\.\test.740661f7\output [2025-11-06T13:15:07.162Z] [13:14:45.013] Using custom package resource [icon] (loaded from IconTest.ico). [2025-11-06T13:15:07.162Z] [13:14:45.039] 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\jenkins\AppData\Local\Temp\jdk.jpackage15409964267752881835". [2025-11-06T13:15:07.162Z] [13:14:45.174] Using default package resource WinLauncher.template [Template for creating executable properties file] (add IconTest.properties to the resource-dir to customize). [2025-11-06T13:15:07.162Z] [13:14:45.247] Using custom package resource [icon] (loaded from file C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon4.ico). [2025-11-06T13:15:07.162Z] [13:14:45.251] 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\jenkins\AppData\Local\Temp\jdk.jpackage15409964267752881835". [2025-11-06T13:15:07.162Z] [13:14:45.407] Using default package resource WinLauncher.template [Template for creating executable properties file] (add x.properties to the resource-dir to customize). [2025-11-06T13:15:07.162Z] [13:14:45.411] Succeeded in building Windows Application Image package [2025-11-06T13:15:07.162Z] [13:14:45.425] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.162Z] [13:14:45.425] TRACE: assertEquals(0): Check command [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\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-06T13:15:07.162Z] [13:14:45.426] TRACE: assertTrue(): Check [.\test.740661f7\output\IconTest\x.ico] path doesn't exist [2025-11-06T13:15:07.162Z] [13:14:45.427] TRACE: exec: Execute tool provider [javac -d .\test.740661f7\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4)... [2025-11-06T13:15:07.162Z] [13:14:45.567] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.162Z] [13:14:45.567] TRACE: assertEquals(0): Check command tool provider [javac -d .\test.740661f7\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4) exited with 0 code [2025-11-06T13:15:07.162Z] [13:14:45.567] TRACE: Delete [.\test.740661f7\input\hello.jar] existing jar file [2025-11-06T13:15:07.162Z] [13:14:45.568] TRACE: exec: Execute tool provider [jar -c -f .\test.740661f7\input\hello.jar -C .\test.740661f7\jar-workdir .](7)... [2025-11-06T13:15:07.162Z] [13:14:45.587] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.162Z] [13:14:45.588] 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-06T13:15:07.162Z] [13:14:45.588] TRACE: Init fake runtime in [.\test.740661f7\fake_runtime] directory [2025-11-06T13:15:07.162Z] [13:14:45.589] TRACE: exec: Execute [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\test.740661f7\input --dest .\test.740661f7\out-13052 --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-06T13:15:07.162Z] [13:14:45.886] Creating app package: IconTest in C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\.\test.740661f7\out-13052 [2025-11-06T13:15:07.162Z] [13:14:45.908] Using default package resource JavaApp.ico [icon] (add IconTest.ico to the resource-dir to customize). [2025-11-06T13:15:07.162Z] [13:14:45.926] 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\jenkins\AppData\Local\Temp\jdk.jpackage7278194159870107718". [2025-11-06T13:15:07.162Z] [13:14:46.058] Using default package resource WinLauncher.template [Template for creating executable properties file] (add IconTest.properties to the resource-dir to customize). [2025-11-06T13:15:07.162Z] [13:14:46.096] Succeeded in building Windows Application Image package [2025-11-06T13:15:07.162Z] [13:14:46.108] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.162Z] [13:14:46.108] TRACE: assertEquals(0): Check command [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\test.740661f7\input --dest .\test.740661f7\out-13052 --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-06T13:15:07.162Z] [13:14:46.207] TRACE: Set icon of [.\test.740661f7\icons\x.exe\container.exe] launcher to [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon4.ico] file [2025-11-06T13:15:07.162Z] [13:14:46.349] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.740661f7\icons\x.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.740661f7\icons\x.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T13:15:07.162Z] [13:14:46.756] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.162Z] [13:14:46.757] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.740661f7\icons\x.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.740661f7\icons\x.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T13:15:07.162Z] [13:14:46.757] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.740661f7\output\IconTest\x.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.740661f7\icons\x.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T13:15:07.162Z] [13:14:47.031] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.162Z] [13:14:47.031] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.740661f7\output\IconTest\x.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.740661f7\icons\x.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T13:15:07.162Z] [13:14:47.031] 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-06T13:15:07.162Z] [13:14:47.033] TRACE: assertTrue(): Check [.\test.740661f7\output\IconTest\x.exe] path exists [2025-11-06T13:15:07.162Z] [13:14:47.033] TRACE: assertTrue(): Check [.\test.740661f7\output\IconTest\x.exe] is a file [2025-11-06T13:15:07.162Z] [13:14:47.033] TRACE: assertTrue(): Check [.\test.740661f7\output\IconTest\x.exe] file is executable [2025-11-06T13:15:07.162Z] [13:14:47.034] TRACE: Not running .\test.740661f7\output\IconTest\x.exe launcher because application runtime directory [.\test.740661f7\output\IconTest\runtime] is incomplete [2025-11-06T13:15:07.162Z] [13:14:47.034] TRACE: assertStringListEquals(): Check there is only one file with [.jpackage.xml] name in the package [2025-11-06T13:15:07.162Z] [13:14:47.034] TRACE: assertStringListEquals(1, .\test.740661f7\output\IconTest\app\.jpackage.xml) [2025-11-06T13:15:07.162Z] [13:14:47.034] TRACE: assertTrue(): Check [.\test.740661f7\output\IconTest\runtime] path exists [2025-11-06T13:15:07.162Z] [13:14:47.034] TRACE: assertTrue(): Check [.\test.740661f7\output\IconTest\runtime] is a directory [2025-11-06T13:15:07.162Z] [13:14:47.034] TRACE: assertTrue(): Check [.\test.740661f7\output\IconTest\IconTest.exe] path exists [2025-11-06T13:15:07.162Z] [13:14:47.034] TRACE: assertTrue(): Check [.\test.740661f7\output\IconTest\IconTest.exe] is a file [2025-11-06T13:15:07.162Z] [13:14:47.035] TRACE: assertTrue(): Check [.\test.740661f7\output\IconTest\IconTest.exe] file is executable [2025-11-06T13:15:07.162Z] [13:14:47.035] TRACE: assertTrue(): Check [.\test.740661f7\output\IconTest\app\IconTest.cfg] path exists [2025-11-06T13:15:07.162Z] [13:14:47.035] TRACE: assertTrue(): Check [.\test.740661f7\output\IconTest\app\IconTest.cfg] is a file [2025-11-06T13:15:07.162Z] [13:14:47.035] TRACE: assertTrue(): Check [.\test.740661f7\output\IconTest\IconTest.ico] path doesn't exist [2025-11-06T13:15:07.162Z] [13:14:47.037] TRACE: Set icon of [.\test.740661f7\icons\IconTest.exe\container.exe] launcher to [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon2.ico] file [2025-11-06T13:15:07.162Z] [13:14:47.168] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.740661f7\icons\IconTest.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.740661f7\icons\IconTest.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T13:15:07.162Z] [13:14:47.581] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.162Z] [13:14:47.582] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.740661f7\icons\IconTest.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.740661f7\icons\IconTest.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T13:15:07.163Z] [13:14:47.582] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.740661f7\output\IconTest\IconTest.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.740661f7\icons\IconTest.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T13:15:07.163Z] [13:14:47.861] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.163Z] [13:14:47.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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.740661f7\output\IconTest\IconTest.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.740661f7\icons\IconTest.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T13:15:07.163Z] [13:14:47.861] 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-06T13:15:07.163Z] [13:14:47.863] TRACE: assertNotNull([13:14:45.013] Using custom package resource [icon] (loaded from IconTest.ico).): Check output contains [Using custom package resource [icon] (loaded from IconTest.ico)] string [2025-11-06T13:15:07.163Z] [13:14:47.863] TRACE: assertNotNull([13:14:45.247] Using custom package resource [icon] (loaded from file C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\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-06T13:15:07.163Z] [13:14:47.864] TRACE: Deleting [.\test.740661f7] directory recursively [2025-11-06T13:15:07.163Z] [13:14:47.870] [ OK ] IconTest(AppImage, ResourceDirIcon, CustomWithResourceDirIcon).test; checks=25 [2025-11-06T13:15:07.163Z] [13:14:47.870] [ RUN ] IconTest(AppImage, ResourceDirIcon, DefaultIcon).test [2025-11-06T13:15:07.163Z] [13:14:47.871] TRACE: Resource file: [.\test.660c05f0\resources\IconTest.ico] <- [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon2.ico] [2025-11-06T13:15:07.163Z] [13:14:47.873] TRACE: exec: Execute tool provider [javac -d .\test.660c05f0\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4)... [2025-11-06T13:15:07.163Z] [13:14:47.951] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.163Z] [13:14:47.951] TRACE: assertEquals(0): Check command tool provider [javac -d .\test.660c05f0\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4) exited with 0 code [2025-11-06T13:15:07.163Z] [13:14:47.951] TRACE: exec: Execute tool provider [jar -c -f .\test.660c05f0\input\hello.jar -C .\test.660c05f0\jar-workdir .](7)... [2025-11-06T13:15:07.163Z] [13:14:47.975] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.163Z] [13:14:47.975] 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-06T13:15:07.163Z] [13:14:47.976] TRACE: Create [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.660c05f0\x.properties] properties file... [2025-11-06T13:15:07.163Z] [13:14:47.976] TRACE: Done [2025-11-06T13:15:07.163Z] [13:14:47.976] TRACE: Init fake runtime in [.\test.660c05f0\fake_runtime] directory [2025-11-06T13:15:07.163Z] [13:14:47.991] TRACE: Files in [.\test.660c05f0\resources] resource dir: [2025-11-06T13:15:07.163Z] [13:14:47.991] TRACE: [IconTest.ico] [2025-11-06T13:15:07.163Z] [13:14:47.991] TRACE: Done [2025-11-06T13:15:07.163Z] [13:14:47.991] TRACE: exec: Execute [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\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-06T13:15:07.163Z] [13:14:48.295] Creating app package: IconTest in C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\.\test.660c05f0\output [2025-11-06T13:15:07.163Z] [13:14:48.319] Using custom package resource [icon] (loaded from IconTest.ico). [2025-11-06T13:15:07.163Z] [13:14:48.344] 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\jenkins\AppData\Local\Temp\jdk.jpackage7599307830887039218". [2025-11-06T13:15:07.163Z] [13:14:48.479] Using default package resource WinLauncher.template [Template for creating executable properties file] (add IconTest.properties to the resource-dir to customize). [2025-11-06T13:15:07.163Z] [13:14:48.556] Using custom package resource [icon] (loaded from x.ico). [2025-11-06T13:15:07.163Z] [13:14:48.561] 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\jenkins\AppData\Local\Temp\jdk.jpackage7599307830887039218". [2025-11-06T13:15:07.163Z] [13:14:48.713] Using default package resource WinLauncher.template [Template for creating executable properties file] (add x.properties to the resource-dir to customize). [2025-11-06T13:15:07.163Z] [13:14:48.718] Succeeded in building Windows Application Image package [2025-11-06T13:15:07.163Z] [13:14:48.731] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.163Z] [13:14:48.731] TRACE: assertEquals(0): Check command [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\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-06T13:15:07.163Z] [13:14:48.732] TRACE: assertTrue(): Check [.\test.660c05f0\output\IconTest\x.ico] path doesn't exist [2025-11-06T13:15:07.163Z] [13:14:48.734] TRACE: exec: Execute tool provider [javac -d .\test.660c05f0\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4)... [2025-11-06T13:15:07.163Z] [13:14:48.823] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.163Z] [13:14:48.824] TRACE: assertEquals(0): Check command tool provider [javac -d .\test.660c05f0\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4) exited with 0 code [2025-11-06T13:15:07.163Z] [13:14:48.824] TRACE: Delete [.\test.660c05f0\input\hello.jar] existing jar file [2025-11-06T13:15:07.163Z] [13:14:48.824] TRACE: exec: Execute tool provider [jar -c -f .\test.660c05f0\input\hello.jar -C .\test.660c05f0\jar-workdir .](7)... [2025-11-06T13:15:07.163Z] [13:14:48.847] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.163Z] [13:14:48.847] 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-06T13:15:07.163Z] [13:14:48.848] TRACE: Init fake runtime in [.\test.660c05f0\fake_runtime] directory [2025-11-06T13:15:07.163Z] [13:14:48.849] TRACE: exec: Execute [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\test.660c05f0\input --dest .\test.660c05f0\out-13052 --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-06T13:15:07.163Z] [13:14:49.154] Creating app package: IconTest in C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\.\test.660c05f0\out-13052 [2025-11-06T13:15:07.163Z] [13:14:49.179] Using default package resource JavaApp.ico [icon] (add IconTest.ico to the resource-dir to customize). [2025-11-06T13:15:07.163Z] [13:14:49.197] 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\jenkins\AppData\Local\Temp\jdk.jpackage15282730823490190120". [2025-11-06T13:15:07.163Z] [13:14:49.332] Using default package resource WinLauncher.template [Template for creating executable properties file] (add IconTest.properties to the resource-dir to customize). [2025-11-06T13:15:07.163Z] [13:14:49.418] Succeeded in building Windows Application Image package [2025-11-06T13:15:07.163Z] [13:14:49.429] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.163Z] [13:14:49.429] TRACE: assertEquals(0): Check command [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\test.660c05f0\input --dest .\test.660c05f0\out-13052 --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-06T13:15:07.163Z] [13:14:49.500] TRACE: Set icon of [.\test.660c05f0\icons\x.exe\container.exe] launcher to [.\test.660c05f0\resources\IconTest.ico] file [2025-11-06T13:15:07.163Z] [13:14:49.645] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.660c05f0\icons\x.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.660c05f0\icons\x.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T13:15:07.163Z] [13:14:50.060] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.163Z] [13:14:50.060] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.660c05f0\icons\x.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.660c05f0\icons\x.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T13:15:07.163Z] [13:14:50.060] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.660c05f0\output\IconTest\x.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.660c05f0\icons\x.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T13:15:07.163Z] [13:14:50.333] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.163Z] [13:14:50.333] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.660c05f0\output\IconTest\x.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.660c05f0\icons\x.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T13:15:07.163Z] [13:14:50.333] 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-06T13:15:07.163Z] [13:14:50.335] TRACE: assertTrue(): Check [.\test.660c05f0\output\IconTest\x.exe] path exists [2025-11-06T13:15:07.163Z] [13:14:50.335] TRACE: assertTrue(): Check [.\test.660c05f0\output\IconTest\x.exe] is a file [2025-11-06T13:15:07.163Z] [13:14:50.335] TRACE: assertTrue(): Check [.\test.660c05f0\output\IconTest\x.exe] file is executable [2025-11-06T13:15:07.163Z] [13:14:50.335] TRACE: Not running .\test.660c05f0\output\IconTest\x.exe launcher because application runtime directory [.\test.660c05f0\output\IconTest\runtime] is incomplete [2025-11-06T13:15:07.163Z] [13:14:50.336] TRACE: assertStringListEquals(): Check there is only one file with [.jpackage.xml] name in the package [2025-11-06T13:15:07.163Z] [13:14:50.336] TRACE: assertStringListEquals(1, .\test.660c05f0\output\IconTest\app\.jpackage.xml) [2025-11-06T13:15:07.163Z] [13:14:50.336] TRACE: assertTrue(): Check [.\test.660c05f0\output\IconTest\runtime] path exists [2025-11-06T13:15:07.163Z] [13:14:50.336] TRACE: assertTrue(): Check [.\test.660c05f0\output\IconTest\runtime] is a directory [2025-11-06T13:15:07.163Z] [13:14:50.336] TRACE: assertTrue(): Check [.\test.660c05f0\output\IconTest\IconTest.exe] path exists [2025-11-06T13:15:07.163Z] [13:14:50.336] TRACE: assertTrue(): Check [.\test.660c05f0\output\IconTest\IconTest.exe] is a file [2025-11-06T13:15:07.163Z] [13:14:50.336] TRACE: assertTrue(): Check [.\test.660c05f0\output\IconTest\IconTest.exe] file is executable [2025-11-06T13:15:07.163Z] [13:14:50.336] TRACE: assertTrue(): Check [.\test.660c05f0\output\IconTest\app\IconTest.cfg] path exists [2025-11-06T13:15:07.163Z] [13:14:50.336] TRACE: assertTrue(): Check [.\test.660c05f0\output\IconTest\app\IconTest.cfg] is a file [2025-11-06T13:15:07.163Z] [13:14:50.336] TRACE: assertTrue(): Check [.\test.660c05f0\output\IconTest\IconTest.ico] path doesn't exist [2025-11-06T13:15:07.163Z] [13:14:50.338] TRACE: Set icon of [.\test.660c05f0\icons\IconTest.exe\container.exe] launcher to [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon2.ico] file [2025-11-06T13:15:07.163Z] [13:14:50.471] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.660c05f0\icons\IconTest.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.660c05f0\icons\IconTest.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T13:15:07.163Z] [13:14:50.889] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.163Z] [13:14:50.889] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.660c05f0\icons\IconTest.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.660c05f0\icons\IconTest.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T13:15:07.163Z] [13:14:50.889] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.660c05f0\output\IconTest\IconTest.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.660c05f0\icons\IconTest.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T13:15:07.163Z] [13:14:51.176] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.163Z] [13:14:51.177] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.660c05f0\output\IconTest\IconTest.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.660c05f0\icons\IconTest.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T13:15:07.163Z] [13:14:51.177] 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-06T13:15:07.163Z] [13:14:51.179] TRACE: assertNotNull([13:14:48.319] Using custom package resource [icon] (loaded from IconTest.ico).): Check output contains [Using custom package resource [icon] (loaded from IconTest.ico)] string [2025-11-06T13:15:07.163Z] [13:14:51.179] TRACE: assertNotNull([13:14:48.556] Using custom package resource [icon] (loaded from x.ico).): Check output contains [Using custom package resource [icon] (loaded from x.ico)] string [2025-11-06T13:15:07.163Z] [13:14:51.179] TRACE: Deleting [.\test.660c05f0] directory recursively [2025-11-06T13:15:07.163Z] [13:14:51.186] [ OK ] IconTest(AppImage, ResourceDirIcon, DefaultIcon).test; checks=25 [2025-11-06T13:15:07.163Z] [13:14:51.186] [ RUN ] IconTest(AppImage, ResourceDirIcon, NoIcon).test [2025-11-06T13:15:07.163Z] [13:14:51.187] TRACE: Resource file: [.\test.9235a652\resources\IconTest.ico] <- [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon2.ico] [2025-11-06T13:15:07.163Z] [13:14:51.188] TRACE: exec: Execute tool provider [javac -d .\test.9235a652\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4)... [2025-11-06T13:15:07.163Z] [13:14:51.310] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.163Z] [13:14:51.310] TRACE: assertEquals(0): Check command tool provider [javac -d .\test.9235a652\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4) exited with 0 code [2025-11-06T13:15:07.163Z] [13:14:51.310] TRACE: exec: Execute tool provider [jar -c -f .\test.9235a652\input\hello.jar -C .\test.9235a652\jar-workdir .](7)... [2025-11-06T13:15:07.163Z] [13:14:51.333] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.163Z] [13:14:51.333] 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-06T13:15:07.163Z] [13:14:51.334] TRACE: Create [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.9235a652\x.properties] properties file... [2025-11-06T13:15:07.163Z] [13:14:51.334] TRACE: icon= [2025-11-06T13:15:07.163Z] [13:14:51.334] TRACE: Done [2025-11-06T13:15:07.163Z] [13:14:51.334] TRACE: Init fake runtime in [.\test.9235a652\fake_runtime] directory [2025-11-06T13:15:07.163Z] [13:14:51.336] TRACE: Files in [.\test.9235a652\resources] resource dir: [2025-11-06T13:15:07.163Z] [13:14:51.336] TRACE: [IconTest.ico] [2025-11-06T13:15:07.163Z] [13:14:51.336] TRACE: Done [2025-11-06T13:15:07.164Z] [13:14:51.336] TRACE: exec: Execute [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\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-06T13:15:07.164Z] [13:14:51.643] Creating app package: IconTest in C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\.\test.9235a652\output [2025-11-06T13:15:07.164Z] [13:14:51.668] Using custom package resource [icon] (loaded from IconTest.ico). [2025-11-06T13:15:07.164Z] [13:14:51.695] 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\jenkins\AppData\Local\Temp\jdk.jpackage3357263225215970127". [2025-11-06T13:15:07.164Z] [13:14:51.840] Using default package resource WinLauncher.template [Template for creating executable properties file] (add IconTest.properties to the resource-dir to customize). [2025-11-06T13:15:07.164Z] [13:14:51.922] 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\jenkins\AppData\Local\Temp\jdk.jpackage3357263225215970127". [2025-11-06T13:15:07.164Z] [13:14:52.064] Using default package resource WinLauncher.template [Template for creating executable properties file] (add x.properties to the resource-dir to customize). [2025-11-06T13:15:07.164Z] [13:14:52.068] Succeeded in building Windows Application Image package [2025-11-06T13:15:07.164Z] [13:14:52.080] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.164Z] [13:14:52.080] TRACE: assertEquals(0): Check command [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\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-06T13:15:07.164Z] [13:14:52.080] TRACE: assertTrue(): Check [.\test.9235a652\output\IconTest\x.ico] path doesn't exist [2025-11-06T13:15:07.164Z] [13:14:52.082] TRACE: exec: Execute tool provider [javac -d .\test.9235a652\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4)... [2025-11-06T13:15:07.164Z] [13:14:52.190] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.164Z] [13:14:52.190] TRACE: assertEquals(0): Check command tool provider [javac -d .\test.9235a652\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4) exited with 0 code [2025-11-06T13:15:07.164Z] [13:14:52.190] TRACE: Delete [.\test.9235a652\input\hello.jar] existing jar file [2025-11-06T13:15:07.164Z] [13:14:52.191] TRACE: exec: Execute tool provider [jar -c -f .\test.9235a652\input\hello.jar -C .\test.9235a652\jar-workdir .](7)... [2025-11-06T13:15:07.164Z] [13:14:52.219] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.164Z] [13:14:52.219] 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-06T13:15:07.164Z] [13:14:52.221] TRACE: Init fake runtime in [.\test.9235a652\fake_runtime] directory [2025-11-06T13:15:07.164Z] [13:14:52.222] TRACE: Create [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.9235a652\no-icon.properties] properties file... [2025-11-06T13:15:07.164Z] [13:14:52.222] TRACE: icon= [2025-11-06T13:15:07.164Z] [13:14:52.223] TRACE: Done [2025-11-06T13:15:07.164Z] [13:14:52.223] TRACE: exec: Execute [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\test.9235a652\input --dest .\test.9235a652\out-13052 --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-06T13:15:07.164Z] [13:14:52.542] Creating app package: IconTest in C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\.\test.9235a652\out-13052 [2025-11-06T13:15:07.164Z] [13:14:52.566] Using default package resource JavaApp.ico [icon] (add IconTest.ico to the resource-dir to customize). [2025-11-06T13:15:07.164Z] [13:14:52.582] 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\jenkins\AppData\Local\Temp\jdk.jpackage18351400815900340277". [2025-11-06T13:15:07.164Z] [13:14:52.717] Using default package resource WinLauncher.template [Template for creating executable properties file] (add IconTest.properties to the resource-dir to customize). [2025-11-06T13:15:07.164Z] [13:14:52.809] 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\jenkins\AppData\Local\Temp\jdk.jpackage18351400815900340277". [2025-11-06T13:15:07.164Z] [13:14:52.945] Using default package resource WinLauncher.template [Template for creating executable properties file] (add no-icon.properties to the resource-dir to customize). [2025-11-06T13:15:07.164Z] [13:14:52.949] Succeeded in building Windows Application Image package [2025-11-06T13:15:07.164Z] [13:14:52.961] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.164Z] [13:14:52.961] TRACE: assertEquals(0): Check command [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\test.9235a652\input --dest .\test.9235a652\out-13052 --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-06T13:15:07.164Z] [13:14:52.961] TRACE: assertTrue(): Check [.\test.9235a652\out-13052\IconTest\no-icon.ico] path doesn't exist [2025-11-06T13:15:07.164Z] [13:14:53.081] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.9235a652\icons.0\no-icon.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.9235a652\icons.0\no-icon.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T13:15:07.164Z] [13:14:53.525] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.164Z] [13:14:53.525] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.9235a652\icons.0\no-icon.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.9235a652\icons.0\no-icon.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T13:15:07.164Z] [13:14:53.525] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.9235a652\out-13052\IconTest\no-icon.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.9235a652\icons.0\no-icon.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T13:15:07.164Z] [13:14:53.833] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.164Z] [13:14:53.833] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.9235a652\out-13052\IconTest\no-icon.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.9235a652\icons.0\no-icon.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T13:15:07.164Z] [13:14:53.833] 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-06T13:15:07.164Z] [13:14:53.835] TRACE: assertTrue(): Check [.\test.9235a652\out-13052\IconTest\no-icon.exe] path exists [2025-11-06T13:15:07.164Z] [13:14:53.835] TRACE: assertTrue(): Check [.\test.9235a652\out-13052\IconTest\no-icon.exe] is a file [2025-11-06T13:15:07.164Z] [13:14:53.835] TRACE: assertTrue(): Check [.\test.9235a652\out-13052\IconTest\no-icon.exe] file is executable [2025-11-06T13:15:07.164Z] [13:14:53.835] TRACE: Not running .\test.9235a652\out-13052\IconTest\no-icon.exe launcher because application runtime directory [.\test.9235a652\out-13052\IconTest\runtime] is incomplete [2025-11-06T13:15:07.164Z] [13:14:53.836] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.9235a652\icons\x.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.9235a652\icons\x.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T13:15:07.164Z] [13:14:54.276] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.164Z] [13:14:54.276] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.9235a652\icons\x.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.9235a652\icons\x.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T13:15:07.164Z] [13:14:54.276] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.9235a652\output\IconTest\x.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.9235a652\icons\x.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T13:15:07.164Z] [13:14:54.588] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.164Z] [13:14:54.588] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.9235a652\output\IconTest\x.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.9235a652\icons\x.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T13:15:07.164Z] [13:14:54.588] 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-06T13:15:07.164Z] [13:14:54.590] TRACE: assertTrue(): Check [.\test.9235a652\output\IconTest\x.exe] path exists [2025-11-06T13:15:07.164Z] [13:14:54.590] TRACE: assertTrue(): Check [.\test.9235a652\output\IconTest\x.exe] is a file [2025-11-06T13:15:07.164Z] [13:14:54.591] TRACE: assertTrue(): Check [.\test.9235a652\output\IconTest\x.exe] file is executable [2025-11-06T13:15:07.164Z] [13:14:54.591] TRACE: Not running .\test.9235a652\output\IconTest\x.exe launcher because application runtime directory [.\test.9235a652\output\IconTest\runtime] is incomplete [2025-11-06T13:15:07.164Z] [13:14:54.591] TRACE: assertStringListEquals(): Check there is only one file with [.jpackage.xml] name in the package [2025-11-06T13:15:07.164Z] [13:14:54.591] TRACE: assertStringListEquals(1, .\test.9235a652\output\IconTest\app\.jpackage.xml) [2025-11-06T13:15:07.164Z] [13:14:54.591] TRACE: assertTrue(): Check [.\test.9235a652\output\IconTest\runtime] path exists [2025-11-06T13:15:07.164Z] [13:14:54.592] TRACE: assertTrue(): Check [.\test.9235a652\output\IconTest\runtime] is a directory [2025-11-06T13:15:07.164Z] [13:14:54.592] TRACE: assertTrue(): Check [.\test.9235a652\output\IconTest\IconTest.exe] path exists [2025-11-06T13:15:07.164Z] [13:14:54.592] TRACE: assertTrue(): Check [.\test.9235a652\output\IconTest\IconTest.exe] is a file [2025-11-06T13:15:07.164Z] [13:14:54.592] TRACE: assertTrue(): Check [.\test.9235a652\output\IconTest\IconTest.exe] file is executable [2025-11-06T13:15:07.164Z] [13:14:54.592] TRACE: assertTrue(): Check [.\test.9235a652\output\IconTest\app\IconTest.cfg] path exists [2025-11-06T13:15:07.164Z] [13:14:54.592] TRACE: assertTrue(): Check [.\test.9235a652\output\IconTest\app\IconTest.cfg] is a file [2025-11-06T13:15:07.164Z] [13:14:54.592] TRACE: assertTrue(): Check [.\test.9235a652\output\IconTest\IconTest.ico] path doesn't exist [2025-11-06T13:15:07.164Z] [13:14:54.594] TRACE: Set icon of [.\test.9235a652\icons\IconTest.exe\container.exe] launcher to [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon2.ico] file [2025-11-06T13:15:07.164Z] [13:14:54.728] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.9235a652\icons\IconTest.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.9235a652\icons\IconTest.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T13:15:07.164Z] [13:14:55.144] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.164Z] [13:14:55.145] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.9235a652\icons\IconTest.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.9235a652\icons\IconTest.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T13:15:07.164Z] [13:14:55.145] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.9235a652\output\IconTest\IconTest.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.9235a652\icons\IconTest.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T13:15:07.164Z] [13:14:55.427] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.164Z] [13:14:55.427] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.9235a652\output\IconTest\IconTest.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.9235a652\icons\IconTest.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T13:15:07.164Z] [13:14:55.427] 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-06T13:15:07.164Z] [13:14:55.430] TRACE: assertNotNull([13:14:51.668] Using custom package resource [icon] (loaded from IconTest.ico).): Check output contains [Using custom package resource [icon] (loaded from IconTest.ico)] string [2025-11-06T13:15:07.164Z] [13:14:55.430] TRACE: Deleting [.\test.9235a652] directory recursively [2025-11-06T13:15:07.164Z] [13:14:55.440] [ OK ] IconTest(AppImage, ResourceDirIcon, NoIcon).test; checks=30 [2025-11-06T13:15:07.164Z] [13:14:55.440] [ RUN ] IconTest(AppImage, ResourceDirIcon, ResourceDirIcon).test [2025-11-06T13:15:07.164Z] [13:14:55.441] TRACE: Resource file: [.\test.8d7d304e\resources\x.ico] <- [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon4.ico] [2025-11-06T13:15:07.164Z] [13:14:55.442] TRACE: Resource file: [.\test.8d7d304e\resources\IconTest.ico] <- [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon2.ico] [2025-11-06T13:15:07.164Z] [13:14:55.444] TRACE: exec: Execute tool provider [javac -d .\test.8d7d304e\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4)... [2025-11-06T13:15:07.164Z] [13:14:55.529] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.164Z] [13:14:55.529] TRACE: assertEquals(0): Check command tool provider [javac -d .\test.8d7d304e\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4) exited with 0 code [2025-11-06T13:15:07.164Z] [13:14:55.530] TRACE: exec: Execute tool provider [jar -c -f .\test.8d7d304e\input\hello.jar -C .\test.8d7d304e\jar-workdir .](7)... [2025-11-06T13:15:07.164Z] [13:14:55.556] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.164Z] [13:14:55.556] 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-06T13:15:07.164Z] [13:14:55.557] TRACE: Create [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.8d7d304e\x.properties] properties file... [2025-11-06T13:15:07.164Z] [13:14:55.557] TRACE: Done [2025-11-06T13:15:07.164Z] [13:14:55.557] TRACE: Init fake runtime in [.\test.8d7d304e\fake_runtime] directory [2025-11-06T13:15:07.164Z] [13:14:55.559] TRACE: Files in [.\test.8d7d304e\resources] resource dir: [2025-11-06T13:15:07.164Z] [13:14:55.560] TRACE: [IconTest.ico] [2025-11-06T13:15:07.164Z] [13:14:55.560] TRACE: [x.ico] [2025-11-06T13:15:07.164Z] [13:14:55.560] TRACE: Done [2025-11-06T13:15:07.164Z] [13:14:55.560] TRACE: exec: Execute [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\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-06T13:15:07.164Z] [13:14:55.870] Creating app package: IconTest in C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\.\test.8d7d304e\output [2025-11-06T13:15:07.164Z] [13:14:55.895] Using custom package resource [icon] (loaded from IconTest.ico). [2025-11-06T13:15:07.164Z] [13:14:55.926] 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\jenkins\AppData\Local\Temp\jdk.jpackage11928999812072521563". [2025-11-06T13:15:07.164Z] [13:14:56.068] Using default package resource WinLauncher.template [Template for creating executable properties file] (add IconTest.properties to the resource-dir to customize). [2025-11-06T13:15:07.164Z] [13:14:56.148] Using custom package resource [icon] (loaded from x.ico). [2025-11-06T13:15:07.164Z] [13:14:56.164] 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\jenkins\AppData\Local\Temp\jdk.jpackage11928999812072521563". [2025-11-06T13:15:07.164Z] [13:14:56.315] Using default package resource WinLauncher.template [Template for creating executable properties file] (add x.properties to the resource-dir to customize). [2025-11-06T13:15:07.164Z] [13:14:56.320] Succeeded in building Windows Application Image package [2025-11-06T13:15:07.164Z] [13:14:56.333] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.164Z] [13:14:56.334] TRACE: assertEquals(0): Check command [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\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-06T13:15:07.164Z] [13:14:56.334] TRACE: assertTrue(): Check [.\test.8d7d304e\output\IconTest\x.ico] path doesn't exist [2025-11-06T13:15:07.164Z] [13:14:56.336] TRACE: exec: Execute tool provider [javac -d .\test.8d7d304e\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4)... [2025-11-06T13:15:07.164Z] [13:14:56.456] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.164Z] [13:14:56.456] TRACE: assertEquals(0): Check command tool provider [javac -d .\test.8d7d304e\jar-workdir C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\apps\Hello.java](4) exited with 0 code [2025-11-06T13:15:07.164Z] [13:14:56.457] TRACE: Delete [.\test.8d7d304e\input\hello.jar] existing jar file [2025-11-06T13:15:07.164Z] [13:14:56.457] TRACE: exec: Execute tool provider [jar -c -f .\test.8d7d304e\input\hello.jar -C .\test.8d7d304e\jar-workdir .](7)... [2025-11-06T13:15:07.164Z] [13:14:56.479] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.164Z] [13:14:56.479] 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-06T13:15:07.164Z] [13:14:56.480] TRACE: Init fake runtime in [.\test.8d7d304e\fake_runtime] directory [2025-11-06T13:15:07.164Z] [13:14:56.481] TRACE: exec: Execute [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\test.8d7d304e\input --dest .\test.8d7d304e\out-13052 --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-06T13:15:07.164Z] [13:14:56.790] Creating app package: IconTest in C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\.\test.8d7d304e\out-13052 [2025-11-06T13:15:07.164Z] [13:14:56.815] Using default package resource JavaApp.ico [icon] (add IconTest.ico to the resource-dir to customize). [2025-11-06T13:15:07.164Z] [13:14:56.831] 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\jenkins\AppData\Local\Temp\jdk.jpackage2294852610653719523". [2025-11-06T13:15:07.164Z] [13:14:56.966] Using default package resource WinLauncher.template [Template for creating executable properties file] (add IconTest.properties to the resource-dir to customize). [2025-11-06T13:15:07.164Z] [13:14:57.057] Succeeded in building Windows Application Image package [2025-11-06T13:15:07.164Z] [13:14:57.070] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.164Z] [13:14:57.070] TRACE: assertEquals(0): Check command [c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\jdkbinary\j2sdk-image\bin\jpackage.exe --input .\test.8d7d304e\input --dest .\test.8d7d304e\out-13052 --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-06T13:15:07.164Z] [13:14:57.139] TRACE: Set icon of [.\test.8d7d304e\icons\x.exe\container.exe] launcher to [.\test.8d7d304e\resources\x.ico] file [2025-11-06T13:15:07.164Z] [13:14:57.275] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.8d7d304e\icons\x.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.8d7d304e\icons\x.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T13:15:07.164Z] [13:14:57.701] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.165Z] [13:14:57.702] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.8d7d304e\icons\x.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.8d7d304e\icons\x.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T13:15:07.165Z] [13:14:57.702] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.8d7d304e\output\IconTest\x.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.8d7d304e\icons\x.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T13:15:07.165Z] [13:14:57.988] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.165Z] [13:14:57.988] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.8d7d304e\output\IconTest\x.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.8d7d304e\icons\x.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T13:15:07.165Z] [13:14:57.988] 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-06T13:15:07.165Z] [13:14:57.990] TRACE: assertTrue(): Check [.\test.8d7d304e\output\IconTest\x.exe] path exists [2025-11-06T13:15:07.165Z] [13:14:57.991] TRACE: assertTrue(): Check [.\test.8d7d304e\output\IconTest\x.exe] is a file [2025-11-06T13:15:07.165Z] [13:14:57.991] TRACE: assertTrue(): Check [.\test.8d7d304e\output\IconTest\x.exe] file is executable [2025-11-06T13:15:07.165Z] [13:14:57.991] TRACE: Not running .\test.8d7d304e\output\IconTest\x.exe launcher because application runtime directory [.\test.8d7d304e\output\IconTest\runtime] is incomplete [2025-11-06T13:15:07.165Z] [13:14:57.991] TRACE: assertStringListEquals(): Check there is only one file with [.jpackage.xml] name in the package [2025-11-06T13:15:07.165Z] [13:14:57.991] TRACE: assertStringListEquals(1, .\test.8d7d304e\output\IconTest\app\.jpackage.xml) [2025-11-06T13:15:07.165Z] [13:14:57.991] TRACE: assertTrue(): Check [.\test.8d7d304e\output\IconTest\runtime] path exists [2025-11-06T13:15:07.165Z] [13:14:57.991] TRACE: assertTrue(): Check [.\test.8d7d304e\output\IconTest\runtime] is a directory [2025-11-06T13:15:07.165Z] [13:14:57.992] TRACE: assertTrue(): Check [.\test.8d7d304e\output\IconTest\IconTest.exe] path exists [2025-11-06T13:15:07.165Z] [13:14:57.992] TRACE: assertTrue(): Check [.\test.8d7d304e\output\IconTest\IconTest.exe] is a file [2025-11-06T13:15:07.165Z] [13:14:57.992] TRACE: assertTrue(): Check [.\test.8d7d304e\output\IconTest\IconTest.exe] file is executable [2025-11-06T13:15:07.165Z] [13:14:57.992] TRACE: assertTrue(): Check [.\test.8d7d304e\output\IconTest\app\IconTest.cfg] path exists [2025-11-06T13:15:07.165Z] [13:14:57.992] TRACE: assertTrue(): Check [.\test.8d7d304e\output\IconTest\app\IconTest.cfg] is a file [2025-11-06T13:15:07.165Z] [13:14:57.992] TRACE: assertTrue(): Check [.\test.8d7d304e\output\IconTest\IconTest.ico] path doesn't exist [2025-11-06T13:15:07.165Z] [13:14:57.994] TRACE: Set icon of [.\test.8d7d304e\icons\IconTest.exe\container.exe] launcher to [C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\resources\icon2.ico] file [2025-11-06T13:15:07.165Z] [13:14:58.131] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.8d7d304e\icons\IconTest.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.8d7d304e\icons\IconTest.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T13:15:07.165Z] [13:14:58.563] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.165Z] [13:14:58.563] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.8d7d304e\icons\IconTest.exe\container.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.8d7d304e\icons\IconTest.exe\expected.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T13:15:07.165Z] [13:14:58.563] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.8d7d304e\output\IconTest\IconTest.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.8d7d304e\icons\IconTest.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5); discard I/O... [2025-11-06T13:15:07.165Z] [13:14:58.870] TRACE: exec: Done. Exit code: 0 [2025-11-06T13:15:07.165Z] [13:14:58.871] 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_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.8d7d304e\output\IconTest\IconTest.exe').ToBitmap().Save('C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1\test.8d7d304e\icons\IconTest.exe\actual.bmp', [System.Drawing.Imaging.ImageFormat]::Bmp)"](5) exited with 0 code [2025-11-06T13:15:07.165Z] [13:14:58.871] 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-06T13:15:07.165Z] [13:14:58.873] TRACE: assertNotNull([13:14:55.895] Using custom package resource [icon] (loaded from IconTest.ico).): Check output contains [Using custom package resource [icon] (loaded from IconTest.ico)] string [2025-11-06T13:15:07.165Z] [13:14:58.873] TRACE: assertNotNull([13:14:56.148] Using custom package resource [icon] (loaded from x.ico).): Check output contains [Using custom package resource [icon] (loaded from x.ico)] string [2025-11-06T13:15:07.165Z] [13:14:58.873] TRACE: Deleting [.\test.8d7d304e] directory recursively [2025-11-06T13:15:07.165Z] [13:14:58.880] [ OK ] IconTest(AppImage, ResourceDirIcon, ResourceDirIcon).test; checks=25 [2025-11-06T13:15:07.165Z] [13:14:58.880] [==========] 20 tests ran [2025-11-06T13:15:07.165Z] [13:14:58.880] [ PASSED ] 19 tests [2025-11-06T13:15:07.165Z] [13:14:58.882] [ FAILED ] 1 test, listed below [2025-11-06T13:15:07.165Z] [13:14:58.882] [ FAILED ] IconTest(AppImage, CustomIcon, NoIcon).test; workDir=[.\test.3b95dd9a] [2025-11-06T13:15:07.165Z] [13:14:58.882] 1 FAILED TEST [2025-11-06T13:15:07.165Z] STDERR: [2025-11-06T13:15:07.165Z] java.lang.AssertionError: Failed: Check the number of mismatched pixels [154] of [1024] is < [0.100000] threshold [2025-11-06T13:15:07.165Z] at jdk.jpackage.test.TKit.error(TKit.java:269) [2025-11-06T13:15:07.165Z] at jdk.jpackage.test.TKit.assertTrue(TKit.java:665) [2025-11-06T13:15:07.165Z] at jdk.jpackage.test.TKit.assertTrue(TKit.java:652) [2025-11-06T13:15:07.165Z] at jdk.jpackage.test.LauncherIconVerifier$WinIconVerifier.lambda$verifyLauncherIcon$1(LauncherIconVerifier.java:150) [2025-11-06T13:15:07.165Z] at jdk.jpackage.test.Functional$ThrowingConsumer.lambda$toConsumer$0(Functional.java:41) [2025-11-06T13:15:07.165Z] at jdk.jpackage.test.TKit.withTempDirectory(TKit.java:353) [2025-11-06T13:15:07.165Z] at jdk.jpackage.test.LauncherIconVerifier$WinIconVerifier.verifyLauncherIcon(LauncherIconVerifier.java:89) [2025-11-06T13:15:07.165Z] at jdk.jpackage.test.LauncherIconVerifier.applyTo(LauncherIconVerifier.java:70) [2025-11-06T13:15:07.165Z] at jdk.jpackage.test.AdditionalLauncher.verifyIcon(AdditionalLauncher.java:251) [2025-11-06T13:15:07.165Z] at jdk.jpackage.test.AdditionalLauncher.verify(AdditionalLauncher.java:255) [2025-11-06T13:15:07.165Z] at jdk.jpackage.test.Functional$ThrowingConsumer.lambda$toConsumer$0(Functional.java:41) [2025-11-06T13:15:07.165Z] at jdk.jpackage.test.JPackageCommand$Actions$1.accept(JPackageCommand.java:966) [2025-11-06T13:15:07.165Z] at jdk.jpackage.test.JPackageCommand$Actions$1.accept(JPackageCommand.java:961) [2025-11-06T13:15:07.165Z] at jdk.jpackage.test.JPackageCommand$Actions.lambda$run$0(JPackageCommand.java:976) [2025-11-06T13:15:07.165Z] at java.base/java.util.ArrayList.forEach(ArrayList.java:1511) [2025-11-06T13:15:07.165Z] at jdk.jpackage.test.JPackageCommand$Actions.run(JPackageCommand.java:976) [2025-11-06T13:15:07.165Z] at jdk.jpackage.test.JPackageCommand.executeVerifyActions(JPackageCommand.java:677) [2025-11-06T13:15:07.165Z] at jdk.jpackage.test.JPackageCommand.execute(JPackageCommand.java:737) [2025-11-06T13:15:07.165Z] at jdk.jpackage.test.JPackageCommand.execute(JPackageCommand.java:699) [2025-11-06T13:15:07.165Z] at jdk.jpackage.test.LauncherIconVerifier$WinIconVerifier.getDefaultAppLauncher(LauncherIconVerifier.java:215) [2025-11-06T13:15:07.165Z] at jdk.jpackage.test.LauncherIconVerifier$WinIconVerifier.lambda$verifyLauncherIcon$1(LauncherIconVerifier.java:94) [2025-11-06T13:15:07.165Z] at jdk.jpackage.test.Functional$ThrowingConsumer.lambda$toConsumer$0(Functional.java:41) [2025-11-06T13:15:07.165Z] at jdk.jpackage.test.TKit.withTempDirectory(TKit.java:353) [2025-11-06T13:15:07.165Z] at jdk.jpackage.test.LauncherIconVerifier$WinIconVerifier.verifyLauncherIcon(LauncherIconVerifier.java:89) [2025-11-06T13:15:07.165Z] at jdk.jpackage.test.LauncherIconVerifier.applyTo(LauncherIconVerifier.java:70) [2025-11-06T13:15:07.165Z] at jdk.jpackage.test.AdditionalLauncher.verifyIcon(AdditionalLauncher.java:251) [2025-11-06T13:15:07.165Z] at jdk.jpackage.test.AdditionalLauncher.verify(AdditionalLauncher.java:255) [2025-11-06T13:15:07.165Z] at jdk.jpackage.test.Functional$ThrowingConsumer.lambda$toConsumer$0(Functional.java:41) [2025-11-06T13:15:07.165Z] at jdk.jpackage.test.JPackageCommand$Actions$1.accept(JPackageCommand.java:966) [2025-11-06T13:15:07.165Z] at jdk.jpackage.test.JPackageCommand$Actions$1.accept(JPackageCommand.java:961) [2025-11-06T13:15:07.165Z] at jdk.jpackage.test.JPackageCommand$Actions.lambda$run$0(JPackageCommand.java:976) [2025-11-06T13:15:07.165Z] at java.base/java.util.ArrayList.forEach(ArrayList.java:1511) [2025-11-06T13:15:07.165Z] at jdk.jpackage.test.JPackageCommand$Actions.run(JPackageCommand.java:976) [2025-11-06T13:15:07.165Z] at jdk.jpackage.test.JPackageCommand.executeVerifyActions(JPackageCommand.java:677) [2025-11-06T13:15:07.165Z] at jdk.jpackage.test.JPackageCommand.execute(JPackageCommand.java:737) [2025-11-06T13:15:07.165Z] at jdk.jpackage.test.JPackageCommand.execute(JPackageCommand.java:699) [2025-11-06T13:15:07.165Z] at jdk.jpackage.test.JPackageCommand.executeAndAssertImageCreated(JPackageCommand.java:750) [2025-11-06T13:15:07.165Z] at IconTest.test(IconTest.java:164) [2025-11-06T13:15:07.165Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [2025-11-06T13:15:07.165Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) [2025-11-06T13:15:07.165Z] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [2025-11-06T13:15:07.165Z] at java.base/java.lang.reflect.Method.invoke(Method.java:569) [2025-11-06T13:15:07.165Z] at jdk.jpackage.test.MethodCall.accept(MethodCall.java:145) [2025-11-06T13:15:07.165Z] at jdk.jpackage.test.TestInstance.run(TestInstance.java:230) [2025-11-06T13:15:07.165Z] at jdk.jpackage.test.TKit.lambda$ignoreExceptions$5(TKit.java:148) [2025-11-06T13:15:07.165Z] at jdk.jpackage.test.TKit.lambda$runTests$3(TKit.java:133) [2025-11-06T13:15:07.165Z] at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1625) [2025-11-06T13:15:07.165Z] at java.base/java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:762) [2025-11-06T13:15:07.165Z] at jdk.jpackage.test.TKit.lambda$runTests$4(TKit.java:130) [2025-11-06T13:15:07.165Z] at jdk.jpackage.test.Functional$ThrowingRunnable.lambda$toRunnable$0(Functional.java:105) [2025-11-06T13:15:07.165Z] at jdk.jpackage.test.TKit.withExtraLogStream(TKit.java:117) [2025-11-06T13:15:07.165Z] at jdk.jpackage.test.TKit.withExtraLogStream(TKit.java:108) [2025-11-06T13:15:07.165Z] at jdk.jpackage.test.TKit.runTests(TKit.java:129) [2025-11-06T13:15:07.165Z] at jdk.jpackage.test.Main.runTests(Main.java:79) [2025-11-06T13:15:07.165Z] at jdk.jpackage.test.Main.lambda$main$2(Main.java:75) [2025-11-06T13:15:07.165Z] at jdk.jpackage.test.Functional$ThrowingRunnable.lambda$toRunnable$0(Functional.java:105) [2025-11-06T13:15:07.165Z] at jdk.jpackage.test.TKit.withExtraLogStream(TKit.java:117) [2025-11-06T13:15:07.165Z] at jdk.jpackage.test.TKit.withExtraLogStream(TKit.java:108) [2025-11-06T13:15:07.165Z] at jdk.jpackage.test.Main.main(Main.java:75) [2025-11-06T13:15:07.165Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [2025-11-06T13:15:07.165Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) [2025-11-06T13:15:07.165Z] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [2025-11-06T13:15:07.165Z] at java.base/java.lang.reflect.Method.invoke(Method.java:569) [2025-11-06T13:15:07.165Z] at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138) [2025-11-06T13:15:07.165Z] at java.base/java.lang.Thread.run(Thread.java:840) [2025-11-06T13:15:07.165Z] java.lang.RuntimeException: 1 FAILED TEST [2025-11-06T13:15:07.165Z] at jdk.jpackage.test.Main.reportSummary(Main.java:130) [2025-11-06T13:15:07.165Z] at jdk.jpackage.test.Main.runTests(Main.java:90) [2025-11-06T13:15:07.165Z] at jdk.jpackage.test.Main.lambda$main$2(Main.java:75) [2025-11-06T13:15:07.165Z] at jdk.jpackage.test.Functional$ThrowingRunnable.lambda$toRunnable$0(Functional.java:105) [2025-11-06T13:15:07.165Z] at jdk.jpackage.test.TKit.withExtraLogStream(TKit.java:117) [2025-11-06T13:15:07.165Z] at jdk.jpackage.test.TKit.withExtraLogStream(TKit.java:108) [2025-11-06T13:15:07.165Z] at jdk.jpackage.test.Main.main(Main.java:75) [2025-11-06T13:15:07.165Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [2025-11-06T13:15:07.165Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) [2025-11-06T13:15:07.165Z] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [2025-11-06T13:15:07.165Z] at java.base/java.lang.reflect.Method.invoke(Method.java:569) [2025-11-06T13:15:07.165Z] at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138) [2025-11-06T13:15:07.165Z] at java.base/java.lang.Thread.run(Thread.java:840) [2025-11-06T13:15:07.165Z] [2025-11-06T13:15:07.165Z] JavaTest Message: Test threw exception: java.lang.RuntimeException: 1 FAILED TEST [2025-11-06T13:15:07.165Z] JavaTest Message: shutting down test [2025-11-06T13:15:07.165Z] [2025-11-06T13:15:07.165Z] STATUS:Failed.`main' threw exception: java.lang.RuntimeException: 1 FAILED TEST [2025-11-06T13:15:07.165Z] rerun: [2025-11-06T13:15:07.165Z] cd 'C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\scratch\1' && \ [2025-11-06T13:15:07.165Z] PATH='C:\cygwin64\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Windows\System32\OpenSSH;C:\Program Files\dotnet;C:\Users\adoptopenjdk\AppData\Local\Microsoft\WindowsApps;C:\Strawberry\perl\bin;C:\Program Files\Git\cmd;C:\openjdk\jdk-8\bin;C:\apache-ant\apache-ant-1.10.15\bin;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit;C:\Program Files (x86)\Incredibuild;C:\rust\bin;C:\Program Files\IcedTeaWEB\bin;C:\Users\jenkins\AppData\Local\Microsoft\WindowsApps' \ [2025-11-06T13:15:07.165Z] SystemDrive=C: \ [2025-11-06T13:15:07.165Z] SystemRoot='C:\Windows' \ [2025-11-06T13:15:07.165Z] TEMP='C:\Users\jenkins\AppData\Local\Temp' \ [2025-11-06T13:15:07.165Z] TMP='C:\Users\jenkins\AppData\Local\Temp' \ [2025-11-06T13:15:07.165Z] windir='C:\Windows' \ [2025-11-06T13:15:07.165Z] CLASSPATH='C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\classes\2\tools\jpackage\share\IconTest.d;C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\share;C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\classes\2\test\jdk\tools\jpackage\helpers;C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\helpers;C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\jvmtest\openjdk\jtreg\lib\javatest.jar;C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\jvmtest\openjdk\jtreg\lib\jtreg.jar' \ [2025-11-06T13:15:07.165Z] 'c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\jdkbinary\j2sdk-image\bin\java' \ [2025-11-06T13:15:07.165Z] -Dtest.vm.opts='-ea -esa -Xmx512m' \ [2025-11-06T13:15:07.165Z] -Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m' \ [2025-11-06T13:15:07.165Z] -Dtest.compiler.opts= \ [2025-11-06T13:15:07.165Z] -Dtest.java.opts= \ [2025-11-06T13:15:07.165Z] -Dtest.jdk='c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\jdkbinary\j2sdk-image' \ [2025-11-06T13:15:07.165Z] -Dcompile.jdk='c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\jdkbinary\j2sdk-image' \ [2025-11-06T13:15:07.165Z] -Dtest.timeout.factor=8.0 \ [2025-11-06T13:15:07.165Z] -Dtest.nativepath='c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\jdkbinary\openjdk-test-image\jdk\jtreg\native' \ [2025-11-06T13:15:07.165Z] -Dtest.root='C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk' \ [2025-11-06T13:15:07.165Z] -Dtest.name=tools/jpackage/share/IconTest.java \ [2025-11-06T13:15:07.165Z] -Dtest.file='C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\share\IconTest.java' \ [2025-11-06T13:15:07.165Z] -Dtest.src='C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\share' \ [2025-11-06T13:15:07.165Z] -Dtest.src.path='C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\share;C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\helpers' \ [2025-11-06T13:15:07.165Z] -Dtest.classes='C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\classes\2\tools\jpackage\share\IconTest.d' \ [2025-11-06T13:15:07.165Z] -Dtest.class.path='C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\classes\2\tools\jpackage\share\IconTest.d;C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\classes\2\test\jdk\tools\jpackage\helpers' \ [2025-11-06T13:15:07.165Z] -Dtest.class.path.prefix='C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\classes\2\tools\jpackage\share\IconTest.d;C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\openjdk\openjdk-jdk\test\jdk\tools\jpackage\share;C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\classes\2\test\jdk\tools\jpackage\helpers' \ [2025-11-06T13:15:07.165Z] -Dtest.modules='jdk.jpackage/jdk.jpackage.internal:+open java.base/jdk.internal.util' \ [2025-11-06T13:15:07.165Z] --add-modules jdk.jpackage,java.base \ [2025-11-06T13:15:07.165Z] --add-exports jdk.jpackage/jdk.jpackage.internal=ALL-UNNAMED \ [2025-11-06T13:15:07.165Z] --add-opens jdk.jpackage/jdk.jpackage.internal=ALL-UNNAMED \ [2025-11-06T13:15:07.165Z] --add-exports java.base/jdk.internal.util=ALL-UNNAMED \ [2025-11-06T13:15:07.165Z] -ea \ [2025-11-06T13:15:07.165Z] -esa \ [2025-11-06T13:15:07.165Z] -Xmx512m \ [2025-11-06T13:15:07.165Z] '-Djava.library.path=c:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\jdkbinary\openjdk-test-image\jdk\jtreg\native' \ [2025-11-06T13:15:07.165Z] -Xmx512m \ [2025-11-06T13:15:07.165Z] com.sun.javatest.regtest.agent.MainWrapper 'C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work\tools\jpackage\share\IconTest.d\main.0.jta' --jpt-run=IconTest [2025-11-06T13:15:07.165Z] [2025-11-06T13:15:07.165Z] TEST RESULT: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: 1 FAILED TEST [2025-11-06T13:15:07.165Z] -------------------------------------------------- [2025-11-06T13:26:34.067Z] Test results: passed: 255; failed: 1 [2025-11-06T13:27:01.913Z] Report written to C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\report\html\report.html [2025-11-06T13:27:01.913Z] Results written to C:\jenkins\workspace\Test_openjdk17_hs_extended.openjdk_x86-32_windows_testList_2\aqa-tests\TKG\output_17624288321459\jdk_tools_2\work [2025-11-06T13:27:01.913Z] Error: Some tests failed or other problems occurred. [2025-11-06T13:27:01.913Z] ----------------------------------- [2025-11-06T13:27:01.913Z] jdk_tools_2_FAILED [2025-11-06T13:27:01.913Z] ----------------------------------- [2025-11-06T13:27:01.913Z] [2025-11-06T13:27:01.913Z] TEST TEARDOWN: [2025-11-06T13:27:01.913Z] Nothing to be done for teardown. [2025-11-06T13:27:01.913Z] jdk_tools_2 Finish Time: Thu Nov 6 13:26:57 2025 Epoch Time (ms): 1762435617823