PatModImg_AppMod_1

[2025-06-18T20:30:48.856Z] Running test PatModImg_AppMod_1 ... [2025-06-18T20:30:48.856Z] =============================================== [2025-06-18T20:30:49.281Z] PatModImg_AppMod_1 Start Time: Wed Jun 18 13:30:48 2025 Epoch Time (ms): 1750278648781 [2025-06-18T20:30:49.281Z] variation: Mode650 [2025-06-18T20:30:49.281Z] JVM_OPTIONS: -XX:-UseCompressedOops [2025-06-18T20:30:49.281Z] { \ [2025-06-18T20:30:49.281Z] echo ""; echo "TEST SETUP:"; \ [2025-06-18T20:30:49.281Z] echo "Nothing to be done for setup."; \ [2025-06-18T20:30:49.281Z] mkdir -p "/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/../TKG/output_1750277090451/PatModImg_AppMod_1"; \ [2025-06-18T20:30:49.281Z] cd "/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/../TKG/output_1750277090451/PatModImg_AppMod_1"; \ [2025-06-18T20:30:49.281Z] echo ""; echo "TESTING:"; \ [2025-06-18T20:30:49.281Z] perl /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF/stf.core/scripts/stf.pl -test-root="/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF;/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/../../jvmtest/system/modularity/..//aqa-systemtest""" -systemtest-prereqs="/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/../../testDependency/system_lib/" -java-args=' -XX:-UseCompressedOops ' -results-root="/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/../TKG/output_1750277090451/PatModImg_AppMod_1" -test=PatModImgTest -test-args="variant=AppMod"; \ [2025-06-18T20:30:49.281Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatModImg_AppMod_1""_PASSED"; echo "-----------------------------------"; cd /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/..; rm -f -r "/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/../TKG/output_1750277090451/PatModImg_AppMod_1"; else echo "-----------------------------------"; echo "PatModImg_AppMod_1""_FAILED"; echo "-----------------------------------"; fi; \ [2025-06-18T20:30:49.281Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-06-18T20:30:49.281Z] echo "Nothing to be done for teardown."; \ [2025-06-18T20:30:49.281Z] } 2>&1 | tee -a "/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/../TKG/output_1750277090451/TestTargetResult"; [2025-06-18T20:30:49.281Z] [2025-06-18T20:30:49.282Z] TEST SETUP: [2025-06-18T20:30:49.282Z] Nothing to be done for setup. [2025-06-18T20:30:49.282Z] [2025-06-18T20:30:49.282Z] TESTING: [2025-06-18T20:30:49.282Z] STF 13:30:48.964 - ========================= S T F ========================= [2025-06-18T20:30:49.282Z] systemtest-prereqs has been processed, and set to: /Users/admin/workspace/testDependency/system_libRetrieving amount of free space on drive containing /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/../TKG/output_1750277090451/PatModImg_AppMod_1 [2025-06-18T20:30:49.282Z] There is 10851 Mb free [2025-06-18T20:30:49.282Z] STF 13:30:48.976 - ================== G E N E R A T I O N ================== [2025-06-18T20:30:49.282Z] STF 13:30:48.978 - Checking JVM: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/jdkbinary/j2sdk-image/Contents/Home/bin/../ [2025-06-18T20:30:49.282Z] STF 13:30:48.978 - Starting process to generate scripts: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/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_x86-64_mac_testList_0/jvmtest/system/STF/stf.core/scripts/../../stf.load/bin/stf.load.jar -classpath /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/../../testDependency/system_lib//asm/asm.jar:/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/../../testDependency/system_lib//asm/asm-commons.jar:/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/../../testDependency/system_lib//log4j/log4j-api.jar:/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/../../testDependency/system_lib//log4j/log4j-core.jar:/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/../TKG/output_1750277090451/PatModImg_AppMod_1/20250618-133048-PatModImgTest/stf_parameters.properties, , /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/../TKG/output_1750277090451/PatModImg_AppMod_1/20250618-133048-PatModImgTest" [2025-06-18T20:30:49.282Z] GEN stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-06-18T20:30:54.836Z] GEN 13:30:52.148 - Found test. Project: 'openjdk.test.modularity' class: 'PatModImgTest.class' Dir: '/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin' [2025-06-18T20:30:54.836Z] GEN 13:30:52.171 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModImgTest' [2025-06-18T20:30:54.836Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2025-06-18T20:30:54.836Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayService [2025-06-18T20:30:54.836Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper [2025-06-18T20:30:54.836Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl1 [2025-06-18T20:30:54.836Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet [2025-06-18T20:30:54.836Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello [2025-06-18T20:30:54.836Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola [2025-06-18T20:30:54.836Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl2 [2025-06-18T20:30:54.836Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hi [2025-06-18T20:30:54.836Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override [2025-06-18T20:30:54.836Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override-new [2025-06-18T20:30:54.836Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl3 [2025-06-18T20:30:54.837Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl4 [2025-06-18T20:30:54.837Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common [2025-06-18T20:30:54.837Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests [2025-06-18T20:30:54.837Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin [2025-06-18T20:30:54.837Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/jvmtest/system/STF/stf.core/bin [2025-06-18T20:30:54.837Z] GEN /Users/admin/workspace/testDependency/system_lib/log4j/log4j-api.jar [2025-06-18T20:30:54.837Z] GEN /Users/admin/workspace/testDependency/system_lib/log4j/log4j-core.jar [2025-06-18T20:30:54.837Z] GEN /Users/admin/workspace/testDependency/system_lib/junit/junit.jar [2025-06-18T20:30:54.837Z] GEN 13:30:54.045 - Using Mode NoOptions. Values = '' [2025-06-18T20:30:54.837Z] GEN 13:30:54.285 - [2025-06-18T20:30:54.837Z] GEN 13:30:54.285 - Test command summary: [2025-06-18T20:30:54.837Z] GEN 13:30:54.285 - Step Stage Command Description [2025-06-18T20:30:54.837Z] GEN 13:30:54.285 - -----+--------+-----------------+------------ [2025-06-18T20:30:54.837Z] GEN 13:30:54.285 - 1 execute jar Create com.hello jar [2025-06-18T20:30:54.837Z] GEN 13:30:54.285 - 2 execute jar Create com.hola jar [2025-06-18T20:30:54.837Z] GEN 13:30:54.286 - 3 execute jar Create com.helper jar [2025-06-18T20:30:54.837Z] GEN 13:30:54.286 - 4 execute jar Create com.discreet jar [2025-06-18T20:30:54.837Z] GEN 13:30:54.286 - 5 execute jar Create tests jar [2025-06-18T20:30:54.837Z] GEN 13:30:54.286 - 6 execute jlink Create runtime image for PatchModule test [2025-06-18T20:30:54.837Z] GEN 13:30:54.286 - 7 execute jar Create com.hello jar [2025-06-18T20:30:54.837Z] GEN 13:30:54.286 - 8 execute jar create java.xml.jar [2025-06-18T20:30:54.837Z] GEN 13:30:54.286 - 9 execute Run java Verify if we can patch an Application module using exploded directory [2025-06-18T20:30:54.837Z] GEN 13:30:54.286 - 10 execute Run java Verify if we can patch an Application module using modular jar [2025-06-18T20:30:54.837Z] STF 13:30:54.377 - [2025-06-18T20:30:54.837Z] STF 13:30:54.377 - Script generation completed [2025-06-18T20:30:54.837Z] STF 13:30:54.377 - [2025-06-18T20:30:54.837Z] STF 13:30:54.377 - [2025-06-18T20:30:54.837Z] STF 13:30:54.377 - ======================= S E T U P ======================= [2025-06-18T20:30:54.837Z] STF 13:30:54.377 - Running setup: perl /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/../TKG/output_1750277090451/PatModImg_AppMod_1/20250618-133048-PatModImgTest/setUp.pl [2025-06-18T20:30:54.837Z] STF 13:30:54.528 - SETUP stage completed [2025-06-18T20:30:54.837Z] STF 13:30:54.548 - [2025-06-18T20:30:54.837Z] STF 13:30:54.548 - ==================== E X E C U T E - ==================== [2025-06-18T20:30:54.837Z] STF 13:30:54.548 - Running execute: perl /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/../TKG/output_1750277090451/PatModImg_AppMod_1/20250618-133048-PatModImgTest/execute.pl [2025-06-18T20:30:55.286Z] STF 13:30:54.799 - [2025-06-18T20:30:55.286Z] STF 13:30:54.799 - Java version [2025-06-18T20:30:55.286Z] STF 13:30:54.799 - Running: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/jdkbinary/j2sdk-image/Contents/Home/bin/java -version [2025-06-18T20:30:55.286Z] Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-06-18T20:30:55.755Z] openjdk version "21.0.8-beta" 2025-07-15 [2025-06-18T20:30:55.755Z] OpenJDK Runtime Environment Temurin-21.0.8+7-202506181904 (build 21.0.8-beta+7-ea) [2025-06-18T20:30:55.755Z] OpenJDK 64-Bit Server VM Temurin-21.0.8+7-202506181904 (build 21.0.8-beta+7-ea, mixed mode) [2025-06-18T20:30:55.755Z] STF 13:30:55.208 - [2025-06-18T20:30:55.755Z] STF 13:30:55.208 - +------ Step 1 - Create com.hello jar [2025-06-18T20:30:55.755Z] STF 13:30:55.208 - | Create modular jar [2025-06-18T20:30:55.755Z] STF 13:30:55.208 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2025-06-18T20:30:55.755Z] STF 13:30:55.208 - | ModuleVersion: null [2025-06-18T20:30:55.755Z] STF 13:30:55.208 - | MainClass: null [2025-06-18T20:30:55.755Z] STF 13:30:55.208 - | HashModules: null [2025-06-18T20:30:55.755Z] STF 13:30:55.208 - | [2025-06-18T20:30:55.755Z] STF 13:30:55.209 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_1750277090451/PatModImg_AppMod_1/20250618-133048-PatModImgTest/modules/1.com.hello.jar -C /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello . [2025-06-18T20:30:55.755Z] STF 13:30:55.209 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_1750277090451/PatModImg_AppMod_1/20250618-133048-PatModImgTest/results/1.CMJ.stderr [2025-06-18T20:30:55.755Z] STF 13:30:55.209 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_1750277090451/PatModImg_AppMod_1/20250618-133048-PatModImgTest/results/1.CMJ.stdout [2025-06-18T20:30:55.755Z] STF 13:30:55.246 - Monitoring processes: CMJ [2025-06-18T20:30:55.755Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-06-18T20:30:57.529Z] STF 13:30:57.176 - Monitoring Report Summary: [2025-06-18T20:30:57.529Z] STF 13:30:57.176 - o Process CMJ ended with the expected exit code (0) [2025-06-18T20:30:57.529Z] STF 13:30:57.176 - Created modular jar: 1.com.hello.jar [2025-06-18T20:30:57.529Z] STF 13:30:57.176 - [2025-06-18T20:30:57.529Z] STF 13:30:57.176 - +------ Step 2 - Create com.hola jar [2025-06-18T20:30:57.529Z] STF 13:30:57.176 - | Create modular jar [2025-06-18T20:30:57.529Z] STF 13:30:57.176 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2025-06-18T20:30:57.529Z] STF 13:30:57.176 - | ModuleVersion: null [2025-06-18T20:30:57.529Z] STF 13:30:57.176 - | MainClass: null [2025-06-18T20:30:57.529Z] STF 13:30:57.176 - | HashModules: null [2025-06-18T20:30:57.529Z] STF 13:30:57.176 - | [2025-06-18T20:30:57.529Z] STF 13:30:57.176 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_1750277090451/PatModImg_AppMod_1/20250618-133048-PatModImgTest/modules/2.com.hola.jar -C /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola . [2025-06-18T20:30:57.529Z] STF 13:30:57.176 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_1750277090451/PatModImg_AppMod_1/20250618-133048-PatModImgTest/results/2.CMJ.stderr [2025-06-18T20:30:57.529Z] STF 13:30:57.176 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_1750277090451/PatModImg_AppMod_1/20250618-133048-PatModImgTest/results/2.CMJ.stdout [2025-06-18T20:30:57.529Z] STF 13:30:57.186 - Monitoring processes: CMJ [2025-06-18T20:30:57.529Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-06-18T20:30:58.390Z] STF 13:30:58.083 - Monitoring Report Summary: [2025-06-18T20:30:58.390Z] STF 13:30:58.083 - o Process CMJ ended with the expected exit code (0) [2025-06-18T20:30:58.390Z] STF 13:30:58.083 - Created modular jar: 2.com.hola.jar [2025-06-18T20:30:58.390Z] STF 13:30:58.083 - [2025-06-18T20:30:58.390Z] STF 13:30:58.083 - +------ Step 3 - Create com.helper jar [2025-06-18T20:30:58.390Z] STF 13:30:58.083 - | Create modular jar [2025-06-18T20:30:58.390Z] STF 13:30:58.083 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2025-06-18T20:30:58.390Z] STF 13:30:58.083 - | ModuleVersion: null [2025-06-18T20:30:58.390Z] STF 13:30:58.083 - | MainClass: null [2025-06-18T20:30:58.390Z] STF 13:30:58.083 - | HashModules: null [2025-06-18T20:30:58.390Z] STF 13:30:58.083 - | [2025-06-18T20:30:58.390Z] STF 13:30:58.083 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_1750277090451/PatModImg_AppMod_1/20250618-133048-PatModImgTest/modules/3.com.helper.jar -C /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper . [2025-06-18T20:30:58.390Z] STF 13:30:58.084 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_1750277090451/PatModImg_AppMod_1/20250618-133048-PatModImgTest/results/3.CMJ.stderr [2025-06-18T20:30:58.390Z] STF 13:30:58.084 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_1750277090451/PatModImg_AppMod_1/20250618-133048-PatModImgTest/results/3.CMJ.stdout [2025-06-18T20:30:58.390Z] STF 13:30:58.086 - Monitoring processes: CMJ [2025-06-18T20:30:58.390Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-06-18T20:31:00.840Z] STF 13:31:00.167 - Monitoring Report Summary: [2025-06-18T20:31:00.840Z] STF 13:31:00.167 - o Process CMJ ended with the expected exit code (0) [2025-06-18T20:31:00.840Z] STF 13:31:00.167 - Created modular jar: 3.com.helper.jar [2025-06-18T20:31:00.840Z] STF 13:31:00.167 - [2025-06-18T20:31:00.840Z] STF 13:31:00.167 - +------ Step 4 - Create com.discreet jar [2025-06-18T20:31:00.840Z] STF 13:31:00.167 - | Create modular jar [2025-06-18T20:31:00.840Z] STF 13:31:00.167 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2025-06-18T20:31:00.840Z] STF 13:31:00.167 - | ModuleVersion: null [2025-06-18T20:31:00.840Z] STF 13:31:00.167 - | MainClass: null [2025-06-18T20:31:00.840Z] STF 13:31:00.167 - | HashModules: null [2025-06-18T20:31:00.840Z] STF 13:31:00.167 - | [2025-06-18T20:31:00.840Z] STF 13:31:00.167 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_1750277090451/PatModImg_AppMod_1/20250618-133048-PatModImgTest/modules/4.com.discreet.jar -C /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet . [2025-06-18T20:31:00.840Z] STF 13:31:00.168 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_1750277090451/PatModImg_AppMod_1/20250618-133048-PatModImgTest/results/4.CMJ.stderr [2025-06-18T20:31:00.840Z] STF 13:31:00.168 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_1750277090451/PatModImg_AppMod_1/20250618-133048-PatModImgTest/results/4.CMJ.stdout [2025-06-18T20:31:00.840Z] STF 13:31:00.172 - Monitoring processes: CMJ [2025-06-18T20:31:00.840Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-06-18T20:31:01.284Z] STF 13:31:00.933 - Monitoring Report Summary: [2025-06-18T20:31:01.284Z] STF 13:31:00.933 - o Process CMJ ended with the expected exit code (0) [2025-06-18T20:31:01.284Z] STF 13:31:00.934 - Created modular jar: 4.com.discreet.jar [2025-06-18T20:31:01.284Z] STF 13:31:00.934 - [2025-06-18T20:31:01.284Z] STF 13:31:00.934 - +------ Step 5 - Create tests jar [2025-06-18T20:31:01.284Z] STF 13:31:00.934 - | Create modular jar [2025-06-18T20:31:01.284Z] STF 13:31:00.934 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2025-06-18T20:31:01.284Z] STF 13:31:00.934 - | ModuleVersion: null [2025-06-18T20:31:01.284Z] STF 13:31:00.934 - | MainClass: null [2025-06-18T20:31:01.284Z] STF 13:31:00.934 - | HashModules: null [2025-06-18T20:31:01.284Z] STF 13:31:00.934 - | [2025-06-18T20:31:01.284Z] STF 13:31:00.934 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_1750277090451/PatModImg_AppMod_1/20250618-133048-PatModImgTest/modules/5.com.test.jar -C /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test . [2025-06-18T20:31:01.284Z] STF 13:31:00.934 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_1750277090451/PatModImg_AppMod_1/20250618-133048-PatModImgTest/results/5.CMJ.stderr [2025-06-18T20:31:01.284Z] STF 13:31:00.934 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_1750277090451/PatModImg_AppMod_1/20250618-133048-PatModImgTest/results/5.CMJ.stdout [2025-06-18T20:31:01.284Z] STF 13:31:00.938 - Monitoring processes: CMJ [2025-06-18T20:31:01.284Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-06-18T20:31:02.172Z] STF 13:31:01.949 - Monitoring Report Summary: [2025-06-18T20:31:02.172Z] STF 13:31:01.949 - o Process CMJ ended with the expected exit code (0) [2025-06-18T20:31:02.172Z] STF 13:31:01.949 - Created modular jar: 5.com.test.jar [2025-06-18T20:31:02.172Z] STF 13:31:01.949 - [2025-06-18T20:31:02.172Z] STF 13:31:01.949 - +------ Step 6 - Create runtime image for PatchModule test [2025-06-18T20:31:02.172Z] STF 13:31:01.949 - | Run jlink to create runtime image [2025-06-18T20:31:02.172Z] STF 13:31:01.949 - | ImageName: XpJVM [2025-06-18T20:31:02.172Z] STF 13:31:01.949 - | [2025-06-18T20:31:02.172Z] STF 13:31:01.949 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/jdkbinary/j2sdk-image/Contents/Home/bin/jlink --module-path /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/jdkbinary/j2sdk-image/Contents/Home/jmods:/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_1750277090451/PatModImg_AppMod_1/20250618-133048-PatModImgTest/modules --add-modules com.hello,com.hola,com.test,com.helper,com.discreet --output /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_1750277090451/PatModImg_AppMod_1/20250618-133048-PatModImgTest/tmp/6.XpJVM [2025-06-18T20:31:02.172Z] STF 13:31:01.949 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_1750277090451/PatModImg_AppMod_1/20250618-133048-PatModImgTest/results/6.JLNK.stderr [2025-06-18T20:31:02.172Z] STF 13:31:01.950 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_1750277090451/PatModImg_AppMod_1/20250618-133048-PatModImgTest/results/6.JLNK.stdout [2025-06-18T20:31:02.172Z] STF 13:31:01.953 - Monitoring processes: JLNK [2025-06-18T20:31:02.172Z] JLNK stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-06-18T20:31:11.509Z] STF 13:31:10.122 - Monitoring Report Summary: [2025-06-18T20:31:11.509Z] STF 13:31:10.122 - o Process JLNK ended with the expected exit code (0) [2025-06-18T20:31:11.509Z] STF 13:31:10.122 - [2025-06-18T20:31:11.509Z] STF 13:31:10.122 - +------ Step 7 - Create com.hello jar [2025-06-18T20:31:11.509Z] STF 13:31:10.122 - | Create modular jar [2025-06-18T20:31:11.509Z] STF 13:31:10.122 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2025-06-18T20:31:11.509Z] STF 13:31:10.122 - | ModuleVersion: null [2025-06-18T20:31:11.509Z] STF 13:31:10.122 - | MainClass: null [2025-06-18T20:31:11.509Z] STF 13:31:10.122 - | HashModules: null [2025-06-18T20:31:11.509Z] STF 13:31:10.122 - | [2025-06-18T20:31:11.509Z] STF 13:31:10.123 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_1750277090451/PatModImg_AppMod_1/20250618-133048-PatModImgTest/modules/7.com.hello.jar -C /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello . [2025-06-18T20:31:11.509Z] STF 13:31:10.123 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_1750277090451/PatModImg_AppMod_1/20250618-133048-PatModImgTest/results/7.CMJ.stderr [2025-06-18T20:31:11.509Z] STF 13:31:10.123 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_1750277090451/PatModImg_AppMod_1/20250618-133048-PatModImgTest/results/7.CMJ.stdout [2025-06-18T20:31:11.509Z] STF 13:31:10.133 - Monitoring processes: CMJ [2025-06-18T20:31:11.509Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-06-18T20:31:14.335Z] STF 13:31:13.528 - Monitoring Report Summary: [2025-06-18T20:31:14.335Z] STF 13:31:13.528 - o Process CMJ ended with the expected exit code (0) [2025-06-18T20:31:14.335Z] STF 13:31:13.528 - Created modular jar: 7.com.hello.jar [2025-06-18T20:31:14.335Z] STF 13:31:13.528 - [2025-06-18T20:31:14.335Z] STF 13:31:13.528 - +------ Step 8 - create java.xml.jar [2025-06-18T20:31:14.335Z] STF 13:31:13.528 - | Create modular jar [2025-06-18T20:31:14.335Z] STF 13:31:13.528 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml [2025-06-18T20:31:14.335Z] STF 13:31:13.528 - | ModuleVersion: null [2025-06-18T20:31:14.335Z] STF 13:31:13.528 - | MainClass: null [2025-06-18T20:31:14.335Z] STF 13:31:13.528 - | HashModules: null [2025-06-18T20:31:14.335Z] STF 13:31:13.528 - | [2025-06-18T20:31:14.335Z] STF 13:31:13.529 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_1750277090451/PatModImg_AppMod_1/20250618-133048-PatModImgTest/modules/8.java.xml.jar -C /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/java.xml . [2025-06-18T20:31:14.335Z] STF 13:31:13.529 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_1750277090451/PatModImg_AppMod_1/20250618-133048-PatModImgTest/results/8.CMJ.stderr [2025-06-18T20:31:14.335Z] STF 13:31:13.529 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_1750277090451/PatModImg_AppMod_1/20250618-133048-PatModImgTest/results/8.CMJ.stdout [2025-06-18T20:31:14.335Z] STF 13:31:13.531 - Monitoring processes: CMJ [2025-06-18T20:31:14.335Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-06-18T20:31:15.698Z] STF 13:31:14.854 - Monitoring Report Summary: [2025-06-18T20:31:15.698Z] STF 13:31:14.854 - o Process CMJ ended with the expected exit code (0) [2025-06-18T20:31:15.698Z] STF 13:31:14.855 - Created modular jar: 8.java.xml.jar [2025-06-18T20:31:15.698Z] STF 13:31:14.855 - [2025-06-18T20:31:15.698Z] STF 13:31:14.855 - +------ Step 9 - Verify if we can patch an Application module using exploded directory [2025-06-18T20:31:15.698Z] STF 13:31:14.855 - | Run foreground process [2025-06-18T20:31:15.698Z] STF 13:31:14.855 - | Program: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_1750277090451/PatModImg_AppMod_1/20250618-133048-PatModImgTest/tmp/6.XpJVM/bin/java [2025-06-18T20:31:15.698Z] STF 13:31:14.855 - | Mnemonic: OT21 [2025-06-18T20:31:15.698Z] STF 13:31:14.855 - | Echo: ECHO_ON [2025-06-18T20:31:15.698Z] STF 13:31:14.855 - | Expectation: CLEAN_RUN within 5m [2025-06-18T20:31:15.698Z] STF 13:31:14.856 - | [2025-06-18T20:31:15.698Z] STF 13:31:14.857 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_1750277090451/PatModImg_AppMod_1/20250618-133048-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_x86-64_mac_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello -XX:-UseCompressedOops -classpath /Users/admin/workspace/testDependency/system_lib/junit/junit.jar:/Users/admin/workspace/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingAppModule [2025-06-18T20:31:15.698Z] STF 13:31:14.857 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_1750277090451/PatModImg_AppMod_1/20250618-133048-PatModImgTest/results/9.OT21.stderr [2025-06-18T20:31:15.698Z] STF 13:31:14.857 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_1750277090451/PatModImg_AppMod_1/20250618-133048-PatModImgTest/results/9.OT21.stdout [2025-06-18T20:31:15.698Z] STF 13:31:15.115 - Monitoring processes: OT21 [2025-06-18T20:31:18.054Z] OT21 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-06-18T20:31:18.967Z] OT21 stderr WARNING: module-info.class ignored in patch: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello [2025-06-18T20:31:20.499Z] OT21 JUnit version 4.12 [2025-06-18T20:31:20.499Z] OT21 . [2025-06-18T20:31:20.499Z] OT21 Time: 0.034 [2025-06-18T20:31:20.499Z] OT21 [2025-06-18T20:31:20.499Z] OT21 OK (1 test) [2025-06-18T20:31:20.499Z] OT21 [2025-06-18T20:31:20.499Z] STF 13:31:20.222 - Monitoring Report Summary: [2025-06-18T20:31:20.499Z] STF 13:31:20.222 - o Process OT21 ended with the expected exit code (0) [2025-06-18T20:31:20.499Z] STF 13:31:20.222 - [2025-06-18T20:31:20.499Z] STF 13:31:20.222 - +------ Step 10 - Verify if we can patch an Application module using modular jar [2025-06-18T20:31:20.499Z] STF 13:31:20.222 - | Run foreground process [2025-06-18T20:31:20.499Z] STF 13:31:20.222 - | Program: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_1750277090451/PatModImg_AppMod_1/20250618-133048-PatModImgTest/tmp/6.XpJVM/bin/java [2025-06-18T20:31:20.499Z] STF 13:31:20.222 - | Mnemonic: OT22 [2025-06-18T20:31:20.499Z] STF 13:31:20.222 - | Echo: ECHO_ON [2025-06-18T20:31:20.499Z] STF 13:31:20.222 - | Expectation: CLEAN_RUN within 5m [2025-06-18T20:31:20.499Z] STF 13:31:20.222 - | [2025-06-18T20:31:20.499Z] STF 13:31:20.223 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_1750277090451/PatModImg_AppMod_1/20250618-133048-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_x86-64_mac_testList_0/aqa-tests/TKG/output_1750277090451/PatModImg_AppMod_1/20250618-133048-PatModImgTest/modules/7.com.hello.jar -XX:-UseCompressedOops -classpath /Users/admin/workspace/testDependency/system_lib/junit/junit.jar:/Users/admin/workspace/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingAppModule [2025-06-18T20:31:20.500Z] STF 13:31:20.223 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_1750277090451/PatModImg_AppMod_1/20250618-133048-PatModImgTest/results/10.OT22.stderr [2025-06-18T20:31:20.500Z] STF 13:31:20.223 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_1750277090451/PatModImg_AppMod_1/20250618-133048-PatModImgTest/results/10.OT22.stdout [2025-06-18T20:31:20.500Z] STF 13:31:20.253 - Monitoring processes: OT22 [2025-06-18T20:31:20.890Z] OT22 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-06-18T20:31:21.357Z] OT22 stderr WARNING: module-info.class ignored in patch: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_1750277090451/PatModImg_AppMod_1/20250618-133048-PatModImgTest/modules/7.com.hello.jar [2025-06-18T20:31:21.357Z] OT22 JUnit version 4.12 [2025-06-18T20:31:21.357Z] OT22 . [2025-06-18T20:31:21.357Z] OT22 Time: 0.011 [2025-06-18T20:31:21.357Z] OT22 [2025-06-18T20:31:21.357Z] OT22 OK (1 test) [2025-06-18T20:31:21.357Z] OT22 [2025-06-18T20:31:21.357Z] STF 13:31:20.852 - Monitoring Report Summary: [2025-06-18T20:31:21.357Z] STF 13:31:20.852 - o Process OT22 ended with the expected exit code (0) [2025-06-18T20:31:21.357Z] STF 13:31:20.853 - EXECUTE stage completed [2025-06-18T20:31:21.357Z] STF 13:31:21.081 - [2025-06-18T20:31:21.357Z] STF 13:31:21.081 - ==================== T E A R D O W N ==================== [2025-06-18T20:31:21.357Z] STF 13:31:21.081 - Running teardown: perl /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/../TKG/output_1750277090451/PatModImg_AppMod_1/20250618-133048-PatModImgTest/tearDown.pl [2025-06-18T20:31:21.801Z] STF 13:31:21.338 - TEARDOWN stage completed [2025-06-18T20:31:21.801Z] STF 13:31:21.357 - [2025-06-18T20:31:21.801Z] STF 13:31:21.357 - ===================== R E S U L T S ===================== [2025-06-18T20:31:21.801Z] STF 13:31:21.357 - Stage results: [2025-06-18T20:31:21.801Z] STF 13:31:21.357 - setUp: pass [2025-06-18T20:31:21.801Z] STF 13:31:21.357 - execute: pass [2025-06-18T20:31:21.801Z] STF 13:31:21.357 - teardown: pass [2025-06-18T20:31:21.801Z] STF 13:31:21.357 - [2025-06-18T20:31:21.801Z] STF 13:31:21.357 - Overall result: PASSED [2025-06-18T20:31:21.801Z] ----------------------------------- [2025-06-18T20:31:21.801Z] PatModImg_AppMod_1_PASSED [2025-06-18T20:31:21.801Z] ----------------------------------- [2025-06-18T20:31:21.801Z] [2025-06-18T20:31:21.801Z] TEST TEARDOWN: [2025-06-18T20:31:21.801Z] Nothing to be done for teardown. [2025-06-18T20:31:22.655Z] PatModImg_AppMod_1 Finish Time: Wed Jun 18 13:31:22 2025 Epoch Time (ms): 1750278682133