PatModImg_PlatMod_0

[2024-06-08T04:45:27.977Z] Running test PatModImg_PlatMod_0 ... [2024-06-08T04:45:27.977Z] =============================================== [2024-06-08T04:45:28.285Z] PatModImg_PlatMod_0 Start Time: Sat Jun 8 04:45:28 2024 Epoch Time (ms): 1717821928024 [2024-06-08T04:45:28.285Z] variation: Mode150 [2024-06-08T04:45:28.285Z] JVM_OPTIONS: -XX:+UseCompressedOops [2024-06-08T04:45:28.285Z] { \ [2024-06-08T04:45:28.285Z] echo ""; echo "TEST SETUP:"; \ [2024-06-08T04:45:28.285Z] echo "Nothing to be done for setup."; \ [2024-06-08T04:45:28.285Z] mkdir -p "C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17178197589102\\PatModImg_PlatMod_0"; \ [2024-06-08T04:45:28.285Z] cd "C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17178197589102\\PatModImg_PlatMod_0"; \ [2024-06-08T04:45:28.285Z] echo ""; echo "TESTING:"; \ [2024-06-08T04:45:28.285Z] 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_0" -test=PatModImgTest -test-args="variant=PlatMod"; \ [2024-06-08T04:45:28.285Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "PatModImg_PlatMod_0""_PASSED"; echo "-----------------------------------"; cd C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/; rm -f -r "C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17178197589102\\PatModImg_PlatMod_0"; else echo "-----------------------------------"; echo "PatModImg_PlatMod_0""_FAILED"; echo "-----------------------------------"; fi; \ [2024-06-08T04:45:28.285Z] echo ""; echo "TEST TEARDOWN:"; \ [2024-06-08T04:45:28.285Z] echo "Nothing to be done for teardown."; \ [2024-06-08T04:45:28.285Z] } 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:28.602Z] [2024-06-08T04:45:28.602Z] TEST SETUP: [2024-06-08T04:45:28.602Z] Nothing to be done for setup. [2024-06-08T04:45:28.602Z] [2024-06-08T04:45:28.602Z] TESTING: [2024-06-08T04:45:28.602Z] STF 04:45:28.441 - ========================= S T F ========================= [2024-06-08T04:45:28.602Z] 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_0 [2024-06-08T04:45:28.602Z] There is 124482 Mb free [2024-06-08T04:45:28.602Z] STF 04:45:28.481 - ================== G E N E R A T I O N ================== [2024-06-08T04:45:28.602Z] STF 04:45:28.483 - Checking JVM: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image [2024-06-08T04:45:28.602Z] STF 04:45:28.484 - 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_0/20240608-044528-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_0/20240608-044528-PatModImgTest" [2024-06-08T04:45:29.710Z] GEN 04:45:29.587 - 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:29.710Z] GEN 04:45:29.610 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.PatModImgTest' [2024-06-08T04:45:30.028Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2024-06-08T04:45:30.028Z] 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:30.028Z] 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:30.028Z] 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:30.028Z] 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:30.028Z] 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:30.028Z] 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:30.028Z] 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:30.028Z] 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:30.028Z] 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:30.028Z] 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:30.028Z] 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:30.028Z] 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:30.028Z] 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:30.028Z] 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:30.028Z] 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:30.028Z] GEN C:\\jenkins\\workspace\\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\\jvmtest\\system\\STF\\stf.core\\bin [2024-06-08T04:45:30.028Z] 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:30.028Z] 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:30.028Z] 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:30.028Z] GEN 04:45:29.879 - Using Mode NoOptions. Values = '' [2024-06-08T04:45:30.348Z] GEN 04:45:30.090 - [2024-06-08T04:45:30.348Z] GEN 04:45:30.090 - Test command summary: [2024-06-08T04:45:30.348Z] GEN 04:45:30.090 - Step Stage Command Description [2024-06-08T04:45:30.348Z] GEN 04:45:30.090 - -----+--------+-----------------+------------ [2024-06-08T04:45:30.348Z] GEN 04:45:30.091 - 1 execute jar Create com.hello jar [2024-06-08T04:45:30.348Z] GEN 04:45:30.091 - 2 execute jar Create com.hola jar [2024-06-08T04:45:30.348Z] GEN 04:45:30.091 - 3 execute jar Create com.helper jar [2024-06-08T04:45:30.348Z] GEN 04:45:30.091 - 4 execute jar Create com.discreet jar [2024-06-08T04:45:30.348Z] GEN 04:45:30.091 - 5 execute jar Create tests jar [2024-06-08T04:45:30.348Z] GEN 04:45:30.091 - 6 execute jlink Create runtime image for PatchModule test [2024-06-08T04:45:30.348Z] GEN 04:45:30.091 - 7 execute jar Create com.hello jar [2024-06-08T04:45:30.348Z] GEN 04:45:30.091 - 8 execute jar create java.xml.jar [2024-06-08T04:45:30.348Z] GEN 04:45:30.091 - 9 execute Run java Verify if we can patch an upgradable platform module using exploded directory [2024-06-08T04:45:30.348Z] GEN 04:45:30.091 - 10 execute Run java Verify if we can patch an upgradable platform module using modular jar [2024-06-08T04:45:30.348Z] STF 04:45:30.128 - [2024-06-08T04:45:30.348Z] STF 04:45:30.128 - Script generation completed [2024-06-08T04:45:30.348Z] STF 04:45:30.128 - [2024-06-08T04:45:30.348Z] STF 04:45:30.130 - [2024-06-08T04:45:30.348Z] STF 04:45:30.130 - ======================= S E T U P ======================= [2024-06-08T04:45:30.348Z] STF 04:45:30.130 - Running setup: perl C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17178197589102\PatModImg_PlatMod_0/20240608-044528-PatModImgTest/setUp.pl [2024-06-08T04:45:30.348Z] STF 04:45:30.255 - SETUP stage completed [2024-06-08T04:45:30.348Z] STF 04:45:30.271 - [2024-06-08T04:45:30.348Z] STF 04:45:30.271 - ==================== E X E C U T E - ==================== [2024-06-08T04:45:30.348Z] STF 04:45:30.271 - Running execute: perl C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17178197589102\PatModImg_PlatMod_0/20240608-044528-PatModImgTest/execute.pl [2024-06-08T04:45:30.668Z] STF 04:45:30.407 - [2024-06-08T04:45:30.668Z] STF 04:45:30.407 - Java version [2024-06-08T04:45:30.668Z] STF 04:45:30.407 - Running: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java -version [2024-06-08T04:45:30.668Z] openjdk version "11.0.24-beta" 2024-07-16 [2024-06-08T04:45:30.668Z] OpenJDK Runtime Environment Temurin-11.0.24+6-202406072132 (build 11.0.24-beta+6-ea) [2024-06-08T04:45:30.668Z] OpenJDK 64-Bit Server VM Temurin-11.0.24+6-202406072132 (build 11.0.24-beta+6-ea, mixed mode) [2024-06-08T04:45:30.668Z] STF 04:45:30.529 - [2024-06-08T04:45:30.668Z] STF 04:45:30.529 - +------ Step 1 - Create com.hello jar [2024-06-08T04:45:30.668Z] STF 04:45:30.529 - | Create modular jar [2024-06-08T04:45:30.668Z] STF 04:45:30.529 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2024-06-08T04:45:30.668Z] STF 04:45:30.529 - | ModuleVersion: null [2024-06-08T04:45:30.668Z] STF 04:45:30.529 - | MainClass: null [2024-06-08T04:45:30.668Z] STF 04:45:30.529 - | HashModules: null [2024-06-08T04:45:30.668Z] STF 04:45:30.529 - | [2024-06-08T04:45:30.668Z] STF 04:45:30.529 - 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_0/20240608-044528-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:30.668Z] STF 04:45:30.530 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17178197589102/PatModImg_PlatMod_0/20240608-044528-PatModImgTest/results/1.CMJ.stderr [2024-06-08T04:45:30.668Z] STF 04:45:30.530 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17178197589102/PatModImg_PlatMod_0/20240608-044528-PatModImgTest/results/1.CMJ.stdout [2024-06-08T04:45:30.668Z] STF 04:45:30.555 - Monitoring processes: CMJ [2024-06-08T04:45:30.986Z] STF 04:45:30.859 - Monitoring Report Summary: [2024-06-08T04:45:30.986Z] STF 04:45:30.859 - o Process CMJ ended with the expected exit code (0) [2024-06-08T04:45:30.986Z] STF 04:45:30.860 - Created modular jar: 1.com.hello.jar [2024-06-08T04:45:30.986Z] STF 04:45:30.860 - [2024-06-08T04:45:30.986Z] STF 04:45:30.860 - +------ Step 2 - Create com.hola jar [2024-06-08T04:45:30.986Z] STF 04:45:30.860 - | Create modular jar [2024-06-08T04:45:30.986Z] STF 04:45:30.860 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2024-06-08T04:45:30.986Z] STF 04:45:30.860 - | ModuleVersion: null [2024-06-08T04:45:30.986Z] STF 04:45:30.860 - | MainClass: null [2024-06-08T04:45:30.986Z] STF 04:45:30.860 - | HashModules: null [2024-06-08T04:45:30.986Z] STF 04:45:30.860 - | [2024-06-08T04:45:30.986Z] STF 04:45:30.860 - 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_0/20240608-044528-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:30.986Z] STF 04:45:30.860 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17178197589102/PatModImg_PlatMod_0/20240608-044528-PatModImgTest/results/2.CMJ.stderr [2024-06-08T04:45:30.986Z] STF 04:45:30.860 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17178197589102/PatModImg_PlatMod_0/20240608-044528-PatModImgTest/results/2.CMJ.stdout [2024-06-08T04:45:30.986Z] STF 04:45:30.866 - Monitoring processes: CMJ [2024-06-08T04:45:31.306Z] STF 04:45:31.171 - Monitoring Report Summary: [2024-06-08T04:45:31.306Z] STF 04:45:31.171 - o Process CMJ ended with the expected exit code (0) [2024-06-08T04:45:31.306Z] STF 04:45:31.172 - Created modular jar: 2.com.hola.jar [2024-06-08T04:45:31.306Z] STF 04:45:31.172 - [2024-06-08T04:45:31.306Z] STF 04:45:31.172 - +------ Step 3 - Create com.helper jar [2024-06-08T04:45:31.306Z] STF 04:45:31.172 - | Create modular jar [2024-06-08T04:45:31.306Z] STF 04:45:31.172 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2024-06-08T04:45:31.306Z] STF 04:45:31.172 - | ModuleVersion: null [2024-06-08T04:45:31.306Z] STF 04:45:31.172 - | MainClass: null [2024-06-08T04:45:31.306Z] STF 04:45:31.172 - | HashModules: null [2024-06-08T04:45:31.306Z] STF 04:45:31.172 - | [2024-06-08T04:45:31.306Z] STF 04:45:31.172 - 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_0/20240608-044528-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:31.306Z] STF 04:45:31.172 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17178197589102/PatModImg_PlatMod_0/20240608-044528-PatModImgTest/results/3.CMJ.stderr [2024-06-08T04:45:31.306Z] STF 04:45:31.172 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17178197589102/PatModImg_PlatMod_0/20240608-044528-PatModImgTest/results/3.CMJ.stdout [2024-06-08T04:45:31.306Z] STF 04:45:31.179 - Monitoring processes: CMJ [2024-06-08T04:45:31.623Z] STF 04:45:31.483 - Monitoring Report Summary: [2024-06-08T04:45:31.623Z] STF 04:45:31.483 - o Process CMJ ended with the expected exit code (0) [2024-06-08T04:45:31.623Z] STF 04:45:31.483 - Created modular jar: 3.com.helper.jar [2024-06-08T04:45:31.623Z] STF 04:45:31.483 - [2024-06-08T04:45:31.623Z] STF 04:45:31.483 - +------ Step 4 - Create com.discreet jar [2024-06-08T04:45:31.623Z] STF 04:45:31.483 - | Create modular jar [2024-06-08T04:45:31.623Z] STF 04:45:31.483 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2024-06-08T04:45:31.623Z] STF 04:45:31.483 - | ModuleVersion: null [2024-06-08T04:45:31.623Z] STF 04:45:31.483 - | MainClass: null [2024-06-08T04:45:31.623Z] STF 04:45:31.483 - | HashModules: null [2024-06-08T04:45:31.623Z] STF 04:45:31.483 - | [2024-06-08T04:45:31.623Z] STF 04:45:31.484 - 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_0/20240608-044528-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:31.623Z] STF 04:45:31.484 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17178197589102/PatModImg_PlatMod_0/20240608-044528-PatModImgTest/results/4.CMJ.stderr [2024-06-08T04:45:31.623Z] STF 04:45:31.484 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17178197589102/PatModImg_PlatMod_0/20240608-044528-PatModImgTest/results/4.CMJ.stdout [2024-06-08T04:45:31.623Z] STF 04:45:31.490 - Monitoring processes: CMJ [2024-06-08T04:45:31.941Z] STF 04:45:31.788 - Monitoring Report Summary: [2024-06-08T04:45:31.941Z] STF 04:45:31.788 - o Process CMJ ended with the expected exit code (0) [2024-06-08T04:45:31.941Z] STF 04:45:31.788 - Created modular jar: 4.com.discreet.jar [2024-06-08T04:45:31.941Z] STF 04:45:31.788 - [2024-06-08T04:45:31.941Z] STF 04:45:31.788 - +------ Step 5 - Create tests jar [2024-06-08T04:45:31.941Z] STF 04:45:31.788 - | Create modular jar [2024-06-08T04:45:31.941Z] STF 04:45:31.788 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2024-06-08T04:45:31.941Z] STF 04:45:31.788 - | ModuleVersion: null [2024-06-08T04:45:31.941Z] STF 04:45:31.788 - | MainClass: null [2024-06-08T04:45:31.941Z] STF 04:45:31.788 - | HashModules: null [2024-06-08T04:45:31.941Z] STF 04:45:31.788 - | [2024-06-08T04:45:31.941Z] STF 04:45:31.789 - 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_0/20240608-044528-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:31.941Z] STF 04:45:31.789 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17178197589102/PatModImg_PlatMod_0/20240608-044528-PatModImgTest/results/5.CMJ.stderr [2024-06-08T04:45:31.941Z] STF 04:45:31.789 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17178197589102/PatModImg_PlatMod_0/20240608-044528-PatModImgTest/results/5.CMJ.stdout [2024-06-08T04:45:31.941Z] STF 04:45:31.794 - Monitoring processes: CMJ [2024-06-08T04:45:32.257Z] STF 04:45:32.094 - Monitoring Report Summary: [2024-06-08T04:45:32.257Z] STF 04:45:32.094 - o Process CMJ ended with the expected exit code (0) [2024-06-08T04:45:32.257Z] STF 04:45:32.094 - Created modular jar: 5.com.test.jar [2024-06-08T04:45:32.257Z] STF 04:45:32.094 - [2024-06-08T04:45:32.257Z] STF 04:45:32.094 - +------ Step 6 - Create runtime image for PatchModule test [2024-06-08T04:45:32.257Z] STF 04:45:32.094 - | Run jlink to create runtime image [2024-06-08T04:45:32.257Z] STF 04:45:32.094 - | ImageName: XpJVM [2024-06-08T04:45:32.257Z] STF 04:45:32.094 - | [2024-06-08T04:45:32.257Z] STF 04:45:32.095 - 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_0\20240608-044528-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_0\20240608-044528-PatModImgTest\tmp\6.XpJVM [2024-06-08T04:45:32.257Z] STF 04:45:32.095 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17178197589102/PatModImg_PlatMod_0/20240608-044528-PatModImgTest/results/6.JLNK.stderr [2024-06-08T04:45:32.257Z] STF 04:45:32.095 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17178197589102/PatModImg_PlatMod_0/20240608-044528-PatModImgTest/results/6.JLNK.stdout [2024-06-08T04:45:32.257Z] STF 04:45:32.140 - Monitoring processes: JLNK [2024-06-08T04:45:35.117Z] STF 04:45:34.879 - Monitoring Report Summary: [2024-06-08T04:45:35.117Z] STF 04:45:34.879 - o Process JLNK ended with the expected exit code (0) [2024-06-08T04:45:35.117Z] STF 04:45:34.879 - [2024-06-08T04:45:35.117Z] STF 04:45:34.879 - +------ Step 7 - Create com.hello jar [2024-06-08T04:45:35.117Z] STF 04:45:34.879 - | Create modular jar [2024-06-08T04:45:35.117Z] STF 04:45:34.880 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2024-06-08T04:45:35.117Z] STF 04:45:34.880 - | ModuleVersion: null [2024-06-08T04:45:35.117Z] STF 04:45:34.880 - | MainClass: null [2024-06-08T04:45:35.117Z] STF 04:45:34.880 - | HashModules: null [2024-06-08T04:45:35.117Z] STF 04:45:34.880 - | [2024-06-08T04:45:35.117Z] STF 04:45:34.880 - 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_0/20240608-044528-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:35.117Z] STF 04:45:34.880 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17178197589102/PatModImg_PlatMod_0/20240608-044528-PatModImgTest/results/7.CMJ.stderr [2024-06-08T04:45:35.117Z] STF 04:45:34.880 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17178197589102/PatModImg_PlatMod_0/20240608-044528-PatModImgTest/results/7.CMJ.stdout [2024-06-08T04:45:35.117Z] STF 04:45:34.887 - Monitoring processes: CMJ [2024-06-08T04:45:35.435Z] STF 04:45:35.267 - Monitoring Report Summary: [2024-06-08T04:45:35.435Z] STF 04:45:35.267 - o Process CMJ ended with the expected exit code (0) [2024-06-08T04:45:35.435Z] STF 04:45:35.267 - Created modular jar: 7.com.hello.jar [2024-06-08T04:45:35.435Z] STF 04:45:35.267 - [2024-06-08T04:45:35.435Z] STF 04:45:35.267 - +------ Step 8 - create java.xml.jar [2024-06-08T04:45:35.435Z] STF 04:45:35.267 - | Create modular jar [2024-06-08T04:45:35.435Z] STF 04:45:35.267 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.xml [2024-06-08T04:45:35.435Z] STF 04:45:35.267 - | ModuleVersion: null [2024-06-08T04:45:35.435Z] STF 04:45:35.267 - | MainClass: null [2024-06-08T04:45:35.435Z] STF 04:45:35.267 - | HashModules: null [2024-06-08T04:45:35.435Z] STF 04:45:35.267 - | [2024-06-08T04:45:35.435Z] STF 04:45:35.268 - 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_0/20240608-044528-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:35.435Z] STF 04:45:35.268 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17178197589102/PatModImg_PlatMod_0/20240608-044528-PatModImgTest/results/8.CMJ.stderr [2024-06-08T04:45:35.435Z] STF 04:45:35.268 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17178197589102/PatModImg_PlatMod_0/20240608-044528-PatModImgTest/results/8.CMJ.stdout [2024-06-08T04:45:35.435Z] STF 04:45:35.274 - Monitoring processes: CMJ [2024-06-08T04:45:35.752Z] STF 04:45:35.656 - Monitoring Report Summary: [2024-06-08T04:45:35.752Z] STF 04:45:35.656 - o Process CMJ ended with the expected exit code (0) [2024-06-08T04:45:35.752Z] STF 04:45:35.656 - Created modular jar: 8.java.xml.jar [2024-06-08T04:45:35.752Z] STF 04:45:35.656 - [2024-06-08T04:45:35.752Z] STF 04:45:35.656 - +------ Step 9 - Verify if we can patch an upgradable platform module using exploded directory [2024-06-08T04:45:35.752Z] STF 04:45:35.656 - | Run foreground process [2024-06-08T04:45:35.752Z] STF 04:45:35.656 - | Program: C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17178197589102/PatModImg_PlatMod_0/20240608-044528-PatModImgTest/tmp/6.XpJVM/bin/java [2024-06-08T04:45:35.752Z] STF 04:45:35.656 - | Mnemonic: OT11 [2024-06-08T04:45:35.752Z] STF 04:45:35.656 - | Echo: ECHO_ON [2024-06-08T04:45:35.752Z] STF 04:45:35.656 - | Expectation: CLEAN_RUN within 5m [2024-06-08T04:45:35.752Z] STF 04:45:35.656 - | [2024-06-08T04:45:35.752Z] STF 04:45:35.657 - Running command: C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17178197589102/PatModImg_PlatMod_0/20240608-044528-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:35.752Z] STF 04:45:35.657 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17178197589102/PatModImg_PlatMod_0/20240608-044528-PatModImgTest/results/9.OT11.stderr [2024-06-08T04:45:35.752Z] STF 04:45:35.657 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17178197589102/PatModImg_PlatMod_0/20240608-044528-PatModImgTest/results/9.OT11.stdout [2024-06-08T04:45:36.070Z] STF 04:45:35.703 - Monitoring processes: OT11 [2024-06-08T04:45:36.070Z] 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:36.070Z] OT11 JUnit version 4.12 [2024-06-08T04:45:36.070Z] OT11 . [2024-06-08T04:45:36.386Z] OT11 Time: 0.004 [2024-06-08T04:45:36.386Z] OT11 [2024-06-08T04:45:36.386Z] OT11 OK (1 test) [2024-06-08T04:45:36.386Z] OT11 [2024-06-08T04:45:36.386Z] STF 04:45:36.071 - Monitoring Report Summary: [2024-06-08T04:45:36.386Z] STF 04:45:36.071 - o Process OT11 ended with the expected exit code (0) [2024-06-08T04:45:36.386Z] STF 04:45:36.072 - [2024-06-08T04:45:36.386Z] STF 04:45:36.072 - +------ Step 10 - Verify if we can patch an upgradable platform module using modular jar [2024-06-08T04:45:36.386Z] STF 04:45:36.072 - | Run foreground process [2024-06-08T04:45:36.386Z] STF 04:45:36.072 - | Program: C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17178197589102/PatModImg_PlatMod_0/20240608-044528-PatModImgTest/tmp/6.XpJVM/bin/java [2024-06-08T04:45:36.386Z] STF 04:45:36.072 - | Mnemonic: OT12 [2024-06-08T04:45:36.386Z] STF 04:45:36.072 - | Echo: ECHO_ON [2024-06-08T04:45:36.386Z] STF 04:45:36.072 - | Expectation: CLEAN_RUN within 5m [2024-06-08T04:45:36.386Z] STF 04:45:36.072 - | [2024-06-08T04:45:36.387Z] STF 04:45:36.072 - Running command: C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17178197589102/PatModImg_PlatMod_0/20240608-044528-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_0/20240608-044528-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:36.387Z] STF 04:45:36.072 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17178197589102/PatModImg_PlatMod_0/20240608-044528-PatModImgTest/results/10.OT12.stderr [2024-06-08T04:45:36.387Z] STF 04:45:36.072 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17178197589102/PatModImg_PlatMod_0/20240608-044528-PatModImgTest/results/10.OT12.stdout [2024-06-08T04:45:36.387Z] STF 04:45:36.078 - Monitoring processes: OT12 [2024-06-08T04:45:36.387Z] 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_0\20240608-044528-PatModImgTest\modules\8.java.xml.jar [2024-06-08T04:45:36.387Z] OT12 JUnit version 4.12 [2024-06-08T04:45:36.387Z] OT12 . [2024-06-08T04:45:36.387Z] OT12 Time: 0.004 [2024-06-08T04:45:36.387Z] OT12 [2024-06-08T04:45:36.387Z] OT12 OK (1 test) [2024-06-08T04:45:36.387Z] OT12 [2024-06-08T04:45:36.694Z] STF 04:45:36.336 - Monitoring Report Summary: [2024-06-08T04:45:36.694Z] STF 04:45:36.336 - o Process OT12 ended with the expected exit code (0) [2024-06-08T04:45:36.694Z] STF 04:45:36.337 - EXECUTE stage completed [2024-06-08T04:45:36.694Z] STF 04:45:36.399 - [2024-06-08T04:45:36.694Z] STF 04:45:36.399 - ==================== T E A R D O W N ==================== [2024-06-08T04:45:36.694Z] STF 04:45:36.399 - Running teardown: perl C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17178197589102\PatModImg_PlatMod_0/20240608-044528-PatModImgTest/tearDown.pl [2024-06-08T04:45:36.694Z] STF 04:45:36.519 - TEARDOWN stage completed [2024-06-08T04:45:36.694Z] STF 04:45:36.532 - [2024-06-08T04:45:36.694Z] STF 04:45:36.532 - ===================== R E S U L T S ===================== [2024-06-08T04:45:36.694Z] STF 04:45:36.532 - Stage results: [2024-06-08T04:45:36.694Z] STF 04:45:36.532 - setUp: pass [2024-06-08T04:45:36.694Z] STF 04:45:36.532 - execute: pass [2024-06-08T04:45:36.694Z] STF 04:45:36.532 - teardown: pass [2024-06-08T04:45:36.694Z] STF 04:45:36.532 - [2024-06-08T04:45:36.694Z] STF 04:45:36.532 - Overall result: PASSED [2024-06-08T04:45:36.694Z] ----------------------------------- [2024-06-08T04:45:36.694Z] PatModImg_PlatMod_0_PASSED [2024-06-08T04:45:36.694Z] ----------------------------------- [2024-06-08T04:45:36.694Z] [2024-06-08T04:45:36.694Z] TEST TEARDOWN: [2024-06-08T04:45:36.694Z] Nothing to be done for teardown. [2024-06-08T04:45:37.035Z] PatModImg_PlatMod_0 Finish Time: Sat Jun 8 04:45:36 2024 Epoch Time (ms): 1717821936725