PatModImg_PlatMod_1

[2025-06-12T06:08:52.857Z] Running test PatModImg_PlatMod_1 ... [2025-06-12T06:08:52.857Z] =============================================== [2025-06-12T06:08:52.857Z] PatModImg_PlatMod_1 Start Time: Thu Jun 12 06:08:52 2025 Epoch Time (ms): 1749708532586 [2025-06-12T06:08:52.857Z] variation: Mode650 [2025-06-12T06:08:52.857Z] JVM_OPTIONS: -XX:-UseCompressedOops [2025-06-12T06:08:52.857Z] { \ [2025-06-12T06:08:52.857Z] echo ""; echo "TEST SETUP:"; \ [2025-06-12T06:08:52.857Z] echo "Nothing to be done for setup."; \ [2025-06-12T06:08:52.857Z] mkdir -p "/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17497064482167/PatModImg_PlatMod_1"; \ [2025-06-12T06:08:52.857Z] cd "/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17497064482167/PatModImg_PlatMod_1"; \ [2025-06-12T06:08:52.857Z] echo ""; echo "TESTING:"; \ [2025-06-12T06:08:52.857Z] 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_17497064482167/PatModImg_PlatMod_1" -test=PatModImgTest -test-args="variant=PlatMod"; \ [2025-06-12T06:08:52.857Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatModImg_PlatMod_1""_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_17497064482167/PatModImg_PlatMod_1"; else echo "-----------------------------------"; echo "PatModImg_PlatMod_1""_FAILED"; echo "-----------------------------------"; fi; \ [2025-06-12T06:08:52.857Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-06-12T06:08:52.857Z] echo "Nothing to be done for teardown."; \ [2025-06-12T06:08:52.857Z] } 2>&1 | tee -a "/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17497064482167/TestTargetResult"; [2025-06-12T06:08:52.857Z] [2025-06-12T06:08:52.857Z] TEST SETUP: [2025-06-12T06:08:52.857Z] Nothing to be done for setup. [2025-06-12T06:08:52.857Z] [2025-06-12T06:08:52.857Z] TESTING: [2025-06-12T06:08:53.184Z] STF 06:08:52.861 - ========================= S T F ========================= [2025-06-12T06:08:53.184Z] 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_17497064482167/PatModImg_PlatMod_1 [2025-06-12T06:08:53.184Z] There is 39785 Mb free [2025-06-12T06:08:53.184Z] STF 06:08:52.886 - ================== G E N E R A T I O N ================== [2025-06-12T06:08:53.184Z] STF 06:08:52.889 - Checking JVM: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image [2025-06-12T06:08:53.184Z] STF 06:08:52.889 - 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_17497064482167/PatModImg_PlatMod_1/20250612-060852-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_17497064482167/PatModImg_PlatMod_1/20250612-060852-PatModImgTest" [2025-06-12T06:08:53.184Z] GEN stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-06-12T06:08:53.184Z] GEN [0.017s][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-06-12T06:08:57.922Z] GEN 06:08:57.582 - 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-06-12T06:08:57.922Z] GEN 06:08:57.634 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModImgTest' [2025-06-12T06:08:58.263Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2025-06-12T06:08:58.263Z] 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-06-12T06:08:58.263Z] 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-06-12T06:08:58.263Z] 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-06-12T06:08:58.263Z] 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-06-12T06:08:58.263Z] 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-06-12T06:08:58.263Z] 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-06-12T06:08:58.263Z] 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-06-12T06:08:58.263Z] 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-06-12T06:08:58.263Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override [2025-06-12T06:08:58.263Z] 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-06-12T06:08:58.263Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl3 [2025-06-12T06:08:58.263Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl4 [2025-06-12T06:08:58.263Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common [2025-06-12T06:08:58.263Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests [2025-06-12T06:08:58.263Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin [2025-06-12T06:08:58.263Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/STF/stf.core/bin [2025-06-12T06:08:58.263Z] GEN /home/jenkins/testDependency/system_lib/log4j/log4j-api.jar [2025-06-12T06:08:58.263Z] GEN /home/jenkins/testDependency/system_lib/log4j/log4j-core.jar [2025-06-12T06:08:58.263Z] GEN /home/jenkins/testDependency/system_lib/junit/junit.jar [2025-06-12T06:08:58.592Z] GEN 06:08:58.359 - Using Mode NoOptions. Values = '' [2025-06-12T06:08:58.919Z] GEN 06:08:58.739 - [2025-06-12T06:08:58.919Z] GEN 06:08:58.740 - Test command summary: [2025-06-12T06:08:58.919Z] GEN 06:08:58.741 - Step Stage Command Description [2025-06-12T06:08:58.919Z] GEN 06:08:58.743 - -----+--------+-----------------+------------ [2025-06-12T06:08:58.919Z] GEN 06:08:58.744 - 1 execute jar Create com.hello jar [2025-06-12T06:08:58.919Z] GEN 06:08:58.744 - 2 execute jar Create com.hola jar [2025-06-12T06:08:58.919Z] GEN 06:08:58.745 - 3 execute jar Create com.helper jar [2025-06-12T06:08:58.919Z] GEN 06:08:58.746 - 4 execute jar Create com.discreet jar [2025-06-12T06:08:58.919Z] GEN 06:08:58.747 - 5 execute jar Create tests jar [2025-06-12T06:08:58.919Z] GEN 06:08:58.747 - 6 execute jlink Create runtime image for PatchModule test [2025-06-12T06:08:58.919Z] GEN 06:08:58.748 - 7 execute jar Create com.hello jar [2025-06-12T06:08:58.919Z] GEN 06:08:58.749 - 8 execute jar create java.xml.jar [2025-06-12T06:08:58.919Z] GEN 06:08:58.750 - 9 execute Run java Verify if we can patch an upgradable platform module using exploded directory [2025-06-12T06:08:58.919Z] GEN 06:08:58.750 - 10 execute Run java Verify if we can patch an upgradable platform module using modular jar [2025-06-12T06:08:58.919Z] STF 06:08:58.875 - [2025-06-12T06:08:58.919Z] STF 06:08:58.875 - Script generation completed [2025-06-12T06:08:58.919Z] STF 06:08:58.876 - [2025-06-12T06:08:58.919Z] STF 06:08:58.880 - [2025-06-12T06:08:58.920Z] STF 06:08:58.880 - ======================= S E T U P ======================= [2025-06-12T06:08:58.920Z] STF 06:08:58.880 - Running setup: perl /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17497064482167/PatModImg_PlatMod_1/20250612-060852-PatModImgTest/setUp.pl [2025-06-12T06:08:59.252Z] STF 06:08:59.125 - SETUP stage completed [2025-06-12T06:08:59.252Z] STF 06:08:59.137 - [2025-06-12T06:08:59.252Z] STF 06:08:59.138 - ==================== E X E C U T E - ==================== [2025-06-12T06:08:59.252Z] STF 06:08:59.138 - Running execute: perl /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17497064482167/PatModImg_PlatMod_1/20250612-060852-PatModImgTest/execute.pl [2025-06-12T06:08:59.576Z] STF 06:08:59.369 - [2025-06-12T06:08:59.576Z] STF 06:08:59.369 - Java version [2025-06-12T06:08:59.576Z] STF 06:08:59.369 - Running: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/bin/java -version [2025-06-12T06:08:59.576Z] Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-06-12T06:08:59.912Z] openjdk version "21.0.8-beta" 2025-07-15 [2025-06-12T06:08:59.912Z] OpenJDK Runtime Environment Temurin-21.0.8+6-202506111902 (build 21.0.8-beta+6-ea) [2025-06-12T06:08:59.912Z] OpenJDK 64-Bit Server VM Temurin-21.0.8+6-202506111902 (build 21.0.8-beta+6-ea, mixed mode, sharing) [2025-06-12T06:08:59.912Z] STF 06:08:59.613 - [2025-06-12T06:08:59.912Z] STF 06:08:59.613 - +------ Step 1 - Create com.hello jar [2025-06-12T06:08:59.912Z] STF 06:08:59.613 - | Create modular jar [2025-06-12T06:08:59.912Z] STF 06:08:59.613 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2025-06-12T06:08:59.912Z] STF 06:08:59.613 - | ModuleVersion: null [2025-06-12T06:08:59.912Z] STF 06:08:59.614 - | MainClass: null [2025-06-12T06:08:59.912Z] STF 06:08:59.614 - | HashModules: null [2025-06-12T06:08:59.912Z] STF 06:08:59.614 - | [2025-06-12T06:08:59.912Z] STF 06:08:59.615 - 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_17497064482167/PatModImg_PlatMod_1/20250612-060852-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-06-12T06:08:59.912Z] STF 06:08:59.615 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17497064482167/PatModImg_PlatMod_1/20250612-060852-PatModImgTest/results/1.CMJ.stderr [2025-06-12T06:08:59.912Z] STF 06:08:59.615 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17497064482167/PatModImg_PlatMod_1/20250612-060852-PatModImgTest/results/1.CMJ.stdout [2025-06-12T06:08:59.912Z] STF 06:08:59.653 - Monitoring processes: CMJ [2025-06-12T06:08:59.912Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-06-12T06:09:01.556Z] STF 06:09:01.037 - Monitoring Report Summary: [2025-06-12T06:09:01.556Z] STF 06:09:01.038 - o Process CMJ ended with the expected exit code (0) [2025-06-12T06:09:01.556Z] STF 06:09:01.039 - Created modular jar: 1.com.hello.jar [2025-06-12T06:09:01.556Z] STF 06:09:01.039 - [2025-06-12T06:09:01.556Z] STF 06:09:01.040 - +------ Step 2 - Create com.hola jar [2025-06-12T06:09:01.556Z] STF 06:09:01.040 - | Create modular jar [2025-06-12T06:09:01.556Z] STF 06:09:01.040 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2025-06-12T06:09:01.556Z] STF 06:09:01.040 - | ModuleVersion: null [2025-06-12T06:09:01.556Z] STF 06:09:01.040 - | MainClass: null [2025-06-12T06:09:01.556Z] STF 06:09:01.040 - | HashModules: null [2025-06-12T06:09:01.556Z] STF 06:09:01.041 - | [2025-06-12T06:09:01.556Z] STF 06:09:01.042 - 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_17497064482167/PatModImg_PlatMod_1/20250612-060852-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-06-12T06:09:01.556Z] STF 06:09:01.043 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17497064482167/PatModImg_PlatMod_1/20250612-060852-PatModImgTest/results/2.CMJ.stderr [2025-06-12T06:09:01.556Z] STF 06:09:01.043 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17497064482167/PatModImg_PlatMod_1/20250612-060852-PatModImgTest/results/2.CMJ.stdout [2025-06-12T06:09:01.556Z] STF 06:09:01.051 - Monitoring processes: CMJ [2025-06-12T06:09:01.556Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-06-12T06:09:02.695Z] STF 06:09:02.365 - Monitoring Report Summary: [2025-06-12T06:09:02.695Z] STF 06:09:02.365 - o Process CMJ ended with the expected exit code (0) [2025-06-12T06:09:02.695Z] STF 06:09:02.366 - Created modular jar: 2.com.hola.jar [2025-06-12T06:09:02.695Z] STF 06:09:02.366 - [2025-06-12T06:09:02.695Z] STF 06:09:02.366 - +------ Step 3 - Create com.helper jar [2025-06-12T06:09:02.695Z] STF 06:09:02.366 - | Create modular jar [2025-06-12T06:09:02.695Z] STF 06:09:02.366 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2025-06-12T06:09:02.695Z] STF 06:09:02.366 - | ModuleVersion: null [2025-06-12T06:09:02.695Z] STF 06:09:02.366 - | MainClass: null [2025-06-12T06:09:02.695Z] STF 06:09:02.366 - | HashModules: null [2025-06-12T06:09:02.695Z] STF 06:09:02.366 - | [2025-06-12T06:09:02.695Z] STF 06:09:02.367 - 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_17497064482167/PatModImg_PlatMod_1/20250612-060852-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-06-12T06:09:02.695Z] STF 06:09:02.367 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17497064482167/PatModImg_PlatMod_1/20250612-060852-PatModImgTest/results/3.CMJ.stderr [2025-06-12T06:09:02.695Z] STF 06:09:02.368 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17497064482167/PatModImg_PlatMod_1/20250612-060852-PatModImgTest/results/3.CMJ.stdout [2025-06-12T06:09:02.695Z] STF 06:09:02.372 - Monitoring processes: CMJ [2025-06-12T06:09:02.695Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-06-12T06:09:03.832Z] STF 06:09:03.691 - Monitoring Report Summary: [2025-06-12T06:09:03.832Z] STF 06:09:03.691 - o Process CMJ ended with the expected exit code (0) [2025-06-12T06:09:03.832Z] STF 06:09:03.691 - Created modular jar: 3.com.helper.jar [2025-06-12T06:09:03.832Z] STF 06:09:03.691 - [2025-06-12T06:09:03.832Z] STF 06:09:03.692 - +------ Step 4 - Create com.discreet jar [2025-06-12T06:09:03.832Z] STF 06:09:03.692 - | Create modular jar [2025-06-12T06:09:03.832Z] STF 06:09:03.692 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2025-06-12T06:09:03.832Z] STF 06:09:03.692 - | ModuleVersion: null [2025-06-12T06:09:03.832Z] STF 06:09:03.692 - | MainClass: null [2025-06-12T06:09:03.832Z] STF 06:09:03.692 - | HashModules: null [2025-06-12T06:09:03.832Z] STF 06:09:03.692 - | [2025-06-12T06:09:03.832Z] STF 06:09:03.693 - 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_17497064482167/PatModImg_PlatMod_1/20250612-060852-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-06-12T06:09:03.832Z] STF 06:09:03.693 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17497064482167/PatModImg_PlatMod_1/20250612-060852-PatModImgTest/results/4.CMJ.stderr [2025-06-12T06:09:03.832Z] STF 06:09:03.693 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17497064482167/PatModImg_PlatMod_1/20250612-060852-PatModImgTest/results/4.CMJ.stdout [2025-06-12T06:09:03.832Z] STF 06:09:03.697 - Monitoring processes: CMJ [2025-06-12T06:09:03.832Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-06-12T06:09:05.484Z] STF 06:09:05.042 - Monitoring Report Summary: [2025-06-12T06:09:05.484Z] STF 06:09:05.043 - o Process CMJ ended with the expected exit code (0) [2025-06-12T06:09:05.484Z] STF 06:09:05.048 - Created modular jar: 4.com.discreet.jar [2025-06-12T06:09:05.484Z] STF 06:09:05.049 - [2025-06-12T06:09:05.484Z] STF 06:09:05.049 - +------ Step 5 - Create tests jar [2025-06-12T06:09:05.484Z] STF 06:09:05.050 - | Create modular jar [2025-06-12T06:09:05.484Z] STF 06:09:05.050 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2025-06-12T06:09:05.484Z] STF 06:09:05.050 - | ModuleVersion: null [2025-06-12T06:09:05.484Z] STF 06:09:05.051 - | MainClass: null [2025-06-12T06:09:05.484Z] STF 06:09:05.051 - | HashModules: null [2025-06-12T06:09:05.484Z] STF 06:09:05.051 - | [2025-06-12T06:09:05.484Z] STF 06:09:05.058 - 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_17497064482167/PatModImg_PlatMod_1/20250612-060852-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-06-12T06:09:05.484Z] STF 06:09:05.058 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17497064482167/PatModImg_PlatMod_1/20250612-060852-PatModImgTest/results/5.CMJ.stderr [2025-06-12T06:09:05.484Z] STF 06:09:05.058 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17497064482167/PatModImg_PlatMod_1/20250612-060852-PatModImgTest/results/5.CMJ.stdout [2025-06-12T06:09:05.484Z] STF 06:09:05.063 - Monitoring processes: CMJ [2025-06-12T06:09:05.484Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-06-12T06:09:06.678Z] STF 06:09:06.386 - Monitoring Report Summary: [2025-06-12T06:09:06.678Z] STF 06:09:06.386 - o Process CMJ ended with the expected exit code (0) [2025-06-12T06:09:06.678Z] STF 06:09:06.387 - Created modular jar: 5.com.test.jar [2025-06-12T06:09:06.678Z] STF 06:09:06.387 - [2025-06-12T06:09:06.678Z] STF 06:09:06.387 - +------ Step 6 - Create runtime image for PatchModule test [2025-06-12T06:09:06.678Z] STF 06:09:06.387 - | Run jlink to create runtime image [2025-06-12T06:09:06.678Z] STF 06:09:06.387 - | ImageName: XpJVM [2025-06-12T06:09:06.678Z] STF 06:09:06.387 - | [2025-06-12T06:09:06.678Z] STF 06:09:06.389 - 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_17497064482167/PatModImg_PlatMod_1/20250612-060852-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_17497064482167/PatModImg_PlatMod_1/20250612-060852-PatModImgTest/tmp/6.XpJVM [2025-06-12T06:09:06.678Z] STF 06:09:06.389 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17497064482167/PatModImg_PlatMod_1/20250612-060852-PatModImgTest/results/6.JLNK.stderr [2025-06-12T06:09:06.678Z] STF 06:09:06.389 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17497064482167/PatModImg_PlatMod_1/20250612-060852-PatModImgTest/results/6.JLNK.stdout [2025-06-12T06:09:06.678Z] STF 06:09:06.396 - Monitoring processes: JLNK [2025-06-12T06:09:06.678Z] JLNK stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-06-12T06:09:17.536Z] STF 06:09:17.347 - Monitoring Report Summary: [2025-06-12T06:09:17.536Z] STF 06:09:17.347 - o Process JLNK ended with the expected exit code (0) [2025-06-12T06:09:17.536Z] STF 06:09:17.350 - [2025-06-12T06:09:17.536Z] STF 06:09:17.350 - +------ Step 7 - Create com.hello jar [2025-06-12T06:09:17.536Z] STF 06:09:17.350 - | Create modular jar [2025-06-12T06:09:17.536Z] STF 06:09:17.350 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2025-06-12T06:09:17.536Z] STF 06:09:17.351 - | ModuleVersion: null [2025-06-12T06:09:17.536Z] STF 06:09:17.351 - | MainClass: null [2025-06-12T06:09:17.536Z] STF 06:09:17.351 - | HashModules: null [2025-06-12T06:09:17.536Z] STF 06:09:17.351 - | [2025-06-12T06:09:17.536Z] STF 06:09:17.355 - 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_17497064482167/PatModImg_PlatMod_1/20250612-060852-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-06-12T06:09:17.536Z] STF 06:09:17.355 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17497064482167/PatModImg_PlatMod_1/20250612-060852-PatModImgTest/results/7.CMJ.stderr [2025-06-12T06:09:17.536Z] STF 06:09:17.355 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17497064482167/PatModImg_PlatMod_1/20250612-060852-PatModImgTest/results/7.CMJ.stdout [2025-06-12T06:09:17.536Z] STF 06:09:17.366 - Monitoring processes: CMJ [2025-06-12T06:09:17.536Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-06-12T06:09:18.725Z] STF 06:09:18.658 - Monitoring Report Summary: [2025-06-12T06:09:18.725Z] STF 06:09:18.658 - o Process CMJ ended with the expected exit code (0) [2025-06-12T06:09:18.725Z] STF 06:09:18.659 - Created modular jar: 7.com.hello.jar [2025-06-12T06:09:18.725Z] STF 06:09:18.659 - [2025-06-12T06:09:18.725Z] STF 06:09:18.659 - +------ Step 8 - create java.xml.jar [2025-06-12T06:09:18.725Z] STF 06:09:18.659 - | Create modular jar [2025-06-12T06:09:18.725Z] STF 06:09:18.659 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml [2025-06-12T06:09:18.725Z] STF 06:09:18.659 - | ModuleVersion: null [2025-06-12T06:09:18.725Z] STF 06:09:18.659 - | MainClass: null [2025-06-12T06:09:18.725Z] STF 06:09:18.659 - | HashModules: null [2025-06-12T06:09:18.725Z] STF 06:09:18.659 - | [2025-06-12T06:09:18.725Z] STF 06:09:18.660 - 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_17497064482167/PatModImg_PlatMod_1/20250612-060852-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-06-12T06:09:18.725Z] STF 06:09:18.660 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17497064482167/PatModImg_PlatMod_1/20250612-060852-PatModImgTest/results/8.CMJ.stderr [2025-06-12T06:09:18.725Z] STF 06:09:18.660 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17497064482167/PatModImg_PlatMod_1/20250612-060852-PatModImgTest/results/8.CMJ.stdout [2025-06-12T06:09:18.725Z] STF 06:09:18.665 - Monitoring processes: CMJ [2025-06-12T06:09:18.725Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-06-12T06:09:20.384Z] STF 06:09:19.911 - Monitoring Report Summary: [2025-06-12T06:09:20.384Z] STF 06:09:19.912 - o Process CMJ ended with the expected exit code (0) [2025-06-12T06:09:20.384Z] STF 06:09:19.912 - Created modular jar: 8.java.xml.jar [2025-06-12T06:09:20.384Z] STF 06:09:19.913 - [2025-06-12T06:09:20.384Z] STF 06:09:19.913 - +------ Step 9 - Verify if we can patch an upgradable platform module using exploded directory [2025-06-12T06:09:20.384Z] STF 06:09:19.913 - | Run foreground process [2025-06-12T06:09:20.384Z] STF 06:09:19.913 - | Program: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17497064482167/PatModImg_PlatMod_1/20250612-060852-PatModImgTest/tmp/6.XpJVM/bin/java [2025-06-12T06:09:20.384Z] STF 06:09:19.913 - | Mnemonic: OT11 [2025-06-12T06:09:20.384Z] STF 06:09:19.913 - | Echo: ECHO_ON [2025-06-12T06:09:20.384Z] STF 06:09:19.913 - | Expectation: CLEAN_RUN within 5m [2025-06-12T06:09:20.384Z] STF 06:09:19.913 - | [2025-06-12T06:09:20.384Z] STF 06:09:19.914 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17497064482167/PatModImg_PlatMod_1/20250612-060852-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-06-12T06:09:20.384Z] STF 06:09:19.914 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17497064482167/PatModImg_PlatMod_1/20250612-060852-PatModImgTest/results/9.OT11.stderr [2025-06-12T06:09:20.384Z] STF 06:09:19.914 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17497064482167/PatModImg_PlatMod_1/20250612-060852-PatModImgTest/results/9.OT11.stdout [2025-06-12T06:09:20.384Z] STF 06:09:19.919 - Monitoring processes: OT11 [2025-06-12T06:09:20.384Z] OT11 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-06-12T06:09:21.082Z] 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-06-12T06:09:21.082Z] OT11 JUnit version 4.12 [2025-06-12T06:09:21.405Z] OT11 . [2025-06-12T06:09:21.728Z] OT11 Time: 0.029 [2025-06-12T06:09:21.728Z] OT11 [2025-06-12T06:09:21.728Z] OT11 OK (1 test) [2025-06-12T06:09:21.728Z] OT11 [2025-06-12T06:09:21.728Z] STF 06:09:21.491 - Monitoring Report Summary: [2025-06-12T06:09:21.728Z] STF 06:09:21.492 - o Process OT11 ended with the expected exit code (0) [2025-06-12T06:09:21.728Z] STF 06:09:21.495 - [2025-06-12T06:09:21.728Z] STF 06:09:21.495 - +------ Step 10 - Verify if we can patch an upgradable platform module using modular jar [2025-06-12T06:09:21.728Z] STF 06:09:21.496 - | Run foreground process [2025-06-12T06:09:21.728Z] STF 06:09:21.496 - | Program: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17497064482167/PatModImg_PlatMod_1/20250612-060852-PatModImgTest/tmp/6.XpJVM/bin/java [2025-06-12T06:09:21.728Z] STF 06:09:21.496 - | Mnemonic: OT12 [2025-06-12T06:09:21.728Z] STF 06:09:21.497 - | Echo: ECHO_ON [2025-06-12T06:09:21.728Z] STF 06:09:21.497 - | Expectation: CLEAN_RUN within 5m [2025-06-12T06:09:21.728Z] STF 06:09:21.497 - | [2025-06-12T06:09:21.728Z] STF 06:09:21.501 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17497064482167/PatModImg_PlatMod_1/20250612-060852-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_17497064482167/PatModImg_PlatMod_1/20250612-060852-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-06-12T06:09:21.728Z] STF 06:09:21.502 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17497064482167/PatModImg_PlatMod_1/20250612-060852-PatModImgTest/results/10.OT12.stderr [2025-06-12T06:09:21.728Z] STF 06:09:21.502 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17497064482167/PatModImg_PlatMod_1/20250612-060852-PatModImgTest/results/10.OT12.stdout [2025-06-12T06:09:21.728Z] STF 06:09:21.511 - Monitoring processes: OT12 [2025-06-12T06:09:21.728Z] OT12 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-06-12T06:09:22.433Z] 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_17497064482167/PatModImg_PlatMod_1/20250612-060852-PatModImgTest/modules/8.java.xml.jar [2025-06-12T06:09:22.756Z] OT12 JUnit version 4.12 [2025-06-12T06:09:23.141Z] OT12 . [2025-06-12T06:09:23.141Z] OT12 Time: 0.034 [2025-06-12T06:09:23.141Z] OT12 [2025-06-12T06:09:23.141Z] OT12 OK (1 test) [2025-06-12T06:09:23.141Z] OT12 [2025-06-12T06:09:23.473Z] STF 06:09:22.956 - Monitoring Report Summary: [2025-06-12T06:09:23.473Z] STF 06:09:22.956 - o Process OT12 ended with the expected exit code (0) [2025-06-12T06:09:23.473Z] STF 06:09:22.957 - EXECUTE stage completed [2025-06-12T06:09:23.473Z] STF 06:09:23.195 - [2025-06-12T06:09:23.473Z] STF 06:09:23.196 - ==================== T E A R D O W N ==================== [2025-06-12T06:09:23.473Z] STF 06:09:23.196 - Running teardown: perl /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17497064482167/PatModImg_PlatMod_1/20250612-060852-PatModImgTest/tearDown.pl [2025-06-12T06:09:23.473Z] STF 06:09:23.427 - TEARDOWN stage completed [2025-06-12T06:09:23.473Z] STF 06:09:23.442 - [2025-06-12T06:09:23.473Z] STF 06:09:23.442 - ===================== R E S U L T S ===================== [2025-06-12T06:09:23.473Z] STF 06:09:23.442 - Stage results: [2025-06-12T06:09:23.473Z] STF 06:09:23.442 - setUp: pass [2025-06-12T06:09:23.473Z] STF 06:09:23.442 - execute: pass [2025-06-12T06:09:23.473Z] STF 06:09:23.443 - teardown: pass [2025-06-12T06:09:23.473Z] STF 06:09:23.443 - [2025-06-12T06:09:23.473Z] STF 06:09:23.443 - Overall result: PASSED [2025-06-12T06:09:23.473Z] ----------------------------------- [2025-06-12T06:09:23.473Z] PatModImg_PlatMod_1_PASSED [2025-06-12T06:09:23.473Z] ----------------------------------- [2025-06-12T06:09:23.800Z] [2025-06-12T06:09:23.800Z] TEST TEARDOWN: [2025-06-12T06:09:23.800Z] Nothing to be done for teardown. [2025-06-12T06:09:23.800Z] PatModImg_PlatMod_1 Finish Time: Thu Jun 12 06:09:23 2025 Epoch Time (ms): 1749708563616