PatModImg_Adv_0
[2026-03-06T05:57:01.642Z] Running test PatModImg_Adv_0 ...
[2026-03-06T05:57:01.643Z] ===============================================
[2026-03-06T05:57:02.071Z] PatModImg_Adv_0 Start Time: Fri Mar 6 00:57:01 2026 Epoch Time (ms): 1772776621624
[2026-03-06T05:57:02.071Z] variation: Mode150
[2026-03-06T05:57:02.071Z] JVM_OPTIONS: -XX:+UseCompressedOops
[2026-03-06T05:57:02.071Z] { \
[2026-03-06T05:57:02.071Z] echo ""; echo "TEST SETUP:"; \
[2026-03-06T05:57:02.071Z] echo "Nothing to be done for setup."; \
[2026-03-06T05:57:02.071Z] mkdir -p "/Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17727736899406/PatModImg_Adv_0"; \
[2026-03-06T05:57:02.071Z] cd "/Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17727736899406/PatModImg_Adv_0"; \
[2026-03-06T05:57:02.071Z] echo ""; echo "TESTING:"; \
[2026-03-06T05:57:02.071Z] 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/../../externalDependency/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_17727736899406/PatModImg_Adv_0" -test=PatModImgTest -test-args="variant=Adv"; \
[2026-03-06T05:57:02.071Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatModImg_Adv_0""_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_17727736899406/PatModImg_Adv_0"; else echo "-----------------------------------"; echo "PatModImg_Adv_0""_FAILED"; echo "-----------------------------------"; fi; \
[2026-03-06T05:57:02.071Z] echo ""; echo "TEST TEARDOWN:"; \
[2026-03-06T05:57:02.071Z] echo "Nothing to be done for teardown."; \
[2026-03-06T05:57:02.071Z] } 2>&1 | tee -a "/Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17727736899406/TestTargetResult";
[2026-03-06T05:57:02.071Z]
[2026-03-06T05:57:02.071Z] TEST SETUP:
[2026-03-06T05:57:02.071Z] Nothing to be done for setup.
[2026-03-06T05:57:02.071Z]
[2026-03-06T05:57:02.071Z] TESTING:
[2026-03-06T05:57:02.537Z] STF 00:57:01.994 - ========================= S T F =========================
[2026-03-06T05:57:02.538Z] systemtest-prereqs has been processed, and set to: /Users/admin/workspace/externalDependency/system_libRetrieving amount of free space on drive containing /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17727736899406/PatModImg_Adv_0
[2026-03-06T05:57:02.538Z] There is 13601 Mb free
[2026-03-06T05:57:02.538Z] STF 00:57:02.027 - ================== G E N E R A T I O N ==================
[2026-03-06T05:57:02.538Z] STF 00:57:02.029 - Checking JVM: /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/../
[2026-03-06T05:57:02.538Z] STF 00:57:02.029 - 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/../../externalDependency/system_lib//asm/asm.jar:/Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/../../externalDependency/system_lib//asm/asm-commons.jar:/Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/../../externalDependency/system_lib//log4j/log4j-api.jar:/Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/../../externalDependency/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_17727736899406/PatModImg_Adv_0/20260306-005702-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_17727736899406/PatModImg_Adv_0/20260306-005702-PatModImgTest"
[2026-03-06T05:57:07.811Z] GEN 00:57:06.730 - 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'
[2026-03-06T05:57:07.811Z] GEN 00:57:06.816 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModImgTest'
[2026-03-06T05:57:07.811Z] GEN Classpath directories used by project 'openjdk.test.modularity':
[2026-03-06T05:57:07.811Z] 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
[2026-03-06T05:57:07.811Z] 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
[2026-03-06T05:57:07.811Z] 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
[2026-03-06T05:57:07.811Z] 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
[2026-03-06T05:57:07.811Z] 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
[2026-03-06T05:57:07.811Z] 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
[2026-03-06T05:57:07.811Z] 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
[2026-03-06T05:57:07.811Z] 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
[2026-03-06T05:57:07.811Z] 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
[2026-03-06T05:57:07.811Z] 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
[2026-03-06T05:57:07.811Z] 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
[2026-03-06T05:57:07.811Z] 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
[2026-03-06T05:57:07.811Z] GEN /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common
[2026-03-06T05:57:07.811Z] GEN /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests
[2026-03-06T05:57:07.811Z] GEN /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin
[2026-03-06T05:57:07.811Z] GEN /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/STF/stf.core/bin
[2026-03-06T05:57:07.811Z] GEN /Users/admin/workspace/externalDependency/system_lib/log4j/log4j-api.jar
[2026-03-06T05:57:07.811Z] GEN /Users/admin/workspace/externalDependency/system_lib/log4j/log4j-core.jar
[2026-03-06T05:57:07.811Z] GEN /Users/admin/workspace/externalDependency/system_lib/junit/junit.jar
[2026-03-06T05:57:07.811Z] GEN 00:57:07.658 - Using Mode NoOptions. Values = ''
[2026-03-06T05:57:08.280Z] GEN 00:57:08.099 -
[2026-03-06T05:57:08.280Z] GEN 00:57:08.099 - Test command summary:
[2026-03-06T05:57:08.280Z] GEN 00:57:08.099 - Step Stage Command Description
[2026-03-06T05:57:08.280Z] GEN 00:57:08.099 - -----+--------+-----------------+------------
[2026-03-06T05:57:08.280Z] GEN 00:57:08.099 - 1 execute jar Create com.hello jar
[2026-03-06T05:57:08.280Z] GEN 00:57:08.099 - 2 execute jar Create com.hola jar
[2026-03-06T05:57:08.280Z] GEN 00:57:08.099 - 3 execute jar Create com.helper jar
[2026-03-06T05:57:08.280Z] GEN 00:57:08.099 - 4 execute jar Create com.discreet jar
[2026-03-06T05:57:08.280Z] GEN 00:57:08.100 - 5 execute jar Create tests jar
[2026-03-06T05:57:08.280Z] GEN 00:57:08.100 - 6 execute jlink Create runtime image for PatchModule test
[2026-03-06T05:57:08.280Z] GEN 00:57:08.100 - 7 execute jar Create com.hello jar
[2026-03-06T05:57:08.280Z] GEN 00:57:08.100 - 8 execute jar create java.xml.jar
[2026-03-06T05:57:08.280Z] GEN 00:57:08.100 - 9 execute Run java Run application class override test where we specify two exploded module paths in a single --patch-module option
[2026-03-06T05:57:08.280Z] GEN 00:57:08.100 - 10 execute Run java Verify if a module can be specified only once on --patch-module
[2026-03-06T05:57:08.280Z] GEN 00:57:08.100 - 11 execute Run java Combine stderr and stdout files of process OT7
[2026-03-06T05:57:08.280Z] GEN 00:57:08.100 - 12 execute count Check output
[2026-03-06T05:57:08.280Z] GEN 00:57:08.100 - 13 execute Run java (Negative test) Verify if --patch-module allows replacing of module-info.class
[2026-03-06T05:57:08.280Z] GEN 00:57:08.100 - 14 execute count Check output
[2026-03-06T05:57:08.838Z] STF 00:57:08.216 -
[2026-03-06T05:57:08.838Z] STF 00:57:08.216 - Script generation completed
[2026-03-06T05:57:08.838Z] STF 00:57:08.216 -
[2026-03-06T05:57:08.838Z] STF 00:57:08.216 -
[2026-03-06T05:57:08.838Z] STF 00:57:08.216 - ======================= S E T U P =======================
[2026-03-06T05:57:08.839Z] STF 00:57:08.216 - Running setup: perl /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17727736899406/PatModImg_Adv_0/20260306-005702-PatModImgTest/setUp.pl
[2026-03-06T05:57:09.382Z] STF 00:57:09.080 - SETUP stage completed
[2026-03-06T05:57:09.382Z] STF 00:57:09.109 -
[2026-03-06T05:57:09.382Z] STF 00:57:09.109 - ==================== E X E C U T E - ====================
[2026-03-06T05:57:09.382Z] STF 00:57:09.109 - Running execute: perl /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17727736899406/PatModImg_Adv_0/20260306-005702-PatModImgTest/execute.pl
[2026-03-06T05:57:09.885Z] STF 00:57:09.355 -
[2026-03-06T05:57:09.885Z] STF 00:57:09.355 - Java version
[2026-03-06T05:57:09.885Z] STF 00:57:09.355 - Running: /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/java -version
[2026-03-06T05:57:09.885Z] openjdk version "25.0.3-beta" 2026-04-21
[2026-03-06T05:57:09.885Z] OpenJDK Runtime Environment (build 25.0.3-beta+5-ea)
[2026-03-06T05:57:09.885Z] OpenJDK 64-Bit Server VM (build 25.0.3-beta+5-ea, mixed mode)
[2026-03-06T05:57:09.885Z] STF 00:57:09.728 -
[2026-03-06T05:57:09.885Z] STF 00:57:09.728 - +------ Step 1 - Create com.hello jar
[2026-03-06T05:57:09.885Z] STF 00:57:09.728 - | Create modular jar
[2026-03-06T05:57:09.885Z] STF 00:57:09.728 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello
[2026-03-06T05:57:09.885Z] STF 00:57:09.728 - | ModuleVersion: null
[2026-03-06T05:57:09.885Z] STF 00:57:09.728 - | MainClass: null
[2026-03-06T05:57:09.885Z] STF 00:57:09.728 - | HashModules: null
[2026-03-06T05:57:09.885Z] STF 00:57:09.728 - |
[2026-03-06T05:57:09.885Z] STF 00:57:09.729 - 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_17727736899406/PatModImg_Adv_0/20260306-005702-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 .
[2026-03-06T05:57:09.885Z] STF 00:57:09.729 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17727736899406/PatModImg_Adv_0/20260306-005702-PatModImgTest/results/1.CMJ.stderr
[2026-03-06T05:57:09.885Z] STF 00:57:09.729 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17727736899406/PatModImg_Adv_0/20260306-005702-PatModImgTest/results/1.CMJ.stdout
[2026-03-06T05:57:09.885Z] STF 00:57:09.781 - Monitoring processes: CMJ
[2026-03-06T05:57:10.855Z] STF 00:57:10.702 - Monitoring Report Summary:
[2026-03-06T05:57:10.855Z] STF 00:57:10.702 - o Process CMJ ended with the expected exit code (0)
[2026-03-06T05:57:10.855Z] STF 00:57:10.702 - Created modular jar: 1.com.hello.jar
[2026-03-06T05:57:10.855Z] STF 00:57:10.702 -
[2026-03-06T05:57:10.855Z] STF 00:57:10.702 - +------ Step 2 - Create com.hola jar
[2026-03-06T05:57:10.855Z] STF 00:57:10.702 - | Create modular jar
[2026-03-06T05:57:10.855Z] STF 00:57:10.702 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola
[2026-03-06T05:57:10.855Z] STF 00:57:10.702 - | ModuleVersion: null
[2026-03-06T05:57:10.855Z] STF 00:57:10.702 - | MainClass: null
[2026-03-06T05:57:10.855Z] STF 00:57:10.702 - | HashModules: null
[2026-03-06T05:57:10.855Z] STF 00:57:10.702 - |
[2026-03-06T05:57:10.855Z] STF 00:57:10.703 - 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_17727736899406/PatModImg_Adv_0/20260306-005702-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 .
[2026-03-06T05:57:10.855Z] STF 00:57:10.703 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17727736899406/PatModImg_Adv_0/20260306-005702-PatModImgTest/results/2.CMJ.stderr
[2026-03-06T05:57:10.856Z] STF 00:57:10.703 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17727736899406/PatModImg_Adv_0/20260306-005702-PatModImgTest/results/2.CMJ.stdout
[2026-03-06T05:57:11.437Z] STF 00:57:10.733 - Monitoring processes: CMJ
[2026-03-06T05:57:12.467Z] STF 00:57:12.054 - Monitoring Report Summary:
[2026-03-06T05:57:12.467Z] STF 00:57:12.054 - o Process CMJ ended with the expected exit code (0)
[2026-03-06T05:57:12.467Z] STF 00:57:12.055 - Created modular jar: 2.com.hola.jar
[2026-03-06T05:57:12.467Z] STF 00:57:12.055 -
[2026-03-06T05:57:12.467Z] STF 00:57:12.055 - +------ Step 3 - Create com.helper jar
[2026-03-06T05:57:12.467Z] STF 00:57:12.055 - | Create modular jar
[2026-03-06T05:57:12.467Z] STF 00:57:12.055 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper
[2026-03-06T05:57:12.467Z] STF 00:57:12.055 - | ModuleVersion: null
[2026-03-06T05:57:12.467Z] STF 00:57:12.055 - | MainClass: null
[2026-03-06T05:57:12.467Z] STF 00:57:12.055 - | HashModules: null
[2026-03-06T05:57:12.467Z] STF 00:57:12.055 - |
[2026-03-06T05:57:12.467Z] STF 00:57:12.055 - 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_17727736899406/PatModImg_Adv_0/20260306-005702-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 .
[2026-03-06T05:57:12.467Z] STF 00:57:12.055 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17727736899406/PatModImg_Adv_0/20260306-005702-PatModImgTest/results/3.CMJ.stderr
[2026-03-06T05:57:12.467Z] STF 00:57:12.055 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17727736899406/PatModImg_Adv_0/20260306-005702-PatModImgTest/results/3.CMJ.stdout
[2026-03-06T05:57:12.467Z] STF 00:57:12.058 - Monitoring processes: CMJ
[2026-03-06T05:57:13.489Z] STF 00:57:12.862 - Monitoring Report Summary:
[2026-03-06T05:57:13.489Z] STF 00:57:12.862 - o Process CMJ ended with the expected exit code (0)
[2026-03-06T05:57:13.489Z] STF 00:57:12.862 - Created modular jar: 3.com.helper.jar
[2026-03-06T05:57:13.489Z] STF 00:57:12.862 -
[2026-03-06T05:57:13.489Z] STF 00:57:12.862 - +------ Step 4 - Create com.discreet jar
[2026-03-06T05:57:13.489Z] STF 00:57:12.862 - | Create modular jar
[2026-03-06T05:57:13.489Z] STF 00:57:12.862 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet
[2026-03-06T05:57:13.489Z] STF 00:57:12.862 - | ModuleVersion: null
[2026-03-06T05:57:13.489Z] STF 00:57:12.862 - | MainClass: null
[2026-03-06T05:57:13.489Z] STF 00:57:12.862 - | HashModules: null
[2026-03-06T05:57:13.489Z] STF 00:57:12.862 - |
[2026-03-06T05:57:13.489Z] STF 00:57:12.863 - 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_17727736899406/PatModImg_Adv_0/20260306-005702-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 .
[2026-03-06T05:57:13.489Z] STF 00:57:12.863 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17727736899406/PatModImg_Adv_0/20260306-005702-PatModImgTest/results/4.CMJ.stderr
[2026-03-06T05:57:13.489Z] STF 00:57:12.863 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17727736899406/PatModImg_Adv_0/20260306-005702-PatModImgTest/results/4.CMJ.stdout
[2026-03-06T05:57:13.489Z] STF 00:57:12.868 - Monitoring processes: CMJ
[2026-03-06T05:57:14.629Z] STF 00:57:14.069 - Monitoring Report Summary:
[2026-03-06T05:57:14.629Z] STF 00:57:14.079 - o Process CMJ ended with the expected exit code (0)
[2026-03-06T05:57:14.629Z] STF 00:57:14.081 - Created modular jar: 4.com.discreet.jar
[2026-03-06T05:57:14.629Z] STF 00:57:14.081 -
[2026-03-06T05:57:14.629Z] STF 00:57:14.081 - +------ Step 5 - Create tests jar
[2026-03-06T05:57:14.629Z] STF 00:57:14.081 - | Create modular jar
[2026-03-06T05:57:14.629Z] STF 00:57:14.081 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test
[2026-03-06T05:57:14.629Z] STF 00:57:14.082 - | ModuleVersion: null
[2026-03-06T05:57:14.629Z] STF 00:57:14.082 - | MainClass: null
[2026-03-06T05:57:14.629Z] STF 00:57:14.082 - | HashModules: null
[2026-03-06T05:57:14.629Z] STF 00:57:14.082 - |
[2026-03-06T05:57:14.629Z] STF 00:57:14.085 - 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_17727736899406/PatModImg_Adv_0/20260306-005702-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 .
[2026-03-06T05:57:14.629Z] STF 00:57:14.085 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17727736899406/PatModImg_Adv_0/20260306-005702-PatModImgTest/results/5.CMJ.stderr
[2026-03-06T05:57:14.629Z] STF 00:57:14.085 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17727736899406/PatModImg_Adv_0/20260306-005702-PatModImgTest/results/5.CMJ.stdout
[2026-03-06T05:57:14.629Z] STF 00:57:14.119 - Monitoring processes: CMJ
[2026-03-06T05:57:16.117Z] STF 00:57:15.398 - Monitoring Report Summary:
[2026-03-06T05:57:16.117Z] STF 00:57:15.398 - o Process CMJ ended with the expected exit code (0)
[2026-03-06T05:57:16.117Z] STF 00:57:15.398 - Created modular jar: 5.com.test.jar
[2026-03-06T05:57:16.117Z] STF 00:57:15.398 -
[2026-03-06T05:57:16.117Z] STF 00:57:15.398 - +------ Step 6 - Create runtime image for PatchModule test
[2026-03-06T05:57:16.117Z] STF 00:57:15.398 - | Run jlink to create runtime image
[2026-03-06T05:57:16.117Z] STF 00:57:15.398 - | ImageName: XpJVM
[2026-03-06T05:57:16.117Z] STF 00:57:15.398 - |
[2026-03-06T05:57:16.117Z] STF 00:57:15.399 - 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_17727736899406/PatModImg_Adv_0/20260306-005702-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_17727736899406/PatModImg_Adv_0/20260306-005702-PatModImgTest/tmp/6.XpJVM
[2026-03-06T05:57:16.117Z] STF 00:57:15.399 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17727736899406/PatModImg_Adv_0/20260306-005702-PatModImgTest/results/6.JLNK.stderr
[2026-03-06T05:57:16.117Z] STF 00:57:15.399 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17727736899406/PatModImg_Adv_0/20260306-005702-PatModImgTest/results/6.JLNK.stdout
[2026-03-06T05:57:16.117Z] STF 00:57:15.411 - Monitoring processes: JLNK
[2026-03-06T05:57:27.342Z] STF 00:57:26.351 - Monitoring Report Summary:
[2026-03-06T05:57:27.342Z] STF 00:57:26.351 - o Process JLNK ended with the expected exit code (0)
[2026-03-06T05:57:27.342Z] STF 00:57:26.352 -
[2026-03-06T05:57:27.342Z] STF 00:57:26.352 - +------ Step 7 - Create com.hello jar
[2026-03-06T05:57:27.342Z] STF 00:57:26.352 - | Create modular jar
[2026-03-06T05:57:27.342Z] STF 00:57:26.352 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello
[2026-03-06T05:57:27.342Z] STF 00:57:26.352 - | ModuleVersion: null
[2026-03-06T05:57:27.342Z] STF 00:57:26.352 - | MainClass: null
[2026-03-06T05:57:27.342Z] STF 00:57:26.352 - | HashModules: null
[2026-03-06T05:57:27.342Z] STF 00:57:26.352 - |
[2026-03-06T05:57:27.342Z] STF 00:57:26.352 - 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_17727736899406/PatModImg_Adv_0/20260306-005702-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 .
[2026-03-06T05:57:27.342Z] STF 00:57:26.352 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17727736899406/PatModImg_Adv_0/20260306-005702-PatModImgTest/results/7.CMJ.stderr
[2026-03-06T05:57:27.342Z] STF 00:57:26.352 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17727736899406/PatModImg_Adv_0/20260306-005702-PatModImgTest/results/7.CMJ.stdout
[2026-03-06T05:57:27.342Z] STF 00:57:26.357 - Monitoring processes: CMJ
[2026-03-06T05:57:29.616Z] STF 00:57:29.341 - Monitoring Report Summary:
[2026-03-06T05:57:29.616Z] STF 00:57:29.341 - o Process CMJ ended with the expected exit code (0)
[2026-03-06T05:57:29.616Z] STF 00:57:29.341 - Created modular jar: 7.com.hello.jar
[2026-03-06T05:57:29.616Z] STF 00:57:29.342 -
[2026-03-06T05:57:29.616Z] STF 00:57:29.342 - +------ Step 8 - create java.xml.jar
[2026-03-06T05:57:29.616Z] STF 00:57:29.342 - | Create modular jar
[2026-03-06T05:57:29.616Z] STF 00:57:29.342 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml
[2026-03-06T05:57:29.616Z] STF 00:57:29.342 - | ModuleVersion: null
[2026-03-06T05:57:29.616Z] STF 00:57:29.342 - | MainClass: null
[2026-03-06T05:57:29.616Z] STF 00:57:29.342 - | HashModules: null
[2026-03-06T05:57:29.616Z] STF 00:57:29.342 - |
[2026-03-06T05:57:29.616Z] STF 00:57:29.342 - 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_17727736899406/PatModImg_Adv_0/20260306-005702-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 .
[2026-03-06T05:57:29.616Z] STF 00:57:29.342 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17727736899406/PatModImg_Adv_0/20260306-005702-PatModImgTest/results/8.CMJ.stderr
[2026-03-06T05:57:29.616Z] STF 00:57:29.342 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17727736899406/PatModImg_Adv_0/20260306-005702-PatModImgTest/results/8.CMJ.stdout
[2026-03-06T05:57:29.616Z] STF 00:57:29.366 - Monitoring processes: CMJ
[2026-03-06T05:57:31.349Z] STF 00:57:31.053 - Monitoring Report Summary:
[2026-03-06T05:57:31.349Z] STF 00:57:31.053 - o Process CMJ ended with the expected exit code (0)
[2026-03-06T05:57:31.349Z] STF 00:57:31.054 - Created modular jar: 8.java.xml.jar
[2026-03-06T05:57:31.349Z] STF 00:57:31.054 -
[2026-03-06T05:57:31.349Z] STF 00:57:31.054 - +------ Step 9 - Run application class override test where we specify two exploded module paths in a single --patch-module option
[2026-03-06T05:57:31.349Z] STF 00:57:31.054 - | Run foreground process
[2026-03-06T05:57:31.349Z] STF 00:57:31.054 - | Program: /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17727736899406/PatModImg_Adv_0/20260306-005702-PatModImgTest/tmp/6.XpJVM/bin/java
[2026-03-06T05:57:31.349Z] STF 00:57:31.054 - | Mnemonic: OT1
[2026-03-06T05:57:31.349Z] STF 00:57:31.054 - | Echo: ECHO_ON
[2026-03-06T05:57:31.349Z] STF 00:57:31.054 - | Expectation: CLEAN_RUN within 5m
[2026-03-06T05:57:31.349Z] STF 00:57:31.054 - |
[2026-03-06T05:57:31.349Z] STF 00:57:31.054 - Running command: /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17727736899406/PatModImg_Adv_0/20260306-005702-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --add-exports com.hello/adoptopenjdk.test.modularity.newpkg=com.test --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:/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/com.hello -XX:+UseCompressedOops -classpath /Users/admin/workspace/externalDependency/system_lib/junit/junit.jar:/Users/admin/workspace/externalDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingMultipleFilePaths
[2026-03-06T05:57:31.349Z] STF 00:57:31.054 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17727736899406/PatModImg_Adv_0/20260306-005702-PatModImgTest/results/9.OT1.stderr
[2026-03-06T05:57:31.349Z] STF 00:57:31.054 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17727736899406/PatModImg_Adv_0/20260306-005702-PatModImgTest/results/9.OT1.stdout
[2026-03-06T05:57:31.349Z] STF 00:57:31.057 - Monitoring processes: OT1
[2026-03-06T05:57:46.547Z] OT1 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
[2026-03-06T05:57:46.547Z] OT1 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-new/com.hello
[2026-03-06T05:57:48.761Z] OT1 JUnit version 4.12
[2026-03-06T05:57:48.761Z] OT1 ...
[2026-03-06T05:57:48.761Z] OT1 Time: 0.019
[2026-03-06T05:57:48.761Z] OT1
[2026-03-06T05:57:48.761Z] OT1 OK (3 tests)
[2026-03-06T05:57:48.761Z] OT1
[2026-03-06T05:57:48.761Z] STF 00:57:48.202 - Monitoring Report Summary:
[2026-03-06T05:57:48.761Z] STF 00:57:48.202 - o Process OT1 ended with the expected exit code (0)
[2026-03-06T05:57:48.761Z] STF 00:57:48.203 -
[2026-03-06T05:57:48.761Z] STF 00:57:48.203 - +------ Step 10 - Verify if a module can be specified only once on --patch-module
[2026-03-06T05:57:48.761Z] STF 00:57:48.203 - | Run foreground process
[2026-03-06T05:57:48.761Z] STF 00:57:48.203 - | Program: /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17727736899406/PatModImg_Adv_0/20260306-005702-PatModImgTest/tmp/6.XpJVM/bin/java
[2026-03-06T05:57:48.761Z] STF 00:57:48.203 - | Mnemonic: OT7
[2026-03-06T05:57:48.761Z] STF 00:57:48.203 - | Echo: ECHO_ON
[2026-03-06T05:57:48.761Z] STF 00:57:48.203 - | Expectation: NON_ZERO_EXIT [1] within 5m
[2026-03-06T05:57:48.761Z] STF 00:57:48.203 - |
[2026-03-06T05:57:48.761Z] STF 00:57:48.203 - Running command: /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17727736899406/PatModImg_Adv_0/20260306-005702-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-new/com.hello --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/externalDependency/system_lib/junit/junit.jar:/Users/admin/workspace/externalDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingAppModule
[2026-03-06T05:57:48.761Z] STF 00:57:48.203 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17727736899406/PatModImg_Adv_0/20260306-005702-PatModImgTest/results/10.OT7.stderr
[2026-03-06T05:57:48.761Z] STF 00:57:48.203 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17727736899406/PatModImg_Adv_0/20260306-005702-PatModImgTest/results/10.OT7.stdout
[2026-03-06T05:57:48.761Z] STF 00:57:48.215 - Monitoring processes: OT7
[2026-03-06T05:57:49.756Z] OT7 Error occurred during initialization of boot layer
[2026-03-06T05:57:49.756Z] OT7 java.lang.ExceptionInInitializerError
[2026-03-06T05:57:49.756Z] OT7 Caused by: java.lang.RuntimeException: com.hello specified more than once to --patch-module
[2026-03-06T05:57:49.756Z] STF 00:57:49.343 - Monitoring Report Summary:
[2026-03-06T05:57:49.756Z] STF 00:57:49.343 - o Process OT7 ended with the expected exit code (1)
[2026-03-06T05:57:49.756Z] STF 00:57:49.343 -
[2026-03-06T05:57:49.756Z] STF 00:57:49.343 - +------ Step 11 - Combine stderr and stdout files of process OT7
[2026-03-06T05:57:49.757Z] STF 00:57:49.343 - | Run foreground process
[2026-03-06T05:57:49.757Z] STF 00:57:49.343 - | Program: /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/java
[2026-03-06T05:57:49.757Z] STF 00:57:49.343 - | Mnemonic: CO
[2026-03-06T05:57:49.757Z] STF 00:57:49.343 - | Echo: ECHO_OFF
[2026-03-06T05:57:49.757Z] STF 00:57:49.343 - | Expectation: NON_ZERO_EXIT [0] within 30s
[2026-03-06T05:57:49.757Z] STF 00:57:49.343 - |
[2026-03-06T05:57:49.757Z] STF 00:57:49.344 - Running command: /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/java -Dfile1=/Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17727736899406/PatModImg_Adv_0/20260306-005702-PatModImgTest/results/10.OT7.stdout -Dfile2=/Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17727736899406/PatModImg_Adv_0/20260306-005702-PatModImgTest/results/10.OT7.stderr -Dfinal.file=/Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17727736899406/PatModImg_Adv_0/20260306-005702-PatModImgTest/results/combinedOT7.txt -XX:+UseCompressedOops -classpath /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/STF/stf.core/bin:/Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin net.adoptopenjdk.test.modularity.TestUtil
[2026-03-06T05:57:49.757Z] STF 00:57:49.344 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17727736899406/PatModImg_Adv_0/20260306-005702-PatModImgTest/results/11.CO.stderr
[2026-03-06T05:57:49.757Z] STF 00:57:49.344 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17727736899406/PatModImg_Adv_0/20260306-005702-PatModImgTest/results/11.CO.stdout
[2026-03-06T05:57:49.757Z] STF 00:57:49.361 - Monitoring processes: CO
[2026-03-06T05:57:50.765Z] STF 00:57:50.123 - Monitoring Report Summary:
[2026-03-06T05:57:50.765Z] STF 00:57:50.123 - o Process CO ended with the expected exit code (0)
[2026-03-06T05:57:50.765Z] STF 00:57:50.123 -
[2026-03-06T05:57:50.765Z] STF 00:57:50.123 - +------ Step 12 - Check output
[2026-03-06T05:57:50.765Z] STF 00:57:50.123 - | Count file matches
[2026-03-06T05:57:50.765Z] STF 00:57:50.123 - | TargetFile: /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17727736899406/PatModImg_Adv_0/20260306-005702-PatModImgTest/results/combinedOT7.txt
[2026-03-06T05:57:50.765Z] STF 00:57:50.123 - | ExpectedNumMatches: 1
[2026-03-06T05:57:50.765Z] STF 00:57:50.123 - | SearchStrings: ["java.lang.ExceptionInInitializerError"]
[2026-03-06T05:57:50.765Z] STF 00:57:50.123 - |
[2026-03-06T05:57:50.765Z] STF 00:57:50.123 - Found 1 instances of ["java.lang.ExceptionInInitializerError"]
[2026-03-06T05:57:50.765Z] STF 00:57:50.123 -
[2026-03-06T05:57:50.765Z] STF 00:57:50.123 - +------ Step 13 - (Negative test) Verify if --patch-module allows replacing of module-info.class
[2026-03-06T05:57:50.765Z] STF 00:57:50.123 - | Run foreground process
[2026-03-06T05:57:50.765Z] STF 00:57:50.124 - | Program: /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17727736899406/PatModImg_Adv_0/20260306-005702-PatModImgTest/tmp/6.XpJVM/bin/java
[2026-03-06T05:57:50.765Z] STF 00:57:50.124 - | Mnemonic: OT8
[2026-03-06T05:57:50.765Z] STF 00:57:50.124 - | Echo: ECHO_ON
[2026-03-06T05:57:50.765Z] STF 00:57:50.124 - | Expectation: NON_ZERO_EXIT [1] within 5m
[2026-03-06T05:57:50.765Z] STF 00:57:50.124 - |
[2026-03-06T05:57:50.766Z] STF 00:57:50.124 - Running command: /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17727736899406/PatModImg_Adv_0/20260306-005702-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-new/com.hello -XX:+UseCompressedOops -classpath /Users/admin/workspace/externalDependency/system_lib/junit/junit.jar:/Users/admin/workspace/externalDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingUnexportedPublicType
[2026-03-06T05:57:50.766Z] STF 00:57:50.124 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17727736899406/PatModImg_Adv_0/20260306-005702-PatModImgTest/results/13.OT8.stderr
[2026-03-06T05:57:50.766Z] STF 00:57:50.124 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17727736899406/PatModImg_Adv_0/20260306-005702-PatModImgTest/results/13.OT8.stdout
[2026-03-06T05:57:50.766Z] STF 00:57:50.127 - Monitoring processes: OT8
[2026-03-06T05:57:51.448Z] OT8 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-new/com.hello
[2026-03-06T05:57:51.448Z] OT8 JUnit version 4.12
[2026-03-06T05:57:52.456Z] OT8 .E
[2026-03-06T05:57:52.456Z] OT8 Time: 0.018
[2026-03-06T05:57:52.456Z] OT8 There was 1 failure:
[2026-03-06T05:57:52.456Z] OT8 1) testPatchingOfNewClassInExistingPackage(net.adoptopenjdk.test.modularity.junit.TestOverrideUsingUnexportedPublicType)
[2026-03-06T05:57:52.456Z] OT8 java.lang.IllegalAccessException: class net.adoptopenjdk.test.modularity.junit.TestOverrideUsingUnexportedPublicType (in module com.test) cannot access class adoptopenjdk.test.modularity.newpkg.NewClass2 (in module com.hello) because module com.hello does not export adoptopenjdk.test.modularity.newpkg to module com.test
[2026-03-06T05:57:52.456Z] OT8 at java.base/jdk.internal.reflect.Reflection.newIllegalAccessException(Reflection.java:400)
[2026-03-06T05:57:52.456Z] OT8 at java.base/java.lang.reflect.AccessibleObject.checkAccess(AccessibleObject.java:670)
[2026-03-06T05:57:52.456Z] OT8 at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:492)
[2026-03-06T05:57:52.456Z] OT8 at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:483)
[2026-03-06T05:57:52.456Z] OT8 at com.test/net.adoptopenjdk.test.modularity.junit.TestOverrideUsingUnexportedPublicType.testPatchingOfNewClassInExistingPackage(TestOverrideUsingUnexportedPublicType.java:34)
[2026-03-06T05:57:52.456Z] OT8 at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
[2026-03-06T05:57:52.456Z] OT8 at java.base/java.lang.reflect.Method.invoke(Method.java:565)
[2026-03-06T05:57:52.456Z] OT8 at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
[2026-03-06T05:57:52.456Z] OT8 at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
[2026-03-06T05:57:52.456Z] OT8 at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
[2026-03-06T05:57:52.456Z] OT8 at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
[2026-03-06T05:57:52.456Z] OT8 at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
[2026-03-06T05:57:52.456Z] OT8 at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
[2026-03-06T05:57:52.456Z] OT8 at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
[2026-03-06T05:57:52.456Z] OT8 at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
[2026-03-06T05:57:52.456Z] OT8 at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
[2026-03-06T05:57:52.456Z] OT8 at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
[2026-03-06T05:57:52.456Z] OT8 at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
[2026-03-06T05:57:52.456Z] OT8 at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
[2026-03-06T05:57:52.456Z] OT8 at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
[2026-03-06T05:57:52.456Z] OT8 at org.junit.runners.Suite.runChild(Suite.java:128)
[2026-03-06T05:57:52.456Z] OT8 at org.junit.runners.Suite.runChild(Suite.java:27)
[2026-03-06T05:57:52.456Z] OT8 at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
[2026-03-06T05:57:52.456Z] OT8 at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
[2026-03-06T05:57:52.456Z] OT8 at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
[2026-03-06T05:57:52.456Z] OT8 at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
[2026-03-06T05:57:52.456Z] OT8 at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
[2026-03-06T05:57:52.456Z] OT8 at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
[2026-03-06T05:57:52.456Z] OT8 at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
[2026-03-06T05:57:52.457Z] OT8 at org.junit.runner.JUnitCore.run(JUnitCore.java:115)
[2026-03-06T05:57:52.457Z] OT8 at org.junit.runner.JUnitCore.runMain(JUnitCore.java:77)
[2026-03-06T05:57:52.457Z] OT8 at org.junit.runner.JUnitCore.main(JUnitCore.java:36)
[2026-03-06T05:57:52.457Z] OT8
[2026-03-06T05:57:52.457Z] OT8 FAILURES!!!
[2026-03-06T05:57:52.457Z] OT8 Tests run: 1, Failures: 1
[2026-03-06T05:57:52.457Z] OT8
[2026-03-06T05:57:52.457Z] STF 00:57:51.933 - Monitoring Report Summary:
[2026-03-06T05:57:52.457Z] STF 00:57:51.933 - o Process OT8 ended with the expected exit code (1)
[2026-03-06T05:57:52.457Z] STF 00:57:51.934 -
[2026-03-06T05:57:52.457Z] STF 00:57:51.934 - +------ Step 14 - Check output
[2026-03-06T05:57:52.457Z] STF 00:57:51.934 - | Count file matches
[2026-03-06T05:57:52.457Z] STF 00:57:51.934 - | TargetFile: /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17727736899406/PatModImg_Adv_0/20260306-005702-PatModImgTest/results/13.OT8.stdout
[2026-03-06T05:57:52.457Z] STF 00:57:51.934 - | ExpectedNumMatches: 1
[2026-03-06T05:57:52.457Z] STF 00:57:51.934 - | SearchStrings: ["java.lang.IllegalAccessException"]
[2026-03-06T05:57:52.457Z] STF 00:57:51.934 - |
[2026-03-06T05:57:52.457Z] STF 00:57:51.934 - Found 1 instances of ["java.lang.IllegalAccessException"]
[2026-03-06T05:57:52.457Z] STF 00:57:51.934 - EXECUTE stage completed
[2026-03-06T05:57:52.457Z] STF 00:57:51.985 -
[2026-03-06T05:57:52.457Z] STF 00:57:51.985 - ==================== T E A R D O W N ====================
[2026-03-06T05:57:52.457Z] STF 00:57:51.985 - Running teardown: perl /Users/admin/workspace/workspace/Test_openjdk25_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17727736899406/PatModImg_Adv_0/20260306-005702-PatModImgTest/tearDown.pl
[2026-03-06T05:57:52.457Z] STF 00:57:52.148 - TEARDOWN stage completed
[2026-03-06T05:57:52.457Z] STF 00:57:52.189 -
[2026-03-06T05:57:52.457Z] STF 00:57:52.189 - ===================== R E S U L T S =====================
[2026-03-06T05:57:52.457Z] STF 00:57:52.189 - Stage results:
[2026-03-06T05:57:52.457Z] STF 00:57:52.189 - setUp: pass
[2026-03-06T05:57:52.457Z] STF 00:57:52.189 - execute: pass
[2026-03-06T05:57:52.457Z] STF 00:57:52.189 - teardown: pass
[2026-03-06T05:57:52.457Z] STF 00:57:52.189 -
[2026-03-06T05:57:52.457Z] STF 00:57:52.189 - Overall result: PASSED
[2026-03-06T05:57:52.457Z] -----------------------------------
[2026-03-06T05:57:52.457Z] PatModImg_Adv_0_PASSED
[2026-03-06T05:57:52.457Z] -----------------------------------
[2026-03-06T05:57:52.457Z]
[2026-03-06T05:57:52.457Z] TEST TEARDOWN:
[2026-03-06T05:57:52.457Z] Nothing to be done for teardown.
[2026-03-06T05:57:52.457Z] PatModImg_Adv_0 Finish Time: Fri Mar 6 00:57:52 2026 Epoch Time (ms): 1772776672306