PatMod_AppMod_0

[2023-04-19T01:12:26.113Z] Running test PatMod_AppMod_0 ... [2023-04-19T01:12:26.113Z] =============================================== [2023-04-19T01:12:26.113Z] PatMod_AppMod_0 Start Time: Wed Apr 19 09:12:26 2023 Epoch Time (ms): 1681866746034 [2023-04-19T01:12:26.113Z] variation: Mode150 [2023-04-19T01:12:26.113Z] JVM_OPTIONS: -XX:+UseCompressedOops [2023-04-19T01:12:26.113Z] { \ [2023-04-19T01:12:26.113Z] echo ""; echo "TEST SETUP:"; \ [2023-04-19T01:12:26.113Z] echo "Nothing to be done for setup."; \ [2023-04-19T01:12:26.113Z] mkdir -p "C:/Users/Jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/aqa-tests/\\TKG\\output_16818585182808\\PatMod_AppMod_0"; \ [2023-04-19T01:12:26.113Z] cd "C:/Users/Jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/aqa-tests/\\TKG\\output_16818585182808\\PatMod_AppMod_0"; \ [2023-04-19T01:12:26.113Z] echo ""; echo "TESTING:"; \ [2023-04-19T01:12:26.113Z] 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_0" -test=PatModTest -test-args="variant=AppMod"; \ [2023-04-19T01:12:26.113Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatMod_AppMod_0""_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_0"; else echo "-----------------------------------"; echo "PatMod_AppMod_0""_FAILED"; echo "-----------------------------------"; fi; \ [2023-04-19T01:12:26.113Z] echo ""; echo "TEST TEARDOWN:"; \ [2023-04-19T01:12:26.113Z] echo "Nothing to be done for teardown."; \ [2023-04-19T01:12:26.113Z] } 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:26.113Z] [2023-04-19T01:12:26.113Z] TEST SETUP: [2023-04-19T01:12:26.113Z] Nothing to be done for setup. [2023-04-19T01:12:26.113Z] [2023-04-19T01:12:26.113Z] TESTING: [2023-04-19T01:12:26.113Z] STF 09:12:26.232 - ========================= S T F ========================= [2023-04-19T01:12:26.113Z] 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_0 [2023-04-19T01:12:26.439Z] There is 46152 Mb free [2023-04-19T01:12:26.440Z] STF 09:12:26.245 - ================== G E N E R A T I O N ================== [2023-04-19T01:12:26.440Z] STF 09:12:26.246 - Checking JVM: C:/Users/Jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/openjdkbinary/j2sdk-image [2023-04-19T01:12:26.440Z] STF 09:12:26.247 - 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_0/20230419-091226-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_0/20230419-091226-PatModTest" [2023-04-19T01:12:26.440Z] 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:27.146Z] GEN 09:12:26.927 - 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:27.146Z] GEN 09:12:26.935 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModTest' [2023-04-19T01:12:27.146Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2023-04-19T01:12:27.147Z] 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:27.147Z] 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:27.147Z] 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:27.147Z] 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:27.147Z] 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:27.147Z] 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:27.147Z] 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:27.147Z] 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:27.147Z] 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:27.147Z] 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:27.147Z] 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:27.147Z] 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:27.147Z] 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:27.147Z] 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:27.147Z] 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:27.147Z] GEN C:\\Users\\Jenkins\\workspace\\Test_openjdk17_hs_sanity.system_x86-64_windows\\jvmtest\\system\\STF\\stf.core\\bin [2023-04-19T01:12:27.147Z] 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:27.147Z] 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:27.147Z] GEN C:/Users/Jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/jvmtest/system/systemtest_prereqs/junit/junit.jar [2023-04-19T01:12:27.147Z] GEN 09:12:27.073 - Using Mode NoOptions. Values = '' [2023-04-19T01:12:27.147Z] GEN 09:12:27.137 - [2023-04-19T01:12:27.147Z] GEN 09:12:27.137 - Test command summary: [2023-04-19T01:12:27.147Z] GEN 09:12:27.137 - Step Stage Command Description [2023-04-19T01:12:27.147Z] GEN 09:12:27.138 - -----+--------+-----------------+------------ [2023-04-19T01:12:27.147Z] GEN 09:12:27.138 - 1 execute jar Create com.hello jar [2023-04-19T01:12:27.147Z] GEN 09:12:27.138 - 2 execute jar Create com.discreet jar [2023-04-19T01:12:27.147Z] GEN 09:12:27.138 - 3 execute jar create java.xml.jar [2023-04-19T01:12:27.147Z] GEN 09:12:27.138 - 4 execute Run java Verify if we can patch an Application module using exploded directoryy [2023-04-19T01:12:27.147Z] GEN 09:12:27.138 - 5 execute Run java Verify if we can Patch an Application module using modular jar [2023-04-19T01:12:27.147Z] STF 09:12:27.170 - [2023-04-19T01:12:27.147Z] STF 09:12:27.170 - Script generation completed [2023-04-19T01:12:27.147Z] STF 09:12:27.170 - [2023-04-19T01:12:27.147Z] STF 09:12:27.170 - [2023-04-19T01:12:27.147Z] STF 09:12:27.170 - ======================= S E T U P ======================= [2023-04-19T01:12:27.147Z] STF 09:12:27.170 - Running setup: perl C:/Users/Jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/aqa-tests/\TKG\output_16818585182808\PatMod_AppMod_0/20230419-091226-PatModTest/setUp.pl [2023-04-19T01:12:27.147Z] STF 09:12:27.266 - SETUP stage completed [2023-04-19T01:12:27.147Z] STF 09:12:27.275 - [2023-04-19T01:12:27.147Z] STF 09:12:27.275 - ==================== E X E C U T E - ==================== [2023-04-19T01:12:27.147Z] STF 09:12:27.275 - Running execute: perl C:/Users/Jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/aqa-tests/\TKG\output_16818585182808\PatMod_AppMod_0/20230419-091226-PatModTest/execute.pl [2023-04-19T01:12:27.473Z] STF 09:12:27.372 - [2023-04-19T01:12:27.473Z] STF 09:12:27.372 - Java version [2023-04-19T01:12:27.473Z] STF 09:12:27.372 - Running: C:/Users/Jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/openjdkbinary/j2sdk-image/bin/java -version [2023-04-19T01:12:27.473Z] openjdk version "17.0.7" 2023-04-18 [2023-04-19T01:12:27.473Z] OpenJDK Runtime Environment Temurin-17.0.7+7 (build 17.0.7+7) [2023-04-19T01:12:27.473Z] OpenJDK 64-Bit Server VM Temurin-17.0.7+7 (build 17.0.7+7, mixed mode, sharing) [2023-04-19T01:12:27.473Z] STF 09:12:27.419 - [2023-04-19T01:12:27.473Z] STF 09:12:27.419 - +------ Step 1 - Create com.hello jar [2023-04-19T01:12:27.473Z] STF 09:12:27.419 - | Create modular jar [2023-04-19T01:12:27.473Z] STF 09:12:27.419 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2023-04-19T01:12:27.473Z] STF 09:12:27.419 - | ModuleVersion: null [2023-04-19T01:12:27.473Z] STF 09:12:27.419 - | MainClass: null [2023-04-19T01:12:27.473Z] STF 09:12:27.419 - | HashModules: null [2023-04-19T01:12:27.473Z] STF 09:12:27.419 - | [2023-04-19T01:12:27.473Z] STF 09:12:27.420 - 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_0/20230419-091226-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:27.473Z] STF 09:12:27.420 - Redirecting stderr to C:/Users/Jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_16818585182808/PatMod_AppMod_0/20230419-091226-PatModTest/results/1.CMJ.stderr [2023-04-19T01:12:27.473Z] STF 09:12:27.420 - Redirecting stdout to C:/Users/Jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_16818585182808/PatMod_AppMod_0/20230419-091226-PatModTest/results/1.CMJ.stdout [2023-04-19T01:12:27.473Z] STF 09:12:27.438 - Monitoring processes: CMJ [2023-04-19T01:12:27.798Z] STF 09:12:27.619 - Monitoring Report Summary: [2023-04-19T01:12:27.798Z] STF 09:12:27.619 - o Process CMJ ended with the expected exit code (0) [2023-04-19T01:12:27.798Z] STF 09:12:27.619 - Created modular jar: 1.com.hello.jar [2023-04-19T01:12:27.798Z] STF 09:12:27.619 - [2023-04-19T01:12:27.798Z] STF 09:12:27.619 - +------ Step 2 - Create com.discreet jar [2023-04-19T01:12:27.798Z] STF 09:12:27.619 - | Create modular jar [2023-04-19T01:12:27.798Z] STF 09:12:27.619 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.discreet [2023-04-19T01:12:27.798Z] STF 09:12:27.619 - | ModuleVersion: null [2023-04-19T01:12:27.798Z] STF 09:12:27.619 - | MainClass: null [2023-04-19T01:12:27.798Z] STF 09:12:27.619 - | HashModules: null [2023-04-19T01:12:27.798Z] STF 09:12:27.619 - | [2023-04-19T01:12:27.798Z] STF 09:12:27.620 - 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_0/20230419-091226-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:27.798Z] STF 09:12:27.620 - Redirecting stderr to C:/Users/Jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_16818585182808/PatMod_AppMod_0/20230419-091226-PatModTest/results/2.CMJ.stderr [2023-04-19T01:12:27.798Z] STF 09:12:27.620 - Redirecting stdout to C:/Users/Jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_16818585182808/PatMod_AppMod_0/20230419-091226-PatModTest/results/2.CMJ.stdout [2023-04-19T01:12:27.798Z] STF 09:12:27.621 - Monitoring processes: CMJ [2023-04-19T01:12:27.798Z] STF 09:12:27.803 - Monitoring Report Summary: [2023-04-19T01:12:27.798Z] STF 09:12:27.803 - o Process CMJ ended with the expected exit code (0) [2023-04-19T01:12:27.798Z] STF 09:12:27.803 - Created modular jar: 2.com.discreet.jar [2023-04-19T01:12:27.798Z] STF 09:12:27.803 - [2023-04-19T01:12:27.798Z] STF 09:12:27.803 - +------ Step 3 - create java.xml.jar [2023-04-19T01:12:27.798Z] STF 09:12:27.803 - | Create modular jar [2023-04-19T01:12:27.798Z] STF 09:12:27.803 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml [2023-04-19T01:12:27.798Z] STF 09:12:27.803 - | ModuleVersion: null [2023-04-19T01:12:27.798Z] STF 09:12:27.803 - | MainClass: null [2023-04-19T01:12:27.798Z] STF 09:12:27.803 - | HashModules: null [2023-04-19T01:12:27.798Z] STF 09:12:27.803 - | [2023-04-19T01:12:27.798Z] STF 09:12:27.803 - 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_0/20230419-091226-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:27.798Z] STF 09:12:27.804 - Redirecting stderr to C:/Users/Jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_16818585182808/PatMod_AppMod_0/20230419-091226-PatModTest/results/3.CMJ.stderr [2023-04-19T01:12:27.798Z] STF 09:12:27.804 - Redirecting stdout to C:/Users/Jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_16818585182808/PatMod_AppMod_0/20230419-091226-PatModTest/results/3.CMJ.stdout [2023-04-19T01:12:27.798Z] STF 09:12:27.805 - Monitoring processes: CMJ [2023-04-19T01:12:28.126Z] STF 09:12:27.984 - Monitoring Report Summary: [2023-04-19T01:12:28.126Z] STF 09:12:27.984 - o Process CMJ ended with the expected exit code (0) [2023-04-19T01:12:28.126Z] STF 09:12:27.984 - Created modular jar: 3.java.xml.jar [2023-04-19T01:12:28.126Z] STF 09:12:27.984 - [2023-04-19T01:12:28.126Z] STF 09:12:27.984 - +------ Step 4 - Verify if we can patch an Application module using exploded directoryy [2023-04-19T01:12:28.126Z] STF 09:12:27.984 - | Run foreground process [2023-04-19T01:12:28.126Z] STF 09:12:27.985 - | Program: C:/Users/Jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/openjdkbinary/j2sdk-image/bin/java [2023-04-19T01:12:28.126Z] STF 09:12:27.985 - | Mnemonic: OT21 [2023-04-19T01:12:28.126Z] STF 09:12:27.985 - | Echo: ECHO_ON [2023-04-19T01:12:28.126Z] STF 09:12:27.985 - | Expectation: CLEAN_RUN within 1m [2023-04-19T01:12:28.126Z] STF 09:12:27.985 - | [2023-04-19T01:12:28.126Z] STF 09:12:27.985 - 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:28.126Z] STF 09:12:27.985 - Redirecting stderr to C:/Users/Jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_16818585182808/PatMod_AppMod_0/20230419-091226-PatModTest/results/4.OT21.stderr [2023-04-19T01:12:28.126Z] STF 09:12:27.985 - Redirecting stdout to C:/Users/Jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_16818585182808/PatMod_AppMod_0/20230419-091226-PatModTest/results/4.OT21.stdout [2023-04-19T01:12:28.126Z] STF 09:12:27.986 - Monitoring processes: OT21 [2023-04-19T01:12:28.126Z] 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:28.126Z] OT21 JUnit version 4.12 [2023-04-19T01:12:28.126Z] OT21 . [2023-04-19T01:12:28.126Z] OT21 Time: 0.003 [2023-04-19T01:12:28.126Z] OT21 [2023-04-19T01:12:28.126Z] OT21 OK (1 test) [2023-04-19T01:12:28.126Z] OT21 [2023-04-19T01:12:28.126Z] STF 09:12:28.258 - Monitoring Report Summary: [2023-04-19T01:12:28.126Z] STF 09:12:28.258 - o Process OT21 ended with the expected exit code (0) [2023-04-19T01:12:28.126Z] STF 09:12:28.258 - [2023-04-19T01:12:28.126Z] STF 09:12:28.258 - +------ Step 5 - Verify if we can Patch an Application module using modular jar [2023-04-19T01:12:28.126Z] STF 09:12:28.258 - | Run foreground process [2023-04-19T01:12:28.126Z] STF 09:12:28.258 - | Program: C:/Users/Jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/openjdkbinary/j2sdk-image/bin/java [2023-04-19T01:12:28.126Z] STF 09:12:28.258 - | Mnemonic: OT22 [2023-04-19T01:12:28.126Z] STF 09:12:28.258 - | Echo: ECHO_ON [2023-04-19T01:12:28.126Z] STF 09:12:28.258 - | Expectation: CLEAN_RUN within 1m [2023-04-19T01:12:28.126Z] STF 09:12:28.258 - | [2023-04-19T01:12:28.126Z] STF 09:12:28.258 - 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_0/20230419-091226-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:28.126Z] STF 09:12:28.258 - Redirecting stderr to C:/Users/Jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_16818585182808/PatMod_AppMod_0/20230419-091226-PatModTest/results/5.OT22.stderr [2023-04-19T01:12:28.126Z] STF 09:12:28.258 - Redirecting stdout to C:/Users/Jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_16818585182808/PatMod_AppMod_0/20230419-091226-PatModTest/results/5.OT22.stdout [2023-04-19T01:12:28.126Z] STF 09:12:28.260 - Monitoring processes: OT22 [2023-04-19T01:12:28.451Z] 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_0\20230419-091226-PatModTest\modules\1.com.hello.jar [2023-04-19T01:12:28.451Z] OT22 JUnit version 4.12 [2023-04-19T01:12:28.451Z] OT22 . [2023-04-19T01:12:28.451Z] OT22 Time: 0.004 [2023-04-19T01:12:28.451Z] OT22 [2023-04-19T01:12:28.451Z] OT22 OK (1 test) [2023-04-19T01:12:28.451Z] OT22 [2023-04-19T01:12:28.451Z] STF 09:12:28.535 - Monitoring Report Summary: [2023-04-19T01:12:28.451Z] STF 09:12:28.535 - o Process OT22 ended with the expected exit code (0) [2023-04-19T01:12:28.451Z] STF 09:12:28.535 - EXECUTE stage completed [2023-04-19T01:12:28.451Z] STF 09:12:28.544 - [2023-04-19T01:12:28.451Z] STF 09:12:28.544 - ==================== T E A R D O W N ==================== [2023-04-19T01:12:28.451Z] STF 09:12:28.544 - Running teardown: perl C:/Users/Jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/aqa-tests/\TKG\output_16818585182808\PatMod_AppMod_0/20230419-091226-PatModTest/tearDown.pl [2023-04-19T01:12:28.777Z] STF 09:12:28.642 - TEARDOWN stage completed [2023-04-19T01:12:28.777Z] STF 09:12:28.653 - [2023-04-19T01:12:28.777Z] STF 09:12:28.653 - ===================== R E S U L T S ===================== [2023-04-19T01:12:28.777Z] STF 09:12:28.653 - Stage results: [2023-04-19T01:12:28.777Z] STF 09:12:28.653 - setUp: pass [2023-04-19T01:12:28.777Z] STF 09:12:28.653 - execute: pass [2023-04-19T01:12:28.777Z] STF 09:12:28.653 - teardown: pass [2023-04-19T01:12:28.777Z] STF 09:12:28.653 - [2023-04-19T01:12:28.777Z] STF 09:12:28.653 - Overall result: PASSED [2023-04-19T01:12:28.777Z] ----------------------------------- [2023-04-19T01:12:28.777Z] PatMod_AppMod_0_PASSED [2023-04-19T01:12:28.777Z] ----------------------------------- [2023-04-19T01:12:28.777Z] [2023-04-19T01:12:28.777Z] TEST TEARDOWN: [2023-04-19T01:12:28.777Z] Nothing to be done for teardown. [2023-04-19T01:12:28.777Z] PatMod_AppMod_0 Finish Time: Wed Apr 19 09:12:28 2023 Epoch Time (ms): 1681866748719