PatModImg_AppMod_0

[2025-01-11T01:57:15.503Z] Running test PatModImg_AppMod_0 ... [2025-01-11T01:57:15.503Z] =============================================== [2025-01-11T01:57:15.914Z] PatModImg_AppMod_0 Start Time: Fri Jan 10 17:57:12 2025 Epoch Time (ms): 1736560632984 [2025-01-11T01:57:15.914Z] variation: Mode150 [2025-01-11T01:57:15.914Z] JVM_OPTIONS: -XX:+UseCompressedOops [2025-01-11T01:57:15.914Z] { \ [2025-01-11T01:57:15.914Z] echo ""; echo "TEST SETUP:"; \ [2025-01-11T01:57:15.914Z] echo "Nothing to be done for setup."; \ [2025-01-11T01:57:15.914Z] mkdir -p "/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17365594027344/PatModImg_AppMod_0"; \ [2025-01-11T01:57:15.914Z] cd "/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17365594027344/PatModImg_AppMod_0"; \ [2025-01-11T01:57:15.914Z] echo ""; echo "TESTING:"; \ [2025-01-11T01:57:15.914Z] perl /Users/admin/workspace/workspace/Test_openjdk17_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_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF;/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../../jvmtest/system/modularity/..//aqa-systemtest""" -systemtest-prereqs="/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/../../testDependency/system_lib/" -java-args=' -XX:+UseCompressedOops ' -results-root="/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17365594027344/PatModImg_AppMod_0" -test=PatModImgTest -test-args="variant=AppMod"; \ [2025-01-11T01:57:15.914Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatModImg_AppMod_0""_PASSED"; echo "-----------------------------------"; cd /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/..; rm -f -r "/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17365594027344/PatModImg_AppMod_0"; else echo "-----------------------------------"; echo "PatModImg_AppMod_0""_FAILED"; echo "-----------------------------------"; fi; \ [2025-01-11T01:57:15.914Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-01-11T01:57:15.914Z] echo "Nothing to be done for teardown."; \ [2025-01-11T01:57:15.914Z] } 2>&1 | tee -a "/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17365594027344/TestTargetResult"; [2025-01-11T01:57:15.914Z] [2025-01-11T01:57:15.914Z] TEST SETUP: [2025-01-11T01:57:15.914Z] Nothing to be done for setup. [2025-01-11T01:57:15.914Z] [2025-01-11T01:57:15.914Z] TESTING: [2025-01-11T01:57:15.914Z] STF 17:57:13.225 - ========================= S T F ========================= [2025-01-11T01:57:15.914Z] 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_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17365594027344/PatModImg_AppMod_0 [2025-01-11T01:57:15.914Z] There is 11400 Mb free [2025-01-11T01:57:15.914Z] STF 17:57:13.244 - ================== G E N E R A T I O N ================== [2025-01-11T01:57:15.914Z] STF 17:57:13.245 - Checking JVM: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/../ [2025-01-11T01:57:15.914Z] STF 17:57:13.246 - Starting process to generate scripts: /Users/admin/workspace/workspace/Test_openjdk17_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 -classpath /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/../../testDependency/system_lib//log4j/log4j-api.jar:/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/../../testDependency/system_lib//log4j/log4j-core.jar:/Users/admin/workspace/workspace/Test_openjdk17_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_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17365594027344/PatModImg_AppMod_0/20250110-175713-PatModImgTest/stf_parameters.properties, , /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17365594027344/PatModImg_AppMod_0/20250110-175713-PatModImgTest" [2025-01-11T01:57:18.036Z] GEN 17:57:14.928 - Found test. Project: 'openjdk.test.modularity' class: 'PatModImgTest.class' Dir: '/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin' [2025-01-11T01:57:18.036Z] GEN 17:57:14.989 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModImgTest' [2025-01-11T01:57:18.434Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2025-01-11T01:57:18.434Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayService [2025-01-11T01:57:18.434Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper [2025-01-11T01:57:18.434Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl1 [2025-01-11T01:57:18.434Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet [2025-01-11T01:57:18.434Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello [2025-01-11T01:57:18.434Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola [2025-01-11T01:57:18.434Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl2 [2025-01-11T01:57:18.434Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hi [2025-01-11T01:57:18.435Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override [2025-01-11T01:57:18.435Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override-new [2025-01-11T01:57:18.435Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl3 [2025-01-11T01:57:18.435Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl4 [2025-01-11T01:57:18.435Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common [2025-01-11T01:57:18.435Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests [2025-01-11T01:57:18.435Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin [2025-01-11T01:57:18.435Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/STF/stf.core/bin [2025-01-11T01:57:18.435Z] GEN /Users/admin/workspace/testDependency/system_lib/log4j/log4j-api.jar [2025-01-11T01:57:18.435Z] GEN /Users/admin/workspace/testDependency/system_lib/log4j/log4j-core.jar [2025-01-11T01:57:18.435Z] GEN /Users/admin/workspace/testDependency/system_lib/junit/junit.jar [2025-01-11T01:57:18.435Z] GEN 17:57:15.491 - Using Mode NoOptions. Values = '' [2025-01-11T01:57:18.435Z] GEN 17:57:15.713 - [2025-01-11T01:57:18.435Z] GEN 17:57:15.713 - Test command summary: [2025-01-11T01:57:18.435Z] GEN 17:57:15.714 - Step Stage Command Description [2025-01-11T01:57:18.435Z] GEN 17:57:15.714 - -----+--------+-----------------+------------ [2025-01-11T01:57:18.435Z] GEN 17:57:15.714 - 1 execute jar Create com.hello jar [2025-01-11T01:57:18.435Z] GEN 17:57:15.714 - 2 execute jar Create com.hola jar [2025-01-11T01:57:18.435Z] GEN 17:57:15.714 - 3 execute jar Create com.helper jar [2025-01-11T01:57:18.435Z] GEN 17:57:15.714 - 4 execute jar Create com.discreet jar [2025-01-11T01:57:18.435Z] GEN 17:57:15.714 - 5 execute jar Create tests jar [2025-01-11T01:57:18.435Z] GEN 17:57:15.714 - 6 execute jlink Create runtime image for PatchModule test [2025-01-11T01:57:18.435Z] GEN 17:57:15.714 - 7 execute jar Create com.hello jar [2025-01-11T01:57:18.435Z] GEN 17:57:15.714 - 8 execute jar create java.xml.jar [2025-01-11T01:57:18.435Z] GEN 17:57:15.714 - 9 execute Run java Verify if we can patch an Application module using exploded directory [2025-01-11T01:57:18.435Z] GEN 17:57:15.714 - 10 execute Run java Verify if we can patch an Application module using modular jar [2025-01-11T01:57:18.435Z] STF 17:57:15.807 - [2025-01-11T01:57:18.435Z] STF 17:57:15.807 - Script generation completed [2025-01-11T01:57:18.435Z] STF 17:57:15.807 - [2025-01-11T01:57:18.435Z] STF 17:57:15.808 - [2025-01-11T01:57:18.435Z] STF 17:57:15.808 - ======================= S E T U P ======================= [2025-01-11T01:57:18.435Z] STF 17:57:15.808 - Running setup: perl /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17365594027344/PatModImg_AppMod_0/20250110-175713-PatModImgTest/setUp.pl [2025-01-11T01:57:18.879Z] STF 17:57:16.011 - SETUP stage completed [2025-01-11T01:57:18.879Z] STF 17:57:16.023 - [2025-01-11T01:57:18.879Z] STF 17:57:16.023 - ==================== E X E C U T E - ==================== [2025-01-11T01:57:18.879Z] STF 17:57:16.023 - Running execute: perl /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17365594027344/PatModImg_AppMod_0/20250110-175713-PatModImgTest/execute.pl [2025-01-11T01:57:19.289Z] STF 17:57:16.284 - [2025-01-11T01:57:19.289Z] STF 17:57:16.285 - Java version [2025-01-11T01:57:19.289Z] STF 17:57:16.285 - Running: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/java -version [2025-01-11T01:57:19.289Z] openjdk version "17.0.14" 2025-01-21 [2025-01-11T01:57:19.289Z] OpenJDK Runtime Environment Temurin-17.0.14+6 (build 17.0.14+6) [2025-01-11T01:57:19.289Z] OpenJDK 64-Bit Server VM Temurin-17.0.14+6 (build 17.0.14+6, mixed mode) [2025-01-11T01:57:19.289Z] STF 17:57:16.475 - [2025-01-11T01:57:19.289Z] STF 17:57:16.475 - +------ Step 1 - Create com.hello jar [2025-01-11T01:57:19.289Z] STF 17:57:16.475 - | Create modular jar [2025-01-11T01:57:19.289Z] STF 17:57:16.475 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2025-01-11T01:57:19.289Z] STF 17:57:16.475 - | ModuleVersion: null [2025-01-11T01:57:19.289Z] STF 17:57:16.475 - | MainClass: null [2025-01-11T01:57:19.289Z] STF 17:57:16.475 - | HashModules: null [2025-01-11T01:57:19.289Z] STF 17:57:16.475 - | [2025-01-11T01:57:19.289Z] STF 17:57:16.477 - Running command: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17365594027344/PatModImg_AppMod_0/20250110-175713-PatModImgTest/modules/1.com.hello.jar -C /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello . [2025-01-11T01:57:19.289Z] STF 17:57:16.477 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17365594027344/PatModImg_AppMod_0/20250110-175713-PatModImgTest/results/1.CMJ.stderr [2025-01-11T01:57:19.289Z] STF 17:57:16.477 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17365594027344/PatModImg_AppMod_0/20250110-175713-PatModImgTest/results/1.CMJ.stdout [2025-01-11T01:57:19.289Z] STF 17:57:16.541 - Monitoring processes: CMJ [2025-01-11T01:57:19.700Z] STF 17:57:17.081 - Monitoring Report Summary: [2025-01-11T01:57:19.700Z] STF 17:57:17.081 - o Process CMJ ended with the expected exit code (0) [2025-01-11T01:57:19.700Z] STF 17:57:17.081 - Created modular jar: 1.com.hello.jar [2025-01-11T01:57:19.700Z] STF 17:57:17.081 - [2025-01-11T01:57:19.700Z] STF 17:57:17.081 - +------ Step 2 - Create com.hola jar [2025-01-11T01:57:19.700Z] STF 17:57:17.081 - | Create modular jar [2025-01-11T01:57:19.700Z] STF 17:57:17.081 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2025-01-11T01:57:19.700Z] STF 17:57:17.081 - | ModuleVersion: null [2025-01-11T01:57:19.700Z] STF 17:57:17.081 - | MainClass: null [2025-01-11T01:57:19.700Z] STF 17:57:17.081 - | HashModules: null [2025-01-11T01:57:19.700Z] STF 17:57:17.081 - | [2025-01-11T01:57:19.700Z] STF 17:57:17.082 - Running command: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17365594027344/PatModImg_AppMod_0/20250110-175713-PatModImgTest/modules/2.com.hola.jar -C /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola . [2025-01-11T01:57:19.700Z] STF 17:57:17.082 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17365594027344/PatModImg_AppMod_0/20250110-175713-PatModImgTest/results/2.CMJ.stderr [2025-01-11T01:57:19.700Z] STF 17:57:17.082 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17365594027344/PatModImg_AppMod_0/20250110-175713-PatModImgTest/results/2.CMJ.stdout [2025-01-11T01:57:19.700Z] STF 17:57:17.084 - Monitoring processes: CMJ [2025-01-11T01:57:20.127Z] STF 17:57:17.512 - Monitoring Report Summary: [2025-01-11T01:57:20.127Z] STF 17:57:17.512 - o Process CMJ ended with the expected exit code (0) [2025-01-11T01:57:20.127Z] STF 17:57:17.512 - Created modular jar: 2.com.hola.jar [2025-01-11T01:57:20.127Z] STF 17:57:17.512 - [2025-01-11T01:57:20.127Z] STF 17:57:17.512 - +------ Step 3 - Create com.helper jar [2025-01-11T01:57:20.127Z] STF 17:57:17.512 - | Create modular jar [2025-01-11T01:57:20.127Z] STF 17:57:17.512 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2025-01-11T01:57:20.127Z] STF 17:57:17.512 - | ModuleVersion: null [2025-01-11T01:57:20.127Z] STF 17:57:17.512 - | MainClass: null [2025-01-11T01:57:20.127Z] STF 17:57:17.512 - | HashModules: null [2025-01-11T01:57:20.127Z] STF 17:57:17.512 - | [2025-01-11T01:57:20.127Z] STF 17:57:17.513 - Running command: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17365594027344/PatModImg_AppMod_0/20250110-175713-PatModImgTest/modules/3.com.helper.jar -C /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper . [2025-01-11T01:57:20.127Z] STF 17:57:17.513 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17365594027344/PatModImg_AppMod_0/20250110-175713-PatModImgTest/results/3.CMJ.stderr [2025-01-11T01:57:20.127Z] STF 17:57:17.513 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17365594027344/PatModImg_AppMod_0/20250110-175713-PatModImgTest/results/3.CMJ.stdout [2025-01-11T01:57:20.548Z] STF 17:57:17.543 - Monitoring processes: CMJ [2025-01-11T01:57:21.013Z] STF 17:57:18.016 - Monitoring Report Summary: [2025-01-11T01:57:21.013Z] STF 17:57:18.016 - o Process CMJ ended with the expected exit code (0) [2025-01-11T01:57:21.013Z] STF 17:57:18.016 - Created modular jar: 3.com.helper.jar [2025-01-11T01:57:21.013Z] STF 17:57:18.016 - [2025-01-11T01:57:21.013Z] STF 17:57:18.016 - +------ Step 4 - Create com.discreet jar [2025-01-11T01:57:21.013Z] STF 17:57:18.016 - | Create modular jar [2025-01-11T01:57:21.013Z] STF 17:57:18.016 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2025-01-11T01:57:21.013Z] STF 17:57:18.016 - | ModuleVersion: null [2025-01-11T01:57:21.013Z] STF 17:57:18.016 - | MainClass: null [2025-01-11T01:57:21.013Z] STF 17:57:18.016 - | HashModules: null [2025-01-11T01:57:21.013Z] STF 17:57:18.016 - | [2025-01-11T01:57:21.014Z] STF 17:57:18.017 - Running command: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17365594027344/PatModImg_AppMod_0/20250110-175713-PatModImgTest/modules/4.com.discreet.jar -C /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet . [2025-01-11T01:57:21.014Z] STF 17:57:18.017 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17365594027344/PatModImg_AppMod_0/20250110-175713-PatModImgTest/results/4.CMJ.stderr [2025-01-11T01:57:21.014Z] STF 17:57:18.017 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17365594027344/PatModImg_AppMod_0/20250110-175713-PatModImgTest/results/4.CMJ.stdout [2025-01-11T01:57:21.014Z] STF 17:57:18.033 - Monitoring processes: CMJ [2025-01-11T01:57:21.439Z] STF 17:57:18.431 - Monitoring Report Summary: [2025-01-11T01:57:21.439Z] STF 17:57:18.431 - o Process CMJ ended with the expected exit code (0) [2025-01-11T01:57:21.439Z] STF 17:57:18.431 - Created modular jar: 4.com.discreet.jar [2025-01-11T01:57:21.439Z] STF 17:57:18.431 - [2025-01-11T01:57:21.439Z] STF 17:57:18.431 - +------ Step 5 - Create tests jar [2025-01-11T01:57:21.439Z] STF 17:57:18.431 - | Create modular jar [2025-01-11T01:57:21.439Z] STF 17:57:18.431 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2025-01-11T01:57:21.439Z] STF 17:57:18.431 - | ModuleVersion: null [2025-01-11T01:57:21.439Z] STF 17:57:18.431 - | MainClass: null [2025-01-11T01:57:21.439Z] STF 17:57:18.431 - | HashModules: null [2025-01-11T01:57:21.439Z] STF 17:57:18.431 - | [2025-01-11T01:57:21.439Z] STF 17:57:18.432 - Running command: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17365594027344/PatModImg_AppMod_0/20250110-175713-PatModImgTest/modules/5.com.test.jar -C /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test . [2025-01-11T01:57:21.439Z] STF 17:57:18.432 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17365594027344/PatModImg_AppMod_0/20250110-175713-PatModImgTest/results/5.CMJ.stderr [2025-01-11T01:57:21.439Z] STF 17:57:18.432 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17365594027344/PatModImg_AppMod_0/20250110-175713-PatModImgTest/results/5.CMJ.stdout [2025-01-11T01:57:21.439Z] STF 17:57:18.434 - Monitoring processes: CMJ [2025-01-11T01:57:21.866Z] STF 17:57:18.960 - Monitoring Report Summary: [2025-01-11T01:57:21.866Z] STF 17:57:18.960 - o Process CMJ ended with the expected exit code (0) [2025-01-11T01:57:21.866Z] STF 17:57:18.960 - Created modular jar: 5.com.test.jar [2025-01-11T01:57:21.866Z] STF 17:57:18.960 - [2025-01-11T01:57:21.866Z] STF 17:57:18.960 - +------ Step 6 - Create runtime image for PatchModule test [2025-01-11T01:57:21.866Z] STF 17:57:18.960 - | Run jlink to create runtime image [2025-01-11T01:57:21.866Z] STF 17:57:18.960 - | ImageName: XpJVM [2025-01-11T01:57:21.867Z] STF 17:57:18.960 - | [2025-01-11T01:57:21.867Z] STF 17:57:18.968 - Running command: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/jlink --module-path /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/jmods:/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17365594027344/PatModImg_AppMod_0/20250110-175713-PatModImgTest/modules --add-modules com.hello,com.hola,com.test,com.helper,com.discreet --output /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17365594027344/PatModImg_AppMod_0/20250110-175713-PatModImgTest/tmp/6.XpJVM [2025-01-11T01:57:21.867Z] STF 17:57:18.968 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17365594027344/PatModImg_AppMod_0/20250110-175713-PatModImgTest/results/6.JLNK.stderr [2025-01-11T01:57:21.867Z] STF 17:57:18.968 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17365594027344/PatModImg_AppMod_0/20250110-175713-PatModImgTest/results/6.JLNK.stdout [2025-01-11T01:57:21.867Z] STF 17:57:18.985 - Monitoring processes: JLNK [2025-01-11T01:57:27.892Z] STF 17:57:24.261 - Monitoring Report Summary: [2025-01-11T01:57:27.892Z] STF 17:57:24.261 - o Process JLNK ended with the expected exit code (0) [2025-01-11T01:57:27.892Z] STF 17:57:24.261 - [2025-01-11T01:57:27.892Z] STF 17:57:24.261 - +------ Step 7 - Create com.hello jar [2025-01-11T01:57:27.892Z] STF 17:57:24.261 - | Create modular jar [2025-01-11T01:57:27.892Z] STF 17:57:24.261 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2025-01-11T01:57:27.892Z] STF 17:57:24.261 - | ModuleVersion: null [2025-01-11T01:57:27.892Z] STF 17:57:24.261 - | MainClass: null [2025-01-11T01:57:27.892Z] STF 17:57:24.261 - | HashModules: null [2025-01-11T01:57:27.892Z] STF 17:57:24.261 - | [2025-01-11T01:57:27.892Z] STF 17:57:24.262 - Running command: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17365594027344/PatModImg_AppMod_0/20250110-175713-PatModImgTest/modules/7.com.hello.jar -C /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello . [2025-01-11T01:57:27.892Z] STF 17:57:24.262 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17365594027344/PatModImg_AppMod_0/20250110-175713-PatModImgTest/results/7.CMJ.stderr [2025-01-11T01:57:27.892Z] STF 17:57:24.262 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17365594027344/PatModImg_AppMod_0/20250110-175713-PatModImgTest/results/7.CMJ.stdout [2025-01-11T01:57:27.892Z] STF 17:57:24.292 - Monitoring processes: CMJ [2025-01-11T01:57:28.469Z] STF 17:57:25.794 - Monitoring Report Summary: [2025-01-11T01:57:28.469Z] STF 17:57:25.794 - o Process CMJ ended with the expected exit code (0) [2025-01-11T01:57:28.469Z] STF 17:57:25.794 - Created modular jar: 7.com.hello.jar [2025-01-11T01:57:28.469Z] STF 17:57:25.794 - [2025-01-11T01:57:28.469Z] STF 17:57:25.794 - +------ Step 8 - create java.xml.jar [2025-01-11T01:57:28.469Z] STF 17:57:25.794 - | Create modular jar [2025-01-11T01:57:28.469Z] STF 17:57:25.794 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml [2025-01-11T01:57:28.469Z] STF 17:57:25.794 - | ModuleVersion: null [2025-01-11T01:57:28.469Z] STF 17:57:25.794 - | MainClass: null [2025-01-11T01:57:28.469Z] STF 17:57:25.794 - | HashModules: null [2025-01-11T01:57:28.469Z] STF 17:57:25.794 - | [2025-01-11T01:57:28.469Z] STF 17:57:25.795 - Running command: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17365594027344/PatModImg_AppMod_0/20250110-175713-PatModImgTest/modules/8.java.xml.jar -C /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/java.xml . [2025-01-11T01:57:28.469Z] STF 17:57:25.795 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17365594027344/PatModImg_AppMod_0/20250110-175713-PatModImgTest/results/8.CMJ.stderr [2025-01-11T01:57:28.469Z] STF 17:57:25.795 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17365594027344/PatModImg_AppMod_0/20250110-175713-PatModImgTest/results/8.CMJ.stdout [2025-01-11T01:57:28.469Z] STF 17:57:25.805 - Monitoring processes: CMJ [2025-01-11T01:57:29.358Z] STF 17:57:26.350 - Monitoring Report Summary: [2025-01-11T01:57:29.358Z] STF 17:57:26.350 - o Process CMJ ended with the expected exit code (0) [2025-01-11T01:57:29.358Z] STF 17:57:26.350 - Created modular jar: 8.java.xml.jar [2025-01-11T01:57:29.358Z] STF 17:57:26.350 - [2025-01-11T01:57:29.358Z] STF 17:57:26.350 - +------ Step 9 - Verify if we can patch an Application module using exploded directory [2025-01-11T01:57:29.358Z] STF 17:57:26.350 - | Run foreground process [2025-01-11T01:57:29.358Z] STF 17:57:26.350 - | Program: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17365594027344/PatModImg_AppMod_0/20250110-175713-PatModImgTest/tmp/6.XpJVM/bin/java [2025-01-11T01:57:29.358Z] STF 17:57:26.350 - | Mnemonic: OT21 [2025-01-11T01:57:29.358Z] STF 17:57:26.350 - | Echo: ECHO_ON [2025-01-11T01:57:29.358Z] STF 17:57:26.350 - | Expectation: CLEAN_RUN within 5m [2025-01-11T01:57:29.358Z] STF 17:57:26.350 - | [2025-01-11T01:57:29.358Z] STF 17:57:26.351 - Running command: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17365594027344/PatModImg_AppMod_0/20250110-175713-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_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-01-11T01:57:29.358Z] STF 17:57:26.351 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17365594027344/PatModImg_AppMod_0/20250110-175713-PatModImgTest/results/9.OT21.stderr [2025-01-11T01:57:29.358Z] STF 17:57:26.351 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17365594027344/PatModImg_AppMod_0/20250110-175713-PatModImgTest/results/9.OT21.stdout [2025-01-11T01:57:29.358Z] STF 17:57:26.354 - Monitoring processes: OT21 [2025-01-11T01:57:31.411Z] OT21 stderr WARNING: module-info.class ignored in patch: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello [2025-01-11T01:57:31.411Z] OT21 JUnit version 4.12 [2025-01-11T01:57:31.877Z] OT21 . [2025-01-11T01:57:31.877Z] OT21 Time: 0.03 [2025-01-11T01:57:31.877Z] OT21 [2025-01-11T01:57:31.877Z] OT21 OK (1 test) [2025-01-11T01:57:31.877Z] OT21 [2025-01-11T01:57:31.877Z] STF 17:57:28.794 - Monitoring Report Summary: [2025-01-11T01:57:31.877Z] STF 17:57:28.794 - o Process OT21 ended with the expected exit code (0) [2025-01-11T01:57:31.877Z] STF 17:57:28.794 - [2025-01-11T01:57:31.877Z] STF 17:57:28.795 - +------ Step 10 - Verify if we can patch an Application module using modular jar [2025-01-11T01:57:31.877Z] STF 17:57:28.795 - | Run foreground process [2025-01-11T01:57:31.877Z] STF 17:57:28.795 - | Program: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17365594027344/PatModImg_AppMod_0/20250110-175713-PatModImgTest/tmp/6.XpJVM/bin/java [2025-01-11T01:57:31.877Z] STF 17:57:28.795 - | Mnemonic: OT22 [2025-01-11T01:57:31.877Z] STF 17:57:28.795 - | Echo: ECHO_ON [2025-01-11T01:57:31.877Z] STF 17:57:28.795 - | Expectation: CLEAN_RUN within 5m [2025-01-11T01:57:31.877Z] STF 17:57:28.795 - | [2025-01-11T01:57:31.877Z] STF 17:57:28.795 - Running command: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17365594027344/PatModImg_AppMod_0/20250110-175713-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_x86-64_mac_testList_2/aqa-tests/TKG/output_17365594027344/PatModImg_AppMod_0/20250110-175713-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-11T01:57:31.877Z] STF 17:57:28.795 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17365594027344/PatModImg_AppMod_0/20250110-175713-PatModImgTest/results/10.OT22.stderr [2025-01-11T01:57:31.877Z] STF 17:57:28.795 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17365594027344/PatModImg_AppMod_0/20250110-175713-PatModImgTest/results/10.OT22.stdout [2025-01-11T01:57:31.877Z] STF 17:57:28.805 - Monitoring processes: OT22 [2025-01-11T01:57:31.877Z] OT22 stderr WARNING: module-info.class ignored in patch: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17365594027344/PatModImg_AppMod_0/20250110-175713-PatModImgTest/modules/7.com.hello.jar [2025-01-11T01:57:31.877Z] OT22 JUnit version 4.12 [2025-01-11T01:57:32.319Z] OT22 . [2025-01-11T01:57:32.319Z] OT22 Time: 0.015 [2025-01-11T01:57:32.319Z] OT22 [2025-01-11T01:57:32.319Z] OT22 OK (1 test) [2025-01-11T01:57:32.319Z] OT22 [2025-01-11T01:57:32.319Z] STF 17:57:29.427 - Monitoring Report Summary: [2025-01-11T01:57:32.319Z] STF 17:57:29.427 - o Process OT22 ended with the expected exit code (0) [2025-01-11T01:57:32.319Z] STF 17:57:29.427 - EXECUTE stage completed [2025-01-11T01:57:32.319Z] STF 17:57:29.528 - [2025-01-11T01:57:32.319Z] STF 17:57:29.528 - ==================== T E A R D O W N ==================== [2025-01-11T01:57:32.319Z] STF 17:57:29.528 - Running teardown: perl /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17365594027344/PatModImg_AppMod_0/20250110-175713-PatModImgTest/tearDown.pl [2025-01-11T01:57:32.762Z] STF 17:57:29.752 - TEARDOWN stage completed [2025-01-11T01:57:32.762Z] STF 17:57:29.770 - [2025-01-11T01:57:32.762Z] STF 17:57:29.770 - ===================== R E S U L T S ===================== [2025-01-11T01:57:32.762Z] STF 17:57:29.770 - Stage results: [2025-01-11T01:57:32.762Z] STF 17:57:29.770 - setUp: pass [2025-01-11T01:57:32.762Z] STF 17:57:29.770 - execute: pass [2025-01-11T01:57:32.762Z] STF 17:57:29.770 - teardown: pass [2025-01-11T01:57:32.762Z] STF 17:57:29.770 - [2025-01-11T01:57:32.762Z] STF 17:57:29.770 - Overall result: PASSED [2025-01-11T01:57:32.762Z] ----------------------------------- [2025-01-11T01:57:32.762Z] PatModImg_AppMod_0_PASSED [2025-01-11T01:57:32.762Z] ----------------------------------- [2025-01-11T01:57:32.762Z] [2025-01-11T01:57:32.762Z] TEST TEARDOWN: [2025-01-11T01:57:32.762Z] Nothing to be done for teardown. [2025-01-11T01:57:32.762Z] PatModImg_AppMod_0 Finish Time: Fri Jan 10 17:57:29 2025 Epoch Time (ms): 1736560649877