PatModImg_AppMod_0

[2025-06-19T00:09:15.701Z] Running test PatModImg_AppMod_0 ... [2025-06-19T00:09:16.049Z] =============================================== [2025-06-19T00:09:16.451Z] PatModImg_AppMod_0 Start Time: Thu Jun 19 00:09:16 2025 Epoch Time (ms): 1750291756193 [2025-06-19T00:09:16.782Z] variation: Mode150 [2025-06-19T00:09:17.124Z] JVM_OPTIONS: -XX:+UseCompressedOops [2025-06-19T00:09:17.124Z] { \ [2025-06-19T00:09:17.124Z] echo ""; echo "TEST SETUP:"; \ [2025-06-19T00:09:17.124Z] echo "Nothing to be done for setup."; \ [2025-06-19T00:09:17.124Z] mkdir -p "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/\\TKG\\output_17502835359140\\PatModImg_AppMod_0"; \ [2025-06-19T00:09:17.124Z] cd "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/\\TKG\\output_17502835359140\\PatModImg_AppMod_0"; \ [2025-06-19T00:09:17.124Z] echo ""; echo "TESTING:"; \ [2025-06-19T00:09:17.124Z] 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_0" -test=PatModImgTest -test-args="variant=AppMod"; \ [2025-06-19T00:09:17.124Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatModImg_AppMod_0""_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_0"; else echo "-----------------------------------"; echo "PatModImg_AppMod_0""_FAILED"; echo "-----------------------------------"; fi; \ [2025-06-19T00:09:17.124Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-06-19T00:09:17.124Z] echo "Nothing to be done for teardown."; \ [2025-06-19T00:09:17.124Z] } 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:17.415Z] [2025-06-19T00:09:17.415Z] TEST SETUP: [2025-06-19T00:09:17.415Z] Nothing to be done for setup. [2025-06-19T00:09:17.415Z] [2025-06-19T00:09:17.415Z] TESTING: [2025-06-19T00:09:17.706Z] STF 00:09:17.631 - ========================= S T F ========================= [2025-06-19T00:09:17.706Z] 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_0 [2025-06-19T00:09:17.998Z] There is 47250 Mb free [2025-06-19T00:09:17.998Z] STF 00:09:17.709 - ================== G E N E R A T I O N ================== [2025-06-19T00:09:17.998Z] STF 00:09:17.715 - Checking JVM: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/jdkbinary/j2sdk-image [2025-06-19T00:09:17.998Z] STF 00:09:17.716 - 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_0/20250619-000917-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_0/20250619-000917-PatModImgTest" [2025-06-19T00:09:17.998Z] GEN stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-06-19T00:09:19.035Z] GEN 00:09:18.914 - 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:19.035Z] GEN 00:09:18.946 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModImgTest' [2025-06-19T00:09:19.328Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2025-06-19T00:09:19.328Z] 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:19.328Z] 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:19.328Z] 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:19.328Z] 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:19.328Z] 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:19.328Z] 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:19.328Z] 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:19.328Z] 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:19.328Z] 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:19.328Z] 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:19.328Z] 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:19.328Z] 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:19.328Z] 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:19.328Z] 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:19.328Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk21_hs_sanity.system_aarch64_windows\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin [2025-06-19T00:09:19.328Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk21_hs_sanity.system_aarch64_windows\\jvmtest\\system\\STF\\stf.core\\bin [2025-06-19T00:09:19.328Z] GEN C:/Users/jenkins/testDependency/system_lib/log4j/log4j-api.jar [2025-06-19T00:09:19.328Z] GEN C:/Users/jenkins/testDependency/system_lib/log4j/log4j-core.jar [2025-06-19T00:09:19.328Z] GEN C:/Users/jenkins/testDependency/system_lib/junit/junit.jar [2025-06-19T00:09:19.328Z] GEN 00:09:19.180 - Using Mode NoOptions. Values = '' [2025-06-19T00:09:19.619Z] GEN 00:09:19.321 - [2025-06-19T00:09:19.619Z] GEN 00:09:19.321 - Test command summary: [2025-06-19T00:09:19.619Z] GEN 00:09:19.321 - Step Stage Command Description [2025-06-19T00:09:19.619Z] GEN 00:09:19.321 - -----+--------+-----------------+------------ [2025-06-19T00:09:19.619Z] GEN 00:09:19.321 - 1 execute jar Create com.hello jar [2025-06-19T00:09:19.619Z] GEN 00:09:19.321 - 2 execute jar Create com.hola jar [2025-06-19T00:09:19.619Z] GEN 00:09:19.321 - 3 execute jar Create com.helper jar [2025-06-19T00:09:19.619Z] GEN 00:09:19.321 - 4 execute jar Create com.discreet jar [2025-06-19T00:09:19.619Z] GEN 00:09:19.321 - 5 execute jar Create tests jar [2025-06-19T00:09:19.619Z] GEN 00:09:19.321 - 6 execute jlink Create runtime image for PatchModule test [2025-06-19T00:09:19.619Z] GEN 00:09:19.321 - 7 execute jar Create com.hello jar [2025-06-19T00:09:19.619Z] GEN 00:09:19.321 - 8 execute jar create java.xml.jar [2025-06-19T00:09:19.619Z] GEN 00:09:19.321 - 9 execute Run java Verify if we can patch an Application module using exploded directory [2025-06-19T00:09:19.619Z] GEN 00:09:19.321 - 10 execute Run java Verify if we can patch an Application module using modular jar [2025-06-19T00:09:19.619Z] STF 00:09:19.389 - [2025-06-19T00:09:19.619Z] STF 00:09:19.389 - Script generation completed [2025-06-19T00:09:19.619Z] STF 00:09:19.389 - [2025-06-19T00:09:19.619Z] STF 00:09:19.392 - [2025-06-19T00:09:19.619Z] STF 00:09:19.392 - ======================= S E T U P ======================= [2025-06-19T00:09:19.619Z] STF 00:09:19.392 - Running setup: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/\TKG\output_17502835359140\PatModImg_AppMod_0/20250619-000917-PatModImgTest/setUp.pl [2025-06-19T00:09:19.909Z] STF 00:09:19.774 - SETUP stage completed [2025-06-19T00:09:19.909Z] STF 00:09:19.802 - [2025-06-19T00:09:19.909Z] STF 00:09:19.802 - ==================== E X E C U T E - ==================== [2025-06-19T00:09:19.909Z] STF 00:09:19.802 - Running execute: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/\TKG\output_17502835359140\PatModImg_AppMod_0/20250619-000917-PatModImgTest/execute.pl [2025-06-19T00:09:20.542Z] STF 00:09:20.180 - [2025-06-19T00:09:20.542Z] STF 00:09:20.180 - Java version [2025-06-19T00:09:20.542Z] STF 00:09:20.180 - Running: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/jdkbinary/j2sdk-image/bin/java -version [2025-06-19T00:09:20.542Z] Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-06-19T00:09:20.542Z] openjdk version "21.0.8-beta" 2025-07-15 [2025-06-19T00:09:20.542Z] OpenJDK Runtime Environment Temurin-21.0.8+7-202506181908 (build 21.0.8-beta+7-ea) [2025-06-19T00:09:20.542Z] OpenJDK 64-Bit Server VM Temurin-21.0.8+7-202506181908 (build 21.0.8-beta+7-ea, mixed mode) [2025-06-19T00:09:20.542Z] STF 00:09:20.306 - [2025-06-19T00:09:20.542Z] STF 00:09:20.306 - +------ Step 1 - Create com.hello jar [2025-06-19T00:09:20.542Z] STF 00:09:20.306 - | Create modular jar [2025-06-19T00:09:20.542Z] STF 00:09:20.306 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2025-06-19T00:09:20.542Z] STF 00:09:20.306 - | ModuleVersion: null [2025-06-19T00:09:20.542Z] STF 00:09:20.306 - | MainClass: null [2025-06-19T00:09:20.542Z] STF 00:09:20.307 - | HashModules: null [2025-06-19T00:09:20.542Z] STF 00:09:20.307 - | [2025-06-19T00:09:20.542Z] STF 00:09:20.308 - 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_0/20250619-000917-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:20.542Z] STF 00:09:20.308 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17502835359140/PatModImg_AppMod_0/20250619-000917-PatModImgTest/results/1.CMJ.stderr [2025-06-19T00:09:20.542Z] STF 00:09:20.308 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17502835359140/PatModImg_AppMod_0/20250619-000917-PatModImgTest/results/1.CMJ.stdout [2025-06-19T00:09:20.542Z] STF 00:09:20.376 - Monitoring processes: CMJ [2025-06-19T00:09:20.542Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-06-19T00:09:20.833Z] STF 00:09:20.794 - Monitoring Report Summary: [2025-06-19T00:09:20.833Z] STF 00:09:20.794 - o Process CMJ ended with the expected exit code (0) [2025-06-19T00:09:20.833Z] STF 00:09:20.795 - Created modular jar: 1.com.hello.jar [2025-06-19T00:09:20.833Z] STF 00:09:20.795 - [2025-06-19T00:09:20.833Z] STF 00:09:20.795 - +------ Step 2 - Create com.hola jar [2025-06-19T00:09:20.833Z] STF 00:09:20.795 - | Create modular jar [2025-06-19T00:09:20.833Z] STF 00:09:20.795 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2025-06-19T00:09:20.834Z] STF 00:09:20.795 - | ModuleVersion: null [2025-06-19T00:09:20.834Z] STF 00:09:20.795 - | MainClass: null [2025-06-19T00:09:20.834Z] STF 00:09:20.795 - | HashModules: null [2025-06-19T00:09:20.834Z] STF 00:09:20.795 - | [2025-06-19T00:09:20.834Z] STF 00:09:20.796 - 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_0/20250619-000917-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:20.834Z] STF 00:09:20.796 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17502835359140/PatModImg_AppMod_0/20250619-000917-PatModImgTest/results/2.CMJ.stderr [2025-06-19T00:09:20.834Z] STF 00:09:20.796 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17502835359140/PatModImg_AppMod_0/20250619-000917-PatModImgTest/results/2.CMJ.stdout [2025-06-19T00:09:20.834Z] STF 00:09:20.803 - Monitoring processes: CMJ [2025-06-19T00:09:21.125Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-06-19T00:09:21.420Z] STF 00:09:21.211 - Monitoring Report Summary: [2025-06-19T00:09:21.420Z] STF 00:09:21.211 - o Process CMJ ended with the expected exit code (0) [2025-06-19T00:09:21.420Z] STF 00:09:21.212 - Created modular jar: 2.com.hola.jar [2025-06-19T00:09:21.420Z] STF 00:09:21.212 - [2025-06-19T00:09:21.420Z] STF 00:09:21.212 - +------ Step 3 - Create com.helper jar [2025-06-19T00:09:21.420Z] STF 00:09:21.212 - | Create modular jar [2025-06-19T00:09:21.420Z] STF 00:09:21.212 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2025-06-19T00:09:21.420Z] STF 00:09:21.212 - | ModuleVersion: null [2025-06-19T00:09:21.420Z] STF 00:09:21.212 - | MainClass: null [2025-06-19T00:09:21.420Z] STF 00:09:21.212 - | HashModules: null [2025-06-19T00:09:21.420Z] STF 00:09:21.212 - | [2025-06-19T00:09:21.420Z] STF 00:09:21.213 - 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_0/20250619-000917-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:21.420Z] STF 00:09:21.213 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17502835359140/PatModImg_AppMod_0/20250619-000917-PatModImgTest/results/3.CMJ.stderr [2025-06-19T00:09:21.420Z] STF 00:09:21.213 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17502835359140/PatModImg_AppMod_0/20250619-000917-PatModImgTest/results/3.CMJ.stdout [2025-06-19T00:09:21.420Z] STF 00:09:21.220 - Monitoring processes: CMJ [2025-06-19T00:09:21.420Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-06-19T00:09:22.054Z] STF 00:09:21.664 - Monitoring Report Summary: [2025-06-19T00:09:22.054Z] STF 00:09:21.665 - o Process CMJ ended with the expected exit code (0) [2025-06-19T00:09:22.054Z] STF 00:09:21.665 - Created modular jar: 3.com.helper.jar [2025-06-19T00:09:22.054Z] STF 00:09:21.665 - [2025-06-19T00:09:22.054Z] STF 00:09:21.666 - +------ Step 4 - Create com.discreet jar [2025-06-19T00:09:22.054Z] STF 00:09:21.666 - | Create modular jar [2025-06-19T00:09:22.054Z] STF 00:09:21.666 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2025-06-19T00:09:22.054Z] STF 00:09:21.666 - | ModuleVersion: null [2025-06-19T00:09:22.054Z] STF 00:09:21.666 - | MainClass: null [2025-06-19T00:09:22.054Z] STF 00:09:21.666 - | HashModules: null [2025-06-19T00:09:22.054Z] STF 00:09:21.666 - | [2025-06-19T00:09:22.054Z] STF 00:09:21.666 - 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_0/20250619-000917-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:22.054Z] STF 00:09:21.666 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17502835359140/PatModImg_AppMod_0/20250619-000917-PatModImgTest/results/4.CMJ.stderr [2025-06-19T00:09:22.054Z] STF 00:09:21.666 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17502835359140/PatModImg_AppMod_0/20250619-000917-PatModImgTest/results/4.CMJ.stdout [2025-06-19T00:09:22.054Z] STF 00:09:21.674 - Monitoring processes: CMJ [2025-06-19T00:09:22.054Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-06-19T00:09:22.345Z] STF 00:09:22.118 - Monitoring Report Summary: [2025-06-19T00:09:22.345Z] STF 00:09:22.118 - o Process CMJ ended with the expected exit code (0) [2025-06-19T00:09:22.345Z] STF 00:09:22.119 - Created modular jar: 4.com.discreet.jar [2025-06-19T00:09:22.345Z] STF 00:09:22.119 - [2025-06-19T00:09:22.345Z] STF 00:09:22.119 - +------ Step 5 - Create tests jar [2025-06-19T00:09:22.345Z] STF 00:09:22.119 - | Create modular jar [2025-06-19T00:09:22.345Z] STF 00:09:22.119 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2025-06-19T00:09:22.345Z] STF 00:09:22.119 - | ModuleVersion: null [2025-06-19T00:09:22.345Z] STF 00:09:22.119 - | MainClass: null [2025-06-19T00:09:22.345Z] STF 00:09:22.119 - | HashModules: null [2025-06-19T00:09:22.345Z] STF 00:09:22.119 - | [2025-06-19T00:09:22.345Z] STF 00:09:22.120 - 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_0/20250619-000917-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:22.345Z] STF 00:09:22.120 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17502835359140/PatModImg_AppMod_0/20250619-000917-PatModImgTest/results/5.CMJ.stderr [2025-06-19T00:09:22.345Z] STF 00:09:22.120 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17502835359140/PatModImg_AppMod_0/20250619-000917-PatModImgTest/results/5.CMJ.stdout [2025-06-19T00:09:22.345Z] STF 00:09:22.127 - Monitoring processes: CMJ [2025-06-19T00:09:22.345Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-06-19T00:09:22.977Z] STF 00:09:22.574 - Monitoring Report Summary: [2025-06-19T00:09:22.977Z] STF 00:09:22.574 - o Process CMJ ended with the expected exit code (0) [2025-06-19T00:09:22.977Z] STF 00:09:22.575 - Created modular jar: 5.com.test.jar [2025-06-19T00:09:22.977Z] STF 00:09:22.575 - [2025-06-19T00:09:22.977Z] STF 00:09:22.575 - +------ Step 6 - Create runtime image for PatchModule test [2025-06-19T00:09:22.977Z] STF 00:09:22.575 - | Run jlink to create runtime image [2025-06-19T00:09:22.977Z] STF 00:09:22.575 - | ImageName: XpJVM [2025-06-19T00:09:22.977Z] STF 00:09:22.575 - | [2025-06-19T00:09:22.977Z] STF 00:09:22.576 - 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_0\20250619-000917-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_0\20250619-000917-PatModImgTest\tmp\6.XpJVM [2025-06-19T00:09:22.977Z] STF 00:09:22.576 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17502835359140/PatModImg_AppMod_0/20250619-000917-PatModImgTest/results/6.JLNK.stderr [2025-06-19T00:09:22.977Z] STF 00:09:22.576 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17502835359140/PatModImg_AppMod_0/20250619-000917-PatModImgTest/results/6.JLNK.stdout [2025-06-19T00:09:22.978Z] STF 00:09:22.584 - Monitoring processes: JLNK [2025-06-19T00:09:22.978Z] JLNK stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-06-19T00:09:25.043Z] STF 00:09:24.933 - Monitoring Report Summary: [2025-06-19T00:09:25.043Z] STF 00:09:24.933 - o Process JLNK ended with the expected exit code (0) [2025-06-19T00:09:25.043Z] STF 00:09:24.934 - [2025-06-19T00:09:25.043Z] STF 00:09:24.934 - +------ Step 7 - Create com.hello jar [2025-06-19T00:09:25.043Z] STF 00:09:24.934 - | Create modular jar [2025-06-19T00:09:25.043Z] STF 00:09:24.934 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2025-06-19T00:09:25.043Z] STF 00:09:24.934 - | ModuleVersion: null [2025-06-19T00:09:25.043Z] STF 00:09:24.934 - | MainClass: null [2025-06-19T00:09:25.043Z] STF 00:09:24.934 - | HashModules: null [2025-06-19T00:09:25.043Z] STF 00:09:24.934 - | [2025-06-19T00:09:25.043Z] STF 00:09:24.935 - 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_0/20250619-000917-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:25.043Z] STF 00:09:24.935 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17502835359140/PatModImg_AppMod_0/20250619-000917-PatModImgTest/results/7.CMJ.stderr [2025-06-19T00:09:25.043Z] STF 00:09:24.935 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17502835359140/PatModImg_AppMod_0/20250619-000917-PatModImgTest/results/7.CMJ.stdout [2025-06-19T00:09:25.043Z] STF 00:09:24.943 - Monitoring processes: CMJ [2025-06-19T00:09:25.043Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-06-19T00:09:25.674Z] STF 00:09:25.368 - Monitoring Report Summary: [2025-06-19T00:09:25.674Z] STF 00:09:25.368 - o Process CMJ ended with the expected exit code (0) [2025-06-19T00:09:25.674Z] STF 00:09:25.369 - Created modular jar: 7.com.hello.jar [2025-06-19T00:09:25.674Z] STF 00:09:25.369 - [2025-06-19T00:09:25.674Z] STF 00:09:25.369 - +------ Step 8 - create java.xml.jar [2025-06-19T00:09:25.674Z] STF 00:09:25.369 - | Create modular jar [2025-06-19T00:09:25.674Z] STF 00:09:25.369 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml [2025-06-19T00:09:25.674Z] STF 00:09:25.369 - | ModuleVersion: null [2025-06-19T00:09:25.674Z] STF 00:09:25.369 - | MainClass: null [2025-06-19T00:09:25.674Z] STF 00:09:25.369 - | HashModules: null [2025-06-19T00:09:25.674Z] STF 00:09:25.369 - | [2025-06-19T00:09:25.674Z] STF 00:09:25.370 - 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_0/20250619-000917-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:25.674Z] STF 00:09:25.370 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17502835359140/PatModImg_AppMod_0/20250619-000917-PatModImgTest/results/8.CMJ.stderr [2025-06-19T00:09:25.674Z] STF 00:09:25.370 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17502835359140/PatModImg_AppMod_0/20250619-000917-PatModImgTest/results/8.CMJ.stdout [2025-06-19T00:09:25.674Z] STF 00:09:25.378 - Monitoring processes: CMJ [2025-06-19T00:09:25.674Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-06-19T00:09:25.984Z] STF 00:09:25.821 - Monitoring Report Summary: [2025-06-19T00:09:25.984Z] STF 00:09:25.821 - o Process CMJ ended with the expected exit code (0) [2025-06-19T00:09:25.984Z] STF 00:09:25.822 - Created modular jar: 8.java.xml.jar [2025-06-19T00:09:25.984Z] STF 00:09:25.822 - [2025-06-19T00:09:25.984Z] STF 00:09:25.822 - +------ Step 9 - Verify if we can patch an Application module using exploded directory [2025-06-19T00:09:25.984Z] STF 00:09:25.822 - | Run foreground process [2025-06-19T00:09:25.984Z] STF 00:09:25.822 - | Program: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17502835359140/PatModImg_AppMod_0/20250619-000917-PatModImgTest/tmp/6.XpJVM/bin/java [2025-06-19T00:09:25.984Z] STF 00:09:25.822 - | Mnemonic: OT21 [2025-06-19T00:09:25.984Z] STF 00:09:25.822 - | Echo: ECHO_ON [2025-06-19T00:09:25.984Z] STF 00:09:25.822 - | Expectation: CLEAN_RUN within 5m [2025-06-19T00:09:25.984Z] STF 00:09:25.822 - | [2025-06-19T00:09:25.984Z] STF 00:09:25.823 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17502835359140/PatModImg_AppMod_0/20250619-000917-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:25.984Z] STF 00:09:25.823 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17502835359140/PatModImg_AppMod_0/20250619-000917-PatModImgTest/results/9.OT21.stderr [2025-06-19T00:09:25.984Z] STF 00:09:25.823 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17502835359140/PatModImg_AppMod_0/20250619-000917-PatModImgTest/results/9.OT21.stdout [2025-06-19T00:09:25.984Z] STF 00:09:25.858 - Monitoring processes: OT21 [2025-06-19T00:09:25.984Z] OT21 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-06-19T00:09:26.275Z] 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:26.275Z] OT21 JUnit version 4.12 [2025-06-19T00:09:26.566Z] OT21 . [2025-06-19T00:09:26.567Z] OT21 Time: 0.016 [2025-06-19T00:09:26.567Z] OT21 [2025-06-19T00:09:26.567Z] OT21 OK (1 test) [2025-06-19T00:09:26.567Z] OT21 [2025-06-19T00:09:26.567Z] STF 00:09:26.277 - Monitoring Report Summary: [2025-06-19T00:09:26.567Z] STF 00:09:26.277 - o Process OT21 ended with the expected exit code (0) [2025-06-19T00:09:26.567Z] STF 00:09:26.278 - [2025-06-19T00:09:26.567Z] STF 00:09:26.278 - +------ Step 10 - Verify if we can patch an Application module using modular jar [2025-06-19T00:09:26.567Z] STF 00:09:26.278 - | Run foreground process [2025-06-19T00:09:26.567Z] STF 00:09:26.278 - | Program: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17502835359140/PatModImg_AppMod_0/20250619-000917-PatModImgTest/tmp/6.XpJVM/bin/java [2025-06-19T00:09:26.567Z] STF 00:09:26.278 - | Mnemonic: OT22 [2025-06-19T00:09:26.567Z] STF 00:09:26.278 - | Echo: ECHO_ON [2025-06-19T00:09:26.567Z] STF 00:09:26.278 - | Expectation: CLEAN_RUN within 5m [2025-06-19T00:09:26.567Z] STF 00:09:26.278 - | [2025-06-19T00:09:26.567Z] STF 00:09:26.279 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17502835359140/PatModImg_AppMod_0/20250619-000917-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_0/20250619-000917-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:26.567Z] STF 00:09:26.279 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17502835359140/PatModImg_AppMod_0/20250619-000917-PatModImgTest/results/10.OT22.stderr [2025-06-19T00:09:26.567Z] STF 00:09:26.279 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17502835359140/PatModImg_AppMod_0/20250619-000917-PatModImgTest/results/10.OT22.stdout [2025-06-19T00:09:26.567Z] STF 00:09:26.288 - Monitoring processes: OT22 [2025-06-19T00:09:26.567Z] OT22 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-06-19T00:09:26.567Z] 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_0\20250619-000917-PatModImgTest\modules\7.com.hello.jar [2025-06-19T00:09:26.857Z] OT22 JUnit version 4.12 [2025-06-19T00:09:26.857Z] OT22 . [2025-06-19T00:09:26.857Z] OT22 Time: 0.015 [2025-06-19T00:09:26.857Z] OT22 [2025-06-19T00:09:26.857Z] OT22 OK (1 test) [2025-06-19T00:09:26.857Z] OT22 [2025-06-19T00:09:26.857Z] STF 00:09:26.652 - Monitoring Report Summary: [2025-06-19T00:09:26.857Z] STF 00:09:26.652 - o Process OT22 ended with the expected exit code (0) [2025-06-19T00:09:26.857Z] STF 00:09:26.653 - EXECUTE stage completed [2025-06-19T00:09:26.857Z] STF 00:09:26.761 - [2025-06-19T00:09:26.857Z] STF 00:09:26.761 - ==================== T E A R D O W N ==================== [2025-06-19T00:09:26.857Z] STF 00:09:26.761 - Running teardown: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/\TKG\output_17502835359140\PatModImg_AppMod_0/20250619-000917-PatModImgTest/tearDown.pl [2025-06-19T00:09:27.532Z] STF 00:09:27.133 - TEARDOWN stage completed [2025-06-19T00:09:27.532Z] STF 00:09:27.161 - [2025-06-19T00:09:27.532Z] STF 00:09:27.161 - ===================== R E S U L T S ===================== [2025-06-19T00:09:27.532Z] STF 00:09:27.161 - Stage results: [2025-06-19T00:09:27.532Z] STF 00:09:27.161 - setUp: pass [2025-06-19T00:09:27.532Z] STF 00:09:27.161 - execute: pass [2025-06-19T00:09:27.532Z] STF 00:09:27.161 - teardown: pass [2025-06-19T00:09:27.532Z] STF 00:09:27.161 - [2025-06-19T00:09:27.532Z] STF 00:09:27.161 - Overall result: PASSED [2025-06-19T00:09:27.532Z] ----------------------------------- [2025-06-19T00:09:27.532Z] PatModImg_AppMod_0_PASSED [2025-06-19T00:09:27.532Z] ----------------------------------- [2025-06-19T00:09:27.532Z] [2025-06-19T00:09:27.532Z] TEST TEARDOWN: [2025-06-19T00:09:27.532Z] Nothing to be done for teardown. [2025-06-19T00:09:27.956Z] PatModImg_AppMod_0 Finish Time: Thu Jun 19 00:09:27 2025 Epoch Time (ms): 1750291767664