PatModImg_AppMod_0
[2024-08-22T00:57:41.826Z] Running test PatModImg_AppMod_0 ...
[2024-08-22T00:57:41.826Z] ===============================================
[2024-08-22T00:57:41.826Z] PatModImg_AppMod_0 Start Time: Thu Aug 22 00:57:41 2024 Epoch Time (ms): 1724288261586
[2024-08-22T00:57:41.826Z] variation: Mode150
[2024-08-22T00:57:41.826Z] JVM_OPTIONS: -XX:+UseCompressedOops
[2024-08-22T00:57:41.826Z] { \
[2024-08-22T00:57:41.826Z] echo ""; echo "TEST SETUP:"; \
[2024-08-22T00:57:41.826Z] echo "Nothing to be done for setup."; \
[2024-08-22T00:57:41.826Z] mkdir -p "/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/aqa-tests/TKG/../TKG/output_172428707541/PatModImg_AppMod_0"; \
[2024-08-22T00:57:41.826Z] cd "/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/aqa-tests/TKG/../TKG/output_172428707541/PatModImg_AppMod_0"; \
[2024-08-22T00:57:41.826Z] echo ""; echo "TESTING:"; \
[2024-08-22T00:57:41.826Z] perl /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF/stf.core/scripts/stf.pl -test-root="/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF;/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/aqa-tests/TKG/../../jvmtest/system/modularity/..//aqa-systemtest""" -systemtest-prereqs="/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/../../testDependency/system_lib/" -java-args=' -XX:+UseCompressedOops ' -results-root="/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/aqa-tests/TKG/../TKG/output_172428707541/PatModImg_AppMod_0" -test=PatModImgTest -test-args="variant=AppMod"; \
[2024-08-22T00:57:41.826Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatModImg_AppMod_0""_PASSED"; echo "-----------------------------------"; cd /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/aqa-tests/TKG/..; rm -f -r "/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/aqa-tests/TKG/../TKG/output_172428707541/PatModImg_AppMod_0"; else echo "-----------------------------------"; echo "PatModImg_AppMod_0""_FAILED"; echo "-----------------------------------"; fi; \
[2024-08-22T00:57:41.826Z] echo ""; echo "TEST TEARDOWN:"; \
[2024-08-22T00:57:41.826Z] echo "Nothing to be done for teardown."; \
[2024-08-22T00:57:41.826Z] } 2>&1 | tee -a "/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/aqa-tests/TKG/../TKG/output_172428707541/TestTargetResult";
[2024-08-22T00:57:41.826Z]
[2024-08-22T00:57:41.826Z] TEST SETUP:
[2024-08-22T00:57:41.826Z] Nothing to be done for setup.
[2024-08-22T00:57:41.826Z]
[2024-08-22T00:57:41.826Z] TESTING:
[2024-08-22T00:57:43.060Z] STF 00:57:41.930 - ========================= S T F =========================
[2024-08-22T00:57:43.060Z] systemtest-prereqs has been processed, and set to: /home/jenkins/testDependency/system_libRetrieving amount of free space on drive containing /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/aqa-tests/TKG/../TKG/output_172428707541/PatModImg_AppMod_0
[2024-08-22T00:57:43.060Z] There is 164876 Mb free
[2024-08-22T00:57:43.060Z] STF 00:57:41.967 - ================== G E N E R A T I O N ==================
[2024-08-22T00:57:43.060Z] STF 00:57:41.968 - Checking JVM: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/jdkbinary/j2sdk-image
[2024-08-22T00:57:43.060Z] STF 00:57:41.968 - Starting process to generate scripts: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/jdkbinary/j2sdk-image/bin/java -Dlog4j.skipJansi=true -Djava.system.class.loader=net.adoptopenjdk.stf.runner.StfClassLoader -classpath /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/../../testDependency/system_lib//log4j/log4j-api.jar:/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/../../testDependency/system_lib//log4j/log4j-core.jar:/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/aqa-tests/TKG/../TKG/output_172428707541/PatModImg_AppMod_0/20240822-005741-PatModImgTest/stf_parameters.properties, , /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/aqa-tests/TKG/../TKG/output_172428707541/PatModImg_AppMod_0/20240822-005741-PatModImgTest"
[2024-08-22T00:57:43.060Z] 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-08-22T00:57:50.353Z] GEN 00:57:49.587 - Found test. Project: 'openjdk.test.modularity' class: 'PatModImgTest.class' Dir: '/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin'
[2024-08-22T00:57:50.353Z] GEN 00:57:49.731 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModImgTest'
[2024-08-22T00:57:51.163Z] GEN Classpath directories used by project 'openjdk.test.modularity':
[2024-08-22T00:57:51.163Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayService
[2024-08-22T00:57:51.163Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper
[2024-08-22T00:57:51.163Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl1
[2024-08-22T00:57:51.163Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet
[2024-08-22T00:57:51.163Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello
[2024-08-22T00:57:51.163Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola
[2024-08-22T00:57:51.163Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl2
[2024-08-22T00:57:51.163Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hi
[2024-08-22T00:57:51.163Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override
[2024-08-22T00:57:51.163Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override-new
[2024-08-22T00:57:51.163Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl3
[2024-08-22T00:57:51.163Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl4
[2024-08-22T00:57:51.163Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common
[2024-08-22T00:57:51.163Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests
[2024-08-22T00:57:51.163Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin
[2024-08-22T00:57:51.163Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/jvmtest/system/STF/stf.core/bin
[2024-08-22T00:57:51.163Z] GEN /home/jenkins/testDependency/system_lib/log4j/log4j-api.jar
[2024-08-22T00:57:51.163Z] GEN /home/jenkins/testDependency/system_lib/log4j/log4j-core.jar
[2024-08-22T00:57:51.163Z] GEN /home/jenkins/testDependency/system_lib/junit/junit.jar
[2024-08-22T00:57:51.969Z] GEN 00:57:51.435 - Using Mode NoOptions. Values = ''
[2024-08-22T00:57:52.754Z] GEN 00:57:52.379 -
[2024-08-22T00:57:52.754Z] GEN 00:57:52.379 - Test command summary:
[2024-08-22T00:57:52.754Z] GEN 00:57:52.395 - Step Stage Command Description
[2024-08-22T00:57:52.754Z] GEN 00:57:52.395 - -----+--------+-----------------+------------
[2024-08-22T00:57:52.754Z] GEN 00:57:52.395 - 1 execute jar Create com.hello jar
[2024-08-22T00:57:52.754Z] GEN 00:57:52.395 - 2 execute jar Create com.hola jar
[2024-08-22T00:57:52.754Z] GEN 00:57:52.395 - 3 execute jar Create com.helper jar
[2024-08-22T00:57:52.754Z] GEN 00:57:52.395 - 4 execute jar Create com.discreet jar
[2024-08-22T00:57:52.754Z] GEN 00:57:52.396 - 5 execute jar Create tests jar
[2024-08-22T00:57:52.754Z] GEN 00:57:52.396 - 6 execute jlink Create runtime image for PatchModule test
[2024-08-22T00:57:52.754Z] GEN 00:57:52.396 - 7 execute jar Create com.hello jar
[2024-08-22T00:57:52.754Z] GEN 00:57:52.396 - 8 execute jar create java.xml.jar
[2024-08-22T00:57:52.754Z] GEN 00:57:52.396 - 9 execute Run java Verify if we can patch an Application module using exploded directory
[2024-08-22T00:57:52.754Z] GEN 00:57:52.396 - 10 execute Run java Verify if we can patch an Application module using modular jar
[2024-08-22T00:57:52.754Z] STF 00:57:52.682 -
[2024-08-22T00:57:52.754Z] STF 00:57:52.689 - Script generation completed
[2024-08-22T00:57:52.754Z] STF 00:57:52.689 -
[2024-08-22T00:57:53.535Z] STF 00:57:52.689 -
[2024-08-22T00:57:53.535Z] STF 00:57:52.692 - ======================= S E T U P =======================
[2024-08-22T00:57:53.535Z] STF 00:57:52.692 - Running setup: perl /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/aqa-tests/TKG/../TKG/output_172428707541/PatModImg_AppMod_0/20240822-005741-PatModImgTest/setUp.pl
[2024-08-22T00:57:53.535Z] STF 00:57:53.271 - SETUP stage completed
[2024-08-22T00:57:53.535Z] STF 00:57:53.288 -
[2024-08-22T00:57:53.535Z] STF 00:57:53.294 - ==================== E X E C U T E - ====================
[2024-08-22T00:57:53.535Z] STF 00:57:53.294 - Running execute: perl /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/aqa-tests/TKG/../TKG/output_172428707541/PatModImg_AppMod_0/20240822-005741-PatModImgTest/execute.pl
[2024-08-22T00:57:54.330Z] STF 00:57:53.759 -
[2024-08-22T00:57:54.330Z] STF 00:57:53.765 - Java version
[2024-08-22T00:57:54.330Z] STF 00:57:53.766 - Running: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/jdkbinary/j2sdk-image/bin/java -version
[2024-08-22T00:57:55.131Z] openjdk version "17.0.13-beta" 2024-10-15
[2024-08-22T00:57:55.131Z] OpenJDK Runtime Environment Temurin-17.0.13+4-202408211936 (build 17.0.13-beta+4-ea)
[2024-08-22T00:57:55.131Z] OpenJDK 64-Bit Server VM Temurin-17.0.13+4-202408211936 (build 17.0.13-beta+4-ea, mixed mode, sharing)
[2024-08-22T00:57:55.131Z] STF 00:57:54.513 -
[2024-08-22T00:57:55.131Z] STF 00:57:54.513 - +------ Step 1 - Create com.hello jar
[2024-08-22T00:57:55.131Z] STF 00:57:54.513 - | Create modular jar
[2024-08-22T00:57:55.131Z] STF 00:57:54.513 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello
[2024-08-22T00:57:55.131Z] STF 00:57:54.513 - | ModuleVersion: null
[2024-08-22T00:57:55.131Z] STF 00:57:54.513 - | MainClass: null
[2024-08-22T00:57:55.131Z] STF 00:57:54.513 - | HashModules: null
[2024-08-22T00:57:55.131Z] STF 00:57:54.513 - |
[2024-08-22T00:57:55.131Z] STF 00:57:54.514 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/aqa-tests/TKG/output_172428707541/PatModImg_AppMod_0/20240822-005741-PatModImgTest/modules/1.com.hello.jar -C /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello .
[2024-08-22T00:57:55.131Z] STF 00:57:54.514 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/aqa-tests/TKG/output_172428707541/PatModImg_AppMod_0/20240822-005741-PatModImgTest/results/1.CMJ.stderr
[2024-08-22T00:57:55.131Z] STF 00:57:54.514 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/aqa-tests/TKG/output_172428707541/PatModImg_AppMod_0/20240822-005741-PatModImgTest/results/1.CMJ.stdout
[2024-08-22T00:57:55.131Z] STF 00:57:54.604 - Monitoring processes: CMJ
[2024-08-22T00:57:57.703Z] STF 00:57:56.732 - Monitoring Report Summary:
[2024-08-22T00:57:57.703Z] STF 00:57:56.732 - o Process CMJ ended with the expected exit code (0)
[2024-08-22T00:57:57.703Z] STF 00:57:56.732 - Created modular jar: 1.com.hello.jar
[2024-08-22T00:57:57.703Z] STF 00:57:56.732 -
[2024-08-22T00:57:57.703Z] STF 00:57:56.732 - +------ Step 2 - Create com.hola jar
[2024-08-22T00:57:57.703Z] STF 00:57:56.732 - | Create modular jar
[2024-08-22T00:57:57.703Z] STF 00:57:56.732 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola
[2024-08-22T00:57:57.703Z] STF 00:57:56.732 - | ModuleVersion: null
[2024-08-22T00:57:57.703Z] STF 00:57:56.732 - | MainClass: null
[2024-08-22T00:57:57.703Z] STF 00:57:56.732 - | HashModules: null
[2024-08-22T00:57:57.703Z] STF 00:57:56.732 - |
[2024-08-22T00:57:57.703Z] STF 00:57:56.743 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/aqa-tests/TKG/output_172428707541/PatModImg_AppMod_0/20240822-005741-PatModImgTest/modules/2.com.hola.jar -C /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola .
[2024-08-22T00:57:57.703Z] STF 00:57:56.743 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/aqa-tests/TKG/output_172428707541/PatModImg_AppMod_0/20240822-005741-PatModImgTest/results/2.CMJ.stderr
[2024-08-22T00:57:57.703Z] STF 00:57:56.743 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/aqa-tests/TKG/output_172428707541/PatModImg_AppMod_0/20240822-005741-PatModImgTest/results/2.CMJ.stdout
[2024-08-22T00:57:57.703Z] STF 00:57:56.762 - Monitoring processes: CMJ
[2024-08-22T00:57:58.524Z] STF 00:57:58.352 - Monitoring Report Summary:
[2024-08-22T00:57:58.524Z] STF 00:57:58.352 - o Process CMJ ended with the expected exit code (0)
[2024-08-22T00:57:58.524Z] STF 00:57:58.353 - Created modular jar: 2.com.hola.jar
[2024-08-22T00:57:58.524Z] STF 00:57:58.353 -
[2024-08-22T00:57:58.524Z] STF 00:57:58.353 - +------ Step 3 - Create com.helper jar
[2024-08-22T00:57:58.524Z] STF 00:57:58.353 - | Create modular jar
[2024-08-22T00:57:58.524Z] STF 00:57:58.353 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper
[2024-08-22T00:57:58.524Z] STF 00:57:58.353 - | ModuleVersion: null
[2024-08-22T00:57:58.524Z] STF 00:57:58.353 - | MainClass: null
[2024-08-22T00:57:58.524Z] STF 00:57:58.353 - | HashModules: null
[2024-08-22T00:57:58.524Z] STF 00:57:58.353 - |
[2024-08-22T00:57:58.524Z] STF 00:57:58.354 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/aqa-tests/TKG/output_172428707541/PatModImg_AppMod_0/20240822-005741-PatModImgTest/modules/3.com.helper.jar -C /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper .
[2024-08-22T00:57:58.524Z] STF 00:57:58.354 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/aqa-tests/TKG/output_172428707541/PatModImg_AppMod_0/20240822-005741-PatModImgTest/results/3.CMJ.stderr
[2024-08-22T00:57:58.524Z] STF 00:57:58.354 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/aqa-tests/TKG/output_172428707541/PatModImg_AppMod_0/20240822-005741-PatModImgTest/results/3.CMJ.stdout
[2024-08-22T00:57:58.524Z] STF 00:57:58.375 - Monitoring processes: CMJ
[2024-08-22T00:58:01.041Z] STF 00:58:00.432 - Monitoring Report Summary:
[2024-08-22T00:58:01.041Z] STF 00:58:00.432 - o Process CMJ ended with the expected exit code (0)
[2024-08-22T00:58:01.041Z] STF 00:58:00.432 - Created modular jar: 3.com.helper.jar
[2024-08-22T00:58:01.041Z] STF 00:58:00.432 -
[2024-08-22T00:58:01.041Z] STF 00:58:00.432 - +------ Step 4 - Create com.discreet jar
[2024-08-22T00:58:01.041Z] STF 00:58:00.432 - | Create modular jar
[2024-08-22T00:58:01.041Z] STF 00:58:00.432 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet
[2024-08-22T00:58:01.041Z] STF 00:58:00.432 - | ModuleVersion: null
[2024-08-22T00:58:01.041Z] STF 00:58:00.432 - | MainClass: null
[2024-08-22T00:58:01.041Z] STF 00:58:00.432 - | HashModules: null
[2024-08-22T00:58:01.041Z] STF 00:58:00.432 - |
[2024-08-22T00:58:01.041Z] STF 00:58:00.433 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/aqa-tests/TKG/output_172428707541/PatModImg_AppMod_0/20240822-005741-PatModImgTest/modules/4.com.discreet.jar -C /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet .
[2024-08-22T00:58:01.041Z] STF 00:58:00.433 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/aqa-tests/TKG/output_172428707541/PatModImg_AppMod_0/20240822-005741-PatModImgTest/results/4.CMJ.stderr
[2024-08-22T00:58:01.041Z] STF 00:58:00.433 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/aqa-tests/TKG/output_172428707541/PatModImg_AppMod_0/20240822-005741-PatModImgTest/results/4.CMJ.stdout
[2024-08-22T00:58:01.041Z] STF 00:58:00.451 - Monitoring processes: CMJ
[2024-08-22T00:58:02.698Z] STF 00:58:02.238 - Monitoring Report Summary:
[2024-08-22T00:58:02.698Z] STF 00:58:02.238 - o Process CMJ ended with the expected exit code (0)
[2024-08-22T00:58:02.698Z] STF 00:58:02.242 - Created modular jar: 4.com.discreet.jar
[2024-08-22T00:58:02.698Z] STF 00:58:02.242 -
[2024-08-22T00:58:02.698Z] STF 00:58:02.242 - +------ Step 5 - Create tests jar
[2024-08-22T00:58:02.698Z] STF 00:58:02.242 - | Create modular jar
[2024-08-22T00:58:02.698Z] STF 00:58:02.244 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test
[2024-08-22T00:58:02.698Z] STF 00:58:02.245 - | ModuleVersion: null
[2024-08-22T00:58:02.698Z] STF 00:58:02.245 - | MainClass: null
[2024-08-22T00:58:02.698Z] STF 00:58:02.245 - | HashModules: null
[2024-08-22T00:58:02.698Z] STF 00:58:02.245 - |
[2024-08-22T00:58:02.698Z] STF 00:58:02.245 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/aqa-tests/TKG/output_172428707541/PatModImg_AppMod_0/20240822-005741-PatModImgTest/modules/5.com.test.jar -C /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test .
[2024-08-22T00:58:02.698Z] STF 00:58:02.245 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/aqa-tests/TKG/output_172428707541/PatModImg_AppMod_0/20240822-005741-PatModImgTest/results/5.CMJ.stderr
[2024-08-22T00:58:02.698Z] STF 00:58:02.245 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/aqa-tests/TKG/output_172428707541/PatModImg_AppMod_0/20240822-005741-PatModImgTest/results/5.CMJ.stdout
[2024-08-22T00:58:02.698Z] STF 00:58:02.278 - Monitoring processes: CMJ
[2024-08-22T00:58:05.272Z] STF 00:58:04.437 - Monitoring Report Summary:
[2024-08-22T00:58:05.272Z] STF 00:58:04.437 - o Process CMJ ended with the expected exit code (0)
[2024-08-22T00:58:05.272Z] STF 00:58:04.438 - Created modular jar: 5.com.test.jar
[2024-08-22T00:58:05.272Z] STF 00:58:04.438 -
[2024-08-22T00:58:05.272Z] STF 00:58:04.438 - +------ Step 6 - Create runtime image for PatchModule test
[2024-08-22T00:58:05.272Z] STF 00:58:04.438 - | Run jlink to create runtime image
[2024-08-22T00:58:05.272Z] STF 00:58:04.438 - | ImageName: XpJVM
[2024-08-22T00:58:05.272Z] STF 00:58:04.438 - |
[2024-08-22T00:58:05.272Z] STF 00:58:04.438 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/jdkbinary/j2sdk-image/bin/jlink --module-path /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/jdkbinary/j2sdk-image/jmods:/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/aqa-tests/TKG/output_172428707541/PatModImg_AppMod_0/20240822-005741-PatModImgTest/modules --add-modules com.hello,com.hola,com.test,com.helper,com.discreet --output /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/aqa-tests/TKG/output_172428707541/PatModImg_AppMod_0/20240822-005741-PatModImgTest/tmp/6.XpJVM
[2024-08-22T00:58:05.272Z] STF 00:58:04.438 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/aqa-tests/TKG/output_172428707541/PatModImg_AppMod_0/20240822-005741-PatModImgTest/results/6.JLNK.stderr
[2024-08-22T00:58:05.272Z] STF 00:58:04.438 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/aqa-tests/TKG/output_172428707541/PatModImg_AppMod_0/20240822-005741-PatModImgTest/results/6.JLNK.stdout
[2024-08-22T00:58:05.272Z] STF 00:58:04.468 - Monitoring processes: JLNK
[2024-08-22T00:58:28.017Z] STF 00:58:26.858 - Monitoring Report Summary:
[2024-08-22T00:58:28.017Z] STF 00:58:26.858 - o Process JLNK ended with the expected exit code (0)
[2024-08-22T00:58:28.017Z] STF 00:58:26.859 -
[2024-08-22T00:58:28.017Z] STF 00:58:26.859 - +------ Step 7 - Create com.hello jar
[2024-08-22T00:58:28.017Z] STF 00:58:26.859 - | Create modular jar
[2024-08-22T00:58:28.017Z] STF 00:58:26.859 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello
[2024-08-22T00:58:28.017Z] STF 00:58:26.859 - | ModuleVersion: null
[2024-08-22T00:58:28.017Z] STF 00:58:26.859 - | MainClass: null
[2024-08-22T00:58:28.017Z] STF 00:58:26.859 - | HashModules: null
[2024-08-22T00:58:28.017Z] STF 00:58:26.859 - |
[2024-08-22T00:58:28.017Z] STF 00:58:26.874 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/aqa-tests/TKG/output_172428707541/PatModImg_AppMod_0/20240822-005741-PatModImgTest/modules/7.com.hello.jar -C /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello .
[2024-08-22T00:58:28.017Z] STF 00:58:26.874 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/aqa-tests/TKG/output_172428707541/PatModImg_AppMod_0/20240822-005741-PatModImgTest/results/7.CMJ.stderr
[2024-08-22T00:58:28.017Z] STF 00:58:26.874 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/aqa-tests/TKG/output_172428707541/PatModImg_AppMod_0/20240822-005741-PatModImgTest/results/7.CMJ.stdout
[2024-08-22T00:58:28.017Z] STF 00:58:26.900 - Monitoring processes: CMJ
[2024-08-22T00:58:29.700Z] STF 00:58:28.899 - Monitoring Report Summary:
[2024-08-22T00:58:29.700Z] STF 00:58:28.899 - o Process CMJ ended with the expected exit code (0)
[2024-08-22T00:58:29.700Z] STF 00:58:28.900 - Created modular jar: 7.com.hello.jar
[2024-08-22T00:58:29.700Z] STF 00:58:28.900 -
[2024-08-22T00:58:29.700Z] STF 00:58:28.900 - +------ Step 8 - create java.xml.jar
[2024-08-22T00:58:29.700Z] STF 00:58:28.900 - | Create modular jar
[2024-08-22T00:58:29.700Z] STF 00:58:28.900 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml
[2024-08-22T00:58:29.700Z] STF 00:58:28.900 - | ModuleVersion: null
[2024-08-22T00:58:29.700Z] STF 00:58:28.900 - | MainClass: null
[2024-08-22T00:58:29.700Z] STF 00:58:28.900 - | HashModules: null
[2024-08-22T00:58:29.700Z] STF 00:58:28.900 - |
[2024-08-22T00:58:29.701Z] STF 00:58:28.900 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/aqa-tests/TKG/output_172428707541/PatModImg_AppMod_0/20240822-005741-PatModImgTest/modules/8.java.xml.jar -C /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/java.xml .
[2024-08-22T00:58:29.701Z] STF 00:58:28.900 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/aqa-tests/TKG/output_172428707541/PatModImg_AppMod_0/20240822-005741-PatModImgTest/results/8.CMJ.stderr
[2024-08-22T00:58:29.701Z] STF 00:58:28.900 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/aqa-tests/TKG/output_172428707541/PatModImg_AppMod_0/20240822-005741-PatModImgTest/results/8.CMJ.stdout
[2024-08-22T00:58:29.701Z] STF 00:58:28.915 - Monitoring processes: CMJ
[2024-08-22T00:58:31.332Z] STF 00:58:30.678 - Monitoring Report Summary:
[2024-08-22T00:58:31.332Z] STF 00:58:30.678 - o Process CMJ ended with the expected exit code (0)
[2024-08-22T00:58:31.332Z] STF 00:58:30.678 - Created modular jar: 8.java.xml.jar
[2024-08-22T00:58:31.332Z] STF 00:58:30.678 -
[2024-08-22T00:58:31.332Z] STF 00:58:30.678 - +------ Step 9 - Verify if we can patch an Application module using exploded directory
[2024-08-22T00:58:31.332Z] STF 00:58:30.678 - | Run foreground process
[2024-08-22T00:58:31.332Z] STF 00:58:30.678 - | Program: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/aqa-tests/TKG/output_172428707541/PatModImg_AppMod_0/20240822-005741-PatModImgTest/tmp/6.XpJVM/bin/java
[2024-08-22T00:58:31.332Z] STF 00:58:30.678 - | Mnemonic: OT21
[2024-08-22T00:58:31.332Z] STF 00:58:30.678 - | Echo: ECHO_ON
[2024-08-22T00:58:31.332Z] STF 00:58:30.678 - | Expectation: CLEAN_RUN within 5m
[2024-08-22T00:58:31.332Z] STF 00:58:30.678 - |
[2024-08-22T00:58:31.332Z] STF 00:58:30.684 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/aqa-tests/TKG/output_172428707541/PatModImg_AppMod_0/20240822-005741-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module com.hello=/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello -XX:+UseCompressedOops -classpath /home/jenkins/testDependency/system_lib/junit/junit.jar:/home/jenkins/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingAppModule
[2024-08-22T00:58:31.332Z] STF 00:58:30.684 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/aqa-tests/TKG/output_172428707541/PatModImg_AppMod_0/20240822-005741-PatModImgTest/results/9.OT21.stderr
[2024-08-22T00:58:31.332Z] STF 00:58:30.684 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/aqa-tests/TKG/output_172428707541/PatModImg_AppMod_0/20240822-005741-PatModImgTest/results/9.OT21.stdout
[2024-08-22T00:58:31.332Z] STF 00:58:30.693 - Monitoring processes: OT21
[2024-08-22T00:58:32.979Z] OT21 stderr WARNING: module-info.class ignored in patch: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello
[2024-08-22T00:58:32.979Z] OT21 JUnit version 4.12
[2024-08-22T00:58:33.776Z] OT21 .
[2024-08-22T00:58:33.776Z] OT21 Time: 0.067
[2024-08-22T00:58:33.776Z] OT21
[2024-08-22T00:58:33.776Z] OT21 OK (1 test)
[2024-08-22T00:58:33.776Z] OT21
[2024-08-22T00:58:34.578Z] STF 00:58:33.771 - Monitoring Report Summary:
[2024-08-22T00:58:34.578Z] STF 00:58:33.771 - o Process OT21 ended with the expected exit code (0)
[2024-08-22T00:58:34.578Z] STF 00:58:33.772 -
[2024-08-22T00:58:34.578Z] STF 00:58:33.772 - +------ Step 10 - Verify if we can patch an Application module using modular jar
[2024-08-22T00:58:34.578Z] STF 00:58:33.772 - | Run foreground process
[2024-08-22T00:58:34.578Z] STF 00:58:33.772 - | Program: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/aqa-tests/TKG/output_172428707541/PatModImg_AppMod_0/20240822-005741-PatModImgTest/tmp/6.XpJVM/bin/java
[2024-08-22T00:58:34.578Z] STF 00:58:33.772 - | Mnemonic: OT22
[2024-08-22T00:58:34.578Z] STF 00:58:33.772 - | Echo: ECHO_ON
[2024-08-22T00:58:34.578Z] STF 00:58:33.772 - | Expectation: CLEAN_RUN within 5m
[2024-08-22T00:58:34.578Z] STF 00:58:33.772 - |
[2024-08-22T00:58:34.578Z] STF 00:58:33.772 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/aqa-tests/TKG/output_172428707541/PatModImg_AppMod_0/20240822-005741-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module com.hello=/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/aqa-tests/TKG/output_172428707541/PatModImg_AppMod_0/20240822-005741-PatModImgTest/modules/7.com.hello.jar -XX:+UseCompressedOops -classpath /home/jenkins/testDependency/system_lib/junit/junit.jar:/home/jenkins/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingAppModule
[2024-08-22T00:58:34.579Z] STF 00:58:33.772 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/aqa-tests/TKG/output_172428707541/PatModImg_AppMod_0/20240822-005741-PatModImgTest/results/10.OT22.stderr
[2024-08-22T00:58:34.579Z] STF 00:58:33.772 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/aqa-tests/TKG/output_172428707541/PatModImg_AppMod_0/20240822-005741-PatModImgTest/results/10.OT22.stdout
[2024-08-22T00:58:34.579Z] STF 00:58:33.785 - Monitoring processes: OT22
[2024-08-22T00:58:36.183Z] OT22 stderr WARNING: module-info.class ignored in patch: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/aqa-tests/TKG/output_172428707541/PatModImg_AppMod_0/20240822-005741-PatModImgTest/modules/7.com.hello.jar
[2024-08-22T00:58:36.183Z] OT22 JUnit version 4.12
[2024-08-22T00:58:37.799Z] OT22 .
[2024-08-22T00:58:37.799Z] OT22 Time: 0.056
[2024-08-22T00:58:37.799Z] OT22
[2024-08-22T00:58:37.799Z] OT22 OK (1 test)
[2024-08-22T00:58:37.799Z] OT22
[2024-08-22T00:58:37.799Z] STF 00:58:37.015 - Monitoring Report Summary:
[2024-08-22T00:58:37.799Z] STF 00:58:37.015 - o Process OT22 ended with the expected exit code (0)
[2024-08-22T00:58:37.799Z] STF 00:58:37.015 - EXECUTE stage completed
[2024-08-22T00:58:37.799Z] STF 00:58:37.465 -
[2024-08-22T00:58:37.799Z] STF 00:58:37.470 - ==================== T E A R D O W N ====================
[2024-08-22T00:58:37.799Z] STF 00:58:37.470 - Running teardown: perl /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_aarch64_linux_testList_3/aqa-tests/TKG/../TKG/output_172428707541/PatModImg_AppMod_0/20240822-005741-PatModImgTest/tearDown.pl
[2024-08-22T00:58:38.596Z] STF 00:58:37.838 - TEARDOWN stage completed
[2024-08-22T00:58:38.596Z] STF 00:58:37.849 -
[2024-08-22T00:58:38.596Z] STF 00:58:37.856 - ===================== R E S U L T S =====================
[2024-08-22T00:58:38.596Z] STF 00:58:37.857 - Stage results:
[2024-08-22T00:58:38.596Z] STF 00:58:37.857 - setUp: pass
[2024-08-22T00:58:38.596Z] STF 00:58:37.862 - execute: pass
[2024-08-22T00:58:38.596Z] STF 00:58:37.862 - teardown: pass
[2024-08-22T00:58:38.596Z] STF 00:58:37.863 -
[2024-08-22T00:58:38.596Z] STF 00:58:37.863 - Overall result: PASSED
[2024-08-22T00:58:38.596Z] -----------------------------------
[2024-08-22T00:58:38.596Z] PatModImg_AppMod_0_PASSED
[2024-08-22T00:58:38.596Z] -----------------------------------
[2024-08-22T00:58:38.596Z]
[2024-08-22T00:58:38.596Z] TEST TEARDOWN:
[2024-08-22T00:58:38.596Z] Nothing to be done for teardown.
[2024-08-22T00:58:38.596Z] PatModImg_AppMod_0 Finish Time: Thu Aug 22 00:58:38 2024 Epoch Time (ms): 1724288318076