PatMod_AppMod_0

[2024-07-12T22:59:14.880Z] Running test PatMod_AppMod_0 ... [2024-07-12T22:59:15.192Z] =============================================== [2024-07-12T22:59:15.502Z] PatMod_AppMod_0 Start Time: Fri Jul 12 22:59:15 2024 Epoch Time (ms): 1720825155207 [2024-07-12T22:59:15.813Z] variation: Mode150 [2024-07-12T22:59:16.203Z] JVM_OPTIONS: -XX:+UseCompressedOops [2024-07-12T22:59:16.204Z] { \ [2024-07-12T22:59:16.204Z] echo ""; echo "TEST SETUP:"; \ [2024-07-12T22:59:16.204Z] echo "Nothing to be done for setup."; \ [2024-07-12T22:59:16.204Z] mkdir -p "C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17208229618172\\PatMod_AppMod_0"; \ [2024-07-12T22:59:16.204Z] cd "C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17208229618172\\PatMod_AppMod_0"; \ [2024-07-12T22:59:16.204Z] echo ""; echo "TESTING:"; \ [2024-07-12T22:59:16.204Z] perl C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests///..//jvmtest\\system\\modularity/../\\STF\\stf.core\\scripts\\stf.pl -test-root="C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests///..//jvmtest\\system\\modularity/../\\STF;C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests///..//jvmtest\\system\\modularity/../\\aqa-systemtest""" -systemtest-prereqs="C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests///..//jvmtest\\system\\modularity/../\\systemtest_prereqs" -java-args=' -XX:+UseCompressedOops ' -results-root="C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17208229618172\\PatMod_AppMod_0" -test=PatModTest -test-args="variant=AppMod"; \ [2024-07-12T22:59:16.204Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatMod_AppMod_0""_PASSED"; echo "-----------------------------------"; cd C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/; rm -f -r "C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17208229618172\\PatMod_AppMod_0"; else echo "-----------------------------------"; echo "PatMod_AppMod_0""_FAILED"; echo "-----------------------------------"; fi; \ [2024-07-12T22:59:16.204Z] echo ""; echo "TEST TEARDOWN:"; \ [2024-07-12T22:59:16.204Z] echo "Nothing to be done for teardown."; \ [2024-07-12T22:59:16.204Z] } 2>&1 | tee -a "C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17208229618172\\TestTargetResult"; [2024-07-12T22:59:16.204Z] [2024-07-12T22:59:16.204Z] TEST SETUP: [2024-07-12T22:59:16.204Z] Nothing to be done for setup. [2024-07-12T22:59:16.204Z] [2024-07-12T22:59:16.204Z] TESTING: [2024-07-12T22:59:16.527Z] STF 22:59:16.362 - ========================= S T F ========================= [2024-07-12T22:59:16.527Z] systemtest-prereqs has been processed, and set to: C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jvmtest/system/systemtest_prereqsRetrieving amount of free space on drive containing C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17208229618172\PatMod_AppMod_0 [2024-07-12T22:59:16.527Z] There is 95543 Mb free [2024-07-12T22:59:16.527Z] STF 22:59:16.406 - ================== G E N E R A T I O N ================== [2024-07-12T22:59:16.527Z] STF 22:59:16.409 - Checking JVM: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image [2024-07-12T22:59:16.527Z] STF 22:59:16.409 - Starting process to generate scripts: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java -Dlog4j.skipJansi=true -Djava.system.class.loader=net.adoptopenjdk.stf.runner.StfClassLoader -classpath C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests///..//jvmtest\system\modularity/../\systemtest_prereqs/log4j/log4j-api.jar;C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests///..//jvmtest\system\modularity/../\systemtest_prereqs/log4j/log4j-core.jar;C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17208229618172\PatMod_AppMod_0/20240712-225916-PatModTest/stf_parameters.properties, , C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17208229618172\PatMod_AppMod_0/20240712-225916-PatModTest" [2024-07-12T22:59:17.634Z] GEN 22:59:17.468 - Found test. Project: 'openjdk.test.modularity' class: 'PatModTest.class' Dir: 'C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin' [2024-07-12T22:59:17.634Z] GEN 22:59:17.485 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModTest' [2024-07-12T22:59:17.953Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2024-07-12T22:59:17.954Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayService [2024-07-12T22:59:17.954Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper [2024-07-12T22:59:17.954Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl1 [2024-07-12T22:59:17.954Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet [2024-07-12T22:59:17.954Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello [2024-07-12T22:59:17.954Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola [2024-07-12T22:59:17.954Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl2 [2024-07-12T22:59:17.954Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hi [2024-07-12T22:59:17.954Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override [2024-07-12T22:59:17.954Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override-new [2024-07-12T22:59:17.954Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl3 [2024-07-12T22:59:17.954Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl4 [2024-07-12T22:59:17.954Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common [2024-07-12T22:59:17.954Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests [2024-07-12T22:59:17.954Z] GEN C:\\jenkins\\workspace\\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin [2024-07-12T22:59:17.954Z] GEN C:\\jenkins\\workspace\\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\\jvmtest\\system\\STF\\stf.core\\bin [2024-07-12T22:59:17.954Z] GEN C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jvmtest/system/systemtest_prereqs/log4j/log4j-api.jar [2024-07-12T22:59:17.954Z] GEN C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jvmtest/system/systemtest_prereqs/log4j/log4j-core.jar [2024-07-12T22:59:17.954Z] GEN C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jvmtest/system/systemtest_prereqs/junit/junit.jar [2024-07-12T22:59:17.954Z] GEN 22:59:17.745 - Using Mode NoOptions. Values = '' [2024-07-12T22:59:17.954Z] GEN 22:59:17.866 - [2024-07-12T22:59:17.954Z] GEN 22:59:17.866 - Test command summary: [2024-07-12T22:59:17.954Z] GEN 22:59:17.869 - Step Stage Command Description [2024-07-12T22:59:17.954Z] GEN 22:59:17.870 - -----+--------+-----------------+------------ [2024-07-12T22:59:17.954Z] GEN 22:59:17.870 - 1 execute jar Create com.hello jar [2024-07-12T22:59:17.954Z] GEN 22:59:17.870 - 2 execute jar Create com.discreet jar [2024-07-12T22:59:17.954Z] GEN 22:59:17.870 - 3 execute jar create java.xml.jar [2024-07-12T22:59:17.954Z] GEN 22:59:17.870 - 4 execute Run java Verify if we can patch an Application module using exploded directoryy [2024-07-12T22:59:17.954Z] GEN 22:59:17.870 - 5 execute Run java Verify if we can Patch an Application module using modular jar [2024-07-12T22:59:17.954Z] STF 22:59:17.910 - [2024-07-12T22:59:17.954Z] STF 22:59:17.910 - Script generation completed [2024-07-12T22:59:17.954Z] STF 22:59:17.910 - [2024-07-12T22:59:17.954Z] STF 22:59:17.911 - [2024-07-12T22:59:17.954Z] STF 22:59:17.911 - ======================= S E T U P ======================= [2024-07-12T22:59:17.954Z] STF 22:59:17.911 - Running setup: perl C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17208229618172\PatMod_AppMod_0/20240712-225916-PatModTest/setUp.pl [2024-07-12T22:59:18.276Z] STF 22:59:18.043 - SETUP stage completed [2024-07-12T22:59:18.276Z] STF 22:59:18.058 - [2024-07-12T22:59:18.276Z] STF 22:59:18.058 - ==================== E X E C U T E - ==================== [2024-07-12T22:59:18.276Z] STF 22:59:18.058 - Running execute: perl C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17208229618172\PatMod_AppMod_0/20240712-225916-PatModTest/execute.pl [2024-07-12T22:59:18.276Z] STF 22:59:18.195 - [2024-07-12T22:59:18.276Z] STF 22:59:18.195 - Java version [2024-07-12T22:59:18.276Z] STF 22:59:18.195 - Running: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java -version [2024-07-12T22:59:18.603Z] openjdk version "11.0.24" 2024-07-16 [2024-07-12T22:59:18.603Z] OpenJDK Runtime Environment Temurin-11.0.24+6 (build 11.0.24+6) [2024-07-12T22:59:18.603Z] OpenJDK 64-Bit Server VM Temurin-11.0.24+6 (build 11.0.24+6, mixed mode) [2024-07-12T22:59:18.603Z] STF 22:59:18.321 - [2024-07-12T22:59:18.603Z] STF 22:59:18.321 - +------ Step 1 - Create com.hello jar [2024-07-12T22:59:18.603Z] STF 22:59:18.321 - | Create modular jar [2024-07-12T22:59:18.603Z] STF 22:59:18.321 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2024-07-12T22:59:18.603Z] STF 22:59:18.321 - | ModuleVersion: null [2024-07-12T22:59:18.603Z] STF 22:59:18.321 - | MainClass: null [2024-07-12T22:59:18.603Z] STF 22:59:18.321 - | HashModules: null [2024-07-12T22:59:18.603Z] STF 22:59:18.321 - | [2024-07-12T22:59:18.603Z] STF 22:59:18.321 - Running command: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17208229618172/PatMod_AppMod_0/20240712-225916-PatModTest/modules/1.com.hello.jar -C C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.hello . [2024-07-12T22:59:18.603Z] STF 22:59:18.322 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17208229618172/PatMod_AppMod_0/20240712-225916-PatModTest/results/1.CMJ.stderr [2024-07-12T22:59:18.603Z] STF 22:59:18.322 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17208229618172/PatMod_AppMod_0/20240712-225916-PatModTest/results/1.CMJ.stdout [2024-07-12T22:59:18.603Z] STF 22:59:18.348 - Monitoring processes: CMJ [2024-07-12T22:59:18.924Z] STF 22:59:18.626 - Monitoring Report Summary: [2024-07-12T22:59:18.924Z] STF 22:59:18.626 - o Process CMJ ended with the expected exit code (0) [2024-07-12T22:59:18.924Z] STF 22:59:18.626 - Created modular jar: 1.com.hello.jar [2024-07-12T22:59:18.924Z] STF 22:59:18.626 - [2024-07-12T22:59:18.924Z] STF 22:59:18.626 - +------ Step 2 - Create com.discreet jar [2024-07-12T22:59:18.924Z] STF 22:59:18.626 - | Create modular jar [2024-07-12T22:59:18.924Z] STF 22:59:18.626 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.discreet [2024-07-12T22:59:18.924Z] STF 22:59:18.626 - | ModuleVersion: null [2024-07-12T22:59:18.924Z] STF 22:59:18.626 - | MainClass: null [2024-07-12T22:59:18.924Z] STF 22:59:18.626 - | HashModules: null [2024-07-12T22:59:18.924Z] STF 22:59:18.626 - | [2024-07-12T22:59:18.924Z] STF 22:59:18.627 - Running command: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17208229618172/PatMod_AppMod_0/20240712-225916-PatModTest/modules/2.com.discreet.jar -C C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.discreet . [2024-07-12T22:59:18.924Z] STF 22:59:18.627 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17208229618172/PatMod_AppMod_0/20240712-225916-PatModTest/results/2.CMJ.stderr [2024-07-12T22:59:18.924Z] STF 22:59:18.627 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17208229618172/PatMod_AppMod_0/20240712-225916-PatModTest/results/2.CMJ.stdout [2024-07-12T22:59:18.924Z] STF 22:59:18.632 - Monitoring processes: CMJ [2024-07-12T22:59:19.245Z] STF 22:59:18.910 - Monitoring Report Summary: [2024-07-12T22:59:19.245Z] STF 22:59:18.910 - o Process CMJ ended with the expected exit code (0) [2024-07-12T22:59:19.245Z] STF 22:59:18.910 - Created modular jar: 2.com.discreet.jar [2024-07-12T22:59:19.245Z] STF 22:59:18.910 - [2024-07-12T22:59:19.245Z] STF 22:59:18.910 - +------ Step 3 - create java.xml.jar [2024-07-12T22:59:19.245Z] STF 22:59:18.910 - | Create modular jar [2024-07-12T22:59:19.245Z] STF 22:59:18.910 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml [2024-07-12T22:59:19.245Z] STF 22:59:18.910 - | ModuleVersion: null [2024-07-12T22:59:19.245Z] STF 22:59:18.910 - | MainClass: null [2024-07-12T22:59:19.245Z] STF 22:59:18.910 - | HashModules: null [2024-07-12T22:59:19.245Z] STF 22:59:18.910 - | [2024-07-12T22:59:19.245Z] STF 22:59:18.911 - Running command: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17208229618172/PatMod_AppMod_0/20240712-225916-PatModTest/modules/3.java.xml.jar -C C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\java.xml . [2024-07-12T22:59:19.245Z] STF 22:59:18.911 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17208229618172/PatMod_AppMod_0/20240712-225916-PatModTest/results/3.CMJ.stderr [2024-07-12T22:59:19.245Z] STF 22:59:18.911 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17208229618172/PatMod_AppMod_0/20240712-225916-PatModTest/results/3.CMJ.stdout [2024-07-12T22:59:19.245Z] STF 22:59:18.917 - Monitoring processes: CMJ [2024-07-12T22:59:19.245Z] STF 22:59:19.191 - Monitoring Report Summary: [2024-07-12T22:59:19.245Z] STF 22:59:19.191 - o Process CMJ ended with the expected exit code (0) [2024-07-12T22:59:19.245Z] STF 22:59:19.191 - Created modular jar: 3.java.xml.jar [2024-07-12T22:59:19.245Z] STF 22:59:19.191 - [2024-07-12T22:59:19.245Z] STF 22:59:19.191 - +------ Step 4 - Verify if we can patch an Application module using exploded directoryy [2024-07-12T22:59:19.245Z] STF 22:59:19.191 - | Run foreground process [2024-07-12T22:59:19.245Z] STF 22:59:19.191 - | Program: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java [2024-07-12T22:59:19.245Z] STF 22:59:19.191 - | Mnemonic: OT21 [2024-07-12T22:59:19.245Z] STF 22:59:19.191 - | Echo: ECHO_ON [2024-07-12T22:59:19.245Z] STF 22:59:19.191 - | Expectation: CLEAN_RUN within 1m [2024-07-12T22:59:19.245Z] STF 22:59:19.191 - | [2024-07-12T22:59:19.245Z] STF 22:59:19.192 - Running command: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java --add-reads com.test=ALL-UNNAMED --module-path C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods;C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests --add-modules=com.test --patch-module com.hello=C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.hello -XX:+UseCompressedOops -classpath C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jvmtest/system/systemtest_prereqs/junit/junit.jar;C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jvmtest/system/systemtest_prereqs/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingAppModule [2024-07-12T22:59:19.245Z] STF 22:59:19.192 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17208229618172/PatMod_AppMod_0/20240712-225916-PatModTest/results/4.OT21.stderr [2024-07-12T22:59:19.245Z] STF 22:59:19.192 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17208229618172/PatMod_AppMod_0/20240712-225916-PatModTest/results/4.OT21.stdout [2024-07-12T22:59:19.245Z] STF 22:59:19.197 - Monitoring processes: OT21 [2024-07-12T22:59:19.568Z] OT21 stderr WARNING: module-info.class ignored in patch: C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.hello [2024-07-12T22:59:19.568Z] OT21 JUnit version 4.12 [2024-07-12T22:59:19.892Z] OT21 . [2024-07-12T22:59:19.893Z] OT21 Time: 0.005 [2024-07-12T22:59:19.893Z] OT21 [2024-07-12T22:59:19.893Z] OT21 OK (1 test) [2024-07-12T22:59:19.893Z] OT21 [2024-07-12T22:59:19.893Z] STF 22:59:19.566 - Monitoring Report Summary: [2024-07-12T22:59:19.893Z] STF 22:59:19.566 - o Process OT21 ended with the expected exit code (0) [2024-07-12T22:59:19.893Z] STF 22:59:19.567 - [2024-07-12T22:59:19.893Z] STF 22:59:19.567 - +------ Step 5 - Verify if we can Patch an Application module using modular jar [2024-07-12T22:59:19.893Z] STF 22:59:19.567 - | Run foreground process [2024-07-12T22:59:19.893Z] STF 22:59:19.567 - | Program: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java [2024-07-12T22:59:19.893Z] STF 22:59:19.567 - | Mnemonic: OT22 [2024-07-12T22:59:19.893Z] STF 22:59:19.567 - | Echo: ECHO_ON [2024-07-12T22:59:19.893Z] STF 22:59:19.567 - | Expectation: CLEAN_RUN within 1m [2024-07-12T22:59:19.893Z] STF 22:59:19.567 - | [2024-07-12T22:59:19.893Z] STF 22:59:19.567 - Running command: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java --add-reads com.test=ALL-UNNAMED --module-path C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods;C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests --add-modules=com.test --patch-module com.hello=C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17208229618172/PatMod_AppMod_0/20240712-225916-PatModTest/modules/1.com.hello.jar -XX:+UseCompressedOops -classpath C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jvmtest/system/systemtest_prereqs/junit/junit.jar;C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jvmtest/system/systemtest_prereqs/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingAppModule [2024-07-12T22:59:19.893Z] STF 22:59:19.567 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17208229618172/PatMod_AppMod_0/20240712-225916-PatModTest/results/5.OT22.stderr [2024-07-12T22:59:19.893Z] STF 22:59:19.567 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17208229618172/PatMod_AppMod_0/20240712-225916-PatModTest/results/5.OT22.stdout [2024-07-12T22:59:19.893Z] STF 22:59:19.572 - Monitoring processes: OT22 [2024-07-12T22:59:19.893Z] OT22 stderr WARNING: module-info.class ignored in patch: C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\aqa-tests\TKG\output_17208229618172\PatMod_AppMod_0\20240712-225916-PatModTest\modules\1.com.hello.jar [2024-07-12T22:59:19.893Z] OT22 JUnit version 4.12 [2024-07-12T22:59:20.249Z] OT22 . [2024-07-12T22:59:20.249Z] OT22 Time: 0.005 [2024-07-12T22:59:20.249Z] OT22 [2024-07-12T22:59:20.249Z] OT22 OK (1 test) [2024-07-12T22:59:20.249Z] OT22 [2024-07-12T22:59:20.249Z] STF 22:59:19.929 - Monitoring Report Summary: [2024-07-12T22:59:20.249Z] STF 22:59:19.929 - o Process OT22 ended with the expected exit code (0) [2024-07-12T22:59:20.249Z] STF 22:59:19.929 - EXECUTE stage completed [2024-07-12T22:59:20.249Z] STF 22:59:19.944 - [2024-07-12T22:59:20.249Z] STF 22:59:19.944 - ==================== T E A R D O W N ==================== [2024-07-12T22:59:20.249Z] STF 22:59:19.944 - Running teardown: perl C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17208229618172\PatMod_AppMod_0/20240712-225916-PatModTest/tearDown.pl [2024-07-12T22:59:20.249Z] STF 22:59:20.077 - TEARDOWN stage completed [2024-07-12T22:59:20.249Z] STF 22:59:20.090 - [2024-07-12T22:59:20.249Z] STF 22:59:20.090 - ===================== R E S U L T S ===================== [2024-07-12T22:59:20.249Z] STF 22:59:20.090 - Stage results: [2024-07-12T22:59:20.249Z] STF 22:59:20.090 - setUp: pass [2024-07-12T22:59:20.249Z] STF 22:59:20.090 - execute: pass [2024-07-12T22:59:20.249Z] STF 22:59:20.090 - teardown: pass [2024-07-12T22:59:20.249Z] STF 22:59:20.090 - [2024-07-12T22:59:20.249Z] STF 22:59:20.090 - Overall result: PASSED [2024-07-12T22:59:20.249Z] ----------------------------------- [2024-07-12T22:59:20.249Z] PatMod_AppMod_0_PASSED [2024-07-12T22:59:20.249Z] ----------------------------------- [2024-07-12T22:59:20.602Z] [2024-07-12T22:59:20.602Z] TEST TEARDOWN: [2024-07-12T22:59:20.602Z] Nothing to be done for teardown. [2024-07-12T22:59:20.602Z] PatMod_AppMod_0 Finish Time: Fri Jul 12 22:59:20 2024 Epoch Time (ms): 1720825160353