PatMod_AppMod_0

[2025-05-17T14:39:47.458Z] Running test PatMod_AppMod_0 ... [2025-05-17T14:39:47.754Z] =============================================== [2025-05-17T14:39:47.754Z] PatMod_AppMod_0 Start Time: Sat May 17 14:39:47 2025 Epoch Time (ms): 1747492787738 [2025-05-17T14:39:48.049Z] variation: Mode150 [2025-05-17T14:39:48.371Z] JVM_OPTIONS: -XX:+UseCompressedOops [2025-05-17T14:39:48.371Z] { \ [2025-05-17T14:39:48.371Z] echo ""; echo "TEST SETUP:"; \ [2025-05-17T14:39:48.371Z] echo "Nothing to be done for setup."; \ [2025-05-17T14:39:48.371Z] mkdir -p "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/\\TKG\\output_17474900612216\\PatMod_AppMod_0"; \ [2025-05-17T14:39:48.371Z] cd "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/\\TKG\\output_17474900612216\\PatMod_AppMod_0"; \ [2025-05-17T14:39:48.371Z] echo ""; echo "TESTING:"; \ [2025-05-17T14:39:48.371Z] 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/../../testDependency/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_17474900612216\\PatMod_AppMod_0" -test=PatModTest -test-args="variant=AppMod"; \ [2025-05-17T14:39:48.371Z] 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_17474900612216\\PatMod_AppMod_0"; else echo "-----------------------------------"; echo "PatMod_AppMod_0""_FAILED"; echo "-----------------------------------"; fi; \ [2025-05-17T14:39:48.371Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-05-17T14:39:48.371Z] echo "Nothing to be done for teardown."; \ [2025-05-17T14:39:48.371Z] } 2>&1 | tee -a "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/\\TKG\\output_17474900612216\\TestTargetResult"; [2025-05-17T14:39:48.667Z] [2025-05-17T14:39:48.667Z] TEST SETUP: [2025-05-17T14:39:48.667Z] Nothing to be done for setup. [2025-05-17T14:39:48.667Z] [2025-05-17T14:39:48.667Z] TESTING: [2025-05-17T14:39:48.963Z] STF 14:39:48.893 - ========================= S T F ========================= [2025-05-17T14:39:48.963Z] 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_2/aqa-tests/\TKG\output_17474900612216\PatMod_AppMod_0 [2025-05-17T14:39:49.258Z] There is 49131 Mb free [2025-05-17T14:39:49.258Z] STF 14:39:48.978 - ================== G E N E R A T I O N ================== [2025-05-17T14:39:49.258Z] STF 14:39:48.983 - Checking JVM: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/jdkbinary/j2sdk-image [2025-05-17T14:39:49.259Z] STF 14:39:48.984 - 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/../../testDependency/system_lib\/asm/asm.jar;C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/../../testDependency/system_lib\/asm/asm-commons.jar;C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/../../testDependency/system_lib\/log4j/log4j-api.jar;C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/../../testDependency/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_17474900612216\PatMod_AppMod_0/20250517-143948-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_17474900612216\PatMod_AppMod_0/20250517-143948-PatModTest" [2025-05-17T14:39:49.259Z] GEN stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-05-17T14:39:50.304Z] GEN 14:39:50.213 - 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-05-17T14:39:50.304Z] GEN 14:39:50.230 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModTest' [2025-05-17T14:39:50.600Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2025-05-17T14:39:50.600Z] 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-05-17T14:39:50.600Z] 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-05-17T14:39:50.600Z] 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-05-17T14:39:50.600Z] 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-05-17T14:39:50.600Z] 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-05-17T14:39:50.600Z] 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-05-17T14:39:50.600Z] 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-05-17T14:39:50.600Z] 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-05-17T14:39:50.600Z] 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-05-17T14:39:50.600Z] 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-05-17T14:39:50.600Z] 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-05-17T14:39:50.600Z] 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-05-17T14:39:50.600Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common [2025-05-17T14:39:50.600Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests [2025-05-17T14:39:50.600Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin [2025-05-17T14:39:50.600Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2\\jvmtest\\system\\STF\\stf.core\\bin [2025-05-17T14:39:50.600Z] GEN C:/Users/jenkins/testDependency/system_lib/log4j/log4j-api.jar [2025-05-17T14:39:50.600Z] GEN C:/Users/jenkins/testDependency/system_lib/log4j/log4j-core.jar [2025-05-17T14:39:50.600Z] GEN C:/Users/jenkins/testDependency/system_lib/junit/junit.jar [2025-05-17T14:39:50.600Z] GEN 14:39:50.478 - Using Mode NoOptions. Values = '' [2025-05-17T14:39:50.898Z] GEN 14:39:50.576 - [2025-05-17T14:39:50.898Z] GEN 14:39:50.576 - Test command summary: [2025-05-17T14:39:50.898Z] GEN 14:39:50.576 - Step Stage Command Description [2025-05-17T14:39:50.898Z] GEN 14:39:50.576 - -----+--------+-----------------+------------ [2025-05-17T14:39:50.898Z] GEN 14:39:50.576 - 1 execute jar Create com.hello jar [2025-05-17T14:39:50.898Z] GEN 14:39:50.576 - 2 execute jar Create com.discreet jar [2025-05-17T14:39:50.898Z] GEN 14:39:50.577 - 3 execute jar create java.xml.jar [2025-05-17T14:39:50.898Z] GEN 14:39:50.577 - 4 execute Run java Verify if we can patch an Application module using exploded directoryy [2025-05-17T14:39:50.898Z] GEN 14:39:50.577 - 5 execute Run java Verify if we can Patch an Application module using modular jar [2025-05-17T14:39:50.898Z] STF 14:39:50.659 - [2025-05-17T14:39:50.898Z] STF 14:39:50.659 - Script generation completed [2025-05-17T14:39:50.898Z] STF 14:39:50.659 - [2025-05-17T14:39:50.898Z] STF 14:39:50.661 - [2025-05-17T14:39:50.898Z] STF 14:39:50.661 - ======================= S E T U P ======================= [2025-05-17T14:39:50.898Z] STF 14:39:50.661 - Running setup: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/\TKG\output_17474900612216\PatMod_AppMod_0/20250517-143948-PatModTest/setUp.pl [2025-05-17T14:39:51.194Z] STF 14:39:51.049 - SETUP stage completed [2025-05-17T14:39:51.194Z] STF 14:39:51.090 - [2025-05-17T14:39:51.194Z] STF 14:39:51.090 - ==================== E X E C U T E - ==================== [2025-05-17T14:39:51.194Z] STF 14:39:51.090 - Running execute: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/\TKG\output_17474900612216\PatMod_AppMod_0/20250517-143948-PatModTest/execute.pl [2025-05-17T14:39:51.835Z] STF 14:39:51.483 - [2025-05-17T14:39:51.835Z] STF 14:39:51.484 - Java version [2025-05-17T14:39:51.835Z] STF 14:39:51.484 - Running: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/jdkbinary/j2sdk-image/bin/java -version [2025-05-17T14:39:51.835Z] Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-05-17T14:39:51.835Z] openjdk version "21.0.8-beta" 2025-07-15 [2025-05-17T14:39:51.835Z] OpenJDK Runtime Environment Temurin-21.0.8+3-202505170857 (build 21.0.8-beta+3-ea) [2025-05-17T14:39:51.835Z] OpenJDK 64-Bit Server VM Temurin-21.0.8+3-202505170857 (build 21.0.8-beta+3-ea, mixed mode) [2025-05-17T14:39:51.835Z] STF 14:39:51.621 - [2025-05-17T14:39:51.835Z] STF 14:39:51.621 - +------ Step 1 - Create com.hello jar [2025-05-17T14:39:51.835Z] STF 14:39:51.621 - | Create modular jar [2025-05-17T14:39:51.835Z] STF 14:39:51.621 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2025-05-17T14:39:51.835Z] STF 14:39:51.621 - | ModuleVersion: null [2025-05-17T14:39:51.835Z] STF 14:39:51.621 - | MainClass: null [2025-05-17T14:39:51.835Z] STF 14:39:51.621 - | HashModules: null [2025-05-17T14:39:51.835Z] STF 14:39:51.621 - | [2025-05-17T14:39:51.835Z] STF 14:39:51.622 - 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_17474900612216/PatMod_AppMod_0/20250517-143948-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-05-17T14:39:51.835Z] STF 14:39:51.623 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/TKG/output_17474900612216/PatMod_AppMod_0/20250517-143948-PatModTest/results/1.CMJ.stderr [2025-05-17T14:39:51.835Z] STF 14:39:51.623 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/TKG/output_17474900612216/PatMod_AppMod_0/20250517-143948-PatModTest/results/1.CMJ.stdout [2025-05-17T14:39:51.835Z] STF 14:39:51.693 - Monitoring processes: CMJ [2025-05-17T14:39:51.835Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-05-17T14:39:52.475Z] STF 14:39:52.112 - Monitoring Report Summary: [2025-05-17T14:39:52.475Z] STF 14:39:52.112 - o Process CMJ ended with the expected exit code (0) [2025-05-17T14:39:52.476Z] STF 14:39:52.113 - Created modular jar: 1.com.hello.jar [2025-05-17T14:39:52.476Z] STF 14:39:52.113 - [2025-05-17T14:39:52.476Z] STF 14:39:52.113 - +------ Step 2 - Create com.discreet jar [2025-05-17T14:39:52.476Z] STF 14:39:52.113 - | Create modular jar [2025-05-17T14:39:52.476Z] STF 14:39:52.113 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.discreet [2025-05-17T14:39:52.476Z] STF 14:39:52.113 - | ModuleVersion: null [2025-05-17T14:39:52.476Z] STF 14:39:52.113 - | MainClass: null [2025-05-17T14:39:52.476Z] STF 14:39:52.113 - | HashModules: null [2025-05-17T14:39:52.476Z] STF 14:39:52.113 - | [2025-05-17T14:39:52.476Z] STF 14:39:52.114 - 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_17474900612216/PatMod_AppMod_0/20250517-143948-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-05-17T14:39:52.476Z] STF 14:39:52.114 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/TKG/output_17474900612216/PatMod_AppMod_0/20250517-143948-PatModTest/results/2.CMJ.stderr [2025-05-17T14:39:52.476Z] STF 14:39:52.114 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/TKG/output_17474900612216/PatMod_AppMod_0/20250517-143948-PatModTest/results/2.CMJ.stdout [2025-05-17T14:39:52.476Z] STF 14:39:52.123 - Monitoring processes: CMJ [2025-05-17T14:39:52.476Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-05-17T14:39:52.771Z] STF 14:39:52.544 - Monitoring Report Summary: [2025-05-17T14:39:52.771Z] STF 14:39:52.544 - o Process CMJ ended with the expected exit code (0) [2025-05-17T14:39:52.771Z] STF 14:39:52.545 - Created modular jar: 2.com.discreet.jar [2025-05-17T14:39:52.771Z] STF 14:39:52.545 - [2025-05-17T14:39:52.771Z] STF 14:39:52.545 - +------ Step 3 - create java.xml.jar [2025-05-17T14:39:52.771Z] STF 14:39:52.545 - | Create modular jar [2025-05-17T14:39:52.771Z] STF 14:39:52.545 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml [2025-05-17T14:39:52.771Z] STF 14:39:52.545 - | ModuleVersion: null [2025-05-17T14:39:52.771Z] STF 14:39:52.545 - | MainClass: null [2025-05-17T14:39:52.771Z] STF 14:39:52.545 - | HashModules: null [2025-05-17T14:39:52.771Z] STF 14:39:52.545 - | [2025-05-17T14:39:52.771Z] STF 14:39:52.546 - 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_17474900612216/PatMod_AppMod_0/20250517-143948-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-05-17T14:39:52.771Z] STF 14:39:52.546 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/TKG/output_17474900612216/PatMod_AppMod_0/20250517-143948-PatModTest/results/3.CMJ.stderr [2025-05-17T14:39:52.771Z] STF 14:39:52.546 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/TKG/output_17474900612216/PatMod_AppMod_0/20250517-143948-PatModTest/results/3.CMJ.stdout [2025-05-17T14:39:52.771Z] STF 14:39:52.553 - Monitoring processes: CMJ [2025-05-17T14:39:52.771Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-05-17T14:39:53.067Z] STF 14:39:52.978 - Monitoring Report Summary: [2025-05-17T14:39:53.067Z] STF 14:39:52.978 - o Process CMJ ended with the expected exit code (0) [2025-05-17T14:39:53.067Z] STF 14:39:52.979 - Created modular jar: 3.java.xml.jar [2025-05-17T14:39:53.067Z] STF 14:39:52.979 - [2025-05-17T14:39:53.067Z] STF 14:39:52.979 - +------ Step 4 - Verify if we can patch an Application module using exploded directoryy [2025-05-17T14:39:53.067Z] STF 14:39:52.979 - | Run foreground process [2025-05-17T14:39:53.067Z] STF 14:39:52.979 - | Program: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/jdkbinary/j2sdk-image/bin/java [2025-05-17T14:39:53.067Z] STF 14:39:52.979 - | Mnemonic: OT21 [2025-05-17T14:39:53.067Z] STF 14:39:52.979 - | Echo: ECHO_ON [2025-05-17T14:39:53.067Z] STF 14:39:52.979 - | Expectation: CLEAN_RUN within 1m [2025-05-17T14:39:53.067Z] STF 14:39:52.979 - | [2025-05-17T14:39:53.067Z] STF 14:39:52.980 - 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/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-05-17T14:39:53.067Z] STF 14:39:52.980 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/TKG/output_17474900612216/PatMod_AppMod_0/20250517-143948-PatModTest/results/4.OT21.stderr [2025-05-17T14:39:53.067Z] STF 14:39:52.980 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/TKG/output_17474900612216/PatMod_AppMod_0/20250517-143948-PatModTest/results/4.OT21.stdout [2025-05-17T14:39:53.067Z] STF 14:39:52.988 - Monitoring processes: OT21 [2025-05-17T14:39:53.067Z] OT21 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-05-17T14:39:53.362Z] 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-05-17T14:39:53.363Z] OT21 JUnit version 4.12 [2025-05-17T14:39:53.658Z] OT21 . [2025-05-17T14:39:53.658Z] OT21 Time: 0.008 [2025-05-17T14:39:53.658Z] OT21 [2025-05-17T14:39:53.658Z] OT21 OK (1 test) [2025-05-17T14:39:53.658Z] OT21 [2025-05-17T14:39:53.658Z] STF 14:39:53.443 - Monitoring Report Summary: [2025-05-17T14:39:53.658Z] STF 14:39:53.444 - o Process OT21 ended with the expected exit code (0) [2025-05-17T14:39:53.658Z] STF 14:39:53.444 - [2025-05-17T14:39:53.658Z] STF 14:39:53.445 - +------ Step 5 - Verify if we can Patch an Application module using modular jar [2025-05-17T14:39:53.658Z] STF 14:39:53.445 - | Run foreground process [2025-05-17T14:39:53.658Z] STF 14:39:53.445 - | Program: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/jdkbinary/j2sdk-image/bin/java [2025-05-17T14:39:53.658Z] STF 14:39:53.445 - | Mnemonic: OT22 [2025-05-17T14:39:53.658Z] STF 14:39:53.445 - | Echo: ECHO_ON [2025-05-17T14:39:53.658Z] STF 14:39:53.445 - | Expectation: CLEAN_RUN within 1m [2025-05-17T14:39:53.658Z] STF 14:39:53.445 - | [2025-05-17T14:39:53.658Z] STF 14:39:53.446 - 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_17474900612216/PatMod_AppMod_0/20250517-143948-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-05-17T14:39:53.658Z] STF 14:39:53.446 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/TKG/output_17474900612216/PatMod_AppMod_0/20250517-143948-PatModTest/results/5.OT22.stderr [2025-05-17T14:39:53.658Z] STF 14:39:53.446 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/TKG/output_17474900612216/PatMod_AppMod_0/20250517-143948-PatModTest/results/5.OT22.stdout [2025-05-17T14:39:53.658Z] STF 14:39:53.453 - Monitoring processes: OT22 [2025-05-17T14:39:53.658Z] OT22 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-05-17T14:39:53.954Z] 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_17474900612216\PatMod_AppMod_0\20250517-143948-PatModTest\modules\1.com.hello.jar [2025-05-17T14:39:53.954Z] OT22 JUnit version 4.12 [2025-05-17T14:39:53.954Z] OT22 . [2025-05-17T14:39:53.954Z] OT22 Time: 0.006 [2025-05-17T14:39:53.954Z] OT22 [2025-05-17T14:39:53.954Z] OT22 OK (1 test) [2025-05-17T14:39:53.954Z] OT22 [2025-05-17T14:39:53.954Z] STF 14:39:53.876 - Monitoring Report Summary: [2025-05-17T14:39:53.954Z] STF 14:39:53.876 - o Process OT22 ended with the expected exit code (0) [2025-05-17T14:39:53.954Z] STF 14:39:53.877 - EXECUTE stage completed [2025-05-17T14:39:53.954Z] STF 14:39:53.907 - [2025-05-17T14:39:53.954Z] STF 14:39:53.907 - ==================== T E A R D O W N ==================== [2025-05-17T14:39:53.954Z] STF 14:39:53.907 - Running teardown: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/\TKG\output_17474900612216\PatMod_AppMod_0/20250517-143948-PatModTest/tearDown.pl [2025-05-17T14:39:54.594Z] STF 14:39:54.283 - TEARDOWN stage completed [2025-05-17T14:39:54.594Z] STF 14:39:54.328 - [2025-05-17T14:39:54.594Z] STF 14:39:54.328 - ===================== R E S U L T S ===================== [2025-05-17T14:39:54.594Z] STF 14:39:54.328 - Stage results: [2025-05-17T14:39:54.594Z] STF 14:39:54.328 - setUp: pass [2025-05-17T14:39:54.594Z] STF 14:39:54.328 - execute: pass [2025-05-17T14:39:54.594Z] STF 14:39:54.329 - teardown: pass [2025-05-17T14:39:54.594Z] STF 14:39:54.329 - [2025-05-17T14:39:54.594Z] STF 14:39:54.329 - Overall result: PASSED [2025-05-17T14:39:54.594Z] ----------------------------------- [2025-05-17T14:39:54.594Z] PatMod_AppMod_0_PASSED [2025-05-17T14:39:54.594Z] ----------------------------------- [2025-05-17T14:39:54.594Z] [2025-05-17T14:39:54.594Z] TEST TEARDOWN: [2025-05-17T14:39:54.594Z] Nothing to be done for teardown. [2025-05-17T14:39:54.890Z] PatMod_AppMod_0 Finish Time: Sat May 17 14:39:54 2025 Epoch Time (ms): 1747492794700