PatMod_AppMod_0

[2024-08-21T23:46:40.263Z] Running test PatMod_AppMod_0 ... [2024-08-21T23:46:40.263Z] =============================================== [2024-08-21T23:46:40.263Z] PatMod_AppMod_0 Start Time: Wed Aug 21 16:46:39 2024 Epoch Time (ms): 1724283999584 [2024-08-21T23:46:40.263Z] variation: Mode150 [2024-08-21T23:46:40.263Z] JVM_OPTIONS: -XX:+UseCompressedOops [2024-08-21T23:46:40.263Z] { \ [2024-08-21T23:46:40.263Z] echo ""; echo "TEST SETUP:"; \ [2024-08-21T23:46:40.263Z] echo "Nothing to be done for setup."; \ [2024-08-21T23:46:40.263Z] mkdir -p "/Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_1724281401123/PatMod_AppMod_0"; \ [2024-08-21T23:46:40.263Z] cd "/Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_1724281401123/PatMod_AppMod_0"; \ [2024-08-21T23:46:40.263Z] echo ""; echo "TESTING:"; \ [2024-08-21T23:46:40.263Z] perl /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF/stf.core/scripts/stf.pl -test-root="/Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF;/Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../../jvmtest/system/modularity/..//aqa-systemtest""" -systemtest-prereqs="/Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/../../testDependency/system_lib/" -java-args=' -XX:+UseCompressedOops ' -results-root="/Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_1724281401123/PatMod_AppMod_0" -test=PatModTest -test-args="variant=AppMod"; \ [2024-08-21T23:46:40.264Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatMod_AppMod_0""_PASSED"; echo "-----------------------------------"; cd /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/..; rm -f -r "/Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_1724281401123/PatMod_AppMod_0"; else echo "-----------------------------------"; echo "PatMod_AppMod_0""_FAILED"; echo "-----------------------------------"; fi; \ [2024-08-21T23:46:40.264Z] echo ""; echo "TEST TEARDOWN:"; \ [2024-08-21T23:46:40.264Z] echo "Nothing to be done for teardown."; \ [2024-08-21T23:46:40.264Z] } 2>&1 | tee -a "/Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_1724281401123/TestTargetResult"; [2024-08-21T23:46:40.264Z] [2024-08-21T23:46:40.264Z] TEST SETUP: [2024-08-21T23:46:40.264Z] Nothing to be done for setup. [2024-08-21T23:46:40.264Z] [2024-08-21T23:46:40.264Z] TESTING: [2024-08-21T23:46:40.699Z] STF 16:46:39.922 - ========================= S T F ========================= [2024-08-21T23:46:40.699Z] 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_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_1724281401123/PatMod_AppMod_0 [2024-08-21T23:46:40.699Z] There is 10057 Mb free [2024-08-21T23:46:40.699Z] STF 16:46:39.935 - ================== G E N E R A T I O N ================== [2024-08-21T23:46:40.699Z] STF 16:46:39.936 - Checking JVM: /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/../ [2024-08-21T23:46:40.699Z] STF 16:46:39.937 - Starting process to generate scripts: /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_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_openjdk11_hs_sanity.system_x86-64_mac_testList_1/../../testDependency/system_lib//log4j/log4j-api.jar:/Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/../../testDependency/system_lib//log4j/log4j-core.jar:/Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "/Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_1724281401123/PatMod_AppMod_0/20240821-164639-PatModTest/stf_parameters.properties, , /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "/Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_1724281401123/PatMod_AppMod_0/20240821-164639-PatModTest" [2024-08-21T23:46:43.677Z] GEN 16:46:43.007 - Found test. Project: 'openjdk.test.modularity' class: 'PatModTest.class' Dir: '/Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin' [2024-08-21T23:46:43.677Z] GEN 16:46:43.091 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModTest' [2024-08-21T23:46:44.665Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2024-08-21T23:46:44.665Z] GEN /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayService [2024-08-21T23:46:44.665Z] GEN /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper [2024-08-21T23:46:44.665Z] GEN /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl1 [2024-08-21T23:46:44.665Z] GEN /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet [2024-08-21T23:46:44.665Z] GEN /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello [2024-08-21T23:46:44.665Z] GEN /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola [2024-08-21T23:46:44.665Z] GEN /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl2 [2024-08-21T23:46:44.665Z] GEN /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hi [2024-08-21T23:46:44.665Z] GEN /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override [2024-08-21T23:46:44.665Z] GEN /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override-new [2024-08-21T23:46:44.665Z] GEN /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl3 [2024-08-21T23:46:44.665Z] GEN /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl4 [2024-08-21T23:46:44.665Z] GEN /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common [2024-08-21T23:46:44.665Z] GEN /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests [2024-08-21T23:46:44.665Z] GEN /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin [2024-08-21T23:46:44.665Z] GEN /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/STF/stf.core/bin [2024-08-21T23:46:44.665Z] GEN /Users/admin/workspace/testDependency/system_lib/log4j/log4j-api.jar [2024-08-21T23:46:44.665Z] GEN /Users/admin/workspace/testDependency/system_lib/log4j/log4j-core.jar [2024-08-21T23:46:44.666Z] GEN /Users/admin/workspace/testDependency/system_lib/junit/junit.jar [2024-08-21T23:46:44.666Z] GEN 16:46:43.741 - Using Mode NoOptions. Values = '' [2024-08-21T23:46:44.666Z] GEN 16:46:43.981 - [2024-08-21T23:46:44.666Z] GEN 16:46:43.981 - Test command summary: [2024-08-21T23:46:44.666Z] GEN 16:46:43.982 - Step Stage Command Description [2024-08-21T23:46:44.666Z] GEN 16:46:43.982 - -----+--------+-----------------+------------ [2024-08-21T23:46:44.666Z] GEN 16:46:43.982 - 1 execute jar Create com.hello jar [2024-08-21T23:46:44.666Z] GEN 16:46:43.982 - 2 execute jar Create com.discreet jar [2024-08-21T23:46:44.666Z] GEN 16:46:43.982 - 3 execute jar create java.xml.jar [2024-08-21T23:46:44.666Z] GEN 16:46:43.982 - 4 execute Run java Verify if we can patch an Application module using exploded directoryy [2024-08-21T23:46:44.666Z] GEN 16:46:43.982 - 5 execute Run java Verify if we can Patch an Application module using modular jar [2024-08-21T23:46:45.099Z] STF 16:46:44.216 - [2024-08-21T23:46:45.099Z] STF 16:46:44.216 - Script generation completed [2024-08-21T23:46:45.099Z] STF 16:46:44.216 - [2024-08-21T23:46:45.099Z] STF 16:46:44.216 - [2024-08-21T23:46:45.099Z] STF 16:46:44.216 - ======================= S E T U P ======================= [2024-08-21T23:46:45.099Z] STF 16:46:44.216 - Running setup: perl /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_1724281401123/PatMod_AppMod_0/20240821-164639-PatModTest/setUp.pl [2024-08-21T23:46:45.099Z] STF 16:46:44.400 - SETUP stage completed [2024-08-21T23:46:45.099Z] STF 16:46:44.413 - [2024-08-21T23:46:45.099Z] STF 16:46:44.413 - ==================== E X E C U T E - ==================== [2024-08-21T23:46:45.099Z] STF 16:46:44.413 - Running execute: perl /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_1724281401123/PatMod_AppMod_0/20240821-164639-PatModTest/execute.pl [2024-08-21T23:46:45.634Z] STF 16:46:44.643 - [2024-08-21T23:46:45.634Z] STF 16:46:44.643 - Java version [2024-08-21T23:46:45.634Z] STF 16:46:44.643 - Running: /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/java -version [2024-08-21T23:46:45.634Z] openjdk version "11.0.25-beta" 2024-10-15 [2024-08-21T23:46:45.634Z] OpenJDK Runtime Environment Temurin-11.0.25+4-202408212004 (build 11.0.25-beta+4-ea) [2024-08-21T23:46:45.634Z] OpenJDK 64-Bit Server VM Temurin-11.0.25+4-202408212004 (build 11.0.25-beta+4-ea, mixed mode) [2024-08-21T23:46:45.634Z] STF 16:46:44.903 - [2024-08-21T23:46:45.634Z] STF 16:46:44.903 - +------ Step 1 - Create com.hello jar [2024-08-21T23:46:45.634Z] STF 16:46:44.903 - | Create modular jar [2024-08-21T23:46:45.634Z] STF 16:46:44.903 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2024-08-21T23:46:45.634Z] STF 16:46:44.903 - | ModuleVersion: null [2024-08-21T23:46:45.634Z] STF 16:46:44.903 - | MainClass: null [2024-08-21T23:46:45.634Z] STF 16:46:44.903 - | HashModules: null [2024-08-21T23:46:45.634Z] STF 16:46:44.903 - | [2024-08-21T23:46:45.634Z] STF 16:46:44.904 - Running command: /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_1724281401123/PatMod_AppMod_0/20240821-164639-PatModTest/modules/1.com.hello.jar -C /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello . [2024-08-21T23:46:45.634Z] STF 16:46:44.904 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_1724281401123/PatMod_AppMod_0/20240821-164639-PatModTest/results/1.CMJ.stderr [2024-08-21T23:46:45.634Z] STF 16:46:44.904 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_1724281401123/PatMod_AppMod_0/20240821-164639-PatModTest/results/1.CMJ.stdout [2024-08-21T23:46:45.634Z] STF 16:46:44.997 - Monitoring processes: CMJ [2024-08-21T23:46:46.608Z] STF 16:46:45.769 - Monitoring Report Summary: [2024-08-21T23:46:46.609Z] STF 16:46:45.769 - o Process CMJ ended with the expected exit code (0) [2024-08-21T23:46:46.609Z] STF 16:46:45.769 - Created modular jar: 1.com.hello.jar [2024-08-21T23:46:46.609Z] STF 16:46:45.769 - [2024-08-21T23:46:46.609Z] STF 16:46:45.769 - +------ Step 2 - Create com.discreet jar [2024-08-21T23:46:46.609Z] STF 16:46:45.769 - | Create modular jar [2024-08-21T23:46:46.609Z] STF 16:46:45.769 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.discreet [2024-08-21T23:46:46.609Z] STF 16:46:45.769 - | ModuleVersion: null [2024-08-21T23:46:46.609Z] STF 16:46:45.769 - | MainClass: null [2024-08-21T23:46:46.609Z] STF 16:46:45.769 - | HashModules: null [2024-08-21T23:46:46.609Z] STF 16:46:45.769 - | [2024-08-21T23:46:46.609Z] STF 16:46:45.770 - Running command: /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_1724281401123/PatMod_AppMod_0/20240821-164639-PatModTest/modules/2.com.discreet.jar -C /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.discreet . [2024-08-21T23:46:46.609Z] STF 16:46:45.770 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_1724281401123/PatMod_AppMod_0/20240821-164639-PatModTest/results/2.CMJ.stderr [2024-08-21T23:46:46.609Z] STF 16:46:45.770 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_1724281401123/PatMod_AppMod_0/20240821-164639-PatModTest/results/2.CMJ.stdout [2024-08-21T23:46:46.609Z] STF 16:46:45.772 - Monitoring processes: CMJ [2024-08-21T23:46:47.070Z] STF 16:46:46.499 - Monitoring Report Summary: [2024-08-21T23:46:47.070Z] STF 16:46:46.499 - o Process CMJ ended with the expected exit code (0) [2024-08-21T23:46:47.070Z] STF 16:46:46.500 - Created modular jar: 2.com.discreet.jar [2024-08-21T23:46:47.070Z] STF 16:46:46.500 - [2024-08-21T23:46:47.070Z] STF 16:46:46.500 - +------ Step 3 - create java.xml.jar [2024-08-21T23:46:47.070Z] STF 16:46:46.500 - | Create modular jar [2024-08-21T23:46:47.070Z] STF 16:46:46.500 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml [2024-08-21T23:46:47.070Z] STF 16:46:46.500 - | ModuleVersion: null [2024-08-21T23:46:47.070Z] STF 16:46:46.500 - | MainClass: null [2024-08-21T23:46:47.070Z] STF 16:46:46.500 - | HashModules: null [2024-08-21T23:46:47.070Z] STF 16:46:46.500 - | [2024-08-21T23:46:47.070Z] STF 16:46:46.500 - Running command: /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_1724281401123/PatMod_AppMod_0/20240821-164639-PatModTest/modules/3.java.xml.jar -C /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/java.xml . [2024-08-21T23:46:47.070Z] STF 16:46:46.500 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_1724281401123/PatMod_AppMod_0/20240821-164639-PatModTest/results/3.CMJ.stderr [2024-08-21T23:46:47.070Z] STF 16:46:46.500 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_1724281401123/PatMod_AppMod_0/20240821-164639-PatModTest/results/3.CMJ.stdout [2024-08-21T23:46:47.070Z] STF 16:46:46.549 - Monitoring processes: CMJ [2024-08-21T23:46:47.929Z] STF 16:46:47.160 - Monitoring Report Summary: [2024-08-21T23:46:47.929Z] STF 16:46:47.160 - o Process CMJ ended with the expected exit code (0) [2024-08-21T23:46:47.929Z] STF 16:46:47.160 - Created modular jar: 3.java.xml.jar [2024-08-21T23:46:47.929Z] STF 16:46:47.160 - [2024-08-21T23:46:47.929Z] STF 16:46:47.160 - +------ Step 4 - Verify if we can patch an Application module using exploded directoryy [2024-08-21T23:46:47.929Z] STF 16:46:47.160 - | Run foreground process [2024-08-21T23:46:47.929Z] STF 16:46:47.160 - | Program: /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/java [2024-08-21T23:46:47.929Z] STF 16:46:47.160 - | Mnemonic: OT21 [2024-08-21T23:46:47.929Z] STF 16:46:47.160 - | Echo: ECHO_ON [2024-08-21T23:46:47.929Z] STF 16:46:47.160 - | Expectation: CLEAN_RUN within 1m [2024-08-21T23:46:47.929Z] STF 16:46:47.160 - | [2024-08-21T23:46:47.929Z] STF 16:46:47.160 - Running command: /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/java --add-reads com.test=ALL-UNNAMED --module-path /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods:/Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests --add-modules=com.test --patch-module com.hello=/Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_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-08-21T23:46:47.929Z] STF 16:46:47.160 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_1724281401123/PatMod_AppMod_0/20240821-164639-PatModTest/results/4.OT21.stderr [2024-08-21T23:46:47.929Z] STF 16:46:47.160 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_1724281401123/PatMod_AppMod_0/20240821-164639-PatModTest/results/4.OT21.stdout [2024-08-21T23:46:47.929Z] STF 16:46:47.191 - Monitoring processes: OT21 [2024-08-21T23:46:48.364Z] OT21 stderr WARNING: module-info.class ignored in patch: /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello [2024-08-21T23:46:48.364Z] OT21 JUnit version 4.12 [2024-08-21T23:46:48.937Z] OT21 . [2024-08-21T23:46:48.937Z] OT21 Time: 0.026 [2024-08-21T23:46:48.937Z] OT21 [2024-08-21T23:46:48.937Z] OT21 OK (1 test) [2024-08-21T23:46:48.937Z] OT21 [2024-08-21T23:46:48.937Z] STF 16:46:48.152 - Monitoring Report Summary: [2024-08-21T23:46:48.937Z] STF 16:46:48.152 - o Process OT21 ended with the expected exit code (0) [2024-08-21T23:46:48.937Z] STF 16:46:48.153 - [2024-08-21T23:46:48.937Z] STF 16:46:48.153 - +------ Step 5 - Verify if we can Patch an Application module using modular jar [2024-08-21T23:46:48.937Z] STF 16:46:48.153 - | Run foreground process [2024-08-21T23:46:48.937Z] STF 16:46:48.153 - | Program: /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/java [2024-08-21T23:46:48.937Z] STF 16:46:48.153 - | Mnemonic: OT22 [2024-08-21T23:46:48.937Z] STF 16:46:48.153 - | Echo: ECHO_ON [2024-08-21T23:46:48.937Z] STF 16:46:48.153 - | Expectation: CLEAN_RUN within 1m [2024-08-21T23:46:48.938Z] STF 16:46:48.153 - | [2024-08-21T23:46:48.938Z] STF 16:46:48.153 - Running command: /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/java --add-reads com.test=ALL-UNNAMED --module-path /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods:/Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests --add-modules=com.test --patch-module com.hello=/Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_1724281401123/PatMod_AppMod_0/20240821-164639-PatModTest/modules/1.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-08-21T23:46:48.938Z] STF 16:46:48.153 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_1724281401123/PatMod_AppMod_0/20240821-164639-PatModTest/results/5.OT22.stderr [2024-08-21T23:46:48.938Z] STF 16:46:48.153 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_1724281401123/PatMod_AppMod_0/20240821-164639-PatModTest/results/5.OT22.stdout [2024-08-21T23:46:48.938Z] STF 16:46:48.155 - Monitoring processes: OT22 [2024-08-21T23:46:49.354Z] OT22 stderr WARNING: module-info.class ignored in patch: /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_1724281401123/PatMod_AppMod_0/20240821-164639-PatModTest/modules/1.com.hello.jar [2024-08-21T23:46:49.830Z] OT22 JUnit version 4.12 [2024-08-21T23:46:49.830Z] OT22 . [2024-08-21T23:46:49.830Z] OT22 Time: 0.004 [2024-08-21T23:46:49.830Z] OT22 [2024-08-21T23:46:49.830Z] OT22 OK (1 test) [2024-08-21T23:46:49.830Z] OT22 [2024-08-21T23:46:50.273Z] STF 16:46:49.327 - Monitoring Report Summary: [2024-08-21T23:46:50.273Z] STF 16:46:49.327 - o Process OT22 ended with the expected exit code (0) [2024-08-21T23:46:50.273Z] STF 16:46:49.328 - EXECUTE stage completed [2024-08-21T23:46:50.273Z] STF 16:46:49.443 - [2024-08-21T23:46:50.273Z] STF 16:46:49.443 - ==================== T E A R D O W N ==================== [2024-08-21T23:46:50.273Z] STF 16:46:49.443 - Running teardown: perl /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_1724281401123/PatMod_AppMod_0/20240821-164639-PatModTest/tearDown.pl [2024-08-21T23:46:51.093Z] STF 16:46:50.173 - TEARDOWN stage completed [2024-08-21T23:46:51.093Z] STF 16:46:50.195 - [2024-08-21T23:46:51.093Z] STF 16:46:50.195 - ===================== R E S U L T S ===================== [2024-08-21T23:46:51.093Z] STF 16:46:50.195 - Stage results: [2024-08-21T23:46:51.093Z] STF 16:46:50.195 - setUp: pass [2024-08-21T23:46:51.093Z] STF 16:46:50.195 - execute: pass [2024-08-21T23:46:51.093Z] STF 16:46:50.195 - teardown: pass [2024-08-21T23:46:51.093Z] STF 16:46:50.195 - [2024-08-21T23:46:51.093Z] STF 16:46:50.195 - Overall result: PASSED [2024-08-21T23:46:51.093Z] ----------------------------------- [2024-08-21T23:46:51.093Z] PatMod_AppMod_0_PASSED [2024-08-21T23:46:51.093Z] ----------------------------------- [2024-08-21T23:46:51.093Z] [2024-08-21T23:46:51.093Z] TEST TEARDOWN: [2024-08-21T23:46:51.093Z] Nothing to be done for teardown. [2024-08-21T23:46:51.093Z] PatMod_AppMod_0 Finish Time: Wed Aug 21 16:46:50 2024 Epoch Time (ms): 1724284010326