PatMod_AppMod_0

[2025-11-20T04:18:05.149Z] Running test PatMod_AppMod_0 ... [2025-11-20T04:18:05.444Z] =============================================== [2025-11-20T04:18:05.742Z] PatMod_AppMod_0 Start Time: Thu Nov 20 04:18:05 2025 Epoch Time (ms): 1763612285537 [2025-11-20T04:18:06.039Z] variation: Mode150 [2025-11-20T04:18:06.039Z] JVM_OPTIONS: -XX:+UseCompressedOops [2025-11-20T04:18:06.039Z] { \ [2025-11-20T04:18:06.039Z] echo ""; echo "TEST SETUP:"; \ [2025-11-20T04:18:06.039Z] echo "Nothing to be done for setup."; \ [2025-11-20T04:18:06.039Z] mkdir -p "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/\\TKG\\output_17636099088207\\PatMod_AppMod_0"; \ [2025-11-20T04:18:06.039Z] cd "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/\\TKG\\output_17636099088207\\PatMod_AppMod_0"; \ [2025-11-20T04:18:06.039Z] echo ""; echo "TESTING:"; \ [2025-11-20T04:18:06.039Z] perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/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_2/aqa-tests///..//jvmtest\\system\\modularity/../\\STF;C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/aqa-tests///..//jvmtest\\system\\modularity/../\\aqa-systemtest""" -systemtest-prereqs="C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/../../externalDependency/system_lib\\" -java-args=' -XX:+UseCompressedOops ' -results-root="C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/\\TKG\\output_17636099088207\\PatMod_AppMod_0" -test=PatModTest -test-args="variant=AppMod"; \ [2025-11-20T04:18:06.039Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatMod_AppMod_0""_PASSED"; echo "-----------------------------------"; cd C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/; rm -f -r "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/\\TKG\\output_17636099088207\\PatMod_AppMod_0"; else echo "-----------------------------------"; echo "PatMod_AppMod_0""_FAILED"; echo "-----------------------------------"; fi; \ [2025-11-20T04:18:06.039Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-11-20T04:18:06.039Z] echo "Nothing to be done for teardown."; \ [2025-11-20T04:18:06.039Z] } 2>&1 | tee -a "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/\\TKG\\output_17636099088207\\TestTargetResult"; [2025-11-20T04:18:06.334Z] [2025-11-20T04:18:06.334Z] TEST SETUP: [2025-11-20T04:18:06.334Z] Nothing to be done for setup. [2025-11-20T04:18:06.334Z] [2025-11-20T04:18:06.334Z] TESTING: [2025-11-20T04:18:06.975Z] STF 04:18:06.649 - ========================= S T F ========================= [2025-11-20T04:18:06.975Z] 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_2/aqa-tests/\TKG\output_17636099088207\PatMod_AppMod_0 [2025-11-20T04:18:06.975Z] There is 65716 Mb free [2025-11-20T04:18:06.975Z] STF 04:18:06.735 - ================== G E N E R A T I O N ================== [2025-11-20T04:18:06.975Z] STF 04:18:06.740 - Checking JVM: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/jdkbinary/j2sdk-image [2025-11-20T04:18:06.975Z] STF 04:18:06.740 - Starting process to generate scripts: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/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_2/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_2/../../externalDependency/system_lib\/asm/asm.jar;C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/../../externalDependency/system_lib\/asm/asm-commons.jar;C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/../../externalDependency/system_lib\/log4j/log4j-api.jar;C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/../../externalDependency/system_lib\/log4j/log4j-core.jar;C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/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_2/aqa-tests/\TKG\output_17636099088207\PatMod_AppMod_0/20251120-041806-PatModTest/stf_parameters.properties, , C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/\TKG\output_17636099088207\PatMod_AppMod_0/20251120-041806-PatModTest" [2025-11-20T04:18:06.975Z] GEN stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-11-20T04:18:08.022Z] GEN 04:18:07.970 - Found test. Project: 'openjdk.test.modularity' class: 'PatModTest.class' Dir: 'C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin' [2025-11-20T04:18:08.022Z] GEN 04:18:07.986 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModTest' [2025-11-20T04:18:08.321Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2025-11-20T04:18:08.321Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayService [2025-11-20T04:18:08.321Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper [2025-11-20T04:18:08.321Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl1 [2025-11-20T04:18:08.321Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet [2025-11-20T04:18:08.321Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello [2025-11-20T04:18:08.321Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola [2025-11-20T04:18:08.321Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl2 [2025-11-20T04:18:08.321Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hi [2025-11-20T04:18:08.321Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override [2025-11-20T04:18:08.321Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override-new [2025-11-20T04:18:08.321Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl3 [2025-11-20T04:18:08.321Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl4 [2025-11-20T04:18:08.321Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common [2025-11-20T04:18:08.321Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests [2025-11-20T04:18:08.321Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin [2025-11-20T04:18:08.321Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2\\jvmtest\\system\\STF\\stf.core\\bin [2025-11-20T04:18:08.321Z] GEN C:/Users/jenkins/externalDependency/system_lib/log4j/log4j-api.jar [2025-11-20T04:18:08.321Z] GEN C:/Users/jenkins/externalDependency/system_lib/log4j/log4j-core.jar [2025-11-20T04:18:08.321Z] GEN C:/Users/jenkins/externalDependency/system_lib/junit/junit.jar [2025-11-20T04:18:08.321Z] GEN 04:18:08.220 - Using Mode NoOptions. Values = '' [2025-11-20T04:18:08.616Z] GEN 04:18:08.334 - [2025-11-20T04:18:08.616Z] GEN 04:18:08.335 - Test command summary: [2025-11-20T04:18:08.616Z] GEN 04:18:08.335 - Step Stage Command Description [2025-11-20T04:18:08.616Z] GEN 04:18:08.335 - -----+--------+-----------------+------------ [2025-11-20T04:18:08.616Z] GEN 04:18:08.335 - 1 execute jar Create com.hello jar [2025-11-20T04:18:08.616Z] GEN 04:18:08.335 - 2 execute jar Create com.discreet jar [2025-11-20T04:18:08.616Z] GEN 04:18:08.336 - 3 execute jar create java.xml.jar [2025-11-20T04:18:08.616Z] GEN 04:18:08.336 - 4 execute Run java Verify if we can patch an Application module using exploded directoryy [2025-11-20T04:18:08.616Z] GEN 04:18:08.336 - 5 execute Run java Verify if we can Patch an Application module using modular jar [2025-11-20T04:18:08.616Z] STF 04:18:08.363 - [2025-11-20T04:18:08.616Z] STF 04:18:08.363 - Script generation completed [2025-11-20T04:18:08.616Z] STF 04:18:08.363 - [2025-11-20T04:18:08.616Z] STF 04:18:08.365 - [2025-11-20T04:18:08.616Z] STF 04:18:08.366 - ======================= S E T U P ======================= [2025-11-20T04:18:08.616Z] STF 04:18:08.366 - Running setup: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/\TKG\output_17636099088207\PatMod_AppMod_0/20251120-041806-PatModTest/setUp.pl [2025-11-20T04:18:08.910Z] STF 04:18:08.753 - SETUP stage completed [2025-11-20T04:18:08.910Z] STF 04:18:08.792 - [2025-11-20T04:18:08.910Z] STF 04:18:08.792 - ==================== E X E C U T E - ==================== [2025-11-20T04:18:08.910Z] STF 04:18:08.792 - Running execute: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/\TKG\output_17636099088207\PatMod_AppMod_0/20251120-041806-PatModTest/execute.pl [2025-11-20T04:18:09.204Z] STF 04:18:09.181 - [2025-11-20T04:18:09.204Z] STF 04:18:09.181 - Java version [2025-11-20T04:18:09.204Z] STF 04:18:09.182 - Running: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/jdkbinary/j2sdk-image/bin/java -version [2025-11-20T04:18:09.499Z] Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-11-20T04:18:09.499Z] openjdk version "21.0.10-beta" 2026-01-20 [2025-11-20T04:18:09.499Z] OpenJDK Runtime Environment Temurin-21.0.10+3-202511192007 (build 21.0.10-beta+3-ea) [2025-11-20T04:18:09.499Z] OpenJDK 64-Bit Server VM Temurin-21.0.10+3-202511192007 (build 21.0.10-beta+3-ea, mixed mode) [2025-11-20T04:18:09.499Z] STF 04:18:09.305 - [2025-11-20T04:18:09.499Z] STF 04:18:09.306 - +------ Step 1 - Create com.hello jar [2025-11-20T04:18:09.499Z] STF 04:18:09.306 - | Create modular jar [2025-11-20T04:18:09.499Z] STF 04:18:09.306 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2025-11-20T04:18:09.499Z] STF 04:18:09.306 - | ModuleVersion: null [2025-11-20T04:18:09.499Z] STF 04:18:09.306 - | MainClass: null [2025-11-20T04:18:09.499Z] STF 04:18:09.306 - | HashModules: null [2025-11-20T04:18:09.499Z] STF 04:18:09.306 - | [2025-11-20T04:18:09.499Z] STF 04:18:09.307 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/TKG/output_17636099088207/PatMod_AppMod_0/20251120-041806-PatModTest/modules/1.com.hello.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.hello . [2025-11-20T04:18:09.499Z] STF 04:18:09.313 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/TKG/output_17636099088207/PatMod_AppMod_0/20251120-041806-PatModTest/results/1.CMJ.stderr [2025-11-20T04:18:09.499Z] STF 04:18:09.313 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/TKG/output_17636099088207/PatMod_AppMod_0/20251120-041806-PatModTest/results/1.CMJ.stdout [2025-11-20T04:18:09.499Z] STF 04:18:09.382 - Monitoring processes: CMJ [2025-11-20T04:18:09.499Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-11-20T04:18:10.140Z] STF 04:18:09.827 - Monitoring Report Summary: [2025-11-20T04:18:10.140Z] STF 04:18:09.827 - o Process CMJ ended with the expected exit code (0) [2025-11-20T04:18:10.140Z] STF 04:18:09.828 - Created modular jar: 1.com.hello.jar [2025-11-20T04:18:10.140Z] STF 04:18:09.828 - [2025-11-20T04:18:10.140Z] STF 04:18:09.828 - +------ Step 2 - Create com.discreet jar [2025-11-20T04:18:10.140Z] STF 04:18:09.828 - | Create modular jar [2025-11-20T04:18:10.140Z] STF 04:18:09.828 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.discreet [2025-11-20T04:18:10.140Z] STF 04:18:09.828 - | ModuleVersion: null [2025-11-20T04:18:10.140Z] STF 04:18:09.828 - | MainClass: null [2025-11-20T04:18:10.140Z] STF 04:18:09.828 - | HashModules: null [2025-11-20T04:18:10.140Z] STF 04:18:09.828 - | [2025-11-20T04:18:10.140Z] STF 04:18:09.829 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/TKG/output_17636099088207/PatMod_AppMod_0/20251120-041806-PatModTest/modules/2.com.discreet.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.discreet . [2025-11-20T04:18:10.140Z] STF 04:18:09.829 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/TKG/output_17636099088207/PatMod_AppMod_0/20251120-041806-PatModTest/results/2.CMJ.stderr [2025-11-20T04:18:10.140Z] STF 04:18:09.829 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/TKG/output_17636099088207/PatMod_AppMod_0/20251120-041806-PatModTest/results/2.CMJ.stdout [2025-11-20T04:18:10.140Z] STF 04:18:09.837 - Monitoring processes: CMJ [2025-11-20T04:18:10.140Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-11-20T04:18:10.435Z] STF 04:18:10.271 - Monitoring Report Summary: [2025-11-20T04:18:10.435Z] STF 04:18:10.272 - o Process CMJ ended with the expected exit code (0) [2025-11-20T04:18:10.435Z] STF 04:18:10.272 - Created modular jar: 2.com.discreet.jar [2025-11-20T04:18:10.435Z] STF 04:18:10.272 - [2025-11-20T04:18:10.435Z] STF 04:18:10.272 - +------ Step 3 - create java.xml.jar [2025-11-20T04:18:10.435Z] STF 04:18:10.273 - | Create modular jar [2025-11-20T04:18:10.435Z] STF 04:18:10.273 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml [2025-11-20T04:18:10.435Z] STF 04:18:10.273 - | ModuleVersion: null [2025-11-20T04:18:10.435Z] STF 04:18:10.273 - | MainClass: null [2025-11-20T04:18:10.435Z] STF 04:18:10.273 - | HashModules: null [2025-11-20T04:18:10.435Z] STF 04:18:10.273 - | [2025-11-20T04:18:10.435Z] STF 04:18:10.273 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/TKG/output_17636099088207/PatMod_AppMod_0/20251120-041806-PatModTest/modules/3.java.xml.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\java.xml . [2025-11-20T04:18:10.435Z] STF 04:18:10.273 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/TKG/output_17636099088207/PatMod_AppMod_0/20251120-041806-PatModTest/results/3.CMJ.stderr [2025-11-20T04:18:10.435Z] STF 04:18:10.273 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/TKG/output_17636099088207/PatMod_AppMod_0/20251120-041806-PatModTest/results/3.CMJ.stdout [2025-11-20T04:18:10.435Z] STF 04:18:10.281 - Monitoring processes: CMJ [2025-11-20T04:18:10.435Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-11-20T04:18:10.730Z] STF 04:18:10.687 - Monitoring Report Summary: [2025-11-20T04:18:10.730Z] STF 04:18:10.687 - o Process CMJ ended with the expected exit code (0) [2025-11-20T04:18:10.730Z] STF 04:18:10.688 - Created modular jar: 3.java.xml.jar [2025-11-20T04:18:10.730Z] STF 04:18:10.688 - [2025-11-20T04:18:10.730Z] STF 04:18:10.688 - +------ Step 4 - Verify if we can patch an Application module using exploded directoryy [2025-11-20T04:18:10.730Z] STF 04:18:10.688 - | Run foreground process [2025-11-20T04:18:10.730Z] STF 04:18:10.688 - | Program: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/jdkbinary/j2sdk-image/bin/java [2025-11-20T04:18:10.730Z] STF 04:18:10.688 - | Mnemonic: OT21 [2025-11-20T04:18:10.730Z] STF 04:18:10.688 - | Echo: ECHO_ON [2025-11-20T04:18:10.730Z] STF 04:18:10.688 - | Expectation: CLEAN_RUN within 1m [2025-11-20T04:18:10.730Z] STF 04:18:10.688 - | [2025-11-20T04:18:10.730Z] STF 04:18:10.689 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/jdkbinary/j2sdk-image/bin/java --add-reads com.test=ALL-UNNAMED --module-path C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods;C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests --add-modules=com.test --patch-module com.hello=C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2\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-20T04:18:10.730Z] STF 04:18:10.689 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/TKG/output_17636099088207/PatMod_AppMod_0/20251120-041806-PatModTest/results/4.OT21.stderr [2025-11-20T04:18:10.730Z] STF 04:18:10.689 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/TKG/output_17636099088207/PatMod_AppMod_0/20251120-041806-PatModTest/results/4.OT21.stdout [2025-11-20T04:18:10.730Z] STF 04:18:10.696 - Monitoring processes: OT21 [2025-11-20T04:18:10.730Z] OT21 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-11-20T04:18:11.026Z] OT21 stderr WARNING: module-info.class ignored in patch: C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.hello [2025-11-20T04:18:11.026Z] OT21 JUnit version 4.12 [2025-11-20T04:18:11.320Z] OT21 . [2025-11-20T04:18:11.320Z] OT21 Time: 0.007 [2025-11-20T04:18:11.320Z] OT21 [2025-11-20T04:18:11.320Z] OT21 OK (1 test) [2025-11-20T04:18:11.320Z] OT21 [2025-11-20T04:18:11.320Z] STF 04:18:11.118 - Monitoring Report Summary: [2025-11-20T04:18:11.320Z] STF 04:18:11.118 - o Process OT21 ended with the expected exit code (0) [2025-11-20T04:18:11.320Z] STF 04:18:11.119 - [2025-11-20T04:18:11.320Z] STF 04:18:11.119 - +------ Step 5 - Verify if we can Patch an Application module using modular jar [2025-11-20T04:18:11.320Z] STF 04:18:11.119 - | Run foreground process [2025-11-20T04:18:11.320Z] STF 04:18:11.119 - | Program: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/jdkbinary/j2sdk-image/bin/java [2025-11-20T04:18:11.320Z] STF 04:18:11.119 - | Mnemonic: OT22 [2025-11-20T04:18:11.320Z] STF 04:18:11.119 - | Echo: ECHO_ON [2025-11-20T04:18:11.320Z] STF 04:18:11.119 - | Expectation: CLEAN_RUN within 1m [2025-11-20T04:18:11.320Z] STF 04:18:11.119 - | [2025-11-20T04:18:11.320Z] STF 04:18:11.120 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/jdkbinary/j2sdk-image/bin/java --add-reads com.test=ALL-UNNAMED --module-path C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods;C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests --add-modules=com.test --patch-module com.hello=C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/TKG/output_17636099088207/PatMod_AppMod_0/20251120-041806-PatModTest/modules/1.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-20T04:18:11.321Z] STF 04:18:11.120 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/TKG/output_17636099088207/PatMod_AppMod_0/20251120-041806-PatModTest/results/5.OT22.stderr [2025-11-20T04:18:11.321Z] STF 04:18:11.120 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/TKG/output_17636099088207/PatMod_AppMod_0/20251120-041806-PatModTest/results/5.OT22.stdout [2025-11-20T04:18:11.321Z] STF 04:18:11.128 - Monitoring processes: OT22 [2025-11-20T04:18:11.321Z] OT22 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-11-20T04:18:11.615Z] OT22 stderr WARNING: module-info.class ignored in patch: C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2\aqa-tests\TKG\output_17636099088207\PatMod_AppMod_0\20251120-041806-PatModTest\modules\1.com.hello.jar [2025-11-20T04:18:11.615Z] OT22 JUnit version 4.12 [2025-11-20T04:18:11.615Z] OT22 . [2025-11-20T04:18:11.615Z] OT22 Time: 0.007 [2025-11-20T04:18:11.615Z] OT22 [2025-11-20T04:18:11.615Z] OT22 OK (1 test) [2025-11-20T04:18:11.615Z] OT22 [2025-11-20T04:18:11.616Z] STF 04:18:11.534 - Monitoring Report Summary: [2025-11-20T04:18:11.616Z] STF 04:18:11.534 - o Process OT22 ended with the expected exit code (0) [2025-11-20T04:18:11.616Z] STF 04:18:11.535 - EXECUTE stage completed [2025-11-20T04:18:11.616Z] STF 04:18:11.581 - [2025-11-20T04:18:11.616Z] STF 04:18:11.581 - ==================== T E A R D O W N ==================== [2025-11-20T04:18:11.616Z] STF 04:18:11.581 - Running teardown: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/\TKG\output_17636099088207\PatMod_AppMod_0/20251120-041806-PatModTest/tearDown.pl [2025-11-20T04:18:12.256Z] STF 04:18:11.960 - TEARDOWN stage completed [2025-11-20T04:18:12.256Z] STF 04:18:11.997 - [2025-11-20T04:18:12.256Z] STF 04:18:11.997 - ===================== R E S U L T S ===================== [2025-11-20T04:18:12.256Z] STF 04:18:11.997 - Stage results: [2025-11-20T04:18:12.256Z] STF 04:18:11.997 - setUp: pass [2025-11-20T04:18:12.256Z] STF 04:18:11.997 - execute: pass [2025-11-20T04:18:12.256Z] STF 04:18:11.997 - teardown: pass [2025-11-20T04:18:12.256Z] STF 04:18:11.997 - [2025-11-20T04:18:12.256Z] STF 04:18:11.997 - Overall result: PASSED [2025-11-20T04:18:12.256Z] ----------------------------------- [2025-11-20T04:18:12.256Z] PatMod_AppMod_0_PASSED [2025-11-20T04:18:12.256Z] ----------------------------------- [2025-11-20T04:18:12.256Z] [2025-11-20T04:18:12.256Z] TEST TEARDOWN: [2025-11-20T04:18:12.256Z] Nothing to be done for teardown. [2025-11-20T04:18:12.551Z] PatMod_AppMod_0 Finish Time: Thu Nov 20 04:18:12 2025 Epoch Time (ms): 1763612292381