PatModImg_PlatMod_1
[2024-11-20T23:39:06.211Z] Running test PatModImg_PlatMod_1 ...
[2024-11-20T23:39:06.211Z] ===============================================
[2024-11-20T23:39:06.211Z] PatModImg_PlatMod_1 Start Time: Wed Nov 20 23:39:06 2024 Epoch Time (ms): 1732145946143
[2024-11-20T23:39:06.211Z] variation: Mode650
[2024-11-20T23:39:06.211Z] JVM_OPTIONS: -XX:-UseCompressedOops
[2024-11-20T23:39:06.211Z] { \
[2024-11-20T23:39:06.211Z] echo ""; echo "TEST SETUP:"; \
[2024-11-20T23:39:06.211Z] echo "Nothing to be done for setup."; \
[2024-11-20T23:39:06.211Z] mkdir -p "/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17321442864547/PatModImg_PlatMod_1"; \
[2024-11-20T23:39:06.211Z] cd "/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17321442864547/PatModImg_PlatMod_1"; \
[2024-11-20T23:39:06.212Z] echo ""; echo "TESTING:"; \
[2024-11-20T23:39:06.212Z] perl /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF/stf.core/scripts/stf.pl -test-root="/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF;/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../../jvmtest/system/modularity/..//aqa-systemtest""" -systemtest-prereqs="/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/../../testDependency/system_lib/" -java-args=' -XX:-UseCompressedOops ' -results-root="/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17321442864547/PatModImg_PlatMod_1" -test=PatModImgTest -test-args="variant=PlatMod"; \
[2024-11-20T23:39:06.212Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatModImg_PlatMod_1""_PASSED"; echo "-----------------------------------"; cd /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/..; rm -f -r "/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17321442864547/PatModImg_PlatMod_1"; else echo "-----------------------------------"; echo "PatModImg_PlatMod_1""_FAILED"; echo "-----------------------------------"; fi; \
[2024-11-20T23:39:06.212Z] echo ""; echo "TEST TEARDOWN:"; \
[2024-11-20T23:39:06.212Z] echo "Nothing to be done for teardown."; \
[2024-11-20T23:39:06.212Z] } 2>&1 | tee -a "/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17321442864547/TestTargetResult";
[2024-11-20T23:39:06.212Z]
[2024-11-20T23:39:06.212Z] TEST SETUP:
[2024-11-20T23:39:06.212Z] Nothing to be done for setup.
[2024-11-20T23:39:06.212Z]
[2024-11-20T23:39:06.212Z] TESTING:
[2024-11-20T23:39:06.566Z] STF 23:39:06.244 - ========================= S T F =========================
[2024-11-20T23:39:06.566Z] systemtest-prereqs has been processed, and set to: /Users/jenkins/testDependency/system_libRetrieving amount of free space on drive containing /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17321442864547/PatModImg_PlatMod_1
[2024-11-20T23:39:06.566Z] There is 55694 Mb free
[2024-11-20T23:39:06.566Z] STF 23:39:06.253 - ================== G E N E R A T I O N ==================
[2024-11-20T23:39:06.566Z] STF 23:39:06.254 - Checking JVM: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/../
[2024-11-20T23:39:06.566Z] STF 23:39:06.255 - Starting process to generate scripts: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/..//bin/java -Dlog4j.skipJansi=true -Djava.system.class.loader=net.adoptopenjdk.stf.runner.StfClassLoader -classpath /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/../../testDependency/system_lib//log4j/log4j-api.jar:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/../../testDependency/system_lib//log4j/log4j-core.jar:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17321442864547/PatModImg_PlatMod_1/20241120-233906-PatModImgTest/stf_parameters.properties, , /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17321442864547/PatModImg_PlatMod_1/20241120-233906-PatModImgTest"
[2024-11-20T23:39:06.566Z] GEN stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-11-20T23:39:07.325Z] GEN Java lib directory does not exist: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/lib
[2024-11-20T23:39:07.325Z] GEN 23:39:07.286 - Found test. Project: 'openjdk.test.modularity' class: 'PatModImgTest.class' Dir: '/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin'
[2024-11-20T23:39:07.325Z] GEN 23:39:07.300 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModImgTest'
[2024-11-20T23:39:07.685Z] GEN Classpath directories used by project 'openjdk.test.modularity':
[2024-11-20T23:39:07.685Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayService
[2024-11-20T23:39:07.685Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper
[2024-11-20T23:39:07.685Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl1
[2024-11-20T23:39:07.685Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet
[2024-11-20T23:39:07.685Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello
[2024-11-20T23:39:07.685Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola
[2024-11-20T23:39:07.685Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl2
[2024-11-20T23:39:07.685Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hi
[2024-11-20T23:39:07.685Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override
[2024-11-20T23:39:07.685Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override-new
[2024-11-20T23:39:07.685Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl3
[2024-11-20T23:39:07.685Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl4
[2024-11-20T23:39:07.685Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common
[2024-11-20T23:39:07.685Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests
[2024-11-20T23:39:07.685Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin
[2024-11-20T23:39:07.685Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/STF/stf.core/bin
[2024-11-20T23:39:07.685Z] GEN /Users/jenkins/testDependency/system_lib/log4j/log4j-api.jar
[2024-11-20T23:39:07.685Z] GEN /Users/jenkins/testDependency/system_lib/log4j/log4j-core.jar
[2024-11-20T23:39:07.685Z] GEN /Users/jenkins/testDependency/system_lib/junit/junit.jar
[2024-11-20T23:39:07.685Z] GEN Java lib directory does not exist: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/lib
[2024-11-20T23:39:07.685Z] GEN 23:39:07.503 - Using Mode NoOptions. Values = ''
[2024-11-20T23:39:07.685Z] GEN 23:39:07.593 -
[2024-11-20T23:39:07.685Z] GEN 23:39:07.594 - Test command summary:
[2024-11-20T23:39:07.685Z] GEN 23:39:07.594 - Step Stage Command Description
[2024-11-20T23:39:07.685Z] GEN 23:39:07.594 - -----+--------+-----------------+------------
[2024-11-20T23:39:07.685Z] GEN 23:39:07.595 - 1 execute jar Create com.hello jar
[2024-11-20T23:39:07.685Z] GEN 23:39:07.595 - 2 execute jar Create com.hola jar
[2024-11-20T23:39:07.685Z] GEN 23:39:07.595 - 3 execute jar Create com.helper jar
[2024-11-20T23:39:07.685Z] GEN 23:39:07.595 - 4 execute jar Create com.discreet jar
[2024-11-20T23:39:07.685Z] GEN 23:39:07.595 - 5 execute jar Create tests jar
[2024-11-20T23:39:07.685Z] GEN 23:39:07.595 - 6 execute jlink Create runtime image for PatchModule test
[2024-11-20T23:39:07.685Z] GEN 23:39:07.595 - 7 execute jar Create com.hello jar
[2024-11-20T23:39:07.685Z] GEN 23:39:07.595 - 8 execute jar create java.xml.jar
[2024-11-20T23:39:07.685Z] GEN 23:39:07.595 - 9 execute Run java Verify if we can patch an upgradable platform module using exploded directory
[2024-11-20T23:39:07.685Z] GEN 23:39:07.595 - 10 execute Run java Verify if we can patch an upgradable platform module using modular jar
[2024-11-20T23:39:07.685Z] STF 23:39:07.626 -
[2024-11-20T23:39:07.685Z] STF 23:39:07.626 - Script generation completed
[2024-11-20T23:39:07.685Z] STF 23:39:07.626 -
[2024-11-20T23:39:07.685Z] STF 23:39:07.626 -
[2024-11-20T23:39:07.685Z] STF 23:39:07.626 - ======================= S E T U P =======================
[2024-11-20T23:39:07.685Z] STF 23:39:07.626 - Running setup: perl /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17321442864547/PatModImg_PlatMod_1/20241120-233906-PatModImgTest/setUp.pl
[2024-11-20T23:39:08.040Z] STF 23:39:07.704 - SETUP stage completed
[2024-11-20T23:39:08.040Z] STF 23:39:07.707 -
[2024-11-20T23:39:08.040Z] STF 23:39:07.707 - ==================== E X E C U T E - ====================
[2024-11-20T23:39:08.040Z] STF 23:39:07.707 - Running execute: perl /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17321442864547/PatModImg_PlatMod_1/20241120-233906-PatModImgTest/execute.pl
[2024-11-20T23:39:08.040Z] STF 23:39:07.786 -
[2024-11-20T23:39:08.040Z] STF 23:39:07.786 - Java version
[2024-11-20T23:39:08.040Z] STF 23:39:07.787 - Running: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/java -version
[2024-11-20T23:39:08.040Z] Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-11-20T23:39:08.040Z] STF 23:39:07.895 -
[2024-11-20T23:39:08.040Z] STF 23:39:07.895 - +------ Step 1 - Create com.hello jar
[2024-11-20T23:39:08.040Z] STF 23:39:07.895 - | Create modular jar
[2024-11-20T23:39:08.040Z] STF 23:39:07.895 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello
[2024-11-20T23:39:08.040Z] STF 23:39:07.895 - | ModuleVersion: null
[2024-11-20T23:39:08.040Z] STF 23:39:07.895 - | MainClass: null
[2024-11-20T23:39:08.040Z] STF 23:39:07.895 - | HashModules: null
[2024-11-20T23:39:08.040Z] STF 23:39:07.895 - |
[2024-11-20T23:39:08.040Z] STF 23:39:07.896 - Running command: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17321442864547/PatModImg_PlatMod_1/20241120-233906-PatModImgTest/modules/1.com.hello.jar -C /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello .
[2024-11-20T23:39:08.040Z] STF 23:39:07.896 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17321442864547/PatModImg_PlatMod_1/20241120-233906-PatModImgTest/results/1.CMJ.stderr
[2024-11-20T23:39:08.040Z] STF 23:39:07.896 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17321442864547/PatModImg_PlatMod_1/20241120-233906-PatModImgTest/results/1.CMJ.stdout
[2024-11-20T23:39:08.040Z] openjdk version "21.0.6-beta" 2025-01-21
[2024-11-20T23:39:08.040Z] OpenJDK Runtime Environment Temurin-21.0.6+4-202411202005 (build 21.0.6-beta+4-ea)
[2024-11-20T23:39:08.040Z] OpenJDK 64-Bit Server VM Temurin-21.0.6+4-202411202005 (build 21.0.6-beta+4-ea, mixed mode)
[2024-11-20T23:39:08.040Z] STF 23:39:07.906 - Monitoring processes: CMJ
[2024-11-20T23:39:08.040Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-11-20T23:39:08.395Z] STF 23:39:08.263 - Monitoring Report Summary:
[2024-11-20T23:39:08.395Z] STF 23:39:08.263 - o Process CMJ ended with the expected exit code (0)
[2024-11-20T23:39:08.395Z] STF 23:39:08.264 - Created modular jar: 1.com.hello.jar
[2024-11-20T23:39:08.395Z] STF 23:39:08.264 -
[2024-11-20T23:39:08.395Z] STF 23:39:08.264 - +------ Step 2 - Create com.hola jar
[2024-11-20T23:39:08.395Z] STF 23:39:08.264 - | Create modular jar
[2024-11-20T23:39:08.395Z] STF 23:39:08.264 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola
[2024-11-20T23:39:08.395Z] STF 23:39:08.264 - | ModuleVersion: null
[2024-11-20T23:39:08.395Z] STF 23:39:08.264 - | MainClass: null
[2024-11-20T23:39:08.395Z] STF 23:39:08.264 - | HashModules: null
[2024-11-20T23:39:08.395Z] STF 23:39:08.264 - |
[2024-11-20T23:39:08.395Z] STF 23:39:08.264 - Running command: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17321442864547/PatModImg_PlatMod_1/20241120-233906-PatModImgTest/modules/2.com.hola.jar -C /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola .
[2024-11-20T23:39:08.395Z] STF 23:39:08.264 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17321442864547/PatModImg_PlatMod_1/20241120-233906-PatModImgTest/results/2.CMJ.stderr
[2024-11-20T23:39:08.395Z] STF 23:39:08.265 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17321442864547/PatModImg_PlatMod_1/20241120-233906-PatModImgTest/results/2.CMJ.stdout
[2024-11-20T23:39:08.395Z] STF 23:39:08.266 - Monitoring processes: CMJ
[2024-11-20T23:39:08.395Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-11-20T23:39:08.749Z] STF 23:39:08.625 - Monitoring Report Summary:
[2024-11-20T23:39:08.749Z] STF 23:39:08.625 - o Process CMJ ended with the expected exit code (0)
[2024-11-20T23:39:08.749Z] STF 23:39:08.625 - Created modular jar: 2.com.hola.jar
[2024-11-20T23:39:08.749Z] STF 23:39:08.625 -
[2024-11-20T23:39:08.749Z] STF 23:39:08.625 - +------ Step 3 - Create com.helper jar
[2024-11-20T23:39:08.749Z] STF 23:39:08.625 - | Create modular jar
[2024-11-20T23:39:08.749Z] STF 23:39:08.625 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper
[2024-11-20T23:39:08.749Z] STF 23:39:08.625 - | ModuleVersion: null
[2024-11-20T23:39:08.749Z] STF 23:39:08.625 - | MainClass: null
[2024-11-20T23:39:08.749Z] STF 23:39:08.625 - | HashModules: null
[2024-11-20T23:39:08.749Z] STF 23:39:08.625 - |
[2024-11-20T23:39:08.749Z] STF 23:39:08.626 - Running command: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17321442864547/PatModImg_PlatMod_1/20241120-233906-PatModImgTest/modules/3.com.helper.jar -C /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper .
[2024-11-20T23:39:08.749Z] STF 23:39:08.626 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17321442864547/PatModImg_PlatMod_1/20241120-233906-PatModImgTest/results/3.CMJ.stderr
[2024-11-20T23:39:08.749Z] STF 23:39:08.626 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17321442864547/PatModImg_PlatMod_1/20241120-233906-PatModImgTest/results/3.CMJ.stdout
[2024-11-20T23:39:08.749Z] STF 23:39:08.627 - Monitoring processes: CMJ
[2024-11-20T23:39:08.749Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-11-20T23:39:09.104Z] STF 23:39:09.000 - Monitoring Report Summary:
[2024-11-20T23:39:09.104Z] STF 23:39:09.000 - o Process CMJ ended with the expected exit code (0)
[2024-11-20T23:39:09.104Z] STF 23:39:09.000 - Created modular jar: 3.com.helper.jar
[2024-11-20T23:39:09.104Z] STF 23:39:09.000 -
[2024-11-20T23:39:09.104Z] STF 23:39:09.000 - +------ Step 4 - Create com.discreet jar
[2024-11-20T23:39:09.104Z] STF 23:39:09.000 - | Create modular jar
[2024-11-20T23:39:09.104Z] STF 23:39:09.000 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet
[2024-11-20T23:39:09.104Z] STF 23:39:09.000 - | ModuleVersion: null
[2024-11-20T23:39:09.104Z] STF 23:39:09.000 - | MainClass: null
[2024-11-20T23:39:09.104Z] STF 23:39:09.001 - | HashModules: null
[2024-11-20T23:39:09.104Z] STF 23:39:09.001 - |
[2024-11-20T23:39:09.104Z] STF 23:39:09.001 - Running command: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17321442864547/PatModImg_PlatMod_1/20241120-233906-PatModImgTest/modules/4.com.discreet.jar -C /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet .
[2024-11-20T23:39:09.104Z] STF 23:39:09.001 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17321442864547/PatModImg_PlatMod_1/20241120-233906-PatModImgTest/results/4.CMJ.stderr
[2024-11-20T23:39:09.104Z] STF 23:39:09.001 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17321442864547/PatModImg_PlatMod_1/20241120-233906-PatModImgTest/results/4.CMJ.stdout
[2024-11-20T23:39:09.104Z] STF 23:39:09.003 - Monitoring processes: CMJ
[2024-11-20T23:39:09.104Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-11-20T23:39:09.460Z] STF 23:39:09.361 - Monitoring Report Summary:
[2024-11-20T23:39:09.460Z] STF 23:39:09.361 - o Process CMJ ended with the expected exit code (0)
[2024-11-20T23:39:09.460Z] STF 23:39:09.361 - Created modular jar: 4.com.discreet.jar
[2024-11-20T23:39:09.460Z] STF 23:39:09.361 -
[2024-11-20T23:39:09.460Z] STF 23:39:09.361 - +------ Step 5 - Create tests jar
[2024-11-20T23:39:09.460Z] STF 23:39:09.361 - | Create modular jar
[2024-11-20T23:39:09.460Z] STF 23:39:09.361 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test
[2024-11-20T23:39:09.460Z] STF 23:39:09.361 - | ModuleVersion: null
[2024-11-20T23:39:09.460Z] STF 23:39:09.361 - | MainClass: null
[2024-11-20T23:39:09.460Z] STF 23:39:09.361 - | HashModules: null
[2024-11-20T23:39:09.460Z] STF 23:39:09.361 - |
[2024-11-20T23:39:09.460Z] STF 23:39:09.361 - Running command: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17321442864547/PatModImg_PlatMod_1/20241120-233906-PatModImgTest/modules/5.com.test.jar -C /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test .
[2024-11-20T23:39:09.460Z] STF 23:39:09.361 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17321442864547/PatModImg_PlatMod_1/20241120-233906-PatModImgTest/results/5.CMJ.stderr
[2024-11-20T23:39:09.460Z] STF 23:39:09.361 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17321442864547/PatModImg_PlatMod_1/20241120-233906-PatModImgTest/results/5.CMJ.stdout
[2024-11-20T23:39:09.460Z] STF 23:39:09.363 - Monitoring processes: CMJ
[2024-11-20T23:39:09.460Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-11-20T23:39:09.814Z] STF 23:39:09.739 - Monitoring Report Summary:
[2024-11-20T23:39:09.814Z] STF 23:39:09.739 - o Process CMJ ended with the expected exit code (0)
[2024-11-20T23:39:09.814Z] STF 23:39:09.739 - Created modular jar: 5.com.test.jar
[2024-11-20T23:39:09.814Z] STF 23:39:09.740 -
[2024-11-20T23:39:09.814Z] STF 23:39:09.740 - +------ Step 6 - Create runtime image for PatchModule test
[2024-11-20T23:39:09.814Z] STF 23:39:09.740 - | Run jlink to create runtime image
[2024-11-20T23:39:09.814Z] STF 23:39:09.740 - | ImageName: XpJVM
[2024-11-20T23:39:09.814Z] STF 23:39:09.740 - |
[2024-11-20T23:39:09.814Z] STF 23:39:09.740 - Running command: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/jlink --module-path /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/jmods:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17321442864547/PatModImg_PlatMod_1/20241120-233906-PatModImgTest/modules --add-modules com.hello,com.hola,com.test,com.helper,com.discreet --output /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17321442864547/PatModImg_PlatMod_1/20241120-233906-PatModImgTest/tmp/6.XpJVM
[2024-11-20T23:39:09.814Z] STF 23:39:09.740 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17321442864547/PatModImg_PlatMod_1/20241120-233906-PatModImgTest/results/6.JLNK.stderr
[2024-11-20T23:39:09.814Z] STF 23:39:09.740 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17321442864547/PatModImg_PlatMod_1/20241120-233906-PatModImgTest/results/6.JLNK.stdout
[2024-11-20T23:39:09.814Z] STF 23:39:09.741 - Monitoring processes: JLNK
[2024-11-20T23:39:09.814Z] JLNK stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-11-20T23:39:12.926Z] STF 23:39:12.162 - Monitoring Report Summary:
[2024-11-20T23:39:12.926Z] STF 23:39:12.162 - o Process JLNK ended with the expected exit code (0)
[2024-11-20T23:39:12.926Z] STF 23:39:12.162 -
[2024-11-20T23:39:12.926Z] STF 23:39:12.162 - +------ Step 7 - Create com.hello jar
[2024-11-20T23:39:12.926Z] STF 23:39:12.162 - | Create modular jar
[2024-11-20T23:39:12.926Z] STF 23:39:12.162 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello
[2024-11-20T23:39:12.926Z] STF 23:39:12.162 - | ModuleVersion: null
[2024-11-20T23:39:12.926Z] STF 23:39:12.162 - | MainClass: null
[2024-11-20T23:39:12.926Z] STF 23:39:12.162 - | HashModules: null
[2024-11-20T23:39:12.926Z] STF 23:39:12.162 - |
[2024-11-20T23:39:12.926Z] STF 23:39:12.163 - Running command: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17321442864547/PatModImg_PlatMod_1/20241120-233906-PatModImgTest/modules/7.com.hello.jar -C /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello .
[2024-11-20T23:39:12.926Z] STF 23:39:12.163 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17321442864547/PatModImg_PlatMod_1/20241120-233906-PatModImgTest/results/7.CMJ.stderr
[2024-11-20T23:39:12.926Z] STF 23:39:12.163 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17321442864547/PatModImg_PlatMod_1/20241120-233906-PatModImgTest/results/7.CMJ.stdout
[2024-11-20T23:39:12.926Z] STF 23:39:12.164 - Monitoring processes: CMJ
[2024-11-20T23:39:12.926Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-11-20T23:39:12.926Z] STF 23:39:12.533 - Monitoring Report Summary:
[2024-11-20T23:39:12.926Z] STF 23:39:12.533 - o Process CMJ ended with the expected exit code (0)
[2024-11-20T23:39:12.926Z] STF 23:39:12.533 - Created modular jar: 7.com.hello.jar
[2024-11-20T23:39:12.926Z] STF 23:39:12.533 -
[2024-11-20T23:39:12.926Z] STF 23:39:12.533 - +------ Step 8 - create java.xml.jar
[2024-11-20T23:39:12.926Z] STF 23:39:12.533 - | Create modular jar
[2024-11-20T23:39:12.926Z] STF 23:39:12.533 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml
[2024-11-20T23:39:12.926Z] STF 23:39:12.533 - | ModuleVersion: null
[2024-11-20T23:39:12.926Z] STF 23:39:12.533 - | MainClass: null
[2024-11-20T23:39:12.926Z] STF 23:39:12.533 - | HashModules: null
[2024-11-20T23:39:12.926Z] STF 23:39:12.533 - |
[2024-11-20T23:39:12.926Z] STF 23:39:12.533 - Running command: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17321442864547/PatModImg_PlatMod_1/20241120-233906-PatModImgTest/modules/8.java.xml.jar -C /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/java.xml .
[2024-11-20T23:39:12.926Z] STF 23:39:12.534 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17321442864547/PatModImg_PlatMod_1/20241120-233906-PatModImgTest/results/8.CMJ.stderr
[2024-11-20T23:39:12.926Z] STF 23:39:12.534 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17321442864547/PatModImg_PlatMod_1/20241120-233906-PatModImgTest/results/8.CMJ.stdout
[2024-11-20T23:39:12.926Z] STF 23:39:12.535 - Monitoring processes: CMJ
[2024-11-20T23:39:12.926Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-11-20T23:39:12.926Z] STF 23:39:12.901 - Monitoring Report Summary:
[2024-11-20T23:39:12.926Z] STF 23:39:12.901 - o Process CMJ ended with the expected exit code (0)
[2024-11-20T23:39:12.926Z] STF 23:39:12.901 - Created modular jar: 8.java.xml.jar
[2024-11-20T23:39:12.926Z] STF 23:39:12.901 -
[2024-11-20T23:39:12.926Z] STF 23:39:12.901 - +------ Step 9 - Verify if we can patch an upgradable platform module using exploded directory
[2024-11-20T23:39:12.926Z] STF 23:39:12.901 - | Run foreground process
[2024-11-20T23:39:12.926Z] STF 23:39:12.901 - | Program: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17321442864547/PatModImg_PlatMod_1/20241120-233906-PatModImgTest/tmp/6.XpJVM/bin/java
[2024-11-20T23:39:12.926Z] STF 23:39:12.901 - | Mnemonic: OT11
[2024-11-20T23:39:12.926Z] STF 23:39:12.901 - | Echo: ECHO_ON
[2024-11-20T23:39:12.926Z] STF 23:39:12.901 - | Expectation: CLEAN_RUN within 5m
[2024-11-20T23:39:12.926Z] STF 23:39:12.901 - |
[2024-11-20T23:39:12.926Z] STF 23:39:12.902 - Running command: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17321442864547/PatModImg_PlatMod_1/20241120-233906-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module java.xml=/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/java.xml -XX:-UseCompressedOops -classpath /Users/jenkins/testDependency/system_lib/junit/junit.jar:/Users/jenkins/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingUpgradablePlatformModule
[2024-11-20T23:39:12.926Z] STF 23:39:12.902 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17321442864547/PatModImg_PlatMod_1/20241120-233906-PatModImgTest/results/9.OT11.stderr
[2024-11-20T23:39:12.926Z] STF 23:39:12.902 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17321442864547/PatModImg_PlatMod_1/20241120-233906-PatModImgTest/results/9.OT11.stdout
[2024-11-20T23:39:12.926Z] STF 23:39:12.903 - Monitoring processes: OT11
[2024-11-20T23:39:13.280Z] OT11 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-11-20T23:39:13.280Z] OT11 stderr WARNING: module-info.class ignored in patch: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/java.xml
[2024-11-20T23:39:13.636Z] OT11 JUnit version 4.12
[2024-11-20T23:39:13.636Z] OT11 .
[2024-11-20T23:39:13.636Z] OT11 Time: 0.005
[2024-11-20T23:39:13.636Z] OT11
[2024-11-20T23:39:13.636Z] OT11 OK (1 test)
[2024-11-20T23:39:13.636Z] OT11
[2024-11-20T23:39:13.636Z] STF 23:39:13.363 - Monitoring Report Summary:
[2024-11-20T23:39:13.636Z] STF 23:39:13.363 - o Process OT11 ended with the expected exit code (0)
[2024-11-20T23:39:13.636Z] STF 23:39:13.363 -
[2024-11-20T23:39:13.636Z] STF 23:39:13.363 - +------ Step 10 - Verify if we can patch an upgradable platform module using modular jar
[2024-11-20T23:39:13.636Z] STF 23:39:13.363 - | Run foreground process
[2024-11-20T23:39:13.636Z] STF 23:39:13.363 - | Program: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17321442864547/PatModImg_PlatMod_1/20241120-233906-PatModImgTest/tmp/6.XpJVM/bin/java
[2024-11-20T23:39:13.636Z] STF 23:39:13.363 - | Mnemonic: OT12
[2024-11-20T23:39:13.636Z] STF 23:39:13.363 - | Echo: ECHO_ON
[2024-11-20T23:39:13.636Z] STF 23:39:13.363 - | Expectation: CLEAN_RUN within 5m
[2024-11-20T23:39:13.636Z] STF 23:39:13.363 - |
[2024-11-20T23:39:13.636Z] STF 23:39:13.363 - Running command: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17321442864547/PatModImg_PlatMod_1/20241120-233906-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module java.xml=/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17321442864547/PatModImg_PlatMod_1/20241120-233906-PatModImgTest/modules/8.java.xml.jar -XX:-UseCompressedOops -classpath /Users/jenkins/testDependency/system_lib/junit/junit.jar:/Users/jenkins/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingUpgradablePlatformModule
[2024-11-20T23:39:13.636Z] STF 23:39:13.363 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17321442864547/PatModImg_PlatMod_1/20241120-233906-PatModImgTest/results/10.OT12.stderr
[2024-11-20T23:39:13.636Z] STF 23:39:13.363 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17321442864547/PatModImg_PlatMod_1/20241120-233906-PatModImgTest/results/10.OT12.stdout
[2024-11-20T23:39:13.636Z] STF 23:39:13.365 - Monitoring processes: OT12
[2024-11-20T23:39:13.636Z] OT12 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-11-20T23:39:13.636Z] OT12 stderr WARNING: module-info.class ignored in patch: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17321442864547/PatModImg_PlatMod_1/20241120-233906-PatModImgTest/modules/8.java.xml.jar
[2024-11-20T23:39:13.636Z] OT12 JUnit version 4.12
[2024-11-20T23:39:13.992Z] OT12 .
[2024-11-20T23:39:13.992Z] OT12 Time: 0.006
[2024-11-20T23:39:13.992Z] OT12
[2024-11-20T23:39:13.992Z] OT12 OK (1 test)
[2024-11-20T23:39:13.992Z] OT12
[2024-11-20T23:39:13.992Z] STF 23:39:13.686 - Monitoring Report Summary:
[2024-11-20T23:39:13.992Z] STF 23:39:13.687 - o Process OT12 ended with the expected exit code (0)
[2024-11-20T23:39:13.992Z] STF 23:39:13.687 - EXECUTE stage completed
[2024-11-20T23:39:13.992Z] STF 23:39:13.725 -
[2024-11-20T23:39:13.992Z] STF 23:39:13.725 - ==================== T E A R D O W N ====================
[2024-11-20T23:39:13.992Z] STF 23:39:13.725 - Running teardown: perl /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17321442864547/PatModImg_PlatMod_1/20241120-233906-PatModImgTest/tearDown.pl
[2024-11-20T23:39:13.992Z] STF 23:39:13.799 - TEARDOWN stage completed
[2024-11-20T23:39:13.992Z] STF 23:39:13.810 -
[2024-11-20T23:39:13.992Z] STF 23:39:13.810 - ===================== R E S U L T S =====================
[2024-11-20T23:39:13.992Z] STF 23:39:13.810 - Stage results:
[2024-11-20T23:39:13.992Z] STF 23:39:13.810 - setUp: pass
[2024-11-20T23:39:13.992Z] STF 23:39:13.810 - execute: pass
[2024-11-20T23:39:13.992Z] STF 23:39:13.810 - teardown: pass
[2024-11-20T23:39:13.992Z] STF 23:39:13.810 -
[2024-11-20T23:39:13.992Z] STF 23:39:13.810 - Overall result: PASSED
[2024-11-20T23:39:13.992Z] -----------------------------------
[2024-11-20T23:39:13.992Z] PatModImg_PlatMod_1_PASSED
[2024-11-20T23:39:13.992Z] -----------------------------------
[2024-11-20T23:39:13.992Z]
[2024-11-20T23:39:13.992Z] TEST TEARDOWN:
[2024-11-20T23:39:13.992Z] Nothing to be done for teardown.
[2024-11-20T23:39:13.992Z] PatModImg_PlatMod_1 Finish Time: Wed Nov 20 23:39:13 2024 Epoch Time (ms): 1732145953853