PatModImg_AppMod_1
[2024-06-27T09:03:38.510Z] Running test PatModImg_AppMod_1 ...
[2024-06-27T09:03:38.510Z] ===============================================
[2024-06-27T09:03:38.510Z] PatModImg_AppMod_1 Start Time: Thu Jun 27 09:03:38 2024 Epoch Time (ms): 1719479018205
[2024-06-27T09:03:38.510Z] variation: Mode650
[2024-06-27T09:03:38.510Z] JVM_OPTIONS: -XX:-UseCompressedOops
[2024-06-27T09:03:38.510Z] { \
[2024-06-27T09:03:38.510Z] echo ""; echo "TEST SETUP:"; \
[2024-06-27T09:03:38.510Z] echo "Nothing to be done for setup."; \
[2024-06-27T09:03:38.510Z] mkdir -p "C:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17194763161888\\PatModImg_AppMod_1"; \
[2024-06-27T09:03:38.510Z] cd "C:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17194763161888\\PatModImg_AppMod_1"; \
[2024-06-27T09:03:38.510Z] echo ""; echo "TESTING:"; \
[2024-06-27T09:03:38.510Z] perl C:/Users/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:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests///..//jvmtest\\system\\modularity/../\\STF;C:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests///..//jvmtest\\system\\modularity/../\\aqa-systemtest""" -systemtest-prereqs="C:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/../../testDependency/system_lib\\" -java-args=' -XX:-UseCompressedOops ' -results-root="C:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17194763161888\\PatModImg_AppMod_1" -test=PatModImgTest -test-args="variant=AppMod"; \
[2024-06-27T09:03:38.510Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatModImg_AppMod_1""_PASSED"; echo "-----------------------------------"; cd C:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/; rm -f -r "C:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17194763161888\\PatModImg_AppMod_1"; else echo "-----------------------------------"; echo "PatModImg_AppMod_1""_FAILED"; echo "-----------------------------------"; fi; \
[2024-06-27T09:03:38.510Z] echo ""; echo "TEST TEARDOWN:"; \
[2024-06-27T09:03:38.510Z] echo "Nothing to be done for teardown."; \
[2024-06-27T09:03:38.510Z] } 2>&1 | tee -a "C:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17194763161888\\TestTargetResult";
[2024-06-27T09:03:38.510Z]
[2024-06-27T09:03:38.510Z] TEST SETUP:
[2024-06-27T09:03:38.510Z] Nothing to be done for setup.
[2024-06-27T09:03:38.510Z]
[2024-06-27T09:03:38.510Z] TESTING:
[2024-06-27T09:03:39.033Z] STF 09:03:38.475 - ========================= S T F =========================
[2024-06-27T09:03:39.033Z] systemtest-prereqs has been processed, and set to: C:/Users/jenkins/testDependency/system_libRetrieving amount of free space on drive containing C:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17194763161888\PatModImg_AppMod_1
[2024-06-27T09:03:39.033Z] There is 119244 Mb free
[2024-06-27T09:03:39.033Z] STF 09:03:38.501 - ================== G E N E R A T I O N ==================
[2024-06-27T09:03:39.033Z] STF 09:03:38.503 - Checking JVM: C:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image
[2024-06-27T09:03:39.033Z] STF 09:03:38.503 - Starting process to generate scripts: C:/Users/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:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/../../testDependency/system_lib\/log4j/log4j-api.jar;C:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/../../testDependency/system_lib\/log4j/log4j-core.jar;C:/Users/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:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17194763161888\PatModImg_AppMod_1/20240627-090338-PatModImgTest/stf_parameters.properties, , C:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "C:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17194763161888\PatModImg_AppMod_1/20240627-090338-PatModImgTest"
[2024-06-27T09:03:39.033Z] 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-06-27T09:03:39.554Z] GEN 09:03:39.277 - Found test. Project: 'openjdk.test.modularity' class: 'PatModImgTest.class' Dir: 'C:\Users\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin'
[2024-06-27T09:03:39.554Z] GEN 09:03:39.288 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModImgTest'
[2024-06-27T09:03:39.554Z] GEN Classpath directories used by project 'openjdk.test.modularity':
[2024-06-27T09:03:39.554Z] GEN C:\Users\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayService
[2024-06-27T09:03:39.554Z] GEN C:\Users\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-06-27T09:03:39.554Z] GEN C:\Users\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl1
[2024-06-27T09:03:39.554Z] GEN C:\Users\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-06-27T09:03:39.554Z] GEN C:\Users\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-06-27T09:03:39.554Z] GEN C:\Users\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-06-27T09:03:39.554Z] GEN C:\Users\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl2
[2024-06-27T09:03:39.554Z] GEN C:\Users\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-06-27T09:03:39.554Z] GEN C:\Users\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override
[2024-06-27T09:03:39.554Z] GEN C:\Users\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override-new
[2024-06-27T09:03:39.554Z] GEN C:\Users\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl3
[2024-06-27T09:03:39.554Z] GEN C:\Users\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl4
[2024-06-27T09:03:39.554Z] GEN C:\Users\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common
[2024-06-27T09:03:39.554Z] GEN C:\Users\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests
[2024-06-27T09:03:39.554Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin
[2024-06-27T09:03:39.554Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\\jvmtest\\system\\STF\\stf.core\\bin
[2024-06-27T09:03:39.554Z] GEN C:/Users/jenkins/testDependency/system_lib/log4j/log4j-api.jar
[2024-06-27T09:03:39.554Z] GEN C:/Users/jenkins/testDependency/system_lib/log4j/log4j-core.jar
[2024-06-27T09:03:39.554Z] GEN C:/Users/jenkins/testDependency/system_lib/junit/junit.jar
[2024-06-27T09:03:39.554Z] GEN 09:03:39.494 - Using Mode NoOptions. Values = ''
[2024-06-27T09:03:40.166Z] GEN 09:03:39.571 -
[2024-06-27T09:03:40.166Z] GEN 09:03:39.571 - Test command summary:
[2024-06-27T09:03:40.166Z] GEN 09:03:39.571 - Step Stage Command Description
[2024-06-27T09:03:40.166Z] GEN 09:03:39.571 - -----+--------+-----------------+------------
[2024-06-27T09:03:40.166Z] GEN 09:03:39.571 - 1 execute jar Create com.hello jar
[2024-06-27T09:03:40.166Z] GEN 09:03:39.571 - 2 execute jar Create com.hola jar
[2024-06-27T09:03:40.166Z] GEN 09:03:39.571 - 3 execute jar Create com.helper jar
[2024-06-27T09:03:40.167Z] GEN 09:03:39.571 - 4 execute jar Create com.discreet jar
[2024-06-27T09:03:40.167Z] GEN 09:03:39.571 - 5 execute jar Create tests jar
[2024-06-27T09:03:40.167Z] GEN 09:03:39.571 - 6 execute jlink Create runtime image for PatchModule test
[2024-06-27T09:03:40.167Z] GEN 09:03:39.571 - 7 execute jar Create com.hello jar
[2024-06-27T09:03:40.167Z] GEN 09:03:39.571 - 8 execute jar create java.xml.jar
[2024-06-27T09:03:40.167Z] GEN 09:03:39.571 - 9 execute Run java Verify if we can patch an Application module using exploded directory
[2024-06-27T09:03:40.167Z] GEN 09:03:39.571 - 10 execute Run java Verify if we can patch an Application module using modular jar
[2024-06-27T09:03:40.167Z] STF 09:03:39.595 -
[2024-06-27T09:03:40.167Z] STF 09:03:39.595 - Script generation completed
[2024-06-27T09:03:40.167Z] STF 09:03:39.595 -
[2024-06-27T09:03:40.167Z] STF 09:03:39.595 -
[2024-06-27T09:03:40.167Z] STF 09:03:39.595 - ======================= S E T U P =======================
[2024-06-27T09:03:40.167Z] STF 09:03:39.595 - Running setup: perl C:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17194763161888\PatModImg_AppMod_1/20240627-090338-PatModImgTest/setUp.pl
[2024-06-27T09:03:40.167Z] STF 09:03:39.709 - SETUP stage completed
[2024-06-27T09:03:40.167Z] STF 09:03:39.717 -
[2024-06-27T09:03:40.167Z] STF 09:03:39.717 - ==================== E X E C U T E - ====================
[2024-06-27T09:03:40.167Z] STF 09:03:39.717 - Running execute: perl C:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17194763161888\PatModImg_AppMod_1/20240627-090338-PatModImgTest/execute.pl
[2024-06-27T09:03:40.167Z] STF 09:03:39.831 -
[2024-06-27T09:03:40.167Z] STF 09:03:39.831 - Java version
[2024-06-27T09:03:40.167Z] STF 09:03:39.831 - Running: C:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java -version
[2024-06-27T09:03:40.167Z] openjdk version "17.0.12-beta" 2024-07-16
[2024-06-27T09:03:40.167Z] OpenJDK Runtime Environment Temurin-17.0.12+6-202406262227 (build 17.0.12-beta+6-ea)
[2024-06-27T09:03:40.167Z] OpenJDK 64-Bit Server VM Temurin-17.0.12+6-202406262227 (build 17.0.12-beta+6-ea, mixed mode, sharing)
[2024-06-27T09:03:40.167Z] STF 09:03:39.905 -
[2024-06-27T09:03:40.167Z] STF 09:03:39.905 - +------ Step 1 - Create com.hello jar
[2024-06-27T09:03:40.167Z] STF 09:03:39.905 - | Create modular jar
[2024-06-27T09:03:40.167Z] STF 09:03:39.905 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello
[2024-06-27T09:03:40.167Z] STF 09:03:39.905 - | ModuleVersion: null
[2024-06-27T09:03:40.167Z] STF 09:03:39.905 - | MainClass: null
[2024-06-27T09:03:40.167Z] STF 09:03:39.905 - | HashModules: null
[2024-06-27T09:03:40.167Z] STF 09:03:39.905 - |
[2024-06-27T09:03:40.167Z] STF 09:03:39.905 - Running command: C:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17194763161888/PatModImg_AppMod_1/20240627-090338-PatModImgTest/modules/1.com.hello.jar -C C:\Users\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-06-27T09:03:40.167Z] STF 09:03:39.905 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17194763161888/PatModImg_AppMod_1/20240627-090338-PatModImgTest/results/1.CMJ.stderr
[2024-06-27T09:03:40.167Z] STF 09:03:39.905 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17194763161888/PatModImg_AppMod_1/20240627-090338-PatModImgTest/results/1.CMJ.stdout
[2024-06-27T09:03:40.167Z] STF 09:03:39.926 - Monitoring processes: CMJ
[2024-06-27T09:03:40.689Z] STF 09:03:40.143 - Monitoring Report Summary:
[2024-06-27T09:03:40.689Z] STF 09:03:40.143 - o Process CMJ ended with the expected exit code (0)
[2024-06-27T09:03:40.689Z] STF 09:03:40.143 - Created modular jar: 1.com.hello.jar
[2024-06-27T09:03:40.689Z] STF 09:03:40.143 -
[2024-06-27T09:03:40.689Z] STF 09:03:40.143 - +------ Step 2 - Create com.hola jar
[2024-06-27T09:03:40.689Z] STF 09:03:40.143 - | Create modular jar
[2024-06-27T09:03:40.689Z] STF 09:03:40.143 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola
[2024-06-27T09:03:40.689Z] STF 09:03:40.143 - | ModuleVersion: null
[2024-06-27T09:03:40.689Z] STF 09:03:40.143 - | MainClass: null
[2024-06-27T09:03:40.689Z] STF 09:03:40.143 - | HashModules: null
[2024-06-27T09:03:40.689Z] STF 09:03:40.143 - |
[2024-06-27T09:03:40.689Z] STF 09:03:40.144 - Running command: C:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17194763161888/PatModImg_AppMod_1/20240627-090338-PatModImgTest/modules/2.com.hola.jar -C C:\Users\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-06-27T09:03:40.689Z] STF 09:03:40.144 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17194763161888/PatModImg_AppMod_1/20240627-090338-PatModImgTest/results/2.CMJ.stderr
[2024-06-27T09:03:40.689Z] STF 09:03:40.144 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17194763161888/PatModImg_AppMod_1/20240627-090338-PatModImgTest/results/2.CMJ.stdout
[2024-06-27T09:03:40.689Z] STF 09:03:40.146 - Monitoring processes: CMJ
[2024-06-27T09:03:40.689Z] STF 09:03:40.356 - Monitoring Report Summary:
[2024-06-27T09:03:40.689Z] STF 09:03:40.356 - o Process CMJ ended with the expected exit code (0)
[2024-06-27T09:03:40.689Z] STF 09:03:40.356 - Created modular jar: 2.com.hola.jar
[2024-06-27T09:03:40.689Z] STF 09:03:40.356 -
[2024-06-27T09:03:40.689Z] STF 09:03:40.356 - +------ Step 3 - Create com.helper jar
[2024-06-27T09:03:40.689Z] STF 09:03:40.356 - | Create modular jar
[2024-06-27T09:03:40.689Z] STF 09:03:40.356 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper
[2024-06-27T09:03:40.689Z] STF 09:03:40.356 - | ModuleVersion: null
[2024-06-27T09:03:40.689Z] STF 09:03:40.356 - | MainClass: null
[2024-06-27T09:03:40.689Z] STF 09:03:40.356 - | HashModules: null
[2024-06-27T09:03:40.689Z] STF 09:03:40.356 - |
[2024-06-27T09:03:40.689Z] STF 09:03:40.357 - Running command: C:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17194763161888/PatModImg_AppMod_1/20240627-090338-PatModImgTest/modules/3.com.helper.jar -C C:\Users\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-06-27T09:03:40.689Z] STF 09:03:40.357 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17194763161888/PatModImg_AppMod_1/20240627-090338-PatModImgTest/results/3.CMJ.stderr
[2024-06-27T09:03:40.689Z] STF 09:03:40.357 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17194763161888/PatModImg_AppMod_1/20240627-090338-PatModImgTest/results/3.CMJ.stdout
[2024-06-27T09:03:40.689Z] STF 09:03:40.359 - Monitoring processes: CMJ
[2024-06-27T09:03:40.689Z] STF 09:03:40.565 - Monitoring Report Summary:
[2024-06-27T09:03:40.689Z] STF 09:03:40.565 - o Process CMJ ended with the expected exit code (0)
[2024-06-27T09:03:40.689Z] STF 09:03:40.565 - Created modular jar: 3.com.helper.jar
[2024-06-27T09:03:40.689Z] STF 09:03:40.565 -
[2024-06-27T09:03:40.689Z] STF 09:03:40.565 - +------ Step 4 - Create com.discreet jar
[2024-06-27T09:03:40.689Z] STF 09:03:40.565 - | Create modular jar
[2024-06-27T09:03:40.689Z] STF 09:03:40.565 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet
[2024-06-27T09:03:40.689Z] STF 09:03:40.565 - | ModuleVersion: null
[2024-06-27T09:03:40.689Z] STF 09:03:40.565 - | MainClass: null
[2024-06-27T09:03:40.690Z] STF 09:03:40.565 - | HashModules: null
[2024-06-27T09:03:40.690Z] STF 09:03:40.565 - |
[2024-06-27T09:03:40.690Z] STF 09:03:40.566 - Running command: C:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17194763161888/PatModImg_AppMod_1/20240627-090338-PatModImgTest/modules/4.com.discreet.jar -C C:\Users\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-06-27T09:03:40.690Z] STF 09:03:40.566 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17194763161888/PatModImg_AppMod_1/20240627-090338-PatModImgTest/results/4.CMJ.stderr
[2024-06-27T09:03:40.690Z] STF 09:03:40.566 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17194763161888/PatModImg_AppMod_1/20240627-090338-PatModImgTest/results/4.CMJ.stdout
[2024-06-27T09:03:40.690Z] STF 09:03:40.568 - Monitoring processes: CMJ
[2024-06-27T09:03:41.212Z] STF 09:03:40.774 - Monitoring Report Summary:
[2024-06-27T09:03:41.212Z] STF 09:03:40.774 - o Process CMJ ended with the expected exit code (0)
[2024-06-27T09:03:41.212Z] STF 09:03:40.774 - Created modular jar: 4.com.discreet.jar
[2024-06-27T09:03:41.212Z] STF 09:03:40.774 -
[2024-06-27T09:03:41.212Z] STF 09:03:40.774 - +------ Step 5 - Create tests jar
[2024-06-27T09:03:41.212Z] STF 09:03:40.774 - | Create modular jar
[2024-06-27T09:03:41.212Z] STF 09:03:40.774 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test
[2024-06-27T09:03:41.212Z] STF 09:03:40.774 - | ModuleVersion: null
[2024-06-27T09:03:41.212Z] STF 09:03:40.774 - | MainClass: null
[2024-06-27T09:03:41.212Z] STF 09:03:40.774 - | HashModules: null
[2024-06-27T09:03:41.212Z] STF 09:03:40.774 - |
[2024-06-27T09:03:41.212Z] STF 09:03:40.775 - Running command: C:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17194763161888/PatModImg_AppMod_1/20240627-090338-PatModImgTest/modules/5.com.test.jar -C C:\Users\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests\com.test .
[2024-06-27T09:03:41.212Z] STF 09:03:40.775 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17194763161888/PatModImg_AppMod_1/20240627-090338-PatModImgTest/results/5.CMJ.stderr
[2024-06-27T09:03:41.212Z] STF 09:03:40.775 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17194763161888/PatModImg_AppMod_1/20240627-090338-PatModImgTest/results/5.CMJ.stdout
[2024-06-27T09:03:41.212Z] STF 09:03:40.777 - Monitoring processes: CMJ
[2024-06-27T09:03:41.212Z] STF 09:03:40.994 - Monitoring Report Summary:
[2024-06-27T09:03:41.212Z] STF 09:03:40.994 - o Process CMJ ended with the expected exit code (0)
[2024-06-27T09:03:41.212Z] STF 09:03:40.994 - Created modular jar: 5.com.test.jar
[2024-06-27T09:03:41.212Z] STF 09:03:40.994 -
[2024-06-27T09:03:41.212Z] STF 09:03:40.994 - +------ Step 6 - Create runtime image for PatchModule test
[2024-06-27T09:03:41.212Z] STF 09:03:40.994 - | Run jlink to create runtime image
[2024-06-27T09:03:41.212Z] STF 09:03:40.994 - | ImageName: XpJVM
[2024-06-27T09:03:41.212Z] STF 09:03:40.994 - |
[2024-06-27T09:03:41.212Z] STF 09:03:40.995 - Running command: C:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jlink --module-path C:\Users\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jdkbinary\j2sdk-image\jmods;C:\Users\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\aqa-tests\TKG\output_17194763161888\PatModImg_AppMod_1\20240627-090338-PatModImgTest\modules --add-modules com.hello,com.hola,com.test,com.helper,com.discreet --output C:\Users\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\aqa-tests\TKG\output_17194763161888\PatModImg_AppMod_1\20240627-090338-PatModImgTest\tmp\6.XpJVM
[2024-06-27T09:03:41.212Z] STF 09:03:40.995 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17194763161888/PatModImg_AppMod_1/20240627-090338-PatModImgTest/results/6.JLNK.stderr
[2024-06-27T09:03:41.212Z] STF 09:03:40.995 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17194763161888/PatModImg_AppMod_1/20240627-090338-PatModImgTest/results/6.JLNK.stdout
[2024-06-27T09:03:41.212Z] STF 09:03:40.997 - Monitoring processes: JLNK
[2024-06-27T09:03:43.048Z] STF 09:03:42.943 - Monitoring Report Summary:
[2024-06-27T09:03:43.048Z] STF 09:03:42.943 - o Process JLNK ended with the expected exit code (0)
[2024-06-27T09:03:43.048Z] STF 09:03:42.944 -
[2024-06-27T09:03:43.048Z] STF 09:03:42.944 - +------ Step 7 - Create com.hello jar
[2024-06-27T09:03:43.048Z] STF 09:03:42.944 - | Create modular jar
[2024-06-27T09:03:43.048Z] STF 09:03:42.944 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello
[2024-06-27T09:03:43.048Z] STF 09:03:42.944 - | ModuleVersion: null
[2024-06-27T09:03:43.048Z] STF 09:03:42.944 - | MainClass: null
[2024-06-27T09:03:43.048Z] STF 09:03:42.944 - | HashModules: null
[2024-06-27T09:03:43.048Z] STF 09:03:42.944 - |
[2024-06-27T09:03:43.048Z] STF 09:03:42.944 - Running command: C:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17194763161888/PatModImg_AppMod_1/20240627-090338-PatModImgTest/modules/7.com.hello.jar -C C:\Users\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-06-27T09:03:43.048Z] STF 09:03:42.944 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17194763161888/PatModImg_AppMod_1/20240627-090338-PatModImgTest/results/7.CMJ.stderr
[2024-06-27T09:03:43.048Z] STF 09:03:42.944 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17194763161888/PatModImg_AppMod_1/20240627-090338-PatModImgTest/results/7.CMJ.stdout
[2024-06-27T09:03:43.048Z] STF 09:03:42.948 - Monitoring processes: CMJ
[2024-06-27T09:03:43.572Z] STF 09:03:43.158 - Monitoring Report Summary:
[2024-06-27T09:03:43.572Z] STF 09:03:43.158 - o Process CMJ ended with the expected exit code (0)
[2024-06-27T09:03:43.572Z] STF 09:03:43.158 - Created modular jar: 7.com.hello.jar
[2024-06-27T09:03:43.573Z] STF 09:03:43.158 -
[2024-06-27T09:03:43.573Z] STF 09:03:43.158 - +------ Step 8 - create java.xml.jar
[2024-06-27T09:03:43.573Z] STF 09:03:43.158 - | Create modular jar
[2024-06-27T09:03:43.573Z] STF 09:03:43.158 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml
[2024-06-27T09:03:43.573Z] STF 09:03:43.158 - | ModuleVersion: null
[2024-06-27T09:03:43.573Z] STF 09:03:43.158 - | MainClass: null
[2024-06-27T09:03:43.573Z] STF 09:03:43.158 - | HashModules: null
[2024-06-27T09:03:43.573Z] STF 09:03:43.158 - |
[2024-06-27T09:03:43.573Z] STF 09:03:43.158 - Running command: C:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17194763161888/PatModImg_AppMod_1/20240627-090338-PatModImgTest/modules/8.java.xml.jar -C C:\Users\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-06-27T09:03:43.573Z] STF 09:03:43.159 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17194763161888/PatModImg_AppMod_1/20240627-090338-PatModImgTest/results/8.CMJ.stderr
[2024-06-27T09:03:43.573Z] STF 09:03:43.159 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17194763161888/PatModImg_AppMod_1/20240627-090338-PatModImgTest/results/8.CMJ.stdout
[2024-06-27T09:03:43.573Z] STF 09:03:43.161 - Monitoring processes: CMJ
[2024-06-27T09:03:43.573Z] STF 09:03:43.362 - Monitoring Report Summary:
[2024-06-27T09:03:43.573Z] STF 09:03:43.362 - o Process CMJ ended with the expected exit code (0)
[2024-06-27T09:03:43.573Z] STF 09:03:43.362 - Created modular jar: 8.java.xml.jar
[2024-06-27T09:03:43.573Z] STF 09:03:43.362 -
[2024-06-27T09:03:43.573Z] STF 09:03:43.362 - +------ Step 9 - Verify if we can patch an Application module using exploded directory
[2024-06-27T09:03:43.573Z] STF 09:03:43.362 - | Run foreground process
[2024-06-27T09:03:43.573Z] STF 09:03:43.362 - | Program: C:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17194763161888/PatModImg_AppMod_1/20240627-090338-PatModImgTest/tmp/6.XpJVM/bin/java
[2024-06-27T09:03:43.573Z] STF 09:03:43.362 - | Mnemonic: OT21
[2024-06-27T09:03:43.573Z] STF 09:03:43.362 - | Echo: ECHO_ON
[2024-06-27T09:03:43.573Z] STF 09:03:43.362 - | Expectation: CLEAN_RUN within 5m
[2024-06-27T09:03:43.573Z] STF 09:03:43.362 - |
[2024-06-27T09:03:43.573Z] STF 09:03:43.362 - Running command: C:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17194763161888/PatModImg_AppMod_1/20240627-090338-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module com.hello=C:\Users\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.hello -XX:-UseCompressedOops -classpath C:/Users/jenkins/testDependency/system_lib/junit/junit.jar;C:/Users/jenkins/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingAppModule
[2024-06-27T09:03:43.573Z] STF 09:03:43.362 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17194763161888/PatModImg_AppMod_1/20240627-090338-PatModImgTest/results/9.OT21.stderr
[2024-06-27T09:03:43.573Z] STF 09:03:43.362 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17194763161888/PatModImg_AppMod_1/20240627-090338-PatModImgTest/results/9.OT21.stdout
[2024-06-27T09:03:43.573Z] STF 09:03:43.373 - Monitoring processes: OT21
[2024-06-27T09:03:43.573Z] OT21 stderr WARNING: module-info.class ignored in patch: C:\Users\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-06-27T09:03:44.097Z] OT21 JUnit version 4.12
[2024-06-27T09:03:44.097Z] OT21 .
[2024-06-27T09:03:44.097Z] OT21 Time: 0.007
[2024-06-27T09:03:44.097Z] OT21
[2024-06-27T09:03:44.097Z] OT21 OK (1 test)
[2024-06-27T09:03:44.097Z] OT21
[2024-06-27T09:03:44.097Z] STF 09:03:43.662 - Monitoring Report Summary:
[2024-06-27T09:03:44.097Z] STF 09:03:43.662 - o Process OT21 ended with the expected exit code (0)
[2024-06-27T09:03:44.097Z] STF 09:03:43.662 -
[2024-06-27T09:03:44.097Z] STF 09:03:43.662 - +------ Step 10 - Verify if we can patch an Application module using modular jar
[2024-06-27T09:03:44.097Z] STF 09:03:43.662 - | Run foreground process
[2024-06-27T09:03:44.097Z] STF 09:03:43.662 - | Program: C:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17194763161888/PatModImg_AppMod_1/20240627-090338-PatModImgTest/tmp/6.XpJVM/bin/java
[2024-06-27T09:03:44.097Z] STF 09:03:43.662 - | Mnemonic: OT22
[2024-06-27T09:03:44.097Z] STF 09:03:43.662 - | Echo: ECHO_ON
[2024-06-27T09:03:44.097Z] STF 09:03:43.662 - | Expectation: CLEAN_RUN within 5m
[2024-06-27T09:03:44.097Z] STF 09:03:43.662 - |
[2024-06-27T09:03:44.097Z] STF 09:03:43.662 - Running command: C:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17194763161888/PatModImg_AppMod_1/20240627-090338-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module com.hello=C:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17194763161888/PatModImg_AppMod_1/20240627-090338-PatModImgTest/modules/7.com.hello.jar -XX:-UseCompressedOops -classpath C:/Users/jenkins/testDependency/system_lib/junit/junit.jar;C:/Users/jenkins/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingAppModule
[2024-06-27T09:03:44.097Z] STF 09:03:43.662 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17194763161888/PatModImg_AppMod_1/20240627-090338-PatModImgTest/results/10.OT22.stderr
[2024-06-27T09:03:44.097Z] STF 09:03:43.662 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17194763161888/PatModImg_AppMod_1/20240627-090338-PatModImgTest/results/10.OT22.stdout
[2024-06-27T09:03:44.097Z] STF 09:03:43.666 - Monitoring processes: OT22
[2024-06-27T09:03:44.097Z] OT22 stderr WARNING: module-info.class ignored in patch: C:\Users\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\aqa-tests\TKG\output_17194763161888\PatModImg_AppMod_1\20240627-090338-PatModImgTest\modules\7.com.hello.jar
[2024-06-27T09:03:44.097Z] OT22 JUnit version 4.12
[2024-06-27T09:03:44.097Z] OT22 .
[2024-06-27T09:03:44.097Z] OT22 Time: 0.005
[2024-06-27T09:03:44.097Z] OT22
[2024-06-27T09:03:44.097Z] OT22 OK (1 test)
[2024-06-27T09:03:44.097Z] OT22
[2024-06-27T09:03:44.097Z] STF 09:03:43.929 - Monitoring Report Summary:
[2024-06-27T09:03:44.097Z] STF 09:03:43.929 - o Process OT22 ended with the expected exit code (0)
[2024-06-27T09:03:44.097Z] STF 09:03:43.930 - EXECUTE stage completed
[2024-06-27T09:03:44.098Z] STF 09:03:43.946 -
[2024-06-27T09:03:44.098Z] STF 09:03:43.946 - ==================== T E A R D O W N ====================
[2024-06-27T09:03:44.098Z] STF 09:03:43.946 - Running teardown: perl C:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17194763161888\PatModImg_AppMod_1/20240627-090338-PatModImgTest/tearDown.pl
[2024-06-27T09:03:44.620Z] STF 09:03:44.058 - TEARDOWN stage completed
[2024-06-27T09:03:44.620Z] STF 09:03:44.069 -
[2024-06-27T09:03:44.620Z] STF 09:03:44.069 - ===================== R E S U L T S =====================
[2024-06-27T09:03:44.620Z] STF 09:03:44.069 - Stage results:
[2024-06-27T09:03:44.620Z] STF 09:03:44.069 - setUp: pass
[2024-06-27T09:03:44.620Z] STF 09:03:44.069 - execute: pass
[2024-06-27T09:03:44.620Z] STF 09:03:44.069 - teardown: pass
[2024-06-27T09:03:44.620Z] STF 09:03:44.069 -
[2024-06-27T09:03:44.620Z] STF 09:03:44.069 - Overall result: PASSED
[2024-06-27T09:03:44.620Z] -----------------------------------
[2024-06-27T09:03:44.620Z] PatModImg_AppMod_1_PASSED
[2024-06-27T09:03:44.620Z] -----------------------------------
[2024-06-27T09:03:44.620Z]
[2024-06-27T09:03:44.620Z] TEST TEARDOWN:
[2024-06-27T09:03:44.620Z] Nothing to be done for teardown.
[2024-06-27T09:03:44.620Z] PatModImg_AppMod_1 Finish Time: Thu Jun 27 09:03:44 2024 Epoch Time (ms): 1719479024238