PatModImg_AppMod_0

[2025-12-04T06:19:58.780Z] Running test PatModImg_AppMod_0 ... [2025-12-04T06:19:58.780Z] =============================================== [2025-12-04T06:19:58.780Z] PatModImg_AppMod_0 Start Time: Thu Dec 4 06:19:58 2025 Epoch Time (ms): 1764829198641 [2025-12-04T06:19:58.780Z] variation: Mode150 [2025-12-04T06:19:58.780Z] JVM_OPTIONS: -XX:+UseCompressedOops [2025-12-04T06:19:58.780Z] { \ [2025-12-04T06:19:58.780Z] echo ""; echo "TEST SETUP:"; \ [2025-12-04T06:19:58.780Z] echo "Nothing to be done for setup."; \ [2025-12-04T06:19:58.780Z] mkdir -p "/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17648266296553/PatModImg_AppMod_0"; \ [2025-12-04T06:19:58.780Z] cd "/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17648266296553/PatModImg_AppMod_0"; \ [2025-12-04T06:19:58.780Z] echo ""; echo "TESTING:"; \ [2025-12-04T06:19:58.780Z] perl /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/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_1/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF;/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../../jvmtest/system/modularity/..//aqa-systemtest""" -systemtest-prereqs="/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/../../externalDependency/system_lib/" -java-args=' -XX:+UseCompressedOops ' -results-root="/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17648266296553/PatModImg_AppMod_0" -test=PatModImgTest -test-args="variant=AppMod"; \ [2025-12-04T06:19:58.780Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatModImg_AppMod_0""_PASSED"; echo "-----------------------------------"; cd /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/..; rm -f -r "/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17648266296553/PatModImg_AppMod_0"; else echo "-----------------------------------"; echo "PatModImg_AppMod_0""_FAILED"; echo "-----------------------------------"; fi; \ [2025-12-04T06:19:58.780Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-12-04T06:19:58.780Z] echo "Nothing to be done for teardown."; \ [2025-12-04T06:19:58.780Z] } 2>&1 | tee -a "/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17648266296553/TestTargetResult"; [2025-12-04T06:19:58.780Z] [2025-12-04T06:19:58.780Z] TEST SETUP: [2025-12-04T06:19:58.780Z] Nothing to be done for setup. [2025-12-04T06:19:58.780Z] [2025-12-04T06:19:58.780Z] TESTING: [2025-12-04T06:19:58.780Z] STF 06:19:58.736 - ========================= S T F ========================= [2025-12-04T06:19:58.780Z] systemtest-prereqs has been processed, and set to: /Users/jenkins/externalDependency/system_libRetrieving amount of free space on drive containing /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17648266296553/PatModImg_AppMod_0 [2025-12-04T06:19:58.780Z] There is 57206 Mb free [2025-12-04T06:19:58.780Z] STF 06:19:58.746 - ================== G E N E R A T I O N ================== [2025-12-04T06:19:58.780Z] STF 06:19:58.748 - Checking JVM: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/../ [2025-12-04T06:19:58.780Z] STF 06:19:58.748 - Starting process to generate scripts: /Users/jenkins/workspace/Test_openjdk17_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/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/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_1/../../externalDependency/system_lib//asm/asm.jar:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/../../externalDependency/system_lib//asm/asm-commons.jar:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/../../externalDependency/system_lib//log4j/log4j-api.jar:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/../../externalDependency/system_lib//log4j/log4j-core.jar:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/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_1/aqa-tests/TKG/../TKG/output_17648266296553/PatModImg_AppMod_0/20251204-061958-PatModImgTest/stf_parameters.properties, , /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17648266296553/PatModImg_AppMod_0/20251204-061958-PatModImgTest" [2025-12-04T06:19:59.982Z] GEN 06:19:59.596 - Found test. Project: 'openjdk.test.modularity' class: 'PatModImgTest.class' Dir: '/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin' [2025-12-04T06:19:59.982Z] GEN 06:19:59.615 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModImgTest' [2025-12-04T06:19:59.982Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2025-12-04T06:19:59.982Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayService [2025-12-04T06:19:59.982Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper [2025-12-04T06:19:59.982Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl1 [2025-12-04T06:19:59.982Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet [2025-12-04T06:19:59.982Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello [2025-12-04T06:19:59.982Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola [2025-12-04T06:19:59.982Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl2 [2025-12-04T06:19:59.982Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hi [2025-12-04T06:19:59.982Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override [2025-12-04T06:19:59.982Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override-new [2025-12-04T06:19:59.982Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl3 [2025-12-04T06:19:59.982Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl4 [2025-12-04T06:19:59.982Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common [2025-12-04T06:19:59.982Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests [2025-12-04T06:19:59.982Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin [2025-12-04T06:19:59.982Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/STF/stf.core/bin [2025-12-04T06:19:59.982Z] GEN /Users/jenkins/externalDependency/system_lib/log4j/log4j-api.jar [2025-12-04T06:19:59.982Z] GEN /Users/jenkins/externalDependency/system_lib/log4j/log4j-core.jar [2025-12-04T06:19:59.982Z] GEN /Users/jenkins/externalDependency/system_lib/junit/junit.jar [2025-12-04T06:19:59.982Z] GEN 06:19:59.807 - Using Mode NoOptions. Values = '' [2025-12-04T06:19:59.982Z] GEN 06:19:59.886 - [2025-12-04T06:19:59.982Z] GEN 06:19:59.887 - Test command summary: [2025-12-04T06:19:59.982Z] GEN 06:19:59.887 - Step Stage Command Description [2025-12-04T06:19:59.982Z] GEN 06:19:59.887 - -----+--------+-----------------+------------ [2025-12-04T06:19:59.982Z] GEN 06:19:59.888 - 1 execute jar Create com.hello jar [2025-12-04T06:19:59.982Z] GEN 06:19:59.888 - 2 execute jar Create com.hola jar [2025-12-04T06:19:59.982Z] GEN 06:19:59.888 - 3 execute jar Create com.helper jar [2025-12-04T06:19:59.982Z] GEN 06:19:59.888 - 4 execute jar Create com.discreet jar [2025-12-04T06:19:59.982Z] GEN 06:19:59.888 - 5 execute jar Create tests jar [2025-12-04T06:19:59.982Z] GEN 06:19:59.888 - 6 execute jlink Create runtime image for PatchModule test [2025-12-04T06:19:59.982Z] GEN 06:19:59.888 - 7 execute jar Create com.hello jar [2025-12-04T06:19:59.982Z] GEN 06:19:59.888 - 8 execute jar create java.xml.jar [2025-12-04T06:19:59.982Z] GEN 06:19:59.888 - 9 execute Run java Verify if we can patch an Application module using exploded directory [2025-12-04T06:19:59.982Z] GEN 06:19:59.888 - 10 execute Run java Verify if we can patch an Application module using modular jar [2025-12-04T06:19:59.982Z] STF 06:19:59.929 - [2025-12-04T06:19:59.982Z] STF 06:19:59.929 - Script generation completed [2025-12-04T06:19:59.982Z] STF 06:19:59.929 - [2025-12-04T06:19:59.982Z] STF 06:19:59.930 - [2025-12-04T06:19:59.982Z] STF 06:19:59.930 - ======================= S E T U P ======================= [2025-12-04T06:19:59.982Z] STF 06:19:59.930 - Running setup: perl /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17648266296553/PatModImg_AppMod_0/20251204-061958-PatModImgTest/setUp.pl [2025-12-04T06:20:00.329Z] STF 06:20:00.012 - SETUP stage completed [2025-12-04T06:20:00.329Z] STF 06:20:00.019 - [2025-12-04T06:20:00.329Z] STF 06:20:00.019 - ==================== E X E C U T E - ==================== [2025-12-04T06:20:00.329Z] STF 06:20:00.019 - Running execute: perl /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17648266296553/PatModImg_AppMod_0/20251204-061958-PatModImgTest/execute.pl [2025-12-04T06:20:00.329Z] STF 06:20:00.093 - [2025-12-04T06:20:00.329Z] STF 06:20:00.094 - Java version [2025-12-04T06:20:00.329Z] STF 06:20:00.094 - Running: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/java -version [2025-12-04T06:20:00.329Z] openjdk version "17.0.18-beta" 2026-01-20 [2025-12-04T06:20:00.329Z] OpenJDK Runtime Environment Temurin-17.0.18+5-202512032034 (build 17.0.18-beta+5-ea) [2025-12-04T06:20:00.329Z] OpenJDK 64-Bit Server VM Temurin-17.0.18+5-202512032034 (build 17.0.18-beta+5-ea, mixed mode) [2025-12-04T06:20:00.329Z] STF 06:20:00.193 - [2025-12-04T06:20:00.329Z] STF 06:20:00.193 - +------ Step 1 - Create com.hello jar [2025-12-04T06:20:00.329Z] STF 06:20:00.193 - | Create modular jar [2025-12-04T06:20:00.329Z] STF 06:20:00.193 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2025-12-04T06:20:00.329Z] STF 06:20:00.193 - | ModuleVersion: null [2025-12-04T06:20:00.329Z] STF 06:20:00.193 - | MainClass: null [2025-12-04T06:20:00.329Z] STF 06:20:00.193 - | HashModules: null [2025-12-04T06:20:00.329Z] STF 06:20:00.193 - | [2025-12-04T06:20:00.329Z] STF 06:20:00.194 - Running command: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17648266296553/PatModImg_AppMod_0/20251204-061958-PatModImgTest/modules/1.com.hello.jar -C /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello . [2025-12-04T06:20:00.329Z] STF 06:20:00.194 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17648266296553/PatModImg_AppMod_0/20251204-061958-PatModImgTest/results/1.CMJ.stderr [2025-12-04T06:20:00.329Z] STF 06:20:00.194 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17648266296553/PatModImg_AppMod_0/20251204-061958-PatModImgTest/results/1.CMJ.stdout [2025-12-04T06:20:00.329Z] STF 06:20:00.203 - Monitoring processes: CMJ [2025-12-04T06:20:00.676Z] STF 06:20:00.479 - Monitoring Report Summary: [2025-12-04T06:20:00.676Z] STF 06:20:00.479 - o Process CMJ ended with the expected exit code (0) [2025-12-04T06:20:00.676Z] STF 06:20:00.480 - Created modular jar: 1.com.hello.jar [2025-12-04T06:20:00.676Z] STF 06:20:00.480 - [2025-12-04T06:20:00.676Z] STF 06:20:00.480 - +------ Step 2 - Create com.hola jar [2025-12-04T06:20:00.676Z] STF 06:20:00.480 - | Create modular jar [2025-12-04T06:20:00.676Z] STF 06:20:00.480 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2025-12-04T06:20:00.676Z] STF 06:20:00.480 - | ModuleVersion: null [2025-12-04T06:20:00.676Z] STF 06:20:00.480 - | MainClass: null [2025-12-04T06:20:00.676Z] STF 06:20:00.480 - | HashModules: null [2025-12-04T06:20:00.676Z] STF 06:20:00.480 - | [2025-12-04T06:20:00.676Z] STF 06:20:00.480 - Running command: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17648266296553/PatModImg_AppMod_0/20251204-061958-PatModImgTest/modules/2.com.hola.jar -C /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola . [2025-12-04T06:20:00.676Z] STF 06:20:00.480 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17648266296553/PatModImg_AppMod_0/20251204-061958-PatModImgTest/results/2.CMJ.stderr [2025-12-04T06:20:00.676Z] STF 06:20:00.480 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17648266296553/PatModImg_AppMod_0/20251204-061958-PatModImgTest/results/2.CMJ.stdout [2025-12-04T06:20:00.676Z] STF 06:20:00.482 - Monitoring processes: CMJ [2025-12-04T06:20:01.023Z] STF 06:20:00.760 - Monitoring Report Summary: [2025-12-04T06:20:01.023Z] STF 06:20:00.760 - o Process CMJ ended with the expected exit code (0) [2025-12-04T06:20:01.023Z] STF 06:20:00.761 - Created modular jar: 2.com.hola.jar [2025-12-04T06:20:01.023Z] STF 06:20:00.761 - [2025-12-04T06:20:01.023Z] STF 06:20:00.761 - +------ Step 3 - Create com.helper jar [2025-12-04T06:20:01.023Z] STF 06:20:00.761 - | Create modular jar [2025-12-04T06:20:01.023Z] STF 06:20:00.761 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2025-12-04T06:20:01.023Z] STF 06:20:00.761 - | ModuleVersion: null [2025-12-04T06:20:01.023Z] STF 06:20:00.761 - | MainClass: null [2025-12-04T06:20:01.023Z] STF 06:20:00.761 - | HashModules: null [2025-12-04T06:20:01.023Z] STF 06:20:00.761 - | [2025-12-04T06:20:01.023Z] STF 06:20:00.761 - Running command: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17648266296553/PatModImg_AppMod_0/20251204-061958-PatModImgTest/modules/3.com.helper.jar -C /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper . [2025-12-04T06:20:01.023Z] STF 06:20:00.761 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17648266296553/PatModImg_AppMod_0/20251204-061958-PatModImgTest/results/3.CMJ.stderr [2025-12-04T06:20:01.023Z] STF 06:20:00.761 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17648266296553/PatModImg_AppMod_0/20251204-061958-PatModImgTest/results/3.CMJ.stdout [2025-12-04T06:20:01.023Z] STF 06:20:00.763 - Monitoring processes: CMJ [2025-12-04T06:20:01.371Z] STF 06:20:01.040 - Monitoring Report Summary: [2025-12-04T06:20:01.371Z] STF 06:20:01.041 - o Process CMJ ended with the expected exit code (0) [2025-12-04T06:20:01.371Z] STF 06:20:01.041 - Created modular jar: 3.com.helper.jar [2025-12-04T06:20:01.371Z] STF 06:20:01.041 - [2025-12-04T06:20:01.371Z] STF 06:20:01.041 - +------ Step 4 - Create com.discreet jar [2025-12-04T06:20:01.371Z] STF 06:20:01.041 - | Create modular jar [2025-12-04T06:20:01.371Z] STF 06:20:01.041 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2025-12-04T06:20:01.371Z] STF 06:20:01.041 - | ModuleVersion: null [2025-12-04T06:20:01.371Z] STF 06:20:01.041 - | MainClass: null [2025-12-04T06:20:01.371Z] STF 06:20:01.041 - | HashModules: null [2025-12-04T06:20:01.371Z] STF 06:20:01.041 - | [2025-12-04T06:20:01.371Z] STF 06:20:01.042 - Running command: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17648266296553/PatModImg_AppMod_0/20251204-061958-PatModImgTest/modules/4.com.discreet.jar -C /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet . [2025-12-04T06:20:01.371Z] STF 06:20:01.042 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17648266296553/PatModImg_AppMod_0/20251204-061958-PatModImgTest/results/4.CMJ.stderr [2025-12-04T06:20:01.371Z] STF 06:20:01.042 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17648266296553/PatModImg_AppMod_0/20251204-061958-PatModImgTest/results/4.CMJ.stdout [2025-12-04T06:20:01.371Z] STF 06:20:01.043 - Monitoring processes: CMJ [2025-12-04T06:20:01.371Z] STF 06:20:01.325 - Monitoring Report Summary: [2025-12-04T06:20:01.371Z] STF 06:20:01.325 - o Process CMJ ended with the expected exit code (0) [2025-12-04T06:20:01.371Z] STF 06:20:01.326 - Created modular jar: 4.com.discreet.jar [2025-12-04T06:20:01.371Z] STF 06:20:01.326 - [2025-12-04T06:20:01.371Z] STF 06:20:01.326 - +------ Step 5 - Create tests jar [2025-12-04T06:20:01.371Z] STF 06:20:01.326 - | Create modular jar [2025-12-04T06:20:01.371Z] STF 06:20:01.326 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2025-12-04T06:20:01.371Z] STF 06:20:01.326 - | ModuleVersion: null [2025-12-04T06:20:01.371Z] STF 06:20:01.326 - | MainClass: null [2025-12-04T06:20:01.371Z] STF 06:20:01.326 - | HashModules: null [2025-12-04T06:20:01.371Z] STF 06:20:01.326 - | [2025-12-04T06:20:01.371Z] STF 06:20:01.326 - Running command: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17648266296553/PatModImg_AppMod_0/20251204-061958-PatModImgTest/modules/5.com.test.jar -C /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test . [2025-12-04T06:20:01.371Z] STF 06:20:01.326 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17648266296553/PatModImg_AppMod_0/20251204-061958-PatModImgTest/results/5.CMJ.stderr [2025-12-04T06:20:01.372Z] STF 06:20:01.327 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17648266296553/PatModImg_AppMod_0/20251204-061958-PatModImgTest/results/5.CMJ.stdout [2025-12-04T06:20:01.372Z] STF 06:20:01.329 - Monitoring processes: CMJ [2025-12-04T06:20:01.756Z] STF 06:20:01.637 - Monitoring Report Summary: [2025-12-04T06:20:01.756Z] STF 06:20:01.637 - o Process CMJ ended with the expected exit code (0) [2025-12-04T06:20:01.756Z] STF 06:20:01.637 - Created modular jar: 5.com.test.jar [2025-12-04T06:20:01.756Z] STF 06:20:01.637 - [2025-12-04T06:20:01.756Z] STF 06:20:01.637 - +------ Step 6 - Create runtime image for PatchModule test [2025-12-04T06:20:01.756Z] STF 06:20:01.637 - | Run jlink to create runtime image [2025-12-04T06:20:01.756Z] STF 06:20:01.637 - | ImageName: XpJVM [2025-12-04T06:20:01.756Z] STF 06:20:01.637 - | [2025-12-04T06:20:01.756Z] STF 06:20:01.638 - Running command: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jlink --module-path /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/jmods:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17648266296553/PatModImg_AppMod_0/20251204-061958-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_1/aqa-tests/TKG/output_17648266296553/PatModImg_AppMod_0/20251204-061958-PatModImgTest/tmp/6.XpJVM [2025-12-04T06:20:01.756Z] STF 06:20:01.638 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17648266296553/PatModImg_AppMod_0/20251204-061958-PatModImgTest/results/6.JLNK.stderr [2025-12-04T06:20:01.756Z] STF 06:20:01.638 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17648266296553/PatModImg_AppMod_0/20251204-061958-PatModImgTest/results/6.JLNK.stdout [2025-12-04T06:20:01.756Z] STF 06:20:01.639 - Monitoring processes: JLNK [2025-12-04T06:20:04.135Z] STF 06:20:03.804 - Monitoring Report Summary: [2025-12-04T06:20:04.135Z] STF 06:20:03.804 - o Process JLNK ended with the expected exit code (0) [2025-12-04T06:20:04.135Z] STF 06:20:03.804 - [2025-12-04T06:20:04.135Z] STF 06:20:03.804 - +------ Step 7 - Create com.hello jar [2025-12-04T06:20:04.135Z] STF 06:20:03.804 - | Create modular jar [2025-12-04T06:20:04.135Z] STF 06:20:03.804 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2025-12-04T06:20:04.135Z] STF 06:20:03.804 - | ModuleVersion: null [2025-12-04T06:20:04.135Z] STF 06:20:03.804 - | MainClass: null [2025-12-04T06:20:04.135Z] STF 06:20:03.804 - | HashModules: null [2025-12-04T06:20:04.135Z] STF 06:20:03.804 - | [2025-12-04T06:20:04.135Z] STF 06:20:03.805 - Running command: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17648266296553/PatModImg_AppMod_0/20251204-061958-PatModImgTest/modules/7.com.hello.jar -C /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello . [2025-12-04T06:20:04.135Z] STF 06:20:03.805 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17648266296553/PatModImg_AppMod_0/20251204-061958-PatModImgTest/results/7.CMJ.stderr [2025-12-04T06:20:04.135Z] STF 06:20:03.805 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17648266296553/PatModImg_AppMod_0/20251204-061958-PatModImgTest/results/7.CMJ.stdout [2025-12-04T06:20:04.135Z] STF 06:20:03.806 - Monitoring processes: CMJ [2025-12-04T06:20:04.135Z] STF 06:20:04.090 - Monitoring Report Summary: [2025-12-04T06:20:04.135Z] STF 06:20:04.090 - o Process CMJ ended with the expected exit code (0) [2025-12-04T06:20:04.135Z] STF 06:20:04.091 - Created modular jar: 7.com.hello.jar [2025-12-04T06:20:04.135Z] STF 06:20:04.091 - [2025-12-04T06:20:04.135Z] STF 06:20:04.091 - +------ Step 8 - create java.xml.jar [2025-12-04T06:20:04.135Z] STF 06:20:04.091 - | Create modular jar [2025-12-04T06:20:04.135Z] STF 06:20:04.091 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml [2025-12-04T06:20:04.135Z] STF 06:20:04.091 - | ModuleVersion: null [2025-12-04T06:20:04.135Z] STF 06:20:04.091 - | MainClass: null [2025-12-04T06:20:04.135Z] STF 06:20:04.091 - | HashModules: null [2025-12-04T06:20:04.135Z] STF 06:20:04.091 - | [2025-12-04T06:20:04.135Z] STF 06:20:04.092 - Running command: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17648266296553/PatModImg_AppMod_0/20251204-061958-PatModImgTest/modules/8.java.xml.jar -C /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/java.xml . [2025-12-04T06:20:04.135Z] STF 06:20:04.092 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17648266296553/PatModImg_AppMod_0/20251204-061958-PatModImgTest/results/8.CMJ.stderr [2025-12-04T06:20:04.135Z] STF 06:20:04.092 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17648266296553/PatModImg_AppMod_0/20251204-061958-PatModImgTest/results/8.CMJ.stdout [2025-12-04T06:20:04.135Z] STF 06:20:04.094 - Monitoring processes: CMJ [2025-12-04T06:20:04.484Z] STF 06:20:04.396 - Monitoring Report Summary: [2025-12-04T06:20:04.484Z] STF 06:20:04.396 - o Process CMJ ended with the expected exit code (0) [2025-12-04T06:20:04.484Z] STF 06:20:04.396 - Created modular jar: 8.java.xml.jar [2025-12-04T06:20:04.484Z] STF 06:20:04.396 - [2025-12-04T06:20:04.484Z] STF 06:20:04.396 - +------ Step 9 - Verify if we can patch an Application module using exploded directory [2025-12-04T06:20:04.484Z] STF 06:20:04.396 - | Run foreground process [2025-12-04T06:20:04.484Z] STF 06:20:04.396 - | Program: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17648266296553/PatModImg_AppMod_0/20251204-061958-PatModImgTest/tmp/6.XpJVM/bin/java [2025-12-04T06:20:04.484Z] STF 06:20:04.396 - | Mnemonic: OT21 [2025-12-04T06:20:04.484Z] STF 06:20:04.396 - | Echo: ECHO_ON [2025-12-04T06:20:04.484Z] STF 06:20:04.396 - | Expectation: CLEAN_RUN within 5m [2025-12-04T06:20:04.484Z] STF 06:20:04.396 - | [2025-12-04T06:20:04.484Z] STF 06:20:04.397 - Running command: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17648266296553/PatModImg_AppMod_0/20251204-061958-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_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello -XX:+UseCompressedOops -classpath /Users/jenkins/externalDependency/system_lib/junit/junit.jar:/Users/jenkins/externalDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingAppModule [2025-12-04T06:20:04.484Z] STF 06:20:04.397 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17648266296553/PatModImg_AppMod_0/20251204-061958-PatModImgTest/results/9.OT21.stderr [2025-12-04T06:20:04.484Z] STF 06:20:04.397 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17648266296553/PatModImg_AppMod_0/20251204-061958-PatModImgTest/results/9.OT21.stdout [2025-12-04T06:20:04.484Z] STF 06:20:04.398 - Monitoring processes: OT21 [2025-12-04T06:20:04.833Z] OT21 stderr WARNING: module-info.class ignored in patch: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello [2025-12-04T06:20:04.833Z] OT21 JUnit version 4.12 [2025-12-04T06:20:05.179Z] OT21 . [2025-12-04T06:20:05.179Z] OT21 Time: 0.011 [2025-12-04T06:20:05.179Z] OT21 [2025-12-04T06:20:05.179Z] OT21 OK (1 test) [2025-12-04T06:20:05.179Z] OT21 [2025-12-04T06:20:05.179Z] STF 06:20:04.850 - Monitoring Report Summary: [2025-12-04T06:20:05.179Z] STF 06:20:04.850 - o Process OT21 ended with the expected exit code (0) [2025-12-04T06:20:05.179Z] STF 06:20:04.851 - [2025-12-04T06:20:05.179Z] STF 06:20:04.851 - +------ Step 10 - Verify if we can patch an Application module using modular jar [2025-12-04T06:20:05.179Z] STF 06:20:04.851 - | Run foreground process [2025-12-04T06:20:05.179Z] STF 06:20:04.851 - | Program: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17648266296553/PatModImg_AppMod_0/20251204-061958-PatModImgTest/tmp/6.XpJVM/bin/java [2025-12-04T06:20:05.179Z] STF 06:20:04.851 - | Mnemonic: OT22 [2025-12-04T06:20:05.179Z] STF 06:20:04.851 - | Echo: ECHO_ON [2025-12-04T06:20:05.179Z] STF 06:20:04.851 - | Expectation: CLEAN_RUN within 5m [2025-12-04T06:20:05.179Z] STF 06:20:04.851 - | [2025-12-04T06:20:05.179Z] STF 06:20:04.851 - Running command: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17648266296553/PatModImg_AppMod_0/20251204-061958-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_1/aqa-tests/TKG/output_17648266296553/PatModImg_AppMod_0/20251204-061958-PatModImgTest/modules/7.com.hello.jar -XX:+UseCompressedOops -classpath /Users/jenkins/externalDependency/system_lib/junit/junit.jar:/Users/jenkins/externalDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingAppModule [2025-12-04T06:20:05.179Z] STF 06:20:04.851 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17648266296553/PatModImg_AppMod_0/20251204-061958-PatModImgTest/results/10.OT22.stderr [2025-12-04T06:20:05.180Z] STF 06:20:04.851 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17648266296553/PatModImg_AppMod_0/20251204-061958-PatModImgTest/results/10.OT22.stdout [2025-12-04T06:20:05.180Z] STF 06:20:04.853 - Monitoring processes: OT22 [2025-12-04T06:20:05.180Z] OT22 stderr WARNING: module-info.class ignored in patch: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17648266296553/PatModImg_AppMod_0/20251204-061958-PatModImgTest/modules/7.com.hello.jar [2025-12-04T06:20:05.180Z] OT22 JUnit version 4.12 [2025-12-04T06:20:05.180Z] OT22 . [2025-12-04T06:20:05.527Z] OT22 Time: 0.005 [2025-12-04T06:20:05.527Z] OT22 [2025-12-04T06:20:05.527Z] OT22 OK (1 test) [2025-12-04T06:20:05.527Z] OT22 [2025-12-04T06:20:05.527Z] STF 06:20:05.151 - Monitoring Report Summary: [2025-12-04T06:20:05.527Z] STF 06:20:05.152 - o Process OT22 ended with the expected exit code (0) [2025-12-04T06:20:05.527Z] STF 06:20:05.152 - EXECUTE stage completed [2025-12-04T06:20:05.527Z] STF 06:20:05.187 - [2025-12-04T06:20:05.527Z] STF 06:20:05.187 - ==================== T E A R D O W N ==================== [2025-12-04T06:20:05.527Z] STF 06:20:05.187 - Running teardown: perl /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17648266296553/PatModImg_AppMod_0/20251204-061958-PatModImgTest/tearDown.pl [2025-12-04T06:20:05.527Z] STF 06:20:05.268 - TEARDOWN stage completed [2025-12-04T06:20:05.527Z] STF 06:20:05.276 - [2025-12-04T06:20:05.527Z] STF 06:20:05.276 - ===================== R E S U L T S ===================== [2025-12-04T06:20:05.527Z] STF 06:20:05.276 - Stage results: [2025-12-04T06:20:05.527Z] STF 06:20:05.276 - setUp: pass [2025-12-04T06:20:05.527Z] STF 06:20:05.276 - execute: pass [2025-12-04T06:20:05.527Z] STF 06:20:05.276 - teardown: pass [2025-12-04T06:20:05.527Z] STF 06:20:05.276 - [2025-12-04T06:20:05.527Z] STF 06:20:05.276 - Overall result: PASSED [2025-12-04T06:20:05.527Z] ----------------------------------- [2025-12-04T06:20:05.527Z] PatModImg_AppMod_0_PASSED [2025-12-04T06:20:05.527Z] ----------------------------------- [2025-12-04T06:20:05.527Z] [2025-12-04T06:20:05.527Z] TEST TEARDOWN: [2025-12-04T06:20:05.527Z] Nothing to be done for teardown. [2025-12-04T06:20:05.527Z] PatModImg_AppMod_0 Finish Time: Thu Dec 4 06:20:05 2025 Epoch Time (ms): 1764829205320