PatModImg_PlatMod_1

[2024-06-08T04:45:37.381Z] Running test PatModImg_PlatMod_1 ... [2024-06-08T04:45:37.688Z] =============================================== [2024-06-08T04:45:37.688Z] PatModImg_PlatMod_1 Start Time: Sat Jun 8 04:45:37 2024 Epoch Time (ms): 1717821937519 [2024-06-08T04:45:38.036Z] variation: Mode650 [2024-06-08T04:45:38.036Z] JVM_OPTIONS: -XX:-UseCompressedOops [2024-06-08T04:45:38.036Z] { \ [2024-06-08T04:45:38.036Z] echo ""; echo "TEST SETUP:"; \ [2024-06-08T04:45:38.036Z] echo "Nothing to be done for setup."; \ [2024-06-08T04:45:38.037Z] mkdir -p "C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17178197589102\\PatModImg_PlatMod_1"; \ [2024-06-08T04:45:38.037Z] cd "C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17178197589102\\PatModImg_PlatMod_1"; \ [2024-06-08T04:45:38.037Z] echo ""; echo "TESTING:"; \ [2024-06-08T04:45:38.037Z] 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_17178197589102\\PatModImg_PlatMod_1" -test=PatModImgTest -test-args="variant=PlatMod"; \ [2024-06-08T04:45:38.037Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatModImg_PlatMod_1""_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_17178197589102\\PatModImg_PlatMod_1"; else echo "-----------------------------------"; echo "PatModImg_PlatMod_1""_FAILED"; echo "-----------------------------------"; fi; \ [2024-06-08T04:45:38.037Z] echo ""; echo "TEST TEARDOWN:"; \ [2024-06-08T04:45:38.037Z] echo "Nothing to be done for teardown."; \ [2024-06-08T04:45:38.037Z] } 2>&1 | tee -a "C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17178197589102\\TestTargetResult"; [2024-06-08T04:45:38.037Z] [2024-06-08T04:45:38.037Z] TEST SETUP: [2024-06-08T04:45:38.037Z] Nothing to be done for setup. [2024-06-08T04:45:38.037Z] [2024-06-08T04:45:38.037Z] TESTING: [2024-06-08T04:45:38.354Z] STF 04:45:38.062 - ========================= S T F ========================= [2024-06-08T04:45:38.354Z] 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_17178197589102\PatModImg_PlatMod_1 [2024-06-08T04:45:38.354Z] There is 124486 Mb free [2024-06-08T04:45:38.354Z] STF 04:45:38.103 - ================== G E N E R A T I O N ================== [2024-06-08T04:45:38.354Z] STF 04:45:38.105 - Checking JVM: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image [2024-06-08T04:45:38.354Z] STF 04:45:38.106 - 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_17178197589102\PatModImg_PlatMod_1/20240608-044538-PatModImgTest/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_17178197589102\PatModImg_PlatMod_1/20240608-044538-PatModImgTest" [2024-06-08T04:45:39.476Z] GEN 04:45:39.169 - Found test. Project: 'openjdk.test.modularity' class: 'PatModImgTest.class' Dir: 'C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin' [2024-06-08T04:45:39.476Z] GEN 04:45:39.183 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModImgTest' [2024-06-08T04:45:39.476Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2024-06-08T04:45:39.476Z] 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-06-08T04:45:39.476Z] 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-06-08T04:45:39.476Z] 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-06-08T04:45:39.476Z] 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-06-08T04:45:39.476Z] 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-06-08T04:45:39.476Z] 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-06-08T04:45:39.476Z] 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-06-08T04:45:39.476Z] 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-06-08T04:45:39.476Z] 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-06-08T04:45:39.476Z] 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-06-08T04:45:39.476Z] 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-06-08T04:45:39.476Z] 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-06-08T04:45:39.476Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common [2024-06-08T04:45:39.476Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests [2024-06-08T04:45:39.476Z] GEN C:\\jenkins\\workspace\\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin [2024-06-08T04:45:39.476Z] GEN C:\\jenkins\\workspace\\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\\jvmtest\\system\\STF\\stf.core\\bin [2024-06-08T04:45:39.476Z] GEN C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jvmtest/system/systemtest_prereqs/log4j/log4j-api.jar [2024-06-08T04:45:39.476Z] GEN C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jvmtest/system/systemtest_prereqs/log4j/log4j-core.jar [2024-06-08T04:45:39.476Z] GEN C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jvmtest/system/systemtest_prereqs/junit/junit.jar [2024-06-08T04:45:39.794Z] GEN 04:45:39.442 - Using Mode NoOptions. Values = '' [2024-06-08T04:45:39.794Z] GEN 04:45:39.585 - [2024-06-08T04:45:39.794Z] GEN 04:45:39.585 - Test command summary: [2024-06-08T04:45:39.794Z] GEN 04:45:39.585 - Step Stage Command Description [2024-06-08T04:45:39.794Z] GEN 04:45:39.585 - -----+--------+-----------------+------------ [2024-06-08T04:45:39.794Z] GEN 04:45:39.586 - 1 execute jar Create com.hello jar [2024-06-08T04:45:39.794Z] GEN 04:45:39.586 - 2 execute jar Create com.hola jar [2024-06-08T04:45:39.794Z] GEN 04:45:39.586 - 3 execute jar Create com.helper jar [2024-06-08T04:45:39.794Z] GEN 04:45:39.586 - 4 execute jar Create com.discreet jar [2024-06-08T04:45:39.794Z] GEN 04:45:39.586 - 5 execute jar Create tests jar [2024-06-08T04:45:39.794Z] GEN 04:45:39.586 - 6 execute jlink Create runtime image for PatchModule test [2024-06-08T04:45:39.794Z] GEN 04:45:39.586 - 7 execute jar Create com.hello jar [2024-06-08T04:45:39.794Z] GEN 04:45:39.586 - 8 execute jar create java.xml.jar [2024-06-08T04:45:39.794Z] GEN 04:45:39.586 - 9 execute Run java Verify if we can patch an upgradable platform module using exploded directory [2024-06-08T04:45:39.794Z] GEN 04:45:39.586 - 10 execute Run java Verify if we can patch an upgradable platform module using modular jar [2024-06-08T04:45:39.794Z] STF 04:45:39.614 - [2024-06-08T04:45:39.794Z] STF 04:45:39.614 - Script generation completed [2024-06-08T04:45:39.794Z] STF 04:45:39.614 - [2024-06-08T04:45:39.795Z] STF 04:45:39.616 - [2024-06-08T04:45:39.795Z] STF 04:45:39.616 - ======================= S E T U P ======================= [2024-06-08T04:45:39.795Z] STF 04:45:39.616 - Running setup: perl C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17178197589102\PatModImg_PlatMod_1/20240608-044538-PatModImgTest/setUp.pl [2024-06-08T04:45:39.795Z] STF 04:45:39.737 - SETUP stage completed [2024-06-08T04:45:39.795Z] STF 04:45:39.750 - [2024-06-08T04:45:39.795Z] STF 04:45:39.750 - ==================== E X E C U T E - ==================== [2024-06-08T04:45:39.795Z] STF 04:45:39.750 - Running execute: perl C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17178197589102\PatModImg_PlatMod_1/20240608-044538-PatModImgTest/execute.pl [2024-06-08T04:45:40.114Z] STF 04:45:39.880 - [2024-06-08T04:45:40.114Z] STF 04:45:39.880 - Java version [2024-06-08T04:45:40.114Z] STF 04:45:39.880 - Running: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java -version [2024-06-08T04:45:40.114Z] openjdk version "11.0.24-beta" 2024-07-16 [2024-06-08T04:45:40.114Z] OpenJDK Runtime Environment Temurin-11.0.24+6-202406072132 (build 11.0.24-beta+6-ea) [2024-06-08T04:45:40.114Z] OpenJDK 64-Bit Server VM Temurin-11.0.24+6-202406072132 (build 11.0.24-beta+6-ea, mixed mode) [2024-06-08T04:45:40.114Z] STF 04:45:40.005 - [2024-06-08T04:45:40.114Z] STF 04:45:40.005 - +------ Step 1 - Create com.hello jar [2024-06-08T04:45:40.114Z] STF 04:45:40.005 - | Create modular jar [2024-06-08T04:45:40.114Z] STF 04:45:40.005 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2024-06-08T04:45:40.114Z] STF 04:45:40.005 - | ModuleVersion: null [2024-06-08T04:45:40.114Z] STF 04:45:40.005 - | MainClass: null [2024-06-08T04:45:40.114Z] STF 04:45:40.005 - | HashModules: null [2024-06-08T04:45:40.114Z] STF 04:45:40.005 - | [2024-06-08T04:45:40.114Z] STF 04:45:40.005 - 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_17178197589102/PatModImg_PlatMod_1/20240608-044538-PatModImgTest/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-mods\com.hello . [2024-06-08T04:45:40.114Z] STF 04:45:40.005 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17178197589102/PatModImg_PlatMod_1/20240608-044538-PatModImgTest/results/1.CMJ.stderr [2024-06-08T04:45:40.114Z] STF 04:45:40.005 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17178197589102/PatModImg_PlatMod_1/20240608-044538-PatModImgTest/results/1.CMJ.stdout [2024-06-08T04:45:40.114Z] STF 04:45:40.031 - Monitoring processes: CMJ [2024-06-08T04:45:40.433Z] STF 04:45:40.334 - Monitoring Report Summary: [2024-06-08T04:45:40.433Z] STF 04:45:40.334 - o Process CMJ ended with the expected exit code (0) [2024-06-08T04:45:40.433Z] STF 04:45:40.334 - Created modular jar: 1.com.hello.jar [2024-06-08T04:45:40.433Z] STF 04:45:40.334 - [2024-06-08T04:45:40.433Z] STF 04:45:40.334 - +------ Step 2 - Create com.hola jar [2024-06-08T04:45:40.433Z] STF 04:45:40.334 - | Create modular jar [2024-06-08T04:45:40.433Z] STF 04:45:40.334 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2024-06-08T04:45:40.433Z] STF 04:45:40.334 - | ModuleVersion: null [2024-06-08T04:45:40.433Z] STF 04:45:40.334 - | MainClass: null [2024-06-08T04:45:40.433Z] STF 04:45:40.334 - | HashModules: null [2024-06-08T04:45:40.433Z] STF 04:45:40.334 - | [2024-06-08T04:45:40.433Z] STF 04:45:40.334 - 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_17178197589102/PatModImg_PlatMod_1/20240608-044538-PatModImgTest/modules/2.com.hola.jar -C 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-06-08T04:45:40.433Z] STF 04:45:40.334 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17178197589102/PatModImg_PlatMod_1/20240608-044538-PatModImgTest/results/2.CMJ.stderr [2024-06-08T04:45:40.433Z] STF 04:45:40.334 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17178197589102/PatModImg_PlatMod_1/20240608-044538-PatModImgTest/results/2.CMJ.stdout [2024-06-08T04:45:40.433Z] STF 04:45:40.340 - Monitoring processes: CMJ [2024-06-08T04:45:40.754Z] STF 04:45:40.637 - Monitoring Report Summary: [2024-06-08T04:45:40.754Z] STF 04:45:40.637 - o Process CMJ ended with the expected exit code (0) [2024-06-08T04:45:40.754Z] STF 04:45:40.637 - Created modular jar: 2.com.hola.jar [2024-06-08T04:45:40.754Z] STF 04:45:40.637 - [2024-06-08T04:45:40.754Z] STF 04:45:40.637 - +------ Step 3 - Create com.helper jar [2024-06-08T04:45:40.754Z] STF 04:45:40.637 - | Create modular jar [2024-06-08T04:45:40.754Z] STF 04:45:40.637 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2024-06-08T04:45:40.754Z] STF 04:45:40.637 - | ModuleVersion: null [2024-06-08T04:45:40.754Z] STF 04:45:40.637 - | MainClass: null [2024-06-08T04:45:40.754Z] STF 04:45:40.637 - | HashModules: null [2024-06-08T04:45:40.754Z] STF 04:45:40.637 - | [2024-06-08T04:45:40.754Z] STF 04:45:40.638 - 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_17178197589102/PatModImg_PlatMod_1/20240608-044538-PatModImgTest/modules/3.com.helper.jar -C 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-06-08T04:45:40.754Z] STF 04:45:40.638 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17178197589102/PatModImg_PlatMod_1/20240608-044538-PatModImgTest/results/3.CMJ.stderr [2024-06-08T04:45:40.754Z] STF 04:45:40.638 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17178197589102/PatModImg_PlatMod_1/20240608-044538-PatModImgTest/results/3.CMJ.stdout [2024-06-08T04:45:40.754Z] STF 04:45:40.643 - Monitoring processes: CMJ [2024-06-08T04:45:41.075Z] STF 04:45:40.953 - Monitoring Report Summary: [2024-06-08T04:45:41.075Z] STF 04:45:40.953 - o Process CMJ ended with the expected exit code (0) [2024-06-08T04:45:41.075Z] STF 04:45:40.953 - Created modular jar: 3.com.helper.jar [2024-06-08T04:45:41.075Z] STF 04:45:40.953 - [2024-06-08T04:45:41.075Z] STF 04:45:40.953 - +------ Step 4 - Create com.discreet jar [2024-06-08T04:45:41.076Z] STF 04:45:40.953 - | Create modular jar [2024-06-08T04:45:41.076Z] STF 04:45:40.953 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2024-06-08T04:45:41.076Z] STF 04:45:40.953 - | ModuleVersion: null [2024-06-08T04:45:41.076Z] STF 04:45:40.953 - | MainClass: null [2024-06-08T04:45:41.076Z] STF 04:45:40.953 - | HashModules: null [2024-06-08T04:45:41.076Z] STF 04:45:40.953 - | [2024-06-08T04:45:41.076Z] STF 04:45:40.954 - 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_17178197589102/PatModImg_PlatMod_1/20240608-044538-PatModImgTest/modules/4.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-mods\com.discreet . [2024-06-08T04:45:41.076Z] STF 04:45:40.954 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17178197589102/PatModImg_PlatMod_1/20240608-044538-PatModImgTest/results/4.CMJ.stderr [2024-06-08T04:45:41.076Z] STF 04:45:40.954 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17178197589102/PatModImg_PlatMod_1/20240608-044538-PatModImgTest/results/4.CMJ.stdout [2024-06-08T04:45:41.076Z] STF 04:45:40.959 - Monitoring processes: CMJ [2024-06-08T04:45:41.395Z] STF 04:45:41.255 - Monitoring Report Summary: [2024-06-08T04:45:41.395Z] STF 04:45:41.255 - o Process CMJ ended with the expected exit code (0) [2024-06-08T04:45:41.395Z] STF 04:45:41.256 - Created modular jar: 4.com.discreet.jar [2024-06-08T04:45:41.395Z] STF 04:45:41.256 - [2024-06-08T04:45:41.395Z] STF 04:45:41.256 - +------ Step 5 - Create tests jar [2024-06-08T04:45:41.395Z] STF 04:45:41.256 - | Create modular jar [2024-06-08T04:45:41.395Z] STF 04:45:41.256 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2024-06-08T04:45:41.395Z] STF 04:45:41.256 - | ModuleVersion: null [2024-06-08T04:45:41.395Z] STF 04:45:41.256 - | MainClass: null [2024-06-08T04:45:41.395Z] STF 04:45:41.256 - | HashModules: null [2024-06-08T04:45:41.395Z] STF 04:45:41.256 - | [2024-06-08T04:45:41.395Z] STF 04:45:41.256 - 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_17178197589102/PatModImg_PlatMod_1/20240608-044538-PatModImgTest/modules/5.com.test.jar -C C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests\com.test . [2024-06-08T04:45:41.396Z] STF 04:45:41.256 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17178197589102/PatModImg_PlatMod_1/20240608-044538-PatModImgTest/results/5.CMJ.stderr [2024-06-08T04:45:41.396Z] STF 04:45:41.256 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17178197589102/PatModImg_PlatMod_1/20240608-044538-PatModImgTest/results/5.CMJ.stdout [2024-06-08T04:45:41.396Z] STF 04:45:41.262 - Monitoring processes: CMJ [2024-06-08T04:45:41.715Z] STF 04:45:41.558 - Monitoring Report Summary: [2024-06-08T04:45:41.715Z] STF 04:45:41.558 - o Process CMJ ended with the expected exit code (0) [2024-06-08T04:45:41.715Z] STF 04:45:41.559 - Created modular jar: 5.com.test.jar [2024-06-08T04:45:41.715Z] STF 04:45:41.559 - [2024-06-08T04:45:41.715Z] STF 04:45:41.559 - +------ Step 6 - Create runtime image for PatchModule test [2024-06-08T04:45:41.715Z] STF 04:45:41.559 - | Run jlink to create runtime image [2024-06-08T04:45:41.715Z] STF 04:45:41.559 - | ImageName: XpJVM [2024-06-08T04:45:41.715Z] STF 04:45:41.559 - | [2024-06-08T04:45:41.715Z] STF 04:45:41.559 - Running command: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jlink --module-path c:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jdkbinary\j2sdk-image\jmods;C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\aqa-tests\TKG\output_17178197589102\PatModImg_PlatMod_1\20240608-044538-PatModImgTest\modules --add-modules com.hello,com.hola,com.test,com.helper,com.discreet --output C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\aqa-tests\TKG\output_17178197589102\PatModImg_PlatMod_1\20240608-044538-PatModImgTest\tmp\6.XpJVM [2024-06-08T04:45:41.715Z] STF 04:45:41.559 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17178197589102/PatModImg_PlatMod_1/20240608-044538-PatModImgTest/results/6.JLNK.stderr [2024-06-08T04:45:41.715Z] STF 04:45:41.559 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17178197589102/PatModImg_PlatMod_1/20240608-044538-PatModImgTest/results/6.JLNK.stdout [2024-06-08T04:45:41.715Z] STF 04:45:41.565 - Monitoring processes: JLNK [2024-06-08T04:45:44.561Z] STF 04:45:43.902 - Monitoring Report Summary: [2024-06-08T04:45:44.561Z] STF 04:45:43.902 - o Process JLNK ended with the expected exit code (0) [2024-06-08T04:45:44.561Z] STF 04:45:43.902 - [2024-06-08T04:45:44.561Z] STF 04:45:43.902 - +------ Step 7 - Create com.hello jar [2024-06-08T04:45:44.561Z] STF 04:45:43.902 - | Create modular jar [2024-06-08T04:45:44.561Z] STF 04:45:43.902 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2024-06-08T04:45:44.561Z] STF 04:45:43.903 - | ModuleVersion: null [2024-06-08T04:45:44.561Z] STF 04:45:43.903 - | MainClass: null [2024-06-08T04:45:44.561Z] STF 04:45:43.903 - | HashModules: null [2024-06-08T04:45:44.561Z] STF 04:45:43.903 - | [2024-06-08T04:45:44.561Z] STF 04:45:43.903 - 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_17178197589102/PatModImg_PlatMod_1/20240608-044538-PatModImgTest/modules/7.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-06-08T04:45:44.561Z] STF 04:45:43.903 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17178197589102/PatModImg_PlatMod_1/20240608-044538-PatModImgTest/results/7.CMJ.stderr [2024-06-08T04:45:44.561Z] STF 04:45:43.903 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17178197589102/PatModImg_PlatMod_1/20240608-044538-PatModImgTest/results/7.CMJ.stdout [2024-06-08T04:45:44.561Z] STF 04:45:43.910 - Monitoring processes: CMJ [2024-06-08T04:45:44.561Z] STF 04:45:44.284 - Monitoring Report Summary: [2024-06-08T04:45:44.561Z] STF 04:45:44.284 - o Process CMJ ended with the expected exit code (0) [2024-06-08T04:45:44.561Z] STF 04:45:44.284 - Created modular jar: 7.com.hello.jar [2024-06-08T04:45:44.561Z] STF 04:45:44.284 - [2024-06-08T04:45:44.561Z] STF 04:45:44.284 - +------ Step 8 - create java.xml.jar [2024-06-08T04:45:44.561Z] STF 04:45:44.284 - | Create modular jar [2024-06-08T04:45:44.561Z] STF 04:45:44.284 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml [2024-06-08T04:45:44.562Z] STF 04:45:44.284 - | ModuleVersion: null [2024-06-08T04:45:44.562Z] STF 04:45:44.284 - | MainClass: null [2024-06-08T04:45:44.562Z] STF 04:45:44.284 - | HashModules: null [2024-06-08T04:45:44.562Z] STF 04:45:44.285 - | [2024-06-08T04:45:44.562Z] STF 04:45:44.285 - 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_17178197589102/PatModImg_PlatMod_1/20240608-044538-PatModImgTest/modules/8.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-06-08T04:45:44.562Z] STF 04:45:44.285 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17178197589102/PatModImg_PlatMod_1/20240608-044538-PatModImgTest/results/8.CMJ.stderr [2024-06-08T04:45:44.562Z] STF 04:45:44.285 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17178197589102/PatModImg_PlatMod_1/20240608-044538-PatModImgTest/results/8.CMJ.stdout [2024-06-08T04:45:44.562Z] STF 04:45:44.292 - Monitoring processes: CMJ [2024-06-08T04:45:44.882Z] STF 04:45:44.672 - Monitoring Report Summary: [2024-06-08T04:45:44.882Z] STF 04:45:44.672 - o Process CMJ ended with the expected exit code (0) [2024-06-08T04:45:44.882Z] STF 04:45:44.672 - Created modular jar: 8.java.xml.jar [2024-06-08T04:45:44.882Z] STF 04:45:44.672 - [2024-06-08T04:45:44.882Z] STF 04:45:44.672 - +------ Step 9 - Verify if we can patch an upgradable platform module using exploded directory [2024-06-08T04:45:44.882Z] STF 04:45:44.672 - | Run foreground process [2024-06-08T04:45:44.882Z] STF 04:45:44.672 - | Program: C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17178197589102/PatModImg_PlatMod_1/20240608-044538-PatModImgTest/tmp/6.XpJVM/bin/java [2024-06-08T04:45:44.882Z] STF 04:45:44.672 - | Mnemonic: OT11 [2024-06-08T04:45:44.882Z] STF 04:45:44.672 - | Echo: ECHO_ON [2024-06-08T04:45:44.882Z] STF 04:45:44.672 - | Expectation: CLEAN_RUN within 5m [2024-06-08T04:45:44.882Z] STF 04:45:44.672 - | [2024-06-08T04:45:44.882Z] STF 04:45:44.673 - Running command: C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17178197589102/PatModImg_PlatMod_1/20240608-044538-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module java.xml=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 -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.TestOverrideUsingUpgradablePlatformModule [2024-06-08T04:45:44.882Z] STF 04:45:44.673 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17178197589102/PatModImg_PlatMod_1/20240608-044538-PatModImgTest/results/9.OT11.stderr [2024-06-08T04:45:44.882Z] STF 04:45:44.673 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17178197589102/PatModImg_PlatMod_1/20240608-044538-PatModImgTest/results/9.OT11.stdout [2024-06-08T04:45:44.882Z] STF 04:45:44.719 - Monitoring processes: OT11 [2024-06-08T04:45:45.199Z] OT11 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\java.xml [2024-06-08T04:45:45.200Z] OT11 JUnit version 4.12 [2024-06-08T04:45:45.200Z] OT11 . [2024-06-08T04:45:45.200Z] OT11 Time: 0.004 [2024-06-08T04:45:45.200Z] OT11 [2024-06-08T04:45:45.200Z] OT11 OK (1 test) [2024-06-08T04:45:45.200Z] OT11 [2024-06-08T04:45:45.200Z] STF 04:45:45.031 - Monitoring Report Summary: [2024-06-08T04:45:45.200Z] STF 04:45:45.031 - o Process OT11 ended with the expected exit code (0) [2024-06-08T04:45:45.200Z] STF 04:45:45.032 - [2024-06-08T04:45:45.200Z] STF 04:45:45.032 - +------ Step 10 - Verify if we can patch an upgradable platform module using modular jar [2024-06-08T04:45:45.200Z] STF 04:45:45.032 - | Run foreground process [2024-06-08T04:45:45.200Z] STF 04:45:45.032 - | Program: C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17178197589102/PatModImg_PlatMod_1/20240608-044538-PatModImgTest/tmp/6.XpJVM/bin/java [2024-06-08T04:45:45.200Z] STF 04:45:45.032 - | Mnemonic: OT12 [2024-06-08T04:45:45.200Z] STF 04:45:45.032 - | Echo: ECHO_ON [2024-06-08T04:45:45.200Z] STF 04:45:45.032 - | Expectation: CLEAN_RUN within 5m [2024-06-08T04:45:45.200Z] STF 04:45:45.032 - | [2024-06-08T04:45:45.200Z] STF 04:45:45.032 - Running command: C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17178197589102/PatModImg_PlatMod_1/20240608-044538-PatModImgTest/tmp/6.XpJVM/bin/java --add-reads com.test=ALL-UNNAMED --patch-module java.xml=C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17178197589102/PatModImg_PlatMod_1/20240608-044538-PatModImgTest/modules/8.java.xml.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.TestOverrideUsingUpgradablePlatformModule [2024-06-08T04:45:45.200Z] STF 04:45:45.032 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17178197589102/PatModImg_PlatMod_1/20240608-044538-PatModImgTest/results/10.OT12.stderr [2024-06-08T04:45:45.200Z] STF 04:45:45.032 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17178197589102/PatModImg_PlatMod_1/20240608-044538-PatModImgTest/results/10.OT12.stdout [2024-06-08T04:45:45.200Z] STF 04:45:45.038 - Monitoring processes: OT12 [2024-06-08T04:45:45.562Z] OT12 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_17178197589102\PatModImg_PlatMod_1\20240608-044538-PatModImgTest\modules\8.java.xml.jar [2024-06-08T04:45:45.562Z] OT12 JUnit version 4.12 [2024-06-08T04:45:45.562Z] OT12 . [2024-06-08T04:45:45.562Z] OT12 Time: 0.003 [2024-06-08T04:45:45.562Z] OT12 [2024-06-08T04:45:45.562Z] OT12 OK (1 test) [2024-06-08T04:45:45.562Z] OT12 [2024-06-08T04:45:45.562Z] STF 04:45:45.301 - Monitoring Report Summary: [2024-06-08T04:45:45.562Z] STF 04:45:45.302 - o Process OT12 ended with the expected exit code (0) [2024-06-08T04:45:45.562Z] STF 04:45:45.302 - EXECUTE stage completed [2024-06-08T04:45:45.562Z] STF 04:45:45.326 - [2024-06-08T04:45:45.562Z] STF 04:45:45.326 - ==================== T E A R D O W N ==================== [2024-06-08T04:45:45.562Z] STF 04:45:45.326 - Running teardown: perl C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17178197589102\PatModImg_PlatMod_1/20240608-044538-PatModImgTest/tearDown.pl [2024-06-08T04:45:45.562Z] STF 04:45:45.448 - TEARDOWN stage completed [2024-06-08T04:45:45.562Z] STF 04:45:45.461 - [2024-06-08T04:45:45.562Z] STF 04:45:45.461 - ===================== R E S U L T S ===================== [2024-06-08T04:45:45.562Z] STF 04:45:45.461 - Stage results: [2024-06-08T04:45:45.562Z] STF 04:45:45.461 - setUp: pass [2024-06-08T04:45:45.562Z] STF 04:45:45.461 - execute: pass [2024-06-08T04:45:45.562Z] STF 04:45:45.461 - teardown: pass [2024-06-08T04:45:45.562Z] STF 04:45:45.461 - [2024-06-08T04:45:45.562Z] STF 04:45:45.461 - Overall result: PASSED [2024-06-08T04:45:45.562Z] ----------------------------------- [2024-06-08T04:45:45.563Z] PatModImg_PlatMod_1_PASSED [2024-06-08T04:45:45.563Z] ----------------------------------- [2024-06-08T04:45:45.869Z] [2024-06-08T04:45:45.869Z] TEST TEARDOWN: [2024-06-08T04:45:45.869Z] Nothing to be done for teardown. [2024-06-08T04:45:45.869Z] PatModImg_PlatMod_1 Finish Time: Sat Jun 8 04:45:45 2024 Epoch Time (ms): 1717821945784