PatMod_AppMod_0

[2025-12-25T00:27:24.519Z] Running test PatMod_AppMod_0 ... [2025-12-25T00:27:24.519Z] =============================================== [2025-12-25T00:27:24.519Z] PatMod_AppMod_0 Start Time: Thu Dec 25 00:27:24 2025 Epoch Time (ms): 1766622444454 [2025-12-25T00:27:24.519Z] variation: Mode150 [2025-12-25T00:27:24.519Z] JVM_OPTIONS: -XX:+UseCompressedOops [2025-12-25T00:27:24.519Z] { \ [2025-12-25T00:27:24.519Z] echo ""; echo "TEST SETUP:"; \ [2025-12-25T00:27:24.519Z] echo "Nothing to be done for setup."; \ [2025-12-25T00:27:24.519Z] mkdir -p "/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/../TKG/output_17666149644158/PatMod_AppMod_0"; \ [2025-12-25T00:27:24.519Z] cd "/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/../TKG/output_17666149644158/PatMod_AppMod_0"; \ [2025-12-25T00:27:24.519Z] echo ""; echo "TESTING:"; \ [2025-12-25T00:27:24.520Z] perl /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF/stf.core/scripts/stf.pl -test-root="/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF;/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/../../jvmtest/system/modularity/..//aqa-systemtest""" -systemtest-prereqs="/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/../../externalDependency/system_lib/" -java-args=' -XX:+UseCompressedOops ' -results-root="/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/../TKG/output_17666149644158/PatMod_AppMod_0" -test=PatModTest -test-args="variant=AppMod"; \ [2025-12-25T00:27:24.520Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatMod_AppMod_0""_PASSED"; echo "-----------------------------------"; cd /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/..; rm -f -r "/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/../TKG/output_17666149644158/PatMod_AppMod_0"; else echo "-----------------------------------"; echo "PatMod_AppMod_0""_FAILED"; echo "-----------------------------------"; fi; \ [2025-12-25T00:27:24.520Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-12-25T00:27:24.520Z] echo "Nothing to be done for teardown."; \ [2025-12-25T00:27:24.520Z] } 2>&1 | tee -a "/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/../TKG/output_17666149644158/TestTargetResult"; [2025-12-25T00:27:24.520Z] [2025-12-25T00:27:24.520Z] TEST SETUP: [2025-12-25T00:27:24.520Z] Nothing to be done for setup. [2025-12-25T00:27:24.520Z] [2025-12-25T00:27:24.520Z] TESTING: [2025-12-25T00:27:24.855Z] STF 00:27:24.732 - ========================= S T F ========================= [2025-12-25T00:27:24.855Z] systemtest-prereqs has been processed, and set to: /home/jenkins/externalDependency/system_libRetrieving amount of free space on drive containing /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/../TKG/output_17666149644158/PatMod_AppMod_0 [2025-12-25T00:27:24.855Z] There is 13460 Mb free [2025-12-25T00:27:24.855Z] STF 00:27:24.752 - ================== G E N E R A T I O N ================== [2025-12-25T00:27:24.855Z] STF 00:27:24.754 - Checking JVM: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/jdkbinary/j2sdk-image [2025-12-25T00:27:24.855Z] STF 00:27:24.755 - Starting process to generate scripts: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/jdkbinary/j2sdk-image/bin/java -Dlog4j.skipJansi=true -Djava.system.class.loader=net.adoptopenjdk.stf.runner.StfClassLoader -Dload.agent.path=/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/jvmtest/system/STF/stf.core/scripts/../../stf.load/bin/stf.load.jar -classpath /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/../../externalDependency/system_lib//asm/asm.jar:/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/../../externalDependency/system_lib//asm/asm-commons.jar:/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/../../externalDependency/system_lib//log4j/log4j-api.jar:/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/../../externalDependency/system_lib//log4j/log4j-core.jar:/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/../TKG/output_17666149644158/PatMod_AppMod_0/20251225-002724-PatModTest/stf_parameters.properties, , /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/../TKG/output_17666149644158/PatMod_AppMod_0/20251225-002724-PatModTest" [2025-12-25T00:27:24.855Z] GEN stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-12-25T00:27:24.855Z] GEN [0.021s][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-12-25T00:27:29.645Z] GEN 00:27:29.432 - Found test. Project: 'openjdk.test.modularity' class: 'PatModTest.class' Dir: '/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin' [2025-12-25T00:27:29.645Z] GEN 00:27:29.470 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModTest' [2025-12-25T00:27:30.368Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2025-12-25T00:27:30.368Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayService [2025-12-25T00:27:30.368Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper [2025-12-25T00:27:30.368Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl1 [2025-12-25T00:27:30.368Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet [2025-12-25T00:27:30.368Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello [2025-12-25T00:27:30.368Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola [2025-12-25T00:27:30.368Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl2 [2025-12-25T00:27:30.368Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hi [2025-12-25T00:27:30.368Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override [2025-12-25T00:27:30.368Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override-new [2025-12-25T00:27:30.368Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl3 [2025-12-25T00:27:30.368Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl4 [2025-12-25T00:27:30.368Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common [2025-12-25T00:27:30.368Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests [2025-12-25T00:27:30.368Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin [2025-12-25T00:27:30.368Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/jvmtest/system/STF/stf.core/bin [2025-12-25T00:27:30.368Z] GEN /home/jenkins/externalDependency/system_lib/log4j/log4j-api.jar [2025-12-25T00:27:30.368Z] GEN /home/jenkins/externalDependency/system_lib/log4j/log4j-core.jar [2025-12-25T00:27:30.368Z] GEN /home/jenkins/externalDependency/system_lib/junit/junit.jar [2025-12-25T00:27:30.368Z] GEN 00:27:30.234 - Using Mode NoOptions. Values = '' [2025-12-25T00:27:30.705Z] GEN 00:27:30.567 - [2025-12-25T00:27:30.705Z] GEN 00:27:30.567 - Test command summary: [2025-12-25T00:27:30.705Z] GEN 00:27:30.569 - Step Stage Command Description [2025-12-25T00:27:30.705Z] GEN 00:27:30.570 - -----+--------+-----------------+------------ [2025-12-25T00:27:30.705Z] GEN 00:27:30.571 - 1 execute jar Create com.hello jar [2025-12-25T00:27:30.705Z] GEN 00:27:30.573 - 2 execute jar Create com.discreet jar [2025-12-25T00:27:30.705Z] GEN 00:27:30.573 - 3 execute jar create java.xml.jar [2025-12-25T00:27:30.705Z] GEN 00:27:30.574 - 4 execute Run java Verify if we can patch an Application module using exploded directoryy [2025-12-25T00:27:30.705Z] GEN 00:27:30.575 - 5 execute Run java Verify if we can Patch an Application module using modular jar [2025-12-25T00:27:31.043Z] STF 00:27:30.726 - [2025-12-25T00:27:31.044Z] STF 00:27:30.726 - Script generation completed [2025-12-25T00:27:31.044Z] STF 00:27:30.727 - [2025-12-25T00:27:31.044Z] STF 00:27:30.728 - [2025-12-25T00:27:31.044Z] STF 00:27:30.729 - ======================= S E T U P ======================= [2025-12-25T00:27:31.044Z] STF 00:27:30.729 - Running setup: perl /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/../TKG/output_17666149644158/PatMod_AppMod_0/20251225-002724-PatModTest/setUp.pl [2025-12-25T00:27:31.044Z] STF 00:27:30.955 - SETUP stage completed [2025-12-25T00:27:31.044Z] STF 00:27:30.967 - [2025-12-25T00:27:31.044Z] STF 00:27:30.967 - ==================== E X E C U T E - ==================== [2025-12-25T00:27:31.044Z] STF 00:27:30.967 - Running execute: perl /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/../TKG/output_17666149644158/PatMod_AppMod_0/20251225-002724-PatModTest/execute.pl [2025-12-25T00:27:31.378Z] STF 00:27:31.204 - [2025-12-25T00:27:31.378Z] STF 00:27:31.204 - Java version [2025-12-25T00:27:31.378Z] STF 00:27:31.204 - Running: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/jdkbinary/j2sdk-image/bin/java -version [2025-12-25T00:27:31.378Z] Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-12-25T00:27:31.715Z] openjdk version "21.0.10-beta" 2026-01-20 [2025-12-25T00:27:31.715Z] OpenJDK Runtime Environment Temurin-21.0.10+6-202512242005 (build 21.0.10-beta+6-ea) [2025-12-25T00:27:31.715Z] OpenJDK 64-Bit Server VM Temurin-21.0.10+6-202512242005 (build 21.0.10-beta+6-ea, mixed mode, sharing) [2025-12-25T00:27:31.715Z] STF 00:27:31.441 - [2025-12-25T00:27:31.715Z] STF 00:27:31.441 - +------ Step 1 - Create com.hello jar [2025-12-25T00:27:31.715Z] STF 00:27:31.441 - | Create modular jar [2025-12-25T00:27:31.715Z] STF 00:27:31.441 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2025-12-25T00:27:31.715Z] STF 00:27:31.441 - | ModuleVersion: null [2025-12-25T00:27:31.715Z] STF 00:27:31.441 - | MainClass: null [2025-12-25T00:27:31.715Z] STF 00:27:31.442 - | HashModules: null [2025-12-25T00:27:31.715Z] STF 00:27:31.442 - | [2025-12-25T00:27:31.715Z] STF 00:27:31.443 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_17666149644158/PatMod_AppMod_0/20251225-002724-PatModTest/modules/1.com.hello.jar -C /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello . [2025-12-25T00:27:31.715Z] STF 00:27:31.443 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_17666149644158/PatMod_AppMod_0/20251225-002724-PatModTest/results/1.CMJ.stderr [2025-12-25T00:27:31.715Z] STF 00:27:31.443 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_17666149644158/PatMod_AppMod_0/20251225-002724-PatModTest/results/1.CMJ.stdout [2025-12-25T00:27:31.715Z] STF 00:27:31.483 - Monitoring processes: CMJ [2025-12-25T00:27:31.715Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-12-25T00:27:32.870Z] STF 00:27:32.845 - Monitoring Report Summary: [2025-12-25T00:27:32.870Z] STF 00:27:32.845 - o Process CMJ ended with the expected exit code (0) [2025-12-25T00:27:32.870Z] STF 00:27:32.846 - Created modular jar: 1.com.hello.jar [2025-12-25T00:27:32.870Z] STF 00:27:32.846 - [2025-12-25T00:27:32.870Z] STF 00:27:32.846 - +------ Step 2 - Create com.discreet jar [2025-12-25T00:27:32.870Z] STF 00:27:32.846 - | Create modular jar [2025-12-25T00:27:32.870Z] STF 00:27:32.846 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.discreet [2025-12-25T00:27:32.870Z] STF 00:27:32.846 - | ModuleVersion: null [2025-12-25T00:27:32.870Z] STF 00:27:32.846 - | MainClass: null [2025-12-25T00:27:32.870Z] STF 00:27:32.847 - | HashModules: null [2025-12-25T00:27:32.870Z] STF 00:27:32.847 - | [2025-12-25T00:27:32.870Z] STF 00:27:32.848 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_17666149644158/PatMod_AppMod_0/20251225-002724-PatModTest/modules/2.com.discreet.jar -C /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.discreet . [2025-12-25T00:27:32.870Z] STF 00:27:32.848 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_17666149644158/PatMod_AppMod_0/20251225-002724-PatModTest/results/2.CMJ.stderr [2025-12-25T00:27:32.870Z] STF 00:27:32.848 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_17666149644158/PatMod_AppMod_0/20251225-002724-PatModTest/results/2.CMJ.stdout [2025-12-25T00:27:33.210Z] STF 00:27:32.857 - Monitoring processes: CMJ [2025-12-25T00:27:33.210Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-12-25T00:27:34.379Z] STF 00:27:34.186 - Monitoring Report Summary: [2025-12-25T00:27:34.380Z] STF 00:27:34.186 - o Process CMJ ended with the expected exit code (0) [2025-12-25T00:27:34.380Z] STF 00:27:34.189 - Created modular jar: 2.com.discreet.jar [2025-12-25T00:27:34.380Z] STF 00:27:34.190 - [2025-12-25T00:27:34.380Z] STF 00:27:34.190 - +------ Step 3 - create java.xml.jar [2025-12-25T00:27:34.380Z] STF 00:27:34.190 - | Create modular jar [2025-12-25T00:27:34.380Z] STF 00:27:34.191 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml [2025-12-25T00:27:34.380Z] STF 00:27:34.191 - | ModuleVersion: null [2025-12-25T00:27:34.380Z] STF 00:27:34.191 - | MainClass: null [2025-12-25T00:27:34.380Z] STF 00:27:34.192 - | HashModules: null [2025-12-25T00:27:34.380Z] STF 00:27:34.192 - | [2025-12-25T00:27:34.380Z] STF 00:27:34.195 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_17666149644158/PatMod_AppMod_0/20251225-002724-PatModTest/modules/3.java.xml.jar -C /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/java.xml . [2025-12-25T00:27:34.380Z] STF 00:27:34.196 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_17666149644158/PatMod_AppMod_0/20251225-002724-PatModTest/results/3.CMJ.stderr [2025-12-25T00:27:34.380Z] STF 00:27:34.196 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_17666149644158/PatMod_AppMod_0/20251225-002724-PatModTest/results/3.CMJ.stdout [2025-12-25T00:27:34.380Z] STF 00:27:34.206 - Monitoring processes: CMJ [2025-12-25T00:27:34.380Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-12-25T00:27:35.551Z] STF 00:27:35.455 - Monitoring Report Summary: [2025-12-25T00:27:35.551Z] STF 00:27:35.455 - o Process CMJ ended with the expected exit code (0) [2025-12-25T00:27:35.551Z] STF 00:27:35.456 - Created modular jar: 3.java.xml.jar [2025-12-25T00:27:35.551Z] STF 00:27:35.456 - [2025-12-25T00:27:35.551Z] STF 00:27:35.456 - +------ Step 4 - Verify if we can patch an Application module using exploded directoryy [2025-12-25T00:27:35.551Z] STF 00:27:35.456 - | Run foreground process [2025-12-25T00:27:35.551Z] STF 00:27:35.456 - | Program: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/jdkbinary/j2sdk-image/bin/java [2025-12-25T00:27:35.551Z] STF 00:27:35.456 - | Mnemonic: OT21 [2025-12-25T00:27:35.551Z] STF 00:27:35.457 - | Echo: ECHO_ON [2025-12-25T00:27:35.551Z] STF 00:27:35.457 - | Expectation: CLEAN_RUN within 1m [2025-12-25T00:27:35.551Z] STF 00:27:35.457 - | [2025-12-25T00:27:35.551Z] STF 00:27:35.458 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/jdkbinary/j2sdk-image/bin/java --add-reads com.test=ALL-UNNAMED --module-path /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods:/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests --add-modules=com.test --patch-module com.hello=/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/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-12-25T00:27:35.551Z] STF 00:27:35.458 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_17666149644158/PatMod_AppMod_0/20251225-002724-PatModTest/results/4.OT21.stderr [2025-12-25T00:27:35.551Z] STF 00:27:35.458 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_17666149644158/PatMod_AppMod_0/20251225-002724-PatModTest/results/4.OT21.stdout [2025-12-25T00:27:35.551Z] STF 00:27:35.465 - Monitoring processes: OT21 [2025-12-25T00:27:35.551Z] OT21 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-12-25T00:27:36.704Z] OT21 stderr WARNING: module-info.class ignored in patch: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello [2025-12-25T00:27:36.704Z] OT21 JUnit version 4.12 [2025-12-25T00:27:37.415Z] OT21 . [2025-12-25T00:27:37.415Z] OT21 Time: 0.03 [2025-12-25T00:27:37.415Z] OT21 [2025-12-25T00:27:37.415Z] OT21 OK (1 test) [2025-12-25T00:27:37.415Z] OT21 [2025-12-25T00:27:37.415Z] STF 00:27:37.246 - Monitoring Report Summary: [2025-12-25T00:27:37.415Z] STF 00:27:37.246 - o Process OT21 ended with the expected exit code (0) [2025-12-25T00:27:37.415Z] STF 00:27:37.248 - [2025-12-25T00:27:37.415Z] STF 00:27:37.248 - +------ Step 5 - Verify if we can Patch an Application module using modular jar [2025-12-25T00:27:37.415Z] STF 00:27:37.248 - | Run foreground process [2025-12-25T00:27:37.415Z] STF 00:27:37.249 - | Program: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/jdkbinary/j2sdk-image/bin/java [2025-12-25T00:27:37.415Z] STF 00:27:37.249 - | Mnemonic: OT22 [2025-12-25T00:27:37.415Z] STF 00:27:37.249 - | Echo: ECHO_ON [2025-12-25T00:27:37.415Z] STF 00:27:37.249 - | Expectation: CLEAN_RUN within 1m [2025-12-25T00:27:37.415Z] STF 00:27:37.249 - | [2025-12-25T00:27:37.415Z] STF 00:27:37.251 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/jdkbinary/j2sdk-image/bin/java --add-reads com.test=ALL-UNNAMED --module-path /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods:/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests --add-modules=com.test --patch-module com.hello=/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_17666149644158/PatMod_AppMod_0/20251225-002724-PatModTest/modules/1.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-12-25T00:27:37.415Z] STF 00:27:37.251 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_17666149644158/PatMod_AppMod_0/20251225-002724-PatModTest/results/5.OT22.stderr [2025-12-25T00:27:37.415Z] STF 00:27:37.252 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_17666149644158/PatMod_AppMod_0/20251225-002724-PatModTest/results/5.OT22.stdout [2025-12-25T00:27:37.415Z] STF 00:27:37.259 - Monitoring processes: OT22 [2025-12-25T00:27:37.415Z] OT22 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-12-25T00:27:38.126Z] OT22 stderr WARNING: module-info.class ignored in patch: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_17666149644158/PatMod_AppMod_0/20251225-002724-PatModTest/modules/1.com.hello.jar [2025-12-25T00:27:38.457Z] OT22 JUnit version 4.12 [2025-12-25T00:27:39.170Z] OT22 . [2025-12-25T00:27:39.170Z] OT22 Time: 0.032 [2025-12-25T00:27:39.170Z] OT22 [2025-12-25T00:27:39.170Z] OT22 OK (1 test) [2025-12-25T00:27:39.170Z] OT22 [2025-12-25T00:27:39.170Z] STF 00:27:39.053 - Monitoring Report Summary: [2025-12-25T00:27:39.170Z] STF 00:27:39.053 - o Process OT22 ended with the expected exit code (0) [2025-12-25T00:27:39.170Z] STF 00:27:39.057 - EXECUTE stage completed [2025-12-25T00:27:39.170Z] STF 00:27:39.111 - [2025-12-25T00:27:39.170Z] STF 00:27:39.112 - ==================== T E A R D O W N ==================== [2025-12-25T00:27:39.170Z] STF 00:27:39.112 - Running teardown: perl /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/../TKG/output_17666149644158/PatMod_AppMod_0/20251225-002724-PatModTest/tearDown.pl [2025-12-25T00:27:39.503Z] STF 00:27:39.351 - TEARDOWN stage completed [2025-12-25T00:27:39.503Z] STF 00:27:39.363 - [2025-12-25T00:27:39.503Z] STF 00:27:39.364 - ===================== R E S U L T S ===================== [2025-12-25T00:27:39.503Z] STF 00:27:39.364 - Stage results: [2025-12-25T00:27:39.503Z] STF 00:27:39.364 - setUp: pass [2025-12-25T00:27:39.503Z] STF 00:27:39.364 - execute: pass [2025-12-25T00:27:39.503Z] STF 00:27:39.364 - teardown: pass [2025-12-25T00:27:39.503Z] STF 00:27:39.364 - [2025-12-25T00:27:39.503Z] STF 00:27:39.364 - Overall result: PASSED [2025-12-25T00:27:39.503Z] ----------------------------------- [2025-12-25T00:27:39.503Z] PatMod_AppMod_0_PASSED [2025-12-25T00:27:39.503Z] ----------------------------------- [2025-12-25T00:27:39.503Z] [2025-12-25T00:27:39.503Z] TEST TEARDOWN: [2025-12-25T00:27:39.503Z] Nothing to be done for teardown. [2025-12-25T00:27:39.503Z] PatMod_AppMod_0 Finish Time: Thu Dec 25 00:27:39 2025 Epoch Time (ms): 1766622459433