PatModImg_PlatMod_0

[2025-08-28T02:26:01.408Z] Running test PatModImg_PlatMod_0 ... [2025-08-28T02:26:01.408Z] =============================================== [2025-08-28T02:26:01.408Z] PatModImg_PlatMod_0 Start Time: Thu Aug 28 02:26:01 2025 Epoch Time (ms): 1756347961253 [2025-08-28T02:26:01.408Z] variation: Mode150 [2025-08-28T02:26:01.408Z] JVM_OPTIONS: -XX:+UseCompressedOops [2025-08-28T02:26:01.408Z] { \ [2025-08-28T02:26:01.408Z] echo ""; echo "TEST SETUP:"; \ [2025-08-28T02:26:01.408Z] echo "Nothing to be done for setup."; \ [2025-08-28T02:26:01.408Z] mkdir -p "/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_1756345897705/PatModImg_PlatMod_0"; \ [2025-08-28T02:26:01.408Z] cd "/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_1756345897705/PatModImg_PlatMod_0"; \ [2025-08-28T02:26:01.408Z] echo ""; echo "TESTING:"; \ [2025-08-28T02:26:01.408Z] 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_1756345897705/PatModImg_PlatMod_0" -test=PatModImgTest -test-args="variant=PlatMod"; \ [2025-08-28T02:26:01.408Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatModImg_PlatMod_0""_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_1756345897705/PatModImg_PlatMod_0"; else echo "-----------------------------------"; echo "PatModImg_PlatMod_0""_FAILED"; echo "-----------------------------------"; fi; \ [2025-08-28T02:26:01.408Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-08-28T02:26:01.408Z] echo "Nothing to be done for teardown."; \ [2025-08-28T02:26:01.408Z] } 2>&1 | tee -a "/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_1756345897705/TestTargetResult"; [2025-08-28T02:26:01.408Z] [2025-08-28T02:26:01.408Z] TEST SETUP: [2025-08-28T02:26:01.408Z] Nothing to be done for setup. [2025-08-28T02:26:01.408Z] [2025-08-28T02:26:01.408Z] TESTING: [2025-08-28T02:26:01.740Z] STF 02:26:01.528 - ========================= S T F ========================= [2025-08-28T02:26:01.740Z] 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_1756345897705/PatModImg_PlatMod_0 [2025-08-28T02:26:01.740Z] There is 35171 Mb free [2025-08-28T02:26:01.740Z] STF 02:26:01.549 - ================== G E N E R A T I O N ================== [2025-08-28T02:26:01.740Z] STF 02:26:01.553 - Checking JVM: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image [2025-08-28T02:26:01.740Z] STF 02:26:01.553 - 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_1756345897705/PatModImg_PlatMod_0/20250828-022601-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_1756345897705/PatModImg_PlatMod_0/20250828-022601-PatModImgTest" [2025-08-28T02:26:01.740Z] GEN stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-08-28T02:26:01.740Z] GEN [0.018s][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-08-28T02:26:06.462Z] GEN 02:26:06.258 - 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-08-28T02:26:06.462Z] GEN 02:26:06.304 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModImgTest' [2025-08-28T02:26:06.855Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2025-08-28T02:26:06.855Z] 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-08-28T02:26:06.855Z] 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-08-28T02:26:06.855Z] 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-08-28T02:26:06.855Z] 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-08-28T02:26:06.855Z] 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-08-28T02:26:06.855Z] 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-08-28T02:26:06.855Z] 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-08-28T02:26:06.855Z] 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-08-28T02:26:06.855Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override [2025-08-28T02:26:06.855Z] 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-08-28T02:26:06.855Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl3 [2025-08-28T02:26:06.855Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl4 [2025-08-28T02:26:06.855Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common [2025-08-28T02:26:06.855Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests [2025-08-28T02:26:06.855Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin [2025-08-28T02:26:06.855Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/STF/stf.core/bin [2025-08-28T02:26:06.855Z] GEN /home/jenkins/externalDependency/system_lib/log4j/log4j-api.jar [2025-08-28T02:26:06.855Z] GEN /home/jenkins/externalDependency/system_lib/log4j/log4j-core.jar [2025-08-28T02:26:06.855Z] GEN /home/jenkins/externalDependency/system_lib/junit/junit.jar [2025-08-28T02:26:07.203Z] GEN 02:26:07.020 - Using Mode NoOptions. Values = '' [2025-08-28T02:26:07.532Z] GEN 02:26:07.477 - [2025-08-28T02:26:07.532Z] GEN 02:26:07.478 - Test command summary: [2025-08-28T02:26:07.532Z] GEN 02:26:07.480 - Step Stage Command Description [2025-08-28T02:26:07.863Z] GEN 02:26:07.482 - -----+--------+-----------------+------------ [2025-08-28T02:26:07.863Z] GEN 02:26:07.483 - 1 execute jar Create com.hello jar [2025-08-28T02:26:07.863Z] GEN 02:26:07.483 - 2 execute jar Create com.hola jar [2025-08-28T02:26:07.863Z] GEN 02:26:07.484 - 3 execute jar Create com.helper jar [2025-08-28T02:26:07.863Z] GEN 02:26:07.485 - 4 execute jar Create com.discreet jar [2025-08-28T02:26:07.863Z] GEN 02:26:07.485 - 5 execute jar Create tests jar [2025-08-28T02:26:07.863Z] GEN 02:26:07.486 - 6 execute jlink Create runtime image for PatchModule test [2025-08-28T02:26:07.863Z] GEN 02:26:07.487 - 7 execute jar Create com.hello jar [2025-08-28T02:26:07.863Z] GEN 02:26:07.487 - 8 execute jar create java.xml.jar [2025-08-28T02:26:07.863Z] GEN 02:26:07.488 - 9 execute Run java Verify if we can patch an upgradable platform module using exploded directory [2025-08-28T02:26:07.863Z] GEN 02:26:07.489 - 10 execute Run java Verify if we can patch an upgradable platform module using modular jar [2025-08-28T02:26:07.863Z] STF 02:26:07.630 - [2025-08-28T02:26:07.863Z] STF 02:26:07.631 - Script generation completed [2025-08-28T02:26:07.863Z] STF 02:26:07.631 - [2025-08-28T02:26:07.863Z] STF 02:26:07.632 - [2025-08-28T02:26:07.863Z] STF 02:26:07.632 - ======================= S E T U P ======================= [2025-08-28T02:26:07.863Z] STF 02:26:07.632 - Running setup: perl /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_1756345897705/PatModImg_PlatMod_0/20250828-022601-PatModImgTest/setUp.pl [2025-08-28T02:26:08.197Z] STF 02:26:07.860 - SETUP stage completed [2025-08-28T02:26:08.197Z] STF 02:26:07.869 - [2025-08-28T02:26:08.197Z] STF 02:26:07.869 - ==================== E X E C U T E - ==================== [2025-08-28T02:26:08.197Z] STF 02:26:07.869 - Running execute: perl /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_1756345897705/PatModImg_PlatMod_0/20250828-022601-PatModImgTest/execute.pl [2025-08-28T02:26:08.197Z] STF 02:26:08.110 - [2025-08-28T02:26:08.197Z] STF 02:26:08.111 - Java version [2025-08-28T02:26:08.197Z] STF 02:26:08.111 - Running: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/bin/java -version [2025-08-28T02:26:08.197Z] Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-08-28T02:26:08.529Z] openjdk version "21.0.9-beta" 2025-10-21 [2025-08-28T02:26:08.529Z] OpenJDK Runtime Environment Temurin-21.0.9+5-202508271937 (build 21.0.9-beta+5-ea) [2025-08-28T02:26:08.529Z] OpenJDK 64-Bit Server VM Temurin-21.0.9+5-202508271937 (build 21.0.9-beta+5-ea, mixed mode, sharing) [2025-08-28T02:26:08.529Z] STF 02:26:08.358 - [2025-08-28T02:26:08.529Z] STF 02:26:08.358 - +------ Step 1 - Create com.hello jar [2025-08-28T02:26:08.529Z] STF 02:26:08.358 - | Create modular jar [2025-08-28T02:26:08.529Z] STF 02:26:08.358 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2025-08-28T02:26:08.529Z] STF 02:26:08.358 - | ModuleVersion: null [2025-08-28T02:26:08.529Z] STF 02:26:08.359 - | MainClass: null [2025-08-28T02:26:08.529Z] STF 02:26:08.359 - | HashModules: null [2025-08-28T02:26:08.529Z] STF 02:26:08.359 - | [2025-08-28T02:26:08.529Z] STF 02:26:08.360 - 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_1756345897705/PatModImg_PlatMod_0/20250828-022601-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-08-28T02:26:08.529Z] STF 02:26:08.361 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_1756345897705/PatModImg_PlatMod_0/20250828-022601-PatModImgTest/results/1.CMJ.stderr [2025-08-28T02:26:08.529Z] STF 02:26:08.361 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_1756345897705/PatModImg_PlatMod_0/20250828-022601-PatModImgTest/results/1.CMJ.stdout [2025-08-28T02:26:08.529Z] STF 02:26:08.400 - Monitoring processes: CMJ [2025-08-28T02:26:08.529Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-08-28T02:26:10.184Z] STF 02:26:09.757 - Monitoring Report Summary: [2025-08-28T02:26:10.184Z] STF 02:26:09.758 - o Process CMJ ended with the expected exit code (0) [2025-08-28T02:26:10.184Z] STF 02:26:09.758 - Created modular jar: 1.com.hello.jar [2025-08-28T02:26:10.184Z] STF 02:26:09.759 - [2025-08-28T02:26:10.184Z] STF 02:26:09.759 - +------ Step 2 - Create com.hola jar [2025-08-28T02:26:10.184Z] STF 02:26:09.759 - | Create modular jar [2025-08-28T02:26:10.184Z] STF 02:26:09.759 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2025-08-28T02:26:10.184Z] STF 02:26:09.759 - | ModuleVersion: null [2025-08-28T02:26:10.184Z] STF 02:26:09.759 - | MainClass: null [2025-08-28T02:26:10.184Z] STF 02:26:09.759 - | HashModules: null [2025-08-28T02:26:10.184Z] STF 02:26:09.759 - | [2025-08-28T02:26:10.184Z] STF 02:26:09.760 - 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_1756345897705/PatModImg_PlatMod_0/20250828-022601-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-08-28T02:26:10.184Z] STF 02:26:09.760 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_1756345897705/PatModImg_PlatMod_0/20250828-022601-PatModImgTest/results/2.CMJ.stderr [2025-08-28T02:26:10.184Z] STF 02:26:09.760 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_1756345897705/PatModImg_PlatMod_0/20250828-022601-PatModImgTest/results/2.CMJ.stdout [2025-08-28T02:26:10.184Z] STF 02:26:09.765 - Monitoring processes: CMJ [2025-08-28T02:26:10.184Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-08-28T02:26:11.323Z] STF 02:26:11.092 - Monitoring Report Summary: [2025-08-28T02:26:11.323Z] STF 02:26:11.092 - o Process CMJ ended with the expected exit code (0) [2025-08-28T02:26:11.323Z] STF 02:26:11.093 - Created modular jar: 2.com.hola.jar [2025-08-28T02:26:11.323Z] STF 02:26:11.093 - [2025-08-28T02:26:11.323Z] STF 02:26:11.093 - +------ Step 3 - Create com.helper jar [2025-08-28T02:26:11.323Z] STF 02:26:11.093 - | Create modular jar [2025-08-28T02:26:11.323Z] STF 02:26:11.093 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2025-08-28T02:26:11.323Z] STF 02:26:11.093 - | ModuleVersion: null [2025-08-28T02:26:11.323Z] STF 02:26:11.093 - | MainClass: null [2025-08-28T02:26:11.323Z] STF 02:26:11.093 - | HashModules: null [2025-08-28T02:26:11.323Z] STF 02:26:11.093 - | [2025-08-28T02:26:11.323Z] STF 02:26:11.094 - 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_1756345897705/PatModImg_PlatMod_0/20250828-022601-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-08-28T02:26:11.323Z] STF 02:26:11.095 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_1756345897705/PatModImg_PlatMod_0/20250828-022601-PatModImgTest/results/3.CMJ.stderr [2025-08-28T02:26:11.323Z] STF 02:26:11.095 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_1756345897705/PatModImg_PlatMod_0/20250828-022601-PatModImgTest/results/3.CMJ.stdout [2025-08-28T02:26:11.323Z] STF 02:26:11.101 - Monitoring processes: CMJ [2025-08-28T02:26:11.323Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-08-28T02:26:12.472Z] STF 02:26:12.431 - Monitoring Report Summary: [2025-08-28T02:26:12.472Z] STF 02:26:12.431 - o Process CMJ ended with the expected exit code (0) [2025-08-28T02:26:12.472Z] STF 02:26:12.432 - Created modular jar: 3.com.helper.jar [2025-08-28T02:26:12.472Z] STF 02:26:12.432 - [2025-08-28T02:26:12.472Z] STF 02:26:12.433 - +------ Step 4 - Create com.discreet jar [2025-08-28T02:26:12.472Z] STF 02:26:12.433 - | Create modular jar [2025-08-28T02:26:12.472Z] STF 02:26:12.433 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2025-08-28T02:26:12.472Z] STF 02:26:12.433 - | ModuleVersion: null [2025-08-28T02:26:12.472Z] STF 02:26:12.433 - | MainClass: null [2025-08-28T02:26:12.472Z] STF 02:26:12.433 - | HashModules: null [2025-08-28T02:26:12.472Z] STF 02:26:12.433 - | [2025-08-28T02:26:12.472Z] STF 02:26:12.435 - 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_1756345897705/PatModImg_PlatMod_0/20250828-022601-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-08-28T02:26:12.472Z] STF 02:26:12.436 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_1756345897705/PatModImg_PlatMod_0/20250828-022601-PatModImgTest/results/4.CMJ.stderr [2025-08-28T02:26:12.472Z] STF 02:26:12.436 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_1756345897705/PatModImg_PlatMod_0/20250828-022601-PatModImgTest/results/4.CMJ.stdout [2025-08-28T02:26:12.472Z] STF 02:26:12.443 - Monitoring processes: CMJ [2025-08-28T02:26:12.801Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-08-28T02:26:13.944Z] STF 02:26:13.722 - Monitoring Report Summary: [2025-08-28T02:26:13.944Z] STF 02:26:13.722 - o Process CMJ ended with the expected exit code (0) [2025-08-28T02:26:13.944Z] STF 02:26:13.722 - Created modular jar: 4.com.discreet.jar [2025-08-28T02:26:13.944Z] STF 02:26:13.723 - [2025-08-28T02:26:13.944Z] STF 02:26:13.723 - +------ Step 5 - Create tests jar [2025-08-28T02:26:13.944Z] STF 02:26:13.723 - | Create modular jar [2025-08-28T02:26:13.944Z] STF 02:26:13.723 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2025-08-28T02:26:13.944Z] STF 02:26:13.723 - | ModuleVersion: null [2025-08-28T02:26:13.944Z] STF 02:26:13.723 - | MainClass: null [2025-08-28T02:26:13.944Z] STF 02:26:13.723 - | HashModules: null [2025-08-28T02:26:13.944Z] STF 02:26:13.723 - | [2025-08-28T02:26:13.944Z] STF 02:26:13.724 - 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_1756345897705/PatModImg_PlatMod_0/20250828-022601-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-08-28T02:26:13.944Z] STF 02:26:13.724 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_1756345897705/PatModImg_PlatMod_0/20250828-022601-PatModImgTest/results/5.CMJ.stderr [2025-08-28T02:26:13.944Z] STF 02:26:13.724 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_1756345897705/PatModImg_PlatMod_0/20250828-022601-PatModImgTest/results/5.CMJ.stdout [2025-08-28T02:26:13.944Z] STF 02:26:13.730 - Monitoring processes: CMJ [2025-08-28T02:26:13.944Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-08-28T02:26:15.624Z] STF 02:26:15.097 - Monitoring Report Summary: [2025-08-28T02:26:15.625Z] STF 02:26:15.098 - o Process CMJ ended with the expected exit code (0) [2025-08-28T02:26:15.625Z] STF 02:26:15.100 - Created modular jar: 5.com.test.jar [2025-08-28T02:26:15.625Z] STF 02:26:15.100 - [2025-08-28T02:26:15.625Z] STF 02:26:15.101 - +------ Step 6 - Create runtime image for PatchModule test [2025-08-28T02:26:15.625Z] STF 02:26:15.101 - | Run jlink to create runtime image [2025-08-28T02:26:15.625Z] STF 02:26:15.101 - | ImageName: XpJVM [2025-08-28T02:26:15.625Z] STF 02:26:15.101 - | [2025-08-28T02:26:15.625Z] STF 02:26:15.103 - 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_1756345897705/PatModImg_PlatMod_0/20250828-022601-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_1756345897705/PatModImg_PlatMod_0/20250828-022601-PatModImgTest/tmp/6.XpJVM [2025-08-28T02:26:15.625Z] STF 02:26:15.104 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_1756345897705/PatModImg_PlatMod_0/20250828-022601-PatModImgTest/results/6.JLNK.stderr [2025-08-28T02:26:15.625Z] STF 02:26:15.104 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_1756345897705/PatModImg_PlatMod_0/20250828-022601-PatModImgTest/results/6.JLNK.stdout [2025-08-28T02:26:15.625Z] STF 02:26:15.113 - Monitoring processes: JLNK [2025-08-28T02:26:15.625Z] JLNK stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-08-28T02:26:26.430Z] STF 02:26:26.081 - Monitoring Report Summary: [2025-08-28T02:26:26.430Z] STF 02:26:26.082 - o Process JLNK ended with the expected exit code (0) [2025-08-28T02:26:26.430Z] STF 02:26:26.085 - [2025-08-28T02:26:26.430Z] STF 02:26:26.086 - +------ Step 7 - Create com.hello jar [2025-08-28T02:26:26.430Z] STF 02:26:26.086 - | Create modular jar [2025-08-28T02:26:26.430Z] STF 02:26:26.086 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2025-08-28T02:26:26.430Z] STF 02:26:26.087 - | ModuleVersion: null [2025-08-28T02:26:26.430Z] STF 02:26:26.087 - | MainClass: null [2025-08-28T02:26:26.430Z] STF 02:26:26.087 - | HashModules: null [2025-08-28T02:26:26.430Z] STF 02:26:26.087 - | [2025-08-28T02:26:26.430Z] STF 02:26:26.091 - 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_1756345897705/PatModImg_PlatMod_0/20250828-022601-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-08-28T02:26:26.430Z] STF 02:26:26.092 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_1756345897705/PatModImg_PlatMod_0/20250828-022601-PatModImgTest/results/7.CMJ.stderr [2025-08-28T02:26:26.430Z] STF 02:26:26.092 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_1756345897705/PatModImg_PlatMod_0/20250828-022601-PatModImgTest/results/7.CMJ.stdout [2025-08-28T02:26:26.430Z] STF 02:26:26.103 - Monitoring processes: CMJ [2025-08-28T02:26:26.430Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-08-28T02:26:28.084Z] STF 02:26:27.384 - Monitoring Report Summary: [2025-08-28T02:26:28.084Z] STF 02:26:27.384 - o Process CMJ ended with the expected exit code (0) [2025-08-28T02:26:28.084Z] STF 02:26:27.385 - Created modular jar: 7.com.hello.jar [2025-08-28T02:26:28.084Z] STF 02:26:27.385 - [2025-08-28T02:26:28.084Z] STF 02:26:27.385 - +------ Step 8 - create java.xml.jar [2025-08-28T02:26:28.084Z] STF 02:26:27.385 - | Create modular jar [2025-08-28T02:26:28.084Z] STF 02:26:27.385 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml [2025-08-28T02:26:28.084Z] STF 02:26:27.385 - | ModuleVersion: null [2025-08-28T02:26:28.084Z] STF 02:26:27.385 - | MainClass: null [2025-08-28T02:26:28.084Z] STF 02:26:27.385 - | HashModules: null [2025-08-28T02:26:28.084Z] STF 02:26:27.385 - | [2025-08-28T02:26:28.084Z] STF 02:26:27.386 - 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_1756345897705/PatModImg_PlatMod_0/20250828-022601-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-08-28T02:26:28.084Z] STF 02:26:27.387 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_1756345897705/PatModImg_PlatMod_0/20250828-022601-PatModImgTest/results/8.CMJ.stderr [2025-08-28T02:26:28.084Z] STF 02:26:27.387 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_1756345897705/PatModImg_PlatMod_0/20250828-022601-PatModImgTest/results/8.CMJ.stdout [2025-08-28T02:26:28.084Z] STF 02:26:27.393 - Monitoring processes: CMJ [2025-08-28T02:26:28.084Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-08-28T02:26:29.240Z] STF 02:26:28.718 - Monitoring Report Summary: [2025-08-28T02:26:29.240Z] STF 02:26:28.718 - o Process CMJ ended with the expected exit code (0) [2025-08-28T02:26:29.240Z] STF 02:26:28.719 - Created modular jar: 8.java.xml.jar [2025-08-28T02:26:29.240Z] STF 02:26:28.719 - [2025-08-28T02:26:29.240Z] STF 02:26:28.719 - +------ Step 9 - Verify if we can patch an upgradable platform module using exploded directory [2025-08-28T02:26:29.240Z] STF 02:26:28.719 - | Run foreground process [2025-08-28T02:26:29.240Z] STF 02:26:28.719 - | Program: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_1756345897705/PatModImg_PlatMod_0/20250828-022601-PatModImgTest/tmp/6.XpJVM/bin/java [2025-08-28T02:26:29.240Z] STF 02:26:28.719 - | Mnemonic: OT11 [2025-08-28T02:26:29.240Z] STF 02:26:28.719 - | Echo: ECHO_ON [2025-08-28T02:26:29.240Z] STF 02:26:28.719 - | Expectation: CLEAN_RUN within 5m [2025-08-28T02:26:29.240Z] STF 02:26:28.719 - | [2025-08-28T02:26:29.240Z] STF 02:26:28.721 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_1756345897705/PatModImg_PlatMod_0/20250828-022601-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-08-28T02:26:29.240Z] STF 02:26:28.721 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_1756345897705/PatModImg_PlatMod_0/20250828-022601-PatModImgTest/results/9.OT11.stderr [2025-08-28T02:26:29.240Z] STF 02:26:28.721 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_1756345897705/PatModImg_PlatMod_0/20250828-022601-PatModImgTest/results/9.OT11.stdout [2025-08-28T02:26:29.240Z] STF 02:26:28.727 - Monitoring processes: OT11 [2025-08-28T02:26:29.240Z] OT11 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-08-28T02:26:29.573Z] 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-08-28T02:26:29.898Z] OT11 JUnit version 4.12 [2025-08-28T02:26:30.601Z] OT11 . [2025-08-28T02:26:30.602Z] OT11 Time: 0.028 [2025-08-28T02:26:30.602Z] OT11 [2025-08-28T02:26:30.602Z] OT11 OK (1 test) [2025-08-28T02:26:30.602Z] OT11 [2025-08-28T02:26:30.602Z] STF 02:26:30.295 - Monitoring Report Summary: [2025-08-28T02:26:30.602Z] STF 02:26:30.296 - o Process OT11 ended with the expected exit code (0) [2025-08-28T02:26:30.602Z] STF 02:26:30.296 - [2025-08-28T02:26:30.602Z] STF 02:26:30.297 - +------ Step 10 - Verify if we can patch an upgradable platform module using modular jar [2025-08-28T02:26:30.602Z] STF 02:26:30.297 - | Run foreground process [2025-08-28T02:26:30.602Z] STF 02:26:30.297 - | Program: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_1756345897705/PatModImg_PlatMod_0/20250828-022601-PatModImgTest/tmp/6.XpJVM/bin/java [2025-08-28T02:26:30.602Z] STF 02:26:30.297 - | Mnemonic: OT12 [2025-08-28T02:26:30.602Z] STF 02:26:30.297 - | Echo: ECHO_ON [2025-08-28T02:26:30.602Z] STF 02:26:30.297 - | Expectation: CLEAN_RUN within 5m [2025-08-28T02:26:30.602Z] STF 02:26:30.298 - | [2025-08-28T02:26:30.602Z] STF 02:26:30.300 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_1756345897705/PatModImg_PlatMod_0/20250828-022601-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_1756345897705/PatModImg_PlatMod_0/20250828-022601-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-08-28T02:26:30.602Z] STF 02:26:30.300 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_1756345897705/PatModImg_PlatMod_0/20250828-022601-PatModImgTest/results/10.OT12.stderr [2025-08-28T02:26:30.602Z] STF 02:26:30.300 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_1756345897705/PatModImg_PlatMod_0/20250828-022601-PatModImgTest/results/10.OT12.stdout [2025-08-28T02:26:30.602Z] STF 02:26:30.311 - Monitoring processes: OT12 [2025-08-28T02:26:30.602Z] OT12 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-08-28T02:26:31.309Z] 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_1756345897705/PatModImg_PlatMod_0/20250828-022601-PatModImgTest/modules/8.java.xml.jar [2025-08-28T02:26:31.633Z] OT12 JUnit version 4.12 [2025-08-28T02:26:31.973Z] OT12 . [2025-08-28T02:26:31.974Z] OT12 Time: 0.034 [2025-08-28T02:26:31.974Z] OT12 [2025-08-28T02:26:31.974Z] OT12 OK (1 test) [2025-08-28T02:26:31.974Z] OT12 [2025-08-28T02:26:32.304Z] STF 02:26:31.788 - Monitoring Report Summary: [2025-08-28T02:26:32.304Z] STF 02:26:31.789 - o Process OT12 ended with the expected exit code (0) [2025-08-28T02:26:32.304Z] STF 02:26:31.790 - EXECUTE stage completed [2025-08-28T02:26:32.304Z] STF 02:26:32.040 - [2025-08-28T02:26:32.304Z] STF 02:26:32.041 - ==================== T E A R D O W N ==================== [2025-08-28T02:26:32.304Z] STF 02:26:32.041 - Running teardown: perl /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_1756345897705/PatModImg_PlatMod_0/20250828-022601-PatModImgTest/tearDown.pl [2025-08-28T02:26:32.304Z] STF 02:26:32.274 - TEARDOWN stage completed [2025-08-28T02:26:32.304Z] STF 02:26:32.286 - [2025-08-28T02:26:32.304Z] STF 02:26:32.286 - ===================== R E S U L T S ===================== [2025-08-28T02:26:32.304Z] STF 02:26:32.286 - Stage results: [2025-08-28T02:26:32.304Z] STF 02:26:32.286 - setUp: pass [2025-08-28T02:26:32.304Z] STF 02:26:32.286 - execute: pass [2025-08-28T02:26:32.304Z] STF 02:26:32.286 - teardown: pass [2025-08-28T02:26:32.304Z] STF 02:26:32.287 - [2025-08-28T02:26:32.304Z] STF 02:26:32.287 - Overall result: PASSED [2025-08-28T02:26:32.630Z] ----------------------------------- [2025-08-28T02:26:32.630Z] PatModImg_PlatMod_0_PASSED [2025-08-28T02:26:32.630Z] ----------------------------------- [2025-08-28T02:26:32.630Z] [2025-08-28T02:26:32.630Z] TEST TEARDOWN: [2025-08-28T02:26:32.630Z] Nothing to be done for teardown. [2025-08-28T02:26:32.630Z] PatModImg_PlatMod_0 Finish Time: Thu Aug 28 02:26:32 2025 Epoch Time (ms): 1756347992459