PatModImg_AppMod_1

[2025-11-20T05:01:53.341Z] Running test PatModImg_AppMod_1 ... [2025-11-20T05:01:53.653Z] =============================================== [2025-11-20T05:01:53.963Z] PatModImg_AppMod_1 Start Time: Thu Nov 20 05:01:53 2025 Epoch Time (ms): 1763614913782 [2025-11-20T05:01:54.271Z] variation: Mode650 [2025-11-20T05:01:54.271Z] JVM_OPTIONS: -XX:-UseCompressedOops [2025-11-20T05:01:54.679Z] { \ [2025-11-20T05:01:54.679Z] echo ""; echo "TEST SETUP:"; \ [2025-11-20T05:01:54.679Z] echo "Nothing to be done for setup."; \ [2025-11-20T05:01:54.679Z] mkdir -p "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/\\TKG\\output_17636124371605\\PatModImg_AppMod_1"; \ [2025-11-20T05:01:54.679Z] cd "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/\\TKG\\output_17636124371605\\PatModImg_AppMod_1"; \ [2025-11-20T05:01:54.679Z] echo ""; echo "TESTING:"; \ [2025-11-20T05:01:54.679Z] 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/../../externalDependency/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_17636124371605\\PatModImg_AppMod_1" -test=PatModImgTest -test-args="variant=AppMod"; \ [2025-11-20T05:01:54.679Z] 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_17636124371605\\PatModImg_AppMod_1"; else echo "-----------------------------------"; echo "PatModImg_AppMod_1""_FAILED"; echo "-----------------------------------"; fi; \ [2025-11-20T05:01:54.679Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-11-20T05:01:54.679Z] echo "Nothing to be done for teardown."; \ [2025-11-20T05:01:54.679Z] } 2>&1 | tee -a "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/\\TKG\\output_17636124371605\\TestTargetResult"; [2025-11-20T05:01:54.679Z] [2025-11-20T05:01:54.679Z] TEST SETUP: [2025-11-20T05:01:54.679Z] Nothing to be done for setup. [2025-11-20T05:01:54.679Z] [2025-11-20T05:01:54.679Z] TESTING: [2025-11-20T05:01:54.987Z] STF 05:01:54.888 - ========================= S T F ========================= [2025-11-20T05:01:54.987Z] systemtest-prereqs has been processed, and set to: C:/Users/jenkins/externalDependency/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_17636124371605\PatModImg_AppMod_1 [2025-11-20T05:01:55.298Z] There is 40559 Mb free [2025-11-20T05:01:55.298Z] STF 05:01:54.968 - ================== G E N E R A T I O N ================== [2025-11-20T05:01:55.298Z] STF 05:01:54.974 - Checking JVM: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/jdkbinary/j2sdk-image [2025-11-20T05:01:55.298Z] STF 05:01:54.974 - 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/../../externalDependency/system_lib\/asm/asm.jar;C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/../../externalDependency/system_lib\/asm/asm-commons.jar;C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/../../externalDependency/system_lib\/log4j/log4j-api.jar;C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/../../externalDependency/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_17636124371605\PatModImg_AppMod_1/20251120-050154-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_17636124371605\PatModImg_AppMod_1/20251120-050154-PatModImgTest" [2025-11-20T05:01:55.298Z] GEN stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-11-20T05:01:56.397Z] GEN 05:01:56.145 - 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-11-20T05:01:56.397Z] GEN 05:01:56.161 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModImgTest' [2025-11-20T05:01:56.397Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2025-11-20T05:01:56.397Z] 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-11-20T05:01:56.397Z] 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-11-20T05:01:56.397Z] 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-11-20T05:01:56.397Z] 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-11-20T05:01:56.397Z] 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-11-20T05:01:56.397Z] 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-11-20T05:01:56.397Z] 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-11-20T05:01:56.397Z] 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-11-20T05:01:56.397Z] 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-11-20T05:01:56.397Z] 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-11-20T05:01:56.397Z] 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-11-20T05:01:56.397Z] 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-11-20T05:01:56.397Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common [2025-11-20T05:01:56.397Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests [2025-11-20T05:01:56.397Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin [2025-11-20T05:01:56.397Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\\jvmtest\\system\\STF\\stf.core\\bin [2025-11-20T05:01:56.397Z] GEN C:/Users/jenkins/externalDependency/system_lib/log4j/log4j-api.jar [2025-11-20T05:01:56.397Z] GEN C:/Users/jenkins/externalDependency/system_lib/log4j/log4j-core.jar [2025-11-20T05:01:56.397Z] GEN C:/Users/jenkins/externalDependency/system_lib/junit/junit.jar [2025-11-20T05:01:56.706Z] GEN 05:01:56.393 - Using Mode NoOptions. Values = '' [2025-11-20T05:01:56.706Z] GEN 05:01:56.507 - [2025-11-20T05:01:56.706Z] GEN 05:01:56.507 - Test command summary: [2025-11-20T05:01:56.706Z] GEN 05:01:56.507 - Step Stage Command Description [2025-11-20T05:01:56.706Z] GEN 05:01:56.508 - -----+--------+-----------------+------------ [2025-11-20T05:01:56.706Z] GEN 05:01:56.508 - 1 execute jar Create com.hello jar [2025-11-20T05:01:56.706Z] GEN 05:01:56.508 - 2 execute jar Create com.hola jar [2025-11-20T05:01:56.706Z] GEN 05:01:56.508 - 3 execute jar Create com.helper jar [2025-11-20T05:01:56.706Z] GEN 05:01:56.508 - 4 execute jar Create com.discreet jar [2025-11-20T05:01:56.706Z] GEN 05:01:56.508 - 5 execute jar Create tests jar [2025-11-20T05:01:56.706Z] GEN 05:01:56.508 - 6 execute jlink Create runtime image for PatchModule test [2025-11-20T05:01:56.706Z] GEN 05:01:56.508 - 7 execute jar Create com.hello jar [2025-11-20T05:01:56.706Z] GEN 05:01:56.508 - 8 execute jar create java.xml.jar [2025-11-20T05:01:56.706Z] GEN 05:01:56.508 - 9 execute Run java Verify if we can patch an Application module using exploded directory [2025-11-20T05:01:56.706Z] GEN 05:01:56.508 - 10 execute Run java Verify if we can patch an Application module using modular jar [2025-11-20T05:01:56.706Z] STF 05:01:56.548 - [2025-11-20T05:01:56.706Z] STF 05:01:56.548 - Script generation completed [2025-11-20T05:01:56.706Z] STF 05:01:56.548 - [2025-11-20T05:01:56.706Z] STF 05:01:56.551 - [2025-11-20T05:01:56.706Z] STF 05:01:56.551 - ======================= S E T U P ======================= [2025-11-20T05:01:56.706Z] STF 05:01:56.551 - Running setup: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/\TKG\output_17636124371605\PatModImg_AppMod_1/20251120-050154-PatModImgTest/setUp.pl [2025-11-20T05:01:57.021Z] STF 05:01:56.939 - SETUP stage completed [2025-11-20T05:01:57.021Z] STF 05:01:56.979 - [2025-11-20T05:01:57.021Z] STF 05:01:56.979 - ==================== E X E C U T E - ==================== [2025-11-20T05:01:57.021Z] STF 05:01:56.979 - Running execute: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/\TKG\output_17636124371605\PatModImg_AppMod_1/20251120-050154-PatModImgTest/execute.pl [2025-11-20T05:01:57.693Z] STF 05:01:57.367 - [2025-11-20T05:01:57.693Z] STF 05:01:57.367 - Java version [2025-11-20T05:01:57.693Z] STF 05:01:57.367 - Running: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/jdkbinary/j2sdk-image/bin/java -version [2025-11-20T05:01:57.693Z] Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-11-20T05:01:57.693Z] openjdk version "21.0.10-beta" 2026-01-20 [2025-11-20T05:01:57.693Z] OpenJDK Runtime Environment Temurin-21.0.10+3-202511192007 (build 21.0.10-beta+3-ea) [2025-11-20T05:01:57.693Z] OpenJDK 64-Bit Server VM Temurin-21.0.10+3-202511192007 (build 21.0.10-beta+3-ea, mixed mode) [2025-11-20T05:01:57.693Z] STF 05:01:57.485 - [2025-11-20T05:01:57.693Z] STF 05:01:57.485 - +------ Step 1 - Create com.hello jar [2025-11-20T05:01:57.693Z] STF 05:01:57.485 - | Create modular jar [2025-11-20T05:01:57.693Z] STF 05:01:57.485 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2025-11-20T05:01:57.693Z] STF 05:01:57.485 - | ModuleVersion: null [2025-11-20T05:01:57.693Z] STF 05:01:57.485 - | MainClass: null [2025-11-20T05:01:57.693Z] STF 05:01:57.486 - | HashModules: null [2025-11-20T05:01:57.693Z] STF 05:01:57.486 - | [2025-11-20T05:01:57.693Z] STF 05:01:57.487 - 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_17636124371605/PatModImg_AppMod_1/20251120-050154-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-11-20T05:01:57.693Z] STF 05:01:57.487 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17636124371605/PatModImg_AppMod_1/20251120-050154-PatModImgTest/results/1.CMJ.stderr [2025-11-20T05:01:57.693Z] STF 05:01:57.487 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17636124371605/PatModImg_AppMod_1/20251120-050154-PatModImgTest/results/1.CMJ.stdout [2025-11-20T05:01:57.693Z] STF 05:01:57.556 - Monitoring processes: CMJ [2025-11-20T05:01:57.693Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-11-20T05:01:58.360Z] STF 05:01:57.977 - Monitoring Report Summary: [2025-11-20T05:01:58.360Z] STF 05:01:57.977 - o Process CMJ ended with the expected exit code (0) [2025-11-20T05:01:58.360Z] STF 05:01:57.978 - Created modular jar: 1.com.hello.jar [2025-11-20T05:01:58.360Z] STF 05:01:57.978 - [2025-11-20T05:01:58.360Z] STF 05:01:57.978 - +------ Step 2 - Create com.hola jar [2025-11-20T05:01:58.360Z] STF 05:01:57.978 - | Create modular jar [2025-11-20T05:01:58.360Z] STF 05:01:57.978 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2025-11-20T05:01:58.360Z] STF 05:01:57.978 - | ModuleVersion: null [2025-11-20T05:01:58.360Z] STF 05:01:57.979 - | MainClass: null [2025-11-20T05:01:58.360Z] STF 05:01:57.979 - | HashModules: null [2025-11-20T05:01:58.360Z] STF 05:01:57.979 - | [2025-11-20T05:01:58.360Z] STF 05:01:57.979 - 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_17636124371605/PatModImg_AppMod_1/20251120-050154-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-11-20T05:01:58.360Z] STF 05:01:57.979 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17636124371605/PatModImg_AppMod_1/20251120-050154-PatModImgTest/results/2.CMJ.stderr [2025-11-20T05:01:58.360Z] STF 05:01:57.979 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17636124371605/PatModImg_AppMod_1/20251120-050154-PatModImgTest/results/2.CMJ.stdout [2025-11-20T05:01:58.360Z] STF 05:01:57.987 - Monitoring processes: CMJ [2025-11-20T05:01:58.360Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-11-20T05:01:58.668Z] STF 05:01:58.420 - Monitoring Report Summary: [2025-11-20T05:01:58.668Z] STF 05:01:58.420 - o Process CMJ ended with the expected exit code (0) [2025-11-20T05:01:58.668Z] STF 05:01:58.421 - Created modular jar: 2.com.hola.jar [2025-11-20T05:01:58.668Z] STF 05:01:58.421 - [2025-11-20T05:01:58.668Z] STF 05:01:58.421 - +------ Step 3 - Create com.helper jar [2025-11-20T05:01:58.668Z] STF 05:01:58.422 - | Create modular jar [2025-11-20T05:01:58.668Z] STF 05:01:58.422 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2025-11-20T05:01:58.668Z] STF 05:01:58.422 - | ModuleVersion: null [2025-11-20T05:01:58.668Z] STF 05:01:58.422 - | MainClass: null [2025-11-20T05:01:58.668Z] STF 05:01:58.422 - | HashModules: null [2025-11-20T05:01:58.668Z] STF 05:01:58.422 - | [2025-11-20T05:01:58.668Z] STF 05:01:58.422 - 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_17636124371605/PatModImg_AppMod_1/20251120-050154-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-11-20T05:01:58.668Z] STF 05:01:58.422 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17636124371605/PatModImg_AppMod_1/20251120-050154-PatModImgTest/results/3.CMJ.stderr [2025-11-20T05:01:58.668Z] STF 05:01:58.422 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17636124371605/PatModImg_AppMod_1/20251120-050154-PatModImgTest/results/3.CMJ.stdout [2025-11-20T05:01:58.668Z] STF 05:01:58.429 - Monitoring processes: CMJ [2025-11-20T05:01:58.668Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-11-20T05:01:58.979Z] STF 05:01:58.847 - Monitoring Report Summary: [2025-11-20T05:01:58.979Z] STF 05:01:58.847 - o Process CMJ ended with the expected exit code (0) [2025-11-20T05:01:58.979Z] STF 05:01:58.848 - Created modular jar: 3.com.helper.jar [2025-11-20T05:01:58.979Z] STF 05:01:58.848 - [2025-11-20T05:01:58.979Z] STF 05:01:58.848 - +------ Step 4 - Create com.discreet jar [2025-11-20T05:01:58.979Z] STF 05:01:58.848 - | Create modular jar [2025-11-20T05:01:58.979Z] STF 05:01:58.848 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2025-11-20T05:01:58.979Z] STF 05:01:58.848 - | ModuleVersion: null [2025-11-20T05:01:58.979Z] STF 05:01:58.848 - | MainClass: null [2025-11-20T05:01:58.979Z] STF 05:01:58.848 - | HashModules: null [2025-11-20T05:01:58.979Z] STF 05:01:58.848 - | [2025-11-20T05:01:58.979Z] STF 05:01:58.849 - 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_17636124371605/PatModImg_AppMod_1/20251120-050154-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-11-20T05:01:58.979Z] STF 05:01:58.849 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17636124371605/PatModImg_AppMod_1/20251120-050154-PatModImgTest/results/4.CMJ.stderr [2025-11-20T05:01:58.979Z] STF 05:01:58.849 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17636124371605/PatModImg_AppMod_1/20251120-050154-PatModImgTest/results/4.CMJ.stdout [2025-11-20T05:01:58.979Z] STF 05:01:58.856 - Monitoring processes: CMJ [2025-11-20T05:01:58.979Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-11-20T05:01:59.647Z] STF 05:01:59.258 - Monitoring Report Summary: [2025-11-20T05:01:59.647Z] STF 05:01:59.258 - o Process CMJ ended with the expected exit code (0) [2025-11-20T05:01:59.647Z] STF 05:01:59.259 - Created modular jar: 4.com.discreet.jar [2025-11-20T05:01:59.647Z] STF 05:01:59.259 - [2025-11-20T05:01:59.647Z] STF 05:01:59.259 - +------ Step 5 - Create tests jar [2025-11-20T05:01:59.647Z] STF 05:01:59.259 - | Create modular jar [2025-11-20T05:01:59.647Z] STF 05:01:59.259 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2025-11-20T05:01:59.647Z] STF 05:01:59.259 - | ModuleVersion: null [2025-11-20T05:01:59.647Z] STF 05:01:59.259 - | MainClass: null [2025-11-20T05:01:59.647Z] STF 05:01:59.259 - | HashModules: null [2025-11-20T05:01:59.647Z] STF 05:01:59.259 - | [2025-11-20T05:01:59.647Z] STF 05:01:59.260 - 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_17636124371605/PatModImg_AppMod_1/20251120-050154-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-11-20T05:01:59.647Z] STF 05:01:59.260 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17636124371605/PatModImg_AppMod_1/20251120-050154-PatModImgTest/results/5.CMJ.stderr [2025-11-20T05:01:59.647Z] STF 05:01:59.260 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17636124371605/PatModImg_AppMod_1/20251120-050154-PatModImgTest/results/5.CMJ.stdout [2025-11-20T05:01:59.647Z] STF 05:01:59.267 - Monitoring processes: CMJ [2025-11-20T05:01:59.647Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-11-20T05:01:59.973Z] STF 05:01:59.689 - Monitoring Report Summary: [2025-11-20T05:01:59.973Z] STF 05:01:59.689 - o Process CMJ ended with the expected exit code (0) [2025-11-20T05:01:59.973Z] STF 05:01:59.690 - Created modular jar: 5.com.test.jar [2025-11-20T05:01:59.973Z] STF 05:01:59.690 - [2025-11-20T05:01:59.973Z] STF 05:01:59.690 - +------ Step 6 - Create runtime image for PatchModule test [2025-11-20T05:01:59.973Z] STF 05:01:59.690 - | Run jlink to create runtime image [2025-11-20T05:01:59.973Z] STF 05:01:59.690 - | ImageName: XpJVM [2025-11-20T05:01:59.973Z] STF 05:01:59.690 - | [2025-11-20T05:01:59.973Z] STF 05:01:59.690 - 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_17636124371605\PatModImg_AppMod_1\20251120-050154-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_17636124371605\PatModImg_AppMod_1\20251120-050154-PatModImgTest\tmp\6.XpJVM [2025-11-20T05:01:59.973Z] STF 05:01:59.690 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17636124371605/PatModImg_AppMod_1/20251120-050154-PatModImgTest/results/6.JLNK.stderr [2025-11-20T05:01:59.973Z] STF 05:01:59.691 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17636124371605/PatModImg_AppMod_1/20251120-050154-PatModImgTest/results/6.JLNK.stdout [2025-11-20T05:01:59.973Z] STF 05:01:59.698 - Monitoring processes: JLNK [2025-11-20T05:01:59.973Z] JLNK stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-11-20T05:02:02.921Z] STF 05:02:02.136 - Monitoring Report Summary: [2025-11-20T05:02:02.921Z] STF 05:02:02.136 - o Process JLNK ended with the expected exit code (0) [2025-11-20T05:02:02.921Z] STF 05:02:02.137 - [2025-11-20T05:02:02.921Z] STF 05:02:02.137 - +------ Step 7 - Create com.hello jar [2025-11-20T05:02:02.921Z] STF 05:02:02.137 - | Create modular jar [2025-11-20T05:02:02.921Z] STF 05:02:02.137 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2025-11-20T05:02:02.921Z] STF 05:02:02.138 - | ModuleVersion: null [2025-11-20T05:02:02.921Z] STF 05:02:02.138 - | MainClass: null [2025-11-20T05:02:02.921Z] STF 05:02:02.138 - | HashModules: null [2025-11-20T05:02:02.921Z] STF 05:02:02.138 - | [2025-11-20T05:02:02.921Z] STF 05:02:02.138 - 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_17636124371605/PatModImg_AppMod_1/20251120-050154-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-11-20T05:02:02.921Z] STF 05:02:02.138 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17636124371605/PatModImg_AppMod_1/20251120-050154-PatModImgTest/results/7.CMJ.stderr [2025-11-20T05:02:02.921Z] STF 05:02:02.138 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17636124371605/PatModImg_AppMod_1/20251120-050154-PatModImgTest/results/7.CMJ.stdout [2025-11-20T05:02:02.921Z] STF 05:02:02.145 - Monitoring processes: CMJ [2025-11-20T05:02:02.921Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-11-20T05:02:02.921Z] STF 05:02:02.536 - Monitoring Report Summary: [2025-11-20T05:02:02.921Z] STF 05:02:02.536 - o Process CMJ ended with the expected exit code (0) [2025-11-20T05:02:02.921Z] STF 05:02:02.537 - Created modular jar: 7.com.hello.jar [2025-11-20T05:02:02.921Z] STF 05:02:02.537 - [2025-11-20T05:02:02.921Z] STF 05:02:02.537 - +------ Step 8 - create java.xml.jar [2025-11-20T05:02:02.921Z] STF 05:02:02.537 - | Create modular jar [2025-11-20T05:02:02.921Z] STF 05:02:02.537 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml [2025-11-20T05:02:02.921Z] STF 05:02:02.537 - | ModuleVersion: null [2025-11-20T05:02:02.921Z] STF 05:02:02.537 - | MainClass: null [2025-11-20T05:02:02.921Z] STF 05:02:02.537 - | HashModules: null [2025-11-20T05:02:02.921Z] STF 05:02:02.537 - | [2025-11-20T05:02:02.921Z] STF 05:02:02.538 - 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_17636124371605/PatModImg_AppMod_1/20251120-050154-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-11-20T05:02:02.921Z] STF 05:02:02.538 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17636124371605/PatModImg_AppMod_1/20251120-050154-PatModImgTest/results/8.CMJ.stderr [2025-11-20T05:02:02.921Z] STF 05:02:02.538 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17636124371605/PatModImg_AppMod_1/20251120-050154-PatModImgTest/results/8.CMJ.stdout [2025-11-20T05:02:02.921Z] STF 05:02:02.545 - Monitoring processes: CMJ [2025-11-20T05:02:02.921Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-11-20T05:02:03.230Z] STF 05:02:02.981 - Monitoring Report Summary: [2025-11-20T05:02:03.230Z] STF 05:02:02.981 - o Process CMJ ended with the expected exit code (0) [2025-11-20T05:02:03.230Z] STF 05:02:02.982 - Created modular jar: 8.java.xml.jar [2025-11-20T05:02:03.230Z] STF 05:02:02.982 - [2025-11-20T05:02:03.230Z] STF 05:02:02.982 - +------ Step 9 - Verify if we can patch an Application module using exploded directory [2025-11-20T05:02:03.230Z] STF 05:02:02.982 - | Run foreground process [2025-11-20T05:02:03.230Z] STF 05:02:02.982 - | Program: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17636124371605/PatModImg_AppMod_1/20251120-050154-PatModImgTest/tmp/6.XpJVM/bin/java [2025-11-20T05:02:03.230Z] STF 05:02:02.982 - | Mnemonic: OT21 [2025-11-20T05:02:03.230Z] STF 05:02:02.982 - | Echo: ECHO_ON [2025-11-20T05:02:03.230Z] STF 05:02:02.982 - | Expectation: CLEAN_RUN within 5m [2025-11-20T05:02:03.230Z] STF 05:02:02.982 - | [2025-11-20T05:02:03.230Z] STF 05:02:02.983 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17636124371605/PatModImg_AppMod_1/20251120-050154-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/externalDependency/system_lib/junit/junit.jar;C:/Users/jenkins/externalDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingAppModule [2025-11-20T05:02:03.230Z] STF 05:02:02.983 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17636124371605/PatModImg_AppMod_1/20251120-050154-PatModImgTest/results/9.OT21.stderr [2025-11-20T05:02:03.230Z] STF 05:02:02.983 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17636124371605/PatModImg_AppMod_1/20251120-050154-PatModImgTest/results/9.OT21.stdout [2025-11-20T05:02:03.230Z] STF 05:02:03.006 - Monitoring processes: OT21 [2025-11-20T05:02:03.230Z] OT21 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-11-20T05:02:03.541Z] 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-11-20T05:02:03.541Z] OT21 JUnit version 4.12 [2025-11-20T05:02:03.541Z] OT21 . [2025-11-20T05:02:03.541Z] OT21 Time: 0.013 [2025-11-20T05:02:03.541Z] OT21 [2025-11-20T05:02:03.541Z] OT21 OK (1 test) [2025-11-20T05:02:03.541Z] OT21 [2025-11-20T05:02:03.541Z] STF 05:02:03.389 - Monitoring Report Summary: [2025-11-20T05:02:03.541Z] STF 05:02:03.389 - o Process OT21 ended with the expected exit code (0) [2025-11-20T05:02:03.541Z] STF 05:02:03.390 - [2025-11-20T05:02:03.541Z] STF 05:02:03.390 - +------ Step 10 - Verify if we can patch an Application module using modular jar [2025-11-20T05:02:03.541Z] STF 05:02:03.390 - | Run foreground process [2025-11-20T05:02:03.541Z] STF 05:02:03.390 - | Program: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17636124371605/PatModImg_AppMod_1/20251120-050154-PatModImgTest/tmp/6.XpJVM/bin/java [2025-11-20T05:02:03.541Z] STF 05:02:03.390 - | Mnemonic: OT22 [2025-11-20T05:02:03.541Z] STF 05:02:03.390 - | Echo: ECHO_ON [2025-11-20T05:02:03.541Z] STF 05:02:03.390 - | Expectation: CLEAN_RUN within 5m [2025-11-20T05:02:03.541Z] STF 05:02:03.390 - | [2025-11-20T05:02:03.541Z] STF 05:02:03.391 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17636124371605/PatModImg_AppMod_1/20251120-050154-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_17636124371605/PatModImg_AppMod_1/20251120-050154-PatModImgTest/modules/7.com.hello.jar -XX:-UseCompressedOops -classpath C:/Users/jenkins/externalDependency/system_lib/junit/junit.jar;C:/Users/jenkins/externalDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingAppModule [2025-11-20T05:02:03.541Z] STF 05:02:03.391 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17636124371605/PatModImg_AppMod_1/20251120-050154-PatModImgTest/results/10.OT22.stderr [2025-11-20T05:02:03.541Z] STF 05:02:03.391 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17636124371605/PatModImg_AppMod_1/20251120-050154-PatModImgTest/results/10.OT22.stdout [2025-11-20T05:02:03.541Z] STF 05:02:03.399 - Monitoring processes: OT22 [2025-11-20T05:02:03.850Z] OT22 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-11-20T05:02:03.850Z] 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_17636124371605\PatModImg_AppMod_1\20251120-050154-PatModImgTest\modules\7.com.hello.jar [2025-11-20T05:02:03.850Z] OT22 JUnit version 4.12 [2025-11-20T05:02:03.850Z] OT22 . [2025-11-20T05:02:03.850Z] OT22 Time: 0.008 [2025-11-20T05:02:03.850Z] OT22 [2025-11-20T05:02:03.850Z] OT22 OK (1 test) [2025-11-20T05:02:03.850Z] OT22 [2025-11-20T05:02:03.850Z] STF 05:02:03.729 - Monitoring Report Summary: [2025-11-20T05:02:03.850Z] STF 05:02:03.729 - o Process OT22 ended with the expected exit code (0) [2025-11-20T05:02:03.850Z] STF 05:02:03.730 - EXECUTE stage completed [2025-11-20T05:02:03.850Z] STF 05:02:03.807 - [2025-11-20T05:02:03.850Z] STF 05:02:03.807 - ==================== T E A R D O W N ==================== [2025-11-20T05:02:03.850Z] STF 05:02:03.808 - Running teardown: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/\TKG\output_17636124371605\PatModImg_AppMod_1/20251120-050154-PatModImgTest/tearDown.pl [2025-11-20T05:02:04.517Z] STF 05:02:04.187 - TEARDOWN stage completed [2025-11-20T05:02:04.517Z] STF 05:02:04.224 - [2025-11-20T05:02:04.517Z] STF 05:02:04.224 - ===================== R E S U L T S ===================== [2025-11-20T05:02:04.517Z] STF 05:02:04.224 - Stage results: [2025-11-20T05:02:04.517Z] STF 05:02:04.224 - setUp: pass [2025-11-20T05:02:04.517Z] STF 05:02:04.224 - execute: pass [2025-11-20T05:02:04.517Z] STF 05:02:04.224 - teardown: pass [2025-11-20T05:02:04.517Z] STF 05:02:04.224 - [2025-11-20T05:02:04.517Z] STF 05:02:04.224 - Overall result: PASSED [2025-11-20T05:02:04.517Z] ----------------------------------- [2025-11-20T05:02:04.517Z] PatModImg_AppMod_1_PASSED [2025-11-20T05:02:04.517Z] ----------------------------------- [2025-11-20T05:02:04.517Z] [2025-11-20T05:02:04.517Z] TEST TEARDOWN: [2025-11-20T05:02:04.517Z] Nothing to be done for teardown. [2025-11-20T05:02:04.825Z] PatModImg_AppMod_1 Finish Time: Thu Nov 20 05:02:04 2025 Epoch Time (ms): 1763614924628