PatModImg_AppMod_0

[2025-06-30T20:33:29.491Z] Running test PatModImg_AppMod_0 ... [2025-06-30T20:33:29.491Z] =============================================== [2025-06-30T20:33:29.900Z] PatModImg_AppMod_0 Start Time: Mon Jun 30 13:33:27 2025 Epoch Time (ms): 1751315607394 [2025-06-30T20:33:29.900Z] variation: Mode150 [2025-06-30T20:33:29.900Z] JVM_OPTIONS: -XX:+UseCompressedOops [2025-06-30T20:33:29.900Z] { \ [2025-06-30T20:33:29.900Z] echo ""; echo "TEST SETUP:"; \ [2025-06-30T20:33:29.900Z] echo "Nothing to be done for setup."; \ [2025-06-30T20:33:29.900Z] mkdir -p "/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17513145465648/PatModImg_AppMod_0"; \ [2025-06-30T20:33:29.900Z] cd "/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17513145465648/PatModImg_AppMod_0"; \ [2025-06-30T20:33:29.900Z] echo ""; echo "TESTING:"; \ [2025-06-30T20:33:29.900Z] perl /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF/stf.core/scripts/stf.pl -test-root="/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF;/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../../jvmtest/system/modularity/..//aqa-systemtest""" -systemtest-prereqs="/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/../../testDependency/system_lib/" -java-args=' -XX:+UseCompressedOops ' -results-root="/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17513145465648/PatModImg_AppMod_0" -test=PatModImgTest -test-args="variant=AppMod"; \ [2025-06-30T20:33:29.900Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatModImg_AppMod_0""_PASSED"; echo "-----------------------------------"; cd /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/..; rm -f -r "/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17513145465648/PatModImg_AppMod_0"; else echo "-----------------------------------"; echo "PatModImg_AppMod_0""_FAILED"; echo "-----------------------------------"; fi; \ [2025-06-30T20:33:29.900Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-06-30T20:33:29.900Z] echo "Nothing to be done for teardown."; \ [2025-06-30T20:33:29.900Z] } 2>&1 | tee -a "/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17513145465648/TestTargetResult"; [2025-06-30T20:33:29.900Z] [2025-06-30T20:33:29.900Z] TEST SETUP: [2025-06-30T20:33:29.900Z] Nothing to be done for setup. [2025-06-30T20:33:29.900Z] [2025-06-30T20:33:29.900Z] TESTING: [2025-06-30T20:33:29.900Z] STF 13:33:27.666 - ========================= S T F ========================= [2025-06-30T20:33:29.900Z] systemtest-prereqs has been processed, and set to: /Users/admin/workspace/testDependency/system_libRetrieving amount of free space on drive containing /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17513145465648/PatModImg_AppMod_0 [2025-06-30T20:33:29.900Z] There is 12580 Mb free [2025-06-30T20:33:29.900Z] STF 13:33:27.695 - ================== G E N E R A T I O N ================== [2025-06-30T20:33:29.900Z] STF 13:33:27.697 - Checking JVM: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/../ [2025-06-30T20:33:29.901Z] STF 13:33:27.697 - Starting process to generate scripts: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/..//bin/java -Dlog4j.skipJansi=true -Djava.system.class.loader=net.adoptopenjdk.stf.runner.StfClassLoader -Dload.agent.path=/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/STF/stf.core/scripts/../../stf.load/bin/stf.load.jar -classpath /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/../../testDependency/system_lib//asm/asm.jar:/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/../../testDependency/system_lib//asm/asm-commons.jar:/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/../../testDependency/system_lib//log4j/log4j-api.jar:/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/../../testDependency/system_lib//log4j/log4j-core.jar:/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17513145465648/PatModImg_AppMod_0/20250630-133327-PatModImgTest/stf_parameters.properties, , /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17513145465648/PatModImg_AppMod_0/20250630-133327-PatModImgTest" [2025-06-30T20:33:30.488Z] GEN stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-06-30T20:33:33.667Z] GEN 13:33:30.907 - Found test. Project: 'openjdk.test.modularity' class: 'PatModImgTest.class' Dir: '/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin' [2025-06-30T20:33:33.667Z] GEN 13:33:30.926 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModImgTest' [2025-06-30T20:33:34.685Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2025-06-30T20:33:34.685Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayService [2025-06-30T20:33:34.685Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper [2025-06-30T20:33:34.685Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl1 [2025-06-30T20:33:34.685Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet [2025-06-30T20:33:34.685Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello [2025-06-30T20:33:34.685Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola [2025-06-30T20:33:34.685Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl2 [2025-06-30T20:33:34.685Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hi [2025-06-30T20:33:34.685Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override [2025-06-30T20:33:34.685Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override-new [2025-06-30T20:33:34.685Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl3 [2025-06-30T20:33:34.685Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl4 [2025-06-30T20:33:34.685Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common [2025-06-30T20:33:34.685Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests [2025-06-30T20:33:34.685Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin [2025-06-30T20:33:34.685Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/STF/stf.core/bin [2025-06-30T20:33:34.685Z] GEN /Users/admin/workspace/testDependency/system_lib/log4j/log4j-api.jar [2025-06-30T20:33:34.685Z] GEN /Users/admin/workspace/testDependency/system_lib/log4j/log4j-core.jar [2025-06-30T20:33:34.685Z] GEN /Users/admin/workspace/testDependency/system_lib/junit/junit.jar [2025-06-30T20:33:35.136Z] GEN 13:33:32.566 - Using Mode NoOptions. Values = '' [2025-06-30T20:33:35.136Z] GEN 13:33:32.698 - [2025-06-30T20:33:35.136Z] GEN 13:33:32.698 - Test command summary: [2025-06-30T20:33:35.136Z] GEN 13:33:32.698 - Step Stage Command Description [2025-06-30T20:33:35.136Z] GEN 13:33:32.699 - -----+--------+-----------------+------------ [2025-06-30T20:33:35.136Z] GEN 13:33:32.699 - 1 execute jar Create com.hello jar [2025-06-30T20:33:35.136Z] GEN 13:33:32.699 - 2 execute jar Create com.hola jar [2025-06-30T20:33:35.136Z] GEN 13:33:32.699 - 3 execute jar Create com.helper jar [2025-06-30T20:33:35.136Z] GEN 13:33:32.699 - 4 execute jar Create com.discreet jar [2025-06-30T20:33:35.136Z] GEN 13:33:32.699 - 5 execute jar Create tests jar [2025-06-30T20:33:35.136Z] GEN 13:33:32.699 - 6 execute jlink Create runtime image for PatchModule test [2025-06-30T20:33:35.136Z] GEN 13:33:32.711 - 7 execute jar Create com.hello jar [2025-06-30T20:33:35.136Z] GEN 13:33:32.711 - 8 execute jar create java.xml.jar [2025-06-30T20:33:35.136Z] GEN 13:33:32.711 - 9 execute Run java Verify if we can patch an Application module using exploded directory [2025-06-30T20:33:35.136Z] GEN 13:33:32.712 - 10 execute Run java Verify if we can patch an Application module using modular jar [2025-06-30T20:33:35.136Z] STF 13:33:32.833 - [2025-06-30T20:33:35.136Z] STF 13:33:32.833 - Script generation completed [2025-06-30T20:33:35.136Z] STF 13:33:32.833 - [2025-06-30T20:33:35.136Z] STF 13:33:32.834 - [2025-06-30T20:33:35.136Z] STF 13:33:32.834 - ======================= S E T U P ======================= [2025-06-30T20:33:35.136Z] STF 13:33:32.834 - Running setup: perl /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17513145465648/PatModImg_AppMod_0/20250630-133327-PatModImgTest/setUp.pl [2025-06-30T20:33:35.136Z] STF 13:33:32.969 - SETUP stage completed [2025-06-30T20:33:35.136Z] STF 13:33:32.984 - [2025-06-30T20:33:35.136Z] STF 13:33:32.984 - ==================== E X E C U T E - ==================== [2025-06-30T20:33:35.137Z] STF 13:33:32.984 - Running execute: perl /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17513145465648/PatModImg_AppMod_0/20250630-133327-PatModImgTest/execute.pl [2025-06-30T20:33:35.573Z] STF 13:33:33.132 - [2025-06-30T20:33:35.573Z] STF 13:33:33.132 - Java version [2025-06-30T20:33:35.573Z] STF 13:33:33.132 - Running: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/java -version [2025-06-30T20:33:35.573Z] Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-06-30T20:33:35.573Z] openjdk version "21.0.8-beta" 2025-07-15 [2025-06-30T20:33:35.573Z] OpenJDK Runtime Environment Temurin-21.0.8+8-202506301841 (build 21.0.8-beta+8-202506301841) [2025-06-30T20:33:35.573Z] OpenJDK 64-Bit Server VM Temurin-21.0.8+8-202506301841 (build 21.0.8-beta+8-202506301841, mixed mode) [2025-06-30T20:33:35.573Z] STF 13:33:33.346 - [2025-06-30T20:33:35.573Z] STF 13:33:33.346 - +------ Step 1 - Create com.hello jar [2025-06-30T20:33:35.573Z] STF 13:33:33.346 - | Create modular jar [2025-06-30T20:33:35.573Z] STF 13:33:33.346 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2025-06-30T20:33:35.573Z] STF 13:33:33.346 - | ModuleVersion: null [2025-06-30T20:33:35.573Z] STF 13:33:33.346 - | MainClass: null [2025-06-30T20:33:35.573Z] STF 13:33:33.346 - | HashModules: null [2025-06-30T20:33:35.573Z] STF 13:33:33.346 - | [2025-06-30T20:33:35.573Z] STF 13:33:33.347 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17513145465648/PatModImg_AppMod_0/20250630-133327-PatModImgTest/modules/1.com.hello.jar -C /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello . [2025-06-30T20:33:35.573Z] STF 13:33:33.347 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17513145465648/PatModImg_AppMod_0/20250630-133327-PatModImgTest/results/1.CMJ.stderr [2025-06-30T20:33:35.574Z] STF 13:33:33.347 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17513145465648/PatModImg_AppMod_0/20250630-133327-PatModImgTest/results/1.CMJ.stdout [2025-06-30T20:33:36.057Z] STF 13:33:33.386 - Monitoring processes: CMJ [2025-06-30T20:33:36.057Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-06-30T20:33:37.760Z] STF 13:33:35.525 - Monitoring Report Summary: [2025-06-30T20:33:37.760Z] STF 13:33:35.525 - o Process CMJ ended with the expected exit code (0) [2025-06-30T20:33:37.760Z] STF 13:33:35.525 - Created modular jar: 1.com.hello.jar [2025-06-30T20:33:37.760Z] STF 13:33:35.525 - [2025-06-30T20:33:37.760Z] STF 13:33:35.525 - +------ Step 2 - Create com.hola jar [2025-06-30T20:33:37.760Z] STF 13:33:35.525 - | Create modular jar [2025-06-30T20:33:37.760Z] STF 13:33:35.525 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2025-06-30T20:33:37.760Z] STF 13:33:35.525 - | ModuleVersion: null [2025-06-30T20:33:37.760Z] STF 13:33:35.525 - | MainClass: null [2025-06-30T20:33:37.760Z] STF 13:33:35.525 - | HashModules: null [2025-06-30T20:33:37.760Z] STF 13:33:35.525 - | [2025-06-30T20:33:37.760Z] STF 13:33:35.526 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17513145465648/PatModImg_AppMod_0/20250630-133327-PatModImgTest/modules/2.com.hola.jar -C /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola . [2025-06-30T20:33:37.760Z] STF 13:33:35.526 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17513145465648/PatModImg_AppMod_0/20250630-133327-PatModImgTest/results/2.CMJ.stderr [2025-06-30T20:33:37.760Z] STF 13:33:35.526 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17513145465648/PatModImg_AppMod_0/20250630-133327-PatModImgTest/results/2.CMJ.stdout [2025-06-30T20:33:37.760Z] STF 13:33:35.528 - Monitoring processes: CMJ [2025-06-30T20:33:37.760Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-06-30T20:33:38.704Z] STF 13:33:36.160 - Monitoring Report Summary: [2025-06-30T20:33:38.705Z] STF 13:33:36.160 - o Process CMJ ended with the expected exit code (0) [2025-06-30T20:33:38.705Z] STF 13:33:36.160 - Created modular jar: 2.com.hola.jar [2025-06-30T20:33:38.705Z] STF 13:33:36.160 - [2025-06-30T20:33:38.705Z] STF 13:33:36.160 - +------ Step 3 - Create com.helper jar [2025-06-30T20:33:38.705Z] STF 13:33:36.160 - | Create modular jar [2025-06-30T20:33:38.705Z] STF 13:33:36.160 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2025-06-30T20:33:38.705Z] STF 13:33:36.160 - | ModuleVersion: null [2025-06-30T20:33:38.705Z] STF 13:33:36.160 - | MainClass: null [2025-06-30T20:33:38.705Z] STF 13:33:36.160 - | HashModules: null [2025-06-30T20:33:38.705Z] STF 13:33:36.160 - | [2025-06-30T20:33:38.705Z] STF 13:33:36.161 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17513145465648/PatModImg_AppMod_0/20250630-133327-PatModImgTest/modules/3.com.helper.jar -C /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper . [2025-06-30T20:33:38.705Z] STF 13:33:36.161 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17513145465648/PatModImg_AppMod_0/20250630-133327-PatModImgTest/results/3.CMJ.stderr [2025-06-30T20:33:38.705Z] STF 13:33:36.161 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17513145465648/PatModImg_AppMod_0/20250630-133327-PatModImgTest/results/3.CMJ.stdout [2025-06-30T20:33:38.705Z] STF 13:33:36.164 - Monitoring processes: CMJ [2025-06-30T20:33:38.705Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-06-30T20:33:39.117Z] STF 13:33:36.974 - Monitoring Report Summary: [2025-06-30T20:33:39.118Z] STF 13:33:36.974 - o Process CMJ ended with the expected exit code (0) [2025-06-30T20:33:39.118Z] STF 13:33:36.974 - Created modular jar: 3.com.helper.jar [2025-06-30T20:33:39.118Z] STF 13:33:36.974 - [2025-06-30T20:33:39.118Z] STF 13:33:36.974 - +------ Step 4 - Create com.discreet jar [2025-06-30T20:33:39.118Z] STF 13:33:36.974 - | Create modular jar [2025-06-30T20:33:39.118Z] STF 13:33:36.974 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2025-06-30T20:33:39.118Z] STF 13:33:36.974 - | ModuleVersion: null [2025-06-30T20:33:39.118Z] STF 13:33:36.974 - | MainClass: null [2025-06-30T20:33:39.118Z] STF 13:33:36.974 - | HashModules: null [2025-06-30T20:33:39.118Z] STF 13:33:36.974 - | [2025-06-30T20:33:39.118Z] STF 13:33:36.975 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17513145465648/PatModImg_AppMod_0/20250630-133327-PatModImgTest/modules/4.com.discreet.jar -C /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet . [2025-06-30T20:33:39.118Z] STF 13:33:36.975 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17513145465648/PatModImg_AppMod_0/20250630-133327-PatModImgTest/results/4.CMJ.stderr [2025-06-30T20:33:39.118Z] STF 13:33:36.975 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17513145465648/PatModImg_AppMod_0/20250630-133327-PatModImgTest/results/4.CMJ.stdout [2025-06-30T20:33:39.118Z] STF 13:33:36.977 - Monitoring processes: CMJ [2025-06-30T20:33:39.568Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-06-30T20:33:41.256Z] STF 13:33:38.978 - Monitoring Report Summary: [2025-06-30T20:33:41.256Z] STF 13:33:38.978 - o Process CMJ ended with the expected exit code (0) [2025-06-30T20:33:41.256Z] STF 13:33:38.978 - Created modular jar: 4.com.discreet.jar [2025-06-30T20:33:41.256Z] STF 13:33:38.978 - [2025-06-30T20:33:41.256Z] STF 13:33:38.978 - +------ Step 5 - Create tests jar [2025-06-30T20:33:41.256Z] STF 13:33:38.979 - | Create modular jar [2025-06-30T20:33:41.256Z] STF 13:33:38.979 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2025-06-30T20:33:41.256Z] STF 13:33:38.979 - | ModuleVersion: null [2025-06-30T20:33:41.256Z] STF 13:33:38.979 - | MainClass: null [2025-06-30T20:33:41.256Z] STF 13:33:38.979 - | HashModules: null [2025-06-30T20:33:41.256Z] STF 13:33:38.979 - | [2025-06-30T20:33:41.256Z] STF 13:33:38.979 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17513145465648/PatModImg_AppMod_0/20250630-133327-PatModImgTest/modules/5.com.test.jar -C /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test . [2025-06-30T20:33:41.256Z] STF 13:33:38.979 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17513145465648/PatModImg_AppMod_0/20250630-133327-PatModImgTest/results/5.CMJ.stderr [2025-06-30T20:33:41.256Z] STF 13:33:38.979 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17513145465648/PatModImg_AppMod_0/20250630-133327-PatModImgTest/results/5.CMJ.stdout [2025-06-30T20:33:41.256Z] STF 13:33:38.981 - Monitoring processes: CMJ [2025-06-30T20:33:41.256Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-06-30T20:33:42.129Z] STF 13:33:39.683 - Monitoring Report Summary: [2025-06-30T20:33:42.129Z] STF 13:33:39.683 - o Process CMJ ended with the expected exit code (0) [2025-06-30T20:33:42.129Z] STF 13:33:39.683 - Created modular jar: 5.com.test.jar [2025-06-30T20:33:42.129Z] STF 13:33:39.683 - [2025-06-30T20:33:42.129Z] STF 13:33:39.683 - +------ Step 6 - Create runtime image for PatchModule test [2025-06-30T20:33:42.129Z] STF 13:33:39.683 - | Run jlink to create runtime image [2025-06-30T20:33:42.129Z] STF 13:33:39.683 - | ImageName: XpJVM [2025-06-30T20:33:42.129Z] STF 13:33:39.683 - | [2025-06-30T20:33:42.129Z] STF 13:33:39.683 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/jlink --module-path /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/jmods:/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17513145465648/PatModImg_AppMod_0/20250630-133327-PatModImgTest/modules --add-modules com.hello,com.hola,com.test,com.helper,com.discreet --output /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17513145465648/PatModImg_AppMod_0/20250630-133327-PatModImgTest/tmp/6.XpJVM [2025-06-30T20:33:42.129Z] STF 13:33:39.683 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17513145465648/PatModImg_AppMod_0/20250630-133327-PatModImgTest/results/6.JLNK.stderr [2025-06-30T20:33:42.129Z] STF 13:33:39.683 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17513145465648/PatModImg_AppMod_0/20250630-133327-PatModImgTest/results/6.JLNK.stdout [2025-06-30T20:33:42.129Z] STF 13:33:39.686 - Monitoring processes: JLNK [2025-06-30T20:33:42.129Z] JLNK stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-06-30T20:33:51.227Z] STF 13:33:48.753 - Monitoring Report Summary: [2025-06-30T20:33:51.227Z] STF 13:33:48.753 - o Process JLNK ended with the expected exit code (0) [2025-06-30T20:33:51.227Z] STF 13:33:48.753 - [2025-06-30T20:33:51.227Z] STF 13:33:48.753 - +------ Step 7 - Create com.hello jar [2025-06-30T20:33:51.227Z] STF 13:33:48.753 - | Create modular jar [2025-06-30T20:33:51.227Z] STF 13:33:48.754 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2025-06-30T20:33:51.227Z] STF 13:33:48.754 - | ModuleVersion: null [2025-06-30T20:33:51.227Z] STF 13:33:48.754 - | MainClass: null [2025-06-30T20:33:51.227Z] STF 13:33:48.754 - | HashModules: null [2025-06-30T20:33:51.227Z] STF 13:33:48.754 - | [2025-06-30T20:33:51.227Z] STF 13:33:48.754 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17513145465648/PatModImg_AppMod_0/20250630-133327-PatModImgTest/modules/7.com.hello.jar -C /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello . [2025-06-30T20:33:51.227Z] STF 13:33:48.754 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17513145465648/PatModImg_AppMod_0/20250630-133327-PatModImgTest/results/7.CMJ.stderr [2025-06-30T20:33:51.227Z] STF 13:33:48.754 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17513145465648/PatModImg_AppMod_0/20250630-133327-PatModImgTest/results/7.CMJ.stdout [2025-06-30T20:33:51.227Z] STF 13:33:48.791 - Monitoring processes: CMJ [2025-06-30T20:33:51.227Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-06-30T20:33:53.807Z] STF 13:33:51.033 - Monitoring Report Summary: [2025-06-30T20:33:53.807Z] STF 13:33:51.033 - o Process CMJ ended with the expected exit code (0) [2025-06-30T20:33:53.807Z] STF 13:33:51.034 - Created modular jar: 7.com.hello.jar [2025-06-30T20:33:53.807Z] STF 13:33:51.034 - [2025-06-30T20:33:53.807Z] STF 13:33:51.034 - +------ Step 8 - create java.xml.jar [2025-06-30T20:33:53.807Z] STF 13:33:51.035 - | Create modular jar [2025-06-30T20:33:53.807Z] STF 13:33:51.057 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml [2025-06-30T20:33:53.807Z] STF 13:33:51.057 - | ModuleVersion: null [2025-06-30T20:33:53.807Z] STF 13:33:51.057 - | MainClass: null [2025-06-30T20:33:53.807Z] STF 13:33:51.057 - | HashModules: null [2025-06-30T20:33:53.807Z] STF 13:33:51.057 - | [2025-06-30T20:33:53.807Z] STF 13:33:51.088 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17513145465648/PatModImg_AppMod_0/20250630-133327-PatModImgTest/modules/8.java.xml.jar -C /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/java.xml . [2025-06-30T20:33:53.807Z] STF 13:33:51.088 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17513145465648/PatModImg_AppMod_0/20250630-133327-PatModImgTest/results/8.CMJ.stderr [2025-06-30T20:33:53.807Z] STF 13:33:51.088 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17513145465648/PatModImg_AppMod_0/20250630-133327-PatModImgTest/results/8.CMJ.stdout [2025-06-30T20:33:53.807Z] STF 13:33:51.127 - Monitoring processes: CMJ [2025-06-30T20:33:53.807Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-06-30T20:33:54.230Z] STF 13:33:51.936 - Monitoring Report Summary: [2025-06-30T20:33:54.230Z] STF 13:33:51.936 - o Process CMJ ended with the expected exit code (0) [2025-06-30T20:33:54.230Z] STF 13:33:51.937 - Created modular jar: 8.java.xml.jar [2025-06-30T20:33:54.230Z] STF 13:33:51.937 - [2025-06-30T20:33:54.230Z] STF 13:33:51.937 - +------ Step 9 - Verify if we can patch an Application module using exploded directory [2025-06-30T20:33:54.230Z] STF 13:33:51.937 - | Run foreground process [2025-06-30T20:33:54.230Z] STF 13:33:51.937 - | Program: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17513145465648/PatModImg_AppMod_0/20250630-133327-PatModImgTest/tmp/6.XpJVM/bin/java [2025-06-30T20:33:54.230Z] STF 13:33:51.937 - | Mnemonic: OT21 [2025-06-30T20:33:54.230Z] STF 13:33:51.937 - | Echo: ECHO_ON [2025-06-30T20:33:54.230Z] STF 13:33:51.937 - | Expectation: CLEAN_RUN within 5m [2025-06-30T20:33:54.230Z] STF 13:33:51.937 - | [2025-06-30T20:33:54.230Z] STF 13:33:51.937 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17513145465648/PatModImg_AppMod_0/20250630-133327-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module com.hello=/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello -XX:+UseCompressedOops -classpath /Users/admin/workspace/testDependency/system_lib/junit/junit.jar:/Users/admin/workspace/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingAppModule [2025-06-30T20:33:54.230Z] STF 13:33:51.937 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17513145465648/PatModImg_AppMod_0/20250630-133327-PatModImgTest/results/9.OT21.stderr [2025-06-30T20:33:54.230Z] STF 13:33:51.937 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17513145465648/PatModImg_AppMod_0/20250630-133327-PatModImgTest/results/9.OT21.stdout [2025-06-30T20:33:54.230Z] STF 13:33:51.950 - Monitoring processes: OT21 [2025-06-30T20:33:56.288Z] OT21 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-06-30T20:33:57.746Z] OT21 stderr WARNING: module-info.class ignored in patch: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello [2025-06-30T20:33:58.658Z] OT21 JUnit version 4.12 [2025-06-30T20:33:58.658Z] OT21 . [2025-06-30T20:33:58.658Z] OT21 Time: 0.013 [2025-06-30T20:33:58.658Z] OT21 [2025-06-30T20:33:58.658Z] OT21 OK (1 test) [2025-06-30T20:33:58.658Z] OT21 [2025-06-30T20:33:58.658Z] STF 13:33:56.075 - Monitoring Report Summary: [2025-06-30T20:33:58.658Z] STF 13:33:56.075 - o Process OT21 ended with the expected exit code (0) [2025-06-30T20:33:58.658Z] STF 13:33:56.075 - [2025-06-30T20:33:58.658Z] STF 13:33:56.075 - +------ Step 10 - Verify if we can patch an Application module using modular jar [2025-06-30T20:33:58.658Z] STF 13:33:56.075 - | Run foreground process [2025-06-30T20:33:58.658Z] STF 13:33:56.075 - | Program: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17513145465648/PatModImg_AppMod_0/20250630-133327-PatModImgTest/tmp/6.XpJVM/bin/java [2025-06-30T20:33:58.658Z] STF 13:33:56.075 - | Mnemonic: OT22 [2025-06-30T20:33:58.658Z] STF 13:33:56.075 - | Echo: ECHO_ON [2025-06-30T20:33:58.658Z] STF 13:33:56.075 - | Expectation: CLEAN_RUN within 5m [2025-06-30T20:33:58.658Z] STF 13:33:56.075 - | [2025-06-30T20:33:58.658Z] STF 13:33:56.076 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17513145465648/PatModImg_AppMod_0/20250630-133327-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module com.hello=/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17513145465648/PatModImg_AppMod_0/20250630-133327-PatModImgTest/modules/7.com.hello.jar -XX:+UseCompressedOops -classpath /Users/admin/workspace/testDependency/system_lib/junit/junit.jar:/Users/admin/workspace/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingAppModule [2025-06-30T20:33:58.658Z] STF 13:33:56.076 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17513145465648/PatModImg_AppMod_0/20250630-133327-PatModImgTest/results/10.OT22.stderr [2025-06-30T20:33:58.658Z] STF 13:33:56.076 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17513145465648/PatModImg_AppMod_0/20250630-133327-PatModImgTest/results/10.OT22.stdout [2025-06-30T20:33:58.659Z] STF 13:33:56.094 - Monitoring processes: OT22 [2025-06-30T20:33:58.659Z] OT22 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-06-30T20:33:59.558Z] OT22 stderr WARNING: module-info.class ignored in patch: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17513145465648/PatModImg_AppMod_0/20250630-133327-PatModImgTest/modules/7.com.hello.jar [2025-06-30T20:33:59.559Z] OT22 JUnit version 4.12 [2025-06-30T20:33:59.559Z] OT22 . [2025-06-30T20:33:59.559Z] OT22 Time: 0.045 [2025-06-30T20:33:59.559Z] OT22 [2025-06-30T20:33:59.559Z] OT22 OK (1 test) [2025-06-30T20:33:59.559Z] OT22 [2025-06-30T20:33:59.925Z] STF 13:33:57.436 - Monitoring Report Summary: [2025-06-30T20:33:59.925Z] STF 13:33:57.436 - o Process OT22 ended with the expected exit code (0) [2025-06-30T20:33:59.925Z] STF 13:33:57.436 - EXECUTE stage completed [2025-06-30T20:33:59.925Z] STF 13:33:57.683 - [2025-06-30T20:33:59.925Z] STF 13:33:57.683 - ==================== T E A R D O W N ==================== [2025-06-30T20:33:59.925Z] STF 13:33:57.683 - Running teardown: perl /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17513145465648/PatModImg_AppMod_0/20250630-133327-PatModImgTest/tearDown.pl [2025-06-30T20:34:00.318Z] STF 13:33:57.809 - TEARDOWN stage completed [2025-06-30T20:34:00.318Z] STF 13:33:57.819 - [2025-06-30T20:34:00.318Z] STF 13:33:57.819 - ===================== R E S U L T S ===================== [2025-06-30T20:34:00.318Z] STF 13:33:57.819 - Stage results: [2025-06-30T20:34:00.318Z] STF 13:33:57.819 - setUp: pass [2025-06-30T20:34:00.318Z] STF 13:33:57.819 - execute: pass [2025-06-30T20:34:00.318Z] STF 13:33:57.819 - teardown: pass [2025-06-30T20:34:00.318Z] STF 13:33:57.819 - [2025-06-30T20:34:00.318Z] STF 13:33:57.819 - Overall result: PASSED [2025-06-30T20:34:00.318Z] ----------------------------------- [2025-06-30T20:34:00.318Z] PatModImg_AppMod_0_PASSED [2025-06-30T20:34:00.318Z] ----------------------------------- [2025-06-30T20:34:00.318Z] [2025-06-30T20:34:00.318Z] TEST TEARDOWN: [2025-06-30T20:34:00.318Z] Nothing to be done for teardown. [2025-06-30T20:34:00.318Z] PatModImg_AppMod_0 Finish Time: Mon Jun 30 13:33:58 2025 Epoch Time (ms): 1751315638081