PatModImg_AppMod_0
[2024-11-27T12:31:25.195Z] Running test PatModImg_AppMod_0 ...
[2024-11-27T12:31:25.195Z] ===============================================
[2024-11-27T12:31:25.195Z] PatModImg_AppMod_0 Start Time: Wed Nov 27 07:31:24 2024 Epoch Time (ms): 1732710684897
[2024-11-27T12:31:25.195Z] variation: Mode150
[2024-11-27T12:31:25.195Z] JVM_OPTIONS: -XX:+UseCompressedOops
[2024-11-27T12:31:25.195Z] { \
[2024-11-27T12:31:25.195Z] echo ""; echo "TEST SETUP:"; \
[2024-11-27T12:31:25.195Z] echo "Nothing to be done for setup."; \
[2024-11-27T12:31:25.195Z] mkdir -p "/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17327082053310/PatModImg_AppMod_0"; \
[2024-11-27T12:31:25.195Z] cd "/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17327082053310/PatModImg_AppMod_0"; \
[2024-11-27T12:31:25.195Z] echo ""; echo "TESTING:"; \
[2024-11-27T12:31:25.195Z] perl /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF/stf.core/scripts/stf.pl -test-root="/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF;/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../../jvmtest/system/modularity/..//aqa-systemtest""" -systemtest-prereqs="/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/../../testDependency/system_lib/" -java-args=' -XX:+UseCompressedOops ' -results-root="/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17327082053310/PatModImg_AppMod_0" -test=PatModImgTest -test-args="variant=AppMod"; \
[2024-11-27T12:31:25.195Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatModImg_AppMod_0""_PASSED"; echo "-----------------------------------"; cd /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/..; rm -f -r "/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17327082053310/PatModImg_AppMod_0"; else echo "-----------------------------------"; echo "PatModImg_AppMod_0""_FAILED"; echo "-----------------------------------"; fi; \
[2024-11-27T12:31:25.195Z] echo ""; echo "TEST TEARDOWN:"; \
[2024-11-27T12:31:25.195Z] echo "Nothing to be done for teardown."; \
[2024-11-27T12:31:25.195Z] } 2>&1 | tee -a "/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17327082053310/TestTargetResult";
[2024-11-27T12:31:25.195Z]
[2024-11-27T12:31:25.195Z] TEST SETUP:
[2024-11-27T12:31:25.195Z] Nothing to be done for setup.
[2024-11-27T12:31:25.195Z]
[2024-11-27T12:31:25.195Z] TESTING:
[2024-11-27T12:31:25.195Z] STF 07:31:24.931 - ========================= S T F =========================
[2024-11-27T12:31:25.195Z] systemtest-prereqs has been processed, and set to: /Users/admin/workspace/testDependency/system_libRetrieving amount of free space on drive containing /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17327082053310/PatModImg_AppMod_0
[2024-11-27T12:31:25.195Z] There is 28481 Mb free
[2024-11-27T12:31:25.195Z] STF 07:31:24.934 - ================== G E N E R A T I O N ==================
[2024-11-27T12:31:25.195Z] STF 07:31:24.935 - Checking JVM: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/../
[2024-11-27T12:31:25.195Z] STF 07:31:24.935 - Starting process to generate scripts: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/..//bin/java -Dlog4j.skipJansi=true -Djava.system.class.loader=net.adoptopenjdk.stf.runner.StfClassLoader -classpath /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/../../testDependency/system_lib//log4j/log4j-api.jar:/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/../../testDependency/system_lib//log4j/log4j-core.jar:/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17327082053310/PatModImg_AppMod_0/20241127-073124-PatModImgTest/stf_parameters.properties, , /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17327082053310/PatModImg_AppMod_0/20241127-073124-PatModImgTest"
[2024-11-27T12:31:25.195Z] GEN [0.003s][warning][cds] Archived non-system classes are disabled because the java.system.class.loader property is specified (value = "net.adoptopenjdk.stf.runner.StfClassLoader"). To use archived non-system classes, this property must not be set
[2024-11-27T12:31:25.195Z] GEN stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-11-27T12:31:25.579Z] GEN 07:31:25.236 - Found test. Project: 'openjdk.test.modularity' class: 'PatModImgTest.class' Dir: '/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin'
[2024-11-27T12:31:25.579Z] GEN 07:31:25.241 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModImgTest'
[2024-11-27T12:31:25.579Z] GEN Classpath directories used by project 'openjdk.test.modularity':
[2024-11-27T12:31:25.579Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayService
[2024-11-27T12:31:25.579Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper
[2024-11-27T12:31:25.579Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl1
[2024-11-27T12:31:25.579Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet
[2024-11-27T12:31:25.579Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello
[2024-11-27T12:31:25.579Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola
[2024-11-27T12:31:25.579Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl2
[2024-11-27T12:31:25.579Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hi
[2024-11-27T12:31:25.579Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override
[2024-11-27T12:31:25.579Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override-new
[2024-11-27T12:31:25.579Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl3
[2024-11-27T12:31:25.579Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl4
[2024-11-27T12:31:25.579Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common
[2024-11-27T12:31:25.579Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests
[2024-11-27T12:31:25.579Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin
[2024-11-27T12:31:25.579Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/STF/stf.core/bin
[2024-11-27T12:31:25.579Z] GEN /Users/admin/workspace/testDependency/system_lib/log4j/log4j-api.jar
[2024-11-27T12:31:25.579Z] GEN /Users/admin/workspace/testDependency/system_lib/log4j/log4j-core.jar
[2024-11-27T12:31:25.579Z] GEN /Users/admin/workspace/testDependency/system_lib/junit/junit.jar
[2024-11-27T12:31:25.579Z] GEN 07:31:25.293 - Using Mode NoOptions. Values = ''
[2024-11-27T12:31:25.579Z] GEN 07:31:25.315 -
[2024-11-27T12:31:25.579Z] GEN 07:31:25.315 - Test command summary:
[2024-11-27T12:31:25.579Z] GEN 07:31:25.315 - Step Stage Command Description
[2024-11-27T12:31:25.579Z] GEN 07:31:25.315 - -----+--------+-----------------+------------
[2024-11-27T12:31:25.579Z] GEN 07:31:25.315 - 1 execute jar Create com.hello jar
[2024-11-27T12:31:25.579Z] GEN 07:31:25.315 - 2 execute jar Create com.hola jar
[2024-11-27T12:31:25.579Z] GEN 07:31:25.315 - 3 execute jar Create com.helper jar
[2024-11-27T12:31:25.579Z] GEN 07:31:25.315 - 4 execute jar Create com.discreet jar
[2024-11-27T12:31:25.579Z] GEN 07:31:25.315 - 5 execute jar Create tests jar
[2024-11-27T12:31:25.579Z] GEN 07:31:25.315 - 6 execute jlink Create runtime image for PatchModule test
[2024-11-27T12:31:25.579Z] GEN 07:31:25.315 - 7 execute jar Create com.hello jar
[2024-11-27T12:31:25.579Z] GEN 07:31:25.315 - 8 execute jar create java.xml.jar
[2024-11-27T12:31:25.579Z] GEN 07:31:25.315 - 9 execute Run java Verify if we can patch an Application module using exploded directory
[2024-11-27T12:31:25.579Z] GEN 07:31:25.315 - 10 execute Run java Verify if we can patch an Application module using modular jar
[2024-11-27T12:31:25.579Z] STF 07:31:25.341 -
[2024-11-27T12:31:25.579Z] STF 07:31:25.341 - Script generation completed
[2024-11-27T12:31:25.579Z] STF 07:31:25.341 -
[2024-11-27T12:31:25.579Z] STF 07:31:25.341 -
[2024-11-27T12:31:25.579Z] STF 07:31:25.341 - ======================= S E T U P =======================
[2024-11-27T12:31:25.579Z] STF 07:31:25.341 - Running setup: perl /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17327082053310/PatModImg_AppMod_0/20241127-073124-PatModImgTest/setUp.pl
[2024-11-27T12:31:25.579Z] STF 07:31:25.367 - SETUP stage completed
[2024-11-27T12:31:25.579Z] STF 07:31:25.378 -
[2024-11-27T12:31:25.579Z] STF 07:31:25.378 - ==================== E X E C U T E - ====================
[2024-11-27T12:31:25.579Z] STF 07:31:25.378 - Running execute: perl /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17327082053310/PatModImg_AppMod_0/20241127-073124-PatModImgTest/execute.pl
[2024-11-27T12:31:25.579Z] STF 07:31:25.402 -
[2024-11-27T12:31:25.579Z] STF 07:31:25.402 - Java version
[2024-11-27T12:31:25.579Z] STF 07:31:25.402 - Running: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/java -version
[2024-11-27T12:31:25.579Z] Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-11-27T12:31:25.579Z] openjdk version "21.0.6-beta" 2025-01-21
[2024-11-27T12:31:25.579Z] OpenJDK Runtime Environment Temurin-21.0.6+5-202411271058 (build 21.0.6-beta+5-202411271058)
[2024-11-27T12:31:25.579Z] OpenJDK 64-Bit Server VM Temurin-21.0.6+5-202411271058 (build 21.0.6-beta+5-202411271058, mixed mode, sharing)
[2024-11-27T12:31:25.579Z] STF 07:31:25.425 -
[2024-11-27T12:31:25.579Z] STF 07:31:25.425 - +------ Step 1 - Create com.hello jar
[2024-11-27T12:31:25.579Z] STF 07:31:25.425 - | Create modular jar
[2024-11-27T12:31:25.579Z] STF 07:31:25.425 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello
[2024-11-27T12:31:25.579Z] STF 07:31:25.425 - | ModuleVersion: null
[2024-11-27T12:31:25.579Z] STF 07:31:25.425 - | MainClass: null
[2024-11-27T12:31:25.579Z] STF 07:31:25.425 - | HashModules: null
[2024-11-27T12:31:25.579Z] STF 07:31:25.425 - |
[2024-11-27T12:31:25.579Z] STF 07:31:25.425 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17327082053310/PatModImg_AppMod_0/20241127-073124-PatModImgTest/modules/1.com.hello.jar -C /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello .
[2024-11-27T12:31:25.579Z] STF 07:31:25.425 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17327082053310/PatModImg_AppMod_0/20241127-073124-PatModImgTest/results/1.CMJ.stderr
[2024-11-27T12:31:25.579Z] STF 07:31:25.425 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17327082053310/PatModImg_AppMod_0/20241127-073124-PatModImgTest/results/1.CMJ.stdout
[2024-11-27T12:31:25.579Z] STF 07:31:25.429 - Monitoring processes: CMJ
[2024-11-27T12:31:25.579Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-11-27T12:31:25.938Z] STF 07:31:25.552 - Monitoring Report Summary:
[2024-11-27T12:31:25.938Z] STF 07:31:25.552 - o Process CMJ ended with the expected exit code (0)
[2024-11-27T12:31:25.938Z] STF 07:31:25.553 - Created modular jar: 1.com.hello.jar
[2024-11-27T12:31:25.938Z] STF 07:31:25.553 -
[2024-11-27T12:31:25.938Z] STF 07:31:25.553 - +------ Step 2 - Create com.hola jar
[2024-11-27T12:31:25.938Z] STF 07:31:25.553 - | Create modular jar
[2024-11-27T12:31:25.938Z] STF 07:31:25.553 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola
[2024-11-27T12:31:25.938Z] STF 07:31:25.553 - | ModuleVersion: null
[2024-11-27T12:31:25.938Z] STF 07:31:25.553 - | MainClass: null
[2024-11-27T12:31:25.938Z] STF 07:31:25.553 - | HashModules: null
[2024-11-27T12:31:25.938Z] STF 07:31:25.553 - |
[2024-11-27T12:31:25.938Z] STF 07:31:25.553 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17327082053310/PatModImg_AppMod_0/20241127-073124-PatModImgTest/modules/2.com.hola.jar -C /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola .
[2024-11-27T12:31:25.938Z] STF 07:31:25.553 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17327082053310/PatModImg_AppMod_0/20241127-073124-PatModImgTest/results/2.CMJ.stderr
[2024-11-27T12:31:25.938Z] STF 07:31:25.553 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17327082053310/PatModImg_AppMod_0/20241127-073124-PatModImgTest/results/2.CMJ.stdout
[2024-11-27T12:31:25.938Z] STF 07:31:25.554 - Monitoring processes: CMJ
[2024-11-27T12:31:25.938Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-11-27T12:31:25.938Z] STF 07:31:25.671 - Monitoring Report Summary:
[2024-11-27T12:31:25.938Z] STF 07:31:25.671 - o Process CMJ ended with the expected exit code (0)
[2024-11-27T12:31:25.938Z] STF 07:31:25.671 - Created modular jar: 2.com.hola.jar
[2024-11-27T12:31:25.938Z] STF 07:31:25.671 -
[2024-11-27T12:31:25.938Z] STF 07:31:25.671 - +------ Step 3 - Create com.helper jar
[2024-11-27T12:31:25.938Z] STF 07:31:25.671 - | Create modular jar
[2024-11-27T12:31:25.938Z] STF 07:31:25.671 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper
[2024-11-27T12:31:25.938Z] STF 07:31:25.671 - | ModuleVersion: null
[2024-11-27T12:31:25.938Z] STF 07:31:25.671 - | MainClass: null
[2024-11-27T12:31:25.938Z] STF 07:31:25.671 - | HashModules: null
[2024-11-27T12:31:25.938Z] STF 07:31:25.671 - |
[2024-11-27T12:31:25.938Z] STF 07:31:25.671 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17327082053310/PatModImg_AppMod_0/20241127-073124-PatModImgTest/modules/3.com.helper.jar -C /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper .
[2024-11-27T12:31:25.938Z] STF 07:31:25.671 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17327082053310/PatModImg_AppMod_0/20241127-073124-PatModImgTest/results/3.CMJ.stderr
[2024-11-27T12:31:25.938Z] STF 07:31:25.671 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17327082053310/PatModImg_AppMod_0/20241127-073124-PatModImgTest/results/3.CMJ.stdout
[2024-11-27T12:31:25.938Z] STF 07:31:25.672 - Monitoring processes: CMJ
[2024-11-27T12:31:25.938Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-11-27T12:31:25.938Z] STF 07:31:25.772 - Monitoring Report Summary:
[2024-11-27T12:31:25.938Z] STF 07:31:25.772 - o Process CMJ ended with the expected exit code (0)
[2024-11-27T12:31:25.938Z] STF 07:31:25.772 - Created modular jar: 3.com.helper.jar
[2024-11-27T12:31:25.938Z] STF 07:31:25.772 -
[2024-11-27T12:31:25.938Z] STF 07:31:25.772 - +------ Step 4 - Create com.discreet jar
[2024-11-27T12:31:25.938Z] STF 07:31:25.772 - | Create modular jar
[2024-11-27T12:31:25.938Z] STF 07:31:25.772 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet
[2024-11-27T12:31:25.938Z] STF 07:31:25.772 - | ModuleVersion: null
[2024-11-27T12:31:25.938Z] STF 07:31:25.772 - | MainClass: null
[2024-11-27T12:31:25.938Z] STF 07:31:25.772 - | HashModules: null
[2024-11-27T12:31:25.938Z] STF 07:31:25.772 - |
[2024-11-27T12:31:25.938Z] STF 07:31:25.772 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17327082053310/PatModImg_AppMod_0/20241127-073124-PatModImgTest/modules/4.com.discreet.jar -C /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet .
[2024-11-27T12:31:25.938Z] STF 07:31:25.772 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17327082053310/PatModImg_AppMod_0/20241127-073124-PatModImgTest/results/4.CMJ.stderr
[2024-11-27T12:31:25.939Z] STF 07:31:25.772 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17327082053310/PatModImg_AppMod_0/20241127-073124-PatModImgTest/results/4.CMJ.stdout
[2024-11-27T12:31:25.939Z] STF 07:31:25.773 - Monitoring processes: CMJ
[2024-11-27T12:31:25.939Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-11-27T12:31:26.306Z] STF 07:31:25.891 - Monitoring Report Summary:
[2024-11-27T12:31:26.306Z] STF 07:31:25.891 - o Process CMJ ended with the expected exit code (0)
[2024-11-27T12:31:26.306Z] STF 07:31:25.891 - Created modular jar: 4.com.discreet.jar
[2024-11-27T12:31:26.306Z] STF 07:31:25.891 -
[2024-11-27T12:31:26.306Z] STF 07:31:25.891 - +------ Step 5 - Create tests jar
[2024-11-27T12:31:26.306Z] STF 07:31:25.891 - | Create modular jar
[2024-11-27T12:31:26.306Z] STF 07:31:25.891 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test
[2024-11-27T12:31:26.306Z] STF 07:31:25.891 - | ModuleVersion: null
[2024-11-27T12:31:26.306Z] STF 07:31:25.891 - | MainClass: null
[2024-11-27T12:31:26.306Z] STF 07:31:25.891 - | HashModules: null
[2024-11-27T12:31:26.306Z] STF 07:31:25.891 - |
[2024-11-27T12:31:26.306Z] STF 07:31:25.891 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17327082053310/PatModImg_AppMod_0/20241127-073124-PatModImgTest/modules/5.com.test.jar -C /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test .
[2024-11-27T12:31:26.306Z] STF 07:31:25.891 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17327082053310/PatModImg_AppMod_0/20241127-073124-PatModImgTest/results/5.CMJ.stderr
[2024-11-27T12:31:26.306Z] STF 07:31:25.891 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17327082053310/PatModImg_AppMod_0/20241127-073124-PatModImgTest/results/5.CMJ.stdout
[2024-11-27T12:31:26.306Z] STF 07:31:25.892 - Monitoring processes: CMJ
[2024-11-27T12:31:26.306Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-11-27T12:31:26.306Z] STF 07:31:26.001 - Monitoring Report Summary:
[2024-11-27T12:31:26.306Z] STF 07:31:26.001 - o Process CMJ ended with the expected exit code (0)
[2024-11-27T12:31:26.306Z] STF 07:31:26.001 - Created modular jar: 5.com.test.jar
[2024-11-27T12:31:26.306Z] STF 07:31:26.001 -
[2024-11-27T12:31:26.306Z] STF 07:31:26.001 - +------ Step 6 - Create runtime image for PatchModule test
[2024-11-27T12:31:26.306Z] STF 07:31:26.001 - | Run jlink to create runtime image
[2024-11-27T12:31:26.306Z] STF 07:31:26.001 - | ImageName: XpJVM
[2024-11-27T12:31:26.306Z] STF 07:31:26.001 - |
[2024-11-27T12:31:26.306Z] STF 07:31:26.001 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jlink --module-path /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/jmods:/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17327082053310/PatModImg_AppMod_0/20241127-073124-PatModImgTest/modules --add-modules com.hello,com.hola,com.test,com.helper,com.discreet --output /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17327082053310/PatModImg_AppMod_0/20241127-073124-PatModImgTest/tmp/6.XpJVM
[2024-11-27T12:31:26.306Z] STF 07:31:26.001 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17327082053310/PatModImg_AppMod_0/20241127-073124-PatModImgTest/results/6.JLNK.stderr
[2024-11-27T12:31:26.306Z] STF 07:31:26.001 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17327082053310/PatModImg_AppMod_0/20241127-073124-PatModImgTest/results/6.JLNK.stdout
[2024-11-27T12:31:26.306Z] STF 07:31:26.002 - Monitoring processes: JLNK
[2024-11-27T12:31:26.306Z] JLNK stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-11-27T12:31:27.074Z] STF 07:31:26.830 - Monitoring Report Summary:
[2024-11-27T12:31:27.074Z] STF 07:31:26.830 - o Process JLNK ended with the expected exit code (0)
[2024-11-27T12:31:27.074Z] STF 07:31:26.830 -
[2024-11-27T12:31:27.074Z] STF 07:31:26.830 - +------ Step 7 - Create com.hello jar
[2024-11-27T12:31:27.074Z] STF 07:31:26.830 - | Create modular jar
[2024-11-27T12:31:27.074Z] STF 07:31:26.830 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello
[2024-11-27T12:31:27.074Z] STF 07:31:26.830 - | ModuleVersion: null
[2024-11-27T12:31:27.074Z] STF 07:31:26.830 - | MainClass: null
[2024-11-27T12:31:27.074Z] STF 07:31:26.830 - | HashModules: null
[2024-11-27T12:31:27.074Z] STF 07:31:26.830 - |
[2024-11-27T12:31:27.074Z] STF 07:31:26.830 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17327082053310/PatModImg_AppMod_0/20241127-073124-PatModImgTest/modules/7.com.hello.jar -C /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello .
[2024-11-27T12:31:27.074Z] STF 07:31:26.830 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17327082053310/PatModImg_AppMod_0/20241127-073124-PatModImgTest/results/7.CMJ.stderr
[2024-11-27T12:31:27.074Z] STF 07:31:26.830 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17327082053310/PatModImg_AppMod_0/20241127-073124-PatModImgTest/results/7.CMJ.stdout
[2024-11-27T12:31:27.074Z] STF 07:31:26.832 - Monitoring processes: CMJ
[2024-11-27T12:31:27.074Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-11-27T12:31:27.074Z] STF 07:31:26.953 - Monitoring Report Summary:
[2024-11-27T12:31:27.074Z] STF 07:31:26.953 - o Process CMJ ended with the expected exit code (0)
[2024-11-27T12:31:27.074Z] STF 07:31:26.953 - Created modular jar: 7.com.hello.jar
[2024-11-27T12:31:27.074Z] STF 07:31:26.953 -
[2024-11-27T12:31:27.074Z] STF 07:31:26.953 - +------ Step 8 - create java.xml.jar
[2024-11-27T12:31:27.074Z] STF 07:31:26.953 - | Create modular jar
[2024-11-27T12:31:27.074Z] STF 07:31:26.953 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml
[2024-11-27T12:31:27.074Z] STF 07:31:26.953 - | ModuleVersion: null
[2024-11-27T12:31:27.074Z] STF 07:31:26.953 - | MainClass: null
[2024-11-27T12:31:27.074Z] STF 07:31:26.953 - | HashModules: null
[2024-11-27T12:31:27.074Z] STF 07:31:26.953 - |
[2024-11-27T12:31:27.074Z] STF 07:31:26.953 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17327082053310/PatModImg_AppMod_0/20241127-073124-PatModImgTest/modules/8.java.xml.jar -C /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/java.xml .
[2024-11-27T12:31:27.074Z] STF 07:31:26.953 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17327082053310/PatModImg_AppMod_0/20241127-073124-PatModImgTest/results/8.CMJ.stderr
[2024-11-27T12:31:27.074Z] STF 07:31:26.953 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17327082053310/PatModImg_AppMod_0/20241127-073124-PatModImgTest/results/8.CMJ.stdout
[2024-11-27T12:31:27.074Z] STF 07:31:26.954 - Monitoring processes: CMJ
[2024-11-27T12:31:27.074Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-11-27T12:31:27.433Z] STF 07:31:27.072 - Monitoring Report Summary:
[2024-11-27T12:31:27.433Z] STF 07:31:27.072 - o Process CMJ ended with the expected exit code (0)
[2024-11-27T12:31:27.433Z] STF 07:31:27.072 - Created modular jar: 8.java.xml.jar
[2024-11-27T12:31:27.433Z] STF 07:31:27.072 -
[2024-11-27T12:31:27.433Z] STF 07:31:27.072 - +------ Step 9 - Verify if we can patch an Application module using exploded directory
[2024-11-27T12:31:27.433Z] STF 07:31:27.072 - | Run foreground process
[2024-11-27T12:31:27.433Z] STF 07:31:27.072 - | Program: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17327082053310/PatModImg_AppMod_0/20241127-073124-PatModImgTest/tmp/6.XpJVM/bin/java
[2024-11-27T12:31:27.433Z] STF 07:31:27.072 - | Mnemonic: OT21
[2024-11-27T12:31:27.433Z] STF 07:31:27.072 - | Echo: ECHO_ON
[2024-11-27T12:31:27.433Z] STF 07:31:27.072 - | Expectation: CLEAN_RUN within 5m
[2024-11-27T12:31:27.433Z] STF 07:31:27.072 - |
[2024-11-27T12:31:27.433Z] STF 07:31:27.072 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17327082053310/PatModImg_AppMod_0/20241127-073124-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module com.hello=/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello -XX:+UseCompressedOops -classpath /Users/admin/workspace/testDependency/system_lib/junit/junit.jar:/Users/admin/workspace/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingAppModule
[2024-11-27T12:31:27.433Z] STF 07:31:27.072 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17327082053310/PatModImg_AppMod_0/20241127-073124-PatModImgTest/results/9.OT21.stderr
[2024-11-27T12:31:27.433Z] STF 07:31:27.072 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17327082053310/PatModImg_AppMod_0/20241127-073124-PatModImgTest/results/9.OT21.stdout
[2024-11-27T12:31:27.433Z] STF 07:31:27.073 - Monitoring processes: OT21
[2024-11-27T12:31:27.800Z] OT21 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-11-27T12:31:28.565Z] OT21 stderr WARNING: module-info.class ignored in patch: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello
[2024-11-27T12:31:28.925Z] OT21 JUnit version 4.12
[2024-11-27T12:31:28.925Z] OT21 .
[2024-11-27T12:31:28.925Z] OT21 Time: 0.005
[2024-11-27T12:31:28.925Z] OT21
[2024-11-27T12:31:28.925Z] OT21 OK (1 test)
[2024-11-27T12:31:28.925Z] OT21
[2024-11-27T12:31:28.925Z] STF 07:31:28.648 - Monitoring Report Summary:
[2024-11-27T12:31:28.925Z] STF 07:31:28.648 - o Process OT21 ended with the expected exit code (0)
[2024-11-27T12:31:28.925Z] STF 07:31:28.649 -
[2024-11-27T12:31:28.925Z] STF 07:31:28.649 - +------ Step 10 - Verify if we can patch an Application module using modular jar
[2024-11-27T12:31:28.925Z] STF 07:31:28.649 - | Run foreground process
[2024-11-27T12:31:28.925Z] STF 07:31:28.649 - | Program: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17327082053310/PatModImg_AppMod_0/20241127-073124-PatModImgTest/tmp/6.XpJVM/bin/java
[2024-11-27T12:31:28.925Z] STF 07:31:28.649 - | Mnemonic: OT22
[2024-11-27T12:31:28.925Z] STF 07:31:28.649 - | Echo: ECHO_ON
[2024-11-27T12:31:28.925Z] STF 07:31:28.649 - | Expectation: CLEAN_RUN within 5m
[2024-11-27T12:31:28.925Z] STF 07:31:28.649 - |
[2024-11-27T12:31:28.925Z] STF 07:31:28.649 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17327082053310/PatModImg_AppMod_0/20241127-073124-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module com.hello=/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17327082053310/PatModImg_AppMod_0/20241127-073124-PatModImgTest/modules/7.com.hello.jar -XX:+UseCompressedOops -classpath /Users/admin/workspace/testDependency/system_lib/junit/junit.jar:/Users/admin/workspace/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingAppModule
[2024-11-27T12:31:28.925Z] STF 07:31:28.649 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17327082053310/PatModImg_AppMod_0/20241127-073124-PatModImgTest/results/10.OT22.stderr
[2024-11-27T12:31:28.925Z] STF 07:31:28.649 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17327082053310/PatModImg_AppMod_0/20241127-073124-PatModImgTest/results/10.OT22.stdout
[2024-11-27T12:31:28.925Z] STF 07:31:28.650 - Monitoring processes: OT22
[2024-11-27T12:31:28.926Z] OT22 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-11-27T12:31:28.926Z] OT22 stderr WARNING: module-info.class ignored in patch: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17327082053310/PatModImg_AppMod_0/20241127-073124-PatModImgTest/modules/7.com.hello.jar
[2024-11-27T12:31:28.926Z] OT22 JUnit version 4.12
[2024-11-27T12:31:28.926Z] OT22 .
[2024-11-27T12:31:28.926Z] OT22 Time: 0.002
[2024-11-27T12:31:28.926Z] OT22
[2024-11-27T12:31:28.926Z] OT22 OK (1 test)
[2024-11-27T12:31:28.926Z] OT22
[2024-11-27T12:31:28.926Z] STF 07:31:28.770 - Monitoring Report Summary:
[2024-11-27T12:31:28.926Z] STF 07:31:28.770 - o Process OT22 ended with the expected exit code (0)
[2024-11-27T12:31:28.926Z] STF 07:31:28.770 - EXECUTE stage completed
[2024-11-27T12:31:28.926Z] STF 07:31:28.795 -
[2024-11-27T12:31:28.926Z] STF 07:31:28.795 - ==================== T E A R D O W N ====================
[2024-11-27T12:31:28.926Z] STF 07:31:28.795 - Running teardown: perl /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17327082053310/PatModImg_AppMod_0/20241127-073124-PatModImgTest/tearDown.pl
[2024-11-27T12:31:28.926Z] STF 07:31:28.822 - TEARDOWN stage completed
[2024-11-27T12:31:28.926Z] STF 07:31:28.831 -
[2024-11-27T12:31:28.926Z] STF 07:31:28.831 - ===================== R E S U L T S =====================
[2024-11-27T12:31:28.926Z] STF 07:31:28.831 - Stage results:
[2024-11-27T12:31:28.926Z] STF 07:31:28.831 - setUp: pass
[2024-11-27T12:31:28.926Z] STF 07:31:28.831 - execute: pass
[2024-11-27T12:31:28.926Z] STF 07:31:28.831 - teardown: pass
[2024-11-27T12:31:28.926Z] STF 07:31:28.831 -
[2024-11-27T12:31:28.926Z] STF 07:31:28.831 - Overall result: PASSED
[2024-11-27T12:31:28.926Z] -----------------------------------
[2024-11-27T12:31:28.926Z] PatModImg_AppMod_0_PASSED
[2024-11-27T12:31:28.926Z] -----------------------------------
[2024-11-27T12:31:28.926Z]
[2024-11-27T12:31:28.926Z] TEST TEARDOWN:
[2024-11-27T12:31:28.926Z] Nothing to be done for teardown.
[2024-11-27T12:31:28.926Z] PatModImg_AppMod_0 Finish Time: Wed Nov 27 07:31:28 2024 Epoch Time (ms): 1732710688848