PatModImg_AppMod_1

[2025-05-23T04:10:06.896Z] Running test PatModImg_AppMod_1 ... [2025-05-23T04:10:07.191Z] =============================================== [2025-05-23T04:10:07.488Z] PatModImg_AppMod_1 Start Time: Fri May 23 04:10:07 2025 Epoch Time (ms): 1747973407266 [2025-05-23T04:10:07.488Z] variation: Mode650 [2025-05-23T04:10:07.836Z] JVM_OPTIONS: -XX:-UseCompressedOops [2025-05-23T04:10:07.836Z] { \ [2025-05-23T04:10:07.836Z] echo ""; echo "TEST SETUP:"; \ [2025-05-23T04:10:07.836Z] echo "Nothing to be done for setup."; \ [2025-05-23T04:10:07.836Z] mkdir -p "C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/\\TKG\\output_17479712298\\PatModImg_AppMod_1"; \ [2025-05-23T04:10:07.836Z] cd "C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/\\TKG\\output_17479712298\\PatModImg_AppMod_1"; \ [2025-05-23T04:10:07.836Z] echo ""; echo "TESTING:"; \ [2025-05-23T04:10:07.836Z] perl C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/aqa-tests///..//jvmtest\\system\\modularity/../\\STF\\stf.core\\scripts\\stf.pl -test-root="C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/aqa-tests///..//jvmtest\\system\\modularity/../\\STF;C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/aqa-tests///..//jvmtest\\system\\modularity/../\\aqa-systemtest""" -systemtest-prereqs="C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/../../testDependency/system_lib\\" -java-args=' -XX:-UseCompressedOops ' -results-root="C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/\\TKG\\output_17479712298\\PatModImg_AppMod_1" -test=PatModImgTest -test-args="variant=AppMod"; \ [2025-05-23T04:10:07.836Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatModImg_AppMod_1""_PASSED"; echo "-----------------------------------"; cd C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/; rm -f -r "C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/\\TKG\\output_17479712298\\PatModImg_AppMod_1"; else echo "-----------------------------------"; echo "PatModImg_AppMod_1""_FAILED"; echo "-----------------------------------"; fi; \ [2025-05-23T04:10:07.836Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-05-23T04:10:07.836Z] echo "Nothing to be done for teardown."; \ [2025-05-23T04:10:07.836Z] } 2>&1 | tee -a "C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/\\TKG\\output_17479712298\\TestTargetResult"; [2025-05-23T04:10:08.134Z] [2025-05-23T04:10:08.134Z] TEST SETUP: [2025-05-23T04:10:08.134Z] Nothing to be done for setup. [2025-05-23T04:10:08.134Z] [2025-05-23T04:10:08.134Z] TESTING: [2025-05-23T04:10:08.431Z] STF 04:10:08.372 - ========================= S T F ========================= [2025-05-23T04:10:08.431Z] systemtest-prereqs has been processed, and set to: C:/Users/jenkins/testDependency/system_libRetrieving amount of free space on drive containing C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/\TKG\output_17479712298\PatModImg_AppMod_1 [2025-05-23T04:10:08.727Z] There is 47791 Mb free [2025-05-23T04:10:08.727Z] STF 04:10:08.454 - ================== G E N E R A T I O N ================== [2025-05-23T04:10:08.727Z] STF 04:10:08.460 - Checking JVM: C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/jdkbinary/j2sdk-image [2025-05-23T04:10:08.727Z] STF 04:10:08.461 - Starting process to generate scripts: C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/jdkbinary/j2sdk-image/bin/java -Dlog4j.skipJansi=true -Djava.system.class.loader=net.adoptopenjdk.stf.runner.StfClassLoader -Dload.agent.path=C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/jvmtest/system/STF/stf.core/scripts/../../stf.load/bin/stf.load.jar -classpath C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/../../testDependency/system_lib\/asm/asm.jar;C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/../../testDependency/system_lib\/asm/asm-commons.jar;C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/../../testDependency/system_lib\/log4j/log4j-api.jar;C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/../../testDependency/system_lib\/log4j/log4j-core.jar;C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/\TKG\output_17479712298\PatModImg_AppMod_1/20250523-041008-PatModImgTest/stf_parameters.properties, , C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/\TKG\output_17479712298\PatModImg_AppMod_1/20250523-041008-PatModImgTest" [2025-05-23T04:10:09.776Z] GEN 04:10:09.664 - Found test. Project: 'openjdk.test.modularity' class: 'PatModImgTest.class' Dir: 'C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin' [2025-05-23T04:10:09.776Z] GEN 04:10:09.681 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModImgTest' [2025-05-23T04:10:10.073Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2025-05-23T04:10:10.073Z] GEN C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayService [2025-05-23T04:10:10.073Z] GEN C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper [2025-05-23T04:10:10.073Z] GEN C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl1 [2025-05-23T04:10:10.073Z] GEN C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet [2025-05-23T04:10:10.073Z] GEN C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello [2025-05-23T04:10:10.073Z] GEN C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola [2025-05-23T04:10:10.073Z] GEN C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl2 [2025-05-23T04:10:10.073Z] GEN C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hi [2025-05-23T04:10:10.073Z] GEN C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override [2025-05-23T04:10:10.073Z] GEN C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override-new [2025-05-23T04:10:10.073Z] GEN C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl3 [2025-05-23T04:10:10.073Z] GEN C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl4 [2025-05-23T04:10:10.073Z] GEN C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common [2025-05-23T04:10:10.073Z] GEN C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests [2025-05-23T04:10:10.073Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin [2025-05-23T04:10:10.073Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0\\jvmtest\\system\\STF\\stf.core\\bin [2025-05-23T04:10:10.073Z] GEN C:/Users/jenkins/testDependency/system_lib/log4j/log4j-api.jar [2025-05-23T04:10:10.073Z] GEN C:/Users/jenkins/testDependency/system_lib/log4j/log4j-core.jar [2025-05-23T04:10:10.073Z] GEN C:/Users/jenkins/testDependency/system_lib/junit/junit.jar [2025-05-23T04:10:10.073Z] GEN 04:10:09.936 - Using Mode NoOptions. Values = '' [2025-05-23T04:10:10.370Z] GEN 04:10:10.107 - [2025-05-23T04:10:10.370Z] GEN 04:10:10.107 - Test command summary: [2025-05-23T04:10:10.370Z] GEN 04:10:10.107 - Step Stage Command Description [2025-05-23T04:10:10.370Z] GEN 04:10:10.108 - -----+--------+-----------------+------------ [2025-05-23T04:10:10.370Z] GEN 04:10:10.108 - 1 execute jar Create com.hello jar [2025-05-23T04:10:10.370Z] GEN 04:10:10.108 - 2 execute jar Create com.hola jar [2025-05-23T04:10:10.370Z] GEN 04:10:10.108 - 3 execute jar Create com.helper jar [2025-05-23T04:10:10.370Z] GEN 04:10:10.108 - 4 execute jar Create com.discreet jar [2025-05-23T04:10:10.370Z] GEN 04:10:10.108 - 5 execute jar Create tests jar [2025-05-23T04:10:10.370Z] GEN 04:10:10.108 - 6 execute jlink Create runtime image for PatchModule test [2025-05-23T04:10:10.370Z] GEN 04:10:10.108 - 7 execute jar Create com.hello jar [2025-05-23T04:10:10.370Z] GEN 04:10:10.108 - 8 execute jar create java.xml.jar [2025-05-23T04:10:10.370Z] GEN 04:10:10.108 - 9 execute Run java Verify if we can patch an Application module using exploded directory [2025-05-23T04:10:10.370Z] GEN 04:10:10.108 - 10 execute Run java Verify if we can patch an Application module using modular jar [2025-05-23T04:10:10.370Z] STF 04:10:10.164 - [2025-05-23T04:10:10.370Z] STF 04:10:10.164 - Script generation completed [2025-05-23T04:10:10.370Z] STF 04:10:10.164 - [2025-05-23T04:10:10.370Z] STF 04:10:10.166 - [2025-05-23T04:10:10.370Z] STF 04:10:10.166 - ======================= S E T U P ======================= [2025-05-23T04:10:10.370Z] STF 04:10:10.166 - Running setup: perl C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/\TKG\output_17479712298\PatModImg_AppMod_1/20250523-041008-PatModImgTest/setUp.pl [2025-05-23T04:10:10.667Z] STF 04:10:10.546 - SETUP stage completed [2025-05-23T04:10:10.667Z] STF 04:10:10.594 - [2025-05-23T04:10:10.667Z] STF 04:10:10.594 - ==================== E X E C U T E - ==================== [2025-05-23T04:10:10.667Z] STF 04:10:10.594 - Running execute: perl C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/\TKG\output_17479712298\PatModImg_AppMod_1/20250523-041008-PatModImgTest/execute.pl [2025-05-23T04:10:11.309Z] STF 04:10:10.992 - [2025-05-23T04:10:11.309Z] STF 04:10:10.993 - Java version [2025-05-23T04:10:11.309Z] STF 04:10:10.993 - Running: C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/jdkbinary/j2sdk-image/bin/java -version [2025-05-23T04:10:11.309Z] STF 04:10:11.111 - [2025-05-23T04:10:11.309Z] STF 04:10:11.111 - +------ Step 1 - Create com.hello jar [2025-05-23T04:10:11.309Z] STF 04:10:11.111 - | Create modular jar [2025-05-23T04:10:11.309Z] STF 04:10:11.111 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2025-05-23T04:10:11.309Z] STF 04:10:11.112 - | ModuleVersion: null [2025-05-23T04:10:11.309Z] STF 04:10:11.112 - | MainClass: null [2025-05-23T04:10:11.309Z] STF 04:10:11.112 - | HashModules: null [2025-05-23T04:10:11.309Z] STF 04:10:11.112 - | [2025-05-23T04:10:11.309Z] STF 04:10:11.113 - Running command: C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17479712298/PatModImg_AppMod_1/20250523-041008-PatModImgTest/modules/1.com.hello.jar -C C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello . [2025-05-23T04:10:11.309Z] STF 04:10:11.113 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17479712298/PatModImg_AppMod_1/20250523-041008-PatModImgTest/results/1.CMJ.stderr [2025-05-23T04:10:11.309Z] STF 04:10:11.113 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17479712298/PatModImg_AppMod_1/20250523-041008-PatModImgTest/results/1.CMJ.stdout [2025-05-23T04:10:11.309Z] openjdk version "25-beta" 2025-09-16 [2025-05-23T04:10:11.309Z] OpenJDK Runtime Environment Temurin-25+24-202505222039 (build 25-beta+24-ea) [2025-05-23T04:10:11.309Z] OpenJDK 64-Bit Server VM Temurin-25+24-202505222039 (build 25-beta+24-ea, mixed mode) [2025-05-23T04:10:11.309Z] STF 04:10:11.182 - Monitoring processes: CMJ [2025-05-23T04:10:11.606Z] STF 04:10:11.546 - Monitoring Report Summary: [2025-05-23T04:10:11.606Z] STF 04:10:11.546 - o Process CMJ ended with the expected exit code (0) [2025-05-23T04:10:11.606Z] STF 04:10:11.547 - Created modular jar: 1.com.hello.jar [2025-05-23T04:10:11.606Z] STF 04:10:11.547 - [2025-05-23T04:10:11.606Z] STF 04:10:11.547 - +------ Step 2 - Create com.hola jar [2025-05-23T04:10:11.606Z] STF 04:10:11.547 - | Create modular jar [2025-05-23T04:10:11.606Z] STF 04:10:11.547 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2025-05-23T04:10:11.606Z] STF 04:10:11.547 - | ModuleVersion: null [2025-05-23T04:10:11.606Z] STF 04:10:11.547 - | MainClass: null [2025-05-23T04:10:11.606Z] STF 04:10:11.548 - | HashModules: null [2025-05-23T04:10:11.606Z] STF 04:10:11.548 - | [2025-05-23T04:10:11.606Z] STF 04:10:11.548 - Running command: C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17479712298/PatModImg_AppMod_1/20250523-041008-PatModImgTest/modules/2.com.hola.jar -C C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola . [2025-05-23T04:10:11.606Z] STF 04:10:11.548 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17479712298/PatModImg_AppMod_1/20250523-041008-PatModImgTest/results/2.CMJ.stderr [2025-05-23T04:10:11.606Z] STF 04:10:11.548 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17479712298/PatModImg_AppMod_1/20250523-041008-PatModImgTest/results/2.CMJ.stdout [2025-05-23T04:10:11.606Z] STF 04:10:11.556 - Monitoring processes: CMJ [2025-05-23T04:10:12.250Z] STF 04:10:11.928 - Monitoring Report Summary: [2025-05-23T04:10:12.250Z] STF 04:10:11.928 - o Process CMJ ended with the expected exit code (0) [2025-05-23T04:10:12.250Z] STF 04:10:11.929 - Created modular jar: 2.com.hola.jar [2025-05-23T04:10:12.250Z] STF 04:10:11.929 - [2025-05-23T04:10:12.250Z] STF 04:10:11.929 - +------ Step 3 - Create com.helper jar [2025-05-23T04:10:12.250Z] STF 04:10:11.929 - | Create modular jar [2025-05-23T04:10:12.250Z] STF 04:10:11.929 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2025-05-23T04:10:12.250Z] STF 04:10:11.929 - | ModuleVersion: null [2025-05-23T04:10:12.250Z] STF 04:10:11.929 - | MainClass: null [2025-05-23T04:10:12.250Z] STF 04:10:11.929 - | HashModules: null [2025-05-23T04:10:12.250Z] STF 04:10:11.929 - | [2025-05-23T04:10:12.251Z] STF 04:10:11.930 - Running command: C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17479712298/PatModImg_AppMod_1/20250523-041008-PatModImgTest/modules/3.com.helper.jar -C C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper . [2025-05-23T04:10:12.251Z] STF 04:10:11.930 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17479712298/PatModImg_AppMod_1/20250523-041008-PatModImgTest/results/3.CMJ.stderr [2025-05-23T04:10:12.251Z] STF 04:10:11.930 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17479712298/PatModImg_AppMod_1/20250523-041008-PatModImgTest/results/3.CMJ.stdout [2025-05-23T04:10:12.251Z] STF 04:10:11.938 - Monitoring processes: CMJ [2025-05-23T04:10:12.547Z] STF 04:10:12.312 - Monitoring Report Summary: [2025-05-23T04:10:12.547Z] STF 04:10:12.312 - o Process CMJ ended with the expected exit code (0) [2025-05-23T04:10:12.547Z] STF 04:10:12.313 - Created modular jar: 3.com.helper.jar [2025-05-23T04:10:12.547Z] STF 04:10:12.313 - [2025-05-23T04:10:12.547Z] STF 04:10:12.313 - +------ Step 4 - Create com.discreet jar [2025-05-23T04:10:12.547Z] STF 04:10:12.313 - | Create modular jar [2025-05-23T04:10:12.547Z] STF 04:10:12.313 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2025-05-23T04:10:12.547Z] STF 04:10:12.313 - | ModuleVersion: null [2025-05-23T04:10:12.547Z] STF 04:10:12.313 - | MainClass: null [2025-05-23T04:10:12.547Z] STF 04:10:12.313 - | HashModules: null [2025-05-23T04:10:12.547Z] STF 04:10:12.313 - | [2025-05-23T04:10:12.547Z] STF 04:10:12.314 - Running command: C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17479712298/PatModImg_AppMod_1/20250523-041008-PatModImgTest/modules/4.com.discreet.jar -C C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet . [2025-05-23T04:10:12.547Z] STF 04:10:12.314 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17479712298/PatModImg_AppMod_1/20250523-041008-PatModImgTest/results/4.CMJ.stderr [2025-05-23T04:10:12.547Z] STF 04:10:12.314 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17479712298/PatModImg_AppMod_1/20250523-041008-PatModImgTest/results/4.CMJ.stdout [2025-05-23T04:10:12.548Z] STF 04:10:12.321 - Monitoring processes: CMJ [2025-05-23T04:10:12.844Z] STF 04:10:12.698 - Monitoring Report Summary: [2025-05-23T04:10:12.844Z] STF 04:10:12.698 - o Process CMJ ended with the expected exit code (0) [2025-05-23T04:10:12.844Z] STF 04:10:12.699 - Created modular jar: 4.com.discreet.jar [2025-05-23T04:10:12.844Z] STF 04:10:12.699 - [2025-05-23T04:10:12.844Z] STF 04:10:12.699 - +------ Step 5 - Create tests jar [2025-05-23T04:10:12.844Z] STF 04:10:12.699 - | Create modular jar [2025-05-23T04:10:12.844Z] STF 04:10:12.699 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2025-05-23T04:10:12.844Z] STF 04:10:12.699 - | ModuleVersion: null [2025-05-23T04:10:12.844Z] STF 04:10:12.699 - | MainClass: null [2025-05-23T04:10:12.844Z] STF 04:10:12.699 - | HashModules: null [2025-05-23T04:10:12.844Z] STF 04:10:12.699 - | [2025-05-23T04:10:12.844Z] STF 04:10:12.700 - Running command: C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17479712298/PatModImg_AppMod_1/20250523-041008-PatModImgTest/modules/5.com.test.jar -C C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests\com.test . [2025-05-23T04:10:12.844Z] STF 04:10:12.700 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17479712298/PatModImg_AppMod_1/20250523-041008-PatModImgTest/results/5.CMJ.stderr [2025-05-23T04:10:12.844Z] STF 04:10:12.700 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17479712298/PatModImg_AppMod_1/20250523-041008-PatModImgTest/results/5.CMJ.stdout [2025-05-23T04:10:12.844Z] STF 04:10:12.708 - Monitoring processes: CMJ [2025-05-23T04:10:13.487Z] STF 04:10:13.129 - Monitoring Report Summary: [2025-05-23T04:10:13.487Z] STF 04:10:13.129 - o Process CMJ ended with the expected exit code (0) [2025-05-23T04:10:13.487Z] STF 04:10:13.130 - Created modular jar: 5.com.test.jar [2025-05-23T04:10:13.487Z] STF 04:10:13.130 - [2025-05-23T04:10:13.487Z] STF 04:10:13.130 - +------ Step 6 - Create runtime image for PatchModule test [2025-05-23T04:10:13.487Z] STF 04:10:13.130 - | Run jlink to create runtime image [2025-05-23T04:10:13.487Z] STF 04:10:13.130 - | ImageName: XpJVM [2025-05-23T04:10:13.487Z] STF 04:10:13.130 - | [2025-05-23T04:10:13.487Z] STF 04:10:13.131 - Running command: C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/jdkbinary/j2sdk-image/bin/jlink --module-path C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0\jdkbinary\j2sdk-image\jmods;C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0\aqa-tests\TKG\output_17479712298\PatModImg_AppMod_1\20250523-041008-PatModImgTest\modules --add-modules com.hello,com.hola,com.test,com.helper,com.discreet --output C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0\aqa-tests\TKG\output_17479712298\PatModImg_AppMod_1\20250523-041008-PatModImgTest\tmp\6.XpJVM [2025-05-23T04:10:13.487Z] STF 04:10:13.131 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17479712298/PatModImg_AppMod_1/20250523-041008-PatModImgTest/results/6.JLNK.stderr [2025-05-23T04:10:13.487Z] STF 04:10:13.131 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17479712298/PatModImg_AppMod_1/20250523-041008-PatModImgTest/results/6.JLNK.stdout [2025-05-23T04:10:13.487Z] STF 04:10:13.158 - Monitoring processes: JLNK [2025-05-23T04:10:16.265Z] STF 04:10:15.871 - Monitoring Report Summary: [2025-05-23T04:10:16.265Z] STF 04:10:15.871 - o Process JLNK ended with the expected exit code (0) [2025-05-23T04:10:16.265Z] STF 04:10:15.872 - [2025-05-23T04:10:16.265Z] STF 04:10:15.872 - +------ Step 7 - Create com.hello jar [2025-05-23T04:10:16.265Z] STF 04:10:15.872 - | Create modular jar [2025-05-23T04:10:16.265Z] STF 04:10:15.872 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2025-05-23T04:10:16.265Z] STF 04:10:15.872 - | ModuleVersion: null [2025-05-23T04:10:16.265Z] STF 04:10:15.872 - | MainClass: null [2025-05-23T04:10:16.265Z] STF 04:10:15.872 - | HashModules: null [2025-05-23T04:10:16.265Z] STF 04:10:15.872 - | [2025-05-23T04:10:16.265Z] STF 04:10:15.873 - Running command: C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17479712298/PatModImg_AppMod_1/20250523-041008-PatModImgTest/modules/7.com.hello.jar -C C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.hello . [2025-05-23T04:10:16.265Z] STF 04:10:15.873 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17479712298/PatModImg_AppMod_1/20250523-041008-PatModImgTest/results/7.CMJ.stderr [2025-05-23T04:10:16.265Z] STF 04:10:15.873 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17479712298/PatModImg_AppMod_1/20250523-041008-PatModImgTest/results/7.CMJ.stdout [2025-05-23T04:10:16.265Z] STF 04:10:15.889 - Monitoring processes: CMJ [2025-05-23T04:10:16.562Z] STF 04:10:16.308 - Monitoring Report Summary: [2025-05-23T04:10:16.562Z] STF 04:10:16.308 - o Process CMJ ended with the expected exit code (0) [2025-05-23T04:10:16.562Z] STF 04:10:16.309 - Created modular jar: 7.com.hello.jar [2025-05-23T04:10:16.562Z] STF 04:10:16.309 - [2025-05-23T04:10:16.562Z] STF 04:10:16.309 - +------ Step 8 - create java.xml.jar [2025-05-23T04:10:16.562Z] STF 04:10:16.309 - | Create modular jar [2025-05-23T04:10:16.562Z] STF 04:10:16.309 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml [2025-05-23T04:10:16.562Z] STF 04:10:16.309 - | ModuleVersion: null [2025-05-23T04:10:16.562Z] STF 04:10:16.309 - | MainClass: null [2025-05-23T04:10:16.562Z] STF 04:10:16.309 - | HashModules: null [2025-05-23T04:10:16.562Z] STF 04:10:16.309 - | [2025-05-23T04:10:16.562Z] STF 04:10:16.310 - Running command: C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17479712298/PatModImg_AppMod_1/20250523-041008-PatModImgTest/modules/8.java.xml.jar -C C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\java.xml . [2025-05-23T04:10:16.562Z] STF 04:10:16.310 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17479712298/PatModImg_AppMod_1/20250523-041008-PatModImgTest/results/8.CMJ.stderr [2025-05-23T04:10:16.562Z] STF 04:10:16.310 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17479712298/PatModImg_AppMod_1/20250523-041008-PatModImgTest/results/8.CMJ.stdout [2025-05-23T04:10:16.562Z] STF 04:10:16.317 - Monitoring processes: CMJ [2025-05-23T04:10:16.862Z] STF 04:10:16.703 - Monitoring Report Summary: [2025-05-23T04:10:16.862Z] STF 04:10:16.703 - o Process CMJ ended with the expected exit code (0) [2025-05-23T04:10:16.862Z] STF 04:10:16.704 - Created modular jar: 8.java.xml.jar [2025-05-23T04:10:16.862Z] STF 04:10:16.704 - [2025-05-23T04:10:16.862Z] STF 04:10:16.704 - +------ Step 9 - Verify if we can patch an Application module using exploded directory [2025-05-23T04:10:16.862Z] STF 04:10:16.704 - | Run foreground process [2025-05-23T04:10:16.862Z] STF 04:10:16.704 - | Program: C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17479712298/PatModImg_AppMod_1/20250523-041008-PatModImgTest/tmp/6.XpJVM/bin/java [2025-05-23T04:10:16.862Z] STF 04:10:16.704 - | Mnemonic: OT21 [2025-05-23T04:10:16.862Z] STF 04:10:16.704 - | Echo: ECHO_ON [2025-05-23T04:10:16.862Z] STF 04:10:16.704 - | Expectation: CLEAN_RUN within 5m [2025-05-23T04:10:16.862Z] STF 04:10:16.704 - | [2025-05-23T04:10:16.862Z] STF 04:10:16.705 - Running command: C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17479712298/PatModImg_AppMod_1/20250523-041008-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module com.hello=C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.hello -XX:-UseCompressedOops -classpath C:/Users/jenkins/testDependency/system_lib/junit/junit.jar;C:/Users/jenkins/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingAppModule [2025-05-23T04:10:16.862Z] STF 04:10:16.705 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17479712298/PatModImg_AppMod_1/20250523-041008-PatModImgTest/results/9.OT21.stderr [2025-05-23T04:10:16.862Z] STF 04:10:16.705 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17479712298/PatModImg_AppMod_1/20250523-041008-PatModImgTest/results/9.OT21.stdout [2025-05-23T04:10:16.862Z] STF 04:10:16.737 - Monitoring processes: OT21 [2025-05-23T04:10:17.160Z] OT21 stderr WARNING: module-info.class ignored in patch: C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.hello [2025-05-23T04:10:17.160Z] OT21 JUnit version 4.12 [2025-05-23T04:10:17.458Z] OT21 . [2025-05-23T04:10:17.458Z] OT21 Time: 0.014 [2025-05-23T04:10:17.458Z] OT21 [2025-05-23T04:10:17.458Z] OT21 OK (1 test) [2025-05-23T04:10:17.458Z] OT21 [2025-05-23T04:10:17.458Z] STF 04:10:17.172 - Monitoring Report Summary: [2025-05-23T04:10:17.458Z] STF 04:10:17.172 - o Process OT21 ended with the expected exit code (0) [2025-05-23T04:10:17.458Z] STF 04:10:17.173 - [2025-05-23T04:10:17.458Z] STF 04:10:17.173 - +------ Step 10 - Verify if we can patch an Application module using modular jar [2025-05-23T04:10:17.458Z] STF 04:10:17.173 - | Run foreground process [2025-05-23T04:10:17.458Z] STF 04:10:17.173 - | Program: C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17479712298/PatModImg_AppMod_1/20250523-041008-PatModImgTest/tmp/6.XpJVM/bin/java [2025-05-23T04:10:17.458Z] STF 04:10:17.173 - | Mnemonic: OT22 [2025-05-23T04:10:17.458Z] STF 04:10:17.173 - | Echo: ECHO_ON [2025-05-23T04:10:17.458Z] STF 04:10:17.174 - | Expectation: CLEAN_RUN within 5m [2025-05-23T04:10:17.458Z] STF 04:10:17.174 - | [2025-05-23T04:10:17.458Z] STF 04:10:17.175 - Running command: C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17479712298/PatModImg_AppMod_1/20250523-041008-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module com.hello=C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17479712298/PatModImg_AppMod_1/20250523-041008-PatModImgTest/modules/7.com.hello.jar -XX:-UseCompressedOops -classpath C:/Users/jenkins/testDependency/system_lib/junit/junit.jar;C:/Users/jenkins/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingAppModule [2025-05-23T04:10:17.458Z] STF 04:10:17.175 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17479712298/PatModImg_AppMod_1/20250523-041008-PatModImgTest/results/10.OT22.stderr [2025-05-23T04:10:17.458Z] STF 04:10:17.175 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17479712298/PatModImg_AppMod_1/20250523-041008-PatModImgTest/results/10.OT22.stdout [2025-05-23T04:10:17.458Z] STF 04:10:17.184 - Monitoring processes: OT22 [2025-05-23T04:10:17.458Z] OT22 stderr WARNING: module-info.class ignored in patch: C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0\aqa-tests\TKG\output_17479712298\PatModImg_AppMod_1\20250523-041008-PatModImgTest\modules\7.com.hello.jar [2025-05-23T04:10:17.756Z] OT22 JUnit version 4.12 [2025-05-23T04:10:17.756Z] OT22 . [2025-05-23T04:10:17.756Z] OT22 Time: 0.009 [2025-05-23T04:10:17.756Z] OT22 [2025-05-23T04:10:17.756Z] OT22 OK (1 test) [2025-05-23T04:10:17.756Z] OT22 [2025-05-23T04:10:17.756Z] STF 04:10:17.573 - Monitoring Report Summary: [2025-05-23T04:10:17.756Z] STF 04:10:17.574 - o Process OT22 ended with the expected exit code (0) [2025-05-23T04:10:17.756Z] STF 04:10:17.574 - EXECUTE stage completed [2025-05-23T04:10:17.756Z] STF 04:10:17.666 - [2025-05-23T04:10:17.756Z] STF 04:10:17.666 - ==================== T E A R D O W N ==================== [2025-05-23T04:10:17.756Z] STF 04:10:17.666 - Running teardown: perl C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/\TKG\output_17479712298\PatModImg_AppMod_1/20250523-041008-PatModImgTest/tearDown.pl [2025-05-23T04:10:18.400Z] STF 04:10:18.058 - TEARDOWN stage completed [2025-05-23T04:10:18.400Z] STF 04:10:18.097 - [2025-05-23T04:10:18.400Z] STF 04:10:18.097 - ===================== R E S U L T S ===================== [2025-05-23T04:10:18.400Z] STF 04:10:18.097 - Stage results: [2025-05-23T04:10:18.400Z] STF 04:10:18.097 - setUp: pass [2025-05-23T04:10:18.400Z] STF 04:10:18.097 - execute: pass [2025-05-23T04:10:18.400Z] STF 04:10:18.097 - teardown: pass [2025-05-23T04:10:18.400Z] STF 04:10:18.097 - [2025-05-23T04:10:18.400Z] STF 04:10:18.097 - Overall result: PASSED [2025-05-23T04:10:18.400Z] ----------------------------------- [2025-05-23T04:10:18.400Z] PatModImg_AppMod_1_PASSED [2025-05-23T04:10:18.400Z] ----------------------------------- [2025-05-23T04:10:18.400Z] [2025-05-23T04:10:18.400Z] TEST TEARDOWN: [2025-05-23T04:10:18.400Z] Nothing to be done for teardown. [2025-05-23T04:10:18.696Z] PatModImg_AppMod_1 Finish Time: Fri May 23 04:10:18 2025 Epoch Time (ms): 1747973418513