PatModImg_AppMod_1

[2024-08-09T21:29:38.495Z] Running test PatModImg_AppMod_1 ... [2024-08-09T21:29:38.495Z] =============================================== [2024-08-09T21:29:38.495Z] PatModImg_AppMod_1 Start Time: Fri Aug 9 17:29:38 2024 Epoch Time (ms): 1723238978421 [2024-08-09T21:29:38.495Z] variation: Mode650 [2024-08-09T21:29:38.495Z] JVM_OPTIONS: -XX:-UseCompressedOops [2024-08-09T21:29:38.495Z] { \ [2024-08-09T21:29:38.495Z] echo ""; echo "TEST SETUP:"; \ [2024-08-09T21:29:38.495Z] echo "Nothing to be done for setup."; \ [2024-08-09T21:29:38.495Z] mkdir -p "/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17232365159250/PatModImg_AppMod_1"; \ [2024-08-09T21:29:38.495Z] cd "/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17232365159250/PatModImg_AppMod_1"; \ [2024-08-09T21:29:38.495Z] echo ""; echo "TESTING:"; \ [2024-08-09T21:29:38.495Z] 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_17232365159250/PatModImg_AppMod_1" -test=PatModImgTest -test-args="variant=AppMod"; \ [2024-08-09T21:29:38.495Z] 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_17232365159250/PatModImg_AppMod_1"; else echo "-----------------------------------"; echo "PatModImg_AppMod_1""_FAILED"; echo "-----------------------------------"; fi; \ [2024-08-09T21:29:38.495Z] echo ""; echo "TEST TEARDOWN:"; \ [2024-08-09T21:29:38.495Z] echo "Nothing to be done for teardown."; \ [2024-08-09T21:29:38.495Z] } 2>&1 | tee -a "/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17232365159250/TestTargetResult"; [2024-08-09T21:29:38.495Z] [2024-08-09T21:29:38.495Z] TEST SETUP: [2024-08-09T21:29:38.495Z] Nothing to be done for setup. [2024-08-09T21:29:38.495Z] [2024-08-09T21:29:38.495Z] TESTING: [2024-08-09T21:29:38.849Z] STF 17:29:38.458 - ========================= S T F ========================= [2024-08-09T21:29:38.849Z] 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_17232365159250/PatModImg_AppMod_1 [2024-08-09T21:29:38.849Z] There is 28546 Mb free [2024-08-09T21:29:38.849Z] STF 17:29:38.462 - ================== G E N E R A T I O N ================== [2024-08-09T21:29:38.849Z] STF 17:29:38.462 - Checking JVM: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/../ [2024-08-09T21:29:38.849Z] STF 17:29:38.462 - 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_17232365159250/PatModImg_AppMod_1/20240809-172938-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_17232365159250/PatModImg_AppMod_1/20240809-172938-PatModImgTest" [2024-08-09T21:29:38.849Z] GEN 17:29:38.774 - 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' [2024-08-09T21:29:38.849Z] GEN 17:29:38.779 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModImgTest' [2024-08-09T21:29:39.245Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2024-08-09T21:29:39.245Z] 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 [2024-08-09T21:29:39.245Z] 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 [2024-08-09T21:29:39.245Z] 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 [2024-08-09T21:29:39.245Z] 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 [2024-08-09T21:29:39.245Z] 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 [2024-08-09T21:29:39.245Z] 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 [2024-08-09T21:29:39.245Z] 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 [2024-08-09T21:29:39.245Z] 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 [2024-08-09T21:29:39.245Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override [2024-08-09T21:29:39.245Z] 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 [2024-08-09T21:29:39.245Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl3 [2024-08-09T21:29:39.245Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl4 [2024-08-09T21:29:39.245Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common [2024-08-09T21:29:39.245Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests [2024-08-09T21:29:39.245Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin [2024-08-09T21:29:39.245Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/STF/stf.core/bin [2024-08-09T21:29:39.245Z] GEN /Users/admin/workspace/testDependency/system_lib/log4j/log4j-api.jar [2024-08-09T21:29:39.245Z] GEN /Users/admin/workspace/testDependency/system_lib/log4j/log4j-core.jar [2024-08-09T21:29:39.245Z] GEN /Users/admin/workspace/testDependency/system_lib/junit/junit.jar [2024-08-09T21:29:39.245Z] GEN 17:29:38.861 - Using Mode NoOptions. Values = '' [2024-08-09T21:29:39.245Z] GEN 17:29:38.885 - [2024-08-09T21:29:39.245Z] GEN 17:29:38.885 - Test command summary: [2024-08-09T21:29:39.245Z] GEN 17:29:38.885 - Step Stage Command Description [2024-08-09T21:29:39.245Z] GEN 17:29:38.885 - -----+--------+-----------------+------------ [2024-08-09T21:29:39.245Z] GEN 17:29:38.885 - 1 execute jar Create com.hello jar [2024-08-09T21:29:39.245Z] GEN 17:29:38.885 - 2 execute jar Create com.hola jar [2024-08-09T21:29:39.245Z] GEN 17:29:38.886 - 3 execute jar Create com.helper jar [2024-08-09T21:29:39.245Z] GEN 17:29:38.886 - 4 execute jar Create com.discreet jar [2024-08-09T21:29:39.245Z] GEN 17:29:38.886 - 5 execute jar Create tests jar [2024-08-09T21:29:39.245Z] GEN 17:29:38.886 - 6 execute jlink Create runtime image for PatchModule test [2024-08-09T21:29:39.246Z] GEN 17:29:38.886 - 7 execute jar Create com.hello jar [2024-08-09T21:29:39.246Z] GEN 17:29:38.886 - 8 execute jar create java.xml.jar [2024-08-09T21:29:39.246Z] GEN 17:29:38.886 - 9 execute Run java Verify if we can patch an Application module using exploded directory [2024-08-09T21:29:39.246Z] GEN 17:29:38.886 - 10 execute Run java Verify if we can patch an Application module using modular jar [2024-08-09T21:29:39.246Z] STF 17:29:38.907 - [2024-08-09T21:29:39.246Z] STF 17:29:38.907 - Script generation completed [2024-08-09T21:29:39.246Z] STF 17:29:38.907 - [2024-08-09T21:29:39.246Z] STF 17:29:38.907 - [2024-08-09T21:29:39.246Z] STF 17:29:38.907 - ======================= S E T U P ======================= [2024-08-09T21:29:39.246Z] STF 17:29:38.907 - Running setup: perl /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17232365159250/PatModImg_AppMod_1/20240809-172938-PatModImgTest/setUp.pl [2024-08-09T21:29:39.246Z] STF 17:29:38.933 - SETUP stage completed [2024-08-09T21:29:39.246Z] STF 17:29:38.945 - [2024-08-09T21:29:39.246Z] STF 17:29:38.945 - ==================== E X E C U T E - ==================== [2024-08-09T21:29:39.246Z] STF 17:29:38.945 - Running execute: perl /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17232365159250/PatModImg_AppMod_1/20240809-172938-PatModImgTest/execute.pl [2024-08-09T21:29:39.246Z] STF 17:29:38.972 - [2024-08-09T21:29:39.246Z] STF 17:29:38.972 - Java version [2024-08-09T21:29:39.246Z] STF 17:29:38.972 - Running: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/java -version [2024-08-09T21:29:39.246Z] openjdk version "17.0.13-beta" 2024-10-15 [2024-08-09T21:29:39.246Z] OpenJDK Runtime Environment Temurin-17.0.13+2-202408091936 (build 17.0.13-beta+2-ea) [2024-08-09T21:29:39.246Z] OpenJDK 64-Bit Server VM Temurin-17.0.13+2-202408091936 (build 17.0.13-beta+2-ea, mixed mode) [2024-08-09T21:29:39.246Z] STF 17:29:39.008 - [2024-08-09T21:29:39.246Z] STF 17:29:39.008 - +------ Step 1 - Create com.hello jar [2024-08-09T21:29:39.246Z] STF 17:29:39.008 - | Create modular jar [2024-08-09T21:29:39.246Z] STF 17:29:39.008 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2024-08-09T21:29:39.246Z] STF 17:29:39.008 - | ModuleVersion: null [2024-08-09T21:29:39.246Z] STF 17:29:39.008 - | MainClass: null [2024-08-09T21:29:39.246Z] STF 17:29:39.008 - | HashModules: null [2024-08-09T21:29:39.246Z] STF 17:29:39.008 - | [2024-08-09T21:29:39.246Z] STF 17:29:39.008 - 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_17232365159250/PatModImg_AppMod_1/20240809-172938-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 . [2024-08-09T21:29:39.246Z] STF 17:29:39.008 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17232365159250/PatModImg_AppMod_1/20240809-172938-PatModImgTest/results/1.CMJ.stderr [2024-08-09T21:29:39.246Z] STF 17:29:39.008 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17232365159250/PatModImg_AppMod_1/20240809-172938-PatModImgTest/results/1.CMJ.stdout [2024-08-09T21:29:39.246Z] STF 17:29:39.013 - Monitoring processes: CMJ [2024-08-09T21:29:39.246Z] STF 17:29:39.115 - Monitoring Report Summary: [2024-08-09T21:29:39.246Z] STF 17:29:39.115 - o Process CMJ ended with the expected exit code (0) [2024-08-09T21:29:39.246Z] STF 17:29:39.116 - Created modular jar: 1.com.hello.jar [2024-08-09T21:29:39.246Z] STF 17:29:39.116 - [2024-08-09T21:29:39.246Z] STF 17:29:39.116 - +------ Step 2 - Create com.hola jar [2024-08-09T21:29:39.246Z] STF 17:29:39.116 - | Create modular jar [2024-08-09T21:29:39.246Z] STF 17:29:39.116 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2024-08-09T21:29:39.246Z] STF 17:29:39.116 - | ModuleVersion: null [2024-08-09T21:29:39.246Z] STF 17:29:39.116 - | MainClass: null [2024-08-09T21:29:39.246Z] STF 17:29:39.116 - | HashModules: null [2024-08-09T21:29:39.246Z] STF 17:29:39.116 - | [2024-08-09T21:29:39.246Z] STF 17:29:39.116 - 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_17232365159250/PatModImg_AppMod_1/20240809-172938-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 . [2024-08-09T21:29:39.246Z] STF 17:29:39.116 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17232365159250/PatModImg_AppMod_1/20240809-172938-PatModImgTest/results/2.CMJ.stderr [2024-08-09T21:29:39.246Z] STF 17:29:39.116 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17232365159250/PatModImg_AppMod_1/20240809-172938-PatModImgTest/results/2.CMJ.stdout [2024-08-09T21:29:39.246Z] STF 17:29:39.116 - Monitoring processes: CMJ [2024-08-09T21:29:39.596Z] STF 17:29:39.219 - Monitoring Report Summary: [2024-08-09T21:29:39.596Z] STF 17:29:39.219 - o Process CMJ ended with the expected exit code (0) [2024-08-09T21:29:39.596Z] STF 17:29:39.219 - Created modular jar: 2.com.hola.jar [2024-08-09T21:29:39.596Z] STF 17:29:39.219 - [2024-08-09T21:29:39.596Z] STF 17:29:39.219 - +------ Step 3 - Create com.helper jar [2024-08-09T21:29:39.596Z] STF 17:29:39.219 - | Create modular jar [2024-08-09T21:29:39.596Z] STF 17:29:39.219 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2024-08-09T21:29:39.596Z] STF 17:29:39.219 - | ModuleVersion: null [2024-08-09T21:29:39.596Z] STF 17:29:39.219 - | MainClass: null [2024-08-09T21:29:39.596Z] STF 17:29:39.219 - | HashModules: null [2024-08-09T21:29:39.596Z] STF 17:29:39.219 - | [2024-08-09T21:29:39.597Z] STF 17:29:39.220 - 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_17232365159250/PatModImg_AppMod_1/20240809-172938-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 . [2024-08-09T21:29:39.597Z] STF 17:29:39.220 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17232365159250/PatModImg_AppMod_1/20240809-172938-PatModImgTest/results/3.CMJ.stderr [2024-08-09T21:29:39.597Z] STF 17:29:39.220 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17232365159250/PatModImg_AppMod_1/20240809-172938-PatModImgTest/results/3.CMJ.stdout [2024-08-09T21:29:39.597Z] STF 17:29:39.221 - Monitoring processes: CMJ [2024-08-09T21:29:39.597Z] STF 17:29:39.328 - Monitoring Report Summary: [2024-08-09T21:29:39.597Z] STF 17:29:39.328 - o Process CMJ ended with the expected exit code (0) [2024-08-09T21:29:39.597Z] STF 17:29:39.328 - Created modular jar: 3.com.helper.jar [2024-08-09T21:29:39.597Z] STF 17:29:39.328 - [2024-08-09T21:29:39.597Z] STF 17:29:39.328 - +------ Step 4 - Create com.discreet jar [2024-08-09T21:29:39.597Z] STF 17:29:39.328 - | Create modular jar [2024-08-09T21:29:39.597Z] STF 17:29:39.328 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2024-08-09T21:29:39.597Z] STF 17:29:39.328 - | ModuleVersion: null [2024-08-09T21:29:39.597Z] STF 17:29:39.328 - | MainClass: null [2024-08-09T21:29:39.597Z] STF 17:29:39.328 - | HashModules: null [2024-08-09T21:29:39.597Z] STF 17:29:39.328 - | [2024-08-09T21:29:39.597Z] STF 17:29:39.328 - 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_17232365159250/PatModImg_AppMod_1/20240809-172938-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 . [2024-08-09T21:29:39.597Z] STF 17:29:39.328 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17232365159250/PatModImg_AppMod_1/20240809-172938-PatModImgTest/results/4.CMJ.stderr [2024-08-09T21:29:39.597Z] STF 17:29:39.328 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17232365159250/PatModImg_AppMod_1/20240809-172938-PatModImgTest/results/4.CMJ.stdout [2024-08-09T21:29:39.597Z] STF 17:29:39.329 - Monitoring processes: CMJ [2024-08-09T21:29:39.597Z] STF 17:29:39.426 - Monitoring Report Summary: [2024-08-09T21:29:39.597Z] STF 17:29:39.426 - o Process CMJ ended with the expected exit code (0) [2024-08-09T21:29:39.597Z] STF 17:29:39.426 - Created modular jar: 4.com.discreet.jar [2024-08-09T21:29:39.597Z] STF 17:29:39.426 - [2024-08-09T21:29:39.597Z] STF 17:29:39.426 - +------ Step 5 - Create tests jar [2024-08-09T21:29:39.597Z] STF 17:29:39.426 - | Create modular jar [2024-08-09T21:29:39.597Z] STF 17:29:39.426 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2024-08-09T21:29:39.597Z] STF 17:29:39.426 - | ModuleVersion: null [2024-08-09T21:29:39.597Z] STF 17:29:39.426 - | MainClass: null [2024-08-09T21:29:39.597Z] STF 17:29:39.426 - | HashModules: null [2024-08-09T21:29:39.597Z] STF 17:29:39.426 - | [2024-08-09T21:29:39.597Z] STF 17:29:39.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_17232365159250/PatModImg_AppMod_1/20240809-172938-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 . [2024-08-09T21:29:39.597Z] STF 17:29:39.426 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17232365159250/PatModImg_AppMod_1/20240809-172938-PatModImgTest/results/5.CMJ.stderr [2024-08-09T21:29:39.597Z] STF 17:29:39.426 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17232365159250/PatModImg_AppMod_1/20240809-172938-PatModImgTest/results/5.CMJ.stdout [2024-08-09T21:29:39.597Z] STF 17:29:39.427 - Monitoring processes: CMJ [2024-08-09T21:29:39.597Z] STF 17:29:39.538 - Monitoring Report Summary: [2024-08-09T21:29:39.597Z] STF 17:29:39.538 - o Process CMJ ended with the expected exit code (0) [2024-08-09T21:29:39.597Z] STF 17:29:39.538 - Created modular jar: 5.com.test.jar [2024-08-09T21:29:39.597Z] STF 17:29:39.539 - [2024-08-09T21:29:39.597Z] STF 17:29:39.539 - +------ Step 6 - Create runtime image for PatchModule test [2024-08-09T21:29:39.597Z] STF 17:29:39.539 - | Run jlink to create runtime image [2024-08-09T21:29:39.597Z] STF 17:29:39.539 - | ImageName: XpJVM [2024-08-09T21:29:39.597Z] STF 17:29:39.539 - | [2024-08-09T21:29:39.597Z] STF 17:29:39.539 - 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_17232365159250/PatModImg_AppMod_1/20240809-172938-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_17232365159250/PatModImg_AppMod_1/20240809-172938-PatModImgTest/tmp/6.XpJVM [2024-08-09T21:29:39.597Z] STF 17:29:39.539 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17232365159250/PatModImg_AppMod_1/20240809-172938-PatModImgTest/results/6.JLNK.stderr [2024-08-09T21:29:39.597Z] STF 17:29:39.539 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17232365159250/PatModImg_AppMod_1/20240809-172938-PatModImgTest/results/6.JLNK.stdout [2024-08-09T21:29:39.597Z] STF 17:29:39.539 - Monitoring processes: JLNK [2024-08-09T21:29:40.819Z] STF 17:29:40.642 - Monitoring Report Summary: [2024-08-09T21:29:40.819Z] STF 17:29:40.642 - o Process JLNK ended with the expected exit code (0) [2024-08-09T21:29:40.819Z] STF 17:29:40.642 - [2024-08-09T21:29:40.819Z] STF 17:29:40.642 - +------ Step 7 - Create com.hello jar [2024-08-09T21:29:40.819Z] STF 17:29:40.642 - | Create modular jar [2024-08-09T21:29:40.819Z] STF 17:29:40.642 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2024-08-09T21:29:40.819Z] STF 17:29:40.642 - | ModuleVersion: null [2024-08-09T21:29:40.819Z] STF 17:29:40.642 - | MainClass: null [2024-08-09T21:29:40.819Z] STF 17:29:40.642 - | HashModules: null [2024-08-09T21:29:40.819Z] STF 17:29:40.642 - | [2024-08-09T21:29:40.819Z] STF 17:29:40.643 - 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_17232365159250/PatModImg_AppMod_1/20240809-172938-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 . [2024-08-09T21:29:40.819Z] STF 17:29:40.643 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17232365159250/PatModImg_AppMod_1/20240809-172938-PatModImgTest/results/7.CMJ.stderr [2024-08-09T21:29:40.819Z] STF 17:29:40.643 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17232365159250/PatModImg_AppMod_1/20240809-172938-PatModImgTest/results/7.CMJ.stdout [2024-08-09T21:29:40.819Z] STF 17:29:40.645 - Monitoring processes: CMJ [2024-08-09T21:29:40.819Z] STF 17:29:40.754 - Monitoring Report Summary: [2024-08-09T21:29:40.819Z] STF 17:29:40.754 - o Process CMJ ended with the expected exit code (0) [2024-08-09T21:29:40.819Z] STF 17:29:40.754 - Created modular jar: 7.com.hello.jar [2024-08-09T21:29:40.819Z] STF 17:29:40.754 - [2024-08-09T21:29:40.819Z] STF 17:29:40.754 - +------ Step 8 - create java.xml.jar [2024-08-09T21:29:40.819Z] STF 17:29:40.754 - | Create modular jar [2024-08-09T21:29:40.819Z] STF 17:29:40.754 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml [2024-08-09T21:29:40.819Z] STF 17:29:40.754 - | ModuleVersion: null [2024-08-09T21:29:40.819Z] STF 17:29:40.754 - | MainClass: null [2024-08-09T21:29:40.819Z] STF 17:29:40.754 - | HashModules: null [2024-08-09T21:29:40.819Z] STF 17:29:40.754 - | [2024-08-09T21:29:40.819Z] STF 17:29:40.754 - 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_17232365159250/PatModImg_AppMod_1/20240809-172938-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 . [2024-08-09T21:29:40.819Z] STF 17:29:40.754 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17232365159250/PatModImg_AppMod_1/20240809-172938-PatModImgTest/results/8.CMJ.stderr [2024-08-09T21:29:40.819Z] STF 17:29:40.754 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17232365159250/PatModImg_AppMod_1/20240809-172938-PatModImgTest/results/8.CMJ.stdout [2024-08-09T21:29:40.819Z] STF 17:29:40.755 - Monitoring processes: CMJ [2024-08-09T21:29:41.170Z] STF 17:29:40.854 - Monitoring Report Summary: [2024-08-09T21:29:41.170Z] STF 17:29:40.854 - o Process CMJ ended with the expected exit code (0) [2024-08-09T21:29:41.170Z] STF 17:29:40.854 - Created modular jar: 8.java.xml.jar [2024-08-09T21:29:41.170Z] STF 17:29:40.854 - [2024-08-09T21:29:41.170Z] STF 17:29:40.854 - +------ Step 9 - Verify if we can patch an Application module using exploded directory [2024-08-09T21:29:41.170Z] STF 17:29:40.854 - | Run foreground process [2024-08-09T21:29:41.170Z] STF 17:29:40.854 - | Program: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17232365159250/PatModImg_AppMod_1/20240809-172938-PatModImgTest/tmp/6.XpJVM/bin/java [2024-08-09T21:29:41.170Z] STF 17:29:40.854 - | Mnemonic: OT21 [2024-08-09T21:29:41.170Z] STF 17:29:40.854 - | Echo: ECHO_ON [2024-08-09T21:29:41.170Z] STF 17:29:40.854 - | Expectation: CLEAN_RUN within 5m [2024-08-09T21:29:41.170Z] STF 17:29:40.854 - | [2024-08-09T21:29:41.170Z] STF 17:29:40.854 - Running command: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17232365159250/PatModImg_AppMod_1/20240809-172938-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 [2024-08-09T21:29:41.170Z] STF 17:29:40.854 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17232365159250/PatModImg_AppMod_1/20240809-172938-PatModImgTest/results/9.OT21.stderr [2024-08-09T21:29:41.170Z] STF 17:29:40.854 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17232365159250/PatModImg_AppMod_1/20240809-172938-PatModImgTest/results/9.OT21.stdout [2024-08-09T21:29:41.170Z] STF 17:29:40.855 - Monitoring processes: OT21 [2024-08-09T21:29:42.377Z] 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 [2024-08-09T21:29:42.725Z] OT21 JUnit version 4.12 [2024-08-09T21:29:42.725Z] OT21 . [2024-08-09T21:29:42.725Z] OT21 Time: 0.004 [2024-08-09T21:29:42.725Z] OT21 [2024-08-09T21:29:42.725Z] OT21 OK (1 test) [2024-08-09T21:29:42.725Z] OT21 [2024-08-09T21:29:42.725Z] STF 17:29:42.480 - Monitoring Report Summary: [2024-08-09T21:29:42.725Z] STF 17:29:42.480 - o Process OT21 ended with the expected exit code (0) [2024-08-09T21:29:42.725Z] STF 17:29:42.480 - [2024-08-09T21:29:42.725Z] STF 17:29:42.480 - +------ Step 10 - Verify if we can patch an Application module using modular jar [2024-08-09T21:29:42.725Z] STF 17:29:42.480 - | Run foreground process [2024-08-09T21:29:42.725Z] STF 17:29:42.480 - | Program: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17232365159250/PatModImg_AppMod_1/20240809-172938-PatModImgTest/tmp/6.XpJVM/bin/java [2024-08-09T21:29:42.725Z] STF 17:29:42.480 - | Mnemonic: OT22 [2024-08-09T21:29:42.725Z] STF 17:29:42.480 - | Echo: ECHO_ON [2024-08-09T21:29:42.725Z] STF 17:29:42.480 - | Expectation: CLEAN_RUN within 5m [2024-08-09T21:29:42.725Z] STF 17:29:42.480 - | [2024-08-09T21:29:42.725Z] STF 17:29:42.480 - Running command: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17232365159250/PatModImg_AppMod_1/20240809-172938-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_17232365159250/PatModImg_AppMod_1/20240809-172938-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 [2024-08-09T21:29:42.725Z] STF 17:29:42.480 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17232365159250/PatModImg_AppMod_1/20240809-172938-PatModImgTest/results/10.OT22.stderr [2024-08-09T21:29:42.725Z] STF 17:29:42.480 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17232365159250/PatModImg_AppMod_1/20240809-172938-PatModImgTest/results/10.OT22.stdout [2024-08-09T21:29:42.725Z] STF 17:29:42.481 - Monitoring processes: OT22 [2024-08-09T21:29:42.725Z] 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_17232365159250/PatModImg_AppMod_1/20240809-172938-PatModImgTest/modules/7.com.hello.jar [2024-08-09T21:29:42.725Z] OT22 JUnit version 4.12 [2024-08-09T21:29:42.725Z] OT22 . [2024-08-09T21:29:42.725Z] OT22 Time: 0.001 [2024-08-09T21:29:42.725Z] OT22 [2024-08-09T21:29:42.725Z] OT22 OK (1 test) [2024-08-09T21:29:42.725Z] OT22 [2024-08-09T21:29:42.725Z] STF 17:29:42.589 - Monitoring Report Summary: [2024-08-09T21:29:42.725Z] STF 17:29:42.589 - o Process OT22 ended with the expected exit code (0) [2024-08-09T21:29:42.725Z] STF 17:29:42.589 - EXECUTE stage completed [2024-08-09T21:29:42.725Z] STF 17:29:42.610 - [2024-08-09T21:29:42.725Z] STF 17:29:42.610 - ==================== T E A R D O W N ==================== [2024-08-09T21:29:42.725Z] STF 17:29:42.610 - Running teardown: perl /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17232365159250/PatModImg_AppMod_1/20240809-172938-PatModImgTest/tearDown.pl [2024-08-09T21:29:42.725Z] STF 17:29:42.636 - TEARDOWN stage completed [2024-08-09T21:29:42.725Z] STF 17:29:42.641 - [2024-08-09T21:29:42.725Z] STF 17:29:42.641 - ===================== R E S U L T S ===================== [2024-08-09T21:29:42.725Z] STF 17:29:42.641 - Stage results: [2024-08-09T21:29:42.726Z] STF 17:29:42.641 - setUp: pass [2024-08-09T21:29:42.726Z] STF 17:29:42.641 - execute: pass [2024-08-09T21:29:42.726Z] STF 17:29:42.641 - teardown: pass [2024-08-09T21:29:42.726Z] STF 17:29:42.641 - [2024-08-09T21:29:42.726Z] STF 17:29:42.641 - Overall result: PASSED [2024-08-09T21:29:42.726Z] ----------------------------------- [2024-08-09T21:29:42.726Z] PatModImg_AppMod_1_PASSED [2024-08-09T21:29:42.726Z] ----------------------------------- [2024-08-09T21:29:42.726Z] [2024-08-09T21:29:42.726Z] TEST TEARDOWN: [2024-08-09T21:29:42.726Z] Nothing to be done for teardown. [2024-08-09T21:29:42.726Z] PatModImg_AppMod_1 Finish Time: Fri Aug 9 17:29:42 2024 Epoch Time (ms): 1723238982659