PatModImg_AppMod_0

[2025-12-24T23:20:04.666Z] Running test PatModImg_AppMod_0 ... [2025-12-24T23:20:04.666Z] =============================================== [2025-12-24T23:20:04.666Z] PatModImg_AppMod_0 Start Time: Wed Dec 24 23:20:04 2025 Epoch Time (ms): 1766618404428 [2025-12-24T23:20:04.666Z] variation: Mode150 [2025-12-24T23:20:04.666Z] JVM_OPTIONS: [2025-12-24T23:20:04.666Z] { \ [2025-12-24T23:20:04.666Z] echo ""; echo "TEST SETUP:"; \ [2025-12-24T23:20:04.666Z] echo "Nothing to be done for setup."; \ [2025-12-24T23:20:04.666Z] mkdir -p "/home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_0/aqa-tests/TKG/../TKG/output_17666149865924/PatModImg_AppMod_0"; \ [2025-12-24T23:20:04.666Z] cd "/home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_0/aqa-tests/TKG/../TKG/output_17666149865924/PatModImg_AppMod_0"; \ [2025-12-24T23:20:04.666Z] echo ""; echo "TESTING:"; \ [2025-12-24T23:20:04.666Z] perl /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_0/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_0/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF;/home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_0/aqa-tests/TKG/../../jvmtest/system/modularity/..//aqa-systemtest""" -systemtest-prereqs="/home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_0/externalDependency/system_lib/" -java-args='' -results-root="/home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_0/aqa-tests/TKG/../TKG/output_17666149865924/PatModImg_AppMod_0" -test=PatModImgTest -test-args="variant=AppMod"; \ [2025-12-24T23:20:04.666Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatModImg_AppMod_0""_PASSED"; echo "-----------------------------------"; cd /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_0/aqa-tests/TKG/..; rm -f -r "/home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_0/aqa-tests/TKG/../TKG/output_17666149865924/PatModImg_AppMod_0"; else echo "-----------------------------------"; echo "PatModImg_AppMod_0""_FAILED"; echo "-----------------------------------"; fi; \ [2025-12-24T23:20:04.666Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-12-24T23:20:04.666Z] echo "Nothing to be done for teardown."; \ [2025-12-24T23:20:04.666Z] } 2>&1 | tee -a "/home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_0/aqa-tests/TKG/../TKG/output_17666149865924/TestTargetResult"; [2025-12-24T23:20:04.666Z] [2025-12-24T23:20:04.666Z] TEST SETUP: [2025-12-24T23:20:04.666Z] Nothing to be done for setup. [2025-12-24T23:20:04.666Z] [2025-12-24T23:20:04.666Z] TESTING: [2025-12-24T23:20:04.666Z] 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_0/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF/stf.core/scripts/stf.pl line 32. [2025-12-24T23:20:04.666Z] STF 23:20:04.489 - ========================= S T F ========================= [2025-12-24T23:20:04.666Z] systemtest-prereqs has been processed, and set to: /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_0/externalDependency/system_libRetrieving amount of free space on drive containing /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_0/aqa-tests/TKG/../TKG/output_17666149865924/PatModImg_AppMod_0 [2025-12-24T23:20:04.666Z] There is 49888 Mb free [2025-12-24T23:20:04.666Z] STF 23:20:04.493 - ================== G E N E R A T I O N ================== [2025-12-24T23:20:04.666Z] STF 23:20:04.494 - Checking JVM: /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_0/jdkbinary/j2sdk-image [2025-12-24T23:20:04.666Z] STF 23:20:04.494 - Starting process to generate scripts: /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_0/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_0/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_0/externalDependency/system_lib//asm/asm.jar:/home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_0/externalDependency/system_lib//asm/asm-commons.jar:/home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_0/externalDependency/system_lib//log4j/log4j-api.jar:/home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_0/externalDependency/system_lib//log4j/log4j-core.jar:/home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_0/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_0/aqa-tests/TKG/../TKG/output_17666149865924/PatModImg_AppMod_0/20251224-232004-PatModImgTest/stf_parameters.properties, , /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_0/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "/home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_0/aqa-tests/TKG/../TKG/output_17666149865924/PatModImg_AppMod_0/20251224-232004-PatModImgTest" [2025-12-24T23:20:04.666Z] GEN stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-12-24T23:20:04.666Z] 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 [2025-12-24T23:20:05.823Z] GEN 23:20:05.553 - Found test. Project: 'openjdk.test.modularity' class: 'PatModImgTest.class' Dir: '/home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin' [2025-12-24T23:20:05.823Z] GEN 23:20:05.561 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModImgTest' [2025-12-24T23:20:05.823Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2025-12-24T23:20:05.823Z] GEN /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayService [2025-12-24T23:20:05.823Z] GEN /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper [2025-12-24T23:20:05.823Z] GEN /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl1 [2025-12-24T23:20:05.823Z] GEN /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet [2025-12-24T23:20:05.823Z] GEN /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello [2025-12-24T23:20:05.823Z] GEN /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola [2025-12-24T23:20:05.823Z] GEN /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl2 [2025-12-24T23:20:05.823Z] GEN /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hi [2025-12-24T23:20:05.823Z] GEN /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override [2025-12-24T23:20:05.823Z] GEN /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override-new [2025-12-24T23:20:05.823Z] GEN /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl3 [2025-12-24T23:20:05.823Z] GEN /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl4 [2025-12-24T23:20:05.823Z] GEN /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common [2025-12-24T23:20:05.823Z] GEN /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests [2025-12-24T23:20:05.823Z] GEN /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin [2025-12-24T23:20:05.823Z] GEN /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_0/jvmtest/system/STF/stf.core/bin [2025-12-24T23:20:05.823Z] GEN /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_0/externalDependency/system_lib/log4j/log4j-api.jar [2025-12-24T23:20:05.823Z] GEN /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_0/externalDependency/system_lib/log4j/log4j-core.jar [2025-12-24T23:20:05.823Z] GEN /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_0/externalDependency/system_lib/junit/junit.jar [2025-12-24T23:20:05.823Z] GEN 23:20:05.730 - Using Mode NoOptions. Values = '' [2025-12-24T23:20:06.266Z] GEN 23:20:05.837 - [2025-12-24T23:20:06.266Z] GEN 23:20:05.837 - Test command summary: [2025-12-24T23:20:06.266Z] GEN 23:20:05.837 - Step Stage Command Description [2025-12-24T23:20:06.266Z] GEN 23:20:05.837 - -----+--------+-----------------+------------ [2025-12-24T23:20:06.266Z] GEN 23:20:05.838 - 1 execute jar Create com.hello jar [2025-12-24T23:20:06.266Z] GEN 23:20:05.838 - 2 execute jar Create com.hola jar [2025-12-24T23:20:06.266Z] GEN 23:20:05.839 - 3 execute jar Create com.helper jar [2025-12-24T23:20:06.266Z] GEN 23:20:05.839 - 4 execute jar Create com.discreet jar [2025-12-24T23:20:06.266Z] GEN 23:20:05.839 - 5 execute jar Create tests jar [2025-12-24T23:20:06.266Z] GEN 23:20:05.839 - 6 execute jlink Create runtime image for PatchModule test [2025-12-24T23:20:06.266Z] GEN 23:20:05.839 - 7 execute jar Create com.hello jar [2025-12-24T23:20:06.266Z] GEN 23:20:05.839 - 8 execute jar create java.xml.jar [2025-12-24T23:20:06.266Z] GEN 23:20:05.840 - 9 execute Run java Verify if we can patch an Application module using exploded directory [2025-12-24T23:20:06.266Z] GEN 23:20:05.840 - 10 execute Run java Verify if we can patch an Application module using modular jar [2025-12-24T23:20:06.266Z] STF 23:20:05.862 - [2025-12-24T23:20:06.266Z] STF 23:20:05.862 - Script generation completed [2025-12-24T23:20:06.266Z] STF 23:20:05.862 - [2025-12-24T23:20:06.266Z] STF 23:20:05.863 - [2025-12-24T23:20:06.266Z] STF 23:20:05.863 - ======================= S E T U P ======================= [2025-12-24T23:20:06.266Z] STF 23:20:05.863 - Running setup: perl /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_0/aqa-tests/TKG/../TKG/output_17666149865924/PatModImg_AppMod_0/20251224-232004-PatModImgTest/setUp.pl [2025-12-24T23:20:06.266Z] STF 23:20:05.915 - SETUP stage completed [2025-12-24T23:20:06.266Z] STF 23:20:05.920 - [2025-12-24T23:20:06.266Z] STF 23:20:05.920 - ==================== E X E C U T E - ==================== [2025-12-24T23:20:06.266Z] STF 23:20:05.920 - Running execute: perl /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_0/aqa-tests/TKG/../TKG/output_17666149865924/PatModImg_AppMod_0/20251224-232004-PatModImgTest/execute.pl [2025-12-24T23:20:06.266Z] STF 23:20:05.971 - [2025-12-24T23:20:06.266Z] STF 23:20:05.971 - Java version [2025-12-24T23:20:06.266Z] STF 23:20:05.971 - Running: /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_0/jdkbinary/j2sdk-image/bin/java -version [2025-12-24T23:20:06.266Z] Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-12-24T23:20:06.266Z] openjdk version "21.0.10-beta" 2026-01-20 [2025-12-24T23:20:06.266Z] OpenJDK Runtime Environment Temurin-21.0.10+6-202512242011 (build 21.0.10-beta+6-ea) [2025-12-24T23:20:06.266Z] OpenJDK 64-Bit Server VM Temurin-21.0.10+6-202512242011 (build 21.0.10-beta+6-ea, mixed mode, sharing) [2025-12-24T23:20:06.266Z] STF 23:20:06.014 - [2025-12-24T23:20:06.266Z] STF 23:20:06.014 - +------ Step 1 - Create com.hello jar [2025-12-24T23:20:06.266Z] STF 23:20:06.014 - | Create modular jar [2025-12-24T23:20:06.266Z] STF 23:20:06.014 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2025-12-24T23:20:06.266Z] STF 23:20:06.014 - | ModuleVersion: null [2025-12-24T23:20:06.266Z] STF 23:20:06.014 - | MainClass: null [2025-12-24T23:20:06.266Z] STF 23:20:06.014 - | HashModules: null [2025-12-24T23:20:06.266Z] STF 23:20:06.014 - | [2025-12-24T23:20:06.266Z] STF 23:20:06.015 - Running command: /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_0/aqa-tests/TKG/output_17666149865924/PatModImg_AppMod_0/20251224-232004-PatModImgTest/modules/1.com.hello.jar -C /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello . [2025-12-24T23:20:06.266Z] STF 23:20:06.015 - Redirecting stderr to /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_0/aqa-tests/TKG/output_17666149865924/PatModImg_AppMod_0/20251224-232004-PatModImgTest/results/1.CMJ.stderr [2025-12-24T23:20:06.266Z] STF 23:20:06.015 - Redirecting stdout to /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_0/aqa-tests/TKG/output_17666149865924/PatModImg_AppMod_0/20251224-232004-PatModImgTest/results/1.CMJ.stdout [2025-12-24T23:20:06.266Z] STF 23:20:06.023 - Monitoring processes: CMJ [2025-12-24T23:20:06.266Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-12-24T23:20:06.597Z] STF 23:20:06.307 - Monitoring Report Summary: [2025-12-24T23:20:06.597Z] STF 23:20:06.307 - o Process CMJ ended with the expected exit code (0) [2025-12-24T23:20:06.597Z] STF 23:20:06.308 - Created modular jar: 1.com.hello.jar [2025-12-24T23:20:06.597Z] STF 23:20:06.308 - [2025-12-24T23:20:06.597Z] STF 23:20:06.308 - +------ Step 2 - Create com.hola jar [2025-12-24T23:20:06.597Z] STF 23:20:06.308 - | Create modular jar [2025-12-24T23:20:06.597Z] STF 23:20:06.308 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2025-12-24T23:20:06.597Z] STF 23:20:06.308 - | ModuleVersion: null [2025-12-24T23:20:06.597Z] STF 23:20:06.308 - | MainClass: null [2025-12-24T23:20:06.597Z] STF 23:20:06.308 - | HashModules: null [2025-12-24T23:20:06.597Z] STF 23:20:06.308 - | [2025-12-24T23:20:06.597Z] STF 23:20:06.308 - Running command: /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_0/aqa-tests/TKG/output_17666149865924/PatModImg_AppMod_0/20251224-232004-PatModImgTest/modules/2.com.hola.jar -C /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola . [2025-12-24T23:20:06.597Z] STF 23:20:06.308 - Redirecting stderr to /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_0/aqa-tests/TKG/output_17666149865924/PatModImg_AppMod_0/20251224-232004-PatModImgTest/results/2.CMJ.stderr [2025-12-24T23:20:06.597Z] STF 23:20:06.308 - Redirecting stdout to /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_0/aqa-tests/TKG/output_17666149865924/PatModImg_AppMod_0/20251224-232004-PatModImgTest/results/2.CMJ.stdout [2025-12-24T23:20:06.597Z] STF 23:20:06.309 - Monitoring processes: CMJ [2025-12-24T23:20:06.597Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-12-24T23:20:06.597Z] STF 23:20:06.543 - Monitoring Report Summary: [2025-12-24T23:20:06.597Z] STF 23:20:06.543 - o Process CMJ ended with the expected exit code (0) [2025-12-24T23:20:06.597Z] STF 23:20:06.543 - Created modular jar: 2.com.hola.jar [2025-12-24T23:20:06.597Z] STF 23:20:06.543 - [2025-12-24T23:20:06.597Z] STF 23:20:06.543 - +------ Step 3 - Create com.helper jar [2025-12-24T23:20:06.597Z] STF 23:20:06.543 - | Create modular jar [2025-12-24T23:20:06.597Z] STF 23:20:06.543 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2025-12-24T23:20:06.597Z] STF 23:20:06.543 - | ModuleVersion: null [2025-12-24T23:20:06.597Z] STF 23:20:06.543 - | MainClass: null [2025-12-24T23:20:06.597Z] STF 23:20:06.543 - | HashModules: null [2025-12-24T23:20:06.597Z] STF 23:20:06.543 - | [2025-12-24T23:20:06.597Z] STF 23:20:06.544 - Running command: /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_0/aqa-tests/TKG/output_17666149865924/PatModImg_AppMod_0/20251224-232004-PatModImgTest/modules/3.com.helper.jar -C /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper . [2025-12-24T23:20:06.597Z] STF 23:20:06.544 - Redirecting stderr to /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_0/aqa-tests/TKG/output_17666149865924/PatModImg_AppMod_0/20251224-232004-PatModImgTest/results/3.CMJ.stderr [2025-12-24T23:20:06.597Z] STF 23:20:06.544 - Redirecting stdout to /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_0/aqa-tests/TKG/output_17666149865924/PatModImg_AppMod_0/20251224-232004-PatModImgTest/results/3.CMJ.stdout [2025-12-24T23:20:06.597Z] STF 23:20:06.545 - Monitoring processes: CMJ [2025-12-24T23:20:06.597Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-12-24T23:20:06.931Z] STF 23:20:06.784 - Monitoring Report Summary: [2025-12-24T23:20:06.931Z] STF 23:20:06.784 - o Process CMJ ended with the expected exit code (0) [2025-12-24T23:20:06.931Z] STF 23:20:06.784 - Created modular jar: 3.com.helper.jar [2025-12-24T23:20:06.931Z] STF 23:20:06.784 - [2025-12-24T23:20:06.931Z] STF 23:20:06.784 - +------ Step 4 - Create com.discreet jar [2025-12-24T23:20:06.931Z] STF 23:20:06.784 - | Create modular jar [2025-12-24T23:20:06.931Z] STF 23:20:06.784 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2025-12-24T23:20:06.931Z] STF 23:20:06.784 - | ModuleVersion: null [2025-12-24T23:20:06.931Z] STF 23:20:06.784 - | MainClass: null [2025-12-24T23:20:06.931Z] STF 23:20:06.784 - | HashModules: null [2025-12-24T23:20:06.931Z] STF 23:20:06.784 - | [2025-12-24T23:20:06.931Z] STF 23:20:06.784 - Running command: /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_0/aqa-tests/TKG/output_17666149865924/PatModImg_AppMod_0/20251224-232004-PatModImgTest/modules/4.com.discreet.jar -C /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet . [2025-12-24T23:20:06.931Z] STF 23:20:06.784 - Redirecting stderr to /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_0/aqa-tests/TKG/output_17666149865924/PatModImg_AppMod_0/20251224-232004-PatModImgTest/results/4.CMJ.stderr [2025-12-24T23:20:06.931Z] STF 23:20:06.784 - Redirecting stdout to /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_0/aqa-tests/TKG/output_17666149865924/PatModImg_AppMod_0/20251224-232004-PatModImgTest/results/4.CMJ.stdout [2025-12-24T23:20:06.931Z] STF 23:20:06.786 - Monitoring processes: CMJ [2025-12-24T23:20:06.931Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-12-24T23:20:07.266Z] STF 23:20:07.030 - Monitoring Report Summary: [2025-12-24T23:20:07.266Z] STF 23:20:07.030 - o Process CMJ ended with the expected exit code (0) [2025-12-24T23:20:07.266Z] STF 23:20:07.030 - Created modular jar: 4.com.discreet.jar [2025-12-24T23:20:07.266Z] STF 23:20:07.030 - [2025-12-24T23:20:07.266Z] STF 23:20:07.030 - +------ Step 5 - Create tests jar [2025-12-24T23:20:07.266Z] STF 23:20:07.030 - | Create modular jar [2025-12-24T23:20:07.266Z] STF 23:20:07.030 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2025-12-24T23:20:07.266Z] STF 23:20:07.030 - | ModuleVersion: null [2025-12-24T23:20:07.266Z] STF 23:20:07.030 - | MainClass: null [2025-12-24T23:20:07.266Z] STF 23:20:07.030 - | HashModules: null [2025-12-24T23:20:07.266Z] STF 23:20:07.030 - | [2025-12-24T23:20:07.266Z] STF 23:20:07.030 - Running command: /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_0/aqa-tests/TKG/output_17666149865924/PatModImg_AppMod_0/20251224-232004-PatModImgTest/modules/5.com.test.jar -C /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test . [2025-12-24T23:20:07.266Z] STF 23:20:07.030 - Redirecting stderr to /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_0/aqa-tests/TKG/output_17666149865924/PatModImg_AppMod_0/20251224-232004-PatModImgTest/results/5.CMJ.stderr [2025-12-24T23:20:07.266Z] STF 23:20:07.030 - Redirecting stdout to /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_0/aqa-tests/TKG/output_17666149865924/PatModImg_AppMod_0/20251224-232004-PatModImgTest/results/5.CMJ.stdout [2025-12-24T23:20:07.266Z] STF 23:20:07.031 - Monitoring processes: CMJ [2025-12-24T23:20:07.266Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-12-24T23:20:07.600Z] STF 23:20:07.277 - Monitoring Report Summary: [2025-12-24T23:20:07.600Z] STF 23:20:07.277 - o Process CMJ ended with the expected exit code (0) [2025-12-24T23:20:07.600Z] STF 23:20:07.278 - Created modular jar: 5.com.test.jar [2025-12-24T23:20:07.600Z] STF 23:20:07.278 - [2025-12-24T23:20:07.600Z] STF 23:20:07.278 - +------ Step 6 - Create runtime image for PatchModule test [2025-12-24T23:20:07.600Z] STF 23:20:07.278 - | Run jlink to create runtime image [2025-12-24T23:20:07.600Z] STF 23:20:07.278 - | ImageName: XpJVM [2025-12-24T23:20:07.600Z] STF 23:20:07.278 - | [2025-12-24T23:20:07.600Z] STF 23:20:07.278 - Running command: /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_0/jdkbinary/j2sdk-image/bin/jlink --module-path /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_0/jdkbinary/j2sdk-image/jmods:/home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_0/aqa-tests/TKG/output_17666149865924/PatModImg_AppMod_0/20251224-232004-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_0/aqa-tests/TKG/output_17666149865924/PatModImg_AppMod_0/20251224-232004-PatModImgTest/tmp/6.XpJVM [2025-12-24T23:20:07.600Z] STF 23:20:07.278 - Redirecting stderr to /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_0/aqa-tests/TKG/output_17666149865924/PatModImg_AppMod_0/20251224-232004-PatModImgTest/results/6.JLNK.stderr [2025-12-24T23:20:07.600Z] STF 23:20:07.278 - Redirecting stdout to /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_0/aqa-tests/TKG/output_17666149865924/PatModImg_AppMod_0/20251224-232004-PatModImgTest/results/6.JLNK.stdout [2025-12-24T23:20:07.600Z] STF 23:20:07.279 - Monitoring processes: JLNK [2025-12-24T23:20:07.600Z] JLNK stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-12-24T23:20:10.576Z] STF 23:20:09.948 - Monitoring Report Summary: [2025-12-24T23:20:10.576Z] STF 23:20:09.948 - o Process JLNK ended with the expected exit code (0) [2025-12-24T23:20:10.576Z] STF 23:20:09.948 - [2025-12-24T23:20:10.576Z] STF 23:20:09.948 - +------ Step 7 - Create com.hello jar [2025-12-24T23:20:10.576Z] STF 23:20:09.948 - | Create modular jar [2025-12-24T23:20:10.576Z] STF 23:20:09.948 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2025-12-24T23:20:10.576Z] STF 23:20:09.948 - | ModuleVersion: null [2025-12-24T23:20:10.576Z] STF 23:20:09.948 - | MainClass: null [2025-12-24T23:20:10.576Z] STF 23:20:09.948 - | HashModules: null [2025-12-24T23:20:10.576Z] STF 23:20:09.948 - | [2025-12-24T23:20:10.576Z] STF 23:20:09.948 - Running command: /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_0/aqa-tests/TKG/output_17666149865924/PatModImg_AppMod_0/20251224-232004-PatModImgTest/modules/7.com.hello.jar -C /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello . [2025-12-24T23:20:10.576Z] STF 23:20:09.948 - Redirecting stderr to /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_0/aqa-tests/TKG/output_17666149865924/PatModImg_AppMod_0/20251224-232004-PatModImgTest/results/7.CMJ.stderr [2025-12-24T23:20:10.576Z] STF 23:20:09.948 - Redirecting stdout to /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_0/aqa-tests/TKG/output_17666149865924/PatModImg_AppMod_0/20251224-232004-PatModImgTest/results/7.CMJ.stdout [2025-12-24T23:20:10.576Z] STF 23:20:09.949 - Monitoring processes: CMJ [2025-12-24T23:20:10.576Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-12-24T23:20:10.576Z] STF 23:20:10.180 - Monitoring Report Summary: [2025-12-24T23:20:10.576Z] STF 23:20:10.180 - o Process CMJ ended with the expected exit code (0) [2025-12-24T23:20:10.576Z] STF 23:20:10.180 - Created modular jar: 7.com.hello.jar [2025-12-24T23:20:10.576Z] STF 23:20:10.180 - [2025-12-24T23:20:10.576Z] STF 23:20:10.180 - +------ Step 8 - create java.xml.jar [2025-12-24T23:20:10.576Z] STF 23:20:10.180 - | Create modular jar [2025-12-24T23:20:10.576Z] STF 23:20:10.180 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml [2025-12-24T23:20:10.576Z] STF 23:20:10.180 - | ModuleVersion: null [2025-12-24T23:20:10.576Z] STF 23:20:10.180 - | MainClass: null [2025-12-24T23:20:10.576Z] STF 23:20:10.180 - | HashModules: null [2025-12-24T23:20:10.576Z] STF 23:20:10.180 - | [2025-12-24T23:20:10.576Z] STF 23:20:10.180 - Running command: /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_0/aqa-tests/TKG/output_17666149865924/PatModImg_AppMod_0/20251224-232004-PatModImgTest/modules/8.java.xml.jar -C /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/java.xml . [2025-12-24T23:20:10.576Z] STF 23:20:10.180 - Redirecting stderr to /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_0/aqa-tests/TKG/output_17666149865924/PatModImg_AppMod_0/20251224-232004-PatModImgTest/results/8.CMJ.stderr [2025-12-24T23:20:10.576Z] STF 23:20:10.180 - Redirecting stdout to /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_0/aqa-tests/TKG/output_17666149865924/PatModImg_AppMod_0/20251224-232004-PatModImgTest/results/8.CMJ.stdout [2025-12-24T23:20:10.576Z] STF 23:20:10.181 - Monitoring processes: CMJ [2025-12-24T23:20:10.576Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-12-24T23:20:10.576Z] STF 23:20:10.414 - Monitoring Report Summary: [2025-12-24T23:20:10.576Z] STF 23:20:10.414 - o Process CMJ ended with the expected exit code (0) [2025-12-24T23:20:10.576Z] STF 23:20:10.415 - Created modular jar: 8.java.xml.jar [2025-12-24T23:20:10.576Z] STF 23:20:10.415 - [2025-12-24T23:20:10.576Z] STF 23:20:10.415 - +------ Step 9 - Verify if we can patch an Application module using exploded directory [2025-12-24T23:20:10.576Z] STF 23:20:10.415 - | Run foreground process [2025-12-24T23:20:10.576Z] STF 23:20:10.415 - | Program: /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_0/aqa-tests/TKG/output_17666149865924/PatModImg_AppMod_0/20251224-232004-PatModImgTest/tmp/6.XpJVM/bin/java [2025-12-24T23:20:10.576Z] STF 23:20:10.415 - | Mnemonic: OT21 [2025-12-24T23:20:10.576Z] STF 23:20:10.415 - | Echo: ECHO_ON [2025-12-24T23:20:10.576Z] STF 23:20:10.415 - | Expectation: CLEAN_RUN within 5m [2025-12-24T23:20:10.576Z] STF 23:20:10.415 - | [2025-12-24T23:20:10.576Z] STF 23:20:10.415 - Running command: /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_0/aqa-tests/TKG/output_17666149865924/PatModImg_AppMod_0/20251224-232004-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module com.hello=/home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello -classpath /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_0/externalDependency/system_lib/junit/junit.jar:/home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_0/externalDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingAppModule [2025-12-24T23:20:10.576Z] STF 23:20:10.415 - Redirecting stderr to /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_0/aqa-tests/TKG/output_17666149865924/PatModImg_AppMod_0/20251224-232004-PatModImgTest/results/9.OT21.stderr [2025-12-24T23:20:10.576Z] STF 23:20:10.415 - Redirecting stdout to /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_0/aqa-tests/TKG/output_17666149865924/PatModImg_AppMod_0/20251224-232004-PatModImgTest/results/9.OT21.stdout [2025-12-24T23:20:10.576Z] STF 23:20:10.416 - Monitoring processes: OT21 [2025-12-24T23:20:10.576Z] OT21 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-12-24T23:20:10.576Z] OT21 stderr WARNING: module-info.class ignored in patch: /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello [2025-12-24T23:20:10.903Z] OT21 JUnit version 4.12 [2025-12-24T23:20:10.903Z] OT21 . [2025-12-24T23:20:10.903Z] OT21 Time: 0.015 [2025-12-24T23:20:10.903Z] OT21 [2025-12-24T23:20:10.903Z] OT21 OK (1 test) [2025-12-24T23:20:10.903Z] OT21 [2025-12-24T23:20:10.903Z] STF 23:20:10.700 - Monitoring Report Summary: [2025-12-24T23:20:10.903Z] STF 23:20:10.700 - o Process OT21 ended with the expected exit code (0) [2025-12-24T23:20:10.903Z] STF 23:20:10.700 - [2025-12-24T23:20:10.903Z] STF 23:20:10.700 - +------ Step 10 - Verify if we can patch an Application module using modular jar [2025-12-24T23:20:10.903Z] STF 23:20:10.700 - | Run foreground process [2025-12-24T23:20:10.903Z] STF 23:20:10.700 - | Program: /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_0/aqa-tests/TKG/output_17666149865924/PatModImg_AppMod_0/20251224-232004-PatModImgTest/tmp/6.XpJVM/bin/java [2025-12-24T23:20:10.903Z] STF 23:20:10.700 - | Mnemonic: OT22 [2025-12-24T23:20:10.903Z] STF 23:20:10.700 - | Echo: ECHO_ON [2025-12-24T23:20:10.903Z] STF 23:20:10.700 - | Expectation: CLEAN_RUN within 5m [2025-12-24T23:20:10.903Z] STF 23:20:10.700 - | [2025-12-24T23:20:10.903Z] STF 23:20:10.700 - Running command: /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_0/aqa-tests/TKG/output_17666149865924/PatModImg_AppMod_0/20251224-232004-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module com.hello=/home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_0/aqa-tests/TKG/output_17666149865924/PatModImg_AppMod_0/20251224-232004-PatModImgTest/modules/7.com.hello.jar -classpath /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_0/externalDependency/system_lib/junit/junit.jar:/home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_0/externalDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingAppModule [2025-12-24T23:20:10.903Z] STF 23:20:10.700 - Redirecting stderr to /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_0/aqa-tests/TKG/output_17666149865924/PatModImg_AppMod_0/20251224-232004-PatModImgTest/results/10.OT22.stderr [2025-12-24T23:20:10.903Z] STF 23:20:10.700 - Redirecting stdout to /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_0/aqa-tests/TKG/output_17666149865924/PatModImg_AppMod_0/20251224-232004-PatModImgTest/results/10.OT22.stdout [2025-12-24T23:20:10.903Z] STF 23:20:10.702 - Monitoring processes: OT22 [2025-12-24T23:20:10.903Z] OT22 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-12-24T23:20:10.903Z] OT22 stderr WARNING: module-info.class ignored in patch: /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_0/aqa-tests/TKG/output_17666149865924/PatModImg_AppMod_0/20251224-232004-PatModImgTest/modules/7.com.hello.jar [2025-12-24T23:20:10.903Z] OT22 JUnit version 4.12 [2025-12-24T23:20:11.233Z] OT22 . [2025-12-24T23:20:11.233Z] OT22 Time: 0.007 [2025-12-24T23:20:11.233Z] OT22 [2025-12-24T23:20:11.233Z] OT22 OK (1 test) [2025-12-24T23:20:11.233Z] OT22 [2025-12-24T23:20:11.233Z] STF 23:20:10.969 - Monitoring Report Summary: [2025-12-24T23:20:11.233Z] STF 23:20:10.969 - o Process OT22 ended with the expected exit code (0) [2025-12-24T23:20:11.233Z] STF 23:20:10.969 - EXECUTE stage completed [2025-12-24T23:20:11.233Z] STF 23:20:11.000 - [2025-12-24T23:20:11.233Z] STF 23:20:11.000 - ==================== T E A R D O W N ==================== [2025-12-24T23:20:11.233Z] STF 23:20:11.000 - Running teardown: perl /home/adoptopenjdk/workspace/Test_openjdk21_hs_sanity.system_x86-64_linux_testList_0/aqa-tests/TKG/../TKG/output_17666149865924/PatModImg_AppMod_0/20251224-232004-PatModImgTest/tearDown.pl [2025-12-24T23:20:11.233Z] STF 23:20:11.052 - TEARDOWN stage completed [2025-12-24T23:20:11.233Z] STF 23:20:11.057 - [2025-12-24T23:20:11.233Z] STF 23:20:11.057 - ===================== R E S U L T S ===================== [2025-12-24T23:20:11.233Z] STF 23:20:11.057 - Stage results: [2025-12-24T23:20:11.233Z] STF 23:20:11.057 - setUp: pass [2025-12-24T23:20:11.233Z] STF 23:20:11.057 - execute: pass [2025-12-24T23:20:11.233Z] STF 23:20:11.057 - teardown: pass [2025-12-24T23:20:11.233Z] STF 23:20:11.057 - [2025-12-24T23:20:11.233Z] STF 23:20:11.057 - Overall result: PASSED [2025-12-24T23:20:11.233Z] ----------------------------------- [2025-12-24T23:20:11.233Z] PatModImg_AppMod_0_PASSED [2025-12-24T23:20:11.233Z] ----------------------------------- [2025-12-24T23:20:11.233Z] [2025-12-24T23:20:11.233Z] TEST TEARDOWN: [2025-12-24T23:20:11.233Z] Nothing to be done for teardown. [2025-12-24T23:20:11.233Z] PatModImg_AppMod_0 Finish Time: Wed Dec 24 23:20:11 2025 Epoch Time (ms): 1766618411083