PatModImg_AppMod_1

[2025-05-16T13:10:14.591Z] Running test PatModImg_AppMod_1 ... [2025-05-16T13:10:14.591Z] =============================================== [2025-05-16T13:10:14.898Z] PatModImg_AppMod_1 Start Time: Fri May 16 13:10:14 2025 Epoch Time (ms): 1747401014723 [2025-05-16T13:10:15.231Z] variation: Mode650 [2025-05-16T13:10:15.231Z] JVM_OPTIONS: -XX:-UseCompressedOops [2025-05-16T13:10:15.231Z] { \ [2025-05-16T13:10:15.231Z] echo ""; echo "TEST SETUP:"; \ [2025-05-16T13:10:15.231Z] echo "Nothing to be done for setup."; \ [2025-05-16T13:10:15.231Z] mkdir -p "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/\\TKG\\output_17473985406281\\PatModImg_AppMod_1"; \ [2025-05-16T13:10:15.231Z] cd "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/\\TKG\\output_17473985406281\\PatModImg_AppMod_1"; \ [2025-05-16T13:10:15.231Z] echo ""; echo "TESTING:"; \ [2025-05-16T13:10:15.231Z] perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/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_0/aqa-tests///..//jvmtest\\system\\modularity/../\\STF;C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests///..//jvmtest\\system\\modularity/../\\aqa-systemtest""" -systemtest-prereqs="C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/../../testDependency/system_lib\\" -java-args=' -XX:-UseCompressedOops ' -results-root="C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/\\TKG\\output_17473985406281\\PatModImg_AppMod_1" -test=PatModImgTest -test-args="variant=AppMod"; \ [2025-05-16T13:10:15.231Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatModImg_AppMod_1""_PASSED"; echo "-----------------------------------"; cd C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/; rm -f -r "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/\\TKG\\output_17473985406281\\PatModImg_AppMod_1"; else echo "-----------------------------------"; echo "PatModImg_AppMod_1""_FAILED"; echo "-----------------------------------"; fi; \ [2025-05-16T13:10:15.231Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-05-16T13:10:15.231Z] echo "Nothing to be done for teardown."; \ [2025-05-16T13:10:15.231Z] } 2>&1 | tee -a "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/\\TKG\\output_17473985406281\\TestTargetResult"; [2025-05-16T13:10:15.531Z] [2025-05-16T13:10:15.531Z] TEST SETUP: [2025-05-16T13:10:15.531Z] Nothing to be done for setup. [2025-05-16T13:10:15.531Z] [2025-05-16T13:10:15.531Z] TESTING: [2025-05-16T13:10:15.833Z] STF 13:10:15.707 - ========================= S T F ========================= [2025-05-16T13:10:15.833Z] 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_0/aqa-tests/\TKG\output_17473985406281\PatModImg_AppMod_1 [2025-05-16T13:10:16.134Z] There is 21479 Mb free [2025-05-16T13:10:16.134Z] STF 13:10:15.780 - ================== G E N E R A T I O N ================== [2025-05-16T13:10:16.134Z] STF 13:10:15.785 - Checking JVM: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/jdkbinary/j2sdk-image [2025-05-16T13:10:16.134Z] STF 13:10:15.786 - Starting process to generate scripts: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/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_0/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_0/../../testDependency/system_lib\/asm/asm.jar;C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/../../testDependency/system_lib\/asm/asm-commons.jar;C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/../../testDependency/system_lib\/log4j/log4j-api.jar;C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/../../testDependency/system_lib\/log4j/log4j-core.jar;C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/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_0/aqa-tests/\TKG\output_17473985406281\PatModImg_AppMod_1/20250516-131015-PatModImgTest/stf_parameters.properties, , C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/\TKG\output_17473985406281\PatModImg_AppMod_1/20250516-131015-PatModImgTest" [2025-05-16T13:10:16.134Z] GEN stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-05-16T13:10:17.198Z] GEN 13:10:16.957 - Found test. Project: 'openjdk.test.modularity' class: 'PatModImgTest.class' Dir: 'C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin' [2025-05-16T13:10:17.198Z] GEN 13:10:16.973 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModImgTest' [2025-05-16T13:10:17.500Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2025-05-16T13:10:17.500Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayService [2025-05-16T13:10:17.500Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper [2025-05-16T13:10:17.500Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl1 [2025-05-16T13:10:17.500Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet [2025-05-16T13:10:17.500Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello [2025-05-16T13:10:17.500Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola [2025-05-16T13:10:17.500Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl2 [2025-05-16T13:10:17.500Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hi [2025-05-16T13:10:17.500Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override [2025-05-16T13:10:17.500Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override-new [2025-05-16T13:10:17.500Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl3 [2025-05-16T13:10:17.500Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl4 [2025-05-16T13:10:17.500Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common [2025-05-16T13:10:17.500Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests [2025-05-16T13:10:17.500Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin [2025-05-16T13:10:17.500Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\\jvmtest\\system\\STF\\stf.core\\bin [2025-05-16T13:10:17.500Z] GEN C:/Users/jenkins/testDependency/system_lib/log4j/log4j-api.jar [2025-05-16T13:10:17.500Z] GEN C:/Users/jenkins/testDependency/system_lib/log4j/log4j-core.jar [2025-05-16T13:10:17.500Z] GEN C:/Users/jenkins/testDependency/system_lib/junit/junit.jar [2025-05-16T13:10:17.500Z] GEN 13:10:17.207 - Using Mode NoOptions. Values = '' [2025-05-16T13:10:17.500Z] GEN 13:10:17.332 - [2025-05-16T13:10:17.500Z] GEN 13:10:17.332 - Test command summary: [2025-05-16T13:10:17.500Z] GEN 13:10:17.332 - Step Stage Command Description [2025-05-16T13:10:17.500Z] GEN 13:10:17.332 - -----+--------+-----------------+------------ [2025-05-16T13:10:17.500Z] GEN 13:10:17.332 - 1 execute jar Create com.hello jar [2025-05-16T13:10:17.500Z] GEN 13:10:17.332 - 2 execute jar Create com.hola jar [2025-05-16T13:10:17.500Z] GEN 13:10:17.332 - 3 execute jar Create com.helper jar [2025-05-16T13:10:17.500Z] GEN 13:10:17.332 - 4 execute jar Create com.discreet jar [2025-05-16T13:10:17.500Z] GEN 13:10:17.332 - 5 execute jar Create tests jar [2025-05-16T13:10:17.500Z] GEN 13:10:17.332 - 6 execute jlink Create runtime image for PatchModule test [2025-05-16T13:10:17.500Z] GEN 13:10:17.332 - 7 execute jar Create com.hello jar [2025-05-16T13:10:17.500Z] GEN 13:10:17.332 - 8 execute jar create java.xml.jar [2025-05-16T13:10:17.500Z] GEN 13:10:17.332 - 9 execute Run java Verify if we can patch an Application module using exploded directory [2025-05-16T13:10:17.500Z] GEN 13:10:17.332 - 10 execute Run java Verify if we can patch an Application module using modular jar [2025-05-16T13:10:17.500Z] STF 13:10:17.402 - [2025-05-16T13:10:17.500Z] STF 13:10:17.402 - Script generation completed [2025-05-16T13:10:17.500Z] STF 13:10:17.402 - [2025-05-16T13:10:17.500Z] STF 13:10:17.405 - [2025-05-16T13:10:17.500Z] STF 13:10:17.405 - ======================= S E T U P ======================= [2025-05-16T13:10:17.500Z] STF 13:10:17.405 - Running setup: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/\TKG\output_17473985406281\PatModImg_AppMod_1/20250516-131015-PatModImgTest/setUp.pl [2025-05-16T13:10:18.153Z] STF 13:10:17.785 - SETUP stage completed [2025-05-16T13:10:18.153Z] STF 13:10:17.838 - [2025-05-16T13:10:18.153Z] STF 13:10:17.838 - ==================== E X E C U T E - ==================== [2025-05-16T13:10:18.153Z] STF 13:10:17.838 - Running execute: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/\TKG\output_17473985406281\PatModImg_AppMod_1/20250516-131015-PatModImgTest/execute.pl [2025-05-16T13:10:18.454Z] STF 13:10:18.207 - [2025-05-16T13:10:18.454Z] STF 13:10:18.207 - Java version [2025-05-16T13:10:18.454Z] STF 13:10:18.208 - Running: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/jdkbinary/j2sdk-image/bin/java -version [2025-05-16T13:10:18.454Z] Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-05-16T13:10:18.454Z] openjdk version "21.0.8-beta" 2025-07-15 [2025-05-16T13:10:18.454Z] OpenJDK Runtime Environment Temurin-21.0.8+3-202505160832 (build 21.0.8-beta+3-ea) [2025-05-16T13:10:18.454Z] OpenJDK 64-Bit Server VM Temurin-21.0.8+3-202505160832 (build 21.0.8-beta+3-ea, mixed mode) [2025-05-16T13:10:18.454Z] STF 13:10:18.332 - [2025-05-16T13:10:18.454Z] STF 13:10:18.332 - +------ Step 1 - Create com.hello jar [2025-05-16T13:10:18.454Z] STF 13:10:18.332 - | Create modular jar [2025-05-16T13:10:18.454Z] STF 13:10:18.332 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2025-05-16T13:10:18.454Z] STF 13:10:18.332 - | ModuleVersion: null [2025-05-16T13:10:18.454Z] STF 13:10:18.332 - | MainClass: null [2025-05-16T13:10:18.454Z] STF 13:10:18.332 - | HashModules: null [2025-05-16T13:10:18.454Z] STF 13:10:18.332 - | [2025-05-16T13:10:18.454Z] STF 13:10:18.333 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17473985406281/PatModImg_AppMod_1/20250516-131015-PatModImgTest/modules/1.com.hello.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello . [2025-05-16T13:10:18.454Z] STF 13:10:18.333 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17473985406281/PatModImg_AppMod_1/20250516-131015-PatModImgTest/results/1.CMJ.stderr [2025-05-16T13:10:18.454Z] STF 13:10:18.333 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17473985406281/PatModImg_AppMod_1/20250516-131015-PatModImgTest/results/1.CMJ.stdout [2025-05-16T13:10:18.454Z] STF 13:10:18.401 - Monitoring processes: CMJ [2025-05-16T13:10:18.454Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-05-16T13:10:19.105Z] STF 13:10:18.806 - Monitoring Report Summary: [2025-05-16T13:10:19.105Z] STF 13:10:18.806 - o Process CMJ ended with the expected exit code (0) [2025-05-16T13:10:19.105Z] STF 13:10:18.807 - Created modular jar: 1.com.hello.jar [2025-05-16T13:10:19.105Z] STF 13:10:18.807 - [2025-05-16T13:10:19.105Z] STF 13:10:18.807 - +------ Step 2 - Create com.hola jar [2025-05-16T13:10:19.105Z] STF 13:10:18.807 - | Create modular jar [2025-05-16T13:10:19.105Z] STF 13:10:18.807 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2025-05-16T13:10:19.105Z] STF 13:10:18.807 - | ModuleVersion: null [2025-05-16T13:10:19.105Z] STF 13:10:18.807 - | MainClass: null [2025-05-16T13:10:19.105Z] STF 13:10:18.807 - | HashModules: null [2025-05-16T13:10:19.105Z] STF 13:10:18.807 - | [2025-05-16T13:10:19.105Z] STF 13:10:18.808 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17473985406281/PatModImg_AppMod_1/20250516-131015-PatModImgTest/modules/2.com.hola.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola . [2025-05-16T13:10:19.105Z] STF 13:10:18.808 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17473985406281/PatModImg_AppMod_1/20250516-131015-PatModImgTest/results/2.CMJ.stderr [2025-05-16T13:10:19.105Z] STF 13:10:18.808 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17473985406281/PatModImg_AppMod_1/20250516-131015-PatModImgTest/results/2.CMJ.stdout [2025-05-16T13:10:19.105Z] STF 13:10:18.815 - Monitoring processes: CMJ [2025-05-16T13:10:19.105Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-05-16T13:10:19.406Z] STF 13:10:19.226 - Monitoring Report Summary: [2025-05-16T13:10:19.406Z] STF 13:10:19.226 - o Process CMJ ended with the expected exit code (0) [2025-05-16T13:10:19.406Z] STF 13:10:19.227 - Created modular jar: 2.com.hola.jar [2025-05-16T13:10:19.406Z] STF 13:10:19.227 - [2025-05-16T13:10:19.406Z] STF 13:10:19.227 - +------ Step 3 - Create com.helper jar [2025-05-16T13:10:19.406Z] STF 13:10:19.227 - | Create modular jar [2025-05-16T13:10:19.406Z] STF 13:10:19.227 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2025-05-16T13:10:19.406Z] STF 13:10:19.227 - | ModuleVersion: null [2025-05-16T13:10:19.406Z] STF 13:10:19.227 - | MainClass: null [2025-05-16T13:10:19.406Z] STF 13:10:19.227 - | HashModules: null [2025-05-16T13:10:19.406Z] STF 13:10:19.227 - | [2025-05-16T13:10:19.407Z] STF 13:10:19.228 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17473985406281/PatModImg_AppMod_1/20250516-131015-PatModImgTest/modules/3.com.helper.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper . [2025-05-16T13:10:19.407Z] STF 13:10:19.228 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17473985406281/PatModImg_AppMod_1/20250516-131015-PatModImgTest/results/3.CMJ.stderr [2025-05-16T13:10:19.407Z] STF 13:10:19.228 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17473985406281/PatModImg_AppMod_1/20250516-131015-PatModImgTest/results/3.CMJ.stdout [2025-05-16T13:10:19.407Z] STF 13:10:19.236 - Monitoring processes: CMJ [2025-05-16T13:10:19.407Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-05-16T13:10:19.707Z] STF 13:10:19.648 - Monitoring Report Summary: [2025-05-16T13:10:19.707Z] STF 13:10:19.648 - o Process CMJ ended with the expected exit code (0) [2025-05-16T13:10:19.707Z] STF 13:10:19.649 - Created modular jar: 3.com.helper.jar [2025-05-16T13:10:19.707Z] STF 13:10:19.649 - [2025-05-16T13:10:19.707Z] STF 13:10:19.649 - +------ Step 4 - Create com.discreet jar [2025-05-16T13:10:19.707Z] STF 13:10:19.649 - | Create modular jar [2025-05-16T13:10:19.707Z] STF 13:10:19.649 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2025-05-16T13:10:19.707Z] STF 13:10:19.649 - | ModuleVersion: null [2025-05-16T13:10:19.707Z] STF 13:10:19.649 - | MainClass: null [2025-05-16T13:10:19.707Z] STF 13:10:19.649 - | HashModules: null [2025-05-16T13:10:19.707Z] STF 13:10:19.649 - | [2025-05-16T13:10:19.707Z] STF 13:10:19.650 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17473985406281/PatModImg_AppMod_1/20250516-131015-PatModImgTest/modules/4.com.discreet.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet . [2025-05-16T13:10:19.707Z] STF 13:10:19.650 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17473985406281/PatModImg_AppMod_1/20250516-131015-PatModImgTest/results/4.CMJ.stderr [2025-05-16T13:10:19.707Z] STF 13:10:19.650 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17473985406281/PatModImg_AppMod_1/20250516-131015-PatModImgTest/results/4.CMJ.stdout [2025-05-16T13:10:19.707Z] STF 13:10:19.657 - Monitoring processes: CMJ [2025-05-16T13:10:20.008Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-05-16T13:10:20.309Z] STF 13:10:20.069 - Monitoring Report Summary: [2025-05-16T13:10:20.309Z] STF 13:10:20.070 - o Process CMJ ended with the expected exit code (0) [2025-05-16T13:10:20.309Z] STF 13:10:20.070 - Created modular jar: 4.com.discreet.jar [2025-05-16T13:10:20.309Z] STF 13:10:20.070 - [2025-05-16T13:10:20.309Z] STF 13:10:20.070 - +------ Step 5 - Create tests jar [2025-05-16T13:10:20.309Z] STF 13:10:20.070 - | Create modular jar [2025-05-16T13:10:20.309Z] STF 13:10:20.071 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2025-05-16T13:10:20.309Z] STF 13:10:20.071 - | ModuleVersion: null [2025-05-16T13:10:20.309Z] STF 13:10:20.071 - | MainClass: null [2025-05-16T13:10:20.309Z] STF 13:10:20.071 - | HashModules: null [2025-05-16T13:10:20.309Z] STF 13:10:20.071 - | [2025-05-16T13:10:20.309Z] STF 13:10:20.071 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17473985406281/PatModImg_AppMod_1/20250516-131015-PatModImgTest/modules/5.com.test.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests\com.test . [2025-05-16T13:10:20.309Z] STF 13:10:20.071 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17473985406281/PatModImg_AppMod_1/20250516-131015-PatModImgTest/results/5.CMJ.stderr [2025-05-16T13:10:20.309Z] STF 13:10:20.071 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17473985406281/PatModImg_AppMod_1/20250516-131015-PatModImgTest/results/5.CMJ.stdout [2025-05-16T13:10:20.309Z] STF 13:10:20.078 - Monitoring processes: CMJ [2025-05-16T13:10:20.309Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-05-16T13:10:20.609Z] STF 13:10:20.489 - Monitoring Report Summary: [2025-05-16T13:10:20.609Z] STF 13:10:20.489 - o Process CMJ ended with the expected exit code (0) [2025-05-16T13:10:20.609Z] STF 13:10:20.490 - Created modular jar: 5.com.test.jar [2025-05-16T13:10:20.609Z] STF 13:10:20.490 - [2025-05-16T13:10:20.609Z] STF 13:10:20.490 - +------ Step 6 - Create runtime image for PatchModule test [2025-05-16T13:10:20.609Z] STF 13:10:20.490 - | Run jlink to create runtime image [2025-05-16T13:10:20.609Z] STF 13:10:20.490 - | ImageName: XpJVM [2025-05-16T13:10:20.609Z] STF 13:10:20.490 - | [2025-05-16T13:10:20.609Z] STF 13:10:20.491 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/jdkbinary/j2sdk-image/bin/jlink --module-path C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\jdkbinary\j2sdk-image\jmods;C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\aqa-tests\TKG\output_17473985406281\PatModImg_AppMod_1\20250516-131015-PatModImgTest\modules --add-modules com.hello,com.hola,com.test,com.helper,com.discreet --output C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\aqa-tests\TKG\output_17473985406281\PatModImg_AppMod_1\20250516-131015-PatModImgTest\tmp\6.XpJVM [2025-05-16T13:10:20.609Z] STF 13:10:20.491 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17473985406281/PatModImg_AppMod_1/20250516-131015-PatModImgTest/results/6.JLNK.stderr [2025-05-16T13:10:20.610Z] STF 13:10:20.491 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17473985406281/PatModImg_AppMod_1/20250516-131015-PatModImgTest/results/6.JLNK.stdout [2025-05-16T13:10:20.610Z] STF 13:10:20.498 - Monitoring processes: JLNK [2025-05-16T13:10:20.610Z] JLNK stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-05-16T13:10:23.402Z] STF 13:10:22.787 - Monitoring Report Summary: [2025-05-16T13:10:23.402Z] STF 13:10:22.788 - o Process JLNK ended with the expected exit code (0) [2025-05-16T13:10:23.402Z] STF 13:10:22.788 - [2025-05-16T13:10:23.402Z] STF 13:10:22.788 - +------ Step 7 - Create com.hello jar [2025-05-16T13:10:23.402Z] STF 13:10:22.788 - | Create modular jar [2025-05-16T13:10:23.402Z] STF 13:10:22.788 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2025-05-16T13:10:23.402Z] STF 13:10:22.789 - | ModuleVersion: null [2025-05-16T13:10:23.402Z] STF 13:10:22.789 - | MainClass: null [2025-05-16T13:10:23.402Z] STF 13:10:22.789 - | HashModules: null [2025-05-16T13:10:23.402Z] STF 13:10:22.789 - | [2025-05-16T13:10:23.402Z] STF 13:10:22.789 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17473985406281/PatModImg_AppMod_1/20250516-131015-PatModImgTest/modules/7.com.hello.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.hello . [2025-05-16T13:10:23.402Z] STF 13:10:22.789 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17473985406281/PatModImg_AppMod_1/20250516-131015-PatModImgTest/results/7.CMJ.stderr [2025-05-16T13:10:23.402Z] STF 13:10:22.789 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17473985406281/PatModImg_AppMod_1/20250516-131015-PatModImgTest/results/7.CMJ.stdout [2025-05-16T13:10:23.402Z] STF 13:10:22.797 - Monitoring processes: CMJ [2025-05-16T13:10:23.402Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-05-16T13:10:23.402Z] STF 13:10:23.194 - Monitoring Report Summary: [2025-05-16T13:10:23.402Z] STF 13:10:23.194 - o Process CMJ ended with the expected exit code (0) [2025-05-16T13:10:23.402Z] STF 13:10:23.195 - Created modular jar: 7.com.hello.jar [2025-05-16T13:10:23.402Z] STF 13:10:23.195 - [2025-05-16T13:10:23.402Z] STF 13:10:23.195 - +------ Step 8 - create java.xml.jar [2025-05-16T13:10:23.402Z] STF 13:10:23.195 - | Create modular jar [2025-05-16T13:10:23.402Z] STF 13:10:23.195 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml [2025-05-16T13:10:23.402Z] STF 13:10:23.195 - | ModuleVersion: null [2025-05-16T13:10:23.402Z] STF 13:10:23.195 - | MainClass: null [2025-05-16T13:10:23.402Z] STF 13:10:23.195 - | HashModules: null [2025-05-16T13:10:23.402Z] STF 13:10:23.195 - | [2025-05-16T13:10:23.402Z] STF 13:10:23.196 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17473985406281/PatModImg_AppMod_1/20250516-131015-PatModImgTest/modules/8.java.xml.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\java.xml . [2025-05-16T13:10:23.402Z] STF 13:10:23.196 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17473985406281/PatModImg_AppMod_1/20250516-131015-PatModImgTest/results/8.CMJ.stderr [2025-05-16T13:10:23.402Z] STF 13:10:23.196 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17473985406281/PatModImg_AppMod_1/20250516-131015-PatModImgTest/results/8.CMJ.stdout [2025-05-16T13:10:23.402Z] STF 13:10:23.203 - Monitoring processes: CMJ [2025-05-16T13:10:23.402Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-05-16T13:10:23.702Z] STF 13:10:23.614 - Monitoring Report Summary: [2025-05-16T13:10:23.702Z] STF 13:10:23.614 - o Process CMJ ended with the expected exit code (0) [2025-05-16T13:10:23.702Z] STF 13:10:23.615 - Created modular jar: 8.java.xml.jar [2025-05-16T13:10:23.702Z] STF 13:10:23.615 - [2025-05-16T13:10:23.702Z] STF 13:10:23.615 - +------ Step 9 - Verify if we can patch an Application module using exploded directory [2025-05-16T13:10:23.702Z] STF 13:10:23.615 - | Run foreground process [2025-05-16T13:10:23.703Z] STF 13:10:23.615 - | Program: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17473985406281/PatModImg_AppMod_1/20250516-131015-PatModImgTest/tmp/6.XpJVM/bin/java [2025-05-16T13:10:23.703Z] STF 13:10:23.615 - | Mnemonic: OT21 [2025-05-16T13:10:23.703Z] STF 13:10:23.615 - | Echo: ECHO_ON [2025-05-16T13:10:23.703Z] STF 13:10:23.615 - | Expectation: CLEAN_RUN within 5m [2025-05-16T13:10:23.703Z] STF 13:10:23.615 - | [2025-05-16T13:10:23.703Z] STF 13:10:23.616 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17473985406281/PatModImg_AppMod_1/20250516-131015-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module com.hello=C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\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-16T13:10:23.703Z] STF 13:10:23.616 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17473985406281/PatModImg_AppMod_1/20250516-131015-PatModImgTest/results/9.OT21.stderr [2025-05-16T13:10:23.703Z] STF 13:10:23.616 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17473985406281/PatModImg_AppMod_1/20250516-131015-PatModImgTest/results/9.OT21.stdout [2025-05-16T13:10:23.703Z] STF 13:10:23.647 - Monitoring processes: OT21 [2025-05-16T13:10:24.019Z] OT21 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-05-16T13:10:24.323Z] OT21 stderr WARNING: module-info.class ignored in patch: C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.hello [2025-05-16T13:10:24.323Z] OT21 JUnit version 4.12 [2025-05-16T13:10:24.323Z] OT21 . [2025-05-16T13:10:24.323Z] OT21 Time: 0.015 [2025-05-16T13:10:24.323Z] OT21 [2025-05-16T13:10:24.323Z] OT21 OK (1 test) [2025-05-16T13:10:24.323Z] OT21 [2025-05-16T13:10:24.323Z] STF 13:10:24.145 - Monitoring Report Summary: [2025-05-16T13:10:24.323Z] STF 13:10:24.145 - o Process OT21 ended with the expected exit code (0) [2025-05-16T13:10:24.323Z] STF 13:10:24.146 - [2025-05-16T13:10:24.323Z] STF 13:10:24.146 - +------ Step 10 - Verify if we can patch an Application module using modular jar [2025-05-16T13:10:24.323Z] STF 13:10:24.146 - | Run foreground process [2025-05-16T13:10:24.323Z] STF 13:10:24.146 - | Program: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17473985406281/PatModImg_AppMod_1/20250516-131015-PatModImgTest/tmp/6.XpJVM/bin/java [2025-05-16T13:10:24.323Z] STF 13:10:24.146 - | Mnemonic: OT22 [2025-05-16T13:10:24.323Z] STF 13:10:24.146 - | Echo: ECHO_ON [2025-05-16T13:10:24.323Z] STF 13:10:24.146 - | Expectation: CLEAN_RUN within 5m [2025-05-16T13:10:24.323Z] STF 13:10:24.146 - | [2025-05-16T13:10:24.323Z] STF 13:10:24.147 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17473985406281/PatModImg_AppMod_1/20250516-131015-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module com.hello=C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17473985406281/PatModImg_AppMod_1/20250516-131015-PatModImgTest/modules/7.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-16T13:10:24.323Z] STF 13:10:24.147 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17473985406281/PatModImg_AppMod_1/20250516-131015-PatModImgTest/results/10.OT22.stderr [2025-05-16T13:10:24.323Z] STF 13:10:24.147 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17473985406281/PatModImg_AppMod_1/20250516-131015-PatModImgTest/results/10.OT22.stdout [2025-05-16T13:10:24.324Z] STF 13:10:24.156 - Monitoring processes: OT22 [2025-05-16T13:10:24.324Z] OT22 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-05-16T13:10:24.625Z] OT22 stderr WARNING: module-info.class ignored in patch: C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\aqa-tests\TKG\output_17473985406281\PatModImg_AppMod_1\20250516-131015-PatModImgTest\modules\7.com.hello.jar [2025-05-16T13:10:24.625Z] OT22 JUnit version 4.12 [2025-05-16T13:10:24.625Z] OT22 . [2025-05-16T13:10:24.625Z] OT22 Time: 0.015 [2025-05-16T13:10:24.625Z] OT22 [2025-05-16T13:10:24.625Z] OT22 OK (1 test) [2025-05-16T13:10:24.625Z] OT22 [2025-05-16T13:10:24.625Z] STF 13:10:24.507 - Monitoring Report Summary: [2025-05-16T13:10:24.625Z] STF 13:10:24.507 - o Process OT22 ended with the expected exit code (0) [2025-05-16T13:10:24.625Z] STF 13:10:24.508 - EXECUTE stage completed [2025-05-16T13:10:24.625Z] STF 13:10:24.553 - [2025-05-16T13:10:24.625Z] STF 13:10:24.553 - ==================== T E A R D O W N ==================== [2025-05-16T13:10:24.626Z] STF 13:10:24.553 - Running teardown: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/\TKG\output_17473985406281\PatModImg_AppMod_1/20250516-131015-PatModImgTest/tearDown.pl [2025-05-16T13:10:25.275Z] STF 13:10:24.926 - TEARDOWN stage completed [2025-05-16T13:10:25.275Z] STF 13:10:24.956 - [2025-05-16T13:10:25.275Z] STF 13:10:24.956 - ===================== R E S U L T S ===================== [2025-05-16T13:10:25.275Z] STF 13:10:24.956 - Stage results: [2025-05-16T13:10:25.275Z] STF 13:10:24.956 - setUp: pass [2025-05-16T13:10:25.275Z] STF 13:10:24.956 - execute: pass [2025-05-16T13:10:25.275Z] STF 13:10:24.956 - teardown: pass [2025-05-16T13:10:25.275Z] STF 13:10:24.956 - [2025-05-16T13:10:25.275Z] STF 13:10:24.956 - Overall result: PASSED [2025-05-16T13:10:25.275Z] ----------------------------------- [2025-05-16T13:10:25.275Z] PatModImg_AppMod_1_PASSED [2025-05-16T13:10:25.275Z] ----------------------------------- [2025-05-16T13:10:25.275Z] [2025-05-16T13:10:25.275Z] TEST TEARDOWN: [2025-05-16T13:10:25.275Z] Nothing to be done for teardown. [2025-05-16T13:10:25.577Z] PatModImg_AppMod_1 Finish Time: Fri May 16 13:10:25 2025 Epoch Time (ms): 1747401025332