PatModImg_AppMod_2

[2024-08-01T10:14:09.525Z] Running test PatModImg_AppMod_2 ... [2024-08-01T10:14:09.525Z] =============================================== [2024-08-01T10:14:09.836Z] PatModImg_AppMod_2 Start Time: Thu Aug 1 10:14:09 2024 Epoch Time (ms): 1722507249555 [2024-08-01T10:14:09.836Z] variation: Mode1000 [2024-08-01T10:14:09.836Z] JVM_OPTIONS: [2024-08-01T10:14:09.836Z] { \ [2024-08-01T10:14:09.836Z] echo ""; echo "TEST SETUP:"; \ [2024-08-01T10:14:09.836Z] echo "Nothing to be done for setup."; \ [2024-08-01T10:14:09.836Z] mkdir -p "F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\\TKG\\output_17225033243813\\PatModImg_AppMod_2"; \ [2024-08-01T10:14:09.836Z] cd "F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\\TKG\\output_17225033243813\\PatModImg_AppMod_2"; \ [2024-08-01T10:14:09.836Z] echo ""; echo "TESTING:"; \ [2024-08-01T10:14:09.836Z] perl F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests///..//jvmtest\\system\\modularity/../\\STF\\stf.core\\scripts\\stf.pl -test-root="F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests///..//jvmtest\\system\\modularity/../\\STF;F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests///..//jvmtest\\system\\modularity/../\\aqa-systemtest""" -systemtest-prereqs="F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/../../testDependency/system_lib\\" -java-args=' ' -results-root="F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\\TKG\\output_17225033243813\\PatModImg_AppMod_2" -test=PatModImgTest -test-args="variant=AppMod"; \ [2024-08-01T10:14:09.836Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatModImg_AppMod_2""_PASSED"; echo "-----------------------------------"; cd F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/; rm -f -r "F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\\TKG\\output_17225033243813\\PatModImg_AppMod_2"; else echo "-----------------------------------"; echo "PatModImg_AppMod_2""_FAILED"; echo "-----------------------------------"; fi; \ [2024-08-01T10:14:09.836Z] echo ""; echo "TEST TEARDOWN:"; \ [2024-08-01T10:14:09.836Z] echo "Nothing to be done for teardown."; \ [2024-08-01T10:14:09.836Z] } 2>&1 | tee -a "F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\\TKG\\output_17225033243813\\TestTargetResult"; [2024-08-01T10:14:10.149Z] [2024-08-01T10:14:10.149Z] TEST SETUP: [2024-08-01T10:14:10.149Z] Nothing to be done for setup. [2024-08-01T10:14:10.149Z] [2024-08-01T10:14:10.149Z] TESTING: [2024-08-01T10:14:10.149Z] STF 10:14:09.877 - ========================= S T F ========================= [2024-08-01T10:14:10.149Z] systemtest-prereqs has been processed, and set to: F:/workspace/testDependency/system_libRetrieving amount of free space on drive containing F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\TKG\output_17225033243813\PatModImg_AppMod_2 [2024-08-01T10:14:10.149Z] There is 113204 Mb free [2024-08-01T10:14:10.149Z] STF 10:14:09.910 - ================== G E N E R A T I O N ================== [2024-08-01T10:14:10.149Z] STF 10:14:09.915 - Checking JVM: F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image [2024-08-01T10:14:10.149Z] STF 10:14:09.915 - Starting process to generate scripts: F:/workspace/workspace/Test_openjdk11_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 F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/../../testDependency/system_lib\/log4j/log4j-api.jar;F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/../../testDependency/system_lib\/log4j/log4j-core.jar;F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\TKG\output_17225033243813\PatModImg_AppMod_2/20240801-101409-PatModImgTest/stf_parameters.properties, , F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\TKG\output_17225033243813\PatModImg_AppMod_2/20240801-101409-PatModImgTest" [2024-08-01T10:14:10.824Z] GEN 10:14:10.757 - Found test. Project: 'openjdk.test.modularity' class: 'PatModImgTest.class' Dir: 'F:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin' [2024-08-01T10:14:10.824Z] GEN 10:14:10.766 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModImgTest' [2024-08-01T10:14:11.135Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2024-08-01T10:14:11.135Z] GEN F:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayService [2024-08-01T10:14:11.135Z] GEN F:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper [2024-08-01T10:14:11.135Z] GEN F:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl1 [2024-08-01T10:14:11.135Z] GEN F:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet [2024-08-01T10:14:11.135Z] GEN F:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello [2024-08-01T10:14:11.135Z] GEN F:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola [2024-08-01T10:14:11.135Z] GEN F:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl2 [2024-08-01T10:14:11.135Z] GEN F:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hi [2024-08-01T10:14:11.135Z] GEN F:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override [2024-08-01T10:14:11.135Z] GEN F:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override-new [2024-08-01T10:14:11.135Z] GEN F:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl3 [2024-08-01T10:14:11.135Z] GEN F:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl4 [2024-08-01T10:14:11.135Z] GEN F:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common [2024-08-01T10:14:11.135Z] GEN F:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests [2024-08-01T10:14:11.135Z] GEN F:\\workspace\\workspace\\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin [2024-08-01T10:14:11.135Z] GEN F:\\workspace\\workspace\\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\\jvmtest\\system\\STF\\stf.core\\bin [2024-08-01T10:14:11.135Z] GEN F:/workspace/testDependency/system_lib/log4j/log4j-api.jar [2024-08-01T10:14:11.135Z] GEN F:/workspace/testDependency/system_lib/log4j/log4j-core.jar [2024-08-01T10:14:11.135Z] GEN F:/workspace/testDependency/system_lib/junit/junit.jar [2024-08-01T10:14:11.135Z] GEN 10:14:10.971 - Using Mode NoOptions. Values = '' [2024-08-01T10:14:11.135Z] GEN 10:14:11.061 - [2024-08-01T10:14:11.135Z] GEN 10:14:11.061 - Test command summary: [2024-08-01T10:14:11.135Z] GEN 10:14:11.061 - Step Stage Command Description [2024-08-01T10:14:11.135Z] GEN 10:14:11.062 - -----+--------+-----------------+------------ [2024-08-01T10:14:11.135Z] GEN 10:14:11.062 - 1 execute jar Create com.hello jar [2024-08-01T10:14:11.135Z] GEN 10:14:11.062 - 2 execute jar Create com.hola jar [2024-08-01T10:14:11.135Z] GEN 10:14:11.062 - 3 execute jar Create com.helper jar [2024-08-01T10:14:11.135Z] GEN 10:14:11.062 - 4 execute jar Create com.discreet jar [2024-08-01T10:14:11.135Z] GEN 10:14:11.062 - 5 execute jar Create tests jar [2024-08-01T10:14:11.135Z] GEN 10:14:11.062 - 6 execute jlink Create runtime image for PatchModule test [2024-08-01T10:14:11.135Z] GEN 10:14:11.062 - 7 execute jar Create com.hello jar [2024-08-01T10:14:11.135Z] GEN 10:14:11.062 - 8 execute jar create java.xml.jar [2024-08-01T10:14:11.135Z] GEN 10:14:11.062 - 9 execute Run java Verify if we can patch an Application module using exploded directory [2024-08-01T10:14:11.135Z] GEN 10:14:11.062 - 10 execute Run java Verify if we can patch an Application module using modular jar [2024-08-01T10:14:11.135Z] STF 10:14:11.092 - [2024-08-01T10:14:11.135Z] STF 10:14:11.092 - Script generation completed [2024-08-01T10:14:11.135Z] STF 10:14:11.092 - [2024-08-01T10:14:11.135Z] STF 10:14:11.092 - [2024-08-01T10:14:11.135Z] STF 10:14:11.092 - ======================= S E T U P ======================= [2024-08-01T10:14:11.135Z] STF 10:14:11.092 - Running setup: perl F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\TKG\output_17225033243813\PatModImg_AppMod_2/20240801-101409-PatModImgTest/setUp.pl [2024-08-01T10:14:11.448Z] STF 10:14:11.229 - SETUP stage completed [2024-08-01T10:14:11.448Z] STF 10:14:11.242 - [2024-08-01T10:14:11.448Z] STF 10:14:11.242 - ==================== E X E C U T E - ==================== [2024-08-01T10:14:11.448Z] STF 10:14:11.242 - Running execute: perl F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\TKG\output_17225033243813\PatModImg_AppMod_2/20240801-101409-PatModImgTest/execute.pl [2024-08-01T10:14:11.448Z] STF 10:14:11.374 - [2024-08-01T10:14:11.448Z] STF 10:14:11.374 - Java version [2024-08-01T10:14:11.448Z] STF 10:14:11.374 - Running: F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image/bin/java -version [2024-08-01T10:14:11.760Z] openjdk version "11.0.25-beta" 2024-10-15 [2024-08-01T10:14:11.760Z] OpenJDK Runtime Environment Temurin-11.0.25+1-202407312219 (build 11.0.25-beta+1-ea) [2024-08-01T10:14:11.760Z] OpenJDK Client VM Temurin-11.0.25+1-202407312219 (build 11.0.25-beta+1-ea, mixed mode) [2024-08-01T10:14:11.760Z] STF 10:14:11.472 - [2024-08-01T10:14:11.761Z] STF 10:14:11.472 - +------ Step 1 - Create com.hello jar [2024-08-01T10:14:11.761Z] STF 10:14:11.472 - | Create modular jar [2024-08-01T10:14:11.761Z] STF 10:14:11.472 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2024-08-01T10:14:11.761Z] STF 10:14:11.472 - | ModuleVersion: null [2024-08-01T10:14:11.761Z] STF 10:14:11.472 - | MainClass: null [2024-08-01T10:14:11.761Z] STF 10:14:11.472 - | HashModules: null [2024-08-01T10:14:11.761Z] STF 10:14:11.472 - | [2024-08-01T10:14:11.761Z] STF 10:14:11.473 - Running command: F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17225033243813/PatModImg_AppMod_2/20240801-101409-PatModImgTest/modules/1.com.hello.jar -C F:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello . [2024-08-01T10:14:11.761Z] STF 10:14:11.474 - Redirecting stderr to F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17225033243813/PatModImg_AppMod_2/20240801-101409-PatModImgTest/results/1.CMJ.stderr [2024-08-01T10:14:11.761Z] STF 10:14:11.474 - Redirecting stdout to F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17225033243813/PatModImg_AppMod_2/20240801-101409-PatModImgTest/results/1.CMJ.stdout [2024-08-01T10:14:11.761Z] STF 10:14:11.500 - Monitoring processes: CMJ [2024-08-01T10:14:12.074Z] STF 10:14:11.755 - Monitoring Report Summary: [2024-08-01T10:14:12.074Z] STF 10:14:11.755 - o Process CMJ ended with the expected exit code (0) [2024-08-01T10:14:12.074Z] STF 10:14:11.756 - Created modular jar: 1.com.hello.jar [2024-08-01T10:14:12.074Z] STF 10:14:11.756 - [2024-08-01T10:14:12.074Z] STF 10:14:11.756 - +------ Step 2 - Create com.hola jar [2024-08-01T10:14:12.074Z] STF 10:14:11.756 - | Create modular jar [2024-08-01T10:14:12.074Z] STF 10:14:11.756 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2024-08-01T10:14:12.074Z] STF 10:14:11.756 - | ModuleVersion: null [2024-08-01T10:14:12.074Z] STF 10:14:11.756 - | MainClass: null [2024-08-01T10:14:12.074Z] STF 10:14:11.756 - | HashModules: null [2024-08-01T10:14:12.074Z] STF 10:14:11.756 - | [2024-08-01T10:14:12.074Z] STF 10:14:11.756 - Running command: F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17225033243813/PatModImg_AppMod_2/20240801-101409-PatModImgTest/modules/2.com.hola.jar -C F:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola . [2024-08-01T10:14:12.074Z] STF 10:14:11.756 - Redirecting stderr to F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17225033243813/PatModImg_AppMod_2/20240801-101409-PatModImgTest/results/2.CMJ.stderr [2024-08-01T10:14:12.074Z] STF 10:14:11.756 - Redirecting stdout to F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17225033243813/PatModImg_AppMod_2/20240801-101409-PatModImgTest/results/2.CMJ.stdout [2024-08-01T10:14:12.074Z] STF 10:14:11.759 - Monitoring processes: CMJ [2024-08-01T10:14:12.074Z] STF 10:14:12.036 - Monitoring Report Summary: [2024-08-01T10:14:12.074Z] STF 10:14:12.036 - o Process CMJ ended with the expected exit code (0) [2024-08-01T10:14:12.074Z] STF 10:14:12.036 - Created modular jar: 2.com.hola.jar [2024-08-01T10:14:12.074Z] STF 10:14:12.036 - [2024-08-01T10:14:12.074Z] STF 10:14:12.036 - +------ Step 3 - Create com.helper jar [2024-08-01T10:14:12.074Z] STF 10:14:12.036 - | Create modular jar [2024-08-01T10:14:12.074Z] STF 10:14:12.036 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2024-08-01T10:14:12.074Z] STF 10:14:12.036 - | ModuleVersion: null [2024-08-01T10:14:12.074Z] STF 10:14:12.036 - | MainClass: null [2024-08-01T10:14:12.074Z] STF 10:14:12.036 - | HashModules: null [2024-08-01T10:14:12.074Z] STF 10:14:12.036 - | [2024-08-01T10:14:12.074Z] STF 10:14:12.036 - Running command: F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17225033243813/PatModImg_AppMod_2/20240801-101409-PatModImgTest/modules/3.com.helper.jar -C F:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper . [2024-08-01T10:14:12.074Z] STF 10:14:12.036 - Redirecting stderr to F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17225033243813/PatModImg_AppMod_2/20240801-101409-PatModImgTest/results/3.CMJ.stderr [2024-08-01T10:14:12.074Z] STF 10:14:12.036 - Redirecting stdout to F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17225033243813/PatModImg_AppMod_2/20240801-101409-PatModImgTest/results/3.CMJ.stdout [2024-08-01T10:14:12.074Z] STF 10:14:12.039 - Monitoring processes: CMJ [2024-08-01T10:14:12.386Z] STF 10:14:12.301 - Monitoring Report Summary: [2024-08-01T10:14:12.387Z] STF 10:14:12.301 - o Process CMJ ended with the expected exit code (0) [2024-08-01T10:14:12.387Z] STF 10:14:12.301 - Created modular jar: 3.com.helper.jar [2024-08-01T10:14:12.387Z] STF 10:14:12.301 - [2024-08-01T10:14:12.387Z] STF 10:14:12.301 - +------ Step 4 - Create com.discreet jar [2024-08-01T10:14:12.387Z] STF 10:14:12.301 - | Create modular jar [2024-08-01T10:14:12.387Z] STF 10:14:12.301 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2024-08-01T10:14:12.387Z] STF 10:14:12.301 - | ModuleVersion: null [2024-08-01T10:14:12.387Z] STF 10:14:12.301 - | MainClass: null [2024-08-01T10:14:12.387Z] STF 10:14:12.301 - | HashModules: null [2024-08-01T10:14:12.387Z] STF 10:14:12.301 - | [2024-08-01T10:14:12.387Z] STF 10:14:12.301 - Running command: F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17225033243813/PatModImg_AppMod_2/20240801-101409-PatModImgTest/modules/4.com.discreet.jar -C F:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet . [2024-08-01T10:14:12.387Z] STF 10:14:12.301 - Redirecting stderr to F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17225033243813/PatModImg_AppMod_2/20240801-101409-PatModImgTest/results/4.CMJ.stderr [2024-08-01T10:14:12.387Z] STF 10:14:12.301 - Redirecting stdout to F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17225033243813/PatModImg_AppMod_2/20240801-101409-PatModImgTest/results/4.CMJ.stdout [2024-08-01T10:14:12.387Z] STF 10:14:12.305 - Monitoring processes: CMJ [2024-08-01T10:14:12.699Z] STF 10:14:12.569 - Monitoring Report Summary: [2024-08-01T10:14:12.699Z] STF 10:14:12.569 - o Process CMJ ended with the expected exit code (0) [2024-08-01T10:14:12.699Z] STF 10:14:12.569 - Created modular jar: 4.com.discreet.jar [2024-08-01T10:14:12.699Z] STF 10:14:12.569 - [2024-08-01T10:14:12.699Z] STF 10:14:12.569 - +------ Step 5 - Create tests jar [2024-08-01T10:14:12.699Z] STF 10:14:12.569 - | Create modular jar [2024-08-01T10:14:12.699Z] STF 10:14:12.569 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2024-08-01T10:14:12.699Z] STF 10:14:12.569 - | ModuleVersion: null [2024-08-01T10:14:12.699Z] STF 10:14:12.569 - | MainClass: null [2024-08-01T10:14:12.699Z] STF 10:14:12.569 - | HashModules: null [2024-08-01T10:14:12.699Z] STF 10:14:12.569 - | [2024-08-01T10:14:12.699Z] STF 10:14:12.569 - Running command: F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17225033243813/PatModImg_AppMod_2/20240801-101409-PatModImgTest/modules/5.com.test.jar -C F:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests\com.test . [2024-08-01T10:14:12.699Z] STF 10:14:12.569 - Redirecting stderr to F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17225033243813/PatModImg_AppMod_2/20240801-101409-PatModImgTest/results/5.CMJ.stderr [2024-08-01T10:14:12.699Z] STF 10:14:12.569 - Redirecting stdout to F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17225033243813/PatModImg_AppMod_2/20240801-101409-PatModImgTest/results/5.CMJ.stdout [2024-08-01T10:14:12.699Z] STF 10:14:12.572 - Monitoring processes: CMJ [2024-08-01T10:14:13.012Z] STF 10:14:12.839 - Monitoring Report Summary: [2024-08-01T10:14:13.012Z] STF 10:14:12.839 - o Process CMJ ended with the expected exit code (0) [2024-08-01T10:14:13.012Z] STF 10:14:12.839 - Created modular jar: 5.com.test.jar [2024-08-01T10:14:13.012Z] STF 10:14:12.839 - [2024-08-01T10:14:13.012Z] STF 10:14:12.839 - +------ Step 6 - Create runtime image for PatchModule test [2024-08-01T10:14:13.012Z] STF 10:14:12.839 - | Run jlink to create runtime image [2024-08-01T10:14:13.012Z] STF 10:14:12.839 - | ImageName: XpJVM [2024-08-01T10:14:13.012Z] STF 10:14:12.839 - | [2024-08-01T10:14:13.012Z] STF 10:14:12.839 - Running command: F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image/bin/jlink --module-path F:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jdkbinary\j2sdk-image\jmods;F:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\aqa-tests\TKG\output_17225033243813\PatModImg_AppMod_2\20240801-101409-PatModImgTest\modules --add-modules com.hello,com.hola,com.test,com.helper,com.discreet --output F:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\aqa-tests\TKG\output_17225033243813\PatModImg_AppMod_2\20240801-101409-PatModImgTest\tmp\6.XpJVM [2024-08-01T10:14:13.012Z] STF 10:14:12.840 - Redirecting stderr to F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17225033243813/PatModImg_AppMod_2/20240801-101409-PatModImgTest/results/6.JLNK.stderr [2024-08-01T10:14:13.012Z] STF 10:14:12.840 - Redirecting stdout to F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17225033243813/PatModImg_AppMod_2/20240801-101409-PatModImgTest/results/6.JLNK.stdout [2024-08-01T10:14:13.012Z] STF 10:14:12.843 - Monitoring processes: JLNK [2024-08-01T10:14:15.204Z] STF 10:14:14.755 - Monitoring Report Summary: [2024-08-01T10:14:15.204Z] STF 10:14:14.755 - o Process JLNK ended with the expected exit code (0) [2024-08-01T10:14:15.204Z] STF 10:14:14.755 - [2024-08-01T10:14:15.204Z] STF 10:14:14.755 - +------ Step 7 - Create com.hello jar [2024-08-01T10:14:15.204Z] STF 10:14:14.755 - | Create modular jar [2024-08-01T10:14:15.204Z] STF 10:14:14.755 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2024-08-01T10:14:15.204Z] STF 10:14:14.755 - | ModuleVersion: null [2024-08-01T10:14:15.204Z] STF 10:14:14.755 - | MainClass: null [2024-08-01T10:14:15.204Z] STF 10:14:14.755 - | HashModules: null [2024-08-01T10:14:15.204Z] STF 10:14:14.755 - | [2024-08-01T10:14:15.204Z] STF 10:14:14.756 - Running command: F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17225033243813/PatModImg_AppMod_2/20240801-101409-PatModImgTest/modules/7.com.hello.jar -C F:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.hello . [2024-08-01T10:14:15.204Z] STF 10:14:14.756 - Redirecting stderr to F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17225033243813/PatModImg_AppMod_2/20240801-101409-PatModImgTest/results/7.CMJ.stderr [2024-08-01T10:14:15.204Z] STF 10:14:14.756 - Redirecting stdout to F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17225033243813/PatModImg_AppMod_2/20240801-101409-PatModImgTest/results/7.CMJ.stdout [2024-08-01T10:14:15.204Z] STF 10:14:14.759 - Monitoring processes: CMJ [2024-08-01T10:14:15.204Z] STF 10:14:15.027 - Monitoring Report Summary: [2024-08-01T10:14:15.204Z] STF 10:14:15.027 - o Process CMJ ended with the expected exit code (0) [2024-08-01T10:14:15.204Z] STF 10:14:15.027 - Created modular jar: 7.com.hello.jar [2024-08-01T10:14:15.204Z] STF 10:14:15.027 - [2024-08-01T10:14:15.204Z] STF 10:14:15.027 - +------ Step 8 - create java.xml.jar [2024-08-01T10:14:15.204Z] STF 10:14:15.027 - | Create modular jar [2024-08-01T10:14:15.204Z] STF 10:14:15.027 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml [2024-08-01T10:14:15.204Z] STF 10:14:15.027 - | ModuleVersion: null [2024-08-01T10:14:15.204Z] STF 10:14:15.027 - | MainClass: null [2024-08-01T10:14:15.204Z] STF 10:14:15.027 - | HashModules: null [2024-08-01T10:14:15.204Z] STF 10:14:15.027 - | [2024-08-01T10:14:15.204Z] STF 10:14:15.027 - Running command: F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17225033243813/PatModImg_AppMod_2/20240801-101409-PatModImgTest/modules/8.java.xml.jar -C F:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\java.xml . [2024-08-01T10:14:15.204Z] STF 10:14:15.027 - Redirecting stderr to F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17225033243813/PatModImg_AppMod_2/20240801-101409-PatModImgTest/results/8.CMJ.stderr [2024-08-01T10:14:15.204Z] STF 10:14:15.028 - Redirecting stdout to F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17225033243813/PatModImg_AppMod_2/20240801-101409-PatModImgTest/results/8.CMJ.stdout [2024-08-01T10:14:15.204Z] STF 10:14:15.030 - Monitoring processes: CMJ [2024-08-01T10:14:15.516Z] STF 10:14:15.290 - Monitoring Report Summary: [2024-08-01T10:14:15.516Z] STF 10:14:15.290 - o Process CMJ ended with the expected exit code (0) [2024-08-01T10:14:15.516Z] STF 10:14:15.290 - Created modular jar: 8.java.xml.jar [2024-08-01T10:14:15.516Z] STF 10:14:15.290 - [2024-08-01T10:14:15.516Z] STF 10:14:15.290 - +------ Step 9 - Verify if we can patch an Application module using exploded directory [2024-08-01T10:14:15.516Z] STF 10:14:15.290 - | Run foreground process [2024-08-01T10:14:15.516Z] STF 10:14:15.290 - | Program: F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17225033243813/PatModImg_AppMod_2/20240801-101409-PatModImgTest/tmp/6.XpJVM/bin/java [2024-08-01T10:14:15.516Z] STF 10:14:15.290 - | Mnemonic: OT21 [2024-08-01T10:14:15.516Z] STF 10:14:15.290 - | Echo: ECHO_ON [2024-08-01T10:14:15.516Z] STF 10:14:15.290 - | Expectation: CLEAN_RUN within 5m [2024-08-01T10:14:15.516Z] STF 10:14:15.290 - | [2024-08-01T10:14:15.516Z] STF 10:14:15.291 - Running command: F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17225033243813/PatModImg_AppMod_2/20240801-101409-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module com.hello=F:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.hello -classpath F:/workspace/testDependency/system_lib/junit/junit.jar;F:/workspace/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingAppModule [2024-08-01T10:14:15.516Z] STF 10:14:15.291 - Redirecting stderr to F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17225033243813/PatModImg_AppMod_2/20240801-101409-PatModImgTest/results/9.OT21.stderr [2024-08-01T10:14:15.516Z] STF 10:14:15.291 - Redirecting stdout to F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17225033243813/PatModImg_AppMod_2/20240801-101409-PatModImgTest/results/9.OT21.stdout [2024-08-01T10:14:15.516Z] STF 10:14:15.304 - Monitoring processes: OT21 [2024-08-01T10:14:15.516Z] OT21 stderr WARNING: module-info.class ignored in patch: F:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.hello [2024-08-01T10:14:15.828Z] OT21 JUnit version 4.12 [2024-08-01T10:14:15.828Z] OT21 . [2024-08-01T10:14:15.828Z] OT21 Time: 0.005 [2024-08-01T10:14:15.828Z] OT21 [2024-08-01T10:14:15.828Z] OT21 OK (1 test) [2024-08-01T10:14:15.828Z] OT21 [2024-08-01T10:14:15.828Z] STF 10:14:15.608 - Monitoring Report Summary: [2024-08-01T10:14:15.828Z] STF 10:14:15.608 - o Process OT21 ended with the expected exit code (0) [2024-08-01T10:14:15.828Z] STF 10:14:15.608 - [2024-08-01T10:14:15.828Z] STF 10:14:15.608 - +------ Step 10 - Verify if we can patch an Application module using modular jar [2024-08-01T10:14:15.828Z] STF 10:14:15.608 - | Run foreground process [2024-08-01T10:14:15.828Z] STF 10:14:15.608 - | Program: F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17225033243813/PatModImg_AppMod_2/20240801-101409-PatModImgTest/tmp/6.XpJVM/bin/java [2024-08-01T10:14:15.829Z] STF 10:14:15.608 - | Mnemonic: OT22 [2024-08-01T10:14:15.829Z] STF 10:14:15.608 - | Echo: ECHO_ON [2024-08-01T10:14:15.829Z] STF 10:14:15.608 - | Expectation: CLEAN_RUN within 5m [2024-08-01T10:14:15.829Z] STF 10:14:15.608 - | [2024-08-01T10:14:15.829Z] STF 10:14:15.609 - Running command: F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17225033243813/PatModImg_AppMod_2/20240801-101409-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module com.hello=F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17225033243813/PatModImg_AppMod_2/20240801-101409-PatModImgTest/modules/7.com.hello.jar -classpath F:/workspace/testDependency/system_lib/junit/junit.jar;F:/workspace/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingAppModule [2024-08-01T10:14:15.829Z] STF 10:14:15.609 - Redirecting stderr to F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17225033243813/PatModImg_AppMod_2/20240801-101409-PatModImgTest/results/10.OT22.stderr [2024-08-01T10:14:15.829Z] STF 10:14:15.609 - Redirecting stdout to F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17225033243813/PatModImg_AppMod_2/20240801-101409-PatModImgTest/results/10.OT22.stdout [2024-08-01T10:14:15.829Z] STF 10:14:15.617 - Monitoring processes: OT22 [2024-08-01T10:14:15.829Z] OT22 stderr WARNING: module-info.class ignored in patch: F:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\aqa-tests\TKG\output_17225033243813\PatModImg_AppMod_2\20240801-101409-PatModImgTest\modules\7.com.hello.jar [2024-08-01T10:14:16.141Z] OT22 JUnit version 4.12 [2024-08-01T10:14:16.141Z] OT22 . [2024-08-01T10:14:16.141Z] OT22 Time: 0.004 [2024-08-01T10:14:16.141Z] OT22 [2024-08-01T10:14:16.141Z] OT22 OK (1 test) [2024-08-01T10:14:16.141Z] OT22 [2024-08-01T10:14:16.141Z] STF 10:14:15.874 - Monitoring Report Summary: [2024-08-01T10:14:16.141Z] STF 10:14:15.874 - o Process OT22 ended with the expected exit code (0) [2024-08-01T10:14:16.141Z] STF 10:14:15.874 - EXECUTE stage completed [2024-08-01T10:14:16.141Z] STF 10:14:15.914 - [2024-08-01T10:14:16.141Z] STF 10:14:15.914 - ==================== T E A R D O W N ==================== [2024-08-01T10:14:16.141Z] STF 10:14:15.914 - Running teardown: perl F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\TKG\output_17225033243813\PatModImg_AppMod_2/20240801-101409-PatModImgTest/tearDown.pl [2024-08-01T10:14:16.141Z] STF 10:14:16.041 - TEARDOWN stage completed [2024-08-01T10:14:16.141Z] STF 10:14:16.054 - [2024-08-01T10:14:16.141Z] STF 10:14:16.054 - ===================== R E S U L T S ===================== [2024-08-01T10:14:16.141Z] STF 10:14:16.054 - Stage results: [2024-08-01T10:14:16.141Z] STF 10:14:16.054 - setUp: pass [2024-08-01T10:14:16.141Z] STF 10:14:16.054 - execute: pass [2024-08-01T10:14:16.141Z] STF 10:14:16.054 - teardown: pass [2024-08-01T10:14:16.141Z] STF 10:14:16.054 - [2024-08-01T10:14:16.141Z] STF 10:14:16.054 - Overall result: PASSED [2024-08-01T10:14:16.141Z] ----------------------------------- [2024-08-01T10:14:16.141Z] PatModImg_AppMod_2_PASSED [2024-08-01T10:14:16.141Z] ----------------------------------- [2024-08-01T10:14:16.453Z] [2024-08-01T10:14:16.453Z] TEST TEARDOWN: [2024-08-01T10:14:16.453Z] Nothing to be done for teardown. [2024-08-01T10:14:16.453Z] PatModImg_AppMod_2 Finish Time: Thu Aug 1 10:14:16 2024 Epoch Time (ms): 1722507256247