PatModImg_AppMod_1
[2025-04-09T11:37:17.236Z] Running test PatModImg_AppMod_1 ...
[2025-04-09T11:37:17.236Z] ===============================================
[2025-04-09T11:37:17.236Z] PatModImg_AppMod_1 Start Time: Wed Apr 9 04:37:16 2025 Epoch Time (ms): 1744198636702
[2025-04-09T11:37:17.236Z] variation: Mode650
[2025-04-09T11:37:17.236Z] JVM_OPTIONS: -XX:-UseCompressedOops
[2025-04-09T11:37:17.236Z] { \
[2025-04-09T11:37:17.236Z] echo ""; echo "TEST SETUP:"; \
[2025-04-09T11:37:17.236Z] echo "Nothing to be done for setup."; \
[2025-04-09T11:37:17.236Z] mkdir -p "/Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17441975531863/PatModImg_AppMod_1"; \
[2025-04-09T11:37:17.236Z] cd "/Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17441975531863/PatModImg_AppMod_1"; \
[2025-04-09T11:37:17.236Z] echo ""; echo "TESTING:"; \
[2025-04-09T11:37:17.236Z] perl /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF/stf.core/scripts/stf.pl -test-root="/Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF;/Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../../jvmtest/system/modularity/..//aqa-systemtest""" -systemtest-prereqs="/Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/../../testDependency/system_lib/" -java-args=' -XX:-UseCompressedOops ' -results-root="/Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17441975531863/PatModImg_AppMod_1" -test=PatModImgTest -test-args="variant=AppMod"; \
[2025-04-09T11:37:17.236Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatModImg_AppMod_1""_PASSED"; echo "-----------------------------------"; cd /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/..; rm -f -r "/Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17441975531863/PatModImg_AppMod_1"; else echo "-----------------------------------"; echo "PatModImg_AppMod_1""_FAILED"; echo "-----------------------------------"; fi; \
[2025-04-09T11:37:17.236Z] echo ""; echo "TEST TEARDOWN:"; \
[2025-04-09T11:37:17.236Z] echo "Nothing to be done for teardown."; \
[2025-04-09T11:37:17.237Z] } 2>&1 | tee -a "/Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17441975531863/TestTargetResult";
[2025-04-09T11:37:17.237Z]
[2025-04-09T11:37:17.237Z] TEST SETUP:
[2025-04-09T11:37:17.237Z] Nothing to be done for setup.
[2025-04-09T11:37:17.237Z]
[2025-04-09T11:37:17.237Z] TESTING:
[2025-04-09T11:37:17.237Z] STF 04:37:17.012 - ========================= S T F =========================
[2025-04-09T11:37:17.237Z] 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_1/aqa-tests/TKG/../TKG/output_17441975531863/PatModImg_AppMod_1
[2025-04-09T11:37:17.237Z] There is 11280 Mb free
[2025-04-09T11:37:17.237Z] STF 04:37:17.035 - ================== G E N E R A T I O N ==================
[2025-04-09T11:37:17.237Z] STF 04:37:17.037 - Checking JVM: /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/../
[2025-04-09T11:37:17.237Z] STF 04:37:17.037 - Starting process to generate scripts: /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/..//bin/java -Dlog4j.skipJansi=true -Djava.system.class.loader=net.adoptopenjdk.stf.runner.StfClassLoader -Dload.agent.path=/Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/STF/stf.core/scripts/../../stf.load/bin/stf.load.jar -classpath /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/../../testDependency/system_lib//asm/asm.jar:/Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/../../testDependency/system_lib//asm/asm-commons.jar:/Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/../../testDependency/system_lib//log4j/log4j-api.jar:/Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/../../testDependency/system_lib//log4j/log4j-core.jar:/Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "/Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17441975531863/PatModImg_AppMod_1/20250409-043717-PatModImgTest/stf_parameters.properties, , /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "/Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17441975531863/PatModImg_AppMod_1/20250409-043717-PatModImgTest"
[2025-04-09T11:37:19.426Z] GEN 04:37:18.978 - Found test. Project: 'openjdk.test.modularity' class: 'PatModImgTest.class' Dir: '/Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin'
[2025-04-09T11:37:19.426Z] GEN 04:37:19.001 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModImgTest'
[2025-04-09T11:37:19.967Z] GEN Classpath directories used by project 'openjdk.test.modularity':
[2025-04-09T11:37:19.967Z] GEN /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayService
[2025-04-09T11:37:19.967Z] GEN /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper
[2025-04-09T11:37:19.967Z] GEN /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl1
[2025-04-09T11:37:19.967Z] GEN /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet
[2025-04-09T11:37:19.967Z] GEN /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello
[2025-04-09T11:37:19.967Z] GEN /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola
[2025-04-09T11:37:19.967Z] GEN /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl2
[2025-04-09T11:37:19.967Z] GEN /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hi
[2025-04-09T11:37:19.967Z] GEN /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override
[2025-04-09T11:37:19.967Z] GEN /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override-new
[2025-04-09T11:37:19.967Z] GEN /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl3
[2025-04-09T11:37:19.967Z] GEN /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl4
[2025-04-09T11:37:19.967Z] GEN /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common
[2025-04-09T11:37:19.967Z] GEN /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests
[2025-04-09T11:37:19.967Z] GEN /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin
[2025-04-09T11:37:19.967Z] GEN /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/STF/stf.core/bin
[2025-04-09T11:37:19.967Z] GEN /Users/admin/workspace/testDependency/system_lib/log4j/log4j-api.jar
[2025-04-09T11:37:19.967Z] GEN /Users/admin/workspace/testDependency/system_lib/log4j/log4j-core.jar
[2025-04-09T11:37:19.967Z] GEN /Users/admin/workspace/testDependency/system_lib/junit/junit.jar
[2025-04-09T11:37:19.967Z] GEN 04:37:19.324 - Using Mode NoOptions. Values = ''
[2025-04-09T11:37:19.967Z] GEN 04:37:19.576 -
[2025-04-09T11:37:19.967Z] GEN 04:37:19.576 - Test command summary:
[2025-04-09T11:37:19.967Z] GEN 04:37:19.576 - Step Stage Command Description
[2025-04-09T11:37:19.967Z] GEN 04:37:19.576 - -----+--------+-----------------+------------
[2025-04-09T11:37:19.967Z] GEN 04:37:19.576 - 1 execute jar Create com.hello jar
[2025-04-09T11:37:19.967Z] GEN 04:37:19.577 - 2 execute jar Create com.hola jar
[2025-04-09T11:37:19.967Z] GEN 04:37:19.577 - 3 execute jar Create com.helper jar
[2025-04-09T11:37:19.967Z] GEN 04:37:19.577 - 4 execute jar Create com.discreet jar
[2025-04-09T11:37:19.967Z] GEN 04:37:19.577 - 5 execute jar Create tests jar
[2025-04-09T11:37:19.967Z] GEN 04:37:19.577 - 6 execute jlink Create runtime image for PatchModule test
[2025-04-09T11:37:19.967Z] GEN 04:37:19.577 - 7 execute jar Create com.hello jar
[2025-04-09T11:37:19.967Z] GEN 04:37:19.577 - 8 execute jar create java.xml.jar
[2025-04-09T11:37:19.967Z] GEN 04:37:19.577 - 9 execute Run java Verify if we can patch an Application module using exploded directory
[2025-04-09T11:37:19.967Z] GEN 04:37:19.577 - 10 execute Run java Verify if we can patch an Application module using modular jar
[2025-04-09T11:37:19.967Z] STF 04:37:19.648 -
[2025-04-09T11:37:19.967Z] STF 04:37:19.648 - Script generation completed
[2025-04-09T11:37:19.967Z] STF 04:37:19.648 -
[2025-04-09T11:37:19.967Z] STF 04:37:19.648 -
[2025-04-09T11:37:19.968Z] STF 04:37:19.648 - ======================= S E T U P =======================
[2025-04-09T11:37:19.968Z] STF 04:37:19.648 - Running setup: perl /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17441975531863/PatModImg_AppMod_1/20250409-043717-PatModImgTest/setUp.pl
[2025-04-09T11:37:20.427Z] STF 04:37:19.870 - SETUP stage completed
[2025-04-09T11:37:20.428Z] STF 04:37:19.886 -
[2025-04-09T11:37:20.428Z] STF 04:37:19.887 - ==================== E X E C U T E - ====================
[2025-04-09T11:37:20.428Z] STF 04:37:19.887 - Running execute: perl /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17441975531863/PatModImg_AppMod_1/20250409-043717-PatModImgTest/execute.pl
[2025-04-09T11:37:20.428Z] STF 04:37:20.094 -
[2025-04-09T11:37:20.428Z] STF 04:37:20.094 - Java version
[2025-04-09T11:37:20.428Z] STF 04:37:20.094 - Running: /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/java -version
[2025-04-09T11:37:20.846Z] openjdk version "25-beta" 2025-09-16
[2025-04-09T11:37:20.846Z] OpenJDK Runtime Environment Temurin-25+17-202504032034 (build 25-beta+17-ea)
[2025-04-09T11:37:20.846Z] OpenJDK 64-Bit Server VM Temurin-25+17-202504032034 (build 25-beta+17-ea, mixed mode)
[2025-04-09T11:37:20.846Z] STF 04:37:20.328 -
[2025-04-09T11:37:20.846Z] STF 04:37:20.328 - +------ Step 1 - Create com.hello jar
[2025-04-09T11:37:20.846Z] STF 04:37:20.328 - | Create modular jar
[2025-04-09T11:37:20.846Z] STF 04:37:20.328 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello
[2025-04-09T11:37:20.846Z] STF 04:37:20.328 - | ModuleVersion: null
[2025-04-09T11:37:20.846Z] STF 04:37:20.328 - | MainClass: null
[2025-04-09T11:37:20.846Z] STF 04:37:20.328 - | HashModules: null
[2025-04-09T11:37:20.846Z] STF 04:37:20.328 - |
[2025-04-09T11:37:20.846Z] STF 04:37:20.329 - Running command: /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17441975531863/PatModImg_AppMod_1/20250409-043717-PatModImgTest/modules/1.com.hello.jar -C /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello .
[2025-04-09T11:37:20.846Z] STF 04:37:20.330 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17441975531863/PatModImg_AppMod_1/20250409-043717-PatModImgTest/results/1.CMJ.stderr
[2025-04-09T11:37:20.846Z] STF 04:37:20.330 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17441975531863/PatModImg_AppMod_1/20250409-043717-PatModImgTest/results/1.CMJ.stdout
[2025-04-09T11:37:20.846Z] STF 04:37:20.345 - Monitoring processes: CMJ
[2025-04-09T11:37:21.265Z] STF 04:37:20.946 - Monitoring Report Summary:
[2025-04-09T11:37:21.265Z] STF 04:37:20.946 - o Process CMJ ended with the expected exit code (0)
[2025-04-09T11:37:21.265Z] STF 04:37:20.946 - Created modular jar: 1.com.hello.jar
[2025-04-09T11:37:21.265Z] STF 04:37:20.946 -
[2025-04-09T11:37:21.265Z] STF 04:37:20.946 - +------ Step 2 - Create com.hola jar
[2025-04-09T11:37:21.265Z] STF 04:37:20.946 - | Create modular jar
[2025-04-09T11:37:21.265Z] STF 04:37:20.946 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola
[2025-04-09T11:37:21.265Z] STF 04:37:20.946 - | ModuleVersion: null
[2025-04-09T11:37:21.265Z] STF 04:37:20.946 - | MainClass: null
[2025-04-09T11:37:21.265Z] STF 04:37:20.946 - | HashModules: null
[2025-04-09T11:37:21.265Z] STF 04:37:20.946 - |
[2025-04-09T11:37:21.265Z] STF 04:37:20.946 - Running command: /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17441975531863/PatModImg_AppMod_1/20250409-043717-PatModImgTest/modules/2.com.hola.jar -C /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola .
[2025-04-09T11:37:21.265Z] STF 04:37:20.947 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17441975531863/PatModImg_AppMod_1/20250409-043717-PatModImgTest/results/2.CMJ.stderr
[2025-04-09T11:37:21.265Z] STF 04:37:20.947 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17441975531863/PatModImg_AppMod_1/20250409-043717-PatModImgTest/results/2.CMJ.stdout
[2025-04-09T11:37:21.265Z] STF 04:37:20.949 - Monitoring processes: CMJ
[2025-04-09T11:37:21.710Z] STF 04:37:21.448 - Monitoring Report Summary:
[2025-04-09T11:37:21.711Z] STF 04:37:21.448 - o Process CMJ ended with the expected exit code (0)
[2025-04-09T11:37:21.711Z] STF 04:37:21.448 - Created modular jar: 2.com.hola.jar
[2025-04-09T11:37:21.711Z] STF 04:37:21.448 -
[2025-04-09T11:37:21.711Z] STF 04:37:21.448 - +------ Step 3 - Create com.helper jar
[2025-04-09T11:37:21.711Z] STF 04:37:21.448 - | Create modular jar
[2025-04-09T11:37:21.711Z] STF 04:37:21.448 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper
[2025-04-09T11:37:21.711Z] STF 04:37:21.448 - | ModuleVersion: null
[2025-04-09T11:37:21.711Z] STF 04:37:21.448 - | MainClass: null
[2025-04-09T11:37:21.711Z] STF 04:37:21.448 - | HashModules: null
[2025-04-09T11:37:21.711Z] STF 04:37:21.448 - |
[2025-04-09T11:37:21.711Z] STF 04:37:21.449 - Running command: /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17441975531863/PatModImg_AppMod_1/20250409-043717-PatModImgTest/modules/3.com.helper.jar -C /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper .
[2025-04-09T11:37:21.711Z] STF 04:37:21.449 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17441975531863/PatModImg_AppMod_1/20250409-043717-PatModImgTest/results/3.CMJ.stderr
[2025-04-09T11:37:21.711Z] STF 04:37:21.449 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17441975531863/PatModImg_AppMod_1/20250409-043717-PatModImgTest/results/3.CMJ.stdout
[2025-04-09T11:37:21.711Z] STF 04:37:21.451 - Monitoring processes: CMJ
[2025-04-09T11:37:22.149Z] STF 04:37:21.936 - Monitoring Report Summary:
[2025-04-09T11:37:22.149Z] STF 04:37:21.936 - o Process CMJ ended with the expected exit code (0)
[2025-04-09T11:37:22.149Z] STF 04:37:21.936 - Created modular jar: 3.com.helper.jar
[2025-04-09T11:37:22.592Z] STF 04:37:21.936 -
[2025-04-09T11:37:22.592Z] STF 04:37:21.937 - +------ Step 4 - Create com.discreet jar
[2025-04-09T11:37:22.592Z] STF 04:37:21.937 - | Create modular jar
[2025-04-09T11:37:22.592Z] STF 04:37:21.937 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet
[2025-04-09T11:37:22.592Z] STF 04:37:21.937 - | ModuleVersion: null
[2025-04-09T11:37:22.592Z] STF 04:37:21.937 - | MainClass: null
[2025-04-09T11:37:22.592Z] STF 04:37:21.937 - | HashModules: null
[2025-04-09T11:37:22.592Z] STF 04:37:21.937 - |
[2025-04-09T11:37:22.593Z] STF 04:37:21.937 - Running command: /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17441975531863/PatModImg_AppMod_1/20250409-043717-PatModImgTest/modules/4.com.discreet.jar -C /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet .
[2025-04-09T11:37:22.593Z] STF 04:37:21.937 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17441975531863/PatModImg_AppMod_1/20250409-043717-PatModImgTest/results/4.CMJ.stderr
[2025-04-09T11:37:22.593Z] STF 04:37:21.937 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17441975531863/PatModImg_AppMod_1/20250409-043717-PatModImgTest/results/4.CMJ.stdout
[2025-04-09T11:37:22.593Z] STF 04:37:21.939 - Monitoring processes: CMJ
[2025-04-09T11:37:22.593Z] STF 04:37:22.317 - Monitoring Report Summary:
[2025-04-09T11:37:22.593Z] STF 04:37:22.317 - o Process CMJ ended with the expected exit code (0)
[2025-04-09T11:37:22.593Z] STF 04:37:22.317 - Created modular jar: 4.com.discreet.jar
[2025-04-09T11:37:22.593Z] STF 04:37:22.317 -
[2025-04-09T11:37:22.593Z] STF 04:37:22.317 - +------ Step 5 - Create tests jar
[2025-04-09T11:37:22.593Z] STF 04:37:22.317 - | Create modular jar
[2025-04-09T11:37:22.593Z] STF 04:37:22.317 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test
[2025-04-09T11:37:22.593Z] STF 04:37:22.317 - | ModuleVersion: null
[2025-04-09T11:37:22.593Z] STF 04:37:22.317 - | MainClass: null
[2025-04-09T11:37:22.593Z] STF 04:37:22.317 - | HashModules: null
[2025-04-09T11:37:22.593Z] STF 04:37:22.317 - |
[2025-04-09T11:37:22.593Z] STF 04:37:22.318 - Running command: /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17441975531863/PatModImg_AppMod_1/20250409-043717-PatModImgTest/modules/5.com.test.jar -C /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test .
[2025-04-09T11:37:22.593Z] STF 04:37:22.318 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17441975531863/PatModImg_AppMod_1/20250409-043717-PatModImgTest/results/5.CMJ.stderr
[2025-04-09T11:37:22.593Z] STF 04:37:22.318 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17441975531863/PatModImg_AppMod_1/20250409-043717-PatModImgTest/results/5.CMJ.stdout
[2025-04-09T11:37:22.593Z] STF 04:37:22.321 - Monitoring processes: CMJ
[2025-04-09T11:37:23.504Z] STF 04:37:22.853 - Monitoring Report Summary:
[2025-04-09T11:37:23.504Z] STF 04:37:22.853 - o Process CMJ ended with the expected exit code (0)
[2025-04-09T11:37:23.504Z] STF 04:37:22.853 - Created modular jar: 5.com.test.jar
[2025-04-09T11:37:23.504Z] STF 04:37:22.853 -
[2025-04-09T11:37:23.504Z] STF 04:37:22.853 - +------ Step 6 - Create runtime image for PatchModule test
[2025-04-09T11:37:23.504Z] STF 04:37:22.853 - | Run jlink to create runtime image
[2025-04-09T11:37:23.504Z] STF 04:37:22.853 - | ImageName: XpJVM
[2025-04-09T11:37:23.504Z] STF 04:37:22.853 - |
[2025-04-09T11:37:23.504Z] STF 04:37:22.853 - Running command: /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jlink --module-path /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/jmods:/Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17441975531863/PatModImg_AppMod_1/20250409-043717-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_1/aqa-tests/TKG/output_17441975531863/PatModImg_AppMod_1/20250409-043717-PatModImgTest/tmp/6.XpJVM
[2025-04-09T11:37:23.504Z] STF 04:37:22.854 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17441975531863/PatModImg_AppMod_1/20250409-043717-PatModImgTest/results/6.JLNK.stderr
[2025-04-09T11:37:23.504Z] STF 04:37:22.854 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17441975531863/PatModImg_AppMod_1/20250409-043717-PatModImgTest/results/6.JLNK.stdout
[2025-04-09T11:37:23.504Z] STF 04:37:22.864 - Monitoring processes: JLNK
[2025-04-09T11:37:27.420Z] STF 04:37:26.318 - Monitoring Report Summary:
[2025-04-09T11:37:27.420Z] STF 04:37:26.318 - o Process JLNK ended with the expected exit code (0)
[2025-04-09T11:37:27.420Z] STF 04:37:26.318 -
[2025-04-09T11:37:27.420Z] STF 04:37:26.318 - +------ Step 7 - Create com.hello jar
[2025-04-09T11:37:27.420Z] STF 04:37:26.318 - | Create modular jar
[2025-04-09T11:37:27.420Z] STF 04:37:26.318 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello
[2025-04-09T11:37:27.420Z] STF 04:37:26.318 - | ModuleVersion: null
[2025-04-09T11:37:27.421Z] STF 04:37:26.318 - | MainClass: null
[2025-04-09T11:37:27.421Z] STF 04:37:26.318 - | HashModules: null
[2025-04-09T11:37:27.421Z] STF 04:37:26.318 - |
[2025-04-09T11:37:27.421Z] STF 04:37:26.319 - Running command: /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17441975531863/PatModImg_AppMod_1/20250409-043717-PatModImgTest/modules/7.com.hello.jar -C /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello .
[2025-04-09T11:37:27.421Z] STF 04:37:26.319 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17441975531863/PatModImg_AppMod_1/20250409-043717-PatModImgTest/results/7.CMJ.stderr
[2025-04-09T11:37:27.421Z] STF 04:37:26.319 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17441975531863/PatModImg_AppMod_1/20250409-043717-PatModImgTest/results/7.CMJ.stdout
[2025-04-09T11:37:27.421Z] STF 04:37:26.331 - Monitoring processes: CMJ
[2025-04-09T11:37:27.864Z] STF 04:37:27.549 - Monitoring Report Summary:
[2025-04-09T11:37:27.864Z] STF 04:37:27.550 - o Process CMJ ended with the expected exit code (0)
[2025-04-09T11:37:27.864Z] STF 04:37:27.550 - Created modular jar: 7.com.hello.jar
[2025-04-09T11:37:27.864Z] STF 04:37:27.550 -
[2025-04-09T11:37:27.864Z] STF 04:37:27.550 - +------ Step 8 - create java.xml.jar
[2025-04-09T11:37:27.864Z] STF 04:37:27.550 - | Create modular jar
[2025-04-09T11:37:27.864Z] STF 04:37:27.550 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml
[2025-04-09T11:37:27.864Z] STF 04:37:27.550 - | ModuleVersion: null
[2025-04-09T11:37:27.864Z] STF 04:37:27.550 - | MainClass: null
[2025-04-09T11:37:27.864Z] STF 04:37:27.550 - | HashModules: null
[2025-04-09T11:37:27.864Z] STF 04:37:27.550 - |
[2025-04-09T11:37:27.864Z] STF 04:37:27.550 - Running command: /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17441975531863/PatModImg_AppMod_1/20250409-043717-PatModImgTest/modules/8.java.xml.jar -C /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/java.xml .
[2025-04-09T11:37:27.864Z] STF 04:37:27.550 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17441975531863/PatModImg_AppMod_1/20250409-043717-PatModImgTest/results/8.CMJ.stderr
[2025-04-09T11:37:27.864Z] STF 04:37:27.550 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17441975531863/PatModImg_AppMod_1/20250409-043717-PatModImgTest/results/8.CMJ.stdout
[2025-04-09T11:37:27.864Z] STF 04:37:27.553 - Monitoring processes: CMJ
[2025-04-09T11:37:28.345Z] STF 04:37:28.117 - Monitoring Report Summary:
[2025-04-09T11:37:28.345Z] STF 04:37:28.117 - o Process CMJ ended with the expected exit code (0)
[2025-04-09T11:37:28.345Z] STF 04:37:28.117 - Created modular jar: 8.java.xml.jar
[2025-04-09T11:37:28.866Z] STF 04:37:28.117 -
[2025-04-09T11:37:28.866Z] STF 04:37:28.117 - +------ Step 9 - Verify if we can patch an Application module using exploded directory
[2025-04-09T11:37:28.866Z] STF 04:37:28.117 - | Run foreground process
[2025-04-09T11:37:28.866Z] STF 04:37:28.117 - | Program: /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17441975531863/PatModImg_AppMod_1/20250409-043717-PatModImgTest/tmp/6.XpJVM/bin/java
[2025-04-09T11:37:28.866Z] STF 04:37:28.117 - | Mnemonic: OT21
[2025-04-09T11:37:28.866Z] STF 04:37:28.117 - | Echo: ECHO_ON
[2025-04-09T11:37:28.866Z] STF 04:37:28.117 - | Expectation: CLEAN_RUN within 5m
[2025-04-09T11:37:28.866Z] STF 04:37:28.117 - |
[2025-04-09T11:37:28.866Z] STF 04:37:28.118 - Running command: /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17441975531863/PatModImg_AppMod_1/20250409-043717-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_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-04-09T11:37:28.866Z] STF 04:37:28.118 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17441975531863/PatModImg_AppMod_1/20250409-043717-PatModImgTest/results/9.OT21.stderr
[2025-04-09T11:37:28.866Z] STF 04:37:28.118 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17441975531863/PatModImg_AppMod_1/20250409-043717-PatModImgTest/results/9.OT21.stdout
[2025-04-09T11:37:28.866Z] STF 04:37:28.128 - Monitoring processes: OT21
[2025-04-09T11:37:30.463Z] OT21 stderr WARNING: module-info.class ignored in patch: /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello
[2025-04-09T11:37:30.907Z] OT21 JUnit version 4.12
[2025-04-09T11:37:30.907Z] OT21 .
[2025-04-09T11:37:30.907Z] OT21 Time: 0.023
[2025-04-09T11:37:30.907Z] OT21
[2025-04-09T11:37:30.907Z] OT21 OK (1 test)
[2025-04-09T11:37:30.907Z] OT21
[2025-04-09T11:37:30.907Z] STF 04:37:30.540 - Monitoring Report Summary:
[2025-04-09T11:37:30.907Z] STF 04:37:30.540 - o Process OT21 ended with the expected exit code (0)
[2025-04-09T11:37:30.907Z] STF 04:37:30.540 -
[2025-04-09T11:37:30.907Z] STF 04:37:30.540 - +------ Step 10 - Verify if we can patch an Application module using modular jar
[2025-04-09T11:37:30.907Z] STF 04:37:30.540 - | Run foreground process
[2025-04-09T11:37:30.907Z] STF 04:37:30.540 - | Program: /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17441975531863/PatModImg_AppMod_1/20250409-043717-PatModImgTest/tmp/6.XpJVM/bin/java
[2025-04-09T11:37:30.907Z] STF 04:37:30.540 - | Mnemonic: OT22
[2025-04-09T11:37:30.907Z] STF 04:37:30.540 - | Echo: ECHO_ON
[2025-04-09T11:37:30.907Z] STF 04:37:30.540 - | Expectation: CLEAN_RUN within 5m
[2025-04-09T11:37:30.907Z] STF 04:37:30.540 - |
[2025-04-09T11:37:30.907Z] STF 04:37:30.541 - Running command: /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17441975531863/PatModImg_AppMod_1/20250409-043717-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_1/aqa-tests/TKG/output_17441975531863/PatModImg_AppMod_1/20250409-043717-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-04-09T11:37:30.907Z] STF 04:37:30.541 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17441975531863/PatModImg_AppMod_1/20250409-043717-PatModImgTest/results/10.OT22.stderr
[2025-04-09T11:37:30.907Z] STF 04:37:30.541 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17441975531863/PatModImg_AppMod_1/20250409-043717-PatModImgTest/results/10.OT22.stdout
[2025-04-09T11:37:30.907Z] STF 04:37:30.543 - Monitoring processes: OT22
[2025-04-09T11:37:31.371Z] OT22 stderr WARNING: module-info.class ignored in patch: /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17441975531863/PatModImg_AppMod_1/20250409-043717-PatModImgTest/modules/7.com.hello.jar
[2025-04-09T11:37:31.371Z] OT22 JUnit version 4.12
[2025-04-09T11:37:31.846Z] OT22 .
[2025-04-09T11:37:31.846Z] OT22 Time: 0.005
[2025-04-09T11:37:31.846Z] OT22
[2025-04-09T11:37:31.846Z] OT22 OK (1 test)
[2025-04-09T11:37:31.846Z] OT22
[2025-04-09T11:37:31.846Z] STF 04:37:31.236 - Monitoring Report Summary:
[2025-04-09T11:37:31.846Z] STF 04:37:31.237 - o Process OT22 ended with the expected exit code (0)
[2025-04-09T11:37:31.846Z] STF 04:37:31.237 - EXECUTE stage completed
[2025-04-09T11:37:31.846Z] STF 04:37:31.372 -
[2025-04-09T11:37:31.846Z] STF 04:37:31.373 - ==================== T E A R D O W N ====================
[2025-04-09T11:37:31.846Z] STF 04:37:31.373 - Running teardown: perl /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17441975531863/PatModImg_AppMod_1/20250409-043717-PatModImgTest/tearDown.pl
[2025-04-09T11:37:31.846Z] STF 04:37:31.597 - TEARDOWN stage completed
[2025-04-09T11:37:31.846Z] STF 04:37:31.601 -
[2025-04-09T11:37:31.846Z] STF 04:37:31.601 - ===================== R E S U L T S =====================
[2025-04-09T11:37:31.846Z] STF 04:37:31.601 - Stage results:
[2025-04-09T11:37:31.846Z] STF 04:37:31.601 - setUp: pass
[2025-04-09T11:37:31.846Z] STF 04:37:31.601 - execute: pass
[2025-04-09T11:37:31.846Z] STF 04:37:31.601 - teardown: pass
[2025-04-09T11:37:31.846Z] STF 04:37:31.601 -
[2025-04-09T11:37:31.846Z] STF 04:37:31.601 - Overall result: PASSED
[2025-04-09T11:37:31.846Z] -----------------------------------
[2025-04-09T11:37:31.846Z] PatModImg_AppMod_1_PASSED
[2025-04-09T11:37:31.846Z] -----------------------------------
[2025-04-09T11:37:31.846Z]
[2025-04-09T11:37:31.846Z] TEST TEARDOWN:
[2025-04-09T11:37:31.846Z] Nothing to be done for teardown.
[2025-04-09T11:37:32.300Z] PatModImg_AppMod_1 Finish Time: Wed Apr 9 04:37:31 2025 Epoch Time (ms): 1744198651679