PatMod_AppMod_1

[2023-04-19T01:12:28.777Z] Running test PatMod_AppMod_1 ... [2023-04-19T01:12:28.777Z] =============================================== [2023-04-19T01:12:28.777Z] PatMod_AppMod_1 Start Time: Wed Apr 19 09:12:28 2023 Epoch Time (ms): 1681866748868 [2023-04-19T01:12:28.777Z] variation: Mode650 [2023-04-19T01:12:28.777Z] JVM_OPTIONS: -XX:-UseCompressedOops [2023-04-19T01:12:28.777Z] { \ [2023-04-19T01:12:28.777Z] echo ""; echo "TEST SETUP:"; \ [2023-04-19T01:12:28.777Z] echo "Nothing to be done for setup."; \ [2023-04-19T01:12:28.777Z] mkdir -p "C:/Users/Jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/aqa-tests/\\TKG\\output_16818585182808\\PatMod_AppMod_1"; \ [2023-04-19T01:12:28.778Z] cd "C:/Users/Jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/aqa-tests/\\TKG\\output_16818585182808\\PatMod_AppMod_1"; \ [2023-04-19T01:12:28.778Z] echo ""; echo "TESTING:"; \ [2023-04-19T01:12:28.778Z] perl C:/Users/Jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/aqa-tests///..//jvmtest\\system\\modularity/../\\STF\\stf.core\\scripts\\stf.pl -test-root="C:/Users/Jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/aqa-tests///..//jvmtest\\system\\modularity/../\\STF;C:/Users/Jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/aqa-tests///..//jvmtest\\system\\modularity/../\\aqa-systemtest""" -systemtest-prereqs="C:/Users/Jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/aqa-tests///..//jvmtest\\system\\modularity/../\\systemtest_prereqs" -java-args=' -XX:-UseCompressedOops ' -results-root="C:/Users/Jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/aqa-tests/\\TKG\\output_16818585182808\\PatMod_AppMod_1" -test=PatModTest -test-args="variant=AppMod"; \ [2023-04-19T01:12:28.778Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatMod_AppMod_1""_PASSED"; echo "-----------------------------------"; cd C:/Users/Jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/aqa-tests/; rm -f -r "C:/Users/Jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/aqa-tests/\\TKG\\output_16818585182808\\PatMod_AppMod_1"; else echo "-----------------------------------"; echo "PatMod_AppMod_1""_FAILED"; echo "-----------------------------------"; fi; \ [2023-04-19T01:12:28.778Z] echo ""; echo "TEST TEARDOWN:"; \ [2023-04-19T01:12:28.778Z] echo "Nothing to be done for teardown."; \ [2023-04-19T01:12:28.778Z] } 2>&1 | tee -a "C:/Users/Jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/aqa-tests/\\TKG\\output_16818585182808\\TestTargetResult"; [2023-04-19T01:12:29.103Z] [2023-04-19T01:12:29.103Z] TEST SETUP: [2023-04-19T01:12:29.103Z] Nothing to be done for setup. [2023-04-19T01:12:29.103Z] [2023-04-19T01:12:29.103Z] TESTING: [2023-04-19T01:12:29.103Z] STF 09:12:29.057 - ========================= S T F ========================= [2023-04-19T01:12:29.103Z] systemtest-prereqs has been processed, and set to: C:/Users/Jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/jvmtest/system/systemtest_prereqsRetrieving amount of free space on drive containing C:/Users/Jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/aqa-tests/\TKG\output_16818585182808\PatMod_AppMod_1 [2023-04-19T01:12:29.103Z] There is 46152 Mb free [2023-04-19T01:12:29.103Z] STF 09:12:29.069 - ================== G E N E R A T I O N ================== [2023-04-19T01:12:29.103Z] STF 09:12:29.071 - Checking JVM: C:/Users/Jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/openjdkbinary/j2sdk-image [2023-04-19T01:12:29.103Z] STF 09:12:29.071 - Starting process to generate scripts: C:/Users/Jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/openjdkbinary/j2sdk-image/bin/java -Dlog4j.skipJansi=true -Djava.system.class.loader=net.adoptopenjdk.stf.runner.StfClassLoader -classpath C:/Users/Jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/aqa-tests///..//jvmtest\system\modularity/../\systemtest_prereqs/log4j/log4j-api.jar;C:/Users/Jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/aqa-tests///..//jvmtest\system\modularity/../\systemtest_prereqs/log4j/log4j-core.jar;C:/Users/Jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "C:/Users/Jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/aqa-tests/\TKG\output_16818585182808\PatMod_AppMod_1/20230419-091229-PatModTest/stf_parameters.properties, , C:/Users/Jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "C:/Users/Jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/aqa-tests/\TKG\output_16818585182808\PatMod_AppMod_1/20230419-091229-PatModTest" [2023-04-19T01:12:29.103Z] GEN stderr OpenJDK 64-Bit Server VM warning: 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 [2023-04-19T01:12:29.805Z] GEN 09:12:29.730 - Found test. Project: 'openjdk.test.modularity' class: 'PatModTest.class' Dir: 'C:\Users\Jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin' [2023-04-19T01:12:29.805Z] GEN 09:12:29.739 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModTest' [2023-04-19T01:12:29.805Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2023-04-19T01:12:29.805Z] GEN C:\Users\Jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayService [2023-04-19T01:12:29.805Z] GEN C:\Users\Jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper [2023-04-19T01:12:29.805Z] GEN C:\Users\Jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl1 [2023-04-19T01:12:29.805Z] GEN C:\Users\Jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet [2023-04-19T01:12:29.805Z] GEN C:\Users\Jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello [2023-04-19T01:12:29.805Z] GEN C:\Users\Jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola [2023-04-19T01:12:29.805Z] GEN C:\Users\Jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl2 [2023-04-19T01:12:29.805Z] GEN C:\Users\Jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hi [2023-04-19T01:12:29.805Z] GEN C:\Users\Jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override [2023-04-19T01:12:29.805Z] GEN C:\Users\Jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override-new [2023-04-19T01:12:29.805Z] GEN C:\Users\Jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl3 [2023-04-19T01:12:29.805Z] GEN C:\Users\Jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl4 [2023-04-19T01:12:29.805Z] GEN C:\Users\Jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common [2023-04-19T01:12:29.805Z] GEN C:\Users\Jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests [2023-04-19T01:12:29.805Z] GEN C:\\Users\\Jenkins\\workspace\\Test_openjdk17_hs_sanity.system_x86-64_windows\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin [2023-04-19T01:12:29.805Z] GEN C:\\Users\\Jenkins\\workspace\\Test_openjdk17_hs_sanity.system_x86-64_windows\\jvmtest\\system\\STF\\stf.core\\bin [2023-04-19T01:12:29.805Z] GEN C:/Users/Jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/jvmtest/system/systemtest_prereqs/log4j/log4j-api.jar [2023-04-19T01:12:29.805Z] GEN C:/Users/Jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/jvmtest/system/systemtest_prereqs/log4j/log4j-core.jar [2023-04-19T01:12:29.805Z] GEN C:/Users/Jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/jvmtest/system/systemtest_prereqs/junit/junit.jar [2023-04-19T01:12:29.805Z] GEN 09:12:29.879 - Using Mode NoOptions. Values = '' [2023-04-19T01:12:29.805Z] GEN 09:12:29.945 - [2023-04-19T01:12:29.805Z] GEN 09:12:29.945 - Test command summary: [2023-04-19T01:12:29.805Z] GEN 09:12:29.945 - Step Stage Command Description [2023-04-19T01:12:29.805Z] GEN 09:12:29.945 - -----+--------+-----------------+------------ [2023-04-19T01:12:29.805Z] GEN 09:12:29.946 - 1 execute jar Create com.hello jar [2023-04-19T01:12:29.805Z] GEN 09:12:29.946 - 2 execute jar Create com.discreet jar [2023-04-19T01:12:29.805Z] GEN 09:12:29.946 - 3 execute jar create java.xml.jar [2023-04-19T01:12:29.805Z] GEN 09:12:29.946 - 4 execute Run java Verify if we can patch an Application module using exploded directoryy [2023-04-19T01:12:29.805Z] GEN 09:12:29.946 - 5 execute Run java Verify if we can Patch an Application module using modular jar [2023-04-19T01:12:30.130Z] STF 09:12:29.981 - [2023-04-19T01:12:30.130Z] STF 09:12:29.981 - Script generation completed [2023-04-19T01:12:30.130Z] STF 09:12:29.981 - [2023-04-19T01:12:30.130Z] STF 09:12:29.982 - [2023-04-19T01:12:30.130Z] STF 09:12:29.982 - ======================= S E T U P ======================= [2023-04-19T01:12:30.130Z] STF 09:12:29.982 - Running setup: perl C:/Users/Jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/aqa-tests/\TKG\output_16818585182808\PatMod_AppMod_1/20230419-091229-PatModTest/setUp.pl [2023-04-19T01:12:30.130Z] STF 09:12:30.097 - SETUP stage completed [2023-04-19T01:12:30.130Z] STF 09:12:30.109 - [2023-04-19T01:12:30.130Z] STF 09:12:30.109 - ==================== E X E C U T E - ==================== [2023-04-19T01:12:30.130Z] STF 09:12:30.109 - Running execute: perl C:/Users/Jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/aqa-tests/\TKG\output_16818585182808\PatMod_AppMod_1/20230419-091229-PatModTest/execute.pl [2023-04-19T01:12:30.130Z] STF 09:12:30.207 - [2023-04-19T01:12:30.130Z] STF 09:12:30.207 - Java version [2023-04-19T01:12:30.130Z] STF 09:12:30.207 - Running: C:/Users/Jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/openjdkbinary/j2sdk-image/bin/java -version [2023-04-19T01:12:30.130Z] openjdk version "17.0.7" 2023-04-18 [2023-04-19T01:12:30.130Z] OpenJDK Runtime Environment Temurin-17.0.7+7 (build 17.0.7+7) [2023-04-19T01:12:30.130Z] OpenJDK 64-Bit Server VM Temurin-17.0.7+7 (build 17.0.7+7, mixed mode, sharing) [2023-04-19T01:12:30.130Z] STF 09:12:30.257 - [2023-04-19T01:12:30.130Z] STF 09:12:30.257 - +------ Step 1 - Create com.hello jar [2023-04-19T01:12:30.130Z] STF 09:12:30.257 - | Create modular jar [2023-04-19T01:12:30.130Z] STF 09:12:30.257 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2023-04-19T01:12:30.130Z] STF 09:12:30.257 - | ModuleVersion: null [2023-04-19T01:12:30.130Z] STF 09:12:30.257 - | MainClass: null [2023-04-19T01:12:30.130Z] STF 09:12:30.257 - | HashModules: null [2023-04-19T01:12:30.130Z] STF 09:12:30.257 - | [2023-04-19T01:12:30.130Z] STF 09:12:30.257 - Running command: C:/Users/Jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/openjdkbinary/j2sdk-image/bin/jar --create --file C:/Users/Jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_16818585182808/PatMod_AppMod_1/20230419-091229-PatModTest/modules/1.com.hello.jar -C C:\Users\Jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.hello . [2023-04-19T01:12:30.130Z] STF 09:12:30.257 - Redirecting stderr to C:/Users/Jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_16818585182808/PatMod_AppMod_1/20230419-091229-PatModTest/results/1.CMJ.stderr [2023-04-19T01:12:30.130Z] STF 09:12:30.257 - Redirecting stdout to C:/Users/Jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_16818585182808/PatMod_AppMod_1/20230419-091229-PatModTest/results/1.CMJ.stdout [2023-04-19T01:12:30.455Z] STF 09:12:30.276 - Monitoring processes: CMJ [2023-04-19T01:12:30.455Z] STF 09:12:30.455 - Monitoring Report Summary: [2023-04-19T01:12:30.455Z] STF 09:12:30.455 - o Process CMJ ended with the expected exit code (0) [2023-04-19T01:12:30.455Z] STF 09:12:30.455 - Created modular jar: 1.com.hello.jar [2023-04-19T01:12:30.455Z] STF 09:12:30.455 - [2023-04-19T01:12:30.455Z] STF 09:12:30.455 - +------ Step 2 - Create com.discreet jar [2023-04-19T01:12:30.455Z] STF 09:12:30.455 - | Create modular jar [2023-04-19T01:12:30.455Z] STF 09:12:30.455 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.discreet [2023-04-19T01:12:30.455Z] STF 09:12:30.455 - | ModuleVersion: null [2023-04-19T01:12:30.455Z] STF 09:12:30.455 - | MainClass: null [2023-04-19T01:12:30.455Z] STF 09:12:30.455 - | HashModules: null [2023-04-19T01:12:30.455Z] STF 09:12:30.455 - | [2023-04-19T01:12:30.455Z] STF 09:12:30.455 - Running command: C:/Users/Jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/openjdkbinary/j2sdk-image/bin/jar --create --file C:/Users/Jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_16818585182808/PatMod_AppMod_1/20230419-091229-PatModTest/modules/2.com.discreet.jar -C C:\Users\Jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.discreet . [2023-04-19T01:12:30.455Z] STF 09:12:30.455 - Redirecting stderr to C:/Users/Jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_16818585182808/PatMod_AppMod_1/20230419-091229-PatModTest/results/2.CMJ.stderr [2023-04-19T01:12:30.455Z] STF 09:12:30.455 - Redirecting stdout to C:/Users/Jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_16818585182808/PatMod_AppMod_1/20230419-091229-PatModTest/results/2.CMJ.stdout [2023-04-19T01:12:30.455Z] STF 09:12:30.457 - Monitoring processes: CMJ [2023-04-19T01:12:30.778Z] STF 09:12:30.639 - Monitoring Report Summary: [2023-04-19T01:12:30.778Z] STF 09:12:30.639 - o Process CMJ ended with the expected exit code (0) [2023-04-19T01:12:30.778Z] STF 09:12:30.639 - Created modular jar: 2.com.discreet.jar [2023-04-19T01:12:30.778Z] STF 09:12:30.639 - [2023-04-19T01:12:30.778Z] STF 09:12:30.639 - +------ Step 3 - create java.xml.jar [2023-04-19T01:12:30.778Z] STF 09:12:30.639 - | Create modular jar [2023-04-19T01:12:30.778Z] STF 09:12:30.639 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml [2023-04-19T01:12:30.778Z] STF 09:12:30.639 - | ModuleVersion: null [2023-04-19T01:12:30.778Z] STF 09:12:30.639 - | MainClass: null [2023-04-19T01:12:30.778Z] STF 09:12:30.639 - | HashModules: null [2023-04-19T01:12:30.778Z] STF 09:12:30.639 - | [2023-04-19T01:12:30.778Z] STF 09:12:30.639 - Running command: C:/Users/Jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/openjdkbinary/j2sdk-image/bin/jar --create --file C:/Users/Jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_16818585182808/PatMod_AppMod_1/20230419-091229-PatModTest/modules/3.java.xml.jar -C C:\Users\Jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\java.xml . [2023-04-19T01:12:30.778Z] STF 09:12:30.639 - Redirecting stderr to C:/Users/Jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_16818585182808/PatMod_AppMod_1/20230419-091229-PatModTest/results/3.CMJ.stderr [2023-04-19T01:12:30.778Z] STF 09:12:30.639 - Redirecting stdout to C:/Users/Jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_16818585182808/PatMod_AppMod_1/20230419-091229-PatModTest/results/3.CMJ.stdout [2023-04-19T01:12:30.778Z] STF 09:12:30.641 - Monitoring processes: CMJ [2023-04-19T01:12:30.778Z] STF 09:12:30.831 - Monitoring Report Summary: [2023-04-19T01:12:30.778Z] STF 09:12:30.831 - o Process CMJ ended with the expected exit code (0) [2023-04-19T01:12:30.778Z] STF 09:12:30.831 - Created modular jar: 3.java.xml.jar [2023-04-19T01:12:30.778Z] STF 09:12:30.831 - [2023-04-19T01:12:30.778Z] STF 09:12:30.831 - +------ Step 4 - Verify if we can patch an Application module using exploded directoryy [2023-04-19T01:12:30.778Z] STF 09:12:30.831 - | Run foreground process [2023-04-19T01:12:30.779Z] STF 09:12:30.831 - | Program: C:/Users/Jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/openjdkbinary/j2sdk-image/bin/java [2023-04-19T01:12:30.779Z] STF 09:12:30.831 - | Mnemonic: OT21 [2023-04-19T01:12:30.779Z] STF 09:12:30.831 - | Echo: ECHO_ON [2023-04-19T01:12:30.779Z] STF 09:12:30.831 - | Expectation: CLEAN_RUN within 1m [2023-04-19T01:12:30.779Z] STF 09:12:30.831 - | [2023-04-19T01:12:30.779Z] STF 09:12:30.832 - Running command: C:/Users/Jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/openjdkbinary/j2sdk-image/bin/java --add-reads com.test=ALL-UNNAMED --module-path C:\Users\Jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods;C:\Users\Jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests --add-modules=com.test --patch-module com.hello=C:\Users\Jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.hello -XX:-UseCompressedOops -classpath C:/Users/Jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/jvmtest/system/systemtest_prereqs/junit/junit.jar;C:/Users/Jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/jvmtest/system/systemtest_prereqs/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingAppModule [2023-04-19T01:12:30.779Z] STF 09:12:30.832 - Redirecting stderr to C:/Users/Jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_16818585182808/PatMod_AppMod_1/20230419-091229-PatModTest/results/4.OT21.stderr [2023-04-19T01:12:30.779Z] STF 09:12:30.832 - Redirecting stdout to C:/Users/Jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_16818585182808/PatMod_AppMod_1/20230419-091229-PatModTest/results/4.OT21.stdout [2023-04-19T01:12:30.779Z] STF 09:12:30.833 - Monitoring processes: OT21 [2023-04-19T01:12:31.103Z] OT21 stderr WARNING: module-info.class ignored in patch: C:\Users\Jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.hello [2023-04-19T01:12:31.103Z] OT21 JUnit version 4.12 [2023-04-19T01:12:31.103Z] OT21 . [2023-04-19T01:12:31.103Z] OT21 Time: 0.003 [2023-04-19T01:12:31.103Z] OT21 [2023-04-19T01:12:31.103Z] OT21 OK (1 test) [2023-04-19T01:12:31.103Z] OT21 [2023-04-19T01:12:31.103Z] STF 09:12:31.108 - Monitoring Report Summary: [2023-04-19T01:12:31.103Z] STF 09:12:31.108 - o Process OT21 ended with the expected exit code (0) [2023-04-19T01:12:31.103Z] STF 09:12:31.109 - [2023-04-19T01:12:31.103Z] STF 09:12:31.109 - +------ Step 5 - Verify if we can Patch an Application module using modular jar [2023-04-19T01:12:31.103Z] STF 09:12:31.109 - | Run foreground process [2023-04-19T01:12:31.103Z] STF 09:12:31.109 - | Program: C:/Users/Jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/openjdkbinary/j2sdk-image/bin/java [2023-04-19T01:12:31.103Z] STF 09:12:31.109 - | Mnemonic: OT22 [2023-04-19T01:12:31.103Z] STF 09:12:31.109 - | Echo: ECHO_ON [2023-04-19T01:12:31.103Z] STF 09:12:31.109 - | Expectation: CLEAN_RUN within 1m [2023-04-19T01:12:31.103Z] STF 09:12:31.109 - | [2023-04-19T01:12:31.103Z] STF 09:12:31.109 - Running command: C:/Users/Jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/openjdkbinary/j2sdk-image/bin/java --add-reads com.test=ALL-UNNAMED --module-path C:\Users\Jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods;C:\Users\Jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests --add-modules=com.test --patch-module com.hello=C:/Users/Jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_16818585182808/PatMod_AppMod_1/20230419-091229-PatModTest/modules/1.com.hello.jar -XX:-UseCompressedOops -classpath C:/Users/Jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/jvmtest/system/systemtest_prereqs/junit/junit.jar;C:/Users/Jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/jvmtest/system/systemtest_prereqs/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingAppModule [2023-04-19T01:12:31.103Z] STF 09:12:31.109 - Redirecting stderr to C:/Users/Jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_16818585182808/PatMod_AppMod_1/20230419-091229-PatModTest/results/5.OT22.stderr [2023-04-19T01:12:31.103Z] STF 09:12:31.109 - Redirecting stdout to C:/Users/Jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_16818585182808/PatMod_AppMod_1/20230419-091229-PatModTest/results/5.OT22.stdout [2023-04-19T01:12:31.103Z] STF 09:12:31.111 - Monitoring processes: OT22 [2023-04-19T01:12:31.103Z] OT22 stderr WARNING: module-info.class ignored in patch: C:\Users\Jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows\aqa-tests\TKG\output_16818585182808\PatMod_AppMod_1\20230419-091229-PatModTest\modules\1.com.hello.jar [2023-04-19T01:12:31.427Z] OT22 JUnit version 4.12 [2023-04-19T01:12:31.428Z] OT22 . [2023-04-19T01:12:31.428Z] OT22 Time: 0.004 [2023-04-19T01:12:31.428Z] OT22 [2023-04-19T01:12:31.428Z] OT22 OK (1 test) [2023-04-19T01:12:31.428Z] OT22 [2023-04-19T01:12:31.428Z] STF 09:12:31.390 - Monitoring Report Summary: [2023-04-19T01:12:31.428Z] STF 09:12:31.390 - o Process OT22 ended with the expected exit code (0) [2023-04-19T01:12:31.428Z] STF 09:12:31.390 - EXECUTE stage completed [2023-04-19T01:12:31.428Z] STF 09:12:31.400 - [2023-04-19T01:12:31.428Z] STF 09:12:31.400 - ==================== T E A R D O W N ==================== [2023-04-19T01:12:31.428Z] STF 09:12:31.400 - Running teardown: perl C:/Users/Jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/aqa-tests/\TKG\output_16818585182808\PatMod_AppMod_1/20230419-091229-PatModTest/tearDown.pl [2023-04-19T01:12:31.428Z] STF 09:12:31.495 - TEARDOWN stage completed [2023-04-19T01:12:31.428Z] STF 09:12:31.504 - [2023-04-19T01:12:31.428Z] STF 09:12:31.504 - ===================== R E S U L T S ===================== [2023-04-19T01:12:31.428Z] STF 09:12:31.504 - Stage results: [2023-04-19T01:12:31.428Z] STF 09:12:31.504 - setUp: pass [2023-04-19T01:12:31.428Z] STF 09:12:31.504 - execute: pass [2023-04-19T01:12:31.428Z] STF 09:12:31.504 - teardown: pass [2023-04-19T01:12:31.428Z] STF 09:12:31.504 - [2023-04-19T01:12:31.428Z] STF 09:12:31.504 - Overall result: PASSED [2023-04-19T01:12:31.428Z] ----------------------------------- [2023-04-19T01:12:31.428Z] PatMod_AppMod_1_PASSED [2023-04-19T01:12:31.428Z] ----------------------------------- [2023-04-19T01:12:31.428Z] [2023-04-19T01:12:31.428Z] TEST TEARDOWN: [2023-04-19T01:12:31.428Z] Nothing to be done for teardown. [2023-04-19T01:12:31.428Z] PatMod_AppMod_1 Finish Time: Wed Apr 19 09:12:31 2023 Epoch Time (ms): 1681866751572