PatModImg_PlatMod_1
[2023-04-18T22:50:27.278Z] Running test PatModImg_PlatMod_1 ...
[2023-04-18T22:50:27.278Z] ===============================================
[2023-04-18T22:50:27.278Z] PatModImg_PlatMod_1 Start Time: Tue Apr 18 22:50:27 2023 Epoch Time (ms): 1681858227246
[2023-04-18T22:50:27.278Z] variation: Mode650
[2023-04-18T22:50:27.278Z] JVM_OPTIONS: -XX:-UseCompressedOops
[2023-04-18T22:50:27.278Z] { \
[2023-04-18T22:50:27.278Z] echo ""; echo "TEST SETUP:"; \
[2023-04-18T22:50:27.278Z] echo "Nothing to be done for setup."; \
[2023-04-18T22:50:27.278Z] mkdir -p "/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/aqa-tests/TKG/../TKG/output_16818551042178/PatModImg_PlatMod_1"; \
[2023-04-18T22:50:27.278Z] cd "/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/aqa-tests/TKG/../TKG/output_16818551042178/PatModImg_PlatMod_1"; \
[2023-04-18T22:50:27.278Z] echo ""; echo "TESTING:"; \
[2023-04-18T22:50:27.278Z] 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_PlatMod_1" -test=PatModImgTest -test-args="variant=PlatMod"; \
[2023-04-18T22:50:27.278Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatModImg_PlatMod_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_PlatMod_1"; else echo "-----------------------------------"; echo "PatModImg_PlatMod_1""_FAILED"; echo "-----------------------------------"; fi; \
[2023-04-18T22:50:27.278Z] echo ""; echo "TEST TEARDOWN:"; \
[2023-04-18T22:50:27.278Z] echo "Nothing to be done for teardown."; \
[2023-04-18T22:50:27.278Z] } 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:27.278Z]
[2023-04-18T22:50:27.278Z] TEST SETUP:
[2023-04-18T22:50:27.278Z] Nothing to be done for setup.
[2023-04-18T22:50:27.278Z]
[2023-04-18T22:50:27.278Z] TESTING:
[2023-04-18T22:50:27.629Z] STF 22:50:27.342 - ========================= S T F =========================
[2023-04-18T22:50:27.629Z] 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_PlatMod_1
[2023-04-18T22:50:27.629Z] There is 369798 Mb free
[2023-04-18T22:50:27.629Z] STF 22:50:27.348 - ================== G E N E R A T I O N ==================
[2023-04-18T22:50:27.629Z] STF 22:50:27.349 - 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:27.629Z] STF 22:50:27.349 - 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_PlatMod_1/20230418-225027-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_PlatMod_1/20230418-225027-PatModImgTest"
[2023-04-18T22:50:27.629Z] 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:28.393Z] GEN 22:50:28.142 - 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:28.393Z] GEN 22:50:28.182 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModImgTest'
[2023-04-18T22:50:28.393Z] GEN Classpath directories used by project 'openjdk.test.modularity':
[2023-04-18T22:50:28.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:28.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:28.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:28.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:28.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:28.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:28.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:28.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:28.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:28.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:28.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:28.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:28.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:28.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:28.393Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin
[2023-04-18T22:50:28.393Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/jvmtest/system/STF/stf.core/bin
[2023-04-18T22:50:28.393Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/jvmtest/system/systemtest_prereqs/log4j/log4j-api.jar
[2023-04-18T22:50:28.393Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/jvmtest/system/systemtest_prereqs/log4j/log4j-core.jar
[2023-04-18T22:50:28.393Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/jvmtest/system/systemtest_prereqs/junit/junit.jar
[2023-04-18T22:50:28.393Z] GEN 22:50:28.319 - Using Mode NoOptions. Values = ''
[2023-04-18T22:50:28.737Z] GEN 22:50:28.411 -
[2023-04-18T22:50:28.737Z] GEN 22:50:28.411 - Test command summary:
[2023-04-18T22:50:28.737Z] GEN 22:50:28.412 - Step Stage Command Description
[2023-04-18T22:50:28.737Z] GEN 22:50:28.412 - -----+--------+-----------------+------------
[2023-04-18T22:50:28.737Z] GEN 22:50:28.412 - 1 execute jar Create com.hello jar
[2023-04-18T22:50:28.737Z] GEN 22:50:28.412 - 2 execute jar Create com.hola jar
[2023-04-18T22:50:28.737Z] GEN 22:50:28.412 - 3 execute jar Create com.helper jar
[2023-04-18T22:50:28.737Z] GEN 22:50:28.412 - 4 execute jar Create com.discreet jar
[2023-04-18T22:50:28.737Z] GEN 22:50:28.412 - 5 execute jar Create tests jar
[2023-04-18T22:50:28.738Z] GEN 22:50:28.412 - 6 execute jlink Create runtime image for PatchModule test
[2023-04-18T22:50:28.738Z] GEN 22:50:28.412 - 7 execute jar Create com.hello jar
[2023-04-18T22:50:28.738Z] GEN 22:50:28.413 - 8 execute jar create java.xml.jar
[2023-04-18T22:50:28.738Z] GEN 22:50:28.413 - 9 execute Run java Verify if we can patch an upgradable platform module using exploded directory
[2023-04-18T22:50:28.738Z] GEN 22:50:28.413 - 10 execute Run java Verify if we can patch an upgradable platform module using modular jar
[2023-04-18T22:50:28.738Z] STF 22:50:28.443 -
[2023-04-18T22:50:28.738Z] STF 22:50:28.443 - Script generation completed
[2023-04-18T22:50:28.738Z] STF 22:50:28.443 -
[2023-04-18T22:50:28.738Z] STF 22:50:28.444 -
[2023-04-18T22:50:28.738Z] STF 22:50:28.444 - ======================= S E T U P =======================
[2023-04-18T22:50:28.738Z] STF 22:50:28.444 - Running setup: perl /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/aqa-tests/TKG/../TKG/output_16818551042178/PatModImg_PlatMod_1/20230418-225027-PatModImgTest/setUp.pl
[2023-04-18T22:50:28.738Z] STF 22:50:28.516 - SETUP stage completed
[2023-04-18T22:50:28.738Z] STF 22:50:28.522 -
[2023-04-18T22:50:28.738Z] STF 22:50:28.523 - ==================== E X E C U T E - ====================
[2023-04-18T22:50:28.738Z] STF 22:50:28.523 - Running execute: perl /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/aqa-tests/TKG/../TKG/output_16818551042178/PatModImg_PlatMod_1/20230418-225027-PatModImgTest/execute.pl
[2023-04-18T22:50:28.738Z] STF 22:50:28.586 -
[2023-04-18T22:50:28.738Z] STF 22:50:28.586 - Java version
[2023-04-18T22:50:28.738Z] STF 22:50:28.586 - 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:28.738Z] openjdk version "17.0.7" 2023-04-18
[2023-04-18T22:50:28.738Z] OpenJDK Runtime Environment Temurin-17.0.7+7 (build 17.0.7+7)
[2023-04-18T22:50:28.738Z] OpenJDK 64-Bit Server VM Temurin-17.0.7+7 (build 17.0.7+7, mixed mode, sharing)
[2023-04-18T22:50:28.738Z] STF 22:50:28.615 -
[2023-04-18T22:50:28.738Z] STF 22:50:28.615 - +------ Step 1 - Create com.hello jar
[2023-04-18T22:50:28.738Z] STF 22:50:28.615 - | Create modular jar
[2023-04-18T22:50:28.738Z] STF 22:50:28.615 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello
[2023-04-18T22:50:28.738Z] STF 22:50:28.615 - | ModuleVersion: null
[2023-04-18T22:50:28.738Z] STF 22:50:28.615 - | MainClass: null
[2023-04-18T22:50:28.738Z] STF 22:50:28.615 - | HashModules: null
[2023-04-18T22:50:28.738Z] STF 22:50:28.615 - |
[2023-04-18T22:50:28.738Z] STF 22:50:28.616 - 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_PlatMod_1/20230418-225027-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:28.738Z] STF 22:50:28.616 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_16818551042178/PatModImg_PlatMod_1/20230418-225027-PatModImgTest/results/1.CMJ.stderr
[2023-04-18T22:50:28.738Z] STF 22:50:28.616 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_16818551042178/PatModImg_PlatMod_1/20230418-225027-PatModImgTest/results/1.CMJ.stdout
[2023-04-18T22:50:28.738Z] STF 22:50:28.627 - Monitoring processes: CMJ
[2023-04-18T22:50:29.085Z] STF 22:50:28.787 - Monitoring Report Summary:
[2023-04-18T22:50:29.085Z] STF 22:50:28.788 - o Process CMJ ended with the expected exit code (0)
[2023-04-18T22:50:29.085Z] STF 22:50:28.788 - Created modular jar: 1.com.hello.jar
[2023-04-18T22:50:29.085Z] STF 22:50:28.788 -
[2023-04-18T22:50:29.085Z] STF 22:50:28.788 - +------ Step 2 - Create com.hola jar
[2023-04-18T22:50:29.085Z] STF 22:50:28.788 - | Create modular jar
[2023-04-18T22:50:29.085Z] STF 22:50:28.788 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola
[2023-04-18T22:50:29.085Z] STF 22:50:28.788 - | ModuleVersion: null
[2023-04-18T22:50:29.085Z] STF 22:50:28.788 - | MainClass: null
[2023-04-18T22:50:29.085Z] STF 22:50:28.788 - | HashModules: null
[2023-04-18T22:50:29.085Z] STF 22:50:28.788 - |
[2023-04-18T22:50:29.085Z] STF 22:50:28.788 - 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_PlatMod_1/20230418-225027-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:29.085Z] STF 22:50:28.788 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_16818551042178/PatModImg_PlatMod_1/20230418-225027-PatModImgTest/results/2.CMJ.stderr
[2023-04-18T22:50:29.085Z] STF 22:50:28.788 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_16818551042178/PatModImg_PlatMod_1/20230418-225027-PatModImgTest/results/2.CMJ.stdout
[2023-04-18T22:50:29.085Z] STF 22:50:28.789 - Monitoring processes: CMJ
[2023-04-18T22:50:29.085Z] STF 22:50:28.967 - Monitoring Report Summary:
[2023-04-18T22:50:29.085Z] STF 22:50:28.967 - o Process CMJ ended with the expected exit code (0)
[2023-04-18T22:50:29.085Z] STF 22:50:28.968 - Created modular jar: 2.com.hola.jar
[2023-04-18T22:50:29.085Z] STF 22:50:28.968 -
[2023-04-18T22:50:29.085Z] STF 22:50:28.968 - +------ Step 3 - Create com.helper jar
[2023-04-18T22:50:29.085Z] STF 22:50:28.968 - | Create modular jar
[2023-04-18T22:50:29.085Z] STF 22:50:28.968 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper
[2023-04-18T22:50:29.085Z] STF 22:50:28.968 - | ModuleVersion: null
[2023-04-18T22:50:29.085Z] STF 22:50:28.968 - | MainClass: null
[2023-04-18T22:50:29.085Z] STF 22:50:28.968 - | HashModules: null
[2023-04-18T22:50:29.085Z] STF 22:50:28.968 - |
[2023-04-18T22:50:29.085Z] STF 22:50:28.968 - 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_PlatMod_1/20230418-225027-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:29.085Z] STF 22:50:28.968 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_16818551042178/PatModImg_PlatMod_1/20230418-225027-PatModImgTest/results/3.CMJ.stderr
[2023-04-18T22:50:29.085Z] STF 22:50:28.968 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_16818551042178/PatModImg_PlatMod_1/20230418-225027-PatModImgTest/results/3.CMJ.stdout
[2023-04-18T22:50:29.085Z] STF 22:50:28.969 - Monitoring processes: CMJ
[2023-04-18T22:50:29.432Z] STF 22:50:29.173 - Monitoring Report Summary:
[2023-04-18T22:50:29.432Z] STF 22:50:29.173 - o Process CMJ ended with the expected exit code (0)
[2023-04-18T22:50:29.432Z] STF 22:50:29.173 - Created modular jar: 3.com.helper.jar
[2023-04-18T22:50:29.432Z] STF 22:50:29.173 -
[2023-04-18T22:50:29.432Z] STF 22:50:29.173 - +------ Step 4 - Create com.discreet jar
[2023-04-18T22:50:29.432Z] STF 22:50:29.173 - | Create modular jar
[2023-04-18T22:50:29.432Z] STF 22:50:29.174 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet
[2023-04-18T22:50:29.432Z] STF 22:50:29.174 - | ModuleVersion: null
[2023-04-18T22:50:29.432Z] STF 22:50:29.174 - | MainClass: null
[2023-04-18T22:50:29.432Z] STF 22:50:29.174 - | HashModules: null
[2023-04-18T22:50:29.432Z] STF 22:50:29.174 - |
[2023-04-18T22:50:29.432Z] STF 22:50:29.174 - 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_PlatMod_1/20230418-225027-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:29.432Z] STF 22:50:29.174 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_16818551042178/PatModImg_PlatMod_1/20230418-225027-PatModImgTest/results/4.CMJ.stderr
[2023-04-18T22:50:29.432Z] STF 22:50:29.174 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_16818551042178/PatModImg_PlatMod_1/20230418-225027-PatModImgTest/results/4.CMJ.stdout
[2023-04-18T22:50:29.432Z] STF 22:50:29.175 - Monitoring processes: CMJ
[2023-04-18T22:50:29.432Z] STF 22:50:29.355 - Monitoring Report Summary:
[2023-04-18T22:50:29.432Z] STF 22:50:29.355 - o Process CMJ ended with the expected exit code (0)
[2023-04-18T22:50:29.432Z] STF 22:50:29.355 - Created modular jar: 4.com.discreet.jar
[2023-04-18T22:50:29.432Z] STF 22:50:29.355 -
[2023-04-18T22:50:29.432Z] STF 22:50:29.355 - +------ Step 5 - Create tests jar
[2023-04-18T22:50:29.432Z] STF 22:50:29.355 - | Create modular jar
[2023-04-18T22:50:29.432Z] STF 22:50:29.355 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test
[2023-04-18T22:50:29.432Z] STF 22:50:29.355 - | ModuleVersion: null
[2023-04-18T22:50:29.432Z] STF 22:50:29.355 - | MainClass: null
[2023-04-18T22:50:29.432Z] STF 22:50:29.355 - | HashModules: null
[2023-04-18T22:50:29.432Z] STF 22:50:29.355 - |
[2023-04-18T22:50:29.432Z] STF 22:50:29.355 - 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_PlatMod_1/20230418-225027-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:29.432Z] STF 22:50:29.355 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_16818551042178/PatModImg_PlatMod_1/20230418-225027-PatModImgTest/results/5.CMJ.stderr
[2023-04-18T22:50:29.432Z] STF 22:50:29.355 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_16818551042178/PatModImg_PlatMod_1/20230418-225027-PatModImgTest/results/5.CMJ.stdout
[2023-04-18T22:50:29.432Z] STF 22:50:29.356 - Monitoring processes: CMJ
[2023-04-18T22:50:29.776Z] STF 22:50:29.516 - Monitoring Report Summary:
[2023-04-18T22:50:29.776Z] STF 22:50:29.516 - o Process CMJ ended with the expected exit code (0)
[2023-04-18T22:50:29.776Z] STF 22:50:29.516 - Created modular jar: 5.com.test.jar
[2023-04-18T22:50:29.776Z] STF 22:50:29.516 -
[2023-04-18T22:50:29.776Z] STF 22:50:29.516 - +------ Step 6 - Create runtime image for PatchModule test
[2023-04-18T22:50:29.776Z] STF 22:50:29.516 - | Run jlink to create runtime image
[2023-04-18T22:50:29.776Z] STF 22:50:29.516 - | ImageName: XpJVM
[2023-04-18T22:50:29.776Z] STF 22:50:29.516 - |
[2023-04-18T22:50:29.776Z] STF 22:50:29.517 - 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_PlatMod_1/20230418-225027-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_PlatMod_1/20230418-225027-PatModImgTest/tmp/6.XpJVM
[2023-04-18T22:50:29.777Z] STF 22:50:29.517 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_16818551042178/PatModImg_PlatMod_1/20230418-225027-PatModImgTest/results/6.JLNK.stderr
[2023-04-18T22:50:29.777Z] STF 22:50:29.517 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_16818551042178/PatModImg_PlatMod_1/20230418-225027-PatModImgTest/results/6.JLNK.stdout
[2023-04-18T22:50:29.777Z] STF 22:50:29.518 - Monitoring processes: JLNK
[2023-04-18T22:50:32.112Z] STF 22:50:31.729 - Monitoring Report Summary:
[2023-04-18T22:50:32.112Z] STF 22:50:31.729 - o Process JLNK ended with the expected exit code (0)
[2023-04-18T22:50:32.112Z] STF 22:50:31.729 -
[2023-04-18T22:50:32.112Z] STF 22:50:31.729 - +------ Step 7 - Create com.hello jar
[2023-04-18T22:50:32.112Z] STF 22:50:31.729 - | Create modular jar
[2023-04-18T22:50:32.112Z] STF 22:50:31.729 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello
[2023-04-18T22:50:32.112Z] STF 22:50:31.729 - | ModuleVersion: null
[2023-04-18T22:50:32.112Z] STF 22:50:31.729 - | MainClass: null
[2023-04-18T22:50:32.112Z] STF 22:50:31.729 - | HashModules: null
[2023-04-18T22:50:32.112Z] STF 22:50:31.729 - |
[2023-04-18T22:50:32.112Z] STF 22:50:31.729 - 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_PlatMod_1/20230418-225027-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:32.112Z] STF 22:50:31.729 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_16818551042178/PatModImg_PlatMod_1/20230418-225027-PatModImgTest/results/7.CMJ.stderr
[2023-04-18T22:50:32.112Z] STF 22:50:31.729 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_16818551042178/PatModImg_PlatMod_1/20230418-225027-PatModImgTest/results/7.CMJ.stdout
[2023-04-18T22:50:32.112Z] STF 22:50:31.730 - Monitoring processes: CMJ
[2023-04-18T22:50:32.112Z] STF 22:50:31.880 - Monitoring Report Summary:
[2023-04-18T22:50:32.112Z] STF 22:50:31.880 - o Process CMJ ended with the expected exit code (0)
[2023-04-18T22:50:32.112Z] STF 22:50:31.880 - Created modular jar: 7.com.hello.jar
[2023-04-18T22:50:32.112Z] STF 22:50:31.880 -
[2023-04-18T22:50:32.112Z] STF 22:50:31.880 - +------ Step 8 - create java.xml.jar
[2023-04-18T22:50:32.112Z] STF 22:50:31.880 - | Create modular jar
[2023-04-18T22:50:32.112Z] STF 22:50:31.880 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml
[2023-04-18T22:50:32.112Z] STF 22:50:31.880 - | ModuleVersion: null
[2023-04-18T22:50:32.112Z] STF 22:50:31.880 - | MainClass: null
[2023-04-18T22:50:32.112Z] STF 22:50:31.880 - | HashModules: null
[2023-04-18T22:50:32.112Z] STF 22:50:31.880 - |
[2023-04-18T22:50:32.112Z] STF 22:50:31.881 - 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_PlatMod_1/20230418-225027-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:32.112Z] STF 22:50:31.881 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_16818551042178/PatModImg_PlatMod_1/20230418-225027-PatModImgTest/results/8.CMJ.stderr
[2023-04-18T22:50:32.112Z] STF 22:50:31.881 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_16818551042178/PatModImg_PlatMod_1/20230418-225027-PatModImgTest/results/8.CMJ.stdout
[2023-04-18T22:50:32.113Z] STF 22:50:31.882 - Monitoring processes: CMJ
[2023-04-18T22:50:32.113Z] STF 22:50:32.036 - Monitoring Report Summary:
[2023-04-18T22:50:32.113Z] STF 22:50:32.036 - o Process CMJ ended with the expected exit code (0)
[2023-04-18T22:50:32.113Z] STF 22:50:32.036 - Created modular jar: 8.java.xml.jar
[2023-04-18T22:50:32.113Z] STF 22:50:32.036 -
[2023-04-18T22:50:32.113Z] STF 22:50:32.036 - +------ Step 9 - Verify if we can patch an upgradable platform module using exploded directory
[2023-04-18T22:50:32.113Z] STF 22:50:32.036 - | Run foreground process
[2023-04-18T22:50:32.113Z] STF 22:50:32.036 - | Program: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_16818551042178/PatModImg_PlatMod_1/20230418-225027-PatModImgTest/tmp/6.XpJVM/bin/java
[2023-04-18T22:50:32.113Z] STF 22:50:32.036 - | Mnemonic: OT11
[2023-04-18T22:50:32.113Z] STF 22:50:32.036 - | Echo: ECHO_ON
[2023-04-18T22:50:32.113Z] STF 22:50:32.036 - | Expectation: CLEAN_RUN within 5m
[2023-04-18T22:50:32.113Z] STF 22:50:32.036 - |
[2023-04-18T22:50:32.113Z] STF 22:50:32.037 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_16818551042178/PatModImg_PlatMod_1/20230418-225027-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module java.xml=/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/java.xml -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.TestOverrideUsingUpgradablePlatformModule
[2023-04-18T22:50:32.113Z] STF 22:50:32.037 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_16818551042178/PatModImg_PlatMod_1/20230418-225027-PatModImgTest/results/9.OT11.stderr
[2023-04-18T22:50:32.113Z] STF 22:50:32.037 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_16818551042178/PatModImg_PlatMod_1/20230418-225027-PatModImgTest/results/9.OT11.stdout
[2023-04-18T22:50:32.113Z] STF 22:50:32.038 - Monitoring processes: OT11
[2023-04-18T22:50:32.458Z] OT11 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/java.xml
[2023-04-18T22:50:32.458Z] OT11 JUnit version 4.12
[2023-04-18T22:50:32.458Z] OT11 .
[2023-04-18T22:50:32.458Z] OT11 Time: 0.004
[2023-04-18T22:50:32.458Z] OT11
[2023-04-18T22:50:32.458Z] OT11 OK (1 test)
[2023-04-18T22:50:32.458Z] OT11
[2023-04-18T22:50:32.458Z] STF 22:50:32.291 - Monitoring Report Summary:
[2023-04-18T22:50:32.458Z] STF 22:50:32.291 - o Process OT11 ended with the expected exit code (0)
[2023-04-18T22:50:32.458Z] STF 22:50:32.291 -
[2023-04-18T22:50:32.458Z] STF 22:50:32.292 - +------ Step 10 - Verify if we can patch an upgradable platform module using modular jar
[2023-04-18T22:50:32.458Z] STF 22:50:32.292 - | Run foreground process
[2023-04-18T22:50:32.458Z] STF 22:50:32.292 - | Program: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_16818551042178/PatModImg_PlatMod_1/20230418-225027-PatModImgTest/tmp/6.XpJVM/bin/java
[2023-04-18T22:50:32.458Z] STF 22:50:32.292 - | Mnemonic: OT12
[2023-04-18T22:50:32.458Z] STF 22:50:32.292 - | Echo: ECHO_ON
[2023-04-18T22:50:32.458Z] STF 22:50:32.292 - | Expectation: CLEAN_RUN within 5m
[2023-04-18T22:50:32.458Z] STF 22:50:32.292 - |
[2023-04-18T22:50:32.458Z] STF 22:50:32.292 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_16818551042178/PatModImg_PlatMod_1/20230418-225027-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module java.xml=/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_16818551042178/PatModImg_PlatMod_1/20230418-225027-PatModImgTest/modules/8.java.xml.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.TestOverrideUsingUpgradablePlatformModule
[2023-04-18T22:50:32.458Z] STF 22:50:32.292 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_16818551042178/PatModImg_PlatMod_1/20230418-225027-PatModImgTest/results/10.OT12.stderr
[2023-04-18T22:50:32.458Z] STF 22:50:32.292 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_16818551042178/PatModImg_PlatMod_1/20230418-225027-PatModImgTest/results/10.OT12.stdout
[2023-04-18T22:50:32.458Z] STF 22:50:32.293 - Monitoring processes: OT12
[2023-04-18T22:50:32.458Z] OT12 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_PlatMod_1/20230418-225027-PatModImgTest/modules/8.java.xml.jar
[2023-04-18T22:50:32.800Z] OT12 JUnit version 4.12
[2023-04-18T22:50:32.800Z] OT12 .
[2023-04-18T22:50:32.800Z] OT12 Time: 0.003
[2023-04-18T22:50:32.800Z] OT12
[2023-04-18T22:50:32.800Z] OT12 OK (1 test)
[2023-04-18T22:50:32.800Z] OT12
[2023-04-18T22:50:32.800Z] STF 22:50:32.569 - Monitoring Report Summary:
[2023-04-18T22:50:32.800Z] STF 22:50:32.569 - o Process OT12 ended with the expected exit code (0)
[2023-04-18T22:50:32.800Z] STF 22:50:32.569 - EXECUTE stage completed
[2023-04-18T22:50:32.800Z] STF 22:50:32.604 -
[2023-04-18T22:50:32.800Z] STF 22:50:32.604 - ==================== T E A R D O W N ====================
[2023-04-18T22:50:32.801Z] STF 22:50:32.604 - Running teardown: perl /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/aqa-tests/TKG/../TKG/output_16818551042178/PatModImg_PlatMod_1/20230418-225027-PatModImgTest/tearDown.pl
[2023-04-18T22:50:32.801Z] STF 22:50:32.673 - TEARDOWN stage completed
[2023-04-18T22:50:32.801Z] STF 22:50:32.679 -
[2023-04-18T22:50:32.801Z] STF 22:50:32.679 - ===================== R E S U L T S =====================
[2023-04-18T22:50:32.801Z] STF 22:50:32.679 - Stage results:
[2023-04-18T22:50:32.801Z] STF 22:50:32.679 - setUp: pass
[2023-04-18T22:50:32.801Z] STF 22:50:32.679 - execute: pass
[2023-04-18T22:50:32.801Z] STF 22:50:32.679 - teardown: pass
[2023-04-18T22:50:32.801Z] STF 22:50:32.679 -
[2023-04-18T22:50:32.801Z] STF 22:50:32.679 - Overall result: PASSED
[2023-04-18T22:50:32.801Z] -----------------------------------
[2023-04-18T22:50:32.801Z] PatModImg_PlatMod_1_PASSED
[2023-04-18T22:50:32.801Z] -----------------------------------
[2023-04-18T22:50:32.801Z]
[2023-04-18T22:50:32.801Z] TEST TEARDOWN:
[2023-04-18T22:50:32.801Z] Nothing to be done for teardown.
[2023-04-18T22:50:32.801Z] PatModImg_PlatMod_1 Finish Time: Tue Apr 18 22:50:32 2023 Epoch Time (ms): 1681858232713