PatModImg_PlatMod_1

[2024-08-17T10:52:46.253Z] Running test PatModImg_PlatMod_1 ... [2024-08-17T10:52:46.253Z] =============================================== [2024-08-17T10:52:46.253Z] PatModImg_PlatMod_1 Start Time: Sat Aug 17 10:52:45 2024 Epoch Time (ms): 1723891965491 [2024-08-17T10:52:46.253Z] variation: Mode650 [2024-08-17T10:52:46.254Z] JVM_OPTIONS: -XX:-UseCompressedOops [2024-08-17T10:52:46.254Z] { \ [2024-08-17T10:52:46.254Z] echo ""; echo "TEST SETUP:"; \ [2024-08-17T10:52:46.254Z] echo "Nothing to be done for setup."; \ [2024-08-17T10:52:46.254Z] mkdir -p "/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/../TKG/output_17238917986218/PatModImg_PlatMod_1"; \ [2024-08-17T10:52:46.254Z] cd "/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/../TKG/output_17238917986218/PatModImg_PlatMod_1"; \ [2024-08-17T10:52:46.254Z] echo ""; echo "TESTING:"; \ [2024-08-17T10:52:46.254Z] perl /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF/stf.core/scripts/stf.pl -test-root="/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF;/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/../../jvmtest/system/modularity/..//aqa-systemtest""" -systemtest-prereqs="/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_2/../../testDependency/system_lib/" -java-args=' -XX:-UseCompressedOops ' -results-root="/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/../TKG/output_17238917986218/PatModImg_PlatMod_1" -test=PatModImgTest -test-args="variant=PlatMod"; \ [2024-08-17T10:52:46.254Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatModImg_PlatMod_1""_PASSED"; echo "-----------------------------------"; cd /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/..; rm -f -r "/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/../TKG/output_17238917986218/PatModImg_PlatMod_1"; else echo "-----------------------------------"; echo "PatModImg_PlatMod_1""_FAILED"; echo "-----------------------------------"; fi; \ [2024-08-17T10:52:46.254Z] echo ""; echo "TEST TEARDOWN:"; \ [2024-08-17T10:52:46.254Z] echo "Nothing to be done for teardown."; \ [2024-08-17T10:52:46.254Z] } 2>&1 | tee -a "/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/../TKG/output_17238917986218/TestTargetResult"; [2024-08-17T10:52:46.254Z] [2024-08-17T10:52:46.254Z] TEST SETUP: [2024-08-17T10:52:46.254Z] Nothing to be done for setup. [2024-08-17T10:52:46.254Z] [2024-08-17T10:52:46.254Z] TESTING: [2024-08-17T10:52:46.254Z] STF 10:52:45.588 - ========================= S T F ========================= [2024-08-17T10:52:46.254Z] systemtest-prereqs has been processed, and set to: /home/jenkins/testDependency/system_libRetrieving amount of free space on drive containing /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/../TKG/output_17238917986218/PatModImg_PlatMod_1 [2024-08-17T10:52:46.254Z] There is 186301 Mb free [2024-08-17T10:52:46.254Z] STF 10:52:45.596 - ================== G E N E R A T I O N ================== [2024-08-17T10:52:46.254Z] STF 10:52:45.598 - Checking JVM: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_2/jdkbinary/j2sdk-image [2024-08-17T10:52:46.254Z] STF 10:52:45.598 - Starting process to generate scripts: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_2/jdkbinary/j2sdk-image/bin/java -Dlog4j.skipJansi=true -Djava.system.class.loader=net.adoptopenjdk.stf.runner.StfClassLoader -classpath /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_2/../../testDependency/system_lib//log4j/log4j-api.jar:/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_2/../../testDependency/system_lib//log4j/log4j-core.jar:/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_2/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/../TKG/output_17238917986218/PatModImg_PlatMod_1/20240817-105245-PatModImgTest/stf_parameters.properties, , /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_2/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/../TKG/output_17238917986218/PatModImg_PlatMod_1/20240817-105245-PatModImgTest" [2024-08-17T10:52:46.254Z] GEN stderr OpenJDK 64-Bit Server VM warning: Archived non-system classes are disabled because the java.system.class.loader property is specified (value = "net.adoptopenjdk.stf.runner.StfClassLoader"). To use archived non-system classes, this property must not be set [2024-08-17T10:52:47.915Z] GEN 10:52:47.037 - Found test. Project: 'openjdk.test.modularity' class: 'PatModImgTest.class' Dir: '/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin' [2024-08-17T10:52:47.915Z] GEN 10:52:47.047 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModImgTest' [2024-08-17T10:52:47.915Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2024-08-17T10:52:47.915Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayService [2024-08-17T10:52:47.915Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper [2024-08-17T10:52:47.915Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl1 [2024-08-17T10:52:47.915Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet [2024-08-17T10:52:47.915Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello [2024-08-17T10:52:47.915Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola [2024-08-17T10:52:47.915Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl2 [2024-08-17T10:52:47.915Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hi [2024-08-17T10:52:47.915Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override [2024-08-17T10:52:47.915Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override-new [2024-08-17T10:52:47.915Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl3 [2024-08-17T10:52:47.915Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl4 [2024-08-17T10:52:47.915Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common [2024-08-17T10:52:47.915Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests [2024-08-17T10:52:47.916Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin [2024-08-17T10:52:47.916Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_2/jvmtest/system/STF/stf.core/bin [2024-08-17T10:52:47.916Z] GEN /home/jenkins/testDependency/system_lib/log4j/log4j-api.jar [2024-08-17T10:52:47.916Z] GEN /home/jenkins/testDependency/system_lib/log4j/log4j-core.jar [2024-08-17T10:52:47.916Z] GEN /home/jenkins/testDependency/system_lib/junit/junit.jar [2024-08-17T10:52:47.916Z] GEN 10:52:47.330 - Using Mode NoOptions. Values = '' [2024-08-17T10:52:47.916Z] GEN 10:52:47.543 - [2024-08-17T10:52:47.916Z] GEN 10:52:47.543 - Test command summary: [2024-08-17T10:52:47.916Z] GEN 10:52:47.544 - Step Stage Command Description [2024-08-17T10:52:47.916Z] GEN 10:52:47.544 - -----+--------+-----------------+------------ [2024-08-17T10:52:47.916Z] GEN 10:52:47.544 - 1 execute jar Create com.hello jar [2024-08-17T10:52:47.916Z] GEN 10:52:47.544 - 2 execute jar Create com.hola jar [2024-08-17T10:52:47.916Z] GEN 10:52:47.544 - 3 execute jar Create com.helper jar [2024-08-17T10:52:47.916Z] GEN 10:52:47.544 - 4 execute jar Create com.discreet jar [2024-08-17T10:52:47.916Z] GEN 10:52:47.544 - 5 execute jar Create tests jar [2024-08-17T10:52:47.916Z] GEN 10:52:47.544 - 6 execute jlink Create runtime image for PatchModule test [2024-08-17T10:52:47.916Z] GEN 10:52:47.544 - 7 execute jar Create com.hello jar [2024-08-17T10:52:47.916Z] GEN 10:52:47.544 - 8 execute jar create java.xml.jar [2024-08-17T10:52:47.916Z] GEN 10:52:47.545 - 9 execute Run java Verify if we can patch an upgradable platform module using exploded directory [2024-08-17T10:52:47.916Z] GEN 10:52:47.545 - 10 execute Run java Verify if we can patch an upgradable platform module using modular jar [2024-08-17T10:52:47.916Z] STF 10:52:47.597 - [2024-08-17T10:52:47.916Z] STF 10:52:47.597 - Script generation completed [2024-08-17T10:52:47.916Z] STF 10:52:47.597 - [2024-08-17T10:52:47.916Z] STF 10:52:47.598 - [2024-08-17T10:52:47.916Z] STF 10:52:47.598 - ======================= S E T U P ======================= [2024-08-17T10:52:47.916Z] STF 10:52:47.598 - Running setup: perl /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/../TKG/output_17238917986218/PatModImg_PlatMod_1/20240817-105245-PatModImgTest/setUp.pl [2024-08-17T10:52:47.916Z] STF 10:52:47.684 - SETUP stage completed [2024-08-17T10:52:47.916Z] STF 10:52:47.686 - [2024-08-17T10:52:47.916Z] STF 10:52:47.687 - ==================== E X E C U T E - ==================== [2024-08-17T10:52:47.916Z] STF 10:52:47.687 - Running execute: perl /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/../TKG/output_17238917986218/PatModImg_PlatMod_1/20240817-105245-PatModImgTest/execute.pl [2024-08-17T10:52:47.916Z] STF 10:52:47.774 - [2024-08-17T10:52:47.916Z] STF 10:52:47.774 - Java version [2024-08-17T10:52:47.916Z] STF 10:52:47.774 - Running: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_2/jdkbinary/j2sdk-image/bin/java -version [2024-08-17T10:52:48.721Z] openjdk version "17.0.13-beta" 2024-10-15 [2024-08-17T10:52:48.722Z] OpenJDK Runtime Environment Temurin-17.0.13+3-202408161610 (build 17.0.13-beta+3-ea) [2024-08-17T10:52:48.722Z] OpenJDK 64-Bit Server VM Temurin-17.0.13+3-202408161610 (build 17.0.13-beta+3-ea, mixed mode, sharing) [2024-08-17T10:52:48.722Z] STF 10:52:47.850 - [2024-08-17T10:52:48.722Z] STF 10:52:47.850 - +------ Step 1 - Create com.hello jar [2024-08-17T10:52:48.722Z] STF 10:52:47.850 - | Create modular jar [2024-08-17T10:52:48.722Z] STF 10:52:47.850 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2024-08-17T10:52:48.722Z] STF 10:52:47.850 - | ModuleVersion: null [2024-08-17T10:52:48.722Z] STF 10:52:47.850 - | MainClass: null [2024-08-17T10:52:48.722Z] STF 10:52:47.850 - | HashModules: null [2024-08-17T10:52:48.722Z] STF 10:52:47.850 - | [2024-08-17T10:52:48.722Z] STF 10:52:47.851 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17238917986218/PatModImg_PlatMod_1/20240817-105245-PatModImgTest/modules/1.com.hello.jar -C /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello . [2024-08-17T10:52:48.722Z] STF 10:52:47.851 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17238917986218/PatModImg_PlatMod_1/20240817-105245-PatModImgTest/results/1.CMJ.stderr [2024-08-17T10:52:48.722Z] STF 10:52:47.851 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17238917986218/PatModImg_PlatMod_1/20240817-105245-PatModImgTest/results/1.CMJ.stdout [2024-08-17T10:52:48.722Z] STF 10:52:47.874 - Monitoring processes: CMJ [2024-08-17T10:52:48.722Z] STF 10:52:48.205 - Monitoring Report Summary: [2024-08-17T10:52:48.722Z] STF 10:52:48.205 - o Process CMJ ended with the expected exit code (0) [2024-08-17T10:52:48.722Z] STF 10:52:48.205 - Created modular jar: 1.com.hello.jar [2024-08-17T10:52:48.722Z] STF 10:52:48.205 - [2024-08-17T10:52:48.722Z] STF 10:52:48.205 - +------ Step 2 - Create com.hola jar [2024-08-17T10:52:48.722Z] STF 10:52:48.205 - | Create modular jar [2024-08-17T10:52:48.722Z] STF 10:52:48.205 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2024-08-17T10:52:48.722Z] STF 10:52:48.205 - | ModuleVersion: null [2024-08-17T10:52:48.722Z] STF 10:52:48.205 - | MainClass: null [2024-08-17T10:52:48.722Z] STF 10:52:48.205 - | HashModules: null [2024-08-17T10:52:48.722Z] STF 10:52:48.205 - | [2024-08-17T10:52:48.722Z] STF 10:52:48.205 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17238917986218/PatModImg_PlatMod_1/20240817-105245-PatModImgTest/modules/2.com.hola.jar -C /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola . [2024-08-17T10:52:48.722Z] STF 10:52:48.205 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17238917986218/PatModImg_PlatMod_1/20240817-105245-PatModImgTest/results/2.CMJ.stderr [2024-08-17T10:52:48.722Z] STF 10:52:48.205 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17238917986218/PatModImg_PlatMod_1/20240817-105245-PatModImgTest/results/2.CMJ.stdout [2024-08-17T10:52:48.722Z] STF 10:52:48.207 - Monitoring processes: CMJ [2024-08-17T10:52:48.722Z] STF 10:52:48.534 - Monitoring Report Summary: [2024-08-17T10:52:48.722Z] STF 10:52:48.534 - o Process CMJ ended with the expected exit code (0) [2024-08-17T10:52:48.722Z] STF 10:52:48.535 - Created modular jar: 2.com.hola.jar [2024-08-17T10:52:48.722Z] STF 10:52:48.535 - [2024-08-17T10:52:48.722Z] STF 10:52:48.535 - +------ Step 3 - Create com.helper jar [2024-08-17T10:52:48.722Z] STF 10:52:48.535 - | Create modular jar [2024-08-17T10:52:48.722Z] STF 10:52:48.535 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2024-08-17T10:52:48.722Z] STF 10:52:48.535 - | ModuleVersion: null [2024-08-17T10:52:48.722Z] STF 10:52:48.535 - | MainClass: null [2024-08-17T10:52:48.722Z] STF 10:52:48.535 - | HashModules: null [2024-08-17T10:52:48.722Z] STF 10:52:48.535 - | [2024-08-17T10:52:48.722Z] STF 10:52:48.535 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17238917986218/PatModImg_PlatMod_1/20240817-105245-PatModImgTest/modules/3.com.helper.jar -C /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper . [2024-08-17T10:52:48.722Z] STF 10:52:48.535 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17238917986218/PatModImg_PlatMod_1/20240817-105245-PatModImgTest/results/3.CMJ.stderr [2024-08-17T10:52:48.722Z] STF 10:52:48.535 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17238917986218/PatModImg_PlatMod_1/20240817-105245-PatModImgTest/results/3.CMJ.stdout [2024-08-17T10:52:48.722Z] STF 10:52:48.537 - Monitoring processes: CMJ [2024-08-17T10:52:49.529Z] STF 10:52:48.865 - Monitoring Report Summary: [2024-08-17T10:52:49.529Z] STF 10:52:48.865 - o Process CMJ ended with the expected exit code (0) [2024-08-17T10:52:49.529Z] STF 10:52:48.865 - Created modular jar: 3.com.helper.jar [2024-08-17T10:52:49.529Z] STF 10:52:48.865 - [2024-08-17T10:52:49.529Z] STF 10:52:48.865 - +------ Step 4 - Create com.discreet jar [2024-08-17T10:52:49.529Z] STF 10:52:48.865 - | Create modular jar [2024-08-17T10:52:49.529Z] STF 10:52:48.865 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2024-08-17T10:52:49.529Z] STF 10:52:48.865 - | ModuleVersion: null [2024-08-17T10:52:49.529Z] STF 10:52:48.865 - | MainClass: null [2024-08-17T10:52:49.529Z] STF 10:52:48.865 - | HashModules: null [2024-08-17T10:52:49.529Z] STF 10:52:48.865 - | [2024-08-17T10:52:49.529Z] STF 10:52:48.866 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17238917986218/PatModImg_PlatMod_1/20240817-105245-PatModImgTest/modules/4.com.discreet.jar -C /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet . [2024-08-17T10:52:49.529Z] STF 10:52:48.866 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17238917986218/PatModImg_PlatMod_1/20240817-105245-PatModImgTest/results/4.CMJ.stderr [2024-08-17T10:52:49.529Z] STF 10:52:48.866 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17238917986218/PatModImg_PlatMod_1/20240817-105245-PatModImgTest/results/4.CMJ.stdout [2024-08-17T10:52:49.529Z] STF 10:52:48.867 - Monitoring processes: CMJ [2024-08-17T10:52:49.529Z] STF 10:52:49.157 - Monitoring Report Summary: [2024-08-17T10:52:49.529Z] STF 10:52:49.157 - o Process CMJ ended with the expected exit code (0) [2024-08-17T10:52:49.529Z] STF 10:52:49.158 - Created modular jar: 4.com.discreet.jar [2024-08-17T10:52:49.529Z] STF 10:52:49.158 - [2024-08-17T10:52:49.529Z] STF 10:52:49.158 - +------ Step 5 - Create tests jar [2024-08-17T10:52:49.529Z] STF 10:52:49.158 - | Create modular jar [2024-08-17T10:52:49.529Z] STF 10:52:49.158 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2024-08-17T10:52:49.529Z] STF 10:52:49.158 - | ModuleVersion: null [2024-08-17T10:52:49.529Z] STF 10:52:49.158 - | MainClass: null [2024-08-17T10:52:49.529Z] STF 10:52:49.158 - | HashModules: null [2024-08-17T10:52:49.529Z] STF 10:52:49.158 - | [2024-08-17T10:52:49.529Z] STF 10:52:49.158 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17238917986218/PatModImg_PlatMod_1/20240817-105245-PatModImgTest/modules/5.com.test.jar -C /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test . [2024-08-17T10:52:49.529Z] STF 10:52:49.158 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17238917986218/PatModImg_PlatMod_1/20240817-105245-PatModImgTest/results/5.CMJ.stderr [2024-08-17T10:52:49.529Z] STF 10:52:49.158 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17238917986218/PatModImg_PlatMod_1/20240817-105245-PatModImgTest/results/5.CMJ.stdout [2024-08-17T10:52:49.529Z] STF 10:52:49.164 - Monitoring processes: CMJ [2024-08-17T10:52:50.334Z] STF 10:52:49.448 - Monitoring Report Summary: [2024-08-17T10:52:50.334Z] STF 10:52:49.448 - o Process CMJ ended with the expected exit code (0) [2024-08-17T10:52:50.334Z] STF 10:52:49.448 - Created modular jar: 5.com.test.jar [2024-08-17T10:52:50.334Z] STF 10:52:49.449 - [2024-08-17T10:52:50.334Z] STF 10:52:49.449 - +------ Step 6 - Create runtime image for PatchModule test [2024-08-17T10:52:50.334Z] STF 10:52:49.449 - | Run jlink to create runtime image [2024-08-17T10:52:50.334Z] STF 10:52:49.449 - | ImageName: XpJVM [2024-08-17T10:52:50.334Z] STF 10:52:49.449 - | [2024-08-17T10:52:50.334Z] STF 10:52:49.449 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_2/jdkbinary/j2sdk-image/bin/jlink --module-path /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_2/jdkbinary/j2sdk-image/jmods:/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17238917986218/PatModImg_PlatMod_1/20240817-105245-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_alpine-linux_testList_2/aqa-tests/TKG/output_17238917986218/PatModImg_PlatMod_1/20240817-105245-PatModImgTest/tmp/6.XpJVM [2024-08-17T10:52:50.334Z] STF 10:52:49.449 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17238917986218/PatModImg_PlatMod_1/20240817-105245-PatModImgTest/results/6.JLNK.stderr [2024-08-17T10:52:50.334Z] STF 10:52:49.449 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17238917986218/PatModImg_PlatMod_1/20240817-105245-PatModImgTest/results/6.JLNK.stdout [2024-08-17T10:52:50.334Z] STF 10:52:49.451 - Monitoring processes: JLNK [2024-08-17T10:52:53.910Z] STF 10:52:53.158 - Monitoring Report Summary: [2024-08-17T10:52:53.910Z] STF 10:52:53.158 - o Process JLNK ended with the expected exit code (0) [2024-08-17T10:52:53.910Z] STF 10:52:53.158 - [2024-08-17T10:52:53.910Z] STF 10:52:53.158 - +------ Step 7 - Create com.hello jar [2024-08-17T10:52:53.910Z] STF 10:52:53.158 - | Create modular jar [2024-08-17T10:52:53.910Z] STF 10:52:53.158 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2024-08-17T10:52:53.910Z] STF 10:52:53.158 - | ModuleVersion: null [2024-08-17T10:52:53.910Z] STF 10:52:53.158 - | MainClass: null [2024-08-17T10:52:53.910Z] STF 10:52:53.158 - | HashModules: null [2024-08-17T10:52:53.910Z] STF 10:52:53.158 - | [2024-08-17T10:52:53.910Z] STF 10:52:53.158 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17238917986218/PatModImg_PlatMod_1/20240817-105245-PatModImgTest/modules/7.com.hello.jar -C /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello . [2024-08-17T10:52:53.910Z] STF 10:52:53.159 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17238917986218/PatModImg_PlatMod_1/20240817-105245-PatModImgTest/results/7.CMJ.stderr [2024-08-17T10:52:53.910Z] STF 10:52:53.159 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17238917986218/PatModImg_PlatMod_1/20240817-105245-PatModImgTest/results/7.CMJ.stdout [2024-08-17T10:52:53.910Z] STF 10:52:53.160 - Monitoring processes: CMJ [2024-08-17T10:52:53.910Z] STF 10:52:53.472 - Monitoring Report Summary: [2024-08-17T10:52:53.910Z] STF 10:52:53.472 - o Process CMJ ended with the expected exit code (0) [2024-08-17T10:52:53.910Z] STF 10:52:53.472 - Created modular jar: 7.com.hello.jar [2024-08-17T10:52:53.910Z] STF 10:52:53.472 - [2024-08-17T10:52:53.910Z] STF 10:52:53.472 - +------ Step 8 - create java.xml.jar [2024-08-17T10:52:53.910Z] STF 10:52:53.472 - | Create modular jar [2024-08-17T10:52:53.910Z] STF 10:52:53.472 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml [2024-08-17T10:52:53.910Z] STF 10:52:53.472 - | ModuleVersion: null [2024-08-17T10:52:53.910Z] STF 10:52:53.472 - | MainClass: null [2024-08-17T10:52:53.910Z] STF 10:52:53.472 - | HashModules: null [2024-08-17T10:52:53.910Z] STF 10:52:53.472 - | [2024-08-17T10:52:53.910Z] STF 10:52:53.473 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17238917986218/PatModImg_PlatMod_1/20240817-105245-PatModImgTest/modules/8.java.xml.jar -C /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/java.xml . [2024-08-17T10:52:53.910Z] STF 10:52:53.473 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17238917986218/PatModImg_PlatMod_1/20240817-105245-PatModImgTest/results/8.CMJ.stderr [2024-08-17T10:52:53.910Z] STF 10:52:53.473 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17238917986218/PatModImg_PlatMod_1/20240817-105245-PatModImgTest/results/8.CMJ.stdout [2024-08-17T10:52:53.910Z] STF 10:52:53.474 - Monitoring processes: CMJ [2024-08-17T10:52:53.910Z] STF 10:52:53.767 - Monitoring Report Summary: [2024-08-17T10:52:53.910Z] STF 10:52:53.767 - o Process CMJ ended with the expected exit code (0) [2024-08-17T10:52:53.910Z] STF 10:52:53.768 - Created modular jar: 8.java.xml.jar [2024-08-17T10:52:53.910Z] STF 10:52:53.768 - [2024-08-17T10:52:53.910Z] STF 10:52:53.768 - +------ Step 9 - Verify if we can patch an upgradable platform module using exploded directory [2024-08-17T10:52:53.910Z] STF 10:52:53.768 - | Run foreground process [2024-08-17T10:52:53.910Z] STF 10:52:53.768 - | Program: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17238917986218/PatModImg_PlatMod_1/20240817-105245-PatModImgTest/tmp/6.XpJVM/bin/java [2024-08-17T10:52:53.910Z] STF 10:52:53.768 - | Mnemonic: OT11 [2024-08-17T10:52:53.910Z] STF 10:52:53.768 - | Echo: ECHO_ON [2024-08-17T10:52:53.910Z] STF 10:52:53.768 - | Expectation: CLEAN_RUN within 5m [2024-08-17T10:52:53.910Z] STF 10:52:53.768 - | [2024-08-17T10:52:53.910Z] STF 10:52:53.768 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17238917986218/PatModImg_PlatMod_1/20240817-105245-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_alpine-linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/java.xml -XX:-UseCompressedOops -classpath /home/jenkins/testDependency/system_lib/junit/junit.jar:/home/jenkins/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingUpgradablePlatformModule [2024-08-17T10:52:53.910Z] STF 10:52:53.768 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17238917986218/PatModImg_PlatMod_1/20240817-105245-PatModImgTest/results/9.OT11.stderr [2024-08-17T10:52:53.910Z] STF 10:52:53.768 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17238917986218/PatModImg_PlatMod_1/20240817-105245-PatModImgTest/results/9.OT11.stdout [2024-08-17T10:52:53.910Z] STF 10:52:53.770 - Monitoring processes: OT11 [2024-08-17T10:52:54.716Z] OT11 stderr WARNING: module-info.class ignored in patch: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/java.xml [2024-08-17T10:52:54.716Z] OT11 JUnit version 4.12 [2024-08-17T10:52:54.716Z] OT11 . [2024-08-17T10:52:54.716Z] OT11 Time: 0.006 [2024-08-17T10:52:54.716Z] OT11 [2024-08-17T10:52:54.716Z] OT11 OK (1 test) [2024-08-17T10:52:54.716Z] OT11 [2024-08-17T10:52:54.716Z] STF 10:52:54.282 - Monitoring Report Summary: [2024-08-17T10:52:54.716Z] STF 10:52:54.282 - o Process OT11 ended with the expected exit code (0) [2024-08-17T10:52:54.716Z] STF 10:52:54.282 - [2024-08-17T10:52:54.716Z] STF 10:52:54.282 - +------ Step 10 - Verify if we can patch an upgradable platform module using modular jar [2024-08-17T10:52:54.716Z] STF 10:52:54.282 - | Run foreground process [2024-08-17T10:52:54.716Z] STF 10:52:54.282 - | Program: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17238917986218/PatModImg_PlatMod_1/20240817-105245-PatModImgTest/tmp/6.XpJVM/bin/java [2024-08-17T10:52:54.716Z] STF 10:52:54.282 - | Mnemonic: OT12 [2024-08-17T10:52:54.716Z] STF 10:52:54.282 - | Echo: ECHO_ON [2024-08-17T10:52:54.716Z] STF 10:52:54.282 - | Expectation: CLEAN_RUN within 5m [2024-08-17T10:52:54.716Z] STF 10:52:54.282 - | [2024-08-17T10:52:54.717Z] STF 10:52:54.283 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17238917986218/PatModImg_PlatMod_1/20240817-105245-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_alpine-linux_testList_2/aqa-tests/TKG/output_17238917986218/PatModImg_PlatMod_1/20240817-105245-PatModImgTest/modules/8.java.xml.jar -XX:-UseCompressedOops -classpath /home/jenkins/testDependency/system_lib/junit/junit.jar:/home/jenkins/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingUpgradablePlatformModule [2024-08-17T10:52:54.717Z] STF 10:52:54.283 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17238917986218/PatModImg_PlatMod_1/20240817-105245-PatModImgTest/results/10.OT12.stderr [2024-08-17T10:52:54.717Z] STF 10:52:54.283 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17238917986218/PatModImg_PlatMod_1/20240817-105245-PatModImgTest/results/10.OT12.stdout [2024-08-17T10:52:54.717Z] STF 10:52:54.284 - Monitoring processes: OT12 [2024-08-17T10:52:54.717Z] OT12 stderr WARNING: module-info.class ignored in patch: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/output_17238917986218/PatModImg_PlatMod_1/20240817-105245-PatModImgTest/modules/8.java.xml.jar [2024-08-17T10:52:54.717Z] OT12 JUnit version 4.12 [2024-08-17T10:52:55.518Z] OT12 . [2024-08-17T10:52:55.518Z] OT12 Time: 0.007 [2024-08-17T10:52:55.518Z] OT12 [2024-08-17T10:52:55.518Z] OT12 OK (1 test) [2024-08-17T10:52:55.518Z] OT12 [2024-08-17T10:52:55.518Z] STF 10:52:54.804 - Monitoring Report Summary: [2024-08-17T10:52:55.518Z] STF 10:52:54.804 - o Process OT12 ended with the expected exit code (0) [2024-08-17T10:52:55.518Z] STF 10:52:54.804 - EXECUTE stage completed [2024-08-17T10:52:55.518Z] STF 10:52:54.813 - [2024-08-17T10:52:55.518Z] STF 10:52:54.816 - ==================== T E A R D O W N ==================== [2024-08-17T10:52:55.518Z] STF 10:52:54.816 - Running teardown: perl /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_2/aqa-tests/TKG/../TKG/output_17238917986218/PatModImg_PlatMod_1/20240817-105245-PatModImgTest/tearDown.pl [2024-08-17T10:52:55.518Z] STF 10:52:54.903 - TEARDOWN stage completed [2024-08-17T10:52:55.519Z] STF 10:52:54.909 - [2024-08-17T10:52:55.519Z] STF 10:52:54.909 - ===================== R E S U L T S ===================== [2024-08-17T10:52:55.519Z] STF 10:52:54.909 - Stage results: [2024-08-17T10:52:55.519Z] STF 10:52:54.909 - setUp: pass [2024-08-17T10:52:55.519Z] STF 10:52:54.909 - execute: pass [2024-08-17T10:52:55.519Z] STF 10:52:54.909 - teardown: pass [2024-08-17T10:52:55.519Z] STF 10:52:54.909 - [2024-08-17T10:52:55.519Z] STF 10:52:54.909 - Overall result: PASSED [2024-08-17T10:52:55.519Z] ----------------------------------- [2024-08-17T10:52:55.519Z] PatModImg_PlatMod_1_PASSED [2024-08-17T10:52:55.519Z] ----------------------------------- [2024-08-17T10:52:55.519Z] [2024-08-17T10:52:55.519Z] TEST TEARDOWN: [2024-08-17T10:52:55.519Z] Nothing to be done for teardown. [2024-08-17T10:52:55.519Z] PatModImg_PlatMod_1 Finish Time: Sat Aug 17 10:52:55 2024 Epoch Time (ms): 1723891975088