PatModImg_AppMod_0
[2025-09-25T00:01:28.405Z] Running test PatModImg_AppMod_0 ...
[2025-09-25T00:01:28.405Z] ===============================================
[2025-09-25T00:01:28.405Z] PatModImg_AppMod_0 Start Time: Thu Sep 25 01:01:28 2025 Epoch Time (ms): 1758758488228
[2025-09-25T00:01:28.405Z] variation: Mode150
[2025-09-25T00:01:28.405Z] JVM_OPTIONS: -XX:+UseCompressedOops
[2025-09-25T00:01:28.405Z] { \
[2025-09-25T00:01:28.405Z] echo ""; echo "TEST SETUP:"; \
[2025-09-25T00:01:28.405Z] echo "Nothing to be done for setup."; \
[2025-09-25T00:01:28.405Z] mkdir -p "/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/../TKG/output_17587584125939/PatModImg_AppMod_0"; \
[2025-09-25T00:01:28.405Z] cd "/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/../TKG/output_17587584125939/PatModImg_AppMod_0"; \
[2025-09-25T00:01:28.405Z] echo ""; echo "TESTING:"; \
[2025-09-25T00:01:28.405Z] perl /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF/stf.core/scripts/stf.pl -test-root="/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF;/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/../../jvmtest/system/modularity/..//aqa-systemtest""" -systemtest-prereqs="/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/../../externalDependency/system_lib/" -java-args=' -XX:+UseCompressedOops ' -results-root="/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/../TKG/output_17587584125939/PatModImg_AppMod_0" -test=PatModImgTest -test-args="variant=AppMod"; \
[2025-09-25T00:01:28.405Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatModImg_AppMod_0""_PASSED"; echo "-----------------------------------"; cd /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/..; rm -f -r "/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/../TKG/output_17587584125939/PatModImg_AppMod_0"; else echo "-----------------------------------"; echo "PatModImg_AppMod_0""_FAILED"; echo "-----------------------------------"; fi; \
[2025-09-25T00:01:28.405Z] echo ""; echo "TEST TEARDOWN:"; \
[2025-09-25T00:01:28.405Z] echo "Nothing to be done for teardown."; \
[2025-09-25T00:01:28.405Z] } 2>&1 | tee -a "/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/../TKG/output_17587584125939/TestTargetResult";
[2025-09-25T00:01:28.405Z]
[2025-09-25T00:01:28.405Z] TEST SETUP:
[2025-09-25T00:01:28.405Z] Nothing to be done for setup.
[2025-09-25T00:01:28.405Z]
[2025-09-25T00:01:28.405Z] TESTING:
[2025-09-25T00:01:28.405Z] STF 01:01:28.332 - ========================= S T F =========================
[2025-09-25T00:01:28.405Z] systemtest-prereqs has been processed, and set to: /Users/jenkins/externalDependency/system_libRetrieving amount of free space on drive containing /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/../TKG/output_17587584125939/PatModImg_AppMod_0
[2025-09-25T00:01:28.405Z] There is 54966 Mb free
[2025-09-25T00:01:28.405Z] STF 01:01:28.343 - ================== G E N E R A T I O N ==================
[2025-09-25T00:01:28.405Z] STF 01:01:28.344 - Checking JVM: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/jdkbinary/j2sdk-image/Contents/Home/bin/../
[2025-09-25T00:01:28.405Z] STF 01:01:28.344 - Starting process to generate scripts: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/jdkbinary/j2sdk-image/Contents/Home/bin/..//bin/java -Dlog4j.skipJansi=true -Djava.system.class.loader=net.adoptopenjdk.stf.runner.StfClassLoader -Dload.agent.path=/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/jvmtest/system/STF/stf.core/scripts/../../stf.load/bin/stf.load.jar -classpath /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/../../externalDependency/system_lib//asm/asm.jar:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/../../externalDependency/system_lib//asm/asm-commons.jar:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/../../externalDependency/system_lib//log4j/log4j-api.jar:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/../../externalDependency/system_lib//log4j/log4j-core.jar:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/../TKG/output_17587584125939/PatModImg_AppMod_0/20250925-010128-PatModImgTest/stf_parameters.properties, , /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/../TKG/output_17587584125939/PatModImg_AppMod_0/20250925-010128-PatModImgTest"
[2025-09-25T00:01:28.405Z] GEN stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-09-25T00:01:29.624Z] GEN 01:01:29.351 - Found test. Project: 'openjdk.test.modularity' class: 'PatModImgTest.class' Dir: '/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin'
[2025-09-25T00:01:29.624Z] GEN 01:01:29.364 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModImgTest'
[2025-09-25T00:01:29.624Z] GEN Classpath directories used by project 'openjdk.test.modularity':
[2025-09-25T00:01:29.624Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayService
[2025-09-25T00:01:29.624Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper
[2025-09-25T00:01:29.624Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl1
[2025-09-25T00:01:29.624Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet
[2025-09-25T00:01:29.624Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello
[2025-09-25T00:01:29.624Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola
[2025-09-25T00:01:29.624Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl2
[2025-09-25T00:01:29.624Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hi
[2025-09-25T00:01:29.624Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override
[2025-09-25T00:01:29.624Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override-new
[2025-09-25T00:01:29.624Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl3
[2025-09-25T00:01:29.624Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl4
[2025-09-25T00:01:29.624Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common
[2025-09-25T00:01:29.624Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests
[2025-09-25T00:01:29.624Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin
[2025-09-25T00:01:29.624Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/jvmtest/system/STF/stf.core/bin
[2025-09-25T00:01:29.624Z] GEN /Users/jenkins/externalDependency/system_lib/log4j/log4j-api.jar
[2025-09-25T00:01:29.624Z] GEN /Users/jenkins/externalDependency/system_lib/log4j/log4j-core.jar
[2025-09-25T00:01:29.624Z] GEN /Users/jenkins/externalDependency/system_lib/junit/junit.jar
[2025-09-25T00:01:29.624Z] GEN 01:01:29.560 - Using Mode NoOptions. Values = ''
[2025-09-25T00:01:29.978Z] GEN 01:01:29.654 -
[2025-09-25T00:01:29.978Z] GEN 01:01:29.655 - Test command summary:
[2025-09-25T00:01:29.978Z] GEN 01:01:29.655 - Step Stage Command Description
[2025-09-25T00:01:29.978Z] GEN 01:01:29.655 - -----+--------+-----------------+------------
[2025-09-25T00:01:29.978Z] GEN 01:01:29.655 - 1 execute jar Create com.hello jar
[2025-09-25T00:01:29.978Z] GEN 01:01:29.656 - 2 execute jar Create com.hola jar
[2025-09-25T00:01:29.978Z] GEN 01:01:29.656 - 3 execute jar Create com.helper jar
[2025-09-25T00:01:29.978Z] GEN 01:01:29.656 - 4 execute jar Create com.discreet jar
[2025-09-25T00:01:29.978Z] GEN 01:01:29.656 - 5 execute jar Create tests jar
[2025-09-25T00:01:29.978Z] GEN 01:01:29.656 - 6 execute jlink Create runtime image for PatchModule test
[2025-09-25T00:01:29.978Z] GEN 01:01:29.656 - 7 execute jar Create com.hello jar
[2025-09-25T00:01:29.978Z] GEN 01:01:29.656 - 8 execute jar create java.xml.jar
[2025-09-25T00:01:29.978Z] GEN 01:01:29.656 - 9 execute Run java Verify if we can patch an Application module using exploded directory
[2025-09-25T00:01:29.978Z] GEN 01:01:29.656 - 10 execute Run java Verify if we can patch an Application module using modular jar
[2025-09-25T00:01:29.978Z] STF 01:01:29.682 -
[2025-09-25T00:01:29.978Z] STF 01:01:29.683 - Script generation completed
[2025-09-25T00:01:29.978Z] STF 01:01:29.683 -
[2025-09-25T00:01:29.978Z] STF 01:01:29.683 -
[2025-09-25T00:01:29.978Z] STF 01:01:29.683 - ======================= S E T U P =======================
[2025-09-25T00:01:29.978Z] STF 01:01:29.683 - Running setup: perl /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/../TKG/output_17587584125939/PatModImg_AppMod_0/20250925-010128-PatModImgTest/setUp.pl
[2025-09-25T00:01:29.978Z] STF 01:01:29.757 - SETUP stage completed
[2025-09-25T00:01:29.978Z] STF 01:01:29.763 -
[2025-09-25T00:01:29.978Z] STF 01:01:29.763 - ==================== E X E C U T E - ====================
[2025-09-25T00:01:29.978Z] STF 01:01:29.763 - Running execute: perl /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/../TKG/output_17587584125939/PatModImg_AppMod_0/20250925-010128-PatModImgTest/execute.pl
[2025-09-25T00:01:29.978Z] STF 01:01:29.840 -
[2025-09-25T00:01:29.978Z] STF 01:01:29.840 - Java version
[2025-09-25T00:01:29.978Z] STF 01:01:29.840 - Running: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/jdkbinary/j2sdk-image/Contents/Home/bin/java -version
[2025-09-25T00:01:29.978Z] Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-09-25T00:01:29.978Z] openjdk version "21.0.9-beta" 2025-10-21
[2025-09-25T00:01:29.978Z] OpenJDK Runtime Environment Temurin-21.0.9+8-202509241904 (build 21.0.9-beta+8-ea)
[2025-09-25T00:01:29.978Z] OpenJDK 64-Bit Server VM Temurin-21.0.9+8-202509241904 (build 21.0.9-beta+8-ea, mixed mode)
[2025-09-25T00:01:29.978Z] STF 01:01:29.952 -
[2025-09-25T00:01:29.978Z] STF 01:01:29.952 - +------ Step 1 - Create com.hello jar
[2025-09-25T00:01:29.978Z] STF 01:01:29.952 - | Create modular jar
[2025-09-25T00:01:29.978Z] STF 01:01:29.952 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello
[2025-09-25T00:01:29.978Z] STF 01:01:29.952 - | ModuleVersion: null
[2025-09-25T00:01:29.978Z] STF 01:01:29.952 - | MainClass: null
[2025-09-25T00:01:29.978Z] STF 01:01:29.952 - | HashModules: null
[2025-09-25T00:01:29.978Z] STF 01:01:29.952 - |
[2025-09-25T00:01:29.978Z] STF 01:01:29.952 - Running command: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_17587584125939/PatModImg_AppMod_0/20250925-010128-PatModImgTest/modules/1.com.hello.jar -C /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello .
[2025-09-25T00:01:29.978Z] STF 01:01:29.952 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_17587584125939/PatModImg_AppMod_0/20250925-010128-PatModImgTest/results/1.CMJ.stderr
[2025-09-25T00:01:29.978Z] STF 01:01:29.952 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_17587584125939/PatModImg_AppMod_0/20250925-010128-PatModImgTest/results/1.CMJ.stdout
[2025-09-25T00:01:30.330Z] STF 01:01:29.962 - Monitoring processes: CMJ
[2025-09-25T00:01:30.330Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-09-25T00:01:30.683Z] STF 01:01:30.343 - Monitoring Report Summary:
[2025-09-25T00:01:30.684Z] STF 01:01:30.343 - o Process CMJ ended with the expected exit code (0)
[2025-09-25T00:01:30.684Z] STF 01:01:30.343 - Created modular jar: 1.com.hello.jar
[2025-09-25T00:01:30.684Z] STF 01:01:30.343 -
[2025-09-25T00:01:30.684Z] STF 01:01:30.343 - +------ Step 2 - Create com.hola jar
[2025-09-25T00:01:30.684Z] STF 01:01:30.343 - | Create modular jar
[2025-09-25T00:01:30.684Z] STF 01:01:30.343 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola
[2025-09-25T00:01:30.684Z] STF 01:01:30.343 - | ModuleVersion: null
[2025-09-25T00:01:30.684Z] STF 01:01:30.343 - | MainClass: null
[2025-09-25T00:01:30.684Z] STF 01:01:30.343 - | HashModules: null
[2025-09-25T00:01:30.684Z] STF 01:01:30.343 - |
[2025-09-25T00:01:30.684Z] STF 01:01:30.344 - Running command: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_17587584125939/PatModImg_AppMod_0/20250925-010128-PatModImgTest/modules/2.com.hola.jar -C /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola .
[2025-09-25T00:01:30.684Z] STF 01:01:30.344 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_17587584125939/PatModImg_AppMod_0/20250925-010128-PatModImgTest/results/2.CMJ.stderr
[2025-09-25T00:01:30.684Z] STF 01:01:30.344 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_17587584125939/PatModImg_AppMod_0/20250925-010128-PatModImgTest/results/2.CMJ.stdout
[2025-09-25T00:01:30.684Z] STF 01:01:30.345 - Monitoring processes: CMJ
[2025-09-25T00:01:30.684Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-09-25T00:01:31.036Z] STF 01:01:30.724 - Monitoring Report Summary:
[2025-09-25T00:01:31.036Z] STF 01:01:30.724 - o Process CMJ ended with the expected exit code (0)
[2025-09-25T00:01:31.036Z] STF 01:01:30.724 - Created modular jar: 2.com.hola.jar
[2025-09-25T00:01:31.036Z] STF 01:01:30.724 -
[2025-09-25T00:01:31.036Z] STF 01:01:30.724 - +------ Step 3 - Create com.helper jar
[2025-09-25T00:01:31.036Z] STF 01:01:30.724 - | Create modular jar
[2025-09-25T00:01:31.036Z] STF 01:01:30.724 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper
[2025-09-25T00:01:31.036Z] STF 01:01:30.724 - | ModuleVersion: null
[2025-09-25T00:01:31.036Z] STF 01:01:30.724 - | MainClass: null
[2025-09-25T00:01:31.036Z] STF 01:01:30.724 - | HashModules: null
[2025-09-25T00:01:31.036Z] STF 01:01:30.724 - |
[2025-09-25T00:01:31.037Z] STF 01:01:30.725 - Running command: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_17587584125939/PatModImg_AppMod_0/20250925-010128-PatModImgTest/modules/3.com.helper.jar -C /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper .
[2025-09-25T00:01:31.037Z] STF 01:01:30.725 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_17587584125939/PatModImg_AppMod_0/20250925-010128-PatModImgTest/results/3.CMJ.stderr
[2025-09-25T00:01:31.037Z] STF 01:01:30.725 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_17587584125939/PatModImg_AppMod_0/20250925-010128-PatModImgTest/results/3.CMJ.stdout
[2025-09-25T00:01:31.037Z] STF 01:01:30.727 - Monitoring processes: CMJ
[2025-09-25T00:01:31.037Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-09-25T00:01:31.393Z] STF 01:01:31.100 - Monitoring Report Summary:
[2025-09-25T00:01:31.393Z] STF 01:01:31.100 - o Process CMJ ended with the expected exit code (0)
[2025-09-25T00:01:31.393Z] STF 01:01:31.101 - Created modular jar: 3.com.helper.jar
[2025-09-25T00:01:31.393Z] STF 01:01:31.101 -
[2025-09-25T00:01:31.393Z] STF 01:01:31.101 - +------ Step 4 - Create com.discreet jar
[2025-09-25T00:01:31.393Z] STF 01:01:31.101 - | Create modular jar
[2025-09-25T00:01:31.393Z] STF 01:01:31.101 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet
[2025-09-25T00:01:31.393Z] STF 01:01:31.101 - | ModuleVersion: null
[2025-09-25T00:01:31.393Z] STF 01:01:31.101 - | MainClass: null
[2025-09-25T00:01:31.393Z] STF 01:01:31.101 - | HashModules: null
[2025-09-25T00:01:31.393Z] STF 01:01:31.101 - |
[2025-09-25T00:01:31.393Z] STF 01:01:31.102 - Running command: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_17587584125939/PatModImg_AppMod_0/20250925-010128-PatModImgTest/modules/4.com.discreet.jar -C /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet .
[2025-09-25T00:01:31.393Z] STF 01:01:31.102 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_17587584125939/PatModImg_AppMod_0/20250925-010128-PatModImgTest/results/4.CMJ.stderr
[2025-09-25T00:01:31.393Z] STF 01:01:31.102 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_17587584125939/PatModImg_AppMod_0/20250925-010128-PatModImgTest/results/4.CMJ.stdout
[2025-09-25T00:01:31.393Z] STF 01:01:31.104 - Monitoring processes: CMJ
[2025-09-25T00:01:31.393Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-09-25T00:01:31.745Z] STF 01:01:31.483 - Monitoring Report Summary:
[2025-09-25T00:01:31.745Z] STF 01:01:31.483 - o Process CMJ ended with the expected exit code (0)
[2025-09-25T00:01:31.745Z] STF 01:01:31.483 - Created modular jar: 4.com.discreet.jar
[2025-09-25T00:01:31.745Z] STF 01:01:31.483 -
[2025-09-25T00:01:31.745Z] STF 01:01:31.483 - +------ Step 5 - Create tests jar
[2025-09-25T00:01:31.745Z] STF 01:01:31.483 - | Create modular jar
[2025-09-25T00:01:31.745Z] STF 01:01:31.483 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test
[2025-09-25T00:01:31.745Z] STF 01:01:31.483 - | ModuleVersion: null
[2025-09-25T00:01:31.745Z] STF 01:01:31.484 - | MainClass: null
[2025-09-25T00:01:31.745Z] STF 01:01:31.484 - | HashModules: null
[2025-09-25T00:01:31.745Z] STF 01:01:31.484 - |
[2025-09-25T00:01:31.745Z] STF 01:01:31.484 - Running command: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_17587584125939/PatModImg_AppMod_0/20250925-010128-PatModImgTest/modules/5.com.test.jar -C /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test .
[2025-09-25T00:01:31.745Z] STF 01:01:31.484 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_17587584125939/PatModImg_AppMod_0/20250925-010128-PatModImgTest/results/5.CMJ.stderr
[2025-09-25T00:01:31.745Z] STF 01:01:31.484 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_17587584125939/PatModImg_AppMod_0/20250925-010128-PatModImgTest/results/5.CMJ.stdout
[2025-09-25T00:01:31.745Z] STF 01:01:31.487 - Monitoring processes: CMJ
[2025-09-25T00:01:31.745Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-09-25T00:01:32.096Z] STF 01:01:31.862 - Monitoring Report Summary:
[2025-09-25T00:01:32.096Z] STF 01:01:31.863 - o Process CMJ ended with the expected exit code (0)
[2025-09-25T00:01:32.096Z] STF 01:01:31.863 - Created modular jar: 5.com.test.jar
[2025-09-25T00:01:32.096Z] STF 01:01:31.863 -
[2025-09-25T00:01:32.096Z] STF 01:01:31.863 - +------ Step 6 - Create runtime image for PatchModule test
[2025-09-25T00:01:32.096Z] STF 01:01:31.863 - | Run jlink to create runtime image
[2025-09-25T00:01:32.096Z] STF 01:01:31.863 - | ImageName: XpJVM
[2025-09-25T00:01:32.096Z] STF 01:01:31.863 - |
[2025-09-25T00:01:32.096Z] STF 01:01:31.863 - Running command: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/jdkbinary/j2sdk-image/Contents/Home/bin/jlink --module-path /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/jdkbinary/j2sdk-image/Contents/Home/jmods:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_17587584125939/PatModImg_AppMod_0/20250925-010128-PatModImgTest/modules --add-modules com.hello,com.hola,com.test,com.helper,com.discreet --output /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_17587584125939/PatModImg_AppMod_0/20250925-010128-PatModImgTest/tmp/6.XpJVM
[2025-09-25T00:01:32.096Z] STF 01:01:31.863 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_17587584125939/PatModImg_AppMod_0/20250925-010128-PatModImgTest/results/6.JLNK.stderr
[2025-09-25T00:01:32.096Z] STF 01:01:31.863 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_17587584125939/PatModImg_AppMod_0/20250925-010128-PatModImgTest/results/6.JLNK.stdout
[2025-09-25T00:01:32.096Z] STF 01:01:31.865 - Monitoring processes: JLNK
[2025-09-25T00:01:32.096Z] JLNK stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-09-25T00:01:34.497Z] STF 01:01:34.442 - Monitoring Report Summary:
[2025-09-25T00:01:34.497Z] STF 01:01:34.442 - o Process JLNK ended with the expected exit code (0)
[2025-09-25T00:01:34.497Z] STF 01:01:34.443 -
[2025-09-25T00:01:34.497Z] STF 01:01:34.443 - +------ Step 7 - Create com.hello jar
[2025-09-25T00:01:34.497Z] STF 01:01:34.443 - | Create modular jar
[2025-09-25T00:01:34.497Z] STF 01:01:34.443 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello
[2025-09-25T00:01:34.497Z] STF 01:01:34.443 - | ModuleVersion: null
[2025-09-25T00:01:34.497Z] STF 01:01:34.443 - | MainClass: null
[2025-09-25T00:01:34.497Z] STF 01:01:34.443 - | HashModules: null
[2025-09-25T00:01:34.497Z] STF 01:01:34.443 - |
[2025-09-25T00:01:34.497Z] STF 01:01:34.443 - Running command: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_17587584125939/PatModImg_AppMod_0/20250925-010128-PatModImgTest/modules/7.com.hello.jar -C /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello .
[2025-09-25T00:01:34.497Z] STF 01:01:34.443 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_17587584125939/PatModImg_AppMod_0/20250925-010128-PatModImgTest/results/7.CMJ.stderr
[2025-09-25T00:01:34.497Z] STF 01:01:34.443 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_17587584125939/PatModImg_AppMod_0/20250925-010128-PatModImgTest/results/7.CMJ.stdout
[2025-09-25T00:01:34.497Z] STF 01:01:34.445 - Monitoring processes: CMJ
[2025-09-25T00:01:34.851Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-09-25T00:01:34.851Z] STF 01:01:34.820 - Monitoring Report Summary:
[2025-09-25T00:01:34.851Z] STF 01:01:34.820 - o Process CMJ ended with the expected exit code (0)
[2025-09-25T00:01:34.851Z] STF 01:01:34.821 - Created modular jar: 7.com.hello.jar
[2025-09-25T00:01:34.851Z] STF 01:01:34.821 -
[2025-09-25T00:01:34.851Z] STF 01:01:34.821 - +------ Step 8 - create java.xml.jar
[2025-09-25T00:01:34.851Z] STF 01:01:34.821 - | Create modular jar
[2025-09-25T00:01:34.851Z] STF 01:01:34.821 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml
[2025-09-25T00:01:34.851Z] STF 01:01:34.821 - | ModuleVersion: null
[2025-09-25T00:01:34.851Z] STF 01:01:34.821 - | MainClass: null
[2025-09-25T00:01:34.851Z] STF 01:01:34.821 - | HashModules: null
[2025-09-25T00:01:34.851Z] STF 01:01:34.821 - |
[2025-09-25T00:01:34.851Z] STF 01:01:34.821 - Running command: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_17587584125939/PatModImg_AppMod_0/20250925-010128-PatModImgTest/modules/8.java.xml.jar -C /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/java.xml .
[2025-09-25T00:01:34.851Z] STF 01:01:34.821 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_17587584125939/PatModImg_AppMod_0/20250925-010128-PatModImgTest/results/8.CMJ.stderr
[2025-09-25T00:01:34.851Z] STF 01:01:34.821 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_17587584125939/PatModImg_AppMod_0/20250925-010128-PatModImgTest/results/8.CMJ.stdout
[2025-09-25T00:01:34.851Z] STF 01:01:34.823 - Monitoring processes: CMJ
[2025-09-25T00:01:35.206Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-09-25T00:01:35.560Z] STF 01:01:35.194 - Monitoring Report Summary:
[2025-09-25T00:01:35.560Z] STF 01:01:35.194 - o Process CMJ ended with the expected exit code (0)
[2025-09-25T00:01:35.560Z] STF 01:01:35.194 - Created modular jar: 8.java.xml.jar
[2025-09-25T00:01:35.560Z] STF 01:01:35.194 -
[2025-09-25T00:01:35.560Z] STF 01:01:35.194 - +------ Step 9 - Verify if we can patch an Application module using exploded directory
[2025-09-25T00:01:35.560Z] STF 01:01:35.194 - | Run foreground process
[2025-09-25T00:01:35.561Z] STF 01:01:35.194 - | Program: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_17587584125939/PatModImg_AppMod_0/20250925-010128-PatModImgTest/tmp/6.XpJVM/bin/java
[2025-09-25T00:01:35.561Z] STF 01:01:35.194 - | Mnemonic: OT21
[2025-09-25T00:01:35.561Z] STF 01:01:35.195 - | Echo: ECHO_ON
[2025-09-25T00:01:35.561Z] STF 01:01:35.195 - | Expectation: CLEAN_RUN within 5m
[2025-09-25T00:01:35.561Z] STF 01:01:35.195 - |
[2025-09-25T00:01:35.561Z] STF 01:01:35.195 - Running command: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_17587584125939/PatModImg_AppMod_0/20250925-010128-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module com.hello=/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello -XX:+UseCompressedOops -classpath /Users/jenkins/externalDependency/system_lib/junit/junit.jar:/Users/jenkins/externalDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingAppModule
[2025-09-25T00:01:35.561Z] STF 01:01:35.195 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_17587584125939/PatModImg_AppMod_0/20250925-010128-PatModImgTest/results/9.OT21.stderr
[2025-09-25T00:01:35.561Z] STF 01:01:35.195 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_17587584125939/PatModImg_AppMod_0/20250925-010128-PatModImgTest/results/9.OT21.stdout
[2025-09-25T00:01:35.561Z] STF 01:01:35.197 - Monitoring processes: OT21
[2025-09-25T00:01:35.561Z] OT21 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-09-25T00:01:35.561Z] OT21 stderr WARNING: module-info.class ignored in patch: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello
[2025-09-25T00:01:35.937Z] OT21 JUnit version 4.12
[2025-09-25T00:01:35.937Z] OT21 .
[2025-09-25T00:01:35.937Z] OT21 Time: 0.016
[2025-09-25T00:01:35.937Z] OT21
[2025-09-25T00:01:35.937Z] OT21 OK (1 test)
[2025-09-25T00:01:35.937Z] OT21
[2025-09-25T00:01:35.937Z] STF 01:01:35.686 - Monitoring Report Summary:
[2025-09-25T00:01:35.937Z] STF 01:01:35.686 - o Process OT21 ended with the expected exit code (0)
[2025-09-25T00:01:35.937Z] STF 01:01:35.686 -
[2025-09-25T00:01:35.937Z] STF 01:01:35.686 - +------ Step 10 - Verify if we can patch an Application module using modular jar
[2025-09-25T00:01:35.937Z] STF 01:01:35.686 - | Run foreground process
[2025-09-25T00:01:35.937Z] STF 01:01:35.686 - | Program: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_17587584125939/PatModImg_AppMod_0/20250925-010128-PatModImgTest/tmp/6.XpJVM/bin/java
[2025-09-25T00:01:35.937Z] STF 01:01:35.686 - | Mnemonic: OT22
[2025-09-25T00:01:35.937Z] STF 01:01:35.686 - | Echo: ECHO_ON
[2025-09-25T00:01:35.937Z] STF 01:01:35.686 - | Expectation: CLEAN_RUN within 5m
[2025-09-25T00:01:35.937Z] STF 01:01:35.686 - |
[2025-09-25T00:01:35.937Z] STF 01:01:35.687 - Running command: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_17587584125939/PatModImg_AppMod_0/20250925-010128-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module com.hello=/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_17587584125939/PatModImg_AppMod_0/20250925-010128-PatModImgTest/modules/7.com.hello.jar -XX:+UseCompressedOops -classpath /Users/jenkins/externalDependency/system_lib/junit/junit.jar:/Users/jenkins/externalDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingAppModule
[2025-09-25T00:01:35.937Z] STF 01:01:35.687 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_17587584125939/PatModImg_AppMod_0/20250925-010128-PatModImgTest/results/10.OT22.stderr
[2025-09-25T00:01:35.937Z] STF 01:01:35.687 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_17587584125939/PatModImg_AppMod_0/20250925-010128-PatModImgTest/results/10.OT22.stdout
[2025-09-25T00:01:35.937Z] STF 01:01:35.688 - Monitoring processes: OT22
[2025-09-25T00:01:35.937Z] OT22 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-09-25T00:01:35.937Z] OT22 stderr WARNING: module-info.class ignored in patch: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/output_17587584125939/PatModImg_AppMod_0/20250925-010128-PatModImgTest/modules/7.com.hello.jar
[2025-09-25T00:01:36.289Z] OT22 JUnit version 4.12
[2025-09-25T00:01:36.289Z] OT22 .
[2025-09-25T00:01:36.289Z] OT22 Time: 0.007
[2025-09-25T00:01:36.289Z] OT22
[2025-09-25T00:01:36.289Z] OT22 OK (1 test)
[2025-09-25T00:01:36.289Z] OT22
[2025-09-25T00:01:36.289Z] STF 01:01:36.024 - Monitoring Report Summary:
[2025-09-25T00:01:36.289Z] STF 01:01:36.024 - o Process OT22 ended with the expected exit code (0)
[2025-09-25T00:01:36.289Z] STF 01:01:36.025 - EXECUTE stage completed
[2025-09-25T00:01:36.289Z] STF 01:01:36.100 -
[2025-09-25T00:01:36.289Z] STF 01:01:36.100 - ==================== T E A R D O W N ====================
[2025-09-25T00:01:36.289Z] STF 01:01:36.100 - Running teardown: perl /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_0/aqa-tests/TKG/../TKG/output_17587584125939/PatModImg_AppMod_0/20250925-010128-PatModImgTest/tearDown.pl
[2025-09-25T00:01:36.289Z] STF 01:01:36.186 - TEARDOWN stage completed
[2025-09-25T00:01:36.289Z] STF 01:01:36.189 -
[2025-09-25T00:01:36.289Z] STF 01:01:36.189 - ===================== R E S U L T S =====================
[2025-09-25T00:01:36.289Z] STF 01:01:36.189 - Stage results:
[2025-09-25T00:01:36.289Z] STF 01:01:36.189 - setUp: pass
[2025-09-25T00:01:36.289Z] STF 01:01:36.189 - execute: pass
[2025-09-25T00:01:36.289Z] STF 01:01:36.189 - teardown: pass
[2025-09-25T00:01:36.289Z] STF 01:01:36.189 -
[2025-09-25T00:01:36.289Z] STF 01:01:36.189 - Overall result: PASSED
[2025-09-25T00:01:36.289Z] -----------------------------------
[2025-09-25T00:01:36.289Z] PatModImg_AppMod_0_PASSED
[2025-09-25T00:01:36.289Z] -----------------------------------
[2025-09-25T00:01:36.289Z]
[2025-09-25T00:01:36.289Z] TEST TEARDOWN:
[2025-09-25T00:01:36.289Z] Nothing to be done for teardown.
[2025-09-25T00:01:36.289Z] PatModImg_AppMod_0 Finish Time: Thu Sep 25 01:01:36 2025 Epoch Time (ms): 1758758496232