PatModImg_AppMod_0

[2024-11-17T10:04:20.707Z] Running test PatModImg_AppMod_0 ... [2024-11-17T10:04:21.005Z] =============================================== [2024-11-17T10:04:21.303Z] PatModImg_AppMod_0 Start Time: Sun Nov 17 10:04:21 2024 Epoch Time (ms): 1731837861048 [2024-11-17T10:04:21.303Z] variation: Mode150 [2024-11-17T10:04:21.602Z] JVM_OPTIONS: -XX:+UseCompressedOops [2024-11-17T10:04:21.602Z] { \ [2024-11-17T10:04:21.602Z] echo ""; echo "TEST SETUP:"; \ [2024-11-17T10:04:21.602Z] echo "Nothing to be done for setup."; \ [2024-11-17T10:04:21.602Z] mkdir -p "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17318358094769\\PatModImg_AppMod_0"; \ [2024-11-17T10:04:21.602Z] cd "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17318358094769\\PatModImg_AppMod_0"; \ [2024-11-17T10:04:21.602Z] echo ""; echo "TESTING:"; \ [2024-11-17T10:04:21.602Z] 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_17318358094769\\PatModImg_AppMod_0" -test=PatModImgTest -test-args="variant=AppMod"; \ [2024-11-17T10:04:21.602Z] 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_17318358094769\\PatModImg_AppMod_0"; else echo "-----------------------------------"; echo "PatModImg_AppMod_0""_FAILED"; echo "-----------------------------------"; fi; \ [2024-11-17T10:04:21.602Z] echo ""; echo "TEST TEARDOWN:"; \ [2024-11-17T10:04:21.602Z] echo "Nothing to be done for teardown."; \ [2024-11-17T10:04:21.602Z] } 2>&1 | tee -a "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17318358094769\\TestTargetResult"; [2024-11-17T10:04:21.899Z] [2024-11-17T10:04:21.899Z] TEST SETUP: [2024-11-17T10:04:21.899Z] Nothing to be done for setup. [2024-11-17T10:04:21.899Z] [2024-11-17T10:04:21.899Z] TESTING: [2024-11-17T10:04:22.196Z] STF 10:04:22.080 - ========================= S T F ========================= [2024-11-17T10:04:22.196Z] 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_17318358094769\PatModImg_AppMod_0 [2024-11-17T10:04:22.496Z] There is 21751 Mb free [2024-11-17T10:04:22.496Z] STF 10:04:22.158 - ================== G E N E R A T I O N ================== [2024-11-17T10:04:22.496Z] STF 10:04:22.164 - Checking JVM: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image [2024-11-17T10:04:22.496Z] STF 10:04:22.165 - 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_17318358094769\PatModImg_AppMod_0/20241117-100422-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_17318358094769\PatModImg_AppMod_0/20241117-100422-PatModImgTest" [2024-11-17T10:04:22.496Z] GEN stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-17T10:04:24.028Z] GEN 10:04:23.533 - 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-11-17T10:04:24.028Z] GEN 10:04:23.548 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModImgTest' [2024-11-17T10:04:24.028Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2024-11-17T10:04:24.028Z] 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-11-17T10:04:24.028Z] 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-11-17T10:04:24.028Z] 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-11-17T10:04:24.028Z] 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-11-17T10:04:24.028Z] 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-11-17T10:04:24.028Z] 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-11-17T10:04:24.028Z] 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-11-17T10:04:24.028Z] 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-11-17T10:04:24.028Z] 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-11-17T10:04:24.028Z] 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-11-17T10:04:24.028Z] 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-11-17T10:04:24.028Z] 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-11-17T10:04:24.028Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common [2024-11-17T10:04:24.028Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests [2024-11-17T10:04:24.028Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin [2024-11-17T10:04:24.028Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\\jvmtest\\system\\STF\\stf.core\\bin [2024-11-17T10:04:24.028Z] GEN C:/Users/jenkins/testDependency/system_lib/log4j/log4j-api.jar [2024-11-17T10:04:24.028Z] GEN C:/Users/jenkins/testDependency/system_lib/log4j/log4j-core.jar [2024-11-17T10:04:24.028Z] GEN C:/Users/jenkins/testDependency/system_lib/junit/junit.jar [2024-11-17T10:04:24.028Z] GEN 10:04:23.798 - Using Mode NoOptions. Values = '' [2024-11-17T10:04:24.028Z] GEN 10:04:23.939 - [2024-11-17T10:04:24.028Z] GEN 10:04:23.939 - Test command summary: [2024-11-17T10:04:24.028Z] GEN 10:04:23.939 - Step Stage Command Description [2024-11-17T10:04:24.028Z] GEN 10:04:23.939 - -----+--------+-----------------+------------ [2024-11-17T10:04:24.028Z] GEN 10:04:23.939 - 1 execute jar Create com.hello jar [2024-11-17T10:04:24.028Z] GEN 10:04:23.939 - 2 execute jar Create com.hola jar [2024-11-17T10:04:24.028Z] GEN 10:04:23.939 - 3 execute jar Create com.helper jar [2024-11-17T10:04:24.028Z] GEN 10:04:23.939 - 4 execute jar Create com.discreet jar [2024-11-17T10:04:24.028Z] GEN 10:04:23.939 - 5 execute jar Create tests jar [2024-11-17T10:04:24.028Z] GEN 10:04:23.939 - 6 execute jlink Create runtime image for PatchModule test [2024-11-17T10:04:24.029Z] GEN 10:04:23.939 - 7 execute jar Create com.hello jar [2024-11-17T10:04:24.029Z] GEN 10:04:23.939 - 8 execute jar create java.xml.jar [2024-11-17T10:04:24.029Z] GEN 10:04:23.939 - 9 execute Run java Verify if we can patch an Application module using exploded directory [2024-11-17T10:04:24.029Z] GEN 10:04:23.939 - 10 execute Run java Verify if we can patch an Application module using modular jar [2024-11-17T10:04:24.029Z] STF 10:04:23.988 - [2024-11-17T10:04:24.029Z] STF 10:04:23.988 - Script generation completed [2024-11-17T10:04:24.029Z] STF 10:04:23.988 - [2024-11-17T10:04:24.029Z] STF 10:04:23.991 - [2024-11-17T10:04:24.029Z] STF 10:04:23.991 - ======================= S E T U P ======================= [2024-11-17T10:04:24.029Z] STF 10:04:23.991 - Running setup: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17318358094769\PatModImg_AppMod_0/20241117-100422-PatModImgTest/setUp.pl [2024-11-17T10:04:24.672Z] STF 10:04:24.377 - SETUP stage completed [2024-11-17T10:04:24.672Z] STF 10:04:24.428 - [2024-11-17T10:04:24.672Z] STF 10:04:24.429 - ==================== E X E C U T E - ==================== [2024-11-17T10:04:24.672Z] STF 10:04:24.429 - Running execute: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17318358094769\PatModImg_AppMod_0/20241117-100422-PatModImgTest/execute.pl [2024-11-17T10:04:24.970Z] STF 10:04:24.814 - [2024-11-17T10:04:24.970Z] STF 10:04:24.814 - Java version [2024-11-17T10:04:24.970Z] STF 10:04:24.814 - Running: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/java -version [2024-11-17T10:04:24.970Z] Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-17T10:04:24.970Z] openjdk version "21.0.6-beta" 2025-01-21 [2024-11-17T10:04:24.970Z] OpenJDK Runtime Environment Temurin-21.0.6+3-202411152006 (build 21.0.6-beta+3-ea) [2024-11-17T10:04:24.970Z] OpenJDK 64-Bit Server VM Temurin-21.0.6+3-202411152006 (build 21.0.6-beta+3-ea, mixed mode) [2024-11-17T10:04:25.277Z] STF 10:04:24.951 - [2024-11-17T10:04:25.277Z] STF 10:04:24.951 - +------ Step 1 - Create com.hello jar [2024-11-17T10:04:25.277Z] STF 10:04:24.951 - | Create modular jar [2024-11-17T10:04:25.277Z] STF 10:04:24.951 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2024-11-17T10:04:25.277Z] STF 10:04:24.951 - | ModuleVersion: null [2024-11-17T10:04:25.277Z] STF 10:04:24.951 - | MainClass: null [2024-11-17T10:04:25.277Z] STF 10:04:24.951 - | HashModules: null [2024-11-17T10:04:25.277Z] STF 10:04:24.951 - | [2024-11-17T10:04:25.277Z] STF 10:04:24.952 - 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_17318358094769/PatModImg_AppMod_0/20241117-100422-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-11-17T10:04:25.277Z] STF 10:04:24.953 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17318358094769/PatModImg_AppMod_0/20241117-100422-PatModImgTest/results/1.CMJ.stderr [2024-11-17T10:04:25.277Z] STF 10:04:24.953 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17318358094769/PatModImg_AppMod_0/20241117-100422-PatModImgTest/results/1.CMJ.stdout [2024-11-17T10:04:25.277Z] STF 10:04:25.020 - Monitoring processes: CMJ [2024-11-17T10:04:25.277Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-17T10:04:25.580Z] STF 10:04:25.460 - Monitoring Report Summary: [2024-11-17T10:04:25.580Z] STF 10:04:25.460 - o Process CMJ ended with the expected exit code (0) [2024-11-17T10:04:25.580Z] STF 10:04:25.461 - Created modular jar: 1.com.hello.jar [2024-11-17T10:04:25.580Z] STF 10:04:25.461 - [2024-11-17T10:04:25.580Z] STF 10:04:25.461 - +------ Step 2 - Create com.hola jar [2024-11-17T10:04:25.580Z] STF 10:04:25.461 - | Create modular jar [2024-11-17T10:04:25.580Z] STF 10:04:25.461 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2024-11-17T10:04:25.580Z] STF 10:04:25.461 - | ModuleVersion: null [2024-11-17T10:04:25.580Z] STF 10:04:25.461 - | MainClass: null [2024-11-17T10:04:25.580Z] STF 10:04:25.461 - | HashModules: null [2024-11-17T10:04:25.580Z] STF 10:04:25.461 - | [2024-11-17T10:04:25.580Z] STF 10:04:25.462 - 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_17318358094769/PatModImg_AppMod_0/20241117-100422-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-11-17T10:04:25.580Z] STF 10:04:25.462 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17318358094769/PatModImg_AppMod_0/20241117-100422-PatModImgTest/results/2.CMJ.stderr [2024-11-17T10:04:25.580Z] STF 10:04:25.462 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17318358094769/PatModImg_AppMod_0/20241117-100422-PatModImgTest/results/2.CMJ.stdout [2024-11-17T10:04:25.580Z] STF 10:04:25.471 - Monitoring processes: CMJ [2024-11-17T10:04:25.580Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-17T10:04:26.230Z] STF 10:04:25.942 - Monitoring Report Summary: [2024-11-17T10:04:26.230Z] STF 10:04:25.942 - o Process CMJ ended with the expected exit code (0) [2024-11-17T10:04:26.230Z] STF 10:04:25.943 - Created modular jar: 2.com.hola.jar [2024-11-17T10:04:26.230Z] STF 10:04:25.943 - [2024-11-17T10:04:26.230Z] STF 10:04:25.943 - +------ Step 3 - Create com.helper jar [2024-11-17T10:04:26.230Z] STF 10:04:25.944 - | Create modular jar [2024-11-17T10:04:26.230Z] STF 10:04:25.944 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2024-11-17T10:04:26.230Z] STF 10:04:25.944 - | ModuleVersion: null [2024-11-17T10:04:26.230Z] STF 10:04:25.944 - | MainClass: null [2024-11-17T10:04:26.230Z] STF 10:04:25.944 - | HashModules: null [2024-11-17T10:04:26.230Z] STF 10:04:25.944 - | [2024-11-17T10:04:26.230Z] STF 10:04:25.944 - 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_17318358094769/PatModImg_AppMod_0/20241117-100422-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-11-17T10:04:26.230Z] STF 10:04:25.945 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17318358094769/PatModImg_AppMod_0/20241117-100422-PatModImgTest/results/3.CMJ.stderr [2024-11-17T10:04:26.230Z] STF 10:04:25.945 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17318358094769/PatModImg_AppMod_0/20241117-100422-PatModImgTest/results/3.CMJ.stdout [2024-11-17T10:04:26.230Z] STF 10:04:25.955 - Monitoring processes: CMJ [2024-11-17T10:04:26.230Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-17T10:04:26.528Z] STF 10:04:26.392 - Monitoring Report Summary: [2024-11-17T10:04:26.528Z] STF 10:04:26.392 - o Process CMJ ended with the expected exit code (0) [2024-11-17T10:04:26.528Z] STF 10:04:26.393 - Created modular jar: 3.com.helper.jar [2024-11-17T10:04:26.528Z] STF 10:04:26.393 - [2024-11-17T10:04:26.528Z] STF 10:04:26.393 - +------ Step 4 - Create com.discreet jar [2024-11-17T10:04:26.528Z] STF 10:04:26.393 - | Create modular jar [2024-11-17T10:04:26.528Z] STF 10:04:26.393 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2024-11-17T10:04:26.528Z] STF 10:04:26.393 - | ModuleVersion: null [2024-11-17T10:04:26.528Z] STF 10:04:26.393 - | MainClass: null [2024-11-17T10:04:26.528Z] STF 10:04:26.393 - | HashModules: null [2024-11-17T10:04:26.528Z] STF 10:04:26.393 - | [2024-11-17T10:04:26.528Z] STF 10:04:26.394 - 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_17318358094769/PatModImg_AppMod_0/20241117-100422-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-11-17T10:04:26.528Z] STF 10:04:26.394 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17318358094769/PatModImg_AppMod_0/20241117-100422-PatModImgTest/results/4.CMJ.stderr [2024-11-17T10:04:26.528Z] STF 10:04:26.394 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17318358094769/PatModImg_AppMod_0/20241117-100422-PatModImgTest/results/4.CMJ.stdout [2024-11-17T10:04:26.528Z] STF 10:04:26.403 - Monitoring processes: CMJ [2024-11-17T10:04:26.528Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-17T10:04:27.172Z] STF 10:04:26.830 - Monitoring Report Summary: [2024-11-17T10:04:27.172Z] STF 10:04:26.830 - o Process CMJ ended with the expected exit code (0) [2024-11-17T10:04:27.172Z] STF 10:04:26.831 - Created modular jar: 4.com.discreet.jar [2024-11-17T10:04:27.172Z] STF 10:04:26.831 - [2024-11-17T10:04:27.172Z] STF 10:04:26.831 - +------ Step 5 - Create tests jar [2024-11-17T10:04:27.172Z] STF 10:04:26.831 - | Create modular jar [2024-11-17T10:04:27.172Z] STF 10:04:26.831 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2024-11-17T10:04:27.172Z] STF 10:04:26.831 - | ModuleVersion: null [2024-11-17T10:04:27.172Z] STF 10:04:26.831 - | MainClass: null [2024-11-17T10:04:27.172Z] STF 10:04:26.831 - | HashModules: null [2024-11-17T10:04:27.172Z] STF 10:04:26.831 - | [2024-11-17T10:04:27.172Z] STF 10:04:26.832 - 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_17318358094769/PatModImg_AppMod_0/20241117-100422-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-11-17T10:04:27.172Z] STF 10:04:26.832 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17318358094769/PatModImg_AppMod_0/20241117-100422-PatModImgTest/results/5.CMJ.stderr [2024-11-17T10:04:27.172Z] STF 10:04:26.832 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17318358094769/PatModImg_AppMod_0/20241117-100422-PatModImgTest/results/5.CMJ.stdout [2024-11-17T10:04:27.172Z] STF 10:04:26.840 - Monitoring processes: CMJ [2024-11-17T10:04:27.172Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-17T10:04:27.469Z] STF 10:04:27.313 - Monitoring Report Summary: [2024-11-17T10:04:27.469Z] STF 10:04:27.313 - o Process CMJ ended with the expected exit code (0) [2024-11-17T10:04:27.469Z] STF 10:04:27.314 - Created modular jar: 5.com.test.jar [2024-11-17T10:04:27.469Z] STF 10:04:27.314 - [2024-11-17T10:04:27.469Z] STF 10:04:27.314 - +------ Step 6 - Create runtime image for PatchModule test [2024-11-17T10:04:27.469Z] STF 10:04:27.314 - | Run jlink to create runtime image [2024-11-17T10:04:27.469Z] STF 10:04:27.314 - | ImageName: XpJVM [2024-11-17T10:04:27.469Z] STF 10:04:27.314 - | [2024-11-17T10:04:27.469Z] STF 10:04:27.315 - 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_17318358094769\PatModImg_AppMod_0\20241117-100422-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_17318358094769\PatModImg_AppMod_0\20241117-100422-PatModImgTest\tmp\6.XpJVM [2024-11-17T10:04:27.469Z] STF 10:04:27.315 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17318358094769/PatModImg_AppMod_0/20241117-100422-PatModImgTest/results/6.JLNK.stderr [2024-11-17T10:04:27.469Z] STF 10:04:27.315 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17318358094769/PatModImg_AppMod_0/20241117-100422-PatModImgTest/results/6.JLNK.stdout [2024-11-17T10:04:27.469Z] STF 10:04:27.323 - Monitoring processes: JLNK [2024-11-17T10:04:27.469Z] JLNK stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-17T10:04:30.252Z] STF 10:04:29.906 - Monitoring Report Summary: [2024-11-17T10:04:30.252Z] STF 10:04:29.906 - o Process JLNK ended with the expected exit code (0) [2024-11-17T10:04:30.252Z] STF 10:04:29.907 - [2024-11-17T10:04:30.252Z] STF 10:04:29.907 - +------ Step 7 - Create com.hello jar [2024-11-17T10:04:30.252Z] STF 10:04:29.907 - | Create modular jar [2024-11-17T10:04:30.252Z] STF 10:04:29.907 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2024-11-17T10:04:30.252Z] STF 10:04:29.908 - | ModuleVersion: null [2024-11-17T10:04:30.252Z] STF 10:04:29.908 - | MainClass: null [2024-11-17T10:04:30.252Z] STF 10:04:29.908 - | HashModules: null [2024-11-17T10:04:30.252Z] STF 10:04:29.908 - | [2024-11-17T10:04:30.252Z] STF 10:04:29.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_17318358094769/PatModImg_AppMod_0/20241117-100422-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-11-17T10:04:30.252Z] STF 10:04:29.908 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17318358094769/PatModImg_AppMod_0/20241117-100422-PatModImgTest/results/7.CMJ.stderr [2024-11-17T10:04:30.252Z] STF 10:04:29.908 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17318358094769/PatModImg_AppMod_0/20241117-100422-PatModImgTest/results/7.CMJ.stdout [2024-11-17T10:04:30.252Z] STF 10:04:29.916 - Monitoring processes: CMJ [2024-11-17T10:04:30.252Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-17T10:04:30.550Z] STF 10:04:30.344 - Monitoring Report Summary: [2024-11-17T10:04:30.550Z] STF 10:04:30.344 - o Process CMJ ended with the expected exit code (0) [2024-11-17T10:04:30.550Z] STF 10:04:30.345 - Created modular jar: 7.com.hello.jar [2024-11-17T10:04:30.550Z] STF 10:04:30.345 - [2024-11-17T10:04:30.550Z] STF 10:04:30.345 - +------ Step 8 - create java.xml.jar [2024-11-17T10:04:30.550Z] STF 10:04:30.345 - | Create modular jar [2024-11-17T10:04:30.550Z] STF 10:04:30.345 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml [2024-11-17T10:04:30.550Z] STF 10:04:30.345 - | ModuleVersion: null [2024-11-17T10:04:30.550Z] STF 10:04:30.345 - | MainClass: null [2024-11-17T10:04:30.550Z] STF 10:04:30.345 - | HashModules: null [2024-11-17T10:04:30.550Z] STF 10:04:30.345 - | [2024-11-17T10:04:30.550Z] STF 10:04:30.346 - 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_17318358094769/PatModImg_AppMod_0/20241117-100422-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-11-17T10:04:30.551Z] STF 10:04:30.346 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17318358094769/PatModImg_AppMod_0/20241117-100422-PatModImgTest/results/8.CMJ.stderr [2024-11-17T10:04:30.551Z] STF 10:04:30.346 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17318358094769/PatModImg_AppMod_0/20241117-100422-PatModImgTest/results/8.CMJ.stdout [2024-11-17T10:04:30.551Z] STF 10:04:30.354 - Monitoring processes: CMJ [2024-11-17T10:04:30.551Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-17T10:04:30.850Z] STF 10:04:30.786 - Monitoring Report Summary: [2024-11-17T10:04:30.850Z] STF 10:04:30.786 - o Process CMJ ended with the expected exit code (0) [2024-11-17T10:04:30.850Z] STF 10:04:30.787 - Created modular jar: 8.java.xml.jar [2024-11-17T10:04:30.850Z] STF 10:04:30.787 - [2024-11-17T10:04:30.850Z] STF 10:04:30.787 - +------ Step 9 - Verify if we can patch an Application module using exploded directory [2024-11-17T10:04:30.850Z] STF 10:04:30.787 - | Run foreground process [2024-11-17T10:04:30.850Z] STF 10:04:30.787 - | Program: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17318358094769/PatModImg_AppMod_0/20241117-100422-PatModImgTest/tmp/6.XpJVM/bin/java [2024-11-17T10:04:30.850Z] STF 10:04:30.787 - | Mnemonic: OT21 [2024-11-17T10:04:30.850Z] STF 10:04:30.787 - | Echo: ECHO_ON [2024-11-17T10:04:30.850Z] STF 10:04:30.787 - | Expectation: CLEAN_RUN within 5m [2024-11-17T10:04:30.850Z] STF 10:04:30.787 - | [2024-11-17T10:04:30.850Z] STF 10:04:30.788 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17318358094769/PatModImg_AppMod_0/20241117-100422-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-11-17T10:04:30.850Z] STF 10:04:30.788 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17318358094769/PatModImg_AppMod_0/20241117-100422-PatModImgTest/results/9.OT21.stderr [2024-11-17T10:04:30.850Z] STF 10:04:30.788 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17318358094769/PatModImg_AppMod_0/20241117-100422-PatModImgTest/results/9.OT21.stdout [2024-11-17T10:04:31.147Z] STF 10:04:30.821 - Monitoring processes: OT21 [2024-11-17T10:04:31.147Z] OT21 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-17T10:04:31.147Z] 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-11-17T10:04:31.444Z] OT21 JUnit version 4.12 [2024-11-17T10:04:31.444Z] OT21 . [2024-11-17T10:04:31.444Z] OT21 Time: 0.016 [2024-11-17T10:04:31.444Z] OT21 [2024-11-17T10:04:31.444Z] OT21 OK (1 test) [2024-11-17T10:04:31.444Z] OT21 [2024-11-17T10:04:31.444Z] STF 10:04:31.299 - Monitoring Report Summary: [2024-11-17T10:04:31.444Z] STF 10:04:31.299 - o Process OT21 ended with the expected exit code (0) [2024-11-17T10:04:31.444Z] STF 10:04:31.300 - [2024-11-17T10:04:31.444Z] STF 10:04:31.300 - +------ Step 10 - Verify if we can patch an Application module using modular jar [2024-11-17T10:04:31.444Z] STF 10:04:31.300 - | Run foreground process [2024-11-17T10:04:31.444Z] STF 10:04:31.300 - | Program: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17318358094769/PatModImg_AppMod_0/20241117-100422-PatModImgTest/tmp/6.XpJVM/bin/java [2024-11-17T10:04:31.444Z] STF 10:04:31.300 - | Mnemonic: OT22 [2024-11-17T10:04:31.444Z] STF 10:04:31.300 - | Echo: ECHO_ON [2024-11-17T10:04:31.444Z] STF 10:04:31.300 - | Expectation: CLEAN_RUN within 5m [2024-11-17T10:04:31.444Z] STF 10:04:31.300 - | [2024-11-17T10:04:31.444Z] STF 10:04:31.301 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17318358094769/PatModImg_AppMod_0/20241117-100422-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_17318358094769/PatModImg_AppMod_0/20241117-100422-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-11-17T10:04:31.444Z] STF 10:04:31.301 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17318358094769/PatModImg_AppMod_0/20241117-100422-PatModImgTest/results/10.OT22.stderr [2024-11-17T10:04:31.444Z] STF 10:04:31.301 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17318358094769/PatModImg_AppMod_0/20241117-100422-PatModImgTest/results/10.OT22.stdout [2024-11-17T10:04:31.444Z] STF 10:04:31.310 - Monitoring processes: OT22 [2024-11-17T10:04:31.444Z] OT22 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-17T10:04:31.740Z] 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_17318358094769\PatModImg_AppMod_0\20241117-100422-PatModImgTest\modules\7.com.hello.jar [2024-11-17T10:04:31.740Z] OT22 JUnit version 4.12 [2024-11-17T10:04:31.740Z] OT22 . [2024-11-17T10:04:31.740Z] OT22 Time: 0 [2024-11-17T10:04:31.740Z] OT22 [2024-11-17T10:04:31.740Z] OT22 OK (1 test) [2024-11-17T10:04:31.740Z] OT22 [2024-11-17T10:04:31.740Z] STF 10:04:31.674 - Monitoring Report Summary: [2024-11-17T10:04:31.740Z] STF 10:04:31.674 - o Process OT22 ended with the expected exit code (0) [2024-11-17T10:04:31.740Z] STF 10:04:31.675 - EXECUTE stage completed [2024-11-17T10:04:32.038Z] STF 10:04:31.788 - [2024-11-17T10:04:32.038Z] STF 10:04:31.788 - ==================== T E A R D O W N ==================== [2024-11-17T10:04:32.038Z] STF 10:04:31.788 - Running teardown: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17318358094769\PatModImg_AppMod_0/20241117-100422-PatModImgTest/tearDown.pl [2024-11-17T10:04:32.336Z] STF 10:04:32.189 - TEARDOWN stage completed [2024-11-17T10:04:32.336Z] STF 10:04:32.220 - [2024-11-17T10:04:32.336Z] STF 10:04:32.220 - ===================== R E S U L T S ===================== [2024-11-17T10:04:32.336Z] STF 10:04:32.220 - Stage results: [2024-11-17T10:04:32.336Z] STF 10:04:32.220 - setUp: pass [2024-11-17T10:04:32.336Z] STF 10:04:32.220 - execute: pass [2024-11-17T10:04:32.336Z] STF 10:04:32.220 - teardown: pass [2024-11-17T10:04:32.336Z] STF 10:04:32.220 - [2024-11-17T10:04:32.336Z] STF 10:04:32.220 - Overall result: PASSED [2024-11-17T10:04:32.336Z] ----------------------------------- [2024-11-17T10:04:32.336Z] PatModImg_AppMod_0_PASSED [2024-11-17T10:04:32.336Z] ----------------------------------- [2024-11-17T10:04:32.633Z] [2024-11-17T10:04:32.633Z] TEST TEARDOWN: [2024-11-17T10:04:32.633Z] Nothing to be done for teardown. [2024-11-17T10:04:32.982Z] PatModImg_AppMod_0 Finish Time: Sun Nov 17 10:04:32 2024 Epoch Time (ms): 1731837872642