PatModImg_AppMod_0
[2025-05-17T23:55:25.931Z] Running test PatModImg_AppMod_0 ...
[2025-05-17T23:55:25.931Z] ===============================================
[2025-05-17T23:55:25.931Z] PatModImg_AppMod_0 Start Time: Sat May 17 16:55:25 2025 Epoch Time (ms): 1747526125491
[2025-05-17T23:55:25.931Z] variation: Mode150
[2025-05-17T23:55:25.931Z] JVM_OPTIONS: -XX:+UseCompressedOops
[2025-05-17T23:55:26.464Z] { \
[2025-05-17T23:55:26.464Z] echo ""; echo "TEST SETUP:"; \
[2025-05-17T23:55:26.464Z] echo "Nothing to be done for setup."; \
[2025-05-17T23:55:26.464Z] mkdir -p "/Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/../TKG/output_17475252672082/PatModImg_AppMod_0"; \
[2025-05-17T23:55:26.464Z] cd "/Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/../TKG/output_17475252672082/PatModImg_AppMod_0"; \
[2025-05-17T23:55:26.464Z] echo ""; echo "TESTING:"; \
[2025-05-17T23:55:26.464Z] perl /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF/stf.core/scripts/stf.pl -test-root="/Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF;/Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/../../jvmtest/system/modularity/..//aqa-systemtest""" -systemtest-prereqs="/Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_0/../../testDependency/system_lib/" -java-args=' -XX:+UseCompressedOops ' -results-root="/Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/../TKG/output_17475252672082/PatModImg_AppMod_0" -test=PatModImgTest -test-args="variant=AppMod"; \
[2025-05-17T23:55:26.464Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatModImg_AppMod_0""_PASSED"; echo "-----------------------------------"; cd /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/..; rm -f -r "/Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/../TKG/output_17475252672082/PatModImg_AppMod_0"; else echo "-----------------------------------"; echo "PatModImg_AppMod_0""_FAILED"; echo "-----------------------------------"; fi; \
[2025-05-17T23:55:26.464Z] echo ""; echo "TEST TEARDOWN:"; \
[2025-05-17T23:55:26.464Z] echo "Nothing to be done for teardown."; \
[2025-05-17T23:55:26.464Z] } 2>&1 | tee -a "/Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/../TKG/output_17475252672082/TestTargetResult";
[2025-05-17T23:55:26.464Z]
[2025-05-17T23:55:26.464Z] TEST SETUP:
[2025-05-17T23:55:26.464Z] Nothing to be done for setup.
[2025-05-17T23:55:26.464Z]
[2025-05-17T23:55:26.464Z] TESTING:
[2025-05-17T23:55:27.383Z] STF 16:55:26.972 - ========================= S T F =========================
[2025-05-17T23:55:27.383Z] 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_openjdk25_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/../TKG/output_17475252672082/PatModImg_AppMod_0
[2025-05-17T23:55:27.383Z] There is 11416 Mb free
[2025-05-17T23:55:27.383Z] STF 16:55:26.994 - ================== G E N E R A T I O N ==================
[2025-05-17T23:55:27.383Z] STF 16:55:26.995 - Checking JVM: /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_0/jdkbinary/j2sdk-image/Contents/Home/bin/../
[2025-05-17T23:55:27.383Z] STF 16:55:26.996 - Starting process to generate scripts: /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_0/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_openjdk25_hs_sanity.system_x86-64_mac_testList_0/jvmtest/system/STF/stf.core/scripts/../../stf.load/bin/stf.load.jar -classpath /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_0/../../testDependency/system_lib//asm/asm.jar:/Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_0/../../testDependency/system_lib//asm/asm-commons.jar:/Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_0/../../testDependency/system_lib//log4j/log4j-api.jar:/Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_0/../../testDependency/system_lib//log4j/log4j-core.jar:/Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_0/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "/Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/../TKG/output_17475252672082/PatModImg_AppMod_0/20250517-165526-PatModImgTest/stf_parameters.properties, , /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_0/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "/Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/../TKG/output_17475252672082/PatModImg_AppMod_0/20250517-165526-PatModImgTest"
[2025-05-17T23:55:31.363Z] GEN 16:55:30.496 - Found test. Project: 'openjdk.test.modularity' class: 'PatModImgTest.class' Dir: '/Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin'
[2025-05-17T23:55:31.363Z] GEN 16:55:30.512 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModImgTest'
[2025-05-17T23:55:31.363Z] GEN Classpath directories used by project 'openjdk.test.modularity':
[2025-05-17T23:55:31.363Z] GEN /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayService
[2025-05-17T23:55:31.363Z] GEN /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper
[2025-05-17T23:55:31.363Z] GEN /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl1
[2025-05-17T23:55:31.363Z] GEN /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet
[2025-05-17T23:55:31.363Z] GEN /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello
[2025-05-17T23:55:31.363Z] GEN /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola
[2025-05-17T23:55:31.363Z] GEN /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl2
[2025-05-17T23:55:31.363Z] GEN /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hi
[2025-05-17T23:55:31.363Z] GEN /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override
[2025-05-17T23:55:31.363Z] GEN /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override-new
[2025-05-17T23:55:31.363Z] GEN /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl3
[2025-05-17T23:55:31.363Z] GEN /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl4
[2025-05-17T23:55:31.363Z] GEN /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common
[2025-05-17T23:55:31.363Z] GEN /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests
[2025-05-17T23:55:31.363Z] GEN /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin
[2025-05-17T23:55:31.363Z] GEN /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_0/jvmtest/system/STF/stf.core/bin
[2025-05-17T23:55:31.363Z] GEN /Users/admin/workspace/testDependency/system_lib/log4j/log4j-api.jar
[2025-05-17T23:55:31.363Z] GEN /Users/admin/workspace/testDependency/system_lib/log4j/log4j-core.jar
[2025-05-17T23:55:31.363Z] GEN /Users/admin/workspace/testDependency/system_lib/junit/junit.jar
[2025-05-17T23:55:31.363Z] GEN 16:55:30.931 - Using Mode NoOptions. Values = ''
[2025-05-17T23:55:31.363Z] GEN 16:55:31.072 -
[2025-05-17T23:55:31.363Z] GEN 16:55:31.073 - Test command summary:
[2025-05-17T23:55:31.363Z] GEN 16:55:31.073 - Step Stage Command Description
[2025-05-17T23:55:31.363Z] GEN 16:55:31.073 - -----+--------+-----------------+------------
[2025-05-17T23:55:31.363Z] GEN 16:55:31.073 - 1 execute jar Create com.hello jar
[2025-05-17T23:55:31.363Z] GEN 16:55:31.073 - 2 execute jar Create com.hola jar
[2025-05-17T23:55:31.363Z] GEN 16:55:31.073 - 3 execute jar Create com.helper jar
[2025-05-17T23:55:31.363Z] GEN 16:55:31.073 - 4 execute jar Create com.discreet jar
[2025-05-17T23:55:31.363Z] GEN 16:55:31.073 - 5 execute jar Create tests jar
[2025-05-17T23:55:31.363Z] GEN 16:55:31.073 - 6 execute jlink Create runtime image for PatchModule test
[2025-05-17T23:55:31.363Z] GEN 16:55:31.087 - 7 execute jar Create com.hello jar
[2025-05-17T23:55:31.363Z] GEN 16:55:31.087 - 8 execute jar create java.xml.jar
[2025-05-17T23:55:31.363Z] GEN 16:55:31.087 - 9 execute Run java Verify if we can patch an Application module using exploded directory
[2025-05-17T23:55:31.363Z] GEN 16:55:31.087 - 10 execute Run java Verify if we can patch an Application module using modular jar
[2025-05-17T23:55:31.363Z] STF 16:55:31.135 -
[2025-05-17T23:55:31.363Z] STF 16:55:31.135 - Script generation completed
[2025-05-17T23:55:31.363Z] STF 16:55:31.135 -
[2025-05-17T23:55:31.363Z] STF 16:55:31.136 -
[2025-05-17T23:55:31.363Z] STF 16:55:31.136 - ======================= S E T U P =======================
[2025-05-17T23:55:31.363Z] STF 16:55:31.136 - Running setup: perl /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/../TKG/output_17475252672082/PatModImg_AppMod_0/20250517-165526-PatModImgTest/setUp.pl
[2025-05-17T23:55:31.363Z] STF 16:55:31.253 - SETUP stage completed
[2025-05-17T23:55:31.363Z] STF 16:55:31.267 -
[2025-05-17T23:55:31.363Z] STF 16:55:31.268 - ==================== E X E C U T E - ====================
[2025-05-17T23:55:31.363Z] STF 16:55:31.268 - Running execute: perl /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/../TKG/output_17475252672082/PatModImg_AppMod_0/20250517-165526-PatModImgTest/execute.pl
[2025-05-17T23:55:31.876Z] STF 16:55:31.442 -
[2025-05-17T23:55:31.876Z] STF 16:55:31.442 - Java version
[2025-05-17T23:55:31.876Z] STF 16:55:31.442 - Running: /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_0/jdkbinary/j2sdk-image/Contents/Home/bin/java -version
[2025-05-17T23:55:33.691Z] openjdk version "25-beta" 2025-09-16
[2025-05-17T23:55:33.691Z] OpenJDK Runtime Environment Temurin-25+23-202505172033 (build 25-beta+23-ea)
[2025-05-17T23:55:33.691Z] OpenJDK 64-Bit Server VM Temurin-25+23-202505172033 (build 25-beta+23-ea, mixed mode)
[2025-05-17T23:55:33.691Z] STF 16:55:33.277 -
[2025-05-17T23:55:33.691Z] STF 16:55:33.277 - +------ Step 1 - Create com.hello jar
[2025-05-17T23:55:33.691Z] STF 16:55:33.277 - | Create modular jar
[2025-05-17T23:55:33.691Z] STF 16:55:33.277 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello
[2025-05-17T23:55:33.691Z] STF 16:55:33.277 - | ModuleVersion: null
[2025-05-17T23:55:33.691Z] STF 16:55:33.277 - | MainClass: null
[2025-05-17T23:55:33.691Z] STF 16:55:33.277 - | HashModules: null
[2025-05-17T23:55:33.691Z] STF 16:55:33.277 - |
[2025-05-17T23:55:33.691Z] STF 16:55:33.278 - Running command: /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_0/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_17475252672082/PatModImg_AppMod_0/20250517-165526-PatModImgTest/modules/1.com.hello.jar -C /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello .
[2025-05-17T23:55:33.691Z] STF 16:55:33.278 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_17475252672082/PatModImg_AppMod_0/20250517-165526-PatModImgTest/results/1.CMJ.stderr
[2025-05-17T23:55:33.691Z] STF 16:55:33.278 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_17475252672082/PatModImg_AppMod_0/20250517-165526-PatModImgTest/results/1.CMJ.stdout
[2025-05-17T23:55:33.691Z] STF 16:55:33.296 - Monitoring processes: CMJ
[2025-05-17T23:55:34.568Z] STF 16:55:34.103 - Monitoring Report Summary:
[2025-05-17T23:55:34.568Z] STF 16:55:34.103 - o Process CMJ ended with the expected exit code (0)
[2025-05-17T23:55:34.568Z] STF 16:55:34.103 - Created modular jar: 1.com.hello.jar
[2025-05-17T23:55:34.568Z] STF 16:55:34.104 -
[2025-05-17T23:55:34.568Z] STF 16:55:34.104 - +------ Step 2 - Create com.hola jar
[2025-05-17T23:55:34.568Z] STF 16:55:34.104 - | Create modular jar
[2025-05-17T23:55:34.568Z] STF 16:55:34.104 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola
[2025-05-17T23:55:34.568Z] STF 16:55:34.104 - | ModuleVersion: null
[2025-05-17T23:55:34.568Z] STF 16:55:34.104 - | MainClass: null
[2025-05-17T23:55:34.568Z] STF 16:55:34.104 - | HashModules: null
[2025-05-17T23:55:34.568Z] STF 16:55:34.104 - |
[2025-05-17T23:55:34.568Z] STF 16:55:34.104 - Running command: /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_0/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_17475252672082/PatModImg_AppMod_0/20250517-165526-PatModImgTest/modules/2.com.hola.jar -C /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola .
[2025-05-17T23:55:34.568Z] STF 16:55:34.104 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_17475252672082/PatModImg_AppMod_0/20250517-165526-PatModImgTest/results/2.CMJ.stderr
[2025-05-17T23:55:34.568Z] STF 16:55:34.104 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_17475252672082/PatModImg_AppMod_0/20250517-165526-PatModImgTest/results/2.CMJ.stdout
[2025-05-17T23:55:34.568Z] STF 16:55:34.114 - Monitoring processes: CMJ
[2025-05-17T23:55:36.514Z] STF 16:55:36.233 - Monitoring Report Summary:
[2025-05-17T23:55:36.514Z] STF 16:55:36.233 - o Process CMJ ended with the expected exit code (0)
[2025-05-17T23:55:36.514Z] STF 16:55:36.233 - Created modular jar: 2.com.hola.jar
[2025-05-17T23:55:36.514Z] STF 16:55:36.233 -
[2025-05-17T23:55:36.514Z] STF 16:55:36.233 - +------ Step 3 - Create com.helper jar
[2025-05-17T23:55:36.514Z] STF 16:55:36.233 - | Create modular jar
[2025-05-17T23:55:36.514Z] STF 16:55:36.233 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper
[2025-05-17T23:55:36.514Z] STF 16:55:36.233 - | ModuleVersion: null
[2025-05-17T23:55:36.515Z] STF 16:55:36.233 - | MainClass: null
[2025-05-17T23:55:36.515Z] STF 16:55:36.233 - | HashModules: null
[2025-05-17T23:55:36.515Z] STF 16:55:36.233 - |
[2025-05-17T23:55:36.515Z] STF 16:55:36.234 - Running command: /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_0/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_17475252672082/PatModImg_AppMod_0/20250517-165526-PatModImgTest/modules/3.com.helper.jar -C /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper .
[2025-05-17T23:55:36.515Z] STF 16:55:36.234 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_17475252672082/PatModImg_AppMod_0/20250517-165526-PatModImgTest/results/3.CMJ.stderr
[2025-05-17T23:55:36.515Z] STF 16:55:36.234 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_17475252672082/PatModImg_AppMod_0/20250517-165526-PatModImgTest/results/3.CMJ.stdout
[2025-05-17T23:55:36.515Z] STF 16:55:36.236 - Monitoring processes: CMJ
[2025-05-17T23:55:40.891Z] STF 16:55:39.984 - Monitoring Report Summary:
[2025-05-17T23:55:40.891Z] STF 16:55:39.985 - o Process CMJ ended with the expected exit code (0)
[2025-05-17T23:55:40.891Z] STF 16:55:39.989 - Created modular jar: 3.com.helper.jar
[2025-05-17T23:55:40.891Z] STF 16:55:39.993 -
[2025-05-17T23:55:40.891Z] STF 16:55:39.994 - +------ Step 4 - Create com.discreet jar
[2025-05-17T23:55:40.891Z] STF 16:55:39.994 - | Create modular jar
[2025-05-17T23:55:40.891Z] STF 16:55:39.994 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet
[2025-05-17T23:55:40.891Z] STF 16:55:39.994 - | ModuleVersion: null
[2025-05-17T23:55:40.891Z] STF 16:55:39.994 - | MainClass: null
[2025-05-17T23:55:40.891Z] STF 16:55:39.994 - | HashModules: null
[2025-05-17T23:55:40.891Z] STF 16:55:39.994 - |
[2025-05-17T23:55:40.891Z] STF 16:55:39.996 - Running command: /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_0/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_17475252672082/PatModImg_AppMod_0/20250517-165526-PatModImgTest/modules/4.com.discreet.jar -C /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet .
[2025-05-17T23:55:40.891Z] STF 16:55:39.996 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_17475252672082/PatModImg_AppMod_0/20250517-165526-PatModImgTest/results/4.CMJ.stderr
[2025-05-17T23:55:40.891Z] STF 16:55:39.996 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_17475252672082/PatModImg_AppMod_0/20250517-165526-PatModImgTest/results/4.CMJ.stdout
[2025-05-17T23:55:40.891Z] STF 16:55:40.036 - Monitoring processes: CMJ
[2025-05-17T23:55:44.971Z] STF 16:55:44.456 - Monitoring Report Summary:
[2025-05-17T23:55:44.971Z] STF 16:55:44.456 - o Process CMJ ended with the expected exit code (0)
[2025-05-17T23:55:44.971Z] STF 16:55:44.458 - Created modular jar: 4.com.discreet.jar
[2025-05-17T23:55:44.971Z] STF 16:55:44.458 -
[2025-05-17T23:55:44.971Z] STF 16:55:44.458 - +------ Step 5 - Create tests jar
[2025-05-17T23:55:44.971Z] STF 16:55:44.458 - | Create modular jar
[2025-05-17T23:55:44.971Z] STF 16:55:44.458 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test
[2025-05-17T23:55:44.971Z] STF 16:55:44.458 - | ModuleVersion: null
[2025-05-17T23:55:44.971Z] STF 16:55:44.458 - | MainClass: null
[2025-05-17T23:55:44.971Z] STF 16:55:44.458 - | HashModules: null
[2025-05-17T23:55:44.971Z] STF 16:55:44.459 - |
[2025-05-17T23:55:44.971Z] STF 16:55:44.469 - Running command: /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_0/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_17475252672082/PatModImg_AppMod_0/20250517-165526-PatModImgTest/modules/5.com.test.jar -C /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test .
[2025-05-17T23:55:44.971Z] STF 16:55:44.469 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_17475252672082/PatModImg_AppMod_0/20250517-165526-PatModImgTest/results/5.CMJ.stderr
[2025-05-17T23:55:44.971Z] STF 16:55:44.469 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_17475252672082/PatModImg_AppMod_0/20250517-165526-PatModImgTest/results/5.CMJ.stdout
[2025-05-17T23:55:44.972Z] STF 16:55:44.500 - Monitoring processes: CMJ
[2025-05-17T23:55:48.007Z] STF 16:55:47.517 - Monitoring Report Summary:
[2025-05-17T23:55:48.007Z] STF 16:55:47.518 - o Process CMJ ended with the expected exit code (0)
[2025-05-17T23:55:48.007Z] STF 16:55:47.519 - Created modular jar: 5.com.test.jar
[2025-05-17T23:55:48.007Z] STF 16:55:47.520 -
[2025-05-17T23:55:48.007Z] STF 16:55:47.520 - +------ Step 6 - Create runtime image for PatchModule test
[2025-05-17T23:55:48.007Z] STF 16:55:47.520 - | Run jlink to create runtime image
[2025-05-17T23:55:48.007Z] STF 16:55:47.520 - | ImageName: XpJVM
[2025-05-17T23:55:48.007Z] STF 16:55:47.520 - |
[2025-05-17T23:55:48.007Z] STF 16:55:47.522 - Running command: /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_0/jdkbinary/j2sdk-image/Contents/Home/bin/jlink --module-path /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_0/jdkbinary/j2sdk-image/Contents/Home/jmods:/Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_17475252672082/PatModImg_AppMod_0/20250517-165526-PatModImgTest/modules --add-modules com.hello,com.hola,com.test,com.helper,com.discreet --output /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_17475252672082/PatModImg_AppMod_0/20250517-165526-PatModImgTest/tmp/6.XpJVM
[2025-05-17T23:55:48.007Z] STF 16:55:47.522 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_17475252672082/PatModImg_AppMod_0/20250517-165526-PatModImgTest/results/6.JLNK.stderr
[2025-05-17T23:55:48.007Z] STF 16:55:47.522 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_17475252672082/PatModImg_AppMod_0/20250517-165526-PatModImgTest/results/6.JLNK.stdout
[2025-05-17T23:55:48.007Z] STF 16:55:47.535 - Monitoring processes: JLNK
[2025-05-17T23:55:54.120Z] STF 16:55:52.684 - Monitoring Report Summary:
[2025-05-17T23:55:54.120Z] STF 16:55:52.684 - o Process JLNK ended with the expected exit code (0)
[2025-05-17T23:55:54.120Z] STF 16:55:52.685 -
[2025-05-17T23:55:54.120Z] STF 16:55:52.685 - +------ Step 7 - Create com.hello jar
[2025-05-17T23:55:54.120Z] STF 16:55:52.685 - | Create modular jar
[2025-05-17T23:55:54.120Z] STF 16:55:52.685 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello
[2025-05-17T23:55:54.120Z] STF 16:55:52.685 - | ModuleVersion: null
[2025-05-17T23:55:54.120Z] STF 16:55:52.685 - | MainClass: null
[2025-05-17T23:55:54.120Z] STF 16:55:52.685 - | HashModules: null
[2025-05-17T23:55:54.120Z] STF 16:55:52.685 - |
[2025-05-17T23:55:54.120Z] STF 16:55:52.685 - Running command: /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_0/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_17475252672082/PatModImg_AppMod_0/20250517-165526-PatModImgTest/modules/7.com.hello.jar -C /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello .
[2025-05-17T23:55:54.120Z] STF 16:55:52.685 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_17475252672082/PatModImg_AppMod_0/20250517-165526-PatModImgTest/results/7.CMJ.stderr
[2025-05-17T23:55:54.120Z] STF 16:55:52.685 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_17475252672082/PatModImg_AppMod_0/20250517-165526-PatModImgTest/results/7.CMJ.stdout
[2025-05-17T23:55:54.120Z] STF 16:55:52.689 - Monitoring processes: CMJ
[2025-05-17T23:55:55.785Z] STF 16:55:55.185 - Monitoring Report Summary:
[2025-05-17T23:55:55.785Z] STF 16:55:55.185 - o Process CMJ ended with the expected exit code (0)
[2025-05-17T23:55:55.785Z] STF 16:55:55.196 - Created modular jar: 7.com.hello.jar
[2025-05-17T23:55:55.785Z] STF 16:55:55.196 -
[2025-05-17T23:55:55.785Z] STF 16:55:55.196 - +------ Step 8 - create java.xml.jar
[2025-05-17T23:55:55.785Z] STF 16:55:55.196 - | Create modular jar
[2025-05-17T23:55:55.785Z] STF 16:55:55.196 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml
[2025-05-17T23:55:55.785Z] STF 16:55:55.196 - | ModuleVersion: null
[2025-05-17T23:55:55.785Z] STF 16:55:55.197 - | MainClass: null
[2025-05-17T23:55:55.785Z] STF 16:55:55.197 - | HashModules: null
[2025-05-17T23:55:55.785Z] STF 16:55:55.197 - |
[2025-05-17T23:55:55.785Z] STF 16:55:55.198 - Running command: /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_0/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_17475252672082/PatModImg_AppMod_0/20250517-165526-PatModImgTest/modules/8.java.xml.jar -C /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/java.xml .
[2025-05-17T23:55:55.785Z] STF 16:55:55.199 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_17475252672082/PatModImg_AppMod_0/20250517-165526-PatModImgTest/results/8.CMJ.stderr
[2025-05-17T23:55:55.785Z] STF 16:55:55.199 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_17475252672082/PatModImg_AppMod_0/20250517-165526-PatModImgTest/results/8.CMJ.stdout
[2025-05-17T23:55:55.785Z] STF 16:55:55.274 - Monitoring processes: CMJ
[2025-05-17T23:55:56.460Z] STF 16:55:56.160 - Monitoring Report Summary:
[2025-05-17T23:55:56.460Z] STF 16:55:56.160 - o Process CMJ ended with the expected exit code (0)
[2025-05-17T23:55:56.460Z] STF 16:55:56.160 - Created modular jar: 8.java.xml.jar
[2025-05-17T23:55:56.460Z] STF 16:55:56.160 -
[2025-05-17T23:55:56.460Z] STF 16:55:56.160 - +------ Step 9 - Verify if we can patch an Application module using exploded directory
[2025-05-17T23:55:56.460Z] STF 16:55:56.160 - | Run foreground process
[2025-05-17T23:55:56.460Z] STF 16:55:56.160 - | Program: /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_17475252672082/PatModImg_AppMod_0/20250517-165526-PatModImgTest/tmp/6.XpJVM/bin/java
[2025-05-17T23:55:56.460Z] STF 16:55:56.160 - | Mnemonic: OT21
[2025-05-17T23:55:56.460Z] STF 16:55:56.160 - | Echo: ECHO_ON
[2025-05-17T23:55:56.460Z] STF 16:55:56.160 - | Expectation: CLEAN_RUN within 5m
[2025-05-17T23:55:56.460Z] STF 16:55:56.160 - |
[2025-05-17T23:55:56.460Z] STF 16:55:56.161 - Running command: /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_17475252672082/PatModImg_AppMod_0/20250517-165526-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module com.hello=/Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_0/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-05-17T23:55:56.460Z] STF 16:55:56.161 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_17475252672082/PatModImg_AppMod_0/20250517-165526-PatModImgTest/results/9.OT21.stderr
[2025-05-17T23:55:56.460Z] STF 16:55:56.161 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_17475252672082/PatModImg_AppMod_0/20250517-165526-PatModImgTest/results/9.OT21.stdout
[2025-05-17T23:55:56.460Z] STF 16:55:56.165 - Monitoring processes: OT21
[2025-05-17T23:55:58.591Z] OT21 stderr WARNING: module-info.class ignored in patch: /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello
[2025-05-17T23:55:59.581Z] OT21 JUnit version 4.12
[2025-05-17T23:56:00.047Z] OT21 .
[2025-05-17T23:56:00.047Z] OT21 Time: 0.017
[2025-05-17T23:56:00.047Z] OT21
[2025-05-17T23:56:00.047Z] OT21 OK (1 test)
[2025-05-17T23:56:00.047Z] OT21
[2025-05-17T23:56:00.047Z] STF 16:55:59.547 - Monitoring Report Summary:
[2025-05-17T23:56:00.047Z] STF 16:55:59.547 - o Process OT21 ended with the expected exit code (0)
[2025-05-17T23:56:00.047Z] STF 16:55:59.548 -
[2025-05-17T23:56:00.047Z] STF 16:55:59.548 - +------ Step 10 - Verify if we can patch an Application module using modular jar
[2025-05-17T23:56:00.047Z] STF 16:55:59.548 - | Run foreground process
[2025-05-17T23:56:00.047Z] STF 16:55:59.548 - | Program: /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_17475252672082/PatModImg_AppMod_0/20250517-165526-PatModImgTest/tmp/6.XpJVM/bin/java
[2025-05-17T23:56:00.047Z] STF 16:55:59.548 - | Mnemonic: OT22
[2025-05-17T23:56:00.047Z] STF 16:55:59.548 - | Echo: ECHO_ON
[2025-05-17T23:56:00.047Z] STF 16:55:59.548 - | Expectation: CLEAN_RUN within 5m
[2025-05-17T23:56:00.047Z] STF 16:55:59.548 - |
[2025-05-17T23:56:00.047Z] STF 16:55:59.548 - Running command: /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_17475252672082/PatModImg_AppMod_0/20250517-165526-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module com.hello=/Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_17475252672082/PatModImg_AppMod_0/20250517-165526-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-05-17T23:56:00.047Z] STF 16:55:59.548 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_17475252672082/PatModImg_AppMod_0/20250517-165526-PatModImgTest/results/10.OT22.stderr
[2025-05-17T23:56:00.047Z] STF 16:55:59.548 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_17475252672082/PatModImg_AppMod_0/20250517-165526-PatModImgTest/results/10.OT22.stdout
[2025-05-17T23:56:00.047Z] STF 16:55:59.551 - Monitoring processes: OT22
[2025-05-17T23:56:00.486Z] OT22 stderr WARNING: module-info.class ignored in patch: /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_17475252672082/PatModImg_AppMod_0/20250517-165526-PatModImgTest/modules/7.com.hello.jar
[2025-05-17T23:56:00.486Z] OT22 JUnit version 4.12
[2025-05-17T23:56:00.486Z] OT22 .
[2025-05-17T23:56:00.486Z] OT22 Time: 0.01
[2025-05-17T23:56:00.486Z] OT22
[2025-05-17T23:56:00.486Z] OT22 OK (1 test)
[2025-05-17T23:56:00.486Z] OT22
[2025-05-17T23:56:00.486Z] STF 16:56:00.044 - Monitoring Report Summary:
[2025-05-17T23:56:00.486Z] STF 16:56:00.044 - o Process OT22 ended with the expected exit code (0)
[2025-05-17T23:56:00.486Z] STF 16:56:00.044 - EXECUTE stage completed
[2025-05-17T23:56:00.486Z] STF 16:56:00.341 -
[2025-05-17T23:56:00.486Z] STF 16:56:00.341 - ==================== T E A R D O W N ====================
[2025-05-17T23:56:00.486Z] STF 16:56:00.341 - Running teardown: perl /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/../TKG/output_17475252672082/PatModImg_AppMod_0/20250517-165526-PatModImgTest/tearDown.pl
[2025-05-17T23:56:00.908Z] STF 16:56:00.498 - TEARDOWN stage completed
[2025-05-17T23:56:00.908Z] STF 16:56:00.509 -
[2025-05-17T23:56:00.908Z] STF 16:56:00.509 - ===================== R E S U L T S =====================
[2025-05-17T23:56:00.908Z] STF 16:56:00.509 - Stage results:
[2025-05-17T23:56:00.908Z] STF 16:56:00.509 - setUp: pass
[2025-05-17T23:56:00.908Z] STF 16:56:00.509 - execute: pass
[2025-05-17T23:56:00.908Z] STF 16:56:00.509 - teardown: pass
[2025-05-17T23:56:00.908Z] STF 16:56:00.509 -
[2025-05-17T23:56:00.908Z] STF 16:56:00.509 - Overall result: PASSED
[2025-05-17T23:56:00.908Z] -----------------------------------
[2025-05-17T23:56:00.908Z] PatModImg_AppMod_0_PASSED
[2025-05-17T23:56:00.908Z] -----------------------------------
[2025-05-17T23:56:00.908Z]
[2025-05-17T23:56:00.908Z] TEST TEARDOWN:
[2025-05-17T23:56:00.908Z] Nothing to be done for teardown.
[2025-05-17T23:56:00.908Z] PatModImg_AppMod_0 Finish Time: Sat May 17 16:56:00 2025 Epoch Time (ms): 1747526160683