PatModImg_AppMod_0

[2026-01-22T11:43:27.667Z] Running test PatModImg_AppMod_0 ... [2026-01-22T11:43:27.667Z] =============================================== [2026-01-22T11:43:27.667Z] PatModImg_AppMod_0 Start Time: Thu Jan 22 06:43:27 2026 Epoch Time (ms): 1769082207357 [2026-01-22T11:43:27.667Z] variation: Mode150 [2026-01-22T11:43:27.667Z] JVM_OPTIONS: -XX:+UseCompressedOops [2026-01-22T11:43:27.667Z] { \ [2026-01-22T11:43:27.667Z] echo ""; echo "TEST SETUP:"; \ [2026-01-22T11:43:27.667Z] echo "Nothing to be done for setup."; \ [2026-01-22T11:43:27.667Z] mkdir -p "/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17690795433909/PatModImg_AppMod_0"; \ [2026-01-22T11:43:27.667Z] cd "/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17690795433909/PatModImg_AppMod_0"; \ [2026-01-22T11:43:27.667Z] echo ""; echo "TESTING:"; \ [2026-01-22T11:43:27.667Z] 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_17690795433909/PatModImg_AppMod_0" -test=PatModImgTest -test-args="variant=AppMod"; \ [2026-01-22T11:43:27.667Z] 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_17690795433909/PatModImg_AppMod_0"; else echo "-----------------------------------"; echo "PatModImg_AppMod_0""_FAILED"; echo "-----------------------------------"; fi; \ [2026-01-22T11:43:27.667Z] echo ""; echo "TEST TEARDOWN:"; \ [2026-01-22T11:43:27.667Z] echo "Nothing to be done for teardown."; \ [2026-01-22T11:43:27.667Z] } 2>&1 | tee -a "/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17690795433909/TestTargetResult"; [2026-01-22T11:43:27.667Z] [2026-01-22T11:43:27.667Z] TEST SETUP: [2026-01-22T11:43:27.667Z] Nothing to be done for setup. [2026-01-22T11:43:27.667Z] [2026-01-22T11:43:27.667Z] TESTING: [2026-01-22T11:43:28.239Z] STF 06:43:27.587 - ========================= S T F ========================= [2026-01-22T11:43:28.239Z] 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_17690795433909/PatModImg_AppMod_0 [2026-01-22T11:43:28.239Z] There is 16685 Mb free [2026-01-22T11:43:28.239Z] STF 06:43:27.608 - ================== G E N E R A T I O N ================== [2026-01-22T11:43:28.239Z] STF 06:43:27.609 - Checking JVM: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/../ [2026-01-22T11:43:28.239Z] STF 06:43:27.609 - 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_17690795433909/PatModImg_AppMod_0/20260122-064327-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_17690795433909/PatModImg_AppMod_0/20260122-064327-PatModImgTest" [2026-01-22T11:43:28.239Z] GEN stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2026-01-22T11:43:30.747Z] GEN 06:43:30.071 - 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' [2026-01-22T11:43:30.747Z] GEN 06:43:30.092 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModImgTest' [2026-01-22T11:43:30.747Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2026-01-22T11:43:30.747Z] 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 [2026-01-22T11:43:30.747Z] 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 [2026-01-22T11:43:30.747Z] 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 [2026-01-22T11:43:30.747Z] 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 [2026-01-22T11:43:30.747Z] 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 [2026-01-22T11:43:30.747Z] 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 [2026-01-22T11:43:30.747Z] 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 [2026-01-22T11:43:30.747Z] 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 [2026-01-22T11:43:30.747Z] 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 [2026-01-22T11:43:30.747Z] 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 [2026-01-22T11:43:30.747Z] 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 [2026-01-22T11:43:30.747Z] 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 [2026-01-22T11:43:30.748Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common [2026-01-22T11:43:30.748Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests [2026-01-22T11:43:30.748Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin [2026-01-22T11:43:30.748Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/STF/stf.core/bin [2026-01-22T11:43:30.748Z] GEN /Users/admin/workspace/externalDependency/system_lib/log4j/log4j-api.jar [2026-01-22T11:43:30.748Z] GEN /Users/admin/workspace/externalDependency/system_lib/log4j/log4j-core.jar [2026-01-22T11:43:30.748Z] GEN /Users/admin/workspace/externalDependency/system_lib/junit/junit.jar [2026-01-22T11:43:30.748Z] GEN 06:43:30.456 - Using Mode NoOptions. Values = '' [2026-01-22T11:43:31.225Z] GEN 06:43:30.615 - [2026-01-22T11:43:31.225Z] GEN 06:43:30.615 - Test command summary: [2026-01-22T11:43:31.225Z] GEN 06:43:30.615 - Step Stage Command Description [2026-01-22T11:43:31.225Z] GEN 06:43:30.616 - -----+--------+-----------------+------------ [2026-01-22T11:43:31.225Z] GEN 06:43:30.616 - 1 execute jar Create com.hello jar [2026-01-22T11:43:31.225Z] GEN 06:43:30.616 - 2 execute jar Create com.hola jar [2026-01-22T11:43:31.225Z] GEN 06:43:30.616 - 3 execute jar Create com.helper jar [2026-01-22T11:43:31.225Z] GEN 06:43:30.616 - 4 execute jar Create com.discreet jar [2026-01-22T11:43:31.225Z] GEN 06:43:30.616 - 5 execute jar Create tests jar [2026-01-22T11:43:31.225Z] GEN 06:43:30.616 - 6 execute jlink Create runtime image for PatchModule test [2026-01-22T11:43:31.225Z] GEN 06:43:30.616 - 7 execute jar Create com.hello jar [2026-01-22T11:43:31.225Z] GEN 06:43:30.616 - 8 execute jar create java.xml.jar [2026-01-22T11:43:31.225Z] GEN 06:43:30.616 - 9 execute Run java Verify if we can patch an Application module using exploded directory [2026-01-22T11:43:31.225Z] GEN 06:43:30.616 - 10 execute Run java Verify if we can patch an Application module using modular jar [2026-01-22T11:43:31.225Z] STF 06:43:30.679 - [2026-01-22T11:43:31.225Z] STF 06:43:30.679 - Script generation completed [2026-01-22T11:43:31.225Z] STF 06:43:30.679 - [2026-01-22T11:43:31.225Z] STF 06:43:30.680 - [2026-01-22T11:43:31.225Z] STF 06:43:30.680 - ======================= S E T U P ======================= [2026-01-22T11:43:31.225Z] STF 06:43:30.680 - Running setup: perl /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17690795433909/PatModImg_AppMod_0/20260122-064327-PatModImgTest/setUp.pl [2026-01-22T11:43:31.225Z] STF 06:43:30.862 - SETUP stage completed [2026-01-22T11:43:31.225Z] STF 06:43:30.891 - [2026-01-22T11:43:31.225Z] STF 06:43:30.891 - ==================== E X E C U T E - ==================== [2026-01-22T11:43:31.225Z] STF 06:43:30.891 - Running execute: perl /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17690795433909/PatModImg_AppMod_0/20260122-064327-PatModImgTest/execute.pl [2026-01-22T11:43:32.151Z] STF 06:43:31.587 - [2026-01-22T11:43:32.151Z] STF 06:43:31.587 - Java version [2026-01-22T11:43:32.151Z] STF 06:43:31.587 - Running: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/java -version [2026-01-22T11:43:32.151Z] Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2026-01-22T11:43:32.151Z] openjdk version "21.0.10" 2026-01-20 LTS [2026-01-22T11:43:32.151Z] OpenJDK Runtime Environment Temurin-21.0.10+7 (build 21.0.10+7-LTS) [2026-01-22T11:43:32.151Z] OpenJDK 64-Bit Server VM Temurin-21.0.10+7 (build 21.0.10+7-LTS, mixed mode) [2026-01-22T11:43:32.151Z] STF 06:43:31.848 - [2026-01-22T11:43:32.151Z] STF 06:43:31.848 - +------ Step 1 - Create com.hello jar [2026-01-22T11:43:32.151Z] STF 06:43:31.848 - | Create modular jar [2026-01-22T11:43:32.151Z] STF 06:43:31.848 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2026-01-22T11:43:32.151Z] STF 06:43:31.848 - | ModuleVersion: null [2026-01-22T11:43:32.151Z] STF 06:43:31.848 - | MainClass: null [2026-01-22T11:43:32.151Z] STF 06:43:31.848 - | HashModules: null [2026-01-22T11:43:32.151Z] STF 06:43:31.848 - | [2026-01-22T11:43:32.151Z] STF 06:43:31.849 - 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_17690795433909/PatModImg_AppMod_0/20260122-064327-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 . [2026-01-22T11:43:32.151Z] STF 06:43:31.849 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17690795433909/PatModImg_AppMod_0/20260122-064327-PatModImgTest/results/1.CMJ.stderr [2026-01-22T11:43:32.151Z] STF 06:43:31.849 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17690795433909/PatModImg_AppMod_0/20260122-064327-PatModImgTest/results/1.CMJ.stdout [2026-01-22T11:43:32.151Z] STF 06:43:31.867 - Monitoring processes: CMJ [2026-01-22T11:43:32.151Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2026-01-22T11:43:33.053Z] STF 06:43:32.523 - Monitoring Report Summary: [2026-01-22T11:43:33.053Z] STF 06:43:32.523 - o Process CMJ ended with the expected exit code (0) [2026-01-22T11:43:33.053Z] STF 06:43:32.523 - Created modular jar: 1.com.hello.jar [2026-01-22T11:43:33.053Z] STF 06:43:32.523 - [2026-01-22T11:43:33.053Z] STF 06:43:32.523 - +------ Step 2 - Create com.hola jar [2026-01-22T11:43:33.053Z] STF 06:43:32.523 - | Create modular jar [2026-01-22T11:43:33.053Z] STF 06:43:32.523 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2026-01-22T11:43:33.053Z] STF 06:43:32.523 - | ModuleVersion: null [2026-01-22T11:43:33.053Z] STF 06:43:32.523 - | MainClass: null [2026-01-22T11:43:33.053Z] STF 06:43:32.523 - | HashModules: null [2026-01-22T11:43:33.053Z] STF 06:43:32.523 - | [2026-01-22T11:43:33.053Z] STF 06:43:32.524 - 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_17690795433909/PatModImg_AppMod_0/20260122-064327-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 . [2026-01-22T11:43:33.053Z] STF 06:43:32.524 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17690795433909/PatModImg_AppMod_0/20260122-064327-PatModImgTest/results/2.CMJ.stderr [2026-01-22T11:43:33.053Z] STF 06:43:32.524 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17690795433909/PatModImg_AppMod_0/20260122-064327-PatModImgTest/results/2.CMJ.stdout [2026-01-22T11:43:33.053Z] STF 06:43:32.526 - Monitoring processes: CMJ [2026-01-22T11:43:33.053Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2026-01-22T11:43:33.502Z] STF 06:43:33.132 - Monitoring Report Summary: [2026-01-22T11:43:33.502Z] STF 06:43:33.133 - o Process CMJ ended with the expected exit code (0) [2026-01-22T11:43:33.502Z] STF 06:43:33.133 - Created modular jar: 2.com.hola.jar [2026-01-22T11:43:33.502Z] STF 06:43:33.133 - [2026-01-22T11:43:33.502Z] STF 06:43:33.133 - +------ Step 3 - Create com.helper jar [2026-01-22T11:43:33.502Z] STF 06:43:33.133 - | Create modular jar [2026-01-22T11:43:33.502Z] STF 06:43:33.133 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2026-01-22T11:43:33.502Z] STF 06:43:33.133 - | ModuleVersion: null [2026-01-22T11:43:33.502Z] STF 06:43:33.133 - | MainClass: null [2026-01-22T11:43:33.502Z] STF 06:43:33.133 - | HashModules: null [2026-01-22T11:43:33.502Z] STF 06:43:33.133 - | [2026-01-22T11:43:33.502Z] STF 06:43:33.133 - 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_17690795433909/PatModImg_AppMod_0/20260122-064327-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 . [2026-01-22T11:43:33.502Z] STF 06:43:33.133 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17690795433909/PatModImg_AppMod_0/20260122-064327-PatModImgTest/results/3.CMJ.stderr [2026-01-22T11:43:33.502Z] STF 06:43:33.133 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17690795433909/PatModImg_AppMod_0/20260122-064327-PatModImgTest/results/3.CMJ.stdout [2026-01-22T11:43:33.502Z] STF 06:43:33.142 - Monitoring processes: CMJ [2026-01-22T11:43:33.502Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2026-01-22T11:43:35.180Z] STF 06:43:34.645 - Monitoring Report Summary: [2026-01-22T11:43:35.180Z] STF 06:43:34.645 - o Process CMJ ended with the expected exit code (0) [2026-01-22T11:43:35.180Z] STF 06:43:34.645 - Created modular jar: 3.com.helper.jar [2026-01-22T11:43:35.180Z] STF 06:43:34.645 - [2026-01-22T11:43:35.180Z] STF 06:43:34.645 - +------ Step 4 - Create com.discreet jar [2026-01-22T11:43:35.180Z] STF 06:43:34.645 - | Create modular jar [2026-01-22T11:43:35.180Z] STF 06:43:34.645 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2026-01-22T11:43:35.180Z] STF 06:43:34.645 - | ModuleVersion: null [2026-01-22T11:43:35.180Z] STF 06:43:34.645 - | MainClass: null [2026-01-22T11:43:35.180Z] STF 06:43:34.645 - | HashModules: null [2026-01-22T11:43:35.180Z] STF 06:43:34.646 - | [2026-01-22T11:43:35.180Z] STF 06:43:34.646 - 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_17690795433909/PatModImg_AppMod_0/20260122-064327-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 . [2026-01-22T11:43:35.180Z] STF 06:43:34.646 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17690795433909/PatModImg_AppMod_0/20260122-064327-PatModImgTest/results/4.CMJ.stderr [2026-01-22T11:43:35.180Z] STF 06:43:34.646 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17690795433909/PatModImg_AppMod_0/20260122-064327-PatModImgTest/results/4.CMJ.stdout [2026-01-22T11:43:35.180Z] STF 06:43:34.648 - Monitoring processes: CMJ [2026-01-22T11:43:35.180Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2026-01-22T11:43:35.585Z] STF 06:43:35.303 - Monitoring Report Summary: [2026-01-22T11:43:35.585Z] STF 06:43:35.303 - o Process CMJ ended with the expected exit code (0) [2026-01-22T11:43:35.585Z] STF 06:43:35.304 - Created modular jar: 4.com.discreet.jar [2026-01-22T11:43:35.585Z] STF 06:43:35.304 - [2026-01-22T11:43:35.585Z] STF 06:43:35.304 - +------ Step 5 - Create tests jar [2026-01-22T11:43:35.585Z] STF 06:43:35.304 - | Create modular jar [2026-01-22T11:43:35.585Z] STF 06:43:35.304 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2026-01-22T11:43:35.585Z] STF 06:43:35.304 - | ModuleVersion: null [2026-01-22T11:43:35.585Z] STF 06:43:35.304 - | MainClass: null [2026-01-22T11:43:35.585Z] STF 06:43:35.304 - | HashModules: null [2026-01-22T11:43:35.585Z] STF 06:43:35.304 - | [2026-01-22T11:43:35.585Z] STF 06:43:35.304 - 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_17690795433909/PatModImg_AppMod_0/20260122-064327-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 . [2026-01-22T11:43:35.585Z] STF 06:43:35.304 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17690795433909/PatModImg_AppMod_0/20260122-064327-PatModImgTest/results/5.CMJ.stderr [2026-01-22T11:43:35.585Z] STF 06:43:35.304 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17690795433909/PatModImg_AppMod_0/20260122-064327-PatModImgTest/results/5.CMJ.stdout [2026-01-22T11:43:35.585Z] STF 06:43:35.306 - Monitoring processes: CMJ [2026-01-22T11:43:35.585Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2026-01-22T11:43:36.514Z] STF 06:43:35.945 - Monitoring Report Summary: [2026-01-22T11:43:36.514Z] STF 06:43:35.945 - o Process CMJ ended with the expected exit code (0) [2026-01-22T11:43:36.514Z] STF 06:43:35.945 - Created modular jar: 5.com.test.jar [2026-01-22T11:43:36.514Z] STF 06:43:35.945 - [2026-01-22T11:43:36.514Z] STF 06:43:35.945 - +------ Step 6 - Create runtime image for PatchModule test [2026-01-22T11:43:36.514Z] STF 06:43:35.945 - | Run jlink to create runtime image [2026-01-22T11:43:36.514Z] STF 06:43:35.945 - | ImageName: XpJVM [2026-01-22T11:43:36.514Z] STF 06:43:35.945 - | [2026-01-22T11:43:36.514Z] STF 06:43:35.946 - 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_17690795433909/PatModImg_AppMod_0/20260122-064327-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_17690795433909/PatModImg_AppMod_0/20260122-064327-PatModImgTest/tmp/6.XpJVM [2026-01-22T11:43:36.514Z] STF 06:43:35.946 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17690795433909/PatModImg_AppMod_0/20260122-064327-PatModImgTest/results/6.JLNK.stderr [2026-01-22T11:43:36.514Z] STF 06:43:35.946 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17690795433909/PatModImg_AppMod_0/20260122-064327-PatModImgTest/results/6.JLNK.stdout [2026-01-22T11:43:36.514Z] STF 06:43:35.966 - Monitoring processes: JLNK [2026-01-22T11:43:38.166Z] JLNK stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2026-01-22T11:43:45.199Z] STF 06:43:43.945 - Monitoring Report Summary: [2026-01-22T11:43:45.199Z] STF 06:43:43.945 - o Process JLNK ended with the expected exit code (0) [2026-01-22T11:43:45.199Z] STF 06:43:43.946 - [2026-01-22T11:43:45.199Z] STF 06:43:43.946 - +------ Step 7 - Create com.hello jar [2026-01-22T11:43:45.199Z] STF 06:43:43.946 - | Create modular jar [2026-01-22T11:43:45.199Z] STF 06:43:43.946 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2026-01-22T11:43:45.199Z] STF 06:43:43.946 - | ModuleVersion: null [2026-01-22T11:43:45.199Z] STF 06:43:43.946 - | MainClass: null [2026-01-22T11:43:45.199Z] STF 06:43:43.946 - | HashModules: null [2026-01-22T11:43:45.199Z] STF 06:43:43.946 - | [2026-01-22T11:43:45.199Z] STF 06:43:43.946 - 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_17690795433909/PatModImg_AppMod_0/20260122-064327-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 . [2026-01-22T11:43:45.199Z] STF 06:43:43.946 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17690795433909/PatModImg_AppMod_0/20260122-064327-PatModImgTest/results/7.CMJ.stderr [2026-01-22T11:43:45.199Z] STF 06:43:43.946 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17690795433909/PatModImg_AppMod_0/20260122-064327-PatModImgTest/results/7.CMJ.stdout [2026-01-22T11:43:45.199Z] STF 06:43:43.950 - Monitoring processes: CMJ [2026-01-22T11:43:45.199Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2026-01-22T11:43:45.199Z] STF 06:43:44.809 - Monitoring Report Summary: [2026-01-22T11:43:45.199Z] STF 06:43:44.809 - o Process CMJ ended with the expected exit code (0) [2026-01-22T11:43:45.199Z] STF 06:43:44.809 - Created modular jar: 7.com.hello.jar [2026-01-22T11:43:45.199Z] STF 06:43:44.809 - [2026-01-22T11:43:45.199Z] STF 06:43:44.809 - +------ Step 8 - create java.xml.jar [2026-01-22T11:43:45.199Z] STF 06:43:44.809 - | Create modular jar [2026-01-22T11:43:45.199Z] STF 06:43:44.809 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml [2026-01-22T11:43:45.199Z] STF 06:43:44.809 - | ModuleVersion: null [2026-01-22T11:43:45.200Z] STF 06:43:44.809 - | MainClass: null [2026-01-22T11:43:45.200Z] STF 06:43:44.809 - | HashModules: null [2026-01-22T11:43:45.200Z] STF 06:43:44.809 - | [2026-01-22T11:43:45.200Z] STF 06:43:44.810 - 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_17690795433909/PatModImg_AppMod_0/20260122-064327-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 . [2026-01-22T11:43:45.200Z] STF 06:43:44.810 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17690795433909/PatModImg_AppMod_0/20260122-064327-PatModImgTest/results/8.CMJ.stderr [2026-01-22T11:43:45.200Z] STF 06:43:44.810 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17690795433909/PatModImg_AppMod_0/20260122-064327-PatModImgTest/results/8.CMJ.stdout [2026-01-22T11:43:45.200Z] STF 06:43:44.813 - Monitoring processes: CMJ [2026-01-22T11:43:45.200Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2026-01-22T11:43:46.208Z] STF 06:43:45.872 - Monitoring Report Summary: [2026-01-22T11:43:46.208Z] STF 06:43:45.872 - o Process CMJ ended with the expected exit code (0) [2026-01-22T11:43:46.208Z] STF 06:43:45.872 - Created modular jar: 8.java.xml.jar [2026-01-22T11:43:46.208Z] STF 06:43:45.872 - [2026-01-22T11:43:46.208Z] STF 06:43:45.872 - +------ Step 9 - Verify if we can patch an Application module using exploded directory [2026-01-22T11:43:46.208Z] STF 06:43:45.872 - | Run foreground process [2026-01-22T11:43:46.208Z] STF 06:43:45.872 - | Program: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17690795433909/PatModImg_AppMod_0/20260122-064327-PatModImgTest/tmp/6.XpJVM/bin/java [2026-01-22T11:43:46.208Z] STF 06:43:45.872 - | Mnemonic: OT21 [2026-01-22T11:43:46.208Z] STF 06:43:45.872 - | Echo: ECHO_ON [2026-01-22T11:43:46.208Z] STF 06:43:45.872 - | Expectation: CLEAN_RUN within 5m [2026-01-22T11:43:46.208Z] STF 06:43:45.872 - | [2026-01-22T11:43:46.208Z] STF 06:43:45.873 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17690795433909/PatModImg_AppMod_0/20260122-064327-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 [2026-01-22T11:43:46.208Z] STF 06:43:45.873 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17690795433909/PatModImg_AppMod_0/20260122-064327-PatModImgTest/results/9.OT21.stderr [2026-01-22T11:43:46.208Z] STF 06:43:45.873 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17690795433909/PatModImg_AppMod_0/20260122-064327-PatModImgTest/results/9.OT21.stdout [2026-01-22T11:43:46.208Z] STF 06:43:45.875 - Monitoring processes: OT21 [2026-01-22T11:43:49.741Z] OT21 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2026-01-22T11:43:55.431Z] 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 [2026-01-22T11:43:56.962Z] OT21 JUnit version 4.12 [2026-01-22T11:43:57.364Z] OT21 . [2026-01-22T11:43:57.364Z] OT21 Time: 0.023 [2026-01-22T11:43:57.364Z] OT21 [2026-01-22T11:43:57.364Z] OT21 OK (1 test) [2026-01-22T11:43:57.364Z] OT21 [2026-01-22T11:43:57.364Z] STF 06:43:56.907 - Monitoring Report Summary: [2026-01-22T11:43:57.364Z] STF 06:43:56.907 - o Process OT21 ended with the expected exit code (0) [2026-01-22T11:43:57.364Z] STF 06:43:56.907 - [2026-01-22T11:43:57.364Z] STF 06:43:56.907 - +------ Step 10 - Verify if we can patch an Application module using modular jar [2026-01-22T11:43:57.364Z] STF 06:43:56.907 - | Run foreground process [2026-01-22T11:43:57.364Z] STF 06:43:56.907 - | Program: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17690795433909/PatModImg_AppMod_0/20260122-064327-PatModImgTest/tmp/6.XpJVM/bin/java [2026-01-22T11:43:57.364Z] STF 06:43:56.907 - | Mnemonic: OT22 [2026-01-22T11:43:57.364Z] STF 06:43:56.907 - | Echo: ECHO_ON [2026-01-22T11:43:57.364Z] STF 06:43:56.907 - | Expectation: CLEAN_RUN within 5m [2026-01-22T11:43:57.364Z] STF 06:43:56.907 - | [2026-01-22T11:43:57.364Z] STF 06:43:56.907 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17690795433909/PatModImg_AppMod_0/20260122-064327-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_17690795433909/PatModImg_AppMod_0/20260122-064327-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 [2026-01-22T11:43:57.364Z] STF 06:43:56.907 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17690795433909/PatModImg_AppMod_0/20260122-064327-PatModImgTest/results/10.OT22.stderr [2026-01-22T11:43:57.364Z] STF 06:43:56.907 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17690795433909/PatModImg_AppMod_0/20260122-064327-PatModImgTest/results/10.OT22.stdout [2026-01-22T11:43:57.364Z] STF 06:43:56.911 - Monitoring processes: OT22 [2026-01-22T11:43:57.364Z] OT22 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2026-01-22T11:43:57.740Z] 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_17690795433909/PatModImg_AppMod_0/20260122-064327-PatModImgTest/modules/7.com.hello.jar [2026-01-22T11:43:57.740Z] OT22 JUnit version 4.12 [2026-01-22T11:43:57.740Z] OT22 . [2026-01-22T11:43:58.199Z] OT22 Time: 0.004 [2026-01-22T11:43:58.199Z] OT22 [2026-01-22T11:43:58.199Z] OT22 OK (1 test) [2026-01-22T11:43:58.199Z] OT22 [2026-01-22T11:43:58.199Z] STF 06:43:57.420 - Monitoring Report Summary: [2026-01-22T11:43:58.199Z] STF 06:43:57.420 - o Process OT22 ended with the expected exit code (0) [2026-01-22T11:43:58.199Z] STF 06:43:57.420 - EXECUTE stage completed [2026-01-22T11:43:58.199Z] STF 06:43:57.669 - [2026-01-22T11:43:58.199Z] STF 06:43:57.669 - ==================== T E A R D O W N ==================== [2026-01-22T11:43:58.199Z] STF 06:43:57.669 - Running teardown: perl /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17690795433909/PatModImg_AppMod_0/20260122-064327-PatModImgTest/tearDown.pl [2026-01-22T11:43:58.199Z] STF 06:43:57.766 - TEARDOWN stage completed [2026-01-22T11:43:58.199Z] STF 06:43:57.770 - [2026-01-22T11:43:58.199Z] STF 06:43:57.770 - ===================== R E S U L T S ===================== [2026-01-22T11:43:58.199Z] STF 06:43:57.770 - Stage results: [2026-01-22T11:43:58.199Z] STF 06:43:57.770 - setUp: pass [2026-01-22T11:43:58.199Z] STF 06:43:57.770 - execute: pass [2026-01-22T11:43:58.199Z] STF 06:43:57.770 - teardown: pass [2026-01-22T11:43:58.199Z] STF 06:43:57.770 - [2026-01-22T11:43:58.199Z] STF 06:43:57.770 - Overall result: PASSED [2026-01-22T11:43:58.199Z] ----------------------------------- [2026-01-22T11:43:58.199Z] PatModImg_AppMod_0_PASSED [2026-01-22T11:43:58.199Z] ----------------------------------- [2026-01-22T11:43:58.199Z] [2026-01-22T11:43:58.199Z] TEST TEARDOWN: [2026-01-22T11:43:58.199Z] Nothing to be done for teardown. [2026-01-22T11:43:58.199Z] PatModImg_AppMod_0 Finish Time: Thu Jan 22 06:43:57 2026 Epoch Time (ms): 1769082237928