PatModImg_PlatMod_0

[2025-07-31T06:50:18.317Z] Running test PatModImg_PlatMod_0 ... [2025-07-31T06:50:18.317Z] =============================================== [2025-07-31T06:50:18.317Z] PatModImg_PlatMod_0 Start Time: Thu Jul 31 06:50:18 2025 Epoch Time (ms): 1753944618156 [2025-07-31T06:50:18.317Z] variation: Mode150 [2025-07-31T06:50:18.317Z] JVM_OPTIONS: -XX:+UseCompressedOops [2025-07-31T06:50:18.317Z] { \ [2025-07-31T06:50:18.317Z] echo ""; echo "TEST SETUP:"; \ [2025-07-31T06:50:18.317Z] echo "Nothing to be done for setup."; \ [2025-07-31T06:50:18.317Z] mkdir -p "/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17539430845744/PatModImg_PlatMod_0"; \ [2025-07-31T06:50:18.317Z] cd "/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17539430845744/PatModImg_PlatMod_0"; \ [2025-07-31T06:50:18.317Z] echo ""; echo "TESTING:"; \ [2025-07-31T06:50:18.317Z] perl /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF/stf.core/scripts/stf.pl -test-root="/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF;/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../../jvmtest/system/modularity/..//aqa-systemtest""" -systemtest-prereqs="/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/../../testDependency/system_lib/" -java-args=' -XX:+UseCompressedOops ' -results-root="/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17539430845744/PatModImg_PlatMod_0" -test=PatModImgTest -test-args="variant=PlatMod"; \ [2025-07-31T06:50:18.317Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatModImg_PlatMod_0""_PASSED"; echo "-----------------------------------"; cd /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/..; rm -f -r "/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17539430845744/PatModImg_PlatMod_0"; else echo "-----------------------------------"; echo "PatModImg_PlatMod_0""_FAILED"; echo "-----------------------------------"; fi; \ [2025-07-31T06:50:18.317Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-07-31T06:50:18.317Z] echo "Nothing to be done for teardown."; \ [2025-07-31T06:50:18.317Z] } 2>&1 | tee -a "/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17539430845744/TestTargetResult"; [2025-07-31T06:50:18.317Z] [2025-07-31T06:50:18.317Z] TEST SETUP: [2025-07-31T06:50:18.317Z] Nothing to be done for setup. [2025-07-31T06:50:18.317Z] [2025-07-31T06:50:18.317Z] TESTING: [2025-07-31T06:50:18.650Z] STF 06:50:18.436 - ========================= S T F ========================= [2025-07-31T06:50:18.650Z] systemtest-prereqs has been processed, and set to: /home/jenkins/testDependency/system_libRetrieving amount of free space on drive containing /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17539430845744/PatModImg_PlatMod_0 [2025-07-31T06:50:18.650Z] There is 34420 Mb free [2025-07-31T06:50:18.650Z] STF 06:50:18.456 - ================== G E N E R A T I O N ================== [2025-07-31T06:50:18.650Z] STF 06:50:18.460 - Checking JVM: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image [2025-07-31T06:50:18.650Z] STF 06:50:18.460 - Starting process to generate scripts: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/bin/java -Dlog4j.skipJansi=true -Djava.system.class.loader=net.adoptopenjdk.stf.runner.StfClassLoader -Dload.agent.path=/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/STF/stf.core/scripts/../../stf.load/bin/stf.load.jar -classpath /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/../../testDependency/system_lib//asm/asm.jar:/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/../../testDependency/system_lib//asm/asm-commons.jar:/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/../../testDependency/system_lib//log4j/log4j-api.jar:/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/../../testDependency/system_lib//log4j/log4j-core.jar:/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17539430845744/PatModImg_PlatMod_0/20250731-065018-PatModImgTest/stf_parameters.properties, , /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17539430845744/PatModImg_PlatMod_0/20250731-065018-PatModImgTest" [2025-07-31T06:50:18.650Z] GEN stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-07-31T06:50:18.650Z] GEN [0.016s][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-07-31T06:50:23.390Z] GEN 06:50:23.138 - Found test. Project: 'openjdk.test.modularity' class: 'PatModImgTest.class' Dir: '/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin' [2025-07-31T06:50:23.390Z] GEN 06:50:23.161 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModImgTest' [2025-07-31T06:50:23.727Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2025-07-31T06:50:23.727Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayService [2025-07-31T06:50:23.727Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper [2025-07-31T06:50:23.727Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl1 [2025-07-31T06:50:23.727Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet [2025-07-31T06:50:23.727Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello [2025-07-31T06:50:23.727Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola [2025-07-31T06:50:23.727Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl2 [2025-07-31T06:50:23.727Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hi [2025-07-31T06:50:23.727Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override [2025-07-31T06:50:23.727Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override-new [2025-07-31T06:50:23.727Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl3 [2025-07-31T06:50:23.727Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl4 [2025-07-31T06:50:23.727Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common [2025-07-31T06:50:23.727Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests [2025-07-31T06:50:23.727Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin [2025-07-31T06:50:23.727Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/STF/stf.core/bin [2025-07-31T06:50:23.727Z] GEN /home/jenkins/testDependency/system_lib/log4j/log4j-api.jar [2025-07-31T06:50:23.727Z] GEN /home/jenkins/testDependency/system_lib/log4j/log4j-core.jar [2025-07-31T06:50:23.727Z] GEN /home/jenkins/testDependency/system_lib/junit/junit.jar [2025-07-31T06:50:24.056Z] GEN 06:50:23.875 - Using Mode NoOptions. Values = '' [2025-07-31T06:50:24.390Z] GEN 06:50:24.319 - [2025-07-31T06:50:24.390Z] GEN 06:50:24.319 - Test command summary: [2025-07-31T06:50:24.390Z] GEN 06:50:24.321 - Step Stage Command Description [2025-07-31T06:50:24.390Z] GEN 06:50:24.322 - -----+--------+-----------------+------------ [2025-07-31T06:50:24.390Z] GEN 06:50:24.323 - 1 execute jar Create com.hello jar [2025-07-31T06:50:24.390Z] GEN 06:50:24.324 - 2 execute jar Create com.hola jar [2025-07-31T06:50:24.390Z] GEN 06:50:24.325 - 3 execute jar Create com.helper jar [2025-07-31T06:50:24.390Z] GEN 06:50:24.325 - 4 execute jar Create com.discreet jar [2025-07-31T06:50:24.390Z] GEN 06:50:24.326 - 5 execute jar Create tests jar [2025-07-31T06:50:24.390Z] GEN 06:50:24.327 - 6 execute jlink Create runtime image for PatchModule test [2025-07-31T06:50:24.390Z] GEN 06:50:24.328 - 7 execute jar Create com.hello jar [2025-07-31T06:50:24.390Z] GEN 06:50:24.329 - 8 execute jar create java.xml.jar [2025-07-31T06:50:24.391Z] GEN 06:50:24.330 - 9 execute Run java Verify if we can patch an upgradable platform module using exploded directory [2025-07-31T06:50:24.391Z] GEN 06:50:24.330 - 10 execute Run java Verify if we can patch an upgradable platform module using modular jar [2025-07-31T06:50:24.716Z] STF 06:50:24.475 - [2025-07-31T06:50:24.716Z] STF 06:50:24.475 - Script generation completed [2025-07-31T06:50:24.716Z] STF 06:50:24.475 - [2025-07-31T06:50:24.716Z] STF 06:50:24.477 - [2025-07-31T06:50:24.716Z] STF 06:50:24.477 - ======================= S E T U P ======================= [2025-07-31T06:50:24.716Z] STF 06:50:24.477 - Running setup: perl /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17539430845744/PatModImg_PlatMod_0/20250731-065018-PatModImgTest/setUp.pl [2025-07-31T06:50:24.716Z] STF 06:50:24.704 - SETUP stage completed [2025-07-31T06:50:25.051Z] STF 06:50:24.714 - [2025-07-31T06:50:25.051Z] STF 06:50:24.715 - ==================== E X E C U T E - ==================== [2025-07-31T06:50:25.051Z] STF 06:50:24.715 - Running execute: perl /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17539430845744/PatModImg_PlatMod_0/20250731-065018-PatModImgTest/execute.pl [2025-07-31T06:50:25.051Z] STF 06:50:24.962 - [2025-07-31T06:50:25.051Z] STF 06:50:24.963 - Java version [2025-07-31T06:50:25.051Z] STF 06:50:24.963 - Running: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/bin/java -version [2025-07-31T06:50:25.051Z] Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-07-31T06:50:25.394Z] openjdk version "21.0.9-beta" 2025-10-21 [2025-07-31T06:50:25.395Z] OpenJDK Runtime Environment Temurin-21.0.9+1-202507301931 (build 21.0.9-beta+1-ea) [2025-07-31T06:50:25.395Z] OpenJDK 64-Bit Server VM Temurin-21.0.9+1-202507301931 (build 21.0.9-beta+1-ea, mixed mode, sharing) [2025-07-31T06:50:25.395Z] STF 06:50:25.208 - [2025-07-31T06:50:25.395Z] STF 06:50:25.208 - +------ Step 1 - Create com.hello jar [2025-07-31T06:50:25.395Z] STF 06:50:25.208 - | Create modular jar [2025-07-31T06:50:25.395Z] STF 06:50:25.208 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2025-07-31T06:50:25.395Z] STF 06:50:25.208 - | ModuleVersion: null [2025-07-31T06:50:25.395Z] STF 06:50:25.208 - | MainClass: null [2025-07-31T06:50:25.395Z] STF 06:50:25.208 - | HashModules: null [2025-07-31T06:50:25.395Z] STF 06:50:25.208 - | [2025-07-31T06:50:25.395Z] STF 06:50:25.210 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17539430845744/PatModImg_PlatMod_0/20250731-065018-PatModImgTest/modules/1.com.hello.jar -C /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello . [2025-07-31T06:50:25.395Z] STF 06:50:25.210 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17539430845744/PatModImg_PlatMod_0/20250731-065018-PatModImgTest/results/1.CMJ.stderr [2025-07-31T06:50:25.395Z] STF 06:50:25.210 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17539430845744/PatModImg_PlatMod_0/20250731-065018-PatModImgTest/results/1.CMJ.stdout [2025-07-31T06:50:25.395Z] STF 06:50:25.248 - Monitoring processes: CMJ [2025-07-31T06:50:25.395Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-07-31T06:50:27.060Z] STF 06:50:26.565 - Monitoring Report Summary: [2025-07-31T06:50:27.060Z] STF 06:50:26.566 - o Process CMJ ended with the expected exit code (0) [2025-07-31T06:50:27.060Z] STF 06:50:26.567 - Created modular jar: 1.com.hello.jar [2025-07-31T06:50:27.060Z] STF 06:50:26.567 - [2025-07-31T06:50:27.060Z] STF 06:50:26.567 - +------ Step 2 - Create com.hola jar [2025-07-31T06:50:27.060Z] STF 06:50:26.567 - | Create modular jar [2025-07-31T06:50:27.060Z] STF 06:50:26.567 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2025-07-31T06:50:27.060Z] STF 06:50:26.567 - | ModuleVersion: null [2025-07-31T06:50:27.060Z] STF 06:50:26.567 - | MainClass: null [2025-07-31T06:50:27.060Z] STF 06:50:26.567 - | HashModules: null [2025-07-31T06:50:27.060Z] STF 06:50:26.567 - | [2025-07-31T06:50:27.060Z] STF 06:50:26.569 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17539430845744/PatModImg_PlatMod_0/20250731-065018-PatModImgTest/modules/2.com.hola.jar -C /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola . [2025-07-31T06:50:27.060Z] STF 06:50:26.569 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17539430845744/PatModImg_PlatMod_0/20250731-065018-PatModImgTest/results/2.CMJ.stderr [2025-07-31T06:50:27.060Z] STF 06:50:26.569 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17539430845744/PatModImg_PlatMod_0/20250731-065018-PatModImgTest/results/2.CMJ.stdout [2025-07-31T06:50:27.060Z] STF 06:50:26.575 - Monitoring processes: CMJ [2025-07-31T06:50:27.060Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-07-31T06:50:28.210Z] STF 06:50:27.868 - Monitoring Report Summary: [2025-07-31T06:50:28.210Z] STF 06:50:27.868 - o Process CMJ ended with the expected exit code (0) [2025-07-31T06:50:28.210Z] STF 06:50:27.869 - Created modular jar: 2.com.hola.jar [2025-07-31T06:50:28.210Z] STF 06:50:27.869 - [2025-07-31T06:50:28.210Z] STF 06:50:27.869 - +------ Step 3 - Create com.helper jar [2025-07-31T06:50:28.210Z] STF 06:50:27.869 - | Create modular jar [2025-07-31T06:50:28.210Z] STF 06:50:27.869 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2025-07-31T06:50:28.210Z] STF 06:50:27.869 - | ModuleVersion: null [2025-07-31T06:50:28.210Z] STF 06:50:27.869 - | MainClass: null [2025-07-31T06:50:28.210Z] STF 06:50:27.869 - | HashModules: null [2025-07-31T06:50:28.210Z] STF 06:50:27.869 - | [2025-07-31T06:50:28.210Z] STF 06:50:27.870 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17539430845744/PatModImg_PlatMod_0/20250731-065018-PatModImgTest/modules/3.com.helper.jar -C /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper . [2025-07-31T06:50:28.210Z] STF 06:50:27.871 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17539430845744/PatModImg_PlatMod_0/20250731-065018-PatModImgTest/results/3.CMJ.stderr [2025-07-31T06:50:28.210Z] STF 06:50:27.871 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17539430845744/PatModImg_PlatMod_0/20250731-065018-PatModImgTest/results/3.CMJ.stdout [2025-07-31T06:50:28.210Z] STF 06:50:27.878 - Monitoring processes: CMJ [2025-07-31T06:50:28.210Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-07-31T06:50:29.361Z] STF 06:50:29.186 - Monitoring Report Summary: [2025-07-31T06:50:29.361Z] STF 06:50:29.186 - o Process CMJ ended with the expected exit code (0) [2025-07-31T06:50:29.361Z] STF 06:50:29.189 - Created modular jar: 3.com.helper.jar [2025-07-31T06:50:29.361Z] STF 06:50:29.189 - [2025-07-31T06:50:29.361Z] STF 06:50:29.189 - +------ Step 4 - Create com.discreet jar [2025-07-31T06:50:29.361Z] STF 06:50:29.189 - | Create modular jar [2025-07-31T06:50:29.361Z] STF 06:50:29.189 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2025-07-31T06:50:29.361Z] STF 06:50:29.189 - | ModuleVersion: null [2025-07-31T06:50:29.361Z] STF 06:50:29.190 - | MainClass: null [2025-07-31T06:50:29.361Z] STF 06:50:29.190 - | HashModules: null [2025-07-31T06:50:29.361Z] STF 06:50:29.190 - | [2025-07-31T06:50:29.362Z] STF 06:50:29.193 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17539430845744/PatModImg_PlatMod_0/20250731-065018-PatModImgTest/modules/4.com.discreet.jar -C /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet . [2025-07-31T06:50:29.362Z] STF 06:50:29.193 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17539430845744/PatModImg_PlatMod_0/20250731-065018-PatModImgTest/results/4.CMJ.stderr [2025-07-31T06:50:29.362Z] STF 06:50:29.193 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17539430845744/PatModImg_PlatMod_0/20250731-065018-PatModImgTest/results/4.CMJ.stdout [2025-07-31T06:50:29.362Z] STF 06:50:29.200 - Monitoring processes: CMJ [2025-07-31T06:50:29.362Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-07-31T06:50:31.022Z] STF 06:50:30.549 - Monitoring Report Summary: [2025-07-31T06:50:31.022Z] STF 06:50:30.549 - o Process CMJ ended with the expected exit code (0) [2025-07-31T06:50:31.022Z] STF 06:50:30.550 - Created modular jar: 4.com.discreet.jar [2025-07-31T06:50:31.022Z] STF 06:50:30.550 - [2025-07-31T06:50:31.022Z] STF 06:50:30.550 - +------ Step 5 - Create tests jar [2025-07-31T06:50:31.022Z] STF 06:50:30.550 - | Create modular jar [2025-07-31T06:50:31.022Z] STF 06:50:30.550 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2025-07-31T06:50:31.022Z] STF 06:50:30.550 - | ModuleVersion: null [2025-07-31T06:50:31.022Z] STF 06:50:30.550 - | MainClass: null [2025-07-31T06:50:31.022Z] STF 06:50:30.550 - | HashModules: null [2025-07-31T06:50:31.022Z] STF 06:50:30.550 - | [2025-07-31T06:50:31.022Z] STF 06:50:30.551 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17539430845744/PatModImg_PlatMod_0/20250731-065018-PatModImgTest/modules/5.com.test.jar -C /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test . [2025-07-31T06:50:31.022Z] STF 06:50:30.551 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17539430845744/PatModImg_PlatMod_0/20250731-065018-PatModImgTest/results/5.CMJ.stderr [2025-07-31T06:50:31.022Z] STF 06:50:30.551 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17539430845744/PatModImg_PlatMod_0/20250731-065018-PatModImgTest/results/5.CMJ.stdout [2025-07-31T06:50:31.022Z] STF 06:50:30.556 - Monitoring processes: CMJ [2025-07-31T06:50:31.022Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-07-31T06:50:32.174Z] STF 06:50:31.918 - Monitoring Report Summary: [2025-07-31T06:50:32.175Z] STF 06:50:31.919 - o Process CMJ ended with the expected exit code (0) [2025-07-31T06:50:32.175Z] STF 06:50:31.919 - Created modular jar: 5.com.test.jar [2025-07-31T06:50:32.175Z] STF 06:50:31.919 - [2025-07-31T06:50:32.175Z] STF 06:50:31.920 - +------ Step 6 - Create runtime image for PatchModule test [2025-07-31T06:50:32.175Z] STF 06:50:31.920 - | Run jlink to create runtime image [2025-07-31T06:50:32.175Z] STF 06:50:31.920 - | ImageName: XpJVM [2025-07-31T06:50:32.175Z] STF 06:50:31.920 - | [2025-07-31T06:50:32.175Z] STF 06:50:31.921 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/bin/jlink --module-path /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/jmods:/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17539430845744/PatModImg_PlatMod_0/20250731-065018-PatModImgTest/modules --add-modules com.hello,com.hola,com.test,com.helper,com.discreet --output /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17539430845744/PatModImg_PlatMod_0/20250731-065018-PatModImgTest/tmp/6.XpJVM [2025-07-31T06:50:32.175Z] STF 06:50:31.921 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17539430845744/PatModImg_PlatMod_0/20250731-065018-PatModImgTest/results/6.JLNK.stderr [2025-07-31T06:50:32.175Z] STF 06:50:31.921 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17539430845744/PatModImg_PlatMod_0/20250731-065018-PatModImgTest/results/6.JLNK.stdout [2025-07-31T06:50:32.175Z] STF 06:50:31.928 - Monitoring processes: JLNK [2025-07-31T06:50:32.175Z] JLNK stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-07-31T06:50:42.985Z] STF 06:50:42.721 - Monitoring Report Summary: [2025-07-31T06:50:42.985Z] STF 06:50:42.721 - o Process JLNK ended with the expected exit code (0) [2025-07-31T06:50:42.985Z] STF 06:50:42.722 - [2025-07-31T06:50:42.985Z] STF 06:50:42.722 - +------ Step 7 - Create com.hello jar [2025-07-31T06:50:42.985Z] STF 06:50:42.722 - | Create modular jar [2025-07-31T06:50:42.985Z] STF 06:50:42.723 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2025-07-31T06:50:42.985Z] STF 06:50:42.723 - | ModuleVersion: null [2025-07-31T06:50:42.985Z] STF 06:50:42.723 - | MainClass: null [2025-07-31T06:50:42.985Z] STF 06:50:42.723 - | HashModules: null [2025-07-31T06:50:42.985Z] STF 06:50:42.723 - | [2025-07-31T06:50:42.985Z] STF 06:50:42.726 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17539430845744/PatModImg_PlatMod_0/20250731-065018-PatModImgTest/modules/7.com.hello.jar -C /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello . [2025-07-31T06:50:42.985Z] STF 06:50:42.726 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17539430845744/PatModImg_PlatMod_0/20250731-065018-PatModImgTest/results/7.CMJ.stderr [2025-07-31T06:50:42.985Z] STF 06:50:42.726 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17539430845744/PatModImg_PlatMod_0/20250731-065018-PatModImgTest/results/7.CMJ.stdout [2025-07-31T06:50:42.985Z] STF 06:50:42.742 - Monitoring processes: CMJ [2025-07-31T06:50:42.985Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-07-31T06:50:44.677Z] STF 06:50:44.163 - Monitoring Report Summary: [2025-07-31T06:50:44.677Z] STF 06:50:44.163 - o Process CMJ ended with the expected exit code (0) [2025-07-31T06:50:44.677Z] STF 06:50:44.164 - Created modular jar: 7.com.hello.jar [2025-07-31T06:50:44.677Z] STF 06:50:44.164 - [2025-07-31T06:50:44.677Z] STF 06:50:44.164 - +------ Step 8 - create java.xml.jar [2025-07-31T06:50:44.677Z] STF 06:50:44.164 - | Create modular jar [2025-07-31T06:50:44.677Z] STF 06:50:44.164 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml [2025-07-31T06:50:44.677Z] STF 06:50:44.165 - | ModuleVersion: null [2025-07-31T06:50:44.677Z] STF 06:50:44.165 - | MainClass: null [2025-07-31T06:50:44.677Z] STF 06:50:44.165 - | HashModules: null [2025-07-31T06:50:44.677Z] STF 06:50:44.165 - | [2025-07-31T06:50:44.677Z] STF 06:50:44.165 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17539430845744/PatModImg_PlatMod_0/20250731-065018-PatModImgTest/modules/8.java.xml.jar -C /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/java.xml . [2025-07-31T06:50:44.677Z] STF 06:50:44.166 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17539430845744/PatModImg_PlatMod_0/20250731-065018-PatModImgTest/results/8.CMJ.stderr [2025-07-31T06:50:44.677Z] STF 06:50:44.166 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17539430845744/PatModImg_PlatMod_0/20250731-065018-PatModImgTest/results/8.CMJ.stdout [2025-07-31T06:50:44.677Z] STF 06:50:44.171 - Monitoring processes: CMJ [2025-07-31T06:50:44.677Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-07-31T06:50:45.818Z] STF 06:50:45.468 - Monitoring Report Summary: [2025-07-31T06:50:45.818Z] STF 06:50:45.469 - o Process CMJ ended with the expected exit code (0) [2025-07-31T06:50:45.818Z] STF 06:50:45.469 - Created modular jar: 8.java.xml.jar [2025-07-31T06:50:45.818Z] STF 06:50:45.469 - [2025-07-31T06:50:45.818Z] STF 06:50:45.469 - +------ Step 9 - Verify if we can patch an upgradable platform module using exploded directory [2025-07-31T06:50:45.818Z] STF 06:50:45.469 - | Run foreground process [2025-07-31T06:50:45.818Z] STF 06:50:45.470 - | Program: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17539430845744/PatModImg_PlatMod_0/20250731-065018-PatModImgTest/tmp/6.XpJVM/bin/java [2025-07-31T06:50:45.818Z] STF 06:50:45.470 - | Mnemonic: OT11 [2025-07-31T06:50:45.818Z] STF 06:50:45.470 - | Echo: ECHO_ON [2025-07-31T06:50:45.818Z] STF 06:50:45.470 - | Expectation: CLEAN_RUN within 5m [2025-07-31T06:50:45.818Z] STF 06:50:45.470 - | [2025-07-31T06:50:45.818Z] STF 06:50:45.471 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17539430845744/PatModImg_PlatMod_0/20250731-065018-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module java.xml=/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/java.xml -XX:+UseCompressedOops -classpath /home/jenkins/testDependency/system_lib/junit/junit.jar:/home/jenkins/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingUpgradablePlatformModule [2025-07-31T06:50:45.818Z] STF 06:50:45.471 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17539430845744/PatModImg_PlatMod_0/20250731-065018-PatModImgTest/results/9.OT11.stderr [2025-07-31T06:50:45.818Z] STF 06:50:45.471 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17539430845744/PatModImg_PlatMod_0/20250731-065018-PatModImgTest/results/9.OT11.stdout [2025-07-31T06:50:45.818Z] STF 06:50:45.478 - Monitoring processes: OT11 [2025-07-31T06:50:45.818Z] OT11 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-07-31T06:50:46.523Z] OT11 stderr WARNING: module-info.class ignored in patch: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/java.xml [2025-07-31T06:50:46.850Z] OT11 JUnit version 4.12 [2025-07-31T06:50:47.176Z] OT11 . [2025-07-31T06:50:47.502Z] OT11 Time: 0.031 [2025-07-31T06:50:47.502Z] OT11 [2025-07-31T06:50:47.502Z] OT11 OK (1 test) [2025-07-31T06:50:47.502Z] OT11 [2025-07-31T06:50:47.502Z] STF 06:50:47.062 - Monitoring Report Summary: [2025-07-31T06:50:47.502Z] STF 06:50:47.062 - o Process OT11 ended with the expected exit code (0) [2025-07-31T06:50:47.502Z] STF 06:50:47.064 - [2025-07-31T06:50:47.502Z] STF 06:50:47.065 - +------ Step 10 - Verify if we can patch an upgradable platform module using modular jar [2025-07-31T06:50:47.502Z] STF 06:50:47.065 - | Run foreground process [2025-07-31T06:50:47.502Z] STF 06:50:47.065 - | Program: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17539430845744/PatModImg_PlatMod_0/20250731-065018-PatModImgTest/tmp/6.XpJVM/bin/java [2025-07-31T06:50:47.502Z] STF 06:50:47.065 - | Mnemonic: OT12 [2025-07-31T06:50:47.502Z] STF 06:50:47.065 - | Echo: ECHO_ON [2025-07-31T06:50:47.502Z] STF 06:50:47.065 - | Expectation: CLEAN_RUN within 5m [2025-07-31T06:50:47.502Z] STF 06:50:47.066 - | [2025-07-31T06:50:47.502Z] STF 06:50:47.068 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17539430845744/PatModImg_PlatMod_0/20250731-065018-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module java.xml=/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17539430845744/PatModImg_PlatMod_0/20250731-065018-PatModImgTest/modules/8.java.xml.jar -XX:+UseCompressedOops -classpath /home/jenkins/testDependency/system_lib/junit/junit.jar:/home/jenkins/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingUpgradablePlatformModule [2025-07-31T06:50:47.502Z] STF 06:50:47.068 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17539430845744/PatModImg_PlatMod_0/20250731-065018-PatModImgTest/results/10.OT12.stderr [2025-07-31T06:50:47.502Z] STF 06:50:47.069 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17539430845744/PatModImg_PlatMod_0/20250731-065018-PatModImgTest/results/10.OT12.stdout [2025-07-31T06:50:47.502Z] STF 06:50:47.081 - Monitoring processes: OT12 [2025-07-31T06:50:47.502Z] OT12 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-07-31T06:50:47.831Z] OT12 stderr WARNING: module-info.class ignored in patch: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17539430845744/PatModImg_PlatMod_0/20250731-065018-PatModImgTest/modules/8.java.xml.jar [2025-07-31T06:50:48.165Z] OT12 JUnit version 4.12 [2025-07-31T06:50:48.490Z] OT12 . [2025-07-31T06:50:48.815Z] OT12 Time: 0.032 [2025-07-31T06:50:48.815Z] OT12 [2025-07-31T06:50:48.815Z] OT12 OK (1 test) [2025-07-31T06:50:48.815Z] OT12 [2025-07-31T06:50:48.815Z] STF 06:50:48.529 - Monitoring Report Summary: [2025-07-31T06:50:48.815Z] STF 06:50:48.530 - o Process OT12 ended with the expected exit code (0) [2025-07-31T06:50:48.815Z] STF 06:50:48.531 - EXECUTE stage completed [2025-07-31T06:50:48.815Z] STF 06:50:48.622 - [2025-07-31T06:50:48.815Z] STF 06:50:48.623 - ==================== T E A R D O W N ==================== [2025-07-31T06:50:48.815Z] STF 06:50:48.623 - Running teardown: perl /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17539430845744/PatModImg_PlatMod_0/20250731-065018-PatModImgTest/tearDown.pl [2025-07-31T06:50:49.140Z] STF 06:50:48.857 - TEARDOWN stage completed [2025-07-31T06:50:49.140Z] STF 06:50:48.867 - [2025-07-31T06:50:49.140Z] STF 06:50:48.868 - ===================== R E S U L T S ===================== [2025-07-31T06:50:49.140Z] STF 06:50:48.868 - Stage results: [2025-07-31T06:50:49.140Z] STF 06:50:48.868 - setUp: pass [2025-07-31T06:50:49.140Z] STF 06:50:48.868 - execute: pass [2025-07-31T06:50:49.140Z] STF 06:50:48.868 - teardown: pass [2025-07-31T06:50:49.140Z] STF 06:50:48.868 - [2025-07-31T06:50:49.140Z] STF 06:50:48.868 - Overall result: PASSED [2025-07-31T06:50:49.140Z] ----------------------------------- [2025-07-31T06:50:49.140Z] PatModImg_PlatMod_0_PASSED [2025-07-31T06:50:49.140Z] ----------------------------------- [2025-07-31T06:50:49.140Z] [2025-07-31T06:50:49.140Z] TEST TEARDOWN: [2025-07-31T06:50:49.140Z] Nothing to be done for teardown. [2025-07-31T06:50:49.140Z] PatModImg_PlatMod_0 Finish Time: Thu Jul 31 06:50:49 2025 Epoch Time (ms): 1753944649043