PatModImg_PlatMod_0
[2025-09-02T16:19:37.786Z] Running test PatModImg_PlatMod_0 ...
[2025-09-02T16:19:37.786Z] ===============================================
[2025-09-02T16:19:37.786Z] PatModImg_PlatMod_0 Start Time: Tue Sep 2 16:19:37 2025 Epoch Time (ms): 1756829977465
[2025-09-02T16:19:37.786Z] variation: Mode150
[2025-09-02T16:19:37.786Z] JVM_OPTIONS: -XX:+UseCompressedOops
[2025-09-02T16:19:37.786Z] { \
[2025-09-02T16:19:37.786Z] echo ""; echo "TEST SETUP:"; \
[2025-09-02T16:19:37.786Z] echo "Nothing to be done for setup."; \
[2025-09-02T16:19:37.786Z] mkdir -p "/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/../TKG/output_1756829195279/PatModImg_PlatMod_0"; \
[2025-09-02T16:19:37.786Z] cd "/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/../TKG/output_1756829195279/PatModImg_PlatMod_0"; \
[2025-09-02T16:19:37.786Z] echo ""; echo "TESTING:"; \
[2025-09-02T16:19:37.787Z] perl /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_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_x86-64_linux_testList_2/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF;/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/../../jvmtest/system/modularity/..//aqa-systemtest""" -systemtest-prereqs="/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_2/../../externalDependency/system_lib/" -java-args=' -XX:+UseCompressedOops ' -results-root="/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/../TKG/output_1756829195279/PatModImg_PlatMod_0" -test=PatModImgTest -test-args="variant=PlatMod"; \
[2025-09-02T16:19:37.787Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatModImg_PlatMod_0""_PASSED"; echo "-----------------------------------"; cd /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/..; rm -f -r "/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/../TKG/output_1756829195279/PatModImg_PlatMod_0"; else echo "-----------------------------------"; echo "PatModImg_PlatMod_0""_FAILED"; echo "-----------------------------------"; fi; \
[2025-09-02T16:19:37.787Z] echo ""; echo "TEST TEARDOWN:"; \
[2025-09-02T16:19:37.787Z] echo "Nothing to be done for teardown."; \
[2025-09-02T16:19:37.787Z] } 2>&1 | tee -a "/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/../TKG/output_1756829195279/TestTargetResult";
[2025-09-02T16:19:37.787Z]
[2025-09-02T16:19:37.787Z] TEST SETUP:
[2025-09-02T16:19:37.787Z] Nothing to be done for setup.
[2025-09-02T16:19:37.787Z]
[2025-09-02T16:19:37.787Z] TESTING:
[2025-09-02T16:19:37.787Z] STF 16:19:37.512 - ========================= S T F =========================
[2025-09-02T16:19:37.787Z] systemtest-prereqs has been processed, and set to: /home/jenkins/externalDependency/system_libRetrieving amount of free space on drive containing /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/../TKG/output_1756829195279/PatModImg_PlatMod_0
[2025-09-02T16:19:37.787Z] There is 105041 Mb free
[2025-09-02T16:19:37.787Z] STF 16:19:37.516 - ================== G E N E R A T I O N ==================
[2025-09-02T16:19:37.787Z] STF 16:19:37.517 - Checking JVM: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_2/jdkbinary/j2sdk-image
[2025-09-02T16:19:37.787Z] STF 16:19:37.517 - Starting process to generate scripts: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_2/jdkbinary/j2sdk-image/bin/java -Dlog4j.skipJansi=true -Djava.system.class.loader=net.adoptopenjdk.stf.runner.StfClassLoader -Dload.agent.path=/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_2/jvmtest/system/STF/stf.core/scripts/../../stf.load/bin/stf.load.jar -classpath /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_2/../../externalDependency/system_lib//asm/asm.jar:/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_2/../../externalDependency/system_lib//asm/asm-commons.jar:/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_2/../../externalDependency/system_lib//log4j/log4j-api.jar:/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_2/../../externalDependency/system_lib//log4j/log4j-core.jar:/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_2/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_2/aqa-tests/TKG/../TKG/output_1756829195279/PatModImg_PlatMod_0/20250902-161937-PatModImgTest/stf_parameters.properties, , /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_2/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/../TKG/output_1756829195279/PatModImg_PlatMod_0/20250902-161937-PatModImgTest"
[2025-09-02T16:19:37.787Z] GEN stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-09-02T16:19:37.787Z] GEN [0.009s][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
[2025-09-02T16:19:39.192Z] GEN 16:19:38.404 - Found test. Project: 'openjdk.test.modularity' class: 'PatModImgTest.class' Dir: '/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin'
[2025-09-02T16:19:39.192Z] GEN 16:19:38.414 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModImgTest'
[2025-09-02T16:19:39.192Z] GEN Classpath directories used by project 'openjdk.test.modularity':
[2025-09-02T16:19:39.192Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayService
[2025-09-02T16:19:39.192Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper
[2025-09-02T16:19:39.192Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl1
[2025-09-02T16:19:39.192Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet
[2025-09-02T16:19:39.192Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello
[2025-09-02T16:19:39.193Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola
[2025-09-02T16:19:39.193Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl2
[2025-09-02T16:19:39.193Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hi
[2025-09-02T16:19:39.193Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override
[2025-09-02T16:19:39.193Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override-new
[2025-09-02T16:19:39.193Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl3
[2025-09-02T16:19:39.193Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl4
[2025-09-02T16:19:39.193Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common
[2025-09-02T16:19:39.193Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests
[2025-09-02T16:19:39.193Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin
[2025-09-02T16:19:39.193Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_2/jvmtest/system/STF/stf.core/bin
[2025-09-02T16:19:39.193Z] GEN /home/jenkins/externalDependency/system_lib/log4j/log4j-api.jar
[2025-09-02T16:19:39.193Z] GEN /home/jenkins/externalDependency/system_lib/log4j/log4j-core.jar
[2025-09-02T16:19:39.193Z] GEN /home/jenkins/externalDependency/system_lib/junit/junit.jar
[2025-09-02T16:19:39.193Z] GEN 16:19:38.558 - Using Mode NoOptions. Values = ''
[2025-09-02T16:19:39.193Z] GEN 16:19:38.633 -
[2025-09-02T16:19:39.193Z] GEN 16:19:38.633 - Test command summary:
[2025-09-02T16:19:39.193Z] GEN 16:19:38.633 - Step Stage Command Description
[2025-09-02T16:19:39.193Z] GEN 16:19:38.633 - -----+--------+-----------------+------------
[2025-09-02T16:19:39.193Z] GEN 16:19:38.633 - 1 execute jar Create com.hello jar
[2025-09-02T16:19:39.193Z] GEN 16:19:38.633 - 2 execute jar Create com.hola jar
[2025-09-02T16:19:39.193Z] GEN 16:19:38.633 - 3 execute jar Create com.helper jar
[2025-09-02T16:19:39.193Z] GEN 16:19:38.633 - 4 execute jar Create com.discreet jar
[2025-09-02T16:19:39.193Z] GEN 16:19:38.633 - 5 execute jar Create tests jar
[2025-09-02T16:19:39.193Z] GEN 16:19:38.634 - 6 execute jlink Create runtime image for PatchModule test
[2025-09-02T16:19:39.193Z] GEN 16:19:38.634 - 7 execute jar Create com.hello jar
[2025-09-02T16:19:39.193Z] GEN 16:19:38.634 - 8 execute jar create java.xml.jar
[2025-09-02T16:19:39.193Z] GEN 16:19:38.634 - 9 execute Run java Verify if we can patch an upgradable platform module using exploded directory
[2025-09-02T16:19:39.193Z] GEN 16:19:38.634 - 10 execute Run java Verify if we can patch an upgradable platform module using modular jar
[2025-09-02T16:19:39.193Z] STF 16:19:38.662 -
[2025-09-02T16:19:39.193Z] STF 16:19:38.662 - Script generation completed
[2025-09-02T16:19:39.193Z] STF 16:19:38.662 -
[2025-09-02T16:19:39.193Z] STF 16:19:38.662 -
[2025-09-02T16:19:39.193Z] STF 16:19:38.663 - ======================= S E T U P =======================
[2025-09-02T16:19:39.193Z] STF 16:19:38.663 - Running setup: perl /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/../TKG/output_1756829195279/PatModImg_PlatMod_0/20250902-161937-PatModImgTest/setUp.pl
[2025-09-02T16:19:39.193Z] STF 16:19:38.702 - SETUP stage completed
[2025-09-02T16:19:39.193Z] STF 16:19:38.707 -
[2025-09-02T16:19:39.193Z] STF 16:19:38.707 - ==================== E X E C U T E - ====================
[2025-09-02T16:19:39.193Z] STF 16:19:38.707 - Running execute: perl /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/../TKG/output_1756829195279/PatModImg_PlatMod_0/20250902-161937-PatModImgTest/execute.pl
[2025-09-02T16:19:39.193Z] STF 16:19:38.748 -
[2025-09-02T16:19:39.193Z] STF 16:19:38.748 - Java version
[2025-09-02T16:19:39.193Z] STF 16:19:38.748 - Running: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_2/jdkbinary/j2sdk-image/bin/java -version
[2025-09-02T16:19:39.193Z] Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-09-02T16:19:39.193Z] openjdk version "21.0.9-beta" 2025-10-21
[2025-09-02T16:19:39.193Z] OpenJDK Runtime Environment Temurin-21.0.9+5-202509021448 (build 21.0.9-beta+5-202509021448)
[2025-09-02T16:19:39.193Z] OpenJDK 64-Bit Server VM Temurin-21.0.9+5-202509021448 (build 21.0.9-beta+5-202509021448, mixed mode, sharing)
[2025-09-02T16:19:39.193Z] STF 16:19:38.785 -
[2025-09-02T16:19:39.193Z] STF 16:19:38.785 - +------ Step 1 - Create com.hello jar
[2025-09-02T16:19:39.193Z] STF 16:19:38.785 - | Create modular jar
[2025-09-02T16:19:39.193Z] STF 16:19:38.785 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello
[2025-09-02T16:19:39.193Z] STF 16:19:38.785 - | ModuleVersion: null
[2025-09-02T16:19:39.193Z] STF 16:19:38.785 - | MainClass: null
[2025-09-02T16:19:39.193Z] STF 16:19:38.785 - | HashModules: null
[2025-09-02T16:19:39.193Z] STF 16:19:38.786 - |
[2025-09-02T16:19:39.193Z] STF 16:19:38.786 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_1756829195279/PatModImg_PlatMod_0/20250902-161937-PatModImgTest/modules/1.com.hello.jar -C /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello .
[2025-09-02T16:19:39.193Z] STF 16:19:38.786 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_1756829195279/PatModImg_PlatMod_0/20250902-161937-PatModImgTest/results/1.CMJ.stderr
[2025-09-02T16:19:39.193Z] STF 16:19:38.786 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_1756829195279/PatModImg_PlatMod_0/20250902-161937-PatModImgTest/results/1.CMJ.stdout
[2025-09-02T16:19:39.193Z] STF 16:19:38.793 - Monitoring processes: CMJ
[2025-09-02T16:19:39.193Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-09-02T16:19:39.193Z] STF 16:19:39.026 - Monitoring Report Summary:
[2025-09-02T16:19:39.193Z] STF 16:19:39.026 - o Process CMJ ended with the expected exit code (0)
[2025-09-02T16:19:39.193Z] STF 16:19:39.026 - Created modular jar: 1.com.hello.jar
[2025-09-02T16:19:39.193Z] STF 16:19:39.026 -
[2025-09-02T16:19:39.193Z] STF 16:19:39.026 - +------ Step 2 - Create com.hola jar
[2025-09-02T16:19:39.193Z] STF 16:19:39.026 - | Create modular jar
[2025-09-02T16:19:39.193Z] STF 16:19:39.026 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola
[2025-09-02T16:19:39.193Z] STF 16:19:39.026 - | ModuleVersion: null
[2025-09-02T16:19:39.193Z] STF 16:19:39.026 - | MainClass: null
[2025-09-02T16:19:39.193Z] STF 16:19:39.026 - | HashModules: null
[2025-09-02T16:19:39.193Z] STF 16:19:39.026 - |
[2025-09-02T16:19:39.193Z] STF 16:19:39.026 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_1756829195279/PatModImg_PlatMod_0/20250902-161937-PatModImgTest/modules/2.com.hola.jar -C /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola .
[2025-09-02T16:19:39.193Z] STF 16:19:39.026 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_1756829195279/PatModImg_PlatMod_0/20250902-161937-PatModImgTest/results/2.CMJ.stderr
[2025-09-02T16:19:39.193Z] STF 16:19:39.026 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_1756829195279/PatModImg_PlatMod_0/20250902-161937-PatModImgTest/results/2.CMJ.stdout
[2025-09-02T16:19:39.193Z] STF 16:19:39.027 - Monitoring processes: CMJ
[2025-09-02T16:19:39.193Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-09-02T16:19:39.928Z] STF 16:19:39.263 - Monitoring Report Summary:
[2025-09-02T16:19:39.928Z] STF 16:19:39.263 - o Process CMJ ended with the expected exit code (0)
[2025-09-02T16:19:39.928Z] STF 16:19:39.263 - Created modular jar: 2.com.hola.jar
[2025-09-02T16:19:39.928Z] STF 16:19:39.263 -
[2025-09-02T16:19:39.928Z] STF 16:19:39.263 - +------ Step 3 - Create com.helper jar
[2025-09-02T16:19:39.928Z] STF 16:19:39.263 - | Create modular jar
[2025-09-02T16:19:39.928Z] STF 16:19:39.263 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper
[2025-09-02T16:19:39.928Z] STF 16:19:39.263 - | ModuleVersion: null
[2025-09-02T16:19:39.928Z] STF 16:19:39.263 - | MainClass: null
[2025-09-02T16:19:39.928Z] STF 16:19:39.263 - | HashModules: null
[2025-09-02T16:19:39.928Z] STF 16:19:39.263 - |
[2025-09-02T16:19:39.928Z] STF 16:19:39.263 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_1756829195279/PatModImg_PlatMod_0/20250902-161937-PatModImgTest/modules/3.com.helper.jar -C /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper .
[2025-09-02T16:19:39.929Z] STF 16:19:39.263 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_1756829195279/PatModImg_PlatMod_0/20250902-161937-PatModImgTest/results/3.CMJ.stderr
[2025-09-02T16:19:39.929Z] STF 16:19:39.263 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_1756829195279/PatModImg_PlatMod_0/20250902-161937-PatModImgTest/results/3.CMJ.stdout
[2025-09-02T16:19:39.929Z] STF 16:19:39.264 - Monitoring processes: CMJ
[2025-09-02T16:19:39.929Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-09-02T16:19:39.929Z] STF 16:19:39.483 - Monitoring Report Summary:
[2025-09-02T16:19:39.929Z] STF 16:19:39.483 - o Process CMJ ended with the expected exit code (0)
[2025-09-02T16:19:39.929Z] STF 16:19:39.483 - Created modular jar: 3.com.helper.jar
[2025-09-02T16:19:39.929Z] STF 16:19:39.483 -
[2025-09-02T16:19:39.929Z] STF 16:19:39.483 - +------ Step 4 - Create com.discreet jar
[2025-09-02T16:19:39.929Z] STF 16:19:39.483 - | Create modular jar
[2025-09-02T16:19:39.929Z] STF 16:19:39.483 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet
[2025-09-02T16:19:39.929Z] STF 16:19:39.483 - | ModuleVersion: null
[2025-09-02T16:19:39.929Z] STF 16:19:39.483 - | MainClass: null
[2025-09-02T16:19:39.929Z] STF 16:19:39.483 - | HashModules: null
[2025-09-02T16:19:39.929Z] STF 16:19:39.483 - |
[2025-09-02T16:19:39.929Z] STF 16:19:39.483 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_1756829195279/PatModImg_PlatMod_0/20250902-161937-PatModImgTest/modules/4.com.discreet.jar -C /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet .
[2025-09-02T16:19:39.929Z] STF 16:19:39.483 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_1756829195279/PatModImg_PlatMod_0/20250902-161937-PatModImgTest/results/4.CMJ.stderr
[2025-09-02T16:19:39.929Z] STF 16:19:39.483 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_1756829195279/PatModImg_PlatMod_0/20250902-161937-PatModImgTest/results/4.CMJ.stdout
[2025-09-02T16:19:39.929Z] STF 16:19:39.484 - Monitoring processes: CMJ
[2025-09-02T16:19:39.929Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-09-02T16:19:39.929Z] STF 16:19:39.716 - Monitoring Report Summary:
[2025-09-02T16:19:39.929Z] STF 16:19:39.717 - o Process CMJ ended with the expected exit code (0)
[2025-09-02T16:19:39.929Z] STF 16:19:39.717 - Created modular jar: 4.com.discreet.jar
[2025-09-02T16:19:39.929Z] STF 16:19:39.717 -
[2025-09-02T16:19:39.929Z] STF 16:19:39.717 - +------ Step 5 - Create tests jar
[2025-09-02T16:19:39.929Z] STF 16:19:39.717 - | Create modular jar
[2025-09-02T16:19:39.929Z] STF 16:19:39.717 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test
[2025-09-02T16:19:39.929Z] STF 16:19:39.717 - | ModuleVersion: null
[2025-09-02T16:19:39.929Z] STF 16:19:39.717 - | MainClass: null
[2025-09-02T16:19:39.929Z] STF 16:19:39.717 - | HashModules: null
[2025-09-02T16:19:39.929Z] STF 16:19:39.717 - |
[2025-09-02T16:19:39.929Z] STF 16:19:39.717 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_1756829195279/PatModImg_PlatMod_0/20250902-161937-PatModImgTest/modules/5.com.test.jar -C /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test .
[2025-09-02T16:19:39.929Z] STF 16:19:39.717 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_1756829195279/PatModImg_PlatMod_0/20250902-161937-PatModImgTest/results/5.CMJ.stderr
[2025-09-02T16:19:39.929Z] STF 16:19:39.717 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_1756829195279/PatModImg_PlatMod_0/20250902-161937-PatModImgTest/results/5.CMJ.stdout
[2025-09-02T16:19:39.929Z] STF 16:19:39.718 - Monitoring processes: CMJ
[2025-09-02T16:19:39.929Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-09-02T16:19:40.568Z] STF 16:19:39.944 - Monitoring Report Summary:
[2025-09-02T16:19:40.568Z] STF 16:19:39.944 - o Process CMJ ended with the expected exit code (0)
[2025-09-02T16:19:40.568Z] STF 16:19:39.945 - Created modular jar: 5.com.test.jar
[2025-09-02T16:19:40.568Z] STF 16:19:39.945 -
[2025-09-02T16:19:40.568Z] STF 16:19:39.945 - +------ Step 6 - Create runtime image for PatchModule test
[2025-09-02T16:19:40.568Z] STF 16:19:39.945 - | Run jlink to create runtime image
[2025-09-02T16:19:40.568Z] STF 16:19:39.945 - | ImageName: XpJVM
[2025-09-02T16:19:40.568Z] STF 16:19:39.945 - |
[2025-09-02T16:19:40.568Z] STF 16:19:39.945 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_2/jdkbinary/j2sdk-image/bin/jlink --module-path /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_2/jdkbinary/j2sdk-image/jmods:/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_1756829195279/PatModImg_PlatMod_0/20250902-161937-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_2/aqa-tests/TKG/output_1756829195279/PatModImg_PlatMod_0/20250902-161937-PatModImgTest/tmp/6.XpJVM
[2025-09-02T16:19:40.568Z] STF 16:19:39.945 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_1756829195279/PatModImg_PlatMod_0/20250902-161937-PatModImgTest/results/6.JLNK.stderr
[2025-09-02T16:19:40.568Z] STF 16:19:39.945 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_1756829195279/PatModImg_PlatMod_0/20250902-161937-PatModImgTest/results/6.JLNK.stdout
[2025-09-02T16:19:40.568Z] STF 16:19:39.946 - Monitoring processes: JLNK
[2025-09-02T16:19:40.568Z] JLNK stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-09-02T16:19:42.649Z] STF 16:19:42.130 - Monitoring Report Summary:
[2025-09-02T16:19:42.649Z] STF 16:19:42.130 - o Process JLNK ended with the expected exit code (0)
[2025-09-02T16:19:42.649Z] STF 16:19:42.130 -
[2025-09-02T16:19:42.649Z] STF 16:19:42.130 - +------ Step 7 - Create com.hello jar
[2025-09-02T16:19:42.649Z] STF 16:19:42.130 - | Create modular jar
[2025-09-02T16:19:42.649Z] STF 16:19:42.130 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello
[2025-09-02T16:19:42.649Z] STF 16:19:42.130 - | ModuleVersion: null
[2025-09-02T16:19:42.649Z] STF 16:19:42.130 - | MainClass: null
[2025-09-02T16:19:42.649Z] STF 16:19:42.130 - | HashModules: null
[2025-09-02T16:19:42.649Z] STF 16:19:42.130 - |
[2025-09-02T16:19:42.649Z] STF 16:19:42.130 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_1756829195279/PatModImg_PlatMod_0/20250902-161937-PatModImgTest/modules/7.com.hello.jar -C /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello .
[2025-09-02T16:19:42.649Z] STF 16:19:42.130 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_1756829195279/PatModImg_PlatMod_0/20250902-161937-PatModImgTest/results/7.CMJ.stderr
[2025-09-02T16:19:42.649Z] STF 16:19:42.130 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_1756829195279/PatModImg_PlatMod_0/20250902-161937-PatModImgTest/results/7.CMJ.stdout
[2025-09-02T16:19:42.649Z] STF 16:19:42.131 - Monitoring processes: CMJ
[2025-09-02T16:19:42.649Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-09-02T16:19:42.649Z] STF 16:19:42.360 - Monitoring Report Summary:
[2025-09-02T16:19:42.649Z] STF 16:19:42.360 - o Process CMJ ended with the expected exit code (0)
[2025-09-02T16:19:42.649Z] STF 16:19:42.361 - Created modular jar: 7.com.hello.jar
[2025-09-02T16:19:42.649Z] STF 16:19:42.361 -
[2025-09-02T16:19:42.649Z] STF 16:19:42.361 - +------ Step 8 - create java.xml.jar
[2025-09-02T16:19:42.650Z] STF 16:19:42.361 - | Create modular jar
[2025-09-02T16:19:42.650Z] STF 16:19:42.361 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml
[2025-09-02T16:19:42.650Z] STF 16:19:42.361 - | ModuleVersion: null
[2025-09-02T16:19:42.650Z] STF 16:19:42.361 - | MainClass: null
[2025-09-02T16:19:42.650Z] STF 16:19:42.361 - | HashModules: null
[2025-09-02T16:19:42.650Z] STF 16:19:42.361 - |
[2025-09-02T16:19:42.650Z] STF 16:19:42.361 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_1756829195279/PatModImg_PlatMod_0/20250902-161937-PatModImgTest/modules/8.java.xml.jar -C /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/java.xml .
[2025-09-02T16:19:42.650Z] STF 16:19:42.361 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_1756829195279/PatModImg_PlatMod_0/20250902-161937-PatModImgTest/results/8.CMJ.stderr
[2025-09-02T16:19:42.650Z] STF 16:19:42.361 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_1756829195279/PatModImg_PlatMod_0/20250902-161937-PatModImgTest/results/8.CMJ.stdout
[2025-09-02T16:19:42.650Z] STF 16:19:42.362 - Monitoring processes: CMJ
[2025-09-02T16:19:42.650Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-09-02T16:19:42.650Z] STF 16:19:42.590 - Monitoring Report Summary:
[2025-09-02T16:19:42.650Z] STF 16:19:42.590 - o Process CMJ ended with the expected exit code (0)
[2025-09-02T16:19:42.650Z] STF 16:19:42.590 - Created modular jar: 8.java.xml.jar
[2025-09-02T16:19:42.650Z] STF 16:19:42.590 -
[2025-09-02T16:19:42.650Z] STF 16:19:42.590 - +------ Step 9 - Verify if we can patch an upgradable platform module using exploded directory
[2025-09-02T16:19:42.650Z] STF 16:19:42.590 - | Run foreground process
[2025-09-02T16:19:42.650Z] STF 16:19:42.590 - | Program: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_1756829195279/PatModImg_PlatMod_0/20250902-161937-PatModImgTest/tmp/6.XpJVM/bin/java
[2025-09-02T16:19:42.650Z] STF 16:19:42.590 - | Mnemonic: OT11
[2025-09-02T16:19:42.650Z] STF 16:19:42.590 - | Echo: ECHO_ON
[2025-09-02T16:19:42.650Z] STF 16:19:42.590 - | Expectation: CLEAN_RUN within 5m
[2025-09-02T16:19:42.650Z] STF 16:19:42.590 - |
[2025-09-02T16:19:42.650Z] STF 16:19:42.591 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_1756829195279/PatModImg_PlatMod_0/20250902-161937-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_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/java.xml -XX:+UseCompressedOops -classpath /home/jenkins/externalDependency/system_lib/junit/junit.jar:/home/jenkins/externalDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingUpgradablePlatformModule
[2025-09-02T16:19:42.650Z] STF 16:19:42.591 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_1756829195279/PatModImg_PlatMod_0/20250902-161937-PatModImgTest/results/9.OT11.stderr
[2025-09-02T16:19:42.650Z] STF 16:19:42.591 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_1756829195279/PatModImg_PlatMod_0/20250902-161937-PatModImgTest/results/9.OT11.stdout
[2025-09-02T16:19:42.650Z] STF 16:19:42.592 - Monitoring processes: OT11
[2025-09-02T16:19:43.289Z] OT11 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-09-02T16:19:43.289Z] OT11 stderr WARNING: module-info.class ignored in patch: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/java.xml
[2025-09-02T16:19:43.289Z] OT11 JUnit version 4.12
[2025-09-02T16:19:43.289Z] OT11 .
[2025-09-02T16:19:43.289Z] OT11 Time: 0.004
[2025-09-02T16:19:43.289Z] OT11
[2025-09-02T16:19:43.289Z] OT11 OK (1 test)
[2025-09-02T16:19:43.289Z] OT11
[2025-09-02T16:19:43.289Z] STF 16:19:42.821 - Monitoring Report Summary:
[2025-09-02T16:19:43.289Z] STF 16:19:42.821 - o Process OT11 ended with the expected exit code (0)
[2025-09-02T16:19:43.289Z] STF 16:19:42.822 -
[2025-09-02T16:19:43.289Z] STF 16:19:42.822 - +------ Step 10 - Verify if we can patch an upgradable platform module using modular jar
[2025-09-02T16:19:43.289Z] STF 16:19:42.822 - | Run foreground process
[2025-09-02T16:19:43.289Z] STF 16:19:42.822 - | Program: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_1756829195279/PatModImg_PlatMod_0/20250902-161937-PatModImgTest/tmp/6.XpJVM/bin/java
[2025-09-02T16:19:43.289Z] STF 16:19:42.822 - | Mnemonic: OT12
[2025-09-02T16:19:43.289Z] STF 16:19:42.822 - | Echo: ECHO_ON
[2025-09-02T16:19:43.289Z] STF 16:19:42.822 - | Expectation: CLEAN_RUN within 5m
[2025-09-02T16:19:43.289Z] STF 16:19:42.822 - |
[2025-09-02T16:19:43.289Z] STF 16:19:42.822 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_1756829195279/PatModImg_PlatMod_0/20250902-161937-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_2/aqa-tests/TKG/output_1756829195279/PatModImg_PlatMod_0/20250902-161937-PatModImgTest/modules/8.java.xml.jar -XX:+UseCompressedOops -classpath /home/jenkins/externalDependency/system_lib/junit/junit.jar:/home/jenkins/externalDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingUpgradablePlatformModule
[2025-09-02T16:19:43.289Z] STF 16:19:42.822 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_1756829195279/PatModImg_PlatMod_0/20250902-161937-PatModImgTest/results/10.OT12.stderr
[2025-09-02T16:19:43.289Z] STF 16:19:42.822 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_1756829195279/PatModImg_PlatMod_0/20250902-161937-PatModImgTest/results/10.OT12.stdout
[2025-09-02T16:19:43.289Z] STF 16:19:42.823 - Monitoring processes: OT12
[2025-09-02T16:19:43.289Z] OT12 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-09-02T16:19:43.289Z] OT12 stderr WARNING: module-info.class ignored in patch: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/output_1756829195279/PatModImg_PlatMod_0/20250902-161937-PatModImgTest/modules/8.java.xml.jar
[2025-09-02T16:19:43.289Z] OT12 JUnit version 4.12
[2025-09-02T16:19:43.289Z] OT12 .
[2025-09-02T16:19:43.289Z] OT12 Time: 0.005
[2025-09-02T16:19:43.289Z] OT12
[2025-09-02T16:19:43.289Z] OT12 OK (1 test)
[2025-09-02T16:19:43.289Z] OT12
[2025-09-02T16:19:43.289Z] STF 16:19:43.043 - Monitoring Report Summary:
[2025-09-02T16:19:43.289Z] STF 16:19:43.043 - o Process OT12 ended with the expected exit code (0)
[2025-09-02T16:19:43.289Z] STF 16:19:43.044 - EXECUTE stage completed
[2025-09-02T16:19:43.289Z] STF 16:19:43.059 -
[2025-09-02T16:19:43.289Z] STF 16:19:43.059 - ==================== T E A R D O W N ====================
[2025-09-02T16:19:43.289Z] STF 16:19:43.059 - Running teardown: perl /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_2/aqa-tests/TKG/../TKG/output_1756829195279/PatModImg_PlatMod_0/20250902-161937-PatModImgTest/tearDown.pl
[2025-09-02T16:19:43.289Z] STF 16:19:43.099 - TEARDOWN stage completed
[2025-09-02T16:19:43.289Z] STF 16:19:43.104 -
[2025-09-02T16:19:43.289Z] STF 16:19:43.104 - ===================== R E S U L T S =====================
[2025-09-02T16:19:43.289Z] STF 16:19:43.104 - Stage results:
[2025-09-02T16:19:43.289Z] STF 16:19:43.104 - setUp: pass
[2025-09-02T16:19:43.289Z] STF 16:19:43.104 - execute: pass
[2025-09-02T16:19:43.289Z] STF 16:19:43.104 - teardown: pass
[2025-09-02T16:19:43.289Z] STF 16:19:43.104 -
[2025-09-02T16:19:43.290Z] STF 16:19:43.104 - Overall result: PASSED
[2025-09-02T16:19:43.290Z] -----------------------------------
[2025-09-02T16:19:43.290Z] PatModImg_PlatMod_0_PASSED
[2025-09-02T16:19:43.290Z] -----------------------------------
[2025-09-02T16:19:43.290Z]
[2025-09-02T16:19:43.290Z] TEST TEARDOWN:
[2025-09-02T16:19:43.290Z] Nothing to be done for teardown.
[2025-09-02T16:19:43.290Z] PatModImg_PlatMod_0 Finish Time: Tue Sep 2 16:19:43 2025 Epoch Time (ms): 1756829983133