PatModImg_PlatMod_2

[2024-08-21T23:45:49.149Z] Running test PatModImg_PlatMod_2 ... [2024-08-21T23:45:49.149Z] =============================================== [2024-08-21T23:45:49.149Z] PatModImg_PlatMod_2 Start Time: Wed Aug 21 23:45:48 2024 Epoch Time (ms): 1724283948649 [2024-08-21T23:45:49.149Z] variation: Mode1000 [2024-08-21T23:45:49.149Z] JVM_OPTIONS: [2024-08-21T23:45:49.149Z] { \ [2024-08-21T23:45:49.149Z] echo ""; echo "TEST SETUP:"; \ [2024-08-21T23:45:49.149Z] echo "Nothing to be done for setup."; \ [2024-08-21T23:45:49.149Z] mkdir -p "/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/../TKG/output_17242744091264/PatModImg_PlatMod_2"; \ [2024-08-21T23:45:49.149Z] cd "/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/../TKG/output_17242744091264/PatModImg_PlatMod_2"; \ [2024-08-21T23:45:49.149Z] echo ""; echo "TESTING:"; \ [2024-08-21T23:45:49.149Z] perl /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF/stf.core/scripts/stf.pl -test-root="/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF;/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/../../jvmtest/system/modularity/..//aqa-systemtest""" -systemtest-prereqs="/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/../../testDependency/system_lib/" -java-args=' ' -results-root="/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/../TKG/output_17242744091264/PatModImg_PlatMod_2" -test=PatModImgTest -test-args="variant=PlatMod"; \ [2024-08-21T23:45:49.149Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatModImg_PlatMod_2""_PASSED"; echo "-----------------------------------"; cd /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/..; rm -f -r "/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/../TKG/output_17242744091264/PatModImg_PlatMod_2"; else echo "-----------------------------------"; echo "PatModImg_PlatMod_2""_FAILED"; echo "-----------------------------------"; fi; \ [2024-08-21T23:45:49.149Z] echo ""; echo "TEST TEARDOWN:"; \ [2024-08-21T23:45:49.149Z] echo "Nothing to be done for teardown."; \ [2024-08-21T23:45:49.149Z] } 2>&1 | tee -a "/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/../TKG/output_17242744091264/TestTargetResult"; [2024-08-21T23:45:49.149Z] [2024-08-21T23:45:49.149Z] TEST SETUP: [2024-08-21T23:45:49.149Z] Nothing to be done for setup. [2024-08-21T23:45:49.149Z] [2024-08-21T23:45:49.149Z] TESTING: [2024-08-21T23:45:49.996Z] STF 23:45:49.348 - ========================= S T F ========================= [2024-08-21T23:45:49.996Z] 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_arm_linux/aqa-tests/TKG/../TKG/output_17242744091264/PatModImg_PlatMod_2 [2024-08-21T23:45:49.996Z] There is 165820 Mb free [2024-08-21T23:45:49.996Z] STF 23:45:49.396 - ================== G E N E R A T I O N ================== [2024-08-21T23:45:49.996Z] STF 23:45:49.397 - Checking JVM: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jdkbinary/j2sdk-image [2024-08-21T23:45:49.996Z] STF 23:45:49.397 - Starting process to generate scripts: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/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_arm_linux/../../testDependency/system_lib//log4j/log4j-api.jar:/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/../../testDependency/system_lib//log4j/log4j-core.jar:/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/../TKG/output_17242744091264/PatModImg_PlatMod_2/20240821-234549-PatModImgTest/stf_parameters.properties, , /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/../TKG/output_17242744091264/PatModImg_PlatMod_2/20240821-234549-PatModImgTest" [2024-08-21T23:45:49.996Z] GEN stderr OpenJDK 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-21T23:45:58.661Z] GEN 23:45:58.097 - Found test. Project: 'openjdk.test.modularity' class: 'PatModImgTest.class' Dir: '/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin' [2024-08-21T23:45:58.661Z] GEN 23:45:58.277 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModImgTest' [2024-08-21T23:46:00.378Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2024-08-21T23:46:00.378Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayService [2024-08-21T23:46:00.378Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper [2024-08-21T23:46:00.378Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl1 [2024-08-21T23:46:00.378Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet [2024-08-21T23:46:00.378Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello [2024-08-21T23:46:00.378Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola [2024-08-21T23:46:00.378Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl2 [2024-08-21T23:46:00.378Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hi [2024-08-21T23:46:00.378Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override [2024-08-21T23:46:00.378Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override-new [2024-08-21T23:46:00.378Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl3 [2024-08-21T23:46:00.378Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl4 [2024-08-21T23:46:00.378Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common [2024-08-21T23:46:00.378Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests [2024-08-21T23:46:00.378Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin [2024-08-21T23:46:00.378Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jvmtest/system/STF/stf.core/bin [2024-08-21T23:46:00.378Z] GEN /home/jenkins/testDependency/system_lib/log4j/log4j-api.jar [2024-08-21T23:46:00.378Z] GEN /home/jenkins/testDependency/system_lib/log4j/log4j-core.jar [2024-08-21T23:46:00.378Z] GEN /home/jenkins/testDependency/system_lib/junit/junit.jar [2024-08-21T23:46:01.174Z] GEN 23:46:00.341 - Using Mode NoOptions. Values = '' [2024-08-21T23:46:02.067Z] GEN 23:46:01.349 - [2024-08-21T23:46:02.067Z] GEN 23:46:01.376 - Test command summary: [2024-08-21T23:46:02.067Z] GEN 23:46:01.377 - Step Stage Command Description [2024-08-21T23:46:02.067Z] GEN 23:46:01.377 - -----+--------+-----------------+------------ [2024-08-21T23:46:02.067Z] GEN 23:46:01.377 - 1 execute jar Create com.hello jar [2024-08-21T23:46:02.067Z] GEN 23:46:01.377 - 2 execute jar Create com.hola jar [2024-08-21T23:46:02.067Z] GEN 23:46:01.377 - 3 execute jar Create com.helper jar [2024-08-21T23:46:02.067Z] GEN 23:46:01.377 - 4 execute jar Create com.discreet jar [2024-08-21T23:46:02.067Z] GEN 23:46:01.400 - 5 execute jar Create tests jar [2024-08-21T23:46:02.067Z] GEN 23:46:01.400 - 6 execute jlink Create runtime image for PatchModule test [2024-08-21T23:46:02.067Z] GEN 23:46:01.400 - 7 execute jar Create com.hello jar [2024-08-21T23:46:02.067Z] GEN 23:46:01.400 - 8 execute jar create java.xml.jar [2024-08-21T23:46:02.067Z] GEN 23:46:01.400 - 9 execute Run java Verify if we can patch an upgradable platform module using exploded directory [2024-08-21T23:46:02.067Z] GEN 23:46:01.400 - 10 execute Run java Verify if we can patch an upgradable platform module using modular jar [2024-08-21T23:46:02.067Z] STF 23:46:01.779 - [2024-08-21T23:46:02.067Z] STF 23:46:01.780 - Script generation completed [2024-08-21T23:46:02.067Z] STF 23:46:01.782 - [2024-08-21T23:46:02.067Z] STF 23:46:01.785 - [2024-08-21T23:46:02.067Z] STF 23:46:01.785 - ======================= S E T U P ======================= [2024-08-21T23:46:02.067Z] STF 23:46:01.785 - Running setup: perl /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/../TKG/output_17242744091264/PatModImg_PlatMod_2/20240821-234549-PatModImgTest/setUp.pl [2024-08-21T23:46:03.154Z] STF 23:46:02.216 - SETUP stage completed [2024-08-21T23:46:03.154Z] STF 23:46:02.236 - [2024-08-21T23:46:03.154Z] STF 23:46:02.239 - ==================== E X E C U T E - ==================== [2024-08-21T23:46:03.154Z] STF 23:46:02.241 - Running execute: perl /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/../TKG/output_17242744091264/PatModImg_PlatMod_2/20240821-234549-PatModImgTest/execute.pl [2024-08-21T23:46:03.154Z] STF 23:46:02.773 - [2024-08-21T23:46:03.154Z] STF 23:46:02.775 - Java version [2024-08-21T23:46:03.154Z] STF 23:46:02.776 - Running: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jdkbinary/j2sdk-image/bin/java -version [2024-08-21T23:46:04.080Z] openjdk version "17.0.13-beta" 2024-10-15 [2024-08-21T23:46:04.080Z] OpenJDK Runtime Environment Temurin-17.0.13+4-202408211935 (build 17.0.13-beta+4-ea) [2024-08-21T23:46:04.080Z] OpenJDK Server VM Temurin-17.0.13+4-202408211935 (build 17.0.13-beta+4-ea, mixed mode, sharing) [2024-08-21T23:46:04.080Z] STF 23:46:03.592 - [2024-08-21T23:46:04.080Z] STF 23:46:03.592 - +------ Step 1 - Create com.hello jar [2024-08-21T23:46:04.080Z] STF 23:46:03.592 - | Create modular jar [2024-08-21T23:46:04.080Z] STF 23:46:03.592 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2024-08-21T23:46:04.080Z] STF 23:46:03.592 - | ModuleVersion: null [2024-08-21T23:46:04.080Z] STF 23:46:03.592 - | MainClass: null [2024-08-21T23:46:04.080Z] STF 23:46:03.592 - | HashModules: null [2024-08-21T23:46:04.080Z] STF 23:46:03.592 - | [2024-08-21T23:46:04.080Z] STF 23:46:03.593 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_17242744091264/PatModImg_PlatMod_2/20240821-234549-PatModImgTest/modules/1.com.hello.jar -C /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello . [2024-08-21T23:46:04.080Z] STF 23:46:03.593 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_17242744091264/PatModImg_PlatMod_2/20240821-234549-PatModImgTest/results/1.CMJ.stderr [2024-08-21T23:46:04.080Z] STF 23:46:03.593 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_17242744091264/PatModImg_PlatMod_2/20240821-234549-PatModImgTest/results/1.CMJ.stdout [2024-08-21T23:46:04.080Z] STF 23:46:03.745 - Monitoring processes: CMJ [2024-08-21T23:46:06.801Z] STF 23:46:05.953 - Monitoring Report Summary: [2024-08-21T23:46:06.801Z] STF 23:46:05.953 - o Process CMJ ended with the expected exit code (0) [2024-08-21T23:46:06.801Z] STF 23:46:05.953 - Created modular jar: 1.com.hello.jar [2024-08-21T23:46:06.801Z] STF 23:46:05.953 - [2024-08-21T23:46:06.801Z] STF 23:46:05.953 - +------ Step 2 - Create com.hola jar [2024-08-21T23:46:06.801Z] STF 23:46:05.953 - | Create modular jar [2024-08-21T23:46:06.801Z] STF 23:46:05.953 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2024-08-21T23:46:06.801Z] STF 23:46:05.953 - | ModuleVersion: null [2024-08-21T23:46:06.801Z] STF 23:46:05.953 - | MainClass: null [2024-08-21T23:46:06.801Z] STF 23:46:05.953 - | HashModules: null [2024-08-21T23:46:06.801Z] STF 23:46:05.953 - | [2024-08-21T23:46:06.801Z] STF 23:46:05.954 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_17242744091264/PatModImg_PlatMod_2/20240821-234549-PatModImgTest/modules/2.com.hola.jar -C /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola . [2024-08-21T23:46:06.801Z] STF 23:46:05.954 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_17242744091264/PatModImg_PlatMod_2/20240821-234549-PatModImgTest/results/2.CMJ.stderr [2024-08-21T23:46:06.801Z] STF 23:46:05.954 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_17242744091264/PatModImg_PlatMod_2/20240821-234549-PatModImgTest/results/2.CMJ.stdout [2024-08-21T23:46:06.801Z] STF 23:46:05.975 - Monitoring processes: CMJ [2024-08-21T23:46:08.499Z] STF 23:46:07.962 - Monitoring Report Summary: [2024-08-21T23:46:08.499Z] STF 23:46:07.962 - o Process CMJ ended with the expected exit code (0) [2024-08-21T23:46:08.499Z] STF 23:46:07.962 - Created modular jar: 2.com.hola.jar [2024-08-21T23:46:08.499Z] STF 23:46:07.962 - [2024-08-21T23:46:08.499Z] STF 23:46:07.962 - +------ Step 3 - Create com.helper jar [2024-08-21T23:46:08.499Z] STF 23:46:07.963 - | Create modular jar [2024-08-21T23:46:08.499Z] STF 23:46:07.963 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2024-08-21T23:46:08.499Z] STF 23:46:07.963 - | ModuleVersion: null [2024-08-21T23:46:08.499Z] STF 23:46:07.963 - | MainClass: null [2024-08-21T23:46:08.499Z] STF 23:46:07.963 - | HashModules: null [2024-08-21T23:46:08.499Z] STF 23:46:07.963 - | [2024-08-21T23:46:08.500Z] STF 23:46:07.967 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_17242744091264/PatModImg_PlatMod_2/20240821-234549-PatModImgTest/modules/3.com.helper.jar -C /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper . [2024-08-21T23:46:08.500Z] STF 23:46:07.967 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_17242744091264/PatModImg_PlatMod_2/20240821-234549-PatModImgTest/results/3.CMJ.stderr [2024-08-21T23:46:08.500Z] STF 23:46:07.967 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_17242744091264/PatModImg_PlatMod_2/20240821-234549-PatModImgTest/results/3.CMJ.stdout [2024-08-21T23:46:08.500Z] STF 23:46:07.978 - Monitoring processes: CMJ [2024-08-21T23:46:11.360Z] STF 23:46:10.402 - Monitoring Report Summary: [2024-08-21T23:46:11.360Z] STF 23:46:10.403 - o Process CMJ ended with the expected exit code (0) [2024-08-21T23:46:11.360Z] STF 23:46:10.403 - Created modular jar: 3.com.helper.jar [2024-08-21T23:46:11.360Z] STF 23:46:10.403 - [2024-08-21T23:46:11.360Z] STF 23:46:10.403 - +------ Step 4 - Create com.discreet jar [2024-08-21T23:46:11.360Z] STF 23:46:10.403 - | Create modular jar [2024-08-21T23:46:11.360Z] STF 23:46:10.403 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2024-08-21T23:46:11.360Z] STF 23:46:10.403 - | ModuleVersion: null [2024-08-21T23:46:11.360Z] STF 23:46:10.403 - | MainClass: null [2024-08-21T23:46:11.360Z] STF 23:46:10.403 - | HashModules: null [2024-08-21T23:46:11.360Z] STF 23:46:10.403 - | [2024-08-21T23:46:11.360Z] STF 23:46:10.404 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_17242744091264/PatModImg_PlatMod_2/20240821-234549-PatModImgTest/modules/4.com.discreet.jar -C /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet . [2024-08-21T23:46:11.360Z] STF 23:46:10.404 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_17242744091264/PatModImg_PlatMod_2/20240821-234549-PatModImgTest/results/4.CMJ.stderr [2024-08-21T23:46:11.360Z] STF 23:46:10.404 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_17242744091264/PatModImg_PlatMod_2/20240821-234549-PatModImgTest/results/4.CMJ.stdout [2024-08-21T23:46:11.360Z] STF 23:46:10.439 - Monitoring processes: CMJ [2024-08-21T23:46:12.996Z] STF 23:46:12.499 - Monitoring Report Summary: [2024-08-21T23:46:12.997Z] STF 23:46:12.499 - o Process CMJ ended with the expected exit code (0) [2024-08-21T23:46:12.997Z] STF 23:46:12.499 - Created modular jar: 4.com.discreet.jar [2024-08-21T23:46:12.997Z] STF 23:46:12.499 - [2024-08-21T23:46:12.997Z] STF 23:46:12.499 - +------ Step 5 - Create tests jar [2024-08-21T23:46:12.997Z] STF 23:46:12.499 - | Create modular jar [2024-08-21T23:46:12.997Z] STF 23:46:12.499 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2024-08-21T23:46:12.997Z] STF 23:46:12.499 - | ModuleVersion: null [2024-08-21T23:46:12.997Z] STF 23:46:12.499 - | MainClass: null [2024-08-21T23:46:12.997Z] STF 23:46:12.499 - | HashModules: null [2024-08-21T23:46:12.997Z] STF 23:46:12.499 - | [2024-08-21T23:46:12.997Z] STF 23:46:12.500 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_17242744091264/PatModImg_PlatMod_2/20240821-234549-PatModImgTest/modules/5.com.test.jar -C /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test . [2024-08-21T23:46:12.997Z] STF 23:46:12.500 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_17242744091264/PatModImg_PlatMod_2/20240821-234549-PatModImgTest/results/5.CMJ.stderr [2024-08-21T23:46:12.997Z] STF 23:46:12.500 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_17242744091264/PatModImg_PlatMod_2/20240821-234549-PatModImgTest/results/5.CMJ.stdout [2024-08-21T23:46:12.997Z] STF 23:46:12.524 - Monitoring processes: CMJ [2024-08-21T23:46:15.666Z] STF 23:46:15.000 - Monitoring Report Summary: [2024-08-21T23:46:15.666Z] STF 23:46:15.000 - o Process CMJ ended with the expected exit code (0) [2024-08-21T23:46:15.666Z] STF 23:46:15.001 - Created modular jar: 5.com.test.jar [2024-08-21T23:46:15.666Z] STF 23:46:15.001 - [2024-08-21T23:46:15.666Z] STF 23:46:15.001 - +------ Step 6 - Create runtime image for PatchModule test [2024-08-21T23:46:15.666Z] STF 23:46:15.001 - | Run jlink to create runtime image [2024-08-21T23:46:15.666Z] STF 23:46:15.001 - | ImageName: XpJVM [2024-08-21T23:46:15.666Z] STF 23:46:15.001 - | [2024-08-21T23:46:15.666Z] STF 23:46:15.001 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jdkbinary/j2sdk-image/bin/jlink --module-path /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jdkbinary/j2sdk-image/jmods:/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_17242744091264/PatModImg_PlatMod_2/20240821-234549-PatModImgTest/modules --add-modules com.hello,com.hola,com.test,com.helper,com.discreet --output /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_17242744091264/PatModImg_PlatMod_2/20240821-234549-PatModImgTest/tmp/6.XpJVM [2024-08-21T23:46:15.666Z] STF 23:46:15.001 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_17242744091264/PatModImg_PlatMod_2/20240821-234549-PatModImgTest/results/6.JLNK.stderr [2024-08-21T23:46:15.666Z] STF 23:46:15.001 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_17242744091264/PatModImg_PlatMod_2/20240821-234549-PatModImgTest/results/6.JLNK.stdout [2024-08-21T23:46:15.666Z] STF 23:46:15.031 - Monitoring processes: JLNK [2024-08-21T23:46:46.690Z] STF 23:46:44.635 - Monitoring Report Summary: [2024-08-21T23:46:46.690Z] STF 23:46:44.635 - o Process JLNK ended with the expected exit code (0) [2024-08-21T23:46:46.690Z] STF 23:46:44.635 - [2024-08-21T23:46:46.690Z] STF 23:46:44.635 - +------ Step 7 - Create com.hello jar [2024-08-21T23:46:46.690Z] STF 23:46:44.635 - | Create modular jar [2024-08-21T23:46:46.690Z] STF 23:46:44.635 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2024-08-21T23:46:46.690Z] STF 23:46:44.635 - | ModuleVersion: null [2024-08-21T23:46:46.690Z] STF 23:46:44.635 - | MainClass: null [2024-08-21T23:46:46.690Z] STF 23:46:44.635 - | HashModules: null [2024-08-21T23:46:46.690Z] STF 23:46:44.635 - | [2024-08-21T23:46:46.690Z] STF 23:46:44.635 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_17242744091264/PatModImg_PlatMod_2/20240821-234549-PatModImgTest/modules/7.com.hello.jar -C /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello . [2024-08-21T23:46:46.690Z] STF 23:46:44.635 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_17242744091264/PatModImg_PlatMod_2/20240821-234549-PatModImgTest/results/7.CMJ.stderr [2024-08-21T23:46:46.690Z] STF 23:46:44.635 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_17242744091264/PatModImg_PlatMod_2/20240821-234549-PatModImgTest/results/7.CMJ.stdout [2024-08-21T23:46:46.690Z] STF 23:46:44.663 - Monitoring processes: CMJ [2024-08-21T23:46:47.461Z] STF 23:46:46.876 - Monitoring Report Summary: [2024-08-21T23:46:47.461Z] STF 23:46:46.876 - o Process CMJ ended with the expected exit code (0) [2024-08-21T23:46:47.461Z] STF 23:46:46.877 - Created modular jar: 7.com.hello.jar [2024-08-21T23:46:47.461Z] STF 23:46:46.877 - [2024-08-21T23:46:47.461Z] STF 23:46:46.877 - +------ Step 8 - create java.xml.jar [2024-08-21T23:46:47.461Z] STF 23:46:46.877 - | Create modular jar [2024-08-21T23:46:47.461Z] STF 23:46:46.877 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml [2024-08-21T23:46:47.461Z] STF 23:46:46.877 - | ModuleVersion: null [2024-08-21T23:46:47.461Z] STF 23:46:46.877 - | MainClass: null [2024-08-21T23:46:47.461Z] STF 23:46:46.877 - | HashModules: null [2024-08-21T23:46:47.461Z] STF 23:46:46.877 - | [2024-08-21T23:46:47.461Z] STF 23:46:46.877 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_17242744091264/PatModImg_PlatMod_2/20240821-234549-PatModImgTest/modules/8.java.xml.jar -C /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/java.xml . [2024-08-21T23:46:47.461Z] STF 23:46:46.877 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_17242744091264/PatModImg_PlatMod_2/20240821-234549-PatModImgTest/results/8.CMJ.stderr [2024-08-21T23:46:47.461Z] STF 23:46:46.877 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_17242744091264/PatModImg_PlatMod_2/20240821-234549-PatModImgTest/results/8.CMJ.stdout [2024-08-21T23:46:47.461Z] STF 23:46:46.894 - Monitoring processes: CMJ [2024-08-21T23:46:49.066Z] STF 23:46:48.829 - Monitoring Report Summary: [2024-08-21T23:46:49.066Z] STF 23:46:48.830 - o Process CMJ ended with the expected exit code (0) [2024-08-21T23:46:49.066Z] STF 23:46:48.830 - Created modular jar: 8.java.xml.jar [2024-08-21T23:46:49.066Z] STF 23:46:48.830 - [2024-08-21T23:46:49.066Z] STF 23:46:48.830 - +------ Step 9 - Verify if we can patch an upgradable platform module using exploded directory [2024-08-21T23:46:49.066Z] STF 23:46:48.830 - | Run foreground process [2024-08-21T23:46:49.066Z] STF 23:46:48.830 - | Program: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_17242744091264/PatModImg_PlatMod_2/20240821-234549-PatModImgTest/tmp/6.XpJVM/bin/java [2024-08-21T23:46:49.066Z] STF 23:46:48.834 - | Mnemonic: OT11 [2024-08-21T23:46:49.066Z] STF 23:46:48.834 - | Echo: ECHO_ON [2024-08-21T23:46:49.066Z] STF 23:46:48.834 - | Expectation: CLEAN_RUN within 5m [2024-08-21T23:46:49.066Z] STF 23:46:48.835 - | [2024-08-21T23:46:49.066Z] STF 23:46:48.835 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_17242744091264/PatModImg_PlatMod_2/20240821-234549-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module java.xml=/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/java.xml -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-21T23:46:49.066Z] STF 23:46:48.835 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_17242744091264/PatModImg_PlatMod_2/20240821-234549-PatModImgTest/results/9.OT11.stderr [2024-08-21T23:46:49.066Z] STF 23:46:48.835 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_17242744091264/PatModImg_PlatMod_2/20240821-234549-PatModImgTest/results/9.OT11.stdout [2024-08-21T23:46:49.066Z] STF 23:46:48.861 - Monitoring processes: OT11 [2024-08-21T23:46:50.757Z] OT11 stderr WARNING: module-info.class ignored in patch: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/java.xml [2024-08-21T23:46:51.560Z] OT11 JUnit version 4.12 [2024-08-21T23:46:52.319Z] OT11 . [2024-08-21T23:46:52.319Z] OT11 Time: 0.028 [2024-08-21T23:46:52.319Z] OT11 [2024-08-21T23:46:52.319Z] OT11 OK (1 test) [2024-08-21T23:46:52.319Z] OT11 [2024-08-21T23:46:53.078Z] STF 23:46:51.859 - Monitoring Report Summary: [2024-08-21T23:46:53.078Z] STF 23:46:51.859 - o Process OT11 ended with the expected exit code (0) [2024-08-21T23:46:53.078Z] STF 23:46:51.859 - [2024-08-21T23:46:53.078Z] STF 23:46:51.859 - +------ Step 10 - Verify if we can patch an upgradable platform module using modular jar [2024-08-21T23:46:53.078Z] STF 23:46:51.859 - | Run foreground process [2024-08-21T23:46:53.078Z] STF 23:46:51.859 - | Program: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_17242744091264/PatModImg_PlatMod_2/20240821-234549-PatModImgTest/tmp/6.XpJVM/bin/java [2024-08-21T23:46:53.078Z] STF 23:46:51.859 - | Mnemonic: OT12 [2024-08-21T23:46:53.078Z] STF 23:46:51.859 - | Echo: ECHO_ON [2024-08-21T23:46:53.078Z] STF 23:46:51.859 - | Expectation: CLEAN_RUN within 5m [2024-08-21T23:46:53.078Z] STF 23:46:51.859 - | [2024-08-21T23:46:53.079Z] STF 23:46:51.859 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_17242744091264/PatModImg_PlatMod_2/20240821-234549-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module java.xml=/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_17242744091264/PatModImg_PlatMod_2/20240821-234549-PatModImgTest/modules/8.java.xml.jar -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-21T23:46:53.079Z] STF 23:46:51.859 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_17242744091264/PatModImg_PlatMod_2/20240821-234549-PatModImgTest/results/10.OT12.stderr [2024-08-21T23:46:53.079Z] STF 23:46:51.859 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_17242744091264/PatModImg_PlatMod_2/20240821-234549-PatModImgTest/results/10.OT12.stdout [2024-08-21T23:46:53.079Z] STF 23:46:51.885 - Monitoring processes: OT12 [2024-08-21T23:46:53.840Z] OT12 stderr WARNING: module-info.class ignored in patch: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/output_17242744091264/PatModImg_PlatMod_2/20240821-234549-PatModImgTest/modules/8.java.xml.jar [2024-08-21T23:46:54.609Z] OT12 JUnit version 4.12 [2024-08-21T23:46:55.386Z] OT12 . [2024-08-21T23:46:55.386Z] OT12 Time: 0.038 [2024-08-21T23:46:55.386Z] OT12 [2024-08-21T23:46:56.162Z] OT12 OK (1 test) [2024-08-21T23:46:56.162Z] OT12 [2024-08-21T23:46:56.162Z] STF 23:46:55.076 - Monitoring Report Summary: [2024-08-21T23:46:56.162Z] STF 23:46:55.076 - o Process OT12 ended with the expected exit code (0) [2024-08-21T23:46:56.162Z] STF 23:46:55.077 - EXECUTE stage completed [2024-08-21T23:46:56.162Z] STF 23:46:55.332 - [2024-08-21T23:46:56.162Z] STF 23:46:55.334 - ==================== T E A R D O W N ==================== [2024-08-21T23:46:56.162Z] STF 23:46:55.334 - Running teardown: perl /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_arm_linux/aqa-tests/TKG/../TKG/output_17242744091264/PatModImg_PlatMod_2/20240821-234549-PatModImgTest/tearDown.pl [2024-08-21T23:46:56.162Z] STF 23:46:55.805 - TEARDOWN stage completed [2024-08-21T23:46:56.162Z] STF 23:46:55.814 - [2024-08-21T23:46:56.162Z] STF 23:46:55.814 - ===================== R E S U L T S ===================== [2024-08-21T23:46:56.162Z] STF 23:46:55.814 - Stage results: [2024-08-21T23:46:56.162Z] STF 23:46:55.814 - setUp: pass [2024-08-21T23:46:56.162Z] STF 23:46:55.814 - execute: pass [2024-08-21T23:46:56.162Z] STF 23:46:55.814 - teardown: pass [2024-08-21T23:46:56.162Z] STF 23:46:55.814 - [2024-08-21T23:46:56.162Z] STF 23:46:55.814 - Overall result: PASSED [2024-08-21T23:46:56.162Z] ----------------------------------- [2024-08-21T23:46:56.162Z] PatModImg_PlatMod_2_PASSED [2024-08-21T23:46:56.162Z] ----------------------------------- [2024-08-21T23:46:56.162Z] [2024-08-21T23:46:56.162Z] TEST TEARDOWN: [2024-08-21T23:46:56.162Z] Nothing to be done for teardown. [2024-08-21T23:46:57.000Z] PatModImg_PlatMod_2 Finish Time: Wed Aug 21 23:46:56 2024 Epoch Time (ms): 1724284016133