PatMod_AppMod_1

[2025-08-27T23:01:55.687Z] Running test PatMod_AppMod_1 ... [2025-08-27T23:01:55.687Z] =============================================== [2025-08-27T23:01:55.981Z] PatMod_AppMod_1 Start Time: Wed Aug 27 23:01:55 2025 Epoch Time (ms): 1756335715841 [2025-08-27T23:01:56.275Z] variation: Mode650 [2025-08-27T23:01:56.275Z] JVM_OPTIONS: -XX:-UseCompressedOops [2025-08-27T23:01:56.275Z] { \ [2025-08-27T23:01:56.275Z] echo ""; echo "TEST SETUP:"; \ [2025-08-27T23:01:56.275Z] echo "Nothing to be done for setup."; \ [2025-08-27T23:01:56.275Z] mkdir -p "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17563337628859\\PatMod_AppMod_1"; \ [2025-08-27T23:01:56.275Z] cd "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17563337628859\\PatMod_AppMod_1"; \ [2025-08-27T23:01:56.275Z] echo ""; echo "TESTING:"; \ [2025-08-27T23:01:56.275Z] perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests///..//jvmtest\\system\\modularity/../\\STF\\stf.core\\scripts\\stf.pl -test-root="C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests///..//jvmtest\\system\\modularity/../\\STF;C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests///..//jvmtest\\system\\modularity/../\\aqa-systemtest""" -systemtest-prereqs="C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/../../externalDependency/system_lib\\" -java-args=' -XX:-UseCompressedOops ' -results-root="C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17563337628859\\PatMod_AppMod_1" -test=PatModTest -test-args="variant=AppMod"; \ [2025-08-27T23:01:56.275Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatMod_AppMod_1""_PASSED"; echo "-----------------------------------"; cd C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/; rm -f -r "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17563337628859\\PatMod_AppMod_1"; else echo "-----------------------------------"; echo "PatMod_AppMod_1""_FAILED"; echo "-----------------------------------"; fi; \ [2025-08-27T23:01:56.275Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-08-27T23:01:56.275Z] echo "Nothing to be done for teardown."; \ [2025-08-27T23:01:56.275Z] } 2>&1 | tee -a "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17563337628859\\TestTargetResult"; [2025-08-27T23:01:56.569Z] [2025-08-27T23:01:56.569Z] TEST SETUP: [2025-08-27T23:01:56.569Z] Nothing to be done for setup. [2025-08-27T23:01:56.569Z] [2025-08-27T23:01:56.569Z] TESTING: [2025-08-27T23:01:57.205Z] STF 23:01:56.888 - ========================= S T F ========================= [2025-08-27T23:01:57.205Z] systemtest-prereqs has been processed, and set to: C:/Users/jenkins/externalDependency/system_libRetrieving amount of free space on drive containing C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17563337628859\PatMod_AppMod_1 [2025-08-27T23:01:57.205Z] There is 19468 Mb free [2025-08-27T23:01:57.205Z] STF 23:01:56.971 - ================== G E N E R A T I O N ================== [2025-08-27T23:01:57.205Z] STF 23:01:56.976 - Checking JVM: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image [2025-08-27T23:01:57.205Z] STF 23:01:56.977 - Starting process to generate scripts: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/java -Dlog4j.skipJansi=true -Djava.system.class.loader=net.adoptopenjdk.stf.runner.StfClassLoader -Dload.agent.path=C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jvmtest/system/STF/stf.core/scripts/../../stf.load/bin/stf.load.jar -classpath C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/../../externalDependency/system_lib\/asm/asm.jar;C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/../../externalDependency/system_lib\/asm/asm-commons.jar;C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/../../externalDependency/system_lib\/log4j/log4j-api.jar;C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/../../externalDependency/system_lib\/log4j/log4j-core.jar;C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17563337628859\PatMod_AppMod_1/20250827-230156-PatModTest/stf_parameters.properties, , C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17563337628859\PatMod_AppMod_1/20250827-230156-PatModTest" [2025-08-27T23:01:57.205Z] GEN stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-08-27T23:01:58.250Z] GEN 23:01:58.200 - Found test. Project: 'openjdk.test.modularity' class: 'PatModTest.class' Dir: 'C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin' [2025-08-27T23:01:58.250Z] GEN 23:01:58.216 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModTest' [2025-08-27T23:01:58.545Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2025-08-27T23:01:58.545Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayService [2025-08-27T23:01:58.545Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper [2025-08-27T23:01:58.545Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl1 [2025-08-27T23:01:58.545Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet [2025-08-27T23:01:58.545Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello [2025-08-27T23:01:58.545Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola [2025-08-27T23:01:58.545Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl2 [2025-08-27T23:01:58.545Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hi [2025-08-27T23:01:58.545Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override [2025-08-27T23:01:58.545Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override-new [2025-08-27T23:01:58.545Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl3 [2025-08-27T23:01:58.545Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl4 [2025-08-27T23:01:58.545Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common [2025-08-27T23:01:58.545Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests [2025-08-27T23:01:58.545Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin [2025-08-27T23:01:58.545Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\\jvmtest\\system\\STF\\stf.core\\bin [2025-08-27T23:01:58.545Z] GEN C:/Users/jenkins/externalDependency/system_lib/log4j/log4j-api.jar [2025-08-27T23:01:58.545Z] GEN C:/Users/jenkins/externalDependency/system_lib/log4j/log4j-core.jar [2025-08-27T23:01:58.545Z] GEN C:/Users/jenkins/externalDependency/system_lib/junit/junit.jar [2025-08-27T23:01:58.545Z] GEN 23:01:58.482 - Using Mode NoOptions. Values = '' [2025-08-27T23:01:58.841Z] GEN 23:01:58.607 - [2025-08-27T23:01:58.842Z] GEN 23:01:58.607 - Test command summary: [2025-08-27T23:01:58.842Z] GEN 23:01:58.607 - Step Stage Command Description [2025-08-27T23:01:58.842Z] GEN 23:01:58.607 - -----+--------+-----------------+------------ [2025-08-27T23:01:58.842Z] GEN 23:01:58.607 - 1 execute jar Create com.hello jar [2025-08-27T23:01:58.842Z] GEN 23:01:58.607 - 2 execute jar Create com.discreet jar [2025-08-27T23:01:58.842Z] GEN 23:01:58.607 - 3 execute jar create java.xml.jar [2025-08-27T23:01:58.842Z] GEN 23:01:58.607 - 4 execute Run java Verify if we can patch an Application module using exploded directoryy [2025-08-27T23:01:58.842Z] GEN 23:01:58.607 - 5 execute Run java Verify if we can Patch an Application module using modular jar [2025-08-27T23:01:58.842Z] STF 23:01:58.644 - [2025-08-27T23:01:58.842Z] STF 23:01:58.644 - Script generation completed [2025-08-27T23:01:58.842Z] STF 23:01:58.644 - [2025-08-27T23:01:58.842Z] STF 23:01:58.647 - [2025-08-27T23:01:58.842Z] STF 23:01:58.647 - ======================= S E T U P ======================= [2025-08-27T23:01:58.842Z] STF 23:01:58.647 - Running setup: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17563337628859\PatMod_AppMod_1/20250827-230156-PatModTest/setUp.pl [2025-08-27T23:01:59.135Z] STF 23:01:59.028 - SETUP stage completed [2025-08-27T23:01:59.135Z] STF 23:01:59.077 - [2025-08-27T23:01:59.135Z] STF 23:01:59.077 - ==================== E X E C U T E - ==================== [2025-08-27T23:01:59.135Z] STF 23:01:59.077 - Running execute: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17563337628859\PatMod_AppMod_1/20250827-230156-PatModTest/execute.pl [2025-08-27T23:01:59.771Z] STF 23:01:59.466 - [2025-08-27T23:01:59.771Z] STF 23:01:59.466 - Java version [2025-08-27T23:01:59.771Z] STF 23:01:59.466 - Running: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/java -version [2025-08-27T23:01:59.771Z] Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-08-27T23:01:59.771Z] openjdk version "21.0.9-beta" 2025-10-21 [2025-08-27T23:01:59.771Z] OpenJDK Runtime Environment Temurin-21.0.9+5-202508271902 (build 21.0.9-beta+5-ea) [2025-08-27T23:01:59.771Z] OpenJDK 64-Bit Server VM Temurin-21.0.9+5-202508271902 (build 21.0.9-beta+5-ea, mixed mode) [2025-08-27T23:01:59.771Z] STF 23:01:59.610 - [2025-08-27T23:01:59.771Z] STF 23:01:59.610 - +------ Step 1 - Create com.hello jar [2025-08-27T23:01:59.771Z] STF 23:01:59.610 - | Create modular jar [2025-08-27T23:01:59.771Z] STF 23:01:59.610 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2025-08-27T23:01:59.771Z] STF 23:01:59.610 - | ModuleVersion: null [2025-08-27T23:01:59.771Z] STF 23:01:59.610 - | MainClass: null [2025-08-27T23:01:59.771Z] STF 23:01:59.610 - | HashModules: null [2025-08-27T23:01:59.771Z] STF 23:01:59.610 - | [2025-08-27T23:01:59.771Z] STF 23:01:59.611 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17563337628859/PatMod_AppMod_1/20250827-230156-PatModTest/modules/1.com.hello.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.hello . [2025-08-27T23:01:59.771Z] STF 23:01:59.612 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17563337628859/PatMod_AppMod_1/20250827-230156-PatModTest/results/1.CMJ.stderr [2025-08-27T23:01:59.771Z] STF 23:01:59.612 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17563337628859/PatMod_AppMod_1/20250827-230156-PatModTest/results/1.CMJ.stdout [2025-08-27T23:01:59.771Z] STF 23:01:59.681 - Monitoring processes: CMJ [2025-08-27T23:01:59.771Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-08-27T23:02:00.439Z] STF 23:02:00.143 - Monitoring Report Summary: [2025-08-27T23:02:00.439Z] STF 23:02:00.143 - o Process CMJ ended with the expected exit code (0) [2025-08-27T23:02:00.439Z] STF 23:02:00.144 - Created modular jar: 1.com.hello.jar [2025-08-27T23:02:00.439Z] STF 23:02:00.144 - [2025-08-27T23:02:00.439Z] STF 23:02:00.144 - +------ Step 2 - Create com.discreet jar [2025-08-27T23:02:00.439Z] STF 23:02:00.144 - | Create modular jar [2025-08-27T23:02:00.439Z] STF 23:02:00.144 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.discreet [2025-08-27T23:02:00.439Z] STF 23:02:00.144 - | ModuleVersion: null [2025-08-27T23:02:00.439Z] STF 23:02:00.144 - | MainClass: null [2025-08-27T23:02:00.439Z] STF 23:02:00.144 - | HashModules: null [2025-08-27T23:02:00.439Z] STF 23:02:00.144 - | [2025-08-27T23:02:00.439Z] STF 23:02:00.145 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17563337628859/PatMod_AppMod_1/20250827-230156-PatModTest/modules/2.com.discreet.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.discreet . [2025-08-27T23:02:00.439Z] STF 23:02:00.145 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17563337628859/PatMod_AppMod_1/20250827-230156-PatModTest/results/2.CMJ.stderr [2025-08-27T23:02:00.439Z] STF 23:02:00.145 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17563337628859/PatMod_AppMod_1/20250827-230156-PatModTest/results/2.CMJ.stdout [2025-08-27T23:02:00.439Z] STF 23:02:00.154 - Monitoring processes: CMJ [2025-08-27T23:02:00.439Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-08-27T23:02:00.735Z] STF 23:02:00.610 - Monitoring Report Summary: [2025-08-27T23:02:00.735Z] STF 23:02:00.610 - o Process CMJ ended with the expected exit code (0) [2025-08-27T23:02:00.735Z] STF 23:02:00.611 - Created modular jar: 2.com.discreet.jar [2025-08-27T23:02:00.735Z] STF 23:02:00.611 - [2025-08-27T23:02:00.735Z] STF 23:02:00.611 - +------ Step 3 - create java.xml.jar [2025-08-27T23:02:00.735Z] STF 23:02:00.611 - | Create modular jar [2025-08-27T23:02:00.735Z] STF 23:02:00.611 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml [2025-08-27T23:02:00.735Z] STF 23:02:00.611 - | ModuleVersion: null [2025-08-27T23:02:00.735Z] STF 23:02:00.611 - | MainClass: null [2025-08-27T23:02:00.735Z] STF 23:02:00.611 - | HashModules: null [2025-08-27T23:02:00.735Z] STF 23:02:00.611 - | [2025-08-27T23:02:00.735Z] STF 23:02:00.612 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17563337628859/PatMod_AppMod_1/20250827-230156-PatModTest/modules/3.java.xml.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\java.xml . [2025-08-27T23:02:00.735Z] STF 23:02:00.612 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17563337628859/PatMod_AppMod_1/20250827-230156-PatModTest/results/3.CMJ.stderr [2025-08-27T23:02:00.735Z] STF 23:02:00.612 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17563337628859/PatMod_AppMod_1/20250827-230156-PatModTest/results/3.CMJ.stdout [2025-08-27T23:02:00.735Z] STF 23:02:00.620 - Monitoring processes: CMJ [2025-08-27T23:02:00.735Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-08-27T23:02:01.383Z] STF 23:02:01.079 - Monitoring Report Summary: [2025-08-27T23:02:01.383Z] STF 23:02:01.079 - o Process CMJ ended with the expected exit code (0) [2025-08-27T23:02:01.383Z] STF 23:02:01.080 - Created modular jar: 3.java.xml.jar [2025-08-27T23:02:01.383Z] STF 23:02:01.080 - [2025-08-27T23:02:01.383Z] STF 23:02:01.080 - +------ Step 4 - Verify if we can patch an Application module using exploded directoryy [2025-08-27T23:02:01.383Z] STF 23:02:01.080 - | Run foreground process [2025-08-27T23:02:01.383Z] STF 23:02:01.080 - | Program: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/java [2025-08-27T23:02:01.383Z] STF 23:02:01.080 - | Mnemonic: OT21 [2025-08-27T23:02:01.383Z] STF 23:02:01.080 - | Echo: ECHO_ON [2025-08-27T23:02:01.383Z] STF 23:02:01.080 - | Expectation: CLEAN_RUN within 1m [2025-08-27T23:02:01.383Z] STF 23:02:01.080 - | [2025-08-27T23:02:01.383Z] STF 23:02:01.081 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/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_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods;C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\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_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.hello -XX:-UseCompressedOops -classpath C:/Users/jenkins/externalDependency/system_lib/junit/junit.jar;C:/Users/jenkins/externalDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingAppModule [2025-08-27T23:02:01.383Z] STF 23:02:01.081 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17563337628859/PatMod_AppMod_1/20250827-230156-PatModTest/results/4.OT21.stderr [2025-08-27T23:02:01.383Z] STF 23:02:01.081 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17563337628859/PatMod_AppMod_1/20250827-230156-PatModTest/results/4.OT21.stdout [2025-08-27T23:02:01.383Z] STF 23:02:01.090 - Monitoring processes: OT21 [2025-08-27T23:02:01.383Z] OT21 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-08-27T23:02:01.384Z] OT21 stderr WARNING: module-info.class ignored in patch: C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.hello [2025-08-27T23:02:01.681Z] OT21 JUnit version 4.12 [2025-08-27T23:02:01.682Z] OT21 . [2025-08-27T23:02:01.682Z] OT21 Time: 0.015 [2025-08-27T23:02:01.682Z] OT21 [2025-08-27T23:02:01.682Z] OT21 OK (1 test) [2025-08-27T23:02:01.682Z] OT21 [2025-08-27T23:02:01.682Z] STF 23:02:01.560 - Monitoring Report Summary: [2025-08-27T23:02:01.682Z] STF 23:02:01.560 - o Process OT21 ended with the expected exit code (0) [2025-08-27T23:02:01.682Z] STF 23:02:01.561 - [2025-08-27T23:02:01.682Z] STF 23:02:01.561 - +------ Step 5 - Verify if we can Patch an Application module using modular jar [2025-08-27T23:02:01.682Z] STF 23:02:01.561 - | Run foreground process [2025-08-27T23:02:01.682Z] STF 23:02:01.561 - | Program: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/java [2025-08-27T23:02:01.682Z] STF 23:02:01.561 - | Mnemonic: OT22 [2025-08-27T23:02:01.682Z] STF 23:02:01.561 - | Echo: ECHO_ON [2025-08-27T23:02:01.682Z] STF 23:02:01.561 - | Expectation: CLEAN_RUN within 1m [2025-08-27T23:02:01.682Z] STF 23:02:01.561 - | [2025-08-27T23:02:01.682Z] STF 23:02:01.562 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/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_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods;C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\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_1/aqa-tests/TKG/output_17563337628859/PatMod_AppMod_1/20250827-230156-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-08-27T23:02:01.682Z] STF 23:02:01.562 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17563337628859/PatMod_AppMod_1/20250827-230156-PatModTest/results/5.OT22.stderr [2025-08-27T23:02:01.682Z] STF 23:02:01.562 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17563337628859/PatMod_AppMod_1/20250827-230156-PatModTest/results/5.OT22.stdout [2025-08-27T23:02:01.682Z] STF 23:02:01.570 - Monitoring processes: OT22 [2025-08-27T23:02:01.682Z] OT22 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-08-27T23:02:01.975Z] OT22 stderr WARNING: module-info.class ignored in patch: C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\aqa-tests\TKG\output_17563337628859\PatMod_AppMod_1\20250827-230156-PatModTest\modules\1.com.hello.jar [2025-08-27T23:02:01.975Z] OT22 JUnit version 4.12 [2025-08-27T23:02:02.268Z] OT22 . [2025-08-27T23:02:02.268Z] OT22 Time: 0 [2025-08-27T23:02:02.268Z] OT22 [2025-08-27T23:02:02.268Z] OT22 OK (1 test) [2025-08-27T23:02:02.268Z] OT22 [2025-08-27T23:02:02.268Z] STF 23:02:02.043 - Monitoring Report Summary: [2025-08-27T23:02:02.268Z] STF 23:02:02.043 - o Process OT22 ended with the expected exit code (0) [2025-08-27T23:02:02.268Z] STF 23:02:02.044 - EXECUTE stage completed [2025-08-27T23:02:02.268Z] STF 23:02:02.094 - [2025-08-27T23:02:02.268Z] STF 23:02:02.094 - ==================== T E A R D O W N ==================== [2025-08-27T23:02:02.268Z] STF 23:02:02.094 - Running teardown: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17563337628859\PatMod_AppMod_1/20250827-230156-PatModTest/tearDown.pl [2025-08-27T23:02:02.560Z] STF 23:02:02.497 - TEARDOWN stage completed [2025-08-27T23:02:02.560Z] STF 23:02:02.529 - [2025-08-27T23:02:02.560Z] STF 23:02:02.530 - ===================== R E S U L T S ===================== [2025-08-27T23:02:02.560Z] STF 23:02:02.530 - Stage results: [2025-08-27T23:02:02.560Z] STF 23:02:02.530 - setUp: pass [2025-08-27T23:02:02.560Z] STF 23:02:02.530 - execute: pass [2025-08-27T23:02:02.560Z] STF 23:02:02.530 - teardown: pass [2025-08-27T23:02:02.560Z] STF 23:02:02.530 - [2025-08-27T23:02:02.560Z] STF 23:02:02.530 - Overall result: PASSED [2025-08-27T23:02:02.854Z] ----------------------------------- [2025-08-27T23:02:02.854Z] PatMod_AppMod_1_PASSED [2025-08-27T23:02:02.854Z] ----------------------------------- [2025-08-27T23:02:02.854Z] [2025-08-27T23:02:02.854Z] TEST TEARDOWN: [2025-08-27T23:02:02.854Z] Nothing to be done for teardown. [2025-08-27T23:02:03.146Z] PatMod_AppMod_1 Finish Time: Wed Aug 27 23:02:02 2025 Epoch Time (ms): 1756335722903