No Possible Issues Found via Git Search

jdk_tools_1

[2025-03-27T03:13:28.418Z] Running test jdk_tools_1 ... [2025-03-27T03:13:28.418Z] =============================================== [2025-03-27T03:13:28.418Z] jdk_tools_1 Start Time: Thu Mar 27 03:13:21 2025 Epoch Time (ms): 1743045201275 [2025-03-27T03:13:28.418Z] variation: Mode650 [2025-03-27T03:13:28.418Z] JVM_OPTIONS: -XX:-UseCompressedOops [2025-03-27T03:13:28.418Z] { \ [2025-03-27T03:13:28.418Z] echo ""; echo "TEST SETUP:"; \ [2025-03-27T03:13:28.418Z] echo "Nothing to be done for setup."; \ [2025-03-27T03:13:28.418Z] mkdir -p "/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/aqa-tests/TKG/../TKG/output_17430396561725/jdk_tools_1"; \ [2025-03-27T03:13:28.418Z] cd "/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/aqa-tests/TKG/../TKG/output_17430396561725/jdk_tools_1"; \ [2025-03-27T03:13:28.418Z] echo ""; echo "TESTING:"; \ [2025-03-27T03:13:28.418Z] "/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/jdkbinary/j2sdk-image/bin/java" -Xmx512m -jar "/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/aqa-tests/TKG/../../jvmtest/openjdk/jtreg/lib/jtreg.jar" \ [2025-03-27T03:13:28.418Z] -agentvm -a -ea -esa -v:fail,error,time,nopass -retain:fail,error,*.dmp,javacore.*,heapdump.*,*.trc -ignore:quiet -timeoutFactor:16 -xml:verify -k:'!headful' -concurrency:3 -nativepath:"/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/jdkbinary/openjdk-test-image/jdk/jtreg/native" -vmoptions:"-Xmx512m -XX:-UseCompressedOops -Djava.awt.headless=true" \ [2025-03-27T03:13:28.418Z] \ [2025-03-27T03:13:28.418Z] -w ""/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/aqa-tests/TKG/../TKG/output_17430396561725/jdk_tools_1"/work" \ [2025-03-27T03:13:28.418Z] -r ""/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/aqa-tests/TKG/../TKG/output_17430396561725/jdk_tools_1"/report" \ [2025-03-27T03:13:28.418Z] -jdk:"/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/jdkbinary/j2sdk-image" \ [2025-03-27T03:13:28.418Z] -exclude:"/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/aqa-tests/TKG/../openjdk/openjdk-jdk/test/jdk/ProblemList.txt" \ [2025-03-27T03:13:28.418Z] -exclude:"/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/aqa-tests/TKG/../../jvmtest/openjdk/excludes/ProblemList_openjdk21.txt" \ [2025-03-27T03:13:28.418Z] \ [2025-03-27T03:13:28.418Z] -exclude:"/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/aqa-tests/TKG/../openjdk/excludes/vendors/eclipse/ProblemList_openjdk21.txt" \ [2025-03-27T03:13:28.419Z] "/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/aqa-tests/TKG/../openjdk/openjdk-jdk/test/jdk:jdk_tools"; \ [2025-03-27T03:13:28.419Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "jdk_tools_1""_PASSED"; echo "-----------------------------------"; cd /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/aqa-tests/TKG/..; else echo "-----------------------------------"; echo "jdk_tools_1""_FAILED"; echo "-----------------------------------"; fi; \ [2025-03-27T03:13:28.419Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-03-27T03:13:28.419Z] echo "Nothing to be done for teardown."; \ [2025-03-27T03:13:28.419Z] } 2>&1 | tee -a "/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/aqa-tests/TKG/../TKG/output_17430396561725/TestTargetResult"; [2025-03-27T03:13:28.419Z] [2025-03-27T03:13:28.419Z] TEST SETUP: [2025-03-27T03:13:28.419Z] Nothing to be done for setup. [2025-03-27T03:13:28.419Z] [2025-03-27T03:13:28.419Z] TESTING: [2025-03-27T03:13:28.419Z] Directory "/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/aqa-tests/TKG/../TKG/output_17430396561725/jdk_tools_1/work" not found: creating [2025-03-27T03:13:28.419Z] Directory "/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/aqa-tests/TKG/../TKG/output_17430396561725/jdk_tools_1/report" not found: creating [2025-03-27T03:13:48.460Z] XML output with verification to /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/aqa-tests/TKG/output_17430396561725/jdk_tools_1/work [2025-03-27T08:51:19.038Z] -------------------------------------------------- [2025-03-27T08:51:19.038Z] TEST: tools/jpackage/share/MainClassTest.java [2025-03-27T08:51:19.038Z] TEST JDK: /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/jdkbinary/j2sdk-image [2025-03-27T08:51:19.038Z] [2025-03-27T08:51:19.038Z] ACTION: build -- Passed. All files up to date [2025-03-27T08:51:19.038Z] REASON: User specified action: run build jdk.jpackage.test.* [2025-03-27T08:51:19.038Z] TIME: 0.006 seconds [2025-03-27T08:51:19.038Z] messages: [2025-03-27T08:51:19.038Z] command: build jdk.jpackage.test.* [2025-03-27T08:51:19.038Z] reason: User specified action: run build jdk.jpackage.test.* [2025-03-27T08:51:19.038Z] started: Thu Mar 27 05:34:57 UTC 2025 [2025-03-27T08:51:19.038Z] finished: Thu Mar 27 05:34:57 UTC 2025 [2025-03-27T08:51:19.038Z] elapsed time (seconds): 0.006 [2025-03-27T08:51:19.038Z] [2025-03-27T08:51:19.038Z] ACTION: compile -- Passed. Compilation successful [2025-03-27T08:51:19.038Z] REASON: User specified action: run compile MainClassTest.java [2025-03-27T08:51:19.038Z] TIME: 0.414 seconds [2025-03-27T08:51:19.038Z] messages: [2025-03-27T08:51:19.038Z] command: compile /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/aqa-tests/openjdk/openjdk-jdk/test/jdk/tools/jpackage/share/MainClassTest.java [2025-03-27T08:51:19.038Z] reason: User specified action: run compile MainClassTest.java [2025-03-27T08:51:19.038Z] started: Thu Mar 27 05:34:57 UTC 2025 [2025-03-27T08:51:19.038Z] 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-03-27T08:51:19.038Z] Mode: agentvm [2025-03-27T08:51:19.038Z] Agent id: 1 [2025-03-27T08:51:19.038Z] finished: Thu Mar 27 05:34:58 UTC 2025 [2025-03-27T08:51:19.038Z] elapsed time (seconds): 0.414 [2025-03-27T08:51:19.038Z] configuration: [2025-03-27T08:51:19.038Z] Boot Layer (javac runtime environment) [2025-03-27T08:51:19.038Z] class path: /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/jvmtest/openjdk/jtreg/lib/javatest.jar [2025-03-27T08:51:19.038Z] /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/jvmtest/openjdk/jtreg/lib/jtreg.jar [2025-03-27T08:51:19.038Z] patch: java.base /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/aqa-tests/TKG/output_17430396561725/jdk_tools_1/work/patches/java.base [2025-03-27T08:51:19.038Z] [2025-03-27T08:51:19.038Z] javac compilation environment [2025-03-27T08:51:19.038Z] add modules: jdk.jpackage java.base [2025-03-27T08:51:19.038Z] add exports: java.base/jdk.internal.util ALL-UNNAMED [2025-03-27T08:51:19.038Z] jdk.jpackage/jdk.jpackage.internal ALL-UNNAMED [2025-03-27T08:51:19.038Z] source path: /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/aqa-tests/openjdk/openjdk-jdk/test/jdk/tools/jpackage/share [2025-03-27T08:51:19.038Z] /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/aqa-tests/openjdk/openjdk-jdk/test/jdk/tools/jpackage/helpers [2025-03-27T08:51:19.038Z] class path: /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/aqa-tests/openjdk/openjdk-jdk/test/jdk/tools/jpackage/share [2025-03-27T08:51:19.038Z] /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/aqa-tests/TKG/output_17430396561725/jdk_tools_1/work/classes/2/tools/jpackage/share/MainClassTest.d [2025-03-27T08:51:19.038Z] /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/aqa-tests/TKG/output_17430396561725/jdk_tools_1/work/classes/2/test/jdk/tools/jpackage/helpers [2025-03-27T08:51:19.038Z] [2025-03-27T08:51:19.038Z] rerun: [2025-03-27T08:51:19.038Z] cd /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/aqa-tests/TKG/output_17430396561725/jdk_tools_1/work/scratch/2 && \ [2025-03-27T08:51:19.038Z] DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1001/bus \ [2025-03-27T08:51:19.038Z] DISPLAY=:0 \ [2025-03-27T08:51:19.038Z] HOME=/home/jenkins \ [2025-03-27T08:51:19.038Z] LANG=en_US.UTF-8 \ [2025-03-27T08:51:19.038Z] PATH=/bin:/usr/bin:/usr/sbin \ [2025-03-27T08:51:19.038Z] XDG_RUNTIME_DIR=/run/user/1001 \ [2025-03-27T08:51:19.038Z] XDG_SESSION_CLASS=user \ [2025-03-27T08:51:19.038Z] XDG_SESSION_ID=7859 \ [2025-03-27T08:51:19.038Z] XDG_SESSION_TYPE=tty \ [2025-03-27T08:51:19.038Z] /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/jdkbinary/j2sdk-image/bin/javac \ [2025-03-27T08:51:19.038Z] -J-ea \ [2025-03-27T08:51:19.038Z] -J-esa \ [2025-03-27T08:51:19.038Z] -J-Xmx512m \ [2025-03-27T08:51:19.038Z] -J-XX:-UseCompressedOops \ [2025-03-27T08:51:19.038Z] -J-Djava.awt.headless=true \ [2025-03-27T08:51:19.038Z] -J-Dtest.vm.opts='-ea -esa -Xmx512m -XX:-UseCompressedOops -Djava.awt.headless=true' \ [2025-03-27T08:51:19.038Z] -J-Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m -J-XX:-UseCompressedOops -J-Djava.awt.headless=true' \ [2025-03-27T08:51:19.038Z] -J-Dtest.compiler.opts= \ [2025-03-27T08:51:19.038Z] -J-Dtest.java.opts= \ [2025-03-27T08:51:19.038Z] -J-Dtest.jdk=/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/jdkbinary/j2sdk-image \ [2025-03-27T08:51:19.038Z] -J-Dcompile.jdk=/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/jdkbinary/j2sdk-image \ [2025-03-27T08:51:19.038Z] -J-Dtest.timeout.factor=16.0 \ [2025-03-27T08:51:19.038Z] -J-Dtest.nativepath=/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/jdkbinary/openjdk-test-image/jdk/jtreg/native \ [2025-03-27T08:51:19.038Z] -J-Dtest.root=/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/aqa-tests/openjdk/openjdk-jdk/test/jdk \ [2025-03-27T08:51:19.038Z] -J-Dtest.name=tools/jpackage/share/MainClassTest.java \ [2025-03-27T08:51:19.038Z] -J-Dtest.file=/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/aqa-tests/openjdk/openjdk-jdk/test/jdk/tools/jpackage/share/MainClassTest.java \ [2025-03-27T08:51:19.038Z] -J-Dtest.src=/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/aqa-tests/openjdk/openjdk-jdk/test/jdk/tools/jpackage/share \ [2025-03-27T08:51:19.038Z] -J-Dtest.src.path=/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/aqa-tests/openjdk/openjdk-jdk/test/jdk/tools/jpackage/share:/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/aqa-tests/openjdk/openjdk-jdk/test/jdk/tools/jpackage/helpers \ [2025-03-27T08:51:19.038Z] -J-Dtest.classes=/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/aqa-tests/TKG/output_17430396561725/jdk_tools_1/work/classes/2/tools/jpackage/share/MainClassTest.d \ [2025-03-27T08:51:19.038Z] -J-Dtest.class.path=/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/aqa-tests/TKG/output_17430396561725/jdk_tools_1/work/classes/2/tools/jpackage/share/MainClassTest.d:/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/aqa-tests/TKG/output_17430396561725/jdk_tools_1/work/classes/2/test/jdk/tools/jpackage/helpers \ [2025-03-27T08:51:19.038Z] -J-Dtest.class.path.prefix=/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/aqa-tests/TKG/output_17430396561725/jdk_tools_1/work/classes/2/tools/jpackage/share/MainClassTest.d:/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/aqa-tests/openjdk/openjdk-jdk/test/jdk/tools/jpackage/share:/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/aqa-tests/TKG/output_17430396561725/jdk_tools_1/work/classes/2/test/jdk/tools/jpackage/helpers \ [2025-03-27T08:51:19.038Z] -J-Dtest.modules='jdk.jpackage/jdk.jpackage.internal:+open java.base/jdk.internal.util' \ [2025-03-27T08:51:19.038Z] --add-modules jdk.jpackage,java.base \ [2025-03-27T08:51:19.038Z] --add-exports jdk.jpackage/jdk.jpackage.internal=ALL-UNNAMED \ [2025-03-27T08:51:19.038Z] --add-exports java.base/jdk.internal.util=ALL-UNNAMED \ [2025-03-27T08:51:19.038Z] -d /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/aqa-tests/TKG/output_17430396561725/jdk_tools_1/work/classes/2/tools/jpackage/share/MainClassTest.d \ [2025-03-27T08:51:19.038Z] -sourcepath /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/aqa-tests/openjdk/openjdk-jdk/test/jdk/tools/jpackage/share:/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/aqa-tests/openjdk/openjdk-jdk/test/jdk/tools/jpackage/helpers \ [2025-03-27T08:51:19.038Z] -classpath /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/aqa-tests/openjdk/openjdk-jdk/test/jdk/tools/jpackage/share:/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/aqa-tests/TKG/output_17430396561725/jdk_tools_1/work/classes/2/tools/jpackage/share/MainClassTest.d:/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/aqa-tests/TKG/output_17430396561725/jdk_tools_1/work/classes/2/test/jdk/tools/jpackage/helpers /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/aqa-tests/openjdk/openjdk-jdk/test/jdk/tools/jpackage/share/MainClassTest.java [2025-03-27T08:51:19.038Z] [2025-03-27T08:51:19.038Z] ACTION: build -- Passed. All files up to date [2025-03-27T08:51:19.038Z] REASON: Named class compiled on demand [2025-03-27T08:51:19.038Z] TIME: 0.0 seconds [2025-03-27T08:51:19.038Z] messages: [2025-03-27T08:51:19.038Z] command: build jdk.jpackage.test.Main [2025-03-27T08:51:19.038Z] reason: Named class compiled on demand [2025-03-27T08:51:19.038Z] started: Thu Mar 27 05:34:58 UTC 2025 [2025-03-27T08:51:19.038Z] finished: Thu Mar 27 05:34:58 UTC 2025 [2025-03-27T08:51:19.038Z] elapsed time (seconds): 0.0 [2025-03-27T08:51:19.038Z] [2025-03-27T08:51:19.038Z] ACTION: main -- Error. Program `/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/jdkbinary/j2sdk-image/bin/java' timed out (timeout set to 11520000ms, elapsed time including timeout handling was 11521189ms). [2025-03-27T08:51:19.038Z] REASON: User specified action: run main/othervm/timeout=720 -Xmx512m jdk.jpackage.test.Main --jpt-run=MainClassTest [2025-03-27T08:51:19.038Z] TIME: 11521.242 seconds [2025-03-27T08:51:19.038Z] messages: [2025-03-27T08:51:19.038Z] command: main -Xmx512m jdk.jpackage.test.Main --jpt-run=MainClassTest [2025-03-27T08:51:19.038Z] reason: User specified action: run main/othervm/timeout=720 -Xmx512m jdk.jpackage.test.Main --jpt-run=MainClassTest [2025-03-27T08:51:19.038Z] started: Thu Mar 27 05:39:08 UTC 2025 [2025-03-27T08:51:19.038Z] Mode: othervm [/othervm specified] [2025-03-27T08:51:19.038Z] 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-03-27T08:51:19.038Z] Timeout information: [2025-03-27T08:51:19.038Z] Running jstack on process 3399540 [2025-03-27T08:51:19.038Z] 2025-03-27 08:51:10 [2025-03-27T08:51:19.038Z] Full thread dump OpenJDK 64-Bit Server VM (21.0.7-beta+5-ea mixed mode, sharing): [2025-03-27T08:51:19.038Z] [2025-03-27T08:51:19.038Z] Threads class SMR info: [2025-03-27T08:51:19.038Z] _java_thread_list=0x0000003f08002030, length=13, elements={ [2025-03-27T08:51:19.038Z] 0x0000003fb802dd20, 0x0000003fb813cf30, 0x0000003fb813e490, 0x0000003fb813fc20, [2025-03-27T08:51:19.038Z] 0x0000003fb8141250, 0x0000003fb81427e0, 0x0000003fb8144310, 0x0000003fb81459c0, [2025-03-27T08:51:19.038Z] 0x0000003fb81bf0b0, 0x0000003fb821b0c0, 0x0000003fb823cb10, 0x0000003ef40a4d20, [2025-03-27T08:51:19.038Z] 0x0000003f08000ff0 [2025-03-27T08:51:19.038Z] } [2025-03-27T08:51:19.038Z] [2025-03-27T08:51:19.038Z] "main" #1 [3399543] prio=5 os_prio=0 cpu=604.55ms elapsed=11521.06s tid=0x0000003fb802dd20 nid=3399543 in Object.wait() [0x0000003fbd2b0000] [2025-03-27T08:51:19.038Z] java.lang.Thread.State: WAITING (on object monitor) [2025-03-27T08:51:19.038Z] at java.lang.Object.wait0(java.base@21.0.7-beta/Native Method) [2025-03-27T08:51:19.038Z] - waiting on <0x0000003f80900000> (a java.lang.Thread) [2025-03-27T08:51:19.038Z] at java.lang.Object.wait(java.base@21.0.7-beta/Object.java:366) [2025-03-27T08:51:19.039Z] at java.lang.Thread.join(java.base@21.0.7-beta/Thread.java:2079) [2025-03-27T08:51:19.039Z] - locked <0x0000003f80900000> (a java.lang.Thread) [2025-03-27T08:51:19.039Z] at java.lang.Thread.join(java.base@21.0.7-beta/Thread.java:2155) [2025-03-27T08:51:19.039Z] at com.sun.javatest.regtest.agent.MainWrapper.main(MainWrapper.java:85) [2025-03-27T08:51:19.039Z] [2025-03-27T08:51:19.039Z] "Reference Handler" #9 [3399551] daemon prio=10 os_prio=0 cpu=12.82ms elapsed=11520.86s tid=0x0000003fb813cf30 nid=3399551 waiting on condition [0x0000003f70cb5000] [2025-03-27T08:51:19.039Z] java.lang.Thread.State: RUNNABLE [2025-03-27T08:51:19.039Z] at java.lang.ref.Reference.waitForReferencePendingList(java.base@21.0.7-beta/Native Method) [2025-03-27T08:51:19.039Z] at java.lang.ref.Reference.processPendingReferences(java.base@21.0.7-beta/Reference.java:246) [2025-03-27T08:51:19.039Z] at java.lang.ref.Reference$ReferenceHandler.run(java.base@21.0.7-beta/Reference.java:208) [2025-03-27T08:51:19.039Z] [2025-03-27T08:51:19.039Z] "Finalizer" #10 [3399552] daemon prio=8 os_prio=0 cpu=2.02ms elapsed=11520.86s tid=0x0000003fb813e490 nid=3399552 in Object.wait() [0x0000003f70ab5000] [2025-03-27T08:51:19.039Z] java.lang.Thread.State: WAITING (on object monitor) [2025-03-27T08:51:19.039Z] at java.lang.Object.wait0(java.base@21.0.7-beta/Native Method) [2025-03-27T08:51:19.039Z] - waiting on <0x0000003f80922778> (a java.lang.ref.NativeReferenceQueue$Lock) [2025-03-27T08:51:19.039Z] at java.lang.Object.wait(java.base@21.0.7-beta/Object.java:366) [2025-03-27T08:51:19.039Z] at java.lang.Object.wait(java.base@21.0.7-beta/Object.java:339) [2025-03-27T08:51:19.039Z] at java.lang.ref.NativeReferenceQueue.await(java.base@21.0.7-beta/NativeReferenceQueue.java:48) [2025-03-27T08:51:19.039Z] at java.lang.ref.ReferenceQueue.remove0(java.base@21.0.7-beta/ReferenceQueue.java:158) [2025-03-27T08:51:19.039Z] at java.lang.ref.NativeReferenceQueue.remove(java.base@21.0.7-beta/NativeReferenceQueue.java:89) [2025-03-27T08:51:19.039Z] - locked <0x0000003f80922778> (a java.lang.ref.NativeReferenceQueue$Lock) [2025-03-27T08:51:19.039Z] at java.lang.ref.Finalizer$FinalizerThread.run(java.base@21.0.7-beta/Finalizer.java:173) [2025-03-27T08:51:19.039Z] [2025-03-27T08:51:19.039Z] "Signal Dispatcher" #11 [3399553] daemon prio=9 os_prio=0 cpu=0.92ms elapsed=11520.86s tid=0x0000003fb813fc20 nid=3399553 waiting on condition [0x0000000000000000] [2025-03-27T08:51:19.039Z] java.lang.Thread.State: RUNNABLE [2025-03-27T08:51:19.039Z] [2025-03-27T08:51:19.039Z] "Service Thread" #12 [3399554] daemon prio=9 os_prio=0 cpu=3.78ms elapsed=11520.86s tid=0x0000003fb8141250 nid=3399554 runnable [0x0000000000000000] [2025-03-27T08:51:19.039Z] java.lang.Thread.State: RUNNABLE [2025-03-27T08:51:19.039Z] [2025-03-27T08:51:19.039Z] "Monitor Deflation Thread" #13 [3399555] daemon prio=9 os_prio=0 cpu=6066.74ms elapsed=11520.86s tid=0x0000003fb81427e0 nid=3399555 runnable [0x0000000000000000] [2025-03-27T08:51:19.039Z] java.lang.Thread.State: RUNNABLE [2025-03-27T08:51:19.039Z] [2025-03-27T08:51:19.039Z] "C2 CompilerThread0" #14 [3399556] daemon prio=9 os_prio=0 cpu=26787.62ms elapsed=11520.86s tid=0x0000003fb8144310 nid=3399556 waiting on condition [0x0000000000000000] [2025-03-27T08:51:19.039Z] java.lang.Thread.State: RUNNABLE [2025-03-27T08:51:19.039Z] No compile task [2025-03-27T08:51:19.039Z] [2025-03-27T08:51:19.039Z] "C1 CompilerThread0" #16 [3399557] daemon prio=9 os_prio=0 cpu=11336.89ms elapsed=11520.86s tid=0x0000003fb81459c0 nid=3399557 waiting on condition [0x0000000000000000] [2025-03-27T08:51:19.039Z] java.lang.Thread.State: RUNNABLE [2025-03-27T08:51:19.039Z] No compile task [2025-03-27T08:51:19.039Z] [2025-03-27T08:51:19.039Z] "Common-Cleaner" #17 [3399558] daemon prio=8 os_prio=0 cpu=111.12ms elapsed=11520.69s tid=0x0000003fb81bf0b0 nid=3399558 waiting on condition [0x0000003f1edfd000] [2025-03-27T08:51:19.039Z] java.lang.Thread.State: TIMED_WAITING (parking) [2025-03-27T08:51:19.039Z] at jdk.internal.misc.Unsafe.park(java.base@21.0.7-beta/Native Method) [2025-03-27T08:51:19.039Z] - parking to wait for <0x0000003f809170a0> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject) [2025-03-27T08:51:19.039Z] at java.util.concurrent.locks.LockSupport.parkNanos(java.base@21.0.7-beta/LockSupport.java:269) [2025-03-27T08:51:19.039Z] at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(java.base@21.0.7-beta/AbstractQueuedSynchronizer.java:1852) [2025-03-27T08:51:19.039Z] at java.lang.ref.ReferenceQueue.await(java.base@21.0.7-beta/ReferenceQueue.java:71) [2025-03-27T08:51:19.039Z] at java.lang.ref.ReferenceQueue.remove0(java.base@21.0.7-beta/ReferenceQueue.java:143) [2025-03-27T08:51:19.039Z] at java.lang.ref.ReferenceQueue.remove(java.base@21.0.7-beta/ReferenceQueue.java:218) [2025-03-27T08:51:19.039Z] at jdk.internal.ref.CleanerImpl.run(java.base@21.0.7-beta/CleanerImpl.java:140) [2025-03-27T08:51:19.039Z] at java.lang.Thread.runWith(java.base@21.0.7-beta/Thread.java:1596) [2025-03-27T08:51:19.039Z] at java.lang.Thread.run(java.base@21.0.7-beta/Thread.java:1583) [2025-03-27T08:51:19.039Z] at jdk.internal.misc.InnocuousThread.run(java.base@21.0.7-beta/InnocuousThread.java:186) [2025-03-27T08:51:19.039Z] [2025-03-27T08:51:19.039Z] "Notification Thread" #18 [3399559] daemon prio=9 os_prio=0 cpu=0.34ms elapsed=11520.52s tid=0x0000003fb821b0c0 nid=3399559 runnable [0x0000000000000000] [2025-03-27T08:51:19.039Z] java.lang.Thread.State: RUNNABLE [2025-03-27T08:51:19.039Z] [2025-03-27T08:51:19.039Z] "MainThread" #19 [3399560] prio=5 os_prio=0 cpu=34613.75ms elapsed=11520.42s tid=0x0000003fb823cb10 nid=3399560 waiting on condition [0x0000003f1e9fc000] [2025-03-27T08:51:19.039Z] java.lang.Thread.State: WAITING (parking) [2025-03-27T08:51:19.039Z] at jdk.internal.misc.Unsafe.park(java.base@21.0.7-beta/Native Method) [2025-03-27T08:51:19.039Z] - parking to wait for <0x0000003f8fb2f650> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject) [2025-03-27T08:51:19.039Z] at java.util.concurrent.locks.LockSupport.park(java.base@21.0.7-beta/LockSupport.java:371) [2025-03-27T08:51:19.039Z] at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionNode.block(java.base@21.0.7-beta/AbstractQueuedSynchronizer.java:519) [2025-03-27T08:51:19.039Z] at java.util.concurrent.ForkJoinPool.unmanagedBlock(java.base@21.0.7-beta/ForkJoinPool.java:3780) [2025-03-27T08:51:19.039Z] at java.util.concurrent.ForkJoinPool.managedBlock(java.base@21.0.7-beta/ForkJoinPool.java:3725) [2025-03-27T08:51:19.039Z] at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(java.base@21.0.7-beta/AbstractQueuedSynchronizer.java:1712) [2025-03-27T08:51:19.039Z] at java.lang.ProcessImpl.waitFor(java.base@21.0.7-beta/ProcessImpl.java:425) [2025-03-27T08:51:19.039Z] at jdk.jpackage.test.Executor.runExecutable(Executor.java:409) [2025-03-27T08:51:19.039Z] at jdk.jpackage.test.Executor.lambda$executeWithoutExitCodeCheck$0(Executor.java:231) [2025-03-27T08:51:19.039Z] at jdk.jpackage.test.Executor$$Lambda/0x0000003f24036d50.get(Unknown Source) [2025-03-27T08:51:19.039Z] at jdk.jpackage.test.Functional$ThrowingSupplier.lambda$toSupplier$0(Functional.java:71) [2025-03-27T08:51:19.039Z] at jdk.jpackage.test.Functional$ThrowingSupplier$$Lambda/0x0000003f24034620.get(Unknown Source) [2025-03-27T08:51:19.039Z] at jdk.jpackage.test.Executor.executeWithoutExitCodeCheck(Executor.java:235) [2025-03-27T08:51:19.039Z] at jdk.jpackage.test.Executor.execute(Executor.java:239) [2025-03-27T08:51:19.039Z] at jdk.jpackage.test.JPackageCommand.execute(JPackageCommand.java:792) [2025-03-27T08:51:19.039Z] at jdk.jpackage.test.JPackageCommand.execute(JPackageCommand.java:751) [2025-03-27T08:51:19.039Z] at jdk.jpackage.test.JPackageCommand.executeAndAssertImageCreated(JPackageCommand.java:808) [2025-03-27T08:51:19.039Z] at jdk.jpackage.test.JPackageCommand.executeAndAssertHelloAppImageCreated(JPackageCommand.java:802) [2025-03-27T08:51:19.039Z] at MainClassTest.test(MainClassTest.java:234) [2025-03-27T08:51:19.039Z] at java.lang.invoke.DirectMethodHandle$Holder.invokeSpecial(java.base@21.0.7-beta/DirectMethodHandle$Holder) [2025-03-27T08:51:19.039Z] at java.lang.invoke.LambdaForm$MH/0x0000003f24031400.invoke(java.base@21.0.7-beta/LambdaForm$MH) [2025-03-27T08:51:19.039Z] at java.lang.invoke.Invokers$Holder.invokeExact_MT(java.base@21.0.7-beta/Invokers$Holder) [2025-03-27T08:51:19.039Z] at jdk.internal.reflect.DirectMethodHandleAccessor.invokeImpl(java.base@21.0.7-beta/DirectMethodHandleAccessor.java:153) [2025-03-27T08:51:19.039Z] at jdk.internal.reflect.DirectMethodHandleAccessor.invoke(java.base@21.0.7-beta/DirectMethodHandleAccessor.java:103) [2025-03-27T08:51:19.039Z] at java.lang.reflect.Method.invoke(java.base@21.0.7-beta/Method.java:580) [2025-03-27T08:51:19.039Z] at jdk.jpackage.test.MethodCall.accept(MethodCall.java:145) [2025-03-27T08:51:19.039Z] at jdk.jpackage.test.TestInstance.run(TestInstance.java:230) [2025-03-27T08:51:19.039Z] at jdk.jpackage.test.TKit.lambda$ignoreExceptions$5(TKit.java:143) [2025-03-27T08:51:19.039Z] at jdk.jpackage.test.TKit$$Lambda/0x0000003f24011bf0.run(Unknown Source) [2025-03-27T08:51:19.039Z] at jdk.jpackage.test.TKit.lambda$runTests$3(TKit.java:128) [2025-03-27T08:51:19.039Z] at jdk.jpackage.test.TKit$$Lambda/0x0000003f240119d0.accept(Unknown Source) [2025-03-27T08:51:19.039Z] at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(java.base@21.0.7-beta/ArrayList.java:1708) [2025-03-27T08:51:19.039Z] at java.util.stream.ReferencePipeline$Head.forEach(java.base@21.0.7-beta/ReferencePipeline.java:762) [2025-03-27T08:51:19.039Z] at jdk.jpackage.test.TKit.lambda$runTests$4(TKit.java:125) [2025-03-27T08:51:19.039Z] at jdk.jpackage.test.TKit$$Lambda/0x0000003f240117b8.run(Unknown Source) [2025-03-27T08:51:19.039Z] at jdk.jpackage.test.Functional$ThrowingRunnable.lambda$toRunnable$0(Functional.java:105) [2025-03-27T08:51:19.039Z] at jdk.jpackage.test.Functional$ThrowingRunnable$$Lambda/0x0000003f240115a0.run(Unknown Source) [2025-03-27T08:51:19.039Z] at jdk.jpackage.test.TKit.withExtraLogStream(TKit.java:111) [2025-03-27T08:51:19.039Z] at jdk.jpackage.test.TKit.runTests(TKit.java:124) [2025-03-27T08:51:19.039Z] at jdk.jpackage.test.Main.runTests(Main.java:79) [2025-03-27T08:51:19.039Z] at jdk.jpackage.test.Main.lambda$main$2(Main.java:75) [2025-03-27T08:51:19.039Z] at jdk.jpackage.test.Main$$Lambda/0x0000003f24011388.run(Unknown Source) [2025-03-27T08:51:19.039Z] at jdk.jpackage.test.Functional$ThrowingRunnable.lambda$toRunnable$0(Functional.java:105) [2025-03-27T08:51:19.039Z] at jdk.jpackage.test.Functional$ThrowingRunnable$$Lambda/0x0000003f240115a0.run(Unknown Source) [2025-03-27T08:51:19.039Z] at jdk.jpackage.test.TKit.withExtraLogStream(TKit.java:111) [2025-03-27T08:51:19.039Z] at jdk.jpackage.test.Main.main(Main.java:75) [2025-03-27T08:51:19.039Z] at java.lang.invoke.LambdaForm$DMH/0x0000003f24001800.invokeStatic(java.base@21.0.7-beta/LambdaForm$DMH) [2025-03-27T08:51:19.039Z] at java.lang.invoke.LambdaForm$MH/0x0000003f24002c00.invoke(java.base@21.0.7-beta/LambdaForm$MH) [2025-03-27T08:51:19.039Z] at java.lang.invoke.Invokers$Holder.invokeExact_MT(java.base@21.0.7-beta/Invokers$Holder) [2025-03-27T08:51:19.039Z] at jdk.internal.reflect.DirectMethodHandleAccessor.invokeImpl(java.base@21.0.7-beta/DirectMethodHandleAccessor.java:154) [2025-03-27T08:51:19.039Z] at jdk.internal.reflect.DirectMethodHandleAccessor.invoke(java.base@21.0.7-beta/DirectMethodHandleAccessor.java:103) [2025-03-27T08:51:19.039Z] at java.lang.reflect.Method.invoke(java.base@21.0.7-beta/Method.java:580) [2025-03-27T08:51:19.039Z] at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138) [2025-03-27T08:51:19.039Z] at java.lang.Thread.runWith(java.base@21.0.7-beta/Thread.java:1596) [2025-03-27T08:51:19.039Z] at java.lang.Thread.run(java.base@21.0.7-beta/Thread.java:1583) [2025-03-27T08:51:19.039Z] [2025-03-27T08:51:19.039Z] "process reaper (pid 3400859)" #20 [3399563] daemon prio=10 os_prio=0 cpu=36.61ms elapsed=11519.11s tid=0x0000003ef40a4d20 nid=3399563 runnable [0x0000003fa0865000] [2025-03-27T08:51:19.039Z] java.lang.Thread.State: RUNNABLE [2025-03-27T08:51:19.039Z] at java.lang.ProcessHandleImpl.waitForProcessExit0(java.base@21.0.7-beta/Native Method) [2025-03-27T08:51:19.039Z] at java.lang.ProcessHandleImpl$1.run(java.base@21.0.7-beta/ProcessHandleImpl.java:163) [2025-03-27T08:51:19.039Z] at java.util.concurrent.ThreadPoolExecutor.runWorker(java.base@21.0.7-beta/ThreadPoolExecutor.java:1144) [2025-03-27T08:51:19.039Z] at java.util.concurrent.ThreadPoolExecutor$Worker.run(java.base@21.0.7-beta/ThreadPoolExecutor.java:642) [2025-03-27T08:51:19.039Z] at java.lang.Thread.runWith(java.base@21.0.7-beta/Thread.java:1596) [2025-03-27T08:51:19.039Z] at java.lang.Thread.run(java.base@21.0.7-beta/Thread.java:1583) [2025-03-27T08:51:19.039Z] at jdk.internal.misc.InnocuousThread.run(java.base@21.0.7-beta/InnocuousThread.java:186) [2025-03-27T08:51:19.039Z] [2025-03-27T08:51:19.039Z] "Attach Listener" #24 [3413315] daemon prio=9 os_prio=0 cpu=0.95ms elapsed=0.10s tid=0x0000003f08000ff0 nid=3413315 waiting on condition [0x0000000000000000] [2025-03-27T08:51:19.039Z] java.lang.Thread.State: RUNNABLE [2025-03-27T08:51:19.039Z] [2025-03-27T08:51:19.039Z] "GC Thread#3" os_prio=0 cpu=317.47ms elapsed=11518.20s tid=0x0000003f180080f0 nid=3399569 runnable [2025-03-27T08:51:19.039Z] [2025-03-27T08:51:19.039Z] "GC Thread#2" os_prio=0 cpu=292.81ms elapsed=11518.20s tid=0x0000003f180075e0 nid=3399568 runnable [2025-03-27T08:51:19.039Z] [2025-03-27T08:51:19.039Z] "GC Thread#1" os_prio=0 cpu=274.68ms elapsed=11518.20s tid=0x0000003f18006b80 nid=3399567 runnable [2025-03-27T08:51:19.039Z] [2025-03-27T08:51:19.039Z] "VM Thread" os_prio=0 cpu=1808.60ms elapsed=11520.89s tid=0x0000003fb81339e0 nid=3399550 runnable [2025-03-27T08:51:19.039Z] [2025-03-27T08:51:19.039Z] "VM Periodic Task Thread" os_prio=0 cpu=30782.52ms elapsed=11520.91s tid=0x0000003fb8122360 nid=3399549 waiting on condition [2025-03-27T08:51:19.039Z] [2025-03-27T08:51:19.039Z] "G1 Service" os_prio=0 cpu=1677.25ms elapsed=11521.05s tid=0x0000003fb81126f0 nid=3399548 runnable [2025-03-27T08:51:19.039Z] [2025-03-27T08:51:19.039Z] "G1 Refine#0" os_prio=0 cpu=3941.95ms elapsed=11521.05s tid=0x0000003fb8111740 nid=3399547 runnable [2025-03-27T08:51:19.039Z] [2025-03-27T08:51:19.039Z] "G1 Conc#0" os_prio=0 cpu=0.12ms elapsed=11521.06s tid=0x0000003fb805f240 nid=3399546 runnable [2025-03-27T08:51:19.039Z] [2025-03-27T08:51:19.039Z] "G1 Main Marker" os_prio=0 cpu=0.17ms elapsed=11521.06s tid=0x0000003fb805e2a0 nid=3399545 runnable [2025-03-27T08:51:19.039Z] [2025-03-27T08:51:19.039Z] "GC Thread#0" os_prio=0 cpu=275.45ms elapsed=11521.06s tid=0x0000003fb8058a40 nid=3399544 runnable [2025-03-27T08:51:19.039Z] [2025-03-27T08:51:19.039Z] JNI global refs: 10, weak refs: 0 [2025-03-27T08:51:19.039Z] [2025-03-27T08:51:19.039Z] --- Timeout information end. [2025-03-27T08:51:19.039Z] finished: Thu Mar 27 08:51:10 UTC 2025 [2025-03-27T08:51:19.039Z] elapsed time (seconds): 11521.242 [2025-03-27T08:51:19.039Z] configuration: [2025-03-27T08:51:19.039Z] Boot Layer [2025-03-27T08:51:19.039Z] add modules: jdk.jpackage java.base [2025-03-27T08:51:19.039Z] add exports: java.base/jdk.internal.util ALL-UNNAMED [2025-03-27T08:51:19.039Z] jdk.jpackage/jdk.jpackage.internal ALL-UNNAMED [2025-03-27T08:51:19.039Z] add opens: jdk.jpackage/jdk.jpackage.internal ALL-UNNAMED [2025-03-27T08:51:19.039Z] [2025-03-27T08:51:19.039Z] STDOUT: [2025-03-27T08:51:19.039Z] [05:39:10.073] Parsing [--jpt-run=MainClassTest]... [2025-03-27T08:51:19.039Z] [05:39:10.256] MainClassTest.test -> [public void MainClassTest.test() throws java.io.IOException] [2025-03-27T08:51:19.039Z] [05:39:10.399] Create: MainClassTest(modular=y; main-class=n; jar-main-class=n; jlink=y; error=Error: Main application class is missing).test [2025-03-27T08:51:19.039Z] [05:39:10.404] Create: MainClassTest(modular=y; main-class=n; jar-main-class=b; jlink=y).test [2025-03-27T08:51:19.039Z] [05:39:10.407] Create: MainClassTest(modular=y; main-class=n; jar-main-class=y; jlink=y).test [2025-03-27T08:51:19.039Z] [05:39:10.411] Create: MainClassTest(modular=y; main-class=b; jar-main-class=n; jlink=y).test [2025-03-27T08:51:19.039Z] [05:39:10.414] Create: MainClassTest(modular=y; main-class=b; jar-main-class=b; jlink=y).test [2025-03-27T08:51:19.039Z] [05:39:10.418] Create: MainClassTest(modular=y; main-class=b; jar-main-class=y; jlink=y).test [2025-03-27T08:51:19.039Z] [05:39:10.421] Create: MainClassTest(modular=y; main-class=y; jar-main-class=n; jlink=y).test [2025-03-27T08:51:19.039Z] [05:39:10.425] Create: MainClassTest(modular=y; main-class=y; jar-main-class=b; jlink=y).test [2025-03-27T08:51:19.039Z] [05:39:10.428] Create: MainClassTest(modular=y; main-class=y; jar-main-class=y; jlink=y).test [2025-03-27T08:51:19.039Z] [05:39:10.432] Create: MainClassTest(modular=n; main-class=n; jar-main-class=n; jlink=y; error=A main class was not specified nor was one found in the jar).test [2025-03-27T08:51:19.039Z] [05:39:10.437] Create: MainClassTest(modular=n; main-class=n; jar-main-class=b; jlink=y).test [2025-03-27T08:51:19.039Z] [05:39:10.442] Create: MainClassTest(modular=n; main-class=n; jar-main-class=y; jlink=y).test [2025-03-27T08:51:19.039Z] [05:39:10.446] Create: MainClassTest(modular=n; main-class=b; jar-main-class=n; jlink=y).test [2025-03-27T08:51:19.039Z] [05:39:10.450] Create: MainClassTest(modular=n; main-class=b; jar-main-class=b; jlink=y).test [2025-03-27T08:51:19.039Z] [05:39:10.454] Create: MainClassTest(modular=n; main-class=b; jar-main-class=y; jlink=y).test [2025-03-27T08:51:19.039Z] [05:39:10.457] Create: MainClassTest(modular=n; main-class=y; jar-main-class=n; jlink=y).test [2025-03-27T08:51:19.039Z] [05:39:10.461] Create: MainClassTest(modular=n; main-class=y; jar-main-class=b; jlink=y).test [2025-03-27T08:51:19.039Z] [05:39:10.465] Create: MainClassTest(modular=n; main-class=y; jar-main-class=y; jlink=y).test [2025-03-27T08:51:19.039Z] [05:39:10.469] Create: MainClassTest(modular=y; main-class=n; jar-main-class=n; jlink=n; error=Error: Main application class is missing).test [2025-03-27T08:51:19.039Z] [05:39:10.472] Create: MainClassTest(modular=y; main-class=n; jar-main-class=b; jlink=n).test [2025-03-27T08:51:19.039Z] [05:39:10.475] Create: MainClassTest(modular=y; main-class=n; jar-main-class=y; jlink=n).test [2025-03-27T08:51:19.039Z] [05:39:10.479] Create: MainClassTest(modular=y; main-class=b; jar-main-class=n; jlink=n).test [2025-03-27T08:51:19.039Z] [05:39:10.482] Create: MainClassTest(modular=y; main-class=b; jar-main-class=b; jlink=n).test [2025-03-27T08:51:19.039Z] [05:39:10.486] Create: MainClassTest(modular=y; main-class=b; jar-main-class=y; jlink=n).test [2025-03-27T08:51:19.039Z] [05:39:10.489] Create: MainClassTest(modular=y; main-class=y; jar-main-class=n; jlink=n).test [2025-03-27T08:51:19.039Z] [05:39:10.493] Create: MainClassTest(modular=y; main-class=y; jar-main-class=b; jlink=n).test [2025-03-27T08:51:19.039Z] [05:39:10.496] Create: MainClassTest(modular=y; main-class=y; jar-main-class=y; jlink=n).test [2025-03-27T08:51:19.039Z] [05:39:10.500] Create: MainClassTest(modular=n; main-class=n; jar-main-class=n; jlink=n; error=A main class was not specified nor was one found in the jar).test [2025-03-27T08:51:19.039Z] [05:39:10.504] Create: MainClassTest(modular=n; main-class=n; jar-main-class=b; jlink=n).test [2025-03-27T08:51:19.039Z] [05:39:10.507] Create: MainClassTest(modular=n; main-class=n; jar-main-class=y; jlink=n).test [2025-03-27T08:51:19.039Z] [05:39:10.510] Create: MainClassTest(modular=n; main-class=b; jar-main-class=n; jlink=n).test [2025-03-27T08:51:19.039Z] [05:39:10.513] Create: MainClassTest(modular=n; main-class=b; jar-main-class=b; jlink=n).test [2025-03-27T08:51:19.039Z] [05:39:10.516] Create: MainClassTest(modular=n; main-class=b; jar-main-class=y; jlink=n).test [2025-03-27T08:51:19.039Z] [05:39:10.519] Create: MainClassTest(modular=n; main-class=y; jar-main-class=n; jlink=n).test [2025-03-27T08:51:19.039Z] [05:39:10.523] Create: MainClassTest(modular=n; main-class=y; jar-main-class=b; jlink=n).test [2025-03-27T08:51:19.039Z] [05:39:10.527] Create: MainClassTest(modular=n; main-class=y; jar-main-class=y; jlink=n).test [2025-03-27T08:51:19.039Z] [05:39:10.550] [ RUN ] MainClassTest(modular=n; main-class=b; jar-main-class=b; jlink=n).test [2025-03-27T08:51:19.039Z] [05:39:11.091] TRACE: Bundler deb supported [2025-03-27T08:51:19.040Z] [05:39:11.389] TRACE: exec: Execute tool provider [javac -d ./test.76578db5/jar-workdir ./test.76578db5/src/test/Hello.java](4)... [2025-03-27T08:51:19.040Z] [05:39:17.068] TRACE: exec: Done. Exit code: 0 [2025-03-27T08:51:19.040Z] [05:39:17.073] TRACE: assertEquals(0): Check command tool provider [javac -d ./test.76578db5/jar-workdir ./test.76578db5/src/test/Hello.java](4) exited with 0 code [2025-03-27T08:51:19.040Z] [05:39:17.085] TRACE: exec: Execute tool provider [jar -c -f ./test.76578db5/input/hello.jar -e test.Hello -C ./test.76578db5/jar-workdir .](9)... [2025-03-27T08:51:19.040Z] [05:39:17.302] TRACE: exec: Done. Exit code: 0 [2025-03-27T08:51:19.040Z] [05:39:17.305] TRACE: assertEquals(0): Check command tool provider [jar -c -f ./test.76578db5/input/hello.jar -e test.Hello -C ./test.76578db5/jar-workdir .](9) exited with 0 code [2025-03-27T08:51:19.040Z] [05:39:17.384] TRACE: exec: Execute tool provider [javac -d ./test.76578db5/jar-workdir ./test.76578db5/src/test/ThereIsNoSuchClass.java](4)... [2025-03-27T08:51:19.040Z] [05:39:19.196] TRACE: exec: Done. Exit code: 0 [2025-03-27T08:51:19.040Z] [05:39:19.198] TRACE: assertEquals(0): Check command tool provider [javac -d ./test.76578db5/jar-workdir ./test.76578db5/src/test/ThereIsNoSuchClass.java](4) exited with 0 code [2025-03-27T08:51:19.040Z] [05:39:19.200] TRACE: Delete [./test.76578db5/input/hello.jar] existing jar file [2025-03-27T08:51:19.040Z] [05:39:19.204] TRACE: exec: Execute tool provider [jar -c -f ./test.76578db5/input/hello.jar -e test.ThereIsNoSuchClass -C ./test.76578db5/jar-workdir .](9)... [2025-03-27T08:51:19.040Z] [05:39:19.213] TRACE: exec: Done. Exit code: 0 [2025-03-27T08:51:19.040Z] [05:39:19.215] TRACE: assertEquals(0): Check command tool provider [jar -c -f ./test.76578db5/input/hello.jar -e test.ThereIsNoSuchClass -C ./test.76578db5/jar-workdir .](9) exited with 0 code [2025-03-27T08:51:19.040Z] [05:39:19.229] TRACE: exec: Execute tool provider [jar -v -c -M -f ./test.76578db5/input/hello.jar -C ./test.76578db5/repack-jar .](9)... [2025-03-27T08:51:19.040Z] adding: META-INF/(in = 0) (out= 0)(stored 0%) [2025-03-27T08:51:19.040Z] adding: META-INF/MANIFEST.MF(in = 106) (out= 103)(deflated 2%) [2025-03-27T08:51:19.040Z] adding: test/(in = 0) (out= 0)(stored 0%) [2025-03-27T08:51:19.040Z] adding: test/Hello.class(in = 8351) (out= 4116)(deflated 50%) [2025-03-27T08:51:19.040Z] [05:39:19.244] TRACE: exec: Done. Exit code: 0 [2025-03-27T08:51:19.040Z] [05:39:19.246] TRACE: assertEquals(0): Check command tool provider [jar -v -c -M -f ./test.76578db5/input/hello.jar -C ./test.76578db5/repack-jar .](9) exited with 0 code [2025-03-27T08:51:19.040Z] [05:39:19.270] TRACE: exec: Execute [/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/jdkbinary/j2sdk-image/bin/jpackage --input ./test.76578db5/input --dest ./test.76578db5/output --name MainClassTest --type app-image --main-jar hello.jar --main-class test.ThereIsNoSuchClass --runtime-image /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/jdkbinary/j2sdk-image -J-Djlink.debug=true --verbose](17); inherit I/O... [2025-03-27T08:51:19.040Z] [05:39:20.635] Running dpkg [2025-03-27T08:51:19.040Z] [05:39:20.735] Command [PID: 3399599]: [2025-03-27T08:51:19.040Z] dpkg --print-architecture [2025-03-27T08:51:19.040Z] [05:39:20.736] Output: [2025-03-27T08:51:19.040Z] riscv64 [2025-03-27T08:51:19.040Z] [05:39:20.761] Returned: 0 [2025-03-27T08:51:19.040Z] [2025-03-27T08:51:19.040Z] [05:39:20.892] Creating app package: MainClassTest in /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/aqa-tests/TKG/output_17430396561725/jdk_tools_1/work/scratch/2/./test.76578db5/output [2025-03-27T08:51:19.040Z] [05:39:26.588] Using default package resource JavaApp.png [icon] (add MainClassTest.png to the resource-dir to customize). [2025-03-27T08:51:19.040Z] [05:39:26.801] Succeeded in building Linux Application Image package [2025-03-27T08:51:19.040Z] [05:39:26.844] TRACE: exec: Done. Exit code: 0 [2025-03-27T08:51:19.040Z] [05:39:26.846] TRACE: assertEquals(0): Check command [/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/jdkbinary/j2sdk-image/bin/jpackage --input ./test.76578db5/input --dest ./test.76578db5/output --name MainClassTest --type app-image --main-jar hello.jar --main-class test.ThereIsNoSuchClass --runtime-image /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/jdkbinary/j2sdk-image -J-Djlink.debug=true --verbose](17) exited with 0 code [2025-03-27T08:51:19.040Z] [05:39:26.998] TRACE: assertStringListEquals(): Check there is only one file with [.jpackage.xml] name in the package [2025-03-27T08:51:19.040Z] [05:39:27.009] TRACE: assertStringListEquals(1, ./test.76578db5/output/MainClassTest/lib/app/.jpackage.xml) [2025-03-27T08:51:19.040Z] [05:39:27.063] TRACE: assertStringListEquals(): Check there are no files with [.package] name in the package [2025-03-27T08:51:19.040Z] [05:39:27.070] TRACE: assertTrue(): Check [./test.76578db5/output/MainClassTest/lib/runtime] path exists [2025-03-27T08:51:19.040Z] [05:39:27.071] TRACE: assertTrue(): Check [./test.76578db5/output/MainClassTest/lib/runtime] is a directory [2025-03-27T08:51:19.040Z] [05:39:27.074] TRACE: assertTrue(): Check [./test.76578db5/output/MainClassTest/bin/MainClassTest] path exists [2025-03-27T08:51:19.040Z] [05:39:27.076] TRACE: assertTrue(): Check [./test.76578db5/output/MainClassTest/bin/MainClassTest] is a file [2025-03-27T08:51:19.040Z] [05:39:27.077] TRACE: assertTrue(): Check [./test.76578db5/output/MainClassTest/bin/MainClassTest] file is executable [2025-03-27T08:51:19.040Z] [05:39:27.081] TRACE: assertTrue(): Check [./test.76578db5/output/MainClassTest/lib/app/MainClassTest.cfg] path exists [2025-03-27T08:51:19.040Z] [05:39:27.082] TRACE: assertTrue(): Check [./test.76578db5/output/MainClassTest/lib/app/MainClassTest.cfg] is a file [2025-03-27T08:51:19.040Z] [05:39:27.109] TRACE: exec: Execute [/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/aqa-tests/TKG/output_17430396561725/jdk_tools_1/work/scratch/2/./test.76578db5/output/MainClassTest/bin/MainClassTest](1); save output; in directory [./test.76578db5]... [2025-03-27T08:51:19.040Z] Error: Could not find or load main class test.ThereIsNoSuchClass [2025-03-27T08:51:19.040Z] Caused by: java.lang.ClassNotFoundException: test.ThereIsNoSuchClass [2025-03-27T08:51:19.040Z] [05:39:27.966] TRACE: exec: Done. Exit code: 1 [2025-03-27T08:51:19.040Z] [05:39:27.969] TRACE: assertEquals(1): Check command [/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/aqa-tests/TKG/output_17430396561725/jdk_tools_1/work/scratch/2/./test.76578db5/output/MainClassTest/bin/MainClassTest](1) exited with 1 code [2025-03-27T08:51:19.040Z] [05:39:27.977] TRACE: assertNotNull(Error: Could not find or load main class test.ThereIsNoSuchClass): Check output contains [Error: Could not find or load main class test.ThereIsNoSuchClass] string [2025-03-27T08:51:19.040Z] [05:39:27.983] TRACE: Read [./test.76578db5/output/MainClassTest/lib/app/MainClassTest.cfg] jpackage cfg file [2025-03-27T08:51:19.040Z] [05:39:27.994] TRACE: assertTrue(): Check section [Application] is found in [./test.76578db5/output/MainClassTest/lib/app/MainClassTest.cfg] cfg file [2025-03-27T08:51:19.040Z] [05:39:27.995] TRACE: assertNotNull(test.ThereIsNoSuchClass): Check key [app.mainclass] is found in [Application] section of [./test.76578db5/output/MainClassTest/lib/app/MainClassTest.cfg] cfg file [2025-03-27T08:51:19.040Z] [05:39:27.997] TRACE: assertNotNull(test.ThereIsNoSuchClass): Check "app.mainclass" property is set [2025-03-27T08:51:19.040Z] [05:39:27.998] TRACE: assertTrue(): Check section [Application] is found in [./test.76578db5/output/MainClassTest/lib/app/MainClassTest.cfg] cfg file [2025-03-27T08:51:19.040Z] [05:39:27.999] TRACE: assertNotNull($APPDIR/hello.jar): Check key [app.classpath] is found in [Application] section of [./test.76578db5/output/MainClassTest/lib/app/MainClassTest.cfg] cfg file [2025-03-27T08:51:19.040Z] [05:39:28.000] TRACE: assertNotNull($APPDIR/hello.jar): Check "app.classpath" property is set [2025-03-27T08:51:19.040Z] [05:39:28.005] TRACE: assertNull(): Check "app.mainjar" property is NOT set [2025-03-27T08:51:19.040Z] [05:39:28.008] TRACE: Deleting [./test.76578db5] directory recursively [2025-03-27T08:51:19.040Z] [05:39:29.281] [ OK ] MainClassTest(modular=n; main-class=b; jar-main-class=b; jlink=n).test; checks=24 [2025-03-27T08:51:19.040Z] [05:39:29.282] [ RUN ] MainClassTest(modular=n; main-class=b; jar-main-class=b; jlink=y).test [2025-03-27T08:51:19.040Z] [05:39:29.304] TRACE: exec: Execute tool provider [javac -d ./test.bc3c1980/jar-workdir ./test.bc3c1980/src/test/Hello.java](4)... [2025-03-27T08:51:19.040Z] [05:39:30.700] TRACE: exec: Done. Exit code: 0 [2025-03-27T08:51:19.040Z] [05:39:30.703] TRACE: assertEquals(0): Check command tool provider [javac -d ./test.bc3c1980/jar-workdir ./test.bc3c1980/src/test/Hello.java](4) exited with 0 code [2025-03-27T08:51:19.040Z] [05:39:30.708] TRACE: exec: Execute tool provider [jar -c -f ./test.bc3c1980/input/hello.jar -e test.Hello -C ./test.bc3c1980/jar-workdir .](9)... [2025-03-27T08:51:19.040Z] [05:39:30.719] TRACE: exec: Done. Exit code: 0 [2025-03-27T08:51:19.040Z] [05:39:30.721] TRACE: assertEquals(0): Check command tool provider [jar -c -f ./test.bc3c1980/input/hello.jar -e test.Hello -C ./test.bc3c1980/jar-workdir .](9) exited with 0 code [2025-03-27T08:51:19.040Z] [05:39:30.750] TRACE: exec: Execute tool provider [javac -d ./test.bc3c1980/jar-workdir ./test.bc3c1980/src/test/ThereIsNoSuchClass.java](4)... [2025-03-27T08:51:19.040Z] [05:39:31.853] TRACE: exec: Done. Exit code: 0 [2025-03-27T08:51:19.040Z] [05:39:31.856] TRACE: assertEquals(0): Check command tool provider [javac -d ./test.bc3c1980/jar-workdir ./test.bc3c1980/src/test/ThereIsNoSuchClass.java](4) exited with 0 code [2025-03-27T08:51:19.040Z] [05:39:31.861] TRACE: Delete [./test.bc3c1980/input/hello.jar] existing jar file [2025-03-27T08:51:19.040Z] [05:39:31.866] TRACE: exec: Execute tool provider [jar -c -f ./test.bc3c1980/input/hello.jar -e test.ThereIsNoSuchClass -C ./test.bc3c1980/jar-workdir .](9)... [2025-03-27T08:51:19.040Z] [05:39:31.874] TRACE: exec: Done. Exit code: 0 [2025-03-27T08:51:19.040Z] [05:39:31.876] TRACE: assertEquals(0): Check command tool provider [jar -c -f ./test.bc3c1980/input/hello.jar -e test.ThereIsNoSuchClass -C ./test.bc3c1980/jar-workdir .](9) exited with 0 code [2025-03-27T08:51:19.040Z] [05:39:31.886] TRACE: exec: Execute tool provider [jar -v -c -M -f ./test.bc3c1980/input/hello.jar -C ./test.bc3c1980/repack-jar .](9)... [2025-03-27T08:51:19.040Z] adding: META-INF/(in = 0) (out= 0)(stored 0%) [2025-03-27T08:51:19.040Z] adding: META-INF/MANIFEST.MF(in = 106) (out= 103)(deflated 2%) [2025-03-27T08:51:19.040Z] adding: test/(in = 0) (out= 0)(stored 0%) [2025-03-27T08:51:19.040Z] adding: test/Hello.class(in = 8351) (out= 4116)(deflated 50%) [2025-03-27T08:51:19.040Z] [05:39:31.898] TRACE: exec: Done. Exit code: 0 [2025-03-27T08:51:19.040Z] [05:39:31.900] TRACE: assertEquals(0): Check command tool provider [jar -v -c -M -f ./test.bc3c1980/input/hello.jar -C ./test.bc3c1980/repack-jar .](9) exited with 0 code [2025-03-27T08:51:19.040Z] [05:39:31.905] TRACE: exec: Execute [/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/jdkbinary/j2sdk-image/bin/jpackage --input ./test.bc3c1980/input --dest ./test.bc3c1980/output --name MainClassTest --type app-image --main-jar hello.jar --main-class test.ThereIsNoSuchClass -J-Djlink.debug=true --verbose](15); inherit I/O... [2025-03-27T08:51:19.040Z] [05:39:33.280] Running dpkg [2025-03-27T08:51:19.040Z] [05:39:33.381] Command [PID: 3399656]: [2025-03-27T08:51:19.040Z] dpkg --print-architecture [2025-03-27T08:51:19.040Z] [05:39:33.383] Output: [2025-03-27T08:51:19.040Z] riscv64 [2025-03-27T08:51:19.040Z] [05:39:33.409] Returned: 0 [2025-03-27T08:51:19.040Z] [2025-03-27T08:51:19.040Z] [05:39:33.543] Creating app package: MainClassTest in /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/aqa-tests/TKG/output_17430396561725/jdk_tools_1/work/scratch/2/./test.bc3c1980/output [2025-03-27T08:51:19.040Z] [05:40:16.449] Command [PID: -1]: [2025-03-27T08:51:19.040Z] jlink --output ./test.bc3c1980/output/MainClassTest/lib/runtime --module-path /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/jdkbinary/j2sdk-image/jmods --add-modules java.rmi,jdk.management.jfr,jdk.jdi,jdk.charsets,jdk.xml.dom,java.xml,java.datatransfer,jdk.jstatd,jdk.httpserver,java.desktop,java.security.sasl,jdk.zipfs,java.base,jdk.crypto.ec,jdk.javadoc,jdk.management.agent,jdk.jshell,jdk.editpad,java.sql.rowset,jdk.jsobject,jdk.sctp,java.smartcardio,jdk.jlink,jdk.unsupported,java.security.jgss,jdk.nio.mapmode,java.compiler,jdk.dynalink,jdk.unsupported.desktop,jdk.accessibility,jdk.security.jgss,java.sql,jdk.incubator.vector,java.transaction.xa,java.logging,java.xml.crypto,jdk.jfr,jdk.crypto.cryptoki,jdk.net,jdk.random,java.naming,jdk.internal.ed,java.prefs,java.net.http,jdk.compiler,jdk.naming.rmi,jdk.internal.opt,jdk.jconsole,jdk.attach,jdk.internal.le,java.management,jdk.jdwp.agent,jdk.internal.jvmstat,java.instrument,jdk.management,jdk.security.auth,java.scripting,jdk.jdeps,jdk.jartool,jdk.jpackage,java.management.rmi,jdk.naming.dns,jdk.localedata --strip-native-commands --strip-debug --no-man-pages --no-header-files [2025-03-27T08:51:19.040Z] [05:40:16.450] Output: [2025-03-27T08:51:19.040Z] WARNING: Using incubator modules: jdk.incubator.vector [2025-03-27T08:51:19.040Z] [2025-03-27T08:51:19.040Z] [05:40:16.451] Returned: 0 [2025-03-27T08:51:19.040Z] [2025-03-27T08:51:19.040Z] [05:40:16.500] Using default package resource JavaApp.png [icon] (add MainClassTest.png to the resource-dir to customize). [2025-03-27T08:51:19.040Z] [05:40:16.642] Succeeded in building Linux Application Image package [2025-03-27T08:51:19.040Z] [05:40:16.943] TRACE: exec: Done. Exit code: 0 [2025-03-27T08:51:19.040Z] [05:40:16.946] TRACE: assertEquals(0): Check command [/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/jdkbinary/j2sdk-image/bin/jpackage --input ./test.bc3c1980/input --dest ./test.bc3c1980/output --name MainClassTest --type app-image --main-jar hello.jar --main-class test.ThereIsNoSuchClass -J-Djlink.debug=true --verbose](15) exited with 0 code [2025-03-27T08:51:19.040Z] [05:40:16.971] TRACE: assertStringListEquals(): Check there is only one file with [.jpackage.xml] name in the package [2025-03-27T08:51:19.040Z] [05:40:16.972] TRACE: assertStringListEquals(1, ./test.bc3c1980/output/MainClassTest/lib/app/.jpackage.xml) [2025-03-27T08:51:19.040Z] [05:40:16.996] TRACE: assertStringListEquals(): Check there are no files with [.package] name in the package [2025-03-27T08:51:19.040Z] [05:40:16.997] TRACE: assertTrue(): Check [./test.bc3c1980/output/MainClassTest/lib/runtime] path exists [2025-03-27T08:51:19.040Z] [05:40:16.998] TRACE: assertTrue(): Check [./test.bc3c1980/output/MainClassTest/lib/runtime] is a directory [2025-03-27T08:51:19.040Z] [05:40:17.000] TRACE: assertTrue(): Check [./test.bc3c1980/output/MainClassTest/bin/MainClassTest] path exists [2025-03-27T08:51:19.040Z] [05:40:17.001] TRACE: assertTrue(): Check [./test.bc3c1980/output/MainClassTest/bin/MainClassTest] is a file [2025-03-27T08:51:19.040Z] [05:40:17.001] TRACE: assertTrue(): Check [./test.bc3c1980/output/MainClassTest/bin/MainClassTest] file is executable [2025-03-27T08:51:19.040Z] [05:40:17.003] TRACE: assertTrue(): Check [./test.bc3c1980/output/MainClassTest/lib/app/MainClassTest.cfg] path exists [2025-03-27T08:51:19.040Z] [05:40:17.004] TRACE: assertTrue(): Check [./test.bc3c1980/output/MainClassTest/lib/app/MainClassTest.cfg] is a file [2025-03-27T08:51:19.040Z] [05:40:17.007] TRACE: exec: Execute [/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/aqa-tests/TKG/output_17430396561725/jdk_tools_1/work/scratch/2/./test.bc3c1980/output/MainClassTest/bin/MainClassTest](1); save output; in directory [./test.bc3c1980]... [2025-03-27T08:51:19.040Z] Error: Could not find or load main class test.ThereIsNoSuchClass [2025-03-27T08:51:19.040Z] Caused by: java.lang.ClassNotFoundException: test.ThereIsNoSuchClass [2025-03-27T08:51:19.040Z] [05:40:18.156] TRACE: exec: Done. Exit code: 1 [2025-03-27T08:51:19.040Z] [05:40:18.158] TRACE: assertEquals(1): Check command [/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/aqa-tests/TKG/output_17430396561725/jdk_tools_1/work/scratch/2/./test.bc3c1980/output/MainClassTest/bin/MainClassTest](1) exited with 1 code [2025-03-27T08:51:19.040Z] [05:40:18.160] TRACE: assertNotNull(Error: Could not find or load main class test.ThereIsNoSuchClass): Check output contains [Error: Could not find or load main class test.ThereIsNoSuchClass] string [2025-03-27T08:51:19.040Z] [05:40:18.164] TRACE: Read [./test.bc3c1980/output/MainClassTest/lib/app/MainClassTest.cfg] jpackage cfg file [2025-03-27T08:51:19.040Z] [05:40:18.168] TRACE: assertTrue(): Check section [Application] is found in [./test.bc3c1980/output/MainClassTest/lib/app/MainClassTest.cfg] cfg file [2025-03-27T08:51:19.040Z] [05:40:18.169] TRACE: assertNotNull(test.ThereIsNoSuchClass): Check key [app.mainclass] is found in [Application] section of [./test.bc3c1980/output/MainClassTest/lib/app/MainClassTest.cfg] cfg file [2025-03-27T08:51:19.040Z] [05:40:18.170] TRACE: assertNotNull(test.ThereIsNoSuchClass): Check "app.mainclass" property is set [2025-03-27T08:51:19.040Z] [05:40:18.171] TRACE: assertTrue(): Check section [Application] is found in [./test.bc3c1980/output/MainClassTest/lib/app/MainClassTest.cfg] cfg file [2025-03-27T08:51:19.040Z] [05:40:18.171] TRACE: assertNotNull($APPDIR/hello.jar): Check key [app.classpath] is found in [Application] section of [./test.bc3c1980/output/MainClassTest/lib/app/MainClassTest.cfg] cfg file [2025-03-27T08:51:19.040Z] [05:40:18.172] TRACE: assertNotNull($APPDIR/hello.jar): Check "app.classpath" property is set [2025-03-27T08:51:19.040Z] [05:40:18.174] TRACE: assertNull(): Check "app.mainjar" property is NOT set [2025-03-27T08:51:19.040Z] [05:40:18.175] TRACE: Deleting [./test.bc3c1980] directory recursively [2025-03-27T08:51:19.040Z] [05:40:18.495] [ OK ] MainClassTest(modular=n; main-class=b; jar-main-class=b; jlink=y).test; checks=24 [2025-03-27T08:51:19.040Z] [05:40:18.496] [ RUN ] MainClassTest(modular=n; main-class=b; jar-main-class=n; jlink=n).test [2025-03-27T08:51:19.040Z] [05:40:18.509] TRACE: exec: Execute tool provider [javac -d ./test.092df429/jar-workdir ./test.092df429/src/test/Hello.java](4)... [2025-03-27T08:51:19.040Z] [05:40:19.591] TRACE: exec: Done. Exit code: 0 [2025-03-27T08:51:19.040Z] [05:40:19.592] TRACE: assertEquals(0): Check command tool provider [javac -d ./test.092df429/jar-workdir ./test.092df429/src/test/Hello.java](4) exited with 0 code [2025-03-27T08:51:19.040Z] [05:40:19.596] TRACE: exec: Execute tool provider [jar -c -f ./test.092df429/input/hello.jar -C ./test.092df429/jar-workdir .](7)... [2025-03-27T08:51:19.040Z] [05:40:19.610] TRACE: exec: Done. Exit code: 0 [2025-03-27T08:51:19.040Z] [05:40:19.612] TRACE: assertEquals(0): Check command tool provider [jar -c -f ./test.092df429/input/hello.jar -C ./test.092df429/jar-workdir .](7) exited with 0 code [2025-03-27T08:51:19.040Z] [05:40:19.618] TRACE: exec: Execute [/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/jdkbinary/j2sdk-image/bin/jpackage --input ./test.092df429/input --dest ./test.092df429/output --name MainClassTest --type app-image --main-jar hello.jar --main-class test.ThereIsNoSuchClass --runtime-image /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/jdkbinary/j2sdk-image -J-Djlink.debug=true --verbose](17); inherit I/O... [2025-03-27T08:51:19.040Z] [05:40:21.043] Running dpkg [2025-03-27T08:51:19.040Z] [05:40:21.146] Command [PID: 3399786]: [2025-03-27T08:51:19.040Z] dpkg --print-architecture [2025-03-27T08:51:19.040Z] [05:40:21.147] Output: [2025-03-27T08:51:19.040Z] riscv64 [2025-03-27T08:51:19.040Z] [05:40:21.173] Returned: 0 [2025-03-27T08:51:19.040Z] [2025-03-27T08:51:19.040Z] [05:40:21.309] Creating app package: MainClassTest in /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/aqa-tests/TKG/output_17430396561725/jdk_tools_1/work/scratch/2/./test.092df429/output [2025-03-27T08:51:19.040Z] [05:40:26.972] Using default package resource JavaApp.png [icon] (add MainClassTest.png to the resource-dir to customize). [2025-03-27T08:51:19.040Z] [05:40:27.174] Succeeded in building Linux Application Image package [2025-03-27T08:51:19.040Z] [05:40:27.216] TRACE: exec: Done. Exit code: 0 [2025-03-27T08:51:19.040Z] [05:40:27.218] TRACE: assertEquals(0): Check command [/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/jdkbinary/j2sdk-image/bin/jpackage --input ./test.092df429/input --dest ./test.092df429/output --name MainClassTest --type app-image --main-jar hello.jar --main-class test.ThereIsNoSuchClass --runtime-image /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/jdkbinary/j2sdk-image -J-Djlink.debug=true --verbose](17) exited with 0 code [2025-03-27T08:51:19.040Z] [05:40:27.249] TRACE: assertStringListEquals(): Check there is only one file with [.jpackage.xml] name in the package [2025-03-27T08:51:19.040Z] [05:40:27.250] TRACE: assertStringListEquals(1, ./test.092df429/output/MainClassTest/lib/app/.jpackage.xml) [2025-03-27T08:51:19.040Z] [05:40:27.273] TRACE: assertStringListEquals(): Check there are no files with [.package] name in the package [2025-03-27T08:51:19.040Z] [05:40:27.275] TRACE: assertTrue(): Check [./test.092df429/output/MainClassTest/lib/runtime] path exists [2025-03-27T08:51:19.040Z] [05:40:27.276] TRACE: assertTrue(): Check [./test.092df429/output/MainClassTest/lib/runtime] is a directory [2025-03-27T08:51:19.041Z] [05:40:27.277] TRACE: assertTrue(): Check [./test.092df429/output/MainClassTest/bin/MainClassTest] path exists [2025-03-27T08:51:19.041Z] [05:40:27.278] TRACE: assertTrue(): Check [./test.092df429/output/MainClassTest/bin/MainClassTest] is a file [2025-03-27T08:51:19.041Z] [05:40:27.279] TRACE: assertTrue(): Check [./test.092df429/output/MainClassTest/bin/MainClassTest] file is executable [2025-03-27T08:51:19.041Z] [05:40:27.280] TRACE: assertTrue(): Check [./test.092df429/output/MainClassTest/lib/app/MainClassTest.cfg] path exists [2025-03-27T08:51:19.041Z] [05:40:27.280] TRACE: assertTrue(): Check [./test.092df429/output/MainClassTest/lib/app/MainClassTest.cfg] is a file [2025-03-27T08:51:19.041Z] [05:40:27.283] TRACE: exec: Execute [/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/aqa-tests/TKG/output_17430396561725/jdk_tools_1/work/scratch/2/./test.092df429/output/MainClassTest/bin/MainClassTest](1); save output; in directory [./test.092df429]... [2025-03-27T08:51:19.041Z] Error: Could not find or load main class test.ThereIsNoSuchClass [2025-03-27T08:51:19.041Z] Caused by: java.lang.ClassNotFoundException: test.ThereIsNoSuchClass [2025-03-27T08:51:19.041Z] [05:40:28.135] TRACE: exec: Done. Exit code: 1 [2025-03-27T08:51:19.041Z] [05:40:28.137] TRACE: assertEquals(1): Check command [/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/aqa-tests/TKG/output_17430396561725/jdk_tools_1/work/scratch/2/./test.092df429/output/MainClassTest/bin/MainClassTest](1) exited with 1 code [2025-03-27T08:51:19.041Z] [05:40:28.138] TRACE: assertNotNull(Error: Could not find or load main class test.ThereIsNoSuchClass): Check output contains [Error: Could not find or load main class test.ThereIsNoSuchClass] string [2025-03-27T08:51:19.041Z] [05:40:28.141] TRACE: Read [./test.092df429/output/MainClassTest/lib/app/MainClassTest.cfg] jpackage cfg file [2025-03-27T08:51:19.041Z] [05:40:28.145] TRACE: assertTrue(): Check section [Application] is found in [./test.092df429/output/MainClassTest/lib/app/MainClassTest.cfg] cfg file [2025-03-27T08:51:19.041Z] [05:40:28.146] TRACE: assertNotNull(test.ThereIsNoSuchClass): Check key [app.mainclass] is found in [Application] section of [./test.092df429/output/MainClassTest/lib/app/MainClassTest.cfg] cfg file [2025-03-27T08:51:19.041Z] [05:40:28.148] TRACE: assertNotNull(test.ThereIsNoSuchClass): Check "app.mainclass" property is set [2025-03-27T08:51:19.041Z] [05:40:28.149] TRACE: assertTrue(): Check section [Application] is found in [./test.092df429/output/MainClassTest/lib/app/MainClassTest.cfg] cfg file [2025-03-27T08:51:19.041Z] [05:40:28.150] TRACE: assertNotNull($APPDIR/hello.jar): Check key [app.classpath] is found in [Application] section of [./test.092df429/output/MainClassTest/lib/app/MainClassTest.cfg] cfg file [2025-03-27T08:51:19.041Z] [05:40:28.151] TRACE: assertNotNull($APPDIR/hello.jar): Check "app.classpath" property is set [2025-03-27T08:51:19.041Z] [05:40:28.153] TRACE: assertNull(): Check "app.mainjar" property is NOT set [2025-03-27T08:51:19.041Z] [05:40:28.154] TRACE: Deleting [./test.092df429] directory recursively [2025-03-27T08:51:19.041Z] [05:40:29.372] [ OK ] MainClassTest(modular=n; main-class=b; jar-main-class=n; jlink=n).test; checks=21 [2025-03-27T08:51:19.041Z] [05:40:29.372] [ RUN ] MainClassTest(modular=n; main-class=b; jar-main-class=n; jlink=y).test [2025-03-27T08:51:19.041Z] [05:40:29.383] TRACE: exec: Execute tool provider [javac -d ./test.4f127ff4/jar-workdir ./test.4f127ff4/src/test/Hello.java](4)... [2025-03-27T08:51:19.041Z] [05:40:30.229] TRACE: exec: Done. Exit code: 0 [2025-03-27T08:51:19.041Z] [05:40:30.231] TRACE: assertEquals(0): Check command tool provider [javac -d ./test.4f127ff4/jar-workdir ./test.4f127ff4/src/test/Hello.java](4) exited with 0 code [2025-03-27T08:51:19.041Z] [05:40:30.235] TRACE: exec: Execute tool provider [jar -c -f ./test.4f127ff4/input/hello.jar -C ./test.4f127ff4/jar-workdir .](7)... [2025-03-27T08:51:19.041Z] [05:40:30.244] TRACE: exec: Done. Exit code: 0 [2025-03-27T08:51:19.041Z] [05:40:30.245] TRACE: assertEquals(0): Check command tool provider [jar -c -f ./test.4f127ff4/input/hello.jar -C ./test.4f127ff4/jar-workdir .](7) exited with 0 code [2025-03-27T08:51:19.041Z] [05:40:30.251] TRACE: exec: Execute [/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/jdkbinary/j2sdk-image/bin/jpackage --input ./test.4f127ff4/input --dest ./test.4f127ff4/output --name MainClassTest --type app-image --main-jar hello.jar --main-class test.ThereIsNoSuchClass -J-Djlink.debug=true --verbose](15); inherit I/O... [2025-03-27T08:51:19.041Z] [05:40:31.687] Running dpkg [2025-03-27T08:51:19.041Z] [05:40:31.790] Command [PID: 3399842]: [2025-03-27T08:51:19.041Z] dpkg --print-architecture [2025-03-27T08:51:19.041Z] [05:40:31.792] Output: [2025-03-27T08:51:19.041Z] riscv64 [2025-03-27T08:51:19.041Z] [05:40:31.816] Returned: 0 [2025-03-27T08:51:19.041Z] [2025-03-27T08:51:19.041Z] [05:40:31.947] Creating app package: MainClassTest in /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/aqa-tests/TKG/output_17430396561725/jdk_tools_1/work/scratch/2/./test.4f127ff4/output [2025-03-27T08:51:19.041Z] [05:41:13.847] Command [PID: -1]: [2025-03-27T08:51:19.041Z] jlink --output ./test.4f127ff4/output/MainClassTest/lib/runtime --module-path /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/jdkbinary/j2sdk-image/jmods --add-modules java.rmi,jdk.management.jfr,jdk.jdi,jdk.charsets,java.xml,jdk.xml.dom,java.datatransfer,jdk.jstatd,jdk.httpserver,java.desktop,java.security.sasl,jdk.zipfs,java.base,jdk.crypto.ec,jdk.javadoc,jdk.management.agent,jdk.jshell,jdk.editpad,jdk.jsobject,java.sql.rowset,jdk.sctp,jdk.jlink,java.smartcardio,jdk.unsupported,java.security.jgss,java.compiler,jdk.nio.mapmode,jdk.dynalink,jdk.unsupported.desktop,jdk.accessibility,jdk.security.jgss,jdk.incubator.vector,java.sql,java.transaction.xa,java.xml.crypto,java.logging,jdk.jfr,jdk.crypto.cryptoki,jdk.random,jdk.net,java.naming,jdk.internal.ed,java.prefs,java.net.http,jdk.compiler,jdk.internal.opt,jdk.naming.rmi,jdk.jconsole,jdk.attach,jdk.internal.le,java.management,jdk.jdwp.agent,jdk.internal.jvmstat,java.instrument,jdk.management,jdk.security.auth,java.scripting,jdk.jdeps,jdk.jartool,java.management.rmi,jdk.jpackage,jdk.naming.dns,jdk.localedata --strip-native-commands --strip-debug --no-man-pages --no-header-files [2025-03-27T08:51:19.041Z] [05:41:13.849] Output: [2025-03-27T08:51:19.041Z] WARNING: Using incubator modules: jdk.incubator.vector [2025-03-27T08:51:19.041Z] [2025-03-27T08:51:19.041Z] [05:41:13.850] Returned: 0 [2025-03-27T08:51:19.041Z] [2025-03-27T08:51:19.041Z] [05:41:13.900] Using default package resource JavaApp.png [icon] (add MainClassTest.png to the resource-dir to customize). [2025-03-27T08:51:19.041Z] [05:41:14.056] Succeeded in building Linux Application Image package [2025-03-27T08:51:19.041Z] [05:41:14.332] TRACE: exec: Done. Exit code: 0 [2025-03-27T08:51:19.041Z] [05:41:14.334] TRACE: assertEquals(0): Check command [/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/jdkbinary/j2sdk-image/bin/jpackage --input ./test.4f127ff4/input --dest ./test.4f127ff4/output --name MainClassTest --type app-image --main-jar hello.jar --main-class test.ThereIsNoSuchClass -J-Djlink.debug=true --verbose](15) exited with 0 code [2025-03-27T08:51:19.041Z] [05:41:14.352] TRACE: assertStringListEquals(): Check there is only one file with [.jpackage.xml] name in the package [2025-03-27T08:51:19.041Z] [05:41:14.353] TRACE: assertStringListEquals(1, ./test.4f127ff4/output/MainClassTest/lib/app/.jpackage.xml) [2025-03-27T08:51:19.041Z] [05:41:14.371] TRACE: assertStringListEquals(): Check there are no files with [.package] name in the package [2025-03-27T08:51:19.041Z] [05:41:14.372] TRACE: assertTrue(): Check [./test.4f127ff4/output/MainClassTest/lib/runtime] path exists [2025-03-27T08:51:19.041Z] [05:41:14.373] TRACE: assertTrue(): Check [./test.4f127ff4/output/MainClassTest/lib/runtime] is a directory [2025-03-27T08:51:19.041Z] [05:41:14.375] TRACE: assertTrue(): Check [./test.4f127ff4/output/MainClassTest/bin/MainClassTest] path exists [2025-03-27T08:51:19.041Z] [05:41:14.376] TRACE: assertTrue(): Check [./test.4f127ff4/output/MainClassTest/bin/MainClassTest] is a file [2025-03-27T08:51:19.041Z] [05:41:14.376] TRACE: assertTrue(): Check [./test.4f127ff4/output/MainClassTest/bin/MainClassTest] file is executable [2025-03-27T08:51:19.041Z] [05:41:14.377] TRACE: assertTrue(): Check [./test.4f127ff4/output/MainClassTest/lib/app/MainClassTest.cfg] path exists [2025-03-27T08:51:19.041Z] [05:41:14.378] TRACE: assertTrue(): Check [./test.4f127ff4/output/MainClassTest/lib/app/MainClassTest.cfg] is a file [2025-03-27T08:51:19.041Z] [05:41:14.381] TRACE: exec: Execute [/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/aqa-tests/TKG/output_17430396561725/jdk_tools_1/work/scratch/2/./test.4f127ff4/output/MainClassTest/bin/MainClassTest](1); save output; in directory [./test.4f127ff4]... [2025-03-27T08:51:19.044Z] Error: Could not find or load main class test.ThereIsNoSuchClass [2025-03-27T08:51:19.044Z] Caused by: java.lang.ClassNotFoundException: test.ThereIsNoSuchClass [2025-03-27T08:51:19.044Z] [05:41:15.521] TRACE: exec: Done. Exit code: 1 [2025-03-27T08:51:19.044Z] [05:41:15.523] TRACE: assertEquals(1): Check command [/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/aqa-tests/TKG/output_17430396561725/jdk_tools_1/work/scratch/2/./test.4f127ff4/output/MainClassTest/bin/MainClassTest](1) exited with 1 code [2025-03-27T08:51:19.044Z] [05:41:15.524] TRACE: assertNotNull(Error: Could not find or load main class test.ThereIsNoSuchClass): Check output contains [Error: Could not find or load main class test.ThereIsNoSuchClass] string [2025-03-27T08:51:19.044Z] [05:41:15.526] TRACE: Read [./test.4f127ff4/output/MainClassTest/lib/app/MainClassTest.cfg] jpackage cfg file [2025-03-27T08:51:19.044Z] [05:41:15.530] TRACE: assertTrue(): Check section [Application] is found in [./test.4f127ff4/output/MainClassTest/lib/app/MainClassTest.cfg] cfg file [2025-03-27T08:51:19.044Z] [05:41:15.531] TRACE: assertNotNull(test.ThereIsNoSuchClass): Check key [app.mainclass] is found in [Application] section of [./test.4f127ff4/output/MainClassTest/lib/app/MainClassTest.cfg] cfg file [2025-03-27T08:51:19.044Z] [05:41:15.531] TRACE: assertNotNull(test.ThereIsNoSuchClass): Check "app.mainclass" property is set [2025-03-27T08:51:19.044Z] [05:41:15.532] TRACE: assertTrue(): Check section [Application] is found in [./test.4f127ff4/output/MainClassTest/lib/app/MainClassTest.cfg] cfg file [2025-03-27T08:51:19.044Z] [05:41:15.533] TRACE: assertNotNull($APPDIR/hello.jar): Check key [app.classpath] is found in [Application] section of [./test.4f127ff4/output/MainClassTest/lib/app/MainClassTest.cfg] cfg file [2025-03-27T08:51:19.044Z] [05:41:15.534] TRACE: assertNotNull($APPDIR/hello.jar): Check "app.classpath" property is set [2025-03-27T08:51:19.044Z] [05:41:15.535] TRACE: assertNull(): Check "app.mainjar" property is NOT set [2025-03-27T08:51:19.044Z] [05:41:15.537] TRACE: Deleting [./test.4f127ff4] directory recursively [2025-03-27T08:51:19.044Z] [05:41:15.841] [ OK ] MainClassTest(modular=n; main-class=b; jar-main-class=n; jlink=y).test; checks=21 [2025-03-27T08:51:19.044Z] [05:41:15.841] [ RUN ] MainClassTest(modular=n; main-class=b; jar-main-class=y; jlink=n).test [2025-03-27T08:51:19.044Z] [05:41:15.852] TRACE: exec: Execute tool provider [javac -d ./test.ba727cbe/jar-workdir ./test.ba727cbe/src/test/Hello.java](4)... [2025-03-27T08:51:19.044Z] [05:41:16.609] TRACE: exec: Done. Exit code: 0 [2025-03-27T08:51:19.044Z] [05:41:16.611] TRACE: assertEquals(0): Check command tool provider [javac -d ./test.ba727cbe/jar-workdir ./test.ba727cbe/src/test/Hello.java](4) exited with 0 code [2025-03-27T08:51:19.044Z] [05:41:16.615] TRACE: exec: Execute tool provider [jar -c -f ./test.ba727cbe/input/hello.jar -e test.Hello -C ./test.ba727cbe/jar-workdir .](9)... [2025-03-27T08:51:19.044Z] [05:41:16.622] TRACE: exec: Done. Exit code: 0 [2025-03-27T08:51:19.044Z] [05:41:16.624] TRACE: assertEquals(0): Check command tool provider [jar -c -f ./test.ba727cbe/input/hello.jar -e test.Hello -C ./test.ba727cbe/jar-workdir .](9) exited with 0 code [2025-03-27T08:51:19.044Z] [05:41:16.629] TRACE: exec: Execute [/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/jdkbinary/j2sdk-image/bin/jpackage --input ./test.ba727cbe/input --dest ./test.ba727cbe/output --name MainClassTest --type app-image --main-jar hello.jar --main-class test.ThereIsNoSuchClass --runtime-image /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/jdkbinary/j2sdk-image -J-Djlink.debug=true --verbose](17); inherit I/O... [2025-03-27T08:51:19.044Z] [05:41:18.083] Running dpkg [2025-03-27T08:51:19.044Z] [05:41:18.181] Command [PID: 3399975]: [2025-03-27T08:51:19.044Z] dpkg --print-architecture [2025-03-27T08:51:19.044Z] [05:41:18.182] Output: [2025-03-27T08:51:19.044Z] riscv64 [2025-03-27T08:51:19.044Z] [05:41:18.207] Returned: 0 [2025-03-27T08:51:19.044Z] [2025-03-27T08:51:19.044Z] [05:41:18.344] Creating app package: MainClassTest in /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/aqa-tests/TKG/output_17430396561725/jdk_tools_1/work/scratch/2/./test.ba727cbe/output [2025-03-27T08:51:19.044Z] [05:41:24.031] Using default package resource JavaApp.png [icon] (add MainClassTest.png to the resource-dir to customize). [2025-03-27T08:51:19.044Z] [05:41:24.250] Succeeded in building Linux Application Image package [2025-03-27T08:51:19.044Z] [05:41:24.307] TRACE: exec: Done. Exit code: 0 [2025-03-27T08:51:19.045Z] [05:41:24.308] TRACE: assertEquals(0): Check command [/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/jdkbinary/j2sdk-image/bin/jpackage --input ./test.ba727cbe/input --dest ./test.ba727cbe/output --name MainClassTest --type app-image --main-jar hello.jar --main-class test.ThereIsNoSuchClass --runtime-image /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/jdkbinary/j2sdk-image -J-Djlink.debug=true --verbose](17) exited with 0 code [2025-03-27T08:51:19.045Z] [05:41:24.340] TRACE: assertStringListEquals(): Check there is only one file with [.jpackage.xml] name in the package [2025-03-27T08:51:19.045Z] [05:41:24.341] TRACE: assertStringListEquals(1, ./test.ba727cbe/output/MainClassTest/lib/app/.jpackage.xml) [2025-03-27T08:51:19.045Z] [05:41:24.363] TRACE: assertStringListEquals(): Check there are no files with [.package] name in the package [2025-03-27T08:51:19.045Z] [05:41:24.365] TRACE: assertTrue(): Check [./test.ba727cbe/output/MainClassTest/lib/runtime] path exists [2025-03-27T08:51:19.045Z] [05:41:24.366] TRACE: assertTrue(): Check [./test.ba727cbe/output/MainClassTest/lib/runtime] is a directory [2025-03-27T08:51:19.045Z] [05:41:24.367] TRACE: assertTrue(): Check [./test.ba727cbe/output/MainClassTest/bin/MainClassTest] path exists [2025-03-27T08:51:19.045Z] [05:41:24.368] TRACE: assertTrue(): Check [./test.ba727cbe/output/MainClassTest/bin/MainClassTest] is a file [2025-03-27T08:51:19.045Z] [05:41:24.369] TRACE: assertTrue(): Check [./test.ba727cbe/output/MainClassTest/bin/MainClassTest] file is executable [2025-03-27T08:51:19.045Z] [05:41:24.370] TRACE: assertTrue(): Check [./test.ba727cbe/output/MainClassTest/lib/app/MainClassTest.cfg] path exists [2025-03-27T08:51:19.045Z] [05:41:24.371] TRACE: assertTrue(): Check [./test.ba727cbe/output/MainClassTest/lib/app/MainClassTest.cfg] is a file [2025-03-27T08:51:19.045Z] [05:41:24.374] TRACE: exec: Execute [/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/aqa-tests/TKG/output_17430396561725/jdk_tools_1/work/scratch/2/./test.ba727cbe/output/MainClassTest/bin/MainClassTest](1); save output; in directory [./test.ba727cbe]... [2025-03-27T08:51:19.045Z] Error: Could not find or load main class test.ThereIsNoSuchClass [2025-03-27T08:51:19.045Z] Caused by: java.lang.ClassNotFoundException: test.ThereIsNoSuchClass [2025-03-27T08:51:19.045Z] [05:41:25.247] TRACE: exec: Done. Exit code: 1 [2025-03-27T08:51:19.045Z] [05:41:25.249] TRACE: assertEquals(1): Check command [/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/aqa-tests/TKG/output_17430396561725/jdk_tools_1/work/scratch/2/./test.ba727cbe/output/MainClassTest/bin/MainClassTest](1) exited with 1 code [2025-03-27T08:51:19.045Z] [05:41:25.250] TRACE: assertNotNull(Error: Could not find or load main class test.ThereIsNoSuchClass): Check output contains [Error: Could not find or load main class test.ThereIsNoSuchClass] string [2025-03-27T08:51:19.045Z] [05:41:25.253] TRACE: Read [./test.ba727cbe/output/MainClassTest/lib/app/MainClassTest.cfg] jpackage cfg file [2025-03-27T08:51:19.045Z] [05:41:25.257] TRACE: assertTrue(): Check section [Application] is found in [./test.ba727cbe/output/MainClassTest/lib/app/MainClassTest.cfg] cfg file [2025-03-27T08:51:19.045Z] [05:41:25.258] TRACE: assertNotNull(test.ThereIsNoSuchClass): Check key [app.mainclass] is found in [Application] section of [./test.ba727cbe/output/MainClassTest/lib/app/MainClassTest.cfg] cfg file [2025-03-27T08:51:19.045Z] [05:41:25.258] TRACE: assertNotNull(test.ThereIsNoSuchClass): Check "app.mainclass" property is set [2025-03-27T08:51:19.045Z] [05:41:25.259] TRACE: assertTrue(): Check section [Application] is found in [./test.ba727cbe/output/MainClassTest/lib/app/MainClassTest.cfg] cfg file [2025-03-27T08:51:19.045Z] [05:41:25.260] TRACE: assertNotNull($APPDIR/hello.jar): Check key [app.classpath] is found in [Application] section of [./test.ba727cbe/output/MainClassTest/lib/app/MainClassTest.cfg] cfg file [2025-03-27T08:51:19.045Z] [05:41:25.261] TRACE: assertNotNull($APPDIR/hello.jar): Check "app.classpath" property is set [2025-03-27T08:51:19.045Z] [05:41:25.262] TRACE: assertNull(): Check "app.mainjar" property is NOT set [2025-03-27T08:51:19.045Z] [05:41:25.264] TRACE: Deleting [./test.ba727cbe] directory recursively [2025-03-27T08:51:19.045Z] [05:41:26.517] [ OK ] MainClassTest(modular=n; main-class=b; jar-main-class=y; jlink=n).test; checks=21 [2025-03-27T08:51:19.045Z] [05:41:26.517] [ RUN ] MainClassTest(modular=n; main-class=b; jar-main-class=y; jlink=y).test [2025-03-27T08:51:19.045Z] [05:41:26.530] TRACE: exec: Execute tool provider [javac -d ./test.00570889/jar-workdir ./test.00570889/src/test/Hello.java](4)... [2025-03-27T08:51:19.045Z] [05:41:27.293] TRACE: exec: Done. Exit code: 0 [2025-03-27T08:51:19.045Z] [05:41:27.295] TRACE: assertEquals(0): Check command tool provider [javac -d ./test.00570889/jar-workdir ./test.00570889/src/test/Hello.java](4) exited with 0 code [2025-03-27T08:51:19.045Z] [05:41:27.299] TRACE: exec: Execute tool provider [jar -c -f ./test.00570889/input/hello.jar -e test.Hello -C ./test.00570889/jar-workdir .](9)... [2025-03-27T08:51:19.045Z] [05:41:27.307] TRACE: exec: Done. Exit code: 0 [2025-03-27T08:51:19.045Z] [05:41:27.309] TRACE: assertEquals(0): Check command tool provider [jar -c -f ./test.00570889/input/hello.jar -e test.Hello -C ./test.00570889/jar-workdir .](9) exited with 0 code [2025-03-27T08:51:19.045Z] [05:41:27.315] TRACE: exec: Execute [/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/jdkbinary/j2sdk-image/bin/jpackage --input ./test.00570889/input --dest ./test.00570889/output --name MainClassTest --type app-image --main-jar hello.jar --main-class test.ThereIsNoSuchClass -J-Djlink.debug=true --verbose](15); inherit I/O... [2025-03-27T08:51:19.045Z] [05:41:28.687] Running dpkg [2025-03-27T08:51:19.045Z] [05:41:28.790] Command [PID: 3400031]: [2025-03-27T08:51:19.045Z] dpkg --print-architecture [2025-03-27T08:51:19.045Z] [05:41:28.791] Output: [2025-03-27T08:51:19.045Z] riscv64 [2025-03-27T08:51:19.045Z] [05:41:28.816] Returned: 0 [2025-03-27T08:51:19.045Z] [2025-03-27T08:51:19.045Z] [05:41:28.949] Creating app package: MainClassTest in /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/aqa-tests/TKG/output_17430396561725/jdk_tools_1/work/scratch/2/./test.00570889/output [2025-03-27T08:51:19.045Z] [05:42:11.219] Command [PID: -1]: [2025-03-27T08:51:19.045Z] jlink --output ./test.00570889/output/MainClassTest/lib/runtime --module-path /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/jdkbinary/j2sdk-image/jmods --add-modules java.rmi,jdk.management.jfr,jdk.jdi,jdk.charsets,java.xml,jdk.xml.dom,java.datatransfer,jdk.jstatd,jdk.httpserver,java.desktop,java.security.sasl,jdk.zipfs,java.base,jdk.crypto.ec,jdk.javadoc,jdk.management.agent,jdk.jshell,jdk.editpad,jdk.sctp,jdk.jsobject,java.sql.rowset,jdk.unsupported,jdk.jlink,java.smartcardio,java.security.jgss,jdk.nio.mapmode,java.compiler,jdk.dynalink,jdk.unsupported.desktop,jdk.accessibility,jdk.security.jgss,jdk.incubator.vector,java.sql,java.logging,java.transaction.xa,java.xml.crypto,jdk.jfr,jdk.crypto.cryptoki,jdk.net,jdk.random,java.naming,jdk.internal.ed,java.prefs,java.net.http,jdk.compiler,jdk.naming.rmi,jdk.internal.opt,jdk.jconsole,jdk.attach,jdk.internal.le,java.management,jdk.jdwp.agent,jdk.internal.jvmstat,java.instrument,jdk.management,jdk.security.auth,java.scripting,jdk.jdeps,jdk.jartool,java.management.rmi,jdk.jpackage,jdk.naming.dns,jdk.localedata --strip-native-commands --strip-debug --no-man-pages --no-header-files [2025-03-27T08:51:19.045Z] [05:42:11.221] Output: [2025-03-27T08:51:19.045Z] WARNING: Using incubator modules: jdk.incubator.vector [2025-03-27T08:51:19.045Z] [2025-03-27T08:51:19.045Z] [05:42:11.221] Returned: 0 [2025-03-27T08:51:19.045Z] [2025-03-27T08:51:19.045Z] [05:42:11.267] Using default package resource JavaApp.png [icon] (add MainClassTest.png to the resource-dir to customize). [2025-03-27T08:51:19.045Z] [05:42:11.412] Succeeded in building Linux Application Image package [2025-03-27T08:51:19.045Z] [05:42:11.710] TRACE: exec: Done. Exit code: 0 [2025-03-27T08:51:19.045Z] [05:42:11.711] TRACE: assertEquals(0): Check command [/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/jdkbinary/j2sdk-image/bin/jpackage --input ./test.00570889/input --dest ./test.00570889/output --name MainClassTest --type app-image --main-jar hello.jar --main-class test.ThereIsNoSuchClass -J-Djlink.debug=true --verbose](15) exited with 0 code [2025-03-27T08:51:19.045Z] [05:42:11.734] TRACE: assertStringListEquals(): Check there is only one file with [.jpackage.xml] name in the package [2025-03-27T08:51:19.045Z] [05:42:11.736] TRACE: assertStringListEquals(1, ./test.00570889/output/MainClassTest/lib/app/.jpackage.xml) [2025-03-27T08:51:19.045Z] [05:42:11.753] TRACE: assertStringListEquals(): Check there are no files with [.package] name in the package [2025-03-27T08:51:19.045Z] [05:42:11.754] TRACE: assertTrue(): Check [./test.00570889/output/MainClassTest/lib/runtime] path exists [2025-03-27T08:51:19.045Z] [05:42:11.755] TRACE: assertTrue(): Check [./test.00570889/output/MainClassTest/lib/runtime] is a directory [2025-03-27T08:51:19.045Z] [05:42:11.756] TRACE: assertTrue(): Check [./test.00570889/output/MainClassTest/bin/MainClassTest] path exists [2025-03-27T08:51:19.045Z] [05:42:11.757] TRACE: assertTrue(): Check [./test.00570889/output/MainClassTest/bin/MainClassTest] is a file [2025-03-27T08:51:19.045Z] [05:42:11.758] TRACE: assertTrue(): Check [./test.00570889/output/MainClassTest/bin/MainClassTest] file is executable [2025-03-27T08:51:19.045Z] [05:42:11.759] TRACE: assertTrue(): Check [./test.00570889/output/MainClassTest/lib/app/MainClassTest.cfg] path exists [2025-03-27T08:51:19.045Z] [05:42:11.760] TRACE: assertTrue(): Check [./test.00570889/output/MainClassTest/lib/app/MainClassTest.cfg] is a file [2025-03-27T08:51:19.045Z] [05:42:11.763] TRACE: exec: Execute [/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/aqa-tests/TKG/output_17430396561725/jdk_tools_1/work/scratch/2/./test.00570889/output/MainClassTest/bin/MainClassTest](1); save output; in directory [./test.00570889]... [2025-03-27T08:51:19.045Z] Error: Could not find or load main class test.ThereIsNoSuchClass [2025-03-27T08:51:19.045Z] Caused by: java.lang.ClassNotFoundException: test.ThereIsNoSuchClass [2025-03-27T08:51:19.045Z] [05:42:12.876] TRACE: exec: Done. Exit code: 1 [2025-03-27T08:51:19.045Z] [05:42:12.878] TRACE: assertEquals(1): Check command [/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/aqa-tests/TKG/output_17430396561725/jdk_tools_1/work/scratch/2/./test.00570889/output/MainClassTest/bin/MainClassTest](1) exited with 1 code [2025-03-27T08:51:19.045Z] [05:42:12.879] TRACE: assertNotNull(Error: Could not find or load main class test.ThereIsNoSuchClass): Check output contains [Error: Could not find or load main class test.ThereIsNoSuchClass] string [2025-03-27T08:51:19.045Z] [05:42:12.881] TRACE: Read [./test.00570889/output/MainClassTest/lib/app/MainClassTest.cfg] jpackage cfg file [2025-03-27T08:51:19.045Z] [05:42:12.883] TRACE: assertTrue(): Check section [Application] is found in [./test.00570889/output/MainClassTest/lib/app/MainClassTest.cfg] cfg file [2025-03-27T08:51:19.045Z] [05:42:12.884] TRACE: assertNotNull(test.ThereIsNoSuchClass): Check key [app.mainclass] is found in [Application] section of [./test.00570889/output/MainClassTest/lib/app/MainClassTest.cfg] cfg file [2025-03-27T08:51:19.045Z] [05:42:12.885] TRACE: assertNotNull(test.ThereIsNoSuchClass): Check "app.mainclass" property is set [2025-03-27T08:51:19.046Z] [05:42:12.886] TRACE: assertTrue(): Check section [Application] is found in [./test.00570889/output/MainClassTest/lib/app/MainClassTest.cfg] cfg file [2025-03-27T08:51:19.046Z] [05:42:12.887] TRACE: assertNotNull($APPDIR/hello.jar): Check key [app.classpath] is found in [Application] section of [./test.00570889/output/MainClassTest/lib/app/MainClassTest.cfg] cfg file [2025-03-27T08:51:19.046Z] [05:42:12.888] TRACE: assertNotNull($APPDIR/hello.jar): Check "app.classpath" property is set [2025-03-27T08:51:19.046Z] [05:42:12.888] TRACE: assertNull(): Check "app.mainjar" property is NOT set [2025-03-27T08:51:19.046Z] [05:42:12.890] TRACE: Deleting [./test.00570889] directory recursively [2025-03-27T08:51:19.046Z] [05:42:13.206] [ OK ] MainClassTest(modular=n; main-class=b; jar-main-class=y; jlink=y).test; checks=21 [2025-03-27T08:51:19.046Z] [05:42:13.207] [ RUN ] MainClassTest(modular=n; main-class=n; jar-main-class=b; jlink=n).test [2025-03-27T08:51:19.046Z] [05:42:13.220] TRACE: exec: Execute tool provider [javac -d ./test.53d4bf29/jar-workdir ./test.53d4bf29/src/test/Hello.java](4)... [2025-03-27T08:51:19.046Z] [05:42:13.854] TRACE: exec: Done. Exit code: 0 [2025-03-27T08:51:19.046Z] [05:42:13.857] TRACE: assertEquals(0): Check command tool provider [javac -d ./test.53d4bf29/jar-workdir ./test.53d4bf29/src/test/Hello.java](4) exited with 0 code [2025-03-27T08:51:19.046Z] [05:42:13.861] TRACE: exec: Execute tool provider [jar -c -f ./test.53d4bf29/input/hello.jar -e test.Hello -C ./test.53d4bf29/jar-workdir .](9)... [2025-03-27T08:51:19.046Z] [05:42:13.871] TRACE: exec: Done. Exit code: 0 [2025-03-27T08:51:19.046Z] [05:42:13.873] TRACE: assertEquals(0): Check command tool provider [jar -c -f ./test.53d4bf29/input/hello.jar -e test.Hello -C ./test.53d4bf29/jar-workdir .](9) exited with 0 code [2025-03-27T08:51:19.046Z] [05:42:13.891] TRACE: exec: Execute tool provider [javac -d ./test.53d4bf29/jar-workdir ./test.53d4bf29/src/test/ThereIsNoSuchClass.java](4)... [2025-03-27T08:51:19.046Z] [05:42:14.491] TRACE: exec: Done. Exit code: 0 [2025-03-27T08:51:19.046Z] [05:42:14.492] TRACE: assertEquals(0): Check command tool provider [javac -d ./test.53d4bf29/jar-workdir ./test.53d4bf29/src/test/ThereIsNoSuchClass.java](4) exited with 0 code [2025-03-27T08:51:19.046Z] [05:42:14.494] TRACE: Delete [./test.53d4bf29/input/hello.jar] existing jar file [2025-03-27T08:51:19.046Z] [05:42:14.497] TRACE: exec: Execute tool provider [jar -c -f ./test.53d4bf29/input/hello.jar -e test.ThereIsNoSuchClass -C ./test.53d4bf29/jar-workdir .](9)... [2025-03-27T08:51:19.046Z] [05:42:14.505] TRACE: exec: Done. Exit code: 0 [2025-03-27T08:51:19.046Z] [05:42:14.506] TRACE: assertEquals(0): Check command tool provider [jar -c -f ./test.53d4bf29/input/hello.jar -e test.ThereIsNoSuchClass -C ./test.53d4bf29/jar-workdir .](9) exited with 0 code [2025-03-27T08:51:19.046Z] [05:42:14.515] TRACE: exec: Execute tool provider [jar -v -c -M -f ./test.53d4bf29/input/hello.jar -C ./test.53d4bf29/repack-jar .](9)... [2025-03-27T08:51:19.046Z] adding: META-INF/(in = 0) (out= 0)(stored 0%) [2025-03-27T08:51:19.046Z] adding: META-INF/MANIFEST.MF(in = 106) (out= 103)(deflated 2%) [2025-03-27T08:51:19.046Z] adding: test/(in = 0) (out= 0)(stored 0%) [2025-03-27T08:51:19.046Z] adding: test/Hello.class(in = 8351) (out= 4116)(deflated 50%) [2025-03-27T08:51:19.046Z] [05:42:14.525] TRACE: exec: Done. Exit code: 0 [2025-03-27T08:51:19.046Z] [05:42:14.526] TRACE: assertEquals(0): Check command tool provider [jar -v -c -M -f ./test.53d4bf29/input/hello.jar -C ./test.53d4bf29/repack-jar .](9) exited with 0 code [2025-03-27T08:51:19.046Z] [05:42:14.530] TRACE: exec: Execute [/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/jdkbinary/j2sdk-image/bin/jpackage --input ./test.53d4bf29/input --dest ./test.53d4bf29/output --name MainClassTest --type app-image --main-jar hello.jar --runtime-image /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/jdkbinary/j2sdk-image -J-Djlink.debug=true --verbose](15); inherit I/O... [2025-03-27T08:51:19.046Z] [05:42:15.895] Running dpkg [2025-03-27T08:51:19.046Z] [05:42:15.997] Command [PID: 3400166]: [2025-03-27T08:51:19.046Z] dpkg --print-architecture [2025-03-27T08:51:19.046Z] [05:42:15.998] Output: [2025-03-27T08:51:19.046Z] riscv64 [2025-03-27T08:51:19.046Z] [05:42:16.023] Returned: 0 [2025-03-27T08:51:19.046Z] [2025-03-27T08:51:19.046Z] [05:42:16.174] Creating app package: MainClassTest in /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/aqa-tests/TKG/output_17430396561725/jdk_tools_1/work/scratch/2/./test.53d4bf29/output [2025-03-27T08:51:19.046Z] [05:42:21.945] Using default package resource JavaApp.png [icon] (add MainClassTest.png to the resource-dir to customize). [2025-03-27T08:51:19.046Z] [05:42:22.157] Succeeded in building Linux Application Image package [2025-03-27T08:51:19.046Z] [05:42:22.210] TRACE: exec: Done. Exit code: 0 [2025-03-27T08:51:19.046Z] [05:42:22.211] TRACE: assertEquals(0): Check command [/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/jdkbinary/j2sdk-image/bin/jpackage --input ./test.53d4bf29/input --dest ./test.53d4bf29/output --name MainClassTest --type app-image --main-jar hello.jar --runtime-image /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/jdkbinary/j2sdk-image -J-Djlink.debug=true --verbose](15) exited with 0 code [2025-03-27T08:51:19.046Z] [05:42:22.243] TRACE: assertStringListEquals(): Check there is only one file with [.jpackage.xml] name in the package [2025-03-27T08:51:19.046Z] [05:42:22.244] TRACE: assertStringListEquals(1, ./test.53d4bf29/output/MainClassTest/lib/app/.jpackage.xml) [2025-03-27T08:51:19.046Z] [05:42:22.265] TRACE: assertStringListEquals(): Check there are no files with [.package] name in the package [2025-03-27T08:51:19.046Z] [05:42:22.267] TRACE: assertTrue(): Check [./test.53d4bf29/output/MainClassTest/lib/runtime] path exists [2025-03-27T08:51:19.046Z] [05:42:22.268] TRACE: assertTrue(): Check [./test.53d4bf29/output/MainClassTest/lib/runtime] is a directory [2025-03-27T08:51:19.046Z] [05:42:22.269] TRACE: assertTrue(): Check [./test.53d4bf29/output/MainClassTest/bin/MainClassTest] path exists [2025-03-27T08:51:19.046Z] [05:42:22.270] TRACE: assertTrue(): Check [./test.53d4bf29/output/MainClassTest/bin/MainClassTest] is a file [2025-03-27T08:51:19.046Z] [05:42:22.271] TRACE: assertTrue(): Check [./test.53d4bf29/output/MainClassTest/bin/MainClassTest] file is executable [2025-03-27T08:51:19.046Z] [05:42:22.272] TRACE: assertTrue(): Check [./test.53d4bf29/output/MainClassTest/lib/app/MainClassTest.cfg] path exists [2025-03-27T08:51:19.046Z] [05:42:22.273] TRACE: assertTrue(): Check [./test.53d4bf29/output/MainClassTest/lib/app/MainClassTest.cfg] is a file [2025-03-27T08:51:19.046Z] [05:42:22.277] TRACE: exec: Execute [/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/aqa-tests/TKG/output_17430396561725/jdk_tools_1/work/scratch/2/./test.53d4bf29/output/MainClassTest/bin/MainClassTest](1); save output; in directory [./test.53d4bf29]... [2025-03-27T08:51:19.046Z] Error: Could not find or load main class test.ThereIsNoSuchClass [2025-03-27T08:51:19.046Z] Caused by: java.lang.ClassNotFoundException: test.ThereIsNoSuchClass [2025-03-27T08:51:19.046Z] [05:42:23.160] TRACE: exec: Done. Exit code: 1 [2025-03-27T08:51:19.046Z] [05:42:23.162] TRACE: assertEquals(1): Check command [/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/aqa-tests/TKG/output_17430396561725/jdk_tools_1/work/scratch/2/./test.53d4bf29/output/MainClassTest/bin/MainClassTest](1) exited with 1 code [2025-03-27T08:51:19.046Z] [05:42:23.163] TRACE: assertNotNull(Error: Could not find or load main class test.ThereIsNoSuchClass): Check output contains [Error: Could not find or load main class test.ThereIsNoSuchClass] string [2025-03-27T08:51:19.046Z] [05:42:23.165] TRACE: Read [./test.53d4bf29/output/MainClassTest/lib/app/MainClassTest.cfg] jpackage cfg file [2025-03-27T08:51:19.046Z] [05:42:23.167] TRACE: assertTrue(): Check section [Application] is found in [./test.53d4bf29/output/MainClassTest/lib/app/MainClassTest.cfg] cfg file [2025-03-27T08:51:19.046Z] [05:42:23.168] TRACE: assertNotNull($APPDIR/hello.jar): Check key [app.mainjar] is found in [Application] section of [./test.53d4bf29/output/MainClassTest/lib/app/MainClassTest.cfg] cfg file [2025-03-27T08:51:19.046Z] [05:42:23.169] TRACE: assertNotNull($APPDIR/hello.jar): Check "app.mainjar" property is set [2025-03-27T08:51:19.046Z] [05:42:23.170] TRACE: assertNull(): Check "app.mainclass" property is NOT set [2025-03-27T08:51:19.046Z] [05:42:23.170] TRACE: assertNull(): Check "app.classpath" property is NOT set [2025-03-27T08:51:19.046Z] [05:42:23.171] TRACE: Deleting [./test.53d4bf29] directory recursively [2025-03-27T08:51:19.046Z] [05:42:24.400] [ OK ] MainClassTest(modular=n; main-class=n; jar-main-class=b; jlink=n).test; checks=22 [2025-03-27T08:51:19.046Z] [05:42:24.401] [ RUN ] MainClassTest(modular=n; main-class=n; jar-main-class=b; jlink=y).test [2025-03-27T08:51:19.046Z] [05:42:24.410] TRACE: exec: Execute tool provider [javac -d ./test.99b94af4/jar-workdir ./test.99b94af4/src/test/Hello.java](4)... [2025-03-27T08:51:19.046Z] [05:42:25.007] TRACE: exec: Done. Exit code: 0 [2025-03-27T08:51:19.046Z] [05:42:25.010] TRACE: assertEquals(0): Check command tool provider [javac -d ./test.99b94af4/jar-workdir ./test.99b94af4/src/test/Hello.java](4) exited with 0 code [2025-03-27T08:51:19.046Z] [05:42:25.014] TRACE: exec: Execute tool provider [jar -c -f ./test.99b94af4/input/hello.jar -e test.Hello -C ./test.99b94af4/jar-workdir .](9)... [2025-03-27T08:51:19.046Z] [05:42:25.021] TRACE: exec: Done. Exit code: 0 [2025-03-27T08:51:19.046Z] [05:42:25.022] TRACE: assertEquals(0): Check command tool provider [jar -c -f ./test.99b94af4/input/hello.jar -e test.Hello -C ./test.99b94af4/jar-workdir .](9) exited with 0 code [2025-03-27T08:51:19.046Z] [05:42:25.039] TRACE: exec: Execute tool provider [javac -d ./test.99b94af4/jar-workdir ./test.99b94af4/src/test/ThereIsNoSuchClass.java](4)... [2025-03-27T08:51:19.046Z] [05:42:25.549] TRACE: exec: Done. Exit code: 0 [2025-03-27T08:51:19.046Z] [05:42:25.552] TRACE: assertEquals(0): Check command tool provider [javac -d ./test.99b94af4/jar-workdir ./test.99b94af4/src/test/ThereIsNoSuchClass.java](4) exited with 0 code [2025-03-27T08:51:19.046Z] [05:42:25.553] TRACE: Delete [./test.99b94af4/input/hello.jar] existing jar file [2025-03-27T08:51:19.046Z] [05:42:25.556] TRACE: exec: Execute tool provider [jar -c -f ./test.99b94af4/input/hello.jar -e test.ThereIsNoSuchClass -C ./test.99b94af4/jar-workdir .](9)... [2025-03-27T08:51:19.046Z] [05:42:25.563] TRACE: exec: Done. Exit code: 0 [2025-03-27T08:51:19.046Z] [05:42:25.564] TRACE: assertEquals(0): Check command tool provider [jar -c -f ./test.99b94af4/input/hello.jar -e test.ThereIsNoSuchClass -C ./test.99b94af4/jar-workdir .](9) exited with 0 code [2025-03-27T08:51:19.046Z] [05:42:25.573] TRACE: exec: Execute tool provider [jar -v -c -M -f ./test.99b94af4/input/hello.jar -C ./test.99b94af4/repack-jar .](9)... [2025-03-27T08:51:19.046Z] adding: META-INF/(in = 0) (out= 0)(stored 0%) [2025-03-27T08:51:19.046Z] adding: META-INF/MANIFEST.MF(in = 106) (out= 103)(deflated 2%) [2025-03-27T08:51:19.046Z] adding: test/(in = 0) (out= 0)(stored 0%) [2025-03-27T08:51:19.046Z] adding: test/Hello.class(in = 8351) (out= 4116)(deflated 50%) [2025-03-27T08:51:19.046Z] [05:42:25.583] TRACE: exec: Done. Exit code: 0 [2025-03-27T08:51:19.046Z] [05:42:25.584] TRACE: assertEquals(0): Check command tool provider [jar -v -c -M -f ./test.99b94af4/input/hello.jar -C ./test.99b94af4/repack-jar .](9) exited with 0 code [2025-03-27T08:51:19.046Z] [05:42:25.588] TRACE: exec: Execute [/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/jdkbinary/j2sdk-image/bin/jpackage --input ./test.99b94af4/input --dest ./test.99b94af4/output --name MainClassTest --type app-image --main-jar hello.jar -J-Djlink.debug=true --verbose](13); inherit I/O... [2025-03-27T08:51:19.047Z] [05:42:27.025] Running dpkg [2025-03-27T08:51:19.047Z] [05:42:27.121] Command [PID: 3400223]: [2025-03-27T08:51:19.047Z] dpkg --print-architecture [2025-03-27T08:51:19.047Z] [05:42:27.123] Output: [2025-03-27T08:51:19.047Z] riscv64 [2025-03-27T08:51:19.047Z] [05:42:27.147] Returned: 0 [2025-03-27T08:51:19.047Z] [2025-03-27T08:51:19.047Z] [05:42:27.293] Creating app package: MainClassTest in /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/aqa-tests/TKG/output_17430396561725/jdk_tools_1/work/scratch/2/./test.99b94af4/output [2025-03-27T08:51:19.047Z] [05:43:07.683] Command [PID: -1]: [2025-03-27T08:51:19.047Z] jlink --output ./test.99b94af4/output/MainClassTest/lib/runtime --module-path /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/jdkbinary/j2sdk-image/jmods --add-modules jdk.management.jfr,java.rmi,jdk.jdi,jdk.charsets,java.xml,jdk.xml.dom,java.datatransfer,jdk.jstatd,jdk.httpserver,java.desktop,java.security.sasl,jdk.zipfs,java.base,jdk.crypto.ec,jdk.javadoc,jdk.management.agent,jdk.jshell,jdk.editpad,jdk.jsobject,jdk.sctp,java.sql.rowset,jdk.jlink,java.smartcardio,jdk.unsupported,java.security.jgss,java.compiler,jdk.nio.mapmode,jdk.dynalink,jdk.unsupported.desktop,jdk.accessibility,jdk.security.jgss,java.sql,jdk.incubator.vector,java.logging,java.transaction.xa,java.xml.crypto,jdk.jfr,jdk.crypto.cryptoki,jdk.net,jdk.random,java.naming,jdk.internal.ed,java.prefs,java.net.http,jdk.compiler,jdk.naming.rmi,jdk.internal.opt,jdk.jconsole,jdk.attach,jdk.internal.le,java.management,jdk.jdwp.agent,jdk.internal.jvmstat,java.instrument,jdk.management,jdk.security.auth,java.scripting,jdk.jdeps,jdk.jartool,java.management.rmi,jdk.jpackage,jdk.naming.dns,jdk.localedata --strip-native-commands --strip-debug --no-man-pages --no-header-files [2025-03-27T08:51:19.047Z] [05:43:07.685] Output: [2025-03-27T08:51:19.047Z] WARNING: Using incubator modules: jdk.incubator.vector [2025-03-27T08:51:19.047Z] [2025-03-27T08:51:19.047Z] [05:43:07.685] Returned: 0 [2025-03-27T08:51:19.047Z] [2025-03-27T08:51:19.047Z] [05:43:07.745] Using default package resource JavaApp.png [icon] (add MainClassTest.png to the resource-dir to customize). [2025-03-27T08:51:19.047Z] [05:43:07.935] Succeeded in building Linux Application Image package [2025-03-27T08:51:19.047Z] [05:43:08.204] TRACE: exec: Done. Exit code: 0 [2025-03-27T08:51:19.047Z] [05:43:08.205] TRACE: assertEquals(0): Check command [/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/jdkbinary/j2sdk-image/bin/jpackage --input ./test.99b94af4/input --dest ./test.99b94af4/output --name MainClassTest --type app-image --main-jar hello.jar -J-Djlink.debug=true --verbose](13) exited with 0 code [2025-03-27T08:51:19.047Z] [05:43:08.224] TRACE: assertStringListEquals(): Check there is only one file with [.jpackage.xml] name in the package [2025-03-27T08:51:19.047Z] [05:43:08.225] TRACE: assertStringListEquals(1, ./test.99b94af4/output/MainClassTest/lib/app/.jpackage.xml) [2025-03-27T08:51:19.047Z] [05:43:08.242] TRACE: assertStringListEquals(): Check there are no files with [.package] name in the package [2025-03-27T08:51:19.047Z] [05:43:08.243] TRACE: assertTrue(): Check [./test.99b94af4/output/MainClassTest/lib/runtime] path exists [2025-03-27T08:51:19.047Z] [05:43:08.243] TRACE: assertTrue(): Check [./test.99b94af4/output/MainClassTest/lib/runtime] is a directory [2025-03-27T08:51:19.047Z] [05:43:08.244] TRACE: assertTrue(): Check [./test.99b94af4/output/MainClassTest/bin/MainClassTest] path exists [2025-03-27T08:51:19.047Z] [05:43:08.245] TRACE: assertTrue(): Check [./test.99b94af4/output/MainClassTest/bin/MainClassTest] is a file [2025-03-27T08:51:19.047Z] [05:43:08.245] TRACE: assertTrue(): Check [./test.99b94af4/output/MainClassTest/bin/MainClassTest] file is executable [2025-03-27T08:51:19.047Z] [05:43:08.246] TRACE: assertTrue(): Check [./test.99b94af4/output/MainClassTest/lib/app/MainClassTest.cfg] path exists [2025-03-27T08:51:19.047Z] [05:43:08.247] TRACE: assertTrue(): Check [./test.99b94af4/output/MainClassTest/lib/app/MainClassTest.cfg] is a file [2025-03-27T08:51:19.047Z] [05:43:08.250] TRACE: exec: Execute [/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/aqa-tests/TKG/output_17430396561725/jdk_tools_1/work/scratch/2/./test.99b94af4/output/MainClassTest/bin/MainClassTest](1); save output; in directory [./test.99b94af4]... [2025-03-27T08:51:19.047Z] Error: Could not find or load main class test.ThereIsNoSuchClass [2025-03-27T08:51:19.047Z] Caused by: java.lang.ClassNotFoundException: test.ThereIsNoSuchClass [2025-03-27T08:51:19.047Z] [05:43:09.402] TRACE: exec: Done. Exit code: 1 [2025-03-27T08:51:19.047Z] [05:43:09.403] TRACE: assertEquals(1): Check command [/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/aqa-tests/TKG/output_17430396561725/jdk_tools_1/work/scratch/2/./test.99b94af4/output/MainClassTest/bin/MainClassTest](1) exited with 1 code [2025-03-27T08:51:19.047Z] [05:43:09.404] TRACE: assertNotNull(Error: Could not find or load main class test.ThereIsNoSuchClass): Check output contains [Error: Could not find or load main class test.ThereIsNoSuchClass] string [2025-03-27T08:51:19.047Z] [05:43:09.406] TRACE: Read [./test.99b94af4/output/MainClassTest/lib/app/MainClassTest.cfg] jpackage cfg file [2025-03-27T08:51:19.047Z] [05:43:09.409] TRACE: assertTrue(): Check section [Application] is found in [./test.99b94af4/output/MainClassTest/lib/app/MainClassTest.cfg] cfg file [2025-03-27T08:51:19.047Z] [05:43:09.410] TRACE: assertNotNull($APPDIR/hello.jar): Check key [app.mainjar] is found in [Application] section of [./test.99b94af4/output/MainClassTest/lib/app/MainClassTest.cfg] cfg file [2025-03-27T08:51:19.047Z] [05:43:09.410] TRACE: assertNotNull($APPDIR/hello.jar): Check "app.mainjar" property is set [2025-03-27T08:51:19.047Z] [05:43:09.411] TRACE: assertNull(): Check "app.mainclass" property is NOT set [2025-03-27T08:51:19.047Z] [05:43:09.412] TRACE: assertNull(): Check "app.classpath" property is NOT set [2025-03-27T08:51:19.047Z] [05:43:09.412] TRACE: Deleting [./test.99b94af4] directory recursively [2025-03-27T08:51:19.047Z] [05:43:09.724] [ OK ] MainClassTest(modular=n; main-class=n; jar-main-class=b; jlink=y).test; checks=22 [2025-03-27T08:51:19.047Z] [05:43:09.725] [ RUN ] MainClassTest(modular=n; main-class=n; jar-main-class=n; jlink=n; error=A main class was not specified nor was one found in the jar).test [2025-03-27T08:51:19.047Z] [05:43:09.736] TRACE: exec: Execute tool provider [javac -d ./test.748ed0ea/jar-workdir ./test.748ed0ea/src/test/Hello.java](4)... [2025-03-27T08:51:19.047Z] [05:43:10.255] TRACE: exec: Done. Exit code: 0 [2025-03-27T08:51:19.047Z] [05:43:10.257] TRACE: assertEquals(0): Check command tool provider [javac -d ./test.748ed0ea/jar-workdir ./test.748ed0ea/src/test/Hello.java](4) exited with 0 code [2025-03-27T08:51:19.047Z] [05:43:10.261] TRACE: exec: Execute tool provider [jar -c -f ./test.748ed0ea/input/hello.jar -C ./test.748ed0ea/jar-workdir .](7)... [2025-03-27T08:51:19.047Z] [05:43:10.272] TRACE: exec: Done. Exit code: 0 [2025-03-27T08:51:19.047Z] [05:43:10.274] TRACE: assertEquals(0): Check command tool provider [jar -c -f ./test.748ed0ea/input/hello.jar -C ./test.748ed0ea/jar-workdir .](7) exited with 0 code [2025-03-27T08:51:19.047Z] [05:43:10.279] TRACE: exec: Execute [/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/jdkbinary/j2sdk-image/bin/jpackage --input ./test.748ed0ea/input --dest ./test.748ed0ea/output --name MainClassTest --type app-image --main-jar hello.jar --runtime-image /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/jdkbinary/j2sdk-image -J-Djlink.debug=true --verbose](15); save output... [2025-03-27T08:51:19.047Z] [05:43:11.728] Running dpkg [2025-03-27T08:51:19.047Z] [05:43:11.826] Command [PID: 3400348]: [2025-03-27T08:51:19.047Z] dpkg --print-architecture [2025-03-27T08:51:19.047Z] [05:43:11.827] Output: [2025-03-27T08:51:19.047Z] riscv64 [2025-03-27T08:51:19.047Z] [05:43:11.852] Returned: 0 [2025-03-27T08:51:19.047Z] [2025-03-27T08:51:19.047Z] [05:43:11.960] jdk.jpackage.internal.ConfigException: A main class was not specified nor was one found in the jar hello.jar [2025-03-27T08:51:19.047Z] at jdk.jpackage/jdk.jpackage.internal.LauncherData.createNonModular(LauncherData.java:226) [2025-03-27T08:51:19.047Z] at jdk.jpackage/jdk.jpackage.internal.LauncherData.create(LauncherData.java:119) [2025-03-27T08:51:19.047Z] at jdk.jpackage/jdk.jpackage.internal.StandardBundlerParam.lambda$static$0(StandardBundlerParam.java:86) [2025-03-27T08:51:19.047Z] at jdk.jpackage/jdk.jpackage.internal.BundlerParamInfo.fetchFrom(BundlerParamInfo.java:114) [2025-03-27T08:51:19.047Z] at jdk.jpackage/jdk.jpackage.internal.BundlerParamInfo.fetchFrom(BundlerParamInfo.java:88) [2025-03-27T08:51:19.047Z] at jdk.jpackage/jdk.jpackage.internal.AppImageBundler.validate(AppImageBundler.java:68) [2025-03-27T08:51:19.047Z] at jdk.jpackage/jdk.jpackage.internal.Arguments.generateBundle(Arguments.java:689) [2025-03-27T08:51:19.047Z] at jdk.jpackage/jdk.jpackage.internal.Arguments.processArguments(Arguments.java:555) [2025-03-27T08:51:19.047Z] at jdk.jpackage/jdk.jpackage.main.Main.execute(Main.java:92) [2025-03-27T08:51:19.047Z] at jdk.jpackage/jdk.jpackage.main.Main.main(Main.java:53) [2025-03-27T08:51:19.047Z] [05:43:11.983] jdk.jpackage.internal.PackagerException: Bundler Linux Application Image skipped because of a configuration problem: A main class was not specified nor was one found in the jar hello.jar [2025-03-27T08:51:19.047Z] Advice to fix: Specify a main class or ensure that the jar hello.jar specifies one in the manifest [2025-03-27T08:51:19.047Z] at jdk.jpackage/jdk.jpackage.internal.Arguments.generateBundle(Arguments.java:702) [2025-03-27T08:51:19.047Z] at jdk.jpackage/jdk.jpackage.internal.Arguments.processArguments(Arguments.java:555) [2025-03-27T08:51:19.047Z] at jdk.jpackage/jdk.jpackage.main.Main.execute(Main.java:92) [2025-03-27T08:51:19.047Z] at jdk.jpackage/jdk.jpackage.main.Main.main(Main.java:53) [2025-03-27T08:51:19.047Z] Caused by: jdk.jpackage.internal.ConfigException: A main class was not specified nor was one found in the jar hello.jar [2025-03-27T08:51:19.047Z] at jdk.jpackage/jdk.jpackage.internal.LauncherData.createNonModular(LauncherData.java:226) [2025-03-27T08:51:19.047Z] at jdk.jpackage/jdk.jpackage.internal.LauncherData.create(LauncherData.java:119) [2025-03-27T08:51:19.047Z] at jdk.jpackage/jdk.jpackage.internal.StandardBundlerParam.lambda$static$0(StandardBundlerParam.java:86) [2025-03-27T08:51:19.047Z] at jdk.jpackage/jdk.jpackage.internal.BundlerParamInfo.fetchFrom(BundlerParamInfo.java:114) [2025-03-27T08:51:19.047Z] at jdk.jpackage/jdk.jpackage.internal.BundlerParamInfo.fetchFrom(BundlerParamInfo.java:88) [2025-03-27T08:51:19.047Z] at jdk.jpackage/jdk.jpackage.internal.AppImageBundler.validate(AppImageBundler.java:68) [2025-03-27T08:51:19.047Z] at jdk.jpackage/jdk.jpackage.internal.Arguments.generateBundle(Arguments.java:689) [2025-03-27T08:51:19.047Z] ... 3 more [2025-03-27T08:51:19.047Z] [05:43:12.021] TRACE: exec: Done. Exit code: 1 [2025-03-27T08:51:19.047Z] [05:43:12.023] TRACE: assertEquals(1): Check command [/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/jdkbinary/j2sdk-image/bin/jpackage --input ./test.748ed0ea/input --dest ./test.748ed0ea/output --name MainClassTest --type app-image --main-jar hello.jar --runtime-image /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/jdkbinary/j2sdk-image -J-Djlink.debug=true --verbose](15) exited with 1 code [2025-03-27T08:51:19.047Z] [05:43:12.024] TRACE: assertNotNull([05:43:11.960] jdk.jpackage.internal.ConfigException: A main class was not specified nor was one found in the jar hello.jar): Check output contains [A main class was not specified nor was one found in the jar] string [2025-03-27T08:51:19.047Z] [05:43:12.025] TRACE: Deleting [./test.748ed0ea] directory recursively [2025-03-27T08:51:19.048Z] [05:43:12.028] [ OK ] MainClassTest(modular=n; main-class=n; jar-main-class=n; jlink=n; error=A main class was not specified nor was one found in the jar).test; checks=4 [2025-03-27T08:51:19.048Z] [05:43:12.028] [ RUN ] MainClassTest(modular=n; main-class=n; jar-main-class=n; jlink=y; error=A main class was not specified nor was one found in the jar).test [2025-03-27T08:51:19.048Z] [05:43:12.041] TRACE: exec: Execute tool provider [javac -d ./test.9769853f/jar-workdir ./test.9769853f/src/test/Hello.java](4)... [2025-03-27T08:51:19.048Z] [05:43:12.550] TRACE: exec: Done. Exit code: 0 [2025-03-27T08:51:19.048Z] [05:43:12.552] TRACE: assertEquals(0): Check command tool provider [javac -d ./test.9769853f/jar-workdir ./test.9769853f/src/test/Hello.java](4) exited with 0 code [2025-03-27T08:51:19.048Z] [05:43:12.556] TRACE: exec: Execute tool provider [jar -c -f ./test.9769853f/input/hello.jar -C ./test.9769853f/jar-workdir .](7)... [2025-03-27T08:51:19.048Z] [05:43:12.564] TRACE: exec: Done. Exit code: 0 [2025-03-27T08:51:19.048Z] [05:43:12.565] TRACE: assertEquals(0): Check command tool provider [jar -c -f ./test.9769853f/input/hello.jar -C ./test.9769853f/jar-workdir .](7) exited with 0 code [2025-03-27T08:51:19.048Z] [05:43:12.570] TRACE: exec: Execute [/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/jdkbinary/j2sdk-image/bin/jpackage --input ./test.9769853f/input --dest ./test.9769853f/output --name MainClassTest --type app-image --main-jar hello.jar -J-Djlink.debug=true --verbose](13); save output... [2025-03-27T08:51:19.048Z] [05:43:14.028] Running dpkg [2025-03-27T08:51:19.048Z] [05:43:14.129] Command [PID: 3400373]: [2025-03-27T08:51:19.048Z] dpkg --print-architecture [2025-03-27T08:51:19.048Z] [05:43:14.130] Output: [2025-03-27T08:51:19.048Z] riscv64 [2025-03-27T08:51:19.048Z] [05:43:14.155] Returned: 0 [2025-03-27T08:51:19.048Z] [2025-03-27T08:51:19.048Z] [05:43:14.264] jdk.jpackage.internal.ConfigException: A main class was not specified nor was one found in the jar hello.jar [2025-03-27T08:51:19.048Z] at jdk.jpackage/jdk.jpackage.internal.LauncherData.createNonModular(LauncherData.java:226) [2025-03-27T08:51:19.048Z] at jdk.jpackage/jdk.jpackage.internal.LauncherData.create(LauncherData.java:119) [2025-03-27T08:51:19.048Z] at jdk.jpackage/jdk.jpackage.internal.StandardBundlerParam.lambda$static$0(StandardBundlerParam.java:86) [2025-03-27T08:51:19.048Z] at jdk.jpackage/jdk.jpackage.internal.BundlerParamInfo.fetchFrom(BundlerParamInfo.java:114) [2025-03-27T08:51:19.048Z] at jdk.jpackage/jdk.jpackage.internal.BundlerParamInfo.fetchFrom(BundlerParamInfo.java:88) [2025-03-27T08:51:19.048Z] at jdk.jpackage/jdk.jpackage.internal.AppImageBundler.validate(AppImageBundler.java:68) [2025-03-27T08:51:19.048Z] at jdk.jpackage/jdk.jpackage.internal.Arguments.generateBundle(Arguments.java:689) [2025-03-27T08:51:19.048Z] at jdk.jpackage/jdk.jpackage.internal.Arguments.processArguments(Arguments.java:555) [2025-03-27T08:51:19.048Z] at jdk.jpackage/jdk.jpackage.main.Main.execute(Main.java:92) [2025-03-27T08:51:19.048Z] at jdk.jpackage/jdk.jpackage.main.Main.main(Main.java:53) [2025-03-27T08:51:19.048Z] [05:43:14.287] jdk.jpackage.internal.PackagerException: Bundler Linux Application Image skipped because of a configuration problem: A main class was not specified nor was one found in the jar hello.jar [2025-03-27T08:51:19.048Z] Advice to fix: Specify a main class or ensure that the jar hello.jar specifies one in the manifest [2025-03-27T08:51:19.048Z] at jdk.jpackage/jdk.jpackage.internal.Arguments.generateBundle(Arguments.java:702) [2025-03-27T08:51:19.048Z] at jdk.jpackage/jdk.jpackage.internal.Arguments.processArguments(Arguments.java:555) [2025-03-27T08:51:19.048Z] at jdk.jpackage/jdk.jpackage.main.Main.execute(Main.java:92) [2025-03-27T08:51:19.048Z] at jdk.jpackage/jdk.jpackage.main.Main.main(Main.java:53) [2025-03-27T08:51:19.048Z] Caused by: jdk.jpackage.internal.ConfigException: A main class was not specified nor was one found in the jar hello.jar [2025-03-27T08:51:19.048Z] at jdk.jpackage/jdk.jpackage.internal.LauncherData.createNonModular(LauncherData.java:226) [2025-03-27T08:51:19.048Z] at jdk.jpackage/jdk.jpackage.internal.LauncherData.create(LauncherData.java:119) [2025-03-27T08:51:19.048Z] at jdk.jpackage/jdk.jpackage.internal.StandardBundlerParam.lambda$static$0(StandardBundlerParam.java:86) [2025-03-27T08:51:19.048Z] at jdk.jpackage/jdk.jpackage.internal.BundlerParamInfo.fetchFrom(BundlerParamInfo.java:114) [2025-03-27T08:51:19.048Z] at jdk.jpackage/jdk.jpackage.internal.BundlerParamInfo.fetchFrom(BundlerParamInfo.java:88) [2025-03-27T08:51:19.048Z] at jdk.jpackage/jdk.jpackage.internal.AppImageBundler.validate(AppImageBundler.java:68) [2025-03-27T08:51:19.048Z] at jdk.jpackage/jdk.jpackage.internal.Arguments.generateBundle(Arguments.java:689) [2025-03-27T08:51:19.048Z] ... 3 more [2025-03-27T08:51:19.048Z] [05:43:14.323] TRACE: exec: Done. Exit code: 1 [2025-03-27T08:51:19.048Z] [05:43:14.324] TRACE: assertEquals(1): Check command [/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/jdkbinary/j2sdk-image/bin/jpackage --input ./test.9769853f/input --dest ./test.9769853f/output --name MainClassTest --type app-image --main-jar hello.jar -J-Djlink.debug=true --verbose](13) exited with 1 code [2025-03-27T08:51:19.048Z] [05:43:14.324] TRACE: assertNotNull([05:43:14.264] jdk.jpackage.internal.ConfigException: A main class was not specified nor was one found in the jar hello.jar): Check output contains [A main class was not specified nor was one found in the jar] string [2025-03-27T08:51:19.048Z] [05:43:14.325] TRACE: Deleting [./test.9769853f] directory recursively [2025-03-27T08:51:19.048Z] [05:43:14.328] [ OK ] MainClassTest(modular=n; main-class=n; jar-main-class=n; jlink=y; error=A main class was not specified nor was one found in the jar).test; checks=4 [2025-03-27T08:51:19.048Z] [05:43:14.329] [ RUN ] MainClassTest(modular=n; main-class=n; jar-main-class=y; jlink=n).test [2025-03-27T08:51:19.048Z] [05:43:14.346] TRACE: exec: Execute tool provider [javac -d ./test.97efae32/jar-workdir ./test.97efae32/src/test/Hello.java](4)... [2025-03-27T08:51:19.048Z] [05:43:14.894] TRACE: exec: Done. Exit code: 0 [2025-03-27T08:51:19.048Z] [05:43:14.896] TRACE: assertEquals(0): Check command tool provider [javac -d ./test.97efae32/jar-workdir ./test.97efae32/src/test/Hello.java](4) exited with 0 code [2025-03-27T08:51:19.048Z] [05:43:14.900] TRACE: exec: Execute tool provider [jar -c -f ./test.97efae32/input/hello.jar -e test.Hello -C ./test.97efae32/jar-workdir .](9)... [2025-03-27T08:51:19.048Z] [05:43:14.909] TRACE: exec: Done. Exit code: 0 [2025-03-27T08:51:19.048Z] [05:43:14.910] TRACE: assertEquals(0): Check command tool provider [jar -c -f ./test.97efae32/input/hello.jar -e test.Hello -C ./test.97efae32/jar-workdir .](9) exited with 0 code [2025-03-27T08:51:19.048Z] [05:43:14.916] TRACE: exec: Execute [/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/jdkbinary/j2sdk-image/bin/jpackage --input ./test.97efae32/input --dest ./test.97efae32/output --name MainClassTest --type app-image --main-jar hello.jar --runtime-image /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/jdkbinary/j2sdk-image -J-Djlink.debug=true --verbose](15); inherit I/O... [2025-03-27T08:51:19.048Z] [05:43:16.263] Running dpkg [2025-03-27T08:51:19.048Z] [05:43:16.364] Command [PID: 3400398]: [2025-03-27T08:51:19.048Z] dpkg --print-architecture [2025-03-27T08:51:19.048Z] [05:43:16.365] Output: [2025-03-27T08:51:19.048Z] riscv64 [2025-03-27T08:51:19.048Z] [05:43:16.390] Returned: 0 [2025-03-27T08:51:19.048Z] [2025-03-27T08:51:19.048Z] [05:43:16.538] Creating app package: MainClassTest in /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/aqa-tests/TKG/output_17430396561725/jdk_tools_1/work/scratch/2/./test.97efae32/output [2025-03-27T08:51:19.048Z] [05:43:22.197] Using default package resource JavaApp.png [icon] (add MainClassTest.png to the resource-dir to customize). [2025-03-27T08:51:19.048Z] [05:43:22.421] Succeeded in building Linux Application Image package [2025-03-27T08:51:19.048Z] [05:43:22.462] TRACE: exec: Done. Exit code: 0 [2025-03-27T08:51:19.048Z] [05:43:22.464] TRACE: assertEquals(0): Check command [/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/jdkbinary/j2sdk-image/bin/jpackage --input ./test.97efae32/input --dest ./test.97efae32/output --name MainClassTest --type app-image --main-jar hello.jar --runtime-image /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/jdkbinary/j2sdk-image -J-Djlink.debug=true --verbose](15) exited with 0 code [2025-03-27T08:51:19.048Z] [05:43:22.496] TRACE: assertStringListEquals(): Check there is only one file with [.jpackage.xml] name in the package [2025-03-27T08:51:19.048Z] [05:43:22.498] TRACE: assertStringListEquals(1, ./test.97efae32/output/MainClassTest/lib/app/.jpackage.xml) [2025-03-27T08:51:19.048Z] [05:43:22.519] TRACE: assertStringListEquals(): Check there are no files with [.package] name in the package [2025-03-27T08:51:19.048Z] [05:43:22.521] TRACE: assertTrue(): Check [./test.97efae32/output/MainClassTest/lib/runtime] path exists [2025-03-27T08:51:19.048Z] [05:43:22.522] TRACE: assertTrue(): Check [./test.97efae32/output/MainClassTest/lib/runtime] is a directory [2025-03-27T08:51:19.048Z] [05:43:22.523] TRACE: assertTrue(): Check [./test.97efae32/output/MainClassTest/bin/MainClassTest] path exists [2025-03-27T08:51:19.048Z] [05:43:22.523] TRACE: assertTrue(): Check [./test.97efae32/output/MainClassTest/bin/MainClassTest] is a file [2025-03-27T08:51:19.048Z] [05:43:22.524] TRACE: assertTrue(): Check [./test.97efae32/output/MainClassTest/bin/MainClassTest] file is executable [2025-03-27T08:51:19.048Z] [05:43:22.525] TRACE: assertTrue(): Check [./test.97efae32/output/MainClassTest/lib/app/MainClassTest.cfg] path exists [2025-03-27T08:51:19.048Z] [05:43:22.526] TRACE: assertTrue(): Check [./test.97efae32/output/MainClassTest/lib/app/MainClassTest.cfg] is a file [2025-03-27T08:51:19.048Z] [05:43:22.528] TRACE: exec: Execute [/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/aqa-tests/TKG/output_17430396561725/jdk_tools_1/work/scratch/2/./test.97efae32/output/MainClassTest/bin/MainClassTest](1); inherit I/O; in directory [./test.97efae32]... [2025-03-27T08:51:19.048Z] jpackage test application [2025-03-27T08:51:19.048Z] args.length: 0 [2025-03-27T08:51:19.048Z] hello: Output file: [/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/aqa-tests/TKG/output_17430396561725/jdk_tools_1/work/scratch/2/test.97efae32/appOutput.txt] [2025-03-27T08:51:19.048Z] [05:43:23.468] TRACE: exec: Done. Exit code: 0 [2025-03-27T08:51:19.048Z] [05:43:23.470] TRACE: assertEquals(0): Check command [/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/aqa-tests/TKG/output_17430396561725/jdk_tools_1/work/scratch/2/./test.97efae32/output/MainClassTest/bin/MainClassTest](1) exited with 0 code [2025-03-27T08:51:19.048Z] [05:43:23.471] TRACE: assertTrue(): Check [/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/aqa-tests/TKG/output_17430396561725/jdk_tools_1/work/scratch/2/test.97efae32/appOutput.txt] path exists [2025-03-27T08:51:19.048Z] [05:43:23.471] TRACE: assertTrue(): Check [/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/aqa-tests/TKG/output_17430396561725/jdk_tools_1/work/scratch/2/test.97efae32/appOutput.txt] is a file [2025-03-27T08:51:19.048Z] [05:43:23.485] TRACE: assertStringListEquals(): Check contents of [/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/aqa-tests/TKG/output_17430396561725/jdk_tools_1/work/scratch/2/test.97efae32/appOutput.txt] file [2025-03-27T08:51:19.048Z] [05:43:23.486] TRACE: assertStringListEquals(1, jpackage test application) [2025-03-27T08:51:19.048Z] [05:43:23.487] TRACE: assertStringListEquals(2, args.length: 0) [2025-03-27T08:51:19.048Z] [05:43:23.489] TRACE: Read [./test.97efae32/output/MainClassTest/lib/app/MainClassTest.cfg] jpackage cfg file [2025-03-27T08:51:19.049Z] [05:43:23.492] TRACE: assertTrue(): Check section [Application] is found in [./test.97efae32/output/MainClassTest/lib/app/MainClassTest.cfg] cfg file [2025-03-27T08:51:19.049Z] [05:43:23.492] TRACE: assertNotNull($APPDIR/hello.jar): Check key [app.mainjar] is found in [Application] section of [./test.97efae32/output/MainClassTest/lib/app/MainClassTest.cfg] cfg file [2025-03-27T08:51:19.049Z] [05:43:23.493] TRACE: assertNotNull($APPDIR/hello.jar): Check "app.mainjar" property is set [2025-03-27T08:51:19.049Z] [05:43:23.494] TRACE: assertNull(): Check "app.mainclass" property is NOT set [2025-03-27T08:51:19.049Z] [05:43:23.495] TRACE: assertNull(): Check "app.classpath" property is NOT set [2025-03-27T08:51:19.049Z] [05:43:23.496] TRACE: Deleting [./test.97efae32] directory recursively [2025-03-27T08:51:19.049Z] [05:43:24.714] [ OK ] MainClassTest(modular=n; main-class=n; jar-main-class=y; jlink=n).test; checks=21 [2025-03-27T08:51:19.049Z] [05:43:24.715] [ RUN ] MainClassTest(modular=n; main-class=n; jar-main-class=y; jlink=y).test [2025-03-27T08:51:19.049Z] [05:43:24.724] TRACE: exec: Execute tool provider [javac -d ./test.ddd439fd/jar-workdir ./test.ddd439fd/src/test/Hello.java](4)... [2025-03-27T08:51:19.049Z] [05:43:25.271] TRACE: exec: Done. Exit code: 0 [2025-03-27T08:51:19.049Z] [05:43:25.273] TRACE: assertEquals(0): Check command tool provider [javac -d ./test.ddd439fd/jar-workdir ./test.ddd439fd/src/test/Hello.java](4) exited with 0 code [2025-03-27T08:51:19.049Z] [05:43:25.276] TRACE: exec: Execute tool provider [jar -c -f ./test.ddd439fd/input/hello.jar -e test.Hello -C ./test.ddd439fd/jar-workdir .](9)... [2025-03-27T08:51:19.049Z] [05:43:25.284] TRACE: exec: Done. Exit code: 0 [2025-03-27T08:51:19.049Z] [05:43:25.286] TRACE: assertEquals(0): Check command tool provider [jar -c -f ./test.ddd439fd/input/hello.jar -e test.Hello -C ./test.ddd439fd/jar-workdir .](9) exited with 0 code [2025-03-27T08:51:19.049Z] [05:43:25.290] TRACE: exec: Execute [/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/jdkbinary/j2sdk-image/bin/jpackage --input ./test.ddd439fd/input --dest ./test.ddd439fd/output --name MainClassTest --type app-image --main-jar hello.jar -J-Djlink.debug=true --verbose](13); inherit I/O... [2025-03-27T08:51:19.049Z] [05:43:26.659] Running dpkg [2025-03-27T08:51:19.049Z] [05:43:26.762] Command [PID: 3400451]: [2025-03-27T08:51:19.049Z] dpkg --print-architecture [2025-03-27T08:51:19.049Z] [05:43:26.763] Output: [2025-03-27T08:51:19.049Z] riscv64 [2025-03-27T08:51:19.049Z] [05:43:26.788] Returned: 0 [2025-03-27T08:51:19.049Z] [2025-03-27T08:51:19.049Z] [05:43:26.936] Creating app package: MainClassTest in /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/aqa-tests/TKG/output_17430396561725/jdk_tools_1/work/scratch/2/./test.ddd439fd/output [2025-03-27T08:51:19.049Z] [05:44:09.122] Command [PID: -1]: [2025-03-27T08:51:19.049Z] jlink --output ./test.ddd439fd/output/MainClassTest/lib/runtime --module-path /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/jdkbinary/j2sdk-image/jmods --add-modules java.rmi,jdk.management.jfr,jdk.jdi,jdk.charsets,jdk.xml.dom,java.xml,java.datatransfer,jdk.jstatd,jdk.httpserver,java.desktop,java.security.sasl,jdk.zipfs,java.base,jdk.crypto.ec,jdk.javadoc,jdk.management.agent,jdk.jshell,jdk.editpad,java.sql.rowset,jdk.sctp,jdk.jsobject,jdk.unsupported,java.smartcardio,jdk.jlink,java.security.jgss,java.compiler,jdk.nio.mapmode,jdk.dynalink,jdk.unsupported.desktop,jdk.accessibility,jdk.security.jgss,jdk.incubator.vector,java.sql,java.logging,java.xml.crypto,java.transaction.xa,jdk.jfr,jdk.crypto.cryptoki,jdk.random,jdk.net,java.naming,jdk.internal.ed,java.prefs,java.net.http,jdk.compiler,jdk.naming.rmi,jdk.internal.opt,jdk.jconsole,jdk.attach,jdk.internal.le,java.management,jdk.jdwp.agent,jdk.internal.jvmstat,java.instrument,jdk.management,jdk.security.auth,java.scripting,jdk.jdeps,jdk.jartool,java.management.rmi,jdk.jpackage,jdk.naming.dns,jdk.localedata --strip-native-commands --strip-debug --no-man-pages --no-header-files [2025-03-27T08:51:19.049Z] [05:44:09.124] Output: [2025-03-27T08:51:19.049Z] WARNING: Using incubator modules: jdk.incubator.vector [2025-03-27T08:51:19.049Z] [2025-03-27T08:51:19.049Z] [05:44:09.124] Returned: 0 [2025-03-27T08:51:19.049Z] [2025-03-27T08:51:19.049Z] [05:44:09.175] Using default package resource JavaApp.png [icon] (add MainClassTest.png to the resource-dir to customize). [2025-03-27T08:51:19.049Z] [05:44:09.396] Succeeded in building Linux Application Image package [2025-03-27T08:51:19.049Z] [05:44:09.681] TRACE: exec: Done. Exit code: 0 [2025-03-27T08:51:19.049Z] [05:44:09.682] TRACE: assertEquals(0): Check command [/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/jdkbinary/j2sdk-image/bin/jpackage --input ./test.ddd439fd/input --dest ./test.ddd439fd/output --name MainClassTest --type app-image --main-jar hello.jar -J-Djlink.debug=true --verbose](13) exited with 0 code [2025-03-27T08:51:19.049Z] [05:44:09.699] TRACE: assertStringListEquals(): Check there is only one file with [.jpackage.xml] name in the package [2025-03-27T08:51:19.049Z] [05:44:09.700] TRACE: assertStringListEquals(1, ./test.ddd439fd/output/MainClassTest/lib/app/.jpackage.xml) [2025-03-27T08:51:19.049Z] [05:44:09.716] TRACE: assertStringListEquals(): Check there are no files with [.package] name in the package [2025-03-27T08:51:19.049Z] [05:44:09.717] TRACE: assertTrue(): Check [./test.ddd439fd/output/MainClassTest/lib/runtime] path exists [2025-03-27T08:51:19.049Z] [05:44:09.718] TRACE: assertTrue(): Check [./test.ddd439fd/output/MainClassTest/lib/runtime] is a directory [2025-03-27T08:51:19.049Z] [05:44:09.719] TRACE: assertTrue(): Check [./test.ddd439fd/output/MainClassTest/bin/MainClassTest] path exists [2025-03-27T08:51:19.049Z] [05:44:09.719] TRACE: assertTrue(): Check [./test.ddd439fd/output/MainClassTest/bin/MainClassTest] is a file [2025-03-27T08:51:19.049Z] [05:44:09.720] TRACE: assertTrue(): Check [./test.ddd439fd/output/MainClassTest/bin/MainClassTest] file is executable [2025-03-27T08:51:19.049Z] [05:44:09.722] TRACE: assertTrue(): Check [./test.ddd439fd/output/MainClassTest/lib/app/MainClassTest.cfg] path exists [2025-03-27T08:51:19.049Z] [05:44:09.722] TRACE: assertTrue(): Check [./test.ddd439fd/output/MainClassTest/lib/app/MainClassTest.cfg] is a file [2025-03-27T08:51:19.049Z] [05:44:09.725] TRACE: exec: Execute [/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/aqa-tests/TKG/output_17430396561725/jdk_tools_1/work/scratch/2/./test.ddd439fd/output/MainClassTest/bin/MainClassTest](1); inherit I/O; in directory [./test.ddd439fd]... [2025-03-27T08:51:19.049Z] jpackage test application [2025-03-27T08:51:19.049Z] args.length: 0 [2025-03-27T08:51:19.049Z] hello: Output file: [/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/aqa-tests/TKG/output_17430396561725/jdk_tools_1/work/scratch/2/test.ddd439fd/appOutput.txt] [2025-03-27T08:51:19.049Z] [05:44:10.965] TRACE: exec: Done. Exit code: 0 [2025-03-27T08:51:19.049Z] [05:44:10.967] TRACE: assertEquals(0): Check command [/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/aqa-tests/TKG/output_17430396561725/jdk_tools_1/work/scratch/2/./test.ddd439fd/output/MainClassTest/bin/MainClassTest](1) exited with 0 code [2025-03-27T08:51:19.049Z] [05:44:10.968] TRACE: assertTrue(): Check [/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/aqa-tests/TKG/output_17430396561725/jdk_tools_1/work/scratch/2/test.ddd439fd/appOutput.txt] path exists [2025-03-27T08:51:19.049Z] [05:44:10.969] TRACE: assertTrue(): Check [/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/aqa-tests/TKG/output_17430396561725/jdk_tools_1/work/scratch/2/test.ddd439fd/appOutput.txt] is a file [2025-03-27T08:51:19.049Z] [05:44:10.971] TRACE: assertStringListEquals(): Check contents of [/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/aqa-tests/TKG/output_17430396561725/jdk_tools_1/work/scratch/2/test.ddd439fd/appOutput.txt] file [2025-03-27T08:51:19.049Z] [05:44:10.972] TRACE: assertStringListEquals(1, jpackage test application) [2025-03-27T08:51:19.049Z] [05:44:10.973] TRACE: assertStringListEquals(2, args.length: 0) [2025-03-27T08:51:19.049Z] [05:44:10.975] TRACE: Read [./test.ddd439fd/output/MainClassTest/lib/app/MainClassTest.cfg] jpackage cfg file [2025-03-27T08:51:19.049Z] [05:44:10.977] TRACE: assertTrue(): Check section [Application] is found in [./test.ddd439fd/output/MainClassTest/lib/app/MainClassTest.cfg] cfg file [2025-03-27T08:51:19.049Z] [05:44:10.978] TRACE: assertNotNull($APPDIR/hello.jar): Check key [app.mainjar] is found in [Application] section of [./test.ddd439fd/output/MainClassTest/lib/app/MainClassTest.cfg] cfg file [2025-03-27T08:51:19.049Z] [05:44:10.979] TRACE: assertNotNull($APPDIR/hello.jar): Check "app.mainjar" property is set [2025-03-27T08:51:19.049Z] [05:44:10.979] TRACE: assertNull(): Check "app.mainclass" property is NOT set [2025-03-27T08:51:19.049Z] [05:44:10.980] TRACE: assertNull(): Check "app.classpath" property is NOT set [2025-03-27T08:51:19.049Z] [05:44:10.980] TRACE: Deleting [./test.ddd439fd] directory recursively [2025-03-27T08:51:19.049Z] [05:44:11.290] [ OK ] MainClassTest(modular=n; main-class=n; jar-main-class=y; jlink=y).test; checks=21 [2025-03-27T08:51:19.049Z] [05:44:11.291] [ RUN ] MainClassTest(modular=n; main-class=y; jar-main-class=b; jlink=n).test [2025-03-27T08:51:19.049Z] [05:44:11.301] TRACE: exec: Execute tool provider [javac -d ./test.f4322c7e/jar-workdir ./test.f4322c7e/src/test/Hello.java](4)... [2025-03-27T08:51:19.049Z] [05:44:11.806] TRACE: exec: Done. Exit code: 0 [2025-03-27T08:51:19.049Z] [05:44:11.806] TRACE: assertEquals(0): Check command tool provider [javac -d ./test.f4322c7e/jar-workdir ./test.f4322c7e/src/test/Hello.java](4) exited with 0 code [2025-03-27T08:51:19.049Z] [05:44:11.810] TRACE: exec: Execute tool provider [jar -c -f ./test.f4322c7e/input/hello.jar -e test.Hello -C ./test.f4322c7e/jar-workdir .](9)... [2025-03-27T08:51:19.049Z] [05:44:11.817] TRACE: exec: Done. Exit code: 0 [2025-03-27T08:51:19.049Z] [05:44:11.818] TRACE: assertEquals(0): Check command tool provider [jar -c -f ./test.f4322c7e/input/hello.jar -e test.Hello -C ./test.f4322c7e/jar-workdir .](9) exited with 0 code [2025-03-27T08:51:19.049Z] [05:44:11.832] TRACE: exec: Execute tool provider [javac -d ./test.f4322c7e/jar-workdir ./test.f4322c7e/src/test/ThereIsNoSuchClass.java](4)... [2025-03-27T08:51:19.049Z] [05:44:12.289] TRACE: exec: Done. Exit code: 0 [2025-03-27T08:51:19.049Z] [05:44:12.291] TRACE: assertEquals(0): Check command tool provider [javac -d ./test.f4322c7e/jar-workdir ./test.f4322c7e/src/test/ThereIsNoSuchClass.java](4) exited with 0 code [2025-03-27T08:51:19.049Z] [05:44:12.291] TRACE: Delete [./test.f4322c7e/input/hello.jar] existing jar file [2025-03-27T08:51:19.049Z] [05:44:12.294] TRACE: exec: Execute tool provider [jar -c -f ./test.f4322c7e/input/hello.jar -e test.ThereIsNoSuchClass -C ./test.f4322c7e/jar-workdir .](9)... [2025-03-27T08:51:19.049Z] [05:44:12.301] TRACE: exec: Done. Exit code: 0 [2025-03-27T08:51:19.049Z] [05:44:12.302] TRACE: assertEquals(0): Check command tool provider [jar -c -f ./test.f4322c7e/input/hello.jar -e test.ThereIsNoSuchClass -C ./test.f4322c7e/jar-workdir .](9) exited with 0 code [2025-03-27T08:51:19.050Z] [05:44:12.310] TRACE: exec: Execute tool provider [jar -v -c -M -f ./test.f4322c7e/input/hello.jar -C ./test.f4322c7e/repack-jar .](9)... [2025-03-27T08:51:19.050Z] adding: META-INF/(in = 0) (out= 0)(stored 0%) [2025-03-27T08:51:19.050Z] adding: META-INF/MANIFEST.MF(in = 106) (out= 103)(deflated 2%) [2025-03-27T08:51:19.050Z] adding: test/(in = 0) (out= 0)(stored 0%) [2025-03-27T08:51:19.050Z] adding: test/Hello.class(in = 8351) (out= 4116)(deflated 50%) [2025-03-27T08:51:19.050Z] [05:44:12.318] TRACE: exec: Done. Exit code: 0 [2025-03-27T08:51:19.050Z] [05:44:12.319] TRACE: assertEquals(0): Check command tool provider [jar -v -c -M -f ./test.f4322c7e/input/hello.jar -C ./test.f4322c7e/repack-jar .](9) exited with 0 code [2025-03-27T08:51:19.050Z] [05:44:12.322] TRACE: exec: Execute [/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/jdkbinary/j2sdk-image/bin/jpackage --input ./test.f4322c7e/input --dest ./test.f4322c7e/output --name MainClassTest --type app-image --main-jar hello.jar --main-class test.Hello --runtime-image /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/jdkbinary/j2sdk-image -J-Djlink.debug=true --verbose](17); inherit I/O... [2025-03-27T08:51:19.050Z] [05:44:13.695] Running dpkg [2025-03-27T08:51:19.050Z] [05:44:13.797] Command [PID: 3400578]: [2025-03-27T08:51:19.050Z] dpkg --print-architecture [2025-03-27T08:51:19.050Z] [05:44:13.798] Output: [2025-03-27T08:51:19.050Z] riscv64 [2025-03-27T08:51:19.050Z] [05:44:13.823] Returned: 0 [2025-03-27T08:51:19.050Z] [2025-03-27T08:51:19.050Z] [05:44:13.956] Creating app package: MainClassTest in /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/aqa-tests/TKG/output_17430396561725/jdk_tools_1/work/scratch/2/./test.f4322c7e/output [2025-03-27T08:51:19.050Z] [05:44:19.719] Using default package resource JavaApp.png [icon] (add MainClassTest.png to the resource-dir to customize). [2025-03-27T08:51:19.050Z] [05:44:19.922] Succeeded in building Linux Application Image package [2025-03-27T08:51:19.050Z] [05:44:19.963] TRACE: exec: Done. Exit code: 0 [2025-03-27T08:51:19.050Z] [05:44:19.964] TRACE: assertEquals(0): Check command [/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/jdkbinary/j2sdk-image/bin/jpackage --input ./test.f4322c7e/input --dest ./test.f4322c7e/output --name MainClassTest --type app-image --main-jar hello.jar --main-class test.Hello --runtime-image /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/jdkbinary/j2sdk-image -J-Djlink.debug=true --verbose](17) exited with 0 code [2025-03-27T08:51:19.050Z] [05:44:19.989] TRACE: assertStringListEquals(): Check there is only one file with [.jpackage.xml] name in the package [2025-03-27T08:51:19.050Z] [05:44:19.990] TRACE: assertStringListEquals(1, ./test.f4322c7e/output/MainClassTest/lib/app/.jpackage.xml) [2025-03-27T08:51:19.050Z] [05:44:20.010] TRACE: assertStringListEquals(): Check there are no files with [.package] name in the package [2025-03-27T08:51:19.050Z] [05:44:20.014] TRACE: assertTrue(): Check [./test.f4322c7e/output/MainClassTest/lib/runtime] path exists [2025-03-27T08:51:19.050Z] [05:44:20.014] TRACE: assertTrue(): Check [./test.f4322c7e/output/MainClassTest/lib/runtime] is a directory [2025-03-27T08:51:19.050Z] [05:44:20.015] TRACE: assertTrue(): Check [./test.f4322c7e/output/MainClassTest/bin/MainClassTest] path exists [2025-03-27T08:51:19.050Z] [05:44:20.016] TRACE: assertTrue(): Check [./test.f4322c7e/output/MainClassTest/bin/MainClassTest] is a file [2025-03-27T08:51:19.050Z] [05:44:20.016] TRACE: assertTrue(): Check [./test.f4322c7e/output/MainClassTest/bin/MainClassTest] file is executable [2025-03-27T08:51:19.050Z] [05:44:20.017] TRACE: assertTrue(): Check [./test.f4322c7e/output/MainClassTest/lib/app/MainClassTest.cfg] path exists [2025-03-27T08:51:19.050Z] [05:44:20.018] TRACE: assertTrue(): Check [./test.f4322c7e/output/MainClassTest/lib/app/MainClassTest.cfg] is a file [2025-03-27T08:51:19.050Z] [05:44:20.020] TRACE: exec: Execute [/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/aqa-tests/TKG/output_17430396561725/jdk_tools_1/work/scratch/2/./test.f4322c7e/output/MainClassTest/bin/MainClassTest](1); inherit I/O; in directory [./test.f4322c7e]... [2025-03-27T08:51:19.050Z] jpackage test application [2025-03-27T08:51:19.050Z] args.length: 0 [2025-03-27T08:51:19.050Z] hello: Output file: [/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/aqa-tests/TKG/output_17430396561725/jdk_tools_1/work/scratch/2/test.f4322c7e/appOutput.txt] [2025-03-27T08:51:19.050Z] [05:44:20.974] TRACE: exec: Done. Exit code: 0 [2025-03-27T08:51:19.050Z] [05:44:20.975] TRACE: assertEquals(0): Check command [/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/aqa-tests/TKG/output_17430396561725/jdk_tools_1/work/scratch/2/./test.f4322c7e/output/MainClassTest/bin/MainClassTest](1) exited with 0 code [2025-03-27T08:51:19.050Z] [05:44:20.976] TRACE: assertTrue(): Check [/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/aqa-tests/TKG/output_17430396561725/jdk_tools_1/work/scratch/2/test.f4322c7e/appOutput.txt] path exists [2025-03-27T08:51:19.050Z] [05:44:20.977] TRACE: assertTrue(): Check [/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/aqa-tests/TKG/output_17430396561725/jdk_tools_1/work/scratch/2/test.f4322c7e/appOutput.txt] is a file [2025-03-27T08:51:19.050Z] [05:44:20.979] TRACE: assertStringListEquals(): Check contents of [/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/aqa-tests/TKG/output_17430396561725/jdk_tools_1/work/scratch/2/test.f4322c7e/appOutput.txt] file [2025-03-27T08:51:19.050Z] [05:44:20.980] TRACE: assertStringListEquals(1, jpackage test application) [2025-03-27T08:51:19.050Z] [05:44:20.981] TRACE: assertStringListEquals(2, args.length: 0) [2025-03-27T08:51:19.050Z] [05:44:20.982] TRACE: Read [./test.f4322c7e/output/MainClassTest/lib/app/MainClassTest.cfg] jpackage cfg file [2025-03-27T08:51:19.050Z] [05:44:20.984] TRACE: assertTrue(): Check section [Application] is found in [./test.f4322c7e/output/MainClassTest/lib/app/MainClassTest.cfg] cfg file [2025-03-27T08:51:19.050Z] [05:44:20.985] TRACE: assertNotNull(test.Hello): Check key [app.mainclass] is found in [Application] section of [./test.f4322c7e/output/MainClassTest/lib/app/MainClassTest.cfg] cfg file [2025-03-27T08:51:19.050Z] [05:44:20.986] TRACE: assertNotNull(test.Hello): Check "app.mainclass" property is set [2025-03-27T08:51:19.050Z] [05:44:20.986] TRACE: assertTrue(): Check section [Application] is found in [./test.f4322c7e/output/MainClassTest/lib/app/MainClassTest.cfg] cfg file [2025-03-27T08:51:19.050Z] [05:44:20.987] TRACE: assertNotNull($APPDIR/hello.jar): Check key [app.classpath] is found in [Application] section of [./test.f4322c7e/output/MainClassTest/lib/app/MainClassTest.cfg] cfg file [2025-03-27T08:51:19.050Z] [05:44:20.987] TRACE: assertNotNull($APPDIR/hello.jar): Check "app.classpath" property is set [2025-03-27T08:51:19.050Z] [05:44:20.988] TRACE: assertNull(): Check "app.mainjar" property is NOT set [2025-03-27T08:51:19.050Z] [05:44:20.989] TRACE: Deleting [./test.f4322c7e] directory recursively [2025-03-27T08:51:19.050Z] [05:44:22.208] [ OK ] MainClassTest(modular=n; main-class=y; jar-main-class=b; jlink=n).test; checks=26 [2025-03-27T08:51:19.050Z] [05:44:22.209] [ RUN ] MainClassTest(modular=n; main-class=y; jar-main-class=b; jlink=y).test [2025-03-27T08:51:19.050Z] [05:44:22.219] TRACE: exec: Execute tool provider [javac -d ./test.3a16b849/jar-workdir ./test.3a16b849/src/test/Hello.java](4)... [2025-03-27T08:51:19.050Z] [05:44:22.728] TRACE: exec: Done. Exit code: 0 [2025-03-27T08:51:19.050Z] [05:44:22.729] TRACE: assertEquals(0): Check command tool provider [javac -d ./test.3a16b849/jar-workdir ./test.3a16b849/src/test/Hello.java](4) exited with 0 code [2025-03-27T08:51:19.050Z] [05:44:22.734] TRACE: exec: Execute tool provider [jar -c -f ./test.3a16b849/input/hello.jar -e test.Hello -C ./test.3a16b849/jar-workdir .](9)... [2025-03-27T08:51:19.050Z] [05:44:22.742] TRACE: exec: Done. Exit code: 0 [2025-03-27T08:51:19.050Z] [05:44:22.743] TRACE: assertEquals(0): Check command tool provider [jar -c -f ./test.3a16b849/input/hello.jar -e test.Hello -C ./test.3a16b849/jar-workdir .](9) exited with 0 code [2025-03-27T08:51:19.050Z] [05:44:22.761] TRACE: exec: Execute tool provider [javac -d ./test.3a16b849/jar-workdir ./test.3a16b849/src/test/ThereIsNoSuchClass.java](4)... [2025-03-27T08:51:19.050Z] [05:44:23.257] TRACE: exec: Done. Exit code: 0 [2025-03-27T08:51:19.050Z] [05:44:23.258] TRACE: assertEquals(0): Check command tool provider [javac -d ./test.3a16b849/jar-workdir ./test.3a16b849/src/test/ThereIsNoSuchClass.java](4) exited with 0 code [2025-03-27T08:51:19.050Z] [05:44:23.259] TRACE: Delete [./test.3a16b849/input/hello.jar] existing jar file [2025-03-27T08:51:19.050Z] [05:44:23.263] TRACE: exec: Execute tool provider [jar -c -f ./test.3a16b849/input/hello.jar -e test.ThereIsNoSuchClass -C ./test.3a16b849/jar-workdir .](9)... [2025-03-27T08:51:19.050Z] [05:44:23.270] TRACE: exec: Done. Exit code: 0 [2025-03-27T08:51:19.050Z] [05:44:23.272] TRACE: assertEquals(0): Check command tool provider [jar -c -f ./test.3a16b849/input/hello.jar -e test.ThereIsNoSuchClass -C ./test.3a16b849/jar-workdir .](9) exited with 0 code [2025-03-27T08:51:19.050Z] [05:44:23.280] TRACE: exec: Execute tool provider [jar -v -c -M -f ./test.3a16b849/input/hello.jar -C ./test.3a16b849/repack-jar .](9)... [2025-03-27T08:51:19.050Z] adding: META-INF/(in = 0) (out= 0)(stored 0%) [2025-03-27T08:51:19.050Z] adding: META-INF/MANIFEST.MF(in = 106) (out= 103)(deflated 2%) [2025-03-27T08:51:19.050Z] adding: test/(in = 0) (out= 0)(stored 0%) [2025-03-27T08:51:19.050Z] adding: test/Hello.class(in = 8351) (out= 4116)(deflated 50%) [2025-03-27T08:51:19.050Z] [05:44:23.289] TRACE: exec: Done. Exit code: 0 [2025-03-27T08:51:19.050Z] [05:44:23.292] TRACE: assertEquals(0): Check command tool provider [jar -v -c -M -f ./test.3a16b849/input/hello.jar -C ./test.3a16b849/repack-jar .](9) exited with 0 code [2025-03-27T08:51:19.050Z] [05:44:23.297] TRACE: exec: Execute [/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/jdkbinary/j2sdk-image/bin/jpackage --input ./test.3a16b849/input --dest ./test.3a16b849/output --name MainClassTest --type app-image --main-jar hello.jar --main-class test.Hello -J-Djlink.debug=true --verbose](15); inherit I/O... [2025-03-27T08:51:19.050Z] [05:44:24.786] Running dpkg [2025-03-27T08:51:19.050Z] [05:44:24.889] Command [PID: 3400636]: [2025-03-27T08:51:19.051Z] dpkg --print-architecture [2025-03-27T08:51:19.051Z] [05:44:24.890] Output: [2025-03-27T08:51:19.051Z] riscv64 [2025-03-27T08:51:19.051Z] [05:44:24.915] Returned: 0 [2025-03-27T08:51:19.051Z] [2025-03-27T08:51:19.051Z] [05:44:25.052] Creating app package: MainClassTest in /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/aqa-tests/TKG/output_17430396561725/jdk_tools_1/work/scratch/2/./test.3a16b849/output [2025-03-27T08:51:19.051Z] [05:45:08.666] Command [PID: -1]: [2025-03-27T08:51:19.051Z] jlink --output ./test.3a16b849/output/MainClassTest/lib/runtime --module-path /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/jdkbinary/j2sdk-image/jmods --add-modules jdk.management.jfr,java.rmi,jdk.jdi,jdk.charsets,jdk.xml.dom,java.xml,java.datatransfer,jdk.jstatd,jdk.httpserver,java.desktop,java.security.sasl,jdk.zipfs,java.base,jdk.crypto.ec,jdk.javadoc,jdk.management.agent,jdk.jshell,jdk.editpad,java.sql.rowset,jdk.jsobject,jdk.sctp,java.smartcardio,jdk.jlink,jdk.unsupported,java.security.jgss,jdk.nio.mapmode,java.compiler,jdk.dynalink,jdk.unsupported.desktop,jdk.accessibility,jdk.security.jgss,java.sql,jdk.incubator.vector,java.xml.crypto,java.transaction.xa,java.logging,jdk.jfr,jdk.crypto.cryptoki,jdk.random,jdk.net,java.naming,jdk.internal.ed,java.prefs,java.net.http,jdk.compiler,jdk.internal.opt,jdk.naming.rmi,jdk.jconsole,jdk.attach,jdk.internal.le,java.management,jdk.jdwp.agent,jdk.internal.jvmstat,java.instrument,jdk.management,jdk.security.auth,java.scripting,jdk.jdeps,jdk.jartool,jdk.jpackage,java.management.rmi,jdk.naming.dns,jdk.localedata --strip-native-commands --strip-debug --no-man-pages --no-header-files [2025-03-27T08:51:19.051Z] [05:45:08.667] Output: [2025-03-27T08:51:19.051Z] WARNING: Using incubator modules: jdk.incubator.vector [2025-03-27T08:51:19.051Z] [2025-03-27T08:51:19.051Z] [05:45:08.668] Returned: 0 [2025-03-27T08:51:19.051Z] [2025-03-27T08:51:19.051Z] [05:45:08.719] Using default package resource JavaApp.png [icon] (add MainClassTest.png to the resource-dir to customize). [2025-03-27T08:51:19.051Z] [05:45:08.887] Succeeded in building Linux Application Image package [2025-03-27T08:51:19.051Z] [05:45:09.206] TRACE: exec: Done. Exit code: 0 [2025-03-27T08:51:19.051Z] [05:45:09.207] TRACE: assertEquals(0): Check command [/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/jdkbinary/j2sdk-image/bin/jpackage --input ./test.3a16b849/input --dest ./test.3a16b849/output --name MainClassTest --type app-image --main-jar hello.jar --main-class test.Hello -J-Djlink.debug=true --verbose](15) exited with 0 code [2025-03-27T08:51:19.051Z] [05:45:09.229] TRACE: assertStringListEquals(): Check there is only one file with [.jpackage.xml] name in the package [2025-03-27T08:51:19.051Z] [05:45:09.231] TRACE: assertStringListEquals(1, ./test.3a16b849/output/MainClassTest/lib/app/.jpackage.xml) [2025-03-27T08:51:19.051Z] [05:45:09.247] TRACE: assertStringListEquals(): Check there are no files with [.package] name in the package [2025-03-27T08:51:19.051Z] [05:45:09.248] TRACE: assertTrue(): Check [./test.3a16b849/output/MainClassTest/lib/runtime] path exists [2025-03-27T08:51:19.051Z] [05:45:09.249] TRACE: assertTrue(): Check [./test.3a16b849/output/MainClassTest/lib/runtime] is a directory [2025-03-27T08:51:19.051Z] [05:45:09.250] TRACE: assertTrue(): Check [./test.3a16b849/output/MainClassTest/bin/MainClassTest] path exists [2025-03-27T08:51:19.051Z] [05:45:09.250] TRACE: assertTrue(): Check [./test.3a16b849/output/MainClassTest/bin/MainClassTest] is a file [2025-03-27T08:51:19.051Z] [05:45:09.250] TRACE: assertTrue(): Check [./test.3a16b849/output/MainClassTest/bin/MainClassTest] file is executable [2025-03-27T08:51:19.051Z] [05:45:09.251] TRACE: assertTrue(): Check [./test.3a16b849/output/MainClassTest/lib/app/MainClassTest.cfg] path exists [2025-03-27T08:51:19.051Z] [05:45:09.252] TRACE: assertTrue(): Check [./test.3a16b849/output/MainClassTest/lib/app/MainClassTest.cfg] is a file [2025-03-27T08:51:19.051Z] [05:45:09.254] TRACE: exec: Execute [/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/aqa-tests/TKG/output_17430396561725/jdk_tools_1/work/scratch/2/./test.3a16b849/output/MainClassTest/bin/MainClassTest](1); inherit I/O; in directory [./test.3a16b849]... [2025-03-27T08:51:19.051Z] jpackage test application [2025-03-27T08:51:19.051Z] args.length: 0 [2025-03-27T08:51:19.051Z] hello: Output file: [/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/aqa-tests/TKG/output_17430396561725/jdk_tools_1/work/scratch/2/test.3a16b849/appOutput.txt] [2025-03-27T08:51:19.051Z] [05:45:10.482] TRACE: exec: Done. Exit code: 0 [2025-03-27T08:51:19.051Z] [05:45:10.483] TRACE: assertEquals(0): Check command [/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/aqa-tests/TKG/output_17430396561725/jdk_tools_1/work/scratch/2/./test.3a16b849/output/MainClassTest/bin/MainClassTest](1) exited with 0 code [2025-03-27T08:51:19.051Z] [05:45:10.484] TRACE: assertTrue(): Check [/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/aqa-tests/TKG/output_17430396561725/jdk_tools_1/work/scratch/2/test.3a16b849/appOutput.txt] path exists [2025-03-27T08:51:19.051Z] [05:45:10.485] TRACE: assertTrue(): Check [/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/aqa-tests/TKG/output_17430396561725/jdk_tools_1/work/scratch/2/test.3a16b849/appOutput.txt] is a file [2025-03-27T08:51:19.051Z] [05:45:10.486] TRACE: assertStringListEquals(): Check contents of [/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/aqa-tests/TKG/output_17430396561725/jdk_tools_1/work/scratch/2/test.3a16b849/appOutput.txt] file [2025-03-27T08:51:19.051Z] [05:45:10.487] TRACE: assertStringListEquals(1, jpackage test application) [2025-03-27T08:51:19.051Z] [05:45:10.488] TRACE: assertStringListEquals(2, args.length: 0) [2025-03-27T08:51:19.051Z] [05:45:10.490] TRACE: Read [./test.3a16b849/output/MainClassTest/lib/app/MainClassTest.cfg] jpackage cfg file [2025-03-27T08:51:19.051Z] [05:45:10.492] TRACE: assertTrue(): Check section [Application] is found in [./test.3a16b849/output/MainClassTest/lib/app/MainClassTest.cfg] cfg file [2025-03-27T08:51:19.051Z] [05:45:10.493] TRACE: assertNotNull(test.Hello): Check key [app.mainclass] is found in [Application] section of [./test.3a16b849/output/MainClassTest/lib/app/MainClassTest.cfg] cfg file [2025-03-27T08:51:19.051Z] [05:45:10.493] TRACE: assertNotNull(test.Hello): Check "app.mainclass" property is set [2025-03-27T08:51:19.051Z] [05:45:10.494] TRACE: assertTrue(): Check section [Application] is found in [./test.3a16b849/output/MainClassTest/lib/app/MainClassTest.cfg] cfg file [2025-03-27T08:51:19.051Z] [05:45:10.494] TRACE: assertNotNull($APPDIR/hello.jar): Check key [app.classpath] is found in [Application] section of [./test.3a16b849/output/MainClassTest/lib/app/MainClassTest.cfg] cfg file [2025-03-27T08:51:19.051Z] [05:45:10.495] TRACE: assertNotNull($APPDIR/hello.jar): Check "app.classpath" property is set [2025-03-27T08:51:19.051Z] [05:45:10.495] TRACE: assertNull(): Check "app.mainjar" property is NOT set [2025-03-27T08:51:19.051Z] [05:45:10.496] TRACE: Deleting [./test.3a16b849] directory recursively [2025-03-27T08:51:19.051Z] [05:45:10.831] [ OK ] MainClassTest(modular=n; main-class=y; jar-main-class=b; jlink=y).test; checks=26 [2025-03-27T08:51:19.051Z] [05:45:10.832] [ RUN ] MainClassTest(modular=n; main-class=y; jar-main-class=n; jlink=n).test [2025-03-27T08:51:19.051Z] [05:45:10.840] TRACE: exec: Execute tool provider [javac -d ./test.870892f2/jar-workdir ./test.870892f2/src/test/Hello.java](4)... [2025-03-27T08:51:19.051Z] [05:45:11.297] TRACE: exec: Done. Exit code: 0 [2025-03-27T08:51:19.051Z] [05:45:11.298] TRACE: assertEquals(0): Check command tool provider [javac -d ./test.870892f2/jar-workdir ./test.870892f2/src/test/Hello.java](4) exited with 0 code [2025-03-27T08:51:19.051Z] [05:45:11.301] TRACE: exec: Execute tool provider [jar -c -f ./test.870892f2/input/hello.jar -C ./test.870892f2/jar-workdir .](7)... [2025-03-27T08:51:19.051Z] [05:45:11.309] TRACE: exec: Done. Exit code: 0 [2025-03-27T08:51:19.051Z] [05:45:11.310] TRACE: assertEquals(0): Check command tool provider [jar -c -f ./test.870892f2/input/hello.jar -C ./test.870892f2/jar-workdir .](7) exited with 0 code [2025-03-27T08:51:19.051Z] [05:45:11.314] TRACE: exec: Execute [/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/jdkbinary/j2sdk-image/bin/jpackage --input ./test.870892f2/input --dest ./test.870892f2/output --name MainClassTest --type app-image --main-jar hello.jar --main-class test.Hello --runtime-image /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/jdkbinary/j2sdk-image -J-Djlink.debug=true --verbose](17); inherit I/O... [2025-03-27T08:51:19.051Z] [05:45:12.704] Running dpkg [2025-03-27T08:51:19.051Z] [05:45:12.801] Command [PID: 3400825]: [2025-03-27T08:51:19.051Z] dpkg --print-architecture [2025-03-27T08:51:19.051Z] [05:45:12.802] Output: [2025-03-27T08:51:19.051Z] riscv64 [2025-03-27T08:51:19.051Z] [05:45:12.828] Returned: 0 [2025-03-27T08:51:19.051Z] [2025-03-27T08:51:19.051Z] [05:45:12.960] Creating app package: MainClassTest in /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/aqa-tests/TKG/output_17430396561725/jdk_tools_1/work/scratch/2/./test.870892f2/output [2025-03-27T08:51:19.051Z] [05:45:18.646] Using default package resource JavaApp.png [icon] (add MainClassTest.png to the resource-dir to customize). [2025-03-27T08:51:19.051Z] [05:45:18.863] Succeeded in building Linux Application Image package [2025-03-27T08:51:19.051Z] [05:45:18.903] TRACE: exec: Done. Exit code: 0 [2025-03-27T08:51:19.051Z] [05:45:18.904] TRACE: assertEquals(0): Check command [/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/jdkbinary/j2sdk-image/bin/jpackage --input ./test.870892f2/input --dest ./test.870892f2/output --name MainClassTest --type app-image --main-jar hello.jar --main-class test.Hello --runtime-image /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/jdkbinary/j2sdk-image -J-Djlink.debug=true --verbose](17) exited with 0 code [2025-03-27T08:51:19.051Z] [05:45:18.930] TRACE: assertStringListEquals(): Check there is only one file with [.jpackage.xml] name in the package [2025-03-27T08:51:19.051Z] [05:45:18.931] TRACE: assertStringListEquals(1, ./test.870892f2/output/MainClassTest/lib/app/.jpackage.xml) [2025-03-27T08:51:19.051Z] [05:45:18.951] TRACE: assertStringListEquals(): Check there are no files with [.package] name in the package [2025-03-27T08:51:19.051Z] [05:45:18.952] TRACE: assertTrue(): Check [./test.870892f2/output/MainClassTest/lib/runtime] path exists [2025-03-27T08:51:19.051Z] [05:45:18.952] TRACE: assertTrue(): Check [./test.870892f2/output/MainClassTest/lib/runtime] is a directory [2025-03-27T08:51:19.051Z] [05:45:18.953] TRACE: assertTrue(): Check [./test.870892f2/output/MainClassTest/bin/MainClassTest] path exists [2025-03-27T08:51:19.051Z] [05:45:18.953] TRACE: assertTrue(): Check [./test.870892f2/output/MainClassTest/bin/MainClassTest] is a file [2025-03-27T08:51:19.051Z] [05:45:18.954] TRACE: assertTrue(): Check [./test.870892f2/output/MainClassTest/bin/MainClassTest] file is executable [2025-03-27T08:51:19.051Z] [05:45:18.955] TRACE: assertTrue(): Check [./test.870892f2/output/MainClassTest/lib/app/MainClassTest.cfg] path exists [2025-03-27T08:51:19.051Z] [05:45:18.955] TRACE: assertTrue(): Check [./test.870892f2/output/MainClassTest/lib/app/MainClassTest.cfg] is a file [2025-03-27T08:51:19.052Z] [05:45:18.958] TRACE: exec: Execute [/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/aqa-tests/TKG/output_17430396561725/jdk_tools_1/work/scratch/2/./test.870892f2/output/MainClassTest/bin/MainClassTest](1); inherit I/O; in directory [./test.870892f2]... [2025-03-27T08:51:19.052Z] jpackage test application [2025-03-27T08:51:19.052Z] args.length: 0 [2025-03-27T08:51:19.052Z] hello: Output file: [/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/aqa-tests/TKG/output_17430396561725/jdk_tools_1/work/scratch/2/test.870892f2/appOutput.txt] [2025-03-27T08:51:19.052Z] [05:45:19.900] TRACE: exec: Done. Exit code: 0 [2025-03-27T08:51:19.052Z] [05:45:19.901] TRACE: assertEquals(0): Check command [/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/aqa-tests/TKG/output_17430396561725/jdk_tools_1/work/scratch/2/./test.870892f2/output/MainClassTest/bin/MainClassTest](1) exited with 0 code [2025-03-27T08:51:19.052Z] [05:45:19.902] TRACE: assertTrue(): Check [/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/aqa-tests/TKG/output_17430396561725/jdk_tools_1/work/scratch/2/test.870892f2/appOutput.txt] path exists [2025-03-27T08:51:19.052Z] [05:45:19.902] TRACE: assertTrue(): Check [/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/aqa-tests/TKG/output_17430396561725/jdk_tools_1/work/scratch/2/test.870892f2/appOutput.txt] is a file [2025-03-27T08:51:19.052Z] [05:45:19.904] TRACE: assertStringListEquals(): Check contents of [/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/aqa-tests/TKG/output_17430396561725/jdk_tools_1/work/scratch/2/test.870892f2/appOutput.txt] file [2025-03-27T08:51:19.052Z] [05:45:19.905] TRACE: assertStringListEquals(1, jpackage test application) [2025-03-27T08:51:19.052Z] [05:45:19.905] TRACE: assertStringListEquals(2, args.length: 0) [2025-03-27T08:51:19.052Z] [05:45:19.907] TRACE: Read [./test.870892f2/output/MainClassTest/lib/app/MainClassTest.cfg] jpackage cfg file [2025-03-27T08:51:19.052Z] [05:45:19.909] TRACE: assertTrue(): Check section [Application] is found in [./test.870892f2/output/MainClassTest/lib/app/MainClassTest.cfg] cfg file [2025-03-27T08:51:19.052Z] [05:45:19.909] TRACE: assertNotNull(test.Hello): Check key [app.mainclass] is found in [Application] section of [./test.870892f2/output/MainClassTest/lib/app/MainClassTest.cfg] cfg file [2025-03-27T08:51:19.052Z] [05:45:19.910] TRACE: assertNotNull(test.Hello): Check "app.mainclass" property is set [2025-03-27T08:51:19.052Z] [05:45:19.911] TRACE: assertTrue(): Check section [Application] is found in [./test.870892f2/output/MainClassTest/lib/app/MainClassTest.cfg] cfg file [2025-03-27T08:51:19.052Z] [05:45:19.911] TRACE: assertNotNull($APPDIR/hello.jar): Check key [app.classpath] is found in [Application] section of [./test.870892f2/output/MainClassTest/lib/app/MainClassTest.cfg] cfg file [2025-03-27T08:51:19.052Z] [05:45:19.912] TRACE: assertNotNull($APPDIR/hello.jar): Check "app.classpath" property is set [2025-03-27T08:51:19.052Z] [05:45:19.912] TRACE: assertNull(): Check "app.mainjar" property is NOT set [2025-03-27T08:51:19.052Z] [05:45:19.913] TRACE: Deleting [./test.870892f2] directory recursively [2025-03-27T08:51:19.052Z] [05:45:21.147] [ OK ] MainClassTest(modular=n; main-class=y; jar-main-class=n; jlink=n).test; checks=23 [2025-03-27T08:51:19.052Z] [05:45:21.148] [ RUN ] MainClassTest(modular=n; main-class=y; jar-main-class=n; jlink=y).test [2025-03-27T08:51:19.052Z] [05:45:21.157] TRACE: exec: Execute tool provider [javac -d ./test.cced1ebd/jar-workdir ./test.cced1ebd/src/test/Hello.java](4)... [2025-03-27T08:51:19.052Z] [05:45:21.655] TRACE: exec: Done. Exit code: 0 [2025-03-27T08:51:19.052Z] [05:45:21.657] TRACE: assertEquals(0): Check command tool provider [javac -d ./test.cced1ebd/jar-workdir ./test.cced1ebd/src/test/Hello.java](4) exited with 0 code [2025-03-27T08:51:19.052Z] [05:45:21.660] TRACE: exec: Execute tool provider [jar -c -f ./test.cced1ebd/input/hello.jar -C ./test.cced1ebd/jar-workdir .](7)... [2025-03-27T08:51:19.052Z] [05:45:21.667] TRACE: exec: Done. Exit code: 0 [2025-03-27T08:51:19.052Z] [05:45:21.668] TRACE: assertEquals(0): Check command tool provider [jar -c -f ./test.cced1ebd/input/hello.jar -C ./test.cced1ebd/jar-workdir .](7) exited with 0 code [2025-03-27T08:51:19.052Z] [05:45:21.673] TRACE: exec: Execute [/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/jdkbinary/j2sdk-image/bin/jpackage --input ./test.cced1ebd/input --dest ./test.cced1ebd/output --name MainClassTest --type app-image --main-jar hello.jar --main-class test.Hello -J-Djlink.debug=true --verbose](15); inherit I/O... [2025-03-27T08:51:19.052Z] Timeout signalled after 11520 seconds [2025-03-27T08:51:19.052Z] STDERR: [2025-03-27T08:51:19.052Z] rerun: [2025-03-27T08:51:19.052Z] cd /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/aqa-tests/TKG/output_17430396561725/jdk_tools_1/work/scratch/2 && \ [2025-03-27T08:51:19.052Z] DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1001/bus \ [2025-03-27T08:51:19.052Z] DISPLAY=:0 \ [2025-03-27T08:51:19.052Z] HOME=/home/jenkins \ [2025-03-27T08:51:19.052Z] LANG=en_US.UTF-8 \ [2025-03-27T08:51:19.052Z] PATH=/bin:/usr/bin:/usr/sbin \ [2025-03-27T08:51:19.052Z] XDG_RUNTIME_DIR=/run/user/1001 \ [2025-03-27T08:51:19.052Z] XDG_SESSION_CLASS=user \ [2025-03-27T08:51:19.052Z] XDG_SESSION_ID=7859 \ [2025-03-27T08:51:19.052Z] XDG_SESSION_TYPE=tty \ [2025-03-27T08:51:19.052Z] CLASSPATH=/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/aqa-tests/TKG/output_17430396561725/jdk_tools_1/work/classes/2/tools/jpackage/share/MainClassTest.d:/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/aqa-tests/openjdk/openjdk-jdk/test/jdk/tools/jpackage/share:/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/aqa-tests/TKG/output_17430396561725/jdk_tools_1/work/classes/2/test/jdk/tools/jpackage/helpers:/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/aqa-tests/openjdk/openjdk-jdk/test/jdk/tools/jpackage/helpers:/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/jvmtest/openjdk/jtreg/lib/javatest.jar:/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/jvmtest/openjdk/jtreg/lib/jtreg.jar \ [2025-03-27T08:51:19.052Z] /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/jdkbinary/j2sdk-image/bin/java \ [2025-03-27T08:51:19.052Z] -Dtest.vm.opts='-ea -esa -Xmx512m -XX:-UseCompressedOops -Djava.awt.headless=true' \ [2025-03-27T08:51:19.052Z] -Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx512m -J-XX:-UseCompressedOops -J-Djava.awt.headless=true' \ [2025-03-27T08:51:19.052Z] -Dtest.compiler.opts= \ [2025-03-27T08:51:19.052Z] -Dtest.java.opts= \ [2025-03-27T08:51:19.052Z] -Dtest.jdk=/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/jdkbinary/j2sdk-image \ [2025-03-27T08:51:19.052Z] -Dcompile.jdk=/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/jdkbinary/j2sdk-image \ [2025-03-27T08:51:19.052Z] -Dtest.timeout.factor=16.0 \ [2025-03-27T08:51:19.052Z] -Dtest.nativepath=/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/jdkbinary/openjdk-test-image/jdk/jtreg/native \ [2025-03-27T08:51:19.052Z] -Dtest.root=/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/aqa-tests/openjdk/openjdk-jdk/test/jdk \ [2025-03-27T08:51:19.052Z] -Dtest.name=tools/jpackage/share/MainClassTest.java \ [2025-03-27T08:51:19.052Z] -Dtest.file=/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/aqa-tests/openjdk/openjdk-jdk/test/jdk/tools/jpackage/share/MainClassTest.java \ [2025-03-27T08:51:19.052Z] -Dtest.src=/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/aqa-tests/openjdk/openjdk-jdk/test/jdk/tools/jpackage/share \ [2025-03-27T08:51:19.052Z] -Dtest.src.path=/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/aqa-tests/openjdk/openjdk-jdk/test/jdk/tools/jpackage/share:/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/aqa-tests/openjdk/openjdk-jdk/test/jdk/tools/jpackage/helpers \ [2025-03-27T08:51:19.052Z] -Dtest.classes=/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/aqa-tests/TKG/output_17430396561725/jdk_tools_1/work/classes/2/tools/jpackage/share/MainClassTest.d \ [2025-03-27T08:51:19.052Z] -Dtest.class.path=/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/aqa-tests/TKG/output_17430396561725/jdk_tools_1/work/classes/2/tools/jpackage/share/MainClassTest.d:/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/aqa-tests/TKG/output_17430396561725/jdk_tools_1/work/classes/2/test/jdk/tools/jpackage/helpers \ [2025-03-27T08:51:19.052Z] -Dtest.class.path.prefix=/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/aqa-tests/TKG/output_17430396561725/jdk_tools_1/work/classes/2/tools/jpackage/share/MainClassTest.d:/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/aqa-tests/openjdk/openjdk-jdk/test/jdk/tools/jpackage/share:/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/aqa-tests/TKG/output_17430396561725/jdk_tools_1/work/classes/2/test/jdk/tools/jpackage/helpers \ [2025-03-27T08:51:19.052Z] -Dtest.modules='jdk.jpackage/jdk.jpackage.internal:+open java.base/jdk.internal.util' \ [2025-03-27T08:51:19.052Z] --add-modules jdk.jpackage,java.base \ [2025-03-27T08:51:19.052Z] --add-exports jdk.jpackage/jdk.jpackage.internal=ALL-UNNAMED \ [2025-03-27T08:51:19.052Z] --add-opens jdk.jpackage/jdk.jpackage.internal=ALL-UNNAMED \ [2025-03-27T08:51:19.052Z] --add-exports java.base/jdk.internal.util=ALL-UNNAMED \ [2025-03-27T08:51:19.052Z] -ea \ [2025-03-27T08:51:19.052Z] -esa \ [2025-03-27T08:51:19.052Z] -Xmx512m \ [2025-03-27T08:51:19.052Z] -XX:-UseCompressedOops \ [2025-03-27T08:51:19.052Z] -Djava.awt.headless=true \ [2025-03-27T08:51:19.052Z] -Djava.library.path=/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/jdkbinary/openjdk-test-image/jdk/jtreg/native \ [2025-03-27T08:51:19.052Z] -Xmx512m \ [2025-03-27T08:51:19.052Z] com.sun.javatest.regtest.agent.MainWrapper /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/aqa-tests/TKG/output_17430396561725/jdk_tools_1/work/tools/jpackage/share/MainClassTest.d/main.0.jta --jpt-run=MainClassTest [2025-03-27T08:51:19.052Z] [2025-03-27T08:51:19.052Z] TEST RESULT: Error. Program `/home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/jdkbinary/j2sdk-image/bin/java' timed out (timeout set to 11520000ms, elapsed time including timeout handling was 11521189ms). [2025-03-27T08:51:19.052Z] -------------------------------------------------- [2025-03-27T09:56:48.805Z] Test results: passed: 296; error: 1 [2025-03-27T09:57:28.792Z] Report written to /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/aqa-tests/TKG/output_17430396561725/jdk_tools_1/report/html/report.html [2025-03-27T09:57:28.792Z] Results written to /home/jenkins/workspace/Test_openjdk21_hs_extended.openjdk_riscv64_linux_testList_1/aqa-tests/TKG/output_17430396561725/jdk_tools_1/work [2025-03-27T09:57:28.792Z] Error: Some tests failed or other problems occurred. [2025-03-27T09:57:29.498Z] ----------------------------------- [2025-03-27T09:57:29.498Z] jdk_tools_1_FAILED [2025-03-27T09:57:29.498Z] ----------------------------------- [2025-03-27T09:57:29.498Z] [2025-03-27T09:57:29.498Z] TEST TEARDOWN: [2025-03-27T09:57:29.498Z] Nothing to be done for teardown. [2025-03-27T09:57:29.498Z] jdk_tools_1 Finish Time: Thu Mar 27 09:57:29 2025 Epoch Time (ms): 1743069449252