PatModImg_PlatMod_1

[2024-11-13T21:50:29.558Z] Running test PatModImg_PlatMod_1 ... [2024-11-13T21:50:29.558Z] =============================================== [2024-11-13T21:50:30.224Z] PatModImg_PlatMod_1 Start Time: Wed Nov 13 15:50:29 2024 Epoch Time (ms): 1731534629530 [2024-11-13T21:50:30.225Z] variation: Mode650 [2024-11-13T21:50:30.225Z] JVM_OPTIONS: -XX:-UseCompressedOops [2024-11-13T21:50:30.225Z] { \ [2024-11-13T21:50:30.225Z] echo ""; echo "TEST SETUP:"; \ [2024-11-13T21:50:30.225Z] echo "Nothing to be done for setup."; \ [2024-11-13T21:50:30.225Z] mkdir -p "/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/../TKG/output_17315346297418/PatModImg_PlatMod_1"; \ [2024-11-13T21:50:30.225Z] cd "/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/../TKG/output_17315346297418/PatModImg_PlatMod_1"; \ [2024-11-13T21:50:30.225Z] echo ""; echo "TESTING:"; \ [2024-11-13T21:50:30.225Z] perl /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF/stf.core/scripts/stf.pl -test-root="/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF;/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/../../jvmtest/system/modularity/..//aqa-systemtest""" -systemtest-prereqs="/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/../../testDependency/system_lib/" -java-args=' -XX:-UseCompressedOops ' -results-root="/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/../TKG/output_17315346297418/PatModImg_PlatMod_1" -test=PatModImgTest -test-args="variant=PlatMod"; \ [2024-11-13T21:50:30.225Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatModImg_PlatMod_1""_PASSED"; echo "-----------------------------------"; cd /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/..; rm -f -r "/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/../TKG/output_17315346297418/PatModImg_PlatMod_1"; else echo "-----------------------------------"; echo "PatModImg_PlatMod_1""_FAILED"; echo "-----------------------------------"; fi; \ [2024-11-13T21:50:30.225Z] echo ""; echo "TEST TEARDOWN:"; \ [2024-11-13T21:50:30.225Z] echo "Nothing to be done for teardown."; \ [2024-11-13T21:50:30.225Z] } 2>&1 | tee -a "/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/../TKG/output_17315346297418/TestTargetResult"; [2024-11-13T21:50:30.225Z] [2024-11-13T21:50:30.225Z] TEST SETUP: [2024-11-13T21:50:30.225Z] Nothing to be done for setup. [2024-11-13T21:50:30.225Z] [2024-11-13T21:50:30.225Z] TESTING: [2024-11-13T21:50:30.225Z] STF 15:50:29.668 - ========================= S T F ========================= [2024-11-13T21:50:30.225Z] 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_linux_testList_1/aqa-tests/TKG/../TKG/output_17315346297418/PatModImg_PlatMod_1 [2024-11-13T21:50:30.225Z] There is 10144 Mb free [2024-11-13T21:50:30.225Z] STF 15:50:29.677 - ================== G E N E R A T I O N ================== [2024-11-13T21:50:30.225Z] STF 15:50:29.677 - Checking JVM: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/jdkbinary/j2sdk-image/jdk-21.0.6+3/bin/../ [2024-11-13T21:50:30.225Z] STF 15:50:29.677 - Starting process to generate scripts: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/jdkbinary/j2sdk-image/jdk-21.0.6+3/bin/..//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_linux_testList_1/../../testDependency/system_lib//log4j/log4j-api.jar:/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/../../testDependency/system_lib//log4j/log4j-core.jar:/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/../TKG/output_17315346297418/PatModImg_PlatMod_1/20241113-155029-PatModImgTest/stf_parameters.properties, , /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/../TKG/output_17315346297418/PatModImg_PlatMod_1/20241113-155029-PatModImgTest" [2024-11-13T21:50:30.225Z] GEN stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-13T21:50:30.225Z] GEN [0.016s][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-13T21:50:30.895Z] GEN 15:50:30.397 - Found test. Project: 'openjdk.test.modularity' class: 'PatModImgTest.class' Dir: '/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin' [2024-11-13T21:50:30.895Z] GEN 15:50:30.403 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModImgTest' [2024-11-13T21:50:30.895Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2024-11-13T21:50:30.895Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayService [2024-11-13T21:50:30.895Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper [2024-11-13T21:50:30.895Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl1 [2024-11-13T21:50:30.895Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet [2024-11-13T21:50:30.895Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello [2024-11-13T21:50:30.895Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola [2024-11-13T21:50:30.895Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl2 [2024-11-13T21:50:30.895Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hi [2024-11-13T21:50:30.895Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override [2024-11-13T21:50:30.895Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override-new [2024-11-13T21:50:30.895Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl3 [2024-11-13T21:50:30.895Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl4 [2024-11-13T21:50:30.895Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common [2024-11-13T21:50:30.895Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests [2024-11-13T21:50:30.895Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin [2024-11-13T21:50:30.895Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/STF/stf.core/bin [2024-11-13T21:50:30.895Z] GEN /home/jenkins/testDependency/system_lib/log4j/log4j-api.jar [2024-11-13T21:50:30.895Z] GEN /home/jenkins/testDependency/system_lib/log4j/log4j-core.jar [2024-11-13T21:50:30.895Z] GEN /home/jenkins/testDependency/system_lib/junit/junit.jar [2024-11-13T21:50:30.895Z] GEN 15:50:30.581 - Using Mode NoOptions. Values = '' [2024-11-13T21:50:30.895Z] GEN 15:50:30.630 - [2024-11-13T21:50:30.895Z] GEN 15:50:30.630 - Test command summary: [2024-11-13T21:50:30.895Z] GEN 15:50:30.630 - Step Stage Command Description [2024-11-13T21:50:30.895Z] GEN 15:50:30.630 - -----+--------+-----------------+------------ [2024-11-13T21:50:30.895Z] GEN 15:50:30.630 - 1 execute jar Create com.hello jar [2024-11-13T21:50:30.895Z] GEN 15:50:30.630 - 2 execute jar Create com.hola jar [2024-11-13T21:50:30.895Z] GEN 15:50:30.630 - 3 execute jar Create com.helper jar [2024-11-13T21:50:30.895Z] GEN 15:50:30.631 - 4 execute jar Create com.discreet jar [2024-11-13T21:50:30.895Z] GEN 15:50:30.631 - 5 execute jar Create tests jar [2024-11-13T21:50:30.895Z] GEN 15:50:30.631 - 6 execute jlink Create runtime image for PatchModule test [2024-11-13T21:50:30.895Z] GEN 15:50:30.631 - 7 execute jar Create com.hello jar [2024-11-13T21:50:30.895Z] GEN 15:50:30.631 - 8 execute jar create java.xml.jar [2024-11-13T21:50:30.895Z] GEN 15:50:30.631 - 9 execute Run java Verify if we can patch an upgradable platform module using exploded directory [2024-11-13T21:50:30.895Z] GEN 15:50:30.631 - 10 execute Run java Verify if we can patch an upgradable platform module using modular jar [2024-11-13T21:50:30.895Z] STF 15:50:30.676 - [2024-11-13T21:50:30.895Z] STF 15:50:30.676 - Script generation completed [2024-11-13T21:50:30.895Z] STF 15:50:30.676 - [2024-11-13T21:50:30.895Z] STF 15:50:30.677 - [2024-11-13T21:50:30.895Z] STF 15:50:30.677 - ======================= S E T U P ======================= [2024-11-13T21:50:30.895Z] STF 15:50:30.677 - Running setup: perl /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/../TKG/output_17315346297418/PatModImg_PlatMod_1/20241113-155029-PatModImgTest/setUp.pl [2024-11-13T21:50:30.895Z] STF 15:50:30.732 - SETUP stage completed [2024-11-13T21:50:30.895Z] STF 15:50:30.736 - [2024-11-13T21:50:30.895Z] STF 15:50:30.736 - ==================== E X E C U T E - ==================== [2024-11-13T21:50:30.895Z] STF 15:50:30.736 - Running execute: perl /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/../TKG/output_17315346297418/PatModImg_PlatMod_1/20241113-155029-PatModImgTest/execute.pl [2024-11-13T21:50:30.895Z] STF 15:50:30.779 - [2024-11-13T21:50:30.895Z] STF 15:50:30.780 - Java version [2024-11-13T21:50:30.895Z] STF 15:50:30.780 - Running: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/jdkbinary/j2sdk-image/jdk-21.0.6+3/bin/java -version [2024-11-13T21:50:30.895Z] Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-13T21:50:30.895Z] openjdk version "21.0.6-beta" 2025-01-21 [2024-11-13T21:50:30.895Z] OpenJDK Runtime Environment Temurin-21.0.6+3-202411132010 (build 21.0.6-beta+3-ea) [2024-11-13T21:50:30.895Z] OpenJDK 64-Bit Server VM Temurin-21.0.6+3-202411132010 (build 21.0.6-beta+3-ea, mixed mode, sharing) [2024-11-13T21:50:31.563Z] STF 15:50:30.851 - [2024-11-13T21:50:31.563Z] STF 15:50:30.851 - +------ Step 1 - Create com.hello jar [2024-11-13T21:50:31.563Z] STF 15:50:30.851 - | Create modular jar [2024-11-13T21:50:31.563Z] STF 15:50:30.851 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2024-11-13T21:50:31.563Z] STF 15:50:30.851 - | ModuleVersion: null [2024-11-13T21:50:31.563Z] STF 15:50:30.851 - | MainClass: null [2024-11-13T21:50:31.563Z] STF 15:50:30.851 - | HashModules: null [2024-11-13T21:50:31.563Z] STF 15:50:30.851 - | [2024-11-13T21:50:31.563Z] STF 15:50:30.853 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/jdkbinary/j2sdk-image/jdk-21.0.6+3/bin/jar --create --file /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17315346297418/PatModImg_PlatMod_1/20241113-155029-PatModImgTest/modules/1.com.hello.jar -C /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello . [2024-11-13T21:50:31.563Z] STF 15:50:30.853 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17315346297418/PatModImg_PlatMod_1/20241113-155029-PatModImgTest/results/1.CMJ.stderr [2024-11-13T21:50:31.563Z] STF 15:50:30.853 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17315346297418/PatModImg_PlatMod_1/20241113-155029-PatModImgTest/results/1.CMJ.stdout [2024-11-13T21:50:31.563Z] STF 15:50:30.869 - Monitoring processes: CMJ [2024-11-13T21:50:31.563Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-13T21:50:31.563Z] STF 15:50:31.141 - Monitoring Report Summary: [2024-11-13T21:50:31.563Z] STF 15:50:31.141 - o Process CMJ ended with the expected exit code (0) [2024-11-13T21:50:31.563Z] STF 15:50:31.142 - Created modular jar: 1.com.hello.jar [2024-11-13T21:50:31.563Z] STF 15:50:31.142 - [2024-11-13T21:50:31.563Z] STF 15:50:31.142 - +------ Step 2 - Create com.hola jar [2024-11-13T21:50:31.563Z] STF 15:50:31.142 - | Create modular jar [2024-11-13T21:50:31.563Z] STF 15:50:31.142 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2024-11-13T21:50:31.563Z] STF 15:50:31.142 - | ModuleVersion: null [2024-11-13T21:50:31.563Z] STF 15:50:31.142 - | MainClass: null [2024-11-13T21:50:31.563Z] STF 15:50:31.142 - | HashModules: null [2024-11-13T21:50:31.563Z] STF 15:50:31.142 - | [2024-11-13T21:50:31.563Z] STF 15:50:31.142 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/jdkbinary/j2sdk-image/jdk-21.0.6+3/bin/jar --create --file /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17315346297418/PatModImg_PlatMod_1/20241113-155029-PatModImgTest/modules/2.com.hola.jar -C /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola . [2024-11-13T21:50:31.563Z] STF 15:50:31.142 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17315346297418/PatModImg_PlatMod_1/20241113-155029-PatModImgTest/results/2.CMJ.stderr [2024-11-13T21:50:31.563Z] STF 15:50:31.143 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17315346297418/PatModImg_PlatMod_1/20241113-155029-PatModImgTest/results/2.CMJ.stdout [2024-11-13T21:50:31.563Z] STF 15:50:31.145 - Monitoring processes: CMJ [2024-11-13T21:50:31.563Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-13T21:50:31.564Z] STF 15:50:31.398 - Monitoring Report Summary: [2024-11-13T21:50:31.564Z] STF 15:50:31.398 - o Process CMJ ended with the expected exit code (0) [2024-11-13T21:50:31.564Z] STF 15:50:31.399 - Created modular jar: 2.com.hola.jar [2024-11-13T21:50:31.564Z] STF 15:50:31.399 - [2024-11-13T21:50:31.564Z] STF 15:50:31.399 - +------ Step 3 - Create com.helper jar [2024-11-13T21:50:31.564Z] STF 15:50:31.399 - | Create modular jar [2024-11-13T21:50:31.564Z] STF 15:50:31.399 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2024-11-13T21:50:31.564Z] STF 15:50:31.399 - | ModuleVersion: null [2024-11-13T21:50:31.564Z] STF 15:50:31.399 - | MainClass: null [2024-11-13T21:50:31.564Z] STF 15:50:31.399 - | HashModules: null [2024-11-13T21:50:31.564Z] STF 15:50:31.399 - | [2024-11-13T21:50:31.564Z] STF 15:50:31.400 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/jdkbinary/j2sdk-image/jdk-21.0.6+3/bin/jar --create --file /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17315346297418/PatModImg_PlatMod_1/20241113-155029-PatModImgTest/modules/3.com.helper.jar -C /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper . [2024-11-13T21:50:31.564Z] STF 15:50:31.400 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17315346297418/PatModImg_PlatMod_1/20241113-155029-PatModImgTest/results/3.CMJ.stderr [2024-11-13T21:50:31.564Z] STF 15:50:31.400 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17315346297418/PatModImg_PlatMod_1/20241113-155029-PatModImgTest/results/3.CMJ.stdout [2024-11-13T21:50:31.564Z] STF 15:50:31.403 - Monitoring processes: CMJ [2024-11-13T21:50:31.564Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-13T21:50:32.233Z] STF 15:50:31.649 - Monitoring Report Summary: [2024-11-13T21:50:32.233Z] STF 15:50:31.649 - o Process CMJ ended with the expected exit code (0) [2024-11-13T21:50:32.233Z] STF 15:50:31.650 - Created modular jar: 3.com.helper.jar [2024-11-13T21:50:32.233Z] STF 15:50:31.650 - [2024-11-13T21:50:32.233Z] STF 15:50:31.650 - +------ Step 4 - Create com.discreet jar [2024-11-13T21:50:32.233Z] STF 15:50:31.650 - | Create modular jar [2024-11-13T21:50:32.233Z] STF 15:50:31.650 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2024-11-13T21:50:32.233Z] STF 15:50:31.650 - | ModuleVersion: null [2024-11-13T21:50:32.233Z] STF 15:50:31.650 - | MainClass: null [2024-11-13T21:50:32.233Z] STF 15:50:31.650 - | HashModules: null [2024-11-13T21:50:32.233Z] STF 15:50:31.650 - | [2024-11-13T21:50:32.233Z] STF 15:50:31.650 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/jdkbinary/j2sdk-image/jdk-21.0.6+3/bin/jar --create --file /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17315346297418/PatModImg_PlatMod_1/20241113-155029-PatModImgTest/modules/4.com.discreet.jar -C /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet . [2024-11-13T21:50:32.233Z] STF 15:50:31.650 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17315346297418/PatModImg_PlatMod_1/20241113-155029-PatModImgTest/results/4.CMJ.stderr [2024-11-13T21:50:32.233Z] STF 15:50:31.650 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17315346297418/PatModImg_PlatMod_1/20241113-155029-PatModImgTest/results/4.CMJ.stdout [2024-11-13T21:50:32.233Z] STF 15:50:31.651 - Monitoring processes: CMJ [2024-11-13T21:50:32.233Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-13T21:50:32.233Z] STF 15:50:31.923 - Monitoring Report Summary: [2024-11-13T21:50:32.233Z] STF 15:50:31.923 - o Process CMJ ended with the expected exit code (0) [2024-11-13T21:50:32.233Z] STF 15:50:31.923 - Created modular jar: 4.com.discreet.jar [2024-11-13T21:50:32.233Z] STF 15:50:31.923 - [2024-11-13T21:50:32.233Z] STF 15:50:31.923 - +------ Step 5 - Create tests jar [2024-11-13T21:50:32.233Z] STF 15:50:31.924 - | Create modular jar [2024-11-13T21:50:32.233Z] STF 15:50:31.924 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2024-11-13T21:50:32.233Z] STF 15:50:31.924 - | ModuleVersion: null [2024-11-13T21:50:32.233Z] STF 15:50:31.924 - | MainClass: null [2024-11-13T21:50:32.233Z] STF 15:50:31.924 - | HashModules: null [2024-11-13T21:50:32.233Z] STF 15:50:31.924 - | [2024-11-13T21:50:32.233Z] STF 15:50:31.924 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/jdkbinary/j2sdk-image/jdk-21.0.6+3/bin/jar --create --file /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17315346297418/PatModImg_PlatMod_1/20241113-155029-PatModImgTest/modules/5.com.test.jar -C /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test . [2024-11-13T21:50:32.233Z] STF 15:50:31.924 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17315346297418/PatModImg_PlatMod_1/20241113-155029-PatModImgTest/results/5.CMJ.stderr [2024-11-13T21:50:32.233Z] STF 15:50:31.924 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17315346297418/PatModImg_PlatMod_1/20241113-155029-PatModImgTest/results/5.CMJ.stdout [2024-11-13T21:50:32.233Z] STF 15:50:31.927 - Monitoring processes: CMJ [2024-11-13T21:50:32.233Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-13T21:50:32.923Z] STF 15:50:32.228 - Monitoring Report Summary: [2024-11-13T21:50:32.923Z] STF 15:50:32.228 - o Process CMJ ended with the expected exit code (0) [2024-11-13T21:50:32.923Z] STF 15:50:32.229 - Created modular jar: 5.com.test.jar [2024-11-13T21:50:32.923Z] STF 15:50:32.229 - [2024-11-13T21:50:32.923Z] STF 15:50:32.229 - +------ Step 6 - Create runtime image for PatchModule test [2024-11-13T21:50:32.923Z] STF 15:50:32.229 - | Run jlink to create runtime image [2024-11-13T21:50:32.923Z] STF 15:50:32.229 - | ImageName: XpJVM [2024-11-13T21:50:32.923Z] STF 15:50:32.229 - | [2024-11-13T21:50:32.923Z] STF 15:50:32.229 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/jdkbinary/j2sdk-image/jdk-21.0.6+3/bin/jlink --module-path /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/jdkbinary/j2sdk-image/jdk-21.0.6+3/jmods:/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17315346297418/PatModImg_PlatMod_1/20241113-155029-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_linux_testList_1/aqa-tests/TKG/output_17315346297418/PatModImg_PlatMod_1/20241113-155029-PatModImgTest/tmp/6.XpJVM [2024-11-13T21:50:32.923Z] STF 15:50:32.229 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17315346297418/PatModImg_PlatMod_1/20241113-155029-PatModImgTest/results/6.JLNK.stderr [2024-11-13T21:50:32.923Z] STF 15:50:32.229 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17315346297418/PatModImg_PlatMod_1/20241113-155029-PatModImgTest/results/6.JLNK.stdout [2024-11-13T21:50:32.923Z] STF 15:50:32.232 - Monitoring processes: JLNK [2024-11-13T21:50:32.923Z] JLNK stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-13T21:50:35.087Z] STF 15:50:34.530 - Monitoring Report Summary: [2024-11-13T21:50:35.087Z] STF 15:50:34.530 - o Process JLNK ended with the expected exit code (0) [2024-11-13T21:50:35.087Z] STF 15:50:34.531 - [2024-11-13T21:50:35.087Z] STF 15:50:34.531 - +------ Step 7 - Create com.hello jar [2024-11-13T21:50:35.087Z] STF 15:50:34.531 - | Create modular jar [2024-11-13T21:50:35.087Z] STF 15:50:34.531 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2024-11-13T21:50:35.087Z] STF 15:50:34.531 - | ModuleVersion: null [2024-11-13T21:50:35.087Z] STF 15:50:34.531 - | MainClass: null [2024-11-13T21:50:35.087Z] STF 15:50:34.531 - | HashModules: null [2024-11-13T21:50:35.087Z] STF 15:50:34.531 - | [2024-11-13T21:50:35.087Z] STF 15:50:34.532 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/jdkbinary/j2sdk-image/jdk-21.0.6+3/bin/jar --create --file /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17315346297418/PatModImg_PlatMod_1/20241113-155029-PatModImgTest/modules/7.com.hello.jar -C /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello . [2024-11-13T21:50:35.087Z] STF 15:50:34.532 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17315346297418/PatModImg_PlatMod_1/20241113-155029-PatModImgTest/results/7.CMJ.stderr [2024-11-13T21:50:35.087Z] STF 15:50:34.532 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17315346297418/PatModImg_PlatMod_1/20241113-155029-PatModImgTest/results/7.CMJ.stdout [2024-11-13T21:50:35.087Z] STF 15:50:34.534 - Monitoring processes: CMJ [2024-11-13T21:50:35.087Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-13T21:50:35.087Z] STF 15:50:34.840 - Monitoring Report Summary: [2024-11-13T21:50:35.087Z] STF 15:50:34.840 - o Process CMJ ended with the expected exit code (0) [2024-11-13T21:50:35.087Z] STF 15:50:34.841 - Created modular jar: 7.com.hello.jar [2024-11-13T21:50:35.087Z] STF 15:50:34.841 - [2024-11-13T21:50:35.087Z] STF 15:50:34.841 - +------ Step 8 - create java.xml.jar [2024-11-13T21:50:35.087Z] STF 15:50:34.841 - | Create modular jar [2024-11-13T21:50:35.087Z] STF 15:50:34.841 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml [2024-11-13T21:50:35.087Z] STF 15:50:34.841 - | ModuleVersion: null [2024-11-13T21:50:35.087Z] STF 15:50:34.841 - | MainClass: null [2024-11-13T21:50:35.087Z] STF 15:50:34.841 - | HashModules: null [2024-11-13T21:50:35.087Z] STF 15:50:34.841 - | [2024-11-13T21:50:35.087Z] STF 15:50:34.842 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/jdkbinary/j2sdk-image/jdk-21.0.6+3/bin/jar --create --file /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17315346297418/PatModImg_PlatMod_1/20241113-155029-PatModImgTest/modules/8.java.xml.jar -C /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/java.xml . [2024-11-13T21:50:35.087Z] STF 15:50:34.842 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17315346297418/PatModImg_PlatMod_1/20241113-155029-PatModImgTest/results/8.CMJ.stderr [2024-11-13T21:50:35.087Z] STF 15:50:34.842 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17315346297418/PatModImg_PlatMod_1/20241113-155029-PatModImgTest/results/8.CMJ.stdout [2024-11-13T21:50:35.087Z] STF 15:50:34.844 - Monitoring processes: CMJ [2024-11-13T21:50:35.087Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-13T21:50:35.754Z] STF 15:50:35.122 - Monitoring Report Summary: [2024-11-13T21:50:35.754Z] STF 15:50:35.122 - o Process CMJ ended with the expected exit code (0) [2024-11-13T21:50:35.754Z] STF 15:50:35.122 - Created modular jar: 8.java.xml.jar [2024-11-13T21:50:35.754Z] STF 15:50:35.122 - [2024-11-13T21:50:35.754Z] STF 15:50:35.122 - +------ Step 9 - Verify if we can patch an upgradable platform module using exploded directory [2024-11-13T21:50:35.754Z] STF 15:50:35.122 - | Run foreground process [2024-11-13T21:50:35.754Z] STF 15:50:35.122 - | Program: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17315346297418/PatModImg_PlatMod_1/20241113-155029-PatModImgTest/tmp/6.XpJVM/bin/java [2024-11-13T21:50:35.754Z] STF 15:50:35.122 - | Mnemonic: OT11 [2024-11-13T21:50:35.754Z] STF 15:50:35.122 - | Echo: ECHO_ON [2024-11-13T21:50:35.754Z] STF 15:50:35.122 - | Expectation: CLEAN_RUN within 5m [2024-11-13T21:50:35.754Z] STF 15:50:35.122 - | [2024-11-13T21:50:35.754Z] STF 15:50:35.123 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17315346297418/PatModImg_PlatMod_1/20241113-155029-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_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 [2024-11-13T21:50:35.754Z] STF 15:50:35.123 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17315346297418/PatModImg_PlatMod_1/20241113-155029-PatModImgTest/results/9.OT11.stderr [2024-11-13T21:50:35.754Z] STF 15:50:35.123 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17315346297418/PatModImg_PlatMod_1/20241113-155029-PatModImgTest/results/9.OT11.stdout [2024-11-13T21:50:35.754Z] STF 15:50:35.126 - Monitoring processes: OT11 [2024-11-13T21:50:35.754Z] OT11 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-13T21:50:35.754Z] OT11 stderr WARNING: module-info.class ignored in patch: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/java.xml [2024-11-13T21:50:35.754Z] OT11 JUnit version 4.12 [2024-11-13T21:50:35.754Z] OT11 . [2024-11-13T21:50:35.754Z] OT11 Time: 0.004 [2024-11-13T21:50:35.754Z] OT11 [2024-11-13T21:50:35.754Z] OT11 OK (1 test) [2024-11-13T21:50:35.754Z] OT11 [2024-11-13T21:50:35.754Z] STF 15:50:35.407 - Monitoring Report Summary: [2024-11-13T21:50:35.754Z] STF 15:50:35.407 - o Process OT11 ended with the expected exit code (0) [2024-11-13T21:50:35.754Z] STF 15:50:35.408 - [2024-11-13T21:50:35.754Z] STF 15:50:35.408 - +------ Step 10 - Verify if we can patch an upgradable platform module using modular jar [2024-11-13T21:50:35.754Z] STF 15:50:35.408 - | Run foreground process [2024-11-13T21:50:35.754Z] STF 15:50:35.408 - | Program: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17315346297418/PatModImg_PlatMod_1/20241113-155029-PatModImgTest/tmp/6.XpJVM/bin/java [2024-11-13T21:50:35.754Z] STF 15:50:35.408 - | Mnemonic: OT12 [2024-11-13T21:50:35.754Z] STF 15:50:35.408 - | Echo: ECHO_ON [2024-11-13T21:50:35.754Z] STF 15:50:35.408 - | Expectation: CLEAN_RUN within 5m [2024-11-13T21:50:35.754Z] STF 15:50:35.408 - | [2024-11-13T21:50:35.754Z] STF 15:50:35.409 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17315346297418/PatModImg_PlatMod_1/20241113-155029-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_linux_testList_1/aqa-tests/TKG/output_17315346297418/PatModImg_PlatMod_1/20241113-155029-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-13T21:50:35.754Z] STF 15:50:35.409 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17315346297418/PatModImg_PlatMod_1/20241113-155029-PatModImgTest/results/10.OT12.stderr [2024-11-13T21:50:35.754Z] STF 15:50:35.409 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17315346297418/PatModImg_PlatMod_1/20241113-155029-PatModImgTest/results/10.OT12.stdout [2024-11-13T21:50:35.754Z] STF 15:50:35.411 - Monitoring processes: OT12 [2024-11-13T21:50:35.754Z] OT12 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-13T21:50:35.754Z] OT12 stderr WARNING: module-info.class ignored in patch: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17315346297418/PatModImg_PlatMod_1/20241113-155029-PatModImgTest/modules/8.java.xml.jar [2024-11-13T21:50:35.754Z] OT12 JUnit version 4.12 [2024-11-13T21:50:36.422Z] OT12 . [2024-11-13T21:50:36.422Z] OT12 Time: 0.005 [2024-11-13T21:50:36.422Z] OT12 [2024-11-13T21:50:36.422Z] OT12 OK (1 test) [2024-11-13T21:50:36.422Z] OT12 [2024-11-13T21:50:36.422Z] STF 15:50:35.697 - Monitoring Report Summary: [2024-11-13T21:50:36.422Z] STF 15:50:35.697 - o Process OT12 ended with the expected exit code (0) [2024-11-13T21:50:36.422Z] STF 15:50:35.697 - EXECUTE stage completed [2024-11-13T21:50:36.422Z] STF 15:50:35.755 - [2024-11-13T21:50:36.422Z] STF 15:50:35.755 - ==================== T E A R D O W N ==================== [2024-11-13T21:50:36.422Z] STF 15:50:35.755 - Running teardown: perl /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/../TKG/output_17315346297418/PatModImg_PlatMod_1/20241113-155029-PatModImgTest/tearDown.pl [2024-11-13T21:50:36.422Z] STF 15:50:35.816 - TEARDOWN stage completed [2024-11-13T21:50:36.422Z] STF 15:50:35.820 - [2024-11-13T21:50:36.422Z] STF 15:50:35.820 - ===================== R E S U L T S ===================== [2024-11-13T21:50:36.422Z] STF 15:50:35.820 - Stage results: [2024-11-13T21:50:36.422Z] STF 15:50:35.820 - setUp: pass [2024-11-13T21:50:36.422Z] STF 15:50:35.820 - execute: pass [2024-11-13T21:50:36.422Z] STF 15:50:35.820 - teardown: pass [2024-11-13T21:50:36.422Z] STF 15:50:35.820 - [2024-11-13T21:50:36.422Z] STF 15:50:35.820 - Overall result: PASSED [2024-11-13T21:50:36.422Z] ----------------------------------- [2024-11-13T21:50:36.422Z] PatModImg_PlatMod_1_PASSED [2024-11-13T21:50:36.422Z] ----------------------------------- [2024-11-13T21:50:36.422Z] [2024-11-13T21:50:36.422Z] TEST TEARDOWN: [2024-11-13T21:50:36.422Z] Nothing to be done for teardown. [2024-11-13T21:50:36.422Z] PatModImg_PlatMod_1 Finish Time: Wed Nov 13 15:50:35 2024 Epoch Time (ms): 1731534635871