PatModImg_PlatMod_0

[2025-02-27T01:35:11.874Z] Running test PatModImg_PlatMod_0 ... [2025-02-27T01:35:11.874Z] =============================================== [2025-02-27T01:35:11.874Z] PatModImg_PlatMod_0 Start Time: Thu Feb 27 01:35:11 2025 Epoch Time (ms): 1740620111442 [2025-02-27T01:35:11.874Z] variation: Mode150 [2025-02-27T01:35:11.874Z] JVM_OPTIONS: -XX:+UseCompressedOops [2025-02-27T01:35:11.874Z] { \ [2025-02-27T01:35:11.874Z] echo ""; echo "TEST SETUP:"; \ [2025-02-27T01:35:11.874Z] echo "Nothing to be done for setup."; \ [2025-02-27T01:35:11.874Z] mkdir -p "/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_0/aqa-tests/TKG/../TKG/output_17406191539575/PatModImg_PlatMod_0"; \ [2025-02-27T01:35:11.874Z] cd "/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_0/aqa-tests/TKG/../TKG/output_17406191539575/PatModImg_PlatMod_0"; \ [2025-02-27T01:35:11.874Z] echo ""; echo "TESTING:"; \ [2025-02-27T01:35:11.874Z] perl /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_0/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_0/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF;/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_0/aqa-tests/TKG/../../jvmtest/system/modularity/..//aqa-systemtest""" -systemtest-prereqs="/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_0/../../testDependency/system_lib/" -java-args=' -XX:+UseCompressedOops ' -results-root="/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_0/aqa-tests/TKG/../TKG/output_17406191539575/PatModImg_PlatMod_0" -test=PatModImgTest -test-args="variant=PlatMod"; \ [2025-02-27T01:35:11.874Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatModImg_PlatMod_0""_PASSED"; echo "-----------------------------------"; cd /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_0/aqa-tests/TKG/..; rm -f -r "/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_0/aqa-tests/TKG/../TKG/output_17406191539575/PatModImg_PlatMod_0"; else echo "-----------------------------------"; echo "PatModImg_PlatMod_0""_FAILED"; echo "-----------------------------------"; fi; \ [2025-02-27T01:35:11.874Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-02-27T01:35:11.874Z] echo "Nothing to be done for teardown."; \ [2025-02-27T01:35:11.874Z] } 2>&1 | tee -a "/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_0/aqa-tests/TKG/../TKG/output_17406191539575/TestTargetResult"; [2025-02-27T01:35:11.874Z] [2025-02-27T01:35:11.874Z] TEST SETUP: [2025-02-27T01:35:11.874Z] Nothing to be done for setup. [2025-02-27T01:35:11.874Z] [2025-02-27T01:35:11.874Z] TESTING: [2025-02-27T01:35:11.874Z] STF 01:35:11.790 - ========================= S T F ========================= [2025-02-27T01:35:11.874Z] 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_0/aqa-tests/TKG/../TKG/output_17406191539575/PatModImg_PlatMod_0 [2025-02-27T01:35:12.641Z] There is 730692 Mb free [2025-02-27T01:35:12.641Z] STF 01:35:11.812 - ================== G E N E R A T I O N ================== [2025-02-27T01:35:12.641Z] STF 01:35:11.813 - Checking JVM: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_0/jdkbinary/j2sdk-image [2025-02-27T01:35:12.641Z] STF 01:35:11.813 - Starting process to generate scripts: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_0/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_0/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_0/../../testDependency/system_lib//asm/asm.jar:/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_0/../../testDependency/system_lib//asm/asm-commons.jar:/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_0/../../testDependency/system_lib//log4j/log4j-api.jar:/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_0/../../testDependency/system_lib//log4j/log4j-core.jar:/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_0/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_0/aqa-tests/TKG/../TKG/output_17406191539575/PatModImg_PlatMod_0/20250227-013511-PatModImgTest/stf_parameters.properties, , /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_0/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_0/aqa-tests/TKG/../TKG/output_17406191539575/PatModImg_PlatMod_0/20250227-013511-PatModImgTest" [2025-02-27T01:35:12.641Z] GEN stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-27T01:35:12.641Z] GEN [0.028s][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-02-27T01:35:20.888Z] GEN 01:35:19.669 - Found test. Project: 'openjdk.test.modularity' class: 'PatModImgTest.class' Dir: '/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin' [2025-02-27T01:35:20.888Z] GEN 01:35:19.746 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModImgTest' [2025-02-27T01:35:20.888Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2025-02-27T01:35:20.888Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayService [2025-02-27T01:35:20.888Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper [2025-02-27T01:35:20.888Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl1 [2025-02-27T01:35:20.888Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet [2025-02-27T01:35:20.888Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello [2025-02-27T01:35:20.888Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola [2025-02-27T01:35:20.888Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl2 [2025-02-27T01:35:20.889Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hi [2025-02-27T01:35:20.889Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override [2025-02-27T01:35:20.889Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override-new [2025-02-27T01:35:20.889Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl3 [2025-02-27T01:35:20.889Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl4 [2025-02-27T01:35:20.889Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common [2025-02-27T01:35:20.889Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests [2025-02-27T01:35:20.889Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin [2025-02-27T01:35:20.889Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_0/jvmtest/system/STF/stf.core/bin [2025-02-27T01:35:20.889Z] GEN /home/jenkins/testDependency/system_lib/log4j/log4j-api.jar [2025-02-27T01:35:20.889Z] GEN /home/jenkins/testDependency/system_lib/log4j/log4j-core.jar [2025-02-27T01:35:20.889Z] GEN /home/jenkins/testDependency/system_lib/junit/junit.jar [2025-02-27T01:35:21.651Z] GEN 01:35:20.754 - Using Mode NoOptions. Values = '' [2025-02-27T01:35:22.474Z] GEN 01:35:21.621 - [2025-02-27T01:35:22.474Z] GEN 01:35:21.621 - Test command summary: [2025-02-27T01:35:22.474Z] GEN 01:35:21.622 - Step Stage Command Description [2025-02-27T01:35:22.474Z] GEN 01:35:21.622 - -----+--------+-----------------+------------ [2025-02-27T01:35:22.474Z] GEN 01:35:21.622 - 1 execute jar Create com.hello jar [2025-02-27T01:35:22.474Z] GEN 01:35:21.622 - 2 execute jar Create com.hola jar [2025-02-27T01:35:22.474Z] GEN 01:35:21.631 - 3 execute jar Create com.helper jar [2025-02-27T01:35:22.474Z] GEN 01:35:21.631 - 4 execute jar Create com.discreet jar [2025-02-27T01:35:22.474Z] GEN 01:35:21.632 - 5 execute jar Create tests jar [2025-02-27T01:35:22.474Z] GEN 01:35:21.632 - 6 execute jlink Create runtime image for PatchModule test [2025-02-27T01:35:22.474Z] GEN 01:35:21.632 - 7 execute jar Create com.hello jar [2025-02-27T01:35:22.474Z] GEN 01:35:21.632 - 8 execute jar create java.xml.jar [2025-02-27T01:35:22.474Z] GEN 01:35:21.632 - 9 execute Run java Verify if we can patch an upgradable platform module using exploded directory [2025-02-27T01:35:22.474Z] GEN 01:35:21.632 - 10 execute Run java Verify if we can patch an upgradable platform module using modular jar [2025-02-27T01:35:22.474Z] STF 01:35:21.742 - [2025-02-27T01:35:22.474Z] STF 01:35:21.742 - Script generation completed [2025-02-27T01:35:22.474Z] STF 01:35:21.742 - [2025-02-27T01:35:22.474Z] STF 01:35:21.742 - [2025-02-27T01:35:22.474Z] STF 01:35:21.742 - ======================= S E T U P ======================= [2025-02-27T01:35:22.474Z] STF 01:35:21.742 - Running setup: perl /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_0/aqa-tests/TKG/../TKG/output_17406191539575/PatModImg_PlatMod_0/20250227-013511-PatModImgTest/setUp.pl [2025-02-27T01:35:22.474Z] STF 01:35:21.944 - SETUP stage completed [2025-02-27T01:35:22.474Z] STF 01:35:21.951 - [2025-02-27T01:35:22.474Z] STF 01:35:21.952 - ==================== E X E C U T E - ==================== [2025-02-27T01:35:22.474Z] STF 01:35:21.952 - Running execute: perl /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_0/aqa-tests/TKG/../TKG/output_17406191539575/PatModImg_PlatMod_0/20250227-013511-PatModImgTest/execute.pl [2025-02-27T01:35:22.474Z] STF 01:35:22.086 - [2025-02-27T01:35:22.474Z] STF 01:35:22.086 - Java version [2025-02-27T01:35:22.474Z] STF 01:35:22.086 - Running: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_0/jdkbinary/j2sdk-image/bin/java -version [2025-02-27T01:35:22.474Z] Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-27T01:35:23.240Z] openjdk version "21.0.7-beta" 2025-04-15 [2025-02-27T01:35:23.241Z] OpenJDK Runtime Environment Temurin-21.0.7+4-202502262002 (build 21.0.7-beta+4-ea) [2025-02-27T01:35:23.241Z] OpenJDK 64-Bit Server VM Temurin-21.0.7+4-202502262002 (build 21.0.7-beta+4-ea, mixed mode, sharing) [2025-02-27T01:35:23.241Z] STF 01:35:22.526 - [2025-02-27T01:35:23.241Z] STF 01:35:22.526 - +------ Step 1 - Create com.hello jar [2025-02-27T01:35:23.241Z] STF 01:35:22.526 - | Create modular jar [2025-02-27T01:35:23.241Z] STF 01:35:22.526 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2025-02-27T01:35:23.241Z] STF 01:35:22.526 - | ModuleVersion: null [2025-02-27T01:35:23.241Z] STF 01:35:22.526 - | MainClass: null [2025-02-27T01:35:23.241Z] STF 01:35:22.526 - | HashModules: null [2025-02-27T01:35:23.241Z] STF 01:35:22.526 - | [2025-02-27T01:35:23.241Z] STF 01:35:22.527 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_0/aqa-tests/TKG/output_17406191539575/PatModImg_PlatMod_0/20250227-013511-PatModImgTest/modules/1.com.hello.jar -C /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello . [2025-02-27T01:35:23.241Z] STF 01:35:22.527 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_0/aqa-tests/TKG/output_17406191539575/PatModImg_PlatMod_0/20250227-013511-PatModImgTest/results/1.CMJ.stderr [2025-02-27T01:35:23.241Z] STF 01:35:22.527 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_0/aqa-tests/TKG/output_17406191539575/PatModImg_PlatMod_0/20250227-013511-PatModImgTest/results/1.CMJ.stdout [2025-02-27T01:35:23.241Z] STF 01:35:22.583 - Monitoring processes: CMJ [2025-02-27T01:35:23.241Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-27T01:35:24.011Z] STF 01:35:23.782 - Monitoring Report Summary: [2025-02-27T01:35:24.011Z] STF 01:35:23.783 - o Process CMJ ended with the expected exit code (0) [2025-02-27T01:35:24.011Z] STF 01:35:23.783 - Created modular jar: 1.com.hello.jar [2025-02-27T01:35:24.011Z] STF 01:35:23.783 - [2025-02-27T01:35:24.011Z] STF 01:35:23.783 - +------ Step 2 - Create com.hola jar [2025-02-27T01:35:24.011Z] STF 01:35:23.783 - | Create modular jar [2025-02-27T01:35:24.011Z] STF 01:35:23.783 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2025-02-27T01:35:24.011Z] STF 01:35:23.783 - | ModuleVersion: null [2025-02-27T01:35:24.011Z] STF 01:35:23.783 - | MainClass: null [2025-02-27T01:35:24.011Z] STF 01:35:23.783 - | HashModules: null [2025-02-27T01:35:24.011Z] STF 01:35:23.783 - | [2025-02-27T01:35:24.011Z] STF 01:35:23.783 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_0/aqa-tests/TKG/output_17406191539575/PatModImg_PlatMod_0/20250227-013511-PatModImgTest/modules/2.com.hola.jar -C /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola . [2025-02-27T01:35:24.011Z] STF 01:35:23.783 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_0/aqa-tests/TKG/output_17406191539575/PatModImg_PlatMod_0/20250227-013511-PatModImgTest/results/2.CMJ.stderr [2025-02-27T01:35:24.011Z] STF 01:35:23.783 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_0/aqa-tests/TKG/output_17406191539575/PatModImg_PlatMod_0/20250227-013511-PatModImgTest/results/2.CMJ.stdout [2025-02-27T01:35:24.011Z] STF 01:35:23.784 - Monitoring processes: CMJ [2025-02-27T01:35:24.011Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-27T01:35:25.591Z] STF 01:35:25.042 - Monitoring Report Summary: [2025-02-27T01:35:25.591Z] STF 01:35:25.042 - o Process CMJ ended with the expected exit code (0) [2025-02-27T01:35:25.591Z] STF 01:35:25.043 - Created modular jar: 2.com.hola.jar [2025-02-27T01:35:25.591Z] STF 01:35:25.043 - [2025-02-27T01:35:25.591Z] STF 01:35:25.043 - +------ Step 3 - Create com.helper jar [2025-02-27T01:35:25.591Z] STF 01:35:25.043 - | Create modular jar [2025-02-27T01:35:25.591Z] STF 01:35:25.043 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2025-02-27T01:35:25.591Z] STF 01:35:25.043 - | ModuleVersion: null [2025-02-27T01:35:25.591Z] STF 01:35:25.043 - | MainClass: null [2025-02-27T01:35:25.591Z] STF 01:35:25.043 - | HashModules: null [2025-02-27T01:35:25.591Z] STF 01:35:25.043 - | [2025-02-27T01:35:25.591Z] STF 01:35:25.047 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_0/aqa-tests/TKG/output_17406191539575/PatModImg_PlatMod_0/20250227-013511-PatModImgTest/modules/3.com.helper.jar -C /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper . [2025-02-27T01:35:25.591Z] STF 01:35:25.047 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_0/aqa-tests/TKG/output_17406191539575/PatModImg_PlatMod_0/20250227-013511-PatModImgTest/results/3.CMJ.stderr [2025-02-27T01:35:25.591Z] STF 01:35:25.047 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_0/aqa-tests/TKG/output_17406191539575/PatModImg_PlatMod_0/20250227-013511-PatModImgTest/results/3.CMJ.stdout [2025-02-27T01:35:25.591Z] STF 01:35:25.049 - Monitoring processes: CMJ [2025-02-27T01:35:25.591Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-27T01:35:27.177Z] STF 01:35:26.844 - Monitoring Report Summary: [2025-02-27T01:35:27.177Z] STF 01:35:26.844 - o Process CMJ ended with the expected exit code (0) [2025-02-27T01:35:27.177Z] STF 01:35:26.844 - Created modular jar: 3.com.helper.jar [2025-02-27T01:35:27.177Z] STF 01:35:26.844 - [2025-02-27T01:35:27.177Z] STF 01:35:26.844 - +------ Step 4 - Create com.discreet jar [2025-02-27T01:35:27.177Z] STF 01:35:26.844 - | Create modular jar [2025-02-27T01:35:27.177Z] STF 01:35:26.844 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2025-02-27T01:35:27.177Z] STF 01:35:26.844 - | ModuleVersion: null [2025-02-27T01:35:27.177Z] STF 01:35:26.844 - | MainClass: null [2025-02-27T01:35:27.177Z] STF 01:35:26.844 - | HashModules: null [2025-02-27T01:35:27.177Z] STF 01:35:26.844 - | [2025-02-27T01:35:27.177Z] STF 01:35:26.844 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_0/aqa-tests/TKG/output_17406191539575/PatModImg_PlatMod_0/20250227-013511-PatModImgTest/modules/4.com.discreet.jar -C /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet . [2025-02-27T01:35:27.177Z] STF 01:35:26.845 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_0/aqa-tests/TKG/output_17406191539575/PatModImg_PlatMod_0/20250227-013511-PatModImgTest/results/4.CMJ.stderr [2025-02-27T01:35:27.177Z] STF 01:35:26.845 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_0/aqa-tests/TKG/output_17406191539575/PatModImg_PlatMod_0/20250227-013511-PatModImgTest/results/4.CMJ.stdout [2025-02-27T01:35:27.177Z] STF 01:35:26.846 - Monitoring processes: CMJ [2025-02-27T01:35:27.177Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-27T01:35:28.811Z] STF 01:35:28.250 - Monitoring Report Summary: [2025-02-27T01:35:28.811Z] STF 01:35:28.250 - o Process CMJ ended with the expected exit code (0) [2025-02-27T01:35:28.811Z] STF 01:35:28.250 - Created modular jar: 4.com.discreet.jar [2025-02-27T01:35:28.811Z] STF 01:35:28.250 - [2025-02-27T01:35:28.811Z] STF 01:35:28.250 - +------ Step 5 - Create tests jar [2025-02-27T01:35:28.811Z] STF 01:35:28.250 - | Create modular jar [2025-02-27T01:35:28.811Z] STF 01:35:28.250 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2025-02-27T01:35:28.811Z] STF 01:35:28.250 - | ModuleVersion: null [2025-02-27T01:35:28.811Z] STF 01:35:28.250 - | MainClass: null [2025-02-27T01:35:28.811Z] STF 01:35:28.250 - | HashModules: null [2025-02-27T01:35:28.811Z] STF 01:35:28.250 - | [2025-02-27T01:35:28.811Z] STF 01:35:28.251 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_0/aqa-tests/TKG/output_17406191539575/PatModImg_PlatMod_0/20250227-013511-PatModImgTest/modules/5.com.test.jar -C /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test . [2025-02-27T01:35:28.811Z] STF 01:35:28.251 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_0/aqa-tests/TKG/output_17406191539575/PatModImg_PlatMod_0/20250227-013511-PatModImgTest/results/5.CMJ.stderr [2025-02-27T01:35:28.811Z] STF 01:35:28.251 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_0/aqa-tests/TKG/output_17406191539575/PatModImg_PlatMod_0/20250227-013511-PatModImgTest/results/5.CMJ.stdout [2025-02-27T01:35:28.811Z] STF 01:35:28.253 - Monitoring processes: CMJ [2025-02-27T01:35:28.811Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-27T01:35:30.415Z] STF 01:35:30.085 - Monitoring Report Summary: [2025-02-27T01:35:30.415Z] STF 01:35:30.085 - o Process CMJ ended with the expected exit code (0) [2025-02-27T01:35:30.415Z] STF 01:35:30.085 - Created modular jar: 5.com.test.jar [2025-02-27T01:35:30.415Z] STF 01:35:30.085 - [2025-02-27T01:35:30.415Z] STF 01:35:30.085 - +------ Step 6 - Create runtime image for PatchModule test [2025-02-27T01:35:30.415Z] STF 01:35:30.085 - | Run jlink to create runtime image [2025-02-27T01:35:30.415Z] STF 01:35:30.085 - | ImageName: XpJVM [2025-02-27T01:35:30.415Z] STF 01:35:30.085 - | [2025-02-27T01:35:30.415Z] STF 01:35:30.085 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_0/jdkbinary/j2sdk-image/bin/jlink --module-path /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_0/jdkbinary/j2sdk-image/jmods:/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_0/aqa-tests/TKG/output_17406191539575/PatModImg_PlatMod_0/20250227-013511-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_0/aqa-tests/TKG/output_17406191539575/PatModImg_PlatMod_0/20250227-013511-PatModImgTest/tmp/6.XpJVM [2025-02-27T01:35:30.415Z] STF 01:35:30.085 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_0/aqa-tests/TKG/output_17406191539575/PatModImg_PlatMod_0/20250227-013511-PatModImgTest/results/6.JLNK.stderr [2025-02-27T01:35:30.415Z] STF 01:35:30.085 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_0/aqa-tests/TKG/output_17406191539575/PatModImg_PlatMod_0/20250227-013511-PatModImgTest/results/6.JLNK.stdout [2025-02-27T01:35:30.415Z] STF 01:35:30.087 - Monitoring processes: JLNK [2025-02-27T01:35:30.415Z] JLNK stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-27T01:35:46.832Z] STF 01:35:45.428 - Monitoring Report Summary: [2025-02-27T01:35:46.833Z] STF 01:35:45.428 - o Process JLNK ended with the expected exit code (0) [2025-02-27T01:35:46.833Z] STF 01:35:45.428 - [2025-02-27T01:35:46.833Z] STF 01:35:45.428 - +------ Step 7 - Create com.hello jar [2025-02-27T01:35:46.833Z] STF 01:35:45.428 - | Create modular jar [2025-02-27T01:35:46.833Z] STF 01:35:45.428 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2025-02-27T01:35:46.833Z] STF 01:35:45.428 - | ModuleVersion: null [2025-02-27T01:35:46.833Z] STF 01:35:45.428 - | MainClass: null [2025-02-27T01:35:46.833Z] STF 01:35:45.428 - | HashModules: null [2025-02-27T01:35:46.833Z] STF 01:35:45.428 - | [2025-02-27T01:35:46.833Z] STF 01:35:45.428 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_0/aqa-tests/TKG/output_17406191539575/PatModImg_PlatMod_0/20250227-013511-PatModImgTest/modules/7.com.hello.jar -C /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello . [2025-02-27T01:35:46.833Z] STF 01:35:45.428 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_0/aqa-tests/TKG/output_17406191539575/PatModImg_PlatMod_0/20250227-013511-PatModImgTest/results/7.CMJ.stderr [2025-02-27T01:35:46.833Z] STF 01:35:45.428 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_0/aqa-tests/TKG/output_17406191539575/PatModImg_PlatMod_0/20250227-013511-PatModImgTest/results/7.CMJ.stdout [2025-02-27T01:35:46.833Z] STF 01:35:45.430 - Monitoring processes: CMJ [2025-02-27T01:35:46.833Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-27T01:35:47.604Z] STF 01:35:46.879 - Monitoring Report Summary: [2025-02-27T01:35:47.604Z] STF 01:35:46.879 - o Process CMJ ended with the expected exit code (0) [2025-02-27T01:35:47.604Z] STF 01:35:46.879 - Created modular jar: 7.com.hello.jar [2025-02-27T01:35:47.604Z] STF 01:35:46.879 - [2025-02-27T01:35:47.604Z] STF 01:35:46.879 - +------ Step 8 - create java.xml.jar [2025-02-27T01:35:47.604Z] STF 01:35:46.879 - | Create modular jar [2025-02-27T01:35:47.604Z] STF 01:35:46.879 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml [2025-02-27T01:35:47.604Z] STF 01:35:46.879 - | ModuleVersion: null [2025-02-27T01:35:47.604Z] STF 01:35:46.879 - | MainClass: null [2025-02-27T01:35:47.604Z] STF 01:35:46.879 - | HashModules: null [2025-02-27T01:35:47.604Z] STF 01:35:46.880 - | [2025-02-27T01:35:47.604Z] STF 01:35:46.880 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_0/aqa-tests/TKG/output_17406191539575/PatModImg_PlatMod_0/20250227-013511-PatModImgTest/modules/8.java.xml.jar -C /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/java.xml . [2025-02-27T01:35:47.604Z] STF 01:35:46.880 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_0/aqa-tests/TKG/output_17406191539575/PatModImg_PlatMod_0/20250227-013511-PatModImgTest/results/8.CMJ.stderr [2025-02-27T01:35:47.604Z] STF 01:35:46.880 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_0/aqa-tests/TKG/output_17406191539575/PatModImg_PlatMod_0/20250227-013511-PatModImgTest/results/8.CMJ.stdout [2025-02-27T01:35:47.604Z] STF 01:35:46.881 - Monitoring processes: CMJ [2025-02-27T01:35:47.604Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-27T01:35:49.186Z] STF 01:35:48.709 - Monitoring Report Summary: [2025-02-27T01:35:49.186Z] STF 01:35:48.709 - o Process CMJ ended with the expected exit code (0) [2025-02-27T01:35:49.186Z] STF 01:35:48.709 - Created modular jar: 8.java.xml.jar [2025-02-27T01:35:49.186Z] STF 01:35:48.709 - [2025-02-27T01:35:49.186Z] STF 01:35:48.709 - +------ Step 9 - Verify if we can patch an upgradable platform module using exploded directory [2025-02-27T01:35:49.186Z] STF 01:35:48.709 - | Run foreground process [2025-02-27T01:35:49.186Z] STF 01:35:48.709 - | Program: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_0/aqa-tests/TKG/output_17406191539575/PatModImg_PlatMod_0/20250227-013511-PatModImgTest/tmp/6.XpJVM/bin/java [2025-02-27T01:35:49.186Z] STF 01:35:48.709 - | Mnemonic: OT11 [2025-02-27T01:35:49.186Z] STF 01:35:48.709 - | Echo: ECHO_ON [2025-02-27T01:35:49.186Z] STF 01:35:48.709 - | Expectation: CLEAN_RUN within 5m [2025-02-27T01:35:49.186Z] STF 01:35:48.709 - | [2025-02-27T01:35:49.187Z] STF 01:35:48.709 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_0/aqa-tests/TKG/output_17406191539575/PatModImg_PlatMod_0/20250227-013511-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_0/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-02-27T01:35:49.187Z] STF 01:35:48.709 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_0/aqa-tests/TKG/output_17406191539575/PatModImg_PlatMod_0/20250227-013511-PatModImgTest/results/9.OT11.stderr [2025-02-27T01:35:49.187Z] STF 01:35:48.709 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_0/aqa-tests/TKG/output_17406191539575/PatModImg_PlatMod_0/20250227-013511-PatModImgTest/results/9.OT11.stdout [2025-02-27T01:35:49.187Z] STF 01:35:48.711 - Monitoring processes: OT11 [2025-02-27T01:35:49.187Z] OT11 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-27T01:35:49.956Z] OT11 stderr WARNING: module-info.class ignored in patch: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/java.xml [2025-02-27T01:35:49.956Z] OT11 JUnit version 4.12 [2025-02-27T01:35:50.721Z] OT11 . [2025-02-27T01:35:50.721Z] OT11 Time: 0.053 [2025-02-27T01:35:50.721Z] OT11 [2025-02-27T01:35:50.721Z] OT11 OK (1 test) [2025-02-27T01:35:50.721Z] OT11 [2025-02-27T01:35:50.721Z] STF 01:35:50.289 - Monitoring Report Summary: [2025-02-27T01:35:50.722Z] STF 01:35:50.289 - o Process OT11 ended with the expected exit code (0) [2025-02-27T01:35:50.722Z] STF 01:35:50.289 - [2025-02-27T01:35:50.722Z] STF 01:35:50.289 - +------ Step 10 - Verify if we can patch an upgradable platform module using modular jar [2025-02-27T01:35:50.722Z] STF 01:35:50.289 - | Run foreground process [2025-02-27T01:35:50.722Z] STF 01:35:50.289 - | Program: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_0/aqa-tests/TKG/output_17406191539575/PatModImg_PlatMod_0/20250227-013511-PatModImgTest/tmp/6.XpJVM/bin/java [2025-02-27T01:35:50.722Z] STF 01:35:50.289 - | Mnemonic: OT12 [2025-02-27T01:35:50.722Z] STF 01:35:50.289 - | Echo: ECHO_ON [2025-02-27T01:35:50.722Z] STF 01:35:50.289 - | Expectation: CLEAN_RUN within 5m [2025-02-27T01:35:50.722Z] STF 01:35:50.289 - | [2025-02-27T01:35:50.722Z] STF 01:35:50.289 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_0/aqa-tests/TKG/output_17406191539575/PatModImg_PlatMod_0/20250227-013511-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_0/aqa-tests/TKG/output_17406191539575/PatModImg_PlatMod_0/20250227-013511-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-02-27T01:35:50.722Z] STF 01:35:50.290 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_0/aqa-tests/TKG/output_17406191539575/PatModImg_PlatMod_0/20250227-013511-PatModImgTest/results/10.OT12.stderr [2025-02-27T01:35:50.722Z] STF 01:35:50.290 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_0/aqa-tests/TKG/output_17406191539575/PatModImg_PlatMod_0/20250227-013511-PatModImgTest/results/10.OT12.stdout [2025-02-27T01:35:50.722Z] STF 01:35:50.291 - Monitoring processes: OT12 [2025-02-27T01:35:50.722Z] OT12 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-27T01:35:51.492Z] OT12 stderr WARNING: module-info.class ignored in patch: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_0/aqa-tests/TKG/output_17406191539575/PatModImg_PlatMod_0/20250227-013511-PatModImgTest/modules/8.java.xml.jar [2025-02-27T01:35:51.492Z] OT12 JUnit version 4.12 [2025-02-27T01:35:52.255Z] OT12 . [2025-02-27T01:35:52.255Z] OT12 Time: 0.047 [2025-02-27T01:35:52.255Z] OT12 [2025-02-27T01:35:52.256Z] OT12 OK (1 test) [2025-02-27T01:35:52.256Z] OT12 [2025-02-27T01:35:52.256Z] STF 01:35:51.790 - Monitoring Report Summary: [2025-02-27T01:35:52.256Z] STF 01:35:51.791 - o Process OT12 ended with the expected exit code (0) [2025-02-27T01:35:52.256Z] STF 01:35:51.791 - EXECUTE stage completed [2025-02-27T01:35:52.256Z] STF 01:35:51.907 - [2025-02-27T01:35:52.256Z] STF 01:35:51.907 - ==================== T E A R D O W N ==================== [2025-02-27T01:35:52.256Z] STF 01:35:51.907 - Running teardown: perl /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_alpine-linux_testList_0/aqa-tests/TKG/../TKG/output_17406191539575/PatModImg_PlatMod_0/20250227-013511-PatModImgTest/tearDown.pl [2025-02-27T01:35:52.256Z] STF 01:35:52.169 - TEARDOWN stage completed [2025-02-27T01:35:52.256Z] STF 01:35:52.192 - [2025-02-27T01:35:52.256Z] STF 01:35:52.192 - ===================== R E S U L T S ===================== [2025-02-27T01:35:52.256Z] STF 01:35:52.192 - Stage results: [2025-02-27T01:35:52.256Z] STF 01:35:52.192 - setUp: pass [2025-02-27T01:35:52.256Z] STF 01:35:52.192 - execute: pass [2025-02-27T01:35:52.256Z] STF 01:35:52.192 - teardown: pass [2025-02-27T01:35:52.256Z] STF 01:35:52.192 - [2025-02-27T01:35:52.256Z] STF 01:35:52.192 - Overall result: PASSED [2025-02-27T01:35:53.030Z] ----------------------------------- [2025-02-27T01:35:53.030Z] PatModImg_PlatMod_0_PASSED [2025-02-27T01:35:53.030Z] ----------------------------------- [2025-02-27T01:35:53.030Z] [2025-02-27T01:35:53.030Z] TEST TEARDOWN: [2025-02-27T01:35:53.030Z] Nothing to be done for teardown. [2025-02-27T01:35:53.030Z] PatModImg_PlatMod_0 Finish Time: Thu Feb 27 01:35:52 2025 Epoch Time (ms): 1740620152254