PatModImg_AppMod_2

[2024-08-08T08:35:06.376Z] Running test PatModImg_AppMod_2 ... [2024-08-08T08:35:06.376Z] =============================================== [2024-08-08T08:35:06.376Z] PatModImg_AppMod_2 Start Time: Thu Aug 8 08:35:06 2024 Epoch Time (ms): 1723106106021 [2024-08-08T08:35:06.376Z] variation: Mode1000 [2024-08-08T08:35:06.376Z] JVM_OPTIONS: [2024-08-08T08:35:06.376Z] { \ [2024-08-08T08:35:06.376Z] echo ""; echo "TEST SETUP:"; \ [2024-08-08T08:35:06.376Z] echo "Nothing to be done for setup."; \ [2024-08-08T08:35:06.376Z] mkdir -p "C:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\\TKG\\output_17231021304650\\PatModImg_AppMod_2"; \ [2024-08-08T08:35:06.376Z] cd "C:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\\TKG\\output_17231021304650\\PatModImg_AppMod_2"; \ [2024-08-08T08:35:06.376Z] echo ""; echo "TESTING:"; \ [2024-08-08T08:35:06.376Z] perl C:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests///..//jvmtest\\system\\modularity/../\\STF\\stf.core\\scripts\\stf.pl -test-root="C:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests///..//jvmtest\\system\\modularity/../\\STF;C:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests///..//jvmtest\\system\\modularity/../\\aqa-systemtest""" -systemtest-prereqs="C:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/../../testDependency/system_lib\\" -java-args=' ' -results-root="C:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\\TKG\\output_17231021304650\\PatModImg_AppMod_2" -test=PatModImgTest -test-args="variant=AppMod"; \ [2024-08-08T08:35:06.376Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatModImg_AppMod_2""_PASSED"; echo "-----------------------------------"; cd C:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/; rm -f -r "C:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\\TKG\\output_17231021304650\\PatModImg_AppMod_2"; else echo "-----------------------------------"; echo "PatModImg_AppMod_2""_FAILED"; echo "-----------------------------------"; fi; \ [2024-08-08T08:35:06.376Z] echo ""; echo "TEST TEARDOWN:"; \ [2024-08-08T08:35:06.376Z] echo "Nothing to be done for teardown."; \ [2024-08-08T08:35:06.376Z] } 2>&1 | tee -a "C:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\\TKG\\output_17231021304650\\TestTargetResult"; [2024-08-08T08:35:06.376Z] [2024-08-08T08:35:06.376Z] TEST SETUP: [2024-08-08T08:35:06.376Z] Nothing to be done for setup. [2024-08-08T08:35:06.376Z] [2024-08-08T08:35:06.376Z] TESTING: [2024-08-08T08:35:06.900Z] STF 08:35:06.338 - ========================= S T F ========================= [2024-08-08T08:35:06.900Z] 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_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\TKG\output_17231021304650\PatModImg_AppMod_2 [2024-08-08T08:35:06.900Z] There is 118981 Mb free [2024-08-08T08:35:06.900Z] STF 08:35:06.367 - ================== G E N E R A T I O N ================== [2024-08-08T08:35:06.901Z] STF 08:35:06.369 - Checking JVM: C:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image [2024-08-08T08:35:06.901Z] STF 08:35:06.370 - Starting process to generate scripts: C:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image/bin/java -Dlog4j.skipJansi=true -Djava.system.class.loader=net.adoptopenjdk.stf.runner.StfClassLoader -classpath C:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/../../testDependency/system_lib\/log4j/log4j-api.jar;C:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/../../testDependency/system_lib\/log4j/log4j-core.jar;C:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "C:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\TKG\output_17231021304650\PatModImg_AppMod_2/20240808-083506-PatModImgTest/stf_parameters.properties, , C:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "C:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\TKG\output_17231021304650\PatModImg_AppMod_2/20240808-083506-PatModImgTest" [2024-08-08T08:35:07.424Z] GEN 08:35:07.138 - Found test. Project: 'openjdk.test.modularity' class: 'PatModImgTest.class' Dir: 'C:\Users\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin' [2024-08-08T08:35:07.424Z] GEN 08:35:07.149 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModImgTest' [2024-08-08T08:35:07.424Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2024-08-08T08:35:07.424Z] GEN C:\Users\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayService [2024-08-08T08:35:07.424Z] GEN C:\Users\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper [2024-08-08T08:35:07.424Z] GEN C:\Users\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl1 [2024-08-08T08:35:07.424Z] GEN C:\Users\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet [2024-08-08T08:35:07.424Z] GEN C:\Users\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello [2024-08-08T08:35:07.424Z] GEN C:\Users\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola [2024-08-08T08:35:07.424Z] GEN C:\Users\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl2 [2024-08-08T08:35:07.424Z] GEN C:\Users\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hi [2024-08-08T08:35:07.424Z] GEN C:\Users\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override [2024-08-08T08:35:07.424Z] GEN C:\Users\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override-new [2024-08-08T08:35:07.424Z] GEN C:\Users\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl3 [2024-08-08T08:35:07.424Z] GEN C:\Users\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl4 [2024-08-08T08:35:07.424Z] GEN C:\Users\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common [2024-08-08T08:35:07.424Z] GEN C:\Users\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests [2024-08-08T08:35:07.424Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin [2024-08-08T08:35:07.424Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0\\jvmtest\\system\\STF\\stf.core\\bin [2024-08-08T08:35:07.424Z] GEN C:/Users/jenkins/testDependency/system_lib/log4j/log4j-api.jar [2024-08-08T08:35:07.424Z] GEN C:/Users/jenkins/testDependency/system_lib/log4j/log4j-core.jar [2024-08-08T08:35:07.424Z] GEN C:/Users/jenkins/testDependency/system_lib/junit/junit.jar [2024-08-08T08:35:07.424Z] GEN 08:35:07.329 - Using Mode NoOptions. Values = '' [2024-08-08T08:35:07.946Z] GEN 08:35:07.405 - [2024-08-08T08:35:07.946Z] GEN 08:35:07.405 - Test command summary: [2024-08-08T08:35:07.946Z] GEN 08:35:07.406 - Step Stage Command Description [2024-08-08T08:35:07.946Z] GEN 08:35:07.406 - -----+--------+-----------------+------------ [2024-08-08T08:35:07.946Z] GEN 08:35:07.406 - 1 execute jar Create com.hello jar [2024-08-08T08:35:07.946Z] GEN 08:35:07.406 - 2 execute jar Create com.hola jar [2024-08-08T08:35:07.946Z] GEN 08:35:07.406 - 3 execute jar Create com.helper jar [2024-08-08T08:35:07.946Z] GEN 08:35:07.406 - 4 execute jar Create com.discreet jar [2024-08-08T08:35:07.946Z] GEN 08:35:07.406 - 5 execute jar Create tests jar [2024-08-08T08:35:07.946Z] GEN 08:35:07.406 - 6 execute jlink Create runtime image for PatchModule test [2024-08-08T08:35:07.946Z] GEN 08:35:07.406 - 7 execute jar Create com.hello jar [2024-08-08T08:35:07.946Z] GEN 08:35:07.406 - 8 execute jar create java.xml.jar [2024-08-08T08:35:07.946Z] GEN 08:35:07.406 - 9 execute Run java Verify if we can patch an Application module using exploded directory [2024-08-08T08:35:07.946Z] GEN 08:35:07.406 - 10 execute Run java Verify if we can patch an Application module using modular jar [2024-08-08T08:35:07.946Z] STF 08:35:07.430 - [2024-08-08T08:35:07.946Z] STF 08:35:07.430 - Script generation completed [2024-08-08T08:35:07.946Z] STF 08:35:07.430 - [2024-08-08T08:35:07.946Z] STF 08:35:07.431 - [2024-08-08T08:35:07.946Z] STF 08:35:07.431 - ======================= S E T U P ======================= [2024-08-08T08:35:07.946Z] STF 08:35:07.431 - Running setup: perl C:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\TKG\output_17231021304650\PatModImg_AppMod_2/20240808-083506-PatModImgTest/setUp.pl [2024-08-08T08:35:07.946Z] STF 08:35:07.564 - SETUP stage completed [2024-08-08T08:35:07.946Z] STF 08:35:07.580 - [2024-08-08T08:35:07.946Z] STF 08:35:07.581 - ==================== E X E C U T E - ==================== [2024-08-08T08:35:07.946Z] STF 08:35:07.581 - Running execute: perl C:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\TKG\output_17231021304650\PatModImg_AppMod_2/20240808-083506-PatModImgTest/execute.pl [2024-08-08T08:35:07.946Z] STF 08:35:07.724 - [2024-08-08T08:35:07.946Z] STF 08:35:07.724 - Java version [2024-08-08T08:35:07.946Z] STF 08:35:07.724 - Running: C:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image/bin/java -version [2024-08-08T08:35:07.946Z] openjdk version "17.0.13-beta" 2024-10-15 [2024-08-08T08:35:07.946Z] OpenJDK Runtime Environment Temurin-17.0.13+2-202408072100 (build 17.0.13-beta+2-ea) [2024-08-08T08:35:07.946Z] OpenJDK Client VM Temurin-17.0.13+2-202408072100 (build 17.0.13-beta+2-ea, mixed mode, emulated-client) [2024-08-08T08:35:07.946Z] STF 08:35:07.826 - [2024-08-08T08:35:07.946Z] STF 08:35:07.826 - +------ Step 1 - Create com.hello jar [2024-08-08T08:35:07.946Z] STF 08:35:07.826 - | Create modular jar [2024-08-08T08:35:07.946Z] STF 08:35:07.826 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2024-08-08T08:35:07.946Z] STF 08:35:07.826 - | ModuleVersion: null [2024-08-08T08:35:07.946Z] STF 08:35:07.826 - | MainClass: null [2024-08-08T08:35:07.946Z] STF 08:35:07.826 - | HashModules: null [2024-08-08T08:35:07.946Z] STF 08:35:07.826 - | [2024-08-08T08:35:07.946Z] STF 08:35:07.827 - Running command: C:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17231021304650/PatModImg_AppMod_2/20240808-083506-PatModImgTest/modules/1.com.hello.jar -C C:\Users\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello . [2024-08-08T08:35:07.946Z] STF 08:35:07.827 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17231021304650/PatModImg_AppMod_2/20240808-083506-PatModImgTest/results/1.CMJ.stderr [2024-08-08T08:35:07.946Z] STF 08:35:07.827 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17231021304650/PatModImg_AppMod_2/20240808-083506-PatModImgTest/results/1.CMJ.stdout [2024-08-08T08:35:07.946Z] STF 08:35:07.853 - Monitoring processes: CMJ [2024-08-08T08:35:08.469Z] STF 08:35:08.095 - Monitoring Report Summary: [2024-08-08T08:35:08.470Z] STF 08:35:08.095 - o Process CMJ ended with the expected exit code (0) [2024-08-08T08:35:08.470Z] STF 08:35:08.096 - Created modular jar: 1.com.hello.jar [2024-08-08T08:35:08.470Z] STF 08:35:08.096 - [2024-08-08T08:35:08.470Z] STF 08:35:08.096 - +------ Step 2 - Create com.hola jar [2024-08-08T08:35:08.470Z] STF 08:35:08.096 - | Create modular jar [2024-08-08T08:35:08.470Z] STF 08:35:08.096 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2024-08-08T08:35:08.470Z] STF 08:35:08.096 - | ModuleVersion: null [2024-08-08T08:35:08.470Z] STF 08:35:08.096 - | MainClass: null [2024-08-08T08:35:08.470Z] STF 08:35:08.096 - | HashModules: null [2024-08-08T08:35:08.470Z] STF 08:35:08.096 - | [2024-08-08T08:35:08.470Z] STF 08:35:08.096 - Running command: C:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17231021304650/PatModImg_AppMod_2/20240808-083506-PatModImgTest/modules/2.com.hola.jar -C C:\Users\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola . [2024-08-08T08:35:08.470Z] STF 08:35:08.096 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17231021304650/PatModImg_AppMod_2/20240808-083506-PatModImgTest/results/2.CMJ.stderr [2024-08-08T08:35:08.470Z] STF 08:35:08.096 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17231021304650/PatModImg_AppMod_2/20240808-083506-PatModImgTest/results/2.CMJ.stdout [2024-08-08T08:35:08.470Z] STF 08:35:08.099 - Monitoring processes: CMJ [2024-08-08T08:35:08.470Z] STF 08:35:08.349 - Monitoring Report Summary: [2024-08-08T08:35:08.470Z] STF 08:35:08.349 - o Process CMJ ended with the expected exit code (0) [2024-08-08T08:35:08.470Z] STF 08:35:08.350 - Created modular jar: 2.com.hola.jar [2024-08-08T08:35:08.470Z] STF 08:35:08.350 - [2024-08-08T08:35:08.470Z] STF 08:35:08.350 - +------ Step 3 - Create com.helper jar [2024-08-08T08:35:08.470Z] STF 08:35:08.350 - | Create modular jar [2024-08-08T08:35:08.470Z] STF 08:35:08.350 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2024-08-08T08:35:08.470Z] STF 08:35:08.350 - | ModuleVersion: null [2024-08-08T08:35:08.470Z] STF 08:35:08.350 - | MainClass: null [2024-08-08T08:35:08.470Z] STF 08:35:08.350 - | HashModules: null [2024-08-08T08:35:08.470Z] STF 08:35:08.350 - | [2024-08-08T08:35:08.470Z] STF 08:35:08.350 - Running command: C:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17231021304650/PatModImg_AppMod_2/20240808-083506-PatModImgTest/modules/3.com.helper.jar -C C:\Users\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper . [2024-08-08T08:35:08.470Z] STF 08:35:08.350 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17231021304650/PatModImg_AppMod_2/20240808-083506-PatModImgTest/results/3.CMJ.stderr [2024-08-08T08:35:08.470Z] STF 08:35:08.350 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17231021304650/PatModImg_AppMod_2/20240808-083506-PatModImgTest/results/3.CMJ.stdout [2024-08-08T08:35:08.470Z] STF 08:35:08.353 - Monitoring processes: CMJ [2024-08-08T08:35:08.992Z] STF 08:35:08.589 - Monitoring Report Summary: [2024-08-08T08:35:08.992Z] STF 08:35:08.589 - o Process CMJ ended with the expected exit code (0) [2024-08-08T08:35:08.992Z] STF 08:35:08.590 - Created modular jar: 3.com.helper.jar [2024-08-08T08:35:08.992Z] STF 08:35:08.590 - [2024-08-08T08:35:08.992Z] STF 08:35:08.590 - +------ Step 4 - Create com.discreet jar [2024-08-08T08:35:08.992Z] STF 08:35:08.590 - | Create modular jar [2024-08-08T08:35:08.992Z] STF 08:35:08.590 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2024-08-08T08:35:08.992Z] STF 08:35:08.590 - | ModuleVersion: null [2024-08-08T08:35:08.992Z] STF 08:35:08.590 - | MainClass: null [2024-08-08T08:35:08.992Z] STF 08:35:08.590 - | HashModules: null [2024-08-08T08:35:08.992Z] STF 08:35:08.590 - | [2024-08-08T08:35:08.992Z] STF 08:35:08.590 - Running command: C:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17231021304650/PatModImg_AppMod_2/20240808-083506-PatModImgTest/modules/4.com.discreet.jar -C C:\Users\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet . [2024-08-08T08:35:08.992Z] STF 08:35:08.590 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17231021304650/PatModImg_AppMod_2/20240808-083506-PatModImgTest/results/4.CMJ.stderr [2024-08-08T08:35:08.992Z] STF 08:35:08.590 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17231021304650/PatModImg_AppMod_2/20240808-083506-PatModImgTest/results/4.CMJ.stdout [2024-08-08T08:35:08.992Z] STF 08:35:08.593 - Monitoring processes: CMJ [2024-08-08T08:35:08.992Z] STF 08:35:08.834 - Monitoring Report Summary: [2024-08-08T08:35:08.992Z] STF 08:35:08.834 - o Process CMJ ended with the expected exit code (0) [2024-08-08T08:35:08.992Z] STF 08:35:08.835 - Created modular jar: 4.com.discreet.jar [2024-08-08T08:35:08.992Z] STF 08:35:08.835 - [2024-08-08T08:35:08.992Z] STF 08:35:08.835 - +------ Step 5 - Create tests jar [2024-08-08T08:35:08.992Z] STF 08:35:08.835 - | Create modular jar [2024-08-08T08:35:08.992Z] STF 08:35:08.835 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2024-08-08T08:35:08.992Z] STF 08:35:08.835 - | ModuleVersion: null [2024-08-08T08:35:08.993Z] STF 08:35:08.835 - | MainClass: null [2024-08-08T08:35:08.993Z] STF 08:35:08.835 - | HashModules: null [2024-08-08T08:35:08.993Z] STF 08:35:08.835 - | [2024-08-08T08:35:08.993Z] STF 08:35:08.835 - Running command: C:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17231021304650/PatModImg_AppMod_2/20240808-083506-PatModImgTest/modules/5.com.test.jar -C C:\Users\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests\com.test . [2024-08-08T08:35:08.993Z] STF 08:35:08.835 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17231021304650/PatModImg_AppMod_2/20240808-083506-PatModImgTest/results/5.CMJ.stderr [2024-08-08T08:35:08.993Z] STF 08:35:08.835 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17231021304650/PatModImg_AppMod_2/20240808-083506-PatModImgTest/results/5.CMJ.stdout [2024-08-08T08:35:08.993Z] STF 08:35:08.838 - Monitoring processes: CMJ [2024-08-08T08:35:09.516Z] STF 08:35:09.099 - Monitoring Report Summary: [2024-08-08T08:35:09.516Z] STF 08:35:09.099 - o Process CMJ ended with the expected exit code (0) [2024-08-08T08:35:09.516Z] STF 08:35:09.100 - Created modular jar: 5.com.test.jar [2024-08-08T08:35:09.516Z] STF 08:35:09.100 - [2024-08-08T08:35:09.516Z] STF 08:35:09.100 - +------ Step 6 - Create runtime image for PatchModule test [2024-08-08T08:35:09.516Z] STF 08:35:09.100 - | Run jlink to create runtime image [2024-08-08T08:35:09.516Z] STF 08:35:09.100 - | ImageName: XpJVM [2024-08-08T08:35:09.516Z] STF 08:35:09.100 - | [2024-08-08T08:35:09.516Z] STF 08:35:09.100 - Running command: C:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image/bin/jlink --module-path C:\Users\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0\jdkbinary\j2sdk-image\jmods;C:\Users\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0\aqa-tests\TKG\output_17231021304650\PatModImg_AppMod_2\20240808-083506-PatModImgTest\modules --add-modules com.hello,com.hola,com.test,com.helper,com.discreet --output C:\Users\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0\aqa-tests\TKG\output_17231021304650\PatModImg_AppMod_2\20240808-083506-PatModImgTest\tmp\6.XpJVM [2024-08-08T08:35:09.516Z] STF 08:35:09.100 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17231021304650/PatModImg_AppMod_2/20240808-083506-PatModImgTest/results/6.JLNK.stderr [2024-08-08T08:35:09.516Z] STF 08:35:09.100 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17231021304650/PatModImg_AppMod_2/20240808-083506-PatModImgTest/results/6.JLNK.stdout [2024-08-08T08:35:09.516Z] STF 08:35:09.103 - Monitoring processes: JLNK [2024-08-08T08:35:11.246Z] STF 08:35:10.742 - Monitoring Report Summary: [2024-08-08T08:35:11.246Z] STF 08:35:10.742 - o Process JLNK ended with the expected exit code (0) [2024-08-08T08:35:11.246Z] STF 08:35:10.743 - [2024-08-08T08:35:11.246Z] STF 08:35:10.743 - +------ Step 7 - Create com.hello jar [2024-08-08T08:35:11.246Z] STF 08:35:10.743 - | Create modular jar [2024-08-08T08:35:11.246Z] STF 08:35:10.743 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2024-08-08T08:35:11.246Z] STF 08:35:10.743 - | ModuleVersion: null [2024-08-08T08:35:11.246Z] STF 08:35:10.743 - | MainClass: null [2024-08-08T08:35:11.246Z] STF 08:35:10.743 - | HashModules: null [2024-08-08T08:35:11.246Z] STF 08:35:10.743 - | [2024-08-08T08:35:11.246Z] STF 08:35:10.743 - Running command: C:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17231021304650/PatModImg_AppMod_2/20240808-083506-PatModImgTest/modules/7.com.hello.jar -C C:\Users\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.hello . [2024-08-08T08:35:11.246Z] STF 08:35:10.743 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17231021304650/PatModImg_AppMod_2/20240808-083506-PatModImgTest/results/7.CMJ.stderr [2024-08-08T08:35:11.246Z] STF 08:35:10.743 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17231021304650/PatModImg_AppMod_2/20240808-083506-PatModImgTest/results/7.CMJ.stdout [2024-08-08T08:35:11.246Z] STF 08:35:10.746 - Monitoring processes: CMJ [2024-08-08T08:35:11.246Z] STF 08:35:10.977 - Monitoring Report Summary: [2024-08-08T08:35:11.246Z] STF 08:35:10.977 - o Process CMJ ended with the expected exit code (0) [2024-08-08T08:35:11.246Z] STF 08:35:10.978 - Created modular jar: 7.com.hello.jar [2024-08-08T08:35:11.246Z] STF 08:35:10.978 - [2024-08-08T08:35:11.246Z] STF 08:35:10.978 - +------ Step 8 - create java.xml.jar [2024-08-08T08:35:11.246Z] STF 08:35:10.978 - | Create modular jar [2024-08-08T08:35:11.246Z] STF 08:35:10.978 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml [2024-08-08T08:35:11.246Z] STF 08:35:10.978 - | ModuleVersion: null [2024-08-08T08:35:11.246Z] STF 08:35:10.978 - | MainClass: null [2024-08-08T08:35:11.246Z] STF 08:35:10.978 - | HashModules: null [2024-08-08T08:35:11.246Z] STF 08:35:10.978 - | [2024-08-08T08:35:11.246Z] STF 08:35:10.978 - Running command: C:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17231021304650/PatModImg_AppMod_2/20240808-083506-PatModImgTest/modules/8.java.xml.jar -C C:\Users\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\java.xml . [2024-08-08T08:35:11.246Z] STF 08:35:10.978 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17231021304650/PatModImg_AppMod_2/20240808-083506-PatModImgTest/results/8.CMJ.stderr [2024-08-08T08:35:11.246Z] STF 08:35:10.978 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17231021304650/PatModImg_AppMod_2/20240808-083506-PatModImgTest/results/8.CMJ.stdout [2024-08-08T08:35:11.246Z] STF 08:35:10.981 - Monitoring processes: CMJ [2024-08-08T08:35:11.768Z] STF 08:35:11.212 - Monitoring Report Summary: [2024-08-08T08:35:11.768Z] STF 08:35:11.212 - o Process CMJ ended with the expected exit code (0) [2024-08-08T08:35:11.768Z] STF 08:35:11.213 - Created modular jar: 8.java.xml.jar [2024-08-08T08:35:11.768Z] STF 08:35:11.213 - [2024-08-08T08:35:11.768Z] STF 08:35:11.213 - +------ Step 9 - Verify if we can patch an Application module using exploded directory [2024-08-08T08:35:11.768Z] STF 08:35:11.213 - | Run foreground process [2024-08-08T08:35:11.768Z] STF 08:35:11.213 - | Program: C:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17231021304650/PatModImg_AppMod_2/20240808-083506-PatModImgTest/tmp/6.XpJVM/bin/java [2024-08-08T08:35:11.768Z] STF 08:35:11.213 - | Mnemonic: OT21 [2024-08-08T08:35:11.768Z] STF 08:35:11.213 - | Echo: ECHO_ON [2024-08-08T08:35:11.768Z] STF 08:35:11.213 - | Expectation: CLEAN_RUN within 5m [2024-08-08T08:35:11.768Z] STF 08:35:11.213 - | [2024-08-08T08:35:11.768Z] STF 08:35:11.213 - Running command: C:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17231021304650/PatModImg_AppMod_2/20240808-083506-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module com.hello=C:\Users\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.hello -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-08-08T08:35:11.768Z] STF 08:35:11.213 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17231021304650/PatModImg_AppMod_2/20240808-083506-PatModImgTest/results/9.OT21.stderr [2024-08-08T08:35:11.768Z] STF 08:35:11.213 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17231021304650/PatModImg_AppMod_2/20240808-083506-PatModImgTest/results/9.OT21.stdout [2024-08-08T08:35:11.768Z] STF 08:35:11.222 - Monitoring processes: OT21 [2024-08-08T08:35:11.768Z] OT21 stderr WARNING: module-info.class ignored in patch: C:\Users\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.hello [2024-08-08T08:35:11.768Z] OT21 JUnit version 4.12 [2024-08-08T08:35:11.768Z] OT21 . [2024-08-08T08:35:11.768Z] OT21 Time: 0.004 [2024-08-08T08:35:11.768Z] OT21 [2024-08-08T08:35:11.768Z] OT21 OK (1 test) [2024-08-08T08:35:11.768Z] OT21 [2024-08-08T08:35:11.768Z] STF 08:35:11.481 - Monitoring Report Summary: [2024-08-08T08:35:11.768Z] STF 08:35:11.481 - o Process OT21 ended with the expected exit code (0) [2024-08-08T08:35:11.768Z] STF 08:35:11.481 - [2024-08-08T08:35:11.768Z] STF 08:35:11.481 - +------ Step 10 - Verify if we can patch an Application module using modular jar [2024-08-08T08:35:11.768Z] STF 08:35:11.481 - | Run foreground process [2024-08-08T08:35:11.768Z] STF 08:35:11.481 - | Program: C:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17231021304650/PatModImg_AppMod_2/20240808-083506-PatModImgTest/tmp/6.XpJVM/bin/java [2024-08-08T08:35:11.768Z] STF 08:35:11.481 - | Mnemonic: OT22 [2024-08-08T08:35:11.768Z] STF 08:35:11.481 - | Echo: ECHO_ON [2024-08-08T08:35:11.768Z] STF 08:35:11.481 - | Expectation: CLEAN_RUN within 5m [2024-08-08T08:35:11.768Z] STF 08:35:11.481 - | [2024-08-08T08:35:11.768Z] STF 08:35:11.481 - Running command: C:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17231021304650/PatModImg_AppMod_2/20240808-083506-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module com.hello=C:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17231021304650/PatModImg_AppMod_2/20240808-083506-PatModImgTest/modules/7.com.hello.jar -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-08-08T08:35:11.769Z] STF 08:35:11.481 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17231021304650/PatModImg_AppMod_2/20240808-083506-PatModImgTest/results/10.OT22.stderr [2024-08-08T08:35:11.769Z] STF 08:35:11.481 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17231021304650/PatModImg_AppMod_2/20240808-083506-PatModImgTest/results/10.OT22.stdout [2024-08-08T08:35:11.769Z] STF 08:35:11.487 - Monitoring processes: OT22 [2024-08-08T08:35:11.769Z] OT22 stderr WARNING: module-info.class ignored in patch: C:\Users\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0\aqa-tests\TKG\output_17231021304650\PatModImg_AppMod_2\20240808-083506-PatModImgTest\modules\7.com.hello.jar [2024-08-08T08:35:11.769Z] OT22 JUnit version 4.12 [2024-08-08T08:35:11.769Z] OT22 . [2024-08-08T08:35:12.291Z] OT22 Time: 0.004 [2024-08-08T08:35:12.291Z] OT22 [2024-08-08T08:35:12.291Z] OT22 OK (1 test) [2024-08-08T08:35:12.291Z] OT22 [2024-08-08T08:35:12.291Z] STF 08:35:11.717 - Monitoring Report Summary: [2024-08-08T08:35:12.291Z] STF 08:35:11.717 - o Process OT22 ended with the expected exit code (0) [2024-08-08T08:35:12.291Z] STF 08:35:11.717 - EXECUTE stage completed [2024-08-08T08:35:12.291Z] STF 08:35:11.739 - [2024-08-08T08:35:12.291Z] STF 08:35:11.739 - ==================== T E A R D O W N ==================== [2024-08-08T08:35:12.291Z] STF 08:35:11.739 - Running teardown: perl C:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\TKG\output_17231021304650\PatModImg_AppMod_2/20240808-083506-PatModImgTest/tearDown.pl [2024-08-08T08:35:12.291Z] STF 08:35:11.852 - TEARDOWN stage completed [2024-08-08T08:35:12.291Z] STF 08:35:11.863 - [2024-08-08T08:35:12.291Z] STF 08:35:11.863 - ===================== R E S U L T S ===================== [2024-08-08T08:35:12.291Z] STF 08:35:11.863 - Stage results: [2024-08-08T08:35:12.291Z] STF 08:35:11.863 - setUp: pass [2024-08-08T08:35:12.291Z] STF 08:35:11.863 - execute: pass [2024-08-08T08:35:12.291Z] STF 08:35:11.863 - teardown: pass [2024-08-08T08:35:12.291Z] STF 08:35:11.863 - [2024-08-08T08:35:12.291Z] STF 08:35:11.863 - Overall result: PASSED [2024-08-08T08:35:12.291Z] ----------------------------------- [2024-08-08T08:35:12.291Z] PatModImg_AppMod_2_PASSED [2024-08-08T08:35:12.291Z] ----------------------------------- [2024-08-08T08:35:12.291Z] [2024-08-08T08:35:12.291Z] TEST TEARDOWN: [2024-08-08T08:35:12.291Z] Nothing to be done for teardown. [2024-08-08T08:35:12.291Z] PatModImg_AppMod_2 Finish Time: Thu Aug 8 08:35:12 2024 Epoch Time (ms): 1723106112017