PatModImg_PlatMod_1

[2024-08-23T21:27:05.090Z] Running test PatModImg_PlatMod_1 ... [2024-08-23T21:27:05.090Z] =============================================== [2024-08-23T21:27:05.090Z] PatModImg_PlatMod_1 Start Time: Fri Aug 23 21:27:04 2024 Epoch Time (ms): 1724448424491 [2024-08-23T21:27:05.090Z] variation: Mode650 [2024-08-23T21:27:05.090Z] JVM_OPTIONS: -XX:-UseCompressedOops [2024-08-23T21:27:05.090Z] { \ [2024-08-23T21:27:05.090Z] echo ""; echo "TEST SETUP:"; \ [2024-08-23T21:27:05.090Z] echo "Nothing to be done for setup."; \ [2024-08-23T21:27:05.090Z] mkdir -p "/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/../TKG/output_17244476749951/PatModImg_PlatMod_1"; \ [2024-08-23T21:27:05.090Z] cd "/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/../TKG/output_17244476749951/PatModImg_PlatMod_1"; \ [2024-08-23T21:27:05.090Z] echo ""; echo "TESTING:"; \ [2024-08-23T21:27:05.090Z] perl /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF/stf.core/scripts/stf.pl -test-root="/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF;/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/../../jvmtest/system/modularity/..//aqa-systemtest""" -systemtest-prereqs="/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/../../testDependency/system_lib/" -java-args=' -XX:-UseCompressedOops ' -results-root="/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/../TKG/output_17244476749951/PatModImg_PlatMod_1" -test=PatModImgTest -test-args="variant=PlatMod"; \ [2024-08-23T21:27:05.090Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatModImg_PlatMod_1""_PASSED"; echo "-----------------------------------"; cd /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/..; rm -f -r "/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/../TKG/output_17244476749951/PatModImg_PlatMod_1"; else echo "-----------------------------------"; echo "PatModImg_PlatMod_1""_FAILED"; echo "-----------------------------------"; fi; \ [2024-08-23T21:27:05.090Z] echo ""; echo "TEST TEARDOWN:"; \ [2024-08-23T21:27:05.090Z] echo "Nothing to be done for teardown."; \ [2024-08-23T21:27:05.090Z] } 2>&1 | tee -a "/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/../TKG/output_17244476749951/TestTargetResult"; [2024-08-23T21:27:05.090Z] [2024-08-23T21:27:05.090Z] TEST SETUP: [2024-08-23T21:27:05.090Z] Nothing to be done for setup. [2024-08-23T21:27:05.090Z] [2024-08-23T21:27:05.090Z] TESTING: [2024-08-23T21:27:05.090Z] STF 21:27:04.902 - ========================= S T F ========================= [2024-08-23T21:27:05.090Z] systemtest-prereqs has been processed, and set to: /home/jenkins/testDependency/system_libRetrieving amount of free space on drive containing /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/../TKG/output_17244476749951/PatModImg_PlatMod_1 [2024-08-23T21:27:05.091Z] There is 99341 Mb free [2024-08-23T21:27:05.091Z] STF 21:27:04.919 - ================== G E N E R A T I O N ================== [2024-08-23T21:27:05.091Z] STF 21:27:04.929 - Checking JVM: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/jdkbinary/j2sdk-image/jdk-11.0.25+4/bin/../ [2024-08-23T21:27:05.091Z] STF 21:27:04.929 - Starting process to generate scripts: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/jdkbinary/j2sdk-image/jdk-11.0.25+4/bin/..//bin/java -Dlog4j.skipJansi=true -Djava.system.class.loader=net.adoptopenjdk.stf.runner.StfClassLoader -classpath /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/../../testDependency/system_lib//log4j/log4j-api.jar:/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/../../testDependency/system_lib//log4j/log4j-core.jar:/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/../TKG/output_17244476749951/PatModImg_PlatMod_1/20240823-212704-PatModImgTest/stf_parameters.properties, , /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/../TKG/output_17244476749951/PatModImg_PlatMod_1/20240823-212704-PatModImgTest" [2024-08-23T21:27:14.904Z] GEN 21:27:13.261 - Found test. Project: 'openjdk.test.modularity' class: 'PatModImgTest.class' Dir: '/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin' [2024-08-23T21:27:14.904Z] GEN 21:27:13.408 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModImgTest' [2024-08-23T21:27:14.904Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2024-08-23T21:27:14.904Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayService [2024-08-23T21:27:14.904Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper [2024-08-23T21:27:14.904Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl1 [2024-08-23T21:27:14.904Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet [2024-08-23T21:27:14.904Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello [2024-08-23T21:27:14.904Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola [2024-08-23T21:27:14.904Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl2 [2024-08-23T21:27:14.904Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hi [2024-08-23T21:27:14.904Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override [2024-08-23T21:27:14.904Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override-new [2024-08-23T21:27:14.904Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl3 [2024-08-23T21:27:14.904Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl4 [2024-08-23T21:27:14.904Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common [2024-08-23T21:27:14.904Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests [2024-08-23T21:27:14.904Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin [2024-08-23T21:27:14.904Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/jvmtest/system/STF/stf.core/bin [2024-08-23T21:27:14.904Z] GEN /home/jenkins/testDependency/system_lib/log4j/log4j-api.jar [2024-08-23T21:27:14.904Z] GEN /home/jenkins/testDependency/system_lib/log4j/log4j-core.jar [2024-08-23T21:27:14.904Z] GEN /home/jenkins/testDependency/system_lib/junit/junit.jar [2024-08-23T21:27:15.697Z] GEN 21:27:15.299 - Using Mode NoOptions. Values = '' [2024-08-23T21:27:17.267Z] GEN 21:27:16.694 - [2024-08-23T21:27:17.267Z] GEN 21:27:16.694 - Test command summary: [2024-08-23T21:27:17.267Z] GEN 21:27:16.723 - Step Stage Command Description [2024-08-23T21:27:17.267Z] GEN 21:27:16.723 - -----+--------+-----------------+------------ [2024-08-23T21:27:17.267Z] GEN 21:27:16.723 - 1 execute jar Create com.hello jar [2024-08-23T21:27:17.267Z] GEN 21:27:16.723 - 2 execute jar Create com.hola jar [2024-08-23T21:27:17.267Z] GEN 21:27:16.723 - 3 execute jar Create com.helper jar [2024-08-23T21:27:17.267Z] GEN 21:27:16.723 - 4 execute jar Create com.discreet jar [2024-08-23T21:27:17.267Z] GEN 21:27:16.723 - 5 execute jar Create tests jar [2024-08-23T21:27:17.267Z] GEN 21:27:16.723 - 6 execute jlink Create runtime image for PatchModule test [2024-08-23T21:27:17.267Z] GEN 21:27:16.723 - 7 execute jar Create com.hello jar [2024-08-23T21:27:17.267Z] GEN 21:27:16.723 - 8 execute jar create java.xml.jar [2024-08-23T21:27:17.267Z] GEN 21:27:16.724 - 9 execute Run java Verify if we can patch an upgradable platform module using exploded directory [2024-08-23T21:27:17.267Z] GEN 21:27:16.724 - 10 execute Run java Verify if we can patch an upgradable platform module using modular jar [2024-08-23T21:27:17.267Z] STF 21:27:17.035 - [2024-08-23T21:27:17.267Z] STF 21:27:17.035 - Script generation completed [2024-08-23T21:27:17.267Z] STF 21:27:17.035 - [2024-08-23T21:27:17.267Z] STF 21:27:17.036 - [2024-08-23T21:27:17.267Z] STF 21:27:17.036 - ======================= S E T U P ======================= [2024-08-23T21:27:17.267Z] STF 21:27:17.036 - Running setup: perl /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/../TKG/output_17244476749951/PatModImg_PlatMod_1/20240823-212704-PatModImgTest/setUp.pl [2024-08-23T21:27:18.005Z] STF 21:27:17.322 - SETUP stage completed [2024-08-23T21:27:18.006Z] STF 21:27:17.339 - [2024-08-23T21:27:18.006Z] STF 21:27:17.339 - ==================== E X E C U T E - ==================== [2024-08-23T21:27:18.006Z] STF 21:27:17.339 - Running execute: perl /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/../TKG/output_17244476749951/PatModImg_PlatMod_1/20240823-212704-PatModImgTest/execute.pl [2024-08-23T21:27:18.006Z] STF 21:27:17.647 - [2024-08-23T21:27:18.006Z] STF 21:27:17.647 - Java version [2024-08-23T21:27:18.006Z] STF 21:27:17.647 - Running: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/jdkbinary/j2sdk-image/jdk-11.0.25+4/bin/java -version [2024-08-23T21:27:18.743Z] openjdk version "11.0.25-beta" 2024-10-15 [2024-08-23T21:27:18.743Z] OpenJDK Runtime Environment Temurin-11.0.25+4-202408232003 (build 11.0.25-beta+4-ea) [2024-08-23T21:27:18.743Z] OpenJDK 64-Bit Server VM Temurin-11.0.25+4-202408232003 (build 11.0.25-beta+4-ea, mixed mode) [2024-08-23T21:27:18.743Z] STF 21:27:18.175 - [2024-08-23T21:27:18.743Z] STF 21:27:18.175 - +------ Step 1 - Create com.hello jar [2024-08-23T21:27:18.743Z] STF 21:27:18.175 - | Create modular jar [2024-08-23T21:27:18.743Z] STF 21:27:18.175 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2024-08-23T21:27:18.743Z] STF 21:27:18.175 - | ModuleVersion: null [2024-08-23T21:27:18.743Z] STF 21:27:18.175 - | MainClass: null [2024-08-23T21:27:18.743Z] STF 21:27:18.175 - | HashModules: null [2024-08-23T21:27:18.743Z] STF 21:27:18.175 - | [2024-08-23T21:27:18.743Z] STF 21:27:18.176 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/jdkbinary/j2sdk-image/jdk-11.0.25+4/bin/jar --create --file /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_17244476749951/PatModImg_PlatMod_1/20240823-212704-PatModImgTest/modules/1.com.hello.jar -C /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello . [2024-08-23T21:27:18.743Z] STF 21:27:18.176 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_17244476749951/PatModImg_PlatMod_1/20240823-212704-PatModImgTest/results/1.CMJ.stderr [2024-08-23T21:27:18.743Z] STF 21:27:18.176 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_17244476749951/PatModImg_PlatMod_1/20240823-212704-PatModImgTest/results/1.CMJ.stdout [2024-08-23T21:27:18.743Z] STF 21:27:18.228 - Monitoring processes: CMJ [2024-08-23T21:27:19.487Z] STF 21:27:19.339 - Monitoring Report Summary: [2024-08-23T21:27:19.487Z] STF 21:27:19.339 - o Process CMJ ended with the expected exit code (0) [2024-08-23T21:27:19.487Z] STF 21:27:19.339 - Created modular jar: 1.com.hello.jar [2024-08-23T21:27:19.487Z] STF 21:27:19.339 - [2024-08-23T21:27:19.487Z] STF 21:27:19.339 - +------ Step 2 - Create com.hola jar [2024-08-23T21:27:19.487Z] STF 21:27:19.339 - | Create modular jar [2024-08-23T21:27:19.487Z] STF 21:27:19.339 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2024-08-23T21:27:19.487Z] STF 21:27:19.339 - | ModuleVersion: null [2024-08-23T21:27:19.487Z] STF 21:27:19.339 - | MainClass: null [2024-08-23T21:27:19.487Z] STF 21:27:19.339 - | HashModules: null [2024-08-23T21:27:19.487Z] STF 21:27:19.339 - | [2024-08-23T21:27:19.487Z] STF 21:27:19.347 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/jdkbinary/j2sdk-image/jdk-11.0.25+4/bin/jar --create --file /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_17244476749951/PatModImg_PlatMod_1/20240823-212704-PatModImgTest/modules/2.com.hola.jar -C /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola . [2024-08-23T21:27:19.487Z] STF 21:27:19.347 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_17244476749951/PatModImg_PlatMod_1/20240823-212704-PatModImgTest/results/2.CMJ.stderr [2024-08-23T21:27:19.487Z] STF 21:27:19.347 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_17244476749951/PatModImg_PlatMod_1/20240823-212704-PatModImgTest/results/2.CMJ.stdout [2024-08-23T21:27:19.487Z] STF 21:27:19.356 - Monitoring processes: CMJ [2024-08-23T21:27:21.013Z] STF 21:27:20.814 - Monitoring Report Summary: [2024-08-23T21:27:21.013Z] STF 21:27:20.814 - o Process CMJ ended with the expected exit code (0) [2024-08-23T21:27:21.013Z] STF 21:27:20.814 - Created modular jar: 2.com.hola.jar [2024-08-23T21:27:21.013Z] STF 21:27:20.814 - [2024-08-23T21:27:21.013Z] STF 21:27:20.814 - +------ Step 3 - Create com.helper jar [2024-08-23T21:27:21.013Z] STF 21:27:20.814 - | Create modular jar [2024-08-23T21:27:21.013Z] STF 21:27:20.815 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2024-08-23T21:27:21.013Z] STF 21:27:20.815 - | ModuleVersion: null [2024-08-23T21:27:21.013Z] STF 21:27:20.815 - | MainClass: null [2024-08-23T21:27:21.013Z] STF 21:27:20.815 - | HashModules: null [2024-08-23T21:27:21.013Z] STF 21:27:20.815 - | [2024-08-23T21:27:21.013Z] STF 21:27:20.815 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/jdkbinary/j2sdk-image/jdk-11.0.25+4/bin/jar --create --file /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_17244476749951/PatModImg_PlatMod_1/20240823-212704-PatModImgTest/modules/3.com.helper.jar -C /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper . [2024-08-23T21:27:21.013Z] STF 21:27:20.815 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_17244476749951/PatModImg_PlatMod_1/20240823-212704-PatModImgTest/results/3.CMJ.stderr [2024-08-23T21:27:21.013Z] STF 21:27:20.816 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_17244476749951/PatModImg_PlatMod_1/20240823-212704-PatModImgTest/results/3.CMJ.stdout [2024-08-23T21:27:21.013Z] STF 21:27:20.817 - Monitoring processes: CMJ [2024-08-23T21:27:22.538Z] STF 21:27:22.131 - Monitoring Report Summary: [2024-08-23T21:27:22.538Z] STF 21:27:22.131 - o Process CMJ ended with the expected exit code (0) [2024-08-23T21:27:22.538Z] STF 21:27:22.131 - Created modular jar: 3.com.helper.jar [2024-08-23T21:27:22.538Z] STF 21:27:22.131 - [2024-08-23T21:27:22.538Z] STF 21:27:22.131 - +------ Step 4 - Create com.discreet jar [2024-08-23T21:27:22.538Z] STF 21:27:22.131 - | Create modular jar [2024-08-23T21:27:22.538Z] STF 21:27:22.131 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2024-08-23T21:27:22.538Z] STF 21:27:22.131 - | ModuleVersion: null [2024-08-23T21:27:22.538Z] STF 21:27:22.131 - | MainClass: null [2024-08-23T21:27:22.538Z] STF 21:27:22.131 - | HashModules: null [2024-08-23T21:27:22.538Z] STF 21:27:22.131 - | [2024-08-23T21:27:22.538Z] STF 21:27:22.132 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/jdkbinary/j2sdk-image/jdk-11.0.25+4/bin/jar --create --file /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_17244476749951/PatModImg_PlatMod_1/20240823-212704-PatModImgTest/modules/4.com.discreet.jar -C /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet . [2024-08-23T21:27:22.538Z] STF 21:27:22.132 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_17244476749951/PatModImg_PlatMod_1/20240823-212704-PatModImgTest/results/4.CMJ.stderr [2024-08-23T21:27:22.538Z] STF 21:27:22.132 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_17244476749951/PatModImg_PlatMod_1/20240823-212704-PatModImgTest/results/4.CMJ.stdout [2024-08-23T21:27:22.538Z] STF 21:27:22.143 - Monitoring processes: CMJ [2024-08-23T21:27:24.075Z] STF 21:27:23.266 - Monitoring Report Summary: [2024-08-23T21:27:24.075Z] STF 21:27:23.266 - o Process CMJ ended with the expected exit code (0) [2024-08-23T21:27:24.075Z] STF 21:27:23.266 - Created modular jar: 4.com.discreet.jar [2024-08-23T21:27:24.075Z] STF 21:27:23.266 - [2024-08-23T21:27:24.075Z] STF 21:27:23.266 - +------ Step 5 - Create tests jar [2024-08-23T21:27:24.075Z] STF 21:27:23.266 - | Create modular jar [2024-08-23T21:27:24.075Z] STF 21:27:23.266 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2024-08-23T21:27:24.075Z] STF 21:27:23.266 - | ModuleVersion: null [2024-08-23T21:27:24.075Z] STF 21:27:23.266 - | MainClass: null [2024-08-23T21:27:24.075Z] STF 21:27:23.266 - | HashModules: null [2024-08-23T21:27:24.075Z] STF 21:27:23.266 - | [2024-08-23T21:27:24.075Z] STF 21:27:23.272 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/jdkbinary/j2sdk-image/jdk-11.0.25+4/bin/jar --create --file /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_17244476749951/PatModImg_PlatMod_1/20240823-212704-PatModImgTest/modules/5.com.test.jar -C /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test . [2024-08-23T21:27:24.075Z] STF 21:27:23.272 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_17244476749951/PatModImg_PlatMod_1/20240823-212704-PatModImgTest/results/5.CMJ.stderr [2024-08-23T21:27:24.076Z] STF 21:27:23.272 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_17244476749951/PatModImg_PlatMod_1/20240823-212704-PatModImgTest/results/5.CMJ.stdout [2024-08-23T21:27:24.076Z] STF 21:27:23.297 - Monitoring processes: CMJ [2024-08-23T21:27:24.834Z] STF 21:27:24.599 - Monitoring Report Summary: [2024-08-23T21:27:24.834Z] STF 21:27:24.599 - o Process CMJ ended with the expected exit code (0) [2024-08-23T21:27:24.834Z] STF 21:27:24.599 - Created modular jar: 5.com.test.jar [2024-08-23T21:27:24.834Z] STF 21:27:24.599 - [2024-08-23T21:27:24.834Z] STF 21:27:24.599 - +------ Step 6 - Create runtime image for PatchModule test [2024-08-23T21:27:24.834Z] STF 21:27:24.599 - | Run jlink to create runtime image [2024-08-23T21:27:24.834Z] STF 21:27:24.599 - | ImageName: XpJVM [2024-08-23T21:27:24.834Z] STF 21:27:24.599 - | [2024-08-23T21:27:24.834Z] STF 21:27:24.601 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/jdkbinary/j2sdk-image/jdk-11.0.25+4/bin/jlink --module-path /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/jdkbinary/j2sdk-image/jdk-11.0.25+4/jmods:/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_17244476749951/PatModImg_PlatMod_1/20240823-212704-PatModImgTest/modules --add-modules com.hello,com.hola,com.test,com.helper,com.discreet --output /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_17244476749951/PatModImg_PlatMod_1/20240823-212704-PatModImgTest/tmp/6.XpJVM [2024-08-23T21:27:24.834Z] STF 21:27:24.601 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_17244476749951/PatModImg_PlatMod_1/20240823-212704-PatModImgTest/results/6.JLNK.stderr [2024-08-23T21:27:24.834Z] STF 21:27:24.601 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_17244476749951/PatModImg_PlatMod_1/20240823-212704-PatModImgTest/results/6.JLNK.stdout [2024-08-23T21:27:24.834Z] STF 21:27:24.606 - Monitoring processes: JLNK [2024-08-23T21:27:43.316Z] STF 21:27:41.305 - Monitoring Report Summary: [2024-08-23T21:27:43.316Z] STF 21:27:41.305 - o Process JLNK ended with the expected exit code (0) [2024-08-23T21:27:43.316Z] STF 21:27:41.305 - [2024-08-23T21:27:43.316Z] STF 21:27:41.305 - +------ Step 7 - Create com.hello jar [2024-08-23T21:27:43.316Z] STF 21:27:41.305 - | Create modular jar [2024-08-23T21:27:43.316Z] STF 21:27:41.305 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2024-08-23T21:27:43.316Z] STF 21:27:41.305 - | ModuleVersion: null [2024-08-23T21:27:43.316Z] STF 21:27:41.305 - | MainClass: null [2024-08-23T21:27:43.316Z] STF 21:27:41.305 - | HashModules: null [2024-08-23T21:27:43.316Z] STF 21:27:41.305 - | [2024-08-23T21:27:43.316Z] STF 21:27:41.305 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/jdkbinary/j2sdk-image/jdk-11.0.25+4/bin/jar --create --file /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_17244476749951/PatModImg_PlatMod_1/20240823-212704-PatModImgTest/modules/7.com.hello.jar -C /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello . [2024-08-23T21:27:43.316Z] STF 21:27:41.305 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_17244476749951/PatModImg_PlatMod_1/20240823-212704-PatModImgTest/results/7.CMJ.stderr [2024-08-23T21:27:43.316Z] STF 21:27:41.305 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_17244476749951/PatModImg_PlatMod_1/20240823-212704-PatModImgTest/results/7.CMJ.stdout [2024-08-23T21:27:43.316Z] STF 21:27:41.307 - Monitoring processes: CMJ [2024-08-23T21:27:43.316Z] STF 21:27:42.356 - Monitoring Report Summary: [2024-08-23T21:27:43.316Z] STF 21:27:42.356 - o Process CMJ ended with the expected exit code (0) [2024-08-23T21:27:43.316Z] STF 21:27:42.356 - Created modular jar: 7.com.hello.jar [2024-08-23T21:27:43.316Z] STF 21:27:42.356 - [2024-08-23T21:27:43.316Z] STF 21:27:42.356 - +------ Step 8 - create java.xml.jar [2024-08-23T21:27:43.316Z] STF 21:27:42.356 - | Create modular jar [2024-08-23T21:27:43.316Z] STF 21:27:42.356 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml [2024-08-23T21:27:43.316Z] STF 21:27:42.356 - | ModuleVersion: null [2024-08-23T21:27:43.316Z] STF 21:27:42.356 - | MainClass: null [2024-08-23T21:27:43.316Z] STF 21:27:42.356 - | HashModules: null [2024-08-23T21:27:43.316Z] STF 21:27:42.356 - | [2024-08-23T21:27:43.316Z] STF 21:27:42.356 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/jdkbinary/j2sdk-image/jdk-11.0.25+4/bin/jar --create --file /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_17244476749951/PatModImg_PlatMod_1/20240823-212704-PatModImgTest/modules/8.java.xml.jar -C /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/java.xml . [2024-08-23T21:27:43.316Z] STF 21:27:42.356 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_17244476749951/PatModImg_PlatMod_1/20240823-212704-PatModImgTest/results/8.CMJ.stderr [2024-08-23T21:27:43.316Z] STF 21:27:42.356 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_17244476749951/PatModImg_PlatMod_1/20240823-212704-PatModImgTest/results/8.CMJ.stdout [2024-08-23T21:27:43.316Z] STF 21:27:42.358 - Monitoring processes: CMJ [2024-08-23T21:27:44.089Z] STF 21:27:43.643 - Monitoring Report Summary: [2024-08-23T21:27:44.090Z] STF 21:27:43.643 - o Process CMJ ended with the expected exit code (0) [2024-08-23T21:27:44.090Z] STF 21:27:43.643 - Created modular jar: 8.java.xml.jar [2024-08-23T21:27:44.090Z] STF 21:27:43.643 - [2024-08-23T21:27:44.090Z] STF 21:27:43.643 - +------ Step 9 - Verify if we can patch an upgradable platform module using exploded directory [2024-08-23T21:27:44.090Z] STF 21:27:43.643 - | Run foreground process [2024-08-23T21:27:44.090Z] STF 21:27:43.643 - | Program: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_17244476749951/PatModImg_PlatMod_1/20240823-212704-PatModImgTest/tmp/6.XpJVM/bin/java [2024-08-23T21:27:44.090Z] STF 21:27:43.643 - | Mnemonic: OT11 [2024-08-23T21:27:44.090Z] STF 21:27:43.643 - | Echo: ECHO_ON [2024-08-23T21:27:44.090Z] STF 21:27:43.643 - | Expectation: CLEAN_RUN within 5m [2024-08-23T21:27:44.090Z] STF 21:27:43.643 - | [2024-08-23T21:27:44.090Z] STF 21:27:43.644 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_17244476749951/PatModImg_PlatMod_1/20240823-212704-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module java.xml=/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_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-23T21:27:44.090Z] STF 21:27:43.644 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_17244476749951/PatModImg_PlatMod_1/20240823-212704-PatModImgTest/results/9.OT11.stderr [2024-08-23T21:27:44.090Z] STF 21:27:43.644 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_17244476749951/PatModImg_PlatMod_1/20240823-212704-PatModImgTest/results/9.OT11.stdout [2024-08-23T21:27:44.090Z] STF 21:27:43.671 - Monitoring processes: OT11 [2024-08-23T21:27:44.831Z] OT11 stderr WARNING: module-info.class ignored in patch: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/java.xml [2024-08-23T21:27:46.047Z] OT11 JUnit version 4.12 [2024-08-23T21:27:46.047Z] OT11 . [2024-08-23T21:27:46.047Z] OT11 Time: 0.016 [2024-08-23T21:27:46.047Z] OT11 [2024-08-23T21:27:46.047Z] OT11 OK (1 test) [2024-08-23T21:27:46.047Z] OT11 [2024-08-23T21:27:46.048Z] STF 21:27:45.230 - Monitoring Report Summary: [2024-08-23T21:27:46.048Z] STF 21:27:45.230 - o Process OT11 ended with the expected exit code (0) [2024-08-23T21:27:46.048Z] STF 21:27:45.231 - [2024-08-23T21:27:46.048Z] STF 21:27:45.231 - +------ Step 10 - Verify if we can patch an upgradable platform module using modular jar [2024-08-23T21:27:46.048Z] STF 21:27:45.231 - | Run foreground process [2024-08-23T21:27:46.048Z] STF 21:27:45.231 - | Program: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_17244476749951/PatModImg_PlatMod_1/20240823-212704-PatModImgTest/tmp/6.XpJVM/bin/java [2024-08-23T21:27:46.048Z] STF 21:27:45.231 - | Mnemonic: OT12 [2024-08-23T21:27:46.048Z] STF 21:27:45.231 - | Echo: ECHO_ON [2024-08-23T21:27:46.048Z] STF 21:27:45.231 - | Expectation: CLEAN_RUN within 5m [2024-08-23T21:27:46.048Z] STF 21:27:45.231 - | [2024-08-23T21:27:46.048Z] STF 21:27:45.235 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_17244476749951/PatModImg_PlatMod_1/20240823-212704-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module java.xml=/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_17244476749951/PatModImg_PlatMod_1/20240823-212704-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-23T21:27:46.048Z] STF 21:27:45.235 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_17244476749951/PatModImg_PlatMod_1/20240823-212704-PatModImgTest/results/10.OT12.stderr [2024-08-23T21:27:46.048Z] STF 21:27:45.235 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_17244476749951/PatModImg_PlatMod_1/20240823-212704-PatModImgTest/results/10.OT12.stdout [2024-08-23T21:27:46.048Z] STF 21:27:45.237 - Monitoring processes: OT12 [2024-08-23T21:27:46.849Z] OT12 stderr WARNING: module-info.class ignored in patch: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_17244476749951/PatModImg_PlatMod_1/20240823-212704-PatModImgTest/modules/8.java.xml.jar [2024-08-23T21:27:46.849Z] OT12 JUnit version 4.12 [2024-08-23T21:27:47.591Z] OT12 . [2024-08-23T21:27:47.591Z] OT12 Time: 0.026 [2024-08-23T21:27:47.591Z] OT12 [2024-08-23T21:27:47.591Z] OT12 OK (1 test) [2024-08-23T21:27:47.591Z] OT12 [2024-08-23T21:27:47.591Z] STF 21:27:46.928 - Monitoring Report Summary: [2024-08-23T21:27:47.591Z] STF 21:27:46.928 - o Process OT12 ended with the expected exit code (0) [2024-08-23T21:27:47.591Z] STF 21:27:46.928 - EXECUTE stage completed [2024-08-23T21:27:47.591Z] STF 21:27:47.090 - [2024-08-23T21:27:47.591Z] STF 21:27:47.092 - ==================== T E A R D O W N ==================== [2024-08-23T21:27:47.591Z] STF 21:27:47.092 - Running teardown: perl /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/../TKG/output_17244476749951/PatModImg_PlatMod_1/20240823-212704-PatModImgTest/tearDown.pl [2024-08-23T21:27:47.591Z] STF 21:27:47.332 - TEARDOWN stage completed [2024-08-23T21:27:47.591Z] STF 21:27:47.353 - [2024-08-23T21:27:47.591Z] STF 21:27:47.353 - ===================== R E S U L T S ===================== [2024-08-23T21:27:47.591Z] STF 21:27:47.353 - Stage results: [2024-08-23T21:27:47.591Z] STF 21:27:47.353 - setUp: pass [2024-08-23T21:27:47.591Z] STF 21:27:47.353 - execute: pass [2024-08-23T21:27:47.591Z] STF 21:27:47.353 - teardown: pass [2024-08-23T21:27:47.591Z] STF 21:27:47.353 - [2024-08-23T21:27:47.591Z] STF 21:27:47.353 - Overall result: PASSED [2024-08-23T21:27:47.591Z] ----------------------------------- [2024-08-23T21:27:47.591Z] PatModImg_PlatMod_1_PASSED [2024-08-23T21:27:47.591Z] ----------------------------------- [2024-08-23T21:27:48.341Z] [2024-08-23T21:27:48.341Z] TEST TEARDOWN: [2024-08-23T21:27:48.341Z] Nothing to be done for teardown. [2024-08-23T21:27:48.341Z] PatModImg_PlatMod_1 Finish Time: Fri Aug 23 21:27:47 2024 Epoch Time (ms): 1724448467640