UpgModPath_JarImg_1

[2024-08-10T09:47:26.932Z] Running test UpgModPath_JarImg_1 ... [2024-08-10T09:47:26.932Z] =============================================== [2024-08-10T09:47:27.262Z] UpgModPath_JarImg_1 Start Time: Sat Aug 10 09:47:26 2024 Epoch Time (ms): 1723283246967 [2024-08-10T09:47:27.262Z] variation: Mode650 [2024-08-10T09:47:27.639Z] JVM_OPTIONS: -XX:-UseCompressedOops [2024-08-10T09:47:27.639Z] { \ [2024-08-10T09:47:27.639Z] echo ""; echo "TEST SETUP:"; \ [2024-08-10T09:47:27.639Z] echo "Nothing to be done for setup."; \ [2024-08-10T09:47:27.640Z] mkdir -p "C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17232812199874\\UpgModPath_JarImg_1"; \ [2024-08-10T09:47:27.640Z] cd "C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17232812199874\\UpgModPath_JarImg_1"; \ [2024-08-10T09:47:27.640Z] echo ""; echo "TESTING:"; \ [2024-08-10T09:47:27.640Z] 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/../../testDependency/system_lib\\" -java-args=' -XX:-UseCompressedOops ' -results-root="C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17232812199874\\UpgModPath_JarImg_1" -test=UpgModPathTest -test-args="variant=JarImg"; \ [2024-08-10T09:47:27.640Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "UpgModPath_JarImg_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_17232812199874\\UpgModPath_JarImg_1"; else echo "-----------------------------------"; echo "UpgModPath_JarImg_1""_FAILED"; echo "-----------------------------------"; fi; \ [2024-08-10T09:47:27.640Z] echo ""; echo "TEST TEARDOWN:"; \ [2024-08-10T09:47:27.640Z] echo "Nothing to be done for teardown."; \ [2024-08-10T09:47:27.640Z] } 2>&1 | tee -a "C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17232812199874\\TestTargetResult"; [2024-08-10T09:47:27.640Z] [2024-08-10T09:47:27.640Z] TEST SETUP: [2024-08-10T09:47:27.640Z] Nothing to be done for setup. [2024-08-10T09:47:27.640Z] [2024-08-10T09:47:27.640Z] TESTING: [2024-08-10T09:47:27.640Z] STF 09:47:27.552 - ========================= S T F ========================= [2024-08-10T09:47:27.640Z] systemtest-prereqs has been processed, and set to: c:/jenkins/testDependency/system_libRetrieving amount of free space on drive containing C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17232812199874\UpgModPath_JarImg_1 [2024-08-10T09:47:27.970Z] There is 106588 Mb free [2024-08-10T09:47:27.970Z] STF 09:47:27.597 - ================== G E N E R A T I O N ================== [2024-08-10T09:47:27.970Z] STF 09:47:27.599 - Checking JVM: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image [2024-08-10T09:47:27.970Z] STF 09:47:27.599 - 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/../../testDependency/system_lib\/log4j/log4j-api.jar;c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/../../testDependency/system_lib\/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_17232812199874\UpgModPath_JarImg_1/20240810-094727-UpgModPathTest/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_17232812199874\UpgModPath_JarImg_1/20240810-094727-UpgModPathTest" [2024-08-10T09:47:29.146Z] GEN 09:47:28.622 - Found test. Project: 'openjdk.test.modularity' class: 'UpgModPathTest.class' Dir: 'C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin' [2024-08-10T09:47:29.146Z] GEN 09:47:28.640 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.UpgModPathTest' [2024-08-10T09:47:29.146Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2024-08-10T09:47:29.146Z] 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-08-10T09:47:29.146Z] 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-08-10T09:47:29.146Z] 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-08-10T09:47:29.147Z] 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-08-10T09:47:29.147Z] 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-08-10T09:47:29.147Z] 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-08-10T09:47:29.147Z] 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-08-10T09:47:29.147Z] 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-08-10T09:47:29.147Z] 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-08-10T09:47:29.147Z] 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-08-10T09:47:29.147Z] 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-08-10T09:47:29.147Z] 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-08-10T09:47:29.147Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common [2024-08-10T09:47:29.147Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests [2024-08-10T09:47:29.147Z] GEN C:\\jenkins\\workspace\\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin [2024-08-10T09:47:29.147Z] GEN C:\\jenkins\\workspace\\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\\jvmtest\\system\\STF\\stf.core\\bin [2024-08-10T09:47:29.147Z] GEN c:/jenkins/testDependency/system_lib/log4j/log4j-api.jar [2024-08-10T09:47:29.147Z] GEN c:/jenkins/testDependency/system_lib/log4j/log4j-core.jar [2024-08-10T09:47:29.147Z] GEN c:/jenkins/testDependency/system_lib/junit/junit.jar [2024-08-10T09:47:29.147Z] GEN 09:47:28.945 - Using Mode NoOptions. Values = '' [2024-08-10T09:47:29.475Z] GEN 09:47:29.088 - [2024-08-10T09:47:29.475Z] GEN 09:47:29.088 - Test command summary: [2024-08-10T09:47:29.475Z] GEN 09:47:29.088 - Step Stage Command Description [2024-08-10T09:47:29.475Z] GEN 09:47:29.088 - -----+--------+-----------------+------------ [2024-08-10T09:47:29.475Z] GEN 09:47:29.089 - 1 execute jar Create com.hello jar [2024-08-10T09:47:29.475Z] GEN 09:47:29.089 - 2 execute jar Create com.hola jar [2024-08-10T09:47:29.475Z] GEN 09:47:29.089 - 3 execute jar Create com.helper jar [2024-08-10T09:47:29.475Z] GEN 09:47:29.089 - 4 execute jar Create com.discreet jar [2024-08-10T09:47:29.475Z] GEN 09:47:29.089 - 5 execute jar Create tests jar [2024-08-10T09:47:29.475Z] GEN 09:47:29.089 - 6 execute jlink Create runtime image for upgrademodulepath test [2024-08-10T09:47:29.475Z] GEN 09:47:29.089 - 7 execute jar Create com.hello override jar [2024-08-10T09:47:29.475Z] GEN 09:47:29.089 - 8 execute jar Create com.hello override jar [2024-08-10T09:47:29.475Z] GEN 09:47:29.089 - 9 execute Run java Override an application module using a custom runtime image where the overriding module is in a modularized jar [2024-08-10T09:47:29.475Z] GEN 09:47:29.089 - 10 execute Run java (Negative test) Override a non-upgradable platform module using a custom runtime imagewhere the overriding module is in a modularized jar [2024-08-10T09:47:29.475Z] GEN 09:47:29.089 - 11 execute Run java Combine stderr and stdout files of process OT27 [2024-08-10T09:47:29.475Z] GEN 09:47:29.089 - 12 execute count Check output [2024-08-10T09:47:29.475Z] STF 09:47:29.150 - [2024-08-10T09:47:29.475Z] STF 09:47:29.150 - Script generation completed [2024-08-10T09:47:29.475Z] STF 09:47:29.150 - [2024-08-10T09:47:29.475Z] STF 09:47:29.151 - [2024-08-10T09:47:29.475Z] STF 09:47:29.151 - ======================= S E T U P ======================= [2024-08-10T09:47:29.475Z] STF 09:47:29.151 - Running setup: perl C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17232812199874\UpgModPath_JarImg_1/20240810-094727-UpgModPathTest/setUp.pl [2024-08-10T09:47:29.475Z] STF 09:47:29.278 - SETUP stage completed [2024-08-10T09:47:29.475Z] STF 09:47:29.290 - [2024-08-10T09:47:29.475Z] STF 09:47:29.290 - ==================== E X E C U T E - ==================== [2024-08-10T09:47:29.475Z] STF 09:47:29.290 - Running execute: perl C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17232812199874\UpgModPath_JarImg_1/20240810-094727-UpgModPathTest/execute.pl [2024-08-10T09:47:29.475Z] STF 09:47:29.416 - [2024-08-10T09:47:29.475Z] STF 09:47:29.417 - Java version [2024-08-10T09:47:29.475Z] STF 09:47:29.417 - Running: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java -version [2024-08-10T09:47:29.805Z] openjdk version "11.0.25-beta" 2024-10-15 [2024-08-10T09:47:29.805Z] OpenJDK Runtime Environment Temurin-11.0.25+2-202408092214 (build 11.0.25-beta+2-ea) [2024-08-10T09:47:29.805Z] OpenJDK 64-Bit Server VM Temurin-11.0.25+2-202408092214 (build 11.0.25-beta+2-ea, mixed mode) [2024-08-10T09:47:29.805Z] STF 09:47:29.532 - [2024-08-10T09:47:29.805Z] STF 09:47:29.532 - +------ Step 1 - Create com.hello jar [2024-08-10T09:47:29.805Z] STF 09:47:29.532 - | Create modular jar [2024-08-10T09:47:29.805Z] STF 09:47:29.532 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2024-08-10T09:47:29.805Z] STF 09:47:29.532 - | ModuleVersion: null [2024-08-10T09:47:29.805Z] STF 09:47:29.532 - | MainClass: null [2024-08-10T09:47:29.805Z] STF 09:47:29.532 - | HashModules: null [2024-08-10T09:47:29.805Z] STF 09:47:29.532 - | [2024-08-10T09:47:29.805Z] STF 09:47:29.533 - 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_17232812199874/UpgModPath_JarImg_1/20240810-094727-UpgModPathTest/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-08-10T09:47:29.805Z] STF 09:47:29.533 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17232812199874/UpgModPath_JarImg_1/20240810-094727-UpgModPathTest/results/1.CMJ.stderr [2024-08-10T09:47:29.805Z] STF 09:47:29.533 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17232812199874/UpgModPath_JarImg_1/20240810-094727-UpgModPathTest/results/1.CMJ.stdout [2024-08-10T09:47:29.805Z] STF 09:47:29.568 - Monitoring processes: CMJ [2024-08-10T09:47:30.132Z] STF 09:47:29.850 - Monitoring Report Summary: [2024-08-10T09:47:30.132Z] STF 09:47:29.850 - o Process CMJ ended with the expected exit code (0) [2024-08-10T09:47:30.132Z] STF 09:47:29.850 - Created modular jar: 1.com.hello.jar [2024-08-10T09:47:30.132Z] STF 09:47:29.850 - [2024-08-10T09:47:30.132Z] STF 09:47:29.850 - +------ Step 2 - Create com.hola jar [2024-08-10T09:47:30.132Z] STF 09:47:29.850 - | Create modular jar [2024-08-10T09:47:30.133Z] STF 09:47:29.850 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2024-08-10T09:47:30.133Z] STF 09:47:29.850 - | ModuleVersion: null [2024-08-10T09:47:30.133Z] STF 09:47:29.850 - | MainClass: null [2024-08-10T09:47:30.133Z] STF 09:47:29.850 - | HashModules: null [2024-08-10T09:47:30.133Z] STF 09:47:29.850 - | [2024-08-10T09:47:30.133Z] STF 09:47:29.851 - 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_17232812199874/UpgModPath_JarImg_1/20240810-094727-UpgModPathTest/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-08-10T09:47:30.133Z] STF 09:47:29.851 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17232812199874/UpgModPath_JarImg_1/20240810-094727-UpgModPathTest/results/2.CMJ.stderr [2024-08-10T09:47:30.133Z] STF 09:47:29.851 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17232812199874/UpgModPath_JarImg_1/20240810-094727-UpgModPathTest/results/2.CMJ.stdout [2024-08-10T09:47:30.133Z] STF 09:47:29.856 - Monitoring processes: CMJ [2024-08-10T09:47:30.449Z] STF 09:47:30.137 - Monitoring Report Summary: [2024-08-10T09:47:30.449Z] STF 09:47:30.137 - o Process CMJ ended with the expected exit code (0) [2024-08-10T09:47:30.449Z] STF 09:47:30.138 - Created modular jar: 2.com.hola.jar [2024-08-10T09:47:30.449Z] STF 09:47:30.138 - [2024-08-10T09:47:30.449Z] STF 09:47:30.138 - +------ Step 3 - Create com.helper jar [2024-08-10T09:47:30.449Z] STF 09:47:30.138 - | Create modular jar [2024-08-10T09:47:30.449Z] STF 09:47:30.138 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2024-08-10T09:47:30.449Z] STF 09:47:30.138 - | ModuleVersion: null [2024-08-10T09:47:30.449Z] STF 09:47:30.138 - | MainClass: null [2024-08-10T09:47:30.449Z] STF 09:47:30.138 - | HashModules: null [2024-08-10T09:47:30.449Z] STF 09:47:30.138 - | [2024-08-10T09:47:30.449Z] STF 09:47:30.138 - 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_17232812199874/UpgModPath_JarImg_1/20240810-094727-UpgModPathTest/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-08-10T09:47:30.449Z] STF 09:47:30.138 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17232812199874/UpgModPath_JarImg_1/20240810-094727-UpgModPathTest/results/3.CMJ.stderr [2024-08-10T09:47:30.449Z] STF 09:47:30.138 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17232812199874/UpgModPath_JarImg_1/20240810-094727-UpgModPathTest/results/3.CMJ.stdout [2024-08-10T09:47:30.449Z] STF 09:47:30.143 - Monitoring processes: CMJ [2024-08-10T09:47:30.773Z] STF 09:47:30.431 - Monitoring Report Summary: [2024-08-10T09:47:30.773Z] STF 09:47:30.432 - o Process CMJ ended with the expected exit code (0) [2024-08-10T09:47:30.773Z] STF 09:47:30.432 - Created modular jar: 3.com.helper.jar [2024-08-10T09:47:30.773Z] STF 09:47:30.432 - [2024-08-10T09:47:30.773Z] STF 09:47:30.432 - +------ Step 4 - Create com.discreet jar [2024-08-10T09:47:30.773Z] STF 09:47:30.432 - | Create modular jar [2024-08-10T09:47:30.773Z] STF 09:47:30.432 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2024-08-10T09:47:30.773Z] STF 09:47:30.432 - | ModuleVersion: null [2024-08-10T09:47:30.773Z] STF 09:47:30.432 - | MainClass: null [2024-08-10T09:47:30.773Z] STF 09:47:30.432 - | HashModules: null [2024-08-10T09:47:30.773Z] STF 09:47:30.432 - | [2024-08-10T09:47:30.773Z] STF 09:47:30.432 - 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_17232812199874/UpgModPath_JarImg_1/20240810-094727-UpgModPathTest/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-08-10T09:47:30.773Z] STF 09:47:30.432 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17232812199874/UpgModPath_JarImg_1/20240810-094727-UpgModPathTest/results/4.CMJ.stderr [2024-08-10T09:47:30.773Z] STF 09:47:30.432 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17232812199874/UpgModPath_JarImg_1/20240810-094727-UpgModPathTest/results/4.CMJ.stdout [2024-08-10T09:47:30.773Z] STF 09:47:30.438 - Monitoring processes: CMJ [2024-08-10T09:47:30.773Z] STF 09:47:30.719 - Monitoring Report Summary: [2024-08-10T09:47:30.774Z] STF 09:47:30.719 - o Process CMJ ended with the expected exit code (0) [2024-08-10T09:47:30.774Z] STF 09:47:30.719 - Created modular jar: 4.com.discreet.jar [2024-08-10T09:47:30.774Z] STF 09:47:30.719 - [2024-08-10T09:47:30.774Z] STF 09:47:30.719 - +------ Step 5 - Create tests jar [2024-08-10T09:47:30.774Z] STF 09:47:30.719 - | Create modular jar [2024-08-10T09:47:30.774Z] STF 09:47:30.719 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2024-08-10T09:47:30.774Z] STF 09:47:30.720 - | ModuleVersion: null [2024-08-10T09:47:30.774Z] STF 09:47:30.720 - | MainClass: null [2024-08-10T09:47:30.774Z] STF 09:47:30.720 - | HashModules: null [2024-08-10T09:47:30.774Z] STF 09:47:30.720 - | [2024-08-10T09:47:30.774Z] STF 09:47:30.720 - 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_17232812199874/UpgModPath_JarImg_1/20240810-094727-UpgModPathTest/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-08-10T09:47:30.774Z] STF 09:47:30.720 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17232812199874/UpgModPath_JarImg_1/20240810-094727-UpgModPathTest/results/5.CMJ.stderr [2024-08-10T09:47:30.774Z] STF 09:47:30.720 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17232812199874/UpgModPath_JarImg_1/20240810-094727-UpgModPathTest/results/5.CMJ.stdout [2024-08-10T09:47:30.774Z] STF 09:47:30.725 - Monitoring processes: CMJ [2024-08-10T09:47:31.104Z] STF 09:47:31.006 - Monitoring Report Summary: [2024-08-10T09:47:31.104Z] STF 09:47:31.007 - o Process CMJ ended with the expected exit code (0) [2024-08-10T09:47:31.104Z] STF 09:47:31.007 - Created modular jar: 5.com.test.jar [2024-08-10T09:47:31.104Z] STF 09:47:31.007 - [2024-08-10T09:47:31.104Z] STF 09:47:31.007 - +------ Step 6 - Create runtime image for upgrademodulepath test [2024-08-10T09:47:31.104Z] STF 09:47:31.007 - | Run jlink to create runtime image [2024-08-10T09:47:31.104Z] STF 09:47:31.007 - | ImageName: UpJVM [2024-08-10T09:47:31.104Z] STF 09:47:31.007 - | [2024-08-10T09:47:31.104Z] STF 09:47:31.007 - 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_17232812199874\UpgModPath_JarImg_1\20240810-094727-UpgModPathTest\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_17232812199874\UpgModPath_JarImg_1\20240810-094727-UpgModPathTest\tmp\6.UpJVM [2024-08-10T09:47:31.104Z] STF 09:47:31.007 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17232812199874/UpgModPath_JarImg_1/20240810-094727-UpgModPathTest/results/6.JLNK.stderr [2024-08-10T09:47:31.104Z] STF 09:47:31.007 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17232812199874/UpgModPath_JarImg_1/20240810-094727-UpgModPathTest/results/6.JLNK.stdout [2024-08-10T09:47:31.104Z] STF 09:47:31.012 - Monitoring processes: JLNK [2024-08-10T09:47:34.021Z] STF 09:47:33.290 - Monitoring Report Summary: [2024-08-10T09:47:34.021Z] STF 09:47:33.290 - o Process JLNK ended with the expected exit code (0) [2024-08-10T09:47:34.021Z] STF 09:47:33.291 - [2024-08-10T09:47:34.021Z] STF 09:47:33.291 - +------ Step 7 - Create com.hello override jar [2024-08-10T09:47:34.021Z] STF 09:47:33.291 - | Create modular jar [2024-08-10T09:47:34.021Z] STF 09:47:33.291 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2024-08-10T09:47:34.021Z] STF 09:47:33.291 - | ModuleVersion: null [2024-08-10T09:47:34.021Z] STF 09:47:33.291 - | MainClass: null [2024-08-10T09:47:34.022Z] STF 09:47:33.291 - | HashModules: null [2024-08-10T09:47:34.022Z] STF 09:47:33.291 - | [2024-08-10T09:47:34.022Z] STF 09:47:33.291 - 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_17232812199874/UpgModPath_JarImg_1/20240810-094727-UpgModPathTest/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-08-10T09:47:34.022Z] STF 09:47:33.291 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17232812199874/UpgModPath_JarImg_1/20240810-094727-UpgModPathTest/results/7.CMJ.stderr [2024-08-10T09:47:34.022Z] STF 09:47:33.291 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17232812199874/UpgModPath_JarImg_1/20240810-094727-UpgModPathTest/results/7.CMJ.stdout [2024-08-10T09:47:34.022Z] STF 09:47:33.302 - Monitoring processes: CMJ [2024-08-10T09:47:34.022Z] STF 09:47:33.673 - Monitoring Report Summary: [2024-08-10T09:47:34.022Z] STF 09:47:33.673 - o Process CMJ ended with the expected exit code (0) [2024-08-10T09:47:34.022Z] STF 09:47:33.673 - Created modular jar: 7.com.hello.jar [2024-08-10T09:47:34.022Z] STF 09:47:33.673 - [2024-08-10T09:47:34.022Z] STF 09:47:33.673 - +------ Step 8 - Create com.hello override jar [2024-08-10T09:47:34.022Z] STF 09:47:33.673 - | Create modular jar [2024-08-10T09:47:34.022Z] STF 09:47:33.673 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.logging [2024-08-10T09:47:34.022Z] STF 09:47:33.673 - | ModuleVersion: null [2024-08-10T09:47:34.022Z] STF 09:47:33.673 - | MainClass: null [2024-08-10T09:47:34.022Z] STF 09:47:33.673 - | HashModules: null [2024-08-10T09:47:34.022Z] STF 09:47:33.674 - | [2024-08-10T09:47:34.022Z] STF 09:47:33.674 - 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_17232812199874/UpgModPath_JarImg_1/20240810-094727-UpgModPathTest/modules/8.java.logging.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.logging . [2024-08-10T09:47:34.022Z] STF 09:47:33.674 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17232812199874/UpgModPath_JarImg_1/20240810-094727-UpgModPathTest/results/8.CMJ.stderr [2024-08-10T09:47:34.022Z] STF 09:47:33.674 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17232812199874/UpgModPath_JarImg_1/20240810-094727-UpgModPathTest/results/8.CMJ.stdout [2024-08-10T09:47:34.022Z] STF 09:47:33.680 - Monitoring processes: CMJ [2024-08-10T09:47:34.022Z] STF 09:47:33.943 - Monitoring Report Summary: [2024-08-10T09:47:34.022Z] STF 09:47:33.943 - o Process CMJ ended with the expected exit code (0) [2024-08-10T09:47:34.022Z] STF 09:47:33.944 - Created modular jar: 8.java.logging.jar [2024-08-10T09:47:34.022Z] STF 09:47:33.944 - [2024-08-10T09:47:34.022Z] STF 09:47:33.944 - +------ Step 9 - Override an application module using a custom runtime image where the overriding module is in a modularized jar [2024-08-10T09:47:34.022Z] STF 09:47:33.944 - | Run foreground process [2024-08-10T09:47:34.022Z] STF 09:47:33.944 - | Program: C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17232812199874/UpgModPath_JarImg_1/20240810-094727-UpgModPathTest/tmp/6.UpJVM/bin/java [2024-08-10T09:47:34.022Z] STF 09:47:33.944 - | Mnemonic: OT25 [2024-08-10T09:47:34.022Z] STF 09:47:33.944 - | Echo: ECHO_ON [2024-08-10T09:47:34.022Z] STF 09:47:33.944 - | Expectation: CLEAN_RUN within 1m [2024-08-10T09:47:34.022Z] STF 09:47:33.944 - | [2024-08-10T09:47:34.022Z] STF 09:47:33.944 - Running command: C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17232812199874/UpgModPath_JarImg_1/20240810-094727-UpgModPathTest/tmp/6.UpJVM/bin/java --add-reads com.test=ALL-UNNAMED --upgrade-module-path C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17232812199874/UpgModPath_JarImg_1/20240810-094727-UpgModPathTest/modules/7.com.hello.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.TestOverrideUsingAppModule [2024-08-10T09:47:34.022Z] STF 09:47:33.944 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17232812199874/UpgModPath_JarImg_1/20240810-094727-UpgModPathTest/results/9.OT25.stderr [2024-08-10T09:47:34.022Z] STF 09:47:33.944 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17232812199874/UpgModPath_JarImg_1/20240810-094727-UpgModPathTest/results/9.OT25.stdout [2024-08-10T09:47:34.348Z] STF 09:47:33.983 - Monitoring processes: OT25 [2024-08-10T09:47:34.349Z] OT25 JUnit version 4.12 [2024-08-10T09:47:34.349Z] OT25 . [2024-08-10T09:47:34.349Z] OT25 Time: 0.006 [2024-08-10T09:47:34.349Z] OT25 [2024-08-10T09:47:34.349Z] OT25 OK (1 test) [2024-08-10T09:47:34.349Z] OT25 [2024-08-10T09:47:34.349Z] STF 09:47:34.271 - Monitoring Report Summary: [2024-08-10T09:47:34.349Z] STF 09:47:34.271 - o Process OT25 ended with the expected exit code (0) [2024-08-10T09:47:34.349Z] STF 09:47:34.272 - [2024-08-10T09:47:34.349Z] STF 09:47:34.272 - +------ Step 10 - (Negative test) Override a non-upgradable platform module using a custom runtime imagewhere the overriding module is in a modularized jar [2024-08-10T09:47:34.349Z] STF 09:47:34.272 - | Run foreground process [2024-08-10T09:47:34.349Z] STF 09:47:34.272 - | Program: C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17232812199874/UpgModPath_JarImg_1/20240810-094727-UpgModPathTest/tmp/6.UpJVM/bin/java [2024-08-10T09:47:34.349Z] STF 09:47:34.272 - | Mnemonic: OT27 [2024-08-10T09:47:34.349Z] STF 09:47:34.272 - | Echo: ECHO_ON [2024-08-10T09:47:34.349Z] STF 09:47:34.272 - | Expectation: NON_ZERO_EXIT [1] within 1m [2024-08-10T09:47:34.349Z] STF 09:47:34.272 - | [2024-08-10T09:47:34.349Z] STF 09:47:34.272 - Running command: C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17232812199874/UpgModPath_JarImg_1/20240810-094727-UpgModPathTest/tmp/6.UpJVM/bin/java --add-reads com.test=ALL-UNNAMED --upgrade-module-path C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17232812199874/UpgModPath_JarImg_1/20240810-094727-UpgModPathTest/modules/8.java.logging.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.TestOverrideUsingNonUpgradablePlatformModule [2024-08-10T09:47:34.349Z] STF 09:47:34.272 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17232812199874/UpgModPath_JarImg_1/20240810-094727-UpgModPathTest/results/10.OT27.stderr [2024-08-10T09:47:34.349Z] STF 09:47:34.272 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17232812199874/UpgModPath_JarImg_1/20240810-094727-UpgModPathTest/results/10.OT27.stdout [2024-08-10T09:47:34.349Z] STF 09:47:34.278 - Monitoring processes: OT27 [2024-08-10T09:47:34.675Z] OT27 Error occurred during initialization of boot layer [2024-08-10T09:47:34.676Z] OT27 java.lang.module.FindException: Hash of java.logging (6538e4329dfd0a3379d9797216f91349929c40c383aa5df89f209224446ef6fb) differs to expected hash (9b88281c6d4861701a3749d5fb2db6e88f56df955512fce0e700af9602c7195e) recorded in java.base [2024-08-10T09:47:34.676Z] STF 09:47:34.457 - Monitoring Report Summary: [2024-08-10T09:47:34.676Z] STF 09:47:34.457 - o Process OT27 ended with the expected exit code (1) [2024-08-10T09:47:34.676Z] STF 09:47:34.457 - [2024-08-10T09:47:34.676Z] STF 09:47:34.457 - +------ Step 11 - Combine stderr and stdout files of process OT27 [2024-08-10T09:47:34.676Z] STF 09:47:34.457 - | Run foreground process [2024-08-10T09:47:34.676Z] STF 09:47:34.457 - | Program: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java [2024-08-10T09:47:34.676Z] STF 09:47:34.457 - | Mnemonic: CO [2024-08-10T09:47:34.676Z] STF 09:47:34.457 - | Echo: ECHO_OFF [2024-08-10T09:47:34.676Z] STF 09:47:34.457 - | Expectation: NON_ZERO_EXIT [0] within 30s [2024-08-10T09:47:34.676Z] STF 09:47:34.457 - | [2024-08-10T09:47:34.676Z] STF 09:47:34.457 - Running command: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java -Dfile1=C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17232812199874/UpgModPath_JarImg_1/20240810-094727-UpgModPathTest/results/10.OT27.stdout -Dfile2=C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17232812199874/UpgModPath_JarImg_1/20240810-094727-UpgModPathTest/results/10.OT27.stderr -Dfinal.file=C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\aqa-tests\TKG\output_17232812199874\UpgModPath_JarImg_1\20240810-094727-UpgModPathTest\results\combinedOT27.txt -XX:-UseCompressedOops -classpath C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\STF\stf.core\bin;C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin net.adoptopenjdk.test.modularity.TestUtil [2024-08-10T09:47:34.676Z] STF 09:47:34.457 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17232812199874/UpgModPath_JarImg_1/20240810-094727-UpgModPathTest/results/11.CO.stderr [2024-08-10T09:47:34.676Z] STF 09:47:34.457 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17232812199874/UpgModPath_JarImg_1/20240810-094727-UpgModPathTest/results/11.CO.stdout [2024-08-10T09:47:34.676Z] STF 09:47:34.463 - Monitoring processes: CO [2024-08-10T09:47:35.049Z] STF 09:47:34.653 - Monitoring Report Summary: [2024-08-10T09:47:35.049Z] STF 09:47:34.653 - o Process CO ended with the expected exit code (0) [2024-08-10T09:47:35.049Z] STF 09:47:34.653 - [2024-08-10T09:47:35.049Z] STF 09:47:34.653 - +------ Step 12 - Check output [2024-08-10T09:47:35.049Z] STF 09:47:34.653 - | Count file matches [2024-08-10T09:47:35.049Z] STF 09:47:34.653 - | TargetFile: C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17232812199874/UpgModPath_JarImg_1/20240810-094727-UpgModPathTest/results/combinedOT27.txt [2024-08-10T09:47:35.049Z] STF 09:47:34.653 - | ExpectedNumMatches: 1 [2024-08-10T09:47:35.049Z] STF 09:47:34.653 - | SearchStrings: ["FindException: Hash of java.logging"] [2024-08-10T09:47:35.049Z] STF 09:47:34.653 - | [2024-08-10T09:47:35.049Z] STF 09:47:34.655 - Found 1 instances of ["FindException: Hash of java.logging"] [2024-08-10T09:47:35.049Z] STF 09:47:34.655 - EXECUTE stage completed [2024-08-10T09:47:35.049Z] STF 09:47:34.703 - [2024-08-10T09:47:35.049Z] STF 09:47:34.703 - ==================== T E A R D O W N ==================== [2024-08-10T09:47:35.049Z] STF 09:47:34.703 - Running teardown: perl C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17232812199874\UpgModPath_JarImg_1/20240810-094727-UpgModPathTest/tearDown.pl [2024-08-10T09:47:35.049Z] STF 09:47:34.827 - TEARDOWN stage completed [2024-08-10T09:47:35.049Z] STF 09:47:34.842 - [2024-08-10T09:47:35.049Z] STF 09:47:34.842 - ===================== R E S U L T S ===================== [2024-08-10T09:47:35.049Z] STF 09:47:34.842 - Stage results: [2024-08-10T09:47:35.049Z] STF 09:47:34.842 - setUp: pass [2024-08-10T09:47:35.049Z] STF 09:47:34.842 - execute: pass [2024-08-10T09:47:35.049Z] STF 09:47:34.842 - teardown: pass [2024-08-10T09:47:35.049Z] STF 09:47:34.842 - [2024-08-10T09:47:35.049Z] STF 09:47:34.842 - Overall result: PASSED [2024-08-10T09:47:35.049Z] ----------------------------------- [2024-08-10T09:47:35.049Z] UpgModPath_JarImg_1_PASSED [2024-08-10T09:47:35.049Z] ----------------------------------- [2024-08-10T09:47:35.049Z] [2024-08-10T09:47:35.049Z] TEST TEARDOWN: [2024-08-10T09:47:35.049Z] Nothing to be done for teardown. [2024-08-10T09:47:35.390Z] UpgModPath_JarImg_1 Finish Time: Sat Aug 10 09:47:35 2024 Epoch Time (ms): 1723283255097