PatModImg_PlatMod_0

[2026-03-05T21:24:49.027Z] Running test PatModImg_PlatMod_0 ... [2026-03-05T21:24:49.027Z] =============================================== [2026-03-05T21:24:49.027Z] PatModImg_PlatMod_0 Start Time: Thu Mar 5 21:24:48 2026 Epoch Time (ms): 1772745888807 [2026-03-05T21:24:49.027Z] variation: Mode150 [2026-03-05T21:24:49.027Z] JVM_OPTIONS: -XX:+UseCompressedOops [2026-03-05T21:24:49.027Z] { \ [2026-03-05T21:24:49.027Z] echo ""; echo "TEST SETUP:"; \ [2026-03-05T21:24:49.027Z] echo "Nothing to be done for setup."; \ [2026-03-05T21:24:49.027Z] mkdir -p "/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17727452371896/PatModImg_PlatMod_0"; \ [2026-03-05T21:24:49.027Z] cd "/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17727452371896/PatModImg_PlatMod_0"; \ [2026-03-05T21:24:49.027Z] echo ""; echo "TESTING:"; \ [2026-03-05T21:24:49.028Z] perl /home/jenkins/workspace/Test_openjdk17_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_openjdk17_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF;/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../../jvmtest/system/modularity/..//aqa-systemtest""" -systemtest-prereqs="/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/../../externalDependency/system_lib/" -java-args=' -XX:+UseCompressedOops ' -results-root="/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17727452371896/PatModImg_PlatMod_0" -test=PatModImgTest -test-args="variant=PlatMod"; \ [2026-03-05T21:24:49.028Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatModImg_PlatMod_0""_PASSED"; echo "-----------------------------------"; cd /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/..; rm -f -r "/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17727452371896/PatModImg_PlatMod_0"; else echo "-----------------------------------"; echo "PatModImg_PlatMod_0""_FAILED"; echo "-----------------------------------"; fi; \ [2026-03-05T21:24:49.028Z] echo ""; echo "TEST TEARDOWN:"; \ [2026-03-05T21:24:49.028Z] echo "Nothing to be done for teardown."; \ [2026-03-05T21:24:49.028Z] } 2>&1 | tee -a "/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17727452371896/TestTargetResult"; [2026-03-05T21:24:49.028Z] [2026-03-05T21:24:49.028Z] TEST SETUP: [2026-03-05T21:24:49.028Z] Nothing to be done for setup. [2026-03-05T21:24:49.028Z] [2026-03-05T21:24:49.028Z] TESTING: [2026-03-05T21:24:49.366Z] STF 21:24:49.087 - ========================= S T F ========================= [2026-03-05T21:24:49.366Z] systemtest-prereqs has been processed, and set to: /home/jenkins/externalDependency/system_libRetrieving amount of free space on drive containing /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17727452371896/PatModImg_PlatMod_0 [2026-03-05T21:24:49.366Z] There is 47577 Mb free [2026-03-05T21:24:49.366Z] STF 21:24:49.108 - ================== G E N E R A T I O N ================== [2026-03-05T21:24:49.366Z] STF 21:24:49.113 - Checking JVM: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image [2026-03-05T21:24:49.366Z] STF 21:24:49.113 - Starting process to generate scripts: /home/jenkins/workspace/Test_openjdk17_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_openjdk17_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/STF/stf.core/scripts/../../stf.load/bin/stf.load.jar -classpath /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/../../externalDependency/system_lib//asm/asm.jar:/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/../../externalDependency/system_lib//asm/asm-commons.jar:/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/../../externalDependency/system_lib//log4j/log4j-api.jar:/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/../../externalDependency/system_lib//log4j/log4j-core.jar:/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17727452371896/PatModImg_PlatMod_0/20260305-212449-PatModImgTest/stf_parameters.properties, , /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17727452371896/PatModImg_PlatMod_0/20260305-212449-PatModImgTest" [2026-03-05T21:24:49.366Z] GEN stderr OpenJDK 64-Bit Server VM warning: 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-03-05T21:24:53.501Z] GEN 21:24:53.158 - Found test. Project: 'openjdk.test.modularity' class: 'PatModImgTest.class' Dir: '/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin' [2026-03-05T21:24:53.501Z] GEN 21:24:53.205 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModImgTest' [2026-03-05T21:24:53.845Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2026-03-05T21:24:53.845Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayService [2026-03-05T21:24:53.845Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper [2026-03-05T21:24:53.845Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl1 [2026-03-05T21:24:53.845Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet [2026-03-05T21:24:53.845Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello [2026-03-05T21:24:53.845Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola [2026-03-05T21:24:53.845Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl2 [2026-03-05T21:24:53.845Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hi [2026-03-05T21:24:53.845Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override [2026-03-05T21:24:53.845Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override-new [2026-03-05T21:24:53.845Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl3 [2026-03-05T21:24:53.845Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl4 [2026-03-05T21:24:53.845Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common [2026-03-05T21:24:53.845Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests [2026-03-05T21:24:53.845Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin [2026-03-05T21:24:53.845Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/STF/stf.core/bin [2026-03-05T21:24:53.845Z] GEN /home/jenkins/externalDependency/system_lib/log4j/log4j-api.jar [2026-03-05T21:24:53.845Z] GEN /home/jenkins/externalDependency/system_lib/log4j/log4j-core.jar [2026-03-05T21:24:53.845Z] GEN /home/jenkins/externalDependency/system_lib/junit/junit.jar [2026-03-05T21:24:54.185Z] GEN 21:24:53.887 - Using Mode NoOptions. Values = '' [2026-03-05T21:24:54.524Z] GEN 21:24:54.355 - [2026-03-05T21:24:54.524Z] GEN 21:24:54.356 - Test command summary: [2026-03-05T21:24:54.524Z] GEN 21:24:54.358 - Step Stage Command Description [2026-03-05T21:24:54.524Z] GEN 21:24:54.360 - -----+--------+-----------------+------------ [2026-03-05T21:24:54.524Z] GEN 21:24:54.361 - 1 execute jar Create com.hello jar [2026-03-05T21:24:54.524Z] GEN 21:24:54.362 - 2 execute jar Create com.hola jar [2026-03-05T21:24:54.524Z] GEN 21:24:54.362 - 3 execute jar Create com.helper jar [2026-03-05T21:24:54.524Z] GEN 21:24:54.363 - 4 execute jar Create com.discreet jar [2026-03-05T21:24:54.524Z] GEN 21:24:54.364 - 5 execute jar Create tests jar [2026-03-05T21:24:54.524Z] GEN 21:24:54.364 - 6 execute jlink Create runtime image for PatchModule test [2026-03-05T21:24:54.524Z] GEN 21:24:54.365 - 7 execute jar Create com.hello jar [2026-03-05T21:24:54.524Z] GEN 21:24:54.366 - 8 execute jar create java.xml.jar [2026-03-05T21:24:54.524Z] GEN 21:24:54.367 - 9 execute Run java Verify if we can patch an upgradable platform module using exploded directory [2026-03-05T21:24:54.524Z] GEN 21:24:54.367 - 10 execute Run java Verify if we can patch an upgradable platform module using modular jar [2026-03-05T21:24:54.854Z] STF 21:24:54.517 - [2026-03-05T21:24:54.854Z] STF 21:24:54.517 - Script generation completed [2026-03-05T21:24:54.854Z] STF 21:24:54.517 - [2026-03-05T21:24:54.854Z] STF 21:24:54.519 - [2026-03-05T21:24:54.854Z] STF 21:24:54.520 - ======================= S E T U P ======================= [2026-03-05T21:24:54.854Z] STF 21:24:54.520 - Running setup: perl /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17727452371896/PatModImg_PlatMod_0/20260305-212449-PatModImgTest/setUp.pl [2026-03-05T21:24:54.854Z] STF 21:24:54.753 - SETUP stage completed [2026-03-05T21:24:54.854Z] STF 21:24:54.766 - [2026-03-05T21:24:54.854Z] STF 21:24:54.766 - ==================== E X E C U T E - ==================== [2026-03-05T21:24:54.854Z] STF 21:24:54.766 - Running execute: perl /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17727452371896/PatModImg_PlatMod_0/20260305-212449-PatModImgTest/execute.pl [2026-03-05T21:24:55.199Z] STF 21:24:55.033 - [2026-03-05T21:24:55.199Z] STF 21:24:55.033 - Java version [2026-03-05T21:24:55.199Z] STF 21:24:55.033 - Running: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/bin/java -version [2026-03-05T21:24:55.780Z] openjdk version "17.0.19-beta" 2026-04-21 [2026-03-05T21:24:55.780Z] OpenJDK Runtime Environment Temurin-17.0.19+5-202603050525 (build 17.0.19-beta+5-ea) [2026-03-05T21:24:55.780Z] OpenJDK 64-Bit Server VM Temurin-17.0.19+5-202603050525 (build 17.0.19-beta+5-ea, mixed mode, sharing) [2026-03-05T21:24:55.780Z] STF 21:24:55.300 - [2026-03-05T21:24:55.780Z] STF 21:24:55.300 - +------ Step 1 - Create com.hello jar [2026-03-05T21:24:55.780Z] STF 21:24:55.300 - | Create modular jar [2026-03-05T21:24:55.780Z] STF 21:24:55.300 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2026-03-05T21:24:55.780Z] STF 21:24:55.300 - | ModuleVersion: null [2026-03-05T21:24:55.780Z] STF 21:24:55.300 - | MainClass: null [2026-03-05T21:24:55.780Z] STF 21:24:55.300 - | HashModules: null [2026-03-05T21:24:55.780Z] STF 21:24:55.301 - | [2026-03-05T21:24:55.780Z] STF 21:24:55.302 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17727452371896/PatModImg_PlatMod_0/20260305-212449-PatModImgTest/modules/1.com.hello.jar -C /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello . [2026-03-05T21:24:55.780Z] STF 21:24:55.302 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17727452371896/PatModImg_PlatMod_0/20260305-212449-PatModImgTest/results/1.CMJ.stderr [2026-03-05T21:24:55.780Z] STF 21:24:55.302 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17727452371896/PatModImg_PlatMod_0/20260305-212449-PatModImgTest/results/1.CMJ.stdout [2026-03-05T21:24:55.780Z] STF 21:24:55.342 - Monitoring processes: CMJ [2026-03-05T21:24:56.515Z] STF 21:24:56.277 - Monitoring Report Summary: [2026-03-05T21:24:56.515Z] STF 21:24:56.277 - o Process CMJ ended with the expected exit code (0) [2026-03-05T21:24:56.515Z] STF 21:24:56.277 - Created modular jar: 1.com.hello.jar [2026-03-05T21:24:56.515Z] STF 21:24:56.278 - [2026-03-05T21:24:56.515Z] STF 21:24:56.278 - +------ Step 2 - Create com.hola jar [2026-03-05T21:24:56.515Z] STF 21:24:56.278 - | Create modular jar [2026-03-05T21:24:56.515Z] STF 21:24:56.278 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2026-03-05T21:24:56.515Z] STF 21:24:56.278 - | ModuleVersion: null [2026-03-05T21:24:56.515Z] STF 21:24:56.278 - | MainClass: null [2026-03-05T21:24:56.515Z] STF 21:24:56.278 - | HashModules: null [2026-03-05T21:24:56.515Z] STF 21:24:56.278 - | [2026-03-05T21:24:56.515Z] STF 21:24:56.279 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17727452371896/PatModImg_PlatMod_0/20260305-212449-PatModImgTest/modules/2.com.hola.jar -C /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola . [2026-03-05T21:24:56.515Z] STF 21:24:56.279 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17727452371896/PatModImg_PlatMod_0/20260305-212449-PatModImgTest/results/2.CMJ.stderr [2026-03-05T21:24:56.515Z] STF 21:24:56.279 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17727452371896/PatModImg_PlatMod_0/20260305-212449-PatModImgTest/results/2.CMJ.stdout [2026-03-05T21:24:56.515Z] STF 21:24:56.282 - Monitoring processes: CMJ [2026-03-05T21:24:57.236Z] STF 21:24:57.207 - Monitoring Report Summary: [2026-03-05T21:24:57.236Z] STF 21:24:57.207 - o Process CMJ ended with the expected exit code (0) [2026-03-05T21:24:57.236Z] STF 21:24:57.208 - Created modular jar: 2.com.hola.jar [2026-03-05T21:24:57.236Z] STF 21:24:57.208 - [2026-03-05T21:24:57.236Z] STF 21:24:57.208 - +------ Step 3 - Create com.helper jar [2026-03-05T21:24:57.236Z] STF 21:24:57.208 - | Create modular jar [2026-03-05T21:24:57.236Z] STF 21:24:57.208 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2026-03-05T21:24:57.236Z] STF 21:24:57.208 - | ModuleVersion: null [2026-03-05T21:24:57.236Z] STF 21:24:57.208 - | MainClass: null [2026-03-05T21:24:57.236Z] STF 21:24:57.208 - | HashModules: null [2026-03-05T21:24:57.236Z] STF 21:24:57.209 - | [2026-03-05T21:24:57.571Z] STF 21:24:57.210 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17727452371896/PatModImg_PlatMod_0/20260305-212449-PatModImgTest/modules/3.com.helper.jar -C /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper . [2026-03-05T21:24:57.571Z] STF 21:24:57.210 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17727452371896/PatModImg_PlatMod_0/20260305-212449-PatModImgTest/results/3.CMJ.stderr [2026-03-05T21:24:57.571Z] STF 21:24:57.210 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17727452371896/PatModImg_PlatMod_0/20260305-212449-PatModImgTest/results/3.CMJ.stdout [2026-03-05T21:24:57.571Z] STF 21:24:57.213 - Monitoring processes: CMJ [2026-03-05T21:24:58.302Z] STF 21:24:58.142 - Monitoring Report Summary: [2026-03-05T21:24:58.302Z] STF 21:24:58.142 - o Process CMJ ended with the expected exit code (0) [2026-03-05T21:24:58.302Z] STF 21:24:58.143 - Created modular jar: 3.com.helper.jar [2026-03-05T21:24:58.302Z] STF 21:24:58.143 - [2026-03-05T21:24:58.302Z] STF 21:24:58.143 - +------ Step 4 - Create com.discreet jar [2026-03-05T21:24:58.302Z] STF 21:24:58.143 - | Create modular jar [2026-03-05T21:24:58.302Z] STF 21:24:58.143 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2026-03-05T21:24:58.302Z] STF 21:24:58.143 - | ModuleVersion: null [2026-03-05T21:24:58.302Z] STF 21:24:58.143 - | MainClass: null [2026-03-05T21:24:58.302Z] STF 21:24:58.143 - | HashModules: null [2026-03-05T21:24:58.302Z] STF 21:24:58.143 - | [2026-03-05T21:24:58.302Z] STF 21:24:58.144 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17727452371896/PatModImg_PlatMod_0/20260305-212449-PatModImgTest/modules/4.com.discreet.jar -C /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet . [2026-03-05T21:24:58.302Z] STF 21:24:58.144 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17727452371896/PatModImg_PlatMod_0/20260305-212449-PatModImgTest/results/4.CMJ.stderr [2026-03-05T21:24:58.302Z] STF 21:24:58.145 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17727452371896/PatModImg_PlatMod_0/20260305-212449-PatModImgTest/results/4.CMJ.stdout [2026-03-05T21:24:58.302Z] STF 21:24:58.148 - Monitoring processes: CMJ [2026-03-05T21:24:59.480Z] STF 21:24:59.065 - Monitoring Report Summary: [2026-03-05T21:24:59.480Z] STF 21:24:59.065 - o Process CMJ ended with the expected exit code (0) [2026-03-05T21:24:59.480Z] STF 21:24:59.066 - Created modular jar: 4.com.discreet.jar [2026-03-05T21:24:59.480Z] STF 21:24:59.066 - [2026-03-05T21:24:59.480Z] STF 21:24:59.066 - +------ Step 5 - Create tests jar [2026-03-05T21:24:59.480Z] STF 21:24:59.066 - | Create modular jar [2026-03-05T21:24:59.480Z] STF 21:24:59.066 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2026-03-05T21:24:59.480Z] STF 21:24:59.066 - | ModuleVersion: null [2026-03-05T21:24:59.480Z] STF 21:24:59.066 - | MainClass: null [2026-03-05T21:24:59.480Z] STF 21:24:59.066 - | HashModules: null [2026-03-05T21:24:59.480Z] STF 21:24:59.066 - | [2026-03-05T21:24:59.480Z] STF 21:24:59.067 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17727452371896/PatModImg_PlatMod_0/20260305-212449-PatModImgTest/modules/5.com.test.jar -C /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test . [2026-03-05T21:24:59.480Z] STF 21:24:59.067 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17727452371896/PatModImg_PlatMod_0/20260305-212449-PatModImgTest/results/5.CMJ.stderr [2026-03-05T21:24:59.480Z] STF 21:24:59.067 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17727452371896/PatModImg_PlatMod_0/20260305-212449-PatModImgTest/results/5.CMJ.stdout [2026-03-05T21:24:59.480Z] STF 21:24:59.070 - Monitoring processes: CMJ [2026-03-05T21:25:00.214Z] STF 21:25:00.016 - Monitoring Report Summary: [2026-03-05T21:25:00.214Z] STF 21:25:00.017 - o Process CMJ ended with the expected exit code (0) [2026-03-05T21:25:00.214Z] STF 21:25:00.017 - Created modular jar: 5.com.test.jar [2026-03-05T21:25:00.214Z] STF 21:25:00.017 - [2026-03-05T21:25:00.214Z] STF 21:25:00.017 - +------ Step 6 - Create runtime image for PatchModule test [2026-03-05T21:25:00.214Z] STF 21:25:00.018 - | Run jlink to create runtime image [2026-03-05T21:25:00.214Z] STF 21:25:00.018 - | ImageName: XpJVM [2026-03-05T21:25:00.214Z] STF 21:25:00.018 - | [2026-03-05T21:25:00.214Z] STF 21:25:00.018 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/bin/jlink --module-path /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/jmods:/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17727452371896/PatModImg_PlatMod_0/20260305-212449-PatModImgTest/modules --add-modules com.hello,com.hola,com.test,com.helper,com.discreet --output /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17727452371896/PatModImg_PlatMod_0/20260305-212449-PatModImgTest/tmp/6.XpJVM [2026-03-05T21:25:00.214Z] STF 21:25:00.019 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17727452371896/PatModImg_PlatMod_0/20260305-212449-PatModImgTest/results/6.JLNK.stderr [2026-03-05T21:25:00.214Z] STF 21:25:00.019 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17727452371896/PatModImg_PlatMod_0/20260305-212449-PatModImgTest/results/6.JLNK.stdout [2026-03-05T21:25:00.214Z] STF 21:25:00.023 - Monitoring processes: JLNK [2026-03-05T21:25:11.061Z] STF 21:25:09.883 - Monitoring Report Summary: [2026-03-05T21:25:11.061Z] STF 21:25:09.883 - o Process JLNK ended with the expected exit code (0) [2026-03-05T21:25:11.061Z] STF 21:25:09.884 - [2026-03-05T21:25:11.061Z] STF 21:25:09.884 - +------ Step 7 - Create com.hello jar [2026-03-05T21:25:11.061Z] STF 21:25:09.884 - | Create modular jar [2026-03-05T21:25:11.062Z] STF 21:25:09.884 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2026-03-05T21:25:11.062Z] STF 21:25:09.885 - | ModuleVersion: null [2026-03-05T21:25:11.062Z] STF 21:25:09.885 - | MainClass: null [2026-03-05T21:25:11.062Z] STF 21:25:09.885 - | HashModules: null [2026-03-05T21:25:11.062Z] STF 21:25:09.885 - | [2026-03-05T21:25:11.062Z] STF 21:25:09.886 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17727452371896/PatModImg_PlatMod_0/20260305-212449-PatModImgTest/modules/7.com.hello.jar -C /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello . [2026-03-05T21:25:11.062Z] STF 21:25:09.887 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17727452371896/PatModImg_PlatMod_0/20260305-212449-PatModImgTest/results/7.CMJ.stderr [2026-03-05T21:25:11.062Z] STF 21:25:09.887 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17727452371896/PatModImg_PlatMod_0/20260305-212449-PatModImgTest/results/7.CMJ.stdout [2026-03-05T21:25:11.062Z] STF 21:25:09.896 - Monitoring processes: CMJ [2026-03-05T21:25:11.062Z] STF 21:25:10.791 - Monitoring Report Summary: [2026-03-05T21:25:11.062Z] STF 21:25:10.791 - o Process CMJ ended with the expected exit code (0) [2026-03-05T21:25:11.062Z] STF 21:25:10.792 - Created modular jar: 7.com.hello.jar [2026-03-05T21:25:11.062Z] STF 21:25:10.792 - [2026-03-05T21:25:11.062Z] STF 21:25:10.792 - +------ Step 8 - create java.xml.jar [2026-03-05T21:25:11.062Z] STF 21:25:10.793 - | Create modular jar [2026-03-05T21:25:11.062Z] STF 21:25:10.793 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml [2026-03-05T21:25:11.062Z] STF 21:25:10.793 - | ModuleVersion: null [2026-03-05T21:25:11.062Z] STF 21:25:10.793 - | MainClass: null [2026-03-05T21:25:11.062Z] STF 21:25:10.793 - | HashModules: null [2026-03-05T21:25:11.062Z] STF 21:25:10.793 - | [2026-03-05T21:25:11.062Z] STF 21:25:10.794 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17727452371896/PatModImg_PlatMod_0/20260305-212449-PatModImgTest/modules/8.java.xml.jar -C /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/java.xml . [2026-03-05T21:25:11.062Z] STF 21:25:10.794 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17727452371896/PatModImg_PlatMod_0/20260305-212449-PatModImgTest/results/8.CMJ.stderr [2026-03-05T21:25:11.062Z] STF 21:25:10.794 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17727452371896/PatModImg_PlatMod_0/20260305-212449-PatModImgTest/results/8.CMJ.stdout [2026-03-05T21:25:11.062Z] STF 21:25:10.800 - Monitoring processes: CMJ [2026-03-05T21:25:12.212Z] STF 21:25:11.670 - Monitoring Report Summary: [2026-03-05T21:25:12.212Z] STF 21:25:11.670 - o Process CMJ ended with the expected exit code (0) [2026-03-05T21:25:12.212Z] STF 21:25:11.671 - Created modular jar: 8.java.xml.jar [2026-03-05T21:25:12.212Z] STF 21:25:11.671 - [2026-03-05T21:25:12.212Z] STF 21:25:11.671 - +------ Step 9 - Verify if we can patch an upgradable platform module using exploded directory [2026-03-05T21:25:12.212Z] STF 21:25:11.671 - | Run foreground process [2026-03-05T21:25:12.212Z] STF 21:25:11.671 - | Program: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17727452371896/PatModImg_PlatMod_0/20260305-212449-PatModImgTest/tmp/6.XpJVM/bin/java [2026-03-05T21:25:12.212Z] STF 21:25:11.671 - | Mnemonic: OT11 [2026-03-05T21:25:12.212Z] STF 21:25:11.671 - | Echo: ECHO_ON [2026-03-05T21:25:12.212Z] STF 21:25:11.671 - | Expectation: CLEAN_RUN within 5m [2026-03-05T21:25:12.212Z] STF 21:25:11.671 - | [2026-03-05T21:25:12.212Z] STF 21:25:11.672 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17727452371896/PatModImg_PlatMod_0/20260305-212449-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module java.xml=/home/jenkins/workspace/Test_openjdk17_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 [2026-03-05T21:25:12.212Z] STF 21:25:11.672 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17727452371896/PatModImg_PlatMod_0/20260305-212449-PatModImgTest/results/9.OT11.stderr [2026-03-05T21:25:12.212Z] STF 21:25:11.672 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17727452371896/PatModImg_PlatMod_0/20260305-212449-PatModImgTest/results/9.OT11.stdout [2026-03-05T21:25:12.212Z] STF 21:25:11.679 - Monitoring processes: OT11 [2026-03-05T21:25:12.536Z] OT11 stderr WARNING: module-info.class ignored in patch: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/java.xml [2026-03-05T21:25:12.858Z] OT11 JUnit version 4.12 [2026-03-05T21:25:13.187Z] OT11 . [2026-03-05T21:25:13.516Z] OT11 Time: 0.018 [2026-03-05T21:25:13.516Z] OT11 [2026-03-05T21:25:13.516Z] OT11 OK (1 test) [2026-03-05T21:25:13.516Z] OT11 [2026-03-05T21:25:13.516Z] STF 21:25:13.157 - Monitoring Report Summary: [2026-03-05T21:25:13.516Z] STF 21:25:13.157 - o Process OT11 ended with the expected exit code (0) [2026-03-05T21:25:13.516Z] STF 21:25:13.160 - [2026-03-05T21:25:13.516Z] STF 21:25:13.160 - +------ Step 10 - Verify if we can patch an upgradable platform module using modular jar [2026-03-05T21:25:13.516Z] STF 21:25:13.160 - | Run foreground process [2026-03-05T21:25:13.516Z] STF 21:25:13.161 - | Program: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17727452371896/PatModImg_PlatMod_0/20260305-212449-PatModImgTest/tmp/6.XpJVM/bin/java [2026-03-05T21:25:13.516Z] STF 21:25:13.161 - | Mnemonic: OT12 [2026-03-05T21:25:13.516Z] STF 21:25:13.161 - | Echo: ECHO_ON [2026-03-05T21:25:13.516Z] STF 21:25:13.161 - | Expectation: CLEAN_RUN within 5m [2026-03-05T21:25:13.516Z] STF 21:25:13.162 - | [2026-03-05T21:25:13.516Z] STF 21:25:13.165 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17727452371896/PatModImg_PlatMod_0/20260305-212449-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module java.xml=/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17727452371896/PatModImg_PlatMod_0/20260305-212449-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-03-05T21:25:13.516Z] STF 21:25:13.165 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17727452371896/PatModImg_PlatMod_0/20260305-212449-PatModImgTest/results/10.OT12.stderr [2026-03-05T21:25:13.516Z] STF 21:25:13.166 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17727452371896/PatModImg_PlatMod_0/20260305-212449-PatModImgTest/results/10.OT12.stdout [2026-03-05T21:25:13.516Z] STF 21:25:13.178 - Monitoring processes: OT12 [2026-03-05T21:25:13.840Z] OT12 stderr WARNING: module-info.class ignored in patch: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17727452371896/PatModImg_PlatMod_0/20260305-212449-PatModImgTest/modules/8.java.xml.jar [2026-03-05T21:25:14.166Z] OT12 JUnit version 4.12 [2026-03-05T21:25:14.490Z] OT12 . [2026-03-05T21:25:14.811Z] OT12 Time: 0.017 [2026-03-05T21:25:14.811Z] OT12 [2026-03-05T21:25:14.811Z] OT12 OK (1 test) [2026-03-05T21:25:14.811Z] OT12 [2026-03-05T21:25:14.811Z] STF 21:25:14.506 - Monitoring Report Summary: [2026-03-05T21:25:14.811Z] STF 21:25:14.506 - o Process OT12 ended with the expected exit code (0) [2026-03-05T21:25:14.811Z] STF 21:25:14.507 - EXECUTE stage completed [2026-03-05T21:25:14.811Z] STF 21:25:14.676 - [2026-03-05T21:25:14.811Z] STF 21:25:14.677 - ==================== T E A R D O W N ==================== [2026-03-05T21:25:14.811Z] STF 21:25:14.677 - Running teardown: perl /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17727452371896/PatModImg_PlatMod_0/20260305-212449-PatModImgTest/tearDown.pl [2026-03-05T21:25:15.137Z] STF 21:25:14.928 - TEARDOWN stage completed [2026-03-05T21:25:15.137Z] STF 21:25:14.936 - [2026-03-05T21:25:15.137Z] STF 21:25:14.936 - ===================== R E S U L T S ===================== [2026-03-05T21:25:15.137Z] STF 21:25:14.936 - Stage results: [2026-03-05T21:25:15.137Z] STF 21:25:14.936 - setUp: pass [2026-03-05T21:25:15.137Z] STF 21:25:14.936 - execute: pass [2026-03-05T21:25:15.137Z] STF 21:25:14.936 - teardown: pass [2026-03-05T21:25:15.137Z] STF 21:25:14.937 - [2026-03-05T21:25:15.137Z] STF 21:25:14.937 - Overall result: PASSED [2026-03-05T21:25:15.137Z] ----------------------------------- [2026-03-05T21:25:15.137Z] PatModImg_PlatMod_0_PASSED [2026-03-05T21:25:15.137Z] ----------------------------------- [2026-03-05T21:25:15.137Z] [2026-03-05T21:25:15.137Z] TEST TEARDOWN: [2026-03-05T21:25:15.137Z] Nothing to be done for teardown. [2026-03-05T21:25:15.137Z] PatModImg_PlatMod_0 Finish Time: Thu Mar 5 21:25:15 2026 Epoch Time (ms): 1772745915091