PatModImg_AppMod_1

[2025-01-10T21:07:24.963Z] Running test PatModImg_AppMod_1 ... [2025-01-10T21:07:24.963Z] =============================================== [2025-01-10T21:07:24.963Z] PatModImg_AppMod_1 Start Time: Fri Jan 10 16:07:24 2025 Epoch Time (ms): 1736543244735 [2025-01-10T21:07:24.963Z] variation: Mode650 [2025-01-10T21:07:24.963Z] JVM_OPTIONS: -XX:-UseCompressedOops [2025-01-10T21:07:24.963Z] { \ [2025-01-10T21:07:24.963Z] echo ""; echo "TEST SETUP:"; \ [2025-01-10T21:07:24.963Z] echo "Nothing to be done for setup."; \ [2025-01-10T21:07:24.963Z] mkdir -p "/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17365407725799/PatModImg_AppMod_1"; \ [2025-01-10T21:07:24.963Z] cd "/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17365407725799/PatModImg_AppMod_1"; \ [2025-01-10T21:07:24.963Z] echo ""; echo "TESTING:"; \ [2025-01-10T21:07:24.963Z] perl /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF/stf.core/scripts/stf.pl -test-root="/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF;/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../../jvmtest/system/modularity/..//aqa-systemtest""" -systemtest-prereqs="/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/../../testDependency/system_lib/" -java-args=' -XX:-UseCompressedOops ' -results-root="/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17365407725799/PatModImg_AppMod_1" -test=PatModImgTest -test-args="variant=AppMod"; \ [2025-01-10T21:07:24.963Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatModImg_AppMod_1""_PASSED"; echo "-----------------------------------"; cd /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/..; rm -f -r "/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17365407725799/PatModImg_AppMod_1"; else echo "-----------------------------------"; echo "PatModImg_AppMod_1""_FAILED"; echo "-----------------------------------"; fi; \ [2025-01-10T21:07:24.963Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-01-10T21:07:24.963Z] echo "Nothing to be done for teardown."; \ [2025-01-10T21:07:24.963Z] } 2>&1 | tee -a "/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17365407725799/TestTargetResult"; [2025-01-10T21:07:24.963Z] [2025-01-10T21:07:24.963Z] TEST SETUP: [2025-01-10T21:07:24.963Z] Nothing to be done for setup. [2025-01-10T21:07:24.963Z] [2025-01-10T21:07:24.963Z] TESTING: [2025-01-10T21:07:24.963Z] STF 16:07:24.769 - ========================= S T F ========================= [2025-01-10T21:07:24.963Z] 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_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17365407725799/PatModImg_AppMod_1 [2025-01-10T21:07:24.963Z] There is 28483 Mb free [2025-01-10T21:07:24.963Z] STF 16:07:24.772 - ================== G E N E R A T I O N ================== [2025-01-10T21:07:24.963Z] STF 16:07:24.773 - Checking JVM: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/../ [2025-01-10T21:07:24.963Z] STF 16:07:24.773 - Starting process to generate scripts: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/..//bin/java -Dlog4j.skipJansi=true -Djava.system.class.loader=net.adoptopenjdk.stf.runner.StfClassLoader -classpath /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/../../testDependency/system_lib//log4j/log4j-api.jar:/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/../../testDependency/system_lib//log4j/log4j-core.jar:/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17365407725799/PatModImg_AppMod_1/20250110-160724-PatModImgTest/stf_parameters.properties, , /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17365407725799/PatModImg_AppMod_1/20250110-160724-PatModImgTest" [2025-01-10T21:07:24.963Z] GEN stderr OpenJDK 64-Bit Server VM warning: 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-01-10T21:07:25.372Z] GEN 16:07:25.022 - Found test. Project: 'openjdk.test.modularity' class: 'PatModImgTest.class' Dir: '/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin' [2025-01-10T21:07:25.372Z] GEN 16:07:25.028 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModImgTest' [2025-01-10T21:07:25.372Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2025-01-10T21:07:25.372Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayService [2025-01-10T21:07:25.372Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper [2025-01-10T21:07:25.372Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl1 [2025-01-10T21:07:25.372Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet [2025-01-10T21:07:25.372Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello [2025-01-10T21:07:25.372Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola [2025-01-10T21:07:25.372Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl2 [2025-01-10T21:07:25.372Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hi [2025-01-10T21:07:25.372Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override [2025-01-10T21:07:25.372Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override-new [2025-01-10T21:07:25.372Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl3 [2025-01-10T21:07:25.372Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl4 [2025-01-10T21:07:25.372Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common [2025-01-10T21:07:25.372Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests [2025-01-10T21:07:25.372Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin [2025-01-10T21:07:25.372Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/STF/stf.core/bin [2025-01-10T21:07:25.372Z] GEN /Users/admin/workspace/testDependency/system_lib/log4j/log4j-api.jar [2025-01-10T21:07:25.372Z] GEN /Users/admin/workspace/testDependency/system_lib/log4j/log4j-core.jar [2025-01-10T21:07:25.373Z] GEN /Users/admin/workspace/testDependency/system_lib/junit/junit.jar [2025-01-10T21:07:25.373Z] GEN 16:07:25.078 - Using Mode NoOptions. Values = '' [2025-01-10T21:07:25.373Z] GEN 16:07:25.101 - [2025-01-10T21:07:25.373Z] GEN 16:07:25.101 - Test command summary: [2025-01-10T21:07:25.373Z] GEN 16:07:25.101 - Step Stage Command Description [2025-01-10T21:07:25.373Z] GEN 16:07:25.101 - -----+--------+-----------------+------------ [2025-01-10T21:07:25.373Z] GEN 16:07:25.101 - 1 execute jar Create com.hello jar [2025-01-10T21:07:25.373Z] GEN 16:07:25.101 - 2 execute jar Create com.hola jar [2025-01-10T21:07:25.373Z] GEN 16:07:25.101 - 3 execute jar Create com.helper jar [2025-01-10T21:07:25.373Z] GEN 16:07:25.102 - 4 execute jar Create com.discreet jar [2025-01-10T21:07:25.373Z] GEN 16:07:25.102 - 5 execute jar Create tests jar [2025-01-10T21:07:25.373Z] GEN 16:07:25.102 - 6 execute jlink Create runtime image for PatchModule test [2025-01-10T21:07:25.373Z] GEN 16:07:25.102 - 7 execute jar Create com.hello jar [2025-01-10T21:07:25.373Z] GEN 16:07:25.102 - 8 execute jar create java.xml.jar [2025-01-10T21:07:25.373Z] GEN 16:07:25.102 - 9 execute Run java Verify if we can patch an Application module using exploded directory [2025-01-10T21:07:25.373Z] GEN 16:07:25.102 - 10 execute Run java Verify if we can patch an Application module using modular jar [2025-01-10T21:07:25.373Z] STF 16:07:25.130 - [2025-01-10T21:07:25.373Z] STF 16:07:25.130 - Script generation completed [2025-01-10T21:07:25.373Z] STF 16:07:25.130 - [2025-01-10T21:07:25.373Z] STF 16:07:25.131 - [2025-01-10T21:07:25.373Z] STF 16:07:25.131 - ======================= S E T U P ======================= [2025-01-10T21:07:25.373Z] STF 16:07:25.131 - Running setup: perl /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17365407725799/PatModImg_AppMod_1/20250110-160724-PatModImgTest/setUp.pl [2025-01-10T21:07:25.373Z] STF 16:07:25.156 - SETUP stage completed [2025-01-10T21:07:25.373Z] STF 16:07:25.164 - [2025-01-10T21:07:25.373Z] STF 16:07:25.164 - ==================== E X E C U T E - ==================== [2025-01-10T21:07:25.373Z] STF 16:07:25.164 - Running execute: perl /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17365407725799/PatModImg_AppMod_1/20250110-160724-PatModImgTest/execute.pl [2025-01-10T21:07:25.373Z] STF 16:07:25.189 - [2025-01-10T21:07:25.373Z] STF 16:07:25.189 - Java version [2025-01-10T21:07:25.373Z] STF 16:07:25.189 - Running: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/java -version [2025-01-10T21:07:25.373Z] STF 16:07:25.210 - [2025-01-10T21:07:25.373Z] STF 16:07:25.210 - +------ Step 1 - Create com.hello jar [2025-01-10T21:07:25.373Z] STF 16:07:25.210 - | Create modular jar [2025-01-10T21:07:25.373Z] STF 16:07:25.210 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2025-01-10T21:07:25.373Z] STF 16:07:25.210 - | ModuleVersion: null [2025-01-10T21:07:25.373Z] STF 16:07:25.210 - | MainClass: null [2025-01-10T21:07:25.373Z] STF 16:07:25.211 - | HashModules: null [2025-01-10T21:07:25.373Z] STF 16:07:25.211 - | [2025-01-10T21:07:25.373Z] STF 16:07:25.211 - Running command: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17365407725799/PatModImg_AppMod_1/20250110-160724-PatModImgTest/modules/1.com.hello.jar -C /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello . [2025-01-10T21:07:25.373Z] STF 16:07:25.211 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17365407725799/PatModImg_AppMod_1/20250110-160724-PatModImgTest/results/1.CMJ.stderr [2025-01-10T21:07:25.373Z] STF 16:07:25.211 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17365407725799/PatModImg_AppMod_1/20250110-160724-PatModImgTest/results/1.CMJ.stdout [2025-01-10T21:07:25.373Z] openjdk version "17.0.14" 2025-01-21 [2025-01-10T21:07:25.373Z] OpenJDK Runtime Environment Temurin-17.0.14+6 (build 17.0.14+6) [2025-01-10T21:07:25.373Z] OpenJDK 64-Bit Server VM Temurin-17.0.14+6 (build 17.0.14+6, mixed mode, sharing) [2025-01-10T21:07:25.373Z] STF 16:07:25.215 - Monitoring processes: CMJ [2025-01-10T21:07:25.373Z] STF 16:07:25.284 - Monitoring Report Summary: [2025-01-10T21:07:25.373Z] STF 16:07:25.284 - o Process CMJ ended with the expected exit code (0) [2025-01-10T21:07:25.373Z] STF 16:07:25.284 - Created modular jar: 1.com.hello.jar [2025-01-10T21:07:25.373Z] STF 16:07:25.284 - [2025-01-10T21:07:25.373Z] STF 16:07:25.284 - +------ Step 2 - Create com.hola jar [2025-01-10T21:07:25.373Z] STF 16:07:25.284 - | Create modular jar [2025-01-10T21:07:25.373Z] STF 16:07:25.284 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2025-01-10T21:07:25.373Z] STF 16:07:25.284 - | ModuleVersion: null [2025-01-10T21:07:25.373Z] STF 16:07:25.284 - | MainClass: null [2025-01-10T21:07:25.373Z] STF 16:07:25.284 - | HashModules: null [2025-01-10T21:07:25.373Z] STF 16:07:25.284 - | [2025-01-10T21:07:25.373Z] STF 16:07:25.284 - Running command: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17365407725799/PatModImg_AppMod_1/20250110-160724-PatModImgTest/modules/2.com.hola.jar -C /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola . [2025-01-10T21:07:25.373Z] STF 16:07:25.285 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17365407725799/PatModImg_AppMod_1/20250110-160724-PatModImgTest/results/2.CMJ.stderr [2025-01-10T21:07:25.373Z] STF 16:07:25.285 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17365407725799/PatModImg_AppMod_1/20250110-160724-PatModImgTest/results/2.CMJ.stdout [2025-01-10T21:07:25.373Z] STF 16:07:25.285 - Monitoring processes: CMJ [2025-01-10T21:07:25.761Z] STF 16:07:25.357 - Monitoring Report Summary: [2025-01-10T21:07:25.761Z] STF 16:07:25.357 - o Process CMJ ended with the expected exit code (0) [2025-01-10T21:07:25.761Z] STF 16:07:25.358 - Created modular jar: 2.com.hola.jar [2025-01-10T21:07:25.761Z] STF 16:07:25.358 - [2025-01-10T21:07:25.761Z] STF 16:07:25.358 - +------ Step 3 - Create com.helper jar [2025-01-10T21:07:25.761Z] STF 16:07:25.358 - | Create modular jar [2025-01-10T21:07:25.761Z] STF 16:07:25.358 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2025-01-10T21:07:25.761Z] STF 16:07:25.358 - | ModuleVersion: null [2025-01-10T21:07:25.761Z] STF 16:07:25.358 - | MainClass: null [2025-01-10T21:07:25.761Z] STF 16:07:25.358 - | HashModules: null [2025-01-10T21:07:25.761Z] STF 16:07:25.358 - | [2025-01-10T21:07:25.761Z] STF 16:07:25.358 - Running command: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17365407725799/PatModImg_AppMod_1/20250110-160724-PatModImgTest/modules/3.com.helper.jar -C /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper . [2025-01-10T21:07:25.761Z] STF 16:07:25.358 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17365407725799/PatModImg_AppMod_1/20250110-160724-PatModImgTest/results/3.CMJ.stderr [2025-01-10T21:07:25.761Z] STF 16:07:25.358 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17365407725799/PatModImg_AppMod_1/20250110-160724-PatModImgTest/results/3.CMJ.stdout [2025-01-10T21:07:25.761Z] STF 16:07:25.358 - Monitoring processes: CMJ [2025-01-10T21:07:25.761Z] STF 16:07:25.426 - Monitoring Report Summary: [2025-01-10T21:07:25.761Z] STF 16:07:25.426 - o Process CMJ ended with the expected exit code (0) [2025-01-10T21:07:25.761Z] STF 16:07:25.426 - Created modular jar: 3.com.helper.jar [2025-01-10T21:07:25.761Z] STF 16:07:25.426 - [2025-01-10T21:07:25.761Z] STF 16:07:25.426 - +------ Step 4 - Create com.discreet jar [2025-01-10T21:07:25.761Z] STF 16:07:25.426 - | Create modular jar [2025-01-10T21:07:25.761Z] STF 16:07:25.426 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2025-01-10T21:07:25.761Z] STF 16:07:25.426 - | ModuleVersion: null [2025-01-10T21:07:25.761Z] STF 16:07:25.426 - | MainClass: null [2025-01-10T21:07:25.761Z] STF 16:07:25.426 - | HashModules: null [2025-01-10T21:07:25.761Z] STF 16:07:25.426 - | [2025-01-10T21:07:25.761Z] STF 16:07:25.426 - Running command: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17365407725799/PatModImg_AppMod_1/20250110-160724-PatModImgTest/modules/4.com.discreet.jar -C /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet . [2025-01-10T21:07:25.761Z] STF 16:07:25.426 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17365407725799/PatModImg_AppMod_1/20250110-160724-PatModImgTest/results/4.CMJ.stderr [2025-01-10T21:07:25.761Z] STF 16:07:25.426 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17365407725799/PatModImg_AppMod_1/20250110-160724-PatModImgTest/results/4.CMJ.stdout [2025-01-10T21:07:25.761Z] STF 16:07:25.427 - Monitoring processes: CMJ [2025-01-10T21:07:25.761Z] STF 16:07:25.494 - Monitoring Report Summary: [2025-01-10T21:07:25.761Z] STF 16:07:25.494 - o Process CMJ ended with the expected exit code (0) [2025-01-10T21:07:25.761Z] STF 16:07:25.494 - Created modular jar: 4.com.discreet.jar [2025-01-10T21:07:25.761Z] STF 16:07:25.494 - [2025-01-10T21:07:25.761Z] STF 16:07:25.494 - +------ Step 5 - Create tests jar [2025-01-10T21:07:25.761Z] STF 16:07:25.494 - | Create modular jar [2025-01-10T21:07:25.761Z] STF 16:07:25.494 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2025-01-10T21:07:25.761Z] STF 16:07:25.494 - | ModuleVersion: null [2025-01-10T21:07:25.761Z] STF 16:07:25.494 - | MainClass: null [2025-01-10T21:07:25.762Z] STF 16:07:25.494 - | HashModules: null [2025-01-10T21:07:25.762Z] STF 16:07:25.494 - | [2025-01-10T21:07:25.762Z] STF 16:07:25.494 - Running command: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17365407725799/PatModImg_AppMod_1/20250110-160724-PatModImgTest/modules/5.com.test.jar -C /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test . [2025-01-10T21:07:25.762Z] STF 16:07:25.494 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17365407725799/PatModImg_AppMod_1/20250110-160724-PatModImgTest/results/5.CMJ.stderr [2025-01-10T21:07:25.762Z] STF 16:07:25.494 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17365407725799/PatModImg_AppMod_1/20250110-160724-PatModImgTest/results/5.CMJ.stdout [2025-01-10T21:07:25.762Z] STF 16:07:25.496 - Monitoring processes: CMJ [2025-01-10T21:07:25.762Z] STF 16:07:25.588 - Monitoring Report Summary: [2025-01-10T21:07:25.762Z] STF 16:07:25.588 - o Process CMJ ended with the expected exit code (0) [2025-01-10T21:07:25.762Z] STF 16:07:25.588 - Created modular jar: 5.com.test.jar [2025-01-10T21:07:25.762Z] STF 16:07:25.588 - [2025-01-10T21:07:25.762Z] STF 16:07:25.588 - +------ Step 6 - Create runtime image for PatchModule test [2025-01-10T21:07:25.762Z] STF 16:07:25.588 - | Run jlink to create runtime image [2025-01-10T21:07:25.762Z] STF 16:07:25.588 - | ImageName: XpJVM [2025-01-10T21:07:25.762Z] STF 16:07:25.588 - | [2025-01-10T21:07:25.762Z] STF 16:07:25.588 - Running command: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jlink --module-path /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/jmods:/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17365407725799/PatModImg_AppMod_1/20250110-160724-PatModImgTest/modules --add-modules com.hello,com.hola,com.test,com.helper,com.discreet --output /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17365407725799/PatModImg_AppMod_1/20250110-160724-PatModImgTest/tmp/6.XpJVM [2025-01-10T21:07:25.762Z] STF 16:07:25.588 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17365407725799/PatModImg_AppMod_1/20250110-160724-PatModImgTest/results/6.JLNK.stderr [2025-01-10T21:07:25.762Z] STF 16:07:25.588 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17365407725799/PatModImg_AppMod_1/20250110-160724-PatModImgTest/results/6.JLNK.stdout [2025-01-10T21:07:25.762Z] STF 16:07:25.589 - Monitoring processes: JLNK [2025-01-10T21:07:26.595Z] STF 16:07:26.407 - Monitoring Report Summary: [2025-01-10T21:07:26.595Z] STF 16:07:26.407 - o Process JLNK ended with the expected exit code (0) [2025-01-10T21:07:26.595Z] STF 16:07:26.407 - [2025-01-10T21:07:26.595Z] STF 16:07:26.407 - +------ Step 7 - Create com.hello jar [2025-01-10T21:07:26.595Z] STF 16:07:26.407 - | Create modular jar [2025-01-10T21:07:26.595Z] STF 16:07:26.407 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2025-01-10T21:07:26.596Z] STF 16:07:26.407 - | ModuleVersion: null [2025-01-10T21:07:26.596Z] STF 16:07:26.407 - | MainClass: null [2025-01-10T21:07:26.596Z] STF 16:07:26.407 - | HashModules: null [2025-01-10T21:07:26.596Z] STF 16:07:26.407 - | [2025-01-10T21:07:26.596Z] STF 16:07:26.407 - Running command: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17365407725799/PatModImg_AppMod_1/20250110-160724-PatModImgTest/modules/7.com.hello.jar -C /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello . [2025-01-10T21:07:26.596Z] STF 16:07:26.407 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17365407725799/PatModImg_AppMod_1/20250110-160724-PatModImgTest/results/7.CMJ.stderr [2025-01-10T21:07:26.596Z] STF 16:07:26.407 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17365407725799/PatModImg_AppMod_1/20250110-160724-PatModImgTest/results/7.CMJ.stdout [2025-01-10T21:07:26.596Z] STF 16:07:26.409 - Monitoring processes: CMJ [2025-01-10T21:07:26.596Z] STF 16:07:26.479 - Monitoring Report Summary: [2025-01-10T21:07:26.596Z] STF 16:07:26.479 - o Process CMJ ended with the expected exit code (0) [2025-01-10T21:07:26.596Z] STF 16:07:26.479 - Created modular jar: 7.com.hello.jar [2025-01-10T21:07:26.596Z] STF 16:07:26.479 - [2025-01-10T21:07:26.596Z] STF 16:07:26.479 - +------ Step 8 - create java.xml.jar [2025-01-10T21:07:26.596Z] STF 16:07:26.479 - | Create modular jar [2025-01-10T21:07:26.596Z] STF 16:07:26.479 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml [2025-01-10T21:07:26.596Z] STF 16:07:26.479 - | ModuleVersion: null [2025-01-10T21:07:26.596Z] STF 16:07:26.479 - | MainClass: null [2025-01-10T21:07:26.596Z] STF 16:07:26.479 - | HashModules: null [2025-01-10T21:07:26.596Z] STF 16:07:26.479 - | [2025-01-10T21:07:26.596Z] STF 16:07:26.479 - Running command: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17365407725799/PatModImg_AppMod_1/20250110-160724-PatModImgTest/modules/8.java.xml.jar -C /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/java.xml . [2025-01-10T21:07:26.596Z] STF 16:07:26.480 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17365407725799/PatModImg_AppMod_1/20250110-160724-PatModImgTest/results/8.CMJ.stderr [2025-01-10T21:07:26.596Z] STF 16:07:26.480 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17365407725799/PatModImg_AppMod_1/20250110-160724-PatModImgTest/results/8.CMJ.stdout [2025-01-10T21:07:26.596Z] STF 16:07:26.480 - Monitoring processes: CMJ [2025-01-10T21:07:26.983Z] STF 16:07:26.574 - Monitoring Report Summary: [2025-01-10T21:07:26.983Z] STF 16:07:26.574 - o Process CMJ ended with the expected exit code (0) [2025-01-10T21:07:26.983Z] STF 16:07:26.575 - Created modular jar: 8.java.xml.jar [2025-01-10T21:07:26.983Z] STF 16:07:26.575 - [2025-01-10T21:07:26.983Z] STF 16:07:26.575 - +------ Step 9 - Verify if we can patch an Application module using exploded directory [2025-01-10T21:07:26.983Z] STF 16:07:26.575 - | Run foreground process [2025-01-10T21:07:26.983Z] STF 16:07:26.575 - | Program: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17365407725799/PatModImg_AppMod_1/20250110-160724-PatModImgTest/tmp/6.XpJVM/bin/java [2025-01-10T21:07:26.983Z] STF 16:07:26.575 - | Mnemonic: OT21 [2025-01-10T21:07:26.983Z] STF 16:07:26.575 - | Echo: ECHO_ON [2025-01-10T21:07:26.983Z] STF 16:07:26.575 - | Expectation: CLEAN_RUN within 5m [2025-01-10T21:07:26.983Z] STF 16:07:26.575 - | [2025-01-10T21:07:26.983Z] STF 16:07:26.575 - Running command: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17365407725799/PatModImg_AppMod_1/20250110-160724-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module com.hello=/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/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-01-10T21:07:26.983Z] STF 16:07:26.575 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17365407725799/PatModImg_AppMod_1/20250110-160724-PatModImgTest/results/9.OT21.stderr [2025-01-10T21:07:26.983Z] STF 16:07:26.575 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17365407725799/PatModImg_AppMod_1/20250110-160724-PatModImgTest/results/9.OT21.stdout [2025-01-10T21:07:26.983Z] STF 16:07:26.576 - Monitoring processes: OT21 [2025-01-10T21:07:28.319Z] OT21 stderr WARNING: module-info.class ignored in patch: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello [2025-01-10T21:07:28.319Z] OT21 JUnit version 4.12 [2025-01-10T21:07:28.319Z] OT21 . [2025-01-10T21:07:28.319Z] OT21 Time: 0.004 [2025-01-10T21:07:28.319Z] OT21 [2025-01-10T21:07:28.319Z] OT21 OK (1 test) [2025-01-10T21:07:28.319Z] OT21 [2025-01-10T21:07:28.319Z] STF 16:07:28.230 - Monitoring Report Summary: [2025-01-10T21:07:28.319Z] STF 16:07:28.230 - o Process OT21 ended with the expected exit code (0) [2025-01-10T21:07:28.319Z] STF 16:07:28.230 - [2025-01-10T21:07:28.319Z] STF 16:07:28.230 - +------ Step 10 - Verify if we can patch an Application module using modular jar [2025-01-10T21:07:28.319Z] STF 16:07:28.230 - | Run foreground process [2025-01-10T21:07:28.319Z] STF 16:07:28.230 - | Program: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17365407725799/PatModImg_AppMod_1/20250110-160724-PatModImgTest/tmp/6.XpJVM/bin/java [2025-01-10T21:07:28.319Z] STF 16:07:28.230 - | Mnemonic: OT22 [2025-01-10T21:07:28.319Z] STF 16:07:28.230 - | Echo: ECHO_ON [2025-01-10T21:07:28.319Z] STF 16:07:28.230 - | Expectation: CLEAN_RUN within 5m [2025-01-10T21:07:28.319Z] STF 16:07:28.230 - | [2025-01-10T21:07:28.319Z] STF 16:07:28.230 - Running command: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17365407725799/PatModImg_AppMod_1/20250110-160724-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module com.hello=/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17365407725799/PatModImg_AppMod_1/20250110-160724-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-01-10T21:07:28.319Z] STF 16:07:28.230 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17365407725799/PatModImg_AppMod_1/20250110-160724-PatModImgTest/results/10.OT22.stderr [2025-01-10T21:07:28.319Z] STF 16:07:28.230 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17365407725799/PatModImg_AppMod_1/20250110-160724-PatModImgTest/results/10.OT22.stdout [2025-01-10T21:07:28.319Z] STF 16:07:28.231 - Monitoring processes: OT22 [2025-01-10T21:07:28.706Z] OT22 stderr WARNING: module-info.class ignored in patch: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17365407725799/PatModImg_AppMod_1/20250110-160724-PatModImgTest/modules/7.com.hello.jar [2025-01-10T21:07:28.707Z] OT22 JUnit version 4.12 [2025-01-10T21:07:28.707Z] OT22 . [2025-01-10T21:07:28.707Z] OT22 Time: 0.002 [2025-01-10T21:07:28.707Z] OT22 [2025-01-10T21:07:28.707Z] OT22 OK (1 test) [2025-01-10T21:07:28.707Z] OT22 [2025-01-10T21:07:28.707Z] STF 16:07:28.329 - Monitoring Report Summary: [2025-01-10T21:07:28.707Z] STF 16:07:28.329 - o Process OT22 ended with the expected exit code (0) [2025-01-10T21:07:28.707Z] STF 16:07:28.329 - EXECUTE stage completed [2025-01-10T21:07:28.707Z] STF 16:07:28.368 - [2025-01-10T21:07:28.707Z] STF 16:07:28.368 - ==================== T E A R D O W N ==================== [2025-01-10T21:07:28.707Z] STF 16:07:28.368 - Running teardown: perl /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17365407725799/PatModImg_AppMod_1/20250110-160724-PatModImgTest/tearDown.pl [2025-01-10T21:07:28.707Z] STF 16:07:28.395 - TEARDOWN stage completed [2025-01-10T21:07:28.707Z] STF 16:07:28.404 - [2025-01-10T21:07:28.707Z] STF 16:07:28.404 - ===================== R E S U L T S ===================== [2025-01-10T21:07:28.707Z] STF 16:07:28.404 - Stage results: [2025-01-10T21:07:28.707Z] STF 16:07:28.404 - setUp: pass [2025-01-10T21:07:28.707Z] STF 16:07:28.404 - execute: pass [2025-01-10T21:07:28.707Z] STF 16:07:28.404 - teardown: pass [2025-01-10T21:07:28.707Z] STF 16:07:28.404 - [2025-01-10T21:07:28.707Z] STF 16:07:28.404 - Overall result: PASSED [2025-01-10T21:07:28.707Z] ----------------------------------- [2025-01-10T21:07:28.707Z] PatModImg_AppMod_1_PASSED [2025-01-10T21:07:28.707Z] ----------------------------------- [2025-01-10T21:07:28.707Z] [2025-01-10T21:07:28.707Z] TEST TEARDOWN: [2025-01-10T21:07:28.707Z] Nothing to be done for teardown. [2025-01-10T21:07:28.707Z] PatModImg_AppMod_1 Finish Time: Fri Jan 10 16:07:28 2025 Epoch Time (ms): 1736543248421