PatModImg_AppMod_2

[2023-04-19T02:11:45.496Z] Running test PatModImg_AppMod_2 ... [2023-04-19T02:11:45.496Z] =============================================== [2023-04-19T02:11:45.496Z] PatModImg_AppMod_2 Start Time: Wed Apr 19 02:11:45 2023 Epoch Time (ms): 1681870305178 [2023-04-19T02:11:45.496Z] variation: Mode1000 [2023-04-19T02:11:45.496Z] JVM_OPTIONS: [2023-04-19T02:11:45.496Z] { \ [2023-04-19T02:11:45.496Z] echo ""; echo "TEST SETUP:"; \ [2023-04-19T02:11:45.496Z] echo "Nothing to be done for setup."; \ [2023-04-19T02:11:45.496Z] mkdir -p "J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/\\TKG\\output_16818662795666\\PatModImg_AppMod_2"; \ [2023-04-19T02:11:45.496Z] cd "J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/\\TKG\\output_16818662795666\\PatModImg_AppMod_2"; \ [2023-04-19T02:11:45.496Z] echo ""; echo "TESTING:"; \ [2023-04-19T02:11:45.496Z] perl J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests///..//jvmtest\\system\\modularity/../\\STF\\stf.core\\scripts\\stf.pl -test-root="J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests///..//jvmtest\\system\\modularity/../\\STF;J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests///..//jvmtest\\system\\modularity/../\\aqa-systemtest""" -systemtest-prereqs="J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests///..//jvmtest\\system\\modularity/../\\systemtest_prereqs" -java-args=' ' -results-root="J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/\\TKG\\output_16818662795666\\PatModImg_AppMod_2" -test=PatModImgTest -test-args="variant=AppMod"; \ [2023-04-19T02:11:45.496Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatModImg_AppMod_2""_PASSED"; echo "-----------------------------------"; cd J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/; rm -f -r "J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/\\TKG\\output_16818662795666\\PatModImg_AppMod_2"; else echo "-----------------------------------"; echo "PatModImg_AppMod_2""_FAILED"; echo "-----------------------------------"; fi; \ [2023-04-19T02:11:45.496Z] echo ""; echo "TEST TEARDOWN:"; \ [2023-04-19T02:11:45.496Z] echo "Nothing to be done for teardown."; \ [2023-04-19T02:11:45.496Z] } 2>&1 | tee -a "J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/\\TKG\\output_16818662795666\\TestTargetResult"; [2023-04-19T02:11:45.496Z] [2023-04-19T02:11:45.496Z] TEST SETUP: [2023-04-19T02:11:45.496Z] Nothing to be done for setup. [2023-04-19T02:11:45.496Z] [2023-04-19T02:11:45.496Z] TESTING: [2023-04-19T02:11:45.808Z] STF 02:11:45.434 - ========================= S T F ========================= [2023-04-19T02:11:45.808Z] systemtest-prereqs has been processed, and set to: J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/jvmtest/system/systemtest_prereqsRetrieving amount of free space on drive containing J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/\TKG\output_16818662795666\PatModImg_AppMod_2 [2023-04-19T02:11:45.808Z] There is 937320 Mb free [2023-04-19T02:11:45.808Z] STF 02:11:45.449 - ================== G E N E R A T I O N ================== [2023-04-19T02:11:45.808Z] STF 02:11:45.457 - Checking JVM: J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/openjdkbinary/j2sdk-image [2023-04-19T02:11:45.808Z] STF 02:11:45.457 - Starting process to generate scripts: J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/openjdkbinary/j2sdk-image/bin/java -Dlog4j.skipJansi=true -Djava.system.class.loader=net.adoptopenjdk.stf.runner.StfClassLoader -classpath J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests///..//jvmtest\system\modularity/../\systemtest_prereqs/log4j/log4j-api.jar;J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests///..//jvmtest\system\modularity/../\systemtest_prereqs/log4j/log4j-core.jar;J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/\TKG\output_16818662795666\PatModImg_AppMod_2/20230419-021145-PatModImgTest/stf_parameters.properties, , J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/\TKG\output_16818662795666\PatModImg_AppMod_2/20230419-021145-PatModImgTest" [2023-04-19T02:11:46.482Z] GEN 02:11:46.253 - Found test. Project: 'openjdk.test.modularity' class: 'PatModImgTest.class' Dir: 'J:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin' [2023-04-19T02:11:46.482Z] GEN 02:11:46.260 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModImgTest' [2023-04-19T02:11:46.794Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2023-04-19T02:11:46.794Z] GEN J:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayService [2023-04-19T02:11:46.794Z] GEN J:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper [2023-04-19T02:11:46.794Z] GEN J:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl1 [2023-04-19T02:11:46.794Z] GEN J:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet [2023-04-19T02:11:46.794Z] GEN J:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello [2023-04-19T02:11:46.794Z] GEN J:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola [2023-04-19T02:11:46.794Z] GEN J:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl2 [2023-04-19T02:11:46.794Z] GEN J:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hi [2023-04-19T02:11:46.794Z] GEN J:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override [2023-04-19T02:11:46.794Z] GEN J:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override-new [2023-04-19T02:11:46.794Z] GEN J:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl3 [2023-04-19T02:11:46.794Z] GEN J:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl4 [2023-04-19T02:11:46.794Z] GEN J:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common [2023-04-19T02:11:46.794Z] GEN J:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests [2023-04-19T02:11:46.794Z] GEN J:\\jenkins\\workspace\\Test_openjdk17_hs_sanity.system_x86-32_windows\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin [2023-04-19T02:11:46.794Z] GEN J:\\jenkins\\workspace\\Test_openjdk17_hs_sanity.system_x86-32_windows\\jvmtest\\system\\STF\\stf.core\\bin [2023-04-19T02:11:46.794Z] GEN J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/jvmtest/system/systemtest_prereqs/log4j/log4j-api.jar [2023-04-19T02:11:46.794Z] GEN J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/jvmtest/system/systemtest_prereqs/log4j/log4j-core.jar [2023-04-19T02:11:46.794Z] GEN J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/jvmtest/system/systemtest_prereqs/junit/junit.jar [2023-04-19T02:11:46.794Z] GEN 02:11:46.431 - Using Mode NoOptions. Values = '' [2023-04-19T02:11:46.794Z] GEN 02:11:46.511 - [2023-04-19T02:11:46.794Z] GEN 02:11:46.511 - Test command summary: [2023-04-19T02:11:46.794Z] GEN 02:11:46.512 - Step Stage Command Description [2023-04-19T02:11:46.794Z] GEN 02:11:46.512 - -----+--------+-----------------+------------ [2023-04-19T02:11:46.794Z] GEN 02:11:46.512 - 1 execute jar Create com.hello jar [2023-04-19T02:11:46.794Z] GEN 02:11:46.512 - 2 execute jar Create com.hola jar [2023-04-19T02:11:46.794Z] GEN 02:11:46.512 - 3 execute jar Create com.helper jar [2023-04-19T02:11:46.794Z] GEN 02:11:46.512 - 4 execute jar Create com.discreet jar [2023-04-19T02:11:46.794Z] GEN 02:11:46.512 - 5 execute jar Create tests jar [2023-04-19T02:11:46.794Z] GEN 02:11:46.512 - 6 execute jlink Create runtime image for PatchModule test [2023-04-19T02:11:46.794Z] GEN 02:11:46.512 - 7 execute jar Create com.hello jar [2023-04-19T02:11:46.794Z] GEN 02:11:46.512 - 8 execute jar create java.xml.jar [2023-04-19T02:11:46.794Z] GEN 02:11:46.512 - 9 execute Run java Verify if we can patch an Application module using exploded directory [2023-04-19T02:11:46.794Z] GEN 02:11:46.512 - 10 execute Run java Verify if we can patch an Application module using modular jar [2023-04-19T02:11:46.794Z] STF 02:11:46.531 - [2023-04-19T02:11:46.794Z] STF 02:11:46.531 - Script generation completed [2023-04-19T02:11:46.794Z] STF 02:11:46.531 - [2023-04-19T02:11:46.794Z] STF 02:11:46.531 - [2023-04-19T02:11:46.794Z] STF 02:11:46.531 - ======================= S E T U P ======================= [2023-04-19T02:11:46.794Z] STF 02:11:46.531 - Running setup: perl J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/\TKG\output_16818662795666\PatModImg_AppMod_2/20230419-021145-PatModImgTest/setUp.pl [2023-04-19T02:11:47.106Z] STF 02:11:46.674 - SETUP stage completed [2023-04-19T02:11:47.106Z] STF 02:11:46.682 - [2023-04-19T02:11:47.106Z] STF 02:11:46.682 - ==================== E X E C U T E - ==================== [2023-04-19T02:11:47.106Z] STF 02:11:46.682 - Running execute: perl J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/\TKG\output_16818662795666\PatModImg_AppMod_2/20230419-021145-PatModImgTest/execute.pl [2023-04-19T02:11:47.106Z] STF 02:11:46.818 - [2023-04-19T02:11:47.106Z] STF 02:11:46.819 - Java version [2023-04-19T02:11:47.106Z] STF 02:11:46.819 - Running: J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/openjdkbinary/j2sdk-image/bin/java -version [2023-04-19T02:11:47.106Z] openjdk version "17.0.7" 2023-04-18 [2023-04-19T02:11:47.106Z] OpenJDK Runtime Environment Temurin-17.0.7+7 (build 17.0.7+7) [2023-04-19T02:11:47.106Z] OpenJDK Client VM Temurin-17.0.7+7 (build 17.0.7+7, mixed mode, emulated-client) [2023-04-19T02:11:47.417Z] STF 02:11:46.909 - [2023-04-19T02:11:47.417Z] STF 02:11:46.909 - +------ Step 1 - Create com.hello jar [2023-04-19T02:11:47.417Z] STF 02:11:46.909 - | Create modular jar [2023-04-19T02:11:47.417Z] STF 02:11:46.909 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2023-04-19T02:11:47.417Z] STF 02:11:46.909 - | ModuleVersion: null [2023-04-19T02:11:47.417Z] STF 02:11:46.909 - | MainClass: null [2023-04-19T02:11:47.417Z] STF 02:11:46.909 - | HashModules: null [2023-04-19T02:11:47.418Z] STF 02:11:46.909 - | [2023-04-19T02:11:47.418Z] STF 02:11:46.909 - Running command: J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/openjdkbinary/j2sdk-image/bin/jar --create --file J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/PatModImg_AppMod_2/20230419-021145-PatModImgTest/modules/1.com.hello.jar -C J:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello . [2023-04-19T02:11:47.418Z] STF 02:11:46.909 - Redirecting stderr to J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/PatModImg_AppMod_2/20230419-021145-PatModImgTest/results/1.CMJ.stderr [2023-04-19T02:11:47.418Z] STF 02:11:46.909 - Redirecting stdout to J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/PatModImg_AppMod_2/20230419-021145-PatModImgTest/results/1.CMJ.stdout [2023-04-19T02:11:47.418Z] STF 02:11:46.935 - Monitoring processes: CMJ [2023-04-19T02:11:47.418Z] STF 02:11:47.202 - Monitoring Report Summary: [2023-04-19T02:11:47.418Z] STF 02:11:47.202 - o Process CMJ ended with the expected exit code (0) [2023-04-19T02:11:47.418Z] STF 02:11:47.202 - Created modular jar: 1.com.hello.jar [2023-04-19T02:11:47.418Z] STF 02:11:47.202 - [2023-04-19T02:11:47.418Z] STF 02:11:47.202 - +------ Step 2 - Create com.hola jar [2023-04-19T02:11:47.418Z] STF 02:11:47.202 - | Create modular jar [2023-04-19T02:11:47.418Z] STF 02:11:47.202 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2023-04-19T02:11:47.418Z] STF 02:11:47.202 - | ModuleVersion: null [2023-04-19T02:11:47.418Z] STF 02:11:47.202 - | MainClass: null [2023-04-19T02:11:47.418Z] STF 02:11:47.202 - | HashModules: null [2023-04-19T02:11:47.418Z] STF 02:11:47.202 - | [2023-04-19T02:11:47.418Z] STF 02:11:47.203 - Running command: J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/openjdkbinary/j2sdk-image/bin/jar --create --file J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/PatModImg_AppMod_2/20230419-021145-PatModImgTest/modules/2.com.hola.jar -C J:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola . [2023-04-19T02:11:47.418Z] STF 02:11:47.203 - Redirecting stderr to J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/PatModImg_AppMod_2/20230419-021145-PatModImgTest/results/2.CMJ.stderr [2023-04-19T02:11:47.418Z] STF 02:11:47.203 - Redirecting stdout to J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/PatModImg_AppMod_2/20230419-021145-PatModImgTest/results/2.CMJ.stdout [2023-04-19T02:11:47.418Z] STF 02:11:47.204 - Monitoring processes: CMJ [2023-04-19T02:11:47.729Z] STF 02:11:47.491 - Monitoring Report Summary: [2023-04-19T02:11:47.729Z] STF 02:11:47.491 - o Process CMJ ended with the expected exit code (0) [2023-04-19T02:11:47.729Z] STF 02:11:47.491 - Created modular jar: 2.com.hola.jar [2023-04-19T02:11:47.729Z] STF 02:11:47.491 - [2023-04-19T02:11:47.729Z] STF 02:11:47.491 - +------ Step 3 - Create com.helper jar [2023-04-19T02:11:47.729Z] STF 02:11:47.491 - | Create modular jar [2023-04-19T02:11:47.729Z] STF 02:11:47.491 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2023-04-19T02:11:47.729Z] STF 02:11:47.491 - | ModuleVersion: null [2023-04-19T02:11:47.729Z] STF 02:11:47.491 - | MainClass: null [2023-04-19T02:11:47.729Z] STF 02:11:47.491 - | HashModules: null [2023-04-19T02:11:47.729Z] STF 02:11:47.491 - | [2023-04-19T02:11:47.729Z] STF 02:11:47.492 - Running command: J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/openjdkbinary/j2sdk-image/bin/jar --create --file J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/PatModImg_AppMod_2/20230419-021145-PatModImgTest/modules/3.com.helper.jar -C J:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper . [2023-04-19T02:11:47.729Z] STF 02:11:47.492 - Redirecting stderr to J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/PatModImg_AppMod_2/20230419-021145-PatModImgTest/results/3.CMJ.stderr [2023-04-19T02:11:47.729Z] STF 02:11:47.492 - Redirecting stdout to J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/PatModImg_AppMod_2/20230419-021145-PatModImgTest/results/3.CMJ.stdout [2023-04-19T02:11:47.729Z] STF 02:11:47.493 - Monitoring processes: CMJ [2023-04-19T02:11:48.039Z] STF 02:11:47.776 - Monitoring Report Summary: [2023-04-19T02:11:48.039Z] STF 02:11:47.776 - o Process CMJ ended with the expected exit code (0) [2023-04-19T02:11:48.039Z] STF 02:11:47.776 - Created modular jar: 3.com.helper.jar [2023-04-19T02:11:48.039Z] STF 02:11:47.776 - [2023-04-19T02:11:48.039Z] STF 02:11:47.776 - +------ Step 4 - Create com.discreet jar [2023-04-19T02:11:48.039Z] STF 02:11:47.776 - | Create modular jar [2023-04-19T02:11:48.039Z] STF 02:11:47.776 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2023-04-19T02:11:48.039Z] STF 02:11:47.776 - | ModuleVersion: null [2023-04-19T02:11:48.039Z] STF 02:11:47.776 - | MainClass: null [2023-04-19T02:11:48.039Z] STF 02:11:47.776 - | HashModules: null [2023-04-19T02:11:48.039Z] STF 02:11:47.776 - | [2023-04-19T02:11:48.039Z] STF 02:11:47.777 - Running command: J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/openjdkbinary/j2sdk-image/bin/jar --create --file J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/PatModImg_AppMod_2/20230419-021145-PatModImgTest/modules/4.com.discreet.jar -C J:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet . [2023-04-19T02:11:48.039Z] STF 02:11:47.777 - Redirecting stderr to J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/PatModImg_AppMod_2/20230419-021145-PatModImgTest/results/4.CMJ.stderr [2023-04-19T02:11:48.039Z] STF 02:11:47.777 - Redirecting stdout to J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/PatModImg_AppMod_2/20230419-021145-PatModImgTest/results/4.CMJ.stdout [2023-04-19T02:11:48.039Z] STF 02:11:47.781 - Monitoring processes: CMJ [2023-04-19T02:11:48.349Z] STF 02:11:48.056 - Monitoring Report Summary: [2023-04-19T02:11:48.349Z] STF 02:11:48.056 - o Process CMJ ended with the expected exit code (0) [2023-04-19T02:11:48.349Z] STF 02:11:48.056 - Created modular jar: 4.com.discreet.jar [2023-04-19T02:11:48.349Z] STF 02:11:48.056 - [2023-04-19T02:11:48.349Z] STF 02:11:48.056 - +------ Step 5 - Create tests jar [2023-04-19T02:11:48.349Z] STF 02:11:48.056 - | Create modular jar [2023-04-19T02:11:48.349Z] STF 02:11:48.056 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2023-04-19T02:11:48.349Z] STF 02:11:48.056 - | ModuleVersion: null [2023-04-19T02:11:48.349Z] STF 02:11:48.056 - | MainClass: null [2023-04-19T02:11:48.349Z] STF 02:11:48.056 - | HashModules: null [2023-04-19T02:11:48.349Z] STF 02:11:48.056 - | [2023-04-19T02:11:48.349Z] STF 02:11:48.056 - Running command: J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/openjdkbinary/j2sdk-image/bin/jar --create --file J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/PatModImg_AppMod_2/20230419-021145-PatModImgTest/modules/5.com.test.jar -C J:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests\com.test . [2023-04-19T02:11:48.349Z] STF 02:11:48.056 - Redirecting stderr to J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/PatModImg_AppMod_2/20230419-021145-PatModImgTest/results/5.CMJ.stderr [2023-04-19T02:11:48.349Z] STF 02:11:48.056 - Redirecting stdout to J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/PatModImg_AppMod_2/20230419-021145-PatModImgTest/results/5.CMJ.stdout [2023-04-19T02:11:48.349Z] STF 02:11:48.058 - Monitoring processes: CMJ [2023-04-19T02:11:48.659Z] STF 02:11:48.339 - Monitoring Report Summary: [2023-04-19T02:11:48.659Z] STF 02:11:48.339 - o Process CMJ ended with the expected exit code (0) [2023-04-19T02:11:48.659Z] STF 02:11:48.339 - Created modular jar: 5.com.test.jar [2023-04-19T02:11:48.659Z] STF 02:11:48.339 - [2023-04-19T02:11:48.659Z] STF 02:11:48.339 - +------ Step 6 - Create runtime image for PatchModule test [2023-04-19T02:11:48.659Z] STF 02:11:48.339 - | Run jlink to create runtime image [2023-04-19T02:11:48.659Z] STF 02:11:48.339 - | ImageName: XpJVM [2023-04-19T02:11:48.659Z] STF 02:11:48.339 - | [2023-04-19T02:11:48.659Z] STF 02:11:48.339 - Running command: J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/openjdkbinary/j2sdk-image/bin/jlink --module-path J:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\openjdkbinary\j2sdk-image\jmods;J:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\aqa-tests\TKG\output_16818662795666\PatModImg_AppMod_2\20230419-021145-PatModImgTest\modules --add-modules com.hello,com.hola,com.test,com.helper,com.discreet --output J:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\aqa-tests\TKG\output_16818662795666\PatModImg_AppMod_2\20230419-021145-PatModImgTest\tmp\6.XpJVM [2023-04-19T02:11:48.659Z] STF 02:11:48.339 - Redirecting stderr to J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/PatModImg_AppMod_2/20230419-021145-PatModImgTest/results/6.JLNK.stderr [2023-04-19T02:11:48.659Z] STF 02:11:48.339 - Redirecting stdout to J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/PatModImg_AppMod_2/20230419-021145-PatModImgTest/results/6.JLNK.stdout [2023-04-19T02:11:48.659Z] STF 02:11:48.341 - Monitoring processes: JLNK [2023-04-19T02:11:50.828Z] STF 02:11:50.324 - Monitoring Report Summary: [2023-04-19T02:11:50.828Z] STF 02:11:50.324 - o Process JLNK ended with the expected exit code (0) [2023-04-19T02:11:50.828Z] STF 02:11:50.324 - [2023-04-19T02:11:50.828Z] STF 02:11:50.324 - +------ Step 7 - Create com.hello jar [2023-04-19T02:11:50.828Z] STF 02:11:50.324 - | Create modular jar [2023-04-19T02:11:50.828Z] STF 02:11:50.324 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2023-04-19T02:11:50.828Z] STF 02:11:50.324 - | ModuleVersion: null [2023-04-19T02:11:50.828Z] STF 02:11:50.324 - | MainClass: null [2023-04-19T02:11:50.828Z] STF 02:11:50.324 - | HashModules: null [2023-04-19T02:11:50.828Z] STF 02:11:50.324 - | [2023-04-19T02:11:50.828Z] STF 02:11:50.324 - Running command: J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/openjdkbinary/j2sdk-image/bin/jar --create --file J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/PatModImg_AppMod_2/20230419-021145-PatModImgTest/modules/7.com.hello.jar -C J:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.hello . [2023-04-19T02:11:50.828Z] STF 02:11:50.324 - Redirecting stderr to J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/PatModImg_AppMod_2/20230419-021145-PatModImgTest/results/7.CMJ.stderr [2023-04-19T02:11:50.828Z] STF 02:11:50.324 - Redirecting stdout to J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/PatModImg_AppMod_2/20230419-021145-PatModImgTest/results/7.CMJ.stdout [2023-04-19T02:11:50.828Z] STF 02:11:50.326 - Monitoring processes: CMJ [2023-04-19T02:11:50.828Z] STF 02:11:50.592 - Monitoring Report Summary: [2023-04-19T02:11:50.828Z] STF 02:11:50.592 - o Process CMJ ended with the expected exit code (0) [2023-04-19T02:11:50.828Z] STF 02:11:50.592 - Created modular jar: 7.com.hello.jar [2023-04-19T02:11:50.828Z] STF 02:11:50.592 - [2023-04-19T02:11:50.828Z] STF 02:11:50.592 - +------ Step 8 - create java.xml.jar [2023-04-19T02:11:50.828Z] STF 02:11:50.592 - | Create modular jar [2023-04-19T02:11:50.828Z] STF 02:11:50.592 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml [2023-04-19T02:11:50.828Z] STF 02:11:50.592 - | ModuleVersion: null [2023-04-19T02:11:50.828Z] STF 02:11:50.592 - | MainClass: null [2023-04-19T02:11:50.828Z] STF 02:11:50.592 - | HashModules: null [2023-04-19T02:11:50.828Z] STF 02:11:50.592 - | [2023-04-19T02:11:50.828Z] STF 02:11:50.592 - Running command: J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/openjdkbinary/j2sdk-image/bin/jar --create --file J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/PatModImg_AppMod_2/20230419-021145-PatModImgTest/modules/8.java.xml.jar -C J:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\java.xml . [2023-04-19T02:11:50.828Z] STF 02:11:50.592 - Redirecting stderr to J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/PatModImg_AppMod_2/20230419-021145-PatModImgTest/results/8.CMJ.stderr [2023-04-19T02:11:50.828Z] STF 02:11:50.592 - Redirecting stdout to J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/PatModImg_AppMod_2/20230419-021145-PatModImgTest/results/8.CMJ.stdout [2023-04-19T02:11:50.828Z] STF 02:11:50.594 - Monitoring processes: CMJ [2023-04-19T02:11:51.140Z] STF 02:11:50.871 - Monitoring Report Summary: [2023-04-19T02:11:51.140Z] STF 02:11:50.871 - o Process CMJ ended with the expected exit code (0) [2023-04-19T02:11:51.140Z] STF 02:11:50.871 - Created modular jar: 8.java.xml.jar [2023-04-19T02:11:51.140Z] STF 02:11:50.871 - [2023-04-19T02:11:51.140Z] STF 02:11:50.871 - +------ Step 9 - Verify if we can patch an Application module using exploded directory [2023-04-19T02:11:51.140Z] STF 02:11:50.871 - | Run foreground process [2023-04-19T02:11:51.140Z] STF 02:11:50.871 - | Program: J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/PatModImg_AppMod_2/20230419-021145-PatModImgTest/tmp/6.XpJVM/bin/java [2023-04-19T02:11:51.140Z] STF 02:11:50.871 - | Mnemonic: OT21 [2023-04-19T02:11:51.140Z] STF 02:11:50.871 - | Echo: ECHO_ON [2023-04-19T02:11:51.140Z] STF 02:11:50.871 - | Expectation: CLEAN_RUN within 5m [2023-04-19T02:11:51.140Z] STF 02:11:50.871 - | [2023-04-19T02:11:51.140Z] STF 02:11:50.871 - Running command: J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/PatModImg_AppMod_2/20230419-021145-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module com.hello=J:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.hello -classpath J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/jvmtest/system/systemtest_prereqs/junit/junit.jar;J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/jvmtest/system/systemtest_prereqs/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingAppModule [2023-04-19T02:11:51.140Z] STF 02:11:50.871 - Redirecting stderr to J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/PatModImg_AppMod_2/20230419-021145-PatModImgTest/results/9.OT21.stderr [2023-04-19T02:11:51.140Z] STF 02:11:50.871 - Redirecting stdout to J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/PatModImg_AppMod_2/20230419-021145-PatModImgTest/results/9.OT21.stdout [2023-04-19T02:11:51.140Z] STF 02:11:50.884 - Monitoring processes: OT21 [2023-04-19T02:11:51.452Z] OT21 stderr WARNING: module-info.class ignored in patch: J:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.hello [2023-04-19T02:11:51.452Z] OT21 JUnit version 4.12 [2023-04-19T02:11:51.762Z] OT21 . [2023-04-19T02:11:51.762Z] OT21 Time: 0.006 [2023-04-19T02:11:51.762Z] OT21 [2023-04-19T02:11:51.762Z] OT21 OK (1 test) [2023-04-19T02:11:51.762Z] OT21 [2023-04-19T02:11:51.762Z] STF 02:11:51.311 - Monitoring Report Summary: [2023-04-19T02:11:51.762Z] STF 02:11:51.311 - o Process OT21 ended with the expected exit code (0) [2023-04-19T02:11:51.762Z] STF 02:11:51.311 - [2023-04-19T02:11:51.762Z] STF 02:11:51.311 - +------ Step 10 - Verify if we can patch an Application module using modular jar [2023-04-19T02:11:51.762Z] STF 02:11:51.311 - | Run foreground process [2023-04-19T02:11:51.762Z] STF 02:11:51.311 - | Program: J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/PatModImg_AppMod_2/20230419-021145-PatModImgTest/tmp/6.XpJVM/bin/java [2023-04-19T02:11:51.762Z] STF 02:11:51.311 - | Mnemonic: OT22 [2023-04-19T02:11:51.762Z] STF 02:11:51.311 - | Echo: ECHO_ON [2023-04-19T02:11:51.762Z] STF 02:11:51.311 - | Expectation: CLEAN_RUN within 5m [2023-04-19T02:11:51.762Z] STF 02:11:51.311 - | [2023-04-19T02:11:51.762Z] STF 02:11:51.311 - Running command: J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/PatModImg_AppMod_2/20230419-021145-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module com.hello=J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/PatModImg_AppMod_2/20230419-021145-PatModImgTest/modules/7.com.hello.jar -classpath J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/jvmtest/system/systemtest_prereqs/junit/junit.jar;J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/jvmtest/system/systemtest_prereqs/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingAppModule [2023-04-19T02:11:51.762Z] STF 02:11:51.311 - Redirecting stderr to J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/PatModImg_AppMod_2/20230419-021145-PatModImgTest/results/10.OT22.stderr [2023-04-19T02:11:51.762Z] STF 02:11:51.311 - Redirecting stdout to J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_16818662795666/PatModImg_AppMod_2/20230419-021145-PatModImgTest/results/10.OT22.stdout [2023-04-19T02:11:51.762Z] STF 02:11:51.315 - Monitoring processes: OT22 [2023-04-19T02:11:51.762Z] OT22 stderr WARNING: module-info.class ignored in patch: J:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\aqa-tests\TKG\output_16818662795666\PatModImg_AppMod_2\20230419-021145-PatModImgTest\modules\7.com.hello.jar [2023-04-19T02:11:51.762Z] OT22 JUnit version 4.12 [2023-04-19T02:11:52.074Z] OT22 . [2023-04-19T02:11:52.074Z] OT22 Time: 0.005 [2023-04-19T02:11:52.074Z] OT22 [2023-04-19T02:11:52.074Z] OT22 OK (1 test) [2023-04-19T02:11:52.074Z] OT22 [2023-04-19T02:11:52.074Z] STF 02:11:51.588 - Monitoring Report Summary: [2023-04-19T02:11:52.074Z] STF 02:11:51.588 - o Process OT22 ended with the expected exit code (0) [2023-04-19T02:11:52.074Z] STF 02:11:51.588 - EXECUTE stage completed [2023-04-19T02:11:52.074Z] STF 02:11:51.649 - [2023-04-19T02:11:52.074Z] STF 02:11:51.649 - ==================== T E A R D O W N ==================== [2023-04-19T02:11:52.074Z] STF 02:11:51.649 - Running teardown: perl J:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/\TKG\output_16818662795666\PatModImg_AppMod_2/20230419-021145-PatModImgTest/tearDown.pl [2023-04-19T02:11:52.074Z] STF 02:11:51.779 - TEARDOWN stage completed [2023-04-19T02:11:52.074Z] STF 02:11:51.788 - [2023-04-19T02:11:52.074Z] STF 02:11:51.788 - ===================== R E S U L T S ===================== [2023-04-19T02:11:52.074Z] STF 02:11:51.788 - Stage results: [2023-04-19T02:11:52.074Z] STF 02:11:51.788 - setUp: pass [2023-04-19T02:11:52.074Z] STF 02:11:51.788 - execute: pass [2023-04-19T02:11:52.074Z] STF 02:11:51.788 - teardown: pass [2023-04-19T02:11:52.074Z] STF 02:11:51.788 - [2023-04-19T02:11:52.074Z] STF 02:11:51.788 - Overall result: PASSED [2023-04-19T02:11:52.074Z] ----------------------------------- [2023-04-19T02:11:52.074Z] PatModImg_AppMod_2_PASSED [2023-04-19T02:11:52.074Z] ----------------------------------- [2023-04-19T02:11:52.074Z] [2023-04-19T02:11:52.074Z] TEST TEARDOWN: [2023-04-19T02:11:52.074Z] Nothing to be done for teardown. [2023-04-19T02:11:52.385Z] PatModImg_AppMod_2 Finish Time: Wed Apr 19 02:11:51 2023 Epoch Time (ms): 1681870311903