PatModImg_AppMod_0
[2024-11-14T23:02:57.592Z] Running test PatModImg_AppMod_0 ...
[2024-11-14T23:02:57.592Z] ===============================================
[2024-11-14T23:02:57.592Z] PatModImg_AppMod_0 Start Time: Thu Nov 14 23:02:57 2024 Epoch Time (ms): 1731625377480
[2024-11-14T23:02:57.592Z] variation: Mode150
[2024-11-14T23:02:57.592Z] JVM_OPTIONS: -XX:+UseCompressedOops
[2024-11-14T23:02:57.592Z] { \
[2024-11-14T23:02:57.592Z] echo ""; echo "TEST SETUP:"; \
[2024-11-14T23:02:57.592Z] echo "Nothing to be done for setup."; \
[2024-11-14T23:02:57.592Z] mkdir -p "/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17316235669143/PatModImg_AppMod_0"; \
[2024-11-14T23:02:57.592Z] cd "/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17316235669143/PatModImg_AppMod_0"; \
[2024-11-14T23:02:57.592Z] echo ""; echo "TESTING:"; \
[2024-11-14T23:02:57.592Z] perl /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF/stf.core/scripts/stf.pl -test-root="/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF;/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../../jvmtest/system/modularity/..//aqa-systemtest""" -systemtest-prereqs="/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/../../testDependency/system_lib/" -java-args=' -XX:+UseCompressedOops ' -results-root="/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17316235669143/PatModImg_AppMod_0" -test=PatModImgTest -test-args="variant=AppMod"; \
[2024-11-14T23:02:57.592Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatModImg_AppMod_0""_PASSED"; echo "-----------------------------------"; cd /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/..; rm -f -r "/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17316235669143/PatModImg_AppMod_0"; else echo "-----------------------------------"; echo "PatModImg_AppMod_0""_FAILED"; echo "-----------------------------------"; fi; \
[2024-11-14T23:02:57.592Z] echo ""; echo "TEST TEARDOWN:"; \
[2024-11-14T23:02:57.592Z] echo "Nothing to be done for teardown."; \
[2024-11-14T23:02:57.592Z] } 2>&1 | tee -a "/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17316235669143/TestTargetResult";
[2024-11-14T23:02:57.592Z]
[2024-11-14T23:02:57.592Z] TEST SETUP:
[2024-11-14T23:02:57.592Z] Nothing to be done for setup.
[2024-11-14T23:02:57.592Z]
[2024-11-14T23:02:57.592Z] TESTING:
[2024-11-14T23:02:57.949Z] STF 23:02:57.771 - ========================= S T F =========================
[2024-11-14T23:02:57.949Z] 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_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17316235669143/PatModImg_AppMod_0
[2024-11-14T23:02:57.949Z] There is 74905 Mb free
[2024-11-14T23:02:57.949Z] STF 23:02:57.791 - ================== G E N E R A T I O N ==================
[2024-11-14T23:02:57.949Z] STF 23:02:57.796 - Checking JVM: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image
[2024-11-14T23:02:57.949Z] STF 23:02:57.796 - Starting process to generate scripts: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/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_riscv64_linux_testList_2/../../testDependency/system_lib//log4j/log4j-api.jar:/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/../../testDependency/system_lib//log4j/log4j-core.jar:/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17316235669143/PatModImg_AppMod_0/20241114-230257-PatModImgTest/stf_parameters.properties, , /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17316235669143/PatModImg_AppMod_0/20241114-230257-PatModImgTest"
[2024-11-14T23:02:57.949Z] GEN stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-11-14T23:02:57.949Z] 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-14T23:03:02.660Z] GEN 23:03:02.484 - Found test. Project: 'openjdk.test.modularity' class: 'PatModImgTest.class' Dir: '/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin'
[2024-11-14T23:03:02.660Z] GEN 23:03:02.511 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModImgTest'
[2024-11-14T23:03:03.361Z] GEN Classpath directories used by project 'openjdk.test.modularity':
[2024-11-14T23:03:03.361Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayService
[2024-11-14T23:03:03.361Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper
[2024-11-14T23:03:03.361Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl1
[2024-11-14T23:03:03.361Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet
[2024-11-14T23:03:03.361Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello
[2024-11-14T23:03:03.361Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola
[2024-11-14T23:03:03.361Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl2
[2024-11-14T23:03:03.361Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hi
[2024-11-14T23:03:03.361Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override
[2024-11-14T23:03:03.361Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override-new
[2024-11-14T23:03:03.361Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl3
[2024-11-14T23:03:03.361Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl4
[2024-11-14T23:03:03.361Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common
[2024-11-14T23:03:03.361Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests
[2024-11-14T23:03:03.361Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin
[2024-11-14T23:03:03.361Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/STF/stf.core/bin
[2024-11-14T23:03:03.361Z] GEN /home/jenkins/testDependency/system_lib/log4j/log4j-api.jar
[2024-11-14T23:03:03.361Z] GEN /home/jenkins/testDependency/system_lib/log4j/log4j-core.jar
[2024-11-14T23:03:03.361Z] GEN /home/jenkins/testDependency/system_lib/junit/junit.jar
[2024-11-14T23:03:03.361Z] GEN 23:03:03.256 - Using Mode NoOptions. Values = ''
[2024-11-14T23:03:03.684Z] GEN 23:03:03.634 -
[2024-11-14T23:03:03.684Z] GEN 23:03:03.635 - Test command summary:
[2024-11-14T23:03:03.684Z] GEN 23:03:03.637 - Step Stage Command Description
[2024-11-14T23:03:03.684Z] GEN 23:03:03.639 - -----+--------+-----------------+------------
[2024-11-14T23:03:03.684Z] GEN 23:03:03.640 - 1 execute jar Create com.hello jar
[2024-11-14T23:03:03.684Z] GEN 23:03:03.640 - 2 execute jar Create com.hola jar
[2024-11-14T23:03:03.684Z] GEN 23:03:03.641 - 3 execute jar Create com.helper jar
[2024-11-14T23:03:03.684Z] GEN 23:03:03.642 - 4 execute jar Create com.discreet jar
[2024-11-14T23:03:03.684Z] GEN 23:03:03.643 - 5 execute jar Create tests jar
[2024-11-14T23:03:03.684Z] GEN 23:03:03.643 - 6 execute jlink Create runtime image for PatchModule test
[2024-11-14T23:03:03.684Z] GEN 23:03:03.644 - 7 execute jar Create com.hello jar
[2024-11-14T23:03:03.684Z] GEN 23:03:03.645 - 8 execute jar create java.xml.jar
[2024-11-14T23:03:03.684Z] GEN 23:03:03.645 - 9 execute Run java Verify if we can patch an Application module using exploded directory
[2024-11-14T23:03:03.684Z] GEN 23:03:03.646 - 10 execute Run java Verify if we can patch an Application module using modular jar
[2024-11-14T23:03:04.009Z] STF 23:03:03.737 -
[2024-11-14T23:03:04.009Z] STF 23:03:03.737 - Script generation completed
[2024-11-14T23:03:04.009Z] STF 23:03:03.737 -
[2024-11-14T23:03:04.009Z] STF 23:03:03.738 -
[2024-11-14T23:03:04.009Z] STF 23:03:03.738 - ======================= S E T U P =======================
[2024-11-14T23:03:04.009Z] STF 23:03:03.738 - Running setup: perl /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17316235669143/PatModImg_AppMod_0/20241114-230257-PatModImgTest/setUp.pl
[2024-11-14T23:03:04.009Z] STF 23:03:03.970 - SETUP stage completed
[2024-11-14T23:03:04.009Z] STF 23:03:03.983 -
[2024-11-14T23:03:04.009Z] STF 23:03:03.983 - ==================== E X E C U T E - ====================
[2024-11-14T23:03:04.009Z] STF 23:03:03.983 - Running execute: perl /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17316235669143/PatModImg_AppMod_0/20241114-230257-PatModImgTest/execute.pl
[2024-11-14T23:03:04.342Z] STF 23:03:04.221 -
[2024-11-14T23:03:04.342Z] STF 23:03:04.221 - Java version
[2024-11-14T23:03:04.342Z] STF 23:03:04.221 - Running: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/bin/java -version
[2024-11-14T23:03:04.342Z] Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-11-14T23:03:04.680Z] openjdk version "21.0.6-beta" 2025-01-21
[2024-11-14T23:03:04.680Z] OpenJDK Runtime Environment Temurin-21.0.6+3-202411141708 (build 21.0.6-beta+3-ea)
[2024-11-14T23:03:04.680Z] OpenJDK 64-Bit Server VM Temurin-21.0.6+3-202411141708 (build 21.0.6-beta+3-ea, mixed mode, sharing)
[2024-11-14T23:03:04.680Z] STF 23:03:04.457 -
[2024-11-14T23:03:04.680Z] STF 23:03:04.458 - +------ Step 1 - Create com.hello jar
[2024-11-14T23:03:04.680Z] STF 23:03:04.458 - | Create modular jar
[2024-11-14T23:03:04.680Z] STF 23:03:04.458 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello
[2024-11-14T23:03:04.680Z] STF 23:03:04.458 - | ModuleVersion: null
[2024-11-14T23:03:04.680Z] STF 23:03:04.458 - | MainClass: null
[2024-11-14T23:03:04.680Z] STF 23:03:04.458 - | HashModules: null
[2024-11-14T23:03:04.680Z] STF 23:03:04.458 - |
[2024-11-14T23:03:04.680Z] STF 23:03:04.459 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17316235669143/PatModImg_AppMod_0/20241114-230257-PatModImgTest/modules/1.com.hello.jar -C /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello .
[2024-11-14T23:03:04.680Z] STF 23:03:04.459 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17316235669143/PatModImg_AppMod_0/20241114-230257-PatModImgTest/results/1.CMJ.stderr
[2024-11-14T23:03:04.680Z] STF 23:03:04.460 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17316235669143/PatModImg_AppMod_0/20241114-230257-PatModImgTest/results/1.CMJ.stdout
[2024-11-14T23:03:04.680Z] STF 23:03:04.499 - Monitoring processes: CMJ
[2024-11-14T23:03:04.680Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-11-14T23:03:05.815Z] STF 23:03:05.785 - Monitoring Report Summary:
[2024-11-14T23:03:05.815Z] STF 23:03:05.785 - o Process CMJ ended with the expected exit code (0)
[2024-11-14T23:03:05.815Z] STF 23:03:05.786 - Created modular jar: 1.com.hello.jar
[2024-11-14T23:03:05.815Z] STF 23:03:05.786 -
[2024-11-14T23:03:05.815Z] STF 23:03:05.786 - +------ Step 2 - Create com.hola jar
[2024-11-14T23:03:05.815Z] STF 23:03:05.786 - | Create modular jar
[2024-11-14T23:03:05.815Z] STF 23:03:05.786 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola
[2024-11-14T23:03:05.815Z] STF 23:03:05.786 - | ModuleVersion: null
[2024-11-14T23:03:05.815Z] STF 23:03:05.786 - | MainClass: null
[2024-11-14T23:03:05.815Z] STF 23:03:05.787 - | HashModules: null
[2024-11-14T23:03:05.815Z] STF 23:03:05.787 - |
[2024-11-14T23:03:05.815Z] STF 23:03:05.788 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17316235669143/PatModImg_AppMod_0/20241114-230257-PatModImgTest/modules/2.com.hola.jar -C /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola .
[2024-11-14T23:03:05.815Z] STF 23:03:05.788 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17316235669143/PatModImg_AppMod_0/20241114-230257-PatModImgTest/results/2.CMJ.stderr
[2024-11-14T23:03:05.815Z] STF 23:03:05.788 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17316235669143/PatModImg_AppMod_0/20241114-230257-PatModImgTest/results/2.CMJ.stdout
[2024-11-14T23:03:05.815Z] STF 23:03:05.793 - Monitoring processes: CMJ
[2024-11-14T23:03:06.144Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-11-14T23:03:07.283Z] STF 23:03:07.075 - Monitoring Report Summary:
[2024-11-14T23:03:07.283Z] STF 23:03:07.075 - o Process CMJ ended with the expected exit code (0)
[2024-11-14T23:03:07.283Z] STF 23:03:07.076 - Created modular jar: 2.com.hola.jar
[2024-11-14T23:03:07.283Z] STF 23:03:07.076 -
[2024-11-14T23:03:07.283Z] STF 23:03:07.076 - +------ Step 3 - Create com.helper jar
[2024-11-14T23:03:07.283Z] STF 23:03:07.076 - | Create modular jar
[2024-11-14T23:03:07.283Z] STF 23:03:07.076 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper
[2024-11-14T23:03:07.283Z] STF 23:03:07.076 - | ModuleVersion: null
[2024-11-14T23:03:07.283Z] STF 23:03:07.076 - | MainClass: null
[2024-11-14T23:03:07.283Z] STF 23:03:07.076 - | HashModules: null
[2024-11-14T23:03:07.283Z] STF 23:03:07.076 - |
[2024-11-14T23:03:07.283Z] STF 23:03:07.077 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17316235669143/PatModImg_AppMod_0/20241114-230257-PatModImgTest/modules/3.com.helper.jar -C /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper .
[2024-11-14T23:03:07.283Z] STF 23:03:07.077 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17316235669143/PatModImg_AppMod_0/20241114-230257-PatModImgTest/results/3.CMJ.stderr
[2024-11-14T23:03:07.283Z] STF 23:03:07.077 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17316235669143/PatModImg_AppMod_0/20241114-230257-PatModImgTest/results/3.CMJ.stdout
[2024-11-14T23:03:07.283Z] STF 23:03:07.084 - Monitoring processes: CMJ
[2024-11-14T23:03:07.283Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-11-14T23:03:08.417Z] STF 23:03:08.394 - Monitoring Report Summary:
[2024-11-14T23:03:08.417Z] STF 23:03:08.394 - o Process CMJ ended with the expected exit code (0)
[2024-11-14T23:03:08.417Z] STF 23:03:08.394 - Created modular jar: 3.com.helper.jar
[2024-11-14T23:03:08.417Z] STF 23:03:08.394 -
[2024-11-14T23:03:08.417Z] STF 23:03:08.395 - +------ Step 4 - Create com.discreet jar
[2024-11-14T23:03:08.417Z] STF 23:03:08.395 - | Create modular jar
[2024-11-14T23:03:08.417Z] STF 23:03:08.395 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet
[2024-11-14T23:03:08.417Z] STF 23:03:08.395 - | ModuleVersion: null
[2024-11-14T23:03:08.417Z] STF 23:03:08.395 - | MainClass: null
[2024-11-14T23:03:08.417Z] STF 23:03:08.395 - | HashModules: null
[2024-11-14T23:03:08.417Z] STF 23:03:08.395 - |
[2024-11-14T23:03:08.417Z] STF 23:03:08.396 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17316235669143/PatModImg_AppMod_0/20241114-230257-PatModImgTest/modules/4.com.discreet.jar -C /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet .
[2024-11-14T23:03:08.417Z] STF 23:03:08.396 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17316235669143/PatModImg_AppMod_0/20241114-230257-PatModImgTest/results/4.CMJ.stderr
[2024-11-14T23:03:08.417Z] STF 23:03:08.396 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17316235669143/PatModImg_AppMod_0/20241114-230257-PatModImgTest/results/4.CMJ.stdout
[2024-11-14T23:03:08.742Z] STF 23:03:08.401 - Monitoring processes: CMJ
[2024-11-14T23:03:08.742Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-11-14T23:03:09.895Z] STF 23:03:09.671 - Monitoring Report Summary:
[2024-11-14T23:03:09.895Z] STF 23:03:09.672 - o Process CMJ ended with the expected exit code (0)
[2024-11-14T23:03:09.895Z] STF 23:03:09.672 - Created modular jar: 4.com.discreet.jar
[2024-11-14T23:03:09.895Z] STF 23:03:09.672 -
[2024-11-14T23:03:09.895Z] STF 23:03:09.672 - +------ Step 5 - Create tests jar
[2024-11-14T23:03:09.895Z] STF 23:03:09.672 - | Create modular jar
[2024-11-14T23:03:09.895Z] STF 23:03:09.673 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test
[2024-11-14T23:03:09.895Z] STF 23:03:09.673 - | ModuleVersion: null
[2024-11-14T23:03:09.895Z] STF 23:03:09.673 - | MainClass: null
[2024-11-14T23:03:09.895Z] STF 23:03:09.673 - | HashModules: null
[2024-11-14T23:03:09.895Z] STF 23:03:09.673 - |
[2024-11-14T23:03:09.895Z] STF 23:03:09.673 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17316235669143/PatModImg_AppMod_0/20241114-230257-PatModImgTest/modules/5.com.test.jar -C /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test .
[2024-11-14T23:03:09.895Z] STF 23:03:09.674 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17316235669143/PatModImg_AppMod_0/20241114-230257-PatModImgTest/results/5.CMJ.stderr
[2024-11-14T23:03:09.895Z] STF 23:03:09.674 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17316235669143/PatModImg_AppMod_0/20241114-230257-PatModImgTest/results/5.CMJ.stdout
[2024-11-14T23:03:09.895Z] STF 23:03:09.678 - Monitoring processes: CMJ
[2024-11-14T23:03:09.895Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-11-14T23:03:11.537Z] STF 23:03:11.050 - Monitoring Report Summary:
[2024-11-14T23:03:11.537Z] STF 23:03:11.050 - o Process CMJ ended with the expected exit code (0)
[2024-11-14T23:03:11.537Z] STF 23:03:11.052 - Created modular jar: 5.com.test.jar
[2024-11-14T23:03:11.537Z] STF 23:03:11.052 -
[2024-11-14T23:03:11.537Z] STF 23:03:11.052 - +------ Step 6 - Create runtime image for PatchModule test
[2024-11-14T23:03:11.537Z] STF 23:03:11.052 - | Run jlink to create runtime image
[2024-11-14T23:03:11.537Z] STF 23:03:11.052 - | ImageName: XpJVM
[2024-11-14T23:03:11.537Z] STF 23:03:11.052 - |
[2024-11-14T23:03:11.537Z] STF 23:03:11.054 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/bin/jlink --module-path /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/jmods:/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17316235669143/PatModImg_AppMod_0/20241114-230257-PatModImgTest/modules --add-modules com.hello,com.hola,com.test,com.helper,com.discreet --output /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17316235669143/PatModImg_AppMod_0/20241114-230257-PatModImgTest/tmp/6.XpJVM
[2024-11-14T23:03:11.537Z] STF 23:03:11.054 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17316235669143/PatModImg_AppMod_0/20241114-230257-PatModImgTest/results/6.JLNK.stderr
[2024-11-14T23:03:11.537Z] STF 23:03:11.054 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17316235669143/PatModImg_AppMod_0/20241114-230257-PatModImgTest/results/6.JLNK.stdout
[2024-11-14T23:03:11.537Z] STF 23:03:11.063 - Monitoring processes: JLNK
[2024-11-14T23:03:11.537Z] JLNK stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-11-14T23:03:22.307Z] STF 23:03:21.881 - Monitoring Report Summary:
[2024-11-14T23:03:22.307Z] STF 23:03:21.882 - o Process JLNK ended with the expected exit code (0)
[2024-11-14T23:03:22.307Z] STF 23:03:21.885 -
[2024-11-14T23:03:22.307Z] STF 23:03:21.885 - +------ Step 7 - Create com.hello jar
[2024-11-14T23:03:22.307Z] STF 23:03:21.886 - | Create modular jar
[2024-11-14T23:03:22.307Z] STF 23:03:21.886 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello
[2024-11-14T23:03:22.307Z] STF 23:03:21.886 - | ModuleVersion: null
[2024-11-14T23:03:22.307Z] STF 23:03:21.886 - | MainClass: null
[2024-11-14T23:03:22.307Z] STF 23:03:21.887 - | HashModules: null
[2024-11-14T23:03:22.307Z] STF 23:03:21.887 - |
[2024-11-14T23:03:22.307Z] STF 23:03:21.891 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17316235669143/PatModImg_AppMod_0/20241114-230257-PatModImgTest/modules/7.com.hello.jar -C /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello .
[2024-11-14T23:03:22.307Z] STF 23:03:21.892 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17316235669143/PatModImg_AppMod_0/20241114-230257-PatModImgTest/results/7.CMJ.stderr
[2024-11-14T23:03:22.307Z] STF 23:03:21.892 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17316235669143/PatModImg_AppMod_0/20241114-230257-PatModImgTest/results/7.CMJ.stdout
[2024-11-14T23:03:22.307Z] STF 23:03:21.902 - Monitoring processes: CMJ
[2024-11-14T23:03:22.307Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-11-14T23:03:23.436Z] STF 23:03:23.187 - Monitoring Report Summary:
[2024-11-14T23:03:23.436Z] STF 23:03:23.187 - o Process CMJ ended with the expected exit code (0)
[2024-11-14T23:03:23.436Z] STF 23:03:23.188 - Created modular jar: 7.com.hello.jar
[2024-11-14T23:03:23.436Z] STF 23:03:23.188 -
[2024-11-14T23:03:23.436Z] STF 23:03:23.188 - +------ Step 8 - create java.xml.jar
[2024-11-14T23:03:23.436Z] STF 23:03:23.188 - | Create modular jar
[2024-11-14T23:03:23.436Z] STF 23:03:23.188 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml
[2024-11-14T23:03:23.436Z] STF 23:03:23.189 - | ModuleVersion: null
[2024-11-14T23:03:23.436Z] STF 23:03:23.189 - | MainClass: null
[2024-11-14T23:03:23.436Z] STF 23:03:23.189 - | HashModules: null
[2024-11-14T23:03:23.436Z] STF 23:03:23.189 - |
[2024-11-14T23:03:23.436Z] STF 23:03:23.192 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17316235669143/PatModImg_AppMod_0/20241114-230257-PatModImgTest/modules/8.java.xml.jar -C /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/java.xml .
[2024-11-14T23:03:23.436Z] STF 23:03:23.192 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17316235669143/PatModImg_AppMod_0/20241114-230257-PatModImgTest/results/8.CMJ.stderr
[2024-11-14T23:03:23.436Z] STF 23:03:23.192 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17316235669143/PatModImg_AppMod_0/20241114-230257-PatModImgTest/results/8.CMJ.stdout
[2024-11-14T23:03:23.436Z] STF 23:03:23.205 - Monitoring processes: CMJ
[2024-11-14T23:03:23.436Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-11-14T23:03:24.595Z] STF 23:03:24.481 - Monitoring Report Summary:
[2024-11-14T23:03:24.595Z] STF 23:03:24.481 - o Process CMJ ended with the expected exit code (0)
[2024-11-14T23:03:24.595Z] STF 23:03:24.482 - Created modular jar: 8.java.xml.jar
[2024-11-14T23:03:24.596Z] STF 23:03:24.482 -
[2024-11-14T23:03:24.596Z] STF 23:03:24.482 - +------ Step 9 - Verify if we can patch an Application module using exploded directory
[2024-11-14T23:03:24.596Z] STF 23:03:24.482 - | Run foreground process
[2024-11-14T23:03:24.596Z] STF 23:03:24.482 - | Program: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17316235669143/PatModImg_AppMod_0/20241114-230257-PatModImgTest/tmp/6.XpJVM/bin/java
[2024-11-14T23:03:24.596Z] STF 23:03:24.482 - | Mnemonic: OT21
[2024-11-14T23:03:24.596Z] STF 23:03:24.482 - | Echo: ECHO_ON
[2024-11-14T23:03:24.596Z] STF 23:03:24.482 - | Expectation: CLEAN_RUN within 5m
[2024-11-14T23:03:24.596Z] STF 23:03:24.482 - |
[2024-11-14T23:03:24.596Z] STF 23:03:24.483 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17316235669143/PatModImg_AppMod_0/20241114-230257-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module com.hello=/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello -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.TestOverrideUsingAppModule
[2024-11-14T23:03:24.596Z] STF 23:03:24.483 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17316235669143/PatModImg_AppMod_0/20241114-230257-PatModImgTest/results/9.OT21.stderr
[2024-11-14T23:03:24.596Z] STF 23:03:24.483 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17316235669143/PatModImg_AppMod_0/20241114-230257-PatModImgTest/results/9.OT21.stdout
[2024-11-14T23:03:24.596Z] STF 23:03:24.491 - Monitoring processes: OT21
[2024-11-14T23:03:24.596Z] OT21 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-11-14T23:03:25.290Z] OT21 stderr WARNING: module-info.class ignored in patch: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello
[2024-11-14T23:03:25.613Z] OT21 JUnit version 4.12
[2024-11-14T23:03:26.310Z] OT21 .
[2024-11-14T23:03:26.310Z] OT21 Time: 0.055
[2024-11-14T23:03:26.310Z] OT21
[2024-11-14T23:03:26.310Z] OT21 OK (1 test)
[2024-11-14T23:03:26.310Z] OT21
[2024-11-14T23:03:26.310Z] STF 23:03:26.076 - Monitoring Report Summary:
[2024-11-14T23:03:26.310Z] STF 23:03:26.076 - o Process OT21 ended with the expected exit code (0)
[2024-11-14T23:03:26.310Z] STF 23:03:26.077 -
[2024-11-14T23:03:26.310Z] STF 23:03:26.077 - +------ Step 10 - Verify if we can patch an Application module using modular jar
[2024-11-14T23:03:26.310Z] STF 23:03:26.077 - | Run foreground process
[2024-11-14T23:03:26.310Z] STF 23:03:26.077 - | Program: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17316235669143/PatModImg_AppMod_0/20241114-230257-PatModImgTest/tmp/6.XpJVM/bin/java
[2024-11-14T23:03:26.310Z] STF 23:03:26.077 - | Mnemonic: OT22
[2024-11-14T23:03:26.310Z] STF 23:03:26.077 - | Echo: ECHO_ON
[2024-11-14T23:03:26.310Z] STF 23:03:26.077 - | Expectation: CLEAN_RUN within 5m
[2024-11-14T23:03:26.310Z] STF 23:03:26.077 - |
[2024-11-14T23:03:26.310Z] STF 23:03:26.078 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17316235669143/PatModImg_AppMod_0/20241114-230257-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module com.hello=/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17316235669143/PatModImg_AppMod_0/20241114-230257-PatModImgTest/modules/7.com.hello.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.TestOverrideUsingAppModule
[2024-11-14T23:03:26.310Z] STF 23:03:26.078 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17316235669143/PatModImg_AppMod_0/20241114-230257-PatModImgTest/results/10.OT22.stderr
[2024-11-14T23:03:26.310Z] STF 23:03:26.078 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17316235669143/PatModImg_AppMod_0/20241114-230257-PatModImgTest/results/10.OT22.stdout
[2024-11-14T23:03:26.310Z] STF 23:03:26.084 - Monitoring processes: OT22
[2024-11-14T23:03:26.310Z] OT22 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-11-14T23:03:27.014Z] OT22 stderr WARNING: module-info.class ignored in patch: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17316235669143/PatModImg_AppMod_0/20241114-230257-PatModImgTest/modules/7.com.hello.jar
[2024-11-14T23:03:27.338Z] OT22 JUnit version 4.12
[2024-11-14T23:03:27.680Z] OT22 .
[2024-11-14T23:03:27.680Z] OT22 Time: 0.04
[2024-11-14T23:03:27.680Z] OT22
[2024-11-14T23:03:27.680Z] OT22 OK (1 test)
[2024-11-14T23:03:27.680Z] OT22
[2024-11-14T23:03:28.008Z] STF 23:03:27.581 - Monitoring Report Summary:
[2024-11-14T23:03:28.008Z] STF 23:03:27.581 - o Process OT22 ended with the expected exit code (0)
[2024-11-14T23:03:28.008Z] STF 23:03:27.582 - EXECUTE stage completed
[2024-11-14T23:03:28.008Z] STF 23:03:27.767 -
[2024-11-14T23:03:28.008Z] STF 23:03:27.767 - ==================== T E A R D O W N ====================
[2024-11-14T23:03:28.008Z] STF 23:03:27.767 - Running teardown: perl /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17316235669143/PatModImg_AppMod_0/20241114-230257-PatModImgTest/tearDown.pl
[2024-11-14T23:03:28.008Z] STF 23:03:27.993 - TEARDOWN stage completed
[2024-11-14T23:03:28.339Z] STF 23:03:28.005 -
[2024-11-14T23:03:28.339Z] STF 23:03:28.006 - ===================== R E S U L T S =====================
[2024-11-14T23:03:28.339Z] STF 23:03:28.006 - Stage results:
[2024-11-14T23:03:28.339Z] STF 23:03:28.006 - setUp: pass
[2024-11-14T23:03:28.339Z] STF 23:03:28.006 - execute: pass
[2024-11-14T23:03:28.339Z] STF 23:03:28.006 - teardown: pass
[2024-11-14T23:03:28.339Z] STF 23:03:28.006 -
[2024-11-14T23:03:28.339Z] STF 23:03:28.006 - Overall result: PASSED
[2024-11-14T23:03:28.339Z] -----------------------------------
[2024-11-14T23:03:28.339Z] PatModImg_AppMod_0_PASSED
[2024-11-14T23:03:28.339Z] -----------------------------------
[2024-11-14T23:03:28.339Z]
[2024-11-14T23:03:28.339Z] TEST TEARDOWN:
[2024-11-14T23:03:28.339Z] Nothing to be done for teardown.
[2024-11-14T23:03:28.339Z] PatModImg_AppMod_0 Finish Time: Thu Nov 14 23:03:28 2024 Epoch Time (ms): 1731625408187