PatModImg_PlatMod_1

[2026-01-21T11:25:57.607Z] Running test PatModImg_PlatMod_1 ... [2026-01-21T11:25:57.947Z] =============================================== [2026-01-21T11:25:57.947Z] PatModImg_PlatMod_1 Start Time: Wed Jan 21 11:25:57 2026 Epoch Time (ms): 1768994757647 [2026-01-21T11:25:57.947Z] variation: Mode650 [2026-01-21T11:25:57.947Z] JVM_OPTIONS: -XX:-UseCompressedOops [2026-01-21T11:25:57.947Z] { \ [2026-01-21T11:25:57.947Z] echo ""; echo "TEST SETUP:"; \ [2026-01-21T11:25:57.947Z] echo "Nothing to be done for setup."; \ [2026-01-21T11:25:57.947Z] mkdir -p "/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/../TKG/output_17689919556857/PatModImg_PlatMod_1"; \ [2026-01-21T11:25:57.947Z] cd "/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/../TKG/output_17689919556857/PatModImg_PlatMod_1"; \ [2026-01-21T11:25:57.947Z] echo ""; echo "TESTING:"; \ [2026-01-21T11:25:57.947Z] perl /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF/stf.core/scripts/stf.pl -test-root="/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF;/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/../../jvmtest/system/modularity/..//aqa-systemtest""" -systemtest-prereqs="/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/../../externalDependency/system_lib/" -java-args=' -XX:-UseCompressedOops ' -results-root="/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/../TKG/output_17689919556857/PatModImg_PlatMod_1" -test=PatModImgTest -test-args="variant=PlatMod"; \ [2026-01-21T11:25:57.947Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatModImg_PlatMod_1""_PASSED"; echo "-----------------------------------"; cd /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/..; rm -f -r "/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/../TKG/output_17689919556857/PatModImg_PlatMod_1"; else echo "-----------------------------------"; echo "PatModImg_PlatMod_1""_FAILED"; echo "-----------------------------------"; fi; \ [2026-01-21T11:25:57.947Z] echo ""; echo "TEST TEARDOWN:"; \ [2026-01-21T11:25:57.947Z] echo "Nothing to be done for teardown."; \ [2026-01-21T11:25:57.947Z] } 2>&1 | tee -a "/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/../TKG/output_17689919556857/TestTargetResult"; [2026-01-21T11:25:57.947Z] [2026-01-21T11:25:57.947Z] TEST SETUP: [2026-01-21T11:25:57.947Z] Nothing to be done for setup. [2026-01-21T11:25:57.947Z] [2026-01-21T11:25:57.947Z] TESTING: [2026-01-21T11:25:58.296Z] STF 11:25:57.914 - ========================= S T F ========================= [2026-01-21T11:25:58.297Z] systemtest-prereqs has been processed, and set to: /home/jenkins/externalDependency/system_libRetrieving amount of free space on drive containing /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/../TKG/output_17689919556857/PatModImg_PlatMod_1 [2026-01-21T11:25:58.297Z] There is 58644 Mb free [2026-01-21T11:25:58.297Z] STF 11:25:57.945 - ================== G E N E R A T I O N ================== [2026-01-21T11:25:58.297Z] STF 11:25:57.949 - Checking JVM: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/jdkbinary/j2sdk-image [2026-01-21T11:25:58.297Z] STF 11:25:57.950 - Starting process to generate scripts: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/jdkbinary/j2sdk-image/bin/java -Dlog4j.skipJansi=true -Djava.system.class.loader=net.adoptopenjdk.stf.runner.StfClassLoader -Dload.agent.path=/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/jvmtest/system/STF/stf.core/scripts/../../stf.load/bin/stf.load.jar -classpath /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/../../externalDependency/system_lib//asm/asm.jar:/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/../../externalDependency/system_lib//asm/asm-commons.jar:/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/../../externalDependency/system_lib//log4j/log4j-api.jar:/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/../../externalDependency/system_lib//log4j/log4j-core.jar:/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/../TKG/output_17689919556857/PatModImg_PlatMod_1/20260121-112557-PatModImgTest/stf_parameters.properties, , /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/../TKG/output_17689919556857/PatModImg_PlatMod_1/20260121-112557-PatModImgTest" [2026-01-21T11:25:58.297Z] GEN stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2026-01-21T11:25:58.297Z] 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 [2026-01-21T11:26:03.033Z] GEN 11:26:02.585 - Found test. Project: 'openjdk.test.modularity' class: 'PatModImgTest.class' Dir: '/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin' [2026-01-21T11:26:03.033Z] GEN 11:26:02.620 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModImgTest' [2026-01-21T11:26:03.361Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2026-01-21T11:26:03.361Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayService [2026-01-21T11:26:03.361Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper [2026-01-21T11:26:03.361Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl1 [2026-01-21T11:26:03.361Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet [2026-01-21T11:26:03.361Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello [2026-01-21T11:26:03.361Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola [2026-01-21T11:26:03.361Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl2 [2026-01-21T11:26:03.361Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hi [2026-01-21T11:26:03.361Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override [2026-01-21T11:26:03.361Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override-new [2026-01-21T11:26:03.361Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl3 [2026-01-21T11:26:03.361Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl4 [2026-01-21T11:26:03.361Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common [2026-01-21T11:26:03.361Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests [2026-01-21T11:26:03.361Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin [2026-01-21T11:26:03.361Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/jvmtest/system/STF/stf.core/bin [2026-01-21T11:26:03.361Z] GEN /home/jenkins/externalDependency/system_lib/log4j/log4j-api.jar [2026-01-21T11:26:03.361Z] GEN /home/jenkins/externalDependency/system_lib/log4j/log4j-core.jar [2026-01-21T11:26:03.361Z] GEN /home/jenkins/externalDependency/system_lib/junit/junit.jar [2026-01-21T11:26:03.361Z] GEN 11:26:03.289 - Using Mode NoOptions. Values = '' [2026-01-21T11:26:04.075Z] GEN 11:26:03.767 - [2026-01-21T11:26:04.075Z] GEN 11:26:03.768 - Test command summary: [2026-01-21T11:26:04.075Z] GEN 11:26:03.770 - Step Stage Command Description [2026-01-21T11:26:04.075Z] GEN 11:26:03.771 - -----+--------+-----------------+------------ [2026-01-21T11:26:04.075Z] GEN 11:26:03.772 - 1 execute jar Create com.hello jar [2026-01-21T11:26:04.075Z] GEN 11:26:03.773 - 2 execute jar Create com.hola jar [2026-01-21T11:26:04.075Z] GEN 11:26:03.773 - 3 execute jar Create com.helper jar [2026-01-21T11:26:04.075Z] GEN 11:26:03.774 - 4 execute jar Create com.discreet jar [2026-01-21T11:26:04.075Z] GEN 11:26:03.774 - 5 execute jar Create tests jar [2026-01-21T11:26:04.075Z] GEN 11:26:03.775 - 6 execute jlink Create runtime image for PatchModule test [2026-01-21T11:26:04.075Z] GEN 11:26:03.776 - 7 execute jar Create com.hello jar [2026-01-21T11:26:04.075Z] GEN 11:26:03.776 - 8 execute jar create java.xml.jar [2026-01-21T11:26:04.075Z] GEN 11:26:03.777 - 9 execute Run java Verify if we can patch an upgradable platform module using exploded directory [2026-01-21T11:26:04.075Z] GEN 11:26:03.777 - 10 execute Run java Verify if we can patch an upgradable platform module using modular jar [2026-01-21T11:26:04.075Z] STF 11:26:03.963 - [2026-01-21T11:26:04.075Z] STF 11:26:03.963 - Script generation completed [2026-01-21T11:26:04.075Z] STF 11:26:03.963 - [2026-01-21T11:26:04.075Z] STF 11:26:03.966 - [2026-01-21T11:26:04.075Z] STF 11:26:03.967 - ======================= S E T U P ======================= [2026-01-21T11:26:04.075Z] STF 11:26:03.967 - Running setup: perl /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/../TKG/output_17689919556857/PatModImg_PlatMod_1/20260121-112557-PatModImgTest/setUp.pl [2026-01-21T11:26:04.400Z] STF 11:26:04.196 - SETUP stage completed [2026-01-21T11:26:04.400Z] STF 11:26:04.207 - [2026-01-21T11:26:04.400Z] STF 11:26:04.207 - ==================== E X E C U T E - ==================== [2026-01-21T11:26:04.400Z] STF 11:26:04.207 - Running execute: perl /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/../TKG/output_17689919556857/PatModImg_PlatMod_1/20260121-112557-PatModImgTest/execute.pl [2026-01-21T11:26:04.727Z] STF 11:26:04.452 - [2026-01-21T11:26:04.727Z] STF 11:26:04.452 - Java version [2026-01-21T11:26:04.727Z] STF 11:26:04.452 - Running: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/jdkbinary/j2sdk-image/bin/java -version [2026-01-21T11:26:04.727Z] Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2026-01-21T11:26:04.727Z] openjdk version "21.0.10" 2026-01-20 LTS [2026-01-21T11:26:04.727Z] OpenJDK Runtime Environment Temurin-21.0.10+7 (build 21.0.10+7-LTS) [2026-01-21T11:26:04.727Z] OpenJDK 64-Bit Server VM Temurin-21.0.10+7 (build 21.0.10+7-LTS, mixed mode, sharing) [2026-01-21T11:26:04.727Z] STF 11:26:04.687 - [2026-01-21T11:26:04.727Z] STF 11:26:04.687 - +------ Step 1 - Create com.hello jar [2026-01-21T11:26:04.727Z] STF 11:26:04.687 - | Create modular jar [2026-01-21T11:26:04.727Z] STF 11:26:04.688 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2026-01-21T11:26:04.727Z] STF 11:26:04.688 - | ModuleVersion: null [2026-01-21T11:26:04.727Z] STF 11:26:04.688 - | MainClass: null [2026-01-21T11:26:04.727Z] STF 11:26:04.688 - | HashModules: null [2026-01-21T11:26:04.727Z] STF 11:26:04.688 - | [2026-01-21T11:26:04.727Z] STF 11:26:04.689 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_17689919556857/PatModImg_PlatMod_1/20260121-112557-PatModImgTest/modules/1.com.hello.jar -C /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello . [2026-01-21T11:26:04.727Z] STF 11:26:04.689 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_17689919556857/PatModImg_PlatMod_1/20260121-112557-PatModImgTest/results/1.CMJ.stderr [2026-01-21T11:26:04.727Z] STF 11:26:04.689 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_17689919556857/PatModImg_PlatMod_1/20260121-112557-PatModImgTest/results/1.CMJ.stdout [2026-01-21T11:26:05.054Z] STF 11:26:04.730 - Monitoring processes: CMJ [2026-01-21T11:26:05.054Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2026-01-21T11:26:06.199Z] STF 11:26:06.052 - Monitoring Report Summary: [2026-01-21T11:26:06.199Z] STF 11:26:06.052 - o Process CMJ ended with the expected exit code (0) [2026-01-21T11:26:06.199Z] STF 11:26:06.053 - Created modular jar: 1.com.hello.jar [2026-01-21T11:26:06.199Z] STF 11:26:06.053 - [2026-01-21T11:26:06.199Z] STF 11:26:06.053 - +------ Step 2 - Create com.hola jar [2026-01-21T11:26:06.199Z] STF 11:26:06.053 - | Create modular jar [2026-01-21T11:26:06.199Z] STF 11:26:06.053 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2026-01-21T11:26:06.199Z] STF 11:26:06.053 - | ModuleVersion: null [2026-01-21T11:26:06.199Z] STF 11:26:06.053 - | MainClass: null [2026-01-21T11:26:06.199Z] STF 11:26:06.053 - | HashModules: null [2026-01-21T11:26:06.199Z] STF 11:26:06.053 - | [2026-01-21T11:26:06.199Z] STF 11:26:06.054 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_17689919556857/PatModImg_PlatMod_1/20260121-112557-PatModImgTest/modules/2.com.hola.jar -C /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola . [2026-01-21T11:26:06.199Z] STF 11:26:06.054 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_17689919556857/PatModImg_PlatMod_1/20260121-112557-PatModImgTest/results/2.CMJ.stderr [2026-01-21T11:26:06.199Z] STF 11:26:06.054 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_17689919556857/PatModImg_PlatMod_1/20260121-112557-PatModImgTest/results/2.CMJ.stdout [2026-01-21T11:26:06.199Z] STF 11:26:06.060 - Monitoring processes: CMJ [2026-01-21T11:26:06.199Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2026-01-21T11:26:07.865Z] STF 11:26:07.357 - Monitoring Report Summary: [2026-01-21T11:26:07.865Z] STF 11:26:07.357 - o Process CMJ ended with the expected exit code (0) [2026-01-21T11:26:07.865Z] STF 11:26:07.359 - Created modular jar: 2.com.hola.jar [2026-01-21T11:26:07.865Z] STF 11:26:07.359 - [2026-01-21T11:26:07.865Z] STF 11:26:07.359 - +------ Step 3 - Create com.helper jar [2026-01-21T11:26:07.865Z] STF 11:26:07.359 - | Create modular jar [2026-01-21T11:26:07.865Z] STF 11:26:07.359 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2026-01-21T11:26:07.865Z] STF 11:26:07.359 - | ModuleVersion: null [2026-01-21T11:26:07.865Z] STF 11:26:07.360 - | MainClass: null [2026-01-21T11:26:07.865Z] STF 11:26:07.360 - | HashModules: null [2026-01-21T11:26:07.865Z] STF 11:26:07.360 - | [2026-01-21T11:26:07.865Z] STF 11:26:07.361 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_17689919556857/PatModImg_PlatMod_1/20260121-112557-PatModImgTest/modules/3.com.helper.jar -C /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper . [2026-01-21T11:26:07.865Z] STF 11:26:07.361 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_17689919556857/PatModImg_PlatMod_1/20260121-112557-PatModImgTest/results/3.CMJ.stderr [2026-01-21T11:26:07.865Z] STF 11:26:07.361 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_17689919556857/PatModImg_PlatMod_1/20260121-112557-PatModImgTest/results/3.CMJ.stdout [2026-01-21T11:26:07.865Z] STF 11:26:07.367 - Monitoring processes: CMJ [2026-01-21T11:26:07.865Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2026-01-21T11:26:09.011Z] STF 11:26:08.676 - Monitoring Report Summary: [2026-01-21T11:26:09.011Z] STF 11:26:08.676 - o Process CMJ ended with the expected exit code (0) [2026-01-21T11:26:09.011Z] STF 11:26:08.677 - Created modular jar: 3.com.helper.jar [2026-01-21T11:26:09.011Z] STF 11:26:08.677 - [2026-01-21T11:26:09.011Z] STF 11:26:08.677 - +------ Step 4 - Create com.discreet jar [2026-01-21T11:26:09.011Z] STF 11:26:08.677 - | Create modular jar [2026-01-21T11:26:09.011Z] STF 11:26:08.677 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2026-01-21T11:26:09.011Z] STF 11:26:08.677 - | ModuleVersion: null [2026-01-21T11:26:09.011Z] STF 11:26:08.678 - | MainClass: null [2026-01-21T11:26:09.011Z] STF 11:26:08.678 - | HashModules: null [2026-01-21T11:26:09.011Z] STF 11:26:08.678 - | [2026-01-21T11:26:09.011Z] STF 11:26:08.678 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_17689919556857/PatModImg_PlatMod_1/20260121-112557-PatModImgTest/modules/4.com.discreet.jar -C /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet . [2026-01-21T11:26:09.011Z] STF 11:26:08.679 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_17689919556857/PatModImg_PlatMod_1/20260121-112557-PatModImgTest/results/4.CMJ.stderr [2026-01-21T11:26:09.011Z] STF 11:26:08.679 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_17689919556857/PatModImg_PlatMod_1/20260121-112557-PatModImgTest/results/4.CMJ.stdout [2026-01-21T11:26:09.011Z] STF 11:26:08.688 - Monitoring processes: CMJ [2026-01-21T11:26:09.011Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2026-01-21T11:26:10.163Z] STF 11:26:09.959 - Monitoring Report Summary: [2026-01-21T11:26:10.163Z] STF 11:26:09.959 - o Process CMJ ended with the expected exit code (0) [2026-01-21T11:26:10.163Z] STF 11:26:09.960 - Created modular jar: 4.com.discreet.jar [2026-01-21T11:26:10.163Z] STF 11:26:09.960 - [2026-01-21T11:26:10.163Z] STF 11:26:09.960 - +------ Step 5 - Create tests jar [2026-01-21T11:26:10.163Z] STF 11:26:09.960 - | Create modular jar [2026-01-21T11:26:10.163Z] STF 11:26:09.960 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2026-01-21T11:26:10.163Z] STF 11:26:09.960 - | ModuleVersion: null [2026-01-21T11:26:10.163Z] STF 11:26:09.960 - | MainClass: null [2026-01-21T11:26:10.163Z] STF 11:26:09.960 - | HashModules: null [2026-01-21T11:26:10.163Z] STF 11:26:09.960 - | [2026-01-21T11:26:10.163Z] STF 11:26:09.961 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_17689919556857/PatModImg_PlatMod_1/20260121-112557-PatModImgTest/modules/5.com.test.jar -C /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test . [2026-01-21T11:26:10.163Z] STF 11:26:09.961 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_17689919556857/PatModImg_PlatMod_1/20260121-112557-PatModImgTest/results/5.CMJ.stderr [2026-01-21T11:26:10.163Z] STF 11:26:09.961 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_17689919556857/PatModImg_PlatMod_1/20260121-112557-PatModImgTest/results/5.CMJ.stdout [2026-01-21T11:26:10.163Z] STF 11:26:09.968 - Monitoring processes: CMJ [2026-01-21T11:26:10.163Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2026-01-21T11:26:11.819Z] STF 11:26:11.271 - Monitoring Report Summary: [2026-01-21T11:26:11.819Z] STF 11:26:11.271 - o Process CMJ ended with the expected exit code (0) [2026-01-21T11:26:11.819Z] STF 11:26:11.272 - Created modular jar: 5.com.test.jar [2026-01-21T11:26:11.819Z] STF 11:26:11.272 - [2026-01-21T11:26:11.819Z] STF 11:26:11.272 - +------ Step 6 - Create runtime image for PatchModule test [2026-01-21T11:26:11.819Z] STF 11:26:11.272 - | Run jlink to create runtime image [2026-01-21T11:26:11.819Z] STF 11:26:11.272 - | ImageName: XpJVM [2026-01-21T11:26:11.819Z] STF 11:26:11.272 - | [2026-01-21T11:26:11.819Z] STF 11:26:11.273 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/jdkbinary/j2sdk-image/bin/jlink --module-path /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/jdkbinary/j2sdk-image/jmods:/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_17689919556857/PatModImg_PlatMod_1/20260121-112557-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_1/aqa-tests/TKG/output_17689919556857/PatModImg_PlatMod_1/20260121-112557-PatModImgTest/tmp/6.XpJVM [2026-01-21T11:26:11.819Z] STF 11:26:11.274 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_17689919556857/PatModImg_PlatMod_1/20260121-112557-PatModImgTest/results/6.JLNK.stderr [2026-01-21T11:26:11.819Z] STF 11:26:11.274 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_17689919556857/PatModImg_PlatMod_1/20260121-112557-PatModImgTest/results/6.JLNK.stdout [2026-01-21T11:26:11.819Z] STF 11:26:11.279 - Monitoring processes: JLNK [2026-01-21T11:26:11.819Z] JLNK stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2026-01-21T11:26:22.618Z] STF 11:26:22.185 - Monitoring Report Summary: [2026-01-21T11:26:22.618Z] STF 11:26:22.186 - o Process JLNK ended with the expected exit code (0) [2026-01-21T11:26:22.618Z] STF 11:26:22.189 - [2026-01-21T11:26:22.618Z] STF 11:26:22.189 - +------ Step 7 - Create com.hello jar [2026-01-21T11:26:22.618Z] STF 11:26:22.190 - | Create modular jar [2026-01-21T11:26:22.618Z] STF 11:26:22.190 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2026-01-21T11:26:22.618Z] STF 11:26:22.190 - | ModuleVersion: null [2026-01-21T11:26:22.618Z] STF 11:26:22.190 - | MainClass: null [2026-01-21T11:26:22.618Z] STF 11:26:22.190 - | HashModules: null [2026-01-21T11:26:22.618Z] STF 11:26:22.190 - | [2026-01-21T11:26:22.618Z] STF 11:26:22.191 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_17689919556857/PatModImg_PlatMod_1/20260121-112557-PatModImgTest/modules/7.com.hello.jar -C /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello . [2026-01-21T11:26:22.618Z] STF 11:26:22.191 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_17689919556857/PatModImg_PlatMod_1/20260121-112557-PatModImgTest/results/7.CMJ.stderr [2026-01-21T11:26:22.618Z] STF 11:26:22.191 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_17689919556857/PatModImg_PlatMod_1/20260121-112557-PatModImgTest/results/7.CMJ.stdout [2026-01-21T11:26:22.618Z] STF 11:26:22.198 - Monitoring processes: CMJ [2026-01-21T11:26:22.618Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2026-01-21T11:26:23.842Z] STF 11:26:23.475 - Monitoring Report Summary: [2026-01-21T11:26:23.842Z] STF 11:26:23.475 - o Process CMJ ended with the expected exit code (0) [2026-01-21T11:26:23.842Z] STF 11:26:23.476 - Created modular jar: 7.com.hello.jar [2026-01-21T11:26:23.842Z] STF 11:26:23.476 - [2026-01-21T11:26:23.842Z] STF 11:26:23.476 - +------ Step 8 - create java.xml.jar [2026-01-21T11:26:23.842Z] STF 11:26:23.476 - | Create modular jar [2026-01-21T11:26:23.842Z] STF 11:26:23.476 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml [2026-01-21T11:26:23.842Z] STF 11:26:23.476 - | ModuleVersion: null [2026-01-21T11:26:23.842Z] STF 11:26:23.476 - | MainClass: null [2026-01-21T11:26:23.842Z] STF 11:26:23.476 - | HashModules: null [2026-01-21T11:26:23.842Z] STF 11:26:23.477 - | [2026-01-21T11:26:23.842Z] STF 11:26:23.477 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_17689919556857/PatModImg_PlatMod_1/20260121-112557-PatModImgTest/modules/8.java.xml.jar -C /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/java.xml . [2026-01-21T11:26:23.842Z] STF 11:26:23.478 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_17689919556857/PatModImg_PlatMod_1/20260121-112557-PatModImgTest/results/8.CMJ.stderr [2026-01-21T11:26:23.842Z] STF 11:26:23.478 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_17689919556857/PatModImg_PlatMod_1/20260121-112557-PatModImgTest/results/8.CMJ.stdout [2026-01-21T11:26:23.842Z] STF 11:26:23.483 - Monitoring processes: CMJ [2026-01-21T11:26:23.842Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2026-01-21T11:26:25.002Z] STF 11:26:24.779 - Monitoring Report Summary: [2026-01-21T11:26:25.002Z] STF 11:26:24.779 - o Process CMJ ended with the expected exit code (0) [2026-01-21T11:26:25.002Z] STF 11:26:24.780 - Created modular jar: 8.java.xml.jar [2026-01-21T11:26:25.002Z] STF 11:26:24.780 - [2026-01-21T11:26:25.002Z] STF 11:26:24.780 - +------ Step 9 - Verify if we can patch an upgradable platform module using exploded directory [2026-01-21T11:26:25.002Z] STF 11:26:24.780 - | Run foreground process [2026-01-21T11:26:25.002Z] STF 11:26:24.780 - | Program: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_17689919556857/PatModImg_PlatMod_1/20260121-112557-PatModImgTest/tmp/6.XpJVM/bin/java [2026-01-21T11:26:25.002Z] STF 11:26:24.780 - | Mnemonic: OT11 [2026-01-21T11:26:25.002Z] STF 11:26:24.780 - | Echo: ECHO_ON [2026-01-21T11:26:25.002Z] STF 11:26:24.780 - | Expectation: CLEAN_RUN within 5m [2026-01-21T11:26:25.002Z] STF 11:26:24.780 - | [2026-01-21T11:26:25.003Z] STF 11:26:24.781 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_17689919556857/PatModImg_PlatMod_1/20260121-112557-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_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 [2026-01-21T11:26:25.003Z] STF 11:26:24.781 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_17689919556857/PatModImg_PlatMod_1/20260121-112557-PatModImgTest/results/9.OT11.stderr [2026-01-21T11:26:25.003Z] STF 11:26:24.781 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_17689919556857/PatModImg_PlatMod_1/20260121-112557-PatModImgTest/results/9.OT11.stdout [2026-01-21T11:26:25.003Z] STF 11:26:24.787 - Monitoring processes: OT11 [2026-01-21T11:26:25.003Z] OT11 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2026-01-21T11:26:25.711Z] OT11 stderr WARNING: module-info.class ignored in patch: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/java.xml [2026-01-21T11:26:26.039Z] OT11 JUnit version 4.12 [2026-01-21T11:26:26.370Z] OT11 . [2026-01-21T11:26:26.696Z] OT11 Time: 0.028 [2026-01-21T11:26:26.696Z] OT11 [2026-01-21T11:26:26.696Z] OT11 OK (1 test) [2026-01-21T11:26:26.696Z] OT11 [2026-01-21T11:26:26.696Z] STF 11:26:26.338 - Monitoring Report Summary: [2026-01-21T11:26:26.696Z] STF 11:26:26.339 - o Process OT11 ended with the expected exit code (0) [2026-01-21T11:26:26.696Z] STF 11:26:26.341 - [2026-01-21T11:26:26.696Z] STF 11:26:26.341 - +------ Step 10 - Verify if we can patch an upgradable platform module using modular jar [2026-01-21T11:26:26.696Z] STF 11:26:26.341 - | Run foreground process [2026-01-21T11:26:26.696Z] STF 11:26:26.341 - | Program: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_17689919556857/PatModImg_PlatMod_1/20260121-112557-PatModImgTest/tmp/6.XpJVM/bin/java [2026-01-21T11:26:26.696Z] STF 11:26:26.342 - | Mnemonic: OT12 [2026-01-21T11:26:26.696Z] STF 11:26:26.342 - | Echo: ECHO_ON [2026-01-21T11:26:26.696Z] STF 11:26:26.342 - | Expectation: CLEAN_RUN within 5m [2026-01-21T11:26:26.696Z] STF 11:26:26.342 - | [2026-01-21T11:26:26.696Z] STF 11:26:26.345 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_17689919556857/PatModImg_PlatMod_1/20260121-112557-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_1/aqa-tests/TKG/output_17689919556857/PatModImg_PlatMod_1/20260121-112557-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 [2026-01-21T11:26:26.696Z] STF 11:26:26.345 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_17689919556857/PatModImg_PlatMod_1/20260121-112557-PatModImgTest/results/10.OT12.stderr [2026-01-21T11:26:26.697Z] STF 11:26:26.345 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_17689919556857/PatModImg_PlatMod_1/20260121-112557-PatModImgTest/results/10.OT12.stdout [2026-01-21T11:26:26.697Z] STF 11:26:26.352 - Monitoring processes: OT12 [2026-01-21T11:26:26.697Z] OT12 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2026-01-21T11:26:27.408Z] OT12 stderr WARNING: module-info.class ignored in patch: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_17689919556857/PatModImg_PlatMod_1/20260121-112557-PatModImgTest/modules/8.java.xml.jar [2026-01-21T11:26:27.408Z] OT12 JUnit version 4.12 [2026-01-21T11:26:28.110Z] OT12 . [2026-01-21T11:26:28.110Z] OT12 Time: 0.033 [2026-01-21T11:26:28.110Z] OT12 [2026-01-21T11:26:28.110Z] OT12 OK (1 test) [2026-01-21T11:26:28.110Z] OT12 [2026-01-21T11:26:28.110Z] STF 11:26:27.820 - Monitoring Report Summary: [2026-01-21T11:26:28.110Z] STF 11:26:27.820 - o Process OT12 ended with the expected exit code (0) [2026-01-21T11:26:28.110Z] STF 11:26:27.821 - EXECUTE stage completed [2026-01-21T11:26:28.110Z] STF 11:26:28.029 - [2026-01-21T11:26:28.110Z] STF 11:26:28.030 - ==================== T E A R D O W N ==================== [2026-01-21T11:26:28.110Z] STF 11:26:28.030 - Running teardown: perl /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/../TKG/output_17689919556857/PatModImg_PlatMod_1/20260121-112557-PatModImgTest/tearDown.pl [2026-01-21T11:26:28.436Z] STF 11:26:28.271 - TEARDOWN stage completed [2026-01-21T11:26:28.436Z] STF 11:26:28.283 - [2026-01-21T11:26:28.437Z] STF 11:26:28.284 - ===================== R E S U L T S ===================== [2026-01-21T11:26:28.437Z] STF 11:26:28.284 - Stage results: [2026-01-21T11:26:28.437Z] STF 11:26:28.284 - setUp: pass [2026-01-21T11:26:28.437Z] STF 11:26:28.284 - execute: pass [2026-01-21T11:26:28.437Z] STF 11:26:28.284 - teardown: pass [2026-01-21T11:26:28.437Z] STF 11:26:28.284 - [2026-01-21T11:26:28.437Z] STF 11:26:28.284 - Overall result: PASSED [2026-01-21T11:26:28.437Z] ----------------------------------- [2026-01-21T11:26:28.437Z] PatModImg_PlatMod_1_PASSED [2026-01-21T11:26:28.437Z] ----------------------------------- [2026-01-21T11:26:28.437Z] [2026-01-21T11:26:28.437Z] TEST TEARDOWN: [2026-01-21T11:26:28.437Z] Nothing to be done for teardown. [2026-01-21T11:26:28.802Z] PatModImg_PlatMod_1 Finish Time: Wed Jan 21 11:26:28 2026 Epoch Time (ms): 1768994788458