PatModImg_AppMod_1

[2025-02-27T00:15:19.739Z] Running test PatModImg_AppMod_1 ... [2025-02-27T00:15:20.049Z] =============================================== [2025-02-27T00:15:20.348Z] PatModImg_AppMod_1 Start Time: Thu Feb 27 00:15:20 2025 Epoch Time (ms): 1740615320193 [2025-02-27T00:15:20.646Z] variation: Mode650 [2025-02-27T00:15:20.646Z] JVM_OPTIONS: -XX:-UseCompressedOops [2025-02-27T00:15:20.646Z] { \ [2025-02-27T00:15:20.646Z] echo ""; echo "TEST SETUP:"; \ [2025-02-27T00:15:20.646Z] echo "Nothing to be done for setup."; \ [2025-02-27T00:15:20.646Z] mkdir -p "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/\\TKG\\output_17406147215237\\PatModImg_AppMod_1"; \ [2025-02-27T00:15:20.646Z] cd "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/\\TKG\\output_17406147215237\\PatModImg_AppMod_1"; \ [2025-02-27T00:15:20.646Z] echo ""; echo "TESTING:"; \ [2025-02-27T00:15:20.646Z] perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests///..//jvmtest\\system\\modularity/../\\STF\\stf.core\\scripts\\stf.pl -test-root="C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests///..//jvmtest\\system\\modularity/../\\STF;C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests///..//jvmtest\\system\\modularity/../\\aqa-systemtest""" -systemtest-prereqs="C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/../../testDependency/system_lib\\" -java-args=' -XX:-UseCompressedOops ' -results-root="C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/\\TKG\\output_17406147215237\\PatModImg_AppMod_1" -test=PatModImgTest -test-args="variant=AppMod"; \ [2025-02-27T00:15:20.646Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatModImg_AppMod_1""_PASSED"; echo "-----------------------------------"; cd C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/; rm -f -r "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/\\TKG\\output_17406147215237\\PatModImg_AppMod_1"; else echo "-----------------------------------"; echo "PatModImg_AppMod_1""_FAILED"; echo "-----------------------------------"; fi; \ [2025-02-27T00:15:20.646Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-02-27T00:15:20.646Z] echo "Nothing to be done for teardown."; \ [2025-02-27T00:15:20.646Z] } 2>&1 | tee -a "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/\\TKG\\output_17406147215237\\TestTargetResult"; [2025-02-27T00:15:20.944Z] [2025-02-27T00:15:20.944Z] TEST SETUP: [2025-02-27T00:15:20.944Z] Nothing to be done for setup. [2025-02-27T00:15:20.944Z] [2025-02-27T00:15:20.944Z] TESTING: [2025-02-27T00:15:21.588Z] STF 00:15:21.240 - ========================= S T F ========================= [2025-02-27T00:15:21.588Z] 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/aqa-tests/\TKG\output_17406147215237\PatModImg_AppMod_1 [2025-02-27T00:15:21.588Z] There is 14560 Mb free [2025-02-27T00:15:21.588Z] STF 00:15:21.319 - ================== G E N E R A T I O N ================== [2025-02-27T00:15:21.588Z] STF 00:15:21.324 - Checking JVM: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/jdkbinary/j2sdk-image [2025-02-27T00:15:21.588Z] STF 00:15:21.325 - Starting process to generate scripts: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/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/jvmtest/system/STF/stf.core/scripts/../../stf.load/bin/stf.load.jar -classpath C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/../../testDependency/system_lib\/asm/asm.jar;C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/../../testDependency/system_lib\/asm/asm-commons.jar;C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/../../testDependency/system_lib\/log4j/log4j-api.jar;C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/../../testDependency/system_lib\/log4j/log4j-core.jar;C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/\TKG\output_17406147215237\PatModImg_AppMod_1/20250227-001521-PatModImgTest/stf_parameters.properties, , C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/\TKG\output_17406147215237\PatModImg_AppMod_1/20250227-001521-PatModImgTest" [2025-02-27T00:15:21.588Z] GEN stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-27T00:15:22.636Z] GEN 00:15:22.506 - Found test. Project: 'openjdk.test.modularity' class: 'PatModImgTest.class' Dir: 'C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin' [2025-02-27T00:15:22.637Z] GEN 00:15:22.521 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModImgTest' [2025-02-27T00:15:22.932Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2025-02-27T00:15:22.932Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayService [2025-02-27T00:15:22.932Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper [2025-02-27T00:15:22.932Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl1 [2025-02-27T00:15:22.932Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet [2025-02-27T00:15:22.932Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello [2025-02-27T00:15:22.932Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola [2025-02-27T00:15:22.932Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl2 [2025-02-27T00:15:22.932Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hi [2025-02-27T00:15:22.932Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override [2025-02-27T00:15:22.932Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override-new [2025-02-27T00:15:22.932Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl3 [2025-02-27T00:15:22.932Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl4 [2025-02-27T00:15:22.932Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common [2025-02-27T00:15:22.932Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests [2025-02-27T00:15:22.932Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk21_hs_sanity.system_aarch64_windows\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin [2025-02-27T00:15:22.932Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk21_hs_sanity.system_aarch64_windows\\jvmtest\\system\\STF\\stf.core\\bin [2025-02-27T00:15:22.932Z] GEN C:/Users/jenkins/testDependency/system_lib/log4j/log4j-api.jar [2025-02-27T00:15:22.932Z] GEN C:/Users/jenkins/testDependency/system_lib/log4j/log4j-core.jar [2025-02-27T00:15:22.932Z] GEN C:/Users/jenkins/testDependency/system_lib/junit/junit.jar [2025-02-27T00:15:22.932Z] GEN 00:15:22.756 - Using Mode NoOptions. Values = '' [2025-02-27T00:15:22.932Z] GEN 00:15:22.881 - [2025-02-27T00:15:22.932Z] GEN 00:15:22.881 - Test command summary: [2025-02-27T00:15:22.932Z] GEN 00:15:22.881 - Step Stage Command Description [2025-02-27T00:15:22.932Z] GEN 00:15:22.881 - -----+--------+-----------------+------------ [2025-02-27T00:15:22.932Z] GEN 00:15:22.881 - 1 execute jar Create com.hello jar [2025-02-27T00:15:22.932Z] GEN 00:15:22.881 - 2 execute jar Create com.hola jar [2025-02-27T00:15:22.932Z] GEN 00:15:22.881 - 3 execute jar Create com.helper jar [2025-02-27T00:15:22.932Z] GEN 00:15:22.881 - 4 execute jar Create com.discreet jar [2025-02-27T00:15:22.932Z] GEN 00:15:22.881 - 5 execute jar Create tests jar [2025-02-27T00:15:22.932Z] GEN 00:15:22.881 - 6 execute jlink Create runtime image for PatchModule test [2025-02-27T00:15:22.932Z] GEN 00:15:22.881 - 7 execute jar Create com.hello jar [2025-02-27T00:15:22.932Z] GEN 00:15:22.881 - 8 execute jar create java.xml.jar [2025-02-27T00:15:22.932Z] GEN 00:15:22.881 - 9 execute Run java Verify if we can patch an Application module using exploded directory [2025-02-27T00:15:22.932Z] GEN 00:15:22.881 - 10 execute Run java Verify if we can patch an Application module using modular jar [2025-02-27T00:15:23.227Z] STF 00:15:22.933 - [2025-02-27T00:15:23.227Z] STF 00:15:22.933 - Script generation completed [2025-02-27T00:15:23.227Z] STF 00:15:22.933 - [2025-02-27T00:15:23.227Z] STF 00:15:22.935 - [2025-02-27T00:15:23.227Z] STF 00:15:22.935 - ======================= S E T U P ======================= [2025-02-27T00:15:23.227Z] STF 00:15:22.935 - Running setup: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/\TKG\output_17406147215237\PatModImg_AppMod_1/20250227-001521-PatModImgTest/setUp.pl [2025-02-27T00:15:23.523Z] STF 00:15:23.303 - SETUP stage completed [2025-02-27T00:15:23.523Z] STF 00:15:23.330 - [2025-02-27T00:15:23.523Z] STF 00:15:23.330 - ==================== E X E C U T E - ==================== [2025-02-27T00:15:23.523Z] STF 00:15:23.330 - Running execute: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/\TKG\output_17406147215237\PatModImg_AppMod_1/20250227-001521-PatModImgTest/execute.pl [2025-02-27T00:15:23.818Z] STF 00:15:23.693 - [2025-02-27T00:15:23.818Z] STF 00:15:23.693 - Java version [2025-02-27T00:15:23.818Z] STF 00:15:23.694 - Running: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/jdkbinary/j2sdk-image/bin/java -version [2025-02-27T00:15:23.818Z] Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-27T00:15:24.115Z] openjdk version "21.0.7-beta" 2025-04-15 [2025-02-27T00:15:24.115Z] OpenJDK Runtime Environment Temurin-21.0.7+4-202502262009 (build 21.0.7-beta+4-ea) [2025-02-27T00:15:24.115Z] OpenJDK 64-Bit Server VM Temurin-21.0.7+4-202502262009 (build 21.0.7-beta+4-ea, mixed mode) [2025-02-27T00:15:24.115Z] STF 00:15:23.812 - [2025-02-27T00:15:24.115Z] STF 00:15:23.813 - +------ Step 1 - Create com.hello jar [2025-02-27T00:15:24.115Z] STF 00:15:23.813 - | Create modular jar [2025-02-27T00:15:24.115Z] STF 00:15:23.813 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2025-02-27T00:15:24.115Z] STF 00:15:23.813 - | ModuleVersion: null [2025-02-27T00:15:24.115Z] STF 00:15:23.813 - | MainClass: null [2025-02-27T00:15:24.115Z] STF 00:15:23.813 - | HashModules: null [2025-02-27T00:15:24.115Z] STF 00:15:23.813 - | [2025-02-27T00:15:24.115Z] STF 00:15:23.814 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17406147215237/PatModImg_AppMod_1/20250227-001521-PatModImgTest/modules/1.com.hello.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello . [2025-02-27T00:15:24.115Z] STF 00:15:23.814 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17406147215237/PatModImg_AppMod_1/20250227-001521-PatModImgTest/results/1.CMJ.stderr [2025-02-27T00:15:24.115Z] STF 00:15:23.814 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17406147215237/PatModImg_AppMod_1/20250227-001521-PatModImgTest/results/1.CMJ.stdout [2025-02-27T00:15:24.115Z] STF 00:15:23.881 - Monitoring processes: CMJ [2025-02-27T00:15:24.115Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-27T00:15:24.410Z] STF 00:15:24.308 - Monitoring Report Summary: [2025-02-27T00:15:24.410Z] STF 00:15:24.308 - o Process CMJ ended with the expected exit code (0) [2025-02-27T00:15:24.410Z] STF 00:15:24.308 - Created modular jar: 1.com.hello.jar [2025-02-27T00:15:24.410Z] STF 00:15:24.309 - [2025-02-27T00:15:24.410Z] STF 00:15:24.309 - +------ Step 2 - Create com.hola jar [2025-02-27T00:15:24.410Z] STF 00:15:24.309 - | Create modular jar [2025-02-27T00:15:24.410Z] STF 00:15:24.309 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2025-02-27T00:15:24.410Z] STF 00:15:24.309 - | ModuleVersion: null [2025-02-27T00:15:24.410Z] STF 00:15:24.309 - | MainClass: null [2025-02-27T00:15:24.410Z] STF 00:15:24.309 - | HashModules: null [2025-02-27T00:15:24.410Z] STF 00:15:24.309 - | [2025-02-27T00:15:24.410Z] STF 00:15:24.309 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17406147215237/PatModImg_AppMod_1/20250227-001521-PatModImgTest/modules/2.com.hola.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola . [2025-02-27T00:15:24.410Z] STF 00:15:24.309 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17406147215237/PatModImg_AppMod_1/20250227-001521-PatModImgTest/results/2.CMJ.stderr [2025-02-27T00:15:24.410Z] STF 00:15:24.309 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17406147215237/PatModImg_AppMod_1/20250227-001521-PatModImgTest/results/2.CMJ.stdout [2025-02-27T00:15:24.410Z] STF 00:15:24.317 - Monitoring processes: CMJ [2025-02-27T00:15:24.410Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-27T00:15:25.052Z] STF 00:15:24.729 - Monitoring Report Summary: [2025-02-27T00:15:25.052Z] STF 00:15:24.729 - o Process CMJ ended with the expected exit code (0) [2025-02-27T00:15:25.052Z] STF 00:15:24.730 - Created modular jar: 2.com.hola.jar [2025-02-27T00:15:25.052Z] STF 00:15:24.730 - [2025-02-27T00:15:25.052Z] STF 00:15:24.730 - +------ Step 3 - Create com.helper jar [2025-02-27T00:15:25.052Z] STF 00:15:24.730 - | Create modular jar [2025-02-27T00:15:25.052Z] STF 00:15:24.730 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2025-02-27T00:15:25.052Z] STF 00:15:24.730 - | ModuleVersion: null [2025-02-27T00:15:25.052Z] STF 00:15:24.730 - | MainClass: null [2025-02-27T00:15:25.052Z] STF 00:15:24.730 - | HashModules: null [2025-02-27T00:15:25.052Z] STF 00:15:24.730 - | [2025-02-27T00:15:25.052Z] STF 00:15:24.731 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17406147215237/PatModImg_AppMod_1/20250227-001521-PatModImgTest/modules/3.com.helper.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper . [2025-02-27T00:15:25.052Z] STF 00:15:24.731 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17406147215237/PatModImg_AppMod_1/20250227-001521-PatModImgTest/results/3.CMJ.stderr [2025-02-27T00:15:25.052Z] STF 00:15:24.731 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17406147215237/PatModImg_AppMod_1/20250227-001521-PatModImgTest/results/3.CMJ.stdout [2025-02-27T00:15:25.052Z] STF 00:15:24.739 - Monitoring processes: CMJ [2025-02-27T00:15:25.052Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-27T00:15:25.348Z] STF 00:15:25.165 - Monitoring Report Summary: [2025-02-27T00:15:25.348Z] STF 00:15:25.165 - o Process CMJ ended with the expected exit code (0) [2025-02-27T00:15:25.348Z] STF 00:15:25.166 - Created modular jar: 3.com.helper.jar [2025-02-27T00:15:25.348Z] STF 00:15:25.166 - [2025-02-27T00:15:25.348Z] STF 00:15:25.166 - +------ Step 4 - Create com.discreet jar [2025-02-27T00:15:25.348Z] STF 00:15:25.166 - | Create modular jar [2025-02-27T00:15:25.348Z] STF 00:15:25.166 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2025-02-27T00:15:25.348Z] STF 00:15:25.166 - | ModuleVersion: null [2025-02-27T00:15:25.348Z] STF 00:15:25.166 - | MainClass: null [2025-02-27T00:15:25.348Z] STF 00:15:25.166 - | HashModules: null [2025-02-27T00:15:25.348Z] STF 00:15:25.166 - | [2025-02-27T00:15:25.348Z] STF 00:15:25.167 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17406147215237/PatModImg_AppMod_1/20250227-001521-PatModImgTest/modules/4.com.discreet.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet . [2025-02-27T00:15:25.348Z] STF 00:15:25.167 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17406147215237/PatModImg_AppMod_1/20250227-001521-PatModImgTest/results/4.CMJ.stderr [2025-02-27T00:15:25.348Z] STF 00:15:25.167 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17406147215237/PatModImg_AppMod_1/20250227-001521-PatModImgTest/results/4.CMJ.stdout [2025-02-27T00:15:25.348Z] STF 00:15:25.175 - Monitoring processes: CMJ [2025-02-27T00:15:25.348Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-27T00:15:25.644Z] STF 00:15:25.587 - Monitoring Report Summary: [2025-02-27T00:15:25.644Z] STF 00:15:25.587 - o Process CMJ ended with the expected exit code (0) [2025-02-27T00:15:25.644Z] STF 00:15:25.588 - Created modular jar: 4.com.discreet.jar [2025-02-27T00:15:25.644Z] STF 00:15:25.588 - [2025-02-27T00:15:25.644Z] STF 00:15:25.588 - +------ Step 5 - Create tests jar [2025-02-27T00:15:25.644Z] STF 00:15:25.588 - | Create modular jar [2025-02-27T00:15:25.644Z] STF 00:15:25.588 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2025-02-27T00:15:25.644Z] STF 00:15:25.588 - | ModuleVersion: null [2025-02-27T00:15:25.644Z] STF 00:15:25.588 - | MainClass: null [2025-02-27T00:15:25.644Z] STF 00:15:25.588 - | HashModules: null [2025-02-27T00:15:25.644Z] STF 00:15:25.588 - | [2025-02-27T00:15:25.644Z] STF 00:15:25.589 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17406147215237/PatModImg_AppMod_1/20250227-001521-PatModImgTest/modules/5.com.test.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests\com.test . [2025-02-27T00:15:25.644Z] STF 00:15:25.589 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17406147215237/PatModImg_AppMod_1/20250227-001521-PatModImgTest/results/5.CMJ.stderr [2025-02-27T00:15:25.644Z] STF 00:15:25.589 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17406147215237/PatModImg_AppMod_1/20250227-001521-PatModImgTest/results/5.CMJ.stdout [2025-02-27T00:15:25.644Z] STF 00:15:25.597 - Monitoring processes: CMJ [2025-02-27T00:15:25.940Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-27T00:15:26.236Z] STF 00:15:26.006 - Monitoring Report Summary: [2025-02-27T00:15:26.236Z] STF 00:15:26.007 - o Process CMJ ended with the expected exit code (0) [2025-02-27T00:15:26.236Z] STF 00:15:26.007 - Created modular jar: 5.com.test.jar [2025-02-27T00:15:26.236Z] STF 00:15:26.008 - [2025-02-27T00:15:26.236Z] STF 00:15:26.008 - +------ Step 6 - Create runtime image for PatchModule test [2025-02-27T00:15:26.236Z] STF 00:15:26.008 - | Run jlink to create runtime image [2025-02-27T00:15:26.236Z] STF 00:15:26.008 - | ImageName: XpJVM [2025-02-27T00:15:26.236Z] STF 00:15:26.008 - | [2025-02-27T00:15:26.236Z] STF 00:15:26.008 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/jdkbinary/j2sdk-image/bin/jlink --module-path C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\jdkbinary\j2sdk-image\jmods;C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\aqa-tests\TKG\output_17406147215237\PatModImg_AppMod_1\20250227-001521-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\aqa-tests\TKG\output_17406147215237\PatModImg_AppMod_1\20250227-001521-PatModImgTest\tmp\6.XpJVM [2025-02-27T00:15:26.236Z] STF 00:15:26.009 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17406147215237/PatModImg_AppMod_1/20250227-001521-PatModImgTest/results/6.JLNK.stderr [2025-02-27T00:15:26.236Z] STF 00:15:26.009 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17406147215237/PatModImg_AppMod_1/20250227-001521-PatModImgTest/results/6.JLNK.stdout [2025-02-27T00:15:26.236Z] STF 00:15:26.017 - Monitoring processes: JLNK [2025-02-27T00:15:26.236Z] JLNK stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-27T00:15:29.007Z] STF 00:15:28.274 - Monitoring Report Summary: [2025-02-27T00:15:29.007Z] STF 00:15:28.275 - o Process JLNK ended with the expected exit code (0) [2025-02-27T00:15:29.007Z] STF 00:15:28.275 - [2025-02-27T00:15:29.007Z] STF 00:15:28.275 - +------ Step 7 - Create com.hello jar [2025-02-27T00:15:29.007Z] STF 00:15:28.275 - | Create modular jar [2025-02-27T00:15:29.007Z] STF 00:15:28.275 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2025-02-27T00:15:29.007Z] STF 00:15:28.275 - | ModuleVersion: null [2025-02-27T00:15:29.007Z] STF 00:15:28.275 - | MainClass: null [2025-02-27T00:15:29.007Z] STF 00:15:28.276 - | HashModules: null [2025-02-27T00:15:29.007Z] STF 00:15:28.276 - | [2025-02-27T00:15:29.008Z] STF 00:15:28.276 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17406147215237/PatModImg_AppMod_1/20250227-001521-PatModImgTest/modules/7.com.hello.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.hello . [2025-02-27T00:15:29.008Z] STF 00:15:28.276 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17406147215237/PatModImg_AppMod_1/20250227-001521-PatModImgTest/results/7.CMJ.stderr [2025-02-27T00:15:29.008Z] STF 00:15:28.276 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17406147215237/PatModImg_AppMod_1/20250227-001521-PatModImgTest/results/7.CMJ.stdout [2025-02-27T00:15:29.008Z] STF 00:15:28.284 - Monitoring processes: CMJ [2025-02-27T00:15:29.008Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-27T00:15:29.008Z] STF 00:15:28.696 - Monitoring Report Summary: [2025-02-27T00:15:29.008Z] STF 00:15:28.697 - o Process CMJ ended with the expected exit code (0) [2025-02-27T00:15:29.008Z] STF 00:15:28.697 - Created modular jar: 7.com.hello.jar [2025-02-27T00:15:29.008Z] STF 00:15:28.698 - [2025-02-27T00:15:29.008Z] STF 00:15:28.698 - +------ Step 8 - create java.xml.jar [2025-02-27T00:15:29.008Z] STF 00:15:28.698 - | Create modular jar [2025-02-27T00:15:29.008Z] STF 00:15:28.698 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml [2025-02-27T00:15:29.008Z] STF 00:15:28.698 - | ModuleVersion: null [2025-02-27T00:15:29.008Z] STF 00:15:28.698 - | MainClass: null [2025-02-27T00:15:29.008Z] STF 00:15:28.698 - | HashModules: null [2025-02-27T00:15:29.008Z] STF 00:15:28.698 - | [2025-02-27T00:15:29.008Z] STF 00:15:28.698 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17406147215237/PatModImg_AppMod_1/20250227-001521-PatModImgTest/modules/8.java.xml.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\java.xml . [2025-02-27T00:15:29.008Z] STF 00:15:28.698 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17406147215237/PatModImg_AppMod_1/20250227-001521-PatModImgTest/results/8.CMJ.stderr [2025-02-27T00:15:29.008Z] STF 00:15:28.698 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17406147215237/PatModImg_AppMod_1/20250227-001521-PatModImgTest/results/8.CMJ.stdout [2025-02-27T00:15:29.008Z] STF 00:15:28.706 - Monitoring processes: CMJ [2025-02-27T00:15:29.008Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-27T00:15:29.305Z] STF 00:15:29.103 - Monitoring Report Summary: [2025-02-27T00:15:29.305Z] STF 00:15:29.103 - o Process CMJ ended with the expected exit code (0) [2025-02-27T00:15:29.305Z] STF 00:15:29.104 - Created modular jar: 8.java.xml.jar [2025-02-27T00:15:29.305Z] STF 00:15:29.104 - [2025-02-27T00:15:29.305Z] STF 00:15:29.104 - +------ Step 9 - Verify if we can patch an Application module using exploded directory [2025-02-27T00:15:29.305Z] STF 00:15:29.104 - | Run foreground process [2025-02-27T00:15:29.305Z] STF 00:15:29.104 - | Program: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17406147215237/PatModImg_AppMod_1/20250227-001521-PatModImgTest/tmp/6.XpJVM/bin/java [2025-02-27T00:15:29.305Z] STF 00:15:29.104 - | Mnemonic: OT21 [2025-02-27T00:15:29.305Z] STF 00:15:29.104 - | Echo: ECHO_ON [2025-02-27T00:15:29.305Z] STF 00:15:29.104 - | Expectation: CLEAN_RUN within 5m [2025-02-27T00:15:29.305Z] STF 00:15:29.104 - | [2025-02-27T00:15:29.305Z] STF 00:15:29.105 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17406147215237/PatModImg_AppMod_1/20250227-001521-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\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-02-27T00:15:29.305Z] STF 00:15:29.105 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17406147215237/PatModImg_AppMod_1/20250227-001521-PatModImgTest/results/9.OT21.stderr [2025-02-27T00:15:29.305Z] STF 00:15:29.105 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17406147215237/PatModImg_AppMod_1/20250227-001521-PatModImgTest/results/9.OT21.stdout [2025-02-27T00:15:29.305Z] STF 00:15:29.136 - Monitoring processes: OT21 [2025-02-27T00:15:29.305Z] OT21 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-27T00:15:29.601Z] OT21 stderr WARNING: module-info.class ignored in patch: C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.hello [2025-02-27T00:15:29.601Z] OT21 JUnit version 4.12 [2025-02-27T00:15:29.601Z] OT21 . [2025-02-27T00:15:29.601Z] OT21 Time: 0.016 [2025-02-27T00:15:29.601Z] OT21 [2025-02-27T00:15:29.601Z] OT21 OK (1 test) [2025-02-27T00:15:29.601Z] OT21 [2025-02-27T00:15:29.897Z] STF 00:15:29.525 - Monitoring Report Summary: [2025-02-27T00:15:29.897Z] STF 00:15:29.525 - o Process OT21 ended with the expected exit code (0) [2025-02-27T00:15:29.897Z] STF 00:15:29.526 - [2025-02-27T00:15:29.897Z] STF 00:15:29.526 - +------ Step 10 - Verify if we can patch an Application module using modular jar [2025-02-27T00:15:29.897Z] STF 00:15:29.526 - | Run foreground process [2025-02-27T00:15:29.897Z] STF 00:15:29.526 - | Program: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17406147215237/PatModImg_AppMod_1/20250227-001521-PatModImgTest/tmp/6.XpJVM/bin/java [2025-02-27T00:15:29.897Z] STF 00:15:29.526 - | Mnemonic: OT22 [2025-02-27T00:15:29.897Z] STF 00:15:29.526 - | Echo: ECHO_ON [2025-02-27T00:15:29.897Z] STF 00:15:29.526 - | Expectation: CLEAN_RUN within 5m [2025-02-27T00:15:29.897Z] STF 00:15:29.526 - | [2025-02-27T00:15:29.897Z] STF 00:15:29.527 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17406147215237/PatModImg_AppMod_1/20250227-001521-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/aqa-tests/TKG/output_17406147215237/PatModImg_AppMod_1/20250227-001521-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-02-27T00:15:29.897Z] STF 00:15:29.527 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17406147215237/PatModImg_AppMod_1/20250227-001521-PatModImgTest/results/10.OT22.stderr [2025-02-27T00:15:29.897Z] STF 00:15:29.527 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17406147215237/PatModImg_AppMod_1/20250227-001521-PatModImgTest/results/10.OT22.stdout [2025-02-27T00:15:29.897Z] STF 00:15:29.535 - Monitoring processes: OT22 [2025-02-27T00:15:29.897Z] OT22 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-27T00:15:29.897Z] OT22 stderr WARNING: module-info.class ignored in patch: C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\aqa-tests\TKG\output_17406147215237\PatModImg_AppMod_1\20250227-001521-PatModImgTest\modules\7.com.hello.jar [2025-02-27T00:15:29.897Z] OT22 JUnit version 4.12 [2025-02-27T00:15:30.193Z] OT22 . [2025-02-27T00:15:30.193Z] OT22 Time: 0.016 [2025-02-27T00:15:30.193Z] OT22 [2025-02-27T00:15:30.193Z] OT22 OK (1 test) [2025-02-27T00:15:30.193Z] OT22 [2025-02-27T00:15:30.193Z] STF 00:15:29.880 - Monitoring Report Summary: [2025-02-27T00:15:30.193Z] STF 00:15:29.880 - o Process OT22 ended with the expected exit code (0) [2025-02-27T00:15:30.193Z] STF 00:15:29.881 - EXECUTE stage completed [2025-02-27T00:15:30.193Z] STF 00:15:29.978 - [2025-02-27T00:15:30.193Z] STF 00:15:29.978 - ==================== T E A R D O W N ==================== [2025-02-27T00:15:30.193Z] STF 00:15:29.978 - Running teardown: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/\TKG\output_17406147215237\PatModImg_AppMod_1/20250227-001521-PatModImgTest/tearDown.pl [2025-02-27T00:15:30.488Z] STF 00:15:30.350 - TEARDOWN stage completed [2025-02-27T00:15:30.488Z] STF 00:15:30.401 - [2025-02-27T00:15:30.488Z] STF 00:15:30.401 - ===================== R E S U L T S ===================== [2025-02-27T00:15:30.488Z] STF 00:15:30.401 - Stage results: [2025-02-27T00:15:30.488Z] STF 00:15:30.401 - setUp: pass [2025-02-27T00:15:30.488Z] STF 00:15:30.401 - execute: pass [2025-02-27T00:15:30.488Z] STF 00:15:30.401 - teardown: pass [2025-02-27T00:15:30.488Z] STF 00:15:30.401 - [2025-02-27T00:15:30.488Z] STF 00:15:30.401 - Overall result: PASSED [2025-02-27T00:15:30.488Z] ----------------------------------- [2025-02-27T00:15:30.488Z] PatModImg_AppMod_1_PASSED [2025-02-27T00:15:30.488Z] ----------------------------------- [2025-02-27T00:15:30.782Z] [2025-02-27T00:15:30.782Z] TEST TEARDOWN: [2025-02-27T00:15:30.782Z] Nothing to be done for teardown. [2025-02-27T00:15:31.077Z] PatModImg_AppMod_1 Finish Time: Thu Feb 27 00:15:30 2025 Epoch Time (ms): 1740615330803