PatModImg_AppMod_1

[2025-07-31T05:43:22.143Z] Running test PatModImg_AppMod_1 ... [2025-07-31T05:43:22.143Z] =============================================== [2025-07-31T05:43:22.470Z] PatModImg_AppMod_1 Start Time: Thu Jul 31 05:43:22 2025 Epoch Time (ms): 1753940602190 [2025-07-31T05:43:22.470Z] variation: Mode650 [2025-07-31T05:43:22.844Z] JVM_OPTIONS: -XX:-UseCompressedOops [2025-07-31T05:43:22.844Z] { \ [2025-07-31T05:43:22.844Z] echo ""; echo "TEST SETUP:"; \ [2025-07-31T05:43:22.844Z] echo "Nothing to be done for setup."; \ [2025-07-31T05:43:22.844Z] mkdir -p "C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17539386883752\\PatModImg_AppMod_1"; \ [2025-07-31T05:43:22.844Z] cd "C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17539386883752\\PatModImg_AppMod_1"; \ [2025-07-31T05:43:22.844Z] echo ""; echo "TESTING:"; \ [2025-07-31T05:43:22.844Z] perl C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests///..//jvmtest\\system\\modularity/../\\STF\\stf.core\\scripts\\stf.pl -test-root="C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests///..//jvmtest\\system\\modularity/../\\STF;C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests///..//jvmtest\\system\\modularity/../\\aqa-systemtest""" -systemtest-prereqs="c:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/../../testDependency/system_lib\\" -java-args=' -XX:-UseCompressedOops ' -results-root="C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17539386883752\\PatModImg_AppMod_1" -test=PatModImgTest -test-args="variant=AppMod"; \ [2025-07-31T05:43:22.844Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatModImg_AppMod_1""_PASSED"; echo "-----------------------------------"; cd C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/; rm -f -r "C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17539386883752\\PatModImg_AppMod_1"; else echo "-----------------------------------"; echo "PatModImg_AppMod_1""_FAILED"; echo "-----------------------------------"; fi; \ [2025-07-31T05:43:22.844Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-07-31T05:43:22.844Z] echo "Nothing to be done for teardown."; \ [2025-07-31T05:43:22.844Z] } 2>&1 | tee -a "C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17539386883752\\TestTargetResult"; [2025-07-31T05:43:22.844Z] [2025-07-31T05:43:22.844Z] TEST SETUP: [2025-07-31T05:43:22.844Z] Nothing to be done for setup. [2025-07-31T05:43:22.844Z] [2025-07-31T05:43:22.844Z] TESTING: [2025-07-31T05:43:23.171Z] STF 05:43:22.858 - ========================= S T F ========================= [2025-07-31T05:43:23.171Z] systemtest-prereqs has been processed, and set to: c:/jenkins/testDependency/system_libRetrieving amount of free space on drive containing C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17539386883752\PatModImg_AppMod_1 [2025-07-31T05:43:23.171Z] There is 89631 Mb free [2025-07-31T05:43:23.171Z] STF 05:43:22.921 - ================== G E N E R A T I O N ================== [2025-07-31T05:43:23.171Z] STF 05:43:22.924 - Checking JVM: c:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image [2025-07-31T05:43:23.171Z] STF 05:43:22.925 - Starting process to generate scripts: c:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java -Dlog4j.skipJansi=true -Djava.system.class.loader=net.adoptopenjdk.stf.runner.StfClassLoader -Dload.agent.path=C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jvmtest/system/STF/stf.core/scripts/../../stf.load/bin/stf.load.jar -classpath c:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/../../testDependency/system_lib\/asm/asm.jar;c:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/../../testDependency/system_lib\/asm/asm-commons.jar;c:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/../../testDependency/system_lib\/log4j/log4j-api.jar;c:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/../../testDependency/system_lib\/log4j/log4j-core.jar;C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17539386883752\PatModImg_AppMod_1/20250731-054322-PatModImgTest/stf_parameters.properties, , C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17539386883752\PatModImg_AppMod_1/20250731-054322-PatModImgTest" [2025-07-31T05:43:23.171Z] GEN stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-07-31T05:43:23.171Z] GEN [0.016s][warning][cds] Archived non-system classes are disabled because the java.system.class.loader property is specified (value = "net.adoptopenjdk.stf.runner.StfClassLoader"). To use archived non-system classes, this property must not be set [2025-07-31T05:43:24.259Z] GEN 05:43:24.031 - Found test. Project: 'openjdk.test.modularity' class: 'PatModImgTest.class' Dir: 'C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin' [2025-07-31T05:43:24.259Z] GEN 05:43:24.043 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModImgTest' [2025-07-31T05:43:24.583Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2025-07-31T05:43:24.583Z] GEN C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayService [2025-07-31T05:43:24.583Z] GEN C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper [2025-07-31T05:43:24.583Z] GEN C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl1 [2025-07-31T05:43:24.583Z] GEN C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet [2025-07-31T05:43:24.583Z] GEN C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello [2025-07-31T05:43:24.583Z] GEN C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola [2025-07-31T05:43:24.583Z] GEN C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl2 [2025-07-31T05:43:24.583Z] GEN C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hi [2025-07-31T05:43:24.583Z] GEN C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override [2025-07-31T05:43:24.583Z] GEN C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override-new [2025-07-31T05:43:24.583Z] GEN C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl3 [2025-07-31T05:43:24.583Z] GEN C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl4 [2025-07-31T05:43:24.583Z] GEN C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common [2025-07-31T05:43:24.583Z] GEN C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests [2025-07-31T05:43:24.583Z] GEN C:\\jenkins\\workspace\\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin [2025-07-31T05:43:24.583Z] GEN C:\\jenkins\\workspace\\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\\jvmtest\\system\\STF\\stf.core\\bin [2025-07-31T05:43:24.583Z] GEN c:/jenkins/testDependency/system_lib/log4j/log4j-api.jar [2025-07-31T05:43:24.583Z] GEN c:/jenkins/testDependency/system_lib/log4j/log4j-core.jar [2025-07-31T05:43:24.583Z] GEN c:/jenkins/testDependency/system_lib/junit/junit.jar [2025-07-31T05:43:24.583Z] GEN 05:43:24.313 - Using Mode NoOptions. Values = '' [2025-07-31T05:43:24.583Z] GEN 05:43:24.415 - [2025-07-31T05:43:24.584Z] GEN 05:43:24.416 - Test command summary: [2025-07-31T05:43:24.584Z] GEN 05:43:24.416 - Step Stage Command Description [2025-07-31T05:43:24.584Z] GEN 05:43:24.416 - -----+--------+-----------------+------------ [2025-07-31T05:43:24.584Z] GEN 05:43:24.416 - 1 execute jar Create com.hello jar [2025-07-31T05:43:24.584Z] GEN 05:43:24.416 - 2 execute jar Create com.hola jar [2025-07-31T05:43:24.584Z] GEN 05:43:24.416 - 3 execute jar Create com.helper jar [2025-07-31T05:43:24.584Z] GEN 05:43:24.416 - 4 execute jar Create com.discreet jar [2025-07-31T05:43:24.584Z] GEN 05:43:24.416 - 5 execute jar Create tests jar [2025-07-31T05:43:24.584Z] GEN 05:43:24.417 - 6 execute jlink Create runtime image for PatchModule test [2025-07-31T05:43:24.584Z] GEN 05:43:24.417 - 7 execute jar Create com.hello jar [2025-07-31T05:43:24.584Z] GEN 05:43:24.417 - 8 execute jar create java.xml.jar [2025-07-31T05:43:24.584Z] GEN 05:43:24.417 - 9 execute Run java Verify if we can patch an Application module using exploded directory [2025-07-31T05:43:24.584Z] GEN 05:43:24.417 - 10 execute Run java Verify if we can patch an Application module using modular jar [2025-07-31T05:43:24.584Z] STF 05:43:24.463 - [2025-07-31T05:43:24.584Z] STF 05:43:24.463 - Script generation completed [2025-07-31T05:43:24.584Z] STF 05:43:24.463 - [2025-07-31T05:43:24.584Z] STF 05:43:24.465 - [2025-07-31T05:43:24.584Z] STF 05:43:24.465 - ======================= S E T U P ======================= [2025-07-31T05:43:24.584Z] STF 05:43:24.465 - Running setup: perl C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17539386883752\PatModImg_AppMod_1/20250731-054322-PatModImgTest/setUp.pl [2025-07-31T05:43:24.908Z] STF 05:43:24.645 - SETUP stage completed [2025-07-31T05:43:24.908Z] STF 05:43:24.660 - [2025-07-31T05:43:24.908Z] STF 05:43:24.660 - ==================== E X E C U T E - ==================== [2025-07-31T05:43:24.908Z] STF 05:43:24.660 - Running execute: perl C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17539386883752\PatModImg_AppMod_1/20250731-054322-PatModImgTest/execute.pl [2025-07-31T05:43:24.908Z] STF 05:43:24.853 - [2025-07-31T05:43:24.908Z] STF 05:43:24.853 - Java version [2025-07-31T05:43:24.908Z] STF 05:43:24.853 - Running: c:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java -version [2025-07-31T05:43:25.236Z] Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-07-31T05:43:25.236Z] openjdk version "21.0.9-beta" 2025-10-21 [2025-07-31T05:43:25.236Z] OpenJDK Runtime Environment Temurin-21.0.9+1-202507301903 (build 21.0.9-beta+1-ea) [2025-07-31T05:43:25.236Z] OpenJDK 64-Bit Server VM Temurin-21.0.9+1-202507301903 (build 21.0.9-beta+1-ea, mixed mode, sharing) [2025-07-31T05:43:25.236Z] STF 05:43:24.965 - [2025-07-31T05:43:25.236Z] STF 05:43:24.965 - +------ Step 1 - Create com.hello jar [2025-07-31T05:43:25.236Z] STF 05:43:24.965 - | Create modular jar [2025-07-31T05:43:25.236Z] STF 05:43:24.965 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2025-07-31T05:43:25.236Z] STF 05:43:24.965 - | ModuleVersion: null [2025-07-31T05:43:25.236Z] STF 05:43:24.965 - | MainClass: null [2025-07-31T05:43:25.236Z] STF 05:43:24.965 - | HashModules: null [2025-07-31T05:43:25.236Z] STF 05:43:24.966 - | [2025-07-31T05:43:25.236Z] STF 05:43:24.966 - Running command: c:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17539386883752/PatModImg_AppMod_1/20250731-054322-PatModImgTest/modules/1.com.hello.jar -C C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello . [2025-07-31T05:43:25.236Z] STF 05:43:24.966 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17539386883752/PatModImg_AppMod_1/20250731-054322-PatModImgTest/results/1.CMJ.stderr [2025-07-31T05:43:25.236Z] STF 05:43:24.966 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17539386883752/PatModImg_AppMod_1/20250731-054322-PatModImgTest/results/1.CMJ.stdout [2025-07-31T05:43:25.236Z] STF 05:43:24.998 - Monitoring processes: CMJ [2025-07-31T05:43:25.236Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-07-31T05:43:25.562Z] STF 05:43:25.351 - Monitoring Report Summary: [2025-07-31T05:43:25.563Z] STF 05:43:25.351 - o Process CMJ ended with the expected exit code (0) [2025-07-31T05:43:25.563Z] STF 05:43:25.351 - Created modular jar: 1.com.hello.jar [2025-07-31T05:43:25.563Z] STF 05:43:25.351 - [2025-07-31T05:43:25.563Z] STF 05:43:25.351 - +------ Step 2 - Create com.hola jar [2025-07-31T05:43:25.563Z] STF 05:43:25.351 - | Create modular jar [2025-07-31T05:43:25.563Z] STF 05:43:25.351 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2025-07-31T05:43:25.563Z] STF 05:43:25.351 - | ModuleVersion: null [2025-07-31T05:43:25.563Z] STF 05:43:25.351 - | MainClass: null [2025-07-31T05:43:25.563Z] STF 05:43:25.351 - | HashModules: null [2025-07-31T05:43:25.563Z] STF 05:43:25.351 - | [2025-07-31T05:43:25.563Z] STF 05:43:25.351 - Running command: c:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17539386883752/PatModImg_AppMod_1/20250731-054322-PatModImgTest/modules/2.com.hola.jar -C C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola . [2025-07-31T05:43:25.563Z] STF 05:43:25.351 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17539386883752/PatModImg_AppMod_1/20250731-054322-PatModImgTest/results/2.CMJ.stderr [2025-07-31T05:43:25.563Z] STF 05:43:25.351 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17539386883752/PatModImg_AppMod_1/20250731-054322-PatModImgTest/results/2.CMJ.stdout [2025-07-31T05:43:25.563Z] STF 05:43:25.358 - Monitoring processes: CMJ [2025-07-31T05:43:25.563Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-07-31T05:43:25.891Z] STF 05:43:25.729 - Monitoring Report Summary: [2025-07-31T05:43:25.891Z] STF 05:43:25.729 - o Process CMJ ended with the expected exit code (0) [2025-07-31T05:43:25.891Z] STF 05:43:25.729 - Created modular jar: 2.com.hola.jar [2025-07-31T05:43:25.891Z] STF 05:43:25.729 - [2025-07-31T05:43:25.891Z] STF 05:43:25.729 - +------ Step 3 - Create com.helper jar [2025-07-31T05:43:25.891Z] STF 05:43:25.729 - | Create modular jar [2025-07-31T05:43:25.891Z] STF 05:43:25.729 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2025-07-31T05:43:25.891Z] STF 05:43:25.729 - | ModuleVersion: null [2025-07-31T05:43:25.891Z] STF 05:43:25.729 - | MainClass: null [2025-07-31T05:43:25.891Z] STF 05:43:25.729 - | HashModules: null [2025-07-31T05:43:25.891Z] STF 05:43:25.729 - | [2025-07-31T05:43:25.891Z] STF 05:43:25.730 - Running command: c:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17539386883752/PatModImg_AppMod_1/20250731-054322-PatModImgTest/modules/3.com.helper.jar -C C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper . [2025-07-31T05:43:25.891Z] STF 05:43:25.730 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17539386883752/PatModImg_AppMod_1/20250731-054322-PatModImgTest/results/3.CMJ.stderr [2025-07-31T05:43:25.891Z] STF 05:43:25.730 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17539386883752/PatModImg_AppMod_1/20250731-054322-PatModImgTest/results/3.CMJ.stdout [2025-07-31T05:43:25.891Z] STF 05:43:25.736 - Monitoring processes: CMJ [2025-07-31T05:43:25.891Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-07-31T05:43:26.215Z] STF 05:43:26.116 - Monitoring Report Summary: [2025-07-31T05:43:26.215Z] STF 05:43:26.116 - o Process CMJ ended with the expected exit code (0) [2025-07-31T05:43:26.215Z] STF 05:43:26.116 - Created modular jar: 3.com.helper.jar [2025-07-31T05:43:26.215Z] STF 05:43:26.116 - [2025-07-31T05:43:26.215Z] STF 05:43:26.116 - +------ Step 4 - Create com.discreet jar [2025-07-31T05:43:26.215Z] STF 05:43:26.116 - | Create modular jar [2025-07-31T05:43:26.215Z] STF 05:43:26.116 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2025-07-31T05:43:26.215Z] STF 05:43:26.116 - | ModuleVersion: null [2025-07-31T05:43:26.215Z] STF 05:43:26.116 - | MainClass: null [2025-07-31T05:43:26.215Z] STF 05:43:26.116 - | HashModules: null [2025-07-31T05:43:26.215Z] STF 05:43:26.116 - | [2025-07-31T05:43:26.215Z] STF 05:43:26.116 - Running command: c:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17539386883752/PatModImg_AppMod_1/20250731-054322-PatModImgTest/modules/4.com.discreet.jar -C C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet . [2025-07-31T05:43:26.215Z] STF 05:43:26.116 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17539386883752/PatModImg_AppMod_1/20250731-054322-PatModImgTest/results/4.CMJ.stderr [2025-07-31T05:43:26.215Z] STF 05:43:26.116 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17539386883752/PatModImg_AppMod_1/20250731-054322-PatModImgTest/results/4.CMJ.stdout [2025-07-31T05:43:26.215Z] STF 05:43:26.122 - Monitoring processes: CMJ [2025-07-31T05:43:26.215Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-07-31T05:43:26.898Z] STF 05:43:26.473 - Monitoring Report Summary: [2025-07-31T05:43:26.898Z] STF 05:43:26.473 - o Process CMJ ended with the expected exit code (0) [2025-07-31T05:43:26.898Z] STF 05:43:26.473 - Created modular jar: 4.com.discreet.jar [2025-07-31T05:43:26.898Z] STF 05:43:26.473 - [2025-07-31T05:43:26.898Z] STF 05:43:26.473 - +------ Step 5 - Create tests jar [2025-07-31T05:43:26.898Z] STF 05:43:26.473 - | Create modular jar [2025-07-31T05:43:26.898Z] STF 05:43:26.473 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2025-07-31T05:43:26.898Z] STF 05:43:26.473 - | ModuleVersion: null [2025-07-31T05:43:26.898Z] STF 05:43:26.473 - | MainClass: null [2025-07-31T05:43:26.898Z] STF 05:43:26.473 - | HashModules: null [2025-07-31T05:43:26.898Z] STF 05:43:26.473 - | [2025-07-31T05:43:26.898Z] STF 05:43:26.474 - Running command: c:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17539386883752/PatModImg_AppMod_1/20250731-054322-PatModImgTest/modules/5.com.test.jar -C C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests\com.test . [2025-07-31T05:43:26.899Z] STF 05:43:26.474 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17539386883752/PatModImg_AppMod_1/20250731-054322-PatModImgTest/results/5.CMJ.stderr [2025-07-31T05:43:26.899Z] STF 05:43:26.474 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17539386883752/PatModImg_AppMod_1/20250731-054322-PatModImgTest/results/5.CMJ.stdout [2025-07-31T05:43:26.899Z] STF 05:43:26.480 - Monitoring processes: CMJ [2025-07-31T05:43:26.899Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-07-31T05:43:27.224Z] STF 05:43:26.868 - Monitoring Report Summary: [2025-07-31T05:43:27.224Z] STF 05:43:26.868 - o Process CMJ ended with the expected exit code (0) [2025-07-31T05:43:27.224Z] STF 05:43:26.868 - Created modular jar: 5.com.test.jar [2025-07-31T05:43:27.224Z] STF 05:43:26.868 - [2025-07-31T05:43:27.224Z] STF 05:43:26.868 - +------ Step 6 - Create runtime image for PatchModule test [2025-07-31T05:43:27.224Z] STF 05:43:26.868 - | Run jlink to create runtime image [2025-07-31T05:43:27.224Z] STF 05:43:26.868 - | ImageName: XpJVM [2025-07-31T05:43:27.224Z] STF 05:43:26.868 - | [2025-07-31T05:43:27.225Z] STF 05:43:26.869 - Running command: c:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jlink --module-path c:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jdkbinary\j2sdk-image\jmods;C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\aqa-tests\TKG\output_17539386883752\PatModImg_AppMod_1\20250731-054322-PatModImgTest\modules --add-modules com.hello,com.hola,com.test,com.helper,com.discreet --output C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\aqa-tests\TKG\output_17539386883752\PatModImg_AppMod_1\20250731-054322-PatModImgTest\tmp\6.XpJVM [2025-07-31T05:43:27.225Z] STF 05:43:26.869 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17539386883752/PatModImg_AppMod_1/20250731-054322-PatModImgTest/results/6.JLNK.stderr [2025-07-31T05:43:27.225Z] STF 05:43:26.869 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17539386883752/PatModImg_AppMod_1/20250731-054322-PatModImgTest/results/6.JLNK.stdout [2025-07-31T05:43:27.225Z] STF 05:43:26.876 - Monitoring processes: JLNK [2025-07-31T05:43:27.225Z] JLNK stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-07-31T05:43:30.082Z] STF 05:43:29.730 - Monitoring Report Summary: [2025-07-31T05:43:30.082Z] STF 05:43:29.730 - o Process JLNK ended with the expected exit code (0) [2025-07-31T05:43:30.082Z] STF 05:43:29.730 - [2025-07-31T05:43:30.082Z] STF 05:43:29.730 - +------ Step 7 - Create com.hello jar [2025-07-31T05:43:30.082Z] STF 05:43:29.730 - | Create modular jar [2025-07-31T05:43:30.082Z] STF 05:43:29.730 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2025-07-31T05:43:30.082Z] STF 05:43:29.730 - | ModuleVersion: null [2025-07-31T05:43:30.082Z] STF 05:43:29.730 - | MainClass: null [2025-07-31T05:43:30.082Z] STF 05:43:29.730 - | HashModules: null [2025-07-31T05:43:30.082Z] STF 05:43:29.730 - | [2025-07-31T05:43:30.082Z] STF 05:43:29.731 - Running command: c:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17539386883752/PatModImg_AppMod_1/20250731-054322-PatModImgTest/modules/7.com.hello.jar -C C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.hello . [2025-07-31T05:43:30.082Z] STF 05:43:29.731 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17539386883752/PatModImg_AppMod_1/20250731-054322-PatModImgTest/results/7.CMJ.stderr [2025-07-31T05:43:30.082Z] STF 05:43:29.731 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17539386883752/PatModImg_AppMod_1/20250731-054322-PatModImgTest/results/7.CMJ.stdout [2025-07-31T05:43:30.082Z] STF 05:43:29.738 - Monitoring processes: CMJ [2025-07-31T05:43:30.082Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-07-31T05:43:30.407Z] STF 05:43:30.347 - Monitoring Report Summary: [2025-07-31T05:43:30.407Z] STF 05:43:30.347 - o Process CMJ ended with the expected exit code (0) [2025-07-31T05:43:30.407Z] STF 05:43:30.348 - Created modular jar: 7.com.hello.jar [2025-07-31T05:43:30.407Z] STF 05:43:30.348 - [2025-07-31T05:43:30.407Z] STF 05:43:30.348 - +------ Step 8 - create java.xml.jar [2025-07-31T05:43:30.407Z] STF 05:43:30.348 - | Create modular jar [2025-07-31T05:43:30.407Z] STF 05:43:30.348 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml [2025-07-31T05:43:30.407Z] STF 05:43:30.348 - | ModuleVersion: null [2025-07-31T05:43:30.407Z] STF 05:43:30.348 - | MainClass: null [2025-07-31T05:43:30.407Z] STF 05:43:30.348 - | HashModules: null [2025-07-31T05:43:30.407Z] STF 05:43:30.348 - | [2025-07-31T05:43:30.407Z] STF 05:43:30.348 - Running command: c:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17539386883752/PatModImg_AppMod_1/20250731-054322-PatModImgTest/modules/8.java.xml.jar -C C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\java.xml . [2025-07-31T05:43:30.407Z] STF 05:43:30.348 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17539386883752/PatModImg_AppMod_1/20250731-054322-PatModImgTest/results/8.CMJ.stderr [2025-07-31T05:43:30.407Z] STF 05:43:30.348 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17539386883752/PatModImg_AppMod_1/20250731-054322-PatModImgTest/results/8.CMJ.stdout [2025-07-31T05:43:30.407Z] STF 05:43:30.355 - Monitoring processes: CMJ [2025-07-31T05:43:30.733Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-07-31T05:43:31.056Z] STF 05:43:30.745 - Monitoring Report Summary: [2025-07-31T05:43:31.056Z] STF 05:43:30.745 - o Process CMJ ended with the expected exit code (0) [2025-07-31T05:43:31.056Z] STF 05:43:30.745 - Created modular jar: 8.java.xml.jar [2025-07-31T05:43:31.056Z] STF 05:43:30.745 - [2025-07-31T05:43:31.056Z] STF 05:43:30.745 - +------ Step 9 - Verify if we can patch an Application module using exploded directory [2025-07-31T05:43:31.056Z] STF 05:43:30.745 - | Run foreground process [2025-07-31T05:43:31.056Z] STF 05:43:30.745 - | Program: C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17539386883752/PatModImg_AppMod_1/20250731-054322-PatModImgTest/tmp/6.XpJVM/bin/java [2025-07-31T05:43:31.056Z] STF 05:43:30.745 - | Mnemonic: OT21 [2025-07-31T05:43:31.056Z] STF 05:43:30.745 - | Echo: ECHO_ON [2025-07-31T05:43:31.056Z] STF 05:43:30.745 - | Expectation: CLEAN_RUN within 5m [2025-07-31T05:43:31.056Z] STF 05:43:30.745 - | [2025-07-31T05:43:31.056Z] STF 05:43:30.746 - Running command: C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17539386883752/PatModImg_AppMod_1/20250731-054322-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module com.hello=C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.hello -XX:-UseCompressedOops -classpath c:/jenkins/testDependency/system_lib/junit/junit.jar;c:/jenkins/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingAppModule [2025-07-31T05:43:31.056Z] STF 05:43:30.746 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17539386883752/PatModImg_AppMod_1/20250731-054322-PatModImgTest/results/9.OT21.stderr [2025-07-31T05:43:31.056Z] STF 05:43:30.746 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17539386883752/PatModImg_AppMod_1/20250731-054322-PatModImgTest/results/9.OT21.stdout [2025-07-31T05:43:31.056Z] STF 05:43:30.810 - Monitoring processes: OT21 [2025-07-31T05:43:31.056Z] OT21 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-07-31T05:43:31.379Z] OT21 stderr WARNING: module-info.class ignored in patch: C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.hello [2025-07-31T05:43:31.379Z] OT21 JUnit version 4.12 [2025-07-31T05:43:31.379Z] OT21 . [2025-07-31T05:43:31.379Z] OT21 Time: 0.013 [2025-07-31T05:43:31.379Z] OT21 [2025-07-31T05:43:31.379Z] OT21 OK (1 test) [2025-07-31T05:43:31.379Z] OT21 [2025-07-31T05:43:31.379Z] STF 05:43:31.191 - Monitoring Report Summary: [2025-07-31T05:43:31.379Z] STF 05:43:31.191 - o Process OT21 ended with the expected exit code (0) [2025-07-31T05:43:31.379Z] STF 05:43:31.192 - [2025-07-31T05:43:31.379Z] STF 05:43:31.192 - +------ Step 10 - Verify if we can patch an Application module using modular jar [2025-07-31T05:43:31.379Z] STF 05:43:31.192 - | Run foreground process [2025-07-31T05:43:31.379Z] STF 05:43:31.192 - | Program: C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17539386883752/PatModImg_AppMod_1/20250731-054322-PatModImgTest/tmp/6.XpJVM/bin/java [2025-07-31T05:43:31.379Z] STF 05:43:31.192 - | Mnemonic: OT22 [2025-07-31T05:43:31.379Z] STF 05:43:31.192 - | Echo: ECHO_ON [2025-07-31T05:43:31.379Z] STF 05:43:31.192 - | Expectation: CLEAN_RUN within 5m [2025-07-31T05:43:31.379Z] STF 05:43:31.192 - | [2025-07-31T05:43:31.379Z] STF 05:43:31.192 - Running command: C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17539386883752/PatModImg_AppMod_1/20250731-054322-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module com.hello=C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17539386883752/PatModImg_AppMod_1/20250731-054322-PatModImgTest/modules/7.com.hello.jar -XX:-UseCompressedOops -classpath c:/jenkins/testDependency/system_lib/junit/junit.jar;c:/jenkins/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingAppModule [2025-07-31T05:43:31.379Z] STF 05:43:31.192 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17539386883752/PatModImg_AppMod_1/20250731-054322-PatModImgTest/results/10.OT22.stderr [2025-07-31T05:43:31.379Z] STF 05:43:31.192 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17539386883752/PatModImg_AppMod_1/20250731-054322-PatModImgTest/results/10.OT22.stdout [2025-07-31T05:43:31.379Z] STF 05:43:31.198 - Monitoring processes: OT22 [2025-07-31T05:43:31.379Z] OT22 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-07-31T05:43:31.709Z] OT22 stderr WARNING: module-info.class ignored in patch: C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\aqa-tests\TKG\output_17539386883752\PatModImg_AppMod_1\20250731-054322-PatModImgTest\modules\7.com.hello.jar [2025-07-31T05:43:31.709Z] OT22 JUnit version 4.12 [2025-07-31T05:43:31.709Z] OT22 . [2025-07-31T05:43:31.709Z] OT22 Time: 0.008 [2025-07-31T05:43:31.709Z] OT22 [2025-07-31T05:43:31.709Z] OT22 OK (1 test) [2025-07-31T05:43:31.709Z] OT22 [2025-07-31T05:43:31.709Z] STF 05:43:31.568 - Monitoring Report Summary: [2025-07-31T05:43:31.709Z] STF 05:43:31.568 - o Process OT22 ended with the expected exit code (0) [2025-07-31T05:43:31.709Z] STF 05:43:31.568 - EXECUTE stage completed [2025-07-31T05:43:31.709Z] STF 05:43:31.616 - [2025-07-31T05:43:31.709Z] STF 05:43:31.616 - ==================== T E A R D O W N ==================== [2025-07-31T05:43:31.709Z] STF 05:43:31.616 - Running teardown: perl C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17539386883752\PatModImg_AppMod_1/20250731-054322-PatModImgTest/tearDown.pl [2025-07-31T05:43:32.016Z] STF 05:43:31.787 - TEARDOWN stage completed [2025-07-31T05:43:32.016Z] STF 05:43:31.805 - [2025-07-31T05:43:32.016Z] STF 05:43:31.805 - ===================== R E S U L T S ===================== [2025-07-31T05:43:32.016Z] STF 05:43:31.805 - Stage results: [2025-07-31T05:43:32.016Z] STF 05:43:31.805 - setUp: pass [2025-07-31T05:43:32.016Z] STF 05:43:31.805 - execute: pass [2025-07-31T05:43:32.016Z] STF 05:43:31.805 - teardown: pass [2025-07-31T05:43:32.016Z] STF 05:43:31.805 - [2025-07-31T05:43:32.016Z] STF 05:43:31.805 - Overall result: PASSED [2025-07-31T05:43:32.016Z] ----------------------------------- [2025-07-31T05:43:32.016Z] PatModImg_AppMod_1_PASSED [2025-07-31T05:43:32.016Z] ----------------------------------- [2025-07-31T05:43:32.016Z] [2025-07-31T05:43:32.016Z] TEST TEARDOWN: [2025-07-31T05:43:32.016Z] Nothing to be done for teardown. [2025-07-31T05:43:32.347Z] PatModImg_AppMod_1 Finish Time: Thu Jul 31 05:43:32 2025 Epoch Time (ms): 1753940612086