PatModImg_AppMod_1

[2025-08-30T06:28:21.999Z] Running test PatModImg_AppMod_1 ... [2025-08-30T06:28:22.293Z] =============================================== [2025-08-30T06:28:22.644Z] PatModImg_AppMod_1 Start Time: Sat Aug 30 06:28:22 2025 Epoch Time (ms): 1756535302301 [2025-08-30T06:28:22.644Z] variation: Mode650 [2025-08-30T06:28:22.939Z] JVM_OPTIONS: -XX:-UseCompressedOops [2025-08-30T06:28:22.939Z] { \ [2025-08-30T06:28:22.939Z] echo ""; echo "TEST SETUP:"; \ [2025-08-30T06:28:22.939Z] echo "Nothing to be done for setup."; \ [2025-08-30T06:28:22.939Z] mkdir -p "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17565332672976\\PatModImg_AppMod_1"; \ [2025-08-30T06:28:22.939Z] cd "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17565332672976\\PatModImg_AppMod_1"; \ [2025-08-30T06:28:22.939Z] echo ""; echo "TESTING:"; \ [2025-08-30T06:28:22.939Z] perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests///..//jvmtest\\system\\modularity/../\\STF\\stf.core\\scripts\\stf.pl -test-root="C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests///..//jvmtest\\system\\modularity/../\\STF;C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests///..//jvmtest\\system\\modularity/../\\aqa-systemtest""" -systemtest-prereqs="C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/../../externalDependency/system_lib\\" -java-args=' -XX:-UseCompressedOops ' -results-root="C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17565332672976\\PatModImg_AppMod_1" -test=PatModImgTest -test-args="variant=AppMod"; \ [2025-08-30T06:28:22.940Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatModImg_AppMod_1""_PASSED"; echo "-----------------------------------"; cd C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/; rm -f -r "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17565332672976\\PatModImg_AppMod_1"; else echo "-----------------------------------"; echo "PatModImg_AppMod_1""_FAILED"; echo "-----------------------------------"; fi; \ [2025-08-30T06:28:22.940Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-08-30T06:28:22.940Z] echo "Nothing to be done for teardown."; \ [2025-08-30T06:28:22.940Z] } 2>&1 | tee -a "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17565332672976\\TestTargetResult"; [2025-08-30T06:28:22.940Z] [2025-08-30T06:28:22.940Z] TEST SETUP: [2025-08-30T06:28:22.940Z] Nothing to be done for setup. [2025-08-30T06:28:22.940Z] [2025-08-30T06:28:22.940Z] TESTING: [2025-08-30T06:28:23.588Z] STF 06:28:23.332 - ========================= S T F ========================= [2025-08-30T06:28:23.588Z] systemtest-prereqs has been processed, and set to: C:/Users/jenkins/externalDependency/system_libRetrieving amount of free space on drive containing C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17565332672976\PatModImg_AppMod_1 [2025-08-30T06:28:23.588Z] There is 18228 Mb free [2025-08-30T06:28:23.588Z] STF 06:28:23.411 - ================== G E N E R A T I O N ================== [2025-08-30T06:28:23.588Z] STF 06:28:23.416 - Checking JVM: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image [2025-08-30T06:28:23.588Z] STF 06:28:23.417 - Starting process to generate scripts: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/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_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jvmtest/system/STF/stf.core/scripts/../../stf.load/bin/stf.load.jar -classpath C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/../../externalDependency/system_lib\/asm/asm.jar;C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/../../externalDependency/system_lib\/asm/asm-commons.jar;C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/../../externalDependency/system_lib\/log4j/log4j-api.jar;C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/../../externalDependency/system_lib\/log4j/log4j-core.jar;C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17565332672976\PatModImg_AppMod_1/20250830-062823-PatModImgTest/stf_parameters.properties, , C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17565332672976\PatModImg_AppMod_1/20250830-062823-PatModImgTest" [2025-08-30T06:28:23.588Z] GEN stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-08-30T06:28:25.105Z] GEN 06:28:24.645 - Found test. Project: 'openjdk.test.modularity' class: 'PatModImgTest.class' Dir: 'C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin' [2025-08-30T06:28:25.105Z] GEN 06:28:24.676 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModImgTest' [2025-08-30T06:28:25.105Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2025-08-30T06:28:25.105Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayService [2025-08-30T06:28:25.106Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper [2025-08-30T06:28:25.106Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl1 [2025-08-30T06:28:25.106Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet [2025-08-30T06:28:25.106Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello [2025-08-30T06:28:25.106Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola [2025-08-30T06:28:25.106Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl2 [2025-08-30T06:28:25.106Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hi [2025-08-30T06:28:25.106Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override [2025-08-30T06:28:25.106Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override-new [2025-08-30T06:28:25.106Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl3 [2025-08-30T06:28:25.106Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl4 [2025-08-30T06:28:25.106Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common [2025-08-30T06:28:25.106Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests [2025-08-30T06:28:25.106Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin [2025-08-30T06:28:25.106Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\\jvmtest\\system\\STF\\stf.core\\bin [2025-08-30T06:28:25.106Z] GEN C:/Users/jenkins/externalDependency/system_lib/log4j/log4j-api.jar [2025-08-30T06:28:25.106Z] GEN C:/Users/jenkins/externalDependency/system_lib/log4j/log4j-core.jar [2025-08-30T06:28:25.106Z] GEN C:/Users/jenkins/externalDependency/system_lib/junit/junit.jar [2025-08-30T06:28:25.106Z] GEN 06:28:24.895 - Using Mode NoOptions. Values = '' [2025-08-30T06:28:25.106Z] GEN 06:28:25.020 - [2025-08-30T06:28:25.106Z] GEN 06:28:25.020 - Test command summary: [2025-08-30T06:28:25.106Z] GEN 06:28:25.020 - Step Stage Command Description [2025-08-30T06:28:25.106Z] GEN 06:28:25.020 - -----+--------+-----------------+------------ [2025-08-30T06:28:25.106Z] GEN 06:28:25.020 - 1 execute jar Create com.hello jar [2025-08-30T06:28:25.106Z] GEN 06:28:25.020 - 2 execute jar Create com.hola jar [2025-08-30T06:28:25.106Z] GEN 06:28:25.020 - 3 execute jar Create com.helper jar [2025-08-30T06:28:25.106Z] GEN 06:28:25.020 - 4 execute jar Create com.discreet jar [2025-08-30T06:28:25.106Z] GEN 06:28:25.020 - 5 execute jar Create tests jar [2025-08-30T06:28:25.106Z] GEN 06:28:25.020 - 6 execute jlink Create runtime image for PatchModule test [2025-08-30T06:28:25.106Z] GEN 06:28:25.020 - 7 execute jar Create com.hello jar [2025-08-30T06:28:25.106Z] GEN 06:28:25.020 - 8 execute jar create java.xml.jar [2025-08-30T06:28:25.106Z] GEN 06:28:25.020 - 9 execute Run java Verify if we can patch an Application module using exploded directory [2025-08-30T06:28:25.106Z] GEN 06:28:25.020 - 10 execute Run java Verify if we can patch an Application module using modular jar [2025-08-30T06:28:25.106Z] STF 06:28:25.055 - [2025-08-30T06:28:25.106Z] STF 06:28:25.055 - Script generation completed [2025-08-30T06:28:25.106Z] STF 06:28:25.055 - [2025-08-30T06:28:25.106Z] STF 06:28:25.057 - [2025-08-30T06:28:25.106Z] STF 06:28:25.057 - ======================= S E T U P ======================= [2025-08-30T06:28:25.106Z] STF 06:28:25.057 - Running setup: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17565332672976\PatModImg_AppMod_1/20250830-062823-PatModImgTest/setUp.pl [2025-08-30T06:28:25.742Z] STF 06:28:25.426 - SETUP stage completed [2025-08-30T06:28:25.742Z] STF 06:28:25.457 - [2025-08-30T06:28:25.742Z] STF 06:28:25.457 - ==================== E X E C U T E - ==================== [2025-08-30T06:28:25.742Z] STF 06:28:25.457 - Running execute: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17565332672976\PatModImg_AppMod_1/20250830-062823-PatModImgTest/execute.pl [2025-08-30T06:28:26.043Z] STF 06:28:25.848 - [2025-08-30T06:28:26.043Z] STF 06:28:25.848 - Java version [2025-08-30T06:28:26.043Z] STF 06:28:25.848 - Running: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/java -version [2025-08-30T06:28:26.043Z] Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-08-30T06:28:26.043Z] openjdk version "21.0.9-beta" 2025-10-21 [2025-08-30T06:28:26.043Z] OpenJDK Runtime Environment Temurin-21.0.9+5-202508292308 (build 21.0.9-beta+5-ea) [2025-08-30T06:28:26.043Z] OpenJDK 64-Bit Server VM Temurin-21.0.9+5-202508292308 (build 21.0.9-beta+5-ea, mixed mode) [2025-08-30T06:28:26.043Z] STF 06:28:25.965 - [2025-08-30T06:28:26.043Z] STF 06:28:25.965 - +------ Step 1 - Create com.hello jar [2025-08-30T06:28:26.043Z] STF 06:28:25.965 - | Create modular jar [2025-08-30T06:28:26.043Z] STF 06:28:25.965 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2025-08-30T06:28:26.043Z] STF 06:28:25.965 - | ModuleVersion: null [2025-08-30T06:28:26.043Z] STF 06:28:25.965 - | MainClass: null [2025-08-30T06:28:26.043Z] STF 06:28:25.965 - | HashModules: null [2025-08-30T06:28:26.043Z] STF 06:28:25.965 - | [2025-08-30T06:28:26.043Z] STF 06:28:25.966 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17565332672976/PatModImg_AppMod_1/20250830-062823-PatModImgTest/modules/1.com.hello.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello . [2025-08-30T06:28:26.043Z] STF 06:28:25.967 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17565332672976/PatModImg_AppMod_1/20250830-062823-PatModImgTest/results/1.CMJ.stderr [2025-08-30T06:28:26.043Z] STF 06:28:25.967 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17565332672976/PatModImg_AppMod_1/20250830-062823-PatModImgTest/results/1.CMJ.stdout [2025-08-30T06:28:26.342Z] STF 06:28:26.032 - Monitoring processes: CMJ [2025-08-30T06:28:26.342Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-08-30T06:28:26.637Z] STF 06:28:26.439 - Monitoring Report Summary: [2025-08-30T06:28:26.637Z] STF 06:28:26.440 - o Process CMJ ended with the expected exit code (0) [2025-08-30T06:28:26.637Z] STF 06:28:26.441 - Created modular jar: 1.com.hello.jar [2025-08-30T06:28:26.637Z] STF 06:28:26.441 - [2025-08-30T06:28:26.637Z] STF 06:28:26.441 - +------ Step 2 - Create com.hola jar [2025-08-30T06:28:26.637Z] STF 06:28:26.441 - | Create modular jar [2025-08-30T06:28:26.637Z] STF 06:28:26.441 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2025-08-30T06:28:26.637Z] STF 06:28:26.441 - | ModuleVersion: null [2025-08-30T06:28:26.637Z] STF 06:28:26.441 - | MainClass: null [2025-08-30T06:28:26.637Z] STF 06:28:26.441 - | HashModules: null [2025-08-30T06:28:26.637Z] STF 06:28:26.441 - | [2025-08-30T06:28:26.637Z] STF 06:28:26.441 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17565332672976/PatModImg_AppMod_1/20250830-062823-PatModImgTest/modules/2.com.hola.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola . [2025-08-30T06:28:26.637Z] STF 06:28:26.441 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17565332672976/PatModImg_AppMod_1/20250830-062823-PatModImgTest/results/2.CMJ.stderr [2025-08-30T06:28:26.637Z] STF 06:28:26.441 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17565332672976/PatModImg_AppMod_1/20250830-062823-PatModImgTest/results/2.CMJ.stdout [2025-08-30T06:28:26.637Z] STF 06:28:26.449 - Monitoring processes: CMJ [2025-08-30T06:28:26.637Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-08-30T06:28:27.275Z] STF 06:28:26.898 - Monitoring Report Summary: [2025-08-30T06:28:27.275Z] STF 06:28:26.898 - o Process CMJ ended with the expected exit code (0) [2025-08-30T06:28:27.275Z] STF 06:28:26.899 - Created modular jar: 2.com.hola.jar [2025-08-30T06:28:27.275Z] STF 06:28:26.899 - [2025-08-30T06:28:27.275Z] STF 06:28:26.899 - +------ Step 3 - Create com.helper jar [2025-08-30T06:28:27.275Z] STF 06:28:26.899 - | Create modular jar [2025-08-30T06:28:27.275Z] STF 06:28:26.899 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2025-08-30T06:28:27.276Z] STF 06:28:26.899 - | ModuleVersion: null [2025-08-30T06:28:27.276Z] STF 06:28:26.899 - | MainClass: null [2025-08-30T06:28:27.276Z] STF 06:28:26.899 - | HashModules: null [2025-08-30T06:28:27.276Z] STF 06:28:26.899 - | [2025-08-30T06:28:27.276Z] STF 06:28:26.900 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17565332672976/PatModImg_AppMod_1/20250830-062823-PatModImgTest/modules/3.com.helper.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper . [2025-08-30T06:28:27.276Z] STF 06:28:26.900 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17565332672976/PatModImg_AppMod_1/20250830-062823-PatModImgTest/results/3.CMJ.stderr [2025-08-30T06:28:27.276Z] STF 06:28:26.900 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17565332672976/PatModImg_AppMod_1/20250830-062823-PatModImgTest/results/3.CMJ.stdout [2025-08-30T06:28:27.276Z] STF 06:28:26.908 - Monitoring processes: CMJ [2025-08-30T06:28:27.276Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-08-30T06:28:27.572Z] STF 06:28:27.320 - Monitoring Report Summary: [2025-08-30T06:28:27.572Z] STF 06:28:27.320 - o Process CMJ ended with the expected exit code (0) [2025-08-30T06:28:27.572Z] STF 06:28:27.321 - Created modular jar: 3.com.helper.jar [2025-08-30T06:28:27.572Z] STF 06:28:27.321 - [2025-08-30T06:28:27.572Z] STF 06:28:27.321 - +------ Step 4 - Create com.discreet jar [2025-08-30T06:28:27.572Z] STF 06:28:27.321 - | Create modular jar [2025-08-30T06:28:27.572Z] STF 06:28:27.321 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2025-08-30T06:28:27.572Z] STF 06:28:27.321 - | ModuleVersion: null [2025-08-30T06:28:27.572Z] STF 06:28:27.321 - | MainClass: null [2025-08-30T06:28:27.572Z] STF 06:28:27.321 - | HashModules: null [2025-08-30T06:28:27.572Z] STF 06:28:27.321 - | [2025-08-30T06:28:27.572Z] STF 06:28:27.322 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17565332672976/PatModImg_AppMod_1/20250830-062823-PatModImgTest/modules/4.com.discreet.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet . [2025-08-30T06:28:27.572Z] STF 06:28:27.322 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17565332672976/PatModImg_AppMod_1/20250830-062823-PatModImgTest/results/4.CMJ.stderr [2025-08-30T06:28:27.572Z] STF 06:28:27.322 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17565332672976/PatModImg_AppMod_1/20250830-062823-PatModImgTest/results/4.CMJ.stdout [2025-08-30T06:28:27.572Z] STF 06:28:27.329 - Monitoring processes: CMJ [2025-08-30T06:28:27.572Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-08-30T06:28:27.868Z] STF 06:28:27.739 - Monitoring Report Summary: [2025-08-30T06:28:27.868Z] STF 06:28:27.739 - o Process CMJ ended with the expected exit code (0) [2025-08-30T06:28:27.868Z] STF 06:28:27.740 - Created modular jar: 4.com.discreet.jar [2025-08-30T06:28:27.868Z] STF 06:28:27.740 - [2025-08-30T06:28:27.868Z] STF 06:28:27.740 - +------ Step 5 - Create tests jar [2025-08-30T06:28:27.868Z] STF 06:28:27.740 - | Create modular jar [2025-08-30T06:28:27.868Z] STF 06:28:27.740 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2025-08-30T06:28:27.868Z] STF 06:28:27.740 - | ModuleVersion: null [2025-08-30T06:28:27.868Z] STF 06:28:27.740 - | MainClass: null [2025-08-30T06:28:27.868Z] STF 06:28:27.740 - | HashModules: null [2025-08-30T06:28:27.868Z] STF 06:28:27.740 - | [2025-08-30T06:28:27.868Z] STF 06:28:27.741 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17565332672976/PatModImg_AppMod_1/20250830-062823-PatModImgTest/modules/5.com.test.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests\com.test . [2025-08-30T06:28:27.868Z] STF 06:28:27.741 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17565332672976/PatModImg_AppMod_1/20250830-062823-PatModImgTest/results/5.CMJ.stderr [2025-08-30T06:28:27.868Z] STF 06:28:27.741 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17565332672976/PatModImg_AppMod_1/20250830-062823-PatModImgTest/results/5.CMJ.stdout [2025-08-30T06:28:27.868Z] STF 06:28:27.749 - Monitoring processes: CMJ [2025-08-30T06:28:27.868Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-08-30T06:28:28.510Z] STF 06:28:28.192 - Monitoring Report Summary: [2025-08-30T06:28:28.510Z] STF 06:28:28.192 - o Process CMJ ended with the expected exit code (0) [2025-08-30T06:28:28.510Z] STF 06:28:28.193 - Created modular jar: 5.com.test.jar [2025-08-30T06:28:28.510Z] STF 06:28:28.193 - [2025-08-30T06:28:28.510Z] STF 06:28:28.193 - +------ Step 6 - Create runtime image for PatchModule test [2025-08-30T06:28:28.510Z] STF 06:28:28.193 - | Run jlink to create runtime image [2025-08-30T06:28:28.510Z] STF 06:28:28.193 - | ImageName: XpJVM [2025-08-30T06:28:28.510Z] STF 06:28:28.193 - | [2025-08-30T06:28:28.510Z] STF 06:28:28.194 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/jlink --module-path C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jdkbinary\j2sdk-image\jmods;C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\aqa-tests\TKG\output_17565332672976\PatModImg_AppMod_1\20250830-062823-PatModImgTest\modules --add-modules com.hello,com.hola,com.test,com.helper,com.discreet --output C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\aqa-tests\TKG\output_17565332672976\PatModImg_AppMod_1\20250830-062823-PatModImgTest\tmp\6.XpJVM [2025-08-30T06:28:28.510Z] STF 06:28:28.194 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17565332672976/PatModImg_AppMod_1/20250830-062823-PatModImgTest/results/6.JLNK.stderr [2025-08-30T06:28:28.510Z] STF 06:28:28.194 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17565332672976/PatModImg_AppMod_1/20250830-062823-PatModImgTest/results/6.JLNK.stdout [2025-08-30T06:28:28.510Z] STF 06:28:28.202 - Monitoring processes: JLNK [2025-08-30T06:28:28.510Z] JLNK stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-08-30T06:28:31.261Z] STF 06:28:30.625 - Monitoring Report Summary: [2025-08-30T06:28:31.261Z] STF 06:28:30.625 - o Process JLNK ended with the expected exit code (0) [2025-08-30T06:28:31.261Z] STF 06:28:30.626 - [2025-08-30T06:28:31.261Z] STF 06:28:30.626 - +------ Step 7 - Create com.hello jar [2025-08-30T06:28:31.261Z] STF 06:28:30.626 - | Create modular jar [2025-08-30T06:28:31.261Z] STF 06:28:30.626 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2025-08-30T06:28:31.261Z] STF 06:28:30.626 - | ModuleVersion: null [2025-08-30T06:28:31.261Z] STF 06:28:30.626 - | MainClass: null [2025-08-30T06:28:31.261Z] STF 06:28:30.626 - | HashModules: null [2025-08-30T06:28:31.261Z] STF 06:28:30.626 - | [2025-08-30T06:28:31.261Z] STF 06:28:30.627 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17565332672976/PatModImg_AppMod_1/20250830-062823-PatModImgTest/modules/7.com.hello.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.hello . [2025-08-30T06:28:31.261Z] STF 06:28:30.627 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17565332672976/PatModImg_AppMod_1/20250830-062823-PatModImgTest/results/7.CMJ.stderr [2025-08-30T06:28:31.261Z] STF 06:28:30.627 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17565332672976/PatModImg_AppMod_1/20250830-062823-PatModImgTest/results/7.CMJ.stdout [2025-08-30T06:28:31.261Z] STF 06:28:30.634 - Monitoring processes: CMJ [2025-08-30T06:28:31.261Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-08-30T06:28:31.261Z] STF 06:28:31.060 - Monitoring Report Summary: [2025-08-30T06:28:31.261Z] STF 06:28:31.061 - o Process CMJ ended with the expected exit code (0) [2025-08-30T06:28:31.261Z] STF 06:28:31.061 - Created modular jar: 7.com.hello.jar [2025-08-30T06:28:31.261Z] STF 06:28:31.061 - [2025-08-30T06:28:31.261Z] STF 06:28:31.061 - +------ Step 8 - create java.xml.jar [2025-08-30T06:28:31.261Z] STF 06:28:31.062 - | Create modular jar [2025-08-30T06:28:31.261Z] STF 06:28:31.062 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml [2025-08-30T06:28:31.261Z] STF 06:28:31.062 - | ModuleVersion: null [2025-08-30T06:28:31.261Z] STF 06:28:31.062 - | MainClass: null [2025-08-30T06:28:31.261Z] STF 06:28:31.062 - | HashModules: null [2025-08-30T06:28:31.261Z] STF 06:28:31.062 - | [2025-08-30T06:28:31.261Z] STF 06:28:31.062 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17565332672976/PatModImg_AppMod_1/20250830-062823-PatModImgTest/modules/8.java.xml.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\java.xml . [2025-08-30T06:28:31.261Z] STF 06:28:31.062 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17565332672976/PatModImg_AppMod_1/20250830-062823-PatModImgTest/results/8.CMJ.stderr [2025-08-30T06:28:31.261Z] STF 06:28:31.062 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17565332672976/PatModImg_AppMod_1/20250830-062823-PatModImgTest/results/8.CMJ.stdout [2025-08-30T06:28:31.261Z] STF 06:28:31.070 - Monitoring processes: CMJ [2025-08-30T06:28:31.261Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-08-30T06:28:31.898Z] STF 06:28:31.498 - Monitoring Report Summary: [2025-08-30T06:28:31.898Z] STF 06:28:31.498 - o Process CMJ ended with the expected exit code (0) [2025-08-30T06:28:31.898Z] STF 06:28:31.499 - Created modular jar: 8.java.xml.jar [2025-08-30T06:28:31.898Z] STF 06:28:31.499 - [2025-08-30T06:28:31.898Z] STF 06:28:31.499 - +------ Step 9 - Verify if we can patch an Application module using exploded directory [2025-08-30T06:28:31.899Z] STF 06:28:31.499 - | Run foreground process [2025-08-30T06:28:31.899Z] STF 06:28:31.499 - | Program: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17565332672976/PatModImg_AppMod_1/20250830-062823-PatModImgTest/tmp/6.XpJVM/bin/java [2025-08-30T06:28:31.899Z] STF 06:28:31.499 - | Mnemonic: OT21 [2025-08-30T06:28:31.899Z] STF 06:28:31.499 - | Echo: ECHO_ON [2025-08-30T06:28:31.899Z] STF 06:28:31.499 - | Expectation: CLEAN_RUN within 5m [2025-08-30T06:28:31.899Z] STF 06:28:31.499 - | [2025-08-30T06:28:31.899Z] STF 06:28:31.500 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17565332672976/PatModImg_AppMod_1/20250830-062823-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module com.hello=C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.hello -XX:-UseCompressedOops -classpath C:/Users/jenkins/externalDependency/system_lib/junit/junit.jar;C:/Users/jenkins/externalDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingAppModule [2025-08-30T06:28:31.899Z] STF 06:28:31.500 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17565332672976/PatModImg_AppMod_1/20250830-062823-PatModImgTest/results/9.OT21.stderr [2025-08-30T06:28:31.899Z] STF 06:28:31.500 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17565332672976/PatModImg_AppMod_1/20250830-062823-PatModImgTest/results/9.OT21.stdout [2025-08-30T06:28:31.899Z] STF 06:28:31.526 - Monitoring processes: OT21 [2025-08-30T06:28:31.899Z] OT21 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-08-30T06:28:31.899Z] OT21 stderr WARNING: module-info.class ignored in patch: C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.hello [2025-08-30T06:28:32.193Z] OT21 JUnit version 4.12 [2025-08-30T06:28:32.193Z] OT21 . [2025-08-30T06:28:32.193Z] OT21 Time: 0.015 [2025-08-30T06:28:32.193Z] OT21 [2025-08-30T06:28:32.193Z] OT21 OK (1 test) [2025-08-30T06:28:32.193Z] OT21 [2025-08-30T06:28:32.193Z] STF 06:28:32.027 - Monitoring Report Summary: [2025-08-30T06:28:32.193Z] STF 06:28:32.027 - o Process OT21 ended with the expected exit code (0) [2025-08-30T06:28:32.193Z] STF 06:28:32.028 - [2025-08-30T06:28:32.193Z] STF 06:28:32.028 - +------ Step 10 - Verify if we can patch an Application module using modular jar [2025-08-30T06:28:32.193Z] STF 06:28:32.028 - | Run foreground process [2025-08-30T06:28:32.194Z] STF 06:28:32.028 - | Program: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17565332672976/PatModImg_AppMod_1/20250830-062823-PatModImgTest/tmp/6.XpJVM/bin/java [2025-08-30T06:28:32.194Z] STF 06:28:32.028 - | Mnemonic: OT22 [2025-08-30T06:28:32.194Z] STF 06:28:32.028 - | Echo: ECHO_ON [2025-08-30T06:28:32.194Z] STF 06:28:32.028 - | Expectation: CLEAN_RUN within 5m [2025-08-30T06:28:32.194Z] STF 06:28:32.028 - | [2025-08-30T06:28:32.194Z] STF 06:28:32.029 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17565332672976/PatModImg_AppMod_1/20250830-062823-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module com.hello=C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17565332672976/PatModImg_AppMod_1/20250830-062823-PatModImgTest/modules/7.com.hello.jar -XX:-UseCompressedOops -classpath C:/Users/jenkins/externalDependency/system_lib/junit/junit.jar;C:/Users/jenkins/externalDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingAppModule [2025-08-30T06:28:32.194Z] STF 06:28:32.029 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17565332672976/PatModImg_AppMod_1/20250830-062823-PatModImgTest/results/10.OT22.stderr [2025-08-30T06:28:32.194Z] STF 06:28:32.029 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17565332672976/PatModImg_AppMod_1/20250830-062823-PatModImgTest/results/10.OT22.stdout [2025-08-30T06:28:32.194Z] STF 06:28:32.037 - Monitoring processes: OT22 [2025-08-30T06:28:32.194Z] OT22 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-08-30T06:28:32.489Z] OT22 stderr WARNING: module-info.class ignored in patch: C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\aqa-tests\TKG\output_17565332672976\PatModImg_AppMod_1\20250830-062823-PatModImgTest\modules\7.com.hello.jar [2025-08-30T06:28:32.489Z] OT22 JUnit version 4.12 [2025-08-30T06:28:32.489Z] OT22 . [2025-08-30T06:28:32.489Z] OT22 Time: 0 [2025-08-30T06:28:32.489Z] OT22 [2025-08-30T06:28:32.489Z] OT22 OK (1 test) [2025-08-30T06:28:32.489Z] OT22 [2025-08-30T06:28:32.489Z] STF 06:28:32.387 - Monitoring Report Summary: [2025-08-30T06:28:32.489Z] STF 06:28:32.387 - o Process OT22 ended with the expected exit code (0) [2025-08-30T06:28:32.489Z] STF 06:28:32.388 - EXECUTE stage completed [2025-08-30T06:28:32.489Z] STF 06:28:32.433 - [2025-08-30T06:28:32.489Z] STF 06:28:32.433 - ==================== T E A R D O W N ==================== [2025-08-30T06:28:32.489Z] STF 06:28:32.433 - Running teardown: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17565332672976\PatModImg_AppMod_1/20250830-062823-PatModImgTest/tearDown.pl [2025-08-30T06:28:33.127Z] STF 06:28:32.807 - TEARDOWN stage completed [2025-08-30T06:28:33.127Z] STF 06:28:32.835 - [2025-08-30T06:28:33.127Z] STF 06:28:32.835 - ===================== R E S U L T S ===================== [2025-08-30T06:28:33.127Z] STF 06:28:32.835 - Stage results: [2025-08-30T06:28:33.127Z] STF 06:28:32.835 - setUp: pass [2025-08-30T06:28:33.127Z] STF 06:28:32.835 - execute: pass [2025-08-30T06:28:33.127Z] STF 06:28:32.835 - teardown: pass [2025-08-30T06:28:33.127Z] STF 06:28:32.835 - [2025-08-30T06:28:33.127Z] STF 06:28:32.835 - Overall result: PASSED [2025-08-30T06:28:33.127Z] ----------------------------------- [2025-08-30T06:28:33.127Z] PatModImg_AppMod_1_PASSED [2025-08-30T06:28:33.127Z] ----------------------------------- [2025-08-30T06:28:33.127Z] [2025-08-30T06:28:33.127Z] TEST TEARDOWN: [2025-08-30T06:28:33.127Z] Nothing to be done for teardown. [2025-08-30T06:28:33.421Z] PatModImg_AppMod_1 Finish Time: Sat Aug 30 06:28:33 2025 Epoch Time (ms): 1756535313229