PatModImg_PlatMod_0

[2024-11-08T19:45:39.886Z] Running test PatModImg_PlatMod_0 ... [2024-11-08T19:45:39.886Z] =============================================== [2024-11-08T19:45:40.198Z] PatModImg_PlatMod_0 Start Time: Fri Nov 8 19:45:39 2024 Epoch Time (ms): 1731095139896 [2024-11-08T19:45:40.198Z] variation: Mode150 [2024-11-08T19:45:40.518Z] JVM_OPTIONS: -XX:+UseCompressedOops [2024-11-08T19:45:40.518Z] { \ [2024-11-08T19:45:40.518Z] echo ""; echo "TEST SETUP:"; \ [2024-11-08T19:45:40.518Z] echo "Nothing to be done for setup."; \ [2024-11-08T19:45:40.518Z] mkdir -p "C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17310933204988\\PatModImg_PlatMod_0"; \ [2024-11-08T19:45:40.518Z] cd "C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17310933204988\\PatModImg_PlatMod_0"; \ [2024-11-08T19:45:40.518Z] echo ""; echo "TESTING:"; \ [2024-11-08T19:45:40.518Z] perl C:/jenkins/workspace/Test_openjdk17_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_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests///..//jvmtest\\system\\modularity/../\\STF;C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests///..//jvmtest\\system\\modularity/../\\aqa-systemtest""" -systemtest-prereqs="c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/../../testDependency/system_lib\\" -java-args=' -XX:+UseCompressedOops ' -results-root="C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17310933204988\\PatModImg_PlatMod_0" -test=PatModImgTest -test-args="variant=PlatMod"; \ [2024-11-08T19:45:40.518Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatModImg_PlatMod_0""_PASSED"; echo "-----------------------------------"; cd C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/; rm -f -r "C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17310933204988\\PatModImg_PlatMod_0"; else echo "-----------------------------------"; echo "PatModImg_PlatMod_0""_FAILED"; echo "-----------------------------------"; fi; \ [2024-11-08T19:45:40.518Z] echo ""; echo "TEST TEARDOWN:"; \ [2024-11-08T19:45:40.518Z] echo "Nothing to be done for teardown."; \ [2024-11-08T19:45:40.518Z] } 2>&1 | tee -a "C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17310933204988\\TestTargetResult"; [2024-11-08T19:45:40.518Z] [2024-11-08T19:45:40.518Z] TEST SETUP: [2024-11-08T19:45:40.518Z] Nothing to be done for setup. [2024-11-08T19:45:40.518Z] [2024-11-08T19:45:40.518Z] TESTING: [2024-11-08T19:45:40.518Z] STF 19:45:40.423 - ========================= S T F ========================= [2024-11-08T19:45:40.518Z] systemtest-prereqs has been processed, and set to: c:/jenkins/testDependency/system_libRetrieving amount of free space on drive containing C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17310933204988\PatModImg_PlatMod_0 [2024-11-08T19:45:40.518Z] There is 104139 Mb free [2024-11-08T19:45:40.518Z] STF 19:45:40.466 - ================== G E N E R A T I O N ================== [2024-11-08T19:45:40.518Z] STF 19:45:40.468 - Checking JVM: c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image [2024-11-08T19:45:40.518Z] STF 19:45:40.469 - Starting process to generate scripts: c:/jenkins/workspace/Test_openjdk17_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_openjdk17_hs_sanity.system_x86-64_windows_testList_1/../../testDependency/system_lib\/log4j/log4j-api.jar;c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/../../testDependency/system_lib\/log4j/log4j-core.jar;C:/jenkins/workspace/Test_openjdk17_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_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17310933204988\PatModImg_PlatMod_0/20241108-194540-PatModImgTest/stf_parameters.properties, , C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17310933204988\PatModImg_PlatMod_0/20241108-194540-PatModImgTest" [2024-11-08T19:45:40.841Z] 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 [2024-11-08T19:45:41.525Z] GEN 19:45:41.260 - Found test. Project: 'openjdk.test.modularity' class: 'PatModImgTest.class' Dir: 'C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin' [2024-11-08T19:45:41.525Z] GEN 19:45:41.279 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModImgTest' [2024-11-08T19:45:41.525Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2024-11-08T19:45:41.526Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayService [2024-11-08T19:45:41.526Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper [2024-11-08T19:45:41.526Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl1 [2024-11-08T19:45:41.526Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet [2024-11-08T19:45:41.526Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello [2024-11-08T19:45:41.526Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola [2024-11-08T19:45:41.526Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl2 [2024-11-08T19:45:41.526Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hi [2024-11-08T19:45:41.526Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override [2024-11-08T19:45:41.526Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override-new [2024-11-08T19:45:41.526Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl3 [2024-11-08T19:45:41.526Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl4 [2024-11-08T19:45:41.526Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common [2024-11-08T19:45:41.526Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests [2024-11-08T19:45:41.526Z] GEN C:\\jenkins\\workspace\\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin [2024-11-08T19:45:41.526Z] GEN C:\\jenkins\\workspace\\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\\jvmtest\\system\\STF\\stf.core\\bin [2024-11-08T19:45:41.526Z] GEN c:/jenkins/testDependency/system_lib/log4j/log4j-api.jar [2024-11-08T19:45:41.526Z] GEN c:/jenkins/testDependency/system_lib/log4j/log4j-core.jar [2024-11-08T19:45:41.526Z] GEN c:/jenkins/testDependency/system_lib/junit/junit.jar [2024-11-08T19:45:41.845Z] GEN 19:45:41.492 - Using Mode NoOptions. Values = '' [2024-11-08T19:45:41.845Z] GEN 19:45:41.618 - [2024-11-08T19:45:41.845Z] GEN 19:45:41.618 - Test command summary: [2024-11-08T19:45:41.845Z] GEN 19:45:41.619 - Step Stage Command Description [2024-11-08T19:45:41.845Z] GEN 19:45:41.619 - -----+--------+-----------------+------------ [2024-11-08T19:45:41.845Z] GEN 19:45:41.619 - 1 execute jar Create com.hello jar [2024-11-08T19:45:41.845Z] GEN 19:45:41.619 - 2 execute jar Create com.hola jar [2024-11-08T19:45:41.845Z] GEN 19:45:41.619 - 3 execute jar Create com.helper jar [2024-11-08T19:45:41.845Z] GEN 19:45:41.619 - 4 execute jar Create com.discreet jar [2024-11-08T19:45:41.845Z] GEN 19:45:41.619 - 5 execute jar Create tests jar [2024-11-08T19:45:41.845Z] GEN 19:45:41.620 - 6 execute jlink Create runtime image for PatchModule test [2024-11-08T19:45:41.845Z] GEN 19:45:41.620 - 7 execute jar Create com.hello jar [2024-11-08T19:45:41.845Z] GEN 19:45:41.620 - 8 execute jar create java.xml.jar [2024-11-08T19:45:41.845Z] GEN 19:45:41.620 - 9 execute Run java Verify if we can patch an upgradable platform module using exploded directory [2024-11-08T19:45:41.845Z] GEN 19:45:41.620 - 10 execute Run java Verify if we can patch an upgradable platform module using modular jar [2024-11-08T19:45:41.845Z] STF 19:45:41.646 - [2024-11-08T19:45:41.845Z] STF 19:45:41.646 - Script generation completed [2024-11-08T19:45:41.845Z] STF 19:45:41.646 - [2024-11-08T19:45:41.845Z] STF 19:45:41.647 - [2024-11-08T19:45:41.845Z] STF 19:45:41.647 - ======================= S E T U P ======================= [2024-11-08T19:45:41.845Z] STF 19:45:41.647 - Running setup: perl C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17310933204988\PatModImg_PlatMod_0/20241108-194540-PatModImgTest/setUp.pl [2024-11-08T19:45:41.845Z] STF 19:45:41.767 - SETUP stage completed [2024-11-08T19:45:41.845Z] STF 19:45:41.779 - [2024-11-08T19:45:41.845Z] STF 19:45:41.779 - ==================== E X E C U T E - ==================== [2024-11-08T19:45:41.845Z] STF 19:45:41.779 - Running execute: perl C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17310933204988\PatModImg_PlatMod_0/20241108-194540-PatModImgTest/execute.pl [2024-11-08T19:45:42.169Z] STF 19:45:41.900 - [2024-11-08T19:45:42.169Z] STF 19:45:41.901 - Java version [2024-11-08T19:45:42.169Z] STF 19:45:41.901 - Running: c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java -version [2024-11-08T19:45:42.169Z] openjdk version "17.0.14-beta" 2025-01-21 [2024-11-08T19:45:42.169Z] OpenJDK Runtime Environment Temurin-17.0.14+2-202411081411 (build 17.0.14-beta+2-ea) [2024-11-08T19:45:42.169Z] OpenJDK 64-Bit Server VM Temurin-17.0.14+2-202411081411 (build 17.0.14-beta+2-ea, mixed mode, sharing) [2024-11-08T19:45:42.169Z] STF 19:45:41.981 - [2024-11-08T19:45:42.169Z] STF 19:45:41.981 - +------ Step 1 - Create com.hello jar [2024-11-08T19:45:42.169Z] STF 19:45:41.981 - | Create modular jar [2024-11-08T19:45:42.169Z] STF 19:45:41.981 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2024-11-08T19:45:42.169Z] STF 19:45:41.981 - | ModuleVersion: null [2024-11-08T19:45:42.169Z] STF 19:45:41.981 - | MainClass: null [2024-11-08T19:45:42.169Z] STF 19:45:41.981 - | HashModules: null [2024-11-08T19:45:42.169Z] STF 19:45:41.981 - | [2024-11-08T19:45:42.169Z] STF 19:45:41.981 - Running command: c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17310933204988/PatModImg_PlatMod_0/20241108-194540-PatModImgTest/modules/1.com.hello.jar -C C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello . [2024-11-08T19:45:42.169Z] STF 19:45:41.982 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17310933204988/PatModImg_PlatMod_0/20241108-194540-PatModImgTest/results/1.CMJ.stderr [2024-11-08T19:45:42.169Z] STF 19:45:41.982 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17310933204988/PatModImg_PlatMod_0/20241108-194540-PatModImgTest/results/1.CMJ.stdout [2024-11-08T19:45:42.169Z] STF 19:45:42.006 - Monitoring processes: CMJ [2024-11-08T19:45:42.491Z] STF 19:45:42.233 - Monitoring Report Summary: [2024-11-08T19:45:42.491Z] STF 19:45:42.233 - o Process CMJ ended with the expected exit code (0) [2024-11-08T19:45:42.491Z] STF 19:45:42.234 - Created modular jar: 1.com.hello.jar [2024-11-08T19:45:42.491Z] STF 19:45:42.234 - [2024-11-08T19:45:42.491Z] STF 19:45:42.234 - +------ Step 2 - Create com.hola jar [2024-11-08T19:45:42.491Z] STF 19:45:42.234 - | Create modular jar [2024-11-08T19:45:42.491Z] STF 19:45:42.234 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2024-11-08T19:45:42.491Z] STF 19:45:42.234 - | ModuleVersion: null [2024-11-08T19:45:42.491Z] STF 19:45:42.234 - | MainClass: null [2024-11-08T19:45:42.491Z] STF 19:45:42.234 - | HashModules: null [2024-11-08T19:45:42.491Z] STF 19:45:42.234 - | [2024-11-08T19:45:42.491Z] STF 19:45:42.234 - Running command: c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17310933204988/PatModImg_PlatMod_0/20241108-194540-PatModImgTest/modules/2.com.hola.jar -C C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola . [2024-11-08T19:45:42.491Z] STF 19:45:42.234 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17310933204988/PatModImg_PlatMod_0/20241108-194540-PatModImgTest/results/2.CMJ.stderr [2024-11-08T19:45:42.491Z] STF 19:45:42.234 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17310933204988/PatModImg_PlatMod_0/20241108-194540-PatModImgTest/results/2.CMJ.stdout [2024-11-08T19:45:42.491Z] STF 19:45:42.240 - Monitoring processes: CMJ [2024-11-08T19:45:42.813Z] STF 19:45:42.477 - Monitoring Report Summary: [2024-11-08T19:45:42.813Z] STF 19:45:42.477 - o Process CMJ ended with the expected exit code (0) [2024-11-08T19:45:42.813Z] STF 19:45:42.478 - Created modular jar: 2.com.hola.jar [2024-11-08T19:45:42.813Z] STF 19:45:42.478 - [2024-11-08T19:45:42.813Z] STF 19:45:42.478 - +------ Step 3 - Create com.helper jar [2024-11-08T19:45:42.813Z] STF 19:45:42.478 - | Create modular jar [2024-11-08T19:45:42.813Z] STF 19:45:42.478 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2024-11-08T19:45:42.813Z] STF 19:45:42.478 - | ModuleVersion: null [2024-11-08T19:45:42.813Z] STF 19:45:42.478 - | MainClass: null [2024-11-08T19:45:42.813Z] STF 19:45:42.478 - | HashModules: null [2024-11-08T19:45:42.813Z] STF 19:45:42.478 - | [2024-11-08T19:45:42.813Z] STF 19:45:42.478 - Running command: c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17310933204988/PatModImg_PlatMod_0/20241108-194540-PatModImgTest/modules/3.com.helper.jar -C C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper . [2024-11-08T19:45:42.813Z] STF 19:45:42.478 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17310933204988/PatModImg_PlatMod_0/20241108-194540-PatModImgTest/results/3.CMJ.stderr [2024-11-08T19:45:42.813Z] STF 19:45:42.478 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17310933204988/PatModImg_PlatMod_0/20241108-194540-PatModImgTest/results/3.CMJ.stdout [2024-11-08T19:45:42.813Z] STF 19:45:42.484 - Monitoring processes: CMJ [2024-11-08T19:45:42.813Z] STF 19:45:42.719 - Monitoring Report Summary: [2024-11-08T19:45:42.813Z] STF 19:45:42.719 - o Process CMJ ended with the expected exit code (0) [2024-11-08T19:45:42.813Z] STF 19:45:42.719 - Created modular jar: 3.com.helper.jar [2024-11-08T19:45:42.813Z] STF 19:45:42.719 - [2024-11-08T19:45:42.813Z] STF 19:45:42.719 - +------ Step 4 - Create com.discreet jar [2024-11-08T19:45:42.813Z] STF 19:45:42.719 - | Create modular jar [2024-11-08T19:45:42.814Z] STF 19:45:42.719 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2024-11-08T19:45:42.814Z] STF 19:45:42.719 - | ModuleVersion: null [2024-11-08T19:45:42.814Z] STF 19:45:42.719 - | MainClass: null [2024-11-08T19:45:42.814Z] STF 19:45:42.720 - | HashModules: null [2024-11-08T19:45:42.814Z] STF 19:45:42.720 - | [2024-11-08T19:45:42.814Z] STF 19:45:42.720 - Running command: c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17310933204988/PatModImg_PlatMod_0/20241108-194540-PatModImgTest/modules/4.com.discreet.jar -C C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet . [2024-11-08T19:45:42.814Z] STF 19:45:42.720 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17310933204988/PatModImg_PlatMod_0/20241108-194540-PatModImgTest/results/4.CMJ.stderr [2024-11-08T19:45:42.814Z] STF 19:45:42.720 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17310933204988/PatModImg_PlatMod_0/20241108-194540-PatModImgTest/results/4.CMJ.stdout [2024-11-08T19:45:42.814Z] STF 19:45:42.725 - Monitoring processes: CMJ [2024-11-08T19:45:43.133Z] STF 19:45:42.947 - Monitoring Report Summary: [2024-11-08T19:45:43.133Z] STF 19:45:42.947 - o Process CMJ ended with the expected exit code (0) [2024-11-08T19:45:43.133Z] STF 19:45:42.948 - Created modular jar: 4.com.discreet.jar [2024-11-08T19:45:43.133Z] STF 19:45:42.948 - [2024-11-08T19:45:43.133Z] STF 19:45:42.948 - +------ Step 5 - Create tests jar [2024-11-08T19:45:43.133Z] STF 19:45:42.948 - | Create modular jar [2024-11-08T19:45:43.133Z] STF 19:45:42.948 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2024-11-08T19:45:43.133Z] STF 19:45:42.948 - | ModuleVersion: null [2024-11-08T19:45:43.133Z] STF 19:45:42.948 - | MainClass: null [2024-11-08T19:45:43.133Z] STF 19:45:42.948 - | HashModules: null [2024-11-08T19:45:43.133Z] STF 19:45:42.948 - | [2024-11-08T19:45:43.134Z] STF 19:45:42.948 - Running command: c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17310933204988/PatModImg_PlatMod_0/20241108-194540-PatModImgTest/modules/5.com.test.jar -C C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests\com.test . [2024-11-08T19:45:43.134Z] STF 19:45:42.948 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17310933204988/PatModImg_PlatMod_0/20241108-194540-PatModImgTest/results/5.CMJ.stderr [2024-11-08T19:45:43.134Z] STF 19:45:42.948 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17310933204988/PatModImg_PlatMod_0/20241108-194540-PatModImgTest/results/5.CMJ.stdout [2024-11-08T19:45:43.134Z] STF 19:45:42.955 - Monitoring processes: CMJ [2024-11-08T19:45:43.470Z] STF 19:45:43.197 - Monitoring Report Summary: [2024-11-08T19:45:43.470Z] STF 19:45:43.197 - o Process CMJ ended with the expected exit code (0) [2024-11-08T19:45:43.470Z] STF 19:45:43.197 - Created modular jar: 5.com.test.jar [2024-11-08T19:45:43.470Z] STF 19:45:43.197 - [2024-11-08T19:45:43.470Z] STF 19:45:43.197 - +------ Step 6 - Create runtime image for PatchModule test [2024-11-08T19:45:43.470Z] STF 19:45:43.197 - | Run jlink to create runtime image [2024-11-08T19:45:43.470Z] STF 19:45:43.197 - | ImageName: XpJVM [2024-11-08T19:45:43.470Z] STF 19:45:43.197 - | [2024-11-08T19:45:43.470Z] STF 19:45:43.197 - Running command: c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jlink --module-path c:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jdkbinary\j2sdk-image\jmods;C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\aqa-tests\TKG\output_17310933204988\PatModImg_PlatMod_0\20241108-194540-PatModImgTest\modules --add-modules com.hello,com.hola,com.test,com.helper,com.discreet --output C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\aqa-tests\TKG\output_17310933204988\PatModImg_PlatMod_0\20241108-194540-PatModImgTest\tmp\6.XpJVM [2024-11-08T19:45:43.470Z] STF 19:45:43.198 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17310933204988/PatModImg_PlatMod_0/20241108-194540-PatModImgTest/results/6.JLNK.stderr [2024-11-08T19:45:43.470Z] STF 19:45:43.198 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17310933204988/PatModImg_PlatMod_0/20241108-194540-PatModImgTest/results/6.JLNK.stdout [2024-11-08T19:45:43.470Z] STF 19:45:43.219 - Monitoring processes: JLNK [2024-11-08T19:45:46.325Z] STF 19:45:45.642 - Monitoring Report Summary: [2024-11-08T19:45:46.325Z] STF 19:45:45.642 - o Process JLNK ended with the expected exit code (0) [2024-11-08T19:45:46.325Z] STF 19:45:45.642 - [2024-11-08T19:45:46.325Z] STF 19:45:45.642 - +------ Step 7 - Create com.hello jar [2024-11-08T19:45:46.325Z] STF 19:45:45.642 - | Create modular jar [2024-11-08T19:45:46.325Z] STF 19:45:45.642 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2024-11-08T19:45:46.325Z] STF 19:45:45.642 - | ModuleVersion: null [2024-11-08T19:45:46.325Z] STF 19:45:45.642 - | MainClass: null [2024-11-08T19:45:46.325Z] STF 19:45:45.642 - | HashModules: null [2024-11-08T19:45:46.325Z] STF 19:45:45.642 - | [2024-11-08T19:45:46.326Z] STF 19:45:45.643 - Running command: c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17310933204988/PatModImg_PlatMod_0/20241108-194540-PatModImgTest/modules/7.com.hello.jar -C C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.hello . [2024-11-08T19:45:46.326Z] STF 19:45:45.643 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17310933204988/PatModImg_PlatMod_0/20241108-194540-PatModImgTest/results/7.CMJ.stderr [2024-11-08T19:45:46.326Z] STF 19:45:45.643 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17310933204988/PatModImg_PlatMod_0/20241108-194540-PatModImgTest/results/7.CMJ.stdout [2024-11-08T19:45:46.326Z] STF 19:45:45.663 - Monitoring processes: CMJ [2024-11-08T19:45:46.326Z] STF 19:45:45.993 - Monitoring Report Summary: [2024-11-08T19:45:46.326Z] STF 19:45:45.993 - o Process CMJ ended with the expected exit code (0) [2024-11-08T19:45:46.326Z] STF 19:45:45.993 - Created modular jar: 7.com.hello.jar [2024-11-08T19:45:46.326Z] STF 19:45:45.993 - [2024-11-08T19:45:46.326Z] STF 19:45:45.993 - +------ Step 8 - create java.xml.jar [2024-11-08T19:45:46.326Z] STF 19:45:45.993 - | Create modular jar [2024-11-08T19:45:46.326Z] STF 19:45:45.993 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml [2024-11-08T19:45:46.326Z] STF 19:45:45.993 - | ModuleVersion: null [2024-11-08T19:45:46.326Z] STF 19:45:45.993 - | MainClass: null [2024-11-08T19:45:46.326Z] STF 19:45:45.993 - | HashModules: null [2024-11-08T19:45:46.326Z] STF 19:45:45.993 - | [2024-11-08T19:45:46.326Z] STF 19:45:45.994 - Running command: c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17310933204988/PatModImg_PlatMod_0/20241108-194540-PatModImgTest/modules/8.java.xml.jar -C C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\java.xml . [2024-11-08T19:45:46.326Z] STF 19:45:45.994 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17310933204988/PatModImg_PlatMod_0/20241108-194540-PatModImgTest/results/8.CMJ.stderr [2024-11-08T19:45:46.326Z] STF 19:45:45.994 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17310933204988/PatModImg_PlatMod_0/20241108-194540-PatModImgTest/results/8.CMJ.stdout [2024-11-08T19:45:46.326Z] STF 19:45:45.999 - Monitoring processes: CMJ [2024-11-08T19:45:46.326Z] STF 19:45:46.227 - Monitoring Report Summary: [2024-11-08T19:45:46.326Z] STF 19:45:46.227 - o Process CMJ ended with the expected exit code (0) [2024-11-08T19:45:46.326Z] STF 19:45:46.227 - Created modular jar: 8.java.xml.jar [2024-11-08T19:45:46.326Z] STF 19:45:46.227 - [2024-11-08T19:45:46.326Z] STF 19:45:46.227 - +------ Step 9 - Verify if we can patch an upgradable platform module using exploded directory [2024-11-08T19:45:46.326Z] STF 19:45:46.227 - | Run foreground process [2024-11-08T19:45:46.326Z] STF 19:45:46.227 - | Program: C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17310933204988/PatModImg_PlatMod_0/20241108-194540-PatModImgTest/tmp/6.XpJVM/bin/java [2024-11-08T19:45:46.326Z] STF 19:45:46.227 - | Mnemonic: OT11 [2024-11-08T19:45:46.326Z] STF 19:45:46.227 - | Echo: ECHO_ON [2024-11-08T19:45:46.326Z] STF 19:45:46.227 - | Expectation: CLEAN_RUN within 5m [2024-11-08T19:45:46.326Z] STF 19:45:46.227 - | [2024-11-08T19:45:46.326Z] STF 19:45:46.228 - Running command: C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17310933204988/PatModImg_PlatMod_0/20241108-194540-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module java.xml=C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\java.xml -XX:+UseCompressedOops -classpath c:/jenkins/testDependency/system_lib/junit/junit.jar;c:/jenkins/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingUpgradablePlatformModule [2024-11-08T19:45:46.326Z] STF 19:45:46.228 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17310933204988/PatModImg_PlatMod_0/20241108-194540-PatModImgTest/results/9.OT11.stderr [2024-11-08T19:45:46.326Z] STF 19:45:46.228 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17310933204988/PatModImg_PlatMod_0/20241108-194540-PatModImgTest/results/9.OT11.stdout [2024-11-08T19:45:46.326Z] STF 19:45:46.246 - Monitoring processes: OT11 [2024-11-08T19:45:46.648Z] OT11 stderr WARNING: module-info.class ignored in patch: C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\java.xml [2024-11-08T19:45:46.648Z] OT11 JUnit version 4.12 [2024-11-08T19:45:46.648Z] OT11 . [2024-11-08T19:45:46.648Z] OT11 Time: 0.004 [2024-11-08T19:45:46.648Z] OT11 [2024-11-08T19:45:46.648Z] OT11 OK (1 test) [2024-11-08T19:45:46.648Z] OT11 [2024-11-08T19:45:46.648Z] STF 19:45:46.539 - Monitoring Report Summary: [2024-11-08T19:45:46.648Z] STF 19:45:46.539 - o Process OT11 ended with the expected exit code (0) [2024-11-08T19:45:46.648Z] STF 19:45:46.539 - [2024-11-08T19:45:46.648Z] STF 19:45:46.539 - +------ Step 10 - Verify if we can patch an upgradable platform module using modular jar [2024-11-08T19:45:46.648Z] STF 19:45:46.539 - | Run foreground process [2024-11-08T19:45:46.648Z] STF 19:45:46.539 - | Program: C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17310933204988/PatModImg_PlatMod_0/20241108-194540-PatModImgTest/tmp/6.XpJVM/bin/java [2024-11-08T19:45:46.648Z] STF 19:45:46.539 - | Mnemonic: OT12 [2024-11-08T19:45:46.648Z] STF 19:45:46.539 - | Echo: ECHO_ON [2024-11-08T19:45:46.648Z] STF 19:45:46.539 - | Expectation: CLEAN_RUN within 5m [2024-11-08T19:45:46.648Z] STF 19:45:46.539 - | [2024-11-08T19:45:46.648Z] STF 19:45:46.539 - Running command: C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17310933204988/PatModImg_PlatMod_0/20241108-194540-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module java.xml=C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17310933204988/PatModImg_PlatMod_0/20241108-194540-PatModImgTest/modules/8.java.xml.jar -XX:+UseCompressedOops -classpath c:/jenkins/testDependency/system_lib/junit/junit.jar;c:/jenkins/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingUpgradablePlatformModule [2024-11-08T19:45:46.648Z] STF 19:45:46.539 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17310933204988/PatModImg_PlatMod_0/20241108-194540-PatModImgTest/results/10.OT12.stderr [2024-11-08T19:45:46.649Z] STF 19:45:46.539 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17310933204988/PatModImg_PlatMod_0/20241108-194540-PatModImgTest/results/10.OT12.stdout [2024-11-08T19:45:46.649Z] STF 19:45:46.545 - Monitoring processes: OT12 [2024-11-08T19:45:46.970Z] OT12 stderr WARNING: module-info.class ignored in patch: C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\aqa-tests\TKG\output_17310933204988\PatModImg_PlatMod_0\20241108-194540-PatModImgTest\modules\8.java.xml.jar [2024-11-08T19:45:46.970Z] OT12 JUnit version 4.12 [2024-11-08T19:45:46.970Z] OT12 . [2024-11-08T19:45:46.970Z] OT12 Time: 0.003 [2024-11-08T19:45:46.970Z] OT12 [2024-11-08T19:45:46.970Z] OT12 OK (1 test) [2024-11-08T19:45:46.970Z] OT12 [2024-11-08T19:45:46.970Z] STF 19:45:46.808 - Monitoring Report Summary: [2024-11-08T19:45:46.970Z] STF 19:45:46.808 - o Process OT12 ended with the expected exit code (0) [2024-11-08T19:45:46.970Z] STF 19:45:46.808 - EXECUTE stage completed [2024-11-08T19:45:46.970Z] STF 19:45:46.864 - [2024-11-08T19:45:46.970Z] STF 19:45:46.864 - ==================== T E A R D O W N ==================== [2024-11-08T19:45:46.970Z] STF 19:45:46.864 - Running teardown: perl C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17310933204988\PatModImg_PlatMod_0/20241108-194540-PatModImgTest/tearDown.pl [2024-11-08T19:45:47.320Z] STF 19:45:46.991 - TEARDOWN stage completed [2024-11-08T19:45:47.320Z] STF 19:45:47.001 - [2024-11-08T19:45:47.320Z] STF 19:45:47.001 - ===================== R E S U L T S ===================== [2024-11-08T19:45:47.320Z] STF 19:45:47.001 - Stage results: [2024-11-08T19:45:47.320Z] STF 19:45:47.001 - setUp: pass [2024-11-08T19:45:47.320Z] STF 19:45:47.001 - execute: pass [2024-11-08T19:45:47.320Z] STF 19:45:47.001 - teardown: pass [2024-11-08T19:45:47.320Z] STF 19:45:47.001 - [2024-11-08T19:45:47.320Z] STF 19:45:47.001 - Overall result: PASSED [2024-11-08T19:45:47.320Z] ----------------------------------- [2024-11-08T19:45:47.320Z] PatModImg_PlatMod_0_PASSED [2024-11-08T19:45:47.320Z] ----------------------------------- [2024-11-08T19:45:47.320Z] [2024-11-08T19:45:47.320Z] TEST TEARDOWN: [2024-11-08T19:45:47.320Z] Nothing to be done for teardown. [2024-11-08T19:45:47.320Z] PatModImg_PlatMod_0 Finish Time: Fri Nov 8 19:45:47 2024 Epoch Time (ms): 1731095147206