PatModImg_AppMod_1
[2025-09-03T22:51:34.312Z] Running test PatModImg_AppMod_1 ...
[2025-09-03T22:51:34.312Z] ===============================================
[2025-09-03T22:51:34.639Z] PatModImg_AppMod_1 Start Time: Wed Sep 3 22:51:34 2025 Epoch Time (ms): 1756939894301
[2025-09-03T22:51:34.639Z] variation: Mode650
[2025-09-03T22:51:34.639Z] JVM_OPTIONS: -XX:-UseCompressedOops
[2025-09-03T22:51:34.639Z] { \
[2025-09-03T22:51:34.639Z] echo ""; echo "TEST SETUP:"; \
[2025-09-03T22:51:34.639Z] echo "Nothing to be done for setup."; \
[2025-09-03T22:51:34.639Z] mkdir -p "/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17569374472923/PatModImg_AppMod_1"; \
[2025-09-03T22:51:34.639Z] cd "/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17569374472923/PatModImg_AppMod_1"; \
[2025-09-03T22:51:34.639Z] echo ""; echo "TESTING:"; \
[2025-09-03T22:51:34.639Z] perl /home/jenkins/workspace/Test_openjdk21_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_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF;/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../../jvmtest/system/modularity/..//aqa-systemtest""" -systemtest-prereqs="/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/../../externalDependency/system_lib/" -java-args=' -XX:-UseCompressedOops ' -results-root="/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17569374472923/PatModImg_AppMod_1" -test=PatModImgTest -test-args="variant=AppMod"; \
[2025-09-03T22:51:34.639Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatModImg_AppMod_1""_PASSED"; echo "-----------------------------------"; cd /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/..; rm -f -r "/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17569374472923/PatModImg_AppMod_1"; else echo "-----------------------------------"; echo "PatModImg_AppMod_1""_FAILED"; echo "-----------------------------------"; fi; \
[2025-09-03T22:51:34.639Z] echo ""; echo "TEST TEARDOWN:"; \
[2025-09-03T22:51:34.639Z] echo "Nothing to be done for teardown."; \
[2025-09-03T22:51:34.639Z] } 2>&1 | tee -a "/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17569374472923/TestTargetResult";
[2025-09-03T22:51:34.639Z]
[2025-09-03T22:51:34.639Z] TEST SETUP:
[2025-09-03T22:51:34.639Z] Nothing to be done for setup.
[2025-09-03T22:51:34.639Z]
[2025-09-03T22:51:34.639Z] TESTING:
[2025-09-03T22:51:34.639Z] STF 22:51:34.575 - ========================= S T F =========================
[2025-09-03T22:51:34.639Z] 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_2/aqa-tests/TKG/../TKG/output_17569374472923/PatModImg_AppMod_1
[2025-09-03T22:51:34.969Z] There is 31526 Mb free
[2025-09-03T22:51:34.969Z] STF 22:51:34.597 - ================== G E N E R A T I O N ==================
[2025-09-03T22:51:34.969Z] STF 22:51:34.602 - Checking JVM: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image
[2025-09-03T22:51:34.969Z] STF 22:51:34.603 - Starting process to generate scripts: /home/jenkins/workspace/Test_openjdk21_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_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/STF/stf.core/scripts/../../stf.load/bin/stf.load.jar -classpath /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/../../externalDependency/system_lib//asm/asm.jar:/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/../../externalDependency/system_lib//asm/asm-commons.jar:/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/../../externalDependency/system_lib//log4j/log4j-api.jar:/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/../../externalDependency/system_lib//log4j/log4j-core.jar:/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17569374472923/PatModImg_AppMod_1/20250903-225134-PatModImgTest/stf_parameters.properties, , /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17569374472923/PatModImg_AppMod_1/20250903-225134-PatModImgTest"
[2025-09-03T22:51:34.969Z] GEN stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-09-03T22:51:34.969Z] GEN [0.016s][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-09-03T22:51:39.692Z] GEN 22:51:39.282 - Found test. Project: 'openjdk.test.modularity' class: 'PatModImgTest.class' Dir: '/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin'
[2025-09-03T22:51:39.693Z] GEN 22:51:39.329 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModImgTest'
[2025-09-03T22:51:40.025Z] GEN Classpath directories used by project 'openjdk.test.modularity':
[2025-09-03T22:51:40.025Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayService
[2025-09-03T22:51:40.025Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper
[2025-09-03T22:51:40.025Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl1
[2025-09-03T22:51:40.025Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet
[2025-09-03T22:51:40.025Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello
[2025-09-03T22:51:40.025Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola
[2025-09-03T22:51:40.025Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl2
[2025-09-03T22:51:40.025Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hi
[2025-09-03T22:51:40.025Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override
[2025-09-03T22:51:40.025Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override-new
[2025-09-03T22:51:40.025Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl3
[2025-09-03T22:51:40.025Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl4
[2025-09-03T22:51:40.025Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common
[2025-09-03T22:51:40.025Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests
[2025-09-03T22:51:40.025Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin
[2025-09-03T22:51:40.025Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/STF/stf.core/bin
[2025-09-03T22:51:40.025Z] GEN /home/jenkins/externalDependency/system_lib/log4j/log4j-api.jar
[2025-09-03T22:51:40.025Z] GEN /home/jenkins/externalDependency/system_lib/log4j/log4j-core.jar
[2025-09-03T22:51:40.025Z] GEN /home/jenkins/externalDependency/system_lib/junit/junit.jar
[2025-09-03T22:51:40.365Z] GEN 22:51:39.979 - Using Mode NoOptions. Values = ''
[2025-09-03T22:51:40.690Z] GEN 22:51:40.448 -
[2025-09-03T22:51:40.690Z] GEN 22:51:40.448 - Test command summary:
[2025-09-03T22:51:40.690Z] GEN 22:51:40.450 - Step Stage Command Description
[2025-09-03T22:51:40.690Z] GEN 22:51:40.451 - -----+--------+-----------------+------------
[2025-09-03T22:51:40.690Z] GEN 22:51:40.452 - 1 execute jar Create com.hello jar
[2025-09-03T22:51:40.690Z] GEN 22:51:40.453 - 2 execute jar Create com.hola jar
[2025-09-03T22:51:40.690Z] GEN 22:51:40.454 - 3 execute jar Create com.helper jar
[2025-09-03T22:51:40.690Z] GEN 22:51:40.456 - 4 execute jar Create com.discreet jar
[2025-09-03T22:51:40.690Z] GEN 22:51:40.457 - 5 execute jar Create tests jar
[2025-09-03T22:51:40.690Z] GEN 22:51:40.457 - 6 execute jlink Create runtime image for PatchModule test
[2025-09-03T22:51:40.690Z] GEN 22:51:40.458 - 7 execute jar Create com.hello jar
[2025-09-03T22:51:40.690Z] GEN 22:51:40.459 - 8 execute jar create java.xml.jar
[2025-09-03T22:51:40.690Z] GEN 22:51:40.460 - 9 execute Run java Verify if we can patch an Application module using exploded directory
[2025-09-03T22:51:40.690Z] GEN 22:51:40.461 - 10 execute Run java Verify if we can patch an Application module using modular jar
[2025-09-03T22:51:40.690Z] STF 22:51:40.599 -
[2025-09-03T22:51:40.690Z] STF 22:51:40.600 - Script generation completed
[2025-09-03T22:51:40.690Z] STF 22:51:40.600 -
[2025-09-03T22:51:40.690Z] STF 22:51:40.601 -
[2025-09-03T22:51:40.690Z] STF 22:51:40.602 - ======================= S E T U P =======================
[2025-09-03T22:51:40.690Z] STF 22:51:40.602 - Running setup: perl /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17569374472923/PatModImg_AppMod_1/20250903-225134-PatModImgTest/setUp.pl
[2025-09-03T22:51:41.021Z] STF 22:51:40.835 - SETUP stage completed
[2025-09-03T22:51:41.022Z] STF 22:51:40.847 -
[2025-09-03T22:51:41.022Z] STF 22:51:40.847 - ==================== E X E C U T E - ====================
[2025-09-03T22:51:41.022Z] STF 22:51:40.847 - Running execute: perl /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17569374472923/PatModImg_AppMod_1/20250903-225134-PatModImgTest/execute.pl
[2025-09-03T22:51:41.348Z] STF 22:51:41.089 -
[2025-09-03T22:51:41.348Z] STF 22:51:41.096 - Java version
[2025-09-03T22:51:41.348Z] STF 22:51:41.096 - Running: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/bin/java -version
[2025-09-03T22:51:41.348Z] Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-09-03T22:51:41.348Z] openjdk version "21.0.9-beta" 2025-10-21
[2025-09-03T22:51:41.348Z] OpenJDK Runtime Environment Temurin-21.0.9+6-202509031952 (build 21.0.9-beta+6-ea)
[2025-09-03T22:51:41.348Z] OpenJDK 64-Bit Server VM Temurin-21.0.9+6-202509031952 (build 21.0.9-beta+6-ea, mixed mode, sharing)
[2025-09-03T22:51:41.673Z] STF 22:51:41.345 -
[2025-09-03T22:51:41.673Z] STF 22:51:41.345 - +------ Step 1 - Create com.hello jar
[2025-09-03T22:51:41.673Z] STF 22:51:41.345 - | Create modular jar
[2025-09-03T22:51:41.673Z] STF 22:51:41.345 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello
[2025-09-03T22:51:41.673Z] STF 22:51:41.345 - | ModuleVersion: null
[2025-09-03T22:51:41.673Z] STF 22:51:41.345 - | MainClass: null
[2025-09-03T22:51:41.673Z] STF 22:51:41.345 - | HashModules: null
[2025-09-03T22:51:41.673Z] STF 22:51:41.345 - |
[2025-09-03T22:51:41.673Z] STF 22:51:41.346 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17569374472923/PatModImg_AppMod_1/20250903-225134-PatModImgTest/modules/1.com.hello.jar -C /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello .
[2025-09-03T22:51:41.673Z] STF 22:51:41.346 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17569374472923/PatModImg_AppMod_1/20250903-225134-PatModImgTest/results/1.CMJ.stderr
[2025-09-03T22:51:41.673Z] STF 22:51:41.347 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17569374472923/PatModImg_AppMod_1/20250903-225134-PatModImgTest/results/1.CMJ.stdout
[2025-09-03T22:51:41.673Z] STF 22:51:41.386 - Monitoring processes: CMJ
[2025-09-03T22:51:41.673Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-09-03T22:51:42.825Z] STF 22:51:42.714 - Monitoring Report Summary:
[2025-09-03T22:51:42.825Z] STF 22:51:42.715 - o Process CMJ ended with the expected exit code (0)
[2025-09-03T22:51:42.825Z] STF 22:51:42.715 - Created modular jar: 1.com.hello.jar
[2025-09-03T22:51:42.825Z] STF 22:51:42.715 -
[2025-09-03T22:51:42.825Z] STF 22:51:42.716 - +------ Step 2 - Create com.hola jar
[2025-09-03T22:51:42.825Z] STF 22:51:42.716 - | Create modular jar
[2025-09-03T22:51:42.825Z] STF 22:51:42.716 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola
[2025-09-03T22:51:42.825Z] STF 22:51:42.716 - | ModuleVersion: null
[2025-09-03T22:51:42.825Z] STF 22:51:42.716 - | MainClass: null
[2025-09-03T22:51:42.825Z] STF 22:51:42.716 - | HashModules: null
[2025-09-03T22:51:42.825Z] STF 22:51:42.716 - |
[2025-09-03T22:51:42.825Z] STF 22:51:42.717 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17569374472923/PatModImg_AppMod_1/20250903-225134-PatModImgTest/modules/2.com.hola.jar -C /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola .
[2025-09-03T22:51:42.826Z] STF 22:51:42.717 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17569374472923/PatModImg_AppMod_1/20250903-225134-PatModImgTest/results/2.CMJ.stderr
[2025-09-03T22:51:42.826Z] STF 22:51:42.718 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17569374472923/PatModImg_AppMod_1/20250903-225134-PatModImgTest/results/2.CMJ.stdout
[2025-09-03T22:51:42.826Z] STF 22:51:42.725 - Monitoring processes: CMJ
[2025-09-03T22:51:42.826Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-09-03T22:51:44.551Z] STF 22:51:44.054 - Monitoring Report Summary:
[2025-09-03T22:51:44.551Z] STF 22:51:44.054 - o Process CMJ ended with the expected exit code (0)
[2025-09-03T22:51:44.551Z] STF 22:51:44.055 - Created modular jar: 2.com.hola.jar
[2025-09-03T22:51:44.551Z] STF 22:51:44.055 -
[2025-09-03T22:51:44.551Z] STF 22:51:44.055 - +------ Step 3 - Create com.helper jar
[2025-09-03T22:51:44.551Z] STF 22:51:44.055 - | Create modular jar
[2025-09-03T22:51:44.551Z] STF 22:51:44.055 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper
[2025-09-03T22:51:44.551Z] STF 22:51:44.055 - | ModuleVersion: null
[2025-09-03T22:51:44.551Z] STF 22:51:44.055 - | MainClass: null
[2025-09-03T22:51:44.551Z] STF 22:51:44.055 - | HashModules: null
[2025-09-03T22:51:44.551Z] STF 22:51:44.055 - |
[2025-09-03T22:51:44.551Z] STF 22:51:44.056 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17569374472923/PatModImg_AppMod_1/20250903-225134-PatModImgTest/modules/3.com.helper.jar -C /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper .
[2025-09-03T22:51:44.551Z] STF 22:51:44.057 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17569374472923/PatModImg_AppMod_1/20250903-225134-PatModImgTest/results/3.CMJ.stderr
[2025-09-03T22:51:44.551Z] STF 22:51:44.057 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17569374472923/PatModImg_AppMod_1/20250903-225134-PatModImgTest/results/3.CMJ.stdout
[2025-09-03T22:51:44.551Z] STF 22:51:44.062 - Monitoring processes: CMJ
[2025-09-03T22:51:44.551Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-09-03T22:51:45.694Z] STF 22:51:45.430 - Monitoring Report Summary:
[2025-09-03T22:51:45.694Z] STF 22:51:45.431 - o Process CMJ ended with the expected exit code (0)
[2025-09-03T22:51:45.694Z] STF 22:51:45.431 - Created modular jar: 3.com.helper.jar
[2025-09-03T22:51:45.694Z] STF 22:51:45.431 -
[2025-09-03T22:51:45.694Z] STF 22:51:45.431 - +------ Step 4 - Create com.discreet jar
[2025-09-03T22:51:45.694Z] STF 22:51:45.431 - | Create modular jar
[2025-09-03T22:51:45.694Z] STF 22:51:45.431 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet
[2025-09-03T22:51:45.694Z] STF 22:51:45.432 - | ModuleVersion: null
[2025-09-03T22:51:45.694Z] STF 22:51:45.432 - | MainClass: null
[2025-09-03T22:51:45.694Z] STF 22:51:45.432 - | HashModules: null
[2025-09-03T22:51:45.694Z] STF 22:51:45.432 - |
[2025-09-03T22:51:45.694Z] STF 22:51:45.433 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17569374472923/PatModImg_AppMod_1/20250903-225134-PatModImgTest/modules/4.com.discreet.jar -C /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet .
[2025-09-03T22:51:45.694Z] STF 22:51:45.433 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17569374472923/PatModImg_AppMod_1/20250903-225134-PatModImgTest/results/4.CMJ.stderr
[2025-09-03T22:51:45.694Z] STF 22:51:45.433 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17569374472923/PatModImg_AppMod_1/20250903-225134-PatModImgTest/results/4.CMJ.stdout
[2025-09-03T22:51:45.694Z] STF 22:51:45.439 - Monitoring processes: CMJ
[2025-09-03T22:51:45.694Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-09-03T22:51:46.844Z] STF 22:51:46.740 - Monitoring Report Summary:
[2025-09-03T22:51:46.844Z] STF 22:51:46.740 - o Process CMJ ended with the expected exit code (0)
[2025-09-03T22:51:46.844Z] STF 22:51:46.741 - Created modular jar: 4.com.discreet.jar
[2025-09-03T22:51:46.844Z] STF 22:51:46.741 -
[2025-09-03T22:51:46.844Z] STF 22:51:46.741 - +------ Step 5 - Create tests jar
[2025-09-03T22:51:46.844Z] STF 22:51:46.741 - | Create modular jar
[2025-09-03T22:51:46.844Z] STF 22:51:46.741 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test
[2025-09-03T22:51:46.844Z] STF 22:51:46.741 - | ModuleVersion: null
[2025-09-03T22:51:46.844Z] STF 22:51:46.741 - | MainClass: null
[2025-09-03T22:51:46.844Z] STF 22:51:46.741 - | HashModules: null
[2025-09-03T22:51:46.844Z] STF 22:51:46.741 - |
[2025-09-03T22:51:46.844Z] STF 22:51:46.742 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17569374472923/PatModImg_AppMod_1/20250903-225134-PatModImgTest/modules/5.com.test.jar -C /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test .
[2025-09-03T22:51:46.844Z] STF 22:51:46.742 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17569374472923/PatModImg_AppMod_1/20250903-225134-PatModImgTest/results/5.CMJ.stderr
[2025-09-03T22:51:46.844Z] STF 22:51:46.742 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17569374472923/PatModImg_AppMod_1/20250903-225134-PatModImgTest/results/5.CMJ.stdout
[2025-09-03T22:51:46.844Z] STF 22:51:46.747 - Monitoring processes: CMJ
[2025-09-03T22:51:46.844Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-09-03T22:51:48.497Z] STF 22:51:48.052 - Monitoring Report Summary:
[2025-09-03T22:51:48.497Z] STF 22:51:48.052 - o Process CMJ ended with the expected exit code (0)
[2025-09-03T22:51:48.497Z] STF 22:51:48.052 - Created modular jar: 5.com.test.jar
[2025-09-03T22:51:48.497Z] STF 22:51:48.053 -
[2025-09-03T22:51:48.497Z] STF 22:51:48.053 - +------ Step 6 - Create runtime image for PatchModule test
[2025-09-03T22:51:48.497Z] STF 22:51:48.053 - | Run jlink to create runtime image
[2025-09-03T22:51:48.497Z] STF 22:51:48.053 - | ImageName: XpJVM
[2025-09-03T22:51:48.497Z] STF 22:51:48.053 - |
[2025-09-03T22:51:48.497Z] STF 22:51:48.054 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/bin/jlink --module-path /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/jmods:/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17569374472923/PatModImg_AppMod_1/20250903-225134-PatModImgTest/modules --add-modules com.hello,com.hola,com.test,com.helper,com.discreet --output /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17569374472923/PatModImg_AppMod_1/20250903-225134-PatModImgTest/tmp/6.XpJVM
[2025-09-03T22:51:48.497Z] STF 22:51:48.054 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17569374472923/PatModImg_AppMod_1/20250903-225134-PatModImgTest/results/6.JLNK.stderr
[2025-09-03T22:51:48.497Z] STF 22:51:48.054 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17569374472923/PatModImg_AppMod_1/20250903-225134-PatModImgTest/results/6.JLNK.stdout
[2025-09-03T22:51:48.497Z] STF 22:51:48.061 - Monitoring processes: JLNK
[2025-09-03T22:51:48.497Z] JLNK stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-09-03T22:51:59.309Z] STF 22:51:59.059 - Monitoring Report Summary:
[2025-09-03T22:51:59.309Z] STF 22:51:59.060 - o Process JLNK ended with the expected exit code (0)
[2025-09-03T22:51:59.309Z] STF 22:51:59.063 -
[2025-09-03T22:51:59.309Z] STF 22:51:59.063 - +------ Step 7 - Create com.hello jar
[2025-09-03T22:51:59.309Z] STF 22:51:59.064 - | Create modular jar
[2025-09-03T22:51:59.309Z] STF 22:51:59.064 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello
[2025-09-03T22:51:59.309Z] STF 22:51:59.065 - | ModuleVersion: null
[2025-09-03T22:51:59.309Z] STF 22:51:59.065 - | MainClass: null
[2025-09-03T22:51:59.309Z] STF 22:51:59.066 - | HashModules: null
[2025-09-03T22:51:59.309Z] STF 22:51:59.066 - |
[2025-09-03T22:51:59.309Z] STF 22:51:59.071 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17569374472923/PatModImg_AppMod_1/20250903-225134-PatModImgTest/modules/7.com.hello.jar -C /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello .
[2025-09-03T22:51:59.309Z] STF 22:51:59.072 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17569374472923/PatModImg_AppMod_1/20250903-225134-PatModImgTest/results/7.CMJ.stderr
[2025-09-03T22:51:59.309Z] STF 22:51:59.073 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17569374472923/PatModImg_AppMod_1/20250903-225134-PatModImgTest/results/7.CMJ.stdout
[2025-09-03T22:51:59.309Z] STF 22:51:59.085 - Monitoring processes: CMJ
[2025-09-03T22:51:59.309Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-09-03T22:52:00.965Z] STF 22:52:00.394 - Monitoring Report Summary:
[2025-09-03T22:52:00.965Z] STF 22:52:00.394 - o Process CMJ ended with the expected exit code (0)
[2025-09-03T22:52:00.965Z] STF 22:52:00.395 - Created modular jar: 7.com.hello.jar
[2025-09-03T22:52:00.965Z] STF 22:52:00.395 -
[2025-09-03T22:52:00.965Z] STF 22:52:00.395 - +------ Step 8 - create java.xml.jar
[2025-09-03T22:52:00.965Z] STF 22:52:00.395 - | Create modular jar
[2025-09-03T22:52:00.965Z] STF 22:52:00.395 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml
[2025-09-03T22:52:00.965Z] STF 22:52:00.395 - | ModuleVersion: null
[2025-09-03T22:52:00.965Z] STF 22:52:00.395 - | MainClass: null
[2025-09-03T22:52:00.965Z] STF 22:52:00.396 - | HashModules: null
[2025-09-03T22:52:00.965Z] STF 22:52:00.396 - |
[2025-09-03T22:52:00.965Z] STF 22:52:00.397 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17569374472923/PatModImg_AppMod_1/20250903-225134-PatModImgTest/modules/8.java.xml.jar -C /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/java.xml .
[2025-09-03T22:52:00.965Z] STF 22:52:00.397 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17569374472923/PatModImg_AppMod_1/20250903-225134-PatModImgTest/results/8.CMJ.stderr
[2025-09-03T22:52:00.965Z] STF 22:52:00.397 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17569374472923/PatModImg_AppMod_1/20250903-225134-PatModImgTest/results/8.CMJ.stdout
[2025-09-03T22:52:00.965Z] STF 22:52:00.402 - Monitoring processes: CMJ
[2025-09-03T22:52:00.965Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-09-03T22:52:02.100Z] STF 22:52:01.689 - Monitoring Report Summary:
[2025-09-03T22:52:02.100Z] STF 22:52:01.689 - o Process CMJ ended with the expected exit code (0)
[2025-09-03T22:52:02.100Z] STF 22:52:01.689 - Created modular jar: 8.java.xml.jar
[2025-09-03T22:52:02.100Z] STF 22:52:01.690 -
[2025-09-03T22:52:02.100Z] STF 22:52:01.690 - +------ Step 9 - Verify if we can patch an Application module using exploded directory
[2025-09-03T22:52:02.100Z] STF 22:52:01.690 - | Run foreground process
[2025-09-03T22:52:02.100Z] STF 22:52:01.690 - | Program: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17569374472923/PatModImg_AppMod_1/20250903-225134-PatModImgTest/tmp/6.XpJVM/bin/java
[2025-09-03T22:52:02.100Z] STF 22:52:01.690 - | Mnemonic: OT21
[2025-09-03T22:52:02.100Z] STF 22:52:01.690 - | Echo: ECHO_ON
[2025-09-03T22:52:02.100Z] STF 22:52:01.690 - | Expectation: CLEAN_RUN within 5m
[2025-09-03T22:52:02.100Z] STF 22:52:01.690 - |
[2025-09-03T22:52:02.100Z] STF 22:52:01.691 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17569374472923/PatModImg_AppMod_1/20250903-225134-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module com.hello=/home/jenkins/workspace/Test_openjdk21_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-09-03T22:52:02.100Z] STF 22:52:01.691 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17569374472923/PatModImg_AppMod_1/20250903-225134-PatModImgTest/results/9.OT21.stderr
[2025-09-03T22:52:02.100Z] STF 22:52:01.691 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17569374472923/PatModImg_AppMod_1/20250903-225134-PatModImgTest/results/9.OT21.stdout
[2025-09-03T22:52:02.100Z] STF 22:52:01.698 - Monitoring processes: OT21
[2025-09-03T22:52:02.100Z] OT21 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-09-03T22:52:02.806Z] OT21 stderr WARNING: module-info.class ignored in patch: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello
[2025-09-03T22:52:02.806Z] OT21 JUnit version 4.12
[2025-09-03T22:52:03.505Z] OT21 .
[2025-09-03T22:52:03.505Z] OT21 Time: 0.058
[2025-09-03T22:52:03.505Z] OT21
[2025-09-03T22:52:03.505Z] OT21 OK (1 test)
[2025-09-03T22:52:03.505Z] OT21
[2025-09-03T22:52:03.505Z] STF 22:52:03.317 - Monitoring Report Summary:
[2025-09-03T22:52:03.505Z] STF 22:52:03.318 - o Process OT21 ended with the expected exit code (0)
[2025-09-03T22:52:03.505Z] STF 22:52:03.321 -
[2025-09-03T22:52:03.505Z] STF 22:52:03.321 - +------ Step 10 - Verify if we can patch an Application module using modular jar
[2025-09-03T22:52:03.505Z] STF 22:52:03.322 - | Run foreground process
[2025-09-03T22:52:03.505Z] STF 22:52:03.322 - | Program: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17569374472923/PatModImg_AppMod_1/20250903-225134-PatModImgTest/tmp/6.XpJVM/bin/java
[2025-09-03T22:52:03.505Z] STF 22:52:03.322 - | Mnemonic: OT22
[2025-09-03T22:52:03.505Z] STF 22:52:03.322 - | Echo: ECHO_ON
[2025-09-03T22:52:03.505Z] STF 22:52:03.323 - | Expectation: CLEAN_RUN within 5m
[2025-09-03T22:52:03.505Z] STF 22:52:03.323 - |
[2025-09-03T22:52:03.505Z] STF 22:52:03.327 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17569374472923/PatModImg_AppMod_1/20250903-225134-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module com.hello=/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17569374472923/PatModImg_AppMod_1/20250903-225134-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-09-03T22:52:03.505Z] STF 22:52:03.327 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17569374472923/PatModImg_AppMod_1/20250903-225134-PatModImgTest/results/10.OT22.stderr
[2025-09-03T22:52:03.505Z] STF 22:52:03.328 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17569374472923/PatModImg_AppMod_1/20250903-225134-PatModImgTest/results/10.OT22.stdout
[2025-09-03T22:52:03.829Z] STF 22:52:03.343 - Monitoring processes: OT22
[2025-09-03T22:52:03.829Z] OT22 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-09-03T22:52:04.153Z] OT22 stderr WARNING: module-info.class ignored in patch: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17569374472923/PatModImg_AppMod_1/20250903-225134-PatModImgTest/modules/7.com.hello.jar
[2025-09-03T22:52:04.478Z] OT22 JUnit version 4.12
[2025-09-03T22:52:04.804Z] OT22 .
[2025-09-03T22:52:05.128Z] OT22 Time: 0.039
[2025-09-03T22:52:05.128Z] OT22
[2025-09-03T22:52:05.129Z] OT22 OK (1 test)
[2025-09-03T22:52:05.129Z] OT22
[2025-09-03T22:52:05.129Z] STF 22:52:04.822 - Monitoring Report Summary:
[2025-09-03T22:52:05.129Z] STF 22:52:04.822 - o Process OT22 ended with the expected exit code (0)
[2025-09-03T22:52:05.129Z] STF 22:52:04.823 - EXECUTE stage completed
[2025-09-03T22:52:05.129Z] STF 22:52:05.018 -
[2025-09-03T22:52:05.129Z] STF 22:52:05.019 - ==================== T E A R D O W N ====================
[2025-09-03T22:52:05.129Z] STF 22:52:05.019 - Running teardown: perl /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17569374472923/PatModImg_AppMod_1/20250903-225134-PatModImgTest/tearDown.pl
[2025-09-03T22:52:05.453Z] STF 22:52:05.254 - TEARDOWN stage completed
[2025-09-03T22:52:05.453Z] STF 22:52:05.265 -
[2025-09-03T22:52:05.453Z] STF 22:52:05.266 - ===================== R E S U L T S =====================
[2025-09-03T22:52:05.453Z] STF 22:52:05.266 - Stage results:
[2025-09-03T22:52:05.453Z] STF 22:52:05.266 - setUp: pass
[2025-09-03T22:52:05.453Z] STF 22:52:05.266 - execute: pass
[2025-09-03T22:52:05.453Z] STF 22:52:05.266 - teardown: pass
[2025-09-03T22:52:05.453Z] STF 22:52:05.266 -
[2025-09-03T22:52:05.453Z] STF 22:52:05.266 - Overall result: PASSED
[2025-09-03T22:52:05.453Z] -----------------------------------
[2025-09-03T22:52:05.453Z] PatModImg_AppMod_1_PASSED
[2025-09-03T22:52:05.453Z] -----------------------------------
[2025-09-03T22:52:05.453Z]
[2025-09-03T22:52:05.453Z] TEST TEARDOWN:
[2025-09-03T22:52:05.453Z] Nothing to be done for teardown.
[2025-09-03T22:52:05.453Z] PatModImg_AppMod_1 Finish Time: Wed Sep 3 22:52:05 2025 Epoch Time (ms): 1756939925434