PatModImg_AppMod_0
[2024-11-22T00:57:43.454Z] Running test PatModImg_AppMod_0 ...
[2024-11-22T00:57:43.792Z] ===============================================
[2024-11-22T00:57:43.792Z] PatModImg_AppMod_0 Start Time: Fri Nov 22 00:57:43 2024 Epoch Time (ms): 1732237063661
[2024-11-22T00:57:44.111Z] variation: Mode150
[2024-11-22T00:57:44.111Z] JVM_OPTIONS: -XX:+UseCompressedOops
[2024-11-22T00:57:44.111Z] { \
[2024-11-22T00:57:44.111Z] echo ""; echo "TEST SETUP:"; \
[2024-11-22T00:57:44.111Z] echo "Nothing to be done for setup."; \
[2024-11-22T00:57:44.111Z] mkdir -p "C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17322350814704\\PatModImg_AppMod_0"; \
[2024-11-22T00:57:44.111Z] cd "C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17322350814704\\PatModImg_AppMod_0"; \
[2024-11-22T00:57:44.111Z] echo ""; echo "TESTING:"; \
[2024-11-22T00:57:44.111Z] perl C:/jenkins/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:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests///..//jvmtest\\system\\modularity/../\\STF;C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests///..//jvmtest\\system\\modularity/../\\aqa-systemtest""" -systemtest-prereqs="c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/../../testDependency/system_lib\\" -java-args=' -XX:+UseCompressedOops ' -results-root="C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17322350814704\\PatModImg_AppMod_0" -test=PatModImgTest -test-args="variant=AppMod"; \
[2024-11-22T00:57:44.111Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatModImg_AppMod_0""_PASSED"; echo "-----------------------------------"; cd C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/; rm -f -r "C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17322350814704\\PatModImg_AppMod_0"; else echo "-----------------------------------"; echo "PatModImg_AppMod_0""_FAILED"; echo "-----------------------------------"; fi; \
[2024-11-22T00:57:44.111Z] echo ""; echo "TEST TEARDOWN:"; \
[2024-11-22T00:57:44.111Z] echo "Nothing to be done for teardown."; \
[2024-11-22T00:57:44.111Z] } 2>&1 | tee -a "C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17322350814704\\TestTargetResult";
[2024-11-22T00:57:44.446Z]
[2024-11-22T00:57:44.446Z] TEST SETUP:
[2024-11-22T00:57:44.446Z] Nothing to be done for setup.
[2024-11-22T00:57:44.446Z]
[2024-11-22T00:57:44.446Z] TESTING:
[2024-11-22T00:57:44.446Z] STF 00:57:44.285 - ========================= S T F =========================
[2024-11-22T00:57:44.446Z] systemtest-prereqs has been processed, and set to: c:/jenkins/testDependency/system_libRetrieving amount of free space on drive containing C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17322350814704\PatModImg_AppMod_0
[2024-11-22T00:57:44.446Z] There is 395777 Mb free
[2024-11-22T00:57:44.446Z] STF 00:57:44.351 - ================== G E N E R A T I O N ==================
[2024-11-22T00:57:44.446Z] STF 00:57:44.354 - Checking JVM: c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image
[2024-11-22T00:57:44.446Z] STF 00:57:44.355 - Starting process to generate scripts: c:/jenkins/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:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/../../testDependency/system_lib\/log4j/log4j-api.jar;c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/../../testDependency/system_lib\/log4j/log4j-core.jar;C:/jenkins/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:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17322350814704\PatModImg_AppMod_0/20241122-005744-PatModImgTest/stf_parameters.properties, , C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17322350814704\PatModImg_AppMod_0/20241122-005744-PatModImgTest"
[2024-11-22T00:57:44.779Z] 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-22T00:57:45.951Z] GEN Java lib directory does not exist: C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jdkbinary\lib
[2024-11-22T00:57:45.951Z] GEN 00:57:45.791 - Found test. Project: 'openjdk.test.modularity' class: 'PatModImgTest.class' Dir: 'C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin'
[2024-11-22T00:57:45.951Z] GEN 00:57:45.806 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModImgTest'
[2024-11-22T00:57:46.312Z] GEN Classpath directories used by project 'openjdk.test.modularity':
[2024-11-22T00:57:46.312Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayService
[2024-11-22T00:57:46.312Z] GEN C:\jenkins\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-22T00:57:46.312Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl1
[2024-11-22T00:57:46.312Z] GEN C:\jenkins\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-22T00:57:46.312Z] GEN C:\jenkins\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-22T00:57:46.312Z] GEN C:\jenkins\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-22T00:57:46.312Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl2
[2024-11-22T00:57:46.312Z] GEN C:\jenkins\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-22T00:57:46.312Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override
[2024-11-22T00:57:46.312Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override-new
[2024-11-22T00:57:46.312Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl3
[2024-11-22T00:57:46.312Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl4
[2024-11-22T00:57:46.312Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common
[2024-11-22T00:57:46.312Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests
[2024-11-22T00:57:46.312Z] GEN C:\\jenkins\\workspace\\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin
[2024-11-22T00:57:46.312Z] GEN C:\\jenkins\\workspace\\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\\jvmtest\\system\\STF\\stf.core\\bin
[2024-11-22T00:57:46.312Z] GEN c:/jenkins/testDependency/system_lib/log4j/log4j-api.jar
[2024-11-22T00:57:46.312Z] GEN c:/jenkins/testDependency/system_lib/log4j/log4j-core.jar
[2024-11-22T00:57:46.312Z] GEN c:/jenkins/testDependency/system_lib/junit/junit.jar
[2024-11-22T00:57:46.312Z] GEN Java lib directory does not exist: C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jdkbinary\lib
[2024-11-22T00:57:46.312Z] GEN 00:57:46.090 - Using Mode NoOptions. Values = ''
[2024-11-22T00:57:46.650Z] GEN 00:57:46.275 -
[2024-11-22T00:57:46.650Z] GEN 00:57:46.275 - Test command summary:
[2024-11-22T00:57:46.650Z] GEN 00:57:46.275 - Step Stage Command Description
[2024-11-22T00:57:46.650Z] GEN 00:57:46.275 - -----+--------+-----------------+------------
[2024-11-22T00:57:46.650Z] GEN 00:57:46.276 - 1 execute jar Create com.hello jar
[2024-11-22T00:57:46.650Z] GEN 00:57:46.276 - 2 execute jar Create com.hola jar
[2024-11-22T00:57:46.650Z] GEN 00:57:46.276 - 3 execute jar Create com.helper jar
[2024-11-22T00:57:46.650Z] GEN 00:57:46.276 - 4 execute jar Create com.discreet jar
[2024-11-22T00:57:46.650Z] GEN 00:57:46.276 - 5 execute jar Create tests jar
[2024-11-22T00:57:46.650Z] GEN 00:57:46.276 - 6 execute jlink Create runtime image for PatchModule test
[2024-11-22T00:57:46.650Z] GEN 00:57:46.276 - 7 execute jar Create com.hello jar
[2024-11-22T00:57:46.650Z] GEN 00:57:46.277 - 8 execute jar create java.xml.jar
[2024-11-22T00:57:46.650Z] GEN 00:57:46.277 - 9 execute Run java Verify if we can patch an Application module using exploded directory
[2024-11-22T00:57:46.650Z] GEN 00:57:46.277 - 10 execute Run java Verify if we can patch an Application module using modular jar
[2024-11-22T00:57:46.650Z] STF 00:57:46.388 -
[2024-11-22T00:57:46.650Z] STF 00:57:46.388 - Script generation completed
[2024-11-22T00:57:46.650Z] STF 00:57:46.388 -
[2024-11-22T00:57:46.650Z] STF 00:57:46.390 -
[2024-11-22T00:57:46.650Z] STF 00:57:46.390 - ======================= S E T U P =======================
[2024-11-22T00:57:46.650Z] STF 00:57:46.390 - Running setup: perl C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17322350814704\PatModImg_AppMod_0/20241122-005744-PatModImgTest/setUp.pl
[2024-11-22T00:57:46.650Z] STF 00:57:46.545 - SETUP stage completed
[2024-11-22T00:57:46.650Z] STF 00:57:46.560 -
[2024-11-22T00:57:46.650Z] STF 00:57:46.560 - ==================== E X E C U T E - ====================
[2024-11-22T00:57:46.650Z] STF 00:57:46.560 - Running execute: perl C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17322350814704\PatModImg_AppMod_0/20241122-005744-PatModImgTest/execute.pl
[2024-11-22T00:57:46.984Z] STF 00:57:46.722 -
[2024-11-22T00:57:46.984Z] STF 00:57:46.722 - Java version
[2024-11-22T00:57:46.984Z] STF 00:57:46.722 - Running: c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java -version
[2024-11-22T00:57:46.984Z] openjdk version "17.0.14-beta" 2025-01-21
[2024-11-22T00:57:46.984Z] OpenJDK Runtime Environment Temurin-17.0.14+4-202411202319 (build 17.0.14-beta+4-ea)
[2024-11-22T00:57:46.984Z] OpenJDK 64-Bit Server VM Temurin-17.0.14+4-202411202319 (build 17.0.14-beta+4-ea, mixed mode, sharing)
[2024-11-22T00:57:46.984Z] STF 00:57:46.833 -
[2024-11-22T00:57:46.984Z] STF 00:57:46.833 - +------ Step 1 - Create com.hello jar
[2024-11-22T00:57:46.984Z] STF 00:57:46.833 - | Create modular jar
[2024-11-22T00:57:46.984Z] STF 00:57:46.833 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello
[2024-11-22T00:57:46.985Z] STF 00:57:46.833 - | ModuleVersion: null
[2024-11-22T00:57:46.985Z] STF 00:57:46.833 - | MainClass: null
[2024-11-22T00:57:46.985Z] STF 00:57:46.833 - | HashModules: null
[2024-11-22T00:57:46.985Z] STF 00:57:46.833 - |
[2024-11-22T00:57:46.985Z] STF 00:57:46.834 - Running command: c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17322350814704/PatModImg_AppMod_0/20241122-005744-PatModImgTest/modules/1.com.hello.jar -C C:\jenkins\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-22T00:57:46.985Z] STF 00:57:46.834 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17322350814704/PatModImg_AppMod_0/20241122-005744-PatModImgTest/results/1.CMJ.stderr
[2024-11-22T00:57:46.985Z] STF 00:57:46.834 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17322350814704/PatModImg_AppMod_0/20241122-005744-PatModImgTest/results/1.CMJ.stdout
[2024-11-22T00:57:46.985Z] STF 00:57:46.869 - Monitoring processes: CMJ
[2024-11-22T00:57:47.318Z] STF 00:57:47.228 - Monitoring Report Summary:
[2024-11-22T00:57:47.318Z] STF 00:57:47.228 - o Process CMJ ended with the expected exit code (0)
[2024-11-22T00:57:47.318Z] STF 00:57:47.228 - Created modular jar: 1.com.hello.jar
[2024-11-22T00:57:47.318Z] STF 00:57:47.228 -
[2024-11-22T00:57:47.318Z] STF 00:57:47.228 - +------ Step 2 - Create com.hola jar
[2024-11-22T00:57:47.318Z] STF 00:57:47.228 - | Create modular jar
[2024-11-22T00:57:47.318Z] STF 00:57:47.228 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola
[2024-11-22T00:57:47.318Z] STF 00:57:47.228 - | ModuleVersion: null
[2024-11-22T00:57:47.318Z] STF 00:57:47.228 - | MainClass: null
[2024-11-22T00:57:47.318Z] STF 00:57:47.228 - | HashModules: null
[2024-11-22T00:57:47.318Z] STF 00:57:47.228 - |
[2024-11-22T00:57:47.318Z] STF 00:57:47.229 - Running command: c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17322350814704/PatModImg_AppMod_0/20241122-005744-PatModImgTest/modules/2.com.hola.jar -C C:\jenkins\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-22T00:57:47.318Z] STF 00:57:47.229 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17322350814704/PatModImg_AppMod_0/20241122-005744-PatModImgTest/results/2.CMJ.stderr
[2024-11-22T00:57:47.319Z] STF 00:57:47.229 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17322350814704/PatModImg_AppMod_0/20241122-005744-PatModImgTest/results/2.CMJ.stdout
[2024-11-22T00:57:47.319Z] STF 00:57:47.251 - Monitoring processes: CMJ
[2024-11-22T00:57:48.029Z] STF 00:57:47.654 - Monitoring Report Summary:
[2024-11-22T00:57:48.029Z] STF 00:57:47.654 - o Process CMJ ended with the expected exit code (0)
[2024-11-22T00:57:48.029Z] STF 00:57:47.655 - Created modular jar: 2.com.hola.jar
[2024-11-22T00:57:48.029Z] STF 00:57:47.655 -
[2024-11-22T00:57:48.029Z] STF 00:57:47.655 - +------ Step 3 - Create com.helper jar
[2024-11-22T00:57:48.029Z] STF 00:57:47.655 - | Create modular jar
[2024-11-22T00:57:48.029Z] STF 00:57:47.655 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper
[2024-11-22T00:57:48.029Z] STF 00:57:47.655 - | ModuleVersion: null
[2024-11-22T00:57:48.029Z] STF 00:57:47.655 - | MainClass: null
[2024-11-22T00:57:48.029Z] STF 00:57:47.655 - | HashModules: null
[2024-11-22T00:57:48.029Z] STF 00:57:47.655 - |
[2024-11-22T00:57:48.029Z] STF 00:57:47.655 - Running command: c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17322350814704/PatModImg_AppMod_0/20241122-005744-PatModImgTest/modules/3.com.helper.jar -C C:\jenkins\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-22T00:57:48.029Z] STF 00:57:47.655 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17322350814704/PatModImg_AppMod_0/20241122-005744-PatModImgTest/results/3.CMJ.stderr
[2024-11-22T00:57:48.030Z] STF 00:57:47.655 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17322350814704/PatModImg_AppMod_0/20241122-005744-PatModImgTest/results/3.CMJ.stdout
[2024-11-22T00:57:48.030Z] STF 00:57:47.663 - Monitoring processes: CMJ
[2024-11-22T00:57:48.375Z] STF 00:57:48.047 - Monitoring Report Summary:
[2024-11-22T00:57:48.375Z] STF 00:57:48.047 - o Process CMJ ended with the expected exit code (0)
[2024-11-22T00:57:48.375Z] STF 00:57:48.047 - Created modular jar: 3.com.helper.jar
[2024-11-22T00:57:48.375Z] STF 00:57:48.047 -
[2024-11-22T00:57:48.375Z] STF 00:57:48.047 - +------ Step 4 - Create com.discreet jar
[2024-11-22T00:57:48.375Z] STF 00:57:48.047 - | Create modular jar
[2024-11-22T00:57:48.375Z] STF 00:57:48.047 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet
[2024-11-22T00:57:48.375Z] STF 00:57:48.047 - | ModuleVersion: null
[2024-11-22T00:57:48.375Z] STF 00:57:48.047 - | MainClass: null
[2024-11-22T00:57:48.375Z] STF 00:57:48.047 - | HashModules: null
[2024-11-22T00:57:48.375Z] STF 00:57:48.047 - |
[2024-11-22T00:57:48.375Z] STF 00:57:48.048 - Running command: c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17322350814704/PatModImg_AppMod_0/20241122-005744-PatModImgTest/modules/4.com.discreet.jar -C C:\jenkins\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-22T00:57:48.375Z] STF 00:57:48.048 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17322350814704/PatModImg_AppMod_0/20241122-005744-PatModImgTest/results/4.CMJ.stderr
[2024-11-22T00:57:48.375Z] STF 00:57:48.048 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17322350814704/PatModImg_AppMod_0/20241122-005744-PatModImgTest/results/4.CMJ.stdout
[2024-11-22T00:57:48.375Z] STF 00:57:48.054 - Monitoring processes: CMJ
[2024-11-22T00:57:48.710Z] STF 00:57:48.378 - Monitoring Report Summary:
[2024-11-22T00:57:48.710Z] STF 00:57:48.378 - o Process CMJ ended with the expected exit code (0)
[2024-11-22T00:57:48.710Z] STF 00:57:48.379 - Created modular jar: 4.com.discreet.jar
[2024-11-22T00:57:48.710Z] STF 00:57:48.379 -
[2024-11-22T00:57:48.710Z] STF 00:57:48.379 - +------ Step 5 - Create tests jar
[2024-11-22T00:57:48.710Z] STF 00:57:48.379 - | Create modular jar
[2024-11-22T00:57:48.710Z] STF 00:57:48.379 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test
[2024-11-22T00:57:48.710Z] STF 00:57:48.379 - | ModuleVersion: null
[2024-11-22T00:57:48.710Z] STF 00:57:48.379 - | MainClass: null
[2024-11-22T00:57:48.710Z] STF 00:57:48.379 - | HashModules: null
[2024-11-22T00:57:48.710Z] STF 00:57:48.379 - |
[2024-11-22T00:57:48.710Z] STF 00:57:48.379 - Running command: c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17322350814704/PatModImg_AppMod_0/20241122-005744-PatModImgTest/modules/5.com.test.jar -C C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests\com.test .
[2024-11-22T00:57:48.710Z] STF 00:57:48.379 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17322350814704/PatModImg_AppMod_0/20241122-005744-PatModImgTest/results/5.CMJ.stderr
[2024-11-22T00:57:48.710Z] STF 00:57:48.379 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17322350814704/PatModImg_AppMod_0/20241122-005744-PatModImgTest/results/5.CMJ.stdout
[2024-11-22T00:57:48.710Z] STF 00:57:48.387 - Monitoring processes: CMJ
[2024-11-22T00:57:49.065Z] STF 00:57:48.744 - Monitoring Report Summary:
[2024-11-22T00:57:49.065Z] STF 00:57:48.744 - o Process CMJ ended with the expected exit code (0)
[2024-11-22T00:57:49.065Z] STF 00:57:48.744 - Created modular jar: 5.com.test.jar
[2024-11-22T00:57:49.065Z] STF 00:57:48.744 -
[2024-11-22T00:57:49.065Z] STF 00:57:48.744 - +------ Step 6 - Create runtime image for PatchModule test
[2024-11-22T00:57:49.065Z] STF 00:57:48.744 - | Run jlink to create runtime image
[2024-11-22T00:57:49.065Z] STF 00:57:48.744 - | ImageName: XpJVM
[2024-11-22T00:57:49.065Z] STF 00:57:48.744 - |
[2024-11-22T00:57:49.065Z] STF 00:57:48.744 - Running command: c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jlink --module-path c:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jdkbinary\j2sdk-image\jmods;C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\aqa-tests\TKG\output_17322350814704\PatModImg_AppMod_0\20241122-005744-PatModImgTest\modules --add-modules com.hello,com.hola,com.test,com.helper,com.discreet --output C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\aqa-tests\TKG\output_17322350814704\PatModImg_AppMod_0\20241122-005744-PatModImgTest\tmp\6.XpJVM
[2024-11-22T00:57:49.065Z] STF 00:57:48.745 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17322350814704/PatModImg_AppMod_0/20241122-005744-PatModImgTest/results/6.JLNK.stderr
[2024-11-22T00:57:49.065Z] STF 00:57:48.745 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17322350814704/PatModImg_AppMod_0/20241122-005744-PatModImgTest/results/6.JLNK.stdout
[2024-11-22T00:57:49.065Z] STF 00:57:48.752 - Monitoring processes: JLNK
[2024-11-22T00:57:52.372Z] STF 00:57:52.011 - Monitoring Report Summary:
[2024-11-22T00:57:52.372Z] STF 00:57:52.011 - o Process JLNK ended with the expected exit code (0)
[2024-11-22T00:57:52.372Z] STF 00:57:52.011 -
[2024-11-22T00:57:52.372Z] STF 00:57:52.011 - +------ Step 7 - Create com.hello jar
[2024-11-22T00:57:52.372Z] STF 00:57:52.011 - | Create modular jar
[2024-11-22T00:57:52.372Z] STF 00:57:52.011 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello
[2024-11-22T00:57:52.372Z] STF 00:57:52.011 - | ModuleVersion: null
[2024-11-22T00:57:52.372Z] STF 00:57:52.011 - | MainClass: null
[2024-11-22T00:57:52.372Z] STF 00:57:52.011 - | HashModules: null
[2024-11-22T00:57:52.372Z] STF 00:57:52.011 - |
[2024-11-22T00:57:52.372Z] STF 00:57:52.012 - Running command: c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17322350814704/PatModImg_AppMod_0/20241122-005744-PatModImgTest/modules/7.com.hello.jar -C C:\jenkins\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-22T00:57:52.372Z] STF 00:57:52.012 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17322350814704/PatModImg_AppMod_0/20241122-005744-PatModImgTest/results/7.CMJ.stderr
[2024-11-22T00:57:52.372Z] STF 00:57:52.012 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17322350814704/PatModImg_AppMod_0/20241122-005744-PatModImgTest/results/7.CMJ.stdout
[2024-11-22T00:57:52.372Z] STF 00:57:52.019 - Monitoring processes: CMJ
[2024-11-22T00:57:53.070Z] STF 00:57:52.642 - Monitoring Report Summary:
[2024-11-22T00:57:53.070Z] STF 00:57:52.642 - o Process CMJ ended with the expected exit code (0)
[2024-11-22T00:57:53.070Z] STF 00:57:52.642 - Created modular jar: 7.com.hello.jar
[2024-11-22T00:57:53.070Z] STF 00:57:52.642 -
[2024-11-22T00:57:53.070Z] STF 00:57:52.642 - +------ Step 8 - create java.xml.jar
[2024-11-22T00:57:53.070Z] STF 00:57:52.642 - | Create modular jar
[2024-11-22T00:57:53.070Z] STF 00:57:52.642 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml
[2024-11-22T00:57:53.070Z] STF 00:57:52.642 - | ModuleVersion: null
[2024-11-22T00:57:53.070Z] STF 00:57:52.642 - | MainClass: null
[2024-11-22T00:57:53.070Z] STF 00:57:52.642 - | HashModules: null
[2024-11-22T00:57:53.070Z] STF 00:57:52.642 - |
[2024-11-22T00:57:53.070Z] STF 00:57:52.643 - Running command: c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17322350814704/PatModImg_AppMod_0/20241122-005744-PatModImgTest/modules/8.java.xml.jar -C C:\jenkins\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-22T00:57:53.070Z] STF 00:57:52.643 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17322350814704/PatModImg_AppMod_0/20241122-005744-PatModImgTest/results/8.CMJ.stderr
[2024-11-22T00:57:53.070Z] STF 00:57:52.643 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17322350814704/PatModImg_AppMod_0/20241122-005744-PatModImgTest/results/8.CMJ.stdout
[2024-11-22T00:57:53.070Z] STF 00:57:52.650 - Monitoring processes: CMJ
[2024-11-22T00:57:53.410Z] STF 00:57:52.991 - Monitoring Report Summary:
[2024-11-22T00:57:53.410Z] STF 00:57:52.991 - o Process CMJ ended with the expected exit code (0)
[2024-11-22T00:57:53.410Z] STF 00:57:52.991 - Created modular jar: 8.java.xml.jar
[2024-11-22T00:57:53.410Z] STF 00:57:52.991 -
[2024-11-22T00:57:53.410Z] STF 00:57:52.991 - +------ Step 9 - Verify if we can patch an Application module using exploded directory
[2024-11-22T00:57:53.410Z] STF 00:57:52.991 - | Run foreground process
[2024-11-22T00:57:53.410Z] STF 00:57:52.991 - | Program: C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17322350814704/PatModImg_AppMod_0/20241122-005744-PatModImgTest/tmp/6.XpJVM/bin/java
[2024-11-22T00:57:53.410Z] STF 00:57:52.991 - | Mnemonic: OT21
[2024-11-22T00:57:53.410Z] STF 00:57:52.991 - | Echo: ECHO_ON
[2024-11-22T00:57:53.410Z] STF 00:57:52.991 - | Expectation: CLEAN_RUN within 5m
[2024-11-22T00:57:53.410Z] STF 00:57:52.991 - |
[2024-11-22T00:57:53.410Z] STF 00:57:52.992 - Running command: C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17322350814704/PatModImg_AppMod_0/20241122-005744-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module com.hello=C:\jenkins\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:/jenkins/testDependency/system_lib/junit/junit.jar;c:/jenkins/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingAppModule
[2024-11-22T00:57:53.410Z] STF 00:57:52.992 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17322350814704/PatModImg_AppMod_0/20241122-005744-PatModImgTest/results/9.OT21.stderr
[2024-11-22T00:57:53.410Z] STF 00:57:52.992 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17322350814704/PatModImg_AppMod_0/20241122-005744-PatModImgTest/results/9.OT21.stdout
[2024-11-22T00:57:53.410Z] STF 00:57:53.019 - Monitoring processes: OT21
[2024-11-22T00:57:53.749Z] OT21 stderr WARNING: module-info.class ignored in patch: C:\jenkins\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-22T00:57:53.749Z] OT21 JUnit version 4.12
[2024-11-22T00:57:53.749Z] OT21 .
[2024-11-22T00:57:53.749Z] OT21 Time: 0.011
[2024-11-22T00:57:53.749Z] OT21
[2024-11-22T00:57:53.749Z] OT21 OK (1 test)
[2024-11-22T00:57:53.749Z] OT21
[2024-11-22T00:57:53.749Z] STF 00:57:53.639 - Monitoring Report Summary:
[2024-11-22T00:57:53.749Z] STF 00:57:53.639 - o Process OT21 ended with the expected exit code (0)
[2024-11-22T00:57:53.749Z] STF 00:57:53.639 -
[2024-11-22T00:57:53.749Z] STF 00:57:53.639 - +------ Step 10 - Verify if we can patch an Application module using modular jar
[2024-11-22T00:57:53.749Z] STF 00:57:53.639 - | Run foreground process
[2024-11-22T00:57:53.749Z] STF 00:57:53.639 - | Program: C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17322350814704/PatModImg_AppMod_0/20241122-005744-PatModImgTest/tmp/6.XpJVM/bin/java
[2024-11-22T00:57:53.749Z] STF 00:57:53.639 - | Mnemonic: OT22
[2024-11-22T00:57:53.749Z] STF 00:57:53.639 - | Echo: ECHO_ON
[2024-11-22T00:57:53.749Z] STF 00:57:53.639 - | Expectation: CLEAN_RUN within 5m
[2024-11-22T00:57:53.749Z] STF 00:57:53.640 - |
[2024-11-22T00:57:53.749Z] STF 00:57:53.640 - Running command: C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17322350814704/PatModImg_AppMod_0/20241122-005744-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module com.hello=C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17322350814704/PatModImg_AppMod_0/20241122-005744-PatModImgTest/modules/7.com.hello.jar -XX:+UseCompressedOops -classpath c:/jenkins/testDependency/system_lib/junit/junit.jar;c:/jenkins/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingAppModule
[2024-11-22T00:57:53.749Z] STF 00:57:53.640 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17322350814704/PatModImg_AppMod_0/20241122-005744-PatModImgTest/results/10.OT22.stderr
[2024-11-22T00:57:53.749Z] STF 00:57:53.640 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17322350814704/PatModImg_AppMod_0/20241122-005744-PatModImgTest/results/10.OT22.stdout
[2024-11-22T00:57:53.749Z] STF 00:57:53.646 - Monitoring processes: OT22
[2024-11-22T00:57:54.078Z] OT22 stderr WARNING: module-info.class ignored in patch: C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\aqa-tests\TKG\output_17322350814704\PatModImg_AppMod_0\20241122-005744-PatModImgTest\modules\7.com.hello.jar
[2024-11-22T00:57:54.078Z] OT22 JUnit version 4.12
[2024-11-22T00:57:54.078Z] OT22 .
[2024-11-22T00:57:54.458Z] OT22 Time: 0.008
[2024-11-22T00:57:54.458Z] OT22
[2024-11-22T00:57:54.458Z] OT22 OK (1 test)
[2024-11-22T00:57:54.458Z] OT22
[2024-11-22T00:57:54.458Z] STF 00:57:54.039 - Monitoring Report Summary:
[2024-11-22T00:57:54.458Z] STF 00:57:54.039 - o Process OT22 ended with the expected exit code (0)
[2024-11-22T00:57:54.458Z] STF 00:57:54.039 - EXECUTE stage completed
[2024-11-22T00:57:54.458Z] STF 00:57:54.115 -
[2024-11-22T00:57:54.458Z] STF 00:57:54.115 - ==================== T E A R D O W N ====================
[2024-11-22T00:57:54.458Z] STF 00:57:54.115 - Running teardown: perl C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17322350814704\PatModImg_AppMod_0/20241122-005744-PatModImgTest/tearDown.pl
[2024-11-22T00:57:54.458Z] STF 00:57:54.268 - TEARDOWN stage completed
[2024-11-22T00:57:54.458Z] STF 00:57:54.282 -
[2024-11-22T00:57:54.458Z] STF 00:57:54.282 - ===================== R E S U L T S =====================
[2024-11-22T00:57:54.458Z] STF 00:57:54.282 - Stage results:
[2024-11-22T00:57:54.458Z] STF 00:57:54.282 - setUp: pass
[2024-11-22T00:57:54.458Z] STF 00:57:54.282 - execute: pass
[2024-11-22T00:57:54.458Z] STF 00:57:54.282 - teardown: pass
[2024-11-22T00:57:54.458Z] STF 00:57:54.282 -
[2024-11-22T00:57:54.458Z] STF 00:57:54.282 - Overall result: PASSED
[2024-11-22T00:57:54.458Z] -----------------------------------
[2024-11-22T00:57:54.458Z] PatModImg_AppMod_0_PASSED
[2024-11-22T00:57:54.458Z] -----------------------------------
[2024-11-22T00:57:54.458Z]
[2024-11-22T00:57:54.458Z] TEST TEARDOWN:
[2024-11-22T00:57:54.458Z] Nothing to be done for teardown.
[2024-11-22T00:57:54.831Z] PatModImg_AppMod_0 Finish Time: Fri Nov 22 00:57:54 2024 Epoch Time (ms): 1732237074586