PatModImg_AppMod_1
[2025-09-03T21:49:32.783Z] Running test PatModImg_AppMod_1 ...
[2025-09-03T21:49:32.783Z] ===============================================
[2025-09-03T21:49:32.783Z] PatModImg_AppMod_1 Start Time: Wed Sep 3 17:49:32 2025 Epoch Time (ms): 1756936172521
[2025-09-03T21:49:32.783Z] variation: Mode650
[2025-09-03T21:49:32.783Z] JVM_OPTIONS: -XX:-UseCompressedOops
[2025-09-03T21:49:32.783Z] { \
[2025-09-03T21:49:32.783Z] echo ""; echo "TEST SETUP:"; \
[2025-09-03T21:49:32.783Z] echo "Nothing to be done for setup."; \
[2025-09-03T21:49:32.783Z] mkdir -p "/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17569336815549/PatModImg_AppMod_1"; \
[2025-09-03T21:49:32.783Z] cd "/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17569336815549/PatModImg_AppMod_1"; \
[2025-09-03T21:49:32.783Z] echo ""; echo "TESTING:"; \
[2025-09-03T21:49:32.783Z] perl /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF/stf.core/scripts/stf.pl -test-root="/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF;/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../../jvmtest/system/modularity/..//aqa-systemtest""" -systemtest-prereqs="/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/../../externalDependency/system_lib/" -java-args=' -XX:-UseCompressedOops ' -results-root="/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17569336815549/PatModImg_AppMod_1" -test=PatModImgTest -test-args="variant=AppMod"; \
[2025-09-03T21:49:32.783Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatModImg_AppMod_1""_PASSED"; echo "-----------------------------------"; cd /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/..; rm -f -r "/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17569336815549/PatModImg_AppMod_1"; else echo "-----------------------------------"; echo "PatModImg_AppMod_1""_FAILED"; echo "-----------------------------------"; fi; \
[2025-09-03T21:49:32.783Z] echo ""; echo "TEST TEARDOWN:"; \
[2025-09-03T21:49:32.783Z] echo "Nothing to be done for teardown."; \
[2025-09-03T21:49:32.783Z] } 2>&1 | tee -a "/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17569336815549/TestTargetResult";
[2025-09-03T21:49:32.783Z]
[2025-09-03T21:49:32.783Z] TEST SETUP:
[2025-09-03T21:49:32.783Z] Nothing to be done for setup.
[2025-09-03T21:49:32.783Z]
[2025-09-03T21:49:32.783Z] TESTING:
[2025-09-03T21:49:32.783Z] STF 17:49:32.563 - ========================= S T F =========================
[2025-09-03T21:49:32.783Z] 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_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17569336815549/PatModImg_AppMod_1
[2025-09-03T21:49:32.783Z] There is 36140 Mb free
[2025-09-03T21:49:32.783Z] STF 17:49:32.567 - ================== G E N E R A T I O N ==================
[2025-09-03T21:49:32.783Z] STF 17:49:32.568 - Checking JVM: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/../
[2025-09-03T21:49:32.783Z] STF 17:49:32.568 - Starting process to generate scripts: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/..//bin/java -Dlog4j.skipJansi=true -Djava.system.class.loader=net.adoptopenjdk.stf.runner.StfClassLoader -Dload.agent.path=/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/STF/stf.core/scripts/../../stf.load/bin/stf.load.jar -classpath /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/../../externalDependency/system_lib//asm/asm.jar:/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/../../externalDependency/system_lib//asm/asm-commons.jar:/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/../../externalDependency/system_lib//log4j/log4j-api.jar:/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/../../externalDependency/system_lib//log4j/log4j-core.jar:/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17569336815549/PatModImg_AppMod_1/20250903-174932-PatModImgTest/stf_parameters.properties, , /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17569336815549/PatModImg_AppMod_1/20250903-174932-PatModImgTest"
[2025-09-03T21:49:32.783Z] GEN stderr OpenJDK 64-Bit Server VM warning: Archived non-system classes are disabled because the java.system.class.loader property is specified (value = "net.adoptopenjdk.stf.runner.StfClassLoader"). To use archived non-system classes, this property must not be set
[2025-09-03T21:49:33.145Z] GEN 17:49:32.897 - Found test. Project: 'openjdk.test.modularity' class: 'PatModImgTest.class' Dir: '/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin'
[2025-09-03T21:49:33.146Z] GEN 17:49:32.902 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModImgTest'
[2025-09-03T21:49:33.146Z] GEN Classpath directories used by project 'openjdk.test.modularity':
[2025-09-03T21:49:33.146Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayService
[2025-09-03T21:49:33.146Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper
[2025-09-03T21:49:33.146Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl1
[2025-09-03T21:49:33.146Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet
[2025-09-03T21:49:33.146Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello
[2025-09-03T21:49:33.146Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola
[2025-09-03T21:49:33.146Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl2
[2025-09-03T21:49:33.146Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hi
[2025-09-03T21:49:33.146Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override
[2025-09-03T21:49:33.146Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override-new
[2025-09-03T21:49:33.146Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl3
[2025-09-03T21:49:33.146Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl4
[2025-09-03T21:49:33.146Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common
[2025-09-03T21:49:33.146Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests
[2025-09-03T21:49:33.146Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin
[2025-09-03T21:49:33.146Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/STF/stf.core/bin
[2025-09-03T21:49:33.146Z] GEN /Users/admin/workspace/externalDependency/system_lib/log4j/log4j-api.jar
[2025-09-03T21:49:33.146Z] GEN /Users/admin/workspace/externalDependency/system_lib/log4j/log4j-core.jar
[2025-09-03T21:49:33.146Z] GEN /Users/admin/workspace/externalDependency/system_lib/junit/junit.jar
[2025-09-03T21:49:33.146Z] GEN 17:49:32.965 - Using Mode NoOptions. Values = ''
[2025-09-03T21:49:33.146Z] GEN 17:49:32.996 -
[2025-09-03T21:49:33.146Z] GEN 17:49:32.996 - Test command summary:
[2025-09-03T21:49:33.146Z] GEN 17:49:32.996 - Step Stage Command Description
[2025-09-03T21:49:33.146Z] GEN 17:49:32.997 - -----+--------+-----------------+------------
[2025-09-03T21:49:33.146Z] GEN 17:49:32.997 - 1 execute jar Create com.hello jar
[2025-09-03T21:49:33.146Z] GEN 17:49:32.997 - 2 execute jar Create com.hola jar
[2025-09-03T21:49:33.146Z] GEN 17:49:32.997 - 3 execute jar Create com.helper jar
[2025-09-03T21:49:33.146Z] GEN 17:49:32.997 - 4 execute jar Create com.discreet jar
[2025-09-03T21:49:33.146Z] GEN 17:49:32.997 - 5 execute jar Create tests jar
[2025-09-03T21:49:33.146Z] GEN 17:49:32.997 - 6 execute jlink Create runtime image for PatchModule test
[2025-09-03T21:49:33.146Z] GEN 17:49:32.997 - 7 execute jar Create com.hello jar
[2025-09-03T21:49:33.146Z] GEN 17:49:32.997 - 8 execute jar create java.xml.jar
[2025-09-03T21:49:33.146Z] GEN 17:49:32.997 - 9 execute Run java Verify if we can patch an Application module using exploded directory
[2025-09-03T21:49:33.146Z] GEN 17:49:32.997 - 10 execute Run java Verify if we can patch an Application module using modular jar
[2025-09-03T21:49:33.146Z] STF 17:49:33.011 -
[2025-09-03T21:49:33.146Z] STF 17:49:33.011 - Script generation completed
[2025-09-03T21:49:33.146Z] STF 17:49:33.011 -
[2025-09-03T21:49:33.146Z] STF 17:49:33.011 -
[2025-09-03T21:49:33.146Z] STF 17:49:33.011 - ======================= S E T U P =======================
[2025-09-03T21:49:33.146Z] STF 17:49:33.011 - Running setup: perl /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17569336815549/PatModImg_AppMod_1/20250903-174932-PatModImgTest/setUp.pl
[2025-09-03T21:49:33.146Z] STF 17:49:33.040 - SETUP stage completed
[2025-09-03T21:49:33.146Z] STF 17:49:33.047 -
[2025-09-03T21:49:33.146Z] STF 17:49:33.047 - ==================== E X E C U T E - ====================
[2025-09-03T21:49:33.146Z] STF 17:49:33.047 - Running execute: perl /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17569336815549/PatModImg_AppMod_1/20250903-174932-PatModImgTest/execute.pl
[2025-09-03T21:49:33.146Z] STF 17:49:33.076 -
[2025-09-03T21:49:33.146Z] STF 17:49:33.076 - Java version
[2025-09-03T21:49:33.146Z] STF 17:49:33.076 - Running: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/java -version
[2025-09-03T21:49:33.146Z] STF 17:49:33.104 -
[2025-09-03T21:49:33.146Z] STF 17:49:33.104 - +------ Step 1 - Create com.hello jar
[2025-09-03T21:49:33.146Z] STF 17:49:33.104 - | Create modular jar
[2025-09-03T21:49:33.146Z] STF 17:49:33.104 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello
[2025-09-03T21:49:33.146Z] STF 17:49:33.104 - | ModuleVersion: null
[2025-09-03T21:49:33.146Z] STF 17:49:33.104 - | MainClass: null
[2025-09-03T21:49:33.146Z] STF 17:49:33.104 - | HashModules: null
[2025-09-03T21:49:33.146Z] STF 17:49:33.104 - |
[2025-09-03T21:49:33.146Z] STF 17:49:33.104 - Running command: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17569336815549/PatModImg_AppMod_1/20250903-174932-PatModImgTest/modules/1.com.hello.jar -C /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello .
[2025-09-03T21:49:33.146Z] STF 17:49:33.104 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17569336815549/PatModImg_AppMod_1/20250903-174932-PatModImgTest/results/1.CMJ.stderr
[2025-09-03T21:49:33.146Z] STF 17:49:33.104 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17569336815549/PatModImg_AppMod_1/20250903-174932-PatModImgTest/results/1.CMJ.stdout
[2025-09-03T21:49:33.146Z] openjdk version "17.0.17-beta" 2025-10-21
[2025-09-03T21:49:33.146Z] OpenJDK Runtime Environment Temurin-17.0.17+6-202509031933 (build 17.0.17-beta+6-ea)
[2025-09-03T21:49:33.146Z] OpenJDK 64-Bit Server VM Temurin-17.0.17+6-202509031933 (build 17.0.17-beta+6-ea, mixed mode, sharing)
[2025-09-03T21:49:33.146Z] STF 17:49:33.109 - Monitoring processes: CMJ
[2025-09-03T21:49:33.502Z] STF 17:49:33.177 - Monitoring Report Summary:
[2025-09-03T21:49:33.502Z] STF 17:49:33.177 - o Process CMJ ended with the expected exit code (0)
[2025-09-03T21:49:33.502Z] STF 17:49:33.177 - Created modular jar: 1.com.hello.jar
[2025-09-03T21:49:33.502Z] STF 17:49:33.177 -
[2025-09-03T21:49:33.502Z] STF 17:49:33.177 - +------ Step 2 - Create com.hola jar
[2025-09-03T21:49:33.502Z] STF 17:49:33.177 - | Create modular jar
[2025-09-03T21:49:33.502Z] STF 17:49:33.177 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola
[2025-09-03T21:49:33.502Z] STF 17:49:33.177 - | ModuleVersion: null
[2025-09-03T21:49:33.502Z] STF 17:49:33.177 - | MainClass: null
[2025-09-03T21:49:33.502Z] STF 17:49:33.177 - | HashModules: null
[2025-09-03T21:49:33.502Z] STF 17:49:33.177 - |
[2025-09-03T21:49:33.503Z] STF 17:49:33.178 - Running command: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17569336815549/PatModImg_AppMod_1/20250903-174932-PatModImgTest/modules/2.com.hola.jar -C /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola .
[2025-09-03T21:49:33.503Z] STF 17:49:33.178 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17569336815549/PatModImg_AppMod_1/20250903-174932-PatModImgTest/results/2.CMJ.stderr
[2025-09-03T21:49:33.503Z] STF 17:49:33.178 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17569336815549/PatModImg_AppMod_1/20250903-174932-PatModImgTest/results/2.CMJ.stdout
[2025-09-03T21:49:33.503Z] STF 17:49:33.178 - Monitoring processes: CMJ
[2025-09-03T21:49:33.503Z] STF 17:49:33.253 - Monitoring Report Summary:
[2025-09-03T21:49:33.503Z] STF 17:49:33.253 - o Process CMJ ended with the expected exit code (0)
[2025-09-03T21:49:33.503Z] STF 17:49:33.253 - Created modular jar: 2.com.hola.jar
[2025-09-03T21:49:33.503Z] STF 17:49:33.253 -
[2025-09-03T21:49:33.503Z] STF 17:49:33.253 - +------ Step 3 - Create com.helper jar
[2025-09-03T21:49:33.503Z] STF 17:49:33.253 - | Create modular jar
[2025-09-03T21:49:33.503Z] STF 17:49:33.253 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper
[2025-09-03T21:49:33.503Z] STF 17:49:33.253 - | ModuleVersion: null
[2025-09-03T21:49:33.503Z] STF 17:49:33.253 - | MainClass: null
[2025-09-03T21:49:33.503Z] STF 17:49:33.253 - | HashModules: null
[2025-09-03T21:49:33.503Z] STF 17:49:33.253 - |
[2025-09-03T21:49:33.503Z] STF 17:49:33.253 - Running command: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17569336815549/PatModImg_AppMod_1/20250903-174932-PatModImgTest/modules/3.com.helper.jar -C /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper .
[2025-09-03T21:49:33.503Z] STF 17:49:33.253 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17569336815549/PatModImg_AppMod_1/20250903-174932-PatModImgTest/results/3.CMJ.stderr
[2025-09-03T21:49:33.503Z] STF 17:49:33.253 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17569336815549/PatModImg_AppMod_1/20250903-174932-PatModImgTest/results/3.CMJ.stdout
[2025-09-03T21:49:33.503Z] STF 17:49:33.254 - Monitoring processes: CMJ
[2025-09-03T21:49:33.503Z] STF 17:49:33.334 - Monitoring Report Summary:
[2025-09-03T21:49:33.503Z] STF 17:49:33.334 - o Process CMJ ended with the expected exit code (0)
[2025-09-03T21:49:33.503Z] STF 17:49:33.334 - Created modular jar: 3.com.helper.jar
[2025-09-03T21:49:33.503Z] STF 17:49:33.334 -
[2025-09-03T21:49:33.503Z] STF 17:49:33.334 - +------ Step 4 - Create com.discreet jar
[2025-09-03T21:49:33.503Z] STF 17:49:33.334 - | Create modular jar
[2025-09-03T21:49:33.503Z] STF 17:49:33.334 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet
[2025-09-03T21:49:33.503Z] STF 17:49:33.334 - | ModuleVersion: null
[2025-09-03T21:49:33.503Z] STF 17:49:33.334 - | MainClass: null
[2025-09-03T21:49:33.503Z] STF 17:49:33.334 - | HashModules: null
[2025-09-03T21:49:33.503Z] STF 17:49:33.334 - |
[2025-09-03T21:49:33.503Z] STF 17:49:33.334 - Running command: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17569336815549/PatModImg_AppMod_1/20250903-174932-PatModImgTest/modules/4.com.discreet.jar -C /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet .
[2025-09-03T21:49:33.503Z] STF 17:49:33.334 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17569336815549/PatModImg_AppMod_1/20250903-174932-PatModImgTest/results/4.CMJ.stderr
[2025-09-03T21:49:33.503Z] STF 17:49:33.334 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17569336815549/PatModImg_AppMod_1/20250903-174932-PatModImgTest/results/4.CMJ.stdout
[2025-09-03T21:49:33.503Z] STF 17:49:33.335 - Monitoring processes: CMJ
[2025-09-03T21:49:33.503Z] STF 17:49:33.430 - Monitoring Report Summary:
[2025-09-03T21:49:33.503Z] STF 17:49:33.430 - o Process CMJ ended with the expected exit code (0)
[2025-09-03T21:49:33.503Z] STF 17:49:33.431 - Created modular jar: 4.com.discreet.jar
[2025-09-03T21:49:33.503Z] STF 17:49:33.431 -
[2025-09-03T21:49:33.503Z] STF 17:49:33.431 - +------ Step 5 - Create tests jar
[2025-09-03T21:49:33.503Z] STF 17:49:33.431 - | Create modular jar
[2025-09-03T21:49:33.503Z] STF 17:49:33.431 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test
[2025-09-03T21:49:33.503Z] STF 17:49:33.431 - | ModuleVersion: null
[2025-09-03T21:49:33.503Z] STF 17:49:33.431 - | MainClass: null
[2025-09-03T21:49:33.503Z] STF 17:49:33.431 - | HashModules: null
[2025-09-03T21:49:33.503Z] STF 17:49:33.431 - |
[2025-09-03T21:49:33.503Z] STF 17:49:33.431 - Running command: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17569336815549/PatModImg_AppMod_1/20250903-174932-PatModImgTest/modules/5.com.test.jar -C /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test .
[2025-09-03T21:49:33.503Z] STF 17:49:33.431 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17569336815549/PatModImg_AppMod_1/20250903-174932-PatModImgTest/results/5.CMJ.stderr
[2025-09-03T21:49:33.503Z] STF 17:49:33.431 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17569336815549/PatModImg_AppMod_1/20250903-174932-PatModImgTest/results/5.CMJ.stdout
[2025-09-03T21:49:33.503Z] STF 17:49:33.432 - Monitoring processes: CMJ
[2025-09-03T21:49:33.860Z] STF 17:49:33.543 - Monitoring Report Summary:
[2025-09-03T21:49:33.860Z] STF 17:49:33.543 - o Process CMJ ended with the expected exit code (0)
[2025-09-03T21:49:33.860Z] STF 17:49:33.543 - Created modular jar: 5.com.test.jar
[2025-09-03T21:49:33.860Z] STF 17:49:33.543 -
[2025-09-03T21:49:33.860Z] STF 17:49:33.543 - +------ Step 6 - Create runtime image for PatchModule test
[2025-09-03T21:49:33.860Z] STF 17:49:33.543 - | Run jlink to create runtime image
[2025-09-03T21:49:33.860Z] STF 17:49:33.543 - | ImageName: XpJVM
[2025-09-03T21:49:33.860Z] STF 17:49:33.543 - |
[2025-09-03T21:49:33.860Z] STF 17:49:33.543 - Running command: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jlink --module-path /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/jmods:/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17569336815549/PatModImg_AppMod_1/20250903-174932-PatModImgTest/modules --add-modules com.hello,com.hola,com.test,com.helper,com.discreet --output /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17569336815549/PatModImg_AppMod_1/20250903-174932-PatModImgTest/tmp/6.XpJVM
[2025-09-03T21:49:33.860Z] STF 17:49:33.543 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17569336815549/PatModImg_AppMod_1/20250903-174932-PatModImgTest/results/6.JLNK.stderr
[2025-09-03T21:49:33.860Z] STF 17:49:33.543 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17569336815549/PatModImg_AppMod_1/20250903-174932-PatModImgTest/results/6.JLNK.stdout
[2025-09-03T21:49:33.860Z] STF 17:49:33.545 - Monitoring processes: JLNK
[2025-09-03T21:49:35.102Z] STF 17:49:34.644 - Monitoring Report Summary:
[2025-09-03T21:49:35.102Z] STF 17:49:34.644 - o Process JLNK ended with the expected exit code (0)
[2025-09-03T21:49:35.102Z] STF 17:49:34.644 -
[2025-09-03T21:49:35.102Z] STF 17:49:34.644 - +------ Step 7 - Create com.hello jar
[2025-09-03T21:49:35.102Z] STF 17:49:34.644 - | Create modular jar
[2025-09-03T21:49:35.102Z] STF 17:49:34.644 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello
[2025-09-03T21:49:35.102Z] STF 17:49:34.644 - | ModuleVersion: null
[2025-09-03T21:49:35.102Z] STF 17:49:34.644 - | MainClass: null
[2025-09-03T21:49:35.102Z] STF 17:49:34.644 - | HashModules: null
[2025-09-03T21:49:35.102Z] STF 17:49:34.644 - |
[2025-09-03T21:49:35.102Z] STF 17:49:34.644 - Running command: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17569336815549/PatModImg_AppMod_1/20250903-174932-PatModImgTest/modules/7.com.hello.jar -C /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello .
[2025-09-03T21:49:35.102Z] STF 17:49:34.644 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17569336815549/PatModImg_AppMod_1/20250903-174932-PatModImgTest/results/7.CMJ.stderr
[2025-09-03T21:49:35.102Z] STF 17:49:34.644 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17569336815549/PatModImg_AppMod_1/20250903-174932-PatModImgTest/results/7.CMJ.stdout
[2025-09-03T21:49:35.102Z] STF 17:49:34.648 - Monitoring processes: CMJ
[2025-09-03T21:49:35.102Z] STF 17:49:34.751 - Monitoring Report Summary:
[2025-09-03T21:49:35.102Z] STF 17:49:34.751 - o Process CMJ ended with the expected exit code (0)
[2025-09-03T21:49:35.102Z] STF 17:49:34.751 - Created modular jar: 7.com.hello.jar
[2025-09-03T21:49:35.102Z] STF 17:49:34.751 -
[2025-09-03T21:49:35.102Z] STF 17:49:34.752 - +------ Step 8 - create java.xml.jar
[2025-09-03T21:49:35.102Z] STF 17:49:34.752 - | Create modular jar
[2025-09-03T21:49:35.102Z] STF 17:49:34.752 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml
[2025-09-03T21:49:35.102Z] STF 17:49:34.752 - | ModuleVersion: null
[2025-09-03T21:49:35.102Z] STF 17:49:34.752 - | MainClass: null
[2025-09-03T21:49:35.102Z] STF 17:49:34.752 - | HashModules: null
[2025-09-03T21:49:35.102Z] STF 17:49:34.752 - |
[2025-09-03T21:49:35.102Z] STF 17:49:34.752 - Running command: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17569336815549/PatModImg_AppMod_1/20250903-174932-PatModImgTest/modules/8.java.xml.jar -C /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/java.xml .
[2025-09-03T21:49:35.102Z] STF 17:49:34.752 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17569336815549/PatModImg_AppMod_1/20250903-174932-PatModImgTest/results/8.CMJ.stderr
[2025-09-03T21:49:35.102Z] STF 17:49:34.752 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17569336815549/PatModImg_AppMod_1/20250903-174932-PatModImgTest/results/8.CMJ.stdout
[2025-09-03T21:49:35.102Z] STF 17:49:34.753 - Monitoring processes: CMJ
[2025-09-03T21:49:35.102Z] STF 17:49:34.865 - Monitoring Report Summary:
[2025-09-03T21:49:35.102Z] STF 17:49:34.865 - o Process CMJ ended with the expected exit code (0)
[2025-09-03T21:49:35.102Z] STF 17:49:34.866 - Created modular jar: 8.java.xml.jar
[2025-09-03T21:49:35.102Z] STF 17:49:34.866 -
[2025-09-03T21:49:35.102Z] STF 17:49:34.866 - +------ Step 9 - Verify if we can patch an Application module using exploded directory
[2025-09-03T21:49:35.102Z] STF 17:49:34.866 - | Run foreground process
[2025-09-03T21:49:35.102Z] STF 17:49:34.866 - | Program: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17569336815549/PatModImg_AppMod_1/20250903-174932-PatModImgTest/tmp/6.XpJVM/bin/java
[2025-09-03T21:49:35.102Z] STF 17:49:34.866 - | Mnemonic: OT21
[2025-09-03T21:49:35.102Z] STF 17:49:34.866 - | Echo: ECHO_ON
[2025-09-03T21:49:35.102Z] STF 17:49:34.866 - | Expectation: CLEAN_RUN within 5m
[2025-09-03T21:49:35.102Z] STF 17:49:34.866 - |
[2025-09-03T21:49:35.102Z] STF 17:49:34.866 - Running command: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17569336815549/PatModImg_AppMod_1/20250903-174932-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module com.hello=/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello -XX:-UseCompressedOops -classpath /Users/admin/workspace/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-09-03T21:49:35.102Z] STF 17:49:34.866 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17569336815549/PatModImg_AppMod_1/20250903-174932-PatModImgTest/results/9.OT21.stderr
[2025-09-03T21:49:35.102Z] STF 17:49:34.866 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17569336815549/PatModImg_AppMod_1/20250903-174932-PatModImgTest/results/9.OT21.stdout
[2025-09-03T21:49:35.102Z] STF 17:49:34.867 - Monitoring processes: OT21
[2025-09-03T21:49:36.361Z] OT21 stderr WARNING: module-info.class ignored in patch: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello
[2025-09-03T21:49:36.725Z] OT21 JUnit version 4.12
[2025-09-03T21:49:36.725Z] OT21 .
[2025-09-03T21:49:36.725Z] OT21 Time: 0.004
[2025-09-03T21:49:36.725Z] OT21
[2025-09-03T21:49:36.725Z] OT21 OK (1 test)
[2025-09-03T21:49:36.725Z] OT21
[2025-09-03T21:49:36.726Z] STF 17:49:36.585 - Monitoring Report Summary:
[2025-09-03T21:49:36.726Z] STF 17:49:36.585 - o Process OT21 ended with the expected exit code (0)
[2025-09-03T21:49:36.726Z] STF 17:49:36.585 -
[2025-09-03T21:49:36.726Z] STF 17:49:36.585 - +------ Step 10 - Verify if we can patch an Application module using modular jar
[2025-09-03T21:49:36.726Z] STF 17:49:36.585 - | Run foreground process
[2025-09-03T21:49:36.726Z] STF 17:49:36.585 - | Program: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17569336815549/PatModImg_AppMod_1/20250903-174932-PatModImgTest/tmp/6.XpJVM/bin/java
[2025-09-03T21:49:36.726Z] STF 17:49:36.585 - | Mnemonic: OT22
[2025-09-03T21:49:36.726Z] STF 17:49:36.585 - | Echo: ECHO_ON
[2025-09-03T21:49:36.726Z] STF 17:49:36.585 - | Expectation: CLEAN_RUN within 5m
[2025-09-03T21:49:36.726Z] STF 17:49:36.585 - |
[2025-09-03T21:49:36.726Z] STF 17:49:36.585 - Running command: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17569336815549/PatModImg_AppMod_1/20250903-174932-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module com.hello=/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17569336815549/PatModImg_AppMod_1/20250903-174932-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-09-03T21:49:36.726Z] STF 17:49:36.585 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17569336815549/PatModImg_AppMod_1/20250903-174932-PatModImgTest/results/10.OT22.stderr
[2025-09-03T21:49:36.726Z] STF 17:49:36.585 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17569336815549/PatModImg_AppMod_1/20250903-174932-PatModImgTest/results/10.OT22.stdout
[2025-09-03T21:49:36.726Z] STF 17:49:36.587 - Monitoring processes: OT22
[2025-09-03T21:49:36.726Z] OT22 stderr WARNING: module-info.class ignored in patch: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17569336815549/PatModImg_AppMod_1/20250903-174932-PatModImgTest/modules/7.com.hello.jar
[2025-09-03T21:49:36.726Z] OT22 JUnit version 4.12
[2025-09-03T21:49:37.084Z] OT22 .
[2025-09-03T21:49:37.084Z] OT22 Time: 0.001
[2025-09-03T21:49:37.084Z] OT22
[2025-09-03T21:49:37.084Z] OT22 OK (1 test)
[2025-09-03T21:49:37.084Z] OT22
[2025-09-03T21:49:37.084Z] STF 17:49:36.698 - Monitoring Report Summary:
[2025-09-03T21:49:37.084Z] STF 17:49:36.698 - o Process OT22 ended with the expected exit code (0)
[2025-09-03T21:49:37.084Z] STF 17:49:36.698 - EXECUTE stage completed
[2025-09-03T21:49:37.084Z] STF 17:49:36.703 -
[2025-09-03T21:49:37.084Z] STF 17:49:36.703 - ==================== T E A R D O W N ====================
[2025-09-03T21:49:37.084Z] STF 17:49:36.703 - Running teardown: perl /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17569336815549/PatModImg_AppMod_1/20250903-174932-PatModImgTest/tearDown.pl
[2025-09-03T21:49:37.084Z] STF 17:49:36.735 - TEARDOWN stage completed
[2025-09-03T21:49:37.084Z] STF 17:49:36.744 -
[2025-09-03T21:49:37.084Z] STF 17:49:36.745 - ===================== R E S U L T S =====================
[2025-09-03T21:49:37.084Z] STF 17:49:36.745 - Stage results:
[2025-09-03T21:49:37.084Z] STF 17:49:36.745 - setUp: pass
[2025-09-03T21:49:37.084Z] STF 17:49:36.745 - execute: pass
[2025-09-03T21:49:37.084Z] STF 17:49:36.745 - teardown: pass
[2025-09-03T21:49:37.084Z] STF 17:49:36.745 -
[2025-09-03T21:49:37.084Z] STF 17:49:36.745 - Overall result: PASSED
[2025-09-03T21:49:37.084Z] -----------------------------------
[2025-09-03T21:49:37.084Z] PatModImg_AppMod_1_PASSED
[2025-09-03T21:49:37.084Z] -----------------------------------
[2025-09-03T21:49:37.084Z]
[2025-09-03T21:49:37.084Z] TEST TEARDOWN:
[2025-09-03T21:49:37.084Z] Nothing to be done for teardown.
[2025-09-03T21:49:37.084Z] PatModImg_AppMod_1 Finish Time: Wed Sep 3 17:49:36 2025 Epoch Time (ms): 1756936176769