PatModImg_AppMod_0

[2024-12-09T16:18:42.004Z] Running test PatModImg_AppMod_0 ... [2024-12-09T16:18:42.303Z] =============================================== [2024-12-09T16:18:42.641Z] PatModImg_AppMod_0 Start Time: Mon Dec 9 16:18:42 2024 Epoch Time (ms): 1733761122319 [2024-12-09T16:18:42.641Z] variation: Mode150 [2024-12-09T16:18:42.941Z] JVM_OPTIONS: -XX:+UseCompressedOops [2024-12-09T16:18:42.941Z] { \ [2024-12-09T16:18:42.941Z] echo ""; echo "TEST SETUP:"; \ [2024-12-09T16:18:42.941Z] echo "Nothing to be done for setup."; \ [2024-12-09T16:18:42.941Z] mkdir -p "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17337590845159\\PatModImg_AppMod_0"; \ [2024-12-09T16:18:42.941Z] cd "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17337590845159\\PatModImg_AppMod_0"; \ [2024-12-09T16:18:42.941Z] echo ""; echo "TESTING:"; \ [2024-12-09T16:18:42.941Z] perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests///..//jvmtest\\system\\modularity/../\\STF\\stf.core\\scripts\\stf.pl -test-root="C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests///..//jvmtest\\system\\modularity/../\\STF;C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests///..//jvmtest\\system\\modularity/../\\aqa-systemtest""" -systemtest-prereqs="C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/../../testDependency/system_lib\\" -java-args=' -XX:+UseCompressedOops ' -results-root="C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17337590845159\\PatModImg_AppMod_0" -test=PatModImgTest -test-args="variant=AppMod"; \ [2024-12-09T16:18:42.941Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatModImg_AppMod_0""_PASSED"; echo "-----------------------------------"; cd C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/; rm -f -r "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17337590845159\\PatModImg_AppMod_0"; else echo "-----------------------------------"; echo "PatModImg_AppMod_0""_FAILED"; echo "-----------------------------------"; fi; \ [2024-12-09T16:18:42.941Z] echo ""; echo "TEST TEARDOWN:"; \ [2024-12-09T16:18:42.941Z] echo "Nothing to be done for teardown."; \ [2024-12-09T16:18:42.941Z] } 2>&1 | tee -a "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17337590845159\\TestTargetResult"; [2024-12-09T16:18:42.941Z] [2024-12-09T16:18:42.941Z] TEST SETUP: [2024-12-09T16:18:42.941Z] Nothing to be done for setup. [2024-12-09T16:18:43.238Z] [2024-12-09T16:18:43.238Z] TESTING: [2024-12-09T16:18:43.536Z] STF 16:18:43.366 - ========================= S T F ========================= [2024-12-09T16:18:43.536Z] systemtest-prereqs has been processed, and set to: C:/Users/jenkins/testDependency/system_libRetrieving amount of free space on drive containing C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17337590845159\PatModImg_AppMod_0 [2024-12-09T16:18:43.536Z] There is 19785 Mb free [2024-12-09T16:18:43.536Z] STF 16:18:43.447 - ================== G E N E R A T I O N ================== [2024-12-09T16:18:43.537Z] STF 16:18:43.452 - Checking JVM: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image [2024-12-09T16:18:43.537Z] STF 16:18:43.453 - Starting process to generate scripts: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/java -Dlog4j.skipJansi=true -Djava.system.class.loader=net.adoptopenjdk.stf.runner.StfClassLoader -classpath C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/../../testDependency/system_lib\/log4j/log4j-api.jar;C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/../../testDependency/system_lib\/log4j/log4j-core.jar;C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17337590845159\PatModImg_AppMod_0/20241209-161843-PatModImgTest/stf_parameters.properties, , C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17337590845159\PatModImg_AppMod_0/20241209-161843-PatModImgTest" [2024-12-09T16:18:43.839Z] GEN stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-12-09T16:18:44.888Z] GEN 16:18:44.709 - Found test. Project: 'openjdk.test.modularity' class: 'PatModImgTest.class' Dir: 'C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin' [2024-12-09T16:18:44.888Z] GEN 16:18:44.725 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModImgTest' [2024-12-09T16:18:45.183Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2024-12-09T16:18:45.183Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayService [2024-12-09T16:18:45.183Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper [2024-12-09T16:18:45.183Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl1 [2024-12-09T16:18:45.183Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet [2024-12-09T16:18:45.183Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello [2024-12-09T16:18:45.183Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola [2024-12-09T16:18:45.183Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl2 [2024-12-09T16:18:45.183Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hi [2024-12-09T16:18:45.183Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override [2024-12-09T16:18:45.183Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override-new [2024-12-09T16:18:45.183Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl3 [2024-12-09T16:18:45.183Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl4 [2024-12-09T16:18:45.183Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common [2024-12-09T16:18:45.183Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests [2024-12-09T16:18:45.183Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin [2024-12-09T16:18:45.183Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\\jvmtest\\system\\STF\\stf.core\\bin [2024-12-09T16:18:45.183Z] GEN C:/Users/jenkins/testDependency/system_lib/log4j/log4j-api.jar [2024-12-09T16:18:45.183Z] GEN C:/Users/jenkins/testDependency/system_lib/log4j/log4j-core.jar [2024-12-09T16:18:45.183Z] GEN C:/Users/jenkins/testDependency/system_lib/junit/junit.jar [2024-12-09T16:18:45.183Z] GEN 16:18:44.975 - Using Mode NoOptions. Values = '' [2024-12-09T16:18:45.183Z] GEN 16:18:45.116 - [2024-12-09T16:18:45.183Z] GEN 16:18:45.116 - Test command summary: [2024-12-09T16:18:45.183Z] GEN 16:18:45.116 - Step Stage Command Description [2024-12-09T16:18:45.183Z] GEN 16:18:45.116 - -----+--------+-----------------+------------ [2024-12-09T16:18:45.183Z] GEN 16:18:45.116 - 1 execute jar Create com.hello jar [2024-12-09T16:18:45.183Z] GEN 16:18:45.116 - 2 execute jar Create com.hola jar [2024-12-09T16:18:45.183Z] GEN 16:18:45.116 - 3 execute jar Create com.helper jar [2024-12-09T16:18:45.183Z] GEN 16:18:45.116 - 4 execute jar Create com.discreet jar [2024-12-09T16:18:45.183Z] GEN 16:18:45.116 - 5 execute jar Create tests jar [2024-12-09T16:18:45.183Z] GEN 16:18:45.116 - 6 execute jlink Create runtime image for PatchModule test [2024-12-09T16:18:45.183Z] GEN 16:18:45.116 - 7 execute jar Create com.hello jar [2024-12-09T16:18:45.183Z] GEN 16:18:45.116 - 8 execute jar create java.xml.jar [2024-12-09T16:18:45.183Z] GEN 16:18:45.116 - 9 execute Run java Verify if we can patch an Application module using exploded directory [2024-12-09T16:18:45.183Z] GEN 16:18:45.116 - 10 execute Run java Verify if we can patch an Application module using modular jar [2024-12-09T16:18:45.183Z] STF 16:18:45.164 - [2024-12-09T16:18:45.183Z] STF 16:18:45.164 - Script generation completed [2024-12-09T16:18:45.183Z] STF 16:18:45.164 - [2024-12-09T16:18:45.479Z] STF 16:18:45.173 - [2024-12-09T16:18:45.479Z] STF 16:18:45.173 - ======================= S E T U P ======================= [2024-12-09T16:18:45.479Z] STF 16:18:45.173 - Running setup: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17337590845159\PatModImg_AppMod_0/20241209-161843-PatModImgTest/setUp.pl [2024-12-09T16:18:45.775Z] STF 16:18:45.553 - SETUP stage completed [2024-12-09T16:18:45.775Z] STF 16:18:45.601 - [2024-12-09T16:18:45.775Z] STF 16:18:45.601 - ==================== E X E C U T E - ==================== [2024-12-09T16:18:45.775Z] STF 16:18:45.601 - Running execute: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17337590845159\PatModImg_AppMod_0/20241209-161843-PatModImgTest/execute.pl [2024-12-09T16:18:46.069Z] STF 16:18:45.991 - [2024-12-09T16:18:46.069Z] STF 16:18:45.991 - Java version [2024-12-09T16:18:46.069Z] STF 16:18:45.991 - Running: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/java -version [2024-12-09T16:18:46.069Z] Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-12-09T16:18:46.364Z] openjdk version "21.0.6-beta" 2025-01-21 [2024-12-09T16:18:46.364Z] OpenJDK Runtime Environment Temurin-21.0.6+6-202412042003 (build 21.0.6-beta+6-ea) [2024-12-09T16:18:46.364Z] OpenJDK 64-Bit Server VM Temurin-21.0.6+6-202412042003 (build 21.0.6-beta+6-ea, mixed mode) [2024-12-09T16:18:46.364Z] STF 16:18:46.122 - [2024-12-09T16:18:46.364Z] STF 16:18:46.122 - +------ Step 1 - Create com.hello jar [2024-12-09T16:18:46.364Z] STF 16:18:46.122 - | Create modular jar [2024-12-09T16:18:46.364Z] STF 16:18:46.122 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2024-12-09T16:18:46.364Z] STF 16:18:46.122 - | ModuleVersion: null [2024-12-09T16:18:46.364Z] STF 16:18:46.122 - | MainClass: null [2024-12-09T16:18:46.364Z] STF 16:18:46.123 - | HashModules: null [2024-12-09T16:18:46.364Z] STF 16:18:46.123 - | [2024-12-09T16:18:46.364Z] STF 16:18:46.124 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17337590845159/PatModImg_AppMod_0/20241209-161843-PatModImgTest/modules/1.com.hello.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello . [2024-12-09T16:18:46.364Z] STF 16:18:46.124 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17337590845159/PatModImg_AppMod_0/20241209-161843-PatModImgTest/results/1.CMJ.stderr [2024-12-09T16:18:46.364Z] STF 16:18:46.124 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17337590845159/PatModImg_AppMod_0/20241209-161843-PatModImgTest/results/1.CMJ.stdout [2024-12-09T16:18:46.364Z] STF 16:18:46.193 - Monitoring processes: CMJ [2024-12-09T16:18:46.364Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-12-09T16:18:46.660Z] STF 16:18:46.602 - Monitoring Report Summary: [2024-12-09T16:18:46.660Z] STF 16:18:46.602 - o Process CMJ ended with the expected exit code (0) [2024-12-09T16:18:46.660Z] STF 16:18:46.603 - Created modular jar: 1.com.hello.jar [2024-12-09T16:18:46.660Z] STF 16:18:46.603 - [2024-12-09T16:18:46.660Z] STF 16:18:46.603 - +------ Step 2 - Create com.hola jar [2024-12-09T16:18:46.660Z] STF 16:18:46.603 - | Create modular jar [2024-12-09T16:18:46.660Z] STF 16:18:46.603 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2024-12-09T16:18:46.660Z] STF 16:18:46.603 - | ModuleVersion: null [2024-12-09T16:18:46.660Z] STF 16:18:46.603 - | MainClass: null [2024-12-09T16:18:46.660Z] STF 16:18:46.603 - | HashModules: null [2024-12-09T16:18:46.660Z] STF 16:18:46.603 - | [2024-12-09T16:18:46.660Z] STF 16:18:46.604 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17337590845159/PatModImg_AppMod_0/20241209-161843-PatModImgTest/modules/2.com.hola.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola . [2024-12-09T16:18:46.660Z] STF 16:18:46.604 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17337590845159/PatModImg_AppMod_0/20241209-161843-PatModImgTest/results/2.CMJ.stderr [2024-12-09T16:18:46.660Z] STF 16:18:46.604 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17337590845159/PatModImg_AppMod_0/20241209-161843-PatModImgTest/results/2.CMJ.stdout [2024-12-09T16:18:46.660Z] STF 16:18:46.612 - Monitoring processes: CMJ [2024-12-09T16:18:46.967Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-12-09T16:18:47.262Z] STF 16:18:47.050 - Monitoring Report Summary: [2024-12-09T16:18:47.262Z] STF 16:18:47.050 - o Process CMJ ended with the expected exit code (0) [2024-12-09T16:18:47.262Z] STF 16:18:47.051 - Created modular jar: 2.com.hola.jar [2024-12-09T16:18:47.262Z] STF 16:18:47.051 - [2024-12-09T16:18:47.262Z] STF 16:18:47.051 - +------ Step 3 - Create com.helper jar [2024-12-09T16:18:47.262Z] STF 16:18:47.051 - | Create modular jar [2024-12-09T16:18:47.262Z] STF 16:18:47.051 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2024-12-09T16:18:47.262Z] STF 16:18:47.051 - | ModuleVersion: null [2024-12-09T16:18:47.262Z] STF 16:18:47.052 - | MainClass: null [2024-12-09T16:18:47.262Z] STF 16:18:47.052 - | HashModules: null [2024-12-09T16:18:47.262Z] STF 16:18:47.052 - | [2024-12-09T16:18:47.263Z] STF 16:18:47.052 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17337590845159/PatModImg_AppMod_0/20241209-161843-PatModImgTest/modules/3.com.helper.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper . [2024-12-09T16:18:47.263Z] STF 16:18:47.052 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17337590845159/PatModImg_AppMod_0/20241209-161843-PatModImgTest/results/3.CMJ.stderr [2024-12-09T16:18:47.263Z] STF 16:18:47.052 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17337590845159/PatModImg_AppMod_0/20241209-161843-PatModImgTest/results/3.CMJ.stdout [2024-12-09T16:18:47.263Z] STF 16:18:47.061 - Monitoring processes: CMJ [2024-12-09T16:18:47.263Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-12-09T16:18:47.557Z] STF 16:18:47.488 - Monitoring Report Summary: [2024-12-09T16:18:47.558Z] STF 16:18:47.488 - o Process CMJ ended with the expected exit code (0) [2024-12-09T16:18:47.558Z] STF 16:18:47.489 - Created modular jar: 3.com.helper.jar [2024-12-09T16:18:47.558Z] STF 16:18:47.489 - [2024-12-09T16:18:47.558Z] STF 16:18:47.489 - +------ Step 4 - Create com.discreet jar [2024-12-09T16:18:47.558Z] STF 16:18:47.489 - | Create modular jar [2024-12-09T16:18:47.558Z] STF 16:18:47.489 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2024-12-09T16:18:47.558Z] STF 16:18:47.489 - | ModuleVersion: null [2024-12-09T16:18:47.558Z] STF 16:18:47.489 - | MainClass: null [2024-12-09T16:18:47.558Z] STF 16:18:47.489 - | HashModules: null [2024-12-09T16:18:47.558Z] STF 16:18:47.489 - | [2024-12-09T16:18:47.558Z] STF 16:18:47.490 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17337590845159/PatModImg_AppMod_0/20241209-161843-PatModImgTest/modules/4.com.discreet.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet . [2024-12-09T16:18:47.558Z] STF 16:18:47.490 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17337590845159/PatModImg_AppMod_0/20241209-161843-PatModImgTest/results/4.CMJ.stderr [2024-12-09T16:18:47.558Z] STF 16:18:47.490 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17337590845159/PatModImg_AppMod_0/20241209-161843-PatModImgTest/results/4.CMJ.stdout [2024-12-09T16:18:47.558Z] STF 16:18:47.491 - Monitoring processes: CMJ [2024-12-09T16:18:47.854Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-12-09T16:18:48.148Z] STF 16:18:47.905 - Monitoring Report Summary: [2024-12-09T16:18:48.148Z] STF 16:18:47.905 - o Process CMJ ended with the expected exit code (0) [2024-12-09T16:18:48.149Z] STF 16:18:47.907 - Created modular jar: 4.com.discreet.jar [2024-12-09T16:18:48.149Z] STF 16:18:47.907 - [2024-12-09T16:18:48.149Z] STF 16:18:47.907 - +------ Step 5 - Create tests jar [2024-12-09T16:18:48.149Z] STF 16:18:47.907 - | Create modular jar [2024-12-09T16:18:48.149Z] STF 16:18:47.907 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2024-12-09T16:18:48.149Z] STF 16:18:47.907 - | ModuleVersion: null [2024-12-09T16:18:48.149Z] STF 16:18:47.907 - | MainClass: null [2024-12-09T16:18:48.149Z] STF 16:18:47.907 - | HashModules: null [2024-12-09T16:18:48.149Z] STF 16:18:47.907 - | [2024-12-09T16:18:48.149Z] STF 16:18:47.908 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17337590845159/PatModImg_AppMod_0/20241209-161843-PatModImgTest/modules/5.com.test.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests\com.test . [2024-12-09T16:18:48.149Z] STF 16:18:47.908 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17337590845159/PatModImg_AppMod_0/20241209-161843-PatModImgTest/results/5.CMJ.stderr [2024-12-09T16:18:48.149Z] STF 16:18:47.908 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17337590845159/PatModImg_AppMod_0/20241209-161843-PatModImgTest/results/5.CMJ.stdout [2024-12-09T16:18:48.149Z] STF 16:18:47.918 - Monitoring processes: CMJ [2024-12-09T16:18:48.149Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-12-09T16:18:48.444Z] STF 16:18:48.384 - Monitoring Report Summary: [2024-12-09T16:18:48.444Z] STF 16:18:48.385 - o Process CMJ ended with the expected exit code (0) [2024-12-09T16:18:48.444Z] STF 16:18:48.385 - Created modular jar: 5.com.test.jar [2024-12-09T16:18:48.444Z] STF 16:18:48.385 - [2024-12-09T16:18:48.444Z] STF 16:18:48.386 - +------ Step 6 - Create runtime image for PatchModule test [2024-12-09T16:18:48.444Z] STF 16:18:48.386 - | Run jlink to create runtime image [2024-12-09T16:18:48.444Z] STF 16:18:48.386 - | ImageName: XpJVM [2024-12-09T16:18:48.444Z] STF 16:18:48.386 - | [2024-12-09T16:18:48.444Z] STF 16:18:48.386 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/jlink --module-path C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jdkbinary\j2sdk-image\jmods;C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\aqa-tests\TKG\output_17337590845159\PatModImg_AppMod_0\20241209-161843-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_1\aqa-tests\TKG\output_17337590845159\PatModImg_AppMod_0\20241209-161843-PatModImgTest\tmp\6.XpJVM [2024-12-09T16:18:48.444Z] STF 16:18:48.386 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17337590845159/PatModImg_AppMod_0/20241209-161843-PatModImgTest/results/6.JLNK.stderr [2024-12-09T16:18:48.444Z] STF 16:18:48.386 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17337590845159/PatModImg_AppMod_0/20241209-161843-PatModImgTest/results/6.JLNK.stdout [2024-12-09T16:18:48.444Z] STF 16:18:48.394 - Monitoring processes: JLNK [2024-12-09T16:18:48.444Z] JLNK stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-12-09T16:18:51.200Z] STF 16:18:50.730 - Monitoring Report Summary: [2024-12-09T16:18:51.200Z] STF 16:18:50.730 - o Process JLNK ended with the expected exit code (0) [2024-12-09T16:18:51.200Z] STF 16:18:50.731 - [2024-12-09T16:18:51.200Z] STF 16:18:50.731 - +------ Step 7 - Create com.hello jar [2024-12-09T16:18:51.200Z] STF 16:18:50.731 - | Create modular jar [2024-12-09T16:18:51.200Z] STF 16:18:50.731 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2024-12-09T16:18:51.200Z] STF 16:18:50.731 - | ModuleVersion: null [2024-12-09T16:18:51.200Z] STF 16:18:50.731 - | MainClass: null [2024-12-09T16:18:51.200Z] STF 16:18:50.731 - | HashModules: null [2024-12-09T16:18:51.200Z] STF 16:18:50.731 - | [2024-12-09T16:18:51.200Z] STF 16:18:50.732 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17337590845159/PatModImg_AppMod_0/20241209-161843-PatModImgTest/modules/7.com.hello.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.hello . [2024-12-09T16:18:51.200Z] STF 16:18:50.732 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17337590845159/PatModImg_AppMod_0/20241209-161843-PatModImgTest/results/7.CMJ.stderr [2024-12-09T16:18:51.200Z] STF 16:18:50.732 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17337590845159/PatModImg_AppMod_0/20241209-161843-PatModImgTest/results/7.CMJ.stdout [2024-12-09T16:18:51.200Z] STF 16:18:50.740 - Monitoring processes: CMJ [2024-12-09T16:18:51.200Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-12-09T16:18:51.495Z] STF 16:18:51.166 - Monitoring Report Summary: [2024-12-09T16:18:51.495Z] STF 16:18:51.166 - o Process CMJ ended with the expected exit code (0) [2024-12-09T16:18:51.495Z] STF 16:18:51.167 - Created modular jar: 7.com.hello.jar [2024-12-09T16:18:51.495Z] STF 16:18:51.167 - [2024-12-09T16:18:51.495Z] STF 16:18:51.167 - +------ Step 8 - create java.xml.jar [2024-12-09T16:18:51.495Z] STF 16:18:51.167 - | Create modular jar [2024-12-09T16:18:51.495Z] STF 16:18:51.167 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml [2024-12-09T16:18:51.495Z] STF 16:18:51.167 - | ModuleVersion: null [2024-12-09T16:18:51.495Z] STF 16:18:51.167 - | MainClass: null [2024-12-09T16:18:51.495Z] STF 16:18:51.167 - | HashModules: null [2024-12-09T16:18:51.495Z] STF 16:18:51.167 - | [2024-12-09T16:18:51.495Z] STF 16:18:51.168 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17337590845159/PatModImg_AppMod_0/20241209-161843-PatModImgTest/modules/8.java.xml.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\java.xml . [2024-12-09T16:18:51.495Z] STF 16:18:51.168 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17337590845159/PatModImg_AppMod_0/20241209-161843-PatModImgTest/results/8.CMJ.stderr [2024-12-09T16:18:51.495Z] STF 16:18:51.168 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17337590845159/PatModImg_AppMod_0/20241209-161843-PatModImgTest/results/8.CMJ.stdout [2024-12-09T16:18:51.495Z] STF 16:18:51.175 - Monitoring processes: CMJ [2024-12-09T16:18:51.495Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-12-09T16:18:51.790Z] STF 16:18:51.603 - Monitoring Report Summary: [2024-12-09T16:18:51.791Z] STF 16:18:51.603 - o Process CMJ ended with the expected exit code (0) [2024-12-09T16:18:51.791Z] STF 16:18:51.604 - Created modular jar: 8.java.xml.jar [2024-12-09T16:18:51.791Z] STF 16:18:51.604 - [2024-12-09T16:18:51.791Z] STF 16:18:51.604 - +------ Step 9 - Verify if we can patch an Application module using exploded directory [2024-12-09T16:18:51.791Z] STF 16:18:51.604 - | Run foreground process [2024-12-09T16:18:51.791Z] STF 16:18:51.604 - | Program: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17337590845159/PatModImg_AppMod_0/20241209-161843-PatModImgTest/tmp/6.XpJVM/bin/java [2024-12-09T16:18:51.791Z] STF 16:18:51.604 - | Mnemonic: OT21 [2024-12-09T16:18:51.791Z] STF 16:18:51.604 - | Echo: ECHO_ON [2024-12-09T16:18:51.791Z] STF 16:18:51.604 - | Expectation: CLEAN_RUN within 5m [2024-12-09T16:18:51.791Z] STF 16:18:51.604 - | [2024-12-09T16:18:51.791Z] STF 16:18:51.605 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17337590845159/PatModImg_AppMod_0/20241209-161843-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_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.hello -XX:+UseCompressedOops -classpath C:/Users/jenkins/testDependency/system_lib/junit/junit.jar;C:/Users/jenkins/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingAppModule [2024-12-09T16:18:51.791Z] STF 16:18:51.605 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17337590845159/PatModImg_AppMod_0/20241209-161843-PatModImgTest/results/9.OT21.stderr [2024-12-09T16:18:51.791Z] STF 16:18:51.605 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17337590845159/PatModImg_AppMod_0/20241209-161843-PatModImgTest/results/9.OT21.stdout [2024-12-09T16:18:51.791Z] STF 16:18:51.638 - Monitoring processes: OT21 [2024-12-09T16:18:51.791Z] OT21 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-12-09T16:18:52.086Z] OT21 stderr WARNING: module-info.class ignored in patch: C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.hello [2024-12-09T16:18:52.086Z] OT21 JUnit version 4.12 [2024-12-09T16:18:52.381Z] OT21 . [2024-12-09T16:18:52.381Z] OT21 Time: 0.016 [2024-12-09T16:18:52.381Z] OT21 [2024-12-09T16:18:52.381Z] OT21 OK (1 test) [2024-12-09T16:18:52.381Z] OT21 [2024-12-09T16:18:52.381Z] STF 16:18:52.083 - Monitoring Report Summary: [2024-12-09T16:18:52.381Z] STF 16:18:52.083 - o Process OT21 ended with the expected exit code (0) [2024-12-09T16:18:52.381Z] STF 16:18:52.084 - [2024-12-09T16:18:52.381Z] STF 16:18:52.084 - +------ Step 10 - Verify if we can patch an Application module using modular jar [2024-12-09T16:18:52.381Z] STF 16:18:52.084 - | Run foreground process [2024-12-09T16:18:52.381Z] STF 16:18:52.084 - | Program: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17337590845159/PatModImg_AppMod_0/20241209-161843-PatModImgTest/tmp/6.XpJVM/bin/java [2024-12-09T16:18:52.381Z] STF 16:18:52.084 - | Mnemonic: OT22 [2024-12-09T16:18:52.381Z] STF 16:18:52.084 - | Echo: ECHO_ON [2024-12-09T16:18:52.381Z] STF 16:18:52.085 - | Expectation: CLEAN_RUN within 5m [2024-12-09T16:18:52.381Z] STF 16:18:52.085 - | [2024-12-09T16:18:52.381Z] STF 16:18:52.085 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17337590845159/PatModImg_AppMod_0/20241209-161843-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_1/aqa-tests/TKG/output_17337590845159/PatModImg_AppMod_0/20241209-161843-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 [2024-12-09T16:18:52.381Z] STF 16:18:52.086 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17337590845159/PatModImg_AppMod_0/20241209-161843-PatModImgTest/results/10.OT22.stderr [2024-12-09T16:18:52.381Z] STF 16:18:52.086 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17337590845159/PatModImg_AppMod_0/20241209-161843-PatModImgTest/results/10.OT22.stdout [2024-12-09T16:18:52.381Z] STF 16:18:52.095 - Monitoring processes: OT22 [2024-12-09T16:18:52.381Z] OT22 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-12-09T16:18:52.381Z] OT22 stderr WARNING: module-info.class ignored in patch: C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\aqa-tests\TKG\output_17337590845159\PatModImg_AppMod_0\20241209-161843-PatModImgTest\modules\7.com.hello.jar [2024-12-09T16:18:52.381Z] OT22 JUnit version 4.12 [2024-12-09T16:18:52.677Z] OT22 . [2024-12-09T16:18:52.677Z] OT22 Time: 0.016 [2024-12-09T16:18:52.677Z] OT22 [2024-12-09T16:18:52.677Z] OT22 OK (1 test) [2024-12-09T16:18:52.677Z] OT22 [2024-12-09T16:18:52.677Z] STF 16:18:52.460 - Monitoring Report Summary: [2024-12-09T16:18:52.677Z] STF 16:18:52.460 - o Process OT22 ended with the expected exit code (0) [2024-12-09T16:18:52.677Z] STF 16:18:52.461 - EXECUTE stage completed [2024-12-09T16:18:52.677Z] STF 16:18:52.540 - [2024-12-09T16:18:52.677Z] STF 16:18:52.541 - ==================== T E A R D O W N ==================== [2024-12-09T16:18:52.677Z] STF 16:18:52.541 - Running teardown: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17337590845159\PatModImg_AppMod_0/20241209-161843-PatModImgTest/tearDown.pl [2024-12-09T16:18:52.973Z] STF 16:18:52.928 - TEARDOWN stage completed [2024-12-09T16:18:52.973Z] STF 16:18:52.955 - [2024-12-09T16:18:52.973Z] STF 16:18:52.955 - ===================== R E S U L T S ===================== [2024-12-09T16:18:52.973Z] STF 16:18:52.955 - Stage results: [2024-12-09T16:18:52.973Z] STF 16:18:52.955 - setUp: pass [2024-12-09T16:18:52.973Z] STF 16:18:52.955 - execute: pass [2024-12-09T16:18:52.973Z] STF 16:18:52.955 - teardown: pass [2024-12-09T16:18:52.973Z] STF 16:18:52.956 - [2024-12-09T16:18:52.973Z] STF 16:18:52.956 - Overall result: PASSED [2024-12-09T16:18:53.269Z] ----------------------------------- [2024-12-09T16:18:53.269Z] PatModImg_AppMod_0_PASSED [2024-12-09T16:18:53.269Z] ----------------------------------- [2024-12-09T16:18:53.269Z] [2024-12-09T16:18:53.269Z] TEST TEARDOWN: [2024-12-09T16:18:53.269Z] Nothing to be done for teardown. [2024-12-09T16:18:53.567Z] PatModImg_AppMod_0 Finish Time: Mon Dec 9 16:18:53 2024 Epoch Time (ms): 1733761133350