PatModImg_PlatMod_0

[2026-01-18T23:05:22.236Z] Running test PatModImg_PlatMod_0 ... [2026-01-18T23:05:22.236Z] =============================================== [2026-01-18T23:05:22.236Z] PatModImg_PlatMod_0 Start Time: Sun Jan 18 23:05:22 2026 Epoch Time (ms): 1768777522168 [2026-01-18T23:05:22.236Z] variation: Mode150 [2026-01-18T23:05:22.236Z] JVM_OPTIONS: [2026-01-18T23:05:22.236Z] { \ [2026-01-18T23:05:22.236Z] echo ""; echo "TEST SETUP:"; \ [2026-01-18T23:05:22.236Z] echo "Nothing to be done for setup."; \ [2026-01-18T23:05:22.236Z] mkdir -p "/home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/../TKG/output_17687731257667/PatModImg_PlatMod_0"; \ [2026-01-18T23:05:22.236Z] cd "/home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/../TKG/output_17687731257667/PatModImg_PlatMod_0"; \ [2026-01-18T23:05:22.236Z] echo ""; echo "TESTING:"; \ [2026-01-18T23:05:22.236Z] perl /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF/stf.core/scripts/stf.pl -test-root="/home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF;/home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/../../jvmtest/system/modularity/..//aqa-systemtest""" -systemtest-prereqs="/home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/externalDependency/system_lib/" -java-args='' -results-root="/home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/../TKG/output_17687731257667/PatModImg_PlatMod_0" -test=PatModImgTest -test-args="variant=PlatMod"; \ [2026-01-18T23:05:22.236Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatModImg_PlatMod_0""_PASSED"; echo "-----------------------------------"; cd /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/..; rm -f -r "/home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/../TKG/output_17687731257667/PatModImg_PlatMod_0"; else echo "-----------------------------------"; echo "PatModImg_PlatMod_0""_FAILED"; echo "-----------------------------------"; fi; \ [2026-01-18T23:05:22.236Z] echo ""; echo "TEST TEARDOWN:"; \ [2026-01-18T23:05:22.236Z] echo "Nothing to be done for teardown."; \ [2026-01-18T23:05:22.236Z] } 2>&1 | tee -a "/home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/../TKG/output_17687731257667/TestTargetResult"; [2026-01-18T23:05:22.236Z] [2026-01-18T23:05:22.236Z] TEST SETUP: [2026-01-18T23:05:22.236Z] Nothing to be done for setup. [2026-01-18T23:05:22.236Z] [2026-01-18T23:05:22.236Z] TESTING: [2026-01-18T23:05:22.646Z] Attempt to call undefined import method with arguments (":all") via package "stf::Commands" (Perhaps you forgot to load the package?) at /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF/stf.core/scripts/stf.pl line 32. [2026-01-18T23:05:22.646Z] STF 23:05:22.231 - ========================= S T F ========================= [2026-01-18T23:05:22.646Z] systemtest-prereqs has been processed, and set to: /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/externalDependency/system_libRetrieving amount of free space on drive containing /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/../TKG/output_17687731257667/PatModImg_PlatMod_0 [2026-01-18T23:05:22.646Z] There is 49852 Mb free [2026-01-18T23:05:22.647Z] STF 23:05:22.235 - ================== G E N E R A T I O N ================== [2026-01-18T23:05:22.647Z] STF 23:05:22.236 - Checking JVM: /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/jdkbinary/j2sdk-image [2026-01-18T23:05:22.647Z] STF 23:05:22.236 - Starting process to generate scripts: /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/jdkbinary/j2sdk-image/bin/java -Dlog4j.skipJansi=true -Djava.system.class.loader=net.adoptopenjdk.stf.runner.StfClassLoader -Dload.agent.path=/home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/STF/stf.core/scripts/../../stf.load/bin/stf.load.jar -classpath /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/externalDependency/system_lib//asm/asm.jar:/home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/externalDependency/system_lib//asm/asm-commons.jar:/home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/externalDependency/system_lib//log4j/log4j-api.jar:/home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/externalDependency/system_lib//log4j/log4j-core.jar:/home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "/home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/../TKG/output_17687731257667/PatModImg_PlatMod_0/20260118-230522-PatModImgTest/stf_parameters.properties, , /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "/home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/../TKG/output_17687731257667/PatModImg_PlatMod_0/20260118-230522-PatModImgTest" [2026-01-18T23:05:22.647Z] GEN stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2026-01-18T23:05:22.647Z] GEN [0.008s][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 [2026-01-18T23:05:23.374Z] GEN 23:05:23.352 - Found test. Project: 'openjdk.test.modularity' class: 'PatModImgTest.class' Dir: '/home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin' [2026-01-18T23:05:23.714Z] GEN 23:05:23.360 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModImgTest' [2026-01-18T23:05:23.714Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2026-01-18T23:05:23.714Z] GEN /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayService [2026-01-18T23:05:23.714Z] GEN /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper [2026-01-18T23:05:23.714Z] GEN /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl1 [2026-01-18T23:05:23.714Z] GEN /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet [2026-01-18T23:05:23.714Z] GEN /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello [2026-01-18T23:05:23.714Z] GEN /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola [2026-01-18T23:05:23.714Z] GEN /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl2 [2026-01-18T23:05:23.714Z] GEN /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hi [2026-01-18T23:05:23.714Z] GEN /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override [2026-01-18T23:05:23.714Z] GEN /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override-new [2026-01-18T23:05:23.714Z] GEN /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl3 [2026-01-18T23:05:23.714Z] GEN /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl4 [2026-01-18T23:05:23.714Z] GEN /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common [2026-01-18T23:05:23.714Z] GEN /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests [2026-01-18T23:05:23.714Z] GEN /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin [2026-01-18T23:05:23.714Z] GEN /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/STF/stf.core/bin [2026-01-18T23:05:23.714Z] GEN /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/externalDependency/system_lib/log4j/log4j-api.jar [2026-01-18T23:05:23.714Z] GEN /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/externalDependency/system_lib/log4j/log4j-core.jar [2026-01-18T23:05:23.714Z] GEN /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/externalDependency/system_lib/junit/junit.jar [2026-01-18T23:05:23.714Z] GEN 23:05:23.520 - Using Mode NoOptions. Values = '' [2026-01-18T23:05:23.714Z] GEN 23:05:23.625 - [2026-01-18T23:05:23.714Z] GEN 23:05:23.626 - Test command summary: [2026-01-18T23:05:23.714Z] GEN 23:05:23.627 - Step Stage Command Description [2026-01-18T23:05:23.714Z] GEN 23:05:23.627 - -----+--------+-----------------+------------ [2026-01-18T23:05:23.714Z] GEN 23:05:23.627 - 1 execute jar Create com.hello jar [2026-01-18T23:05:23.714Z] GEN 23:05:23.627 - 2 execute jar Create com.hola jar [2026-01-18T23:05:23.714Z] GEN 23:05:23.627 - 3 execute jar Create com.helper jar [2026-01-18T23:05:23.714Z] GEN 23:05:23.627 - 4 execute jar Create com.discreet jar [2026-01-18T23:05:23.714Z] GEN 23:05:23.628 - 5 execute jar Create tests jar [2026-01-18T23:05:23.714Z] GEN 23:05:23.628 - 6 execute jlink Create runtime image for PatchModule test [2026-01-18T23:05:23.714Z] GEN 23:05:23.628 - 7 execute jar Create com.hello jar [2026-01-18T23:05:23.714Z] GEN 23:05:23.628 - 8 execute jar create java.xml.jar [2026-01-18T23:05:23.714Z] GEN 23:05:23.628 - 9 execute Run java Verify if we can patch an upgradable platform module using exploded directory [2026-01-18T23:05:23.714Z] GEN 23:05:23.628 - 10 execute Run java Verify if we can patch an upgradable platform module using modular jar [2026-01-18T23:05:23.714Z] STF 23:05:23.653 - [2026-01-18T23:05:23.714Z] STF 23:05:23.653 - Script generation completed [2026-01-18T23:05:23.714Z] STF 23:05:23.653 - [2026-01-18T23:05:23.714Z] STF 23:05:23.653 - [2026-01-18T23:05:23.714Z] STF 23:05:23.653 - ======================= S E T U P ======================= [2026-01-18T23:05:23.714Z] STF 23:05:23.653 - Running setup: perl /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/../TKG/output_17687731257667/PatModImg_PlatMod_0/20260118-230522-PatModImgTest/setUp.pl [2026-01-18T23:05:24.054Z] STF 23:05:23.706 - SETUP stage completed [2026-01-18T23:05:24.054Z] STF 23:05:23.710 - [2026-01-18T23:05:24.054Z] STF 23:05:23.710 - ==================== E X E C U T E - ==================== [2026-01-18T23:05:24.054Z] STF 23:05:23.710 - Running execute: perl /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/../TKG/output_17687731257667/PatModImg_PlatMod_0/20260118-230522-PatModImgTest/execute.pl [2026-01-18T23:05:24.054Z] STF 23:05:23.763 - [2026-01-18T23:05:24.054Z] STF 23:05:23.763 - Java version [2026-01-18T23:05:24.054Z] STF 23:05:23.763 - Running: /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/jdkbinary/j2sdk-image/bin/java -version [2026-01-18T23:05:24.054Z] Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2026-01-18T23:05:24.054Z] openjdk version "21.0.10" 2026-01-20 LTS [2026-01-18T23:05:24.054Z] OpenJDK Runtime Environment Temurin-21.0.10+6 (build 21.0.10+6-LTS) [2026-01-18T23:05:24.054Z] OpenJDK 64-Bit Server VM Temurin-21.0.10+6 (build 21.0.10+6-LTS, mixed mode, sharing) [2026-01-18T23:05:24.054Z] STF 23:05:23.809 - [2026-01-18T23:05:24.055Z] STF 23:05:23.809 - +------ Step 1 - Create com.hello jar [2026-01-18T23:05:24.055Z] STF 23:05:23.809 - | Create modular jar [2026-01-18T23:05:24.055Z] STF 23:05:23.809 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2026-01-18T23:05:24.055Z] STF 23:05:23.809 - | ModuleVersion: null [2026-01-18T23:05:24.055Z] STF 23:05:23.809 - | MainClass: null [2026-01-18T23:05:24.055Z] STF 23:05:23.809 - | HashModules: null [2026-01-18T23:05:24.055Z] STF 23:05:23.809 - | [2026-01-18T23:05:24.055Z] STF 23:05:23.810 - Running command: /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17687731257667/PatModImg_PlatMod_0/20260118-230522-PatModImgTest/modules/1.com.hello.jar -C /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello . [2026-01-18T23:05:24.055Z] STF 23:05:23.810 - Redirecting stderr to /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17687731257667/PatModImg_PlatMod_0/20260118-230522-PatModImgTest/results/1.CMJ.stderr [2026-01-18T23:05:24.055Z] STF 23:05:23.810 - Redirecting stdout to /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17687731257667/PatModImg_PlatMod_0/20260118-230522-PatModImgTest/results/1.CMJ.stdout [2026-01-18T23:05:24.055Z] STF 23:05:23.819 - Monitoring processes: CMJ [2026-01-18T23:05:24.055Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2026-01-18T23:05:24.394Z] STF 23:05:24.069 - Monitoring Report Summary: [2026-01-18T23:05:24.394Z] STF 23:05:24.069 - o Process CMJ ended with the expected exit code (0) [2026-01-18T23:05:24.394Z] STF 23:05:24.069 - Created modular jar: 1.com.hello.jar [2026-01-18T23:05:24.394Z] STF 23:05:24.069 - [2026-01-18T23:05:24.394Z] STF 23:05:24.069 - +------ Step 2 - Create com.hola jar [2026-01-18T23:05:24.394Z] STF 23:05:24.069 - | Create modular jar [2026-01-18T23:05:24.394Z] STF 23:05:24.069 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2026-01-18T23:05:24.394Z] STF 23:05:24.069 - | ModuleVersion: null [2026-01-18T23:05:24.394Z] STF 23:05:24.069 - | MainClass: null [2026-01-18T23:05:24.394Z] STF 23:05:24.069 - | HashModules: null [2026-01-18T23:05:24.394Z] STF 23:05:24.069 - | [2026-01-18T23:05:24.394Z] STF 23:05:24.069 - Running command: /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17687731257667/PatModImg_PlatMod_0/20260118-230522-PatModImgTest/modules/2.com.hola.jar -C /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola . [2026-01-18T23:05:24.394Z] STF 23:05:24.069 - Redirecting stderr to /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17687731257667/PatModImg_PlatMod_0/20260118-230522-PatModImgTest/results/2.CMJ.stderr [2026-01-18T23:05:24.394Z] STF 23:05:24.069 - Redirecting stdout to /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17687731257667/PatModImg_PlatMod_0/20260118-230522-PatModImgTest/results/2.CMJ.stdout [2026-01-18T23:05:24.394Z] STF 23:05:24.071 - Monitoring processes: CMJ [2026-01-18T23:05:24.394Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2026-01-18T23:05:24.394Z] STF 23:05:24.318 - Monitoring Report Summary: [2026-01-18T23:05:24.394Z] STF 23:05:24.318 - o Process CMJ ended with the expected exit code (0) [2026-01-18T23:05:24.394Z] STF 23:05:24.318 - Created modular jar: 2.com.hola.jar [2026-01-18T23:05:24.394Z] STF 23:05:24.318 - [2026-01-18T23:05:24.394Z] STF 23:05:24.318 - +------ Step 3 - Create com.helper jar [2026-01-18T23:05:24.394Z] STF 23:05:24.318 - | Create modular jar [2026-01-18T23:05:24.394Z] STF 23:05:24.318 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2026-01-18T23:05:24.394Z] STF 23:05:24.318 - | ModuleVersion: null [2026-01-18T23:05:24.394Z] STF 23:05:24.318 - | MainClass: null [2026-01-18T23:05:24.394Z] STF 23:05:24.318 - | HashModules: null [2026-01-18T23:05:24.394Z] STF 23:05:24.318 - | [2026-01-18T23:05:24.394Z] STF 23:05:24.318 - Running command: /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17687731257667/PatModImg_PlatMod_0/20260118-230522-PatModImgTest/modules/3.com.helper.jar -C /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper . [2026-01-18T23:05:24.394Z] STF 23:05:24.318 - Redirecting stderr to /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17687731257667/PatModImg_PlatMod_0/20260118-230522-PatModImgTest/results/3.CMJ.stderr [2026-01-18T23:05:24.394Z] STF 23:05:24.318 - Redirecting stdout to /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17687731257667/PatModImg_PlatMod_0/20260118-230522-PatModImgTest/results/3.CMJ.stdout [2026-01-18T23:05:24.394Z] STF 23:05:24.320 - Monitoring processes: CMJ [2026-01-18T23:05:24.394Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2026-01-18T23:05:24.732Z] STF 23:05:24.564 - Monitoring Report Summary: [2026-01-18T23:05:24.732Z] STF 23:05:24.564 - o Process CMJ ended with the expected exit code (0) [2026-01-18T23:05:24.732Z] STF 23:05:24.564 - Created modular jar: 3.com.helper.jar [2026-01-18T23:05:24.732Z] STF 23:05:24.564 - [2026-01-18T23:05:24.732Z] STF 23:05:24.564 - +------ Step 4 - Create com.discreet jar [2026-01-18T23:05:24.732Z] STF 23:05:24.564 - | Create modular jar [2026-01-18T23:05:24.732Z] STF 23:05:24.564 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2026-01-18T23:05:24.732Z] STF 23:05:24.564 - | ModuleVersion: null [2026-01-18T23:05:24.732Z] STF 23:05:24.564 - | MainClass: null [2026-01-18T23:05:24.732Z] STF 23:05:24.564 - | HashModules: null [2026-01-18T23:05:24.732Z] STF 23:05:24.564 - | [2026-01-18T23:05:24.732Z] STF 23:05:24.564 - Running command: /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17687731257667/PatModImg_PlatMod_0/20260118-230522-PatModImgTest/modules/4.com.discreet.jar -C /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet . [2026-01-18T23:05:24.733Z] STF 23:05:24.564 - Redirecting stderr to /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17687731257667/PatModImg_PlatMod_0/20260118-230522-PatModImgTest/results/4.CMJ.stderr [2026-01-18T23:05:24.733Z] STF 23:05:24.564 - Redirecting stdout to /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17687731257667/PatModImg_PlatMod_0/20260118-230522-PatModImgTest/results/4.CMJ.stdout [2026-01-18T23:05:24.733Z] STF 23:05:24.566 - Monitoring processes: CMJ [2026-01-18T23:05:24.733Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2026-01-18T23:05:25.072Z] STF 23:05:24.810 - Monitoring Report Summary: [2026-01-18T23:05:25.072Z] STF 23:05:24.810 - o Process CMJ ended with the expected exit code (0) [2026-01-18T23:05:25.072Z] STF 23:05:24.811 - Created modular jar: 4.com.discreet.jar [2026-01-18T23:05:25.072Z] STF 23:05:24.811 - [2026-01-18T23:05:25.072Z] STF 23:05:24.811 - +------ Step 5 - Create tests jar [2026-01-18T23:05:25.072Z] STF 23:05:24.811 - | Create modular jar [2026-01-18T23:05:25.072Z] STF 23:05:24.811 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2026-01-18T23:05:25.072Z] STF 23:05:24.811 - | ModuleVersion: null [2026-01-18T23:05:25.072Z] STF 23:05:24.811 - | MainClass: null [2026-01-18T23:05:25.072Z] STF 23:05:24.811 - | HashModules: null [2026-01-18T23:05:25.072Z] STF 23:05:24.811 - | [2026-01-18T23:05:25.072Z] STF 23:05:24.811 - Running command: /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17687731257667/PatModImg_PlatMod_0/20260118-230522-PatModImgTest/modules/5.com.test.jar -C /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test . [2026-01-18T23:05:25.072Z] STF 23:05:24.811 - Redirecting stderr to /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17687731257667/PatModImg_PlatMod_0/20260118-230522-PatModImgTest/results/5.CMJ.stderr [2026-01-18T23:05:25.072Z] STF 23:05:24.811 - Redirecting stdout to /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17687731257667/PatModImg_PlatMod_0/20260118-230522-PatModImgTest/results/5.CMJ.stdout [2026-01-18T23:05:25.072Z] STF 23:05:24.812 - Monitoring processes: CMJ [2026-01-18T23:05:25.072Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2026-01-18T23:05:25.411Z] STF 23:05:25.069 - Monitoring Report Summary: [2026-01-18T23:05:25.411Z] STF 23:05:25.069 - o Process CMJ ended with the expected exit code (0) [2026-01-18T23:05:25.411Z] STF 23:05:25.069 - Created modular jar: 5.com.test.jar [2026-01-18T23:05:25.411Z] STF 23:05:25.069 - [2026-01-18T23:05:25.411Z] STF 23:05:25.069 - +------ Step 6 - Create runtime image for PatchModule test [2026-01-18T23:05:25.411Z] STF 23:05:25.069 - | Run jlink to create runtime image [2026-01-18T23:05:25.411Z] STF 23:05:25.069 - | ImageName: XpJVM [2026-01-18T23:05:25.411Z] STF 23:05:25.069 - | [2026-01-18T23:05:25.411Z] STF 23:05:25.069 - Running command: /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/jdkbinary/j2sdk-image/bin/jlink --module-path /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/jdkbinary/j2sdk-image/jmods:/home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17687731257667/PatModImg_PlatMod_0/20260118-230522-PatModImgTest/modules --add-modules com.hello,com.hola,com.test,com.helper,com.discreet --output /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17687731257667/PatModImg_PlatMod_0/20260118-230522-PatModImgTest/tmp/6.XpJVM [2026-01-18T23:05:25.411Z] STF 23:05:25.069 - Redirecting stderr to /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17687731257667/PatModImg_PlatMod_0/20260118-230522-PatModImgTest/results/6.JLNK.stderr [2026-01-18T23:05:25.411Z] STF 23:05:25.069 - Redirecting stdout to /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17687731257667/PatModImg_PlatMod_0/20260118-230522-PatModImgTest/results/6.JLNK.stdout [2026-01-18T23:05:25.411Z] STF 23:05:25.071 - Monitoring processes: JLNK [2026-01-18T23:05:25.411Z] JLNK stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2026-01-18T23:05:28.442Z] STF 23:05:27.901 - Monitoring Report Summary: [2026-01-18T23:05:28.442Z] STF 23:05:27.901 - o Process JLNK ended with the expected exit code (0) [2026-01-18T23:05:28.442Z] STF 23:05:27.902 - [2026-01-18T23:05:28.442Z] STF 23:05:27.902 - +------ Step 7 - Create com.hello jar [2026-01-18T23:05:28.442Z] STF 23:05:27.902 - | Create modular jar [2026-01-18T23:05:28.442Z] STF 23:05:27.902 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2026-01-18T23:05:28.442Z] STF 23:05:27.902 - | ModuleVersion: null [2026-01-18T23:05:28.442Z] STF 23:05:27.902 - | MainClass: null [2026-01-18T23:05:28.442Z] STF 23:05:27.902 - | HashModules: null [2026-01-18T23:05:28.442Z] STF 23:05:27.902 - | [2026-01-18T23:05:28.442Z] STF 23:05:27.902 - Running command: /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17687731257667/PatModImg_PlatMod_0/20260118-230522-PatModImgTest/modules/7.com.hello.jar -C /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello . [2026-01-18T23:05:28.442Z] STF 23:05:27.902 - Redirecting stderr to /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17687731257667/PatModImg_PlatMod_0/20260118-230522-PatModImgTest/results/7.CMJ.stderr [2026-01-18T23:05:28.442Z] STF 23:05:27.902 - Redirecting stdout to /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17687731257667/PatModImg_PlatMod_0/20260118-230522-PatModImgTest/results/7.CMJ.stdout [2026-01-18T23:05:28.442Z] STF 23:05:27.903 - Monitoring processes: CMJ [2026-01-18T23:05:28.442Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2026-01-18T23:05:28.442Z] STF 23:05:28.143 - Monitoring Report Summary: [2026-01-18T23:05:28.442Z] STF 23:05:28.143 - o Process CMJ ended with the expected exit code (0) [2026-01-18T23:05:28.442Z] STF 23:05:28.143 - Created modular jar: 7.com.hello.jar [2026-01-18T23:05:28.442Z] STF 23:05:28.143 - [2026-01-18T23:05:28.442Z] STF 23:05:28.143 - +------ Step 8 - create java.xml.jar [2026-01-18T23:05:28.442Z] STF 23:05:28.143 - | Create modular jar [2026-01-18T23:05:28.442Z] STF 23:05:28.143 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml [2026-01-18T23:05:28.442Z] STF 23:05:28.143 - | ModuleVersion: null [2026-01-18T23:05:28.442Z] STF 23:05:28.143 - | MainClass: null [2026-01-18T23:05:28.442Z] STF 23:05:28.143 - | HashModules: null [2026-01-18T23:05:28.442Z] STF 23:05:28.143 - | [2026-01-18T23:05:28.442Z] STF 23:05:28.143 - Running command: /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17687731257667/PatModImg_PlatMod_0/20260118-230522-PatModImgTest/modules/8.java.xml.jar -C /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/java.xml . [2026-01-18T23:05:28.442Z] STF 23:05:28.143 - Redirecting stderr to /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17687731257667/PatModImg_PlatMod_0/20260118-230522-PatModImgTest/results/8.CMJ.stderr [2026-01-18T23:05:28.442Z] STF 23:05:28.143 - Redirecting stdout to /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17687731257667/PatModImg_PlatMod_0/20260118-230522-PatModImgTest/results/8.CMJ.stdout [2026-01-18T23:05:28.442Z] STF 23:05:28.145 - Monitoring processes: CMJ [2026-01-18T23:05:28.442Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2026-01-18T23:05:28.442Z] STF 23:05:28.393 - Monitoring Report Summary: [2026-01-18T23:05:28.442Z] STF 23:05:28.393 - o Process CMJ ended with the expected exit code (0) [2026-01-18T23:05:28.442Z] STF 23:05:28.394 - Created modular jar: 8.java.xml.jar [2026-01-18T23:05:28.442Z] STF 23:05:28.394 - [2026-01-18T23:05:28.442Z] STF 23:05:28.394 - +------ Step 9 - Verify if we can patch an upgradable platform module using exploded directory [2026-01-18T23:05:28.442Z] STF 23:05:28.394 - | Run foreground process [2026-01-18T23:05:28.442Z] STF 23:05:28.394 - | Program: /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17687731257667/PatModImg_PlatMod_0/20260118-230522-PatModImgTest/tmp/6.XpJVM/bin/java [2026-01-18T23:05:28.442Z] STF 23:05:28.394 - | Mnemonic: OT11 [2026-01-18T23:05:28.442Z] STF 23:05:28.394 - | Echo: ECHO_ON [2026-01-18T23:05:28.442Z] STF 23:05:28.394 - | Expectation: CLEAN_RUN within 5m [2026-01-18T23:05:28.442Z] STF 23:05:28.394 - | [2026-01-18T23:05:28.442Z] STF 23:05:28.394 - Running command: /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17687731257667/PatModImg_PlatMod_0/20260118-230522-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module java.xml=/home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/java.xml -classpath /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/externalDependency/system_lib/junit/junit.jar:/home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/externalDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingUpgradablePlatformModule [2026-01-18T23:05:28.442Z] STF 23:05:28.394 - Redirecting stderr to /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17687731257667/PatModImg_PlatMod_0/20260118-230522-PatModImgTest/results/9.OT11.stderr [2026-01-18T23:05:28.442Z] STF 23:05:28.394 - Redirecting stdout to /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17687731257667/PatModImg_PlatMod_0/20260118-230522-PatModImgTest/results/9.OT11.stdout [2026-01-18T23:05:28.442Z] STF 23:05:28.395 - Monitoring processes: OT11 [2026-01-18T23:05:28.442Z] OT11 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2026-01-18T23:05:28.783Z] OT11 stderr WARNING: module-info.class ignored in patch: /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/java.xml [2026-01-18T23:05:28.783Z] OT11 JUnit version 4.12 [2026-01-18T23:05:28.783Z] OT11 . [2026-01-18T23:05:28.783Z] OT11 Time: 0.005 [2026-01-18T23:05:28.783Z] OT11 [2026-01-18T23:05:28.783Z] OT11 OK (1 test) [2026-01-18T23:05:28.783Z] OT11 [2026-01-18T23:05:28.783Z] STF 23:05:28.676 - Monitoring Report Summary: [2026-01-18T23:05:28.783Z] STF 23:05:28.676 - o Process OT11 ended with the expected exit code (0) [2026-01-18T23:05:28.783Z] STF 23:05:28.676 - [2026-01-18T23:05:28.783Z] STF 23:05:28.676 - +------ Step 10 - Verify if we can patch an upgradable platform module using modular jar [2026-01-18T23:05:28.783Z] STF 23:05:28.676 - | Run foreground process [2026-01-18T23:05:28.783Z] STF 23:05:28.676 - | Program: /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17687731257667/PatModImg_PlatMod_0/20260118-230522-PatModImgTest/tmp/6.XpJVM/bin/java [2026-01-18T23:05:28.783Z] STF 23:05:28.676 - | Mnemonic: OT12 [2026-01-18T23:05:28.783Z] STF 23:05:28.676 - | Echo: ECHO_ON [2026-01-18T23:05:28.783Z] STF 23:05:28.676 - | Expectation: CLEAN_RUN within 5m [2026-01-18T23:05:28.783Z] STF 23:05:28.676 - | [2026-01-18T23:05:28.784Z] STF 23:05:28.677 - Running command: /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17687731257667/PatModImg_PlatMod_0/20260118-230522-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module java.xml=/home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17687731257667/PatModImg_PlatMod_0/20260118-230522-PatModImgTest/modules/8.java.xml.jar -classpath /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/externalDependency/system_lib/junit/junit.jar:/home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/externalDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingUpgradablePlatformModule [2026-01-18T23:05:28.784Z] STF 23:05:28.677 - Redirecting stderr to /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17687731257667/PatModImg_PlatMod_0/20260118-230522-PatModImgTest/results/10.OT12.stderr [2026-01-18T23:05:28.784Z] STF 23:05:28.677 - Redirecting stdout to /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17687731257667/PatModImg_PlatMod_0/20260118-230522-PatModImgTest/results/10.OT12.stdout [2026-01-18T23:05:28.784Z] STF 23:05:28.678 - Monitoring processes: OT12 [2026-01-18T23:05:28.784Z] OT12 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2026-01-18T23:05:29.124Z] OT12 stderr WARNING: module-info.class ignored in patch: /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17687731257667/PatModImg_PlatMod_0/20260118-230522-PatModImgTest/modules/8.java.xml.jar [2026-01-18T23:05:29.124Z] OT12 JUnit version 4.12 [2026-01-18T23:05:29.124Z] OT12 . [2026-01-18T23:05:29.124Z] OT12 Time: 0.006 [2026-01-18T23:05:29.124Z] OT12 [2026-01-18T23:05:29.124Z] OT12 OK (1 test) [2026-01-18T23:05:29.124Z] OT12 [2026-01-18T23:05:29.124Z] STF 23:05:28.962 - Monitoring Report Summary: [2026-01-18T23:05:29.124Z] STF 23:05:28.962 - o Process OT12 ended with the expected exit code (0) [2026-01-18T23:05:29.124Z] STF 23:05:28.962 - EXECUTE stage completed [2026-01-18T23:05:29.124Z] STF 23:05:28.988 - [2026-01-18T23:05:29.124Z] STF 23:05:28.988 - ==================== T E A R D O W N ==================== [2026-01-18T23:05:29.124Z] STF 23:05:28.988 - Running teardown: perl /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/../TKG/output_17687731257667/PatModImg_PlatMod_0/20260118-230522-PatModImgTest/tearDown.pl [2026-01-18T23:05:29.124Z] STF 23:05:29.040 - TEARDOWN stage completed [2026-01-18T23:05:29.124Z] STF 23:05:29.046 - [2026-01-18T23:05:29.124Z] STF 23:05:29.046 - ===================== R E S U L T S ===================== [2026-01-18T23:05:29.124Z] STF 23:05:29.046 - Stage results: [2026-01-18T23:05:29.124Z] STF 23:05:29.046 - setUp: pass [2026-01-18T23:05:29.124Z] STF 23:05:29.046 - execute: pass [2026-01-18T23:05:29.124Z] STF 23:05:29.046 - teardown: pass [2026-01-18T23:05:29.124Z] STF 23:05:29.046 - [2026-01-18T23:05:29.124Z] STF 23:05:29.046 - Overall result: PASSED [2026-01-18T23:05:29.124Z] ----------------------------------- [2026-01-18T23:05:29.124Z] PatModImg_PlatMod_0_PASSED [2026-01-18T23:05:29.124Z] ----------------------------------- [2026-01-18T23:05:29.124Z] [2026-01-18T23:05:29.124Z] TEST TEARDOWN: [2026-01-18T23:05:29.124Z] Nothing to be done for teardown. [2026-01-18T23:05:29.124Z] PatModImg_PlatMod_0 Finish Time: Sun Jan 18 23:05:29 2026 Epoch Time (ms): 1768777529074