PatModImg_PlatMod_1

[2025-07-01T03:03:02.128Z] Running test PatModImg_PlatMod_1 ... [2025-07-01T03:03:02.128Z] =============================================== [2025-07-01T03:03:02.128Z] PatModImg_PlatMod_1 Start Time: Tue Jul 1 03:03:01 2025 Epoch Time (ms): 1751338981306 [2025-07-01T03:03:02.128Z] variation: Mode650 [2025-07-01T03:03:02.128Z] JVM_OPTIONS: -XX:-UseCompressedOops [2025-07-01T03:03:02.128Z] { \ [2025-07-01T03:03:02.128Z] echo ""; echo "TEST SETUP:"; \ [2025-07-01T03:03:02.128Z] echo "Nothing to be done for setup."; \ [2025-07-01T03:03:02.128Z] mkdir -p "/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_2/aqa-tests/TKG/../TKG/output_1751337068506/PatModImg_PlatMod_1"; \ [2025-07-01T03:03:02.128Z] cd "/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_2/aqa-tests/TKG/../TKG/output_1751337068506/PatModImg_PlatMod_1"; \ [2025-07-01T03:03:02.128Z] echo ""; echo "TESTING:"; \ [2025-07-01T03:03:02.128Z] perl /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-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_aarch64_alpine-linux_testList_2/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF;/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_2/aqa-tests/TKG/../../jvmtest/system/modularity/..//aqa-systemtest""" -systemtest-prereqs="/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_2/../../testDependency/system_lib/" -java-args=' -XX:-UseCompressedOops ' -results-root="/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_2/aqa-tests/TKG/../TKG/output_1751337068506/PatModImg_PlatMod_1" -test=PatModImgTest -test-args="variant=PlatMod"; \ [2025-07-01T03:03:02.128Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatModImg_PlatMod_1""_PASSED"; echo "-----------------------------------"; cd /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_2/aqa-tests/TKG/..; rm -f -r "/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_2/aqa-tests/TKG/../TKG/output_1751337068506/PatModImg_PlatMod_1"; else echo "-----------------------------------"; echo "PatModImg_PlatMod_1""_FAILED"; echo "-----------------------------------"; fi; \ [2025-07-01T03:03:02.128Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-07-01T03:03:02.128Z] echo "Nothing to be done for teardown."; \ [2025-07-01T03:03:02.128Z] } 2>&1 | tee -a "/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_2/aqa-tests/TKG/../TKG/output_1751337068506/TestTargetResult"; [2025-07-01T03:03:02.128Z] [2025-07-01T03:03:02.128Z] TEST SETUP: [2025-07-01T03:03:02.128Z] Nothing to be done for setup. [2025-07-01T03:03:02.128Z] [2025-07-01T03:03:02.128Z] TESTING: [2025-07-01T03:03:02.128Z] STF 03:03:01.415 - ========================= S T F ========================= [2025-07-01T03:03:02.128Z] 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_aarch64_alpine-linux_testList_2/aqa-tests/TKG/../TKG/output_1751337068506/PatModImg_PlatMod_1 [2025-07-01T03:03:02.128Z] There is 122879 Mb free [2025-07-01T03:03:02.128Z] STF 03:03:01.422 - ================== G E N E R A T I O N ================== [2025-07-01T03:03:02.128Z] STF 03:03:01.424 - Checking JVM: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_2/jdkbinary/j2sdk-image [2025-07-01T03:03:02.128Z] STF 03:03:01.424 - Starting process to generate scripts: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-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_aarch64_alpine-linux_testList_2/jvmtest/system/STF/stf.core/scripts/../../stf.load/bin/stf.load.jar -classpath /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_2/../../testDependency/system_lib//asm/asm.jar:/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_2/../../testDependency/system_lib//asm/asm-commons.jar:/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_2/../../testDependency/system_lib//log4j/log4j-api.jar:/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_2/../../testDependency/system_lib//log4j/log4j-core.jar:/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_2/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_2/aqa-tests/TKG/../TKG/output_1751337068506/PatModImg_PlatMod_1/20250701-030301-PatModImgTest/stf_parameters.properties, , /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_2/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_2/aqa-tests/TKG/../TKG/output_1751337068506/PatModImg_PlatMod_1/20250701-030301-PatModImgTest" [2025-07-01T03:03:02.128Z] GEN stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-07-01T03:03:02.128Z] GEN [0.007s][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-01T03:03:02.988Z] GEN 03:03:02.565 - Found test. Project: 'openjdk.test.modularity' class: 'PatModImgTest.class' Dir: '/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin' [2025-07-01T03:03:02.988Z] GEN 03:03:02.577 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModImgTest' [2025-07-01T03:03:02.988Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2025-07-01T03:03:02.988Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayService [2025-07-01T03:03:02.988Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper [2025-07-01T03:03:02.988Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl1 [2025-07-01T03:03:02.988Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet [2025-07-01T03:03:02.988Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello [2025-07-01T03:03:02.988Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola [2025-07-01T03:03:02.988Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl2 [2025-07-01T03:03:02.988Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hi [2025-07-01T03:03:02.988Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override [2025-07-01T03:03:02.988Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override-new [2025-07-01T03:03:02.988Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl3 [2025-07-01T03:03:02.988Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl4 [2025-07-01T03:03:02.988Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common [2025-07-01T03:03:02.988Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests [2025-07-01T03:03:02.988Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin [2025-07-01T03:03:02.988Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_2/jvmtest/system/STF/stf.core/bin [2025-07-01T03:03:02.988Z] GEN /home/jenkins/testDependency/system_lib/log4j/log4j-api.jar [2025-07-01T03:03:02.988Z] GEN /home/jenkins/testDependency/system_lib/log4j/log4j-core.jar [2025-07-01T03:03:02.988Z] GEN /home/jenkins/testDependency/system_lib/junit/junit.jar [2025-07-01T03:03:02.988Z] GEN 03:03:02.767 - Using Mode NoOptions. Values = '' [2025-07-01T03:03:03.800Z] GEN 03:03:02.983 - [2025-07-01T03:03:03.800Z] GEN 03:03:02.985 - Test command summary: [2025-07-01T03:03:03.800Z] GEN 03:03:02.986 - Step Stage Command Description [2025-07-01T03:03:03.800Z] GEN 03:03:02.987 - -----+--------+-----------------+------------ [2025-07-01T03:03:03.800Z] GEN 03:03:02.987 - 1 execute jar Create com.hello jar [2025-07-01T03:03:03.800Z] GEN 03:03:02.988 - 2 execute jar Create com.hola jar [2025-07-01T03:03:03.800Z] GEN 03:03:02.988 - 3 execute jar Create com.helper jar [2025-07-01T03:03:03.800Z] GEN 03:03:02.988 - 4 execute jar Create com.discreet jar [2025-07-01T03:03:03.800Z] GEN 03:03:02.988 - 5 execute jar Create tests jar [2025-07-01T03:03:03.800Z] GEN 03:03:02.988 - 6 execute jlink Create runtime image for PatchModule test [2025-07-01T03:03:03.800Z] GEN 03:03:02.988 - 7 execute jar Create com.hello jar [2025-07-01T03:03:03.800Z] GEN 03:03:02.988 - 8 execute jar create java.xml.jar [2025-07-01T03:03:03.800Z] GEN 03:03:02.988 - 9 execute Run java Verify if we can patch an upgradable platform module using exploded directory [2025-07-01T03:03:03.800Z] GEN 03:03:02.988 - 10 execute Run java Verify if we can patch an upgradable platform module using modular jar [2025-07-01T03:03:03.800Z] STF 03:03:03.062 - [2025-07-01T03:03:03.800Z] STF 03:03:03.062 - Script generation completed [2025-07-01T03:03:03.800Z] STF 03:03:03.062 - [2025-07-01T03:03:03.800Z] STF 03:03:03.063 - [2025-07-01T03:03:03.800Z] STF 03:03:03.063 - ======================= S E T U P ======================= [2025-07-01T03:03:03.800Z] STF 03:03:03.063 - Running setup: perl /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_2/aqa-tests/TKG/../TKG/output_1751337068506/PatModImg_PlatMod_1/20250701-030301-PatModImgTest/setUp.pl [2025-07-01T03:03:03.800Z] STF 03:03:03.150 - SETUP stage completed [2025-07-01T03:03:03.800Z] STF 03:03:03.154 - [2025-07-01T03:03:03.800Z] STF 03:03:03.154 - ==================== E X E C U T E - ==================== [2025-07-01T03:03:03.800Z] STF 03:03:03.154 - Running execute: perl /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_2/aqa-tests/TKG/../TKG/output_1751337068506/PatModImg_PlatMod_1/20250701-030301-PatModImgTest/execute.pl [2025-07-01T03:03:03.800Z] STF 03:03:03.247 - [2025-07-01T03:03:03.800Z] STF 03:03:03.248 - Java version [2025-07-01T03:03:03.800Z] STF 03:03:03.248 - Running: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_2/jdkbinary/j2sdk-image/bin/java -version [2025-07-01T03:03:03.800Z] Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-07-01T03:03:03.800Z] openjdk version "21.0.8-beta" 2025-07-15 [2025-07-01T03:03:03.800Z] OpenJDK Runtime Environment Temurin-21.0.8+8-202506301839 (build 21.0.8-beta+8-202506301839) [2025-07-01T03:03:03.800Z] OpenJDK 64-Bit Server VM Temurin-21.0.8+8-202506301839 (build 21.0.8-beta+8-202506301839, mixed mode, sharing) [2025-07-01T03:03:03.800Z] STF 03:03:03.339 - [2025-07-01T03:03:03.800Z] STF 03:03:03.339 - +------ Step 1 - Create com.hello jar [2025-07-01T03:03:03.800Z] STF 03:03:03.339 - | Create modular jar [2025-07-01T03:03:03.800Z] STF 03:03:03.339 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2025-07-01T03:03:03.800Z] STF 03:03:03.339 - | ModuleVersion: null [2025-07-01T03:03:03.800Z] STF 03:03:03.339 - | MainClass: null [2025-07-01T03:03:03.800Z] STF 03:03:03.339 - | HashModules: null [2025-07-01T03:03:03.800Z] STF 03:03:03.339 - | [2025-07-01T03:03:03.800Z] STF 03:03:03.340 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_2/aqa-tests/TKG/output_1751337068506/PatModImg_PlatMod_1/20250701-030301-PatModImgTest/modules/1.com.hello.jar -C /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello . [2025-07-01T03:03:03.800Z] STF 03:03:03.340 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_2/aqa-tests/TKG/output_1751337068506/PatModImg_PlatMod_1/20250701-030301-PatModImgTest/results/1.CMJ.stderr [2025-07-01T03:03:03.800Z] STF 03:03:03.340 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_2/aqa-tests/TKG/output_1751337068506/PatModImg_PlatMod_1/20250701-030301-PatModImgTest/results/1.CMJ.stdout [2025-07-01T03:03:03.800Z] STF 03:03:03.359 - Monitoring processes: CMJ [2025-07-01T03:03:03.800Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-07-01T03:03:03.800Z] STF 03:03:03.598 - Monitoring Report Summary: [2025-07-01T03:03:03.800Z] STF 03:03:03.598 - o Process CMJ ended with the expected exit code (0) [2025-07-01T03:03:03.800Z] STF 03:03:03.599 - Created modular jar: 1.com.hello.jar [2025-07-01T03:03:03.800Z] STF 03:03:03.599 - [2025-07-01T03:03:03.800Z] STF 03:03:03.599 - +------ Step 2 - Create com.hola jar [2025-07-01T03:03:03.800Z] STF 03:03:03.599 - | Create modular jar [2025-07-01T03:03:03.800Z] STF 03:03:03.599 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2025-07-01T03:03:03.801Z] STF 03:03:03.599 - | ModuleVersion: null [2025-07-01T03:03:03.801Z] STF 03:03:03.599 - | MainClass: null [2025-07-01T03:03:03.801Z] STF 03:03:03.599 - | HashModules: null [2025-07-01T03:03:03.801Z] STF 03:03:03.599 - | [2025-07-01T03:03:03.801Z] STF 03:03:03.599 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_2/aqa-tests/TKG/output_1751337068506/PatModImg_PlatMod_1/20250701-030301-PatModImgTest/modules/2.com.hola.jar -C /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola . [2025-07-01T03:03:03.801Z] STF 03:03:03.600 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_2/aqa-tests/TKG/output_1751337068506/PatModImg_PlatMod_1/20250701-030301-PatModImgTest/results/2.CMJ.stderr [2025-07-01T03:03:03.801Z] STF 03:03:03.600 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_2/aqa-tests/TKG/output_1751337068506/PatModImg_PlatMod_1/20250701-030301-PatModImgTest/results/2.CMJ.stdout [2025-07-01T03:03:03.801Z] STF 03:03:03.603 - Monitoring processes: CMJ [2025-07-01T03:03:03.801Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-07-01T03:03:04.612Z] STF 03:03:03.893 - Monitoring Report Summary: [2025-07-01T03:03:04.612Z] STF 03:03:03.893 - o Process CMJ ended with the expected exit code (0) [2025-07-01T03:03:04.612Z] STF 03:03:03.894 - Created modular jar: 2.com.hola.jar [2025-07-01T03:03:04.612Z] STF 03:03:03.894 - [2025-07-01T03:03:04.612Z] STF 03:03:03.894 - +------ Step 3 - Create com.helper jar [2025-07-01T03:03:04.612Z] STF 03:03:03.894 - | Create modular jar [2025-07-01T03:03:04.612Z] STF 03:03:03.894 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2025-07-01T03:03:04.612Z] STF 03:03:03.894 - | ModuleVersion: null [2025-07-01T03:03:04.612Z] STF 03:03:03.894 - | MainClass: null [2025-07-01T03:03:04.612Z] STF 03:03:03.894 - | HashModules: null [2025-07-01T03:03:04.612Z] STF 03:03:03.894 - | [2025-07-01T03:03:04.612Z] STF 03:03:03.894 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_2/aqa-tests/TKG/output_1751337068506/PatModImg_PlatMod_1/20250701-030301-PatModImgTest/modules/3.com.helper.jar -C /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper . [2025-07-01T03:03:04.612Z] STF 03:03:03.895 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_2/aqa-tests/TKG/output_1751337068506/PatModImg_PlatMod_1/20250701-030301-PatModImgTest/results/3.CMJ.stderr [2025-07-01T03:03:04.612Z] STF 03:03:03.895 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_2/aqa-tests/TKG/output_1751337068506/PatModImg_PlatMod_1/20250701-030301-PatModImgTest/results/3.CMJ.stdout [2025-07-01T03:03:04.612Z] STF 03:03:03.898 - Monitoring processes: CMJ [2025-07-01T03:03:04.612Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-07-01T03:03:04.612Z] STF 03:03:04.169 - Monitoring Report Summary: [2025-07-01T03:03:04.612Z] STF 03:03:04.169 - o Process CMJ ended with the expected exit code (0) [2025-07-01T03:03:04.612Z] STF 03:03:04.169 - Created modular jar: 3.com.helper.jar [2025-07-01T03:03:04.612Z] STF 03:03:04.169 - [2025-07-01T03:03:04.612Z] STF 03:03:04.169 - +------ Step 4 - Create com.discreet jar [2025-07-01T03:03:04.612Z] STF 03:03:04.169 - | Create modular jar [2025-07-01T03:03:04.612Z] STF 03:03:04.169 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2025-07-01T03:03:04.612Z] STF 03:03:04.169 - | ModuleVersion: null [2025-07-01T03:03:04.612Z] STF 03:03:04.169 - | MainClass: null [2025-07-01T03:03:04.612Z] STF 03:03:04.169 - | HashModules: null [2025-07-01T03:03:04.612Z] STF 03:03:04.169 - | [2025-07-01T03:03:04.612Z] STF 03:03:04.170 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_2/aqa-tests/TKG/output_1751337068506/PatModImg_PlatMod_1/20250701-030301-PatModImgTest/modules/4.com.discreet.jar -C /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet . [2025-07-01T03:03:04.612Z] STF 03:03:04.170 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_2/aqa-tests/TKG/output_1751337068506/PatModImg_PlatMod_1/20250701-030301-PatModImgTest/results/4.CMJ.stderr [2025-07-01T03:03:04.612Z] STF 03:03:04.170 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_2/aqa-tests/TKG/output_1751337068506/PatModImg_PlatMod_1/20250701-030301-PatModImgTest/results/4.CMJ.stdout [2025-07-01T03:03:04.612Z] STF 03:03:04.174 - Monitoring processes: CMJ [2025-07-01T03:03:04.612Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-07-01T03:03:04.612Z] STF 03:03:04.406 - Monitoring Report Summary: [2025-07-01T03:03:04.612Z] STF 03:03:04.406 - o Process CMJ ended with the expected exit code (0) [2025-07-01T03:03:04.612Z] STF 03:03:04.407 - Created modular jar: 4.com.discreet.jar [2025-07-01T03:03:04.612Z] STF 03:03:04.407 - [2025-07-01T03:03:04.612Z] STF 03:03:04.407 - +------ Step 5 - Create tests jar [2025-07-01T03:03:04.612Z] STF 03:03:04.407 - | Create modular jar [2025-07-01T03:03:04.612Z] STF 03:03:04.407 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2025-07-01T03:03:04.612Z] STF 03:03:04.407 - | ModuleVersion: null [2025-07-01T03:03:04.612Z] STF 03:03:04.407 - | MainClass: null [2025-07-01T03:03:04.612Z] STF 03:03:04.407 - | HashModules: null [2025-07-01T03:03:04.612Z] STF 03:03:04.407 - | [2025-07-01T03:03:04.612Z] STF 03:03:04.408 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_2/aqa-tests/TKG/output_1751337068506/PatModImg_PlatMod_1/20250701-030301-PatModImgTest/modules/5.com.test.jar -C /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test . [2025-07-01T03:03:04.612Z] STF 03:03:04.408 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_2/aqa-tests/TKG/output_1751337068506/PatModImg_PlatMod_1/20250701-030301-PatModImgTest/results/5.CMJ.stderr [2025-07-01T03:03:04.612Z] STF 03:03:04.408 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_2/aqa-tests/TKG/output_1751337068506/PatModImg_PlatMod_1/20250701-030301-PatModImgTest/results/5.CMJ.stdout [2025-07-01T03:03:04.612Z] STF 03:03:04.411 - Monitoring processes: CMJ [2025-07-01T03:03:04.613Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-07-01T03:03:05.980Z] STF 03:03:04.650 - Monitoring Report Summary: [2025-07-01T03:03:05.980Z] STF 03:03:04.650 - o Process CMJ ended with the expected exit code (0) [2025-07-01T03:03:05.980Z] STF 03:03:04.651 - Created modular jar: 5.com.test.jar [2025-07-01T03:03:05.980Z] STF 03:03:04.651 - [2025-07-01T03:03:05.980Z] STF 03:03:04.651 - +------ Step 6 - Create runtime image for PatchModule test [2025-07-01T03:03:05.980Z] STF 03:03:04.651 - | Run jlink to create runtime image [2025-07-01T03:03:05.980Z] STF 03:03:04.651 - | ImageName: XpJVM [2025-07-01T03:03:05.980Z] STF 03:03:04.651 - | [2025-07-01T03:03:05.980Z] STF 03:03:04.651 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_2/jdkbinary/j2sdk-image/bin/jlink --module-path /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_2/jdkbinary/j2sdk-image/jmods:/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_2/aqa-tests/TKG/output_1751337068506/PatModImg_PlatMod_1/20250701-030301-PatModImgTest/modules --add-modules com.hello,com.hola,com.test,com.helper,com.discreet --output /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_2/aqa-tests/TKG/output_1751337068506/PatModImg_PlatMod_1/20250701-030301-PatModImgTest/tmp/6.XpJVM [2025-07-01T03:03:05.980Z] STF 03:03:04.652 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_2/aqa-tests/TKG/output_1751337068506/PatModImg_PlatMod_1/20250701-030301-PatModImgTest/results/6.JLNK.stderr [2025-07-01T03:03:05.980Z] STF 03:03:04.652 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_2/aqa-tests/TKG/output_1751337068506/PatModImg_PlatMod_1/20250701-030301-PatModImgTest/results/6.JLNK.stdout [2025-07-01T03:03:05.980Z] STF 03:03:04.655 - Monitoring processes: JLNK [2025-07-01T03:03:05.980Z] JLNK stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-07-01T03:03:08.612Z] STF 03:03:08.390 - Monitoring Report Summary: [2025-07-01T03:03:08.612Z] STF 03:03:08.390 - o Process JLNK ended with the expected exit code (0) [2025-07-01T03:03:08.612Z] STF 03:03:08.391 - [2025-07-01T03:03:08.612Z] STF 03:03:08.391 - +------ Step 7 - Create com.hello jar [2025-07-01T03:03:08.612Z] STF 03:03:08.391 - | Create modular jar [2025-07-01T03:03:08.612Z] STF 03:03:08.391 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2025-07-01T03:03:08.612Z] STF 03:03:08.391 - | ModuleVersion: null [2025-07-01T03:03:08.612Z] STF 03:03:08.391 - | MainClass: null [2025-07-01T03:03:08.612Z] STF 03:03:08.391 - | HashModules: null [2025-07-01T03:03:08.612Z] STF 03:03:08.391 - | [2025-07-01T03:03:08.612Z] STF 03:03:08.392 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_2/aqa-tests/TKG/output_1751337068506/PatModImg_PlatMod_1/20250701-030301-PatModImgTest/modules/7.com.hello.jar -C /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello . [2025-07-01T03:03:08.612Z] STF 03:03:08.392 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_2/aqa-tests/TKG/output_1751337068506/PatModImg_PlatMod_1/20250701-030301-PatModImgTest/results/7.CMJ.stderr [2025-07-01T03:03:08.612Z] STF 03:03:08.392 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_2/aqa-tests/TKG/output_1751337068506/PatModImg_PlatMod_1/20250701-030301-PatModImgTest/results/7.CMJ.stdout [2025-07-01T03:03:08.612Z] STF 03:03:08.395 - Monitoring processes: CMJ [2025-07-01T03:03:08.612Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-07-01T03:03:09.423Z] STF 03:03:08.792 - Monitoring Report Summary: [2025-07-01T03:03:09.423Z] STF 03:03:08.792 - o Process CMJ ended with the expected exit code (0) [2025-07-01T03:03:09.423Z] STF 03:03:08.792 - Created modular jar: 7.com.hello.jar [2025-07-01T03:03:09.423Z] STF 03:03:08.792 - [2025-07-01T03:03:09.423Z] STF 03:03:08.792 - +------ Step 8 - create java.xml.jar [2025-07-01T03:03:09.423Z] STF 03:03:08.792 - | Create modular jar [2025-07-01T03:03:09.423Z] STF 03:03:08.792 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml [2025-07-01T03:03:09.423Z] STF 03:03:08.793 - | ModuleVersion: null [2025-07-01T03:03:09.423Z] STF 03:03:08.793 - | MainClass: null [2025-07-01T03:03:09.423Z] STF 03:03:08.793 - | HashModules: null [2025-07-01T03:03:09.423Z] STF 03:03:08.793 - | [2025-07-01T03:03:09.424Z] STF 03:03:08.793 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_2/aqa-tests/TKG/output_1751337068506/PatModImg_PlatMod_1/20250701-030301-PatModImgTest/modules/8.java.xml.jar -C /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/java.xml . [2025-07-01T03:03:09.424Z] STF 03:03:08.793 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_2/aqa-tests/TKG/output_1751337068506/PatModImg_PlatMod_1/20250701-030301-PatModImgTest/results/8.CMJ.stderr [2025-07-01T03:03:09.424Z] STF 03:03:08.793 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_2/aqa-tests/TKG/output_1751337068506/PatModImg_PlatMod_1/20250701-030301-PatModImgTest/results/8.CMJ.stdout [2025-07-01T03:03:09.424Z] STF 03:03:08.797 - Monitoring processes: CMJ [2025-07-01T03:03:09.424Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-07-01T03:03:09.424Z] STF 03:03:09.075 - Monitoring Report Summary: [2025-07-01T03:03:09.424Z] STF 03:03:09.076 - o Process CMJ ended with the expected exit code (0) [2025-07-01T03:03:09.424Z] STF 03:03:09.076 - Created modular jar: 8.java.xml.jar [2025-07-01T03:03:09.424Z] STF 03:03:09.076 - [2025-07-01T03:03:09.424Z] STF 03:03:09.076 - +------ Step 9 - Verify if we can patch an upgradable platform module using exploded directory [2025-07-01T03:03:09.424Z] STF 03:03:09.076 - | Run foreground process [2025-07-01T03:03:09.424Z] STF 03:03:09.076 - | Program: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_2/aqa-tests/TKG/output_1751337068506/PatModImg_PlatMod_1/20250701-030301-PatModImgTest/tmp/6.XpJVM/bin/java [2025-07-01T03:03:09.424Z] STF 03:03:09.076 - | Mnemonic: OT11 [2025-07-01T03:03:09.424Z] STF 03:03:09.076 - | Echo: ECHO_ON [2025-07-01T03:03:09.424Z] STF 03:03:09.076 - | Expectation: CLEAN_RUN within 5m [2025-07-01T03:03:09.424Z] STF 03:03:09.076 - | [2025-07-01T03:03:09.424Z] STF 03:03:09.077 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_2/aqa-tests/TKG/output_1751337068506/PatModImg_PlatMod_1/20250701-030301-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module java.xml=/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-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-01T03:03:09.424Z] STF 03:03:09.077 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_2/aqa-tests/TKG/output_1751337068506/PatModImg_PlatMod_1/20250701-030301-PatModImgTest/results/9.OT11.stderr [2025-07-01T03:03:09.424Z] STF 03:03:09.077 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_2/aqa-tests/TKG/output_1751337068506/PatModImg_PlatMod_1/20250701-030301-PatModImgTest/results/9.OT11.stdout [2025-07-01T03:03:09.424Z] STF 03:03:09.081 - Monitoring processes: OT11 [2025-07-01T03:03:09.424Z] OT11 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-07-01T03:03:09.424Z] OT11 stderr WARNING: module-info.class ignored in patch: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/java.xml [2025-07-01T03:03:10.236Z] OT11 JUnit version 4.12 [2025-07-01T03:03:10.236Z] OT11 . [2025-07-01T03:03:10.236Z] OT11 Time: 0.01 [2025-07-01T03:03:10.236Z] OT11 [2025-07-01T03:03:10.236Z] OT11 OK (1 test) [2025-07-01T03:03:10.236Z] OT11 [2025-07-01T03:03:10.236Z] STF 03:03:09.605 - Monitoring Report Summary: [2025-07-01T03:03:10.236Z] STF 03:03:09.605 - o Process OT11 ended with the expected exit code (0) [2025-07-01T03:03:10.236Z] STF 03:03:09.606 - [2025-07-01T03:03:10.236Z] STF 03:03:09.606 - +------ Step 10 - Verify if we can patch an upgradable platform module using modular jar [2025-07-01T03:03:10.236Z] STF 03:03:09.606 - | Run foreground process [2025-07-01T03:03:10.236Z] STF 03:03:09.606 - | Program: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_2/aqa-tests/TKG/output_1751337068506/PatModImg_PlatMod_1/20250701-030301-PatModImgTest/tmp/6.XpJVM/bin/java [2025-07-01T03:03:10.236Z] STF 03:03:09.606 - | Mnemonic: OT12 [2025-07-01T03:03:10.236Z] STF 03:03:09.606 - | Echo: ECHO_ON [2025-07-01T03:03:10.236Z] STF 03:03:09.606 - | Expectation: CLEAN_RUN within 5m [2025-07-01T03:03:10.236Z] STF 03:03:09.606 - | [2025-07-01T03:03:10.237Z] STF 03:03:09.607 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_2/aqa-tests/TKG/output_1751337068506/PatModImg_PlatMod_1/20250701-030301-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module java.xml=/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_2/aqa-tests/TKG/output_1751337068506/PatModImg_PlatMod_1/20250701-030301-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-01T03:03:10.237Z] STF 03:03:09.607 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_2/aqa-tests/TKG/output_1751337068506/PatModImg_PlatMod_1/20250701-030301-PatModImgTest/results/10.OT12.stderr [2025-07-01T03:03:10.237Z] STF 03:03:09.607 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_2/aqa-tests/TKG/output_1751337068506/PatModImg_PlatMod_1/20250701-030301-PatModImgTest/results/10.OT12.stdout [2025-07-01T03:03:10.237Z] STF 03:03:09.611 - Monitoring processes: OT12 [2025-07-01T03:03:10.237Z] OT12 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-07-01T03:03:10.237Z] OT12 stderr WARNING: module-info.class ignored in patch: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_2/aqa-tests/TKG/output_1751337068506/PatModImg_PlatMod_1/20250701-030301-PatModImgTest/modules/8.java.xml.jar [2025-07-01T03:03:10.237Z] OT12 JUnit version 4.12 [2025-07-01T03:03:10.237Z] OT12 . [2025-07-01T03:03:10.237Z] OT12 Time: 0.011 [2025-07-01T03:03:10.237Z] OT12 [2025-07-01T03:03:10.237Z] OT12 OK (1 test) [2025-07-01T03:03:10.237Z] OT12 [2025-07-01T03:03:10.237Z] STF 03:03:10.085 - Monitoring Report Summary: [2025-07-01T03:03:10.237Z] STF 03:03:10.085 - o Process OT12 ended with the expected exit code (0) [2025-07-01T03:03:10.237Z] STF 03:03:10.086 - EXECUTE stage completed [2025-07-01T03:03:10.237Z] STF 03:03:10.119 - [2025-07-01T03:03:10.237Z] STF 03:03:10.119 - ==================== T E A R D O W N ==================== [2025-07-01T03:03:10.237Z] STF 03:03:10.119 - Running teardown: perl /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_2/aqa-tests/TKG/../TKG/output_1751337068506/PatModImg_PlatMod_1/20250701-030301-PatModImgTest/tearDown.pl [2025-07-01T03:03:11.048Z] STF 03:03:10.190 - TEARDOWN stage completed [2025-07-01T03:03:11.048Z] STF 03:03:10.197 - [2025-07-01T03:03:11.048Z] STF 03:03:10.197 - ===================== R E S U L T S ===================== [2025-07-01T03:03:11.048Z] STF 03:03:10.197 - Stage results: [2025-07-01T03:03:11.048Z] STF 03:03:10.197 - setUp: pass [2025-07-01T03:03:11.048Z] STF 03:03:10.197 - execute: pass [2025-07-01T03:03:11.048Z] STF 03:03:10.197 - teardown: pass [2025-07-01T03:03:11.048Z] STF 03:03:10.197 - [2025-07-01T03:03:11.048Z] STF 03:03:10.197 - Overall result: PASSED [2025-07-01T03:03:11.048Z] ----------------------------------- [2025-07-01T03:03:11.048Z] PatModImg_PlatMod_1_PASSED [2025-07-01T03:03:11.048Z] ----------------------------------- [2025-07-01T03:03:11.048Z] [2025-07-01T03:03:11.048Z] TEST TEARDOWN: [2025-07-01T03:03:11.048Z] Nothing to be done for teardown. [2025-07-01T03:03:11.048Z] PatModImg_PlatMod_1 Finish Time: Tue Jul 1 03:03:10 2025 Epoch Time (ms): 1751338990259