PatMod_AppMod_1

[2025-07-31T00:31:01.342Z] Running test PatMod_AppMod_1 ... [2025-07-31T00:31:01.634Z] =============================================== [2025-07-31T00:31:01.966Z] PatMod_AppMod_1 Start Time: Thu Jul 31 00:31:01 2025 Epoch Time (ms): 1753921861662 [2025-07-31T00:31:01.966Z] variation: Mode650 [2025-07-31T00:31:02.257Z] JVM_OPTIONS: -XX:-UseCompressedOops [2025-07-31T00:31:02.257Z] { \ [2025-07-31T00:31:02.257Z] echo ""; echo "TEST SETUP:"; \ [2025-07-31T00:31:02.257Z] echo "Nothing to be done for setup."; \ [2025-07-31T00:31:02.257Z] mkdir -p "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17539199415972\\PatMod_AppMod_1"; \ [2025-07-31T00:31:02.257Z] cd "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17539199415972\\PatMod_AppMod_1"; \ [2025-07-31T00:31:02.257Z] echo ""; echo "TESTING:"; \ [2025-07-31T00:31:02.257Z] 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/../../testDependency/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_17539199415972\\PatMod_AppMod_1" -test=PatModTest -test-args="variant=AppMod"; \ [2025-07-31T00:31:02.257Z] 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_17539199415972\\PatMod_AppMod_1"; else echo "-----------------------------------"; echo "PatMod_AppMod_1""_FAILED"; echo "-----------------------------------"; fi; \ [2025-07-31T00:31:02.257Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-07-31T00:31:02.258Z] echo "Nothing to be done for teardown."; \ [2025-07-31T00:31:02.258Z] } 2>&1 | tee -a "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17539199415972\\TestTargetResult"; [2025-07-31T00:31:02.258Z] [2025-07-31T00:31:02.258Z] TEST SETUP: [2025-07-31T00:31:02.258Z] Nothing to be done for setup. [2025-07-31T00:31:02.549Z] [2025-07-31T00:31:02.549Z] TESTING: [2025-07-31T00:31:02.841Z] STF 00:31:02.677 - ========================= S T F ========================= [2025-07-31T00:31:02.841Z] 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_testList_1/aqa-tests/\TKG\output_17539199415972\PatMod_AppMod_1 [2025-07-31T00:31:02.841Z] There is 20638 Mb free [2025-07-31T00:31:02.841Z] STF 00:31:02.754 - ================== G E N E R A T I O N ================== [2025-07-31T00:31:02.841Z] STF 00:31:02.759 - Checking JVM: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image [2025-07-31T00:31:02.841Z] STF 00:31:02.760 - 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/../../testDependency/system_lib\/asm/asm.jar;C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/../../testDependency/system_lib\/asm/asm-commons.jar;C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/../../testDependency/system_lib\/log4j/log4j-api.jar;C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/../../testDependency/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_17539199415972\PatMod_AppMod_1/20250731-003102-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_17539199415972\PatMod_AppMod_1/20250731-003102-PatModTest" [2025-07-31T00:31:03.134Z] GEN stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-07-31T00:31:04.174Z] GEN 00:31:03.943 - 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-07-31T00:31:04.174Z] GEN 00:31:03.959 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModTest' [2025-07-31T00:31:04.466Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2025-07-31T00:31:04.467Z] 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-07-31T00:31:04.467Z] 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-07-31T00:31:04.467Z] 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-07-31T00:31:04.467Z] 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-07-31T00:31:04.467Z] 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-07-31T00:31:04.467Z] 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-07-31T00:31:04.467Z] 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-07-31T00:31:04.467Z] 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-07-31T00:31:04.467Z] 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-07-31T00:31:04.467Z] 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-07-31T00:31:04.467Z] 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-07-31T00:31:04.467Z] 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-07-31T00:31:04.467Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common [2025-07-31T00:31:04.467Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests [2025-07-31T00:31:04.467Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin [2025-07-31T00:31:04.467Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\\jvmtest\\system\\STF\\stf.core\\bin [2025-07-31T00:31:04.467Z] GEN C:/Users/jenkins/testDependency/system_lib/log4j/log4j-api.jar [2025-07-31T00:31:04.467Z] GEN C:/Users/jenkins/testDependency/system_lib/log4j/log4j-core.jar [2025-07-31T00:31:04.467Z] GEN C:/Users/jenkins/testDependency/system_lib/junit/junit.jar [2025-07-31T00:31:04.467Z] GEN 00:31:04.193 - Using Mode NoOptions. Values = '' [2025-07-31T00:31:04.467Z] GEN 00:31:04.302 - [2025-07-31T00:31:04.467Z] GEN 00:31:04.302 - Test command summary: [2025-07-31T00:31:04.467Z] GEN 00:31:04.302 - Step Stage Command Description [2025-07-31T00:31:04.467Z] GEN 00:31:04.302 - -----+--------+-----------------+------------ [2025-07-31T00:31:04.467Z] GEN 00:31:04.302 - 1 execute jar Create com.hello jar [2025-07-31T00:31:04.467Z] GEN 00:31:04.302 - 2 execute jar Create com.discreet jar [2025-07-31T00:31:04.467Z] GEN 00:31:04.302 - 3 execute jar create java.xml.jar [2025-07-31T00:31:04.467Z] GEN 00:31:04.302 - 4 execute Run java Verify if we can patch an Application module using exploded directoryy [2025-07-31T00:31:04.467Z] GEN 00:31:04.302 - 5 execute Run java Verify if we can Patch an Application module using modular jar [2025-07-31T00:31:04.467Z] STF 00:31:04.385 - [2025-07-31T00:31:04.467Z] STF 00:31:04.385 - Script generation completed [2025-07-31T00:31:04.467Z] STF 00:31:04.385 - [2025-07-31T00:31:04.467Z] STF 00:31:04.388 - [2025-07-31T00:31:04.467Z] STF 00:31:04.388 - ======================= S E T U P ======================= [2025-07-31T00:31:04.467Z] STF 00:31:04.388 - Running setup: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17539199415972\PatMod_AppMod_1/20250731-003102-PatModTest/setUp.pl [2025-07-31T00:31:05.101Z] STF 00:31:04.756 - SETUP stage completed [2025-07-31T00:31:05.101Z] STF 00:31:04.804 - [2025-07-31T00:31:05.101Z] STF 00:31:04.804 - ==================== E X E C U T E - ==================== [2025-07-31T00:31:05.101Z] STF 00:31:04.804 - Running execute: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17539199415972\PatMod_AppMod_1/20250731-003102-PatModTest/execute.pl [2025-07-31T00:31:05.394Z] STF 00:31:05.177 - [2025-07-31T00:31:05.394Z] STF 00:31:05.178 - Java version [2025-07-31T00:31:05.394Z] STF 00:31:05.178 - Running: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/java -version [2025-07-31T00:31:05.394Z] Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-07-31T00:31:05.394Z] openjdk version "21.0.9-beta" 2025-10-21 [2025-07-31T00:31:05.394Z] OpenJDK Runtime Environment Temurin-21.0.9+1-202507301903 (build 21.0.9-beta+1-ea) [2025-07-31T00:31:05.394Z] OpenJDK 64-Bit Server VM Temurin-21.0.9+1-202507301903 (build 21.0.9-beta+1-ea, mixed mode) [2025-07-31T00:31:05.394Z] STF 00:31:05.308 - [2025-07-31T00:31:05.394Z] STF 00:31:05.308 - +------ Step 1 - Create com.hello jar [2025-07-31T00:31:05.394Z] STF 00:31:05.308 - | Create modular jar [2025-07-31T00:31:05.394Z] STF 00:31:05.308 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2025-07-31T00:31:05.394Z] STF 00:31:05.308 - | ModuleVersion: null [2025-07-31T00:31:05.394Z] STF 00:31:05.308 - | MainClass: null [2025-07-31T00:31:05.394Z] STF 00:31:05.308 - | HashModules: null [2025-07-31T00:31:05.394Z] STF 00:31:05.308 - | [2025-07-31T00:31:05.394Z] STF 00:31:05.309 - 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_17539199415972/PatMod_AppMod_1/20250731-003102-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-07-31T00:31:05.394Z] STF 00:31:05.310 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17539199415972/PatMod_AppMod_1/20250731-003102-PatModTest/results/1.CMJ.stderr [2025-07-31T00:31:05.394Z] STF 00:31:05.310 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17539199415972/PatMod_AppMod_1/20250731-003102-PatModTest/results/1.CMJ.stdout [2025-07-31T00:31:05.686Z] STF 00:31:05.378 - Monitoring processes: CMJ [2025-07-31T00:31:05.686Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-07-31T00:31:05.978Z] STF 00:31:05.807 - Monitoring Report Summary: [2025-07-31T00:31:05.978Z] STF 00:31:05.807 - o Process CMJ ended with the expected exit code (0) [2025-07-31T00:31:05.978Z] STF 00:31:05.808 - Created modular jar: 1.com.hello.jar [2025-07-31T00:31:05.978Z] STF 00:31:05.808 - [2025-07-31T00:31:05.978Z] STF 00:31:05.808 - +------ Step 2 - Create com.discreet jar [2025-07-31T00:31:05.978Z] STF 00:31:05.808 - | Create modular jar [2025-07-31T00:31:05.978Z] STF 00:31:05.808 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.discreet [2025-07-31T00:31:05.978Z] STF 00:31:05.808 - | ModuleVersion: null [2025-07-31T00:31:05.978Z] STF 00:31:05.808 - | MainClass: null [2025-07-31T00:31:05.978Z] STF 00:31:05.808 - | HashModules: null [2025-07-31T00:31:05.978Z] STF 00:31:05.808 - | [2025-07-31T00:31:05.978Z] STF 00:31:05.809 - 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_17539199415972/PatMod_AppMod_1/20250731-003102-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-07-31T00:31:05.978Z] STF 00:31:05.809 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17539199415972/PatMod_AppMod_1/20250731-003102-PatModTest/results/2.CMJ.stderr [2025-07-31T00:31:05.978Z] STF 00:31:05.809 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17539199415972/PatMod_AppMod_1/20250731-003102-PatModTest/results/2.CMJ.stdout [2025-07-31T00:31:05.978Z] STF 00:31:05.817 - Monitoring processes: CMJ [2025-07-31T00:31:05.978Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-07-31T00:31:06.611Z] STF 00:31:06.240 - Monitoring Report Summary: [2025-07-31T00:31:06.611Z] STF 00:31:06.240 - o Process CMJ ended with the expected exit code (0) [2025-07-31T00:31:06.611Z] STF 00:31:06.241 - Created modular jar: 2.com.discreet.jar [2025-07-31T00:31:06.611Z] STF 00:31:06.241 - [2025-07-31T00:31:06.611Z] STF 00:31:06.241 - +------ Step 3 - create java.xml.jar [2025-07-31T00:31:06.611Z] STF 00:31:06.241 - | Create modular jar [2025-07-31T00:31:06.611Z] STF 00:31:06.241 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml [2025-07-31T00:31:06.611Z] STF 00:31:06.241 - | ModuleVersion: null [2025-07-31T00:31:06.611Z] STF 00:31:06.241 - | MainClass: null [2025-07-31T00:31:06.611Z] STF 00:31:06.241 - | HashModules: null [2025-07-31T00:31:06.611Z] STF 00:31:06.241 - | [2025-07-31T00:31:06.611Z] STF 00:31:06.242 - 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_17539199415972/PatMod_AppMod_1/20250731-003102-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-07-31T00:31:06.611Z] STF 00:31:06.242 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17539199415972/PatMod_AppMod_1/20250731-003102-PatModTest/results/3.CMJ.stderr [2025-07-31T00:31:06.611Z] STF 00:31:06.242 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17539199415972/PatMod_AppMod_1/20250731-003102-PatModTest/results/3.CMJ.stdout [2025-07-31T00:31:06.611Z] STF 00:31:06.249 - Monitoring processes: CMJ [2025-07-31T00:31:06.611Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-07-31T00:31:06.903Z] STF 00:31:06.677 - Monitoring Report Summary: [2025-07-31T00:31:06.903Z] STF 00:31:06.677 - o Process CMJ ended with the expected exit code (0) [2025-07-31T00:31:06.903Z] STF 00:31:06.678 - Created modular jar: 3.java.xml.jar [2025-07-31T00:31:06.903Z] STF 00:31:06.678 - [2025-07-31T00:31:06.903Z] STF 00:31:06.678 - +------ Step 4 - Verify if we can patch an Application module using exploded directoryy [2025-07-31T00:31:06.903Z] STF 00:31:06.678 - | Run foreground process [2025-07-31T00:31:06.903Z] STF 00:31:06.678 - | Program: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/java [2025-07-31T00:31:06.903Z] STF 00:31:06.678 - | Mnemonic: OT21 [2025-07-31T00:31:06.903Z] STF 00:31:06.678 - | Echo: ECHO_ON [2025-07-31T00:31:06.903Z] STF 00:31:06.678 - | Expectation: CLEAN_RUN within 1m [2025-07-31T00:31:06.903Z] STF 00:31:06.678 - | [2025-07-31T00:31:06.903Z] STF 00:31:06.679 - 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/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-07-31T00:31:06.903Z] STF 00:31:06.679 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17539199415972/PatMod_AppMod_1/20250731-003102-PatModTest/results/4.OT21.stderr [2025-07-31T00:31:06.903Z] STF 00:31:06.679 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17539199415972/PatMod_AppMod_1/20250731-003102-PatModTest/results/4.OT21.stdout [2025-07-31T00:31:06.903Z] STF 00:31:06.687 - Monitoring processes: OT21 [2025-07-31T00:31:06.903Z] OT21 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-07-31T00:31:07.196Z] 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-07-31T00:31:07.196Z] OT21 JUnit version 4.12 [2025-07-31T00:31:07.196Z] OT21 . [2025-07-31T00:31:07.196Z] OT21 Time: 0 [2025-07-31T00:31:07.196Z] OT21 [2025-07-31T00:31:07.196Z] OT21 OK (1 test) [2025-07-31T00:31:07.196Z] OT21 [2025-07-31T00:31:07.196Z] STF 00:31:07.102 - Monitoring Report Summary: [2025-07-31T00:31:07.196Z] STF 00:31:07.102 - o Process OT21 ended with the expected exit code (0) [2025-07-31T00:31:07.196Z] STF 00:31:07.103 - [2025-07-31T00:31:07.196Z] STF 00:31:07.103 - +------ Step 5 - Verify if we can Patch an Application module using modular jar [2025-07-31T00:31:07.196Z] STF 00:31:07.103 - | Run foreground process [2025-07-31T00:31:07.196Z] STF 00:31:07.103 - | Program: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/java [2025-07-31T00:31:07.196Z] STF 00:31:07.103 - | Mnemonic: OT22 [2025-07-31T00:31:07.196Z] STF 00:31:07.103 - | Echo: ECHO_ON [2025-07-31T00:31:07.196Z] STF 00:31:07.103 - | Expectation: CLEAN_RUN within 1m [2025-07-31T00:31:07.196Z] STF 00:31:07.103 - | [2025-07-31T00:31:07.196Z] STF 00:31:07.104 - 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_17539199415972/PatMod_AppMod_1/20250731-003102-PatModTest/modules/1.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-07-31T00:31:07.196Z] STF 00:31:07.104 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17539199415972/PatMod_AppMod_1/20250731-003102-PatModTest/results/5.OT22.stderr [2025-07-31T00:31:07.196Z] STF 00:31:07.104 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17539199415972/PatMod_AppMod_1/20250731-003102-PatModTest/results/5.OT22.stdout [2025-07-31T00:31:07.196Z] STF 00:31:07.112 - Monitoring processes: OT22 [2025-07-31T00:31:07.196Z] OT22 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-07-31T00:31:07.489Z] 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_17539199415972\PatMod_AppMod_1\20250731-003102-PatModTest\modules\1.com.hello.jar [2025-07-31T00:31:07.489Z] OT22 JUnit version 4.12 [2025-07-31T00:31:07.782Z] OT22 . [2025-07-31T00:31:07.782Z] OT22 Time: 0.015 [2025-07-31T00:31:07.782Z] OT22 [2025-07-31T00:31:07.782Z] OT22 OK (1 test) [2025-07-31T00:31:07.782Z] OT22 [2025-07-31T00:31:07.782Z] STF 00:31:07.537 - Monitoring Report Summary: [2025-07-31T00:31:07.782Z] STF 00:31:07.537 - o Process OT22 ended with the expected exit code (0) [2025-07-31T00:31:07.782Z] STF 00:31:07.538 - EXECUTE stage completed [2025-07-31T00:31:07.782Z] STF 00:31:07.586 - [2025-07-31T00:31:07.782Z] STF 00:31:07.586 - ==================== T E A R D O W N ==================== [2025-07-31T00:31:07.782Z] STF 00:31:07.586 - Running teardown: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17539199415972\PatMod_AppMod_1/20250731-003102-PatModTest/tearDown.pl [2025-07-31T00:31:08.073Z] STF 00:31:07.943 - TEARDOWN stage completed [2025-07-31T00:31:08.073Z] STF 00:31:07.992 - [2025-07-31T00:31:08.073Z] STF 00:31:07.992 - ===================== R E S U L T S ===================== [2025-07-31T00:31:08.073Z] STF 00:31:07.992 - Stage results: [2025-07-31T00:31:08.073Z] STF 00:31:07.992 - setUp: pass [2025-07-31T00:31:08.073Z] STF 00:31:07.992 - execute: pass [2025-07-31T00:31:08.073Z] STF 00:31:07.992 - teardown: pass [2025-07-31T00:31:08.073Z] STF 00:31:07.992 - [2025-07-31T00:31:08.073Z] STF 00:31:07.992 - Overall result: PASSED [2025-07-31T00:31:08.073Z] ----------------------------------- [2025-07-31T00:31:08.073Z] PatMod_AppMod_1_PASSED [2025-07-31T00:31:08.073Z] ----------------------------------- [2025-07-31T00:31:08.365Z] [2025-07-31T00:31:08.365Z] TEST TEARDOWN: [2025-07-31T00:31:08.365Z] Nothing to be done for teardown. [2025-07-31T00:31:08.365Z] PatMod_AppMod_1 Finish Time: Thu Jul 31 00:31:08 2025 Epoch Time (ms): 1753921868334