PatModImg_AppMod_0

[2025-11-26T23:45:14.383Z] Running test PatModImg_AppMod_0 ... [2025-11-26T23:45:14.679Z] =============================================== [2025-11-26T23:45:14.975Z] PatModImg_AppMod_0 Start Time: Wed Nov 26 23:45:14 2025 Epoch Time (ms): 1764200714734 [2025-11-26T23:45:14.975Z] variation: Mode150 [2025-11-26T23:45:15.296Z] JVM_OPTIONS: -XX:+UseCompressedOops [2025-11-26T23:45:15.296Z] { \ [2025-11-26T23:45:15.296Z] echo ""; echo "TEST SETUP:"; \ [2025-11-26T23:45:15.296Z] echo "Nothing to be done for setup."; \ [2025-11-26T23:45:15.296Z] mkdir -p "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/\\TKG\\output_17641985571151\\PatModImg_AppMod_0"; \ [2025-11-26T23:45:15.296Z] cd "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/\\TKG\\output_17641985571151\\PatModImg_AppMod_0"; \ [2025-11-26T23:45:15.296Z] echo ""; echo "TESTING:"; \ [2025-11-26T23:45:15.296Z] perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests///..//jvmtest\\system\\modularity/../\\STF\\stf.core\\scripts\\stf.pl -test-root="C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests///..//jvmtest\\system\\modularity/../\\STF;C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests///..//jvmtest\\system\\modularity/../\\aqa-systemtest""" -systemtest-prereqs="C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/../../externalDependency/system_lib\\" -java-args=' -XX:+UseCompressedOops ' -results-root="C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/\\TKG\\output_17641985571151\\PatModImg_AppMod_0" -test=PatModImgTest -test-args="variant=AppMod"; \ [2025-11-26T23:45:15.296Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatModImg_AppMod_0""_PASSED"; echo "-----------------------------------"; cd C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/; rm -f -r "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/\\TKG\\output_17641985571151\\PatModImg_AppMod_0"; else echo "-----------------------------------"; echo "PatModImg_AppMod_0""_FAILED"; echo "-----------------------------------"; fi; \ [2025-11-26T23:45:15.296Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-11-26T23:45:15.296Z] echo "Nothing to be done for teardown."; \ [2025-11-26T23:45:15.296Z] } 2>&1 | tee -a "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/\\TKG\\output_17641985571151\\TestTargetResult"; [2025-11-26T23:45:15.590Z] [2025-11-26T23:45:15.590Z] TEST SETUP: [2025-11-26T23:45:15.590Z] Nothing to be done for setup. [2025-11-26T23:45:15.590Z] [2025-11-26T23:45:15.590Z] TESTING: [2025-11-26T23:45:15.886Z] STF 23:45:15.805 - ========================= S T F ========================= [2025-11-26T23:45:15.886Z] 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_0/aqa-tests/\TKG\output_17641985571151\PatModImg_AppMod_0 [2025-11-26T23:45:16.187Z] There is 65974 Mb free [2025-11-26T23:45:16.187Z] STF 23:45:15.887 - ================== G E N E R A T I O N ================== [2025-11-26T23:45:16.187Z] STF 23:45:15.892 - Checking JVM: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/jdkbinary/j2sdk-image [2025-11-26T23:45:16.187Z] STF 23:45:15.893 - Starting process to generate scripts: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/jdkbinary/j2sdk-image/bin/java -Dlog4j.skipJansi=true -Djava.system.class.loader=net.adoptopenjdk.stf.runner.StfClassLoader -Dload.agent.path=C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/jvmtest/system/STF/stf.core/scripts/../../stf.load/bin/stf.load.jar -classpath C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/../../externalDependency/system_lib\/asm/asm.jar;C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/../../externalDependency/system_lib\/asm/asm-commons.jar;C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/../../externalDependency/system_lib\/log4j/log4j-api.jar;C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/../../externalDependency/system_lib\/log4j/log4j-core.jar;C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/\TKG\output_17641985571151\PatModImg_AppMod_0/20251126-234515-PatModImgTest/stf_parameters.properties, , C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/\TKG\output_17641985571151\PatModImg_AppMod_0/20251126-234515-PatModImgTest" [2025-11-26T23:45:16.187Z] GEN stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-11-26T23:45:17.234Z] GEN 23:45:17.195 - Found test. Project: 'openjdk.test.modularity' class: 'PatModImgTest.class' Dir: 'C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin' [2025-11-26T23:45:17.234Z] GEN 23:45:17.212 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModImgTest' [2025-11-26T23:45:17.533Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2025-11-26T23:45:17.533Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayService [2025-11-26T23:45:17.533Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper [2025-11-26T23:45:17.533Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl1 [2025-11-26T23:45:17.533Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet [2025-11-26T23:45:17.533Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello [2025-11-26T23:45:17.533Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola [2025-11-26T23:45:17.533Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl2 [2025-11-26T23:45:17.533Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hi [2025-11-26T23:45:17.533Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override [2025-11-26T23:45:17.533Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override-new [2025-11-26T23:45:17.533Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl3 [2025-11-26T23:45:17.533Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl4 [2025-11-26T23:45:17.533Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common [2025-11-26T23:45:17.533Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests [2025-11-26T23:45:17.533Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin [2025-11-26T23:45:17.533Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\\jvmtest\\system\\STF\\stf.core\\bin [2025-11-26T23:45:17.533Z] GEN C:/Users/jenkins/externalDependency/system_lib/log4j/log4j-api.jar [2025-11-26T23:45:17.533Z] GEN C:/Users/jenkins/externalDependency/system_lib/log4j/log4j-core.jar [2025-11-26T23:45:17.533Z] GEN C:/Users/jenkins/externalDependency/system_lib/junit/junit.jar [2025-11-26T23:45:17.533Z] GEN 23:45:17.450 - Using Mode NoOptions. Values = '' [2025-11-26T23:45:17.829Z] GEN 23:45:17.577 - [2025-11-26T23:45:17.829Z] GEN 23:45:17.577 - Test command summary: [2025-11-26T23:45:17.829Z] GEN 23:45:17.577 - Step Stage Command Description [2025-11-26T23:45:17.829Z] GEN 23:45:17.577 - -----+--------+-----------------+------------ [2025-11-26T23:45:17.829Z] GEN 23:45:17.577 - 1 execute jar Create com.hello jar [2025-11-26T23:45:17.829Z] GEN 23:45:17.577 - 2 execute jar Create com.hola jar [2025-11-26T23:45:17.829Z] GEN 23:45:17.578 - 3 execute jar Create com.helper jar [2025-11-26T23:45:17.829Z] GEN 23:45:17.578 - 4 execute jar Create com.discreet jar [2025-11-26T23:45:17.829Z] GEN 23:45:17.578 - 5 execute jar Create tests jar [2025-11-26T23:45:17.829Z] GEN 23:45:17.578 - 6 execute jlink Create runtime image for PatchModule test [2025-11-26T23:45:17.829Z] GEN 23:45:17.578 - 7 execute jar Create com.hello jar [2025-11-26T23:45:17.829Z] GEN 23:45:17.578 - 8 execute jar create java.xml.jar [2025-11-26T23:45:17.829Z] GEN 23:45:17.578 - 9 execute Run java Verify if we can patch an Application module using exploded directory [2025-11-26T23:45:17.829Z] GEN 23:45:17.578 - 10 execute Run java Verify if we can patch an Application module using modular jar [2025-11-26T23:45:17.829Z] STF 23:45:17.610 - [2025-11-26T23:45:17.829Z] STF 23:45:17.610 - Script generation completed [2025-11-26T23:45:17.829Z] STF 23:45:17.610 - [2025-11-26T23:45:17.829Z] STF 23:45:17.613 - [2025-11-26T23:45:17.829Z] STF 23:45:17.613 - ======================= S E T U P ======================= [2025-11-26T23:45:17.829Z] STF 23:45:17.613 - Running setup: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/\TKG\output_17641985571151\PatModImg_AppMod_0/20251126-234515-PatModImgTest/setUp.pl [2025-11-26T23:45:18.123Z] STF 23:45:18.002 - SETUP stage completed [2025-11-26T23:45:18.123Z] STF 23:45:18.041 - [2025-11-26T23:45:18.123Z] STF 23:45:18.042 - ==================== E X E C U T E - ==================== [2025-11-26T23:45:18.123Z] STF 23:45:18.042 - Running execute: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/\TKG\output_17641985571151\PatModImg_AppMod_0/20251126-234515-PatModImgTest/execute.pl [2025-11-26T23:45:18.763Z] STF 23:45:18.437 - [2025-11-26T23:45:18.763Z] STF 23:45:18.437 - Java version [2025-11-26T23:45:18.763Z] STF 23:45:18.437 - Running: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/jdkbinary/j2sdk-image/bin/java -version [2025-11-26T23:45:18.763Z] Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-11-26T23:45:18.763Z] STF 23:45:18.561 - [2025-11-26T23:45:18.763Z] STF 23:45:18.561 - +------ Step 1 - Create com.hello jar [2025-11-26T23:45:18.763Z] STF 23:45:18.561 - | Create modular jar [2025-11-26T23:45:18.763Z] STF 23:45:18.561 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2025-11-26T23:45:18.763Z] STF 23:45:18.561 - | ModuleVersion: null [2025-11-26T23:45:18.763Z] STF 23:45:18.561 - | MainClass: null [2025-11-26T23:45:18.763Z] STF 23:45:18.561 - | HashModules: null [2025-11-26T23:45:18.763Z] STF 23:45:18.561 - | [2025-11-26T23:45:18.763Z] STF 23:45:18.563 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17641985571151/PatModImg_AppMod_0/20251126-234515-PatModImgTest/modules/1.com.hello.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello . [2025-11-26T23:45:18.763Z] STF 23:45:18.563 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17641985571151/PatModImg_AppMod_0/20251126-234515-PatModImgTest/results/1.CMJ.stderr [2025-11-26T23:45:18.763Z] STF 23:45:18.563 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17641985571151/PatModImg_AppMod_0/20251126-234515-PatModImgTest/results/1.CMJ.stdout [2025-11-26T23:45:18.763Z] openjdk version "21.0.10-beta" 2026-01-20 [2025-11-26T23:45:18.763Z] OpenJDK Runtime Environment Temurin-21.0.10+4-202511262007 (build 21.0.10-beta+4-ea) [2025-11-26T23:45:18.763Z] OpenJDK 64-Bit Server VM Temurin-21.0.10+4-202511262007 (build 21.0.10-beta+4-ea, mixed mode) [2025-11-26T23:45:18.763Z] STF 23:45:18.633 - Monitoring processes: CMJ [2025-11-26T23:45:18.763Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-11-26T23:45:19.404Z] STF 23:45:19.080 - Monitoring Report Summary: [2025-11-26T23:45:19.404Z] STF 23:45:19.080 - o Process CMJ ended with the expected exit code (0) [2025-11-26T23:45:19.404Z] STF 23:45:19.081 - Created modular jar: 1.com.hello.jar [2025-11-26T23:45:19.404Z] STF 23:45:19.081 - [2025-11-26T23:45:19.404Z] STF 23:45:19.081 - +------ Step 2 - Create com.hola jar [2025-11-26T23:45:19.404Z] STF 23:45:19.081 - | Create modular jar [2025-11-26T23:45:19.404Z] STF 23:45:19.081 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2025-11-26T23:45:19.404Z] STF 23:45:19.081 - | ModuleVersion: null [2025-11-26T23:45:19.404Z] STF 23:45:19.081 - | MainClass: null [2025-11-26T23:45:19.404Z] STF 23:45:19.081 - | HashModules: null [2025-11-26T23:45:19.404Z] STF 23:45:19.081 - | [2025-11-26T23:45:19.404Z] STF 23:45:19.082 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17641985571151/PatModImg_AppMod_0/20251126-234515-PatModImgTest/modules/2.com.hola.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola . [2025-11-26T23:45:19.404Z] STF 23:45:19.082 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17641985571151/PatModImg_AppMod_0/20251126-234515-PatModImgTest/results/2.CMJ.stderr [2025-11-26T23:45:19.404Z] STF 23:45:19.082 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17641985571151/PatModImg_AppMod_0/20251126-234515-PatModImgTest/results/2.CMJ.stdout [2025-11-26T23:45:19.404Z] STF 23:45:19.090 - Monitoring processes: CMJ [2025-11-26T23:45:19.404Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-11-26T23:45:19.721Z] STF 23:45:19.541 - Monitoring Report Summary: [2025-11-26T23:45:19.721Z] STF 23:45:19.541 - o Process CMJ ended with the expected exit code (0) [2025-11-26T23:45:19.721Z] STF 23:45:19.542 - Created modular jar: 2.com.hola.jar [2025-11-26T23:45:19.721Z] STF 23:45:19.542 - [2025-11-26T23:45:19.721Z] STF 23:45:19.542 - +------ Step 3 - Create com.helper jar [2025-11-26T23:45:19.721Z] STF 23:45:19.542 - | Create modular jar [2025-11-26T23:45:19.721Z] STF 23:45:19.542 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2025-11-26T23:45:19.721Z] STF 23:45:19.542 - | ModuleVersion: null [2025-11-26T23:45:19.721Z] STF 23:45:19.542 - | MainClass: null [2025-11-26T23:45:19.721Z] STF 23:45:19.542 - | HashModules: null [2025-11-26T23:45:19.721Z] STF 23:45:19.542 - | [2025-11-26T23:45:19.721Z] STF 23:45:19.543 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17641985571151/PatModImg_AppMod_0/20251126-234515-PatModImgTest/modules/3.com.helper.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper . [2025-11-26T23:45:19.721Z] STF 23:45:19.543 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17641985571151/PatModImg_AppMod_0/20251126-234515-PatModImgTest/results/3.CMJ.stderr [2025-11-26T23:45:19.721Z] STF 23:45:19.543 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17641985571151/PatModImg_AppMod_0/20251126-234515-PatModImgTest/results/3.CMJ.stdout [2025-11-26T23:45:19.721Z] STF 23:45:19.551 - Monitoring processes: CMJ [2025-11-26T23:45:19.721Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-11-26T23:45:20.016Z] STF 23:45:19.972 - Monitoring Report Summary: [2025-11-26T23:45:20.016Z] STF 23:45:19.972 - o Process CMJ ended with the expected exit code (0) [2025-11-26T23:45:20.016Z] STF 23:45:19.973 - Created modular jar: 3.com.helper.jar [2025-11-26T23:45:20.016Z] STF 23:45:19.973 - [2025-11-26T23:45:20.016Z] STF 23:45:19.973 - +------ Step 4 - Create com.discreet jar [2025-11-26T23:45:20.016Z] STF 23:45:19.973 - | Create modular jar [2025-11-26T23:45:20.016Z] STF 23:45:19.973 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2025-11-26T23:45:20.016Z] STF 23:45:19.973 - | ModuleVersion: null [2025-11-26T23:45:20.016Z] STF 23:45:19.973 - | MainClass: null [2025-11-26T23:45:20.016Z] STF 23:45:19.973 - | HashModules: null [2025-11-26T23:45:20.016Z] STF 23:45:19.973 - | [2025-11-26T23:45:20.016Z] STF 23:45:19.974 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17641985571151/PatModImg_AppMod_0/20251126-234515-PatModImgTest/modules/4.com.discreet.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet . [2025-11-26T23:45:20.016Z] STF 23:45:19.974 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17641985571151/PatModImg_AppMod_0/20251126-234515-PatModImgTest/results/4.CMJ.stderr [2025-11-26T23:45:20.016Z] STF 23:45:19.974 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17641985571151/PatModImg_AppMod_0/20251126-234515-PatModImgTest/results/4.CMJ.stdout [2025-11-26T23:45:20.016Z] STF 23:45:19.981 - Monitoring processes: CMJ [2025-11-26T23:45:20.312Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-11-26T23:45:20.608Z] STF 23:45:20.402 - Monitoring Report Summary: [2025-11-26T23:45:20.608Z] STF 23:45:20.402 - o Process CMJ ended with the expected exit code (0) [2025-11-26T23:45:20.608Z] STF 23:45:20.403 - Created modular jar: 4.com.discreet.jar [2025-11-26T23:45:20.608Z] STF 23:45:20.403 - [2025-11-26T23:45:20.608Z] STF 23:45:20.403 - +------ Step 5 - Create tests jar [2025-11-26T23:45:20.608Z] STF 23:45:20.403 - | Create modular jar [2025-11-26T23:45:20.608Z] STF 23:45:20.403 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2025-11-26T23:45:20.608Z] STF 23:45:20.403 - | ModuleVersion: null [2025-11-26T23:45:20.608Z] STF 23:45:20.403 - | MainClass: null [2025-11-26T23:45:20.608Z] STF 23:45:20.403 - | HashModules: null [2025-11-26T23:45:20.608Z] STF 23:45:20.403 - | [2025-11-26T23:45:20.608Z] STF 23:45:20.404 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17641985571151/PatModImg_AppMod_0/20251126-234515-PatModImgTest/modules/5.com.test.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests\com.test . [2025-11-26T23:45:20.608Z] STF 23:45:20.404 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17641985571151/PatModImg_AppMod_0/20251126-234515-PatModImgTest/results/5.CMJ.stderr [2025-11-26T23:45:20.608Z] STF 23:45:20.404 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17641985571151/PatModImg_AppMod_0/20251126-234515-PatModImgTest/results/5.CMJ.stdout [2025-11-26T23:45:20.608Z] STF 23:45:20.411 - Monitoring processes: CMJ [2025-11-26T23:45:20.608Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-11-26T23:45:21.249Z] STF 23:45:20.864 - Monitoring Report Summary: [2025-11-26T23:45:21.249Z] STF 23:45:20.864 - o Process CMJ ended with the expected exit code (0) [2025-11-26T23:45:21.249Z] STF 23:45:20.865 - Created modular jar: 5.com.test.jar [2025-11-26T23:45:21.249Z] STF 23:45:20.865 - [2025-11-26T23:45:21.249Z] STF 23:45:20.865 - +------ Step 6 - Create runtime image for PatchModule test [2025-11-26T23:45:21.249Z] STF 23:45:20.865 - | Run jlink to create runtime image [2025-11-26T23:45:21.249Z] STF 23:45:20.865 - | ImageName: XpJVM [2025-11-26T23:45:21.249Z] STF 23:45:20.865 - | [2025-11-26T23:45:21.249Z] STF 23:45:20.866 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/jdkbinary/j2sdk-image/bin/jlink --module-path C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\jdkbinary\j2sdk-image\jmods;C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\aqa-tests\TKG\output_17641985571151\PatModImg_AppMod_0\20251126-234515-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_0\aqa-tests\TKG\output_17641985571151\PatModImg_AppMod_0\20251126-234515-PatModImgTest\tmp\6.XpJVM [2025-11-26T23:45:21.249Z] STF 23:45:20.866 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17641985571151/PatModImg_AppMod_0/20251126-234515-PatModImgTest/results/6.JLNK.stderr [2025-11-26T23:45:21.249Z] STF 23:45:20.866 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17641985571151/PatModImg_AppMod_0/20251126-234515-PatModImgTest/results/6.JLNK.stdout [2025-11-26T23:45:21.249Z] STF 23:45:20.874 - Monitoring processes: JLNK [2025-11-26T23:45:21.249Z] JLNK stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-11-26T23:45:23.391Z] STF 23:45:23.289 - Monitoring Report Summary: [2025-11-26T23:45:23.391Z] STF 23:45:23.289 - o Process JLNK ended with the expected exit code (0) [2025-11-26T23:45:23.391Z] STF 23:45:23.290 - [2025-11-26T23:45:23.391Z] STF 23:45:23.290 - +------ Step 7 - Create com.hello jar [2025-11-26T23:45:23.391Z] STF 23:45:23.290 - | Create modular jar [2025-11-26T23:45:23.391Z] STF 23:45:23.290 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2025-11-26T23:45:23.391Z] STF 23:45:23.290 - | ModuleVersion: null [2025-11-26T23:45:23.391Z] STF 23:45:23.291 - | MainClass: null [2025-11-26T23:45:23.391Z] STF 23:45:23.291 - | HashModules: null [2025-11-26T23:45:23.391Z] STF 23:45:23.291 - | [2025-11-26T23:45:23.391Z] STF 23:45:23.291 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17641985571151/PatModImg_AppMod_0/20251126-234515-PatModImgTest/modules/7.com.hello.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.hello . [2025-11-26T23:45:23.391Z] STF 23:45:23.291 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17641985571151/PatModImg_AppMod_0/20251126-234515-PatModImgTest/results/7.CMJ.stderr [2025-11-26T23:45:23.391Z] STF 23:45:23.291 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17641985571151/PatModImg_AppMod_0/20251126-234515-PatModImgTest/results/7.CMJ.stdout [2025-11-26T23:45:23.391Z] STF 23:45:23.299 - Monitoring processes: CMJ [2025-11-26T23:45:23.687Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-11-26T23:45:23.986Z] STF 23:45:23.752 - Monitoring Report Summary: [2025-11-26T23:45:23.986Z] STF 23:45:23.752 - o Process CMJ ended with the expected exit code (0) [2025-11-26T23:45:23.986Z] STF 23:45:23.753 - Created modular jar: 7.com.hello.jar [2025-11-26T23:45:23.986Z] STF 23:45:23.753 - [2025-11-26T23:45:23.986Z] STF 23:45:23.753 - +------ Step 8 - create java.xml.jar [2025-11-26T23:45:23.986Z] STF 23:45:23.753 - | Create modular jar [2025-11-26T23:45:23.986Z] STF 23:45:23.753 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml [2025-11-26T23:45:23.986Z] STF 23:45:23.753 - | ModuleVersion: null [2025-11-26T23:45:23.986Z] STF 23:45:23.753 - | MainClass: null [2025-11-26T23:45:23.986Z] STF 23:45:23.753 - | HashModules: null [2025-11-26T23:45:23.986Z] STF 23:45:23.753 - | [2025-11-26T23:45:23.986Z] STF 23:45:23.754 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17641985571151/PatModImg_AppMod_0/20251126-234515-PatModImgTest/modules/8.java.xml.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\java.xml . [2025-11-26T23:45:23.986Z] STF 23:45:23.754 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17641985571151/PatModImg_AppMod_0/20251126-234515-PatModImgTest/results/8.CMJ.stderr [2025-11-26T23:45:23.986Z] STF 23:45:23.754 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17641985571151/PatModImg_AppMod_0/20251126-234515-PatModImgTest/results/8.CMJ.stdout [2025-11-26T23:45:23.986Z] STF 23:45:23.762 - Monitoring processes: CMJ [2025-11-26T23:45:23.986Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-11-26T23:45:24.627Z] STF 23:45:24.214 - Monitoring Report Summary: [2025-11-26T23:45:24.627Z] STF 23:45:24.214 - o Process CMJ ended with the expected exit code (0) [2025-11-26T23:45:24.627Z] STF 23:45:24.215 - Created modular jar: 8.java.xml.jar [2025-11-26T23:45:24.627Z] STF 23:45:24.215 - [2025-11-26T23:45:24.627Z] STF 23:45:24.215 - +------ Step 9 - Verify if we can patch an Application module using exploded directory [2025-11-26T23:45:24.627Z] STF 23:45:24.215 - | Run foreground process [2025-11-26T23:45:24.627Z] STF 23:45:24.215 - | Program: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17641985571151/PatModImg_AppMod_0/20251126-234515-PatModImgTest/tmp/6.XpJVM/bin/java [2025-11-26T23:45:24.627Z] STF 23:45:24.215 - | Mnemonic: OT21 [2025-11-26T23:45:24.627Z] STF 23:45:24.215 - | Echo: ECHO_ON [2025-11-26T23:45:24.627Z] STF 23:45:24.215 - | Expectation: CLEAN_RUN within 5m [2025-11-26T23:45:24.627Z] STF 23:45:24.215 - | [2025-11-26T23:45:24.627Z] STF 23:45:24.216 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17641985571151/PatModImg_AppMod_0/20251126-234515-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_0\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-11-26T23:45:24.627Z] STF 23:45:24.216 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17641985571151/PatModImg_AppMod_0/20251126-234515-PatModImgTest/results/9.OT21.stderr [2025-11-26T23:45:24.627Z] STF 23:45:24.216 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17641985571151/PatModImg_AppMod_0/20251126-234515-PatModImgTest/results/9.OT21.stdout [2025-11-26T23:45:24.627Z] STF 23:45:24.281 - Monitoring processes: OT21 [2025-11-26T23:45:24.627Z] OT21 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-11-26T23:45:24.627Z] OT21 stderr WARNING: module-info.class ignored in patch: C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.hello [2025-11-26T23:45:24.921Z] OT21 JUnit version 4.12 [2025-11-26T23:45:24.922Z] OT21 . [2025-11-26T23:45:24.922Z] OT21 Time: 0.014 [2025-11-26T23:45:24.922Z] OT21 [2025-11-26T23:45:24.922Z] OT21 OK (1 test) [2025-11-26T23:45:24.922Z] OT21 [2025-11-26T23:45:24.922Z] STF 23:45:24.734 - Monitoring Report Summary: [2025-11-26T23:45:24.922Z] STF 23:45:24.734 - o Process OT21 ended with the expected exit code (0) [2025-11-26T23:45:24.922Z] STF 23:45:24.735 - [2025-11-26T23:45:24.922Z] STF 23:45:24.735 - +------ Step 10 - Verify if we can patch an Application module using modular jar [2025-11-26T23:45:24.922Z] STF 23:45:24.735 - | Run foreground process [2025-11-26T23:45:24.922Z] STF 23:45:24.735 - | Program: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17641985571151/PatModImg_AppMod_0/20251126-234515-PatModImgTest/tmp/6.XpJVM/bin/java [2025-11-26T23:45:24.922Z] STF 23:45:24.735 - | Mnemonic: OT22 [2025-11-26T23:45:24.922Z] STF 23:45:24.735 - | Echo: ECHO_ON [2025-11-26T23:45:24.922Z] STF 23:45:24.735 - | Expectation: CLEAN_RUN within 5m [2025-11-26T23:45:24.922Z] STF 23:45:24.735 - | [2025-11-26T23:45:24.922Z] STF 23:45:24.736 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17641985571151/PatModImg_AppMod_0/20251126-234515-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_0/aqa-tests/TKG/output_17641985571151/PatModImg_AppMod_0/20251126-234515-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-11-26T23:45:24.922Z] STF 23:45:24.736 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17641985571151/PatModImg_AppMod_0/20251126-234515-PatModImgTest/results/10.OT22.stderr [2025-11-26T23:45:24.922Z] STF 23:45:24.736 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17641985571151/PatModImg_AppMod_0/20251126-234515-PatModImgTest/results/10.OT22.stdout [2025-11-26T23:45:24.922Z] STF 23:45:24.745 - Monitoring processes: OT22 [2025-11-26T23:45:24.922Z] OT22 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-11-26T23:45:25.223Z] OT22 stderr WARNING: module-info.class ignored in patch: C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\aqa-tests\TKG\output_17641985571151\PatModImg_AppMod_0\20251126-234515-PatModImgTest\modules\7.com.hello.jar [2025-11-26T23:45:25.223Z] OT22 JUnit version 4.12 [2025-11-26T23:45:25.223Z] OT22 . [2025-11-26T23:45:25.223Z] OT22 Time: 0.01 [2025-11-26T23:45:25.223Z] OT22 [2025-11-26T23:45:25.223Z] OT22 OK (1 test) [2025-11-26T23:45:25.223Z] OT22 [2025-11-26T23:45:25.527Z] STF 23:45:25.122 - Monitoring Report Summary: [2025-11-26T23:45:25.527Z] STF 23:45:25.122 - o Process OT22 ended with the expected exit code (0) [2025-11-26T23:45:25.527Z] STF 23:45:25.123 - EXECUTE stage completed [2025-11-26T23:45:25.527Z] STF 23:45:25.217 - [2025-11-26T23:45:25.527Z] STF 23:45:25.217 - ==================== T E A R D O W N ==================== [2025-11-26T23:45:25.527Z] STF 23:45:25.217 - Running teardown: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/\TKG\output_17641985571151\PatModImg_AppMod_0/20251126-234515-PatModImgTest/tearDown.pl [2025-11-26T23:45:25.826Z] STF 23:45:25.606 - TEARDOWN stage completed [2025-11-26T23:45:25.826Z] STF 23:45:25.648 - [2025-11-26T23:45:25.826Z] STF 23:45:25.648 - ===================== R E S U L T S ===================== [2025-11-26T23:45:25.826Z] STF 23:45:25.648 - Stage results: [2025-11-26T23:45:25.826Z] STF 23:45:25.648 - setUp: pass [2025-11-26T23:45:25.826Z] STF 23:45:25.648 - execute: pass [2025-11-26T23:45:25.826Z] STF 23:45:25.648 - teardown: pass [2025-11-26T23:45:25.826Z] STF 23:45:25.648 - [2025-11-26T23:45:25.826Z] STF 23:45:25.648 - Overall result: PASSED [2025-11-26T23:45:25.826Z] ----------------------------------- [2025-11-26T23:45:25.826Z] PatModImg_AppMod_0_PASSED [2025-11-26T23:45:25.826Z] ----------------------------------- [2025-11-26T23:45:25.826Z] [2025-11-26T23:45:25.826Z] TEST TEARDOWN: [2025-11-26T23:45:25.826Z] Nothing to be done for teardown. [2025-11-26T23:45:26.120Z] PatModImg_AppMod_0 Finish Time: Wed Nov 26 23:45:26 2025 Epoch Time (ms): 1764200726065