PatModImg_AppMod_0

[2025-05-28T21:22:12.500Z] Running test PatModImg_AppMod_0 ... [2025-05-28T21:22:12.500Z] =============================================== [2025-05-28T21:22:12.500Z] PatModImg_AppMod_0 Start Time: Wed May 28 22:22:12 2025 Epoch Time (ms): 1748467332323 [2025-05-28T21:22:12.500Z] variation: Mode150 [2025-05-28T21:22:12.500Z] JVM_OPTIONS: -XX:+UseCompressedOops [2025-05-28T21:22:12.500Z] { \ [2025-05-28T21:22:12.500Z] echo ""; echo "TEST SETUP:"; \ [2025-05-28T21:22:12.500Z] echo "Nothing to be done for setup."; \ [2025-05-28T21:22:12.500Z] mkdir -p "/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17484671971042/PatModImg_AppMod_0"; \ [2025-05-28T21:22:12.500Z] cd "/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17484671971042/PatModImg_AppMod_0"; \ [2025-05-28T21:22:12.500Z] echo ""; echo "TESTING:"; \ [2025-05-28T21:22:12.500Z] perl /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF/stf.core/scripts/stf.pl -test-root="/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF;/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../../jvmtest/system/modularity/..//aqa-systemtest""" -systemtest-prereqs="/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/../../testDependency/system_lib/" -java-args=' -XX:+UseCompressedOops ' -results-root="/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17484671971042/PatModImg_AppMod_0" -test=PatModImgTest -test-args="variant=AppMod"; \ [2025-05-28T21:22:12.500Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatModImg_AppMod_0""_PASSED"; echo "-----------------------------------"; cd /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/..; rm -f -r "/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17484671971042/PatModImg_AppMod_0"; else echo "-----------------------------------"; echo "PatModImg_AppMod_0""_FAILED"; echo "-----------------------------------"; fi; \ [2025-05-28T21:22:12.500Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-05-28T21:22:12.500Z] echo "Nothing to be done for teardown."; \ [2025-05-28T21:22:12.500Z] } 2>&1 | tee -a "/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17484671971042/TestTargetResult"; [2025-05-28T21:22:12.500Z] [2025-05-28T21:22:12.500Z] TEST SETUP: [2025-05-28T21:22:12.500Z] Nothing to be done for setup. [2025-05-28T21:22:12.500Z] [2025-05-28T21:22:12.500Z] TESTING: [2025-05-28T21:22:12.500Z] STF 22:22:12.422 - ========================= S T F ========================= [2025-05-28T21:22:12.500Z] systemtest-prereqs has been processed, and set to: /Users/jenkins/testDependency/system_libRetrieving amount of free space on drive containing /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17484671971042/PatModImg_AppMod_0 [2025-05-28T21:22:12.500Z] There is 51580 Mb free [2025-05-28T21:22:12.500Z] STF 22:22:12.430 - ================== G E N E R A T I O N ================== [2025-05-28T21:22:12.500Z] STF 22:22:12.432 - Checking JVM: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/../ [2025-05-28T21:22:12.500Z] STF 22:22:12.432 - Starting process to generate scripts: /Users/jenkins/workspace/Test_openjdk17_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/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/STF/stf.core/scripts/../../stf.load/bin/stf.load.jar -classpath /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/../../testDependency/system_lib//asm/asm.jar:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/../../testDependency/system_lib//asm/asm-commons.jar:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/../../testDependency/system_lib//log4j/log4j-api.jar:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/../../testDependency/system_lib//log4j/log4j-core.jar:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17484671971042/PatModImg_AppMod_0/20250528-222212-PatModImgTest/stf_parameters.properties, , /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17484671971042/PatModImg_AppMod_0/20250528-222212-PatModImgTest" [2025-05-28T21:22:13.327Z] GEN 22:22:13.283 - Found test. Project: 'openjdk.test.modularity' class: 'PatModImgTest.class' Dir: '/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin' [2025-05-28T21:22:13.327Z] GEN 22:22:13.303 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModImgTest' [2025-05-28T21:22:13.681Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2025-05-28T21:22:13.681Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayService [2025-05-28T21:22:13.681Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper [2025-05-28T21:22:13.681Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl1 [2025-05-28T21:22:13.681Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet [2025-05-28T21:22:13.681Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello [2025-05-28T21:22:13.681Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola [2025-05-28T21:22:13.681Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl2 [2025-05-28T21:22:13.681Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hi [2025-05-28T21:22:13.681Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override [2025-05-28T21:22:13.681Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override-new [2025-05-28T21:22:13.681Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl3 [2025-05-28T21:22:13.681Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl4 [2025-05-28T21:22:13.681Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common [2025-05-28T21:22:13.681Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests [2025-05-28T21:22:13.681Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin [2025-05-28T21:22:13.681Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/STF/stf.core/bin [2025-05-28T21:22:13.681Z] GEN /Users/jenkins/testDependency/system_lib/log4j/log4j-api.jar [2025-05-28T21:22:13.681Z] GEN /Users/jenkins/testDependency/system_lib/log4j/log4j-core.jar [2025-05-28T21:22:13.681Z] GEN /Users/jenkins/testDependency/system_lib/junit/junit.jar [2025-05-28T21:22:13.681Z] GEN 22:22:13.504 - Using Mode NoOptions. Values = '' [2025-05-28T21:22:13.681Z] GEN 22:22:13.593 - [2025-05-28T21:22:13.681Z] GEN 22:22:13.593 - Test command summary: [2025-05-28T21:22:13.681Z] GEN 22:22:13.593 - Step Stage Command Description [2025-05-28T21:22:13.681Z] GEN 22:22:13.594 - -----+--------+-----------------+------------ [2025-05-28T21:22:13.681Z] GEN 22:22:13.594 - 1 execute jar Create com.hello jar [2025-05-28T21:22:13.681Z] GEN 22:22:13.594 - 2 execute jar Create com.hola jar [2025-05-28T21:22:13.681Z] GEN 22:22:13.594 - 3 execute jar Create com.helper jar [2025-05-28T21:22:13.681Z] GEN 22:22:13.594 - 4 execute jar Create com.discreet jar [2025-05-28T21:22:13.681Z] GEN 22:22:13.594 - 5 execute jar Create tests jar [2025-05-28T21:22:13.681Z] GEN 22:22:13.595 - 6 execute jlink Create runtime image for PatchModule test [2025-05-28T21:22:13.681Z] GEN 22:22:13.595 - 7 execute jar Create com.hello jar [2025-05-28T21:22:13.681Z] GEN 22:22:13.595 - 8 execute jar create java.xml.jar [2025-05-28T21:22:13.681Z] GEN 22:22:13.595 - 9 execute Run java Verify if we can patch an Application module using exploded directory [2025-05-28T21:22:13.681Z] GEN 22:22:13.595 - 10 execute Run java Verify if we can patch an Application module using modular jar [2025-05-28T21:22:13.681Z] STF 22:22:13.628 - [2025-05-28T21:22:13.681Z] STF 22:22:13.628 - Script generation completed [2025-05-28T21:22:13.681Z] STF 22:22:13.628 - [2025-05-28T21:22:13.681Z] STF 22:22:13.629 - [2025-05-28T21:22:13.681Z] STF 22:22:13.629 - ======================= S E T U P ======================= [2025-05-28T21:22:13.681Z] STF 22:22:13.629 - Running setup: perl /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17484671971042/PatModImg_AppMod_0/20250528-222212-PatModImgTest/setUp.pl [2025-05-28T21:22:14.035Z] STF 22:22:13.706 - SETUP stage completed [2025-05-28T21:22:14.035Z] STF 22:22:13.713 - [2025-05-28T21:22:14.035Z] STF 22:22:13.713 - ==================== E X E C U T E - ==================== [2025-05-28T21:22:14.035Z] STF 22:22:13.713 - Running execute: perl /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17484671971042/PatModImg_AppMod_0/20250528-222212-PatModImgTest/execute.pl [2025-05-28T21:22:14.035Z] STF 22:22:13.789 - [2025-05-28T21:22:14.035Z] STF 22:22:13.789 - Java version [2025-05-28T21:22:14.035Z] STF 22:22:13.789 - Running: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/java -version [2025-05-28T21:22:14.035Z] openjdk version "17.0.16-beta" 2025-07-15 [2025-05-28T21:22:14.035Z] OpenJDK Runtime Environment Temurin-17.0.16+5-202505281933 (build 17.0.16-beta+5-ea) [2025-05-28T21:22:14.035Z] OpenJDK 64-Bit Server VM Temurin-17.0.16+5-202505281933 (build 17.0.16-beta+5-ea, mixed mode) [2025-05-28T21:22:14.035Z] STF 22:22:13.892 - [2025-05-28T21:22:14.035Z] STF 22:22:13.892 - +------ Step 1 - Create com.hello jar [2025-05-28T21:22:14.035Z] STF 22:22:13.892 - | Create modular jar [2025-05-28T21:22:14.035Z] STF 22:22:13.892 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2025-05-28T21:22:14.035Z] STF 22:22:13.892 - | ModuleVersion: null [2025-05-28T21:22:14.036Z] STF 22:22:13.893 - | MainClass: null [2025-05-28T21:22:14.036Z] STF 22:22:13.893 - | HashModules: null [2025-05-28T21:22:14.036Z] STF 22:22:13.893 - | [2025-05-28T21:22:14.036Z] STF 22:22:13.893 - Running command: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17484671971042/PatModImg_AppMod_0/20250528-222212-PatModImgTest/modules/1.com.hello.jar -C /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello . [2025-05-28T21:22:14.036Z] STF 22:22:13.893 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17484671971042/PatModImg_AppMod_0/20250528-222212-PatModImgTest/results/1.CMJ.stderr [2025-05-28T21:22:14.036Z] STF 22:22:13.893 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17484671971042/PatModImg_AppMod_0/20250528-222212-PatModImgTest/results/1.CMJ.stdout [2025-05-28T21:22:14.036Z] STF 22:22:13.904 - Monitoring processes: CMJ [2025-05-28T21:22:14.390Z] STF 22:22:14.179 - Monitoring Report Summary: [2025-05-28T21:22:14.390Z] STF 22:22:14.180 - o Process CMJ ended with the expected exit code (0) [2025-05-28T21:22:14.390Z] STF 22:22:14.180 - Created modular jar: 1.com.hello.jar [2025-05-28T21:22:14.390Z] STF 22:22:14.180 - [2025-05-28T21:22:14.390Z] STF 22:22:14.180 - +------ Step 2 - Create com.hola jar [2025-05-28T21:22:14.390Z] STF 22:22:14.180 - | Create modular jar [2025-05-28T21:22:14.390Z] STF 22:22:14.180 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2025-05-28T21:22:14.390Z] STF 22:22:14.180 - | ModuleVersion: null [2025-05-28T21:22:14.390Z] STF 22:22:14.180 - | MainClass: null [2025-05-28T21:22:14.390Z] STF 22:22:14.180 - | HashModules: null [2025-05-28T21:22:14.390Z] STF 22:22:14.180 - | [2025-05-28T21:22:14.390Z] STF 22:22:14.180 - Running command: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17484671971042/PatModImg_AppMod_0/20250528-222212-PatModImgTest/modules/2.com.hola.jar -C /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola . [2025-05-28T21:22:14.390Z] STF 22:22:14.180 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17484671971042/PatModImg_AppMod_0/20250528-222212-PatModImgTest/results/2.CMJ.stderr [2025-05-28T21:22:14.390Z] STF 22:22:14.180 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17484671971042/PatModImg_AppMod_0/20250528-222212-PatModImgTest/results/2.CMJ.stdout [2025-05-28T21:22:14.390Z] STF 22:22:14.182 - Monitoring processes: CMJ [2025-05-28T21:22:14.742Z] STF 22:22:14.472 - Monitoring Report Summary: [2025-05-28T21:22:14.742Z] STF 22:22:14.472 - o Process CMJ ended with the expected exit code (0) [2025-05-28T21:22:14.742Z] STF 22:22:14.472 - Created modular jar: 2.com.hola.jar [2025-05-28T21:22:14.742Z] STF 22:22:14.472 - [2025-05-28T21:22:14.742Z] STF 22:22:14.472 - +------ Step 3 - Create com.helper jar [2025-05-28T21:22:14.742Z] STF 22:22:14.472 - | Create modular jar [2025-05-28T21:22:14.742Z] STF 22:22:14.472 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2025-05-28T21:22:14.742Z] STF 22:22:14.472 - | ModuleVersion: null [2025-05-28T21:22:14.742Z] STF 22:22:14.472 - | MainClass: null [2025-05-28T21:22:14.742Z] STF 22:22:14.472 - | HashModules: null [2025-05-28T21:22:14.742Z] STF 22:22:14.472 - | [2025-05-28T21:22:14.742Z] STF 22:22:14.473 - Running command: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17484671971042/PatModImg_AppMod_0/20250528-222212-PatModImgTest/modules/3.com.helper.jar -C /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper . [2025-05-28T21:22:14.742Z] STF 22:22:14.473 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17484671971042/PatModImg_AppMod_0/20250528-222212-PatModImgTest/results/3.CMJ.stderr [2025-05-28T21:22:14.742Z] STF 22:22:14.473 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17484671971042/PatModImg_AppMod_0/20250528-222212-PatModImgTest/results/3.CMJ.stdout [2025-05-28T21:22:14.742Z] STF 22:22:14.475 - Monitoring processes: CMJ [2025-05-28T21:22:15.098Z] STF 22:22:14.757 - Monitoring Report Summary: [2025-05-28T21:22:15.098Z] STF 22:22:14.757 - o Process CMJ ended with the expected exit code (0) [2025-05-28T21:22:15.098Z] STF 22:22:14.757 - Created modular jar: 3.com.helper.jar [2025-05-28T21:22:15.098Z] STF 22:22:14.758 - [2025-05-28T21:22:15.098Z] STF 22:22:14.758 - +------ Step 4 - Create com.discreet jar [2025-05-28T21:22:15.098Z] STF 22:22:14.758 - | Create modular jar [2025-05-28T21:22:15.098Z] STF 22:22:14.758 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2025-05-28T21:22:15.098Z] STF 22:22:14.758 - | ModuleVersion: null [2025-05-28T21:22:15.098Z] STF 22:22:14.758 - | MainClass: null [2025-05-28T21:22:15.098Z] STF 22:22:14.758 - | HashModules: null [2025-05-28T21:22:15.098Z] STF 22:22:14.758 - | [2025-05-28T21:22:15.099Z] STF 22:22:14.758 - Running command: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17484671971042/PatModImg_AppMod_0/20250528-222212-PatModImgTest/modules/4.com.discreet.jar -C /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet . [2025-05-28T21:22:15.099Z] STF 22:22:14.758 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17484671971042/PatModImg_AppMod_0/20250528-222212-PatModImgTest/results/4.CMJ.stderr [2025-05-28T21:22:15.099Z] STF 22:22:14.758 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17484671971042/PatModImg_AppMod_0/20250528-222212-PatModImgTest/results/4.CMJ.stdout [2025-05-28T21:22:15.099Z] STF 22:22:14.760 - Monitoring processes: CMJ [2025-05-28T21:22:15.099Z] STF 22:22:15.040 - Monitoring Report Summary: [2025-05-28T21:22:15.099Z] STF 22:22:15.040 - o Process CMJ ended with the expected exit code (0) [2025-05-28T21:22:15.099Z] STF 22:22:15.040 - Created modular jar: 4.com.discreet.jar [2025-05-28T21:22:15.099Z] STF 22:22:15.040 - [2025-05-28T21:22:15.099Z] STF 22:22:15.040 - +------ Step 5 - Create tests jar [2025-05-28T21:22:15.099Z] STF 22:22:15.040 - | Create modular jar [2025-05-28T21:22:15.099Z] STF 22:22:15.040 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2025-05-28T21:22:15.099Z] STF 22:22:15.040 - | ModuleVersion: null [2025-05-28T21:22:15.099Z] STF 22:22:15.041 - | MainClass: null [2025-05-28T21:22:15.099Z] STF 22:22:15.041 - | HashModules: null [2025-05-28T21:22:15.099Z] STF 22:22:15.041 - | [2025-05-28T21:22:15.099Z] STF 22:22:15.041 - Running command: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17484671971042/PatModImg_AppMod_0/20250528-222212-PatModImgTest/modules/5.com.test.jar -C /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test . [2025-05-28T21:22:15.099Z] STF 22:22:15.041 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17484671971042/PatModImg_AppMod_0/20250528-222212-PatModImgTest/results/5.CMJ.stderr [2025-05-28T21:22:15.099Z] STF 22:22:15.041 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17484671971042/PatModImg_AppMod_0/20250528-222212-PatModImgTest/results/5.CMJ.stdout [2025-05-28T21:22:15.099Z] STF 22:22:15.044 - Monitoring processes: CMJ [2025-05-28T21:22:15.453Z] STF 22:22:15.340 - Monitoring Report Summary: [2025-05-28T21:22:15.453Z] STF 22:22:15.340 - o Process CMJ ended with the expected exit code (0) [2025-05-28T21:22:15.453Z] STF 22:22:15.340 - Created modular jar: 5.com.test.jar [2025-05-28T21:22:15.453Z] STF 22:22:15.340 - [2025-05-28T21:22:15.453Z] STF 22:22:15.340 - +------ Step 6 - Create runtime image for PatchModule test [2025-05-28T21:22:15.453Z] STF 22:22:15.340 - | Run jlink to create runtime image [2025-05-28T21:22:15.453Z] STF 22:22:15.340 - | ImageName: XpJVM [2025-05-28T21:22:15.453Z] STF 22:22:15.341 - | [2025-05-28T21:22:15.453Z] STF 22:22:15.341 - Running command: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/jlink --module-path /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/jmods:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17484671971042/PatModImg_AppMod_0/20250528-222212-PatModImgTest/modules --add-modules com.hello,com.hola,com.test,com.helper,com.discreet --output /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17484671971042/PatModImg_AppMod_0/20250528-222212-PatModImgTest/tmp/6.XpJVM [2025-05-28T21:22:15.453Z] STF 22:22:15.341 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17484671971042/PatModImg_AppMod_0/20250528-222212-PatModImgTest/results/6.JLNK.stderr [2025-05-28T21:22:15.453Z] STF 22:22:15.341 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17484671971042/PatModImg_AppMod_0/20250528-222212-PatModImgTest/results/6.JLNK.stdout [2025-05-28T21:22:15.453Z] STF 22:22:15.343 - Monitoring processes: JLNK [2025-05-28T21:22:17.826Z] STF 22:22:17.693 - Monitoring Report Summary: [2025-05-28T21:22:17.826Z] STF 22:22:17.693 - o Process JLNK ended with the expected exit code (0) [2025-05-28T21:22:17.826Z] STF 22:22:17.693 - [2025-05-28T21:22:17.826Z] STF 22:22:17.693 - +------ Step 7 - Create com.hello jar [2025-05-28T21:22:17.826Z] STF 22:22:17.693 - | Create modular jar [2025-05-28T21:22:17.826Z] STF 22:22:17.693 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2025-05-28T21:22:17.826Z] STF 22:22:17.693 - | ModuleVersion: null [2025-05-28T21:22:17.826Z] STF 22:22:17.693 - | MainClass: null [2025-05-28T21:22:17.826Z] STF 22:22:17.693 - | HashModules: null [2025-05-28T21:22:17.826Z] STF 22:22:17.693 - | [2025-05-28T21:22:17.826Z] STF 22:22:17.694 - Running command: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17484671971042/PatModImg_AppMod_0/20250528-222212-PatModImgTest/modules/7.com.hello.jar -C /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello . [2025-05-28T21:22:17.826Z] STF 22:22:17.694 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17484671971042/PatModImg_AppMod_0/20250528-222212-PatModImgTest/results/7.CMJ.stderr [2025-05-28T21:22:17.826Z] STF 22:22:17.694 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17484671971042/PatModImg_AppMod_0/20250528-222212-PatModImgTest/results/7.CMJ.stdout [2025-05-28T21:22:17.826Z] STF 22:22:17.696 - Monitoring processes: CMJ [2025-05-28T21:22:18.178Z] STF 22:22:17.974 - Monitoring Report Summary: [2025-05-28T21:22:18.178Z] STF 22:22:17.974 - o Process CMJ ended with the expected exit code (0) [2025-05-28T21:22:18.178Z] STF 22:22:17.975 - Created modular jar: 7.com.hello.jar [2025-05-28T21:22:18.178Z] STF 22:22:17.975 - [2025-05-28T21:22:18.178Z] STF 22:22:17.975 - +------ Step 8 - create java.xml.jar [2025-05-28T21:22:18.178Z] STF 22:22:17.975 - | Create modular jar [2025-05-28T21:22:18.178Z] STF 22:22:17.975 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml [2025-05-28T21:22:18.178Z] STF 22:22:17.975 - | ModuleVersion: null [2025-05-28T21:22:18.178Z] STF 22:22:17.975 - | MainClass: null [2025-05-28T21:22:18.178Z] STF 22:22:17.975 - | HashModules: null [2025-05-28T21:22:18.178Z] STF 22:22:17.975 - | [2025-05-28T21:22:18.178Z] STF 22:22:17.975 - Running command: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17484671971042/PatModImg_AppMod_0/20250528-222212-PatModImgTest/modules/8.java.xml.jar -C /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/java.xml . [2025-05-28T21:22:18.179Z] STF 22:22:17.975 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17484671971042/PatModImg_AppMod_0/20250528-222212-PatModImgTest/results/8.CMJ.stderr [2025-05-28T21:22:18.179Z] STF 22:22:17.975 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17484671971042/PatModImg_AppMod_0/20250528-222212-PatModImgTest/results/8.CMJ.stdout [2025-05-28T21:22:18.179Z] STF 22:22:17.977 - Monitoring processes: CMJ [2025-05-28T21:22:18.530Z] STF 22:22:18.260 - Monitoring Report Summary: [2025-05-28T21:22:18.530Z] STF 22:22:18.260 - o Process CMJ ended with the expected exit code (0) [2025-05-28T21:22:18.530Z] STF 22:22:18.260 - Created modular jar: 8.java.xml.jar [2025-05-28T21:22:18.530Z] STF 22:22:18.260 - [2025-05-28T21:22:18.530Z] STF 22:22:18.260 - +------ Step 9 - Verify if we can patch an Application module using exploded directory [2025-05-28T21:22:18.530Z] STF 22:22:18.260 - | Run foreground process [2025-05-28T21:22:18.530Z] STF 22:22:18.260 - | Program: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17484671971042/PatModImg_AppMod_0/20250528-222212-PatModImgTest/tmp/6.XpJVM/bin/java [2025-05-28T21:22:18.530Z] STF 22:22:18.260 - | Mnemonic: OT21 [2025-05-28T21:22:18.530Z] STF 22:22:18.260 - | Echo: ECHO_ON [2025-05-28T21:22:18.530Z] STF 22:22:18.260 - | Expectation: CLEAN_RUN within 5m [2025-05-28T21:22:18.530Z] STF 22:22:18.260 - | [2025-05-28T21:22:18.530Z] STF 22:22:18.261 - Running command: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17484671971042/PatModImg_AppMod_0/20250528-222212-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module com.hello=/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello -XX:+UseCompressedOops -classpath /Users/jenkins/testDependency/system_lib/junit/junit.jar:/Users/jenkins/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingAppModule [2025-05-28T21:22:18.530Z] STF 22:22:18.261 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17484671971042/PatModImg_AppMod_0/20250528-222212-PatModImgTest/results/9.OT21.stderr [2025-05-28T21:22:18.530Z] STF 22:22:18.261 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17484671971042/PatModImg_AppMod_0/20250528-222212-PatModImgTest/results/9.OT21.stdout [2025-05-28T21:22:18.530Z] STF 22:22:18.263 - Monitoring processes: OT21 [2025-05-28T21:22:18.882Z] OT21 stderr WARNING: module-info.class ignored in patch: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello [2025-05-28T21:22:18.882Z] OT21 JUnit version 4.12 [2025-05-28T21:22:18.882Z] OT21 . [2025-05-28T21:22:18.882Z] OT21 Time: 0.014 [2025-05-28T21:22:18.882Z] OT21 [2025-05-28T21:22:18.882Z] OT21 OK (1 test) [2025-05-28T21:22:18.882Z] OT21 [2025-05-28T21:22:18.882Z] STF 22:22:18.714 - Monitoring Report Summary: [2025-05-28T21:22:18.882Z] STF 22:22:18.714 - o Process OT21 ended with the expected exit code (0) [2025-05-28T21:22:18.882Z] STF 22:22:18.715 - [2025-05-28T21:22:18.882Z] STF 22:22:18.715 - +------ Step 10 - Verify if we can patch an Application module using modular jar [2025-05-28T21:22:18.882Z] STF 22:22:18.715 - | Run foreground process [2025-05-28T21:22:18.882Z] STF 22:22:18.715 - | Program: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17484671971042/PatModImg_AppMod_0/20250528-222212-PatModImgTest/tmp/6.XpJVM/bin/java [2025-05-28T21:22:18.882Z] STF 22:22:18.715 - | Mnemonic: OT22 [2025-05-28T21:22:18.882Z] STF 22:22:18.715 - | Echo: ECHO_ON [2025-05-28T21:22:18.882Z] STF 22:22:18.715 - | Expectation: CLEAN_RUN within 5m [2025-05-28T21:22:18.882Z] STF 22:22:18.715 - | [2025-05-28T21:22:18.882Z] STF 22:22:18.715 - Running command: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17484671971042/PatModImg_AppMod_0/20250528-222212-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module com.hello=/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17484671971042/PatModImg_AppMod_0/20250528-222212-PatModImgTest/modules/7.com.hello.jar -XX:+UseCompressedOops -classpath /Users/jenkins/testDependency/system_lib/junit/junit.jar:/Users/jenkins/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingAppModule [2025-05-28T21:22:18.882Z] STF 22:22:18.715 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17484671971042/PatModImg_AppMod_0/20250528-222212-PatModImgTest/results/10.OT22.stderr [2025-05-28T21:22:18.882Z] STF 22:22:18.715 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17484671971042/PatModImg_AppMod_0/20250528-222212-PatModImgTest/results/10.OT22.stdout [2025-05-28T21:22:18.882Z] STF 22:22:18.717 - Monitoring processes: OT22 [2025-05-28T21:22:18.882Z] OT22 stderr WARNING: module-info.class ignored in patch: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17484671971042/PatModImg_AppMod_0/20250528-222212-PatModImgTest/modules/7.com.hello.jar [2025-05-28T21:22:19.235Z] OT22 JUnit version 4.12 [2025-05-28T21:22:19.235Z] OT22 . [2025-05-28T21:22:19.235Z] OT22 Time: 0.005 [2025-05-28T21:22:19.235Z] OT22 [2025-05-28T21:22:19.235Z] OT22 OK (1 test) [2025-05-28T21:22:19.235Z] OT22 [2025-05-28T21:22:19.235Z] STF 22:22:19.011 - Monitoring Report Summary: [2025-05-28T21:22:19.235Z] STF 22:22:19.011 - o Process OT22 ended with the expected exit code (0) [2025-05-28T21:22:19.235Z] STF 22:22:19.012 - EXECUTE stage completed [2025-05-28T21:22:19.235Z] STF 22:22:19.043 - [2025-05-28T21:22:19.235Z] STF 22:22:19.043 - ==================== T E A R D O W N ==================== [2025-05-28T21:22:19.235Z] STF 22:22:19.043 - Running teardown: perl /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17484671971042/PatModImg_AppMod_0/20250528-222212-PatModImgTest/tearDown.pl [2025-05-28T21:22:19.235Z] STF 22:22:19.118 - TEARDOWN stage completed [2025-05-28T21:22:19.235Z] STF 22:22:19.127 - [2025-05-28T21:22:19.235Z] STF 22:22:19.127 - ===================== R E S U L T S ===================== [2025-05-28T21:22:19.235Z] STF 22:22:19.127 - Stage results: [2025-05-28T21:22:19.235Z] STF 22:22:19.127 - setUp: pass [2025-05-28T21:22:19.235Z] STF 22:22:19.127 - execute: pass [2025-05-28T21:22:19.235Z] STF 22:22:19.127 - teardown: pass [2025-05-28T21:22:19.235Z] STF 22:22:19.127 - [2025-05-28T21:22:19.235Z] STF 22:22:19.127 - Overall result: PASSED [2025-05-28T21:22:19.235Z] ----------------------------------- [2025-05-28T21:22:19.235Z] PatModImg_AppMod_0_PASSED [2025-05-28T21:22:19.236Z] ----------------------------------- [2025-05-28T21:22:19.236Z] [2025-05-28T21:22:19.236Z] TEST TEARDOWN: [2025-05-28T21:22:19.236Z] Nothing to be done for teardown. [2025-05-28T21:22:19.236Z] PatModImg_AppMod_0 Finish Time: Wed May 28 22:22:19 2025 Epoch Time (ms): 1748467339170