PatModImg_PlatMod_1

[2025-09-03T22:50:31.498Z] Running test PatModImg_PlatMod_1 ... [2025-09-03T22:50:31.498Z] =============================================== [2025-09-03T22:50:31.498Z] PatModImg_PlatMod_1 Start Time: Wed Sep 3 22:50:31 2025 Epoch Time (ms): 1756939831316 [2025-09-03T22:50:31.498Z] variation: Mode650 [2025-09-03T22:50:31.498Z] JVM_OPTIONS: -XX:-UseCompressedOops [2025-09-03T22:50:31.498Z] { \ [2025-09-03T22:50:31.498Z] echo ""; echo "TEST SETUP:"; \ [2025-09-03T22:50:31.498Z] echo "Nothing to be done for setup."; \ [2025-09-03T22:50:31.498Z] mkdir -p "/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17569374472923/PatModImg_PlatMod_1"; \ [2025-09-03T22:50:31.498Z] cd "/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17569374472923/PatModImg_PlatMod_1"; \ [2025-09-03T22:50:31.498Z] echo ""; echo "TESTING:"; \ [2025-09-03T22:50:31.498Z] 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_PlatMod_1" -test=PatModImgTest -test-args="variant=PlatMod"; \ [2025-09-03T22:50:31.498Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatModImg_PlatMod_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_PlatMod_1"; else echo "-----------------------------------"; echo "PatModImg_PlatMod_1""_FAILED"; echo "-----------------------------------"; fi; \ [2025-09-03T22:50:31.498Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-09-03T22:50:31.498Z] echo "Nothing to be done for teardown."; \ [2025-09-03T22:50:31.498Z] } 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:50:31.498Z] [2025-09-03T22:50:31.498Z] TEST SETUP: [2025-09-03T22:50:31.498Z] Nothing to be done for setup. [2025-09-03T22:50:31.498Z] [2025-09-03T22:50:31.498Z] TESTING: [2025-09-03T22:50:31.829Z] STF 22:50:31.587 - ========================= S T F ========================= [2025-09-03T22:50:31.829Z] 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_PlatMod_1 [2025-09-03T22:50:31.829Z] There is 31527 Mb free [2025-09-03T22:50:31.829Z] STF 22:50:31.608 - ================== G E N E R A T I O N ================== [2025-09-03T22:50:31.829Z] STF 22:50:31.612 - Checking JVM: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image [2025-09-03T22:50:31.829Z] STF 22:50:31.612 - 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_PlatMod_1/20250903-225031-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_PlatMod_1/20250903-225031-PatModImgTest" [2025-09-03T22:50:31.829Z] GEN stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-09-03T22:50:31.829Z] GEN [0.020s][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:50:36.763Z] GEN 22:50:36.347 - 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:50:36.763Z] GEN 22:50:36.393 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModImgTest' [2025-09-03T22:50:37.094Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2025-09-03T22:50:37.094Z] 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:50:37.094Z] 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:50:37.094Z] 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:50:37.094Z] 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:50:37.094Z] 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:50:37.094Z] 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:50:37.094Z] 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:50:37.094Z] 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:50:37.094Z] 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:50:37.094Z] 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:50:37.094Z] 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:50:37.094Z] 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:50:37.094Z] 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:50:37.094Z] 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:50:37.094Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin [2025-09-03T22:50:37.094Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/STF/stf.core/bin [2025-09-03T22:50:37.094Z] GEN /home/jenkins/externalDependency/system_lib/log4j/log4j-api.jar [2025-09-03T22:50:37.094Z] GEN /home/jenkins/externalDependency/system_lib/log4j/log4j-core.jar [2025-09-03T22:50:37.094Z] GEN /home/jenkins/externalDependency/system_lib/junit/junit.jar [2025-09-03T22:50:37.427Z] GEN 22:50:37.132 - Using Mode NoOptions. Values = '' [2025-09-03T22:50:37.761Z] GEN 22:50:37.530 - [2025-09-03T22:50:37.761Z] GEN 22:50:37.531 - Test command summary: [2025-09-03T22:50:37.761Z] GEN 22:50:37.533 - Step Stage Command Description [2025-09-03T22:50:37.761Z] GEN 22:50:37.534 - -----+--------+-----------------+------------ [2025-09-03T22:50:37.761Z] GEN 22:50:37.535 - 1 execute jar Create com.hello jar [2025-09-03T22:50:37.761Z] GEN 22:50:37.536 - 2 execute jar Create com.hola jar [2025-09-03T22:50:37.761Z] GEN 22:50:37.537 - 3 execute jar Create com.helper jar [2025-09-03T22:50:37.761Z] GEN 22:50:37.537 - 4 execute jar Create com.discreet jar [2025-09-03T22:50:37.761Z] GEN 22:50:37.539 - 5 execute jar Create tests jar [2025-09-03T22:50:37.761Z] GEN 22:50:37.539 - 6 execute jlink Create runtime image for PatchModule test [2025-09-03T22:50:37.761Z] GEN 22:50:37.540 - 7 execute jar Create com.hello jar [2025-09-03T22:50:37.761Z] GEN 22:50:37.541 - 8 execute jar create java.xml.jar [2025-09-03T22:50:37.761Z] GEN 22:50:37.542 - 9 execute Run java Verify if we can patch an upgradable platform module using exploded directory [2025-09-03T22:50:37.761Z] GEN 22:50:37.543 - 10 execute Run java Verify if we can patch an upgradable platform module using modular jar [2025-09-03T22:50:37.761Z] STF 22:50:37.718 - [2025-09-03T22:50:37.761Z] STF 22:50:37.718 - Script generation completed [2025-09-03T22:50:37.761Z] STF 22:50:37.718 - [2025-09-03T22:50:37.761Z] STF 22:50:37.720 - [2025-09-03T22:50:37.761Z] STF 22:50:37.720 - ======================= S E T U P ======================= [2025-09-03T22:50:37.761Z] STF 22:50:37.720 - Running setup: perl /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17569374472923/PatModImg_PlatMod_1/20250903-225031-PatModImgTest/setUp.pl [2025-09-03T22:50:38.093Z] STF 22:50:37.950 - SETUP stage completed [2025-09-03T22:50:38.093Z] STF 22:50:37.958 - [2025-09-03T22:50:38.093Z] STF 22:50:37.958 - ==================== E X E C U T E - ==================== [2025-09-03T22:50:38.093Z] STF 22:50:37.958 - Running execute: perl /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17569374472923/PatModImg_PlatMod_1/20250903-225031-PatModImgTest/execute.pl [2025-09-03T22:50:38.416Z] STF 22:50:38.195 - [2025-09-03T22:50:38.416Z] STF 22:50:38.195 - Java version [2025-09-03T22:50:38.416Z] STF 22:50:38.195 - Running: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/bin/java -version [2025-09-03T22:50:38.416Z] Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-09-03T22:50:38.741Z] openjdk version "21.0.9-beta" 2025-10-21 [2025-09-03T22:50:38.741Z] OpenJDK Runtime Environment Temurin-21.0.9+6-202509031952 (build 21.0.9-beta+6-ea) [2025-09-03T22:50:38.741Z] OpenJDK 64-Bit Server VM Temurin-21.0.9+6-202509031952 (build 21.0.9-beta+6-ea, mixed mode, sharing) [2025-09-03T22:50:38.741Z] STF 22:50:38.440 - [2025-09-03T22:50:38.741Z] STF 22:50:38.440 - +------ Step 1 - Create com.hello jar [2025-09-03T22:50:38.741Z] STF 22:50:38.440 - | Create modular jar [2025-09-03T22:50:38.741Z] STF 22:50:38.441 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2025-09-03T22:50:38.741Z] STF 22:50:38.441 - | ModuleVersion: null [2025-09-03T22:50:38.741Z] STF 22:50:38.441 - | MainClass: null [2025-09-03T22:50:38.741Z] STF 22:50:38.441 - | HashModules: null [2025-09-03T22:50:38.741Z] STF 22:50:38.441 - | [2025-09-03T22:50:38.741Z] STF 22:50:38.442 - 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_PlatMod_1/20250903-225031-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:50:38.741Z] STF 22:50:38.443 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17569374472923/PatModImg_PlatMod_1/20250903-225031-PatModImgTest/results/1.CMJ.stderr [2025-09-03T22:50:38.741Z] STF 22:50:38.443 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17569374472923/PatModImg_PlatMod_1/20250903-225031-PatModImgTest/results/1.CMJ.stdout [2025-09-03T22:50:38.741Z] STF 22:50:38.480 - Monitoring processes: CMJ [2025-09-03T22:50:38.741Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-09-03T22:50:39.901Z] STF 22:50:39.812 - Monitoring Report Summary: [2025-09-03T22:50:39.901Z] STF 22:50:39.813 - o Process CMJ ended with the expected exit code (0) [2025-09-03T22:50:39.901Z] STF 22:50:39.813 - Created modular jar: 1.com.hello.jar [2025-09-03T22:50:39.901Z] STF 22:50:39.813 - [2025-09-03T22:50:39.901Z] STF 22:50:39.813 - +------ Step 2 - Create com.hola jar [2025-09-03T22:50:39.901Z] STF 22:50:39.814 - | Create modular jar [2025-09-03T22:50:39.901Z] STF 22:50:39.814 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2025-09-03T22:50:39.901Z] STF 22:50:39.814 - | ModuleVersion: null [2025-09-03T22:50:39.901Z] STF 22:50:39.814 - | MainClass: null [2025-09-03T22:50:39.901Z] STF 22:50:39.814 - | HashModules: null [2025-09-03T22:50:39.901Z] STF 22:50:39.814 - | [2025-09-03T22:50:39.902Z] STF 22:50:39.815 - 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_PlatMod_1/20250903-225031-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:50:39.902Z] STF 22:50:39.815 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17569374472923/PatModImg_PlatMod_1/20250903-225031-PatModImgTest/results/2.CMJ.stderr [2025-09-03T22:50:39.902Z] STF 22:50:39.815 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17569374472923/PatModImg_PlatMod_1/20250903-225031-PatModImgTest/results/2.CMJ.stdout [2025-09-03T22:50:39.902Z] STF 22:50:39.820 - Monitoring processes: CMJ [2025-09-03T22:50:39.902Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-09-03T22:50:41.557Z] STF 22:50:41.158 - Monitoring Report Summary: [2025-09-03T22:50:41.557Z] STF 22:50:41.158 - o Process CMJ ended with the expected exit code (0) [2025-09-03T22:50:41.557Z] STF 22:50:41.159 - Created modular jar: 2.com.hola.jar [2025-09-03T22:50:41.557Z] STF 22:50:41.160 - [2025-09-03T22:50:41.557Z] STF 22:50:41.160 - +------ Step 3 - Create com.helper jar [2025-09-03T22:50:41.557Z] STF 22:50:41.160 - | Create modular jar [2025-09-03T22:50:41.557Z] STF 22:50:41.160 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2025-09-03T22:50:41.557Z] STF 22:50:41.160 - | ModuleVersion: null [2025-09-03T22:50:41.557Z] STF 22:50:41.160 - | MainClass: null [2025-09-03T22:50:41.557Z] STF 22:50:41.160 - | HashModules: null [2025-09-03T22:50:41.557Z] STF 22:50:41.160 - | [2025-09-03T22:50:41.557Z] STF 22:50:41.162 - 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_PlatMod_1/20250903-225031-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:50:41.557Z] STF 22:50:41.162 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17569374472923/PatModImg_PlatMod_1/20250903-225031-PatModImgTest/results/3.CMJ.stderr [2025-09-03T22:50:41.557Z] STF 22:50:41.162 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17569374472923/PatModImg_PlatMod_1/20250903-225031-PatModImgTest/results/3.CMJ.stdout [2025-09-03T22:50:41.557Z] STF 22:50:41.169 - Monitoring processes: CMJ [2025-09-03T22:50:41.557Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-09-03T22:50:42.705Z] STF 22:50:42.472 - Monitoring Report Summary: [2025-09-03T22:50:42.705Z] STF 22:50:42.472 - o Process CMJ ended with the expected exit code (0) [2025-09-03T22:50:42.705Z] STF 22:50:42.473 - Created modular jar: 3.com.helper.jar [2025-09-03T22:50:42.705Z] STF 22:50:42.473 - [2025-09-03T22:50:42.705Z] STF 22:50:42.473 - +------ Step 4 - Create com.discreet jar [2025-09-03T22:50:42.705Z] STF 22:50:42.473 - | Create modular jar [2025-09-03T22:50:42.705Z] STF 22:50:42.473 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2025-09-03T22:50:42.705Z] STF 22:50:42.473 - | ModuleVersion: null [2025-09-03T22:50:42.705Z] STF 22:50:42.473 - | MainClass: null [2025-09-03T22:50:42.705Z] STF 22:50:42.473 - | HashModules: null [2025-09-03T22:50:42.705Z] STF 22:50:42.474 - | [2025-09-03T22:50:42.705Z] STF 22:50:42.474 - 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_PlatMod_1/20250903-225031-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:50:42.705Z] STF 22:50:42.474 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17569374472923/PatModImg_PlatMod_1/20250903-225031-PatModImgTest/results/4.CMJ.stderr [2025-09-03T22:50:42.705Z] STF 22:50:42.474 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17569374472923/PatModImg_PlatMod_1/20250903-225031-PatModImgTest/results/4.CMJ.stdout [2025-09-03T22:50:42.705Z] STF 22:50:42.481 - Monitoring processes: CMJ [2025-09-03T22:50:42.705Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-09-03T22:50:43.857Z] STF 22:50:43.791 - Monitoring Report Summary: [2025-09-03T22:50:43.857Z] STF 22:50:43.791 - o Process CMJ ended with the expected exit code (0) [2025-09-03T22:50:43.857Z] STF 22:50:43.792 - Created modular jar: 4.com.discreet.jar [2025-09-03T22:50:43.857Z] STF 22:50:43.792 - [2025-09-03T22:50:43.857Z] STF 22:50:43.792 - +------ Step 5 - Create tests jar [2025-09-03T22:50:43.857Z] STF 22:50:43.792 - | Create modular jar [2025-09-03T22:50:43.857Z] STF 22:50:43.792 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2025-09-03T22:50:43.857Z] STF 22:50:43.792 - | ModuleVersion: null [2025-09-03T22:50:43.857Z] STF 22:50:43.792 - | MainClass: null [2025-09-03T22:50:43.857Z] STF 22:50:43.792 - | HashModules: null [2025-09-03T22:50:43.857Z] STF 22:50:43.792 - | [2025-09-03T22:50:43.857Z] STF 22:50:43.794 - 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_PlatMod_1/20250903-225031-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:50:43.857Z] STF 22:50:43.794 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17569374472923/PatModImg_PlatMod_1/20250903-225031-PatModImgTest/results/5.CMJ.stderr [2025-09-03T22:50:43.857Z] STF 22:50:43.794 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17569374472923/PatModImg_PlatMod_1/20250903-225031-PatModImgTest/results/5.CMJ.stdout [2025-09-03T22:50:43.857Z] STF 22:50:43.804 - Monitoring processes: CMJ [2025-09-03T22:50:44.185Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-09-03T22:50:45.328Z] STF 22:50:45.160 - Monitoring Report Summary: [2025-09-03T22:50:45.328Z] STF 22:50:45.160 - o Process CMJ ended with the expected exit code (0) [2025-09-03T22:50:45.328Z] STF 22:50:45.161 - Created modular jar: 5.com.test.jar [2025-09-03T22:50:45.328Z] STF 22:50:45.161 - [2025-09-03T22:50:45.328Z] STF 22:50:45.161 - +------ Step 6 - Create runtime image for PatchModule test [2025-09-03T22:50:45.328Z] STF 22:50:45.161 - | Run jlink to create runtime image [2025-09-03T22:50:45.328Z] STF 22:50:45.161 - | ImageName: XpJVM [2025-09-03T22:50:45.328Z] STF 22:50:45.161 - | [2025-09-03T22:50:45.328Z] STF 22:50:45.163 - 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_PlatMod_1/20250903-225031-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_PlatMod_1/20250903-225031-PatModImgTest/tmp/6.XpJVM [2025-09-03T22:50:45.328Z] STF 22:50:45.163 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17569374472923/PatModImg_PlatMod_1/20250903-225031-PatModImgTest/results/6.JLNK.stderr [2025-09-03T22:50:45.328Z] STF 22:50:45.163 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17569374472923/PatModImg_PlatMod_1/20250903-225031-PatModImgTest/results/6.JLNK.stdout [2025-09-03T22:50:45.328Z] STF 22:50:45.170 - Monitoring processes: JLNK [2025-09-03T22:50:45.328Z] JLNK stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-09-03T22:50:58.458Z] STF 22:50:56.151 - Monitoring Report Summary: [2025-09-03T22:50:58.458Z] STF 22:50:56.151 - o Process JLNK ended with the expected exit code (0) [2025-09-03T22:50:58.458Z] STF 22:50:56.153 - [2025-09-03T22:50:58.458Z] STF 22:50:56.153 - +------ Step 7 - Create com.hello jar [2025-09-03T22:50:58.458Z] STF 22:50:56.154 - | Create modular jar [2025-09-03T22:50:58.458Z] STF 22:50:56.154 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2025-09-03T22:50:58.458Z] STF 22:50:56.154 - | ModuleVersion: null [2025-09-03T22:50:58.458Z] STF 22:50:56.154 - | MainClass: null [2025-09-03T22:50:58.458Z] STF 22:50:56.154 - | HashModules: null [2025-09-03T22:50:58.458Z] STF 22:50:56.154 - | [2025-09-03T22:50:58.458Z] STF 22:50:56.156 - 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_PlatMod_1/20250903-225031-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:50:58.458Z] STF 22:50:56.156 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17569374472923/PatModImg_PlatMod_1/20250903-225031-PatModImgTest/results/7.CMJ.stderr [2025-09-03T22:50:58.458Z] STF 22:50:56.156 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17569374472923/PatModImg_PlatMod_1/20250903-225031-PatModImgTest/results/7.CMJ.stdout [2025-09-03T22:50:58.458Z] STF 22:50:56.166 - Monitoring processes: CMJ [2025-09-03T22:50:58.458Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-09-03T22:50:58.458Z] STF 22:50:57.443 - Monitoring Report Summary: [2025-09-03T22:50:58.458Z] STF 22:50:57.443 - o Process CMJ ended with the expected exit code (0) [2025-09-03T22:50:58.458Z] STF 22:50:57.444 - Created modular jar: 7.com.hello.jar [2025-09-03T22:50:58.458Z] STF 22:50:57.444 - [2025-09-03T22:50:58.458Z] STF 22:50:57.444 - +------ Step 8 - create java.xml.jar [2025-09-03T22:50:58.458Z] STF 22:50:57.444 - | Create modular jar [2025-09-03T22:50:58.458Z] STF 22:50:57.444 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml [2025-09-03T22:50:58.458Z] STF 22:50:57.444 - | ModuleVersion: null [2025-09-03T22:50:58.458Z] STF 22:50:57.444 - | MainClass: null [2025-09-03T22:50:58.458Z] STF 22:50:57.444 - | HashModules: null [2025-09-03T22:50:58.458Z] STF 22:50:57.444 - | [2025-09-03T22:50:58.458Z] STF 22:50:57.445 - 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_PlatMod_1/20250903-225031-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:50:58.458Z] STF 22:50:57.445 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17569374472923/PatModImg_PlatMod_1/20250903-225031-PatModImgTest/results/8.CMJ.stderr [2025-09-03T22:50:58.458Z] STF 22:50:57.445 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17569374472923/PatModImg_PlatMod_1/20250903-225031-PatModImgTest/results/8.CMJ.stdout [2025-09-03T22:50:58.458Z] STF 22:50:57.452 - Monitoring processes: CMJ [2025-09-03T22:50:58.458Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-09-03T22:50:59.173Z] STF 22:50:58.774 - Monitoring Report Summary: [2025-09-03T22:50:59.173Z] STF 22:50:58.774 - o Process CMJ ended with the expected exit code (0) [2025-09-03T22:50:59.173Z] STF 22:50:58.775 - Created modular jar: 8.java.xml.jar [2025-09-03T22:50:59.173Z] STF 22:50:58.775 - [2025-09-03T22:50:59.173Z] STF 22:50:58.775 - +------ Step 9 - Verify if we can patch an upgradable platform module using exploded directory [2025-09-03T22:50:59.173Z] STF 22:50:58.775 - | Run foreground process [2025-09-03T22:50:59.173Z] STF 22:50:58.775 - | Program: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17569374472923/PatModImg_PlatMod_1/20250903-225031-PatModImgTest/tmp/6.XpJVM/bin/java [2025-09-03T22:50:59.173Z] STF 22:50:58.775 - | Mnemonic: OT11 [2025-09-03T22:50:59.173Z] STF 22:50:58.775 - | Echo: ECHO_ON [2025-09-03T22:50:59.173Z] STF 22:50:58.775 - | Expectation: CLEAN_RUN within 5m [2025-09-03T22:50:59.173Z] STF 22:50:58.775 - | [2025-09-03T22:50:59.173Z] STF 22:50:58.776 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17569374472923/PatModImg_PlatMod_1/20250903-225031-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module java.xml=/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/java.xml -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.TestOverrideUsingUpgradablePlatformModule [2025-09-03T22:50:59.173Z] STF 22:50:58.776 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17569374472923/PatModImg_PlatMod_1/20250903-225031-PatModImgTest/results/9.OT11.stderr [2025-09-03T22:50:59.173Z] STF 22:50:58.777 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17569374472923/PatModImg_PlatMod_1/20250903-225031-PatModImgTest/results/9.OT11.stdout [2025-09-03T22:50:59.173Z] STF 22:50:58.782 - Monitoring processes: OT11 [2025-09-03T22:50:59.173Z] OT11 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-09-03T22:50:59.873Z] OT11 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/java.xml [2025-09-03T22:50:59.873Z] OT11 JUnit version 4.12 [2025-09-03T22:51:00.581Z] OT11 . [2025-09-03T22:51:00.581Z] OT11 Time: 0.031 [2025-09-03T22:51:00.581Z] OT11 [2025-09-03T22:51:00.581Z] OT11 OK (1 test) [2025-09-03T22:51:00.581Z] OT11 [2025-09-03T22:51:00.581Z] STF 22:51:00.351 - Monitoring Report Summary: [2025-09-03T22:51:00.581Z] STF 22:51:00.351 - o Process OT11 ended with the expected exit code (0) [2025-09-03T22:51:00.581Z] STF 22:51:00.352 - [2025-09-03T22:51:00.581Z] STF 22:51:00.353 - +------ Step 10 - Verify if we can patch an upgradable platform module using modular jar [2025-09-03T22:51:00.581Z] STF 22:51:00.353 - | Run foreground process [2025-09-03T22:51:00.581Z] STF 22:51:00.353 - | Program: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17569374472923/PatModImg_PlatMod_1/20250903-225031-PatModImgTest/tmp/6.XpJVM/bin/java [2025-09-03T22:51:00.581Z] STF 22:51:00.353 - | Mnemonic: OT12 [2025-09-03T22:51:00.581Z] STF 22:51:00.353 - | Echo: ECHO_ON [2025-09-03T22:51:00.581Z] STF 22:51:00.353 - | Expectation: CLEAN_RUN within 5m [2025-09-03T22:51:00.581Z] STF 22:51:00.353 - | [2025-09-03T22:51:00.581Z] STF 22:51:00.354 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17569374472923/PatModImg_PlatMod_1/20250903-225031-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module java.xml=/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17569374472923/PatModImg_PlatMod_1/20250903-225031-PatModImgTest/modules/8.java.xml.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.TestOverrideUsingUpgradablePlatformModule [2025-09-03T22:51:00.581Z] STF 22:51:00.354 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17569374472923/PatModImg_PlatMod_1/20250903-225031-PatModImgTest/results/10.OT12.stderr [2025-09-03T22:51:00.581Z] STF 22:51:00.354 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17569374472923/PatModImg_PlatMod_1/20250903-225031-PatModImgTest/results/10.OT12.stdout [2025-09-03T22:51:00.581Z] STF 22:51:00.361 - Monitoring processes: OT12 [2025-09-03T22:51:00.581Z] OT12 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-09-03T22:51:01.295Z] OT12 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_PlatMod_1/20250903-225031-PatModImgTest/modules/8.java.xml.jar [2025-09-03T22:51:01.295Z] OT12 JUnit version 4.12 [2025-09-03T22:51:01.996Z] OT12 . [2025-09-03T22:51:01.996Z] OT12 Time: 0.035 [2025-09-03T22:51:01.996Z] OT12 [2025-09-03T22:51:01.996Z] OT12 OK (1 test) [2025-09-03T22:51:01.996Z] OT12 [2025-09-03T22:51:01.996Z] STF 22:51:01.855 - Monitoring Report Summary: [2025-09-03T22:51:01.996Z] STF 22:51:01.855 - o Process OT12 ended with the expected exit code (0) [2025-09-03T22:51:01.996Z] STF 22:51:01.856 - EXECUTE stage completed [2025-09-03T22:51:01.996Z] STF 22:51:01.899 - [2025-09-03T22:51:01.996Z] STF 22:51:01.899 - ==================== T E A R D O W N ==================== [2025-09-03T22:51:01.996Z] STF 22:51:01.900 - Running teardown: perl /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17569374472923/PatModImg_PlatMod_1/20250903-225031-PatModImgTest/tearDown.pl [2025-09-03T22:51:02.320Z] STF 22:51:02.142 - TEARDOWN stage completed [2025-09-03T22:51:02.320Z] STF 22:51:02.151 - [2025-09-03T22:51:02.320Z] STF 22:51:02.152 - ===================== R E S U L T S ===================== [2025-09-03T22:51:02.320Z] STF 22:51:02.152 - Stage results: [2025-09-03T22:51:02.321Z] STF 22:51:02.152 - setUp: pass [2025-09-03T22:51:02.321Z] STF 22:51:02.152 - execute: pass [2025-09-03T22:51:02.321Z] STF 22:51:02.152 - teardown: pass [2025-09-03T22:51:02.321Z] STF 22:51:02.152 - [2025-09-03T22:51:02.321Z] STF 22:51:02.152 - Overall result: PASSED [2025-09-03T22:51:02.321Z] ----------------------------------- [2025-09-03T22:51:02.321Z] PatModImg_PlatMod_1_PASSED [2025-09-03T22:51:02.321Z] ----------------------------------- [2025-09-03T22:51:02.321Z] [2025-09-03T22:51:02.321Z] TEST TEARDOWN: [2025-09-03T22:51:02.321Z] Nothing to be done for teardown. [2025-09-03T22:51:02.646Z] PatModImg_PlatMod_1 Finish Time: Wed Sep 3 22:51:02 2025 Epoch Time (ms): 1756939862319