PatModImg_AppMod_1

[2026-01-11T20:14:10.630Z] Running test PatModImg_AppMod_1 ... [2026-01-11T20:14:10.630Z] =============================================== [2026-01-11T20:14:10.961Z] PatModImg_AppMod_1 Start Time: Sun Jan 11 20:14:10 2026 Epoch Time (ms): 1768162450649 [2026-01-11T20:14:10.961Z] variation: Mode650 [2026-01-11T20:14:10.961Z] JVM_OPTIONS: -XX:-UseCompressedOops [2026-01-11T20:14:10.961Z] { \ [2026-01-11T20:14:10.961Z] echo ""; echo "TEST SETUP:"; \ [2026-01-11T20:14:10.961Z] echo "Nothing to be done for setup."; \ [2026-01-11T20:14:10.961Z] mkdir -p "/home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17681613555219/PatModImg_AppMod_1"; \ [2026-01-11T20:14:10.961Z] cd "/home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17681613555219/PatModImg_AppMod_1"; \ [2026-01-11T20:14:10.961Z] echo ""; echo "TESTING:"; \ [2026-01-11T20:14:10.961Z] perl /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF/stf.core/scripts/stf.pl -test-root="/home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF;/home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../../jvmtest/system/modularity/..//aqa-systemtest""" -systemtest-prereqs="/home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/../../externalDependency/system_lib/" -java-args=' -XX:-UseCompressedOops ' -results-root="/home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17681613555219/PatModImg_AppMod_1" -test=PatModImgTest -test-args="variant=AppMod"; \ [2026-01-11T20:14:10.961Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatModImg_AppMod_1""_PASSED"; echo "-----------------------------------"; cd /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/..; rm -f -r "/home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17681613555219/PatModImg_AppMod_1"; else echo "-----------------------------------"; echo "PatModImg_AppMod_1""_FAILED"; echo "-----------------------------------"; fi; \ [2026-01-11T20:14:10.961Z] echo ""; echo "TEST TEARDOWN:"; \ [2026-01-11T20:14:10.961Z] echo "Nothing to be done for teardown."; \ [2026-01-11T20:14:10.961Z] } 2>&1 | tee -a "/home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17681613555219/TestTargetResult"; [2026-01-11T20:14:10.961Z] [2026-01-11T20:14:10.961Z] TEST SETUP: [2026-01-11T20:14:10.961Z] Nothing to be done for setup. [2026-01-11T20:14:10.961Z] [2026-01-11T20:14:10.961Z] TESTING: [2026-01-11T20:14:10.961Z] STF 20:14:10.914 - ========================= S T F ========================= [2026-01-11T20:14:10.961Z] systemtest-prereqs has been processed, and set to: /home/jenkins/externalDependency/system_libRetrieving amount of free space on drive containing /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17681613555219/PatModImg_AppMod_1 [2026-01-11T20:14:11.303Z] There is 77171 Mb free [2026-01-11T20:14:11.303Z] STF 20:14:10.936 - ================== G E N E R A T I O N ================== [2026-01-11T20:14:11.303Z] STF 20:14:10.941 - Checking JVM: /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image [2026-01-11T20:14:11.303Z] STF 20:14:10.942 - Starting process to generate scripts: /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/bin/java -Dlog4j.skipJansi=true -Djava.system.class.loader=net.adoptopenjdk.stf.runner.StfClassLoader -Dload.agent.path=/home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/STF/stf.core/scripts/../../stf.load/bin/stf.load.jar -classpath /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/../../externalDependency/system_lib//asm/asm.jar:/home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/../../externalDependency/system_lib//asm/asm-commons.jar:/home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/../../externalDependency/system_lib//log4j/log4j-api.jar:/home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/../../externalDependency/system_lib//log4j/log4j-core.jar:/home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "/home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17681613555219/PatModImg_AppMod_1/20260111-201410-PatModImgTest/stf_parameters.properties, , /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "/home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17681613555219/PatModImg_AppMod_1/20260111-201410-PatModImgTest" [2026-01-11T20:14:11.303Z] GEN [0.019s][warning][cds] Archived non-system classes are disabled because the java.system.class.loader property is specified (value = "net.adoptopenjdk.stf.runner.StfClassLoader"). To use archived non-system classes, this property must not be set [2026-01-11T20:14:16.105Z] GEN 20:14:15.489 - Found test. Project: 'openjdk.test.modularity' class: 'PatModImgTest.class' Dir: '/home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin' [2026-01-11T20:14:16.105Z] GEN 20:14:15.523 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModImgTest' [2026-01-11T20:14:16.105Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2026-01-11T20:14:16.105Z] GEN /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayService [2026-01-11T20:14:16.105Z] GEN /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper [2026-01-11T20:14:16.105Z] GEN /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl1 [2026-01-11T20:14:16.105Z] GEN /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet [2026-01-11T20:14:16.105Z] GEN /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello [2026-01-11T20:14:16.105Z] GEN /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola [2026-01-11T20:14:16.105Z] GEN /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl2 [2026-01-11T20:14:16.105Z] GEN /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hi [2026-01-11T20:14:16.105Z] GEN /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override [2026-01-11T20:14:16.105Z] GEN /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override-new [2026-01-11T20:14:16.105Z] GEN /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl3 [2026-01-11T20:14:16.105Z] GEN /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl4 [2026-01-11T20:14:16.105Z] GEN /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common [2026-01-11T20:14:16.105Z] GEN /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests [2026-01-11T20:14:16.105Z] GEN /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin [2026-01-11T20:14:16.105Z] GEN /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/STF/stf.core/bin [2026-01-11T20:14:16.105Z] GEN /home/jenkins/externalDependency/system_lib/log4j/log4j-api.jar [2026-01-11T20:14:16.105Z] GEN /home/jenkins/externalDependency/system_lib/log4j/log4j-core.jar [2026-01-11T20:14:16.105Z] GEN /home/jenkins/externalDependency/system_lib/junit/junit.jar [2026-01-11T20:14:16.441Z] GEN 20:14:16.164 - Using Mode NoOptions. Values = '' [2026-01-11T20:14:16.780Z] GEN 20:14:16.452 - [2026-01-11T20:14:16.780Z] GEN 20:14:16.453 - Test command summary: [2026-01-11T20:14:16.780Z] GEN 20:14:16.455 - Step Stage Command Description [2026-01-11T20:14:16.780Z] GEN 20:14:16.456 - -----+--------+-----------------+------------ [2026-01-11T20:14:16.780Z] GEN 20:14:16.457 - 1 execute jar Create com.hello jar [2026-01-11T20:14:16.780Z] GEN 20:14:16.458 - 2 execute jar Create com.hola jar [2026-01-11T20:14:16.780Z] GEN 20:14:16.458 - 3 execute jar Create com.helper jar [2026-01-11T20:14:16.780Z] GEN 20:14:16.459 - 4 execute jar Create com.discreet jar [2026-01-11T20:14:16.780Z] GEN 20:14:16.460 - 5 execute jar Create tests jar [2026-01-11T20:14:16.780Z] GEN 20:14:16.461 - 6 execute jlink Create runtime image for PatchModule test [2026-01-11T20:14:16.780Z] GEN 20:14:16.461 - 7 execute jar Create com.hello jar [2026-01-11T20:14:16.780Z] GEN 20:14:16.462 - 8 execute jar create java.xml.jar [2026-01-11T20:14:16.780Z] GEN 20:14:16.462 - 9 execute Run java Verify if we can patch an Application module using exploded directory [2026-01-11T20:14:16.780Z] GEN 20:14:16.463 - 10 execute Run java Verify if we can patch an Application module using modular jar [2026-01-11T20:14:16.780Z] STF 20:14:16.584 - [2026-01-11T20:14:16.780Z] STF 20:14:16.585 - Script generation completed [2026-01-11T20:14:16.780Z] STF 20:14:16.585 - [2026-01-11T20:14:16.780Z] STF 20:14:16.587 - [2026-01-11T20:14:16.780Z] STF 20:14:16.587 - ======================= S E T U P ======================= [2026-01-11T20:14:16.780Z] STF 20:14:16.588 - Running setup: perl /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17681613555219/PatModImg_AppMod_1/20260111-201410-PatModImgTest/setUp.pl [2026-01-11T20:14:17.116Z] STF 20:14:16.820 - SETUP stage completed [2026-01-11T20:14:17.116Z] STF 20:14:16.832 - [2026-01-11T20:14:17.116Z] STF 20:14:16.832 - ==================== E X E C U T E - ==================== [2026-01-11T20:14:17.116Z] STF 20:14:16.832 - Running execute: perl /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17681613555219/PatModImg_AppMod_1/20260111-201410-PatModImgTest/execute.pl [2026-01-11T20:14:17.116Z] STF 20:14:17.069 - [2026-01-11T20:14:17.116Z] STF 20:14:17.070 - Java version [2026-01-11T20:14:17.116Z] STF 20:14:17.070 - Running: /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/bin/java -version [2026-01-11T20:14:17.460Z] openjdk version "25.0.3-beta" 2026-04-21 [2026-01-11T20:14:17.461Z] OpenJDK Runtime Environment (build 25.0.3-beta-202601101551) [2026-01-11T20:14:17.461Z] OpenJDK 64-Bit Server VM (build 25.0.3-beta-202601101551, mixed mode, sharing) [2026-01-11T20:14:17.461Z] STF 20:14:17.280 - [2026-01-11T20:14:17.461Z] STF 20:14:17.280 - +------ Step 1 - Create com.hello jar [2026-01-11T20:14:17.461Z] STF 20:14:17.280 - | Create modular jar [2026-01-11T20:14:17.461Z] STF 20:14:17.280 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2026-01-11T20:14:17.461Z] STF 20:14:17.280 - | ModuleVersion: null [2026-01-11T20:14:17.461Z] STF 20:14:17.280 - | MainClass: null [2026-01-11T20:14:17.461Z] STF 20:14:17.280 - | HashModules: null [2026-01-11T20:14:17.461Z] STF 20:14:17.280 - | [2026-01-11T20:14:17.461Z] STF 20:14:17.282 - Running command: /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17681613555219/PatModImg_AppMod_1/20260111-201410-PatModImgTest/modules/1.com.hello.jar -C /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello . [2026-01-11T20:14:17.461Z] STF 20:14:17.282 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17681613555219/PatModImg_AppMod_1/20260111-201410-PatModImgTest/results/1.CMJ.stderr [2026-01-11T20:14:17.461Z] STF 20:14:17.282 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17681613555219/PatModImg_AppMod_1/20260111-201410-PatModImgTest/results/1.CMJ.stdout [2026-01-11T20:14:17.461Z] STF 20:14:17.322 - Monitoring processes: CMJ [2026-01-11T20:14:18.623Z] STF 20:14:18.345 - Monitoring Report Summary: [2026-01-11T20:14:18.623Z] STF 20:14:18.345 - o Process CMJ ended with the expected exit code (0) [2026-01-11T20:14:18.623Z] STF 20:14:18.346 - Created modular jar: 1.com.hello.jar [2026-01-11T20:14:18.623Z] STF 20:14:18.346 - [2026-01-11T20:14:18.623Z] STF 20:14:18.346 - +------ Step 2 - Create com.hola jar [2026-01-11T20:14:18.623Z] STF 20:14:18.346 - | Create modular jar [2026-01-11T20:14:18.623Z] STF 20:14:18.346 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2026-01-11T20:14:18.623Z] STF 20:14:18.346 - | ModuleVersion: null [2026-01-11T20:14:18.623Z] STF 20:14:18.346 - | MainClass: null [2026-01-11T20:14:18.623Z] STF 20:14:18.346 - | HashModules: null [2026-01-11T20:14:18.623Z] STF 20:14:18.347 - | [2026-01-11T20:14:18.623Z] STF 20:14:18.347 - Running command: /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17681613555219/PatModImg_AppMod_1/20260111-201410-PatModImgTest/modules/2.com.hola.jar -C /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola . [2026-01-11T20:14:18.623Z] STF 20:14:18.347 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17681613555219/PatModImg_AppMod_1/20260111-201410-PatModImgTest/results/2.CMJ.stderr [2026-01-11T20:14:18.623Z] STF 20:14:18.347 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17681613555219/PatModImg_AppMod_1/20260111-201410-PatModImgTest/results/2.CMJ.stdout [2026-01-11T20:14:18.623Z] STF 20:14:18.351 - Monitoring processes: CMJ [2026-01-11T20:14:19.795Z] STF 20:14:19.380 - Monitoring Report Summary: [2026-01-11T20:14:19.795Z] STF 20:14:19.380 - o Process CMJ ended with the expected exit code (0) [2026-01-11T20:14:19.795Z] STF 20:14:19.381 - Created modular jar: 2.com.hola.jar [2026-01-11T20:14:19.795Z] STF 20:14:19.381 - [2026-01-11T20:14:19.795Z] STF 20:14:19.381 - +------ Step 3 - Create com.helper jar [2026-01-11T20:14:19.795Z] STF 20:14:19.381 - | Create modular jar [2026-01-11T20:14:19.795Z] STF 20:14:19.381 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2026-01-11T20:14:19.795Z] STF 20:14:19.381 - | ModuleVersion: null [2026-01-11T20:14:19.795Z] STF 20:14:19.381 - | MainClass: null [2026-01-11T20:14:19.796Z] STF 20:14:19.381 - | HashModules: null [2026-01-11T20:14:19.796Z] STF 20:14:19.381 - | [2026-01-11T20:14:19.796Z] STF 20:14:19.382 - Running command: /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17681613555219/PatModImg_AppMod_1/20260111-201410-PatModImgTest/modules/3.com.helper.jar -C /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper . [2026-01-11T20:14:19.796Z] STF 20:14:19.382 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17681613555219/PatModImg_AppMod_1/20260111-201410-PatModImgTest/results/3.CMJ.stderr [2026-01-11T20:14:19.796Z] STF 20:14:19.383 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17681613555219/PatModImg_AppMod_1/20260111-201410-PatModImgTest/results/3.CMJ.stdout [2026-01-11T20:14:19.796Z] STF 20:14:19.389 - Monitoring processes: CMJ [2026-01-11T20:14:20.529Z] STF 20:14:20.376 - Monitoring Report Summary: [2026-01-11T20:14:20.529Z] STF 20:14:20.376 - o Process CMJ ended with the expected exit code (0) [2026-01-11T20:14:20.529Z] STF 20:14:20.377 - Created modular jar: 3.com.helper.jar [2026-01-11T20:14:20.529Z] STF 20:14:20.377 - [2026-01-11T20:14:20.529Z] STF 20:14:20.377 - +------ Step 4 - Create com.discreet jar [2026-01-11T20:14:20.529Z] STF 20:14:20.377 - | Create modular jar [2026-01-11T20:14:20.529Z] STF 20:14:20.377 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2026-01-11T20:14:20.529Z] STF 20:14:20.377 - | ModuleVersion: null [2026-01-11T20:14:20.529Z] STF 20:14:20.377 - | MainClass: null [2026-01-11T20:14:20.529Z] STF 20:14:20.378 - | HashModules: null [2026-01-11T20:14:20.529Z] STF 20:14:20.378 - | [2026-01-11T20:14:20.529Z] STF 20:14:20.378 - Running command: /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17681613555219/PatModImg_AppMod_1/20260111-201410-PatModImgTest/modules/4.com.discreet.jar -C /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet . [2026-01-11T20:14:20.529Z] STF 20:14:20.379 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17681613555219/PatModImg_AppMod_1/20260111-201410-PatModImgTest/results/4.CMJ.stderr [2026-01-11T20:14:20.529Z] STF 20:14:20.379 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17681613555219/PatModImg_AppMod_1/20260111-201410-PatModImgTest/results/4.CMJ.stdout [2026-01-11T20:14:20.529Z] STF 20:14:20.385 - Monitoring processes: CMJ [2026-01-11T20:14:21.690Z] STF 20:14:21.426 - Monitoring Report Summary: [2026-01-11T20:14:21.690Z] STF 20:14:21.427 - o Process CMJ ended with the expected exit code (0) [2026-01-11T20:14:21.690Z] STF 20:14:21.427 - Created modular jar: 4.com.discreet.jar [2026-01-11T20:14:21.690Z] STF 20:14:21.428 - [2026-01-11T20:14:21.690Z] STF 20:14:21.428 - +------ Step 5 - Create tests jar [2026-01-11T20:14:21.690Z] STF 20:14:21.428 - | Create modular jar [2026-01-11T20:14:21.690Z] STF 20:14:21.428 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2026-01-11T20:14:21.690Z] STF 20:14:21.428 - | ModuleVersion: null [2026-01-11T20:14:21.690Z] STF 20:14:21.428 - | MainClass: null [2026-01-11T20:14:21.690Z] STF 20:14:21.428 - | HashModules: null [2026-01-11T20:14:21.690Z] STF 20:14:21.428 - | [2026-01-11T20:14:21.690Z] STF 20:14:21.429 - Running command: /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17681613555219/PatModImg_AppMod_1/20260111-201410-PatModImgTest/modules/5.com.test.jar -C /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test . [2026-01-11T20:14:21.690Z] STF 20:14:21.429 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17681613555219/PatModImg_AppMod_1/20260111-201410-PatModImgTest/results/5.CMJ.stderr [2026-01-11T20:14:21.690Z] STF 20:14:21.429 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17681613555219/PatModImg_AppMod_1/20260111-201410-PatModImgTest/results/5.CMJ.stdout [2026-01-11T20:14:21.690Z] STF 20:14:21.434 - Monitoring processes: CMJ [2026-01-11T20:14:22.861Z] STF 20:14:22.450 - Monitoring Report Summary: [2026-01-11T20:14:22.861Z] STF 20:14:22.450 - o Process CMJ ended with the expected exit code (0) [2026-01-11T20:14:22.861Z] STF 20:14:22.451 - Created modular jar: 5.com.test.jar [2026-01-11T20:14:22.861Z] STF 20:14:22.451 - [2026-01-11T20:14:22.861Z] STF 20:14:22.451 - +------ Step 6 - Create runtime image for PatchModule test [2026-01-11T20:14:22.861Z] STF 20:14:22.451 - | Run jlink to create runtime image [2026-01-11T20:14:22.861Z] STF 20:14:22.451 - | ImageName: XpJVM [2026-01-11T20:14:22.861Z] STF 20:14:22.451 - | [2026-01-11T20:14:22.861Z] STF 20:14:22.452 - Running command: /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/bin/jlink --module-path /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/jmods:/home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17681613555219/PatModImg_AppMod_1/20260111-201410-PatModImgTest/modules --add-modules com.hello,com.hola,com.test,com.helper,com.discreet --output /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17681613555219/PatModImg_AppMod_1/20260111-201410-PatModImgTest/tmp/6.XpJVM [2026-01-11T20:14:22.861Z] STF 20:14:22.452 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17681613555219/PatModImg_AppMod_1/20260111-201410-PatModImgTest/results/6.JLNK.stderr [2026-01-11T20:14:22.861Z] STF 20:14:22.452 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17681613555219/PatModImg_AppMod_1/20260111-201410-PatModImgTest/results/6.JLNK.stdout [2026-01-11T20:14:22.861Z] STF 20:14:22.456 - Monitoring processes: JLNK [2026-01-11T20:14:33.753Z] STF 20:14:31.988 - Monitoring Report Summary: [2026-01-11T20:14:33.753Z] STF 20:14:31.989 - o Process JLNK ended with the expected exit code (0) [2026-01-11T20:14:33.753Z] STF 20:14:31.993 - [2026-01-11T20:14:33.753Z] STF 20:14:31.994 - +------ Step 7 - Create com.hello jar [2026-01-11T20:14:33.753Z] STF 20:14:31.994 - | Create modular jar [2026-01-11T20:14:33.753Z] STF 20:14:31.995 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2026-01-11T20:14:33.753Z] STF 20:14:31.995 - | ModuleVersion: null [2026-01-11T20:14:33.753Z] STF 20:14:31.995 - | MainClass: null [2026-01-11T20:14:33.753Z] STF 20:14:31.995 - | HashModules: null [2026-01-11T20:14:33.753Z] STF 20:14:31.996 - | [2026-01-11T20:14:33.753Z] STF 20:14:31.999 - Running command: /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17681613555219/PatModImg_AppMod_1/20260111-201410-PatModImgTest/modules/7.com.hello.jar -C /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello . [2026-01-11T20:14:33.753Z] STF 20:14:31.999 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17681613555219/PatModImg_AppMod_1/20260111-201410-PatModImgTest/results/7.CMJ.stderr [2026-01-11T20:14:33.753Z] STF 20:14:32.000 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17681613555219/PatModImg_AppMod_1/20260111-201410-PatModImgTest/results/7.CMJ.stdout [2026-01-11T20:14:33.753Z] STF 20:14:32.005 - Monitoring processes: CMJ [2026-01-11T20:14:33.753Z] STF 20:14:33.040 - Monitoring Report Summary: [2026-01-11T20:14:33.753Z] STF 20:14:33.041 - o Process CMJ ended with the expected exit code (0) [2026-01-11T20:14:33.753Z] STF 20:14:33.045 - Created modular jar: 7.com.hello.jar [2026-01-11T20:14:33.753Z] STF 20:14:33.046 - [2026-01-11T20:14:33.753Z] STF 20:14:33.047 - +------ Step 8 - create java.xml.jar [2026-01-11T20:14:33.753Z] STF 20:14:33.048 - | Create modular jar [2026-01-11T20:14:33.753Z] STF 20:14:33.048 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml [2026-01-11T20:14:33.753Z] STF 20:14:33.049 - | ModuleVersion: null [2026-01-11T20:14:33.753Z] STF 20:14:33.049 - | MainClass: null [2026-01-11T20:14:33.753Z] STF 20:14:33.050 - | HashModules: null [2026-01-11T20:14:33.753Z] STF 20:14:33.050 - | [2026-01-11T20:14:33.753Z] STF 20:14:33.055 - Running command: /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17681613555219/PatModImg_AppMod_1/20260111-201410-PatModImgTest/modules/8.java.xml.jar -C /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/java.xml . [2026-01-11T20:14:33.753Z] STF 20:14:33.055 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17681613555219/PatModImg_AppMod_1/20260111-201410-PatModImgTest/results/8.CMJ.stderr [2026-01-11T20:14:33.753Z] STF 20:14:33.056 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17681613555219/PatModImg_AppMod_1/20260111-201410-PatModImgTest/results/8.CMJ.stdout [2026-01-11T20:14:33.753Z] STF 20:14:33.063 - Monitoring processes: CMJ [2026-01-11T20:14:34.488Z] STF 20:14:34.042 - Monitoring Report Summary: [2026-01-11T20:14:34.488Z] STF 20:14:34.042 - o Process CMJ ended with the expected exit code (0) [2026-01-11T20:14:34.488Z] STF 20:14:34.043 - Created modular jar: 8.java.xml.jar [2026-01-11T20:14:34.488Z] STF 20:14:34.043 - [2026-01-11T20:14:34.488Z] STF 20:14:34.043 - +------ Step 9 - Verify if we can patch an Application module using exploded directory [2026-01-11T20:14:34.488Z] STF 20:14:34.043 - | Run foreground process [2026-01-11T20:14:34.488Z] STF 20:14:34.043 - | Program: /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17681613555219/PatModImg_AppMod_1/20260111-201410-PatModImgTest/tmp/6.XpJVM/bin/java [2026-01-11T20:14:34.488Z] STF 20:14:34.043 - | Mnemonic: OT21 [2026-01-11T20:14:34.488Z] STF 20:14:34.043 - | Echo: ECHO_ON [2026-01-11T20:14:34.488Z] STF 20:14:34.043 - | Expectation: CLEAN_RUN within 5m [2026-01-11T20:14:34.488Z] STF 20:14:34.044 - | [2026-01-11T20:14:34.488Z] STF 20:14:34.045 - Running command: /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17681613555219/PatModImg_AppMod_1/20260111-201410-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module com.hello=/home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello -XX:-UseCompressedOops -classpath /home/jenkins/externalDependency/system_lib/junit/junit.jar:/home/jenkins/externalDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingAppModule [2026-01-11T20:14:34.488Z] STF 20:14:34.045 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17681613555219/PatModImg_AppMod_1/20260111-201410-PatModImgTest/results/9.OT21.stderr [2026-01-11T20:14:34.488Z] STF 20:14:34.045 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17681613555219/PatModImg_AppMod_1/20260111-201410-PatModImgTest/results/9.OT21.stdout [2026-01-11T20:14:34.488Z] STF 20:14:34.050 - Monitoring processes: OT21 [2026-01-11T20:14:35.205Z] OT21 stderr WARNING: module-info.class ignored in patch: /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello [2026-01-11T20:14:35.205Z] OT21 JUnit version 4.12 [2026-01-11T20:14:35.923Z] OT21 . [2026-01-11T20:14:35.923Z] OT21 Time: 0.057 [2026-01-11T20:14:35.923Z] OT21 [2026-01-11T20:14:35.923Z] OT21 OK (1 test) [2026-01-11T20:14:35.923Z] OT21 [2026-01-11T20:14:35.923Z] STF 20:14:35.858 - Monitoring Report Summary: [2026-01-11T20:14:35.923Z] STF 20:14:35.858 - o Process OT21 ended with the expected exit code (0) [2026-01-11T20:14:35.923Z] STF 20:14:35.858 - [2026-01-11T20:14:35.923Z] STF 20:14:35.859 - +------ Step 10 - Verify if we can patch an Application module using modular jar [2026-01-11T20:14:35.923Z] STF 20:14:35.859 - | Run foreground process [2026-01-11T20:14:35.923Z] STF 20:14:35.859 - | Program: /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17681613555219/PatModImg_AppMod_1/20260111-201410-PatModImgTest/tmp/6.XpJVM/bin/java [2026-01-11T20:14:35.923Z] STF 20:14:35.859 - | Mnemonic: OT22 [2026-01-11T20:14:35.923Z] STF 20:14:35.859 - | Echo: ECHO_ON [2026-01-11T20:14:35.923Z] STF 20:14:35.859 - | Expectation: CLEAN_RUN within 5m [2026-01-11T20:14:35.923Z] STF 20:14:35.859 - | [2026-01-11T20:14:35.923Z] STF 20:14:35.860 - Running command: /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17681613555219/PatModImg_AppMod_1/20260111-201410-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module com.hello=/home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17681613555219/PatModImg_AppMod_1/20260111-201410-PatModImgTest/modules/7.com.hello.jar -XX:-UseCompressedOops -classpath /home/jenkins/externalDependency/system_lib/junit/junit.jar:/home/jenkins/externalDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingAppModule [2026-01-11T20:14:35.923Z] STF 20:14:35.860 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17681613555219/PatModImg_AppMod_1/20260111-201410-PatModImgTest/results/10.OT22.stderr [2026-01-11T20:14:35.923Z] STF 20:14:35.860 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17681613555219/PatModImg_AppMod_1/20260111-201410-PatModImgTest/results/10.OT22.stdout [2026-01-11T20:14:35.923Z] STF 20:14:35.864 - Monitoring processes: OT22 [2026-01-11T20:14:37.087Z] OT22 stderr WARNING: module-info.class ignored in patch: /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17681613555219/PatModImg_AppMod_1/20260111-201410-PatModImgTest/modules/7.com.hello.jar [2026-01-11T20:14:37.087Z] OT22 JUnit version 4.12 [2026-01-11T20:14:37.800Z] OT22 . [2026-01-11T20:14:37.800Z] OT22 Time: 0.042 [2026-01-11T20:14:37.800Z] OT22 [2026-01-11T20:14:37.800Z] OT22 OK (1 test) [2026-01-11T20:14:37.800Z] OT22 [2026-01-11T20:14:37.800Z] STF 20:14:37.588 - Monitoring Report Summary: [2026-01-11T20:14:37.800Z] STF 20:14:37.588 - o Process OT22 ended with the expected exit code (0) [2026-01-11T20:14:37.800Z] STF 20:14:37.591 - EXECUTE stage completed [2026-01-11T20:14:37.800Z] STF 20:14:37.718 - [2026-01-11T20:14:37.800Z] STF 20:14:37.718 - ==================== T E A R D O W N ==================== [2026-01-11T20:14:37.800Z] STF 20:14:37.719 - Running teardown: perl /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17681613555219/PatModImg_AppMod_1/20260111-201410-PatModImgTest/tearDown.pl [2026-01-11T20:14:38.216Z] STF 20:14:37.948 - TEARDOWN stage completed [2026-01-11T20:14:38.216Z] STF 20:14:37.959 - [2026-01-11T20:14:38.216Z] STF 20:14:37.959 - ===================== R E S U L T S ===================== [2026-01-11T20:14:38.216Z] STF 20:14:37.959 - Stage results: [2026-01-11T20:14:38.216Z] STF 20:14:37.959 - setUp: pass [2026-01-11T20:14:38.216Z] STF 20:14:37.959 - execute: pass [2026-01-11T20:14:38.216Z] STF 20:14:37.959 - teardown: pass [2026-01-11T20:14:38.216Z] STF 20:14:37.959 - [2026-01-11T20:14:38.216Z] STF 20:14:37.959 - Overall result: PASSED [2026-01-11T20:14:38.216Z] ----------------------------------- [2026-01-11T20:14:38.216Z] PatModImg_AppMod_1_PASSED [2026-01-11T20:14:38.216Z] ----------------------------------- [2026-01-11T20:14:38.216Z] [2026-01-11T20:14:38.216Z] TEST TEARDOWN: [2026-01-11T20:14:38.216Z] Nothing to be done for teardown. [2026-01-11T20:14:38.567Z] PatModImg_AppMod_1 Finish Time: Sun Jan 11 20:14:38 2026 Epoch Time (ms): 1768162478145