PatModImg_AppMod_1
[2024-06-26T21:10:30.710Z] Running test PatModImg_AppMod_1 ...
[2024-06-26T21:10:30.710Z] ===============================================
[2024-06-26T21:10:30.710Z] PatModImg_AppMod_1 Start Time: Wed Jun 26 17:10:30 2024 Epoch Time (ms): 1719436230607
[2024-06-26T21:10:30.710Z] variation: Mode650
[2024-06-26T21:10:30.710Z] JVM_OPTIONS: -XX:-UseCompressedOops
[2024-06-26T21:10:30.710Z] { \
[2024-06-26T21:10:30.710Z] echo ""; echo "TEST SETUP:"; \
[2024-06-26T21:10:30.710Z] echo "Nothing to be done for setup."; \
[2024-06-26T21:10:30.710Z] mkdir -p "/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17194337551/PatModImg_AppMod_1"; \
[2024-06-26T21:10:30.710Z] cd "/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17194337551/PatModImg_AppMod_1"; \
[2024-06-26T21:10:30.710Z] echo ""; echo "TESTING:"; \
[2024-06-26T21:10:30.710Z] perl /Users/admin/workspace/workspace/Test_openjdk17_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_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF;/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../../jvmtest/system/modularity/..//aqa-systemtest""" -systemtest-prereqs="/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../../jvmtest/system/modularity/..//systemtest_prereqs" -java-args=' -XX:-UseCompressedOops ' -results-root="/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17194337551/PatModImg_AppMod_1" -test=PatModImgTest -test-args="variant=AppMod"; \
[2024-06-26T21:10:30.710Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatModImg_AppMod_1""_PASSED"; echo "-----------------------------------"; cd /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/..; rm -f -r "/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17194337551/PatModImg_AppMod_1"; else echo "-----------------------------------"; echo "PatModImg_AppMod_1""_FAILED"; echo "-----------------------------------"; fi; \
[2024-06-26T21:10:30.710Z] echo ""; echo "TEST TEARDOWN:"; \
[2024-06-26T21:10:30.710Z] echo "Nothing to be done for teardown."; \
[2024-06-26T21:10:30.710Z] } 2>&1 | tee -a "/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17194337551/TestTargetResult";
[2024-06-26T21:10:30.710Z]
[2024-06-26T21:10:30.710Z] TEST SETUP:
[2024-06-26T21:10:30.710Z] Nothing to be done for setup.
[2024-06-26T21:10:30.710Z]
[2024-06-26T21:10:30.710Z] TESTING:
[2024-06-26T21:10:30.710Z] STF 17:10:30.642 - ========================= S T F =========================
[2024-06-26T21:10:30.710Z] systemtest-prereqs has been processed, and set to: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/systemtest_prereqsRetrieving amount of free space on drive containing /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17194337551/PatModImg_AppMod_1
[2024-06-26T21:10:30.710Z] There is 28502 Mb free
[2024-06-26T21:10:30.710Z] STF 17:10:30.645 - ================== G E N E R A T I O N ==================
[2024-06-26T21:10:30.710Z] STF 17:10:30.645 - Checking JVM: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/../
[2024-06-26T21:10:30.710Z] STF 17:10:30.645 - Starting process to generate scripts: /Users/admin/workspace/workspace/Test_openjdk17_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_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../../jvmtest/system/modularity/..//systemtest_prereqs/log4j/log4j-api.jar:/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../../jvmtest/system/modularity/..//systemtest_prereqs/log4j/log4j-core.jar:/Users/admin/workspace/workspace/Test_openjdk17_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_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17194337551/PatModImg_AppMod_1/20240626-171030-PatModImgTest/stf_parameters.properties, , /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17194337551/PatModImg_AppMod_1/20240626-171030-PatModImgTest"
[2024-06-26T21:10:31.061Z] GEN 17:10:30.925 - Found test. Project: 'openjdk.test.modularity' class: 'PatModImgTest.class' Dir: '/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin'
[2024-06-26T21:10:31.061Z] GEN 17:10:30.931 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModImgTest'
[2024-06-26T21:10:31.061Z] GEN Classpath directories used by project 'openjdk.test.modularity':
[2024-06-26T21:10:31.061Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayService
[2024-06-26T21:10:31.061Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper
[2024-06-26T21:10:31.061Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl1
[2024-06-26T21:10:31.061Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet
[2024-06-26T21:10:31.061Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello
[2024-06-26T21:10:31.062Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola
[2024-06-26T21:10:31.062Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl2
[2024-06-26T21:10:31.062Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hi
[2024-06-26T21:10:31.062Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override
[2024-06-26T21:10:31.062Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override-new
[2024-06-26T21:10:31.062Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl3
[2024-06-26T21:10:31.062Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl4
[2024-06-26T21:10:31.062Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common
[2024-06-26T21:10:31.062Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests
[2024-06-26T21:10:31.062Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin
[2024-06-26T21:10:31.062Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/STF/stf.core/bin
[2024-06-26T21:10:31.062Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/systemtest_prereqs/log4j/log4j-api.jar
[2024-06-26T21:10:31.062Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/systemtest_prereqs/log4j/log4j-core.jar
[2024-06-26T21:10:31.062Z] GEN /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/systemtest_prereqs/junit/junit.jar
[2024-06-26T21:10:31.062Z] GEN 17:10:30.997 - Using Mode NoOptions. Values = ''
[2024-06-26T21:10:31.062Z] GEN 17:10:31.021 -
[2024-06-26T21:10:31.062Z] GEN 17:10:31.021 - Test command summary:
[2024-06-26T21:10:31.062Z] GEN 17:10:31.022 - Step Stage Command Description
[2024-06-26T21:10:31.062Z] GEN 17:10:31.022 - -----+--------+-----------------+------------
[2024-06-26T21:10:31.062Z] GEN 17:10:31.022 - 1 execute jar Create com.hello jar
[2024-06-26T21:10:31.062Z] GEN 17:10:31.022 - 2 execute jar Create com.hola jar
[2024-06-26T21:10:31.062Z] GEN 17:10:31.022 - 3 execute jar Create com.helper jar
[2024-06-26T21:10:31.062Z] GEN 17:10:31.022 - 4 execute jar Create com.discreet jar
[2024-06-26T21:10:31.062Z] GEN 17:10:31.022 - 5 execute jar Create tests jar
[2024-06-26T21:10:31.062Z] GEN 17:10:31.022 - 6 execute jlink Create runtime image for PatchModule test
[2024-06-26T21:10:31.062Z] GEN 17:10:31.022 - 7 execute jar Create com.hello jar
[2024-06-26T21:10:31.062Z] GEN 17:10:31.022 - 8 execute jar create java.xml.jar
[2024-06-26T21:10:31.062Z] GEN 17:10:31.022 - 9 execute Run java Verify if we can patch an Application module using exploded directory
[2024-06-26T21:10:31.062Z] GEN 17:10:31.022 - 10 execute Run java Verify if we can patch an Application module using modular jar
[2024-06-26T21:10:31.410Z] STF 17:10:31.053 -
[2024-06-26T21:10:31.410Z] STF 17:10:31.053 - Script generation completed
[2024-06-26T21:10:31.410Z] STF 17:10:31.053 -
[2024-06-26T21:10:31.410Z] STF 17:10:31.053 -
[2024-06-26T21:10:31.410Z] STF 17:10:31.053 - ======================= S E T U P =======================
[2024-06-26T21:10:31.410Z] STF 17:10:31.053 - Running setup: perl /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17194337551/PatModImg_AppMod_1/20240626-171030-PatModImgTest/setUp.pl
[2024-06-26T21:10:31.410Z] STF 17:10:31.079 - SETUP stage completed
[2024-06-26T21:10:31.410Z] STF 17:10:31.086 -
[2024-06-26T21:10:31.410Z] STF 17:10:31.086 - ==================== E X E C U T E - ====================
[2024-06-26T21:10:31.410Z] STF 17:10:31.086 - Running execute: perl /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17194337551/PatModImg_AppMod_1/20240626-171030-PatModImgTest/execute.pl
[2024-06-26T21:10:31.410Z] STF 17:10:31.111 -
[2024-06-26T21:10:31.410Z] STF 17:10:31.111 - Java version
[2024-06-26T21:10:31.410Z] STF 17:10:31.111 - Running: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/java -version
[2024-06-26T21:10:31.410Z] STF 17:10:31.145 -
[2024-06-26T21:10:31.410Z] STF 17:10:31.145 - +------ Step 1 - Create com.hello jar
[2024-06-26T21:10:31.410Z] STF 17:10:31.145 - | Create modular jar
[2024-06-26T21:10:31.410Z] STF 17:10:31.145 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello
[2024-06-26T21:10:31.410Z] STF 17:10:31.145 - | ModuleVersion: null
[2024-06-26T21:10:31.410Z] STF 17:10:31.145 - | MainClass: null
[2024-06-26T21:10:31.410Z] STF 17:10:31.145 - | HashModules: null
[2024-06-26T21:10:31.410Z] STF 17:10:31.145 - |
[2024-06-26T21:10:31.410Z] STF 17:10:31.145 - Running command: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17194337551/PatModImg_AppMod_1/20240626-171030-PatModImgTest/modules/1.com.hello.jar -C /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello .
[2024-06-26T21:10:31.410Z] STF 17:10:31.145 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17194337551/PatModImg_AppMod_1/20240626-171030-PatModImgTest/results/1.CMJ.stderr
[2024-06-26T21:10:31.410Z] STF 17:10:31.145 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17194337551/PatModImg_AppMod_1/20240626-171030-PatModImgTest/results/1.CMJ.stdout
[2024-06-26T21:10:31.410Z] openjdk version "17.0.12-beta" 2024-07-16
[2024-06-26T21:10:31.410Z] OpenJDK Runtime Environment Temurin-17.0.12+6-202406261936 (build 17.0.12-beta+6-ea)
[2024-06-26T21:10:31.410Z] OpenJDK 64-Bit Server VM Temurin-17.0.12+6-202406261936 (build 17.0.12-beta+6-ea, mixed mode)
[2024-06-26T21:10:31.410Z] STF 17:10:31.149 - Monitoring processes: CMJ
[2024-06-26T21:10:31.410Z] STF 17:10:31.235 - Monitoring Report Summary:
[2024-06-26T21:10:31.410Z] STF 17:10:31.235 - o Process CMJ ended with the expected exit code (0)
[2024-06-26T21:10:31.410Z] STF 17:10:31.235 - Created modular jar: 1.com.hello.jar
[2024-06-26T21:10:31.410Z] STF 17:10:31.235 -
[2024-06-26T21:10:31.410Z] STF 17:10:31.235 - +------ Step 2 - Create com.hola jar
[2024-06-26T21:10:31.410Z] STF 17:10:31.235 - | Create modular jar
[2024-06-26T21:10:31.410Z] STF 17:10:31.235 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola
[2024-06-26T21:10:31.410Z] STF 17:10:31.235 - | ModuleVersion: null
[2024-06-26T21:10:31.410Z] STF 17:10:31.235 - | MainClass: null
[2024-06-26T21:10:31.410Z] STF 17:10:31.235 - | HashModules: null
[2024-06-26T21:10:31.410Z] STF 17:10:31.235 - |
[2024-06-26T21:10:31.410Z] STF 17:10:31.235 - Running command: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17194337551/PatModImg_AppMod_1/20240626-171030-PatModImgTest/modules/2.com.hola.jar -C /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola .
[2024-06-26T21:10:31.410Z] STF 17:10:31.235 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17194337551/PatModImg_AppMod_1/20240626-171030-PatModImgTest/results/2.CMJ.stderr
[2024-06-26T21:10:31.410Z] STF 17:10:31.235 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17194337551/PatModImg_AppMod_1/20240626-171030-PatModImgTest/results/2.CMJ.stdout
[2024-06-26T21:10:31.410Z] STF 17:10:31.236 - Monitoring processes: CMJ
[2024-06-26T21:10:31.410Z] STF 17:10:31.322 - Monitoring Report Summary:
[2024-06-26T21:10:31.410Z] STF 17:10:31.322 - o Process CMJ ended with the expected exit code (0)
[2024-06-26T21:10:31.410Z] STF 17:10:31.322 - Created modular jar: 2.com.hola.jar
[2024-06-26T21:10:31.410Z] STF 17:10:31.322 -
[2024-06-26T21:10:31.410Z] STF 17:10:31.322 - +------ Step 3 - Create com.helper jar
[2024-06-26T21:10:31.410Z] STF 17:10:31.322 - | Create modular jar
[2024-06-26T21:10:31.410Z] STF 17:10:31.322 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper
[2024-06-26T21:10:31.410Z] STF 17:10:31.322 - | ModuleVersion: null
[2024-06-26T21:10:31.410Z] STF 17:10:31.322 - | MainClass: null
[2024-06-26T21:10:31.410Z] STF 17:10:31.322 - | HashModules: null
[2024-06-26T21:10:31.410Z] STF 17:10:31.322 - |
[2024-06-26T21:10:31.410Z] STF 17:10:31.322 - Running command: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17194337551/PatModImg_AppMod_1/20240626-171030-PatModImgTest/modules/3.com.helper.jar -C /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper .
[2024-06-26T21:10:31.410Z] STF 17:10:31.322 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17194337551/PatModImg_AppMod_1/20240626-171030-PatModImgTest/results/3.CMJ.stderr
[2024-06-26T21:10:31.410Z] STF 17:10:31.322 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17194337551/PatModImg_AppMod_1/20240626-171030-PatModImgTest/results/3.CMJ.stdout
[2024-06-26T21:10:31.410Z] STF 17:10:31.323 - Monitoring processes: CMJ
[2024-06-26T21:10:31.759Z] STF 17:10:31.433 - Monitoring Report Summary:
[2024-06-26T21:10:31.760Z] STF 17:10:31.433 - o Process CMJ ended with the expected exit code (0)
[2024-06-26T21:10:31.760Z] STF 17:10:31.433 - Created modular jar: 3.com.helper.jar
[2024-06-26T21:10:31.760Z] STF 17:10:31.433 -
[2024-06-26T21:10:31.760Z] STF 17:10:31.433 - +------ Step 4 - Create com.discreet jar
[2024-06-26T21:10:31.760Z] STF 17:10:31.433 - | Create modular jar
[2024-06-26T21:10:31.760Z] STF 17:10:31.433 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet
[2024-06-26T21:10:31.760Z] STF 17:10:31.433 - | ModuleVersion: null
[2024-06-26T21:10:31.760Z] STF 17:10:31.433 - | MainClass: null
[2024-06-26T21:10:31.760Z] STF 17:10:31.433 - | HashModules: null
[2024-06-26T21:10:31.760Z] STF 17:10:31.433 - |
[2024-06-26T21:10:31.760Z] STF 17:10:31.433 - Running command: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17194337551/PatModImg_AppMod_1/20240626-171030-PatModImgTest/modules/4.com.discreet.jar -C /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet .
[2024-06-26T21:10:31.760Z] STF 17:10:31.433 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17194337551/PatModImg_AppMod_1/20240626-171030-PatModImgTest/results/4.CMJ.stderr
[2024-06-26T21:10:31.760Z] STF 17:10:31.433 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17194337551/PatModImg_AppMod_1/20240626-171030-PatModImgTest/results/4.CMJ.stdout
[2024-06-26T21:10:31.760Z] STF 17:10:31.434 - Monitoring processes: CMJ
[2024-06-26T21:10:31.760Z] STF 17:10:31.519 - Monitoring Report Summary:
[2024-06-26T21:10:31.760Z] STF 17:10:31.519 - o Process CMJ ended with the expected exit code (0)
[2024-06-26T21:10:31.760Z] STF 17:10:31.519 - Created modular jar: 4.com.discreet.jar
[2024-06-26T21:10:31.760Z] STF 17:10:31.519 -
[2024-06-26T21:10:31.760Z] STF 17:10:31.519 - +------ Step 5 - Create tests jar
[2024-06-26T21:10:31.760Z] STF 17:10:31.519 - | Create modular jar
[2024-06-26T21:10:31.760Z] STF 17:10:31.519 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test
[2024-06-26T21:10:31.760Z] STF 17:10:31.519 - | ModuleVersion: null
[2024-06-26T21:10:31.760Z] STF 17:10:31.519 - | MainClass: null
[2024-06-26T21:10:31.760Z] STF 17:10:31.519 - | HashModules: null
[2024-06-26T21:10:31.760Z] STF 17:10:31.519 - |
[2024-06-26T21:10:31.760Z] STF 17:10:31.520 - Running command: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17194337551/PatModImg_AppMod_1/20240626-171030-PatModImgTest/modules/5.com.test.jar -C /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test .
[2024-06-26T21:10:31.760Z] STF 17:10:31.520 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17194337551/PatModImg_AppMod_1/20240626-171030-PatModImgTest/results/5.CMJ.stderr
[2024-06-26T21:10:31.760Z] STF 17:10:31.520 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17194337551/PatModImg_AppMod_1/20240626-171030-PatModImgTest/results/5.CMJ.stdout
[2024-06-26T21:10:31.760Z] STF 17:10:31.521 - Monitoring processes: CMJ
[2024-06-26T21:10:31.760Z] STF 17:10:31.613 - Monitoring Report Summary:
[2024-06-26T21:10:31.760Z] STF 17:10:31.613 - o Process CMJ ended with the expected exit code (0)
[2024-06-26T21:10:31.760Z] STF 17:10:31.613 - Created modular jar: 5.com.test.jar
[2024-06-26T21:10:31.760Z] STF 17:10:31.613 -
[2024-06-26T21:10:31.760Z] STF 17:10:31.613 - +------ Step 6 - Create runtime image for PatchModule test
[2024-06-26T21:10:31.760Z] STF 17:10:31.613 - | Run jlink to create runtime image
[2024-06-26T21:10:31.760Z] STF 17:10:31.613 - | ImageName: XpJVM
[2024-06-26T21:10:31.760Z] STF 17:10:31.613 - |
[2024-06-26T21:10:31.760Z] STF 17:10:31.613 - Running command: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jlink --module-path /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/jmods:/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17194337551/PatModImg_AppMod_1/20240626-171030-PatModImgTest/modules --add-modules com.hello,com.hola,com.test,com.helper,com.discreet --output /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17194337551/PatModImg_AppMod_1/20240626-171030-PatModImgTest/tmp/6.XpJVM
[2024-06-26T21:10:31.760Z] STF 17:10:31.613 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17194337551/PatModImg_AppMod_1/20240626-171030-PatModImgTest/results/6.JLNK.stderr
[2024-06-26T21:10:31.760Z] STF 17:10:31.613 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17194337551/PatModImg_AppMod_1/20240626-171030-PatModImgTest/results/6.JLNK.stdout
[2024-06-26T21:10:31.760Z] STF 17:10:31.614 - Monitoring processes: JLNK
[2024-06-26T21:10:32.509Z] STF 17:10:32.444 - Monitoring Report Summary:
[2024-06-26T21:10:32.509Z] STF 17:10:32.444 - o Process JLNK ended with the expected exit code (0)
[2024-06-26T21:10:32.509Z] STF 17:10:32.444 -
[2024-06-26T21:10:32.509Z] STF 17:10:32.444 - +------ Step 7 - Create com.hello jar
[2024-06-26T21:10:32.509Z] STF 17:10:32.444 - | Create modular jar
[2024-06-26T21:10:32.509Z] STF 17:10:32.444 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello
[2024-06-26T21:10:32.509Z] STF 17:10:32.444 - | ModuleVersion: null
[2024-06-26T21:10:32.509Z] STF 17:10:32.444 - | MainClass: null
[2024-06-26T21:10:32.509Z] STF 17:10:32.444 - | HashModules: null
[2024-06-26T21:10:32.509Z] STF 17:10:32.444 - |
[2024-06-26T21:10:32.509Z] STF 17:10:32.444 - Running command: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17194337551/PatModImg_AppMod_1/20240626-171030-PatModImgTest/modules/7.com.hello.jar -C /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello .
[2024-06-26T21:10:32.509Z] STF 17:10:32.445 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17194337551/PatModImg_AppMod_1/20240626-171030-PatModImgTest/results/7.CMJ.stderr
[2024-06-26T21:10:32.509Z] STF 17:10:32.445 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17194337551/PatModImg_AppMod_1/20240626-171030-PatModImgTest/results/7.CMJ.stdout
[2024-06-26T21:10:32.510Z] STF 17:10:32.447 - Monitoring processes: CMJ
[2024-06-26T21:10:32.857Z] STF 17:10:32.542 - Monitoring Report Summary:
[2024-06-26T21:10:32.857Z] STF 17:10:32.542 - o Process CMJ ended with the expected exit code (0)
[2024-06-26T21:10:32.857Z] STF 17:10:32.542 - Created modular jar: 7.com.hello.jar
[2024-06-26T21:10:32.857Z] STF 17:10:32.542 -
[2024-06-26T21:10:32.857Z] STF 17:10:32.542 - +------ Step 8 - create java.xml.jar
[2024-06-26T21:10:32.857Z] STF 17:10:32.542 - | Create modular jar
[2024-06-26T21:10:32.857Z] STF 17:10:32.542 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml
[2024-06-26T21:10:32.857Z] STF 17:10:32.542 - | ModuleVersion: null
[2024-06-26T21:10:32.857Z] STF 17:10:32.542 - | MainClass: null
[2024-06-26T21:10:32.857Z] STF 17:10:32.542 - | HashModules: null
[2024-06-26T21:10:32.857Z] STF 17:10:32.542 - |
[2024-06-26T21:10:32.858Z] STF 17:10:32.542 - Running command: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17194337551/PatModImg_AppMod_1/20240626-171030-PatModImgTest/modules/8.java.xml.jar -C /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/java.xml .
[2024-06-26T21:10:32.858Z] STF 17:10:32.542 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17194337551/PatModImg_AppMod_1/20240626-171030-PatModImgTest/results/8.CMJ.stderr
[2024-06-26T21:10:32.858Z] STF 17:10:32.542 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17194337551/PatModImg_AppMod_1/20240626-171030-PatModImgTest/results/8.CMJ.stdout
[2024-06-26T21:10:32.858Z] STF 17:10:32.543 - Monitoring processes: CMJ
[2024-06-26T21:10:32.858Z] STF 17:10:32.644 - Monitoring Report Summary:
[2024-06-26T21:10:32.858Z] STF 17:10:32.644 - o Process CMJ ended with the expected exit code (0)
[2024-06-26T21:10:32.858Z] STF 17:10:32.644 - Created modular jar: 8.java.xml.jar
[2024-06-26T21:10:32.858Z] STF 17:10:32.644 -
[2024-06-26T21:10:32.858Z] STF 17:10:32.644 - +------ Step 9 - Verify if we can patch an Application module using exploded directory
[2024-06-26T21:10:32.858Z] STF 17:10:32.644 - | Run foreground process
[2024-06-26T21:10:32.858Z] STF 17:10:32.644 - | Program: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17194337551/PatModImg_AppMod_1/20240626-171030-PatModImgTest/tmp/6.XpJVM/bin/java
[2024-06-26T21:10:32.858Z] STF 17:10:32.644 - | Mnemonic: OT21
[2024-06-26T21:10:32.858Z] STF 17:10:32.644 - | Echo: ECHO_ON
[2024-06-26T21:10:32.858Z] STF 17:10:32.644 - | Expectation: CLEAN_RUN within 5m
[2024-06-26T21:10:32.858Z] STF 17:10:32.644 - |
[2024-06-26T21:10:32.858Z] STF 17:10:32.644 - Running command: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17194337551/PatModImg_AppMod_1/20240626-171030-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module com.hello=/Users/admin/workspace/workspace/Test_openjdk17_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/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/systemtest_prereqs/junit/junit.jar:/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/systemtest_prereqs/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingAppModule
[2024-06-26T21:10:32.858Z] STF 17:10:32.644 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17194337551/PatModImg_AppMod_1/20240626-171030-PatModImgTest/results/9.OT21.stderr
[2024-06-26T21:10:32.858Z] STF 17:10:32.644 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17194337551/PatModImg_AppMod_1/20240626-171030-PatModImgTest/results/9.OT21.stdout
[2024-06-26T21:10:32.858Z] STF 17:10:32.645 - Monitoring processes: OT21
[2024-06-26T21:10:34.064Z] OT21 stderr WARNING: module-info.class ignored in patch: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello
[2024-06-26T21:10:34.412Z] OT21 JUnit version 4.12
[2024-06-26T21:10:34.412Z] OT21 .
[2024-06-26T21:10:34.412Z] OT21 Time: 0.003
[2024-06-26T21:10:34.412Z] OT21
[2024-06-26T21:10:34.412Z] OT21 OK (1 test)
[2024-06-26T21:10:34.412Z] OT21
[2024-06-26T21:10:34.412Z] STF 17:10:34.164 - Monitoring Report Summary:
[2024-06-26T21:10:34.412Z] STF 17:10:34.164 - o Process OT21 ended with the expected exit code (0)
[2024-06-26T21:10:34.412Z] STF 17:10:34.164 -
[2024-06-26T21:10:34.412Z] STF 17:10:34.164 - +------ Step 10 - Verify if we can patch an Application module using modular jar
[2024-06-26T21:10:34.412Z] STF 17:10:34.164 - | Run foreground process
[2024-06-26T21:10:34.413Z] STF 17:10:34.164 - | Program: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17194337551/PatModImg_AppMod_1/20240626-171030-PatModImgTest/tmp/6.XpJVM/bin/java
[2024-06-26T21:10:34.413Z] STF 17:10:34.164 - | Mnemonic: OT22
[2024-06-26T21:10:34.413Z] STF 17:10:34.164 - | Echo: ECHO_ON
[2024-06-26T21:10:34.413Z] STF 17:10:34.164 - | Expectation: CLEAN_RUN within 5m
[2024-06-26T21:10:34.413Z] STF 17:10:34.164 - |
[2024-06-26T21:10:34.413Z] STF 17:10:34.164 - Running command: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17194337551/PatModImg_AppMod_1/20240626-171030-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module com.hello=/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17194337551/PatModImg_AppMod_1/20240626-171030-PatModImgTest/modules/7.com.hello.jar -XX:-UseCompressedOops -classpath /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/systemtest_prereqs/junit/junit.jar:/Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/systemtest_prereqs/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingAppModule
[2024-06-26T21:10:34.413Z] STF 17:10:34.164 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17194337551/PatModImg_AppMod_1/20240626-171030-PatModImgTest/results/10.OT22.stderr
[2024-06-26T21:10:34.413Z] STF 17:10:34.164 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17194337551/PatModImg_AppMod_1/20240626-171030-PatModImgTest/results/10.OT22.stdout
[2024-06-26T21:10:34.413Z] STF 17:10:34.165 - Monitoring processes: OT22
[2024-06-26T21:10:34.413Z] OT22 stderr WARNING: module-info.class ignored in patch: /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17194337551/PatModImg_AppMod_1/20240626-171030-PatModImgTest/modules/7.com.hello.jar
[2024-06-26T21:10:34.413Z] OT22 JUnit version 4.12
[2024-06-26T21:10:34.413Z] OT22 .
[2024-06-26T21:10:34.413Z] OT22 Time: 0.002
[2024-06-26T21:10:34.413Z] OT22
[2024-06-26T21:10:34.413Z] OT22 OK (1 test)
[2024-06-26T21:10:34.413Z] OT22
[2024-06-26T21:10:34.413Z] STF 17:10:34.260 - Monitoring Report Summary:
[2024-06-26T21:10:34.413Z] STF 17:10:34.260 - o Process OT22 ended with the expected exit code (0)
[2024-06-26T21:10:34.413Z] STF 17:10:34.260 - EXECUTE stage completed
[2024-06-26T21:10:34.413Z] STF 17:10:34.276 -
[2024-06-26T21:10:34.413Z] STF 17:10:34.276 - ==================== T E A R D O W N ====================
[2024-06-26T21:10:34.413Z] STF 17:10:34.276 - Running teardown: perl /Users/admin/workspace/workspace/Test_openjdk17_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17194337551/PatModImg_AppMod_1/20240626-171030-PatModImgTest/tearDown.pl
[2024-06-26T21:10:34.413Z] STF 17:10:34.301 - TEARDOWN stage completed
[2024-06-26T21:10:34.413Z] STF 17:10:34.302 -
[2024-06-26T21:10:34.413Z] STF 17:10:34.302 - ===================== R E S U L T S =====================
[2024-06-26T21:10:34.413Z] STF 17:10:34.302 - Stage results:
[2024-06-26T21:10:34.413Z] STF 17:10:34.302 - setUp: pass
[2024-06-26T21:10:34.413Z] STF 17:10:34.302 - execute: pass
[2024-06-26T21:10:34.413Z] STF 17:10:34.302 - teardown: pass
[2024-06-26T21:10:34.413Z] STF 17:10:34.302 -
[2024-06-26T21:10:34.413Z] STF 17:10:34.302 - Overall result: PASSED
[2024-06-26T21:10:34.413Z] -----------------------------------
[2024-06-26T21:10:34.413Z] PatModImg_AppMod_1_PASSED
[2024-06-26T21:10:34.413Z] -----------------------------------
[2024-06-26T21:10:34.413Z]
[2024-06-26T21:10:34.413Z] TEST TEARDOWN:
[2024-06-26T21:10:34.413Z] Nothing to be done for teardown.
[2024-06-26T21:10:34.413Z] PatModImg_AppMod_1 Finish Time: Wed Jun 26 17:10:34 2024 Epoch Time (ms): 1719436234319