PatModImg_PlatMod_0

[2024-11-21T13:20:39.910Z] Running test PatModImg_PlatMod_0 ... [2024-11-21T13:20:39.910Z] =============================================== [2024-11-21T13:20:39.910Z] PatModImg_PlatMod_0 Start Time: Thu Nov 21 13:20:39 2024 Epoch Time (ms): 1732195239250 [2024-11-21T13:20:39.910Z] variation: Mode150 [2024-11-21T13:20:39.910Z] JVM_OPTIONS: -XX:+UseCompressedOops [2024-11-21T13:20:39.910Z] { \ [2024-11-21T13:20:39.910Z] echo ""; echo "TEST SETUP:"; \ [2024-11-21T13:20:39.910Z] echo "Nothing to be done for setup."; \ [2024-11-21T13:20:39.910Z] mkdir -p "/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_0/aqa-tests/TKG/../TKG/output_17321854507101/PatModImg_PlatMod_0"; \ [2024-11-21T13:20:39.910Z] cd "/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_0/aqa-tests/TKG/../TKG/output_17321854507101/PatModImg_PlatMod_0"; \ [2024-11-21T13:20:39.910Z] echo ""; echo "TESTING:"; \ [2024-11-21T13:20:39.910Z] perl /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_0/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF/stf.core/scripts/stf.pl -test-root="/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_0/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF;/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_0/aqa-tests/TKG/../../jvmtest/system/modularity/..//aqa-systemtest""" -systemtest-prereqs="/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_0/../../testDependency/system_lib/" -java-args=' -XX:+UseCompressedOops ' -results-root="/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_0/aqa-tests/TKG/../TKG/output_17321854507101/PatModImg_PlatMod_0" -test=PatModImgTest -test-args="variant=PlatMod"; \ [2024-11-21T13:20:39.910Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatModImg_PlatMod_0""_PASSED"; echo "-----------------------------------"; cd /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_0/aqa-tests/TKG/..; rm -f -r "/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_0/aqa-tests/TKG/../TKG/output_17321854507101/PatModImg_PlatMod_0"; else echo "-----------------------------------"; echo "PatModImg_PlatMod_0""_FAILED"; echo "-----------------------------------"; fi; \ [2024-11-21T13:20:39.910Z] echo ""; echo "TEST TEARDOWN:"; \ [2024-11-21T13:20:39.910Z] echo "Nothing to be done for teardown."; \ [2024-11-21T13:20:39.910Z] } 2>&1 | tee -a "/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_0/aqa-tests/TKG/../TKG/output_17321854507101/TestTargetResult"; [2024-11-21T13:20:39.910Z] [2024-11-21T13:20:39.910Z] TEST SETUP: [2024-11-21T13:20:39.910Z] Nothing to be done for setup. [2024-11-21T13:20:39.910Z] [2024-11-21T13:20:39.910Z] TESTING: [2024-11-21T13:20:40.697Z] STF 13:20:39.858 - ========================= S T F ========================= [2024-11-21T13:20:40.697Z] systemtest-prereqs has been processed, and set to: /home/jenkins/testDependency/system_libRetrieving amount of free space on drive containing /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_0/aqa-tests/TKG/../TKG/output_17321854507101/PatModImg_PlatMod_0 [2024-11-21T13:20:40.697Z] There is 121651 Mb free [2024-11-21T13:20:40.697Z] STF 13:20:39.892 - ================== G E N E R A T I O N ================== [2024-11-21T13:20:40.697Z] STF 13:20:39.897 - Checking JVM: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_0/jdkbinary/j2sdk-image [2024-11-21T13:20:40.698Z] STF 13:20:39.897 - Starting process to generate scripts: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_0/jdkbinary/j2sdk-image/bin/java -Dlog4j.skipJansi=true -Djava.system.class.loader=net.adoptopenjdk.stf.runner.StfClassLoader -classpath /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_0/../../testDependency/system_lib//log4j/log4j-api.jar:/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_0/../../testDependency/system_lib//log4j/log4j-core.jar:/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_0/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_0/aqa-tests/TKG/../TKG/output_17321854507101/PatModImg_PlatMod_0/20241121-132039-PatModImgTest/stf_parameters.properties, , /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_0/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_0/aqa-tests/TKG/../TKG/output_17321854507101/PatModImg_PlatMod_0/20241121-132039-PatModImgTest" [2024-11-21T13:20:40.698Z] GEN stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-21T13:20:40.698Z] GEN [0.080s][warning][cds] 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-11-21T13:20:49.652Z] GEN Java lib directory does not exist: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_0/jdkbinary/lib [2024-11-21T13:20:49.652Z] GEN 13:20:48.690 - Found test. Project: 'openjdk.test.modularity' class: 'PatModImgTest.class' Dir: '/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin' [2024-11-21T13:20:49.652Z] GEN 13:20:48.801 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModImgTest' [2024-11-21T13:20:50.440Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2024-11-21T13:20:50.440Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayService [2024-11-21T13:20:50.440Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper [2024-11-21T13:20:50.441Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl1 [2024-11-21T13:20:50.441Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet [2024-11-21T13:20:50.441Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello [2024-11-21T13:20:50.441Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola [2024-11-21T13:20:50.441Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl2 [2024-11-21T13:20:50.441Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hi [2024-11-21T13:20:50.441Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override [2024-11-21T13:20:50.441Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override-new [2024-11-21T13:20:50.441Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl3 [2024-11-21T13:20:50.441Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl4 [2024-11-21T13:20:50.441Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common [2024-11-21T13:20:50.441Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests [2024-11-21T13:20:50.441Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin [2024-11-21T13:20:50.441Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_0/jvmtest/system/STF/stf.core/bin [2024-11-21T13:20:50.441Z] GEN /home/jenkins/testDependency/system_lib/log4j/log4j-api.jar [2024-11-21T13:20:50.441Z] GEN /home/jenkins/testDependency/system_lib/log4j/log4j-core.jar [2024-11-21T13:20:50.441Z] GEN /home/jenkins/testDependency/system_lib/junit/junit.jar [2024-11-21T13:20:50.441Z] GEN Java lib directory does not exist: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_0/jdkbinary/lib [2024-11-21T13:20:50.441Z] GEN 13:20:50.229 - Using Mode NoOptions. Values = '' [2024-11-21T13:20:52.052Z] GEN 13:20:51.294 - [2024-11-21T13:20:52.052Z] GEN 13:20:51.294 - Test command summary: [2024-11-21T13:20:52.052Z] GEN 13:20:51.294 - Step Stage Command Description [2024-11-21T13:20:52.052Z] GEN 13:20:51.328 - -----+--------+-----------------+------------ [2024-11-21T13:20:52.052Z] GEN 13:20:51.328 - 1 execute jar Create com.hello jar [2024-11-21T13:20:52.052Z] GEN 13:20:51.328 - 2 execute jar Create com.hola jar [2024-11-21T13:20:52.052Z] GEN 13:20:51.328 - 3 execute jar Create com.helper jar [2024-11-21T13:20:52.052Z] GEN 13:20:51.328 - 4 execute jar Create com.discreet jar [2024-11-21T13:20:52.052Z] GEN 13:20:51.328 - 5 execute jar Create tests jar [2024-11-21T13:20:52.052Z] GEN 13:20:51.328 - 6 execute jlink Create runtime image for PatchModule test [2024-11-21T13:20:52.052Z] GEN 13:20:51.328 - 7 execute jar Create com.hello jar [2024-11-21T13:20:52.052Z] GEN 13:20:51.328 - 8 execute jar create java.xml.jar [2024-11-21T13:20:52.052Z] GEN 13:20:51.329 - 9 execute Run java Verify if we can patch an upgradable platform module using exploded directory [2024-11-21T13:20:52.052Z] GEN 13:20:51.329 - 10 execute Run java Verify if we can patch an upgradable platform module using modular jar [2024-11-21T13:20:52.052Z] STF 13:20:51.531 - [2024-11-21T13:20:52.052Z] STF 13:20:51.536 - Script generation completed [2024-11-21T13:20:52.052Z] STF 13:20:51.536 - [2024-11-21T13:20:52.052Z] STF 13:20:51.536 - [2024-11-21T13:20:52.052Z] STF 13:20:51.536 - ======================= S E T U P ======================= [2024-11-21T13:20:52.052Z] STF 13:20:51.536 - Running setup: perl /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_0/aqa-tests/TKG/../TKG/output_17321854507101/PatModImg_PlatMod_0/20241121-132039-PatModImgTest/setUp.pl [2024-11-21T13:20:52.855Z] STF 13:20:52.135 - SETUP stage completed [2024-11-21T13:20:52.855Z] STF 13:20:52.160 - [2024-11-21T13:20:52.855Z] STF 13:20:52.162 - ==================== E X E C U T E - ==================== [2024-11-21T13:20:52.855Z] STF 13:20:52.162 - Running execute: perl /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_0/aqa-tests/TKG/../TKG/output_17321854507101/PatModImg_PlatMod_0/20241121-132039-PatModImgTest/execute.pl [2024-11-21T13:20:52.855Z] STF 13:20:52.620 - [2024-11-21T13:20:52.855Z] STF 13:20:52.620 - Java version [2024-11-21T13:20:52.855Z] STF 13:20:52.620 - Running: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_0/jdkbinary/j2sdk-image/bin/java -version [2024-11-21T13:20:52.855Z] Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-21T13:20:53.778Z] STF 13:20:52.849 - [2024-11-21T13:20:53.778Z] STF 13:20:52.849 - +------ Step 1 - Create com.hello jar [2024-11-21T13:20:53.778Z] STF 13:20:52.849 - | Create modular jar [2024-11-21T13:20:53.778Z] STF 13:20:52.849 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2024-11-21T13:20:53.778Z] STF 13:20:52.849 - | ModuleVersion: null [2024-11-21T13:20:53.778Z] STF 13:20:52.849 - | MainClass: null [2024-11-21T13:20:53.778Z] STF 13:20:52.850 - | HashModules: null [2024-11-21T13:20:53.778Z] STF 13:20:52.850 - | [2024-11-21T13:20:53.778Z] STF 13:20:52.850 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_0/aqa-tests/TKG/output_17321854507101/PatModImg_PlatMod_0/20241121-132039-PatModImgTest/modules/1.com.hello.jar -C /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello . [2024-11-21T13:20:53.778Z] STF 13:20:52.850 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_0/aqa-tests/TKG/output_17321854507101/PatModImg_PlatMod_0/20241121-132039-PatModImgTest/results/1.CMJ.stderr [2024-11-21T13:20:53.778Z] STF 13:20:52.850 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_0/aqa-tests/TKG/output_17321854507101/PatModImg_PlatMod_0/20241121-132039-PatModImgTest/results/1.CMJ.stdout [2024-11-21T13:20:53.778Z] openjdk version "21.0.6-beta" 2025-01-21 [2024-11-21T13:20:53.778Z] OpenJDK Runtime Environment Temurin-21.0.6+4-202411202009 (build 21.0.6-beta+4-ea) [2024-11-21T13:20:53.778Z] OpenJDK 64-Bit Server VM Temurin-21.0.6+4-202411202009 (build 21.0.6-beta+4-ea, mixed mode, sharing) [2024-11-21T13:20:53.778Z] STF 13:20:52.917 - Monitoring processes: CMJ [2024-11-21T13:20:53.778Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-21T13:20:55.376Z] STF 13:20:55.192 - Monitoring Report Summary: [2024-11-21T13:20:55.376Z] STF 13:20:55.193 - o Process CMJ ended with the expected exit code (0) [2024-11-21T13:20:55.376Z] STF 13:20:55.193 - Created modular jar: 1.com.hello.jar [2024-11-21T13:20:55.376Z] STF 13:20:55.193 - [2024-11-21T13:20:55.376Z] STF 13:20:55.193 - +------ Step 2 - Create com.hola jar [2024-11-21T13:20:55.376Z] STF 13:20:55.193 - | Create modular jar [2024-11-21T13:20:55.376Z] STF 13:20:55.193 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2024-11-21T13:20:55.376Z] STF 13:20:55.193 - | ModuleVersion: null [2024-11-21T13:20:55.376Z] STF 13:20:55.193 - | MainClass: null [2024-11-21T13:20:55.376Z] STF 13:20:55.193 - | HashModules: null [2024-11-21T13:20:55.376Z] STF 13:20:55.193 - | [2024-11-21T13:20:55.376Z] STF 13:20:55.193 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_0/aqa-tests/TKG/output_17321854507101/PatModImg_PlatMod_0/20241121-132039-PatModImgTest/modules/2.com.hola.jar -C /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola . [2024-11-21T13:20:55.376Z] STF 13:20:55.193 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_0/aqa-tests/TKG/output_17321854507101/PatModImg_PlatMod_0/20241121-132039-PatModImgTest/results/2.CMJ.stderr [2024-11-21T13:20:55.376Z] STF 13:20:55.193 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_0/aqa-tests/TKG/output_17321854507101/PatModImg_PlatMod_0/20241121-132039-PatModImgTest/results/2.CMJ.stdout [2024-11-21T13:20:55.376Z] STF 13:20:55.201 - Monitoring processes: CMJ [2024-11-21T13:20:55.376Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-21T13:20:57.850Z] STF 13:20:57.544 - Monitoring Report Summary: [2024-11-21T13:20:57.850Z] STF 13:20:57.544 - o Process CMJ ended with the expected exit code (0) [2024-11-21T13:20:57.850Z] STF 13:20:57.544 - Created modular jar: 2.com.hola.jar [2024-11-21T13:20:57.850Z] STF 13:20:57.544 - [2024-11-21T13:20:57.850Z] STF 13:20:57.544 - +------ Step 3 - Create com.helper jar [2024-11-21T13:20:57.850Z] STF 13:20:57.544 - | Create modular jar [2024-11-21T13:20:57.850Z] STF 13:20:57.544 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2024-11-21T13:20:57.850Z] STF 13:20:57.544 - | ModuleVersion: null [2024-11-21T13:20:57.850Z] STF 13:20:57.544 - | MainClass: null [2024-11-21T13:20:57.850Z] STF 13:20:57.544 - | HashModules: null [2024-11-21T13:20:57.850Z] STF 13:20:57.544 - | [2024-11-21T13:20:57.850Z] STF 13:20:57.545 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_0/aqa-tests/TKG/output_17321854507101/PatModImg_PlatMod_0/20241121-132039-PatModImgTest/modules/3.com.helper.jar -C /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper . [2024-11-21T13:20:57.850Z] STF 13:20:57.545 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_0/aqa-tests/TKG/output_17321854507101/PatModImg_PlatMod_0/20241121-132039-PatModImgTest/results/3.CMJ.stderr [2024-11-21T13:20:57.850Z] STF 13:20:57.545 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_0/aqa-tests/TKG/output_17321854507101/PatModImg_PlatMod_0/20241121-132039-PatModImgTest/results/3.CMJ.stdout [2024-11-21T13:20:57.850Z] STF 13:20:57.554 - Monitoring processes: CMJ [2024-11-21T13:20:57.850Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-21T13:21:00.349Z] STF 13:20:59.338 - Monitoring Report Summary: [2024-11-21T13:21:00.349Z] STF 13:20:59.338 - o Process CMJ ended with the expected exit code (0) [2024-11-21T13:21:00.349Z] STF 13:20:59.338 - Created modular jar: 3.com.helper.jar [2024-11-21T13:21:00.349Z] STF 13:20:59.338 - [2024-11-21T13:21:00.349Z] STF 13:20:59.338 - +------ Step 4 - Create com.discreet jar [2024-11-21T13:21:00.349Z] STF 13:20:59.339 - | Create modular jar [2024-11-21T13:21:00.349Z] STF 13:20:59.339 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2024-11-21T13:21:00.349Z] STF 13:20:59.339 - | ModuleVersion: null [2024-11-21T13:21:00.349Z] STF 13:20:59.339 - | MainClass: null [2024-11-21T13:21:00.349Z] STF 13:20:59.339 - | HashModules: null [2024-11-21T13:21:00.349Z] STF 13:20:59.339 - | [2024-11-21T13:21:00.349Z] STF 13:20:59.339 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_0/aqa-tests/TKG/output_17321854507101/PatModImg_PlatMod_0/20241121-132039-PatModImgTest/modules/4.com.discreet.jar -C /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet . [2024-11-21T13:21:00.349Z] STF 13:20:59.339 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_0/aqa-tests/TKG/output_17321854507101/PatModImg_PlatMod_0/20241121-132039-PatModImgTest/results/4.CMJ.stderr [2024-11-21T13:21:00.349Z] STF 13:20:59.339 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_0/aqa-tests/TKG/output_17321854507101/PatModImg_PlatMod_0/20241121-132039-PatModImgTest/results/4.CMJ.stdout [2024-11-21T13:21:00.349Z] STF 13:20:59.359 - Monitoring processes: CMJ [2024-11-21T13:21:00.349Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-21T13:21:01.952Z] STF 13:21:01.712 - Monitoring Report Summary: [2024-11-21T13:21:01.952Z] STF 13:21:01.712 - o Process CMJ ended with the expected exit code (0) [2024-11-21T13:21:01.952Z] STF 13:21:01.713 - Created modular jar: 4.com.discreet.jar [2024-11-21T13:21:01.952Z] STF 13:21:01.713 - [2024-11-21T13:21:01.952Z] STF 13:21:01.713 - +------ Step 5 - Create tests jar [2024-11-21T13:21:01.952Z] STF 13:21:01.713 - | Create modular jar [2024-11-21T13:21:01.952Z] STF 13:21:01.713 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2024-11-21T13:21:01.952Z] STF 13:21:01.713 - | ModuleVersion: null [2024-11-21T13:21:01.952Z] STF 13:21:01.713 - | MainClass: null [2024-11-21T13:21:01.952Z] STF 13:21:01.713 - | HashModules: null [2024-11-21T13:21:01.952Z] STF 13:21:01.713 - | [2024-11-21T13:21:01.952Z] STF 13:21:01.713 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_0/aqa-tests/TKG/output_17321854507101/PatModImg_PlatMod_0/20241121-132039-PatModImgTest/modules/5.com.test.jar -C /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test . [2024-11-21T13:21:01.952Z] STF 13:21:01.713 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_0/aqa-tests/TKG/output_17321854507101/PatModImg_PlatMod_0/20241121-132039-PatModImgTest/results/5.CMJ.stderr [2024-11-21T13:21:01.952Z] STF 13:21:01.713 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_0/aqa-tests/TKG/output_17321854507101/PatModImg_PlatMod_0/20241121-132039-PatModImgTest/results/5.CMJ.stdout [2024-11-21T13:21:01.952Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-21T13:21:01.952Z] STF 13:21:01.735 - Monitoring processes: CMJ [2024-11-21T13:21:04.455Z] STF 13:21:03.995 - Monitoring Report Summary: [2024-11-21T13:21:04.455Z] STF 13:21:03.995 - o Process CMJ ended with the expected exit code (0) [2024-11-21T13:21:04.455Z] STF 13:21:03.996 - Created modular jar: 5.com.test.jar [2024-11-21T13:21:04.455Z] STF 13:21:03.996 - [2024-11-21T13:21:04.455Z] STF 13:21:03.996 - +------ Step 6 - Create runtime image for PatchModule test [2024-11-21T13:21:04.455Z] STF 13:21:03.996 - | Run jlink to create runtime image [2024-11-21T13:21:04.455Z] STF 13:21:03.996 - | ImageName: XpJVM [2024-11-21T13:21:04.455Z] STF 13:21:03.996 - | [2024-11-21T13:21:04.455Z] STF 13:21:03.996 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_0/jdkbinary/j2sdk-image/bin/jlink --module-path /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_0/jdkbinary/j2sdk-image/jmods:/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_0/aqa-tests/TKG/output_17321854507101/PatModImg_PlatMod_0/20241121-132039-PatModImgTest/modules --add-modules com.hello,com.hola,com.test,com.helper,com.discreet --output /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_0/aqa-tests/TKG/output_17321854507101/PatModImg_PlatMod_0/20241121-132039-PatModImgTest/tmp/6.XpJVM [2024-11-21T13:21:04.455Z] STF 13:21:03.996 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_0/aqa-tests/TKG/output_17321854507101/PatModImg_PlatMod_0/20241121-132039-PatModImgTest/results/6.JLNK.stderr [2024-11-21T13:21:04.455Z] STF 13:21:03.996 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_0/aqa-tests/TKG/output_17321854507101/PatModImg_PlatMod_0/20241121-132039-PatModImgTest/results/6.JLNK.stdout [2024-11-21T13:21:04.455Z] STF 13:21:04.006 - Monitoring processes: JLNK [2024-11-21T13:21:04.455Z] JLNK stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-21T13:21:30.180Z] STF 13:21:27.177 - Monitoring Report Summary: [2024-11-21T13:21:30.180Z] STF 13:21:27.177 - o Process JLNK ended with the expected exit code (0) [2024-11-21T13:21:30.180Z] STF 13:21:27.178 - [2024-11-21T13:21:30.180Z] STF 13:21:27.178 - +------ Step 7 - Create com.hello jar [2024-11-21T13:21:30.180Z] STF 13:21:27.178 - | Create modular jar [2024-11-21T13:21:30.180Z] STF 13:21:27.178 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2024-11-21T13:21:30.180Z] STF 13:21:27.178 - | ModuleVersion: null [2024-11-21T13:21:30.180Z] STF 13:21:27.178 - | MainClass: null [2024-11-21T13:21:30.180Z] STF 13:21:27.178 - | HashModules: null [2024-11-21T13:21:30.180Z] STF 13:21:27.178 - | [2024-11-21T13:21:30.180Z] STF 13:21:27.178 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_0/aqa-tests/TKG/output_17321854507101/PatModImg_PlatMod_0/20241121-132039-PatModImgTest/modules/7.com.hello.jar -C /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello . [2024-11-21T13:21:30.180Z] STF 13:21:27.178 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_0/aqa-tests/TKG/output_17321854507101/PatModImg_PlatMod_0/20241121-132039-PatModImgTest/results/7.CMJ.stderr [2024-11-21T13:21:30.180Z] STF 13:21:27.178 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_0/aqa-tests/TKG/output_17321854507101/PatModImg_PlatMod_0/20241121-132039-PatModImgTest/results/7.CMJ.stdout [2024-11-21T13:21:30.180Z] STF 13:21:27.189 - Monitoring processes: CMJ [2024-11-21T13:21:30.180Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-21T13:21:30.180Z] STF 13:21:29.618 - Monitoring Report Summary: [2024-11-21T13:21:30.180Z] STF 13:21:29.619 - o Process CMJ ended with the expected exit code (0) [2024-11-21T13:21:30.180Z] STF 13:21:29.619 - Created modular jar: 7.com.hello.jar [2024-11-21T13:21:30.180Z] STF 13:21:29.619 - [2024-11-21T13:21:30.180Z] STF 13:21:29.619 - +------ Step 8 - create java.xml.jar [2024-11-21T13:21:30.180Z] STF 13:21:29.619 - | Create modular jar [2024-11-21T13:21:30.181Z] STF 13:21:29.619 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml [2024-11-21T13:21:30.181Z] STF 13:21:29.619 - | ModuleVersion: null [2024-11-21T13:21:30.181Z] STF 13:21:29.619 - | MainClass: null [2024-11-21T13:21:30.181Z] STF 13:21:29.619 - | HashModules: null [2024-11-21T13:21:30.181Z] STF 13:21:29.619 - | [2024-11-21T13:21:30.181Z] STF 13:21:29.620 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_0/aqa-tests/TKG/output_17321854507101/PatModImg_PlatMod_0/20241121-132039-PatModImgTest/modules/8.java.xml.jar -C /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/java.xml . [2024-11-21T13:21:30.181Z] STF 13:21:29.620 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_0/aqa-tests/TKG/output_17321854507101/PatModImg_PlatMod_0/20241121-132039-PatModImgTest/results/8.CMJ.stderr [2024-11-21T13:21:30.181Z] STF 13:21:29.620 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_0/aqa-tests/TKG/output_17321854507101/PatModImg_PlatMod_0/20241121-132039-PatModImgTest/results/8.CMJ.stdout [2024-11-21T13:21:30.181Z] STF 13:21:29.621 - Monitoring processes: CMJ [2024-11-21T13:21:30.181Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-21T13:21:32.691Z] STF 13:21:32.024 - Monitoring Report Summary: [2024-11-21T13:21:32.691Z] STF 13:21:32.024 - o Process CMJ ended with the expected exit code (0) [2024-11-21T13:21:32.691Z] STF 13:21:32.024 - Created modular jar: 8.java.xml.jar [2024-11-21T13:21:32.691Z] STF 13:21:32.024 - [2024-11-21T13:21:32.691Z] STF 13:21:32.024 - +------ Step 9 - Verify if we can patch an upgradable platform module using exploded directory [2024-11-21T13:21:32.691Z] STF 13:21:32.024 - | Run foreground process [2024-11-21T13:21:32.691Z] STF 13:21:32.024 - | Program: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_0/aqa-tests/TKG/output_17321854507101/PatModImg_PlatMod_0/20241121-132039-PatModImgTest/tmp/6.XpJVM/bin/java [2024-11-21T13:21:32.691Z] STF 13:21:32.024 - | Mnemonic: OT11 [2024-11-21T13:21:32.691Z] STF 13:21:32.024 - | Echo: ECHO_ON [2024-11-21T13:21:32.691Z] STF 13:21:32.024 - | Expectation: CLEAN_RUN within 5m [2024-11-21T13:21:32.691Z] STF 13:21:32.024 - | [2024-11-21T13:21:32.691Z] STF 13:21:32.025 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_0/aqa-tests/TKG/output_17321854507101/PatModImg_PlatMod_0/20241121-132039-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module java.xml=/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_0/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-11-21T13:21:32.691Z] STF 13:21:32.025 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_0/aqa-tests/TKG/output_17321854507101/PatModImg_PlatMod_0/20241121-132039-PatModImgTest/results/9.OT11.stderr [2024-11-21T13:21:32.691Z] STF 13:21:32.025 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_0/aqa-tests/TKG/output_17321854507101/PatModImg_PlatMod_0/20241121-132039-PatModImgTest/results/9.OT11.stdout [2024-11-21T13:21:32.691Z] STF 13:21:32.037 - Monitoring processes: OT11 [2024-11-21T13:21:32.691Z] OT11 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-21T13:21:33.456Z] OT11 stderr WARNING: module-info.class ignored in patch: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/java.xml [2024-11-21T13:21:34.213Z] OT11 JUnit version 4.12 [2024-11-21T13:21:34.992Z] OT11 . [2024-11-21T13:21:34.992Z] OT11 Time: 0.04 [2024-11-21T13:21:34.992Z] OT11 [2024-11-21T13:21:34.992Z] OT11 OK (1 test) [2024-11-21T13:21:34.992Z] OT11 [2024-11-21T13:21:34.992Z] STF 13:21:34.752 - Monitoring Report Summary: [2024-11-21T13:21:34.992Z] STF 13:21:34.752 - o Process OT11 ended with the expected exit code (0) [2024-11-21T13:21:34.992Z] STF 13:21:34.752 - [2024-11-21T13:21:34.992Z] STF 13:21:34.752 - +------ Step 10 - Verify if we can patch an upgradable platform module using modular jar [2024-11-21T13:21:34.992Z] STF 13:21:34.752 - | Run foreground process [2024-11-21T13:21:34.992Z] STF 13:21:34.752 - | Program: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_0/aqa-tests/TKG/output_17321854507101/PatModImg_PlatMod_0/20241121-132039-PatModImgTest/tmp/6.XpJVM/bin/java [2024-11-21T13:21:34.992Z] STF 13:21:34.752 - | Mnemonic: OT12 [2024-11-21T13:21:34.992Z] STF 13:21:34.752 - | Echo: ECHO_ON [2024-11-21T13:21:34.992Z] STF 13:21:34.752 - | Expectation: CLEAN_RUN within 5m [2024-11-21T13:21:34.992Z] STF 13:21:34.752 - | [2024-11-21T13:21:34.992Z] STF 13:21:34.753 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_0/aqa-tests/TKG/output_17321854507101/PatModImg_PlatMod_0/20241121-132039-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module java.xml=/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_0/aqa-tests/TKG/output_17321854507101/PatModImg_PlatMod_0/20241121-132039-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-11-21T13:21:34.992Z] STF 13:21:34.753 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_0/aqa-tests/TKG/output_17321854507101/PatModImg_PlatMod_0/20241121-132039-PatModImgTest/results/10.OT12.stderr [2024-11-21T13:21:34.992Z] STF 13:21:34.753 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_0/aqa-tests/TKG/output_17321854507101/PatModImg_PlatMod_0/20241121-132039-PatModImgTest/results/10.OT12.stdout [2024-11-21T13:21:34.992Z] STF 13:21:34.754 - Monitoring processes: OT12 [2024-11-21T13:21:35.767Z] OT12 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-21T13:21:36.535Z] OT12 stderr WARNING: module-info.class ignored in patch: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_0/aqa-tests/TKG/output_17321854507101/PatModImg_PlatMod_0/20241121-132039-PatModImgTest/modules/8.java.xml.jar [2024-11-21T13:21:37.319Z] OT12 JUnit version 4.12 [2024-11-21T13:21:38.098Z] OT12 . [2024-11-21T13:21:38.098Z] OT12 Time: 0.049 [2024-11-21T13:21:38.098Z] OT12 [2024-11-21T13:21:38.098Z] OT12 OK (1 test) [2024-11-21T13:21:38.098Z] OT12 [2024-11-21T13:21:38.098Z] STF 13:21:37.206 - Monitoring Report Summary: [2024-11-21T13:21:38.098Z] STF 13:21:37.206 - o Process OT12 ended with the expected exit code (0) [2024-11-21T13:21:38.098Z] STF 13:21:37.207 - EXECUTE stage completed [2024-11-21T13:21:38.098Z] STF 13:21:37.381 - [2024-11-21T13:21:38.098Z] STF 13:21:37.381 - ==================== T E A R D O W N ==================== [2024-11-21T13:21:38.098Z] STF 13:21:37.381 - Running teardown: perl /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_alpine-linux_testList_0/aqa-tests/TKG/../TKG/output_17321854507101/PatModImg_PlatMod_0/20241121-132039-PatModImgTest/tearDown.pl [2024-11-21T13:21:38.098Z] STF 13:21:37.956 - TEARDOWN stage completed [2024-11-21T13:21:38.098Z] STF 13:21:37.977 - [2024-11-21T13:21:38.098Z] STF 13:21:37.977 - ===================== R E S U L T S ===================== [2024-11-21T13:21:38.098Z] STF 13:21:37.977 - Stage results: [2024-11-21T13:21:38.098Z] STF 13:21:37.977 - setUp: pass [2024-11-21T13:21:38.098Z] STF 13:21:37.977 - execute: pass [2024-11-21T13:21:38.098Z] STF 13:21:37.977 - teardown: pass [2024-11-21T13:21:38.098Z] STF 13:21:37.977 - [2024-11-21T13:21:38.098Z] STF 13:21:37.977 - Overall result: PASSED [2024-11-21T13:21:38.098Z] ----------------------------------- [2024-11-21T13:21:38.098Z] PatModImg_PlatMod_0_PASSED [2024-11-21T13:21:38.098Z] ----------------------------------- [2024-11-21T13:21:38.875Z] [2024-11-21T13:21:38.875Z] TEST TEARDOWN: [2024-11-21T13:21:38.875Z] Nothing to be done for teardown. [2024-11-21T13:21:38.875Z] PatModImg_PlatMod_0 Finish Time: Thu Nov 21 13:21:38 2024 Epoch Time (ms): 1732195298214