PatModImg_AppMod_0

[2025-06-19T14:02:20.241Z] Running test PatModImg_AppMod_0 ... [2025-06-19T14:02:20.241Z] =============================================== [2025-06-19T14:02:20.241Z] PatModImg_AppMod_0 Start Time: Thu Jun 19 07:02:17 2025 Epoch Time (ms): 1750341737154 [2025-06-19T14:02:20.241Z] variation: Mode150 [2025-06-19T14:02:20.241Z] JVM_OPTIONS: -XX:+UseCompressedOops [2025-06-19T14:02:20.241Z] { \ [2025-06-19T14:02:20.241Z] echo ""; echo "TEST SETUP:"; \ [2025-06-19T14:02:20.241Z] echo "Nothing to be done for setup."; \ [2025-06-19T14:02:20.241Z] mkdir -p "/Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17503391414748/PatModImg_AppMod_0"; \ [2025-06-19T14:02:20.241Z] cd "/Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17503391414748/PatModImg_AppMod_0"; \ [2025-06-19T14:02:20.241Z] echo ""; echo "TESTING:"; \ [2025-06-19T14:02:20.241Z] perl /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF/stf.core/scripts/stf.pl -test-root="/Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF;/Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../../jvmtest/system/modularity/..//aqa-systemtest""" -systemtest-prereqs="/Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/../../testDependency/system_lib/" -java-args=' -XX:+UseCompressedOops ' -results-root="/Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17503391414748/PatModImg_AppMod_0" -test=PatModImgTest -test-args="variant=AppMod"; \ [2025-06-19T14:02:20.241Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatModImg_AppMod_0""_PASSED"; echo "-----------------------------------"; cd /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/..; rm -f -r "/Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17503391414748/PatModImg_AppMod_0"; else echo "-----------------------------------"; echo "PatModImg_AppMod_0""_FAILED"; echo "-----------------------------------"; fi; \ [2025-06-19T14:02:20.241Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-06-19T14:02:20.241Z] echo "Nothing to be done for teardown."; \ [2025-06-19T14:02:20.241Z] } 2>&1 | tee -a "/Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17503391414748/TestTargetResult"; [2025-06-19T14:02:20.241Z] [2025-06-19T14:02:20.241Z] TEST SETUP: [2025-06-19T14:02:20.241Z] Nothing to be done for setup. [2025-06-19T14:02:20.241Z] [2025-06-19T14:02:20.241Z] TESTING: [2025-06-19T14:02:20.724Z] STF 07:02:17.672 - ========================= S T F ========================= [2025-06-19T14:02:20.724Z] 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_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17503391414748/PatModImg_AppMod_0 [2025-06-19T14:02:20.724Z] There is 12764 Mb free [2025-06-19T14:02:20.724Z] STF 07:02:17.692 - ================== G E N E R A T I O N ================== [2025-06-19T14:02:20.724Z] STF 07:02:17.694 - Checking JVM: /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/../ [2025-06-19T14:02:20.724Z] STF 07:02:17.694 - Starting process to generate scripts: /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/..//bin/java -Dlog4j.skipJansi=true -Djava.system.class.loader=net.adoptopenjdk.stf.runner.StfClassLoader -Dload.agent.path=/Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/STF/stf.core/scripts/../../stf.load/bin/stf.load.jar -classpath /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/../../testDependency/system_lib//asm/asm.jar:/Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/../../testDependency/system_lib//asm/asm-commons.jar:/Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/../../testDependency/system_lib//log4j/log4j-api.jar:/Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/../../testDependency/system_lib//log4j/log4j-core.jar:/Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "/Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17503391414748/PatModImg_AppMod_0/20250619-070217-PatModImgTest/stf_parameters.properties, , /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "/Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17503391414748/PatModImg_AppMod_0/20250619-070217-PatModImgTest" [2025-06-19T14:02:23.872Z] GEN 07:02:20.955 - Found test. Project: 'openjdk.test.modularity' class: 'PatModImgTest.class' Dir: '/Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin' [2025-06-19T14:02:23.872Z] GEN 07:02:20.977 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModImgTest' [2025-06-19T14:02:24.377Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2025-06-19T14:02:24.377Z] GEN /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayService [2025-06-19T14:02:24.377Z] GEN /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper [2025-06-19T14:02:24.377Z] GEN /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl1 [2025-06-19T14:02:24.377Z] GEN /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet [2025-06-19T14:02:24.377Z] GEN /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello [2025-06-19T14:02:24.377Z] GEN /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola [2025-06-19T14:02:24.377Z] GEN /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl2 [2025-06-19T14:02:24.377Z] GEN /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hi [2025-06-19T14:02:24.377Z] GEN /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override [2025-06-19T14:02:24.377Z] GEN /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override-new [2025-06-19T14:02:24.377Z] GEN /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl3 [2025-06-19T14:02:24.377Z] GEN /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl4 [2025-06-19T14:02:24.378Z] GEN /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common [2025-06-19T14:02:24.378Z] GEN /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests [2025-06-19T14:02:24.378Z] GEN /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin [2025-06-19T14:02:24.378Z] GEN /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/STF/stf.core/bin [2025-06-19T14:02:24.378Z] GEN /Users/admin/workspace/testDependency/system_lib/log4j/log4j-api.jar [2025-06-19T14:02:24.378Z] GEN /Users/admin/workspace/testDependency/system_lib/log4j/log4j-core.jar [2025-06-19T14:02:24.378Z] GEN /Users/admin/workspace/testDependency/system_lib/junit/junit.jar [2025-06-19T14:02:24.870Z] GEN 07:02:21.760 - Using Mode NoOptions. Values = '' [2025-06-19T14:02:25.439Z] GEN 07:02:22.132 - [2025-06-19T14:02:25.439Z] GEN 07:02:22.132 - Test command summary: [2025-06-19T14:02:25.439Z] GEN 07:02:22.133 - Step Stage Command Description [2025-06-19T14:02:25.440Z] GEN 07:02:22.133 - -----+--------+-----------------+------------ [2025-06-19T14:02:25.440Z] GEN 07:02:22.133 - 1 execute jar Create com.hello jar [2025-06-19T14:02:25.440Z] GEN 07:02:22.133 - 2 execute jar Create com.hola jar [2025-06-19T14:02:25.440Z] GEN 07:02:22.133 - 3 execute jar Create com.helper jar [2025-06-19T14:02:25.440Z] GEN 07:02:22.133 - 4 execute jar Create com.discreet jar [2025-06-19T14:02:25.440Z] GEN 07:02:22.133 - 5 execute jar Create tests jar [2025-06-19T14:02:25.440Z] GEN 07:02:22.133 - 6 execute jlink Create runtime image for PatchModule test [2025-06-19T14:02:25.440Z] GEN 07:02:22.133 - 7 execute jar Create com.hello jar [2025-06-19T14:02:25.440Z] GEN 07:02:22.159 - 8 execute jar create java.xml.jar [2025-06-19T14:02:25.440Z] GEN 07:02:22.160 - 9 execute Run java Verify if we can patch an Application module using exploded directory [2025-06-19T14:02:25.440Z] GEN 07:02:22.160 - 10 execute Run java Verify if we can patch an Application module using modular jar [2025-06-19T14:02:25.440Z] STF 07:02:22.356 - [2025-06-19T14:02:25.440Z] STF 07:02:22.356 - Script generation completed [2025-06-19T14:02:25.440Z] STF 07:02:22.356 - [2025-06-19T14:02:25.440Z] STF 07:02:22.356 - [2025-06-19T14:02:25.440Z] STF 07:02:22.357 - ======================= S E T U P ======================= [2025-06-19T14:02:25.440Z] STF 07:02:22.357 - Running setup: perl /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17503391414748/PatModImg_AppMod_0/20250619-070217-PatModImgTest/setUp.pl [2025-06-19T14:02:25.440Z] STF 07:02:22.487 - SETUP stage completed [2025-06-19T14:02:25.440Z] STF 07:02:22.527 - [2025-06-19T14:02:25.440Z] STF 07:02:22.527 - ==================== E X E C U T E - ==================== [2025-06-19T14:02:25.440Z] STF 07:02:22.527 - Running execute: perl /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17503391414748/PatModImg_AppMod_0/20250619-070217-PatModImgTest/execute.pl [2025-06-19T14:02:25.907Z] STF 07:02:22.782 - [2025-06-19T14:02:25.907Z] STF 07:02:22.782 - Java version [2025-06-19T14:02:25.907Z] STF 07:02:22.782 - Running: /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/java -version [2025-06-19T14:02:26.379Z] openjdk version "11.0.28-beta" 2025-07-15 [2025-06-19T14:02:26.379Z] OpenJDK Runtime Environment Temurin-11.0.28+5-202506182045 (build 11.0.28-beta+5-ea) [2025-06-19T14:02:26.379Z] OpenJDK 64-Bit Server VM Temurin-11.0.28+5-202506182045 (build 11.0.28-beta+5-ea, mixed mode) [2025-06-19T14:02:26.379Z] STF 07:02:23.335 - [2025-06-19T14:02:26.379Z] STF 07:02:23.336 - +------ Step 1 - Create com.hello jar [2025-06-19T14:02:26.379Z] STF 07:02:23.336 - | Create modular jar [2025-06-19T14:02:26.379Z] STF 07:02:23.336 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2025-06-19T14:02:26.379Z] STF 07:02:23.336 - | ModuleVersion: null [2025-06-19T14:02:26.379Z] STF 07:02:23.336 - | MainClass: null [2025-06-19T14:02:26.379Z] STF 07:02:23.336 - | HashModules: null [2025-06-19T14:02:26.380Z] STF 07:02:23.336 - | [2025-06-19T14:02:26.380Z] STF 07:02:23.337 - Running command: /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17503391414748/PatModImg_AppMod_0/20250619-070217-PatModImgTest/modules/1.com.hello.jar -C /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello . [2025-06-19T14:02:26.380Z] STF 07:02:23.337 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17503391414748/PatModImg_AppMod_0/20250619-070217-PatModImgTest/results/1.CMJ.stderr [2025-06-19T14:02:26.380Z] STF 07:02:23.337 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17503391414748/PatModImg_AppMod_0/20250619-070217-PatModImgTest/results/1.CMJ.stdout [2025-06-19T14:02:26.380Z] STF 07:02:23.349 - Monitoring processes: CMJ [2025-06-19T14:02:27.269Z] STF 07:02:24.418 - Monitoring Report Summary: [2025-06-19T14:02:27.269Z] STF 07:02:24.419 - o Process CMJ ended with the expected exit code (0) [2025-06-19T14:02:27.269Z] STF 07:02:24.419 - Created modular jar: 1.com.hello.jar [2025-06-19T14:02:27.269Z] STF 07:02:24.419 - [2025-06-19T14:02:27.269Z] STF 07:02:24.419 - +------ Step 2 - Create com.hola jar [2025-06-19T14:02:27.269Z] STF 07:02:24.419 - | Create modular jar [2025-06-19T14:02:27.269Z] STF 07:02:24.419 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2025-06-19T14:02:27.269Z] STF 07:02:24.419 - | ModuleVersion: null [2025-06-19T14:02:27.269Z] STF 07:02:24.419 - | MainClass: null [2025-06-19T14:02:27.269Z] STF 07:02:24.419 - | HashModules: null [2025-06-19T14:02:27.269Z] STF 07:02:24.419 - | [2025-06-19T14:02:27.269Z] STF 07:02:24.419 - Running command: /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17503391414748/PatModImg_AppMod_0/20250619-070217-PatModImgTest/modules/2.com.hola.jar -C /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola . [2025-06-19T14:02:27.269Z] STF 07:02:24.419 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17503391414748/PatModImg_AppMod_0/20250619-070217-PatModImgTest/results/2.CMJ.stderr [2025-06-19T14:02:27.269Z] STF 07:02:24.419 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17503391414748/PatModImg_AppMod_0/20250619-070217-PatModImgTest/results/2.CMJ.stdout [2025-06-19T14:02:27.269Z] STF 07:02:24.422 - Monitoring processes: CMJ [2025-06-19T14:02:28.189Z] STF 07:02:25.161 - Monitoring Report Summary: [2025-06-19T14:02:28.189Z] STF 07:02:25.161 - o Process CMJ ended with the expected exit code (0) [2025-06-19T14:02:28.189Z] STF 07:02:25.162 - Created modular jar: 2.com.hola.jar [2025-06-19T14:02:28.189Z] STF 07:02:25.162 - [2025-06-19T14:02:28.189Z] STF 07:02:25.162 - +------ Step 3 - Create com.helper jar [2025-06-19T14:02:28.189Z] STF 07:02:25.162 - | Create modular jar [2025-06-19T14:02:28.189Z] STF 07:02:25.162 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2025-06-19T14:02:28.189Z] STF 07:02:25.162 - | ModuleVersion: null [2025-06-19T14:02:28.189Z] STF 07:02:25.162 - | MainClass: null [2025-06-19T14:02:28.189Z] STF 07:02:25.162 - | HashModules: null [2025-06-19T14:02:28.189Z] STF 07:02:25.162 - | [2025-06-19T14:02:28.189Z] STF 07:02:25.162 - Running command: /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17503391414748/PatModImg_AppMod_0/20250619-070217-PatModImgTest/modules/3.com.helper.jar -C /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper . [2025-06-19T14:02:28.190Z] STF 07:02:25.162 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17503391414748/PatModImg_AppMod_0/20250619-070217-PatModImgTest/results/3.CMJ.stderr [2025-06-19T14:02:28.190Z] STF 07:02:25.162 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17503391414748/PatModImg_AppMod_0/20250619-070217-PatModImgTest/results/3.CMJ.stdout [2025-06-19T14:02:28.190Z] STF 07:02:25.165 - Monitoring processes: CMJ [2025-06-19T14:02:28.614Z] STF 07:02:25.842 - Monitoring Report Summary: [2025-06-19T14:02:28.614Z] STF 07:02:25.842 - o Process CMJ ended with the expected exit code (0) [2025-06-19T14:02:28.614Z] STF 07:02:25.842 - Created modular jar: 3.com.helper.jar [2025-06-19T14:02:28.614Z] STF 07:02:25.842 - [2025-06-19T14:02:28.614Z] STF 07:02:25.842 - +------ Step 4 - Create com.discreet jar [2025-06-19T14:02:28.614Z] STF 07:02:25.842 - | Create modular jar [2025-06-19T14:02:28.614Z] STF 07:02:25.842 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2025-06-19T14:02:28.614Z] STF 07:02:25.842 - | ModuleVersion: null [2025-06-19T14:02:28.614Z] STF 07:02:25.842 - | MainClass: null [2025-06-19T14:02:28.614Z] STF 07:02:25.842 - | HashModules: null [2025-06-19T14:02:28.614Z] STF 07:02:25.842 - | [2025-06-19T14:02:28.615Z] STF 07:02:25.842 - Running command: /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17503391414748/PatModImg_AppMod_0/20250619-070217-PatModImgTest/modules/4.com.discreet.jar -C /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet . [2025-06-19T14:02:28.615Z] STF 07:02:25.842 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17503391414748/PatModImg_AppMod_0/20250619-070217-PatModImgTest/results/4.CMJ.stderr [2025-06-19T14:02:28.615Z] STF 07:02:25.842 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17503391414748/PatModImg_AppMod_0/20250619-070217-PatModImgTest/results/4.CMJ.stdout [2025-06-19T14:02:29.131Z] STF 07:02:25.896 - Monitoring processes: CMJ [2025-06-19T14:02:29.517Z] STF 07:02:26.709 - Monitoring Report Summary: [2025-06-19T14:02:29.517Z] STF 07:02:26.709 - o Process CMJ ended with the expected exit code (0) [2025-06-19T14:02:29.517Z] STF 07:02:26.710 - Created modular jar: 4.com.discreet.jar [2025-06-19T14:02:29.517Z] STF 07:02:26.710 - [2025-06-19T14:02:29.517Z] STF 07:02:26.710 - +------ Step 5 - Create tests jar [2025-06-19T14:02:29.517Z] STF 07:02:26.710 - | Create modular jar [2025-06-19T14:02:29.517Z] STF 07:02:26.710 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2025-06-19T14:02:29.517Z] STF 07:02:26.710 - | ModuleVersion: null [2025-06-19T14:02:29.517Z] STF 07:02:26.710 - | MainClass: null [2025-06-19T14:02:29.517Z] STF 07:02:26.710 - | HashModules: null [2025-06-19T14:02:29.517Z] STF 07:02:26.710 - | [2025-06-19T14:02:29.517Z] STF 07:02:26.710 - Running command: /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17503391414748/PatModImg_AppMod_0/20250619-070217-PatModImgTest/modules/5.com.test.jar -C /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test . [2025-06-19T14:02:29.517Z] STF 07:02:26.710 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17503391414748/PatModImg_AppMod_0/20250619-070217-PatModImgTest/results/5.CMJ.stderr [2025-06-19T14:02:29.517Z] STF 07:02:26.710 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17503391414748/PatModImg_AppMod_0/20250619-070217-PatModImgTest/results/5.CMJ.stdout [2025-06-19T14:02:29.517Z] STF 07:02:26.712 - Monitoring processes: CMJ [2025-06-19T14:02:30.431Z] STF 07:02:27.535 - Monitoring Report Summary: [2025-06-19T14:02:30.431Z] STF 07:02:27.535 - o Process CMJ ended with the expected exit code (0) [2025-06-19T14:02:30.431Z] STF 07:02:27.535 - Created modular jar: 5.com.test.jar [2025-06-19T14:02:30.431Z] STF 07:02:27.535 - [2025-06-19T14:02:30.431Z] STF 07:02:27.536 - +------ Step 6 - Create runtime image for PatchModule test [2025-06-19T14:02:30.431Z] STF 07:02:27.536 - | Run jlink to create runtime image [2025-06-19T14:02:30.431Z] STF 07:02:27.536 - | ImageName: XpJVM [2025-06-19T14:02:30.431Z] STF 07:02:27.536 - | [2025-06-19T14:02:30.431Z] STF 07:02:27.536 - Running command: /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jlink --module-path /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/jmods:/Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17503391414748/PatModImg_AppMod_0/20250619-070217-PatModImgTest/modules --add-modules com.hello,com.hola,com.test,com.helper,com.discreet --output /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17503391414748/PatModImg_AppMod_0/20250619-070217-PatModImgTest/tmp/6.XpJVM [2025-06-19T14:02:30.431Z] STF 07:02:27.536 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17503391414748/PatModImg_AppMod_0/20250619-070217-PatModImgTest/results/6.JLNK.stderr [2025-06-19T14:02:30.431Z] STF 07:02:27.536 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17503391414748/PatModImg_AppMod_0/20250619-070217-PatModImgTest/results/6.JLNK.stdout [2025-06-19T14:02:30.431Z] STF 07:02:27.539 - Monitoring processes: JLNK [2025-06-19T14:02:39.232Z] STF 07:02:35.245 - Monitoring Report Summary: [2025-06-19T14:02:39.232Z] STF 07:02:35.245 - o Process JLNK ended with the expected exit code (0) [2025-06-19T14:02:39.232Z] STF 07:02:35.246 - [2025-06-19T14:02:39.232Z] STF 07:02:35.246 - +------ Step 7 - Create com.hello jar [2025-06-19T14:02:39.232Z] STF 07:02:35.246 - | Create modular jar [2025-06-19T14:02:39.232Z] STF 07:02:35.246 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2025-06-19T14:02:39.232Z] STF 07:02:35.246 - | ModuleVersion: null [2025-06-19T14:02:39.232Z] STF 07:02:35.246 - | MainClass: null [2025-06-19T14:02:39.232Z] STF 07:02:35.246 - | HashModules: null [2025-06-19T14:02:39.232Z] STF 07:02:35.246 - | [2025-06-19T14:02:39.232Z] STF 07:02:35.246 - Running command: /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17503391414748/PatModImg_AppMod_0/20250619-070217-PatModImgTest/modules/7.com.hello.jar -C /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello . [2025-06-19T14:02:39.232Z] STF 07:02:35.246 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17503391414748/PatModImg_AppMod_0/20250619-070217-PatModImgTest/results/7.CMJ.stderr [2025-06-19T14:02:39.232Z] STF 07:02:35.246 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17503391414748/PatModImg_AppMod_0/20250619-070217-PatModImgTest/results/7.CMJ.stdout [2025-06-19T14:02:39.232Z] STF 07:02:35.249 - Monitoring processes: CMJ [2025-06-19T14:02:40.409Z] STF 07:02:37.488 - Monitoring Report Summary: [2025-06-19T14:02:40.409Z] STF 07:02:37.488 - o Process CMJ ended with the expected exit code (0) [2025-06-19T14:02:40.409Z] STF 07:02:37.488 - Created modular jar: 7.com.hello.jar [2025-06-19T14:02:40.409Z] STF 07:02:37.488 - [2025-06-19T14:02:40.409Z] STF 07:02:37.488 - +------ Step 8 - create java.xml.jar [2025-06-19T14:02:40.409Z] STF 07:02:37.488 - | Create modular jar [2025-06-19T14:02:40.409Z] STF 07:02:37.488 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml [2025-06-19T14:02:40.409Z] STF 07:02:37.488 - | ModuleVersion: null [2025-06-19T14:02:40.409Z] STF 07:02:37.488 - | MainClass: null [2025-06-19T14:02:40.409Z] STF 07:02:37.488 - | HashModules: null [2025-06-19T14:02:40.409Z] STF 07:02:37.488 - | [2025-06-19T14:02:40.409Z] STF 07:02:37.489 - Running command: /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17503391414748/PatModImg_AppMod_0/20250619-070217-PatModImgTest/modules/8.java.xml.jar -C /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/java.xml . [2025-06-19T14:02:40.409Z] STF 07:02:37.489 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17503391414748/PatModImg_AppMod_0/20250619-070217-PatModImgTest/results/8.CMJ.stderr [2025-06-19T14:02:40.409Z] STF 07:02:37.489 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17503391414748/PatModImg_AppMod_0/20250619-070217-PatModImgTest/results/8.CMJ.stdout [2025-06-19T14:02:40.409Z] STF 07:02:37.526 - Monitoring processes: CMJ [2025-06-19T14:02:41.365Z] STF 07:02:38.161 - Monitoring Report Summary: [2025-06-19T14:02:41.365Z] STF 07:02:38.161 - o Process CMJ ended with the expected exit code (0) [2025-06-19T14:02:41.365Z] STF 07:02:38.161 - Created modular jar: 8.java.xml.jar [2025-06-19T14:02:41.365Z] STF 07:02:38.161 - [2025-06-19T14:02:41.365Z] STF 07:02:38.161 - +------ Step 9 - Verify if we can patch an Application module using exploded directory [2025-06-19T14:02:41.365Z] STF 07:02:38.161 - | Run foreground process [2025-06-19T14:02:41.365Z] STF 07:02:38.161 - | Program: /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17503391414748/PatModImg_AppMod_0/20250619-070217-PatModImgTest/tmp/6.XpJVM/bin/java [2025-06-19T14:02:41.365Z] STF 07:02:38.161 - | Mnemonic: OT21 [2025-06-19T14:02:41.365Z] STF 07:02:38.161 - | Echo: ECHO_ON [2025-06-19T14:02:41.365Z] STF 07:02:38.161 - | Expectation: CLEAN_RUN within 5m [2025-06-19T14:02:41.365Z] STF 07:02:38.161 - | [2025-06-19T14:02:41.365Z] STF 07:02:38.162 - Running command: /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17503391414748/PatModImg_AppMod_0/20250619-070217-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module com.hello=/Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_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-06-19T14:02:41.365Z] STF 07:02:38.162 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17503391414748/PatModImg_AppMod_0/20250619-070217-PatModImgTest/results/9.OT21.stderr [2025-06-19T14:02:41.365Z] STF 07:02:38.162 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17503391414748/PatModImg_AppMod_0/20250619-070217-PatModImgTest/results/9.OT21.stdout [2025-06-19T14:02:41.365Z] STF 07:02:38.164 - Monitoring processes: OT21 [2025-06-19T14:02:44.282Z] OT21 stderr WARNING: module-info.class ignored in patch: /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello [2025-06-19T14:02:44.683Z] OT21 JUnit version 4.12 [2025-06-19T14:02:44.683Z] OT21 . [2025-06-19T14:02:44.683Z] OT21 Time: 0.009 [2025-06-19T14:02:44.683Z] OT21 [2025-06-19T14:02:44.683Z] OT21 OK (1 test) [2025-06-19T14:02:44.683Z] OT21 [2025-06-19T14:02:44.683Z] STF 07:02:41.690 - Monitoring Report Summary: [2025-06-19T14:02:44.683Z] STF 07:02:41.690 - o Process OT21 ended with the expected exit code (0) [2025-06-19T14:02:44.683Z] STF 07:02:41.690 - [2025-06-19T14:02:44.683Z] STF 07:02:41.690 - +------ Step 10 - Verify if we can patch an Application module using modular jar [2025-06-19T14:02:44.683Z] STF 07:02:41.690 - | Run foreground process [2025-06-19T14:02:44.683Z] STF 07:02:41.690 - | Program: /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17503391414748/PatModImg_AppMod_0/20250619-070217-PatModImgTest/tmp/6.XpJVM/bin/java [2025-06-19T14:02:44.683Z] STF 07:02:41.690 - | Mnemonic: OT22 [2025-06-19T14:02:44.683Z] STF 07:02:41.690 - | Echo: ECHO_ON [2025-06-19T14:02:44.683Z] STF 07:02:41.690 - | Expectation: CLEAN_RUN within 5m [2025-06-19T14:02:44.683Z] STF 07:02:41.690 - | [2025-06-19T14:02:44.683Z] STF 07:02:41.691 - Running command: /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17503391414748/PatModImg_AppMod_0/20250619-070217-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module com.hello=/Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17503391414748/PatModImg_AppMod_0/20250619-070217-PatModImgTest/modules/7.com.hello.jar -XX:+UseCompressedOops -classpath /Users/admin/workspace/testDependency/system_lib/junit/junit.jar:/Users/admin/workspace/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingAppModule [2025-06-19T14:02:44.683Z] STF 07:02:41.691 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17503391414748/PatModImg_AppMod_0/20250619-070217-PatModImgTest/results/10.OT22.stderr [2025-06-19T14:02:44.683Z] STF 07:02:41.691 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17503391414748/PatModImg_AppMod_0/20250619-070217-PatModImgTest/results/10.OT22.stdout [2025-06-19T14:02:44.683Z] STF 07:02:41.693 - Monitoring processes: OT22 [2025-06-19T14:02:45.107Z] OT22 stderr WARNING: module-info.class ignored in patch: /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17503391414748/PatModImg_AppMod_0/20250619-070217-PatModImgTest/modules/7.com.hello.jar [2025-06-19T14:02:45.107Z] OT22 JUnit version 4.12 [2025-06-19T14:02:45.532Z] OT22 . [2025-06-19T14:02:45.532Z] OT22 Time: 0.004 [2025-06-19T14:02:45.532Z] OT22 [2025-06-19T14:02:45.532Z] OT22 OK (1 test) [2025-06-19T14:02:45.532Z] OT22 [2025-06-19T14:02:45.532Z] STF 07:02:42.357 - Monitoring Report Summary: [2025-06-19T14:02:45.532Z] STF 07:02:42.357 - o Process OT22 ended with the expected exit code (0) [2025-06-19T14:02:45.532Z] STF 07:02:42.357 - EXECUTE stage completed [2025-06-19T14:02:45.532Z] STF 07:02:42.449 - [2025-06-19T14:02:45.532Z] STF 07:02:42.449 - ==================== T E A R D O W N ==================== [2025-06-19T14:02:45.532Z] STF 07:02:42.449 - Running teardown: perl /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17503391414748/PatModImg_AppMod_0/20250619-070217-PatModImgTest/tearDown.pl [2025-06-19T14:02:45.532Z] STF 07:02:42.630 - TEARDOWN stage completed [2025-06-19T14:02:45.532Z] STF 07:02:42.646 - [2025-06-19T14:02:45.533Z] STF 07:02:42.646 - ===================== R E S U L T S ===================== [2025-06-19T14:02:45.533Z] STF 07:02:42.646 - Stage results: [2025-06-19T14:02:45.533Z] STF 07:02:42.646 - setUp: pass [2025-06-19T14:02:45.533Z] STF 07:02:42.646 - execute: pass [2025-06-19T14:02:45.533Z] STF 07:02:42.646 - teardown: pass [2025-06-19T14:02:45.533Z] STF 07:02:42.646 - [2025-06-19T14:02:45.533Z] STF 07:02:42.646 - Overall result: PASSED [2025-06-19T14:02:45.533Z] ----------------------------------- [2025-06-19T14:02:45.533Z] PatModImg_AppMod_0_PASSED [2025-06-19T14:02:45.533Z] ----------------------------------- [2025-06-19T14:02:45.533Z] [2025-06-19T14:02:45.533Z] TEST TEARDOWN: [2025-06-19T14:02:45.533Z] Nothing to be done for teardown. [2025-06-19T14:02:45.934Z] PatModImg_AppMod_0 Finish Time: Thu Jun 19 07:02:42 2025 Epoch Time (ms): 1750341762798