PatModImg_AppMod_0

[2024-11-17T03:07:38.335Z] Running test PatModImg_AppMod_0 ... [2024-11-17T03:07:38.336Z] =============================================== [2024-11-17T03:07:38.674Z] PatModImg_AppMod_0 Start Time: Sun Nov 17 03:07:38 2024 Epoch Time (ms): 1731812858412 [2024-11-17T03:07:38.674Z] variation: Mode150 [2024-11-17T03:07:39.044Z] JVM_OPTIONS: -XX:+UseCompressedOops [2024-11-17T03:07:39.044Z] { \ [2024-11-17T03:07:39.044Z] echo ""; echo "TEST SETUP:"; \ [2024-11-17T03:07:39.044Z] echo "Nothing to be done for setup."; \ [2024-11-17T03:07:39.044Z] mkdir -p "C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17318105949318\\PatModImg_AppMod_0"; \ [2024-11-17T03:07:39.044Z] cd "C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17318105949318\\PatModImg_AppMod_0"; \ [2024-11-17T03:07:39.044Z] echo ""; echo "TESTING:"; \ [2024-11-17T03:07:39.044Z] perl C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests///..//jvmtest\\system\\modularity/../\\STF\\stf.core\\scripts\\stf.pl -test-root="C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests///..//jvmtest\\system\\modularity/../\\STF;C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests///..//jvmtest\\system\\modularity/../\\aqa-systemtest""" -systemtest-prereqs="c:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/../../testDependency/system_lib\\" -java-args=' -XX:+UseCompressedOops ' -results-root="C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17318105949318\\PatModImg_AppMod_0" -test=PatModImgTest -test-args="variant=AppMod"; \ [2024-11-17T03:07:39.044Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatModImg_AppMod_0""_PASSED"; echo "-----------------------------------"; cd C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/; rm -f -r "C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17318105949318\\PatModImg_AppMod_0"; else echo "-----------------------------------"; echo "PatModImg_AppMod_0""_FAILED"; echo "-----------------------------------"; fi; \ [2024-11-17T03:07:39.044Z] echo ""; echo "TEST TEARDOWN:"; \ [2024-11-17T03:07:39.044Z] echo "Nothing to be done for teardown."; \ [2024-11-17T03:07:39.044Z] } 2>&1 | tee -a "C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17318105949318\\TestTargetResult"; [2024-11-17T03:07:39.044Z] [2024-11-17T03:07:39.044Z] TEST SETUP: [2024-11-17T03:07:39.044Z] Nothing to be done for setup. [2024-11-17T03:07:39.044Z] [2024-11-17T03:07:39.044Z] TESTING: [2024-11-17T03:07:39.382Z] STF 03:07:39.057 - ========================= S T F ========================= [2024-11-17T03:07:39.382Z] systemtest-prereqs has been processed, and set to: c:/workspace/testDependency/system_libRetrieving amount of free space on drive containing C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17318105949318\PatModImg_AppMod_0 [2024-11-17T03:07:39.382Z] There is 97477 Mb free [2024-11-17T03:07:39.382Z] STF 03:07:39.120 - ================== G E N E R A T I O N ================== [2024-11-17T03:07:39.382Z] STF 03:07:39.123 - Checking JVM: c:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image [2024-11-17T03:07:39.382Z] STF 03:07:39.123 - Starting process to generate scripts: c:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java -Dlog4j.skipJansi=true -Djava.system.class.loader=net.adoptopenjdk.stf.runner.StfClassLoader -classpath c:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/../../testDependency/system_lib\/log4j/log4j-api.jar;c:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/../../testDependency/system_lib\/log4j/log4j-core.jar;C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17318105949318\PatModImg_AppMod_0/20241117-030739-PatModImgTest/stf_parameters.properties, , C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17318105949318\PatModImg_AppMod_0/20241117-030739-PatModImgTest" [2024-11-17T03:07:39.382Z] GEN stderr OpenJDK 64-Bit Server VM warning: Archived non-system classes are disabled because the java.system.class.loader property is specified (value = "net.adoptopenjdk.stf.runner.StfClassLoader"). To use archived non-system classes, this property must not be set [2024-11-17T03:07:40.492Z] GEN 03:07:40.345 - Found test. Project: 'openjdk.test.modularity' class: 'PatModImgTest.class' Dir: 'C:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin' [2024-11-17T03:07:40.492Z] GEN 03:07:40.368 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModImgTest' [2024-11-17T03:07:40.819Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2024-11-17T03:07:40.819Z] GEN C:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayService [2024-11-17T03:07:40.819Z] GEN C:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper [2024-11-17T03:07:40.819Z] GEN C:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl1 [2024-11-17T03:07:40.819Z] GEN C:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet [2024-11-17T03:07:40.819Z] GEN C:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello [2024-11-17T03:07:40.819Z] GEN C:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola [2024-11-17T03:07:40.819Z] GEN C:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl2 [2024-11-17T03:07:40.819Z] GEN C:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hi [2024-11-17T03:07:40.819Z] GEN C:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override [2024-11-17T03:07:40.819Z] GEN C:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override-new [2024-11-17T03:07:40.819Z] GEN C:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl3 [2024-11-17T03:07:40.819Z] GEN C:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl4 [2024-11-17T03:07:40.819Z] GEN C:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common [2024-11-17T03:07:40.819Z] GEN C:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests [2024-11-17T03:07:40.819Z] GEN C:\\workspace\\workspace\\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin [2024-11-17T03:07:40.819Z] GEN C:\\workspace\\workspace\\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\\jvmtest\\system\\STF\\stf.core\\bin [2024-11-17T03:07:40.819Z] GEN c:/workspace/testDependency/system_lib/log4j/log4j-api.jar [2024-11-17T03:07:40.820Z] GEN c:/workspace/testDependency/system_lib/log4j/log4j-core.jar [2024-11-17T03:07:40.820Z] GEN c:/workspace/testDependency/system_lib/junit/junit.jar [2024-11-17T03:07:40.820Z] GEN 03:07:40.666 - Using Mode NoOptions. Values = '' [2024-11-17T03:07:41.149Z] GEN 03:07:40.787 - [2024-11-17T03:07:41.149Z] GEN 03:07:40.788 - Test command summary: [2024-11-17T03:07:41.149Z] GEN 03:07:40.788 - Step Stage Command Description [2024-11-17T03:07:41.149Z] GEN 03:07:40.788 - -----+--------+-----------------+------------ [2024-11-17T03:07:41.149Z] GEN 03:07:40.788 - 1 execute jar Create com.hello jar [2024-11-17T03:07:41.149Z] GEN 03:07:40.789 - 2 execute jar Create com.hola jar [2024-11-17T03:07:41.150Z] GEN 03:07:40.789 - 3 execute jar Create com.helper jar [2024-11-17T03:07:41.150Z] GEN 03:07:40.789 - 4 execute jar Create com.discreet jar [2024-11-17T03:07:41.150Z] GEN 03:07:40.789 - 5 execute jar Create tests jar [2024-11-17T03:07:41.150Z] GEN 03:07:40.789 - 6 execute jlink Create runtime image for PatchModule test [2024-11-17T03:07:41.150Z] GEN 03:07:40.789 - 7 execute jar Create com.hello jar [2024-11-17T03:07:41.150Z] GEN 03:07:40.789 - 8 execute jar create java.xml.jar [2024-11-17T03:07:41.150Z] GEN 03:07:40.789 - 9 execute Run java Verify if we can patch an Application module using exploded directory [2024-11-17T03:07:41.150Z] GEN 03:07:40.789 - 10 execute Run java Verify if we can patch an Application module using modular jar [2024-11-17T03:07:41.150Z] STF 03:07:40.842 - [2024-11-17T03:07:41.150Z] STF 03:07:40.842 - Script generation completed [2024-11-17T03:07:41.150Z] STF 03:07:40.842 - [2024-11-17T03:07:41.150Z] STF 03:07:40.845 - [2024-11-17T03:07:41.150Z] STF 03:07:40.845 - ======================= S E T U P ======================= [2024-11-17T03:07:41.150Z] STF 03:07:40.845 - Running setup: perl C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17318105949318\PatModImg_AppMod_0/20241117-030739-PatModImgTest/setUp.pl [2024-11-17T03:07:41.150Z] STF 03:07:41.024 - SETUP stage completed [2024-11-17T03:07:41.150Z] STF 03:07:41.038 - [2024-11-17T03:07:41.150Z] STF 03:07:41.038 - ==================== E X E C U T E - ==================== [2024-11-17T03:07:41.150Z] STF 03:07:41.038 - Running execute: perl C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17318105949318\PatModImg_AppMod_0/20241117-030739-PatModImgTest/execute.pl [2024-11-17T03:07:41.481Z] STF 03:07:41.225 - [2024-11-17T03:07:41.481Z] STF 03:07:41.226 - Java version [2024-11-17T03:07:41.481Z] STF 03:07:41.226 - Running: c:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java -version [2024-11-17T03:07:41.481Z] openjdk version "17.0.14-beta" 2025-01-21 [2024-11-17T03:07:41.481Z] OpenJDK Runtime Environment Temurin-17.0.14+3-202411132201 (build 17.0.14-beta+3-ea) [2024-11-17T03:07:41.481Z] OpenJDK 64-Bit Server VM Temurin-17.0.14+3-202411132201 (build 17.0.14-beta+3-ea, mixed mode, sharing) [2024-11-17T03:07:41.481Z] STF 03:07:41.348 - [2024-11-17T03:07:41.481Z] STF 03:07:41.348 - +------ Step 1 - Create com.hello jar [2024-11-17T03:07:41.481Z] STF 03:07:41.348 - | Create modular jar [2024-11-17T03:07:41.481Z] STF 03:07:41.348 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2024-11-17T03:07:41.481Z] STF 03:07:41.348 - | ModuleVersion: null [2024-11-17T03:07:41.481Z] STF 03:07:41.348 - | MainClass: null [2024-11-17T03:07:41.481Z] STF 03:07:41.348 - | HashModules: null [2024-11-17T03:07:41.481Z] STF 03:07:41.348 - | [2024-11-17T03:07:41.482Z] STF 03:07:41.349 - Running command: c:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17318105949318/PatModImg_AppMod_0/20241117-030739-PatModImgTest/modules/1.com.hello.jar -C C:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello . [2024-11-17T03:07:41.482Z] STF 03:07:41.349 - Redirecting stderr to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17318105949318/PatModImg_AppMod_0/20241117-030739-PatModImgTest/results/1.CMJ.stderr [2024-11-17T03:07:41.482Z] STF 03:07:41.349 - Redirecting stdout to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17318105949318/PatModImg_AppMod_0/20241117-030739-PatModImgTest/results/1.CMJ.stdout [2024-11-17T03:07:41.482Z] STF 03:07:41.392 - Monitoring processes: CMJ [2024-11-17T03:07:41.807Z] STF 03:07:41.729 - Monitoring Report Summary: [2024-11-17T03:07:41.807Z] STF 03:07:41.729 - o Process CMJ ended with the expected exit code (0) [2024-11-17T03:07:41.807Z] STF 03:07:41.730 - Created modular jar: 1.com.hello.jar [2024-11-17T03:07:41.807Z] STF 03:07:41.730 - [2024-11-17T03:07:41.807Z] STF 03:07:41.730 - +------ Step 2 - Create com.hola jar [2024-11-17T03:07:41.807Z] STF 03:07:41.730 - | Create modular jar [2024-11-17T03:07:41.807Z] STF 03:07:41.730 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2024-11-17T03:07:41.807Z] STF 03:07:41.730 - | ModuleVersion: null [2024-11-17T03:07:41.807Z] STF 03:07:41.730 - | MainClass: null [2024-11-17T03:07:41.807Z] STF 03:07:41.730 - | HashModules: null [2024-11-17T03:07:41.807Z] STF 03:07:41.730 - | [2024-11-17T03:07:41.807Z] STF 03:07:41.730 - Running command: c:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17318105949318/PatModImg_AppMod_0/20241117-030739-PatModImgTest/modules/2.com.hola.jar -C C:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola . [2024-11-17T03:07:41.807Z] STF 03:07:41.730 - Redirecting stderr to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17318105949318/PatModImg_AppMod_0/20241117-030739-PatModImgTest/results/2.CMJ.stderr [2024-11-17T03:07:41.807Z] STF 03:07:41.730 - Redirecting stdout to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17318105949318/PatModImg_AppMod_0/20241117-030739-PatModImgTest/results/2.CMJ.stdout [2024-11-17T03:07:41.807Z] STF 03:07:41.738 - Monitoring processes: CMJ [2024-11-17T03:07:42.494Z] STF 03:07:42.092 - Monitoring Report Summary: [2024-11-17T03:07:42.494Z] STF 03:07:42.092 - o Process CMJ ended with the expected exit code (0) [2024-11-17T03:07:42.494Z] STF 03:07:42.093 - Created modular jar: 2.com.hola.jar [2024-11-17T03:07:42.494Z] STF 03:07:42.093 - [2024-11-17T03:07:42.494Z] STF 03:07:42.093 - +------ Step 3 - Create com.helper jar [2024-11-17T03:07:42.494Z] STF 03:07:42.093 - | Create modular jar [2024-11-17T03:07:42.494Z] STF 03:07:42.093 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2024-11-17T03:07:42.494Z] STF 03:07:42.093 - | ModuleVersion: null [2024-11-17T03:07:42.494Z] STF 03:07:42.093 - | MainClass: null [2024-11-17T03:07:42.494Z] STF 03:07:42.093 - | HashModules: null [2024-11-17T03:07:42.494Z] STF 03:07:42.093 - | [2024-11-17T03:07:42.494Z] STF 03:07:42.093 - Running command: c:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17318105949318/PatModImg_AppMod_0/20241117-030739-PatModImgTest/modules/3.com.helper.jar -C C:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper . [2024-11-17T03:07:42.494Z] STF 03:07:42.094 - Redirecting stderr to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17318105949318/PatModImg_AppMod_0/20241117-030739-PatModImgTest/results/3.CMJ.stderr [2024-11-17T03:07:42.494Z] STF 03:07:42.094 - Redirecting stdout to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17318105949318/PatModImg_AppMod_0/20241117-030739-PatModImgTest/results/3.CMJ.stdout [2024-11-17T03:07:42.494Z] STF 03:07:42.102 - Monitoring processes: CMJ [2024-11-17T03:07:42.494Z] STF 03:07:42.431 - Monitoring Report Summary: [2024-11-17T03:07:42.494Z] STF 03:07:42.431 - o Process CMJ ended with the expected exit code (0) [2024-11-17T03:07:42.494Z] STF 03:07:42.431 - Created modular jar: 3.com.helper.jar [2024-11-17T03:07:42.494Z] STF 03:07:42.431 - [2024-11-17T03:07:42.495Z] STF 03:07:42.431 - +------ Step 4 - Create com.discreet jar [2024-11-17T03:07:42.495Z] STF 03:07:42.431 - | Create modular jar [2024-11-17T03:07:42.495Z] STF 03:07:42.431 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2024-11-17T03:07:42.495Z] STF 03:07:42.431 - | ModuleVersion: null [2024-11-17T03:07:42.495Z] STF 03:07:42.431 - | MainClass: null [2024-11-17T03:07:42.495Z] STF 03:07:42.431 - | HashModules: null [2024-11-17T03:07:42.495Z] STF 03:07:42.431 - | [2024-11-17T03:07:42.495Z] STF 03:07:42.432 - Running command: c:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17318105949318/PatModImg_AppMod_0/20241117-030739-PatModImgTest/modules/4.com.discreet.jar -C C:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet . [2024-11-17T03:07:42.495Z] STF 03:07:42.432 - Redirecting stderr to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17318105949318/PatModImg_AppMod_0/20241117-030739-PatModImgTest/results/4.CMJ.stderr [2024-11-17T03:07:42.495Z] STF 03:07:42.432 - Redirecting stdout to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17318105949318/PatModImg_AppMod_0/20241117-030739-PatModImgTest/results/4.CMJ.stdout [2024-11-17T03:07:42.495Z] STF 03:07:42.440 - Monitoring processes: CMJ [2024-11-17T03:07:43.183Z] STF 03:07:42.780 - Monitoring Report Summary: [2024-11-17T03:07:43.183Z] STF 03:07:42.780 - o Process CMJ ended with the expected exit code (0) [2024-11-17T03:07:43.183Z] STF 03:07:42.780 - Created modular jar: 4.com.discreet.jar [2024-11-17T03:07:43.183Z] STF 03:07:42.780 - [2024-11-17T03:07:43.183Z] STF 03:07:42.780 - +------ Step 5 - Create tests jar [2024-11-17T03:07:43.183Z] STF 03:07:42.780 - | Create modular jar [2024-11-17T03:07:43.183Z] STF 03:07:42.780 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2024-11-17T03:07:43.183Z] STF 03:07:42.780 - | ModuleVersion: null [2024-11-17T03:07:43.183Z] STF 03:07:42.780 - | MainClass: null [2024-11-17T03:07:43.183Z] STF 03:07:42.780 - | HashModules: null [2024-11-17T03:07:43.183Z] STF 03:07:42.780 - | [2024-11-17T03:07:43.183Z] STF 03:07:42.781 - Running command: c:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17318105949318/PatModImg_AppMod_0/20241117-030739-PatModImgTest/modules/5.com.test.jar -C C:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests\com.test . [2024-11-17T03:07:43.183Z] STF 03:07:42.781 - Redirecting stderr to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17318105949318/PatModImg_AppMod_0/20241117-030739-PatModImgTest/results/5.CMJ.stderr [2024-11-17T03:07:43.183Z] STF 03:07:42.781 - Redirecting stdout to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17318105949318/PatModImg_AppMod_0/20241117-030739-PatModImgTest/results/5.CMJ.stdout [2024-11-17T03:07:43.183Z] STF 03:07:42.790 - Monitoring processes: CMJ [2024-11-17T03:07:43.511Z] STF 03:07:43.144 - Monitoring Report Summary: [2024-11-17T03:07:43.511Z] STF 03:07:43.144 - o Process CMJ ended with the expected exit code (0) [2024-11-17T03:07:43.511Z] STF 03:07:43.144 - Created modular jar: 5.com.test.jar [2024-11-17T03:07:43.511Z] STF 03:07:43.144 - [2024-11-17T03:07:43.511Z] STF 03:07:43.144 - +------ Step 6 - Create runtime image for PatchModule test [2024-11-17T03:07:43.512Z] STF 03:07:43.144 - | Run jlink to create runtime image [2024-11-17T03:07:43.512Z] STF 03:07:43.144 - | ImageName: XpJVM [2024-11-17T03:07:43.512Z] STF 03:07:43.145 - | [2024-11-17T03:07:43.512Z] STF 03:07:43.145 - Running command: c:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jlink --module-path c:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jdkbinary\j2sdk-image\jmods;C:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\aqa-tests\TKG\output_17318105949318\PatModImg_AppMod_0\20241117-030739-PatModImgTest\modules --add-modules com.hello,com.hola,com.test,com.helper,com.discreet --output C:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\aqa-tests\TKG\output_17318105949318\PatModImg_AppMod_0\20241117-030739-PatModImgTest\tmp\6.XpJVM [2024-11-17T03:07:43.512Z] STF 03:07:43.145 - Redirecting stderr to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17318105949318/PatModImg_AppMod_0/20241117-030739-PatModImgTest/results/6.JLNK.stderr [2024-11-17T03:07:43.512Z] STF 03:07:43.145 - Redirecting stdout to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17318105949318/PatModImg_AppMod_0/20241117-030739-PatModImgTest/results/6.JLNK.stdout [2024-11-17T03:07:43.512Z] STF 03:07:43.154 - Monitoring processes: JLNK [2024-11-17T03:07:46.405Z] STF 03:07:46.035 - Monitoring Report Summary: [2024-11-17T03:07:46.405Z] STF 03:07:46.035 - o Process JLNK ended with the expected exit code (0) [2024-11-17T03:07:46.405Z] STF 03:07:46.035 - [2024-11-17T03:07:46.405Z] STF 03:07:46.035 - +------ Step 7 - Create com.hello jar [2024-11-17T03:07:46.405Z] STF 03:07:46.035 - | Create modular jar [2024-11-17T03:07:46.405Z] STF 03:07:46.035 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2024-11-17T03:07:46.405Z] STF 03:07:46.035 - | ModuleVersion: null [2024-11-17T03:07:46.405Z] STF 03:07:46.035 - | MainClass: null [2024-11-17T03:07:46.405Z] STF 03:07:46.035 - | HashModules: null [2024-11-17T03:07:46.405Z] STF 03:07:46.036 - | [2024-11-17T03:07:46.405Z] STF 03:07:46.036 - Running command: c:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17318105949318/PatModImg_AppMod_0/20241117-030739-PatModImgTest/modules/7.com.hello.jar -C C:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.hello . [2024-11-17T03:07:46.405Z] STF 03:07:46.036 - Redirecting stderr to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17318105949318/PatModImg_AppMod_0/20241117-030739-PatModImgTest/results/7.CMJ.stderr [2024-11-17T03:07:46.405Z] STF 03:07:46.036 - Redirecting stdout to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17318105949318/PatModImg_AppMod_0/20241117-030739-PatModImgTest/results/7.CMJ.stdout [2024-11-17T03:07:46.405Z] STF 03:07:46.067 - Monitoring processes: CMJ [2024-11-17T03:07:46.732Z] STF 03:07:46.489 - Monitoring Report Summary: [2024-11-17T03:07:46.733Z] STF 03:07:46.489 - o Process CMJ ended with the expected exit code (0) [2024-11-17T03:07:46.733Z] STF 03:07:46.489 - Created modular jar: 7.com.hello.jar [2024-11-17T03:07:46.733Z] STF 03:07:46.489 - [2024-11-17T03:07:46.733Z] STF 03:07:46.489 - +------ Step 8 - create java.xml.jar [2024-11-17T03:07:46.733Z] STF 03:07:46.489 - | Create modular jar [2024-11-17T03:07:46.733Z] STF 03:07:46.489 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml [2024-11-17T03:07:46.733Z] STF 03:07:46.489 - | ModuleVersion: null [2024-11-17T03:07:46.733Z] STF 03:07:46.489 - | MainClass: null [2024-11-17T03:07:46.733Z] STF 03:07:46.489 - | HashModules: null [2024-11-17T03:07:46.733Z] STF 03:07:46.489 - | [2024-11-17T03:07:46.733Z] STF 03:07:46.490 - Running command: c:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17318105949318/PatModImg_AppMod_0/20241117-030739-PatModImgTest/modules/8.java.xml.jar -C C:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\java.xml . [2024-11-17T03:07:46.733Z] STF 03:07:46.490 - Redirecting stderr to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17318105949318/PatModImg_AppMod_0/20241117-030739-PatModImgTest/results/8.CMJ.stderr [2024-11-17T03:07:46.733Z] STF 03:07:46.490 - Redirecting stdout to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17318105949318/PatModImg_AppMod_0/20241117-030739-PatModImgTest/results/8.CMJ.stdout [2024-11-17T03:07:46.733Z] STF 03:07:46.499 - Monitoring processes: CMJ [2024-11-17T03:07:47.045Z] STF 03:07:46.830 - Monitoring Report Summary: [2024-11-17T03:07:47.045Z] STF 03:07:46.830 - o Process CMJ ended with the expected exit code (0) [2024-11-17T03:07:47.045Z] STF 03:07:46.830 - Created modular jar: 8.java.xml.jar [2024-11-17T03:07:47.045Z] STF 03:07:46.830 - [2024-11-17T03:07:47.045Z] STF 03:07:46.830 - +------ Step 9 - Verify if we can patch an Application module using exploded directory [2024-11-17T03:07:47.045Z] STF 03:07:46.830 - | Run foreground process [2024-11-17T03:07:47.045Z] STF 03:07:46.830 - | Program: C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17318105949318/PatModImg_AppMod_0/20241117-030739-PatModImgTest/tmp/6.XpJVM/bin/java [2024-11-17T03:07:47.045Z] STF 03:07:46.830 - | Mnemonic: OT21 [2024-11-17T03:07:47.045Z] STF 03:07:46.830 - | Echo: ECHO_ON [2024-11-17T03:07:47.045Z] STF 03:07:46.830 - | Expectation: CLEAN_RUN within 5m [2024-11-17T03:07:47.045Z] STF 03:07:46.830 - | [2024-11-17T03:07:47.045Z] STF 03:07:46.831 - Running command: C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17318105949318/PatModImg_AppMod_0/20241117-030739-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module com.hello=C:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.hello -XX:+UseCompressedOops -classpath c:/workspace/testDependency/system_lib/junit/junit.jar;c:/workspace/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingAppModule [2024-11-17T03:07:47.045Z] STF 03:07:46.831 - Redirecting stderr to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17318105949318/PatModImg_AppMod_0/20241117-030739-PatModImgTest/results/9.OT21.stderr [2024-11-17T03:07:47.045Z] STF 03:07:46.831 - Redirecting stdout to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17318105949318/PatModImg_AppMod_0/20241117-030739-PatModImgTest/results/9.OT21.stdout [2024-11-17T03:07:47.045Z] STF 03:07:46.857 - Monitoring processes: OT21 [2024-11-17T03:07:47.371Z] OT21 stderr WARNING: module-info.class ignored in patch: C:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.hello [2024-11-17T03:07:47.371Z] OT21 JUnit version 4.12 [2024-11-17T03:07:47.371Z] OT21 . [2024-11-17T03:07:47.371Z] OT21 Time: 0.012 [2024-11-17T03:07:47.371Z] OT21 [2024-11-17T03:07:47.371Z] OT21 OK (1 test) [2024-11-17T03:07:47.371Z] OT21 [2024-11-17T03:07:47.701Z] STF 03:07:47.297 - Monitoring Report Summary: [2024-11-17T03:07:47.701Z] STF 03:07:47.297 - o Process OT21 ended with the expected exit code (0) [2024-11-17T03:07:47.701Z] STF 03:07:47.297 - [2024-11-17T03:07:47.701Z] STF 03:07:47.297 - +------ Step 10 - Verify if we can patch an Application module using modular jar [2024-11-17T03:07:47.701Z] STF 03:07:47.297 - | Run foreground process [2024-11-17T03:07:47.701Z] STF 03:07:47.297 - | Program: C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17318105949318/PatModImg_AppMod_0/20241117-030739-PatModImgTest/tmp/6.XpJVM/bin/java [2024-11-17T03:07:47.701Z] STF 03:07:47.297 - | Mnemonic: OT22 [2024-11-17T03:07:47.701Z] STF 03:07:47.297 - | Echo: ECHO_ON [2024-11-17T03:07:47.701Z] STF 03:07:47.297 - | Expectation: CLEAN_RUN within 5m [2024-11-17T03:07:47.701Z] STF 03:07:47.297 - | [2024-11-17T03:07:47.701Z] STF 03:07:47.298 - Running command: C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17318105949318/PatModImg_AppMod_0/20241117-030739-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module com.hello=C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17318105949318/PatModImg_AppMod_0/20241117-030739-PatModImgTest/modules/7.com.hello.jar -XX:+UseCompressedOops -classpath c:/workspace/testDependency/system_lib/junit/junit.jar;c:/workspace/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingAppModule [2024-11-17T03:07:47.701Z] STF 03:07:47.298 - Redirecting stderr to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17318105949318/PatModImg_AppMod_0/20241117-030739-PatModImgTest/results/10.OT22.stderr [2024-11-17T03:07:47.701Z] STF 03:07:47.298 - Redirecting stdout to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17318105949318/PatModImg_AppMod_0/20241117-030739-PatModImgTest/results/10.OT22.stdout [2024-11-17T03:07:47.701Z] STF 03:07:47.306 - Monitoring processes: OT22 [2024-11-17T03:07:47.701Z] OT22 stderr WARNING: module-info.class ignored in patch: C:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\aqa-tests\TKG\output_17318105949318\PatModImg_AppMod_0\20241117-030739-PatModImgTest\modules\7.com.hello.jar [2024-11-17T03:07:47.701Z] OT22 JUnit version 4.12 [2024-11-17T03:07:48.094Z] OT22 . [2024-11-17T03:07:48.094Z] OT22 Time: 0.007 [2024-11-17T03:07:48.094Z] OT22 [2024-11-17T03:07:48.094Z] OT22 OK (1 test) [2024-11-17T03:07:48.094Z] OT22 [2024-11-17T03:07:48.094Z] STF 03:07:47.695 - Monitoring Report Summary: [2024-11-17T03:07:48.094Z] STF 03:07:47.695 - o Process OT22 ended with the expected exit code (0) [2024-11-17T03:07:48.094Z] STF 03:07:47.695 - EXECUTE stage completed [2024-11-17T03:07:48.094Z] STF 03:07:47.777 - [2024-11-17T03:07:48.094Z] STF 03:07:47.777 - ==================== T E A R D O W N ==================== [2024-11-17T03:07:48.094Z] STF 03:07:47.777 - Running teardown: perl C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17318105949318\PatModImg_AppMod_0/20241117-030739-PatModImgTest/tearDown.pl [2024-11-17T03:07:48.094Z] STF 03:07:47.955 - TEARDOWN stage completed [2024-11-17T03:07:48.094Z] STF 03:07:47.978 - [2024-11-17T03:07:48.094Z] STF 03:07:47.978 - ===================== R E S U L T S ===================== [2024-11-17T03:07:48.094Z] STF 03:07:47.978 - Stage results: [2024-11-17T03:07:48.094Z] STF 03:07:47.978 - setUp: pass [2024-11-17T03:07:48.094Z] STF 03:07:47.978 - execute: pass [2024-11-17T03:07:48.094Z] STF 03:07:47.978 - teardown: pass [2024-11-17T03:07:48.094Z] STF 03:07:47.978 - [2024-11-17T03:07:48.094Z] STF 03:07:47.978 - Overall result: PASSED [2024-11-17T03:07:48.094Z] ----------------------------------- [2024-11-17T03:07:48.094Z] PatModImg_AppMod_0_PASSED [2024-11-17T03:07:48.094Z] ----------------------------------- [2024-11-17T03:07:48.469Z] [2024-11-17T03:07:48.469Z] TEST TEARDOWN: [2024-11-17T03:07:48.469Z] Nothing to be done for teardown. [2024-11-17T03:07:48.469Z] PatModImg_AppMod_0 Finish Time: Sun Nov 17 03:07:48 2024 Epoch Time (ms): 1731812868375