PatModImg_AppMod_1

[2025-06-30T00:02:14.487Z] Running test PatModImg_AppMod_1 ... [2025-06-30T00:02:14.487Z] =============================================== [2025-06-30T00:02:14.487Z] PatModImg_AppMod_1 Start Time: Sun Jun 29 17:02:13 2025 Epoch Time (ms): 1751241733600 [2025-06-30T00:02:14.487Z] variation: Mode650 [2025-06-30T00:02:14.487Z] JVM_OPTIONS: -XX:-UseCompressedOops [2025-06-30T00:02:14.487Z] { \ [2025-06-30T00:02:14.487Z] echo ""; echo "TEST SETUP:"; \ [2025-06-30T00:02:14.487Z] echo "Nothing to be done for setup."; \ [2025-06-30T00:02:14.487Z] mkdir -p "/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_1751240657397/PatModImg_AppMod_1"; \ [2025-06-30T00:02:14.487Z] cd "/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_1751240657397/PatModImg_AppMod_1"; \ [2025-06-30T00:02:14.487Z] echo ""; echo "TESTING:"; \ [2025-06-30T00:02:14.487Z] perl /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_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_x86-64_mac_testList_2/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF;/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../../jvmtest/system/modularity/..//aqa-systemtest""" -systemtest-prereqs="/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/../../testDependency/system_lib/" -java-args=' -XX:-UseCompressedOops ' -results-root="/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_1751240657397/PatModImg_AppMod_1" -test=PatModImgTest -test-args="variant=AppMod"; \ [2025-06-30T00:02:14.487Z] 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_2/aqa-tests/TKG/..; rm -f -r "/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_1751240657397/PatModImg_AppMod_1"; else echo "-----------------------------------"; echo "PatModImg_AppMod_1""_FAILED"; echo "-----------------------------------"; fi; \ [2025-06-30T00:02:14.487Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-06-30T00:02:14.487Z] echo "Nothing to be done for teardown."; \ [2025-06-30T00:02:14.487Z] } 2>&1 | tee -a "/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_1751240657397/TestTargetResult"; [2025-06-30T00:02:14.487Z] [2025-06-30T00:02:14.487Z] TEST SETUP: [2025-06-30T00:02:14.487Z] Nothing to be done for setup. [2025-06-30T00:02:14.487Z] [2025-06-30T00:02:14.487Z] TESTING: [2025-06-30T00:02:14.881Z] STF 17:02:13.989 - ========================= S T F ========================= [2025-06-30T00:02:14.881Z] 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_2/aqa-tests/TKG/../TKG/output_1751240657397/PatModImg_AppMod_1 [2025-06-30T00:02:14.881Z] There is 13067 Mb free [2025-06-30T00:02:14.881Z] STF 17:02:14.059 - ================== G E N E R A T I O N ================== [2025-06-30T00:02:14.881Z] STF 17:02:14.060 - Checking JVM: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/../ [2025-06-30T00:02:14.881Z] STF 17:02:14.060 - Starting process to generate scripts: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_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_x86-64_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_x86-64_mac_testList_2/../../testDependency/system_lib//asm/asm.jar:/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/../../testDependency/system_lib//asm/asm-commons.jar:/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/../../testDependency/system_lib//log4j/log4j-api.jar:/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/../../testDependency/system_lib//log4j/log4j-core.jar:/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_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_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_1751240657397/PatModImg_AppMod_1/20250629-170213-PatModImgTest/stf_parameters.properties, , /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_1751240657397/PatModImg_AppMod_1/20250629-170213-PatModImgTest" [2025-06-30T00:02:14.881Z] GEN stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-06-30T00:02:17.647Z] GEN 17:02:16.406 - Found test. Project: 'openjdk.test.modularity' class: 'PatModImgTest.class' Dir: '/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin' [2025-06-30T00:02:17.647Z] GEN 17:02:16.431 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModImgTest' [2025-06-30T00:02:17.647Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2025-06-30T00:02:17.647Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayService [2025-06-30T00:02:17.647Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper [2025-06-30T00:02:17.647Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl1 [2025-06-30T00:02:17.647Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet [2025-06-30T00:02:17.647Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello [2025-06-30T00:02:17.647Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola [2025-06-30T00:02:17.647Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl2 [2025-06-30T00:02:17.647Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hi [2025-06-30T00:02:17.647Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override [2025-06-30T00:02:17.647Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override-new [2025-06-30T00:02:17.647Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl3 [2025-06-30T00:02:17.647Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl4 [2025-06-30T00:02:17.647Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common [2025-06-30T00:02:17.647Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests [2025-06-30T00:02:17.647Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin [2025-06-30T00:02:17.647Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/STF/stf.core/bin [2025-06-30T00:02:17.647Z] GEN /Users/admin/workspace/testDependency/system_lib/log4j/log4j-api.jar [2025-06-30T00:02:17.647Z] GEN /Users/admin/workspace/testDependency/system_lib/log4j/log4j-core.jar [2025-06-30T00:02:17.647Z] GEN /Users/admin/workspace/testDependency/system_lib/junit/junit.jar [2025-06-30T00:02:17.647Z] GEN 17:02:16.823 - Using Mode NoOptions. Values = '' [2025-06-30T00:02:17.647Z] GEN 17:02:16.947 - [2025-06-30T00:02:17.647Z] GEN 17:02:16.947 - Test command summary: [2025-06-30T00:02:17.647Z] GEN 17:02:16.948 - Step Stage Command Description [2025-06-30T00:02:17.647Z] GEN 17:02:16.948 - -----+--------+-----------------+------------ [2025-06-30T00:02:17.647Z] GEN 17:02:16.948 - 1 execute jar Create com.hello jar [2025-06-30T00:02:17.647Z] GEN 17:02:16.948 - 2 execute jar Create com.hola jar [2025-06-30T00:02:17.647Z] GEN 17:02:16.948 - 3 execute jar Create com.helper jar [2025-06-30T00:02:17.647Z] GEN 17:02:16.949 - 4 execute jar Create com.discreet jar [2025-06-30T00:02:17.647Z] GEN 17:02:16.949 - 5 execute jar Create tests jar [2025-06-30T00:02:17.647Z] GEN 17:02:16.949 - 6 execute jlink Create runtime image for PatchModule test [2025-06-30T00:02:17.647Z] GEN 17:02:16.949 - 7 execute jar Create com.hello jar [2025-06-30T00:02:17.647Z] GEN 17:02:16.949 - 8 execute jar create java.xml.jar [2025-06-30T00:02:17.647Z] GEN 17:02:16.949 - 9 execute Run java Verify if we can patch an Application module using exploded directory [2025-06-30T00:02:17.647Z] GEN 17:02:16.949 - 10 execute Run java Verify if we can patch an Application module using modular jar [2025-06-30T00:02:18.104Z] STF 17:02:17.060 - [2025-06-30T00:02:18.104Z] STF 17:02:17.060 - Script generation completed [2025-06-30T00:02:18.104Z] STF 17:02:17.060 - [2025-06-30T00:02:18.104Z] STF 17:02:17.061 - [2025-06-30T00:02:18.104Z] STF 17:02:17.061 - ======================= S E T U P ======================= [2025-06-30T00:02:18.104Z] STF 17:02:17.061 - Running setup: perl /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_1751240657397/PatModImg_AppMod_1/20250629-170213-PatModImgTest/setUp.pl [2025-06-30T00:02:18.104Z] STF 17:02:17.243 - SETUP stage completed [2025-06-30T00:02:18.104Z] STF 17:02:17.253 - [2025-06-30T00:02:18.104Z] STF 17:02:17.253 - ==================== E X E C U T E - ==================== [2025-06-30T00:02:18.104Z] STF 17:02:17.253 - Running execute: perl /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_1751240657397/PatModImg_AppMod_1/20250629-170213-PatModImgTest/execute.pl [2025-06-30T00:02:18.749Z] STF 17:02:17.518 - [2025-06-30T00:02:18.749Z] STF 17:02:17.518 - Java version [2025-06-30T00:02:18.750Z] STF 17:02:17.518 - Running: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/java -version [2025-06-30T00:02:18.750Z] Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-06-30T00:02:18.750Z] openjdk version "21.0.8-beta" 2025-07-15 [2025-06-30T00:02:18.750Z] OpenJDK Runtime Environment Temurin-21.0.8+8-202506291903 (build 21.0.8-beta+8-ea) [2025-06-30T00:02:18.750Z] OpenJDK 64-Bit Server VM Temurin-21.0.8+8-202506291903 (build 21.0.8-beta+8-ea, mixed mode) [2025-06-30T00:02:18.750Z] STF 17:02:17.761 - [2025-06-30T00:02:18.750Z] STF 17:02:17.761 - +------ Step 1 - Create com.hello jar [2025-06-30T00:02:18.750Z] STF 17:02:17.761 - | Create modular jar [2025-06-30T00:02:18.750Z] STF 17:02:17.761 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2025-06-30T00:02:18.750Z] STF 17:02:17.761 - | ModuleVersion: null [2025-06-30T00:02:18.750Z] STF 17:02:17.761 - | MainClass: null [2025-06-30T00:02:18.750Z] STF 17:02:17.761 - | HashModules: null [2025-06-30T00:02:18.750Z] STF 17:02:17.761 - | [2025-06-30T00:02:18.750Z] STF 17:02:17.762 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_1751240657397/PatModImg_AppMod_1/20250629-170213-PatModImgTest/modules/1.com.hello.jar -C /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello . [2025-06-30T00:02:18.750Z] STF 17:02:17.762 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_1751240657397/PatModImg_AppMod_1/20250629-170213-PatModImgTest/results/1.CMJ.stderr [2025-06-30T00:02:18.750Z] STF 17:02:17.762 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_1751240657397/PatModImg_AppMod_1/20250629-170213-PatModImgTest/results/1.CMJ.stdout [2025-06-30T00:02:18.750Z] STF 17:02:17.888 - Monitoring processes: CMJ [2025-06-30T00:02:19.255Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-06-30T00:02:20.203Z] STF 17:02:19.130 - Monitoring Report Summary: [2025-06-30T00:02:20.203Z] STF 17:02:19.130 - o Process CMJ ended with the expected exit code (0) [2025-06-30T00:02:20.203Z] STF 17:02:19.130 - Created modular jar: 1.com.hello.jar [2025-06-30T00:02:20.203Z] STF 17:02:19.130 - [2025-06-30T00:02:20.203Z] STF 17:02:19.130 - +------ Step 2 - Create com.hola jar [2025-06-30T00:02:20.203Z] STF 17:02:19.130 - | Create modular jar [2025-06-30T00:02:20.203Z] STF 17:02:19.130 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2025-06-30T00:02:20.203Z] STF 17:02:19.130 - | ModuleVersion: null [2025-06-30T00:02:20.203Z] STF 17:02:19.130 - | MainClass: null [2025-06-30T00:02:20.203Z] STF 17:02:19.130 - | HashModules: null [2025-06-30T00:02:20.203Z] STF 17:02:19.130 - | [2025-06-30T00:02:20.203Z] STF 17:02:19.131 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_1751240657397/PatModImg_AppMod_1/20250629-170213-PatModImgTest/modules/2.com.hola.jar -C /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola . [2025-06-30T00:02:20.203Z] STF 17:02:19.131 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_1751240657397/PatModImg_AppMod_1/20250629-170213-PatModImgTest/results/2.CMJ.stderr [2025-06-30T00:02:20.203Z] STF 17:02:19.131 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_1751240657397/PatModImg_AppMod_1/20250629-170213-PatModImgTest/results/2.CMJ.stdout [2025-06-30T00:02:20.203Z] STF 17:02:19.133 - Monitoring processes: CMJ [2025-06-30T00:02:20.203Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-06-30T00:02:20.655Z] STF 17:02:19.880 - Monitoring Report Summary: [2025-06-30T00:02:20.655Z] STF 17:02:19.880 - o Process CMJ ended with the expected exit code (0) [2025-06-30T00:02:20.655Z] STF 17:02:19.880 - Created modular jar: 2.com.hola.jar [2025-06-30T00:02:20.655Z] STF 17:02:19.880 - [2025-06-30T00:02:20.655Z] STF 17:02:19.880 - +------ Step 3 - Create com.helper jar [2025-06-30T00:02:20.655Z] STF 17:02:19.880 - | Create modular jar [2025-06-30T00:02:20.655Z] STF 17:02:19.880 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2025-06-30T00:02:20.655Z] STF 17:02:19.880 - | ModuleVersion: null [2025-06-30T00:02:20.655Z] STF 17:02:19.880 - | MainClass: null [2025-06-30T00:02:20.655Z] STF 17:02:19.880 - | HashModules: null [2025-06-30T00:02:20.655Z] STF 17:02:19.880 - | [2025-06-30T00:02:20.655Z] STF 17:02:19.881 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_1751240657397/PatModImg_AppMod_1/20250629-170213-PatModImgTest/modules/3.com.helper.jar -C /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper . [2025-06-30T00:02:20.655Z] STF 17:02:19.881 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_1751240657397/PatModImg_AppMod_1/20250629-170213-PatModImgTest/results/3.CMJ.stderr [2025-06-30T00:02:20.655Z] STF 17:02:19.881 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_1751240657397/PatModImg_AppMod_1/20250629-170213-PatModImgTest/results/3.CMJ.stdout [2025-06-30T00:02:20.655Z] STF 17:02:19.885 - Monitoring processes: CMJ [2025-06-30T00:02:21.059Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-06-30T00:02:22.025Z] STF 17:02:20.916 - Monitoring Report Summary: [2025-06-30T00:02:22.025Z] STF 17:02:20.916 - o Process CMJ ended with the expected exit code (0) [2025-06-30T00:02:22.025Z] STF 17:02:20.916 - Created modular jar: 3.com.helper.jar [2025-06-30T00:02:22.025Z] STF 17:02:20.917 - [2025-06-30T00:02:22.025Z] STF 17:02:20.917 - +------ Step 4 - Create com.discreet jar [2025-06-30T00:02:22.025Z] STF 17:02:20.917 - | Create modular jar [2025-06-30T00:02:22.025Z] STF 17:02:20.917 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2025-06-30T00:02:22.025Z] STF 17:02:20.917 - | ModuleVersion: null [2025-06-30T00:02:22.025Z] STF 17:02:20.917 - | MainClass: null [2025-06-30T00:02:22.025Z] STF 17:02:20.917 - | HashModules: null [2025-06-30T00:02:22.025Z] STF 17:02:20.917 - | [2025-06-30T00:02:22.025Z] STF 17:02:20.917 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_1751240657397/PatModImg_AppMod_1/20250629-170213-PatModImgTest/modules/4.com.discreet.jar -C /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet . [2025-06-30T00:02:22.025Z] STF 17:02:20.917 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_1751240657397/PatModImg_AppMod_1/20250629-170213-PatModImgTest/results/4.CMJ.stderr [2025-06-30T00:02:22.025Z] STF 17:02:20.917 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_1751240657397/PatModImg_AppMod_1/20250629-170213-PatModImgTest/results/4.CMJ.stdout [2025-06-30T00:02:22.025Z] STF 17:02:20.919 - Monitoring processes: CMJ [2025-06-30T00:02:22.025Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-06-30T00:02:22.858Z] STF 17:02:21.997 - Monitoring Report Summary: [2025-06-30T00:02:22.858Z] STF 17:02:21.997 - o Process CMJ ended with the expected exit code (0) [2025-06-30T00:02:22.858Z] STF 17:02:21.997 - Created modular jar: 4.com.discreet.jar [2025-06-30T00:02:22.858Z] STF 17:02:21.997 - [2025-06-30T00:02:22.858Z] STF 17:02:21.997 - +------ Step 5 - Create tests jar [2025-06-30T00:02:22.858Z] STF 17:02:21.997 - | Create modular jar [2025-06-30T00:02:22.858Z] STF 17:02:21.997 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2025-06-30T00:02:22.858Z] STF 17:02:21.997 - | ModuleVersion: null [2025-06-30T00:02:22.858Z] STF 17:02:21.997 - | MainClass: null [2025-06-30T00:02:22.858Z] STF 17:02:21.997 - | HashModules: null [2025-06-30T00:02:22.858Z] STF 17:02:21.997 - | [2025-06-30T00:02:22.858Z] STF 17:02:21.997 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_1751240657397/PatModImg_AppMod_1/20250629-170213-PatModImgTest/modules/5.com.test.jar -C /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test . [2025-06-30T00:02:22.858Z] STF 17:02:21.997 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_1751240657397/PatModImg_AppMod_1/20250629-170213-PatModImgTest/results/5.CMJ.stderr [2025-06-30T00:02:22.858Z] STF 17:02:21.997 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_1751240657397/PatModImg_AppMod_1/20250629-170213-PatModImgTest/results/5.CMJ.stdout [2025-06-30T00:02:22.858Z] STF 17:02:22.000 - Monitoring processes: CMJ [2025-06-30T00:02:22.858Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-06-30T00:02:24.549Z] STF 17:02:23.359 - Monitoring Report Summary: [2025-06-30T00:02:24.549Z] STF 17:02:23.359 - o Process CMJ ended with the expected exit code (0) [2025-06-30T00:02:24.549Z] STF 17:02:23.359 - Created modular jar: 5.com.test.jar [2025-06-30T00:02:24.549Z] STF 17:02:23.359 - [2025-06-30T00:02:24.549Z] STF 17:02:23.359 - +------ Step 6 - Create runtime image for PatchModule test [2025-06-30T00:02:24.549Z] STF 17:02:23.359 - | Run jlink to create runtime image [2025-06-30T00:02:24.549Z] STF 17:02:23.359 - | ImageName: XpJVM [2025-06-30T00:02:24.549Z] STF 17:02:23.359 - | [2025-06-30T00:02:24.549Z] STF 17:02:23.360 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/jlink --module-path /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/jmods:/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_1751240657397/PatModImg_AppMod_1/20250629-170213-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_2/aqa-tests/TKG/output_1751240657397/PatModImg_AppMod_1/20250629-170213-PatModImgTest/tmp/6.XpJVM [2025-06-30T00:02:24.549Z] STF 17:02:23.360 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_1751240657397/PatModImg_AppMod_1/20250629-170213-PatModImgTest/results/6.JLNK.stderr [2025-06-30T00:02:24.549Z] STF 17:02:23.360 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_1751240657397/PatModImg_AppMod_1/20250629-170213-PatModImgTest/results/6.JLNK.stdout [2025-06-30T00:02:24.549Z] STF 17:02:23.389 - Monitoring processes: JLNK [2025-06-30T00:02:24.549Z] JLNK stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-06-30T00:02:30.898Z] STF 17:02:29.861 - Monitoring Report Summary: [2025-06-30T00:02:30.898Z] STF 17:02:29.861 - o Process JLNK ended with the expected exit code (0) [2025-06-30T00:02:30.898Z] STF 17:02:29.861 - [2025-06-30T00:02:30.898Z] STF 17:02:29.861 - +------ Step 7 - Create com.hello jar [2025-06-30T00:02:30.898Z] STF 17:02:29.861 - | Create modular jar [2025-06-30T00:02:30.898Z] STF 17:02:29.861 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2025-06-30T00:02:30.898Z] STF 17:02:29.861 - | ModuleVersion: null [2025-06-30T00:02:30.898Z] STF 17:02:29.861 - | MainClass: null [2025-06-30T00:02:30.898Z] STF 17:02:29.861 - | HashModules: null [2025-06-30T00:02:30.898Z] STF 17:02:29.861 - | [2025-06-30T00:02:30.898Z] STF 17:02:29.862 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_1751240657397/PatModImg_AppMod_1/20250629-170213-PatModImgTest/modules/7.com.hello.jar -C /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello . [2025-06-30T00:02:30.898Z] STF 17:02:29.862 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_1751240657397/PatModImg_AppMod_1/20250629-170213-PatModImgTest/results/7.CMJ.stderr [2025-06-30T00:02:30.898Z] STF 17:02:29.862 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_1751240657397/PatModImg_AppMod_1/20250629-170213-PatModImgTest/results/7.CMJ.stdout [2025-06-30T00:02:30.898Z] STF 17:02:29.876 - Monitoring processes: CMJ [2025-06-30T00:02:31.613Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-06-30T00:02:33.441Z] STF 17:02:32.133 - Monitoring Report Summary: [2025-06-30T00:02:33.441Z] STF 17:02:32.133 - o Process CMJ ended with the expected exit code (0) [2025-06-30T00:02:33.441Z] STF 17:02:32.134 - Created modular jar: 7.com.hello.jar [2025-06-30T00:02:33.441Z] STF 17:02:32.134 - [2025-06-30T00:02:33.441Z] STF 17:02:32.134 - +------ Step 8 - create java.xml.jar [2025-06-30T00:02:33.441Z] STF 17:02:32.134 - | Create modular jar [2025-06-30T00:02:33.441Z] STF 17:02:32.134 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml [2025-06-30T00:02:33.441Z] STF 17:02:32.134 - | ModuleVersion: null [2025-06-30T00:02:33.441Z] STF 17:02:32.134 - | MainClass: null [2025-06-30T00:02:33.441Z] STF 17:02:32.135 - | HashModules: null [2025-06-30T00:02:33.441Z] STF 17:02:32.135 - | [2025-06-30T00:02:33.441Z] STF 17:02:32.136 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_1751240657397/PatModImg_AppMod_1/20250629-170213-PatModImgTest/modules/8.java.xml.jar -C /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/java.xml . [2025-06-30T00:02:33.441Z] STF 17:02:32.136 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_1751240657397/PatModImg_AppMod_1/20250629-170213-PatModImgTest/results/8.CMJ.stderr [2025-06-30T00:02:33.441Z] STF 17:02:32.137 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_1751240657397/PatModImg_AppMod_1/20250629-170213-PatModImgTest/results/8.CMJ.stdout [2025-06-30T00:02:33.441Z] STF 17:02:32.203 - Monitoring processes: CMJ [2025-06-30T00:02:33.835Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-06-30T00:02:34.744Z] STF 17:02:33.581 - Monitoring Report Summary: [2025-06-30T00:02:34.744Z] STF 17:02:33.611 - o Process CMJ ended with the expected exit code (0) [2025-06-30T00:02:34.744Z] STF 17:02:33.611 - Created modular jar: 8.java.xml.jar [2025-06-30T00:02:34.744Z] STF 17:02:33.611 - [2025-06-30T00:02:34.744Z] STF 17:02:33.611 - +------ Step 9 - Verify if we can patch an Application module using exploded directory [2025-06-30T00:02:34.744Z] STF 17:02:33.611 - | Run foreground process [2025-06-30T00:02:34.744Z] STF 17:02:33.611 - | Program: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_1751240657397/PatModImg_AppMod_1/20250629-170213-PatModImgTest/tmp/6.XpJVM/bin/java [2025-06-30T00:02:34.744Z] STF 17:02:33.611 - | Mnemonic: OT21 [2025-06-30T00:02:34.744Z] STF 17:02:33.611 - | Echo: ECHO_ON [2025-06-30T00:02:34.744Z] STF 17:02:33.611 - | Expectation: CLEAN_RUN within 5m [2025-06-30T00:02:34.744Z] STF 17:02:33.611 - | [2025-06-30T00:02:34.744Z] STF 17:02:33.612 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_1751240657397/PatModImg_AppMod_1/20250629-170213-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_2/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-30T00:02:34.744Z] STF 17:02:33.612 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_1751240657397/PatModImg_AppMod_1/20250629-170213-PatModImgTest/results/9.OT21.stderr [2025-06-30T00:02:34.744Z] STF 17:02:33.612 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_1751240657397/PatModImg_AppMod_1/20250629-170213-PatModImgTest/results/9.OT21.stdout [2025-06-30T00:02:34.744Z] STF 17:02:33.614 - Monitoring processes: OT21 [2025-06-30T00:02:36.149Z] OT21 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-06-30T00:02:37.214Z] OT21 stderr WARNING: module-info.class ignored in patch: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello [2025-06-30T00:02:38.075Z] OT21 JUnit version 4.12 [2025-06-30T00:02:38.075Z] OT21 . [2025-06-30T00:02:38.075Z] OT21 Time: 0.035 [2025-06-30T00:02:38.075Z] OT21 [2025-06-30T00:02:38.075Z] OT21 OK (1 test) [2025-06-30T00:02:38.075Z] OT21 [2025-06-30T00:02:38.075Z] STF 17:02:37.146 - Monitoring Report Summary: [2025-06-30T00:02:38.075Z] STF 17:02:37.146 - o Process OT21 ended with the expected exit code (0) [2025-06-30T00:02:38.075Z] STF 17:02:37.146 - [2025-06-30T00:02:38.075Z] STF 17:02:37.146 - +------ Step 10 - Verify if we can patch an Application module using modular jar [2025-06-30T00:02:38.075Z] STF 17:02:37.146 - | Run foreground process [2025-06-30T00:02:38.075Z] STF 17:02:37.146 - | Program: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_1751240657397/PatModImg_AppMod_1/20250629-170213-PatModImgTest/tmp/6.XpJVM/bin/java [2025-06-30T00:02:38.075Z] STF 17:02:37.146 - | Mnemonic: OT22 [2025-06-30T00:02:38.075Z] STF 17:02:37.146 - | Echo: ECHO_ON [2025-06-30T00:02:38.075Z] STF 17:02:37.146 - | Expectation: CLEAN_RUN within 5m [2025-06-30T00:02:38.075Z] STF 17:02:37.146 - | [2025-06-30T00:02:38.075Z] STF 17:02:37.146 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_1751240657397/PatModImg_AppMod_1/20250629-170213-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_2/aqa-tests/TKG/output_1751240657397/PatModImg_AppMod_1/20250629-170213-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-30T00:02:38.075Z] STF 17:02:37.146 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_1751240657397/PatModImg_AppMod_1/20250629-170213-PatModImgTest/results/10.OT22.stderr [2025-06-30T00:02:38.075Z] STF 17:02:37.146 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_1751240657397/PatModImg_AppMod_1/20250629-170213-PatModImgTest/results/10.OT22.stdout [2025-06-30T00:02:38.075Z] STF 17:02:37.149 - Monitoring processes: OT22 [2025-06-30T00:02:38.449Z] OT22 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-06-30T00:02:38.449Z] OT22 stderr WARNING: module-info.class ignored in patch: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_1751240657397/PatModImg_AppMod_1/20250629-170213-PatModImgTest/modules/7.com.hello.jar [2025-06-30T00:02:38.828Z] OT22 JUnit version 4.12 [2025-06-30T00:02:38.828Z] OT22 . [2025-06-30T00:02:38.828Z] OT22 Time: 0.008 [2025-06-30T00:02:38.828Z] OT22 [2025-06-30T00:02:38.828Z] OT22 OK (1 test) [2025-06-30T00:02:38.828Z] OT22 [2025-06-30T00:02:38.828Z] STF 17:02:37.858 - Monitoring Report Summary: [2025-06-30T00:02:38.828Z] STF 17:02:37.858 - o Process OT22 ended with the expected exit code (0) [2025-06-30T00:02:38.828Z] STF 17:02:37.858 - EXECUTE stage completed [2025-06-30T00:02:38.828Z] STF 17:02:38.041 - [2025-06-30T00:02:38.828Z] STF 17:02:38.041 - ==================== T E A R D O W N ==================== [2025-06-30T00:02:38.829Z] STF 17:02:38.041 - Running teardown: perl /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_1751240657397/PatModImg_AppMod_1/20250629-170213-PatModImgTest/tearDown.pl [2025-06-30T00:02:39.266Z] STF 17:02:38.193 - TEARDOWN stage completed [2025-06-30T00:02:39.266Z] STF 17:02:38.206 - [2025-06-30T00:02:39.266Z] STF 17:02:38.206 - ===================== R E S U L T S ===================== [2025-06-30T00:02:39.266Z] STF 17:02:38.206 - Stage results: [2025-06-30T00:02:39.266Z] STF 17:02:38.206 - setUp: pass [2025-06-30T00:02:39.266Z] STF 17:02:38.206 - execute: pass [2025-06-30T00:02:39.266Z] STF 17:02:38.206 - teardown: pass [2025-06-30T00:02:39.266Z] STF 17:02:38.206 - [2025-06-30T00:02:39.266Z] STF 17:02:38.206 - Overall result: PASSED [2025-06-30T00:02:39.266Z] ----------------------------------- [2025-06-30T00:02:39.266Z] PatModImg_AppMod_1_PASSED [2025-06-30T00:02:39.266Z] ----------------------------------- [2025-06-30T00:02:39.266Z] [2025-06-30T00:02:39.266Z] TEST TEARDOWN: [2025-06-30T00:02:39.266Z] Nothing to be done for teardown. [2025-06-30T00:02:39.266Z] PatModImg_AppMod_1 Finish Time: Sun Jun 29 17:02:38 2025 Epoch Time (ms): 1751241758433