PatMod_AppMod_2

[2024-06-08T01:13:36.991Z] Running test PatMod_AppMod_2 ... [2024-06-08T01:13:36.991Z] =============================================== [2024-06-08T01:13:36.991Z] PatMod_AppMod_2 Start Time: Sat Jun 8 01:13:36 2024 Epoch Time (ms): 1717809216931 [2024-06-08T01:13:37.299Z] variation: Mode1000 [2024-06-08T01:13:37.299Z] JVM_OPTIONS: [2024-06-08T01:13:37.299Z] { \ [2024-06-08T01:13:37.299Z] echo ""; echo "TEST SETUP:"; \ [2024-06-08T01:13:37.299Z] echo "Nothing to be done for setup."; \ [2024-06-08T01:13:37.299Z] mkdir -p "F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\\TKG\\output_17178053399281\\PatMod_AppMod_2"; \ [2024-06-08T01:13:37.299Z] cd "F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\\TKG\\output_17178053399281\\PatMod_AppMod_2"; \ [2024-06-08T01:13:37.299Z] echo ""; echo "TESTING:"; \ [2024-06-08T01:13:37.299Z] perl F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests///..//jvmtest\\system\\modularity/../\\STF\\stf.core\\scripts\\stf.pl -test-root="F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests///..//jvmtest\\system\\modularity/../\\STF;F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests///..//jvmtest\\system\\modularity/../\\aqa-systemtest""" -systemtest-prereqs="F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests///..//jvmtest\\system\\modularity/../\\systemtest_prereqs" -java-args=' ' -results-root="F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\\TKG\\output_17178053399281\\PatMod_AppMod_2" -test=PatModTest -test-args="variant=AppMod"; \ [2024-06-08T01:13:37.299Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatMod_AppMod_2""_PASSED"; echo "-----------------------------------"; cd F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/; rm -f -r "F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\\TKG\\output_17178053399281\\PatMod_AppMod_2"; else echo "-----------------------------------"; echo "PatMod_AppMod_2""_FAILED"; echo "-----------------------------------"; fi; \ [2024-06-08T01:13:37.299Z] echo ""; echo "TEST TEARDOWN:"; \ [2024-06-08T01:13:37.299Z] echo "Nothing to be done for teardown."; \ [2024-06-08T01:13:37.299Z] } 2>&1 | tee -a "F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\\TKG\\output_17178053399281\\TestTargetResult"; [2024-06-08T01:13:37.299Z] [2024-06-08T01:13:37.299Z] TEST SETUP: [2024-06-08T01:13:37.299Z] Nothing to be done for setup. [2024-06-08T01:13:37.299Z] [2024-06-08T01:13:37.299Z] TESTING: [2024-06-08T01:13:37.607Z] STF 01:13:37.361 - ========================= S T F ========================= [2024-06-08T01:13:37.607Z] systemtest-prereqs has been processed, and set to: F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/jvmtest/system/systemtest_prereqsRetrieving amount of free space on drive containing F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\TKG\output_17178053399281\PatMod_AppMod_2 [2024-06-08T01:13:37.607Z] There is 113688 Mb free [2024-06-08T01:13:37.607Z] STF 01:13:37.391 - ================== G E N E R A T I O N ================== [2024-06-08T01:13:37.607Z] STF 01:13:37.395 - Checking JVM: F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image [2024-06-08T01:13:37.607Z] STF 01:13:37.395 - Starting process to generate scripts: F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image/bin/java -Dlog4j.skipJansi=true -Djava.system.class.loader=net.adoptopenjdk.stf.runner.StfClassLoader -classpath F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests///..//jvmtest\system\modularity/../\systemtest_prereqs/log4j/log4j-api.jar;F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests///..//jvmtest\system\modularity/../\systemtest_prereqs/log4j/log4j-core.jar;F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\TKG\output_17178053399281\PatMod_AppMod_2/20240608-011337-PatModTest/stf_parameters.properties, , F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\TKG\output_17178053399281\PatMod_AppMod_2/20240608-011337-PatModTest" [2024-06-08T01:13:38.688Z] GEN 01:13:38.273 - Found test. Project: 'openjdk.test.modularity' class: 'PatModTest.class' Dir: 'F:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin' [2024-06-08T01:13:38.688Z] GEN 01:13:38.282 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModTest' [2024-06-08T01:13:38.688Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2024-06-08T01:13:38.688Z] GEN F:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayService [2024-06-08T01:13:38.688Z] GEN F:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper [2024-06-08T01:13:38.688Z] GEN F:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl1 [2024-06-08T01:13:38.688Z] GEN F:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet [2024-06-08T01:13:38.688Z] GEN F:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello [2024-06-08T01:13:38.688Z] GEN F:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola [2024-06-08T01:13:38.688Z] GEN F:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl2 [2024-06-08T01:13:38.688Z] GEN F:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hi [2024-06-08T01:13:38.688Z] GEN F:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override [2024-06-08T01:13:38.688Z] GEN F:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override-new [2024-06-08T01:13:38.688Z] GEN F:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl3 [2024-06-08T01:13:38.688Z] GEN F:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl4 [2024-06-08T01:13:38.688Z] GEN F:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common [2024-06-08T01:13:38.688Z] GEN F:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests [2024-06-08T01:13:38.688Z] GEN F:\\workspace\\workspace\\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin [2024-06-08T01:13:38.688Z] GEN F:\\workspace\\workspace\\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\\jvmtest\\system\\STF\\stf.core\\bin [2024-06-08T01:13:38.688Z] GEN F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/jvmtest/system/systemtest_prereqs/log4j/log4j-api.jar [2024-06-08T01:13:38.688Z] GEN F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/jvmtest/system/systemtest_prereqs/log4j/log4j-core.jar [2024-06-08T01:13:38.688Z] GEN F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/jvmtest/system/systemtest_prereqs/junit/junit.jar [2024-06-08T01:13:38.688Z] GEN 01:13:38.498 - Using Mode NoOptions. Values = '' [2024-06-08T01:13:38.688Z] GEN 01:13:38.584 - [2024-06-08T01:13:38.688Z] GEN 01:13:38.585 - Test command summary: [2024-06-08T01:13:38.688Z] GEN 01:13:38.585 - Step Stage Command Description [2024-06-08T01:13:38.688Z] GEN 01:13:38.585 - -----+--------+-----------------+------------ [2024-06-08T01:13:38.688Z] GEN 01:13:38.585 - 1 execute jar Create com.hello jar [2024-06-08T01:13:38.688Z] GEN 01:13:38.585 - 2 execute jar Create com.discreet jar [2024-06-08T01:13:38.688Z] GEN 01:13:38.585 - 3 execute jar create java.xml.jar [2024-06-08T01:13:38.688Z] GEN 01:13:38.585 - 4 execute Run java Verify if we can patch an Application module using exploded directoryy [2024-06-08T01:13:38.688Z] GEN 01:13:38.585 - 5 execute Run java Verify if we can Patch an Application module using modular jar [2024-06-08T01:13:38.688Z] STF 01:13:38.605 - [2024-06-08T01:13:38.688Z] STF 01:13:38.605 - Script generation completed [2024-06-08T01:13:38.688Z] STF 01:13:38.605 - [2024-06-08T01:13:38.688Z] STF 01:13:38.605 - [2024-06-08T01:13:38.688Z] STF 01:13:38.605 - ======================= S E T U P ======================= [2024-06-08T01:13:38.688Z] STF 01:13:38.605 - Running setup: perl F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\TKG\output_17178053399281\PatMod_AppMod_2/20240608-011337-PatModTest/setUp.pl [2024-06-08T01:13:38.996Z] STF 01:13:38.742 - SETUP stage completed [2024-06-08T01:13:38.996Z] STF 01:13:38.757 - [2024-06-08T01:13:38.996Z] STF 01:13:38.757 - ==================== E X E C U T E - ==================== [2024-06-08T01:13:38.996Z] STF 01:13:38.757 - Running execute: perl F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\TKG\output_17178053399281\PatMod_AppMod_2/20240608-011337-PatModTest/execute.pl [2024-06-08T01:13:38.996Z] STF 01:13:38.885 - [2024-06-08T01:13:38.996Z] STF 01:13:38.885 - Java version [2024-06-08T01:13:38.996Z] STF 01:13:38.885 - Running: F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image/bin/java -version [2024-06-08T01:13:39.304Z] openjdk version "11.0.24-beta" 2024-07-16 [2024-06-08T01:13:39.304Z] OpenJDK Runtime Environment Temurin-11.0.24+6-202406072005 (build 11.0.24-beta+6-ea) [2024-06-08T01:13:39.304Z] OpenJDK Client VM Temurin-11.0.24+6-202406072005 (build 11.0.24-beta+6-ea, mixed mode) [2024-06-08T01:13:39.304Z] STF 01:13:38.987 - [2024-06-08T01:13:39.304Z] STF 01:13:38.987 - +------ Step 1 - Create com.hello jar [2024-06-08T01:13:39.304Z] STF 01:13:38.987 - | Create modular jar [2024-06-08T01:13:39.304Z] STF 01:13:38.987 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2024-06-08T01:13:39.304Z] STF 01:13:38.987 - | ModuleVersion: null [2024-06-08T01:13:39.304Z] STF 01:13:38.987 - | MainClass: null [2024-06-08T01:13:39.304Z] STF 01:13:38.987 - | HashModules: null [2024-06-08T01:13:39.304Z] STF 01:13:38.987 - | [2024-06-08T01:13:39.304Z] STF 01:13:38.988 - Running command: F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17178053399281/PatMod_AppMod_2/20240608-011337-PatModTest/modules/1.com.hello.jar -C F:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.hello . [2024-06-08T01:13:39.304Z] STF 01:13:38.989 - Redirecting stderr to F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17178053399281/PatMod_AppMod_2/20240608-011337-PatModTest/results/1.CMJ.stderr [2024-06-08T01:13:39.304Z] STF 01:13:38.989 - Redirecting stdout to F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17178053399281/PatMod_AppMod_2/20240608-011337-PatModTest/results/1.CMJ.stdout [2024-06-08T01:13:39.304Z] STF 01:13:39.015 - Monitoring processes: CMJ [2024-06-08T01:13:39.304Z] STF 01:13:39.283 - Monitoring Report Summary: [2024-06-08T01:13:39.304Z] STF 01:13:39.284 - o Process CMJ ended with the expected exit code (0) [2024-06-08T01:13:39.304Z] STF 01:13:39.284 - Created modular jar: 1.com.hello.jar [2024-06-08T01:13:39.304Z] STF 01:13:39.284 - [2024-06-08T01:13:39.304Z] STF 01:13:39.284 - +------ Step 2 - Create com.discreet jar [2024-06-08T01:13:39.304Z] STF 01:13:39.284 - | Create modular jar [2024-06-08T01:13:39.304Z] STF 01:13:39.284 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.discreet [2024-06-08T01:13:39.304Z] STF 01:13:39.284 - | ModuleVersion: null [2024-06-08T01:13:39.304Z] STF 01:13:39.284 - | MainClass: null [2024-06-08T01:13:39.304Z] STF 01:13:39.284 - | HashModules: null [2024-06-08T01:13:39.304Z] STF 01:13:39.284 - | [2024-06-08T01:13:39.304Z] STF 01:13:39.284 - Running command: F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17178053399281/PatMod_AppMod_2/20240608-011337-PatModTest/modules/2.com.discreet.jar -C F:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.discreet . [2024-06-08T01:13:39.304Z] STF 01:13:39.284 - Redirecting stderr to F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17178053399281/PatMod_AppMod_2/20240608-011337-PatModTest/results/2.CMJ.stderr [2024-06-08T01:13:39.304Z] STF 01:13:39.284 - Redirecting stdout to F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17178053399281/PatMod_AppMod_2/20240608-011337-PatModTest/results/2.CMJ.stdout [2024-06-08T01:13:39.304Z] STF 01:13:39.287 - Monitoring processes: CMJ [2024-06-08T01:13:39.611Z] STF 01:13:39.569 - Monitoring Report Summary: [2024-06-08T01:13:39.612Z] STF 01:13:39.569 - o Process CMJ ended with the expected exit code (0) [2024-06-08T01:13:39.612Z] STF 01:13:39.570 - Created modular jar: 2.com.discreet.jar [2024-06-08T01:13:39.612Z] STF 01:13:39.570 - [2024-06-08T01:13:39.612Z] STF 01:13:39.570 - +------ Step 3 - create java.xml.jar [2024-06-08T01:13:39.612Z] STF 01:13:39.570 - | Create modular jar [2024-06-08T01:13:39.612Z] STF 01:13:39.570 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml [2024-06-08T01:13:39.612Z] STF 01:13:39.570 - | ModuleVersion: null [2024-06-08T01:13:39.612Z] STF 01:13:39.570 - | MainClass: null [2024-06-08T01:13:39.612Z] STF 01:13:39.570 - | HashModules: null [2024-06-08T01:13:39.612Z] STF 01:13:39.570 - | [2024-06-08T01:13:39.612Z] STF 01:13:39.570 - Running command: F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17178053399281/PatMod_AppMod_2/20240608-011337-PatModTest/modules/3.java.xml.jar -C F:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\java.xml . [2024-06-08T01:13:39.612Z] STF 01:13:39.570 - Redirecting stderr to F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17178053399281/PatMod_AppMod_2/20240608-011337-PatModTest/results/3.CMJ.stderr [2024-06-08T01:13:39.612Z] STF 01:13:39.570 - Redirecting stdout to F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17178053399281/PatMod_AppMod_2/20240608-011337-PatModTest/results/3.CMJ.stdout [2024-06-08T01:13:39.612Z] STF 01:13:39.573 - Monitoring processes: CMJ [2024-06-08T01:13:39.930Z] STF 01:13:39.843 - Monitoring Report Summary: [2024-06-08T01:13:39.930Z] STF 01:13:39.843 - o Process CMJ ended with the expected exit code (0) [2024-06-08T01:13:39.930Z] STF 01:13:39.843 - Created modular jar: 3.java.xml.jar [2024-06-08T01:13:39.930Z] STF 01:13:39.843 - [2024-06-08T01:13:39.930Z] STF 01:13:39.843 - +------ Step 4 - Verify if we can patch an Application module using exploded directoryy [2024-06-08T01:13:39.930Z] STF 01:13:39.843 - | Run foreground process [2024-06-08T01:13:39.930Z] STF 01:13:39.843 - | Program: F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image/bin/java [2024-06-08T01:13:39.930Z] STF 01:13:39.843 - | Mnemonic: OT21 [2024-06-08T01:13:39.930Z] STF 01:13:39.843 - | Echo: ECHO_ON [2024-06-08T01:13:39.930Z] STF 01:13:39.843 - | Expectation: CLEAN_RUN within 1m [2024-06-08T01:13:39.930Z] STF 01:13:39.843 - | [2024-06-08T01:13:39.930Z] STF 01:13:39.844 - Running command: F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image/bin/java --add-reads com.test=ALL-UNNAMED --module-path F:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods;F:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests --add-modules=com.test --patch-module com.hello=F:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.hello -classpath F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/jvmtest/system/systemtest_prereqs/junit/junit.jar;F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/jvmtest/system/systemtest_prereqs/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingAppModule [2024-06-08T01:13:39.930Z] STF 01:13:39.844 - Redirecting stderr to F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17178053399281/PatMod_AppMod_2/20240608-011337-PatModTest/results/4.OT21.stderr [2024-06-08T01:13:39.930Z] STF 01:13:39.844 - Redirecting stdout to F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17178053399281/PatMod_AppMod_2/20240608-011337-PatModTest/results/4.OT21.stdout [2024-06-08T01:13:39.930Z] STF 01:13:39.851 - Monitoring processes: OT21 [2024-06-08T01:13:40.237Z] OT21 stderr WARNING: module-info.class ignored in patch: F:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.hello [2024-06-08T01:13:40.237Z] OT21 JUnit version 4.12 [2024-06-08T01:13:40.237Z] OT21 . [2024-06-08T01:13:40.237Z] OT21 Time: 0.005 [2024-06-08T01:13:40.237Z] OT21 [2024-06-08T01:13:40.237Z] OT21 OK (1 test) [2024-06-08T01:13:40.237Z] OT21 [2024-06-08T01:13:40.237Z] STF 01:13:40.147 - Monitoring Report Summary: [2024-06-08T01:13:40.237Z] STF 01:13:40.147 - o Process OT21 ended with the expected exit code (0) [2024-06-08T01:13:40.237Z] STF 01:13:40.148 - [2024-06-08T01:13:40.237Z] STF 01:13:40.148 - +------ Step 5 - Verify if we can Patch an Application module using modular jar [2024-06-08T01:13:40.237Z] STF 01:13:40.148 - | Run foreground process [2024-06-08T01:13:40.237Z] STF 01:13:40.148 - | Program: F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image/bin/java [2024-06-08T01:13:40.237Z] STF 01:13:40.148 - | Mnemonic: OT22 [2024-06-08T01:13:40.237Z] STF 01:13:40.148 - | Echo: ECHO_ON [2024-06-08T01:13:40.237Z] STF 01:13:40.148 - | Expectation: CLEAN_RUN within 1m [2024-06-08T01:13:40.237Z] STF 01:13:40.148 - | [2024-06-08T01:13:40.238Z] STF 01:13:40.148 - Running command: F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image/bin/java --add-reads com.test=ALL-UNNAMED --module-path F:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods;F:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests --add-modules=com.test --patch-module com.hello=F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17178053399281/PatMod_AppMod_2/20240608-011337-PatModTest/modules/1.com.hello.jar -classpath F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/jvmtest/system/systemtest_prereqs/junit/junit.jar;F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/jvmtest/system/systemtest_prereqs/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingAppModule [2024-06-08T01:13:40.238Z] STF 01:13:40.148 - Redirecting stderr to F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17178053399281/PatMod_AppMod_2/20240608-011337-PatModTest/results/5.OT22.stderr [2024-06-08T01:13:40.238Z] STF 01:13:40.148 - Redirecting stdout to F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17178053399281/PatMod_AppMod_2/20240608-011337-PatModTest/results/5.OT22.stdout [2024-06-08T01:13:40.238Z] STF 01:13:40.153 - Monitoring processes: OT22 [2024-06-08T01:13:40.544Z] OT22 stderr WARNING: module-info.class ignored in patch: F:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\aqa-tests\TKG\output_17178053399281\PatMod_AppMod_2\20240608-011337-PatModTest\modules\1.com.hello.jar [2024-06-08T01:13:40.544Z] OT22 JUnit version 4.12 [2024-06-08T01:13:40.544Z] OT22 . [2024-06-08T01:13:40.544Z] OT22 Time: 0.004 [2024-06-08T01:13:40.544Z] OT22 [2024-06-08T01:13:40.544Z] OT22 OK (1 test) [2024-06-08T01:13:40.544Z] OT22 [2024-06-08T01:13:40.544Z] STF 01:13:40.448 - Monitoring Report Summary: [2024-06-08T01:13:40.544Z] STF 01:13:40.448 - o Process OT22 ended with the expected exit code (0) [2024-06-08T01:13:40.544Z] STF 01:13:40.449 - EXECUTE stage completed [2024-06-08T01:13:40.544Z] STF 01:13:40.471 - [2024-06-08T01:13:40.544Z] STF 01:13:40.471 - ==================== T E A R D O W N ==================== [2024-06-08T01:13:40.544Z] STF 01:13:40.471 - Running teardown: perl F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\TKG\output_17178053399281\PatMod_AppMod_2/20240608-011337-PatModTest/tearDown.pl [2024-06-08T01:13:40.850Z] STF 01:13:40.604 - TEARDOWN stage completed [2024-06-08T01:13:40.850Z] STF 01:13:40.618 - [2024-06-08T01:13:40.850Z] STF 01:13:40.618 - ===================== R E S U L T S ===================== [2024-06-08T01:13:40.850Z] STF 01:13:40.618 - Stage results: [2024-06-08T01:13:40.850Z] STF 01:13:40.618 - setUp: pass [2024-06-08T01:13:40.850Z] STF 01:13:40.618 - execute: pass [2024-06-08T01:13:40.850Z] STF 01:13:40.618 - teardown: pass [2024-06-08T01:13:40.850Z] STF 01:13:40.618 - [2024-06-08T01:13:40.850Z] STF 01:13:40.618 - Overall result: PASSED [2024-06-08T01:13:40.850Z] ----------------------------------- [2024-06-08T01:13:40.850Z] PatMod_AppMod_2_PASSED [2024-06-08T01:13:40.850Z] ----------------------------------- [2024-06-08T01:13:40.851Z] [2024-06-08T01:13:40.851Z] TEST TEARDOWN: [2024-06-08T01:13:40.851Z] Nothing to be done for teardown. [2024-06-08T01:13:40.851Z] PatMod_AppMod_2 Finish Time: Sat Jun 8 01:13:40 2024 Epoch Time (ms): 1717809220739