PatModImg_PlatMod_1

[2025-05-08T22:23:09.698Z] Running test PatModImg_PlatMod_1 ... [2025-05-08T22:23:09.698Z] =============================================== [2025-05-08T22:23:09.698Z] PatModImg_PlatMod_1 Start Time: Thu May 8 22:23:09 2025 Epoch Time (ms): 1746742989399 [2025-05-08T22:23:09.698Z] variation: Mode650 [2025-05-08T22:23:09.698Z] JVM_OPTIONS: -XX:-UseCompressedOops [2025-05-08T22:23:09.698Z] { \ [2025-05-08T22:23:09.698Z] echo ""; echo "TEST SETUP:"; \ [2025-05-08T22:23:09.698Z] echo "Nothing to be done for setup."; \ [2025-05-08T22:23:09.698Z] mkdir -p "/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_1/aqa-tests/TKG/../TKG/output_1746736938459/PatModImg_PlatMod_1"; \ [2025-05-08T22:23:09.698Z] cd "/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_1/aqa-tests/TKG/../TKG/output_1746736938459/PatModImg_PlatMod_1"; \ [2025-05-08T22:23:09.698Z] echo ""; echo "TESTING:"; \ [2025-05-08T22:23:09.698Z] perl /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_1/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_1/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF;/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_1/aqa-tests/TKG/../../jvmtest/system/modularity/..//aqa-systemtest""" -systemtest-prereqs="/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_1/../../testDependency/system_lib/" -java-args=' -XX:-UseCompressedOops ' -results-root="/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_1/aqa-tests/TKG/../TKG/output_1746736938459/PatModImg_PlatMod_1" -test=PatModImgTest -test-args="variant=PlatMod"; \ [2025-05-08T22:23:09.698Z] 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_1/aqa-tests/TKG/..; rm -f -r "/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_1/aqa-tests/TKG/../TKG/output_1746736938459/PatModImg_PlatMod_1"; else echo "-----------------------------------"; echo "PatModImg_PlatMod_1""_FAILED"; echo "-----------------------------------"; fi; \ [2025-05-08T22:23:09.698Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-05-08T22:23:09.698Z] echo "Nothing to be done for teardown."; \ [2025-05-08T22:23:09.698Z] } 2>&1 | tee -a "/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_1/aqa-tests/TKG/../TKG/output_1746736938459/TestTargetResult"; [2025-05-08T22:23:09.698Z] [2025-05-08T22:23:09.698Z] TEST SETUP: [2025-05-08T22:23:09.698Z] Nothing to be done for setup. [2025-05-08T22:23:09.698Z] [2025-05-08T22:23:09.698Z] TESTING: [2025-05-08T22:23:09.698Z] STF 22:23:09.549 - ========================= S T F ========================= [2025-05-08T22:23:09.698Z] 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_1/aqa-tests/TKG/../TKG/output_1746736938459/PatModImg_PlatMod_1 [2025-05-08T22:23:09.698Z] There is 27557 Mb free [2025-05-08T22:23:09.698Z] STF 22:23:09.557 - ================== G E N E R A T I O N ================== [2025-05-08T22:23:09.698Z] STF 22:23:09.558 - Checking JVM: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_1/jdkbinary/j2sdk-image [2025-05-08T22:23:09.698Z] STF 22:23:09.558 - Starting process to generate scripts: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_1/jdkbinary/j2sdk-image/bin/java -Dlog4j.skipJansi=true -Djava.system.class.loader=net.adoptopenjdk.stf.runner.StfClassLoader -Dload.agent.path=/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_1/jvmtest/system/STF/stf.core/scripts/../../stf.load/bin/stf.load.jar -classpath /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_1/../../testDependency/system_lib//asm/asm.jar:/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_1/../../testDependency/system_lib//asm/asm-commons.jar:/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_1/../../testDependency/system_lib//log4j/log4j-api.jar:/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_1/../../testDependency/system_lib//log4j/log4j-core.jar:/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_1/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_1/aqa-tests/TKG/../TKG/output_1746736938459/PatModImg_PlatMod_1/20250508-222309-PatModImgTest/stf_parameters.properties, , /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_1/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_1/aqa-tests/TKG/../TKG/output_1746736938459/PatModImg_PlatMod_1/20250508-222309-PatModImgTest" [2025-05-08T22:23:10.500Z] 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 [2025-05-08T22:23:13.066Z] GEN 22:23:12.124 - Found test. Project: 'openjdk.test.modularity' class: 'PatModImgTest.class' Dir: '/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin' [2025-05-08T22:23:13.066Z] GEN 22:23:12.155 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModImgTest' [2025-05-08T22:23:13.066Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2025-05-08T22:23:13.066Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayService [2025-05-08T22:23:13.066Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper [2025-05-08T22:23:13.067Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl1 [2025-05-08T22:23:13.067Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet [2025-05-08T22:23:13.067Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello [2025-05-08T22:23:13.067Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola [2025-05-08T22:23:13.067Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl2 [2025-05-08T22:23:13.067Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hi [2025-05-08T22:23:13.067Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override [2025-05-08T22:23:13.067Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override-new [2025-05-08T22:23:13.067Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl3 [2025-05-08T22:23:13.067Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl4 [2025-05-08T22:23:13.067Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common [2025-05-08T22:23:13.067Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests [2025-05-08T22:23:13.067Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin [2025-05-08T22:23:13.067Z] GEN /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_1/jvmtest/system/STF/stf.core/bin [2025-05-08T22:23:13.067Z] GEN /home/jenkins/testDependency/system_lib/log4j/log4j-api.jar [2025-05-08T22:23:13.067Z] GEN /home/jenkins/testDependency/system_lib/log4j/log4j-core.jar [2025-05-08T22:23:13.067Z] GEN /home/jenkins/testDependency/system_lib/junit/junit.jar [2025-05-08T22:23:13.067Z] GEN 22:23:12.736 - Using Mode NoOptions. Values = '' [2025-05-08T22:23:13.865Z] GEN 22:23:13.136 - [2025-05-08T22:23:13.865Z] GEN 22:23:13.137 - Test command summary: [2025-05-08T22:23:13.865Z] GEN 22:23:13.137 - Step Stage Command Description [2025-05-08T22:23:13.865Z] GEN 22:23:13.142 - -----+--------+-----------------+------------ [2025-05-08T22:23:13.865Z] GEN 22:23:13.142 - 1 execute jar Create com.hello jar [2025-05-08T22:23:13.865Z] GEN 22:23:13.142 - 2 execute jar Create com.hola jar [2025-05-08T22:23:13.865Z] GEN 22:23:13.142 - 3 execute jar Create com.helper jar [2025-05-08T22:23:13.865Z] GEN 22:23:13.142 - 4 execute jar Create com.discreet jar [2025-05-08T22:23:13.865Z] GEN 22:23:13.142 - 5 execute jar Create tests jar [2025-05-08T22:23:13.865Z] GEN 22:23:13.142 - 6 execute jlink Create runtime image for PatchModule test [2025-05-08T22:23:13.865Z] GEN 22:23:13.142 - 7 execute jar Create com.hello jar [2025-05-08T22:23:13.865Z] GEN 22:23:13.142 - 8 execute jar create java.xml.jar [2025-05-08T22:23:13.865Z] GEN 22:23:13.143 - 9 execute Run java Verify if we can patch an upgradable platform module using exploded directory [2025-05-08T22:23:13.865Z] GEN 22:23:13.143 - 10 execute Run java Verify if we can patch an upgradable platform module using modular jar [2025-05-08T22:23:13.865Z] STF 22:23:13.197 - [2025-05-08T22:23:13.865Z] STF 22:23:13.197 - Script generation completed [2025-05-08T22:23:13.865Z] STF 22:23:13.197 - [2025-05-08T22:23:13.865Z] STF 22:23:13.201 - [2025-05-08T22:23:13.865Z] STF 22:23:13.201 - ======================= S E T U P ======================= [2025-05-08T22:23:13.865Z] STF 22:23:13.201 - Running setup: perl /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_1/aqa-tests/TKG/../TKG/output_1746736938459/PatModImg_PlatMod_1/20250508-222309-PatModImgTest/setUp.pl [2025-05-08T22:23:13.865Z] STF 22:23:13.339 - SETUP stage completed [2025-05-08T22:23:13.865Z] STF 22:23:13.348 - [2025-05-08T22:23:13.865Z] STF 22:23:13.348 - ==================== E X E C U T E - ==================== [2025-05-08T22:23:13.865Z] STF 22:23:13.348 - Running execute: perl /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_1/aqa-tests/TKG/../TKG/output_1746736938459/PatModImg_PlatMod_1/20250508-222309-PatModImgTest/execute.pl [2025-05-08T22:23:13.865Z] STF 22:23:13.489 - [2025-05-08T22:23:13.865Z] STF 22:23:13.489 - Java version [2025-05-08T22:23:13.865Z] STF 22:23:13.489 - Running: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_1/jdkbinary/j2sdk-image/bin/java -version [2025-05-08T22:23:13.865Z] openjdk version "17.0.16-beta" 2025-07-15 [2025-05-08T22:23:13.865Z] OpenJDK Runtime Environment Temurin-17.0.16+2-202505071943 (build 17.0.16-beta+2-ea) [2025-05-08T22:23:13.865Z] OpenJDK 64-Bit Server VM Temurin-17.0.16+2-202505071943 (build 17.0.16-beta+2-ea, mixed mode, sharing) [2025-05-08T22:23:13.865Z] STF 22:23:13.666 - [2025-05-08T22:23:13.865Z] STF 22:23:13.666 - +------ Step 1 - Create com.hello jar [2025-05-08T22:23:13.865Z] STF 22:23:13.666 - | Create modular jar [2025-05-08T22:23:13.865Z] STF 22:23:13.666 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2025-05-08T22:23:13.865Z] STF 22:23:13.666 - | ModuleVersion: null [2025-05-08T22:23:13.865Z] STF 22:23:13.666 - | MainClass: null [2025-05-08T22:23:13.865Z] STF 22:23:13.666 - | HashModules: null [2025-05-08T22:23:13.865Z] STF 22:23:13.666 - | [2025-05-08T22:23:13.865Z] STF 22:23:13.667 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_1/aqa-tests/TKG/output_1746736938459/PatModImg_PlatMod_1/20250508-222309-PatModImgTest/modules/1.com.hello.jar -C /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello . [2025-05-08T22:23:13.865Z] STF 22:23:13.667 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_1/aqa-tests/TKG/output_1746736938459/PatModImg_PlatMod_1/20250508-222309-PatModImgTest/results/1.CMJ.stderr [2025-05-08T22:23:13.865Z] STF 22:23:13.667 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_1/aqa-tests/TKG/output_1746736938459/PatModImg_PlatMod_1/20250508-222309-PatModImgTest/results/1.CMJ.stdout [2025-05-08T22:23:13.865Z] STF 22:23:13.702 - Monitoring processes: CMJ [2025-05-08T22:23:14.697Z] STF 22:23:14.309 - Monitoring Report Summary: [2025-05-08T22:23:14.697Z] STF 22:23:14.309 - o Process CMJ ended with the expected exit code (0) [2025-05-08T22:23:14.697Z] STF 22:23:14.310 - Created modular jar: 1.com.hello.jar [2025-05-08T22:23:14.697Z] STF 22:23:14.310 - [2025-05-08T22:23:14.697Z] STF 22:23:14.310 - +------ Step 2 - Create com.hola jar [2025-05-08T22:23:14.697Z] STF 22:23:14.310 - | Create modular jar [2025-05-08T22:23:14.697Z] STF 22:23:14.310 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2025-05-08T22:23:14.697Z] STF 22:23:14.310 - | ModuleVersion: null [2025-05-08T22:23:14.697Z] STF 22:23:14.310 - | MainClass: null [2025-05-08T22:23:14.697Z] STF 22:23:14.310 - | HashModules: null [2025-05-08T22:23:14.697Z] STF 22:23:14.310 - | [2025-05-08T22:23:14.697Z] STF 22:23:14.310 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_1/aqa-tests/TKG/output_1746736938459/PatModImg_PlatMod_1/20250508-222309-PatModImgTest/modules/2.com.hola.jar -C /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola . [2025-05-08T22:23:14.697Z] STF 22:23:14.310 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_1/aqa-tests/TKG/output_1746736938459/PatModImg_PlatMod_1/20250508-222309-PatModImgTest/results/2.CMJ.stderr [2025-05-08T22:23:14.697Z] STF 22:23:14.310 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_1/aqa-tests/TKG/output_1746736938459/PatModImg_PlatMod_1/20250508-222309-PatModImgTest/results/2.CMJ.stdout [2025-05-08T22:23:14.697Z] STF 22:23:14.314 - Monitoring processes: CMJ [2025-05-08T22:23:15.488Z] STF 22:23:14.872 - Monitoring Report Summary: [2025-05-08T22:23:15.488Z] STF 22:23:14.872 - o Process CMJ ended with the expected exit code (0) [2025-05-08T22:23:15.488Z] STF 22:23:14.873 - Created modular jar: 2.com.hola.jar [2025-05-08T22:23:15.488Z] STF 22:23:14.873 - [2025-05-08T22:23:15.488Z] STF 22:23:14.873 - +------ Step 3 - Create com.helper jar [2025-05-08T22:23:15.488Z] STF 22:23:14.873 - | Create modular jar [2025-05-08T22:23:15.488Z] STF 22:23:14.873 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2025-05-08T22:23:15.488Z] STF 22:23:14.873 - | ModuleVersion: null [2025-05-08T22:23:15.488Z] STF 22:23:14.873 - | MainClass: null [2025-05-08T22:23:15.488Z] STF 22:23:14.873 - | HashModules: null [2025-05-08T22:23:15.488Z] STF 22:23:14.873 - | [2025-05-08T22:23:15.489Z] STF 22:23:14.873 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_1/aqa-tests/TKG/output_1746736938459/PatModImg_PlatMod_1/20250508-222309-PatModImgTest/modules/3.com.helper.jar -C /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper . [2025-05-08T22:23:15.489Z] STF 22:23:14.873 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_1/aqa-tests/TKG/output_1746736938459/PatModImg_PlatMod_1/20250508-222309-PatModImgTest/results/3.CMJ.stderr [2025-05-08T22:23:15.489Z] STF 22:23:14.873 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_1/aqa-tests/TKG/output_1746736938459/PatModImg_PlatMod_1/20250508-222309-PatModImgTest/results/3.CMJ.stdout [2025-05-08T22:23:15.489Z] STF 22:23:14.875 - Monitoring processes: CMJ [2025-05-08T22:23:15.489Z] STF 22:23:15.285 - Monitoring Report Summary: [2025-05-08T22:23:15.489Z] STF 22:23:15.285 - o Process CMJ ended with the expected exit code (0) [2025-05-08T22:23:15.489Z] STF 22:23:15.285 - Created modular jar: 3.com.helper.jar [2025-05-08T22:23:15.489Z] STF 22:23:15.285 - [2025-05-08T22:23:15.489Z] STF 22:23:15.285 - +------ Step 4 - Create com.discreet jar [2025-05-08T22:23:15.489Z] STF 22:23:15.285 - | Create modular jar [2025-05-08T22:23:15.489Z] STF 22:23:15.285 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2025-05-08T22:23:15.489Z] STF 22:23:15.285 - | ModuleVersion: null [2025-05-08T22:23:15.489Z] STF 22:23:15.285 - | MainClass: null [2025-05-08T22:23:15.489Z] STF 22:23:15.285 - | HashModules: null [2025-05-08T22:23:15.489Z] STF 22:23:15.285 - | [2025-05-08T22:23:15.489Z] STF 22:23:15.286 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_1/aqa-tests/TKG/output_1746736938459/PatModImg_PlatMod_1/20250508-222309-PatModImgTest/modules/4.com.discreet.jar -C /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet . [2025-05-08T22:23:15.489Z] STF 22:23:15.286 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_1/aqa-tests/TKG/output_1746736938459/PatModImg_PlatMod_1/20250508-222309-PatModImgTest/results/4.CMJ.stderr [2025-05-08T22:23:15.489Z] STF 22:23:15.286 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_1/aqa-tests/TKG/output_1746736938459/PatModImg_PlatMod_1/20250508-222309-PatModImgTest/results/4.CMJ.stdout [2025-05-08T22:23:15.489Z] STF 22:23:15.292 - Monitoring processes: CMJ [2025-05-08T22:23:16.305Z] STF 22:23:15.756 - Monitoring Report Summary: [2025-05-08T22:23:16.305Z] STF 22:23:15.756 - o Process CMJ ended with the expected exit code (0) [2025-05-08T22:23:16.305Z] STF 22:23:15.756 - Created modular jar: 4.com.discreet.jar [2025-05-08T22:23:16.305Z] STF 22:23:15.756 - [2025-05-08T22:23:16.305Z] STF 22:23:15.756 - +------ Step 5 - Create tests jar [2025-05-08T22:23:16.305Z] STF 22:23:15.756 - | Create modular jar [2025-05-08T22:23:16.305Z] STF 22:23:15.756 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2025-05-08T22:23:16.305Z] STF 22:23:15.756 - | ModuleVersion: null [2025-05-08T22:23:16.305Z] STF 22:23:15.756 - | MainClass: null [2025-05-08T22:23:16.305Z] STF 22:23:15.756 - | HashModules: null [2025-05-08T22:23:16.305Z] STF 22:23:15.756 - | [2025-05-08T22:23:16.305Z] STF 22:23:15.757 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_1/aqa-tests/TKG/output_1746736938459/PatModImg_PlatMod_1/20250508-222309-PatModImgTest/modules/5.com.test.jar -C /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test . [2025-05-08T22:23:16.305Z] STF 22:23:15.757 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_1/aqa-tests/TKG/output_1746736938459/PatModImg_PlatMod_1/20250508-222309-PatModImgTest/results/5.CMJ.stderr [2025-05-08T22:23:16.305Z] STF 22:23:15.757 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_1/aqa-tests/TKG/output_1746736938459/PatModImg_PlatMod_1/20250508-222309-PatModImgTest/results/5.CMJ.stdout [2025-05-08T22:23:16.305Z] STF 22:23:15.759 - Monitoring processes: CMJ [2025-05-08T22:23:17.110Z] STF 22:23:16.278 - Monitoring Report Summary: [2025-05-08T22:23:17.111Z] STF 22:23:16.278 - o Process CMJ ended with the expected exit code (0) [2025-05-08T22:23:17.111Z] STF 22:23:16.279 - Created modular jar: 5.com.test.jar [2025-05-08T22:23:17.111Z] STF 22:23:16.279 - [2025-05-08T22:23:17.111Z] STF 22:23:16.279 - +------ Step 6 - Create runtime image for PatchModule test [2025-05-08T22:23:17.111Z] STF 22:23:16.280 - | Run jlink to create runtime image [2025-05-08T22:23:17.111Z] STF 22:23:16.280 - | ImageName: XpJVM [2025-05-08T22:23:17.111Z] STF 22:23:16.280 - | [2025-05-08T22:23:17.111Z] STF 22:23:16.280 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_1/jdkbinary/j2sdk-image/bin/jlink --module-path /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_1/jdkbinary/j2sdk-image/jmods:/home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_1/aqa-tests/TKG/output_1746736938459/PatModImg_PlatMod_1/20250508-222309-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_1/aqa-tests/TKG/output_1746736938459/PatModImg_PlatMod_1/20250508-222309-PatModImgTest/tmp/6.XpJVM [2025-05-08T22:23:17.111Z] STF 22:23:16.280 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_1/aqa-tests/TKG/output_1746736938459/PatModImg_PlatMod_1/20250508-222309-PatModImgTest/results/6.JLNK.stderr [2025-05-08T22:23:17.111Z] STF 22:23:16.280 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_1/aqa-tests/TKG/output_1746736938459/PatModImg_PlatMod_1/20250508-222309-PatModImgTest/results/6.JLNK.stdout [2025-05-08T22:23:17.111Z] STF 22:23:16.284 - Monitoring processes: JLNK [2025-05-08T22:23:24.190Z] STF 22:23:23.756 - Monitoring Report Summary: [2025-05-08T22:23:24.190Z] STF 22:23:23.756 - o Process JLNK ended with the expected exit code (0) [2025-05-08T22:23:24.190Z] STF 22:23:23.756 - [2025-05-08T22:23:24.190Z] STF 22:23:23.756 - +------ Step 7 - Create com.hello jar [2025-05-08T22:23:24.190Z] STF 22:23:23.756 - | Create modular jar [2025-05-08T22:23:24.190Z] STF 22:23:23.756 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2025-05-08T22:23:24.190Z] STF 22:23:23.756 - | ModuleVersion: null [2025-05-08T22:23:24.190Z] STF 22:23:23.756 - | MainClass: null [2025-05-08T22:23:24.190Z] STF 22:23:23.756 - | HashModules: null [2025-05-08T22:23:24.190Z] STF 22:23:23.756 - | [2025-05-08T22:23:24.190Z] STF 22:23:23.757 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_1/aqa-tests/TKG/output_1746736938459/PatModImg_PlatMod_1/20250508-222309-PatModImgTest/modules/7.com.hello.jar -C /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello . [2025-05-08T22:23:24.190Z] STF 22:23:23.757 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_1/aqa-tests/TKG/output_1746736938459/PatModImg_PlatMod_1/20250508-222309-PatModImgTest/results/7.CMJ.stderr [2025-05-08T22:23:24.190Z] STF 22:23:23.757 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_1/aqa-tests/TKG/output_1746736938459/PatModImg_PlatMod_1/20250508-222309-PatModImgTest/results/7.CMJ.stdout [2025-05-08T22:23:24.190Z] STF 22:23:23.759 - Monitoring processes: CMJ [2025-05-08T22:23:24.986Z] STF 22:23:24.168 - Monitoring Report Summary: [2025-05-08T22:23:24.986Z] STF 22:23:24.168 - o Process CMJ ended with the expected exit code (0) [2025-05-08T22:23:24.986Z] STF 22:23:24.169 - Created modular jar: 7.com.hello.jar [2025-05-08T22:23:24.986Z] STF 22:23:24.169 - [2025-05-08T22:23:24.986Z] STF 22:23:24.169 - +------ Step 8 - create java.xml.jar [2025-05-08T22:23:24.986Z] STF 22:23:24.169 - | Create modular jar [2025-05-08T22:23:24.986Z] STF 22:23:24.169 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml [2025-05-08T22:23:24.986Z] STF 22:23:24.169 - | ModuleVersion: null [2025-05-08T22:23:24.986Z] STF 22:23:24.169 - | MainClass: null [2025-05-08T22:23:24.986Z] STF 22:23:24.169 - | HashModules: null [2025-05-08T22:23:24.986Z] STF 22:23:24.169 - | [2025-05-08T22:23:24.986Z] STF 22:23:24.170 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_1/aqa-tests/TKG/output_1746736938459/PatModImg_PlatMod_1/20250508-222309-PatModImgTest/modules/8.java.xml.jar -C /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/java.xml . [2025-05-08T22:23:24.986Z] STF 22:23:24.170 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_1/aqa-tests/TKG/output_1746736938459/PatModImg_PlatMod_1/20250508-222309-PatModImgTest/results/8.CMJ.stderr [2025-05-08T22:23:24.986Z] STF 22:23:24.170 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_1/aqa-tests/TKG/output_1746736938459/PatModImg_PlatMod_1/20250508-222309-PatModImgTest/results/8.CMJ.stdout [2025-05-08T22:23:24.986Z] STF 22:23:24.175 - Monitoring processes: CMJ [2025-05-08T22:23:24.986Z] STF 22:23:24.678 - Monitoring Report Summary: [2025-05-08T22:23:24.986Z] STF 22:23:24.678 - o Process CMJ ended with the expected exit code (0) [2025-05-08T22:23:24.986Z] STF 22:23:24.678 - Created modular jar: 8.java.xml.jar [2025-05-08T22:23:24.986Z] STF 22:23:24.678 - [2025-05-08T22:23:24.986Z] STF 22:23:24.678 - +------ Step 9 - Verify if we can patch an upgradable platform module using exploded directory [2025-05-08T22:23:24.986Z] STF 22:23:24.678 - | Run foreground process [2025-05-08T22:23:24.986Z] STF 22:23:24.678 - | Program: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_1/aqa-tests/TKG/output_1746736938459/PatModImg_PlatMod_1/20250508-222309-PatModImgTest/tmp/6.XpJVM/bin/java [2025-05-08T22:23:24.986Z] STF 22:23:24.678 - | Mnemonic: OT11 [2025-05-08T22:23:24.986Z] STF 22:23:24.678 - | Echo: ECHO_ON [2025-05-08T22:23:24.986Z] STF 22:23:24.678 - | Expectation: CLEAN_RUN within 5m [2025-05-08T22:23:24.986Z] STF 22:23:24.678 - | [2025-05-08T22:23:24.987Z] STF 22:23:24.679 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_1/aqa-tests/TKG/output_1746736938459/PatModImg_PlatMod_1/20250508-222309-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_1/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 [2025-05-08T22:23:24.987Z] STF 22:23:24.679 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_1/aqa-tests/TKG/output_1746736938459/PatModImg_PlatMod_1/20250508-222309-PatModImgTest/results/9.OT11.stderr [2025-05-08T22:23:24.987Z] STF 22:23:24.679 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_1/aqa-tests/TKG/output_1746736938459/PatModImg_PlatMod_1/20250508-222309-PatModImgTest/results/9.OT11.stdout [2025-05-08T22:23:24.987Z] STF 22:23:24.680 - Monitoring processes: OT11 [2025-05-08T22:23:25.789Z] OT11 stderr WARNING: module-info.class ignored in patch: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/java.xml [2025-05-08T22:23:25.789Z] OT11 JUnit version 4.12 [2025-05-08T22:23:25.789Z] OT11 . [2025-05-08T22:23:25.789Z] OT11 Time: 0.01 [2025-05-08T22:23:25.789Z] OT11 [2025-05-08T22:23:25.789Z] OT11 OK (1 test) [2025-05-08T22:23:25.789Z] OT11 [2025-05-08T22:23:25.789Z] STF 22:23:25.445 - Monitoring Report Summary: [2025-05-08T22:23:25.789Z] STF 22:23:25.445 - o Process OT11 ended with the expected exit code (0) [2025-05-08T22:23:25.789Z] STF 22:23:25.446 - [2025-05-08T22:23:25.789Z] STF 22:23:25.446 - +------ Step 10 - Verify if we can patch an upgradable platform module using modular jar [2025-05-08T22:23:25.789Z] STF 22:23:25.446 - | Run foreground process [2025-05-08T22:23:25.789Z] STF 22:23:25.446 - | Program: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_1/aqa-tests/TKG/output_1746736938459/PatModImg_PlatMod_1/20250508-222309-PatModImgTest/tmp/6.XpJVM/bin/java [2025-05-08T22:23:25.790Z] STF 22:23:25.446 - | Mnemonic: OT12 [2025-05-08T22:23:25.790Z] STF 22:23:25.446 - | Echo: ECHO_ON [2025-05-08T22:23:25.790Z] STF 22:23:25.446 - | Expectation: CLEAN_RUN within 5m [2025-05-08T22:23:25.790Z] STF 22:23:25.446 - | [2025-05-08T22:23:25.790Z] STF 22:23:25.446 - Running command: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_1/aqa-tests/TKG/output_1746736938459/PatModImg_PlatMod_1/20250508-222309-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_1/aqa-tests/TKG/output_1746736938459/PatModImg_PlatMod_1/20250508-222309-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 [2025-05-08T22:23:25.790Z] STF 22:23:25.446 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_1/aqa-tests/TKG/output_1746736938459/PatModImg_PlatMod_1/20250508-222309-PatModImgTest/results/10.OT12.stderr [2025-05-08T22:23:25.790Z] STF 22:23:25.446 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_1/aqa-tests/TKG/output_1746736938459/PatModImg_PlatMod_1/20250508-222309-PatModImgTest/results/10.OT12.stdout [2025-05-08T22:23:25.790Z] STF 22:23:25.455 - Monitoring processes: OT12 [2025-05-08T22:23:26.582Z] OT12 stderr WARNING: module-info.class ignored in patch: /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_1/aqa-tests/TKG/output_1746736938459/PatModImg_PlatMod_1/20250508-222309-PatModImgTest/modules/8.java.xml.jar [2025-05-08T22:23:26.582Z] OT12 JUnit version 4.12 [2025-05-08T22:23:26.582Z] OT12 . [2025-05-08T22:23:26.582Z] OT12 Time: 0.018 [2025-05-08T22:23:26.582Z] OT12 [2025-05-08T22:23:26.582Z] OT12 OK (1 test) [2025-05-08T22:23:26.582Z] OT12 [2025-05-08T22:23:26.582Z] STF 22:23:26.340 - Monitoring Report Summary: [2025-05-08T22:23:26.582Z] STF 22:23:26.340 - o Process OT12 ended with the expected exit code (0) [2025-05-08T22:23:26.582Z] STF 22:23:26.341 - EXECUTE stage completed [2025-05-08T22:23:26.582Z] STF 22:23:26.455 - [2025-05-08T22:23:26.582Z] STF 22:23:26.455 - ==================== T E A R D O W N ==================== [2025-05-08T22:23:26.582Z] STF 22:23:26.455 - Running teardown: perl /home/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_alpine-linux_testList_1/aqa-tests/TKG/../TKG/output_1746736938459/PatModImg_PlatMod_1/20250508-222309-PatModImgTest/tearDown.pl [2025-05-08T22:23:27.375Z] STF 22:23:26.619 - TEARDOWN stage completed [2025-05-08T22:23:27.375Z] STF 22:23:26.626 - [2025-05-08T22:23:27.375Z] STF 22:23:26.627 - ===================== R E S U L T S ===================== [2025-05-08T22:23:27.375Z] STF 22:23:26.627 - Stage results: [2025-05-08T22:23:27.375Z] STF 22:23:26.627 - setUp: pass [2025-05-08T22:23:27.375Z] STF 22:23:26.627 - execute: pass [2025-05-08T22:23:27.375Z] STF 22:23:26.627 - teardown: pass [2025-05-08T22:23:27.375Z] STF 22:23:26.627 - [2025-05-08T22:23:27.375Z] STF 22:23:26.627 - Overall result: PASSED [2025-05-08T22:23:27.375Z] ----------------------------------- [2025-05-08T22:23:27.375Z] PatModImg_PlatMod_1_PASSED [2025-05-08T22:23:27.375Z] ----------------------------------- [2025-05-08T22:23:27.375Z] [2025-05-08T22:23:27.375Z] TEST TEARDOWN: [2025-05-08T22:23:27.375Z] Nothing to be done for teardown. [2025-05-08T22:23:27.375Z] PatModImg_PlatMod_1 Finish Time: Thu May 8 22:23:26 2025 Epoch Time (ms): 1746743006688