PatModImg_AppMod_0

[2025-11-23T01:43:32.584Z] Running test PatModImg_AppMod_0 ... [2025-11-23T01:43:32.584Z] =============================================== [2025-11-23T01:43:32.584Z] PatModImg_AppMod_0 Start Time: Sun Nov 23 01:43:32 2025 Epoch Time (ms): 1763862212516 [2025-11-23T01:43:32.584Z] variation: Mode150 [2025-11-23T01:43:32.584Z] JVM_OPTIONS: -XX:+UseCompressedOops [2025-11-23T01:43:32.584Z] { \ [2025-11-23T01:43:32.584Z] echo ""; echo "TEST SETUP:"; \ [2025-11-23T01:43:32.584Z] echo "Nothing to be done for setup."; \ [2025-11-23T01:43:32.584Z] mkdir -p "/home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17638617179807/PatModImg_AppMod_0"; \ [2025-11-23T01:43:32.584Z] cd "/home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17638617179807/PatModImg_AppMod_0"; \ [2025-11-23T01:43:32.584Z] echo ""; echo "TESTING:"; \ [2025-11-23T01:43:32.584Z] perl /home/jenkins/workspace/Test_openjdk26_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_openjdk26_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF;/home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../../jvmtest/system/modularity/..//aqa-systemtest""" -systemtest-prereqs="/home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/../../externalDependency/system_lib/" -java-args=' -XX:+UseCompressedOops ' -results-root="/home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17638617179807/PatModImg_AppMod_0" -test=PatModImgTest -test-args="variant=AppMod"; \ [2025-11-23T01:43:32.584Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatModImg_AppMod_0""_PASSED"; echo "-----------------------------------"; cd /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/..; rm -f -r "/home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17638617179807/PatModImg_AppMod_0"; else echo "-----------------------------------"; echo "PatModImg_AppMod_0""_FAILED"; echo "-----------------------------------"; fi; \ [2025-11-23T01:43:32.584Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-11-23T01:43:32.584Z] echo "Nothing to be done for teardown."; \ [2025-11-23T01:43:32.584Z] } 2>&1 | tee -a "/home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17638617179807/TestTargetResult"; [2025-11-23T01:43:32.584Z] [2025-11-23T01:43:32.584Z] TEST SETUP: [2025-11-23T01:43:32.584Z] Nothing to be done for setup. [2025-11-23T01:43:32.584Z] [2025-11-23T01:43:32.584Z] TESTING: [2025-11-23T01:43:32.917Z] STF 01:43:32.781 - ========================= S T F ========================= [2025-11-23T01:43:32.917Z] systemtest-prereqs has been processed, and set to: /home/jenkins/externalDependency/system_libRetrieving amount of free space on drive containing /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17638617179807/PatModImg_AppMod_0 [2025-11-23T01:43:32.917Z] There is 32385 Mb free [2025-11-23T01:43:32.918Z] STF 01:43:32.801 - ================== G E N E R A T I O N ================== [2025-11-23T01:43:32.918Z] STF 01:43:32.805 - Checking JVM: /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image [2025-11-23T01:43:32.918Z] STF 01:43:32.805 - Starting process to generate scripts: /home/jenkins/workspace/Test_openjdk26_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_openjdk26_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/STF/stf.core/scripts/../../stf.load/bin/stf.load.jar -classpath /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/../../externalDependency/system_lib//asm/asm.jar:/home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/../../externalDependency/system_lib//asm/asm-commons.jar:/home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/../../externalDependency/system_lib//log4j/log4j-api.jar:/home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/../../externalDependency/system_lib//log4j/log4j-core.jar:/home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "/home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17638617179807/PatModImg_AppMod_0/20251123-014332-PatModImgTest/stf_parameters.properties, , /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "/home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17638617179807/PatModImg_AppMod_0/20251123-014332-PatModImgTest" [2025-11-23T01:43:32.918Z] GEN [0.014s][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 [2025-11-23T01:43:37.653Z] GEN 01:43:37.224 - Found test. Project: 'openjdk.test.modularity' class: 'PatModImgTest.class' Dir: '/home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin' [2025-11-23T01:43:37.653Z] GEN 01:43:37.251 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModImgTest' [2025-11-23T01:43:37.980Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2025-11-23T01:43:37.980Z] GEN /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayService [2025-11-23T01:43:37.980Z] GEN /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper [2025-11-23T01:43:37.980Z] GEN /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl1 [2025-11-23T01:43:37.980Z] GEN /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet [2025-11-23T01:43:37.980Z] GEN /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello [2025-11-23T01:43:37.980Z] GEN /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola [2025-11-23T01:43:37.980Z] GEN /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl2 [2025-11-23T01:43:37.980Z] GEN /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hi [2025-11-23T01:43:37.980Z] GEN /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override [2025-11-23T01:43:37.980Z] GEN /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override-new [2025-11-23T01:43:37.980Z] GEN /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl3 [2025-11-23T01:43:37.980Z] GEN /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl4 [2025-11-23T01:43:37.980Z] GEN /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common [2025-11-23T01:43:37.980Z] GEN /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests [2025-11-23T01:43:37.980Z] GEN /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin [2025-11-23T01:43:37.980Z] GEN /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/STF/stf.core/bin [2025-11-23T01:43:37.980Z] GEN /home/jenkins/externalDependency/system_lib/log4j/log4j-api.jar [2025-11-23T01:43:37.981Z] GEN /home/jenkins/externalDependency/system_lib/log4j/log4j-core.jar [2025-11-23T01:43:37.981Z] GEN /home/jenkins/externalDependency/system_lib/junit/junit.jar [2025-11-23T01:43:37.981Z] GEN 01:43:37.857 - Using Mode NoOptions. Values = '' [2025-11-23T01:43:38.305Z] GEN 01:43:38.140 - [2025-11-23T01:43:38.305Z] GEN 01:43:38.141 - Test command summary: [2025-11-23T01:43:38.305Z] GEN 01:43:38.143 - Step Stage Command Description [2025-11-23T01:43:38.305Z] GEN 01:43:38.144 - -----+--------+-----------------+------------ [2025-11-23T01:43:38.305Z] GEN 01:43:38.145 - 1 execute jar Create com.hello jar [2025-11-23T01:43:38.305Z] GEN 01:43:38.146 - 2 execute jar Create com.hola jar [2025-11-23T01:43:38.305Z] GEN 01:43:38.146 - 3 execute jar Create com.helper jar [2025-11-23T01:43:38.305Z] GEN 01:43:38.147 - 4 execute jar Create com.discreet jar [2025-11-23T01:43:38.305Z] GEN 01:43:38.148 - 5 execute jar Create tests jar [2025-11-23T01:43:38.305Z] GEN 01:43:38.149 - 6 execute jlink Create runtime image for PatchModule test [2025-11-23T01:43:38.305Z] GEN 01:43:38.149 - 7 execute jar Create com.hello jar [2025-11-23T01:43:38.305Z] GEN 01:43:38.150 - 8 execute jar create java.xml.jar [2025-11-23T01:43:38.305Z] GEN 01:43:38.151 - 9 execute Run java Verify if we can patch an Application module using exploded directory [2025-11-23T01:43:38.306Z] GEN 01:43:38.151 - 10 execute Run java Verify if we can patch an Application module using modular jar [2025-11-23T01:43:38.306Z] STF 01:43:38.277 - [2025-11-23T01:43:38.306Z] STF 01:43:38.277 - Script generation completed [2025-11-23T01:43:38.306Z] STF 01:43:38.278 - [2025-11-23T01:43:38.306Z] STF 01:43:38.280 - [2025-11-23T01:43:38.306Z] STF 01:43:38.280 - ======================= S E T U P ======================= [2025-11-23T01:43:38.306Z] STF 01:43:38.280 - Running setup: perl /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17638617179807/PatModImg_AppMod_0/20251123-014332-PatModImgTest/setUp.pl [2025-11-23T01:43:38.633Z] STF 01:43:38.518 - SETUP stage completed [2025-11-23T01:43:38.633Z] STF 01:43:38.526 - [2025-11-23T01:43:38.633Z] STF 01:43:38.527 - ==================== E X E C U T E - ==================== [2025-11-23T01:43:38.633Z] STF 01:43:38.527 - Running execute: perl /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17638617179807/PatModImg_AppMod_0/20251123-014332-PatModImgTest/execute.pl [2025-11-23T01:43:38.958Z] STF 01:43:38.771 - [2025-11-23T01:43:38.958Z] STF 01:43:38.771 - Java version [2025-11-23T01:43:38.958Z] STF 01:43:38.771 - Running: /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/bin/java -version [2025-11-23T01:43:39.282Z] openjdk version "26-beta" 2026-03-17 [2025-11-23T01:43:39.282Z] OpenJDK Runtime Environment Temurin-26+25-202511222140 (build 26-beta+25-ea) [2025-11-23T01:43:39.283Z] OpenJDK 64-Bit Server VM Temurin-26+25-202511222140 (build 26-beta+25-ea, mixed mode, sharing) [2025-11-23T01:43:39.283Z] STF 01:43:38.987 - [2025-11-23T01:43:39.283Z] STF 01:43:38.987 - +------ Step 1 - Create com.hello jar [2025-11-23T01:43:39.283Z] STF 01:43:38.987 - | Create modular jar [2025-11-23T01:43:39.283Z] STF 01:43:38.987 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2025-11-23T01:43:39.283Z] STF 01:43:38.987 - | ModuleVersion: null [2025-11-23T01:43:39.283Z] STF 01:43:38.987 - | MainClass: null [2025-11-23T01:43:39.283Z] STF 01:43:38.987 - | HashModules: null [2025-11-23T01:43:39.283Z] STF 01:43:38.987 - | [2025-11-23T01:43:39.283Z] STF 01:43:38.989 - Running command: /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17638617179807/PatModImg_AppMod_0/20251123-014332-PatModImgTest/modules/1.com.hello.jar -C /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello . [2025-11-23T01:43:39.283Z] STF 01:43:38.989 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17638617179807/PatModImg_AppMod_0/20251123-014332-PatModImgTest/results/1.CMJ.stderr [2025-11-23T01:43:39.283Z] STF 01:43:38.989 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17638617179807/PatModImg_AppMod_0/20251123-014332-PatModImgTest/results/1.CMJ.stdout [2025-11-23T01:43:39.283Z] STF 01:43:39.026 - Monitoring processes: CMJ [2025-11-23T01:43:40.419Z] STF 01:43:40.012 - Monitoring Report Summary: [2025-11-23T01:43:40.419Z] STF 01:43:40.012 - o Process CMJ ended with the expected exit code (0) [2025-11-23T01:43:40.419Z] STF 01:43:40.013 - Created modular jar: 1.com.hello.jar [2025-11-23T01:43:40.419Z] STF 01:43:40.014 - [2025-11-23T01:43:40.419Z] STF 01:43:40.014 - +------ Step 2 - Create com.hola jar [2025-11-23T01:43:40.419Z] STF 01:43:40.014 - | Create modular jar [2025-11-23T01:43:40.419Z] STF 01:43:40.014 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2025-11-23T01:43:40.419Z] STF 01:43:40.014 - | ModuleVersion: null [2025-11-23T01:43:40.419Z] STF 01:43:40.014 - | MainClass: null [2025-11-23T01:43:40.419Z] STF 01:43:40.014 - | HashModules: null [2025-11-23T01:43:40.419Z] STF 01:43:40.014 - | [2025-11-23T01:43:40.419Z] STF 01:43:40.015 - Running command: /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17638617179807/PatModImg_AppMod_0/20251123-014332-PatModImgTest/modules/2.com.hola.jar -C /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola . [2025-11-23T01:43:40.419Z] STF 01:43:40.016 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17638617179807/PatModImg_AppMod_0/20251123-014332-PatModImgTest/results/2.CMJ.stderr [2025-11-23T01:43:40.419Z] STF 01:43:40.016 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17638617179807/PatModImg_AppMod_0/20251123-014332-PatModImgTest/results/2.CMJ.stdout [2025-11-23T01:43:40.419Z] STF 01:43:40.023 - Monitoring processes: CMJ [2025-11-23T01:43:41.161Z] STF 01:43:41.017 - Monitoring Report Summary: [2025-11-23T01:43:41.161Z] STF 01:43:41.017 - o Process CMJ ended with the expected exit code (0) [2025-11-23T01:43:41.161Z] STF 01:43:41.018 - Created modular jar: 2.com.hola.jar [2025-11-23T01:43:41.161Z] STF 01:43:41.018 - [2025-11-23T01:43:41.161Z] STF 01:43:41.018 - +------ Step 3 - Create com.helper jar [2025-11-23T01:43:41.161Z] STF 01:43:41.018 - | Create modular jar [2025-11-23T01:43:41.161Z] STF 01:43:41.018 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2025-11-23T01:43:41.161Z] STF 01:43:41.018 - | ModuleVersion: null [2025-11-23T01:43:41.161Z] STF 01:43:41.019 - | MainClass: null [2025-11-23T01:43:41.161Z] STF 01:43:41.019 - | HashModules: null [2025-11-23T01:43:41.161Z] STF 01:43:41.019 - | [2025-11-23T01:43:41.161Z] STF 01:43:41.019 - Running command: /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17638617179807/PatModImg_AppMod_0/20251123-014332-PatModImgTest/modules/3.com.helper.jar -C /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper . [2025-11-23T01:43:41.161Z] STF 01:43:41.020 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17638617179807/PatModImg_AppMod_0/20251123-014332-PatModImgTest/results/3.CMJ.stderr [2025-11-23T01:43:41.161Z] STF 01:43:41.020 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17638617179807/PatModImg_AppMod_0/20251123-014332-PatModImgTest/results/3.CMJ.stdout [2025-11-23T01:43:41.161Z] STF 01:43:41.027 - Monitoring processes: CMJ [2025-11-23T01:43:42.302Z] STF 01:43:42.007 - Monitoring Report Summary: [2025-11-23T01:43:42.302Z] STF 01:43:42.007 - o Process CMJ ended with the expected exit code (0) [2025-11-23T01:43:42.302Z] STF 01:43:42.008 - Created modular jar: 3.com.helper.jar [2025-11-23T01:43:42.302Z] STF 01:43:42.008 - [2025-11-23T01:43:42.302Z] STF 01:43:42.008 - +------ Step 4 - Create com.discreet jar [2025-11-23T01:43:42.302Z] STF 01:43:42.008 - | Create modular jar [2025-11-23T01:43:42.302Z] STF 01:43:42.008 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2025-11-23T01:43:42.302Z] STF 01:43:42.008 - | ModuleVersion: null [2025-11-23T01:43:42.302Z] STF 01:43:42.008 - | MainClass: null [2025-11-23T01:43:42.302Z] STF 01:43:42.008 - | HashModules: null [2025-11-23T01:43:42.302Z] STF 01:43:42.008 - | [2025-11-23T01:43:42.302Z] STF 01:43:42.009 - Running command: /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17638617179807/PatModImg_AppMod_0/20251123-014332-PatModImgTest/modules/4.com.discreet.jar -C /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet . [2025-11-23T01:43:42.302Z] STF 01:43:42.009 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17638617179807/PatModImg_AppMod_0/20251123-014332-PatModImgTest/results/4.CMJ.stderr [2025-11-23T01:43:42.302Z] STF 01:43:42.009 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17638617179807/PatModImg_AppMod_0/20251123-014332-PatModImgTest/results/4.CMJ.stdout [2025-11-23T01:43:42.302Z] STF 01:43:42.015 - Monitoring processes: CMJ [2025-11-23T01:43:43.433Z] STF 01:43:43.004 - Monitoring Report Summary: [2025-11-23T01:43:43.433Z] STF 01:43:43.004 - o Process CMJ ended with the expected exit code (0) [2025-11-23T01:43:43.433Z] STF 01:43:43.006 - Created modular jar: 4.com.discreet.jar [2025-11-23T01:43:43.433Z] STF 01:43:43.006 - [2025-11-23T01:43:43.433Z] STF 01:43:43.006 - +------ Step 5 - Create tests jar [2025-11-23T01:43:43.433Z] STF 01:43:43.007 - | Create modular jar [2025-11-23T01:43:43.433Z] STF 01:43:43.007 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2025-11-23T01:43:43.433Z] STF 01:43:43.007 - | ModuleVersion: null [2025-11-23T01:43:43.433Z] STF 01:43:43.007 - | MainClass: null [2025-11-23T01:43:43.433Z] STF 01:43:43.007 - | HashModules: null [2025-11-23T01:43:43.433Z] STF 01:43:43.007 - | [2025-11-23T01:43:43.433Z] STF 01:43:43.009 - Running command: /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17638617179807/PatModImg_AppMod_0/20251123-014332-PatModImgTest/modules/5.com.test.jar -C /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test . [2025-11-23T01:43:43.433Z] STF 01:43:43.009 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17638617179807/PatModImg_AppMod_0/20251123-014332-PatModImgTest/results/5.CMJ.stderr [2025-11-23T01:43:43.433Z] STF 01:43:43.009 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17638617179807/PatModImg_AppMod_0/20251123-014332-PatModImgTest/results/5.CMJ.stdout [2025-11-23T01:43:43.433Z] STF 01:43:43.017 - Monitoring processes: CMJ [2025-11-23T01:43:44.146Z] STF 01:43:44.046 - Monitoring Report Summary: [2025-11-23T01:43:44.146Z] STF 01:43:44.046 - o Process CMJ ended with the expected exit code (0) [2025-11-23T01:43:44.146Z] STF 01:43:44.047 - Created modular jar: 5.com.test.jar [2025-11-23T01:43:44.146Z] STF 01:43:44.047 - [2025-11-23T01:43:44.146Z] STF 01:43:44.047 - +------ Step 6 - Create runtime image for PatchModule test [2025-11-23T01:43:44.146Z] STF 01:43:44.047 - | Run jlink to create runtime image [2025-11-23T01:43:44.146Z] STF 01:43:44.047 - | ImageName: XpJVM [2025-11-23T01:43:44.146Z] STF 01:43:44.047 - | [2025-11-23T01:43:44.146Z] STF 01:43:44.048 - Running command: /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/bin/jlink --module-path /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/jmods:/home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17638617179807/PatModImg_AppMod_0/20251123-014332-PatModImgTest/modules --add-modules com.hello,com.hola,com.test,com.helper,com.discreet --output /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17638617179807/PatModImg_AppMod_0/20251123-014332-PatModImgTest/tmp/6.XpJVM [2025-11-23T01:43:44.146Z] STF 01:43:44.049 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17638617179807/PatModImg_AppMod_0/20251123-014332-PatModImgTest/results/6.JLNK.stderr [2025-11-23T01:43:44.146Z] STF 01:43:44.049 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17638617179807/PatModImg_AppMod_0/20251123-014332-PatModImgTest/results/6.JLNK.stdout [2025-11-23T01:43:44.146Z] STF 01:43:44.053 - Monitoring processes: JLNK [2025-11-23T01:43:55.041Z] STF 01:43:53.204 - Monitoring Report Summary: [2025-11-23T01:43:55.041Z] STF 01:43:53.205 - o Process JLNK ended with the expected exit code (0) [2025-11-23T01:43:55.041Z] STF 01:43:53.211 - [2025-11-23T01:43:55.041Z] STF 01:43:53.211 - +------ Step 7 - Create com.hello jar [2025-11-23T01:43:55.041Z] STF 01:43:53.212 - | Create modular jar [2025-11-23T01:43:55.041Z] STF 01:43:53.212 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2025-11-23T01:43:55.041Z] STF 01:43:53.213 - | ModuleVersion: null [2025-11-23T01:43:55.041Z] STF 01:43:53.213 - | MainClass: null [2025-11-23T01:43:55.041Z] STF 01:43:53.213 - | HashModules: null [2025-11-23T01:43:55.041Z] STF 01:43:53.214 - | [2025-11-23T01:43:55.041Z] STF 01:43:53.218 - Running command: /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17638617179807/PatModImg_AppMod_0/20251123-014332-PatModImgTest/modules/7.com.hello.jar -C /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello . [2025-11-23T01:43:55.041Z] STF 01:43:53.219 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17638617179807/PatModImg_AppMod_0/20251123-014332-PatModImgTest/results/7.CMJ.stderr [2025-11-23T01:43:55.041Z] STF 01:43:53.219 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17638617179807/PatModImg_AppMod_0/20251123-014332-PatModImgTest/results/7.CMJ.stdout [2025-11-23T01:43:55.041Z] STF 01:43:53.226 - Monitoring processes: CMJ [2025-11-23T01:43:55.041Z] STF 01:43:54.187 - Monitoring Report Summary: [2025-11-23T01:43:55.041Z] STF 01:43:54.187 - o Process CMJ ended with the expected exit code (0) [2025-11-23T01:43:55.041Z] STF 01:43:54.187 - Created modular jar: 7.com.hello.jar [2025-11-23T01:43:55.041Z] STF 01:43:54.187 - [2025-11-23T01:43:55.041Z] STF 01:43:54.188 - +------ Step 8 - create java.xml.jar [2025-11-23T01:43:55.041Z] STF 01:43:54.188 - | Create modular jar [2025-11-23T01:43:55.041Z] STF 01:43:54.188 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml [2025-11-23T01:43:55.041Z] STF 01:43:54.188 - | ModuleVersion: null [2025-11-23T01:43:55.041Z] STF 01:43:54.188 - | MainClass: null [2025-11-23T01:43:55.041Z] STF 01:43:54.188 - | HashModules: null [2025-11-23T01:43:55.041Z] STF 01:43:54.188 - | [2025-11-23T01:43:55.041Z] STF 01:43:54.189 - Running command: /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17638617179807/PatModImg_AppMod_0/20251123-014332-PatModImgTest/modules/8.java.xml.jar -C /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/java.xml . [2025-11-23T01:43:55.041Z] STF 01:43:54.189 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17638617179807/PatModImg_AppMod_0/20251123-014332-PatModImgTest/results/8.CMJ.stderr [2025-11-23T01:43:55.041Z] STF 01:43:54.189 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17638617179807/PatModImg_AppMod_0/20251123-014332-PatModImgTest/results/8.CMJ.stdout [2025-11-23T01:43:55.041Z] STF 01:43:54.194 - Monitoring processes: CMJ [2025-11-23T01:43:55.370Z] STF 01:43:55.154 - Monitoring Report Summary: [2025-11-23T01:43:55.370Z] STF 01:43:55.154 - o Process CMJ ended with the expected exit code (0) [2025-11-23T01:43:55.370Z] STF 01:43:55.155 - Created modular jar: 8.java.xml.jar [2025-11-23T01:43:55.370Z] STF 01:43:55.155 - [2025-11-23T01:43:55.370Z] STF 01:43:55.155 - +------ Step 9 - Verify if we can patch an Application module using exploded directory [2025-11-23T01:43:55.370Z] STF 01:43:55.155 - | Run foreground process [2025-11-23T01:43:55.370Z] STF 01:43:55.155 - | Program: /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17638617179807/PatModImg_AppMod_0/20251123-014332-PatModImgTest/tmp/6.XpJVM/bin/java [2025-11-23T01:43:55.370Z] STF 01:43:55.155 - | Mnemonic: OT21 [2025-11-23T01:43:55.370Z] STF 01:43:55.155 - | Echo: ECHO_ON [2025-11-23T01:43:55.370Z] STF 01:43:55.156 - | Expectation: CLEAN_RUN within 5m [2025-11-23T01:43:55.370Z] STF 01:43:55.156 - | [2025-11-23T01:43:55.370Z] STF 01:43:55.157 - Running command: /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17638617179807/PatModImg_AppMod_0/20251123-014332-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module com.hello=/home/jenkins/workspace/Test_openjdk26_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 [2025-11-23T01:43:55.370Z] STF 01:43:55.157 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17638617179807/PatModImg_AppMod_0/20251123-014332-PatModImgTest/results/9.OT21.stderr [2025-11-23T01:43:55.370Z] STF 01:43:55.157 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17638617179807/PatModImg_AppMod_0/20251123-014332-PatModImgTest/results/9.OT21.stdout [2025-11-23T01:43:55.370Z] STF 01:43:55.165 - Monitoring processes: OT21 [2025-11-23T01:43:56.070Z] OT21 stderr WARNING: module-info.class ignored in patch: /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello [2025-11-23T01:43:56.396Z] OT21 JUnit version 4.12 [2025-11-23T01:43:57.102Z] OT21 . [2025-11-23T01:43:57.102Z] OT21 Time: 0.055 [2025-11-23T01:43:57.102Z] OT21 [2025-11-23T01:43:57.102Z] OT21 OK (1 test) [2025-11-23T01:43:57.102Z] OT21 [2025-11-23T01:43:57.102Z] STF 01:43:56.966 - Monitoring Report Summary: [2025-11-23T01:43:57.102Z] STF 01:43:56.967 - o Process OT21 ended with the expected exit code (0) [2025-11-23T01:43:57.102Z] STF 01:43:56.968 - [2025-11-23T01:43:57.102Z] STF 01:43:56.968 - +------ Step 10 - Verify if we can patch an Application module using modular jar [2025-11-23T01:43:57.102Z] STF 01:43:56.968 - | Run foreground process [2025-11-23T01:43:57.102Z] STF 01:43:56.968 - | Program: /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17638617179807/PatModImg_AppMod_0/20251123-014332-PatModImgTest/tmp/6.XpJVM/bin/java [2025-11-23T01:43:57.102Z] STF 01:43:56.968 - | Mnemonic: OT22 [2025-11-23T01:43:57.102Z] STF 01:43:56.968 - | Echo: ECHO_ON [2025-11-23T01:43:57.102Z] STF 01:43:56.968 - | Expectation: CLEAN_RUN within 5m [2025-11-23T01:43:57.102Z] STF 01:43:56.968 - | [2025-11-23T01:43:57.102Z] STF 01:43:56.970 - Running command: /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17638617179807/PatModImg_AppMod_0/20251123-014332-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module com.hello=/home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17638617179807/PatModImg_AppMod_0/20251123-014332-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 [2025-11-23T01:43:57.102Z] STF 01:43:56.970 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17638617179807/PatModImg_AppMod_0/20251123-014332-PatModImgTest/results/10.OT22.stderr [2025-11-23T01:43:57.102Z] STF 01:43:56.970 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17638617179807/PatModImg_AppMod_0/20251123-014332-PatModImgTest/results/10.OT22.stdout [2025-11-23T01:43:57.102Z] STF 01:43:56.976 - Monitoring processes: OT22 [2025-11-23T01:43:57.803Z] OT22 stderr WARNING: module-info.class ignored in patch: /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17638617179807/PatModImg_AppMod_0/20251123-014332-PatModImgTest/modules/7.com.hello.jar [2025-11-23T01:43:58.130Z] OT22 JUnit version 4.12 [2025-11-23T01:43:58.846Z] OT22 . [2025-11-23T01:43:58.846Z] OT22 Time: 0.045 [2025-11-23T01:43:58.846Z] OT22 [2025-11-23T01:43:58.846Z] OT22 OK (1 test) [2025-11-23T01:43:58.846Z] OT22 [2025-11-23T01:43:58.846Z] STF 01:43:58.641 - Monitoring Report Summary: [2025-11-23T01:43:58.846Z] STF 01:43:58.642 - o Process OT22 ended with the expected exit code (0) [2025-11-23T01:43:58.846Z] STF 01:43:58.643 - EXECUTE stage completed [2025-11-23T01:43:58.846Z] STF 01:43:58.825 - [2025-11-23T01:43:58.846Z] STF 01:43:58.825 - ==================== T E A R D O W N ==================== [2025-11-23T01:43:58.846Z] STF 01:43:58.825 - Running teardown: perl /home/jenkins/workspace/Test_openjdk26_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17638617179807/PatModImg_AppMod_0/20251123-014332-PatModImgTest/tearDown.pl [2025-11-23T01:43:59.172Z] STF 01:43:59.053 - TEARDOWN stage completed [2025-11-23T01:43:59.172Z] STF 01:43:59.063 - [2025-11-23T01:43:59.172Z] STF 01:43:59.063 - ===================== R E S U L T S ===================== [2025-11-23T01:43:59.172Z] STF 01:43:59.063 - Stage results: [2025-11-23T01:43:59.172Z] STF 01:43:59.063 - setUp: pass [2025-11-23T01:43:59.172Z] STF 01:43:59.064 - execute: pass [2025-11-23T01:43:59.172Z] STF 01:43:59.064 - teardown: pass [2025-11-23T01:43:59.172Z] STF 01:43:59.064 - [2025-11-23T01:43:59.172Z] STF 01:43:59.064 - Overall result: PASSED [2025-11-23T01:43:59.172Z] ----------------------------------- [2025-11-23T01:43:59.172Z] PatModImg_AppMod_0_PASSED [2025-11-23T01:43:59.172Z] ----------------------------------- [2025-11-23T01:43:59.498Z] [2025-11-23T01:43:59.498Z] TEST TEARDOWN: [2025-11-23T01:43:59.498Z] Nothing to be done for teardown. [2025-11-23T01:43:59.498Z] PatModImg_AppMod_0 Finish Time: Sun Nov 23 01:43:59 2025 Epoch Time (ms): 1763862239258