PatMod_AppMod_0

[2025-08-20T23:49:13.082Z] Running test PatMod_AppMod_0 ... [2025-08-20T23:49:13.082Z] =============================================== [2025-08-20T23:49:13.378Z] PatMod_AppMod_0 Start Time: Wed Aug 20 23:49:13 2025 Epoch Time (ms): 1755733753301 [2025-08-20T23:49:13.671Z] variation: Mode150 [2025-08-20T23:49:13.966Z] JVM_OPTIONS: -XX:+UseCompressedOops [2025-08-20T23:49:13.966Z] { \ [2025-08-20T23:49:13.966Z] echo ""; echo "TEST SETUP:"; \ [2025-08-20T23:49:13.966Z] echo "Nothing to be done for setup."; \ [2025-08-20T23:49:13.966Z] mkdir -p "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17557318289751\\PatMod_AppMod_0"; \ [2025-08-20T23:49:13.966Z] cd "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17557318289751\\PatMod_AppMod_0"; \ [2025-08-20T23:49:13.966Z] echo ""; echo "TESTING:"; \ [2025-08-20T23:49:13.966Z] 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_17557318289751\\PatMod_AppMod_0" -test=PatModTest -test-args="variant=AppMod"; \ [2025-08-20T23:49:13.967Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatMod_AppMod_0""_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_17557318289751\\PatMod_AppMod_0"; else echo "-----------------------------------"; echo "PatMod_AppMod_0""_FAILED"; echo "-----------------------------------"; fi; \ [2025-08-20T23:49:13.967Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-08-20T23:49:13.967Z] echo "Nothing to be done for teardown."; \ [2025-08-20T23:49:13.967Z] } 2>&1 | tee -a "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17557318289751\\TestTargetResult"; [2025-08-20T23:49:13.967Z] [2025-08-20T23:49:13.967Z] TEST SETUP: [2025-08-20T23:49:13.967Z] Nothing to be done for setup. [2025-08-20T23:49:13.967Z] [2025-08-20T23:49:13.967Z] TESTING: [2025-08-20T23:49:14.608Z] STF 23:49:14.301 - ========================= S T F ========================= [2025-08-20T23:49:14.608Z] 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_17557318289751\PatMod_AppMod_0 [2025-08-20T23:49:14.609Z] There is 18971 Mb free [2025-08-20T23:49:14.609Z] STF 23:49:14.382 - ================== G E N E R A T I O N ================== [2025-08-20T23:49:14.609Z] STF 23:49:14.387 - Checking JVM: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image [2025-08-20T23:49:14.609Z] STF 23:49:14.388 - 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_17557318289751\PatMod_AppMod_0/20250820-234914-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_17557318289751\PatMod_AppMod_0/20250820-234914-PatModTest" [2025-08-20T23:49:14.609Z] GEN stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-08-20T23:49:15.651Z] GEN 23:49:15.598 - 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-20T23:49:15.651Z] GEN 23:49:15.614 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModTest' [2025-08-20T23:49:15.945Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2025-08-20T23:49:15.945Z] 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-20T23:49:15.945Z] 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-20T23:49:15.945Z] 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-20T23:49:15.945Z] 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-20T23:49:15.945Z] 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-20T23:49:15.945Z] 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-20T23:49:15.945Z] 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-20T23:49:15.945Z] 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-20T23:49:15.945Z] 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-20T23:49:15.945Z] 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-20T23:49:15.945Z] 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-20T23:49:15.945Z] 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-20T23:49:15.945Z] 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-20T23:49:15.945Z] 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-20T23:49:15.945Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin [2025-08-20T23:49:15.945Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\\jvmtest\\system\\STF\\stf.core\\bin [2025-08-20T23:49:15.945Z] GEN C:/Users/jenkins/testDependency/system_lib/log4j/log4j-api.jar [2025-08-20T23:49:15.945Z] GEN C:/Users/jenkins/testDependency/system_lib/log4j/log4j-core.jar [2025-08-20T23:49:15.945Z] GEN C:/Users/jenkins/testDependency/system_lib/junit/junit.jar [2025-08-20T23:49:15.945Z] GEN 23:49:15.848 - Using Mode NoOptions. Values = '' [2025-08-20T23:49:16.241Z] GEN 23:49:15.973 - [2025-08-20T23:49:16.241Z] GEN 23:49:15.973 - Test command summary: [2025-08-20T23:49:16.241Z] GEN 23:49:15.973 - Step Stage Command Description [2025-08-20T23:49:16.241Z] GEN 23:49:15.973 - -----+--------+-----------------+------------ [2025-08-20T23:49:16.241Z] GEN 23:49:15.973 - 1 execute jar Create com.hello jar [2025-08-20T23:49:16.241Z] GEN 23:49:15.973 - 2 execute jar Create com.discreet jar [2025-08-20T23:49:16.241Z] GEN 23:49:15.973 - 3 execute jar create java.xml.jar [2025-08-20T23:49:16.241Z] GEN 23:49:15.973 - 4 execute Run java Verify if we can patch an Application module using exploded directoryy [2025-08-20T23:49:16.241Z] GEN 23:49:15.973 - 5 execute Run java Verify if we can Patch an Application module using modular jar [2025-08-20T23:49:16.241Z] STF 23:49:16.008 - [2025-08-20T23:49:16.241Z] STF 23:49:16.008 - Script generation completed [2025-08-20T23:49:16.241Z] STF 23:49:16.008 - [2025-08-20T23:49:16.241Z] STF 23:49:16.011 - [2025-08-20T23:49:16.241Z] STF 23:49:16.011 - ======================= S E T U P ======================= [2025-08-20T23:49:16.241Z] STF 23:49:16.011 - Running setup: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17557318289751\PatMod_AppMod_0/20250820-234914-PatModTest/setUp.pl [2025-08-20T23:49:16.536Z] STF 23:49:16.379 - SETUP stage completed [2025-08-20T23:49:16.536Z] STF 23:49:16.428 - [2025-08-20T23:49:16.536Z] STF 23:49:16.428 - ==================== E X E C U T E - ==================== [2025-08-20T23:49:16.536Z] STF 23:49:16.428 - Running execute: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17557318289751\PatMod_AppMod_0/20250820-234914-PatModTest/execute.pl [2025-08-20T23:49:17.175Z] STF 23:49:16.817 - [2025-08-20T23:49:17.175Z] STF 23:49:16.817 - Java version [2025-08-20T23:49:17.175Z] STF 23:49:16.817 - Running: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/java -version [2025-08-20T23:49:17.175Z] Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-08-20T23:49:17.175Z] openjdk version "21.0.9-beta" 2025-10-21 [2025-08-20T23:49:17.175Z] OpenJDK Runtime Environment Temurin-21.0.9+4-202508201909 (build 21.0.9-beta+4-ea) [2025-08-20T23:49:17.175Z] OpenJDK 64-Bit Server VM Temurin-21.0.9+4-202508201909 (build 21.0.9-beta+4-ea, mixed mode) [2025-08-20T23:49:17.175Z] STF 23:49:16.952 - [2025-08-20T23:49:17.175Z] STF 23:49:16.952 - +------ Step 1 - Create com.hello jar [2025-08-20T23:49:17.175Z] STF 23:49:16.952 - | Create modular jar [2025-08-20T23:49:17.175Z] STF 23:49:16.952 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2025-08-20T23:49:17.175Z] STF 23:49:16.952 - | ModuleVersion: null [2025-08-20T23:49:17.175Z] STF 23:49:16.952 - | MainClass: null [2025-08-20T23:49:17.175Z] STF 23:49:16.952 - | HashModules: null [2025-08-20T23:49:17.175Z] STF 23:49:16.952 - | [2025-08-20T23:49:17.175Z] STF 23:49:16.953 - 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_17557318289751/PatMod_AppMod_0/20250820-234914-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-20T23:49:17.175Z] STF 23:49:16.954 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17557318289751/PatMod_AppMod_0/20250820-234914-PatModTest/results/1.CMJ.stderr [2025-08-20T23:49:17.175Z] STF 23:49:16.954 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17557318289751/PatMod_AppMod_0/20250820-234914-PatModTest/results/1.CMJ.stdout [2025-08-20T23:49:17.175Z] STF 23:49:17.021 - Monitoring processes: CMJ [2025-08-20T23:49:17.176Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-08-20T23:49:17.814Z] STF 23:49:17.444 - Monitoring Report Summary: [2025-08-20T23:49:17.814Z] STF 23:49:17.444 - o Process CMJ ended with the expected exit code (0) [2025-08-20T23:49:17.814Z] STF 23:49:17.445 - Created modular jar: 1.com.hello.jar [2025-08-20T23:49:17.814Z] STF 23:49:17.445 - [2025-08-20T23:49:17.814Z] STF 23:49:17.445 - +------ Step 2 - Create com.discreet jar [2025-08-20T23:49:17.814Z] STF 23:49:17.445 - | Create modular jar [2025-08-20T23:49:17.814Z] STF 23:49:17.445 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.discreet [2025-08-20T23:49:17.814Z] STF 23:49:17.445 - | ModuleVersion: null [2025-08-20T23:49:17.814Z] STF 23:49:17.445 - | MainClass: null [2025-08-20T23:49:17.814Z] STF 23:49:17.445 - | HashModules: null [2025-08-20T23:49:17.814Z] STF 23:49:17.445 - | [2025-08-20T23:49:17.814Z] STF 23:49:17.446 - 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_17557318289751/PatMod_AppMod_0/20250820-234914-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-20T23:49:17.814Z] STF 23:49:17.446 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17557318289751/PatMod_AppMod_0/20250820-234914-PatModTest/results/2.CMJ.stderr [2025-08-20T23:49:17.815Z] STF 23:49:17.446 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17557318289751/PatMod_AppMod_0/20250820-234914-PatModTest/results/2.CMJ.stdout [2025-08-20T23:49:17.815Z] STF 23:49:17.454 - Monitoring processes: CMJ [2025-08-20T23:49:17.815Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-08-20T23:49:18.111Z] STF 23:49:17.894 - Monitoring Report Summary: [2025-08-20T23:49:18.111Z] STF 23:49:17.894 - o Process CMJ ended with the expected exit code (0) [2025-08-20T23:49:18.111Z] STF 23:49:17.895 - Created modular jar: 2.com.discreet.jar [2025-08-20T23:49:18.111Z] STF 23:49:17.895 - [2025-08-20T23:49:18.111Z] STF 23:49:17.895 - +------ Step 3 - create java.xml.jar [2025-08-20T23:49:18.111Z] STF 23:49:17.895 - | Create modular jar [2025-08-20T23:49:18.111Z] STF 23:49:17.895 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml [2025-08-20T23:49:18.111Z] STF 23:49:17.895 - | ModuleVersion: null [2025-08-20T23:49:18.111Z] STF 23:49:17.895 - | MainClass: null [2025-08-20T23:49:18.111Z] STF 23:49:17.895 - | HashModules: null [2025-08-20T23:49:18.111Z] STF 23:49:17.895 - | [2025-08-20T23:49:18.111Z] STF 23:49:17.896 - 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_17557318289751/PatMod_AppMod_0/20250820-234914-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-20T23:49:18.111Z] STF 23:49:17.896 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17557318289751/PatMod_AppMod_0/20250820-234914-PatModTest/results/3.CMJ.stderr [2025-08-20T23:49:18.111Z] STF 23:49:17.896 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17557318289751/PatMod_AppMod_0/20250820-234914-PatModTest/results/3.CMJ.stdout [2025-08-20T23:49:18.111Z] STF 23:49:17.904 - Monitoring processes: CMJ [2025-08-20T23:49:18.111Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-08-20T23:49:18.407Z] STF 23:49:18.332 - Monitoring Report Summary: [2025-08-20T23:49:18.407Z] STF 23:49:18.332 - o Process CMJ ended with the expected exit code (0) [2025-08-20T23:49:18.407Z] STF 23:49:18.333 - Created modular jar: 3.java.xml.jar [2025-08-20T23:49:18.407Z] STF 23:49:18.333 - [2025-08-20T23:49:18.407Z] STF 23:49:18.333 - +------ Step 4 - Verify if we can patch an Application module using exploded directoryy [2025-08-20T23:49:18.407Z] STF 23:49:18.333 - | Run foreground process [2025-08-20T23:49:18.407Z] STF 23:49:18.333 - | Program: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/java [2025-08-20T23:49:18.407Z] STF 23:49:18.333 - | Mnemonic: OT21 [2025-08-20T23:49:18.407Z] STF 23:49:18.333 - | Echo: ECHO_ON [2025-08-20T23:49:18.407Z] STF 23:49:18.333 - | Expectation: CLEAN_RUN within 1m [2025-08-20T23:49:18.407Z] STF 23:49:18.333 - | [2025-08-20T23:49:18.407Z] STF 23:49:18.334 - 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-08-20T23:49:18.407Z] STF 23:49:18.334 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17557318289751/PatMod_AppMod_0/20250820-234914-PatModTest/results/4.OT21.stderr [2025-08-20T23:49:18.407Z] STF 23:49:18.334 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17557318289751/PatMod_AppMod_0/20250820-234914-PatModTest/results/4.OT21.stdout [2025-08-20T23:49:18.407Z] STF 23:49:18.341 - Monitoring processes: OT21 [2025-08-20T23:49:18.703Z] OT21 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-08-20T23:49:18.703Z] 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-20T23:49:18.703Z] OT21 JUnit version 4.12 [2025-08-20T23:49:18.996Z] OT21 . [2025-08-20T23:49:18.996Z] OT21 Time: 0.016 [2025-08-20T23:49:18.996Z] OT21 [2025-08-20T23:49:18.996Z] OT21 OK (1 test) [2025-08-20T23:49:18.996Z] OT21 [2025-08-20T23:49:18.996Z] STF 23:49:18.769 - Monitoring Report Summary: [2025-08-20T23:49:18.996Z] STF 23:49:18.769 - o Process OT21 ended with the expected exit code (0) [2025-08-20T23:49:18.996Z] STF 23:49:18.770 - [2025-08-20T23:49:18.996Z] STF 23:49:18.770 - +------ Step 5 - Verify if we can Patch an Application module using modular jar [2025-08-20T23:49:18.996Z] STF 23:49:18.770 - | Run foreground process [2025-08-20T23:49:18.996Z] STF 23:49:18.770 - | Program: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/java [2025-08-20T23:49:18.996Z] STF 23:49:18.770 - | Mnemonic: OT22 [2025-08-20T23:49:18.996Z] STF 23:49:18.770 - | Echo: ECHO_ON [2025-08-20T23:49:18.996Z] STF 23:49:18.770 - | Expectation: CLEAN_RUN within 1m [2025-08-20T23:49:18.996Z] STF 23:49:18.770 - | [2025-08-20T23:49:18.996Z] STF 23:49:18.771 - 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_17557318289751/PatMod_AppMod_0/20250820-234914-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-08-20T23:49:18.996Z] STF 23:49:18.771 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17557318289751/PatMod_AppMod_0/20250820-234914-PatModTest/results/5.OT22.stderr [2025-08-20T23:49:18.996Z] STF 23:49:18.771 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17557318289751/PatMod_AppMod_0/20250820-234914-PatModTest/results/5.OT22.stdout [2025-08-20T23:49:18.996Z] STF 23:49:18.779 - Monitoring processes: OT22 [2025-08-20T23:49:18.996Z] OT22 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-08-20T23:49:19.290Z] 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_17557318289751\PatMod_AppMod_0\20250820-234914-PatModTest\modules\1.com.hello.jar [2025-08-20T23:49:19.290Z] OT22 JUnit version 4.12 [2025-08-20T23:49:19.290Z] OT22 . [2025-08-20T23:49:19.290Z] OT22 Time: 0.016 [2025-08-20T23:49:19.290Z] OT22 [2025-08-20T23:49:19.290Z] OT22 OK (1 test) [2025-08-20T23:49:19.290Z] OT22 [2025-08-20T23:49:19.290Z] STF 23:49:19.211 - Monitoring Report Summary: [2025-08-20T23:49:19.290Z] STF 23:49:19.211 - o Process OT22 ended with the expected exit code (0) [2025-08-20T23:49:19.290Z] STF 23:49:19.212 - EXECUTE stage completed [2025-08-20T23:49:19.290Z] STF 23:49:19.273 - [2025-08-20T23:49:19.290Z] STF 23:49:19.273 - ==================== T E A R D O W N ==================== [2025-08-20T23:49:19.290Z] STF 23:49:19.273 - Running teardown: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17557318289751\PatMod_AppMod_0/20250820-234914-PatModTest/tearDown.pl [2025-08-20T23:49:19.928Z] STF 23:49:19.645 - TEARDOWN stage completed [2025-08-20T23:49:19.928Z] STF 23:49:19.694 - [2025-08-20T23:49:19.928Z] STF 23:49:19.694 - ===================== R E S U L T S ===================== [2025-08-20T23:49:19.928Z] STF 23:49:19.694 - Stage results: [2025-08-20T23:49:19.928Z] STF 23:49:19.694 - setUp: pass [2025-08-20T23:49:19.928Z] STF 23:49:19.694 - execute: pass [2025-08-20T23:49:19.928Z] STF 23:49:19.694 - teardown: pass [2025-08-20T23:49:19.928Z] STF 23:49:19.694 - [2025-08-20T23:49:19.928Z] STF 23:49:19.694 - Overall result: PASSED [2025-08-20T23:49:19.928Z] ----------------------------------- [2025-08-20T23:49:19.928Z] PatMod_AppMod_0_PASSED [2025-08-20T23:49:19.928Z] ----------------------------------- [2025-08-20T23:49:19.928Z] [2025-08-20T23:49:19.928Z] TEST TEARDOWN: [2025-08-20T23:49:19.928Z] Nothing to be done for teardown. [2025-08-20T23:49:20.222Z] PatMod_AppMod_0 Finish Time: Wed Aug 20 23:49:20 2025 Epoch Time (ms): 1755733760051