PatModImg_AppMod_1

[2025-12-24T22:05:38.685Z] Running test PatModImg_AppMod_1 ... [2025-12-24T22:05:38.685Z] =============================================== [2025-12-24T22:05:38.685Z] PatModImg_AppMod_1 Start Time: Wed Dec 24 17:05:38 2025 Epoch Time (ms): 1766613938359 [2025-12-24T22:05:38.685Z] variation: Mode650 [2025-12-24T22:05:38.685Z] JVM_OPTIONS: -XX:-UseCompressedOops [2025-12-24T22:05:38.685Z] { \ [2025-12-24T22:05:38.685Z] echo ""; echo "TEST SETUP:"; \ [2025-12-24T22:05:38.685Z] echo "Nothing to be done for setup."; \ [2025-12-24T22:05:38.685Z] mkdir -p "/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_2/aqa-tests/TKG/../TKG/output_17666133081698/PatModImg_AppMod_1"; \ [2025-12-24T22:05:38.685Z] cd "/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_2/aqa-tests/TKG/../TKG/output_17666133081698/PatModImg_AppMod_1"; \ [2025-12-24T22:05:38.685Z] echo ""; echo "TESTING:"; \ [2025-12-24T22:05:38.685Z] perl /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_2/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF/stf.core/scripts/stf.pl -test-root="/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_2/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF;/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_2/aqa-tests/TKG/../../jvmtest/system/modularity/..//aqa-systemtest""" -systemtest-prereqs="/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_2/../../externalDependency/system_lib/" -java-args=' -XX:-UseCompressedOops ' -results-root="/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_2/aqa-tests/TKG/../TKG/output_17666133081698/PatModImg_AppMod_1" -test=PatModImgTest -test-args="variant=AppMod"; \ [2025-12-24T22:05:38.685Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatModImg_AppMod_1""_PASSED"; echo "-----------------------------------"; cd /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_2/aqa-tests/TKG/..; rm -f -r "/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_2/aqa-tests/TKG/../TKG/output_17666133081698/PatModImg_AppMod_1"; else echo "-----------------------------------"; echo "PatModImg_AppMod_1""_FAILED"; echo "-----------------------------------"; fi; \ [2025-12-24T22:05:38.685Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-12-24T22:05:38.685Z] echo "Nothing to be done for teardown."; \ [2025-12-24T22:05:38.685Z] } 2>&1 | tee -a "/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_2/aqa-tests/TKG/../TKG/output_17666133081698/TestTargetResult"; [2025-12-24T22:05:38.685Z] [2025-12-24T22:05:38.685Z] TEST SETUP: [2025-12-24T22:05:38.685Z] Nothing to be done for setup. [2025-12-24T22:05:38.685Z] [2025-12-24T22:05:38.685Z] TESTING: [2025-12-24T22:05:38.685Z] STF 17:05:38.425 - ========================= S T F ========================= [2025-12-24T22:05:38.685Z] systemtest-prereqs has been processed, and set to: /Users/admin/workspace/externalDependency/system_libRetrieving amount of free space on drive containing /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_2/aqa-tests/TKG/../TKG/output_17666133081698/PatModImg_AppMod_1 [2025-12-24T22:05:38.685Z] There is 38145 Mb free [2025-12-24T22:05:38.685Z] STF 17:05:38.433 - ================== G E N E R A T I O N ================== [2025-12-24T22:05:38.685Z] STF 17:05:38.434 - Checking JVM: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/../ [2025-12-24T22:05:38.685Z] STF 17:05:38.434 - Starting process to generate scripts: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/..//bin/java -Dlog4j.skipJansi=true -Djava.system.class.loader=net.adoptopenjdk.stf.runner.StfClassLoader -Dload.agent.path=/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_2/jvmtest/system/STF/stf.core/scripts/../../stf.load/bin/stf.load.jar -classpath /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_2/../../externalDependency/system_lib//asm/asm.jar:/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_2/../../externalDependency/system_lib//asm/asm-commons.jar:/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_2/../../externalDependency/system_lib//log4j/log4j-api.jar:/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_2/../../externalDependency/system_lib//log4j/log4j-core.jar:/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_2/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_2/aqa-tests/TKG/../TKG/output_17666133081698/PatModImg_AppMod_1/20251224-170538-PatModImgTest/stf_parameters.properties, , /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_2/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_2/aqa-tests/TKG/../TKG/output_17666133081698/PatModImg_AppMod_1/20251224-170538-PatModImgTest" [2025-12-24T22:05:38.685Z] 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-12-24T22:05:38.685Z] GEN stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-12-24T22:05:39.515Z] GEN 17:05:39.083 - Found test. Project: 'openjdk.test.modularity' class: 'PatModImgTest.class' Dir: '/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin' [2025-12-24T22:05:39.515Z] GEN 17:05:39.095 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModImgTest' [2025-12-24T22:05:39.515Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2025-12-24T22:05:39.515Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayService [2025-12-24T22:05:39.515Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper [2025-12-24T22:05:39.515Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl1 [2025-12-24T22:05:39.515Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet [2025-12-24T22:05:39.515Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello [2025-12-24T22:05:39.515Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola [2025-12-24T22:05:39.515Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl2 [2025-12-24T22:05:39.515Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hi [2025-12-24T22:05:39.515Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override [2025-12-24T22:05:39.515Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override-new [2025-12-24T22:05:39.515Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl3 [2025-12-24T22:05:39.515Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl4 [2025-12-24T22:05:39.515Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common [2025-12-24T22:05:39.516Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests [2025-12-24T22:05:39.516Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin [2025-12-24T22:05:39.516Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_2/jvmtest/system/STF/stf.core/bin [2025-12-24T22:05:39.516Z] GEN /Users/admin/workspace/externalDependency/system_lib/log4j/log4j-api.jar [2025-12-24T22:05:39.516Z] GEN /Users/admin/workspace/externalDependency/system_lib/log4j/log4j-core.jar [2025-12-24T22:05:39.516Z] GEN /Users/admin/workspace/externalDependency/system_lib/junit/junit.jar [2025-12-24T22:05:39.516Z] GEN 17:05:39.198 - Using Mode NoOptions. Values = '' [2025-12-24T22:05:39.516Z] GEN 17:05:39.248 - [2025-12-24T22:05:39.516Z] GEN 17:05:39.249 - Test command summary: [2025-12-24T22:05:39.516Z] GEN 17:05:39.249 - Step Stage Command Description [2025-12-24T22:05:39.516Z] GEN 17:05:39.249 - -----+--------+-----------------+------------ [2025-12-24T22:05:39.516Z] GEN 17:05:39.249 - 1 execute jar Create com.hello jar [2025-12-24T22:05:39.516Z] GEN 17:05:39.249 - 2 execute jar Create com.hola jar [2025-12-24T22:05:39.516Z] GEN 17:05:39.249 - 3 execute jar Create com.helper jar [2025-12-24T22:05:39.516Z] GEN 17:05:39.249 - 4 execute jar Create com.discreet jar [2025-12-24T22:05:39.516Z] GEN 17:05:39.250 - 5 execute jar Create tests jar [2025-12-24T22:05:39.516Z] GEN 17:05:39.250 - 6 execute jlink Create runtime image for PatchModule test [2025-12-24T22:05:39.516Z] GEN 17:05:39.250 - 7 execute jar Create com.hello jar [2025-12-24T22:05:39.516Z] GEN 17:05:39.250 - 8 execute jar create java.xml.jar [2025-12-24T22:05:39.516Z] GEN 17:05:39.250 - 9 execute Run java Verify if we can patch an Application module using exploded directory [2025-12-24T22:05:39.516Z] GEN 17:05:39.250 - 10 execute Run java Verify if we can patch an Application module using modular jar [2025-12-24T22:05:39.516Z] STF 17:05:39.255 - [2025-12-24T22:05:39.516Z] STF 17:05:39.255 - Script generation completed [2025-12-24T22:05:39.516Z] STF 17:05:39.255 - [2025-12-24T22:05:39.516Z] STF 17:05:39.256 - [2025-12-24T22:05:39.516Z] STF 17:05:39.256 - ======================= S E T U P ======================= [2025-12-24T22:05:39.516Z] STF 17:05:39.256 - Running setup: perl /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_2/aqa-tests/TKG/../TKG/output_17666133081698/PatModImg_AppMod_1/20251224-170538-PatModImgTest/setUp.pl [2025-12-24T22:05:39.516Z] STF 17:05:39.309 - SETUP stage completed [2025-12-24T22:05:39.516Z] STF 17:05:39.311 - [2025-12-24T22:05:39.516Z] STF 17:05:39.311 - ==================== E X E C U T E - ==================== [2025-12-24T22:05:39.516Z] STF 17:05:39.311 - Running execute: perl /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_2/aqa-tests/TKG/../TKG/output_17666133081698/PatModImg_AppMod_1/20251224-170538-PatModImgTest/execute.pl [2025-12-24T22:05:39.516Z] STF 17:05:39.349 - [2025-12-24T22:05:39.516Z] STF 17:05:39.349 - Java version [2025-12-24T22:05:39.516Z] STF 17:05:39.349 - Running: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/java -version [2025-12-24T22:05:39.516Z] Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-12-24T22:05:39.516Z] STF 17:05:39.388 - [2025-12-24T22:05:39.516Z] STF 17:05:39.388 - +------ Step 1 - Create com.hello jar [2025-12-24T22:05:39.516Z] STF 17:05:39.388 - | Create modular jar [2025-12-24T22:05:39.516Z] STF 17:05:39.388 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2025-12-24T22:05:39.516Z] STF 17:05:39.388 - | ModuleVersion: null [2025-12-24T22:05:39.516Z] STF 17:05:39.388 - | MainClass: null [2025-12-24T22:05:39.516Z] STF 17:05:39.389 - | HashModules: null [2025-12-24T22:05:39.516Z] STF 17:05:39.389 - | [2025-12-24T22:05:39.516Z] STF 17:05:39.389 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_2/aqa-tests/TKG/output_17666133081698/PatModImg_AppMod_1/20251224-170538-PatModImgTest/modules/1.com.hello.jar -C /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello . [2025-12-24T22:05:39.516Z] STF 17:05:39.389 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_2/aqa-tests/TKG/output_17666133081698/PatModImg_AppMod_1/20251224-170538-PatModImgTest/results/1.CMJ.stderr [2025-12-24T22:05:39.516Z] STF 17:05:39.389 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_2/aqa-tests/TKG/output_17666133081698/PatModImg_AppMod_1/20251224-170538-PatModImgTest/results/1.CMJ.stdout [2025-12-24T22:05:39.516Z] openjdk version "21.0.10-beta" 2026-01-20 [2025-12-24T22:05:39.516Z] OpenJDK Runtime Environment Temurin-21.0.10+6-202512242003 (build 21.0.10-beta+6-ea) [2025-12-24T22:05:39.516Z] OpenJDK 64-Bit Server VM Temurin-21.0.10+6-202512242003 (build 21.0.10-beta+6-ea, mixed mode, sharing) [2025-12-24T22:05:39.516Z] STF 17:05:39.398 - Monitoring processes: CMJ [2025-12-24T22:05:39.893Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-12-24T22:05:39.893Z] STF 17:05:39.606 - Monitoring Report Summary: [2025-12-24T22:05:39.893Z] STF 17:05:39.606 - o Process CMJ ended with the expected exit code (0) [2025-12-24T22:05:39.893Z] STF 17:05:39.606 - Created modular jar: 1.com.hello.jar [2025-12-24T22:05:39.893Z] STF 17:05:39.606 - [2025-12-24T22:05:39.893Z] STF 17:05:39.606 - +------ Step 2 - Create com.hola jar [2025-12-24T22:05:39.893Z] STF 17:05:39.606 - | Create modular jar [2025-12-24T22:05:39.893Z] STF 17:05:39.606 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2025-12-24T22:05:39.893Z] STF 17:05:39.606 - | ModuleVersion: null [2025-12-24T22:05:39.893Z] STF 17:05:39.606 - | MainClass: null [2025-12-24T22:05:39.893Z] STF 17:05:39.606 - | HashModules: null [2025-12-24T22:05:39.893Z] STF 17:05:39.607 - | [2025-12-24T22:05:39.893Z] STF 17:05:39.607 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_2/aqa-tests/TKG/output_17666133081698/PatModImg_AppMod_1/20251224-170538-PatModImgTest/modules/2.com.hola.jar -C /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola . [2025-12-24T22:05:39.893Z] STF 17:05:39.607 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_2/aqa-tests/TKG/output_17666133081698/PatModImg_AppMod_1/20251224-170538-PatModImgTest/results/2.CMJ.stderr [2025-12-24T22:05:39.893Z] STF 17:05:39.607 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_2/aqa-tests/TKG/output_17666133081698/PatModImg_AppMod_1/20251224-170538-PatModImgTest/results/2.CMJ.stdout [2025-12-24T22:05:39.893Z] STF 17:05:39.608 - Monitoring processes: CMJ [2025-12-24T22:05:39.893Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-12-24T22:05:40.295Z] STF 17:05:39.823 - Monitoring Report Summary: [2025-12-24T22:05:40.295Z] STF 17:05:39.823 - o Process CMJ ended with the expected exit code (0) [2025-12-24T22:05:40.296Z] STF 17:05:39.823 - Created modular jar: 2.com.hola.jar [2025-12-24T22:05:40.296Z] STF 17:05:39.823 - [2025-12-24T22:05:40.296Z] STF 17:05:39.823 - +------ Step 3 - Create com.helper jar [2025-12-24T22:05:40.296Z] STF 17:05:39.823 - | Create modular jar [2025-12-24T22:05:40.296Z] STF 17:05:39.823 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2025-12-24T22:05:40.296Z] STF 17:05:39.823 - | ModuleVersion: null [2025-12-24T22:05:40.296Z] STF 17:05:39.823 - | MainClass: null [2025-12-24T22:05:40.296Z] STF 17:05:39.823 - | HashModules: null [2025-12-24T22:05:40.296Z] STF 17:05:39.823 - | [2025-12-24T22:05:40.296Z] STF 17:05:39.823 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_2/aqa-tests/TKG/output_17666133081698/PatModImg_AppMod_1/20251224-170538-PatModImgTest/modules/3.com.helper.jar -C /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper . [2025-12-24T22:05:40.296Z] STF 17:05:39.824 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_2/aqa-tests/TKG/output_17666133081698/PatModImg_AppMod_1/20251224-170538-PatModImgTest/results/3.CMJ.stderr [2025-12-24T22:05:40.296Z] STF 17:05:39.824 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_2/aqa-tests/TKG/output_17666133081698/PatModImg_AppMod_1/20251224-170538-PatModImgTest/results/3.CMJ.stdout [2025-12-24T22:05:40.296Z] STF 17:05:39.825 - Monitoring processes: CMJ [2025-12-24T22:05:40.296Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-12-24T22:05:40.296Z] STF 17:05:40.031 - Monitoring Report Summary: [2025-12-24T22:05:40.296Z] STF 17:05:40.031 - o Process CMJ ended with the expected exit code (0) [2025-12-24T22:05:40.296Z] STF 17:05:40.031 - Created modular jar: 3.com.helper.jar [2025-12-24T22:05:40.296Z] STF 17:05:40.031 - [2025-12-24T22:05:40.296Z] STF 17:05:40.031 - +------ Step 4 - Create com.discreet jar [2025-12-24T22:05:40.296Z] STF 17:05:40.031 - | Create modular jar [2025-12-24T22:05:40.296Z] STF 17:05:40.031 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2025-12-24T22:05:40.296Z] STF 17:05:40.031 - | ModuleVersion: null [2025-12-24T22:05:40.296Z] STF 17:05:40.031 - | MainClass: null [2025-12-24T22:05:40.296Z] STF 17:05:40.031 - | HashModules: null [2025-12-24T22:05:40.296Z] STF 17:05:40.031 - | [2025-12-24T22:05:40.296Z] STF 17:05:40.032 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_2/aqa-tests/TKG/output_17666133081698/PatModImg_AppMod_1/20251224-170538-PatModImgTest/modules/4.com.discreet.jar -C /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet . [2025-12-24T22:05:40.296Z] STF 17:05:40.032 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_2/aqa-tests/TKG/output_17666133081698/PatModImg_AppMod_1/20251224-170538-PatModImgTest/results/4.CMJ.stderr [2025-12-24T22:05:40.296Z] STF 17:05:40.032 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_2/aqa-tests/TKG/output_17666133081698/PatModImg_AppMod_1/20251224-170538-PatModImgTest/results/4.CMJ.stdout [2025-12-24T22:05:40.296Z] STF 17:05:40.033 - Monitoring processes: CMJ [2025-12-24T22:05:40.296Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-12-24T22:05:40.665Z] STF 17:05:40.223 - Monitoring Report Summary: [2025-12-24T22:05:40.665Z] STF 17:05:40.223 - o Process CMJ ended with the expected exit code (0) [2025-12-24T22:05:40.665Z] STF 17:05:40.223 - Created modular jar: 4.com.discreet.jar [2025-12-24T22:05:40.665Z] STF 17:05:40.223 - [2025-12-24T22:05:40.665Z] STF 17:05:40.223 - +------ Step 5 - Create tests jar [2025-12-24T22:05:40.665Z] STF 17:05:40.223 - | Create modular jar [2025-12-24T22:05:40.665Z] STF 17:05:40.223 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2025-12-24T22:05:40.665Z] STF 17:05:40.223 - | ModuleVersion: null [2025-12-24T22:05:40.665Z] STF 17:05:40.223 - | MainClass: null [2025-12-24T22:05:40.665Z] STF 17:05:40.223 - | HashModules: null [2025-12-24T22:05:40.665Z] STF 17:05:40.223 - | [2025-12-24T22:05:40.665Z] STF 17:05:40.223 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_2/aqa-tests/TKG/output_17666133081698/PatModImg_AppMod_1/20251224-170538-PatModImgTest/modules/5.com.test.jar -C /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test . [2025-12-24T22:05:40.665Z] STF 17:05:40.223 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_2/aqa-tests/TKG/output_17666133081698/PatModImg_AppMod_1/20251224-170538-PatModImgTest/results/5.CMJ.stderr [2025-12-24T22:05:40.665Z] STF 17:05:40.223 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_2/aqa-tests/TKG/output_17666133081698/PatModImg_AppMod_1/20251224-170538-PatModImgTest/results/5.CMJ.stdout [2025-12-24T22:05:40.665Z] STF 17:05:40.225 - Monitoring processes: CMJ [2025-12-24T22:05:40.665Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-12-24T22:05:40.665Z] STF 17:05:40.452 - Monitoring Report Summary: [2025-12-24T22:05:40.665Z] STF 17:05:40.452 - o Process CMJ ended with the expected exit code (0) [2025-12-24T22:05:40.665Z] STF 17:05:40.452 - Created modular jar: 5.com.test.jar [2025-12-24T22:05:40.665Z] STF 17:05:40.452 - [2025-12-24T22:05:40.665Z] STF 17:05:40.452 - +------ Step 6 - Create runtime image for PatchModule test [2025-12-24T22:05:40.665Z] STF 17:05:40.452 - | Run jlink to create runtime image [2025-12-24T22:05:40.665Z] STF 17:05:40.452 - | ImageName: XpJVM [2025-12-24T22:05:40.665Z] STF 17:05:40.452 - | [2025-12-24T22:05:40.665Z] STF 17:05:40.452 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/jlink --module-path /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/jmods:/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_2/aqa-tests/TKG/output_17666133081698/PatModImg_AppMod_1/20251224-170538-PatModImgTest/modules --add-modules com.hello,com.hola,com.test,com.helper,com.discreet --output /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_2/aqa-tests/TKG/output_17666133081698/PatModImg_AppMod_1/20251224-170538-PatModImgTest/tmp/6.XpJVM [2025-12-24T22:05:40.665Z] STF 17:05:40.453 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_2/aqa-tests/TKG/output_17666133081698/PatModImg_AppMod_1/20251224-170538-PatModImgTest/results/6.JLNK.stderr [2025-12-24T22:05:40.665Z] STF 17:05:40.453 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_2/aqa-tests/TKG/output_17666133081698/PatModImg_AppMod_1/20251224-170538-PatModImgTest/results/6.JLNK.stdout [2025-12-24T22:05:40.665Z] STF 17:05:40.454 - Monitoring processes: JLNK [2025-12-24T22:05:41.056Z] JLNK stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-12-24T22:05:42.495Z] STF 17:05:42.238 - Monitoring Report Summary: [2025-12-24T22:05:42.495Z] STF 17:05:42.238 - o Process JLNK ended with the expected exit code (0) [2025-12-24T22:05:42.495Z] STF 17:05:42.238 - [2025-12-24T22:05:42.495Z] STF 17:05:42.238 - +------ Step 7 - Create com.hello jar [2025-12-24T22:05:42.495Z] STF 17:05:42.238 - | Create modular jar [2025-12-24T22:05:42.495Z] STF 17:05:42.238 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2025-12-24T22:05:42.495Z] STF 17:05:42.238 - | ModuleVersion: null [2025-12-24T22:05:42.495Z] STF 17:05:42.238 - | MainClass: null [2025-12-24T22:05:42.495Z] STF 17:05:42.238 - | HashModules: null [2025-12-24T22:05:42.495Z] STF 17:05:42.238 - | [2025-12-24T22:05:42.495Z] STF 17:05:42.238 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_2/aqa-tests/TKG/output_17666133081698/PatModImg_AppMod_1/20251224-170538-PatModImgTest/modules/7.com.hello.jar -C /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello . [2025-12-24T22:05:42.495Z] STF 17:05:42.238 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_2/aqa-tests/TKG/output_17666133081698/PatModImg_AppMod_1/20251224-170538-PatModImgTest/results/7.CMJ.stderr [2025-12-24T22:05:42.495Z] STF 17:05:42.238 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_2/aqa-tests/TKG/output_17666133081698/PatModImg_AppMod_1/20251224-170538-PatModImgTest/results/7.CMJ.stdout [2025-12-24T22:05:42.495Z] STF 17:05:42.240 - Monitoring processes: CMJ [2025-12-24T22:05:42.495Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-12-24T22:05:42.887Z] STF 17:05:42.416 - Monitoring Report Summary: [2025-12-24T22:05:42.887Z] STF 17:05:42.416 - o Process CMJ ended with the expected exit code (0) [2025-12-24T22:05:42.887Z] STF 17:05:42.416 - Created modular jar: 7.com.hello.jar [2025-12-24T22:05:42.887Z] STF 17:05:42.416 - [2025-12-24T22:05:42.887Z] STF 17:05:42.416 - +------ Step 8 - create java.xml.jar [2025-12-24T22:05:42.887Z] STF 17:05:42.416 - | Create modular jar [2025-12-24T22:05:42.887Z] STF 17:05:42.416 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml [2025-12-24T22:05:42.887Z] STF 17:05:42.416 - | ModuleVersion: null [2025-12-24T22:05:42.887Z] STF 17:05:42.416 - | MainClass: null [2025-12-24T22:05:42.887Z] STF 17:05:42.416 - | HashModules: null [2025-12-24T22:05:42.887Z] STF 17:05:42.416 - | [2025-12-24T22:05:42.887Z] STF 17:05:42.417 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_2/aqa-tests/TKG/output_17666133081698/PatModImg_AppMod_1/20251224-170538-PatModImgTest/modules/8.java.xml.jar -C /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/java.xml . [2025-12-24T22:05:42.887Z] STF 17:05:42.417 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_2/aqa-tests/TKG/output_17666133081698/PatModImg_AppMod_1/20251224-170538-PatModImgTest/results/8.CMJ.stderr [2025-12-24T22:05:42.887Z] STF 17:05:42.417 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_2/aqa-tests/TKG/output_17666133081698/PatModImg_AppMod_1/20251224-170538-PatModImgTest/results/8.CMJ.stdout [2025-12-24T22:05:42.887Z] STF 17:05:42.418 - Monitoring processes: CMJ [2025-12-24T22:05:42.887Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-12-24T22:05:42.887Z] STF 17:05:42.644 - Monitoring Report Summary: [2025-12-24T22:05:42.887Z] STF 17:05:42.644 - o Process CMJ ended with the expected exit code (0) [2025-12-24T22:05:42.887Z] STF 17:05:42.645 - Created modular jar: 8.java.xml.jar [2025-12-24T22:05:42.887Z] STF 17:05:42.645 - [2025-12-24T22:05:42.887Z] STF 17:05:42.645 - +------ Step 9 - Verify if we can patch an Application module using exploded directory [2025-12-24T22:05:42.887Z] STF 17:05:42.645 - | Run foreground process [2025-12-24T22:05:42.887Z] STF 17:05:42.645 - | Program: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_2/aqa-tests/TKG/output_17666133081698/PatModImg_AppMod_1/20251224-170538-PatModImgTest/tmp/6.XpJVM/bin/java [2025-12-24T22:05:42.887Z] STF 17:05:42.645 - | Mnemonic: OT21 [2025-12-24T22:05:42.887Z] STF 17:05:42.645 - | Echo: ECHO_ON [2025-12-24T22:05:42.887Z] STF 17:05:42.645 - | Expectation: CLEAN_RUN within 5m [2025-12-24T22:05:42.887Z] STF 17:05:42.645 - | [2025-12-24T22:05:42.887Z] STF 17:05:42.645 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_2/aqa-tests/TKG/output_17666133081698/PatModImg_AppMod_1/20251224-170538-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module com.hello=/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello -XX:-UseCompressedOops -classpath /Users/admin/workspace/externalDependency/system_lib/junit/junit.jar:/Users/admin/workspace/externalDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingAppModule [2025-12-24T22:05:42.887Z] STF 17:05:42.645 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_2/aqa-tests/TKG/output_17666133081698/PatModImg_AppMod_1/20251224-170538-PatModImgTest/results/9.OT21.stderr [2025-12-24T22:05:42.887Z] STF 17:05:42.645 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_2/aqa-tests/TKG/output_17666133081698/PatModImg_AppMod_1/20251224-170538-PatModImgTest/results/9.OT21.stdout [2025-12-24T22:05:42.887Z] STF 17:05:42.647 - Monitoring processes: OT21 [2025-12-24T22:05:43.656Z] OT21 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-12-24T22:05:44.437Z] OT21 stderr WARNING: module-info.class ignored in patch: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello [2025-12-24T22:05:44.823Z] OT21 JUnit version 4.12 [2025-12-24T22:05:44.823Z] OT21 . [2025-12-24T22:05:44.823Z] OT21 Time: 0.008 [2025-12-24T22:05:44.823Z] OT21 [2025-12-24T22:05:44.823Z] OT21 OK (1 test) [2025-12-24T22:05:44.823Z] OT21 [2025-12-24T22:05:44.823Z] STF 17:05:44.645 - Monitoring Report Summary: [2025-12-24T22:05:44.823Z] STF 17:05:44.645 - o Process OT21 ended with the expected exit code (0) [2025-12-24T22:05:44.823Z] STF 17:05:44.645 - [2025-12-24T22:05:44.823Z] STF 17:05:44.645 - +------ Step 10 - Verify if we can patch an Application module using modular jar [2025-12-24T22:05:44.823Z] STF 17:05:44.645 - | Run foreground process [2025-12-24T22:05:44.823Z] STF 17:05:44.645 - | Program: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_2/aqa-tests/TKG/output_17666133081698/PatModImg_AppMod_1/20251224-170538-PatModImgTest/tmp/6.XpJVM/bin/java [2025-12-24T22:05:44.823Z] STF 17:05:44.645 - | Mnemonic: OT22 [2025-12-24T22:05:44.823Z] STF 17:05:44.645 - | Echo: ECHO_ON [2025-12-24T22:05:44.823Z] STF 17:05:44.645 - | Expectation: CLEAN_RUN within 5m [2025-12-24T22:05:44.823Z] STF 17:05:44.645 - | [2025-12-24T22:05:44.823Z] STF 17:05:44.646 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_2/aqa-tests/TKG/output_17666133081698/PatModImg_AppMod_1/20251224-170538-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module com.hello=/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_2/aqa-tests/TKG/output_17666133081698/PatModImg_AppMod_1/20251224-170538-PatModImgTest/modules/7.com.hello.jar -XX:-UseCompressedOops -classpath /Users/admin/workspace/externalDependency/system_lib/junit/junit.jar:/Users/admin/workspace/externalDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingAppModule [2025-12-24T22:05:44.823Z] STF 17:05:44.646 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_2/aqa-tests/TKG/output_17666133081698/PatModImg_AppMod_1/20251224-170538-PatModImgTest/results/10.OT22.stderr [2025-12-24T22:05:44.823Z] STF 17:05:44.646 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_2/aqa-tests/TKG/output_17666133081698/PatModImg_AppMod_1/20251224-170538-PatModImgTest/results/10.OT22.stdout [2025-12-24T22:05:44.823Z] STF 17:05:44.647 - Monitoring processes: OT22 [2025-12-24T22:05:44.823Z] OT22 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-12-24T22:05:45.184Z] OT22 stderr WARNING: module-info.class ignored in patch: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_2/aqa-tests/TKG/output_17666133081698/PatModImg_AppMod_1/20251224-170538-PatModImgTest/modules/7.com.hello.jar [2025-12-24T22:05:45.184Z] OT22 JUnit version 4.12 [2025-12-24T22:05:45.184Z] OT22 . [2025-12-24T22:05:45.184Z] OT22 Time: 0.006 [2025-12-24T22:05:45.184Z] OT22 [2025-12-24T22:05:45.184Z] OT22 OK (1 test) [2025-12-24T22:05:45.184Z] OT22 [2025-12-24T22:05:45.184Z] STF 17:05:44.865 - Monitoring Report Summary: [2025-12-24T22:05:45.184Z] STF 17:05:44.865 - o Process OT22 ended with the expected exit code (0) [2025-12-24T22:05:45.184Z] STF 17:05:44.865 - EXECUTE stage completed [2025-12-24T22:05:45.184Z] STF 17:05:44.928 - [2025-12-24T22:05:45.184Z] STF 17:05:44.928 - ==================== T E A R D O W N ==================== [2025-12-24T22:05:45.184Z] STF 17:05:44.928 - Running teardown: perl /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_2/aqa-tests/TKG/../TKG/output_17666133081698/PatModImg_AppMod_1/20251224-170538-PatModImgTest/tearDown.pl [2025-12-24T22:05:45.184Z] STF 17:05:44.976 - TEARDOWN stage completed [2025-12-24T22:05:45.184Z] STF 17:05:44.986 - [2025-12-24T22:05:45.184Z] STF 17:05:44.986 - ===================== R E S U L T S ===================== [2025-12-24T22:05:45.184Z] STF 17:05:44.986 - Stage results: [2025-12-24T22:05:45.184Z] STF 17:05:44.986 - setUp: pass [2025-12-24T22:05:45.184Z] STF 17:05:44.986 - execute: pass [2025-12-24T22:05:45.184Z] STF 17:05:44.986 - teardown: pass [2025-12-24T22:05:45.184Z] STF 17:05:44.986 - [2025-12-24T22:05:45.184Z] STF 17:05:44.986 - Overall result: PASSED [2025-12-24T22:05:45.184Z] ----------------------------------- [2025-12-24T22:05:45.184Z] PatModImg_AppMod_1_PASSED [2025-12-24T22:05:45.184Z] ----------------------------------- [2025-12-24T22:05:45.184Z] [2025-12-24T22:05:45.184Z] TEST TEARDOWN: [2025-12-24T22:05:45.184Z] Nothing to be done for teardown. [2025-12-24T22:05:45.184Z] PatModImg_AppMod_1 Finish Time: Wed Dec 24 17:05:45 2025 Epoch Time (ms): 1766613945024