PatModImg_PlatMod_1

[2025-12-16T10:45:56.852Z] Running test PatModImg_PlatMod_1 ... [2025-12-16T10:45:56.852Z] =============================================== [2025-12-16T10:45:56.852Z] PatModImg_PlatMod_1 Start Time: Tue Dec 16 10:45:56 2025 Epoch Time (ms): 1765881956559 [2025-12-16T10:45:56.852Z] variation: Mode650 [2025-12-16T10:45:56.852Z] JVM_OPTIONS: -XX:-UseCompressedOops [2025-12-16T10:45:56.852Z] { \ [2025-12-16T10:45:56.852Z] echo ""; echo "TEST SETUP:"; \ [2025-12-16T10:45:56.852Z] echo "Nothing to be done for setup."; \ [2025-12-16T10:45:56.853Z] mkdir -p "/home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/../TKG/output_17658771161282/PatModImg_PlatMod_1"; \ [2025-12-16T10:45:56.853Z] cd "/home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/../TKG/output_17658771161282/PatModImg_PlatMod_1"; \ [2025-12-16T10:45:56.853Z] echo ""; echo "TESTING:"; \ [2025-12-16T10:45:56.853Z] perl /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF/stf.core/scripts/stf.pl -test-root="/home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF;/home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/../../jvmtest/system/modularity/..//aqa-systemtest""" -systemtest-prereqs="/home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_1/../../externalDependency/system_lib/" -java-args=' -XX:-UseCompressedOops ' -results-root="/home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/../TKG/output_17658771161282/PatModImg_PlatMod_1" -test=PatModImgTest -test-args="variant=PlatMod"; \ [2025-12-16T10:45:56.853Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatModImg_PlatMod_1""_PASSED"; echo "-----------------------------------"; cd /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/..; rm -f -r "/home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/../TKG/output_17658771161282/PatModImg_PlatMod_1"; else echo "-----------------------------------"; echo "PatModImg_PlatMod_1""_FAILED"; echo "-----------------------------------"; fi; \ [2025-12-16T10:45:56.853Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-12-16T10:45:56.853Z] echo "Nothing to be done for teardown."; \ [2025-12-16T10:45:56.853Z] } 2>&1 | tee -a "/home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/../TKG/output_17658771161282/TestTargetResult"; [2025-12-16T10:45:56.853Z] [2025-12-16T10:45:56.853Z] TEST SETUP: [2025-12-16T10:45:56.853Z] Nothing to be done for setup. [2025-12-16T10:45:56.853Z] [2025-12-16T10:45:56.853Z] TESTING: [2025-12-16T10:45:57.205Z] STF 10:45:56.827 - ========================= S T F ========================= [2025-12-16T10:45:57.205Z] systemtest-prereqs has been processed, and set to: /home/jenkins/externalDependency/system_libRetrieving amount of free space on drive containing /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/../TKG/output_17658771161282/PatModImg_PlatMod_1 [2025-12-16T10:45:57.205Z] There is 26160 Mb free [2025-12-16T10:45:57.205Z] STF 10:45:56.848 - ================== G E N E R A T I O N ================== [2025-12-16T10:45:57.205Z] STF 10:45:56.851 - Checking JVM: /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_1/jdkbinary/j2sdk-image [2025-12-16T10:45:57.205Z] STF 10:45:56.851 - Starting process to generate scripts: /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_1/jdkbinary/j2sdk-image/bin/java -Dlog4j.skipJansi=true -Djava.system.class.loader=net.adoptopenjdk.stf.runner.StfClassLoader -Dload.agent.path=/home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_1/jvmtest/system/STF/stf.core/scripts/../../stf.load/bin/stf.load.jar -classpath /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_1/../../externalDependency/system_lib//asm/asm.jar:/home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_1/../../externalDependency/system_lib//asm/asm-commons.jar:/home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_1/../../externalDependency/system_lib//log4j/log4j-api.jar:/home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_1/../../externalDependency/system_lib//log4j/log4j-core.jar:/home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_1/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "/home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/../TKG/output_17658771161282/PatModImg_PlatMod_1/20251216-104556-PatModImgTest/stf_parameters.properties, , /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_1/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "/home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/../TKG/output_17658771161282/PatModImg_PlatMod_1/20251216-104556-PatModImgTest" [2025-12-16T10:45:57.205Z] GEN [0.015s][warning][cds] Archived non-system classes are disabled because the java.system.class.loader property is specified (value = "net.adoptopenjdk.stf.runner.StfClassLoader"). To use archived non-system classes, this property must not be set [2025-12-16T10:46:01.988Z] GEN 10:46:01.342 - Found test. Project: 'openjdk.test.modularity' class: 'PatModImgTest.class' Dir: '/home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin' [2025-12-16T10:46:01.988Z] GEN 10:46:01.386 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModImgTest' [2025-12-16T10:46:01.988Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2025-12-16T10:46:01.988Z] GEN /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayService [2025-12-16T10:46:01.988Z] GEN /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper [2025-12-16T10:46:01.988Z] GEN /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl1 [2025-12-16T10:46:01.988Z] GEN /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet [2025-12-16T10:46:01.988Z] GEN /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello [2025-12-16T10:46:01.988Z] GEN /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola [2025-12-16T10:46:01.988Z] GEN /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl2 [2025-12-16T10:46:01.988Z] GEN /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hi [2025-12-16T10:46:01.988Z] GEN /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override [2025-12-16T10:46:01.988Z] GEN /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override-new [2025-12-16T10:46:01.988Z] GEN /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl3 [2025-12-16T10:46:01.988Z] GEN /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl4 [2025-12-16T10:46:01.988Z] GEN /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common [2025-12-16T10:46:01.988Z] GEN /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests [2025-12-16T10:46:01.988Z] GEN /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin [2025-12-16T10:46:01.988Z] GEN /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_1/jvmtest/system/STF/stf.core/bin [2025-12-16T10:46:01.988Z] GEN /home/jenkins/externalDependency/system_lib/log4j/log4j-api.jar [2025-12-16T10:46:01.988Z] GEN /home/jenkins/externalDependency/system_lib/log4j/log4j-core.jar [2025-12-16T10:46:01.988Z] GEN /home/jenkins/externalDependency/system_lib/junit/junit.jar [2025-12-16T10:46:02.321Z] GEN 10:46:02.003 - Using Mode NoOptions. Values = '' [2025-12-16T10:46:02.653Z] GEN 10:46:02.288 - [2025-12-16T10:46:02.653Z] GEN 10:46:02.289 - Test command summary: [2025-12-16T10:46:02.653Z] GEN 10:46:02.290 - Step Stage Command Description [2025-12-16T10:46:02.653Z] GEN 10:46:02.292 - -----+--------+-----------------+------------ [2025-12-16T10:46:02.653Z] GEN 10:46:02.293 - 1 execute jar Create com.hello jar [2025-12-16T10:46:02.653Z] GEN 10:46:02.293 - 2 execute jar Create com.hola jar [2025-12-16T10:46:02.653Z] GEN 10:46:02.294 - 3 execute jar Create com.helper jar [2025-12-16T10:46:02.653Z] GEN 10:46:02.295 - 4 execute jar Create com.discreet jar [2025-12-16T10:46:02.653Z] GEN 10:46:02.295 - 5 execute jar Create tests jar [2025-12-16T10:46:02.653Z] GEN 10:46:02.296 - 6 execute jlink Create runtime image for PatchModule test [2025-12-16T10:46:02.653Z] GEN 10:46:02.296 - 7 execute jar Create com.hello jar [2025-12-16T10:46:02.653Z] GEN 10:46:02.297 - 8 execute jar create java.xml.jar [2025-12-16T10:46:02.653Z] GEN 10:46:02.298 - 9 execute Run java Verify if we can patch an upgradable platform module using exploded directory [2025-12-16T10:46:02.653Z] GEN 10:46:02.298 - 10 execute Run java Verify if we can patch an upgradable platform module using modular jar [2025-12-16T10:46:02.653Z] STF 10:46:02.412 - [2025-12-16T10:46:02.653Z] STF 10:46:02.412 - Script generation completed [2025-12-16T10:46:02.653Z] STF 10:46:02.412 - [2025-12-16T10:46:02.653Z] STF 10:46:02.414 - [2025-12-16T10:46:02.653Z] STF 10:46:02.414 - ======================= S E T U P ======================= [2025-12-16T10:46:02.653Z] STF 10:46:02.414 - Running setup: perl /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/../TKG/output_17658771161282/PatModImg_PlatMod_1/20251216-104556-PatModImgTest/setUp.pl [2025-12-16T10:46:02.991Z] STF 10:46:02.642 - SETUP stage completed [2025-12-16T10:46:02.991Z] STF 10:46:02.656 - [2025-12-16T10:46:02.991Z] STF 10:46:02.656 - ==================== E X E C U T E - ==================== [2025-12-16T10:46:02.991Z] STF 10:46:02.656 - Running execute: perl /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/../TKG/output_17658771161282/PatModImg_PlatMod_1/20251216-104556-PatModImgTest/execute.pl [2025-12-16T10:46:02.991Z] STF 10:46:02.894 - [2025-12-16T10:46:02.991Z] STF 10:46:02.894 - Java version [2025-12-16T10:46:02.991Z] STF 10:46:02.895 - Running: /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_1/jdkbinary/j2sdk-image/bin/java -version [2025-12-16T10:46:03.327Z] openjdk version "25.0.3-beta" 2026-04-21 [2025-12-16T10:46:03.327Z] OpenJDK Runtime Environment Temurin-25.0.3+0-202512151656 (build 25.0.3-beta-202512151656) [2025-12-16T10:46:03.327Z] OpenJDK 64-Bit Server VM Temurin-25.0.3+0-202512151656 (build 25.0.3-beta-202512151656, mixed mode, sharing) [2025-12-16T10:46:03.327Z] STF 10:46:03.110 - [2025-12-16T10:46:03.327Z] STF 10:46:03.111 - +------ Step 1 - Create com.hello jar [2025-12-16T10:46:03.327Z] STF 10:46:03.111 - | Create modular jar [2025-12-16T10:46:03.327Z] STF 10:46:03.111 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2025-12-16T10:46:03.327Z] STF 10:46:03.111 - | ModuleVersion: null [2025-12-16T10:46:03.327Z] STF 10:46:03.111 - | MainClass: null [2025-12-16T10:46:03.327Z] STF 10:46:03.111 - | HashModules: null [2025-12-16T10:46:03.327Z] STF 10:46:03.111 - | [2025-12-16T10:46:03.327Z] STF 10:46:03.112 - Running command: /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_17658771161282/PatModImg_PlatMod_1/20251216-104556-PatModImgTest/modules/1.com.hello.jar -C /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello . [2025-12-16T10:46:03.327Z] STF 10:46:03.113 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_17658771161282/PatModImg_PlatMod_1/20251216-104556-PatModImgTest/results/1.CMJ.stderr [2025-12-16T10:46:03.327Z] STF 10:46:03.113 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_17658771161282/PatModImg_PlatMod_1/20251216-104556-PatModImgTest/results/1.CMJ.stdout [2025-12-16T10:46:03.327Z] STF 10:46:03.154 - Monitoring processes: CMJ [2025-12-16T10:46:04.488Z] STF 10:46:04.157 - Monitoring Report Summary: [2025-12-16T10:46:04.488Z] STF 10:46:04.158 - o Process CMJ ended with the expected exit code (0) [2025-12-16T10:46:04.488Z] STF 10:46:04.158 - Created modular jar: 1.com.hello.jar [2025-12-16T10:46:04.488Z] STF 10:46:04.158 - [2025-12-16T10:46:04.488Z] STF 10:46:04.159 - +------ Step 2 - Create com.hola jar [2025-12-16T10:46:04.488Z] STF 10:46:04.159 - | Create modular jar [2025-12-16T10:46:04.488Z] STF 10:46:04.159 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2025-12-16T10:46:04.488Z] STF 10:46:04.159 - | ModuleVersion: null [2025-12-16T10:46:04.488Z] STF 10:46:04.159 - | MainClass: null [2025-12-16T10:46:04.488Z] STF 10:46:04.159 - | HashModules: null [2025-12-16T10:46:04.488Z] STF 10:46:04.159 - | [2025-12-16T10:46:04.488Z] STF 10:46:04.160 - Running command: /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_17658771161282/PatModImg_PlatMod_1/20251216-104556-PatModImgTest/modules/2.com.hola.jar -C /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola . [2025-12-16T10:46:04.488Z] STF 10:46:04.160 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_17658771161282/PatModImg_PlatMod_1/20251216-104556-PatModImgTest/results/2.CMJ.stderr [2025-12-16T10:46:04.488Z] STF 10:46:04.160 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_17658771161282/PatModImg_PlatMod_1/20251216-104556-PatModImgTest/results/2.CMJ.stdout [2025-12-16T10:46:04.488Z] STF 10:46:04.164 - Monitoring processes: CMJ [2025-12-16T10:46:05.658Z] STF 10:46:05.171 - Monitoring Report Summary: [2025-12-16T10:46:05.658Z] STF 10:46:05.171 - o Process CMJ ended with the expected exit code (0) [2025-12-16T10:46:05.658Z] STF 10:46:05.172 - Created modular jar: 2.com.hola.jar [2025-12-16T10:46:05.658Z] STF 10:46:05.172 - [2025-12-16T10:46:05.658Z] STF 10:46:05.172 - +------ Step 3 - Create com.helper jar [2025-12-16T10:46:05.658Z] STF 10:46:05.172 - | Create modular jar [2025-12-16T10:46:05.658Z] STF 10:46:05.172 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2025-12-16T10:46:05.658Z] STF 10:46:05.172 - | ModuleVersion: null [2025-12-16T10:46:05.658Z] STF 10:46:05.172 - | MainClass: null [2025-12-16T10:46:05.658Z] STF 10:46:05.172 - | HashModules: null [2025-12-16T10:46:05.658Z] STF 10:46:05.172 - | [2025-12-16T10:46:05.658Z] STF 10:46:05.173 - Running command: /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_17658771161282/PatModImg_PlatMod_1/20251216-104556-PatModImgTest/modules/3.com.helper.jar -C /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper . [2025-12-16T10:46:05.658Z] STF 10:46:05.173 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_17658771161282/PatModImg_PlatMod_1/20251216-104556-PatModImgTest/results/3.CMJ.stderr [2025-12-16T10:46:05.658Z] STF 10:46:05.173 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_17658771161282/PatModImg_PlatMod_1/20251216-104556-PatModImgTest/results/3.CMJ.stdout [2025-12-16T10:46:05.658Z] STF 10:46:05.180 - Monitoring processes: CMJ [2025-12-16T10:46:06.377Z] STF 10:46:06.212 - Monitoring Report Summary: [2025-12-16T10:46:06.377Z] STF 10:46:06.212 - o Process CMJ ended with the expected exit code (0) [2025-12-16T10:46:06.377Z] STF 10:46:06.213 - Created modular jar: 3.com.helper.jar [2025-12-16T10:46:06.377Z] STF 10:46:06.213 - [2025-12-16T10:46:06.377Z] STF 10:46:06.213 - +------ Step 4 - Create com.discreet jar [2025-12-16T10:46:06.377Z] STF 10:46:06.213 - | Create modular jar [2025-12-16T10:46:06.377Z] STF 10:46:06.213 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2025-12-16T10:46:06.377Z] STF 10:46:06.213 - | ModuleVersion: null [2025-12-16T10:46:06.377Z] STF 10:46:06.213 - | MainClass: null [2025-12-16T10:46:06.377Z] STF 10:46:06.213 - | HashModules: null [2025-12-16T10:46:06.377Z] STF 10:46:06.213 - | [2025-12-16T10:46:06.377Z] STF 10:46:06.214 - Running command: /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_17658771161282/PatModImg_PlatMod_1/20251216-104556-PatModImgTest/modules/4.com.discreet.jar -C /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet . [2025-12-16T10:46:06.377Z] STF 10:46:06.215 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_17658771161282/PatModImg_PlatMod_1/20251216-104556-PatModImgTest/results/4.CMJ.stderr [2025-12-16T10:46:06.377Z] STF 10:46:06.215 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_17658771161282/PatModImg_PlatMod_1/20251216-104556-PatModImgTest/results/4.CMJ.stdout [2025-12-16T10:46:06.377Z] STF 10:46:06.223 - Monitoring processes: CMJ [2025-12-16T10:46:07.537Z] STF 10:46:07.265 - Monitoring Report Summary: [2025-12-16T10:46:07.538Z] STF 10:46:07.266 - o Process CMJ ended with the expected exit code (0) [2025-12-16T10:46:07.538Z] STF 10:46:07.266 - Created modular jar: 4.com.discreet.jar [2025-12-16T10:46:07.538Z] STF 10:46:07.266 - [2025-12-16T10:46:07.538Z] STF 10:46:07.267 - +------ Step 5 - Create tests jar [2025-12-16T10:46:07.538Z] STF 10:46:07.267 - | Create modular jar [2025-12-16T10:46:07.538Z] STF 10:46:07.267 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2025-12-16T10:46:07.538Z] STF 10:46:07.267 - | ModuleVersion: null [2025-12-16T10:46:07.538Z] STF 10:46:07.267 - | MainClass: null [2025-12-16T10:46:07.538Z] STF 10:46:07.267 - | HashModules: null [2025-12-16T10:46:07.538Z] STF 10:46:07.267 - | [2025-12-16T10:46:07.538Z] STF 10:46:07.268 - Running command: /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_17658771161282/PatModImg_PlatMod_1/20251216-104556-PatModImgTest/modules/5.com.test.jar -C /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test . [2025-12-16T10:46:07.538Z] STF 10:46:07.268 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_17658771161282/PatModImg_PlatMod_1/20251216-104556-PatModImgTest/results/5.CMJ.stderr [2025-12-16T10:46:07.538Z] STF 10:46:07.268 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_17658771161282/PatModImg_PlatMod_1/20251216-104556-PatModImgTest/results/5.CMJ.stdout [2025-12-16T10:46:07.538Z] STF 10:46:07.272 - Monitoring processes: CMJ [2025-12-16T10:46:08.701Z] STF 10:46:08.273 - Monitoring Report Summary: [2025-12-16T10:46:08.702Z] STF 10:46:08.273 - o Process CMJ ended with the expected exit code (0) [2025-12-16T10:46:08.702Z] STF 10:46:08.275 - Created modular jar: 5.com.test.jar [2025-12-16T10:46:08.702Z] STF 10:46:08.275 - [2025-12-16T10:46:08.702Z] STF 10:46:08.275 - +------ Step 6 - Create runtime image for PatchModule test [2025-12-16T10:46:08.702Z] STF 10:46:08.275 - | Run jlink to create runtime image [2025-12-16T10:46:08.702Z] STF 10:46:08.275 - | ImageName: XpJVM [2025-12-16T10:46:08.702Z] STF 10:46:08.275 - | [2025-12-16T10:46:08.702Z] STF 10:46:08.277 - Running command: /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_1/jdkbinary/j2sdk-image/bin/jlink --module-path /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_1/jdkbinary/j2sdk-image/jmods:/home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_17658771161282/PatModImg_PlatMod_1/20251216-104556-PatModImgTest/modules --add-modules com.hello,com.hola,com.test,com.helper,com.discreet --output /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_17658771161282/PatModImg_PlatMod_1/20251216-104556-PatModImgTest/tmp/6.XpJVM [2025-12-16T10:46:08.702Z] STF 10:46:08.277 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_17658771161282/PatModImg_PlatMod_1/20251216-104556-PatModImgTest/results/6.JLNK.stderr [2025-12-16T10:46:08.702Z] STF 10:46:08.277 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_17658771161282/PatModImg_PlatMod_1/20251216-104556-PatModImgTest/results/6.JLNK.stdout [2025-12-16T10:46:08.702Z] STF 10:46:08.284 - Monitoring processes: JLNK [2025-12-16T10:46:19.691Z] STF 10:46:17.820 - Monitoring Report Summary: [2025-12-16T10:46:19.691Z] STF 10:46:17.821 - o Process JLNK ended with the expected exit code (0) [2025-12-16T10:46:19.691Z] STF 10:46:17.824 - [2025-12-16T10:46:19.691Z] STF 10:46:17.825 - +------ Step 7 - Create com.hello jar [2025-12-16T10:46:19.691Z] STF 10:46:17.825 - | Create modular jar [2025-12-16T10:46:19.691Z] STF 10:46:17.825 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2025-12-16T10:46:19.691Z] STF 10:46:17.825 - | ModuleVersion: null [2025-12-16T10:46:19.691Z] STF 10:46:17.826 - | MainClass: null [2025-12-16T10:46:19.691Z] STF 10:46:17.826 - | HashModules: null [2025-12-16T10:46:19.691Z] STF 10:46:17.826 - | [2025-12-16T10:46:19.691Z] STF 10:46:17.830 - Running command: /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_17658771161282/PatModImg_PlatMod_1/20251216-104556-PatModImgTest/modules/7.com.hello.jar -C /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello . [2025-12-16T10:46:19.691Z] STF 10:46:17.830 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_17658771161282/PatModImg_PlatMod_1/20251216-104556-PatModImgTest/results/7.CMJ.stderr [2025-12-16T10:46:19.691Z] STF 10:46:17.830 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_17658771161282/PatModImg_PlatMod_1/20251216-104556-PatModImgTest/results/7.CMJ.stdout [2025-12-16T10:46:19.691Z] STF 10:46:17.839 - Monitoring processes: CMJ [2025-12-16T10:46:19.691Z] STF 10:46:18.813 - Monitoring Report Summary: [2025-12-16T10:46:19.691Z] STF 10:46:18.813 - o Process CMJ ended with the expected exit code (0) [2025-12-16T10:46:19.691Z] STF 10:46:18.813 - Created modular jar: 7.com.hello.jar [2025-12-16T10:46:19.691Z] STF 10:46:18.814 - [2025-12-16T10:46:19.691Z] STF 10:46:18.814 - +------ Step 8 - create java.xml.jar [2025-12-16T10:46:19.691Z] STF 10:46:18.814 - | Create modular jar [2025-12-16T10:46:19.691Z] STF 10:46:18.814 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml [2025-12-16T10:46:19.691Z] STF 10:46:18.814 - | ModuleVersion: null [2025-12-16T10:46:19.691Z] STF 10:46:18.814 - | MainClass: null [2025-12-16T10:46:19.691Z] STF 10:46:18.814 - | HashModules: null [2025-12-16T10:46:19.691Z] STF 10:46:18.814 - | [2025-12-16T10:46:19.691Z] STF 10:46:18.815 - Running command: /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_17658771161282/PatModImg_PlatMod_1/20251216-104556-PatModImgTest/modules/8.java.xml.jar -C /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/java.xml . [2025-12-16T10:46:19.691Z] STF 10:46:18.815 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_17658771161282/PatModImg_PlatMod_1/20251216-104556-PatModImgTest/results/8.CMJ.stderr [2025-12-16T10:46:19.691Z] STF 10:46:18.815 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_17658771161282/PatModImg_PlatMod_1/20251216-104556-PatModImgTest/results/8.CMJ.stdout [2025-12-16T10:46:19.691Z] STF 10:46:18.822 - Monitoring processes: CMJ [2025-12-16T10:46:20.030Z] STF 10:46:19.850 - Monitoring Report Summary: [2025-12-16T10:46:20.031Z] STF 10:46:19.850 - o Process CMJ ended with the expected exit code (0) [2025-12-16T10:46:20.031Z] STF 10:46:19.851 - Created modular jar: 8.java.xml.jar [2025-12-16T10:46:20.031Z] STF 10:46:19.851 - [2025-12-16T10:46:20.031Z] STF 10:46:19.851 - +------ Step 9 - Verify if we can patch an upgradable platform module using exploded directory [2025-12-16T10:46:20.031Z] STF 10:46:19.851 - | Run foreground process [2025-12-16T10:46:20.031Z] STF 10:46:19.851 - | Program: /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_17658771161282/PatModImg_PlatMod_1/20251216-104556-PatModImgTest/tmp/6.XpJVM/bin/java [2025-12-16T10:46:20.031Z] STF 10:46:19.851 - | Mnemonic: OT11 [2025-12-16T10:46:20.031Z] STF 10:46:19.851 - | Echo: ECHO_ON [2025-12-16T10:46:20.031Z] STF 10:46:19.851 - | Expectation: CLEAN_RUN within 5m [2025-12-16T10:46:20.031Z] STF 10:46:19.851 - | [2025-12-16T10:46:20.031Z] STF 10:46:19.852 - Running command: /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_17658771161282/PatModImg_PlatMod_1/20251216-104556-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module java.xml=/home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_1/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-12-16T10:46:20.031Z] STF 10:46:19.852 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_17658771161282/PatModImg_PlatMod_1/20251216-104556-PatModImgTest/results/9.OT11.stderr [2025-12-16T10:46:20.031Z] STF 10:46:19.852 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_17658771161282/PatModImg_PlatMod_1/20251216-104556-PatModImgTest/results/9.OT11.stdout [2025-12-16T10:46:20.031Z] STF 10:46:19.859 - Monitoring processes: OT11 [2025-12-16T10:46:20.752Z] OT11 stderr WARNING: module-info.class ignored in patch: /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/java.xml [2025-12-16T10:46:21.086Z] OT11 JUnit version 4.12 [2025-12-16T10:46:21.800Z] OT11 . [2025-12-16T10:46:21.800Z] OT11 Time: 0.029 [2025-12-16T10:46:21.800Z] OT11 [2025-12-16T10:46:21.800Z] OT11 OK (1 test) [2025-12-16T10:46:21.800Z] OT11 [2025-12-16T10:46:21.800Z] STF 10:46:21.597 - Monitoring Report Summary: [2025-12-16T10:46:21.800Z] STF 10:46:21.597 - o Process OT11 ended with the expected exit code (0) [2025-12-16T10:46:21.800Z] STF 10:46:21.598 - [2025-12-16T10:46:21.800Z] STF 10:46:21.598 - +------ Step 10 - Verify if we can patch an upgradable platform module using modular jar [2025-12-16T10:46:21.800Z] STF 10:46:21.599 - | Run foreground process [2025-12-16T10:46:21.800Z] STF 10:46:21.599 - | Program: /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_17658771161282/PatModImg_PlatMod_1/20251216-104556-PatModImgTest/tmp/6.XpJVM/bin/java [2025-12-16T10:46:21.800Z] STF 10:46:21.599 - | Mnemonic: OT12 [2025-12-16T10:46:21.800Z] STF 10:46:21.599 - | Echo: ECHO_ON [2025-12-16T10:46:21.800Z] STF 10:46:21.599 - | Expectation: CLEAN_RUN within 5m [2025-12-16T10:46:21.800Z] STF 10:46:21.599 - | [2025-12-16T10:46:21.800Z] STF 10:46:21.600 - Running command: /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_17658771161282/PatModImg_PlatMod_1/20251216-104556-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module java.xml=/home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_17658771161282/PatModImg_PlatMod_1/20251216-104556-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-12-16T10:46:21.800Z] STF 10:46:21.601 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_17658771161282/PatModImg_PlatMod_1/20251216-104556-PatModImgTest/results/10.OT12.stderr [2025-12-16T10:46:21.800Z] STF 10:46:21.601 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_17658771161282/PatModImg_PlatMod_1/20251216-104556-PatModImgTest/results/10.OT12.stdout [2025-12-16T10:46:21.800Z] STF 10:46:21.608 - Monitoring processes: OT12 [2025-12-16T10:46:22.512Z] OT12 stderr WARNING: module-info.class ignored in patch: /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_17658771161282/PatModImg_PlatMod_1/20251216-104556-PatModImgTest/modules/8.java.xml.jar [2025-12-16T10:46:22.845Z] OT12 JUnit version 4.12 [2025-12-16T10:46:23.556Z] OT12 . [2025-12-16T10:46:23.556Z] OT12 Time: 0.032 [2025-12-16T10:46:23.556Z] OT12 [2025-12-16T10:46:23.556Z] OT12 OK (1 test) [2025-12-16T10:46:23.556Z] OT12 [2025-12-16T10:46:23.556Z] STF 10:46:23.248 - Monitoring Report Summary: [2025-12-16T10:46:23.556Z] STF 10:46:23.249 - o Process OT12 ended with the expected exit code (0) [2025-12-16T10:46:23.556Z] STF 10:46:23.250 - EXECUTE stage completed [2025-12-16T10:46:23.556Z] STF 10:46:23.421 - [2025-12-16T10:46:23.556Z] STF 10:46:23.421 - ==================== T E A R D O W N ==================== [2025-12-16T10:46:23.556Z] STF 10:46:23.422 - Running teardown: perl /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/../TKG/output_17658771161282/PatModImg_PlatMod_1/20251216-104556-PatModImgTest/tearDown.pl [2025-12-16T10:46:23.889Z] STF 10:46:23.668 - TEARDOWN stage completed [2025-12-16T10:46:23.889Z] STF 10:46:23.676 - [2025-12-16T10:46:23.889Z] STF 10:46:23.676 - ===================== R E S U L T S ===================== [2025-12-16T10:46:23.889Z] STF 10:46:23.676 - Stage results: [2025-12-16T10:46:23.889Z] STF 10:46:23.676 - setUp: pass [2025-12-16T10:46:23.889Z] STF 10:46:23.676 - execute: pass [2025-12-16T10:46:23.889Z] STF 10:46:23.677 - teardown: pass [2025-12-16T10:46:23.889Z] STF 10:46:23.677 - [2025-12-16T10:46:23.889Z] STF 10:46:23.677 - Overall result: PASSED [2025-12-16T10:46:23.889Z] ----------------------------------- [2025-12-16T10:46:23.889Z] PatModImg_PlatMod_1_PASSED [2025-12-16T10:46:23.889Z] ----------------------------------- [2025-12-16T10:46:23.889Z] [2025-12-16T10:46:23.889Z] TEST TEARDOWN: [2025-12-16T10:46:23.889Z] Nothing to be done for teardown. [2025-12-16T10:46:23.889Z] PatModImg_PlatMod_1 Finish Time: Tue Dec 16 10:46:23 2025 Epoch Time (ms): 1765881983838