PatModImg_PlatMod_0

[2023-04-18T22:50:22.023Z] Running test PatModImg_PlatMod_0 ... [2023-04-18T22:50:22.023Z] =============================================== [2023-04-18T22:50:22.023Z] PatModImg_PlatMod_0 Start Time: Tue Apr 18 22:50:21 2023 Epoch Time (ms): 1681858221778 [2023-04-18T22:50:22.023Z] variation: Mode150 [2023-04-18T22:50:22.023Z] JVM_OPTIONS: -XX:+UseCompressedOops [2023-04-18T22:50:22.023Z] { \ [2023-04-18T22:50:22.023Z] echo ""; echo "TEST SETUP:"; \ [2023-04-18T22:50:22.023Z] echo "Nothing to be done for setup."; \ [2023-04-18T22:50:22.023Z] mkdir -p "/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/aqa-tests/TKG/../TKG/output_16818551042178/PatModImg_PlatMod_0"; \ [2023-04-18T22:50:22.023Z] cd "/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/aqa-tests/TKG/../TKG/output_16818551042178/PatModImg_PlatMod_0"; \ [2023-04-18T22:50:22.023Z] echo ""; echo "TESTING:"; \ [2023-04-18T22:50:22.023Z] 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_0" -test=PatModImgTest -test-args="variant=PlatMod"; \ [2023-04-18T22:50:22.023Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatModImg_PlatMod_0""_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_0"; else echo "-----------------------------------"; echo "PatModImg_PlatMod_0""_FAILED"; echo "-----------------------------------"; fi; \ [2023-04-18T22:50:22.023Z] echo ""; echo "TEST TEARDOWN:"; \ [2023-04-18T22:50:22.023Z] echo "Nothing to be done for teardown."; \ [2023-04-18T22:50:22.023Z] } 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:22.023Z] [2023-04-18T22:50:22.023Z] TEST SETUP: [2023-04-18T22:50:22.023Z] Nothing to be done for setup. [2023-04-18T22:50:22.023Z] [2023-04-18T22:50:22.023Z] TESTING: [2023-04-18T22:50:22.023Z] STF 22:50:21.852 - ========================= S T F ========================= [2023-04-18T22:50:22.023Z] 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_0 [2023-04-18T22:50:22.023Z] There is 369818 Mb free [2023-04-18T22:50:22.023Z] STF 22:50:21.857 - ================== G E N E R A T I O N ================== [2023-04-18T22:50:22.023Z] STF 22:50:21.858 - 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:22.023Z] STF 22:50:21.858 - 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_0/20230418-225021-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_0/20230418-225021-PatModImgTest" [2023-04-18T22:50:22.023Z] 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:22.762Z] GEN 22:50:22.624 - 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:22.762Z] GEN 22:50:22.633 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModImgTest' [2023-04-18T22:50:22.762Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2023-04-18T22:50:22.762Z] 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:22.762Z] 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:22.762Z] 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:22.762Z] 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:22.762Z] 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:22.762Z] 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:22.762Z] 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:22.762Z] 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:22.762Z] 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:22.762Z] 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:22.762Z] 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:22.762Z] 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:22.762Z] 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:22.762Z] 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:22.762Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin [2023-04-18T22:50:22.762Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/jvmtest/system/STF/stf.core/bin [2023-04-18T22:50:22.762Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/jvmtest/system/systemtest_prereqs/log4j/log4j-api.jar [2023-04-18T22:50:22.762Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/jvmtest/system/systemtest_prereqs/log4j/log4j-core.jar [2023-04-18T22:50:22.762Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/jvmtest/system/systemtest_prereqs/junit/junit.jar [2023-04-18T22:50:23.107Z] GEN 22:50:22.789 - Using Mode NoOptions. Values = '' [2023-04-18T22:50:23.107Z] GEN 22:50:22.857 - [2023-04-18T22:50:23.107Z] GEN 22:50:22.857 - Test command summary: [2023-04-18T22:50:23.107Z] GEN 22:50:22.858 - Step Stage Command Description [2023-04-18T22:50:23.107Z] GEN 22:50:22.858 - -----+--------+-----------------+------------ [2023-04-18T22:50:23.107Z] GEN 22:50:22.858 - 1 execute jar Create com.hello jar [2023-04-18T22:50:23.107Z] GEN 22:50:22.858 - 2 execute jar Create com.hola jar [2023-04-18T22:50:23.107Z] GEN 22:50:22.858 - 3 execute jar Create com.helper jar [2023-04-18T22:50:23.107Z] GEN 22:50:22.858 - 4 execute jar Create com.discreet jar [2023-04-18T22:50:23.107Z] GEN 22:50:22.858 - 5 execute jar Create tests jar [2023-04-18T22:50:23.107Z] GEN 22:50:22.858 - 6 execute jlink Create runtime image for PatchModule test [2023-04-18T22:50:23.107Z] GEN 22:50:22.880 - 7 execute jar Create com.hello jar [2023-04-18T22:50:23.107Z] GEN 22:50:22.880 - 8 execute jar create java.xml.jar [2023-04-18T22:50:23.107Z] GEN 22:50:22.880 - 9 execute Run java Verify if we can patch an upgradable platform module using exploded directory [2023-04-18T22:50:23.107Z] GEN 22:50:22.880 - 10 execute Run java Verify if we can patch an upgradable platform module using modular jar [2023-04-18T22:50:23.107Z] STF 22:50:22.893 - [2023-04-18T22:50:23.107Z] STF 22:50:22.893 - Script generation completed [2023-04-18T22:50:23.107Z] STF 22:50:22.893 - [2023-04-18T22:50:23.107Z] STF 22:50:22.893 - [2023-04-18T22:50:23.108Z] STF 22:50:22.894 - ======================= S E T U P ======================= [2023-04-18T22:50:23.108Z] STF 22:50:22.894 - Running setup: perl /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/aqa-tests/TKG/../TKG/output_16818551042178/PatModImg_PlatMod_0/20230418-225021-PatModImgTest/setUp.pl [2023-04-18T22:50:23.108Z] STF 22:50:22.958 - SETUP stage completed [2023-04-18T22:50:23.108Z] STF 22:50:22.962 - [2023-04-18T22:50:23.108Z] STF 22:50:22.962 - ==================== E X E C U T E - ==================== [2023-04-18T22:50:23.108Z] STF 22:50:22.962 - Running execute: perl /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/aqa-tests/TKG/../TKG/output_16818551042178/PatModImg_PlatMod_0/20230418-225021-PatModImgTest/execute.pl [2023-04-18T22:50:23.108Z] STF 22:50:23.032 - [2023-04-18T22:50:23.108Z] STF 22:50:23.032 - Java version [2023-04-18T22:50:23.108Z] STF 22:50:23.032 - 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:23.108Z] openjdk version "17.0.7" 2023-04-18 [2023-04-18T22:50:23.108Z] OpenJDK Runtime Environment Temurin-17.0.7+7 (build 17.0.7+7) [2023-04-18T22:50:23.108Z] OpenJDK 64-Bit Server VM Temurin-17.0.7+7 (build 17.0.7+7, mixed mode, sharing) [2023-04-18T22:50:23.108Z] STF 22:50:23.061 - [2023-04-18T22:50:23.108Z] STF 22:50:23.061 - +------ Step 1 - Create com.hello jar [2023-04-18T22:50:23.108Z] STF 22:50:23.061 - | Create modular jar [2023-04-18T22:50:23.108Z] STF 22:50:23.061 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2023-04-18T22:50:23.108Z] STF 22:50:23.061 - | ModuleVersion: null [2023-04-18T22:50:23.108Z] STF 22:50:23.061 - | MainClass: null [2023-04-18T22:50:23.108Z] STF 22:50:23.061 - | HashModules: null [2023-04-18T22:50:23.108Z] STF 22:50:23.061 - | [2023-04-18T22:50:23.108Z] STF 22:50:23.062 - 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_0/20230418-225021-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:23.108Z] STF 22:50:23.062 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_16818551042178/PatModImg_PlatMod_0/20230418-225021-PatModImgTest/results/1.CMJ.stderr [2023-04-18T22:50:23.108Z] STF 22:50:23.062 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_16818551042178/PatModImg_PlatMod_0/20230418-225021-PatModImgTest/results/1.CMJ.stdout [2023-04-18T22:50:23.108Z] STF 22:50:23.071 - Monitoring processes: CMJ [2023-04-18T22:50:23.455Z] STF 22:50:23.243 - Monitoring Report Summary: [2023-04-18T22:50:23.455Z] STF 22:50:23.243 - o Process CMJ ended with the expected exit code (0) [2023-04-18T22:50:23.455Z] STF 22:50:23.243 - Created modular jar: 1.com.hello.jar [2023-04-18T22:50:23.455Z] STF 22:50:23.243 - [2023-04-18T22:50:23.455Z] STF 22:50:23.243 - +------ Step 2 - Create com.hola jar [2023-04-18T22:50:23.455Z] STF 22:50:23.244 - | Create modular jar [2023-04-18T22:50:23.455Z] STF 22:50:23.244 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2023-04-18T22:50:23.455Z] STF 22:50:23.244 - | ModuleVersion: null [2023-04-18T22:50:23.455Z] STF 22:50:23.244 - | MainClass: null [2023-04-18T22:50:23.455Z] STF 22:50:23.244 - | HashModules: null [2023-04-18T22:50:23.455Z] STF 22:50:23.244 - | [2023-04-18T22:50:23.455Z] STF 22:50:23.244 - 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_0/20230418-225021-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:23.455Z] STF 22:50:23.244 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_16818551042178/PatModImg_PlatMod_0/20230418-225021-PatModImgTest/results/2.CMJ.stderr [2023-04-18T22:50:23.456Z] STF 22:50:23.244 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_16818551042178/PatModImg_PlatMod_0/20230418-225021-PatModImgTest/results/2.CMJ.stdout [2023-04-18T22:50:23.456Z] STF 22:50:23.245 - Monitoring processes: CMJ [2023-04-18T22:50:23.456Z] STF 22:50:23.389 - Monitoring Report Summary: [2023-04-18T22:50:23.456Z] STF 22:50:23.389 - o Process CMJ ended with the expected exit code (0) [2023-04-18T22:50:23.456Z] STF 22:50:23.389 - Created modular jar: 2.com.hola.jar [2023-04-18T22:50:23.456Z] STF 22:50:23.389 - [2023-04-18T22:50:23.456Z] STF 22:50:23.389 - +------ Step 3 - Create com.helper jar [2023-04-18T22:50:23.456Z] STF 22:50:23.389 - | Create modular jar [2023-04-18T22:50:23.456Z] STF 22:50:23.389 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2023-04-18T22:50:23.456Z] STF 22:50:23.389 - | ModuleVersion: null [2023-04-18T22:50:23.456Z] STF 22:50:23.389 - | MainClass: null [2023-04-18T22:50:23.456Z] STF 22:50:23.389 - | HashModules: null [2023-04-18T22:50:23.456Z] STF 22:50:23.389 - | [2023-04-18T22:50:23.456Z] STF 22:50:23.390 - 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_0/20230418-225021-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:23.456Z] STF 22:50:23.390 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_16818551042178/PatModImg_PlatMod_0/20230418-225021-PatModImgTest/results/3.CMJ.stderr [2023-04-18T22:50:23.456Z] STF 22:50:23.390 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_16818551042178/PatModImg_PlatMod_0/20230418-225021-PatModImgTest/results/3.CMJ.stdout [2023-04-18T22:50:23.456Z] STF 22:50:23.391 - Monitoring processes: CMJ [2023-04-18T22:50:23.889Z] STF 22:50:23.564 - Monitoring Report Summary: [2023-04-18T22:50:23.889Z] STF 22:50:23.564 - o Process CMJ ended with the expected exit code (0) [2023-04-18T22:50:23.889Z] STF 22:50:23.564 - Created modular jar: 3.com.helper.jar [2023-04-18T22:50:23.889Z] STF 22:50:23.564 - [2023-04-18T22:50:23.889Z] STF 22:50:23.564 - +------ Step 4 - Create com.discreet jar [2023-04-18T22:50:23.889Z] STF 22:50:23.564 - | Create modular jar [2023-04-18T22:50:23.889Z] STF 22:50:23.564 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2023-04-18T22:50:23.889Z] STF 22:50:23.564 - | ModuleVersion: null [2023-04-18T22:50:23.889Z] STF 22:50:23.564 - | MainClass: null [2023-04-18T22:50:23.889Z] STF 22:50:23.564 - | HashModules: null [2023-04-18T22:50:23.889Z] STF 22:50:23.564 - | [2023-04-18T22:50:23.890Z] STF 22:50:23.564 - 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_0/20230418-225021-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:23.890Z] STF 22:50:23.564 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_16818551042178/PatModImg_PlatMod_0/20230418-225021-PatModImgTest/results/4.CMJ.stderr [2023-04-18T22:50:23.890Z] STF 22:50:23.564 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_16818551042178/PatModImg_PlatMod_0/20230418-225021-PatModImgTest/results/4.CMJ.stdout [2023-04-18T22:50:23.890Z] STF 22:50:23.565 - Monitoring processes: CMJ [2023-04-18T22:50:23.890Z] STF 22:50:23.739 - Monitoring Report Summary: [2023-04-18T22:50:23.890Z] STF 22:50:23.739 - o Process CMJ ended with the expected exit code (0) [2023-04-18T22:50:23.890Z] STF 22:50:23.739 - Created modular jar: 4.com.discreet.jar [2023-04-18T22:50:23.890Z] STF 22:50:23.739 - [2023-04-18T22:50:23.890Z] STF 22:50:23.739 - +------ Step 5 - Create tests jar [2023-04-18T22:50:23.890Z] STF 22:50:23.739 - | Create modular jar [2023-04-18T22:50:23.890Z] STF 22:50:23.739 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2023-04-18T22:50:23.890Z] STF 22:50:23.739 - | ModuleVersion: null [2023-04-18T22:50:23.890Z] STF 22:50:23.739 - | MainClass: null [2023-04-18T22:50:23.890Z] STF 22:50:23.739 - | HashModules: null [2023-04-18T22:50:23.890Z] STF 22:50:23.739 - | [2023-04-18T22:50:23.890Z] STF 22:50:23.739 - 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_0/20230418-225021-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:23.890Z] STF 22:50:23.739 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_16818551042178/PatModImg_PlatMod_0/20230418-225021-PatModImgTest/results/5.CMJ.stderr [2023-04-18T22:50:23.890Z] STF 22:50:23.739 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_16818551042178/PatModImg_PlatMod_0/20230418-225021-PatModImgTest/results/5.CMJ.stdout [2023-04-18T22:50:23.890Z] STF 22:50:23.740 - Monitoring processes: CMJ [2023-04-18T22:50:24.239Z] STF 22:50:23.908 - Monitoring Report Summary: [2023-04-18T22:50:24.239Z] STF 22:50:23.908 - o Process CMJ ended with the expected exit code (0) [2023-04-18T22:50:24.239Z] STF 22:50:23.908 - Created modular jar: 5.com.test.jar [2023-04-18T22:50:24.239Z] STF 22:50:23.908 - [2023-04-18T22:50:24.239Z] STF 22:50:23.908 - +------ Step 6 - Create runtime image for PatchModule test [2023-04-18T22:50:24.239Z] STF 22:50:23.908 - | Run jlink to create runtime image [2023-04-18T22:50:24.239Z] STF 22:50:23.908 - | ImageName: XpJVM [2023-04-18T22:50:24.239Z] STF 22:50:23.908 - | [2023-04-18T22:50:24.239Z] STF 22:50:23.909 - 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_0/20230418-225021-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_0/20230418-225021-PatModImgTest/tmp/6.XpJVM [2023-04-18T22:50:24.239Z] STF 22:50:23.909 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_16818551042178/PatModImg_PlatMod_0/20230418-225021-PatModImgTest/results/6.JLNK.stderr [2023-04-18T22:50:24.239Z] STF 22:50:23.909 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_16818551042178/PatModImg_PlatMod_0/20230418-225021-PatModImgTest/results/6.JLNK.stdout [2023-04-18T22:50:24.239Z] STF 22:50:23.910 - Monitoring processes: JLNK [2023-04-18T22:50:26.586Z] STF 22:50:26.175 - Monitoring Report Summary: [2023-04-18T22:50:26.587Z] STF 22:50:26.175 - o Process JLNK ended with the expected exit code (0) [2023-04-18T22:50:26.587Z] STF 22:50:26.175 - [2023-04-18T22:50:26.587Z] STF 22:50:26.175 - +------ Step 7 - Create com.hello jar [2023-04-18T22:50:26.587Z] STF 22:50:26.175 - | Create modular jar [2023-04-18T22:50:26.587Z] STF 22:50:26.175 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2023-04-18T22:50:26.587Z] STF 22:50:26.175 - | ModuleVersion: null [2023-04-18T22:50:26.587Z] STF 22:50:26.175 - | MainClass: null [2023-04-18T22:50:26.587Z] STF 22:50:26.175 - | HashModules: null [2023-04-18T22:50:26.587Z] STF 22:50:26.175 - | [2023-04-18T22:50:26.587Z] STF 22:50:26.175 - 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_0/20230418-225021-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:26.587Z] STF 22:50:26.175 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_16818551042178/PatModImg_PlatMod_0/20230418-225021-PatModImgTest/results/7.CMJ.stderr [2023-04-18T22:50:26.587Z] STF 22:50:26.175 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_16818551042178/PatModImg_PlatMod_0/20230418-225021-PatModImgTest/results/7.CMJ.stdout [2023-04-18T22:50:26.587Z] STF 22:50:26.176 - Monitoring processes: CMJ [2023-04-18T22:50:26.587Z] STF 22:50:26.351 - Monitoring Report Summary: [2023-04-18T22:50:26.587Z] STF 22:50:26.351 - o Process CMJ ended with the expected exit code (0) [2023-04-18T22:50:26.587Z] STF 22:50:26.351 - Created modular jar: 7.com.hello.jar [2023-04-18T22:50:26.587Z] STF 22:50:26.351 - [2023-04-18T22:50:26.587Z] STF 22:50:26.351 - +------ Step 8 - create java.xml.jar [2023-04-18T22:50:26.587Z] STF 22:50:26.351 - | Create modular jar [2023-04-18T22:50:26.587Z] STF 22:50:26.351 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml [2023-04-18T22:50:26.587Z] STF 22:50:26.351 - | ModuleVersion: null [2023-04-18T22:50:26.587Z] STF 22:50:26.351 - | MainClass: null [2023-04-18T22:50:26.587Z] STF 22:50:26.351 - | HashModules: null [2023-04-18T22:50:26.587Z] STF 22:50:26.351 - | [2023-04-18T22:50:26.587Z] STF 22:50:26.351 - 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_0/20230418-225021-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:26.587Z] STF 22:50:26.351 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_16818551042178/PatModImg_PlatMod_0/20230418-225021-PatModImgTest/results/8.CMJ.stderr [2023-04-18T22:50:26.587Z] STF 22:50:26.351 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_16818551042178/PatModImg_PlatMod_0/20230418-225021-PatModImgTest/results/8.CMJ.stdout [2023-04-18T22:50:26.587Z] STF 22:50:26.352 - Monitoring processes: CMJ [2023-04-18T22:50:26.931Z] STF 22:50:26.539 - Monitoring Report Summary: [2023-04-18T22:50:26.931Z] STF 22:50:26.539 - o Process CMJ ended with the expected exit code (0) [2023-04-18T22:50:26.931Z] STF 22:50:26.539 - Created modular jar: 8.java.xml.jar [2023-04-18T22:50:26.931Z] STF 22:50:26.539 - [2023-04-18T22:50:26.931Z] STF 22:50:26.539 - +------ Step 9 - Verify if we can patch an upgradable platform module using exploded directory [2023-04-18T22:50:26.931Z] STF 22:50:26.539 - | Run foreground process [2023-04-18T22:50:26.931Z] STF 22:50:26.539 - | Program: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_16818551042178/PatModImg_PlatMod_0/20230418-225021-PatModImgTest/tmp/6.XpJVM/bin/java [2023-04-18T22:50:26.931Z] STF 22:50:26.539 - | Mnemonic: OT11 [2023-04-18T22:50:26.931Z] STF 22:50:26.539 - | Echo: ECHO_ON [2023-04-18T22:50:26.931Z] STF 22:50:26.539 - | Expectation: CLEAN_RUN within 5m [2023-04-18T22:50:26.931Z] STF 22:50:26.539 - | [2023-04-18T22:50:26.931Z] STF 22:50:26.539 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_16818551042178/PatModImg_PlatMod_0/20230418-225021-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:26.931Z] STF 22:50:26.539 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_16818551042178/PatModImg_PlatMod_0/20230418-225021-PatModImgTest/results/9.OT11.stderr [2023-04-18T22:50:26.931Z] STF 22:50:26.539 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_16818551042178/PatModImg_PlatMod_0/20230418-225021-PatModImgTest/results/9.OT11.stdout [2023-04-18T22:50:26.931Z] STF 22:50:26.540 - Monitoring processes: OT11 [2023-04-18T22:50:26.931Z] 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:26.931Z] OT11 JUnit version 4.12 [2023-04-18T22:50:26.931Z] OT11 . [2023-04-18T22:50:26.931Z] OT11 Time: 0.003 [2023-04-18T22:50:26.931Z] OT11 [2023-04-18T22:50:26.931Z] OT11 OK (1 test) [2023-04-18T22:50:26.931Z] OT11 [2023-04-18T22:50:26.931Z] STF 22:50:26.801 - Monitoring Report Summary: [2023-04-18T22:50:26.931Z] STF 22:50:26.801 - o Process OT11 ended with the expected exit code (0) [2023-04-18T22:50:26.931Z] STF 22:50:26.801 - [2023-04-18T22:50:26.931Z] STF 22:50:26.801 - +------ Step 10 - Verify if we can patch an upgradable platform module using modular jar [2023-04-18T22:50:26.931Z] STF 22:50:26.801 - | Run foreground process [2023-04-18T22:50:26.931Z] STF 22:50:26.801 - | Program: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_16818551042178/PatModImg_PlatMod_0/20230418-225021-PatModImgTest/tmp/6.XpJVM/bin/java [2023-04-18T22:50:26.931Z] STF 22:50:26.801 - | Mnemonic: OT12 [2023-04-18T22:50:26.931Z] STF 22:50:26.801 - | Echo: ECHO_ON [2023-04-18T22:50:26.931Z] STF 22:50:26.801 - | Expectation: CLEAN_RUN within 5m [2023-04-18T22:50:26.931Z] STF 22:50:26.801 - | [2023-04-18T22:50:26.931Z] STF 22:50:26.802 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_16818551042178/PatModImg_PlatMod_0/20230418-225021-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_0/20230418-225021-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:26.931Z] STF 22:50:26.802 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_16818551042178/PatModImg_PlatMod_0/20230418-225021-PatModImgTest/results/10.OT12.stderr [2023-04-18T22:50:26.932Z] STF 22:50:26.802 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/aqa-tests/TKG/output_16818551042178/PatModImg_PlatMod_0/20230418-225021-PatModImgTest/results/10.OT12.stdout [2023-04-18T22:50:26.932Z] STF 22:50:26.802 - Monitoring processes: OT12 [2023-04-18T22:50:27.277Z] 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_0/20230418-225021-PatModImgTest/modules/8.java.xml.jar [2023-04-18T22:50:27.277Z] OT12 JUnit version 4.12 [2023-04-18T22:50:27.277Z] OT12 . [2023-04-18T22:50:27.277Z] OT12 Time: 0.003 [2023-04-18T22:50:27.277Z] OT12 [2023-04-18T22:50:27.277Z] OT12 OK (1 test) [2023-04-18T22:50:27.277Z] OT12 [2023-04-18T22:50:27.277Z] STF 22:50:27.106 - Monitoring Report Summary: [2023-04-18T22:50:27.277Z] STF 22:50:27.106 - o Process OT12 ended with the expected exit code (0) [2023-04-18T22:50:27.277Z] STF 22:50:27.106 - EXECUTE stage completed [2023-04-18T22:50:27.277Z] STF 22:50:27.125 - [2023-04-18T22:50:27.277Z] STF 22:50:27.125 - ==================== T E A R D O W N ==================== [2023-04-18T22:50:27.277Z] STF 22:50:27.125 - Running teardown: perl /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_linux/aqa-tests/TKG/../TKG/output_16818551042178/PatModImg_PlatMod_0/20230418-225021-PatModImgTest/tearDown.pl [2023-04-18T22:50:27.277Z] STF 22:50:27.185 - TEARDOWN stage completed [2023-04-18T22:50:27.277Z] STF 22:50:27.191 - [2023-04-18T22:50:27.277Z] STF 22:50:27.191 - ===================== R E S U L T S ===================== [2023-04-18T22:50:27.277Z] STF 22:50:27.191 - Stage results: [2023-04-18T22:50:27.277Z] STF 22:50:27.191 - setUp: pass [2023-04-18T22:50:27.277Z] STF 22:50:27.191 - execute: pass [2023-04-18T22:50:27.277Z] STF 22:50:27.191 - teardown: pass [2023-04-18T22:50:27.277Z] STF 22:50:27.192 - [2023-04-18T22:50:27.277Z] STF 22:50:27.192 - Overall result: PASSED [2023-04-18T22:50:27.277Z] ----------------------------------- [2023-04-18T22:50:27.277Z] PatModImg_PlatMod_0_PASSED [2023-04-18T22:50:27.277Z] ----------------------------------- [2023-04-18T22:50:27.278Z] [2023-04-18T22:50:27.278Z] TEST TEARDOWN: [2023-04-18T22:50:27.278Z] Nothing to be done for teardown. [2023-04-18T22:50:27.278Z] PatModImg_PlatMod_0 Finish Time: Tue Apr 18 22:50:27 2023 Epoch Time (ms): 1681858227221