PatModImg_AppMod_1

[2025-06-19T00:09:28.954Z] Running test PatModImg_AppMod_1 ... [2025-06-19T00:09:29.266Z] =============================================== [2025-06-19T00:09:29.695Z] PatModImg_AppMod_1 Start Time: Thu Jun 19 00:09:29 2025 Epoch Time (ms): 1750291769399 [2025-06-19T00:09:30.034Z] variation: Mode650 [2025-06-19T00:09:30.347Z] JVM_OPTIONS: -XX:-UseCompressedOops [2025-06-19T00:09:30.347Z] { \ [2025-06-19T00:09:30.347Z] echo ""; echo "TEST SETUP:"; \ [2025-06-19T00:09:30.347Z] echo "Nothing to be done for setup."; \ [2025-06-19T00:09:30.347Z] mkdir -p "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/\\TKG\\output_17502835359140\\PatModImg_AppMod_1"; \ [2025-06-19T00:09:30.347Z] cd "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/\\TKG\\output_17502835359140\\PatModImg_AppMod_1"; \ [2025-06-19T00:09:30.347Z] echo ""; echo "TESTING:"; \ [2025-06-19T00:09:30.348Z] perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests///..//jvmtest\\system\\modularity/../\\STF\\stf.core\\scripts\\stf.pl -test-root="C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests///..//jvmtest\\system\\modularity/../\\STF;C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests///..//jvmtest\\system\\modularity/../\\aqa-systemtest""" -systemtest-prereqs="C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/../../testDependency/system_lib\\" -java-args=' -XX:-UseCompressedOops ' -results-root="C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/\\TKG\\output_17502835359140\\PatModImg_AppMod_1" -test=PatModImgTest -test-args="variant=AppMod"; \ [2025-06-19T00:09:30.348Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatModImg_AppMod_1""_PASSED"; echo "-----------------------------------"; cd C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/; rm -f -r "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/\\TKG\\output_17502835359140\\PatModImg_AppMod_1"; else echo "-----------------------------------"; echo "PatModImg_AppMod_1""_FAILED"; echo "-----------------------------------"; fi; \ [2025-06-19T00:09:30.348Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-06-19T00:09:30.348Z] echo "Nothing to be done for teardown."; \ [2025-06-19T00:09:30.348Z] } 2>&1 | tee -a "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/\\TKG\\output_17502835359140\\TestTargetResult"; [2025-06-19T00:09:30.639Z] [2025-06-19T00:09:30.639Z] TEST SETUP: [2025-06-19T00:09:30.639Z] Nothing to be done for setup. [2025-06-19T00:09:30.639Z] [2025-06-19T00:09:30.639Z] TESTING: [2025-06-19T00:09:30.930Z] STF 00:09:30.852 - ========================= S T F ========================= [2025-06-19T00:09:30.930Z] 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_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/\TKG\output_17502835359140\PatModImg_AppMod_1 [2025-06-19T00:09:31.221Z] There is 47249 Mb free [2025-06-19T00:09:31.221Z] STF 00:09:30.928 - ================== G E N E R A T I O N ================== [2025-06-19T00:09:31.221Z] STF 00:09:30.933 - Checking JVM: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/jdkbinary/j2sdk-image [2025-06-19T00:09:31.221Z] STF 00:09:30.934 - Starting process to generate scripts: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/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/jvmtest/system/STF/stf.core/scripts/../../stf.load/bin/stf.load.jar -classpath C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/../../testDependency/system_lib\/asm/asm.jar;C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/../../testDependency/system_lib\/asm/asm-commons.jar;C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/../../testDependency/system_lib\/log4j/log4j-api.jar;C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/../../testDependency/system_lib\/log4j/log4j-core.jar;C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/\TKG\output_17502835359140\PatModImg_AppMod_1/20250619-000930-PatModImgTest/stf_parameters.properties, , C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/\TKG\output_17502835359140\PatModImg_AppMod_1/20250619-000930-PatModImgTest" [2025-06-19T00:09:31.221Z] GEN stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-06-19T00:09:32.254Z] GEN 00:09:32.145 - Found test. Project: 'openjdk.test.modularity' class: 'PatModImgTest.class' Dir: 'C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin' [2025-06-19T00:09:32.254Z] GEN 00:09:32.160 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModImgTest' [2025-06-19T00:09:32.546Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2025-06-19T00:09:32.546Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayService [2025-06-19T00:09:32.546Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper [2025-06-19T00:09:32.546Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl1 [2025-06-19T00:09:32.546Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet [2025-06-19T00:09:32.546Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello [2025-06-19T00:09:32.546Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola [2025-06-19T00:09:32.546Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl2 [2025-06-19T00:09:32.546Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hi [2025-06-19T00:09:32.546Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override [2025-06-19T00:09:32.546Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override-new [2025-06-19T00:09:32.546Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl3 [2025-06-19T00:09:32.546Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl4 [2025-06-19T00:09:32.546Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common [2025-06-19T00:09:32.546Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests [2025-06-19T00:09:32.546Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk21_hs_sanity.system_aarch64_windows\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin [2025-06-19T00:09:32.546Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk21_hs_sanity.system_aarch64_windows\\jvmtest\\system\\STF\\stf.core\\bin [2025-06-19T00:09:32.546Z] GEN C:/Users/jenkins/testDependency/system_lib/log4j/log4j-api.jar [2025-06-19T00:09:32.546Z] GEN C:/Users/jenkins/testDependency/system_lib/log4j/log4j-core.jar [2025-06-19T00:09:32.546Z] GEN C:/Users/jenkins/testDependency/system_lib/junit/junit.jar [2025-06-19T00:09:32.546Z] GEN 00:09:32.395 - Using Mode NoOptions. Values = '' [2025-06-19T00:09:32.839Z] GEN 00:09:32.520 - [2025-06-19T00:09:32.839Z] GEN 00:09:32.520 - Test command summary: [2025-06-19T00:09:32.839Z] GEN 00:09:32.520 - Step Stage Command Description [2025-06-19T00:09:32.839Z] GEN 00:09:32.520 - -----+--------+-----------------+------------ [2025-06-19T00:09:32.839Z] GEN 00:09:32.520 - 1 execute jar Create com.hello jar [2025-06-19T00:09:32.839Z] GEN 00:09:32.520 - 2 execute jar Create com.hola jar [2025-06-19T00:09:32.839Z] GEN 00:09:32.520 - 3 execute jar Create com.helper jar [2025-06-19T00:09:32.839Z] GEN 00:09:32.520 - 4 execute jar Create com.discreet jar [2025-06-19T00:09:32.839Z] GEN 00:09:32.520 - 5 execute jar Create tests jar [2025-06-19T00:09:32.839Z] GEN 00:09:32.520 - 6 execute jlink Create runtime image for PatchModule test [2025-06-19T00:09:32.839Z] GEN 00:09:32.520 - 7 execute jar Create com.hello jar [2025-06-19T00:09:32.839Z] GEN 00:09:32.520 - 8 execute jar create java.xml.jar [2025-06-19T00:09:32.840Z] GEN 00:09:32.520 - 9 execute Run java Verify if we can patch an Application module using exploded directory [2025-06-19T00:09:32.840Z] GEN 00:09:32.520 - 10 execute Run java Verify if we can patch an Application module using modular jar [2025-06-19T00:09:32.840Z] STF 00:09:32.589 - [2025-06-19T00:09:32.840Z] STF 00:09:32.589 - Script generation completed [2025-06-19T00:09:32.840Z] STF 00:09:32.589 - [2025-06-19T00:09:32.840Z] STF 00:09:32.591 - [2025-06-19T00:09:32.840Z] STF 00:09:32.591 - ======================= S E T U P ======================= [2025-06-19T00:09:32.840Z] STF 00:09:32.591 - Running setup: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/\TKG\output_17502835359140\PatModImg_AppMod_1/20250619-000930-PatModImgTest/setUp.pl [2025-06-19T00:09:33.131Z] STF 00:09:32.957 - SETUP stage completed [2025-06-19T00:09:33.131Z] STF 00:09:33.006 - [2025-06-19T00:09:33.131Z] STF 00:09:33.006 - ==================== E X E C U T E - ==================== [2025-06-19T00:09:33.131Z] STF 00:09:33.006 - Running execute: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/\TKG\output_17502835359140\PatModImg_AppMod_1/20250619-000930-PatModImgTest/execute.pl [2025-06-19T00:09:33.765Z] STF 00:09:33.395 - [2025-06-19T00:09:33.765Z] STF 00:09:33.395 - Java version [2025-06-19T00:09:33.766Z] STF 00:09:33.395 - Running: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/jdkbinary/j2sdk-image/bin/java -version [2025-06-19T00:09:33.766Z] Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-06-19T00:09:33.766Z] openjdk version "21.0.8-beta" 2025-07-15 [2025-06-19T00:09:33.766Z] OpenJDK Runtime Environment Temurin-21.0.8+7-202506181908 (build 21.0.8-beta+7-ea) [2025-06-19T00:09:33.766Z] OpenJDK 64-Bit Server VM Temurin-21.0.8+7-202506181908 (build 21.0.8-beta+7-ea, mixed mode) [2025-06-19T00:09:33.766Z] STF 00:09:33.528 - [2025-06-19T00:09:33.766Z] STF 00:09:33.528 - +------ Step 1 - Create com.hello jar [2025-06-19T00:09:33.766Z] STF 00:09:33.528 - | Create modular jar [2025-06-19T00:09:33.766Z] STF 00:09:33.528 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2025-06-19T00:09:33.766Z] STF 00:09:33.528 - | ModuleVersion: null [2025-06-19T00:09:33.766Z] STF 00:09:33.528 - | MainClass: null [2025-06-19T00:09:33.766Z] STF 00:09:33.528 - | HashModules: null [2025-06-19T00:09:33.766Z] STF 00:09:33.528 - | [2025-06-19T00:09:33.766Z] STF 00:09:33.529 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17502835359140/PatModImg_AppMod_1/20250619-000930-PatModImgTest/modules/1.com.hello.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello . [2025-06-19T00:09:33.766Z] STF 00:09:33.530 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17502835359140/PatModImg_AppMod_1/20250619-000930-PatModImgTest/results/1.CMJ.stderr [2025-06-19T00:09:33.766Z] STF 00:09:33.530 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17502835359140/PatModImg_AppMod_1/20250619-000930-PatModImgTest/results/1.CMJ.stdout [2025-06-19T00:09:33.766Z] STF 00:09:33.599 - Monitoring processes: CMJ [2025-06-19T00:09:33.766Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-06-19T00:09:34.057Z] STF 00:09:34.009 - Monitoring Report Summary: [2025-06-19T00:09:34.057Z] STF 00:09:34.009 - o Process CMJ ended with the expected exit code (0) [2025-06-19T00:09:34.057Z] STF 00:09:34.010 - Created modular jar: 1.com.hello.jar [2025-06-19T00:09:34.057Z] STF 00:09:34.010 - [2025-06-19T00:09:34.057Z] STF 00:09:34.010 - +------ Step 2 - Create com.hola jar [2025-06-19T00:09:34.057Z] STF 00:09:34.010 - | Create modular jar [2025-06-19T00:09:34.057Z] STF 00:09:34.010 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2025-06-19T00:09:34.057Z] STF 00:09:34.010 - | ModuleVersion: null [2025-06-19T00:09:34.057Z] STF 00:09:34.010 - | MainClass: null [2025-06-19T00:09:34.057Z] STF 00:09:34.010 - | HashModules: null [2025-06-19T00:09:34.057Z] STF 00:09:34.010 - | [2025-06-19T00:09:34.057Z] STF 00:09:34.011 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17502835359140/PatModImg_AppMod_1/20250619-000930-PatModImgTest/modules/2.com.hola.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola . [2025-06-19T00:09:34.057Z] STF 00:09:34.011 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17502835359140/PatModImg_AppMod_1/20250619-000930-PatModImgTest/results/2.CMJ.stderr [2025-06-19T00:09:34.057Z] STF 00:09:34.011 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17502835359140/PatModImg_AppMod_1/20250619-000930-PatModImgTest/results/2.CMJ.stdout [2025-06-19T00:09:34.057Z] STF 00:09:34.019 - Monitoring processes: CMJ [2025-06-19T00:09:34.348Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-06-19T00:09:34.639Z] STF 00:09:34.440 - Monitoring Report Summary: [2025-06-19T00:09:34.639Z] STF 00:09:34.440 - o Process CMJ ended with the expected exit code (0) [2025-06-19T00:09:34.639Z] STF 00:09:34.441 - Created modular jar: 2.com.hola.jar [2025-06-19T00:09:34.639Z] STF 00:09:34.441 - [2025-06-19T00:09:34.639Z] STF 00:09:34.441 - +------ Step 3 - Create com.helper jar [2025-06-19T00:09:34.639Z] STF 00:09:34.441 - | Create modular jar [2025-06-19T00:09:34.639Z] STF 00:09:34.441 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2025-06-19T00:09:34.639Z] STF 00:09:34.441 - | ModuleVersion: null [2025-06-19T00:09:34.639Z] STF 00:09:34.441 - | MainClass: null [2025-06-19T00:09:34.639Z] STF 00:09:34.441 - | HashModules: null [2025-06-19T00:09:34.639Z] STF 00:09:34.441 - | [2025-06-19T00:09:34.639Z] STF 00:09:34.442 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17502835359140/PatModImg_AppMod_1/20250619-000930-PatModImgTest/modules/3.com.helper.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper . [2025-06-19T00:09:34.639Z] STF 00:09:34.442 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17502835359140/PatModImg_AppMod_1/20250619-000930-PatModImgTest/results/3.CMJ.stderr [2025-06-19T00:09:34.639Z] STF 00:09:34.442 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17502835359140/PatModImg_AppMod_1/20250619-000930-PatModImgTest/results/3.CMJ.stdout [2025-06-19T00:09:34.639Z] STF 00:09:34.450 - Monitoring processes: CMJ [2025-06-19T00:09:34.639Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-06-19T00:09:34.930Z] STF 00:09:34.877 - Monitoring Report Summary: [2025-06-19T00:09:34.930Z] STF 00:09:34.878 - o Process CMJ ended with the expected exit code (0) [2025-06-19T00:09:34.930Z] STF 00:09:34.878 - Created modular jar: 3.com.helper.jar [2025-06-19T00:09:34.930Z] STF 00:09:34.878 - [2025-06-19T00:09:34.930Z] STF 00:09:34.878 - +------ Step 4 - Create com.discreet jar [2025-06-19T00:09:34.930Z] STF 00:09:34.878 - | Create modular jar [2025-06-19T00:09:34.930Z] STF 00:09:34.879 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2025-06-19T00:09:34.930Z] STF 00:09:34.879 - | ModuleVersion: null [2025-06-19T00:09:34.931Z] STF 00:09:34.879 - | MainClass: null [2025-06-19T00:09:34.931Z] STF 00:09:34.879 - | HashModules: null [2025-06-19T00:09:34.931Z] STF 00:09:34.879 - | [2025-06-19T00:09:34.931Z] STF 00:09:34.879 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17502835359140/PatModImg_AppMod_1/20250619-000930-PatModImgTest/modules/4.com.discreet.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet . [2025-06-19T00:09:34.931Z] STF 00:09:34.879 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17502835359140/PatModImg_AppMod_1/20250619-000930-PatModImgTest/results/4.CMJ.stderr [2025-06-19T00:09:34.931Z] STF 00:09:34.879 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17502835359140/PatModImg_AppMod_1/20250619-000930-PatModImgTest/results/4.CMJ.stdout [2025-06-19T00:09:34.931Z] STF 00:09:34.887 - Monitoring processes: CMJ [2025-06-19T00:09:35.224Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-06-19T00:09:35.516Z] STF 00:09:35.304 - Monitoring Report Summary: [2025-06-19T00:09:35.516Z] STF 00:09:35.304 - o Process CMJ ended with the expected exit code (0) [2025-06-19T00:09:35.516Z] STF 00:09:35.305 - Created modular jar: 4.com.discreet.jar [2025-06-19T00:09:35.516Z] STF 00:09:35.305 - [2025-06-19T00:09:35.516Z] STF 00:09:35.305 - +------ Step 5 - Create tests jar [2025-06-19T00:09:35.516Z] STF 00:09:35.305 - | Create modular jar [2025-06-19T00:09:35.516Z] STF 00:09:35.305 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2025-06-19T00:09:35.516Z] STF 00:09:35.305 - | ModuleVersion: null [2025-06-19T00:09:35.516Z] STF 00:09:35.305 - | MainClass: null [2025-06-19T00:09:35.516Z] STF 00:09:35.305 - | HashModules: null [2025-06-19T00:09:35.516Z] STF 00:09:35.305 - | [2025-06-19T00:09:35.516Z] STF 00:09:35.306 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17502835359140/PatModImg_AppMod_1/20250619-000930-PatModImgTest/modules/5.com.test.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests\com.test . [2025-06-19T00:09:35.516Z] STF 00:09:35.306 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17502835359140/PatModImg_AppMod_1/20250619-000930-PatModImgTest/results/5.CMJ.stderr [2025-06-19T00:09:35.516Z] STF 00:09:35.306 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17502835359140/PatModImg_AppMod_1/20250619-000930-PatModImgTest/results/5.CMJ.stdout [2025-06-19T00:09:35.516Z] STF 00:09:35.313 - Monitoring processes: CMJ [2025-06-19T00:09:35.516Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-06-19T00:09:36.150Z] STF 00:09:35.757 - Monitoring Report Summary: [2025-06-19T00:09:36.150Z] STF 00:09:35.757 - o Process CMJ ended with the expected exit code (0) [2025-06-19T00:09:36.150Z] STF 00:09:35.758 - Created modular jar: 5.com.test.jar [2025-06-19T00:09:36.150Z] STF 00:09:35.758 - [2025-06-19T00:09:36.150Z] STF 00:09:35.758 - +------ Step 6 - Create runtime image for PatchModule test [2025-06-19T00:09:36.150Z] STF 00:09:35.758 - | Run jlink to create runtime image [2025-06-19T00:09:36.150Z] STF 00:09:35.758 - | ImageName: XpJVM [2025-06-19T00:09:36.150Z] STF 00:09:35.758 - | [2025-06-19T00:09:36.150Z] STF 00:09:35.759 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/jdkbinary/j2sdk-image/bin/jlink --module-path C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\jdkbinary\j2sdk-image\jmods;C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\aqa-tests\TKG\output_17502835359140\PatModImg_AppMod_1\20250619-000930-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\aqa-tests\TKG\output_17502835359140\PatModImg_AppMod_1\20250619-000930-PatModImgTest\tmp\6.XpJVM [2025-06-19T00:09:36.150Z] STF 00:09:35.759 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17502835359140/PatModImg_AppMod_1/20250619-000930-PatModImgTest/results/6.JLNK.stderr [2025-06-19T00:09:36.150Z] STF 00:09:35.759 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17502835359140/PatModImg_AppMod_1/20250619-000930-PatModImgTest/results/6.JLNK.stdout [2025-06-19T00:09:36.150Z] STF 00:09:35.767 - Monitoring processes: JLNK [2025-06-19T00:09:36.150Z] JLNK stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-06-19T00:09:38.219Z] STF 00:09:38.081 - Monitoring Report Summary: [2025-06-19T00:09:38.219Z] STF 00:09:38.081 - o Process JLNK ended with the expected exit code (0) [2025-06-19T00:09:38.219Z] STF 00:09:38.082 - [2025-06-19T00:09:38.219Z] STF 00:09:38.082 - +------ Step 7 - Create com.hello jar [2025-06-19T00:09:38.219Z] STF 00:09:38.082 - | Create modular jar [2025-06-19T00:09:38.219Z] STF 00:09:38.082 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2025-06-19T00:09:38.219Z] STF 00:09:38.082 - | ModuleVersion: null [2025-06-19T00:09:38.219Z] STF 00:09:38.082 - | MainClass: null [2025-06-19T00:09:38.219Z] STF 00:09:38.082 - | HashModules: null [2025-06-19T00:09:38.219Z] STF 00:09:38.082 - | [2025-06-19T00:09:38.219Z] STF 00:09:38.083 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17502835359140/PatModImg_AppMod_1/20250619-000930-PatModImgTest/modules/7.com.hello.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.hello . [2025-06-19T00:09:38.219Z] STF 00:09:38.083 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17502835359140/PatModImg_AppMod_1/20250619-000930-PatModImgTest/results/7.CMJ.stderr [2025-06-19T00:09:38.219Z] STF 00:09:38.083 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17502835359140/PatModImg_AppMod_1/20250619-000930-PatModImgTest/results/7.CMJ.stdout [2025-06-19T00:09:38.219Z] STF 00:09:38.090 - Monitoring processes: CMJ [2025-06-19T00:09:38.219Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-06-19T00:09:38.852Z] STF 00:09:38.507 - Monitoring Report Summary: [2025-06-19T00:09:38.852Z] STF 00:09:38.507 - o Process CMJ ended with the expected exit code (0) [2025-06-19T00:09:38.852Z] STF 00:09:38.508 - Created modular jar: 7.com.hello.jar [2025-06-19T00:09:38.852Z] STF 00:09:38.508 - [2025-06-19T00:09:38.852Z] STF 00:09:38.508 - +------ Step 8 - create java.xml.jar [2025-06-19T00:09:38.852Z] STF 00:09:38.508 - | Create modular jar [2025-06-19T00:09:38.852Z] STF 00:09:38.508 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml [2025-06-19T00:09:38.852Z] STF 00:09:38.508 - | ModuleVersion: null [2025-06-19T00:09:38.852Z] STF 00:09:38.508 - | MainClass: null [2025-06-19T00:09:38.852Z] STF 00:09:38.508 - | HashModules: null [2025-06-19T00:09:38.852Z] STF 00:09:38.508 - | [2025-06-19T00:09:38.852Z] STF 00:09:38.509 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17502835359140/PatModImg_AppMod_1/20250619-000930-PatModImgTest/modules/8.java.xml.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\java.xml . [2025-06-19T00:09:38.852Z] STF 00:09:38.509 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17502835359140/PatModImg_AppMod_1/20250619-000930-PatModImgTest/results/8.CMJ.stderr [2025-06-19T00:09:38.852Z] STF 00:09:38.509 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17502835359140/PatModImg_AppMod_1/20250619-000930-PatModImgTest/results/8.CMJ.stdout [2025-06-19T00:09:38.852Z] STF 00:09:38.516 - Monitoring processes: CMJ [2025-06-19T00:09:38.852Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-06-19T00:09:39.143Z] STF 00:09:38.929 - Monitoring Report Summary: [2025-06-19T00:09:39.143Z] STF 00:09:38.929 - o Process CMJ ended with the expected exit code (0) [2025-06-19T00:09:39.143Z] STF 00:09:38.930 - Created modular jar: 8.java.xml.jar [2025-06-19T00:09:39.143Z] STF 00:09:38.930 - [2025-06-19T00:09:39.143Z] STF 00:09:38.930 - +------ Step 9 - Verify if we can patch an Application module using exploded directory [2025-06-19T00:09:39.143Z] STF 00:09:38.930 - | Run foreground process [2025-06-19T00:09:39.144Z] STF 00:09:38.930 - | Program: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17502835359140/PatModImg_AppMod_1/20250619-000930-PatModImgTest/tmp/6.XpJVM/bin/java [2025-06-19T00:09:39.144Z] STF 00:09:38.930 - | Mnemonic: OT21 [2025-06-19T00:09:39.144Z] STF 00:09:38.930 - | Echo: ECHO_ON [2025-06-19T00:09:39.144Z] STF 00:09:38.930 - | Expectation: CLEAN_RUN within 5m [2025-06-19T00:09:39.144Z] STF 00:09:38.930 - | [2025-06-19T00:09:39.144Z] STF 00:09:38.931 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17502835359140/PatModImg_AppMod_1/20250619-000930-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\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-06-19T00:09:39.144Z] STF 00:09:38.931 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17502835359140/PatModImg_AppMod_1/20250619-000930-PatModImgTest/results/9.OT21.stderr [2025-06-19T00:09:39.144Z] STF 00:09:38.931 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17502835359140/PatModImg_AppMod_1/20250619-000930-PatModImgTest/results/9.OT21.stdout [2025-06-19T00:09:39.144Z] STF 00:09:38.962 - Monitoring processes: OT21 [2025-06-19T00:09:39.144Z] OT21 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-06-19T00:09:39.435Z] OT21 stderr WARNING: module-info.class ignored in patch: C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.hello [2025-06-19T00:09:39.435Z] OT21 JUnit version 4.12 [2025-06-19T00:09:39.435Z] OT21 . [2025-06-19T00:09:39.435Z] OT21 Time: 0.015 [2025-06-19T00:09:39.435Z] OT21 [2025-06-19T00:09:39.435Z] OT21 OK (1 test) [2025-06-19T00:09:39.435Z] OT21 [2025-06-19T00:09:39.727Z] STF 00:09:39.351 - Monitoring Report Summary: [2025-06-19T00:09:39.727Z] STF 00:09:39.351 - o Process OT21 ended with the expected exit code (0) [2025-06-19T00:09:39.727Z] STF 00:09:39.352 - [2025-06-19T00:09:39.727Z] STF 00:09:39.352 - +------ Step 10 - Verify if we can patch an Application module using modular jar [2025-06-19T00:09:39.727Z] STF 00:09:39.352 - | Run foreground process [2025-06-19T00:09:39.727Z] STF 00:09:39.352 - | Program: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17502835359140/PatModImg_AppMod_1/20250619-000930-PatModImgTest/tmp/6.XpJVM/bin/java [2025-06-19T00:09:39.727Z] STF 00:09:39.352 - | Mnemonic: OT22 [2025-06-19T00:09:39.727Z] STF 00:09:39.352 - | Echo: ECHO_ON [2025-06-19T00:09:39.727Z] STF 00:09:39.352 - | Expectation: CLEAN_RUN within 5m [2025-06-19T00:09:39.727Z] STF 00:09:39.352 - | [2025-06-19T00:09:39.727Z] STF 00:09:39.353 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17502835359140/PatModImg_AppMod_1/20250619-000930-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/aqa-tests/TKG/output_17502835359140/PatModImg_AppMod_1/20250619-000930-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-06-19T00:09:39.727Z] STF 00:09:39.353 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17502835359140/PatModImg_AppMod_1/20250619-000930-PatModImgTest/results/10.OT22.stderr [2025-06-19T00:09:39.727Z] STF 00:09:39.353 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17502835359140/PatModImg_AppMod_1/20250619-000930-PatModImgTest/results/10.OT22.stdout [2025-06-19T00:09:39.727Z] STF 00:09:39.361 - Monitoring processes: OT22 [2025-06-19T00:09:39.727Z] OT22 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-06-19T00:09:39.727Z] OT22 stderr WARNING: module-info.class ignored in patch: C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\aqa-tests\TKG\output_17502835359140\PatModImg_AppMod_1\20250619-000930-PatModImgTest\modules\7.com.hello.jar [2025-06-19T00:09:39.727Z] OT22 JUnit version 4.12 [2025-06-19T00:09:39.727Z] OT22 . [2025-06-19T00:09:39.727Z] OT22 Time: 0.016 [2025-06-19T00:09:39.727Z] OT22 [2025-06-19T00:09:39.727Z] OT22 OK (1 test) [2025-06-19T00:09:39.727Z] OT22 [2025-06-19T00:09:40.020Z] STF 00:09:39.692 - Monitoring Report Summary: [2025-06-19T00:09:40.020Z] STF 00:09:39.692 - o Process OT22 ended with the expected exit code (0) [2025-06-19T00:09:40.020Z] STF 00:09:39.693 - EXECUTE stage completed [2025-06-19T00:09:40.020Z] STF 00:09:39.772 - [2025-06-19T00:09:40.020Z] STF 00:09:39.772 - ==================== T E A R D O W N ==================== [2025-06-19T00:09:40.020Z] STF 00:09:39.772 - Running teardown: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/\TKG\output_17502835359140\PatModImg_AppMod_1/20250619-000930-PatModImgTest/tearDown.pl [2025-06-19T00:09:40.312Z] STF 00:09:40.145 - TEARDOWN stage completed [2025-06-19T00:09:40.312Z] STF 00:09:40.193 - [2025-06-19T00:09:40.312Z] STF 00:09:40.193 - ===================== R E S U L T S ===================== [2025-06-19T00:09:40.312Z] STF 00:09:40.193 - Stage results: [2025-06-19T00:09:40.312Z] STF 00:09:40.193 - setUp: pass [2025-06-19T00:09:40.312Z] STF 00:09:40.193 - execute: pass [2025-06-19T00:09:40.312Z] STF 00:09:40.193 - teardown: pass [2025-06-19T00:09:40.312Z] STF 00:09:40.193 - [2025-06-19T00:09:40.313Z] STF 00:09:40.193 - Overall result: PASSED [2025-06-19T00:09:40.313Z] ----------------------------------- [2025-06-19T00:09:40.313Z] PatModImg_AppMod_1_PASSED [2025-06-19T00:09:40.313Z] ----------------------------------- [2025-06-19T00:09:40.603Z] [2025-06-19T00:09:40.603Z] TEST TEARDOWN: [2025-06-19T00:09:40.603Z] Nothing to be done for teardown. [2025-06-19T00:09:41.004Z] PatModImg_AppMod_1 Finish Time: Thu Jun 19 00:09:40 2025 Epoch Time (ms): 1750291780723