PatModImg_AppMod_1
[2025-06-18T20:54:16.417Z] Running test PatModImg_AppMod_1 ...
[2025-06-18T20:54:16.417Z] ===============================================
[2025-06-18T20:54:16.417Z] PatModImg_AppMod_1 Start Time: Wed Jun 18 16:54:16 2025 Epoch Time (ms): 1750280056332
[2025-06-18T20:54:16.417Z] variation: Mode650
[2025-06-18T20:54:16.417Z] JVM_OPTIONS: -XX:-UseCompressedOops
[2025-06-18T20:54:16.417Z] { \
[2025-06-18T20:54:16.417Z] echo ""; echo "TEST SETUP:"; \
[2025-06-18T20:54:16.417Z] echo "Nothing to be done for setup."; \
[2025-06-18T20:54:16.417Z] mkdir -p "/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17502775685601/PatModImg_AppMod_1"; \
[2025-06-18T20:54:16.417Z] cd "/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17502775685601/PatModImg_AppMod_1"; \
[2025-06-18T20:54:16.417Z] echo ""; echo "TESTING:"; \
[2025-06-18T20:54:16.417Z] perl /Users/admin/workspace/workspace/Test_openjdk21_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_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF;/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../../jvmtest/system/modularity/..//aqa-systemtest""" -systemtest-prereqs="/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/../../testDependency/system_lib/" -java-args=' -XX:-UseCompressedOops ' -results-root="/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17502775685601/PatModImg_AppMod_1" -test=PatModImgTest -test-args="variant=AppMod"; \
[2025-06-18T20:54:16.417Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatModImg_AppMod_1""_PASSED"; echo "-----------------------------------"; cd /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/..; rm -f -r "/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17502775685601/PatModImg_AppMod_1"; else echo "-----------------------------------"; echo "PatModImg_AppMod_1""_FAILED"; echo "-----------------------------------"; fi; \
[2025-06-18T20:54:16.417Z] echo ""; echo "TEST TEARDOWN:"; \
[2025-06-18T20:54:16.417Z] echo "Nothing to be done for teardown."; \
[2025-06-18T20:54:16.417Z] } 2>&1 | tee -a "/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17502775685601/TestTargetResult";
[2025-06-18T20:54:16.417Z]
[2025-06-18T20:54:16.417Z] TEST SETUP:
[2025-06-18T20:54:16.417Z] Nothing to be done for setup.
[2025-06-18T20:54:16.417Z]
[2025-06-18T20:54:16.417Z] TESTING:
[2025-06-18T20:54:16.417Z] STF 16:54:16.379 - ========================= S T F =========================
[2025-06-18T20:54:16.417Z] systemtest-prereqs has been processed, and set to: /Users/admin/workspace/testDependency/system_libRetrieving amount of free space on drive containing /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17502775685601/PatModImg_AppMod_1
[2025-06-18T20:54:16.776Z] There is 28698 Mb free
[2025-06-18T20:54:16.776Z] STF 16:54:16.383 - ================== G E N E R A T I O N ==================
[2025-06-18T20:54:16.776Z] STF 16:54:16.384 - Checking JVM: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/../
[2025-06-18T20:54:16.776Z] STF 16:54:16.384 - Starting process to generate scripts: /Users/admin/workspace/workspace/Test_openjdk21_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_openjdk21_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_openjdk21_hs_sanity.system_aarch64_mac_testList_1/../../testDependency/system_lib//asm/asm.jar:/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/../../testDependency/system_lib//asm/asm-commons.jar:/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/../../testDependency/system_lib//log4j/log4j-api.jar:/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/../../testDependency/system_lib//log4j/log4j-core.jar:/Users/admin/workspace/workspace/Test_openjdk21_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_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17502775685601/PatModImg_AppMod_1/20250618-165416-PatModImgTest/stf_parameters.properties, , /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17502775685601/PatModImg_AppMod_1/20250618-165416-PatModImgTest"
[2025-06-18T20:54:16.776Z] GEN [0.004s][warning][cds] 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-06-18T20:54:16.776Z] GEN stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-06-18T20:54:17.135Z] GEN 16:54:16.772 - Found test. Project: 'openjdk.test.modularity' class: 'PatModImgTest.class' Dir: '/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin'
[2025-06-18T20:54:17.135Z] GEN 16:54:16.778 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModImgTest'
[2025-06-18T20:54:17.135Z] GEN Classpath directories used by project 'openjdk.test.modularity':
[2025-06-18T20:54:17.135Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayService
[2025-06-18T20:54:17.135Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper
[2025-06-18T20:54:17.135Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl1
[2025-06-18T20:54:17.135Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet
[2025-06-18T20:54:17.135Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello
[2025-06-18T20:54:17.135Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola
[2025-06-18T20:54:17.135Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl2
[2025-06-18T20:54:17.135Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hi
[2025-06-18T20:54:17.135Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override
[2025-06-18T20:54:17.135Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override-new
[2025-06-18T20:54:17.135Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl3
[2025-06-18T20:54:17.135Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl4
[2025-06-18T20:54:17.135Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common
[2025-06-18T20:54:17.135Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests
[2025-06-18T20:54:17.135Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin
[2025-06-18T20:54:17.135Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/STF/stf.core/bin
[2025-06-18T20:54:17.135Z] GEN /Users/admin/workspace/testDependency/system_lib/log4j/log4j-api.jar
[2025-06-18T20:54:17.135Z] GEN /Users/admin/workspace/testDependency/system_lib/log4j/log4j-core.jar
[2025-06-18T20:54:17.135Z] GEN /Users/admin/workspace/testDependency/system_lib/junit/junit.jar
[2025-06-18T20:54:17.135Z] GEN 16:54:16.861 - Using Mode NoOptions. Values = ''
[2025-06-18T20:54:17.135Z] GEN 16:54:16.891 -
[2025-06-18T20:54:17.135Z] GEN 16:54:16.891 - Test command summary:
[2025-06-18T20:54:17.135Z] GEN 16:54:16.891 - Step Stage Command Description
[2025-06-18T20:54:17.135Z] GEN 16:54:16.892 - -----+--------+-----------------+------------
[2025-06-18T20:54:17.135Z] GEN 16:54:16.892 - 1 execute jar Create com.hello jar
[2025-06-18T20:54:17.135Z] GEN 16:54:16.892 - 2 execute jar Create com.hola jar
[2025-06-18T20:54:17.135Z] GEN 16:54:16.892 - 3 execute jar Create com.helper jar
[2025-06-18T20:54:17.135Z] GEN 16:54:16.892 - 4 execute jar Create com.discreet jar
[2025-06-18T20:54:17.135Z] GEN 16:54:16.892 - 5 execute jar Create tests jar
[2025-06-18T20:54:17.135Z] GEN 16:54:16.892 - 6 execute jlink Create runtime image for PatchModule test
[2025-06-18T20:54:17.135Z] GEN 16:54:16.892 - 7 execute jar Create com.hello jar
[2025-06-18T20:54:17.135Z] GEN 16:54:16.892 - 8 execute jar create java.xml.jar
[2025-06-18T20:54:17.135Z] GEN 16:54:16.892 - 9 execute Run java Verify if we can patch an Application module using exploded directory
[2025-06-18T20:54:17.135Z] GEN 16:54:16.892 - 10 execute Run java Verify if we can patch an Application module using modular jar
[2025-06-18T20:54:17.135Z] STF 16:54:16.905 -
[2025-06-18T20:54:17.135Z] STF 16:54:16.905 - Script generation completed
[2025-06-18T20:54:17.135Z] STF 16:54:16.905 -
[2025-06-18T20:54:17.135Z] STF 16:54:16.905 -
[2025-06-18T20:54:17.135Z] STF 16:54:16.905 - ======================= S E T U P =======================
[2025-06-18T20:54:17.135Z] STF 16:54:16.905 - Running setup: perl /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17502775685601/PatModImg_AppMod_1/20250618-165416-PatModImgTest/setUp.pl
[2025-06-18T20:54:17.135Z] STF 16:54:16.938 - SETUP stage completed
[2025-06-18T20:54:17.135Z] STF 16:54:16.946 -
[2025-06-18T20:54:17.135Z] STF 16:54:16.946 - ==================== E X E C U T E - ====================
[2025-06-18T20:54:17.135Z] STF 16:54:16.946 - Running execute: perl /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17502775685601/PatModImg_AppMod_1/20250618-165416-PatModImgTest/execute.pl
[2025-06-18T20:54:17.135Z] STF 16:54:16.976 -
[2025-06-18T20:54:17.135Z] STF 16:54:16.976 - Java version
[2025-06-18T20:54:17.135Z] STF 16:54:16.976 - Running: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/java -version
[2025-06-18T20:54:17.135Z] Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-06-18T20:54:17.135Z] STF 16:54:17.004 -
[2025-06-18T20:54:17.135Z] STF 16:54:17.004 - +------ Step 1 - Create com.hello jar
[2025-06-18T20:54:17.135Z] STF 16:54:17.004 - | Create modular jar
[2025-06-18T20:54:17.135Z] STF 16:54:17.004 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello
[2025-06-18T20:54:17.135Z] STF 16:54:17.004 - | ModuleVersion: null
[2025-06-18T20:54:17.135Z] STF 16:54:17.004 - | MainClass: null
[2025-06-18T20:54:17.135Z] STF 16:54:17.004 - | HashModules: null
[2025-06-18T20:54:17.135Z] STF 16:54:17.004 - |
[2025-06-18T20:54:17.135Z] STF 16:54:17.004 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17502775685601/PatModImg_AppMod_1/20250618-165416-PatModImgTest/modules/1.com.hello.jar -C /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello .
[2025-06-18T20:54:17.135Z] STF 16:54:17.004 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17502775685601/PatModImg_AppMod_1/20250618-165416-PatModImgTest/results/1.CMJ.stderr
[2025-06-18T20:54:17.135Z] STF 16:54:17.004 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17502775685601/PatModImg_AppMod_1/20250618-165416-PatModImgTest/results/1.CMJ.stdout
[2025-06-18T20:54:17.135Z] openjdk version "21.0.8-beta" 2025-07-15
[2025-06-18T20:54:17.135Z] OpenJDK Runtime Environment Temurin-21.0.8+7-202506181905 (build 21.0.8-beta+7-ea)
[2025-06-18T20:54:17.135Z] OpenJDK 64-Bit Server VM Temurin-21.0.8+7-202506181905 (build 21.0.8-beta+7-ea, mixed mode, sharing)
[2025-06-18T20:54:17.135Z] STF 16:54:17.009 - Monitoring processes: CMJ
[2025-06-18T20:54:17.135Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-06-18T20:54:17.522Z] STF 16:54:17.142 - Monitoring Report Summary:
[2025-06-18T20:54:17.522Z] STF 16:54:17.142 - o Process CMJ ended with the expected exit code (0)
[2025-06-18T20:54:17.522Z] STF 16:54:17.142 - Created modular jar: 1.com.hello.jar
[2025-06-18T20:54:17.522Z] STF 16:54:17.142 -
[2025-06-18T20:54:17.522Z] STF 16:54:17.142 - +------ Step 2 - Create com.hola jar
[2025-06-18T20:54:17.522Z] STF 16:54:17.142 - | Create modular jar
[2025-06-18T20:54:17.522Z] STF 16:54:17.142 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola
[2025-06-18T20:54:17.522Z] STF 16:54:17.142 - | ModuleVersion: null
[2025-06-18T20:54:17.522Z] STF 16:54:17.142 - | MainClass: null
[2025-06-18T20:54:17.522Z] STF 16:54:17.142 - | HashModules: null
[2025-06-18T20:54:17.522Z] STF 16:54:17.142 - |
[2025-06-18T20:54:17.522Z] STF 16:54:17.142 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17502775685601/PatModImg_AppMod_1/20250618-165416-PatModImgTest/modules/2.com.hola.jar -C /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola .
[2025-06-18T20:54:17.522Z] STF 16:54:17.142 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17502775685601/PatModImg_AppMod_1/20250618-165416-PatModImgTest/results/2.CMJ.stderr
[2025-06-18T20:54:17.522Z] STF 16:54:17.142 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17502775685601/PatModImg_AppMod_1/20250618-165416-PatModImgTest/results/2.CMJ.stdout
[2025-06-18T20:54:17.522Z] STF 16:54:17.143 - Monitoring processes: CMJ
[2025-06-18T20:54:17.522Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-06-18T20:54:17.522Z] STF 16:54:17.293 - Monitoring Report Summary:
[2025-06-18T20:54:17.522Z] STF 16:54:17.293 - o Process CMJ ended with the expected exit code (0)
[2025-06-18T20:54:17.522Z] STF 16:54:17.293 - Created modular jar: 2.com.hola.jar
[2025-06-18T20:54:17.522Z] STF 16:54:17.293 -
[2025-06-18T20:54:17.522Z] STF 16:54:17.293 - +------ Step 3 - Create com.helper jar
[2025-06-18T20:54:17.522Z] STF 16:54:17.293 - | Create modular jar
[2025-06-18T20:54:17.522Z] STF 16:54:17.293 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper
[2025-06-18T20:54:17.522Z] STF 16:54:17.293 - | ModuleVersion: null
[2025-06-18T20:54:17.522Z] STF 16:54:17.293 - | MainClass: null
[2025-06-18T20:54:17.522Z] STF 16:54:17.293 - | HashModules: null
[2025-06-18T20:54:17.522Z] STF 16:54:17.293 - |
[2025-06-18T20:54:17.522Z] STF 16:54:17.293 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17502775685601/PatModImg_AppMod_1/20250618-165416-PatModImgTest/modules/3.com.helper.jar -C /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper .
[2025-06-18T20:54:17.522Z] STF 16:54:17.293 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17502775685601/PatModImg_AppMod_1/20250618-165416-PatModImgTest/results/3.CMJ.stderr
[2025-06-18T20:54:17.522Z] STF 16:54:17.293 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17502775685601/PatModImg_AppMod_1/20250618-165416-PatModImgTest/results/3.CMJ.stdout
[2025-06-18T20:54:17.522Z] STF 16:54:17.295 - Monitoring processes: CMJ
[2025-06-18T20:54:17.522Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-06-18T20:54:17.522Z] STF 16:54:17.438 - Monitoring Report Summary:
[2025-06-18T20:54:17.522Z] STF 16:54:17.438 - o Process CMJ ended with the expected exit code (0)
[2025-06-18T20:54:17.522Z] STF 16:54:17.438 - Created modular jar: 3.com.helper.jar
[2025-06-18T20:54:17.522Z] STF 16:54:17.438 -
[2025-06-18T20:54:17.522Z] STF 16:54:17.438 - +------ Step 4 - Create com.discreet jar
[2025-06-18T20:54:17.522Z] STF 16:54:17.438 - | Create modular jar
[2025-06-18T20:54:17.522Z] STF 16:54:17.438 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet
[2025-06-18T20:54:17.522Z] STF 16:54:17.438 - | ModuleVersion: null
[2025-06-18T20:54:17.522Z] STF 16:54:17.438 - | MainClass: null
[2025-06-18T20:54:17.522Z] STF 16:54:17.438 - | HashModules: null
[2025-06-18T20:54:17.522Z] STF 16:54:17.438 - |
[2025-06-18T20:54:17.522Z] STF 16:54:17.438 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17502775685601/PatModImg_AppMod_1/20250618-165416-PatModImgTest/modules/4.com.discreet.jar -C /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet .
[2025-06-18T20:54:17.522Z] STF 16:54:17.438 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17502775685601/PatModImg_AppMod_1/20250618-165416-PatModImgTest/results/4.CMJ.stderr
[2025-06-18T20:54:17.522Z] STF 16:54:17.438 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17502775685601/PatModImg_AppMod_1/20250618-165416-PatModImgTest/results/4.CMJ.stdout
[2025-06-18T20:54:17.522Z] STF 16:54:17.439 - Monitoring processes: CMJ
[2025-06-18T20:54:17.522Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-06-18T20:54:17.875Z] STF 16:54:17.578 - Monitoring Report Summary:
[2025-06-18T20:54:17.876Z] STF 16:54:17.579 - o Process CMJ ended with the expected exit code (0)
[2025-06-18T20:54:17.876Z] STF 16:54:17.579 - Created modular jar: 4.com.discreet.jar
[2025-06-18T20:54:17.876Z] STF 16:54:17.579 -
[2025-06-18T20:54:17.876Z] STF 16:54:17.579 - +------ Step 5 - Create tests jar
[2025-06-18T20:54:17.876Z] STF 16:54:17.579 - | Create modular jar
[2025-06-18T20:54:17.876Z] STF 16:54:17.579 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test
[2025-06-18T20:54:17.876Z] STF 16:54:17.579 - | ModuleVersion: null
[2025-06-18T20:54:17.876Z] STF 16:54:17.579 - | MainClass: null
[2025-06-18T20:54:17.876Z] STF 16:54:17.579 - | HashModules: null
[2025-06-18T20:54:17.876Z] STF 16:54:17.579 - |
[2025-06-18T20:54:17.876Z] STF 16:54:17.579 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17502775685601/PatModImg_AppMod_1/20250618-165416-PatModImgTest/modules/5.com.test.jar -C /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test .
[2025-06-18T20:54:17.876Z] STF 16:54:17.579 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17502775685601/PatModImg_AppMod_1/20250618-165416-PatModImgTest/results/5.CMJ.stderr
[2025-06-18T20:54:17.876Z] STF 16:54:17.579 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17502775685601/PatModImg_AppMod_1/20250618-165416-PatModImgTest/results/5.CMJ.stdout
[2025-06-18T20:54:17.876Z] STF 16:54:17.580 - Monitoring processes: CMJ
[2025-06-18T20:54:17.876Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-06-18T20:54:17.876Z] STF 16:54:17.709 - Monitoring Report Summary:
[2025-06-18T20:54:17.876Z] STF 16:54:17.709 - o Process CMJ ended with the expected exit code (0)
[2025-06-18T20:54:17.880Z] STF 16:54:17.709 - Created modular jar: 5.com.test.jar
[2025-06-18T20:54:17.880Z] STF 16:54:17.709 -
[2025-06-18T20:54:17.881Z] STF 16:54:17.709 - +------ Step 6 - Create runtime image for PatchModule test
[2025-06-18T20:54:17.882Z] STF 16:54:17.709 - | Run jlink to create runtime image
[2025-06-18T20:54:17.882Z] STF 16:54:17.709 - | ImageName: XpJVM
[2025-06-18T20:54:17.882Z] STF 16:54:17.709 - |
[2025-06-18T20:54:17.882Z] STF 16:54:17.710 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jlink --module-path /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/jmods:/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17502775685601/PatModImg_AppMod_1/20250618-165416-PatModImgTest/modules --add-modules com.hello,com.hola,com.test,com.helper,com.discreet --output /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17502775685601/PatModImg_AppMod_1/20250618-165416-PatModImgTest/tmp/6.XpJVM
[2025-06-18T20:54:17.882Z] STF 16:54:17.710 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17502775685601/PatModImg_AppMod_1/20250618-165416-PatModImgTest/results/6.JLNK.stderr
[2025-06-18T20:54:17.882Z] STF 16:54:17.710 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17502775685601/PatModImg_AppMod_1/20250618-165416-PatModImgTest/results/6.JLNK.stdout
[2025-06-18T20:54:17.882Z] STF 16:54:17.711 - Monitoring processes: JLNK
[2025-06-18T20:54:17.882Z] JLNK stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-06-18T20:54:19.159Z] STF 16:54:18.680 - Monitoring Report Summary:
[2025-06-18T20:54:19.159Z] STF 16:54:18.680 - o Process JLNK ended with the expected exit code (0)
[2025-06-18T20:54:19.159Z] STF 16:54:18.680 -
[2025-06-18T20:54:19.159Z] STF 16:54:18.680 - +------ Step 7 - Create com.hello jar
[2025-06-18T20:54:19.159Z] STF 16:54:18.680 - | Create modular jar
[2025-06-18T20:54:19.159Z] STF 16:54:18.680 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello
[2025-06-18T20:54:19.159Z] STF 16:54:18.680 - | ModuleVersion: null
[2025-06-18T20:54:19.159Z] STF 16:54:18.680 - | MainClass: null
[2025-06-18T20:54:19.159Z] STF 16:54:18.680 - | HashModules: null
[2025-06-18T20:54:19.159Z] STF 16:54:18.680 - |
[2025-06-18T20:54:19.159Z] STF 16:54:18.680 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17502775685601/PatModImg_AppMod_1/20250618-165416-PatModImgTest/modules/7.com.hello.jar -C /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello .
[2025-06-18T20:54:19.159Z] STF 16:54:18.680 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17502775685601/PatModImg_AppMod_1/20250618-165416-PatModImgTest/results/7.CMJ.stderr
[2025-06-18T20:54:19.159Z] STF 16:54:18.680 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17502775685601/PatModImg_AppMod_1/20250618-165416-PatModImgTest/results/7.CMJ.stdout
[2025-06-18T20:54:19.159Z] STF 16:54:18.682 - Monitoring processes: CMJ
[2025-06-18T20:54:19.159Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-06-18T20:54:19.159Z] STF 16:54:18.818 - Monitoring Report Summary:
[2025-06-18T20:54:19.159Z] STF 16:54:18.818 - o Process CMJ ended with the expected exit code (0)
[2025-06-18T20:54:19.159Z] STF 16:54:18.818 - Created modular jar: 7.com.hello.jar
[2025-06-18T20:54:19.159Z] STF 16:54:18.818 -
[2025-06-18T20:54:19.159Z] STF 16:54:18.818 - +------ Step 8 - create java.xml.jar
[2025-06-18T20:54:19.159Z] STF 16:54:18.818 - | Create modular jar
[2025-06-18T20:54:19.159Z] STF 16:54:18.818 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml
[2025-06-18T20:54:19.159Z] STF 16:54:18.818 - | ModuleVersion: null
[2025-06-18T20:54:19.159Z] STF 16:54:18.818 - | MainClass: null
[2025-06-18T20:54:19.159Z] STF 16:54:18.818 - | HashModules: null
[2025-06-18T20:54:19.159Z] STF 16:54:18.818 - |
[2025-06-18T20:54:19.159Z] STF 16:54:18.818 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17502775685601/PatModImg_AppMod_1/20250618-165416-PatModImgTest/modules/8.java.xml.jar -C /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/java.xml .
[2025-06-18T20:54:19.159Z] STF 16:54:18.818 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17502775685601/PatModImg_AppMod_1/20250618-165416-PatModImgTest/results/8.CMJ.stderr
[2025-06-18T20:54:19.159Z] STF 16:54:18.818 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17502775685601/PatModImg_AppMod_1/20250618-165416-PatModImgTest/results/8.CMJ.stdout
[2025-06-18T20:54:19.159Z] STF 16:54:18.819 - Monitoring processes: CMJ
[2025-06-18T20:54:19.159Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-06-18T20:54:19.159Z] STF 16:54:18.949 - Monitoring Report Summary:
[2025-06-18T20:54:19.159Z] STF 16:54:18.949 - o Process CMJ ended with the expected exit code (0)
[2025-06-18T20:54:19.159Z] STF 16:54:18.949 - Created modular jar: 8.java.xml.jar
[2025-06-18T20:54:19.159Z] STF 16:54:18.949 -
[2025-06-18T20:54:19.159Z] STF 16:54:18.949 - +------ Step 9 - Verify if we can patch an Application module using exploded directory
[2025-06-18T20:54:19.159Z] STF 16:54:18.949 - | Run foreground process
[2025-06-18T20:54:19.159Z] STF 16:54:18.949 - | Program: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17502775685601/PatModImg_AppMod_1/20250618-165416-PatModImgTest/tmp/6.XpJVM/bin/java
[2025-06-18T20:54:19.159Z] STF 16:54:18.949 - | Mnemonic: OT21
[2025-06-18T20:54:19.159Z] STF 16:54:18.949 - | Echo: ECHO_ON
[2025-06-18T20:54:19.159Z] STF 16:54:18.949 - | Expectation: CLEAN_RUN within 5m
[2025-06-18T20:54:19.159Z] STF 16:54:18.949 - |
[2025-06-18T20:54:19.159Z] STF 16:54:18.949 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17502775685601/PatModImg_AppMod_1/20250618-165416-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_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello -XX:-UseCompressedOops -classpath /Users/admin/workspace/testDependency/system_lib/junit/junit.jar:/Users/admin/workspace/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingAppModule
[2025-06-18T20:54:19.159Z] STF 16:54:18.949 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17502775685601/PatModImg_AppMod_1/20250618-165416-PatModImgTest/results/9.OT21.stderr
[2025-06-18T20:54:19.159Z] STF 16:54:18.949 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17502775685601/PatModImg_AppMod_1/20250618-165416-PatModImgTest/results/9.OT21.stdout
[2025-06-18T20:54:19.159Z] STF 16:54:18.950 - Monitoring processes: OT21
[2025-06-18T20:54:19.929Z] OT21 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-06-18T20:54:20.284Z] OT21 stderr WARNING: module-info.class ignored in patch: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello
[2025-06-18T20:54:20.636Z] OT21 JUnit version 4.12
[2025-06-18T20:54:20.636Z] OT21 .
[2025-06-18T20:54:20.636Z] OT21 Time: 0.005
[2025-06-18T20:54:20.636Z] OT21
[2025-06-18T20:54:20.636Z] OT21 OK (1 test)
[2025-06-18T20:54:20.637Z] OT21
[2025-06-18T20:54:20.637Z] STF 16:54:20.412 - Monitoring Report Summary:
[2025-06-18T20:54:20.637Z] STF 16:54:20.412 - o Process OT21 ended with the expected exit code (0)
[2025-06-18T20:54:20.637Z] STF 16:54:20.412 -
[2025-06-18T20:54:20.637Z] STF 16:54:20.412 - +------ Step 10 - Verify if we can patch an Application module using modular jar
[2025-06-18T20:54:20.637Z] STF 16:54:20.412 - | Run foreground process
[2025-06-18T20:54:20.637Z] STF 16:54:20.412 - | Program: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17502775685601/PatModImg_AppMod_1/20250618-165416-PatModImgTest/tmp/6.XpJVM/bin/java
[2025-06-18T20:54:20.637Z] STF 16:54:20.412 - | Mnemonic: OT22
[2025-06-18T20:54:20.637Z] STF 16:54:20.412 - | Echo: ECHO_ON
[2025-06-18T20:54:20.637Z] STF 16:54:20.412 - | Expectation: CLEAN_RUN within 5m
[2025-06-18T20:54:20.637Z] STF 16:54:20.412 - |
[2025-06-18T20:54:20.637Z] STF 16:54:20.412 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17502775685601/PatModImg_AppMod_1/20250618-165416-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_aarch64_mac_testList_1/aqa-tests/TKG/output_17502775685601/PatModImg_AppMod_1/20250618-165416-PatModImgTest/modules/7.com.hello.jar -XX:-UseCompressedOops -classpath /Users/admin/workspace/testDependency/system_lib/junit/junit.jar:/Users/admin/workspace/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingAppModule
[2025-06-18T20:54:20.637Z] STF 16:54:20.412 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17502775685601/PatModImg_AppMod_1/20250618-165416-PatModImgTest/results/10.OT22.stderr
[2025-06-18T20:54:20.637Z] STF 16:54:20.412 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17502775685601/PatModImg_AppMod_1/20250618-165416-PatModImgTest/results/10.OT22.stdout
[2025-06-18T20:54:20.637Z] STF 16:54:20.413 - Monitoring processes: OT22
[2025-06-18T20:54:20.637Z] OT22 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-06-18T20:54:20.637Z] OT22 stderr WARNING: module-info.class ignored in patch: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17502775685601/PatModImg_AppMod_1/20250618-165416-PatModImgTest/modules/7.com.hello.jar
[2025-06-18T20:54:20.637Z] OT22 JUnit version 4.12
[2025-06-18T20:54:20.637Z] OT22 .
[2025-06-18T20:54:20.637Z] OT22 Time: 0.003
[2025-06-18T20:54:20.637Z] OT22
[2025-06-18T20:54:20.637Z] OT22 OK (1 test)
[2025-06-18T20:54:20.637Z] OT22
[2025-06-18T20:54:20.637Z] STF 16:54:20.537 - Monitoring Report Summary:
[2025-06-18T20:54:20.637Z] STF 16:54:20.537 - o Process OT22 ended with the expected exit code (0)
[2025-06-18T20:54:20.637Z] STF 16:54:20.537 - EXECUTE stage completed
[2025-06-18T20:54:20.637Z] STF 16:54:20.590 -
[2025-06-18T20:54:20.637Z] STF 16:54:20.590 - ==================== T E A R D O W N ====================
[2025-06-18T20:54:20.637Z] STF 16:54:20.590 - Running teardown: perl /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17502775685601/PatModImg_AppMod_1/20250618-165416-PatModImgTest/tearDown.pl
[2025-06-18T20:54:21.008Z] STF 16:54:20.623 - TEARDOWN stage completed
[2025-06-18T20:54:21.008Z] STF 16:54:20.630 -
[2025-06-18T20:54:21.008Z] STF 16:54:20.630 - ===================== R E S U L T S =====================
[2025-06-18T20:54:21.008Z] STF 16:54:20.631 - Stage results:
[2025-06-18T20:54:21.008Z] STF 16:54:20.631 - setUp: pass
[2025-06-18T20:54:21.008Z] STF 16:54:20.631 - execute: pass
[2025-06-18T20:54:21.008Z] STF 16:54:20.631 - teardown: pass
[2025-06-18T20:54:21.008Z] STF 16:54:20.631 -
[2025-06-18T20:54:21.008Z] STF 16:54:20.631 - Overall result: PASSED
[2025-06-18T20:54:21.008Z] -----------------------------------
[2025-06-18T20:54:21.008Z] PatModImg_AppMod_1_PASSED
[2025-06-18T20:54:21.008Z] -----------------------------------
[2025-06-18T20:54:21.008Z]
[2025-06-18T20:54:21.008Z] TEST TEARDOWN:
[2025-06-18T20:54:21.008Z] Nothing to be done for teardown.
[2025-06-18T20:54:21.008Z] PatModImg_AppMod_1 Finish Time: Wed Jun 18 16:54:20 2025 Epoch Time (ms): 1750280060656