PatModImg_AppMod_0

[2025-10-03T21:15:21.509Z] Running test PatModImg_AppMod_0 ... [2025-10-03T21:15:21.509Z] =============================================== [2025-10-03T21:15:21.509Z] PatModImg_AppMod_0 Start Time: Fri Oct 3 14:15:19 2025 Epoch Time (ms): 1759526119226 [2025-10-03T21:15:21.509Z] variation: Mode150 [2025-10-03T21:15:21.509Z] JVM_OPTIONS: -XX:+UseCompressedOops [2025-10-03T21:15:21.955Z] { \ [2025-10-03T21:15:21.955Z] echo ""; echo "TEST SETUP:"; \ [2025-10-03T21:15:21.955Z] echo "Nothing to be done for setup."; \ [2025-10-03T21:15:21.955Z] mkdir -p "/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17595232536581/PatModImg_AppMod_0"; \ [2025-10-03T21:15:21.955Z] cd "/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17595232536581/PatModImg_AppMod_0"; \ [2025-10-03T21:15:21.955Z] echo ""; echo "TESTING:"; \ [2025-10-03T21:15:21.955Z] perl /Users/admin/workspace/workspace/Test_openjdk21_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_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF;/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../../jvmtest/system/modularity/..//aqa-systemtest""" -systemtest-prereqs="/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/../../externalDependency/system_lib/" -java-args=' -XX:+UseCompressedOops ' -results-root="/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17595232536581/PatModImg_AppMod_0" -test=PatModImgTest -test-args="variant=AppMod"; \ [2025-10-03T21:15:21.955Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatModImg_AppMod_0""_PASSED"; echo "-----------------------------------"; cd /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/..; rm -f -r "/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17595232536581/PatModImg_AppMod_0"; else echo "-----------------------------------"; echo "PatModImg_AppMod_0""_FAILED"; echo "-----------------------------------"; fi; \ [2025-10-03T21:15:21.955Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-10-03T21:15:21.955Z] echo "Nothing to be done for teardown."; \ [2025-10-03T21:15:21.955Z] } 2>&1 | tee -a "/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17595232536581/TestTargetResult"; [2025-10-03T21:15:21.955Z] [2025-10-03T21:15:21.955Z] TEST SETUP: [2025-10-03T21:15:21.955Z] Nothing to be done for setup. [2025-10-03T21:15:21.955Z] [2025-10-03T21:15:21.955Z] TESTING: [2025-10-03T21:15:21.955Z] STF 14:15:19.496 - ========================= S T F ========================= [2025-10-03T21:15:21.955Z] systemtest-prereqs has been processed, and set to: /Users/admin/workspace/externalDependency/system_libRetrieving amount of free space on drive containing /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17595232536581/PatModImg_AppMod_0 [2025-10-03T21:15:21.955Z] There is 12754 Mb free [2025-10-03T21:15:21.955Z] STF 14:15:19.521 - ================== G E N E R A T I O N ================== [2025-10-03T21:15:21.955Z] STF 14:15:19.523 - Checking JVM: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/../ [2025-10-03T21:15:21.955Z] STF 14:15:19.523 - Starting process to generate scripts: /Users/admin/workspace/workspace/Test_openjdk21_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_openjdk21_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_openjdk21_hs_sanity.system_x86-64_mac_testList_1/../../externalDependency/system_lib//asm/asm.jar:/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/../../externalDependency/system_lib//asm/asm-commons.jar:/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/../../externalDependency/system_lib//log4j/log4j-api.jar:/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/../../externalDependency/system_lib//log4j/log4j-core.jar:/Users/admin/workspace/workspace/Test_openjdk21_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_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17595232536581/PatModImg_AppMod_0/20251003-141519-PatModImgTest/stf_parameters.properties, , /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17595232536581/PatModImg_AppMod_0/20251003-141519-PatModImgTest" [2025-10-03T21:15:22.591Z] GEN stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-10-03T21:15:26.271Z] GEN 14:15:23.428 - Found test. Project: 'openjdk.test.modularity' class: 'PatModImgTest.class' Dir: '/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin' [2025-10-03T21:15:26.271Z] GEN 14:15:23.464 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModImgTest' [2025-10-03T21:15:26.271Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2025-10-03T21:15:26.271Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayService [2025-10-03T21:15:26.271Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper [2025-10-03T21:15:26.271Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl1 [2025-10-03T21:15:26.271Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet [2025-10-03T21:15:26.271Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello [2025-10-03T21:15:26.271Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola [2025-10-03T21:15:26.271Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl2 [2025-10-03T21:15:26.271Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hi [2025-10-03T21:15:26.271Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override [2025-10-03T21:15:26.271Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override-new [2025-10-03T21:15:26.271Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl3 [2025-10-03T21:15:26.271Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl4 [2025-10-03T21:15:26.271Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common [2025-10-03T21:15:26.271Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests [2025-10-03T21:15:26.271Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin [2025-10-03T21:15:26.271Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/STF/stf.core/bin [2025-10-03T21:15:26.271Z] GEN /Users/admin/workspace/externalDependency/system_lib/log4j/log4j-api.jar [2025-10-03T21:15:26.271Z] GEN /Users/admin/workspace/externalDependency/system_lib/log4j/log4j-core.jar [2025-10-03T21:15:26.271Z] GEN /Users/admin/workspace/externalDependency/system_lib/junit/junit.jar [2025-10-03T21:15:26.271Z] GEN 14:15:23.951 - Using Mode NoOptions. Values = '' [2025-10-03T21:15:26.736Z] GEN 14:15:24.224 - [2025-10-03T21:15:26.736Z] GEN 14:15:24.224 - Test command summary: [2025-10-03T21:15:26.736Z] GEN 14:15:24.225 - Step Stage Command Description [2025-10-03T21:15:26.736Z] GEN 14:15:24.225 - -----+--------+-----------------+------------ [2025-10-03T21:15:26.736Z] GEN 14:15:24.226 - 1 execute jar Create com.hello jar [2025-10-03T21:15:26.736Z] GEN 14:15:24.226 - 2 execute jar Create com.hola jar [2025-10-03T21:15:26.736Z] GEN 14:15:24.226 - 3 execute jar Create com.helper jar [2025-10-03T21:15:26.736Z] GEN 14:15:24.226 - 4 execute jar Create com.discreet jar [2025-10-03T21:15:26.736Z] GEN 14:15:24.226 - 5 execute jar Create tests jar [2025-10-03T21:15:26.736Z] GEN 14:15:24.226 - 6 execute jlink Create runtime image for PatchModule test [2025-10-03T21:15:26.736Z] GEN 14:15:24.226 - 7 execute jar Create com.hello jar [2025-10-03T21:15:26.736Z] GEN 14:15:24.226 - 8 execute jar create java.xml.jar [2025-10-03T21:15:26.736Z] GEN 14:15:24.226 - 9 execute Run java Verify if we can patch an Application module using exploded directory [2025-10-03T21:15:26.736Z] GEN 14:15:24.226 - 10 execute Run java Verify if we can patch an Application module using modular jar [2025-10-03T21:15:26.736Z] STF 14:15:24.340 - [2025-10-03T21:15:26.736Z] STF 14:15:24.340 - Script generation completed [2025-10-03T21:15:26.736Z] STF 14:15:24.340 - [2025-10-03T21:15:26.736Z] STF 14:15:24.340 - [2025-10-03T21:15:26.736Z] STF 14:15:24.340 - ======================= S E T U P ======================= [2025-10-03T21:15:26.736Z] STF 14:15:24.340 - Running setup: perl /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17595232536581/PatModImg_AppMod_0/20251003-141519-PatModImgTest/setUp.pl [2025-10-03T21:15:27.133Z] STF 14:15:24.575 - SETUP stage completed [2025-10-03T21:15:27.133Z] STF 14:15:24.598 - [2025-10-03T21:15:27.133Z] STF 14:15:24.599 - ==================== E X E C U T E - ==================== [2025-10-03T21:15:27.133Z] STF 14:15:24.599 - Running execute: perl /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17595232536581/PatModImg_AppMod_0/20251003-141519-PatModImgTest/execute.pl [2025-10-03T21:15:27.133Z] STF 14:15:24.787 - [2025-10-03T21:15:27.133Z] STF 14:15:24.787 - Java version [2025-10-03T21:15:27.133Z] STF 14:15:24.787 - Running: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/java -version [2025-10-03T21:15:27.651Z] Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-10-03T21:15:27.651Z] openjdk version "21.0.9-beta" 2025-10-21 [2025-10-03T21:15:27.651Z] OpenJDK Runtime Environment Temurin-21.0.9+9-202510031903 (build 21.0.9-beta+9-ea) [2025-10-03T21:15:27.651Z] OpenJDK 64-Bit Server VM Temurin-21.0.9+9-202510031903 (build 21.0.9-beta+9-ea, mixed mode) [2025-10-03T21:15:27.651Z] STF 14:15:25.130 - [2025-10-03T21:15:27.651Z] STF 14:15:25.130 - +------ Step 1 - Create com.hello jar [2025-10-03T21:15:27.651Z] STF 14:15:25.130 - | Create modular jar [2025-10-03T21:15:27.651Z] STF 14:15:25.130 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2025-10-03T21:15:27.651Z] STF 14:15:25.130 - | ModuleVersion: null [2025-10-03T21:15:27.651Z] STF 14:15:25.130 - | MainClass: null [2025-10-03T21:15:27.651Z] STF 14:15:25.130 - | HashModules: null [2025-10-03T21:15:27.651Z] STF 14:15:25.130 - | [2025-10-03T21:15:27.651Z] STF 14:15:25.131 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17595232536581/PatModImg_AppMod_0/20251003-141519-PatModImgTest/modules/1.com.hello.jar -C /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello . [2025-10-03T21:15:27.651Z] STF 14:15:25.131 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17595232536581/PatModImg_AppMod_0/20251003-141519-PatModImgTest/results/1.CMJ.stderr [2025-10-03T21:15:27.651Z] STF 14:15:25.131 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17595232536581/PatModImg_AppMod_0/20251003-141519-PatModImgTest/results/1.CMJ.stdout [2025-10-03T21:15:27.651Z] STF 14:15:25.216 - Monitoring processes: CMJ [2025-10-03T21:15:28.256Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-10-03T21:15:29.149Z] STF 14:15:26.773 - Monitoring Report Summary: [2025-10-03T21:15:29.149Z] STF 14:15:26.773 - o Process CMJ ended with the expected exit code (0) [2025-10-03T21:15:29.149Z] STF 14:15:26.773 - Created modular jar: 1.com.hello.jar [2025-10-03T21:15:29.149Z] STF 14:15:26.773 - [2025-10-03T21:15:29.149Z] STF 14:15:26.773 - +------ Step 2 - Create com.hola jar [2025-10-03T21:15:29.149Z] STF 14:15:26.773 - | Create modular jar [2025-10-03T21:15:29.149Z] STF 14:15:26.773 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2025-10-03T21:15:29.149Z] STF 14:15:26.773 - | ModuleVersion: null [2025-10-03T21:15:29.149Z] STF 14:15:26.774 - | MainClass: null [2025-10-03T21:15:29.149Z] STF 14:15:26.774 - | HashModules: null [2025-10-03T21:15:29.149Z] STF 14:15:26.774 - | [2025-10-03T21:15:29.149Z] STF 14:15:26.774 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17595232536581/PatModImg_AppMod_0/20251003-141519-PatModImgTest/modules/2.com.hola.jar -C /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola . [2025-10-03T21:15:29.149Z] STF 14:15:26.774 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17595232536581/PatModImg_AppMod_0/20251003-141519-PatModImgTest/results/2.CMJ.stderr [2025-10-03T21:15:29.149Z] STF 14:15:26.774 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17595232536581/PatModImg_AppMod_0/20251003-141519-PatModImgTest/results/2.CMJ.stdout [2025-10-03T21:15:29.149Z] STF 14:15:26.778 - Monitoring processes: CMJ [2025-10-03T21:15:29.149Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-10-03T21:15:30.066Z] STF 14:15:27.527 - Monitoring Report Summary: [2025-10-03T21:15:30.066Z] STF 14:15:27.527 - o Process CMJ ended with the expected exit code (0) [2025-10-03T21:15:30.066Z] STF 14:15:27.527 - Created modular jar: 2.com.hola.jar [2025-10-03T21:15:30.066Z] STF 14:15:27.527 - [2025-10-03T21:15:30.066Z] STF 14:15:27.527 - +------ Step 3 - Create com.helper jar [2025-10-03T21:15:30.066Z] STF 14:15:27.527 - | Create modular jar [2025-10-03T21:15:30.066Z] STF 14:15:27.527 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2025-10-03T21:15:30.066Z] STF 14:15:27.527 - | ModuleVersion: null [2025-10-03T21:15:30.066Z] STF 14:15:27.527 - | MainClass: null [2025-10-03T21:15:30.066Z] STF 14:15:27.527 - | HashModules: null [2025-10-03T21:15:30.066Z] STF 14:15:27.527 - | [2025-10-03T21:15:30.066Z] STF 14:15:27.528 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17595232536581/PatModImg_AppMod_0/20251003-141519-PatModImgTest/modules/3.com.helper.jar -C /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper . [2025-10-03T21:15:30.066Z] STF 14:15:27.528 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17595232536581/PatModImg_AppMod_0/20251003-141519-PatModImgTest/results/3.CMJ.stderr [2025-10-03T21:15:30.066Z] STF 14:15:27.528 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17595232536581/PatModImg_AppMod_0/20251003-141519-PatModImgTest/results/3.CMJ.stdout [2025-10-03T21:15:30.066Z] STF 14:15:27.559 - Monitoring processes: CMJ [2025-10-03T21:15:30.067Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-10-03T21:15:31.267Z] STF 14:15:28.239 - Monitoring Report Summary: [2025-10-03T21:15:31.267Z] STF 14:15:28.239 - o Process CMJ ended with the expected exit code (0) [2025-10-03T21:15:31.267Z] STF 14:15:28.239 - Created modular jar: 3.com.helper.jar [2025-10-03T21:15:31.267Z] STF 14:15:28.239 - [2025-10-03T21:15:31.267Z] STF 14:15:28.239 - +------ Step 4 - Create com.discreet jar [2025-10-03T21:15:31.267Z] STF 14:15:28.239 - | Create modular jar [2025-10-03T21:15:31.267Z] STF 14:15:28.239 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2025-10-03T21:15:31.267Z] STF 14:15:28.239 - | ModuleVersion: null [2025-10-03T21:15:31.267Z] STF 14:15:28.239 - | MainClass: null [2025-10-03T21:15:31.267Z] STF 14:15:28.240 - | HashModules: null [2025-10-03T21:15:31.267Z] STF 14:15:28.240 - | [2025-10-03T21:15:31.267Z] STF 14:15:28.240 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17595232536581/PatModImg_AppMod_0/20251003-141519-PatModImgTest/modules/4.com.discreet.jar -C /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet . [2025-10-03T21:15:31.267Z] STF 14:15:28.240 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17595232536581/PatModImg_AppMod_0/20251003-141519-PatModImgTest/results/4.CMJ.stderr [2025-10-03T21:15:31.267Z] STF 14:15:28.240 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17595232536581/PatModImg_AppMod_0/20251003-141519-PatModImgTest/results/4.CMJ.stdout [2025-10-03T21:15:31.267Z] STF 14:15:28.243 - Monitoring processes: CMJ [2025-10-03T21:15:31.267Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-10-03T21:15:32.341Z] STF 14:15:29.931 - Monitoring Report Summary: [2025-10-03T21:15:32.341Z] STF 14:15:29.931 - o Process CMJ ended with the expected exit code (0) [2025-10-03T21:15:32.341Z] STF 14:15:29.931 - Created modular jar: 4.com.discreet.jar [2025-10-03T21:15:32.341Z] STF 14:15:29.931 - [2025-10-03T21:15:32.341Z] STF 14:15:29.931 - +------ Step 5 - Create tests jar [2025-10-03T21:15:32.341Z] STF 14:15:29.931 - | Create modular jar [2025-10-03T21:15:32.341Z] STF 14:15:29.931 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2025-10-03T21:15:32.341Z] STF 14:15:29.931 - | ModuleVersion: null [2025-10-03T21:15:32.341Z] STF 14:15:29.931 - | MainClass: null [2025-10-03T21:15:32.341Z] STF 14:15:29.931 - | HashModules: null [2025-10-03T21:15:32.341Z] STF 14:15:29.931 - | [2025-10-03T21:15:32.341Z] STF 14:15:29.932 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17595232536581/PatModImg_AppMod_0/20251003-141519-PatModImgTest/modules/5.com.test.jar -C /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test . [2025-10-03T21:15:32.341Z] STF 14:15:29.932 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17595232536581/PatModImg_AppMod_0/20251003-141519-PatModImgTest/results/5.CMJ.stderr [2025-10-03T21:15:32.341Z] STF 14:15:29.932 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17595232536581/PatModImg_AppMod_0/20251003-141519-PatModImgTest/results/5.CMJ.stdout [2025-10-03T21:15:32.341Z] STF 14:15:29.945 - Monitoring processes: CMJ [2025-10-03T21:15:32.341Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-10-03T21:15:33.242Z] STF 14:15:30.766 - Monitoring Report Summary: [2025-10-03T21:15:33.242Z] STF 14:15:30.766 - o Process CMJ ended with the expected exit code (0) [2025-10-03T21:15:33.242Z] STF 14:15:30.766 - Created modular jar: 5.com.test.jar [2025-10-03T21:15:33.242Z] STF 14:15:30.766 - [2025-10-03T21:15:33.242Z] STF 14:15:30.766 - +------ Step 6 - Create runtime image for PatchModule test [2025-10-03T21:15:33.242Z] STF 14:15:30.766 - | Run jlink to create runtime image [2025-10-03T21:15:33.242Z] STF 14:15:30.766 - | ImageName: XpJVM [2025-10-03T21:15:33.242Z] STF 14:15:30.766 - | [2025-10-03T21:15:33.242Z] STF 14:15:30.766 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jlink --module-path /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/jmods:/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17595232536581/PatModImg_AppMod_0/20251003-141519-PatModImgTest/modules --add-modules com.hello,com.hola,com.test,com.helper,com.discreet --output /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17595232536581/PatModImg_AppMod_0/20251003-141519-PatModImgTest/tmp/6.XpJVM [2025-10-03T21:15:33.242Z] STF 14:15:30.766 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17595232536581/PatModImg_AppMod_0/20251003-141519-PatModImgTest/results/6.JLNK.stderr [2025-10-03T21:15:33.242Z] STF 14:15:30.766 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17595232536581/PatModImg_AppMod_0/20251003-141519-PatModImgTest/results/6.JLNK.stdout [2025-10-03T21:15:33.242Z] STF 14:15:30.772 - Monitoring processes: JLNK [2025-10-03T21:15:33.242Z] JLNK stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-10-03T21:15:49.292Z] STF 14:15:45.204 - Monitoring Report Summary: [2025-10-03T21:15:49.292Z] STF 14:15:45.204 - o Process JLNK ended with the expected exit code (0) [2025-10-03T21:15:49.292Z] STF 14:15:45.204 - [2025-10-03T21:15:49.292Z] STF 14:15:45.204 - +------ Step 7 - Create com.hello jar [2025-10-03T21:15:49.292Z] STF 14:15:45.204 - | Create modular jar [2025-10-03T21:15:49.292Z] STF 14:15:45.204 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2025-10-03T21:15:49.292Z] STF 14:15:45.204 - | ModuleVersion: null [2025-10-03T21:15:49.292Z] STF 14:15:45.204 - | MainClass: null [2025-10-03T21:15:49.292Z] STF 14:15:45.204 - | HashModules: null [2025-10-03T21:15:49.292Z] STF 14:15:45.204 - | [2025-10-03T21:15:49.292Z] STF 14:15:45.204 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17595232536581/PatModImg_AppMod_0/20251003-141519-PatModImgTest/modules/7.com.hello.jar -C /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello . [2025-10-03T21:15:49.292Z] STF 14:15:45.204 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17595232536581/PatModImg_AppMod_0/20251003-141519-PatModImgTest/results/7.CMJ.stderr [2025-10-03T21:15:49.292Z] STF 14:15:45.204 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17595232536581/PatModImg_AppMod_0/20251003-141519-PatModImgTest/results/7.CMJ.stdout [2025-10-03T21:15:49.292Z] STF 14:15:45.248 - Monitoring processes: CMJ [2025-10-03T21:15:49.292Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-10-03T21:15:50.826Z] STF 14:15:48.187 - Monitoring Report Summary: [2025-10-03T21:15:50.826Z] STF 14:15:48.187 - o Process CMJ ended with the expected exit code (0) [2025-10-03T21:15:50.826Z] STF 14:15:48.187 - Created modular jar: 7.com.hello.jar [2025-10-03T21:15:50.826Z] STF 14:15:48.187 - [2025-10-03T21:15:50.826Z] STF 14:15:48.187 - +------ Step 8 - create java.xml.jar [2025-10-03T21:15:50.826Z] STF 14:15:48.187 - | Create modular jar [2025-10-03T21:15:50.826Z] STF 14:15:48.187 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml [2025-10-03T21:15:50.826Z] STF 14:15:48.187 - | ModuleVersion: null [2025-10-03T21:15:50.826Z] STF 14:15:48.187 - | MainClass: null [2025-10-03T21:15:50.826Z] STF 14:15:48.187 - | HashModules: null [2025-10-03T21:15:50.826Z] STF 14:15:48.187 - | [2025-10-03T21:15:50.826Z] STF 14:15:48.188 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17595232536581/PatModImg_AppMod_0/20251003-141519-PatModImgTest/modules/8.java.xml.jar -C /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/java.xml . [2025-10-03T21:15:50.826Z] STF 14:15:48.188 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17595232536581/PatModImg_AppMod_0/20251003-141519-PatModImgTest/results/8.CMJ.stderr [2025-10-03T21:15:50.826Z] STF 14:15:48.192 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17595232536581/PatModImg_AppMod_0/20251003-141519-PatModImgTest/results/8.CMJ.stdout [2025-10-03T21:15:50.826Z] STF 14:15:48.194 - Monitoring processes: CMJ [2025-10-03T21:15:50.827Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-10-03T21:15:53.110Z] STF 14:15:50.672 - Monitoring Report Summary: [2025-10-03T21:15:53.110Z] STF 14:15:50.672 - o Process CMJ ended with the expected exit code (0) [2025-10-03T21:15:53.110Z] STF 14:15:50.672 - Created modular jar: 8.java.xml.jar [2025-10-03T21:15:53.110Z] STF 14:15:50.672 - [2025-10-03T21:15:53.110Z] STF 14:15:50.672 - +------ Step 9 - Verify if we can patch an Application module using exploded directory [2025-10-03T21:15:53.110Z] STF 14:15:50.672 - | Run foreground process [2025-10-03T21:15:53.110Z] STF 14:15:50.672 - | Program: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17595232536581/PatModImg_AppMod_0/20251003-141519-PatModImgTest/tmp/6.XpJVM/bin/java [2025-10-03T21:15:53.110Z] STF 14:15:50.672 - | Mnemonic: OT21 [2025-10-03T21:15:53.110Z] STF 14:15:50.672 - | Echo: ECHO_ON [2025-10-03T21:15:53.110Z] STF 14:15:50.672 - | Expectation: CLEAN_RUN within 5m [2025-10-03T21:15:53.110Z] STF 14:15:50.672 - | [2025-10-03T21:15:53.110Z] STF 14:15:50.672 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17595232536581/PatModImg_AppMod_0/20251003-141519-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module com.hello=/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello -XX:+UseCompressedOops -classpath /Users/admin/workspace/externalDependency/system_lib/junit/junit.jar:/Users/admin/workspace/externalDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingAppModule [2025-10-03T21:15:53.110Z] STF 14:15:50.672 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17595232536581/PatModImg_AppMod_0/20251003-141519-PatModImgTest/results/9.OT21.stderr [2025-10-03T21:15:53.110Z] STF 14:15:50.672 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17595232536581/PatModImg_AppMod_0/20251003-141519-PatModImgTest/results/9.OT21.stdout [2025-10-03T21:15:53.110Z] STF 14:15:50.675 - Monitoring processes: OT21 [2025-10-03T21:15:54.538Z] OT21 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-10-03T21:15:57.124Z] OT21 stderr WARNING: module-info.class ignored in patch: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello [2025-10-03T21:15:57.495Z] OT21 JUnit version 4.12 [2025-10-03T21:15:57.979Z] OT21 . [2025-10-03T21:15:57.979Z] OT21 Time: 0.017 [2025-10-03T21:15:57.979Z] OT21 [2025-10-03T21:15:57.979Z] OT21 OK (1 test) [2025-10-03T21:15:57.979Z] OT21 [2025-10-03T21:15:57.979Z] STF 14:15:55.101 - Monitoring Report Summary: [2025-10-03T21:15:57.979Z] STF 14:15:55.101 - o Process OT21 ended with the expected exit code (0) [2025-10-03T21:15:57.979Z] STF 14:15:55.101 - [2025-10-03T21:15:57.979Z] STF 14:15:55.101 - +------ Step 10 - Verify if we can patch an Application module using modular jar [2025-10-03T21:15:57.979Z] STF 14:15:55.101 - | Run foreground process [2025-10-03T21:15:57.979Z] STF 14:15:55.101 - | Program: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17595232536581/PatModImg_AppMod_0/20251003-141519-PatModImgTest/tmp/6.XpJVM/bin/java [2025-10-03T21:15:57.979Z] STF 14:15:55.101 - | Mnemonic: OT22 [2025-10-03T21:15:57.979Z] STF 14:15:55.101 - | Echo: ECHO_ON [2025-10-03T21:15:57.979Z] STF 14:15:55.101 - | Expectation: CLEAN_RUN within 5m [2025-10-03T21:15:57.979Z] STF 14:15:55.102 - | [2025-10-03T21:15:57.979Z] STF 14:15:55.102 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17595232536581/PatModImg_AppMod_0/20251003-141519-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module com.hello=/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17595232536581/PatModImg_AppMod_0/20251003-141519-PatModImgTest/modules/7.com.hello.jar -XX:+UseCompressedOops -classpath /Users/admin/workspace/externalDependency/system_lib/junit/junit.jar:/Users/admin/workspace/externalDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingAppModule [2025-10-03T21:15:57.979Z] STF 14:15:55.102 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17595232536581/PatModImg_AppMod_0/20251003-141519-PatModImgTest/results/10.OT22.stderr [2025-10-03T21:15:57.979Z] STF 14:15:55.102 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17595232536581/PatModImg_AppMod_0/20251003-141519-PatModImgTest/results/10.OT22.stdout [2025-10-03T21:15:57.979Z] STF 14:15:55.104 - Monitoring processes: OT22 [2025-10-03T21:15:57.979Z] OT22 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-10-03T21:15:58.538Z] OT22 stderr WARNING: module-info.class ignored in patch: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17595232536581/PatModImg_AppMod_0/20251003-141519-PatModImgTest/modules/7.com.hello.jar [2025-10-03T21:15:59.007Z] OT22 JUnit version 4.12 [2025-10-03T21:15:59.384Z] OT22 . [2025-10-03T21:15:59.384Z] OT22 Time: 0.019 [2025-10-03T21:15:59.384Z] OT22 [2025-10-03T21:15:59.384Z] OT22 OK (1 test) [2025-10-03T21:15:59.384Z] OT22 [2025-10-03T21:15:59.384Z] STF 14:15:56.866 - Monitoring Report Summary: [2025-10-03T21:15:59.384Z] STF 14:15:56.866 - o Process OT22 ended with the expected exit code (0) [2025-10-03T21:15:59.384Z] STF 14:15:56.866 - EXECUTE stage completed [2025-10-03T21:15:59.384Z] STF 14:15:57.039 - [2025-10-03T21:15:59.384Z] STF 14:15:57.039 - ==================== T E A R D O W N ==================== [2025-10-03T21:15:59.384Z] STF 14:15:57.039 - Running teardown: perl /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17595232536581/PatModImg_AppMod_0/20251003-141519-PatModImgTest/tearDown.pl [2025-10-03T21:15:59.823Z] STF 14:15:57.177 - TEARDOWN stage completed [2025-10-03T21:15:59.823Z] STF 14:15:57.194 - [2025-10-03T21:15:59.823Z] STF 14:15:57.194 - ===================== R E S U L T S ===================== [2025-10-03T21:15:59.823Z] STF 14:15:57.194 - Stage results: [2025-10-03T21:15:59.823Z] STF 14:15:57.194 - setUp: pass [2025-10-03T21:15:59.823Z] STF 14:15:57.194 - execute: pass [2025-10-03T21:15:59.823Z] STF 14:15:57.194 - teardown: pass [2025-10-03T21:15:59.823Z] STF 14:15:57.194 - [2025-10-03T21:15:59.823Z] STF 14:15:57.194 - Overall result: PASSED [2025-10-03T21:15:59.823Z] ----------------------------------- [2025-10-03T21:15:59.823Z] PatModImg_AppMod_0_PASSED [2025-10-03T21:15:59.823Z] ----------------------------------- [2025-10-03T21:15:59.823Z] [2025-10-03T21:15:59.823Z] TEST TEARDOWN: [2025-10-03T21:15:59.823Z] Nothing to be done for teardown. [2025-10-03T21:15:59.823Z] PatModImg_AppMod_0 Finish Time: Fri Oct 3 14:15:57 2025 Epoch Time (ms): 1759526157387