PatModImg_AppMod_1
[2023-04-18T22:50:38.309Z] Running test PatModImg_AppMod_1 ...
[2023-04-18T22:50:38.309Z] ===============================================
[2023-04-18T22:50:38.309Z] PatModImg_AppMod_1 Start Time: Tue Apr 18 22:50:38 2023 Epoch Time (ms): 1681858238099
[2023-04-18T22:50:38.309Z] variation: Mode650
[2023-04-18T22:50:38.309Z] JVM_OPTIONS: -XX:-UseCompressedOops
[2023-04-18T22:50:38.309Z] { \
[2023-04-18T22:50:38.309Z] echo ""; echo "TEST SETUP:"; \
[2023-04-18T22:50:38.309Z] echo "Nothing to be done for setup."; \
[2023-04-18T22:50:38.309Z] mkdir -p "/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/aqa-tests/TKG/../TKG/output_16818551042178/PatModImg_AppMod_1"; \
[2023-04-18T22:50:38.309Z] cd "/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/aqa-tests/TKG/../TKG/output_16818551042178/PatModImg_AppMod_1"; \
[2023-04-18T22:50:38.309Z] echo ""; echo "TESTING:"; \
[2023-04-18T22:50:38.309Z] perl /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF/stf.core/scripts/stf.pl -test-root="/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF;/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/aqa-tests/TKG/../../jvmtest/system/modularity/..//aqa-systemtest""" -systemtest-prereqs="/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/aqa-tests/TKG/../../jvmtest/system/modularity/..//systemtest_prereqs" -java-args=' -XX:-UseCompressedOops ' -results-root="/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/aqa-tests/TKG/../TKG/output_16818551042178/PatModImg_AppMod_1" -test=PatModImgTest -test-args="variant=AppMod"; \
[2023-04-18T22:50:38.309Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatModImg_AppMod_1""_PASSED"; echo "-----------------------------------"; cd /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/aqa-tests/TKG/..; rm -f -r "/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/aqa-tests/TKG/../TKG/output_16818551042178/PatModImg_AppMod_1"; else echo "-----------------------------------"; echo "PatModImg_AppMod_1""_FAILED"; echo "-----------------------------------"; fi; \
[2023-04-18T22:50:38.309Z] echo ""; echo "TEST TEARDOWN:"; \
[2023-04-18T22:50:38.309Z] echo "Nothing to be done for teardown."; \
[2023-04-18T22:50:38.309Z] } 2>&1 | tee -a "/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/aqa-tests/TKG/../TKG/output_16818551042178/TestTargetResult";
[2023-04-18T22:50:38.309Z]
[2023-04-18T22:50:38.309Z] TEST SETUP:
[2023-04-18T22:50:38.309Z] Nothing to be done for setup.
[2023-04-18T22:50:38.309Z]
[2023-04-18T22:50:38.309Z] TESTING:
[2023-04-18T22:50:38.309Z] STF 22:50:38.172 - ========================= S T F =========================
[2023-04-18T22:50:38.309Z] systemtest-prereqs has been processed, and set to: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/jvmtest/system/systemtest_prereqsRetrieving amount of free space on drive containing /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/aqa-tests/TKG/../TKG/output_16818551042178/PatModImg_AppMod_1
[2023-04-18T22:50:38.309Z] There is 369589 Mb free
[2023-04-18T22:50:38.309Z] STF 22:50:38.177 - ================== G E N E R A T I O N ==================
[2023-04-18T22:50:38.309Z] STF 22:50:38.178 - Checking JVM: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/openjdkbinary/j2sdk-image/jdk-17.0.7+7/bin/../
[2023-04-18T22:50:38.309Z] STF 22:50:38.178 - Starting process to generate scripts: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/openjdkbinary/j2sdk-image/jdk-17.0.7+7/bin/..//bin/java -Dlog4j.skipJansi=true -Djava.system.class.loader=net.adoptopenjdk.stf.runner.StfClassLoader -classpath /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/aqa-tests/TKG/../../jvmtest/system/modularity/..//systemtest_prereqs/log4j/log4j-api.jar:/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/aqa-tests/TKG/../../jvmtest/system/modularity/..//systemtest_prereqs/log4j/log4j-core.jar:/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/aqa-tests/TKG/../TKG/output_16818551042178/PatModImg_AppMod_1/20230418-225038-PatModImgTest/stf_parameters.properties, , /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/aqa-tests/TKG/../TKG/output_16818551042178/PatModImg_AppMod_1/20230418-225038-PatModImgTest"
[2023-04-18T22:50:38.309Z] 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
[2023-04-18T22:50:39.048Z] GEN 22:50:39.008 - Found test. Project: 'openjdk.test.modularity' class: 'PatModImgTest.class' Dir: '/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin'
[2023-04-18T22:50:39.049Z] GEN 22:50:39.021 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModImgTest'
[2023-04-18T22:50:39.393Z] GEN Classpath directories used by project 'openjdk.test.modularity':
[2023-04-18T22:50:39.393Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayService
[2023-04-18T22:50:39.393Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper
[2023-04-18T22:50:39.393Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl1
[2023-04-18T22:50:39.393Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet
[2023-04-18T22:50:39.393Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello
[2023-04-18T22:50:39.393Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola
[2023-04-18T22:50:39.393Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl2
[2023-04-18T22:50:39.393Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hi
[2023-04-18T22:50:39.393Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override
[2023-04-18T22:50:39.393Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override-new
[2023-04-18T22:50:39.393Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl3
[2023-04-18T22:50:39.393Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl4
[2023-04-18T22:50:39.393Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common
[2023-04-18T22:50:39.393Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests
[2023-04-18T22:50:39.394Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin
[2023-04-18T22:50:39.394Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/jvmtest/system/STF/stf.core/bin
[2023-04-18T22:50:39.394Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/jvmtest/system/systemtest_prereqs/log4j/log4j-api.jar
[2023-04-18T22:50:39.394Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/jvmtest/system/systemtest_prereqs/log4j/log4j-core.jar
[2023-04-18T22:50:39.394Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/jvmtest/system/systemtest_prereqs/junit/junit.jar
[2023-04-18T22:50:39.394Z] GEN 22:50:39.152 - Using Mode NoOptions. Values = ''
[2023-04-18T22:50:39.394Z] GEN 22:50:39.237 -
[2023-04-18T22:50:39.394Z] GEN 22:50:39.237 - Test command summary:
[2023-04-18T22:50:39.394Z] GEN 22:50:39.237 - Step Stage Command Description
[2023-04-18T22:50:39.394Z] GEN 22:50:39.237 - -----+--------+-----------------+------------
[2023-04-18T22:50:39.394Z] GEN 22:50:39.237 - 1 execute jar Create com.hello jar
[2023-04-18T22:50:39.394Z] GEN 22:50:39.238 - 2 execute jar Create com.hola jar
[2023-04-18T22:50:39.394Z] GEN 22:50:39.238 - 3 execute jar Create com.helper jar
[2023-04-18T22:50:39.394Z] GEN 22:50:39.238 - 4 execute jar Create com.discreet jar
[2023-04-18T22:50:39.394Z] GEN 22:50:39.238 - 5 execute jar Create tests jar
[2023-04-18T22:50:39.394Z] GEN 22:50:39.238 - 6 execute jlink Create runtime image for PatchModule test
[2023-04-18T22:50:39.394Z] GEN 22:50:39.238 - 7 execute jar Create com.hello jar
[2023-04-18T22:50:39.394Z] GEN 22:50:39.238 - 8 execute jar create java.xml.jar
[2023-04-18T22:50:39.394Z] GEN 22:50:39.238 - 9 execute Run java Verify if we can patch an Application module using exploded directory
[2023-04-18T22:50:39.394Z] GEN 22:50:39.238 - 10 execute Run java Verify if we can patch an Application module using modular jar
[2023-04-18T22:50:39.394Z] STF 22:50:39.281 -
[2023-04-18T22:50:39.394Z] STF 22:50:39.281 - Script generation completed
[2023-04-18T22:50:39.394Z] STF 22:50:39.281 -
[2023-04-18T22:50:39.394Z] STF 22:50:39.282 -
[2023-04-18T22:50:39.394Z] STF 22:50:39.282 - ======================= S E T U P =======================
[2023-04-18T22:50:39.394Z] STF 22:50:39.282 - Running setup: perl /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/aqa-tests/TKG/../TKG/output_16818551042178/PatModImg_AppMod_1/20230418-225038-PatModImgTest/setUp.pl
[2023-04-18T22:50:39.394Z] STF 22:50:39.340 - SETUP stage completed
[2023-04-18T22:50:39.394Z] STF 22:50:39.342 -
[2023-04-18T22:50:39.394Z] STF 22:50:39.342 - ==================== E X E C U T E - ====================
[2023-04-18T22:50:39.394Z] STF 22:50:39.342 - Running execute: perl /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/aqa-tests/TKG/../TKG/output_16818551042178/PatModImg_AppMod_1/20230418-225038-PatModImgTest/execute.pl
[2023-04-18T22:50:39.738Z] STF 22:50:39.406 -
[2023-04-18T22:50:39.738Z] STF 22:50:39.406 - Java version
[2023-04-18T22:50:39.738Z] STF 22:50:39.407 - Running: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/openjdkbinary/j2sdk-image/jdk-17.0.7+7/bin/java -version
[2023-04-18T22:50:39.738Z] openjdk version "17.0.7" 2023-04-18
[2023-04-18T22:50:39.738Z] OpenJDK Runtime Environment Temurin-17.0.7+7 (build 17.0.7+7)
[2023-04-18T22:50:39.738Z] OpenJDK 64-Bit Server VM Temurin-17.0.7+7 (build 17.0.7+7, mixed mode, sharing)
[2023-04-18T22:50:39.738Z] STF 22:50:39.433 -
[2023-04-18T22:50:39.738Z] STF 22:50:39.433 - +------ Step 1 - Create com.hello jar
[2023-04-18T22:50:39.738Z] STF 22:50:39.433 - | Create modular jar
[2023-04-18T22:50:39.738Z] STF 22:50:39.433 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello
[2023-04-18T22:50:39.738Z] STF 22:50:39.433 - | ModuleVersion: null
[2023-04-18T22:50:39.738Z] STF 22:50:39.433 - | MainClass: null
[2023-04-18T22:50:39.738Z] STF 22:50:39.433 - | HashModules: null
[2023-04-18T22:50:39.738Z] STF 22:50:39.434 - |
[2023-04-18T22:50:39.738Z] STF 22:50:39.434 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/openjdkbinary/j2sdk-image/jdk-17.0.7+7/bin/jar --create --file /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_16818551042178/PatModImg_AppMod_1/20230418-225038-PatModImgTest/modules/1.com.hello.jar -C /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello .
[2023-04-18T22:50:39.738Z] STF 22:50:39.434 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_16818551042178/PatModImg_AppMod_1/20230418-225038-PatModImgTest/results/1.CMJ.stderr
[2023-04-18T22:50:39.738Z] STF 22:50:39.434 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_16818551042178/PatModImg_AppMod_1/20230418-225038-PatModImgTest/results/1.CMJ.stdout
[2023-04-18T22:50:39.738Z] STF 22:50:39.443 - Monitoring processes: CMJ
[2023-04-18T22:50:39.738Z] STF 22:50:39.591 - Monitoring Report Summary:
[2023-04-18T22:50:39.738Z] STF 22:50:39.591 - o Process CMJ ended with the expected exit code (0)
[2023-04-18T22:50:39.738Z] STF 22:50:39.591 - Created modular jar: 1.com.hello.jar
[2023-04-18T22:50:39.738Z] STF 22:50:39.591 -
[2023-04-18T22:50:39.738Z] STF 22:50:39.591 - +------ Step 2 - Create com.hola jar
[2023-04-18T22:50:39.738Z] STF 22:50:39.591 - | Create modular jar
[2023-04-18T22:50:39.738Z] STF 22:50:39.591 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola
[2023-04-18T22:50:39.738Z] STF 22:50:39.591 - | ModuleVersion: null
[2023-04-18T22:50:39.738Z] STF 22:50:39.591 - | MainClass: null
[2023-04-18T22:50:39.738Z] STF 22:50:39.591 - | HashModules: null
[2023-04-18T22:50:39.738Z] STF 22:50:39.591 - |
[2023-04-18T22:50:39.739Z] STF 22:50:39.591 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/openjdkbinary/j2sdk-image/jdk-17.0.7+7/bin/jar --create --file /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_16818551042178/PatModImg_AppMod_1/20230418-225038-PatModImgTest/modules/2.com.hola.jar -C /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola .
[2023-04-18T22:50:39.739Z] STF 22:50:39.591 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_16818551042178/PatModImg_AppMod_1/20230418-225038-PatModImgTest/results/2.CMJ.stderr
[2023-04-18T22:50:39.739Z] STF 22:50:39.591 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_16818551042178/PatModImg_AppMod_1/20230418-225038-PatModImgTest/results/2.CMJ.stdout
[2023-04-18T22:50:39.739Z] STF 22:50:39.592 - Monitoring processes: CMJ
[2023-04-18T22:50:40.083Z] STF 22:50:39.752 - Monitoring Report Summary:
[2023-04-18T22:50:40.083Z] STF 22:50:39.753 - o Process CMJ ended with the expected exit code (0)
[2023-04-18T22:50:40.084Z] STF 22:50:39.753 - Created modular jar: 2.com.hola.jar
[2023-04-18T22:50:40.084Z] STF 22:50:39.753 -
[2023-04-18T22:50:40.084Z] STF 22:50:39.753 - +------ Step 3 - Create com.helper jar
[2023-04-18T22:50:40.084Z] STF 22:50:39.753 - | Create modular jar
[2023-04-18T22:50:40.084Z] STF 22:50:39.753 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper
[2023-04-18T22:50:40.084Z] STF 22:50:39.753 - | ModuleVersion: null
[2023-04-18T22:50:40.084Z] STF 22:50:39.753 - | MainClass: null
[2023-04-18T22:50:40.084Z] STF 22:50:39.753 - | HashModules: null
[2023-04-18T22:50:40.084Z] STF 22:50:39.753 - |
[2023-04-18T22:50:40.084Z] STF 22:50:39.753 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/openjdkbinary/j2sdk-image/jdk-17.0.7+7/bin/jar --create --file /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_16818551042178/PatModImg_AppMod_1/20230418-225038-PatModImgTest/modules/3.com.helper.jar -C /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper .
[2023-04-18T22:50:40.084Z] STF 22:50:39.753 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_16818551042178/PatModImg_AppMod_1/20230418-225038-PatModImgTest/results/3.CMJ.stderr
[2023-04-18T22:50:40.084Z] STF 22:50:39.753 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_16818551042178/PatModImg_AppMod_1/20230418-225038-PatModImgTest/results/3.CMJ.stdout
[2023-04-18T22:50:40.084Z] STF 22:50:39.754 - Monitoring processes: CMJ
[2023-04-18T22:50:40.084Z] STF 22:50:39.920 - Monitoring Report Summary:
[2023-04-18T22:50:40.084Z] STF 22:50:39.920 - o Process CMJ ended with the expected exit code (0)
[2023-04-18T22:50:40.084Z] STF 22:50:39.920 - Created modular jar: 3.com.helper.jar
[2023-04-18T22:50:40.084Z] STF 22:50:39.920 -
[2023-04-18T22:50:40.084Z] STF 22:50:39.920 - +------ Step 4 - Create com.discreet jar
[2023-04-18T22:50:40.084Z] STF 22:50:39.920 - | Create modular jar
[2023-04-18T22:50:40.084Z] STF 22:50:39.920 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet
[2023-04-18T22:50:40.084Z] STF 22:50:39.920 - | ModuleVersion: null
[2023-04-18T22:50:40.084Z] STF 22:50:39.920 - | MainClass: null
[2023-04-18T22:50:40.084Z] STF 22:50:39.920 - | HashModules: null
[2023-04-18T22:50:40.084Z] STF 22:50:39.920 - |
[2023-04-18T22:50:40.084Z] STF 22:50:39.920 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/openjdkbinary/j2sdk-image/jdk-17.0.7+7/bin/jar --create --file /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_16818551042178/PatModImg_AppMod_1/20230418-225038-PatModImgTest/modules/4.com.discreet.jar -C /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet .
[2023-04-18T22:50:40.084Z] STF 22:50:39.921 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_16818551042178/PatModImg_AppMod_1/20230418-225038-PatModImgTest/results/4.CMJ.stderr
[2023-04-18T22:50:40.084Z] STF 22:50:39.921 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_16818551042178/PatModImg_AppMod_1/20230418-225038-PatModImgTest/results/4.CMJ.stdout
[2023-04-18T22:50:40.084Z] STF 22:50:39.922 - Monitoring processes: CMJ
[2023-04-18T22:50:40.430Z] STF 22:50:40.087 - Monitoring Report Summary:
[2023-04-18T22:50:40.430Z] STF 22:50:40.087 - o Process CMJ ended with the expected exit code (0)
[2023-04-18T22:50:40.430Z] STF 22:50:40.087 - Created modular jar: 4.com.discreet.jar
[2023-04-18T22:50:40.430Z] STF 22:50:40.087 -
[2023-04-18T22:50:40.430Z] STF 22:50:40.087 - +------ Step 5 - Create tests jar
[2023-04-18T22:50:40.430Z] STF 22:50:40.087 - | Create modular jar
[2023-04-18T22:50:40.430Z] STF 22:50:40.087 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test
[2023-04-18T22:50:40.430Z] STF 22:50:40.087 - | ModuleVersion: null
[2023-04-18T22:50:40.430Z] STF 22:50:40.087 - | MainClass: null
[2023-04-18T22:50:40.430Z] STF 22:50:40.087 - | HashModules: null
[2023-04-18T22:50:40.430Z] STF 22:50:40.087 - |
[2023-04-18T22:50:40.430Z] STF 22:50:40.088 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/openjdkbinary/j2sdk-image/jdk-17.0.7+7/bin/jar --create --file /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_16818551042178/PatModImg_AppMod_1/20230418-225038-PatModImgTest/modules/5.com.test.jar -C /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test .
[2023-04-18T22:50:40.430Z] STF 22:50:40.088 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_16818551042178/PatModImg_AppMod_1/20230418-225038-PatModImgTest/results/5.CMJ.stderr
[2023-04-18T22:50:40.430Z] STF 22:50:40.088 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_16818551042178/PatModImg_AppMod_1/20230418-225038-PatModImgTest/results/5.CMJ.stdout
[2023-04-18T22:50:40.430Z] STF 22:50:40.088 - Monitoring processes: CMJ
[2023-04-18T22:50:40.430Z] STF 22:50:40.241 - Monitoring Report Summary:
[2023-04-18T22:50:40.430Z] STF 22:50:40.241 - o Process CMJ ended with the expected exit code (0)
[2023-04-18T22:50:40.430Z] STF 22:50:40.241 - Created modular jar: 5.com.test.jar
[2023-04-18T22:50:40.430Z] STF 22:50:40.241 -
[2023-04-18T22:50:40.430Z] STF 22:50:40.241 - +------ Step 6 - Create runtime image for PatchModule test
[2023-04-18T22:50:40.431Z] STF 22:50:40.241 - | Run jlink to create runtime image
[2023-04-18T22:50:40.431Z] STF 22:50:40.241 - | ImageName: XpJVM
[2023-04-18T22:50:40.431Z] STF 22:50:40.241 - |
[2023-04-18T22:50:40.431Z] STF 22:50:40.242 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/openjdkbinary/j2sdk-image/jdk-17.0.7+7/bin/jlink --module-path /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/openjdkbinary/j2sdk-image/jdk-17.0.7+7/jmods:/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_16818551042178/PatModImg_AppMod_1/20230418-225038-PatModImgTest/modules --add-modules com.hello,com.hola,com.test,com.helper,com.discreet --output /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_16818551042178/PatModImg_AppMod_1/20230418-225038-PatModImgTest/tmp/6.XpJVM
[2023-04-18T22:50:40.431Z] STF 22:50:40.242 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_16818551042178/PatModImg_AppMod_1/20230418-225038-PatModImgTest/results/6.JLNK.stderr
[2023-04-18T22:50:40.431Z] STF 22:50:40.242 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_16818551042178/PatModImg_AppMod_1/20230418-225038-PatModImgTest/results/6.JLNK.stdout
[2023-04-18T22:50:40.431Z] STF 22:50:40.242 - Monitoring processes: JLNK
[2023-04-18T22:50:42.797Z] STF 22:50:42.733 - Monitoring Report Summary:
[2023-04-18T22:50:42.797Z] STF 22:50:42.733 - o Process JLNK ended with the expected exit code (0)
[2023-04-18T22:50:42.797Z] STF 22:50:42.734 -
[2023-04-18T22:50:42.797Z] STF 22:50:42.734 - +------ Step 7 - Create com.hello jar
[2023-04-18T22:50:42.797Z] STF 22:50:42.734 - | Create modular jar
[2023-04-18T22:50:42.797Z] STF 22:50:42.734 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello
[2023-04-18T22:50:42.797Z] STF 22:50:42.734 - | ModuleVersion: null
[2023-04-18T22:50:42.797Z] STF 22:50:42.734 - | MainClass: null
[2023-04-18T22:50:42.797Z] STF 22:50:42.734 - | HashModules: null
[2023-04-18T22:50:42.797Z] STF 22:50:42.734 - |
[2023-04-18T22:50:42.797Z] STF 22:50:42.734 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/openjdkbinary/j2sdk-image/jdk-17.0.7+7/bin/jar --create --file /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_16818551042178/PatModImg_AppMod_1/20230418-225038-PatModImgTest/modules/7.com.hello.jar -C /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello .
[2023-04-18T22:50:42.797Z] STF 22:50:42.734 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_16818551042178/PatModImg_AppMod_1/20230418-225038-PatModImgTest/results/7.CMJ.stderr
[2023-04-18T22:50:42.797Z] STF 22:50:42.734 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_16818551042178/PatModImg_AppMod_1/20230418-225038-PatModImgTest/results/7.CMJ.stdout
[2023-04-18T22:50:42.797Z] STF 22:50:42.736 - Monitoring processes: CMJ
[2023-04-18T22:50:43.146Z] STF 22:50:42.910 - Monitoring Report Summary:
[2023-04-18T22:50:43.146Z] STF 22:50:42.910 - o Process CMJ ended with the expected exit code (0)
[2023-04-18T22:50:43.146Z] STF 22:50:42.910 - Created modular jar: 7.com.hello.jar
[2023-04-18T22:50:43.146Z] STF 22:50:42.910 -
[2023-04-18T22:50:43.146Z] STF 22:50:42.910 - +------ Step 8 - create java.xml.jar
[2023-04-18T22:50:43.146Z] STF 22:50:42.910 - | Create modular jar
[2023-04-18T22:50:43.146Z] STF 22:50:42.910 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml
[2023-04-18T22:50:43.146Z] STF 22:50:42.910 - | ModuleVersion: null
[2023-04-18T22:50:43.146Z] STF 22:50:42.910 - | MainClass: null
[2023-04-18T22:50:43.146Z] STF 22:50:42.910 - | HashModules: null
[2023-04-18T22:50:43.146Z] STF 22:50:42.910 - |
[2023-04-18T22:50:43.146Z] STF 22:50:42.911 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/openjdkbinary/j2sdk-image/jdk-17.0.7+7/bin/jar --create --file /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_16818551042178/PatModImg_AppMod_1/20230418-225038-PatModImgTest/modules/8.java.xml.jar -C /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/java.xml .
[2023-04-18T22:50:43.146Z] STF 22:50:42.911 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_16818551042178/PatModImg_AppMod_1/20230418-225038-PatModImgTest/results/8.CMJ.stderr
[2023-04-18T22:50:43.147Z] STF 22:50:42.911 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_16818551042178/PatModImg_AppMod_1/20230418-225038-PatModImgTest/results/8.CMJ.stdout
[2023-04-18T22:50:43.147Z] STF 22:50:42.912 - Monitoring processes: CMJ
[2023-04-18T22:50:43.147Z] STF 22:50:43.067 - Monitoring Report Summary:
[2023-04-18T22:50:43.147Z] STF 22:50:43.067 - o Process CMJ ended with the expected exit code (0)
[2023-04-18T22:50:43.147Z] STF 22:50:43.067 - Created modular jar: 8.java.xml.jar
[2023-04-18T22:50:43.147Z] STF 22:50:43.067 -
[2023-04-18T22:50:43.147Z] STF 22:50:43.067 - +------ Step 9 - Verify if we can patch an Application module using exploded directory
[2023-04-18T22:50:43.147Z] STF 22:50:43.067 - | Run foreground process
[2023-04-18T22:50:43.147Z] STF 22:50:43.067 - | Program: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_16818551042178/PatModImg_AppMod_1/20230418-225038-PatModImgTest/tmp/6.XpJVM/bin/java
[2023-04-18T22:50:43.147Z] STF 22:50:43.068 - | Mnemonic: OT21
[2023-04-18T22:50:43.147Z] STF 22:50:43.068 - | Echo: ECHO_ON
[2023-04-18T22:50:43.147Z] STF 22:50:43.068 - | Expectation: CLEAN_RUN within 5m
[2023-04-18T22:50:43.147Z] STF 22:50:43.068 - |
[2023-04-18T22:50:43.147Z] STF 22:50:43.068 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_16818551042178/PatModImg_AppMod_1/20230418-225038-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module com.hello=/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello -XX:-UseCompressedOops -classpath /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/jvmtest/system/systemtest_prereqs/junit/junit.jar:/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/jvmtest/system/systemtest_prereqs/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingAppModule
[2023-04-18T22:50:43.147Z] STF 22:50:43.068 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_16818551042178/PatModImg_AppMod_1/20230418-225038-PatModImgTest/results/9.OT21.stderr
[2023-04-18T22:50:43.147Z] STF 22:50:43.068 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_16818551042178/PatModImg_AppMod_1/20230418-225038-PatModImgTest/results/9.OT21.stdout
[2023-04-18T22:50:43.147Z] STF 22:50:43.069 - Monitoring processes: OT21
[2023-04-18T22:50:43.491Z] OT21 stderr WARNING: module-info.class ignored in patch: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello
[2023-04-18T22:50:43.491Z] OT21 JUnit version 4.12
[2023-04-18T22:50:43.491Z] OT21 .
[2023-04-18T22:50:43.491Z] OT21 Time: 0.008
[2023-04-18T22:50:43.491Z] OT21
[2023-04-18T22:50:43.491Z] OT21 OK (1 test)
[2023-04-18T22:50:43.491Z] OT21
[2023-04-18T22:50:43.491Z] STF 22:50:43.355 - Monitoring Report Summary:
[2023-04-18T22:50:43.491Z] STF 22:50:43.355 - o Process OT21 ended with the expected exit code (0)
[2023-04-18T22:50:43.491Z] STF 22:50:43.355 -
[2023-04-18T22:50:43.491Z] STF 22:50:43.355 - +------ Step 10 - Verify if we can patch an Application module using modular jar
[2023-04-18T22:50:43.491Z] STF 22:50:43.355 - | Run foreground process
[2023-04-18T22:50:43.491Z] STF 22:50:43.355 - | Program: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_16818551042178/PatModImg_AppMod_1/20230418-225038-PatModImgTest/tmp/6.XpJVM/bin/java
[2023-04-18T22:50:43.491Z] STF 22:50:43.355 - | Mnemonic: OT22
[2023-04-18T22:50:43.491Z] STF 22:50:43.355 - | Echo: ECHO_ON
[2023-04-18T22:50:43.491Z] STF 22:50:43.355 - | Expectation: CLEAN_RUN within 5m
[2023-04-18T22:50:43.492Z] STF 22:50:43.355 - |
[2023-04-18T22:50:43.492Z] STF 22:50:43.355 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_16818551042178/PatModImg_AppMod_1/20230418-225038-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module com.hello=/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_16818551042178/PatModImg_AppMod_1/20230418-225038-PatModImgTest/modules/7.com.hello.jar -XX:-UseCompressedOops -classpath /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/jvmtest/system/systemtest_prereqs/junit/junit.jar:/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/jvmtest/system/systemtest_prereqs/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingAppModule
[2023-04-18T22:50:43.492Z] STF 22:50:43.355 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_16818551042178/PatModImg_AppMod_1/20230418-225038-PatModImgTest/results/10.OT22.stderr
[2023-04-18T22:50:43.492Z] STF 22:50:43.355 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_16818551042178/PatModImg_AppMod_1/20230418-225038-PatModImgTest/results/10.OT22.stdout
[2023-04-18T22:50:43.492Z] STF 22:50:43.356 - Monitoring processes: OT22
[2023-04-18T22:50:43.492Z] OT22 stderr WARNING: module-info.class ignored in patch: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_16818551042178/PatModImg_AppMod_1/20230418-225038-PatModImgTest/modules/7.com.hello.jar
[2023-04-18T22:50:43.836Z] OT22 JUnit version 4.12
[2023-04-18T22:50:43.836Z] OT22 .
[2023-04-18T22:50:43.836Z] OT22 Time: 0.006
[2023-04-18T22:50:43.836Z] OT22
[2023-04-18T22:50:43.836Z] OT22 OK (1 test)
[2023-04-18T22:50:43.836Z] OT22
[2023-04-18T22:50:43.836Z] STF 22:50:43.617 - Monitoring Report Summary:
[2023-04-18T22:50:43.836Z] STF 22:50:43.617 - o Process OT22 ended with the expected exit code (0)
[2023-04-18T22:50:43.836Z] STF 22:50:43.617 - EXECUTE stage completed
[2023-04-18T22:50:43.836Z] STF 22:50:43.632 -
[2023-04-18T22:50:43.836Z] STF 22:50:43.633 - ==================== T E A R D O W N ====================
[2023-04-18T22:50:43.836Z] STF 22:50:43.633 - Running teardown: perl /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/aqa-tests/TKG/../TKG/output_16818551042178/PatModImg_AppMod_1/20230418-225038-PatModImgTest/tearDown.pl
[2023-04-18T22:50:43.836Z] STF 22:50:43.693 - TEARDOWN stage completed
[2023-04-18T22:50:43.836Z] STF 22:50:43.696 -
[2023-04-18T22:50:43.836Z] STF 22:50:43.696 - ===================== R E S U L T S =====================
[2023-04-18T22:50:43.836Z] STF 22:50:43.696 - Stage results:
[2023-04-18T22:50:43.836Z] STF 22:50:43.696 - setUp: pass
[2023-04-18T22:50:43.836Z] STF 22:50:43.696 - execute: pass
[2023-04-18T22:50:43.836Z] STF 22:50:43.696 - teardown: pass
[2023-04-18T22:50:43.836Z] STF 22:50:43.696 -
[2023-04-18T22:50:43.836Z] STF 22:50:43.696 - Overall result: PASSED
[2023-04-18T22:50:43.836Z] -----------------------------------
[2023-04-18T22:50:43.836Z] PatModImg_AppMod_1_PASSED
[2023-04-18T22:50:43.836Z] -----------------------------------
[2023-04-18T22:50:43.836Z]
[2023-04-18T22:50:43.836Z] TEST TEARDOWN:
[2023-04-18T22:50:43.836Z] Nothing to be done for teardown.
[2023-04-18T22:50:43.836Z] PatModImg_AppMod_1 Finish Time: Tue Apr 18 22:50:43 2023 Epoch Time (ms): 1681858243731