UpgModPath_JarImg_1

[2024-10-03T02:44:49.006Z] Running test UpgModPath_JarImg_1 ... [2024-10-03T02:44:49.315Z] =============================================== [2024-10-03T02:44:49.315Z] UpgModPath_JarImg_1 Start Time: Thu Oct 3 02:44:49 2024 Epoch Time (ms): 1727923489104 [2024-10-03T02:44:49.315Z] variation: Mode650 [2024-10-03T02:44:49.315Z] JVM_OPTIONS: -XX:-UseCompressedOops [2024-10-03T02:44:49.315Z] { \ [2024-10-03T02:44:49.315Z] echo ""; echo "TEST SETUP:"; \ [2024-10-03T02:44:49.315Z] echo "Nothing to be done for setup."; \ [2024-10-03T02:44:49.315Z] mkdir -p "F:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17279215565761\\UpgModPath_JarImg_1"; \ [2024-10-03T02:44:49.315Z] cd "F:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17279215565761\\UpgModPath_JarImg_1"; \ [2024-10-03T02:44:49.315Z] echo ""; echo "TESTING:"; \ [2024-10-03T02:44:49.316Z] perl F:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests///..//jvmtest\\system\\modularity/../\\STF\\stf.core\\scripts\\stf.pl -test-root="F:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests///..//jvmtest\\system\\modularity/../\\STF;F:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests///..//jvmtest\\system\\modularity/../\\aqa-systemtest""" -systemtest-prereqs="F:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/../../testDependency/system_lib\\" -java-args=' -XX:-UseCompressedOops ' -results-root="F:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17279215565761\\UpgModPath_JarImg_1" -test=UpgModPathTest -test-args="variant=JarImg"; \ [2024-10-03T02:44:49.316Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "UpgModPath_JarImg_1""_PASSED"; echo "-----------------------------------"; cd F:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/; rm -f -r "F:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17279215565761\\UpgModPath_JarImg_1"; else echo "-----------------------------------"; echo "UpgModPath_JarImg_1""_FAILED"; echo "-----------------------------------"; fi; \ [2024-10-03T02:44:49.316Z] echo ""; echo "TEST TEARDOWN:"; \ [2024-10-03T02:44:49.316Z] echo "Nothing to be done for teardown."; \ [2024-10-03T02:44:49.316Z] } 2>&1 | tee -a "F:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17279215565761\\TestTargetResult"; [2024-10-03T02:44:49.316Z] [2024-10-03T02:44:49.316Z] TEST SETUP: [2024-10-03T02:44:49.316Z] Nothing to be done for setup. [2024-10-03T02:44:49.316Z] [2024-10-03T02:44:49.316Z] TESTING: [2024-10-03T02:44:49.621Z] STF 02:44:49.436 - ========================= S T F ========================= [2024-10-03T02:44:49.621Z] systemtest-prereqs has been processed, and set to: F:/workspace/testDependency/system_libRetrieving amount of free space on drive containing F:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17279215565761\UpgModPath_JarImg_1 [2024-10-03T02:44:49.621Z] There is 114048 Mb free [2024-10-03T02:44:49.621Z] STF 02:44:49.465 - ================== G E N E R A T I O N ================== [2024-10-03T02:44:49.621Z] STF 02:44:49.471 - Checking JVM: F:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image [2024-10-03T02:44:49.621Z] STF 02:44:49.471 - Starting process to generate scripts: F:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java -Dlog4j.skipJansi=true -Djava.system.class.loader=net.adoptopenjdk.stf.runner.StfClassLoader -classpath F:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/../../testDependency/system_lib\/log4j/log4j-api.jar;F:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/../../testDependency/system_lib\/log4j/log4j-core.jar;F:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "F:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17279215565761\UpgModPath_JarImg_1/20241003-024449-UpgModPathTest/stf_parameters.properties, , F:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "F:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17279215565761\UpgModPath_JarImg_1/20241003-024449-UpgModPathTest" [2024-10-03T02:44:49.621Z] GEN stderr OpenJDK 64-Bit Server VM warning: Archived non-system classes are disabled because the java.system.class.loader property is specified (value = "net.adoptopenjdk.stf.runner.StfClassLoader"). To use archived non-system classes, this property must not be set [2024-10-03T02:44:50.700Z] GEN 02:44:50.373 - Found test. Project: 'openjdk.test.modularity' class: 'UpgModPathTest.class' Dir: 'F:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin' [2024-10-03T02:44:50.700Z] GEN 02:44:50.386 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.UpgModPathTest' [2024-10-03T02:44:50.700Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2024-10-03T02:44:50.700Z] GEN F:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayService [2024-10-03T02:44:50.700Z] GEN F:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper [2024-10-03T02:44:50.700Z] GEN F:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl1 [2024-10-03T02:44:50.700Z] GEN F:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet [2024-10-03T02:44:50.700Z] GEN F:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello [2024-10-03T02:44:50.700Z] GEN F:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola [2024-10-03T02:44:50.700Z] GEN F:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl2 [2024-10-03T02:44:50.700Z] GEN F:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hi [2024-10-03T02:44:50.700Z] GEN F:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override [2024-10-03T02:44:50.700Z] GEN F:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override-new [2024-10-03T02:44:50.700Z] GEN F:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl3 [2024-10-03T02:44:50.700Z] GEN F:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl4 [2024-10-03T02:44:50.700Z] GEN F:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common [2024-10-03T02:44:50.700Z] GEN F:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests [2024-10-03T02:44:50.700Z] GEN F:\\workspace\\workspace\\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin [2024-10-03T02:44:50.700Z] GEN F:\\workspace\\workspace\\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\\jvmtest\\system\\STF\\stf.core\\bin [2024-10-03T02:44:50.700Z] GEN F:/workspace/testDependency/system_lib/log4j/log4j-api.jar [2024-10-03T02:44:50.700Z] GEN F:/workspace/testDependency/system_lib/log4j/log4j-core.jar [2024-10-03T02:44:50.700Z] GEN F:/workspace/testDependency/system_lib/junit/junit.jar [2024-10-03T02:44:50.700Z] GEN 02:44:50.626 - Using Mode NoOptions. Values = '' [2024-10-03T02:44:51.007Z] GEN 02:44:50.729 - [2024-10-03T02:44:51.007Z] GEN 02:44:50.729 - Test command summary: [2024-10-03T02:44:51.007Z] GEN 02:44:50.729 - Step Stage Command Description [2024-10-03T02:44:51.007Z] GEN 02:44:50.729 - -----+--------+-----------------+------------ [2024-10-03T02:44:51.007Z] GEN 02:44:50.729 - 1 execute jar Create com.hello jar [2024-10-03T02:44:51.007Z] GEN 02:44:50.729 - 2 execute jar Create com.hola jar [2024-10-03T02:44:51.007Z] GEN 02:44:50.729 - 3 execute jar Create com.helper jar [2024-10-03T02:44:51.007Z] GEN 02:44:50.729 - 4 execute jar Create com.discreet jar [2024-10-03T02:44:51.007Z] GEN 02:44:50.730 - 5 execute jar Create tests jar [2024-10-03T02:44:51.007Z] GEN 02:44:50.730 - 6 execute jlink Create runtime image for upgrademodulepath test [2024-10-03T02:44:51.007Z] GEN 02:44:50.730 - 7 execute jar Create com.hello override jar [2024-10-03T02:44:51.007Z] GEN 02:44:50.730 - 8 execute jar Create com.hello override jar [2024-10-03T02:44:51.007Z] GEN 02:44:50.730 - 9 execute Run java Override an application module using a custom runtime image where the overriding module is in a modularized jar [2024-10-03T02:44:51.007Z] GEN 02:44:50.730 - 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-10-03T02:44:51.007Z] GEN 02:44:50.730 - 11 execute Run java Combine stderr and stdout files of process OT27 [2024-10-03T02:44:51.007Z] GEN 02:44:50.730 - 12 execute count Check output [2024-10-03T02:44:51.007Z] STF 02:44:50.765 - [2024-10-03T02:44:51.007Z] STF 02:44:50.765 - Script generation completed [2024-10-03T02:44:51.007Z] STF 02:44:50.765 - [2024-10-03T02:44:51.007Z] STF 02:44:50.766 - [2024-10-03T02:44:51.007Z] STF 02:44:50.766 - ======================= S E T U P ======================= [2024-10-03T02:44:51.007Z] STF 02:44:50.766 - Running setup: perl F:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17279215565761\UpgModPath_JarImg_1/20241003-024449-UpgModPathTest/setUp.pl [2024-10-03T02:44:51.007Z] STF 02:44:50.896 - SETUP stage completed [2024-10-03T02:44:51.007Z] STF 02:44:50.909 - [2024-10-03T02:44:51.007Z] STF 02:44:50.909 - ==================== E X E C U T E - ==================== [2024-10-03T02:44:51.007Z] STF 02:44:50.909 - Running execute: perl F:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17279215565761\UpgModPath_JarImg_1/20241003-024449-UpgModPathTest/execute.pl [2024-10-03T02:44:51.314Z] STF 02:44:51.036 - [2024-10-03T02:44:51.314Z] STF 02:44:51.036 - Java version [2024-10-03T02:44:51.314Z] STF 02:44:51.036 - Running: F:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java -version [2024-10-03T02:44:51.314Z] openjdk version "17.0.13-beta" 2024-10-15 [2024-10-03T02:44:51.314Z] OpenJDK Runtime Environment Temurin-17.0.13+10-202410021936 (build 17.0.13-beta+10-ea) [2024-10-03T02:44:51.314Z] OpenJDK 64-Bit Server VM Temurin-17.0.13+10-202410021936 (build 17.0.13-beta+10-ea, mixed mode, sharing) [2024-10-03T02:44:51.314Z] STF 02:44:51.127 - [2024-10-03T02:44:51.314Z] STF 02:44:51.127 - +------ Step 1 - Create com.hello jar [2024-10-03T02:44:51.314Z] STF 02:44:51.127 - | Create modular jar [2024-10-03T02:44:51.314Z] STF 02:44:51.127 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2024-10-03T02:44:51.314Z] STF 02:44:51.127 - | ModuleVersion: null [2024-10-03T02:44:51.314Z] STF 02:44:51.128 - | MainClass: null [2024-10-03T02:44:51.314Z] STF 02:44:51.128 - | HashModules: null [2024-10-03T02:44:51.314Z] STF 02:44:51.128 - | [2024-10-03T02:44:51.314Z] STF 02:44:51.128 - Running command: F:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file F:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17279215565761/UpgModPath_JarImg_1/20241003-024449-UpgModPathTest/modules/1.com.hello.jar -C F:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello . [2024-10-03T02:44:51.314Z] STF 02:44:51.129 - Redirecting stderr to F:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17279215565761/UpgModPath_JarImg_1/20241003-024449-UpgModPathTest/results/1.CMJ.stderr [2024-10-03T02:44:51.314Z] STF 02:44:51.129 - Redirecting stdout to F:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17279215565761/UpgModPath_JarImg_1/20241003-024449-UpgModPathTest/results/1.CMJ.stdout [2024-10-03T02:44:51.314Z] STF 02:44:51.155 - Monitoring processes: CMJ [2024-10-03T02:44:51.619Z] STF 02:44:51.405 - Monitoring Report Summary: [2024-10-03T02:44:51.619Z] STF 02:44:51.405 - o Process CMJ ended with the expected exit code (0) [2024-10-03T02:44:51.619Z] STF 02:44:51.405 - Created modular jar: 1.com.hello.jar [2024-10-03T02:44:51.619Z] STF 02:44:51.405 - [2024-10-03T02:44:51.619Z] STF 02:44:51.405 - +------ Step 2 - Create com.hola jar [2024-10-03T02:44:51.619Z] STF 02:44:51.405 - | Create modular jar [2024-10-03T02:44:51.619Z] STF 02:44:51.405 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2024-10-03T02:44:51.619Z] STF 02:44:51.405 - | ModuleVersion: null [2024-10-03T02:44:51.619Z] STF 02:44:51.405 - | MainClass: null [2024-10-03T02:44:51.619Z] STF 02:44:51.405 - | HashModules: null [2024-10-03T02:44:51.619Z] STF 02:44:51.405 - | [2024-10-03T02:44:51.619Z] STF 02:44:51.406 - Running command: F:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file F:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17279215565761/UpgModPath_JarImg_1/20241003-024449-UpgModPathTest/modules/2.com.hola.jar -C F:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola . [2024-10-03T02:44:51.619Z] STF 02:44:51.406 - Redirecting stderr to F:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17279215565761/UpgModPath_JarImg_1/20241003-024449-UpgModPathTest/results/2.CMJ.stderr [2024-10-03T02:44:51.619Z] STF 02:44:51.406 - Redirecting stdout to F:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17279215565761/UpgModPath_JarImg_1/20241003-024449-UpgModPathTest/results/2.CMJ.stdout [2024-10-03T02:44:51.619Z] STF 02:44:51.408 - Monitoring processes: CMJ [2024-10-03T02:44:51.924Z] STF 02:44:51.671 - Monitoring Report Summary: [2024-10-03T02:44:51.924Z] STF 02:44:51.672 - o Process CMJ ended with the expected exit code (0) [2024-10-03T02:44:51.924Z] STF 02:44:51.672 - Created modular jar: 2.com.hola.jar [2024-10-03T02:44:51.924Z] STF 02:44:51.672 - [2024-10-03T02:44:51.924Z] STF 02:44:51.672 - +------ Step 3 - Create com.helper jar [2024-10-03T02:44:51.925Z] STF 02:44:51.672 - | Create modular jar [2024-10-03T02:44:51.925Z] STF 02:44:51.672 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2024-10-03T02:44:51.925Z] STF 02:44:51.672 - | ModuleVersion: null [2024-10-03T02:44:51.925Z] STF 02:44:51.672 - | MainClass: null [2024-10-03T02:44:51.925Z] STF 02:44:51.672 - | HashModules: null [2024-10-03T02:44:51.925Z] STF 02:44:51.672 - | [2024-10-03T02:44:51.925Z] STF 02:44:51.672 - Running command: F:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file F:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17279215565761/UpgModPath_JarImg_1/20241003-024449-UpgModPathTest/modules/3.com.helper.jar -C F:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper . [2024-10-03T02:44:51.925Z] STF 02:44:51.672 - Redirecting stderr to F:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17279215565761/UpgModPath_JarImg_1/20241003-024449-UpgModPathTest/results/3.CMJ.stderr [2024-10-03T02:44:51.925Z] STF 02:44:51.672 - Redirecting stdout to F:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17279215565761/UpgModPath_JarImg_1/20241003-024449-UpgModPathTest/results/3.CMJ.stdout [2024-10-03T02:44:51.925Z] STF 02:44:51.675 - Monitoring processes: CMJ [2024-10-03T02:44:52.235Z] STF 02:44:51.941 - Monitoring Report Summary: [2024-10-03T02:44:52.235Z] STF 02:44:51.941 - o Process CMJ ended with the expected exit code (0) [2024-10-03T02:44:52.235Z] STF 02:44:51.941 - Created modular jar: 3.com.helper.jar [2024-10-03T02:44:52.235Z] STF 02:44:51.941 - [2024-10-03T02:44:52.235Z] STF 02:44:51.941 - +------ Step 4 - Create com.discreet jar [2024-10-03T02:44:52.235Z] STF 02:44:51.941 - | Create modular jar [2024-10-03T02:44:52.235Z] STF 02:44:51.941 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2024-10-03T02:44:52.235Z] STF 02:44:51.941 - | ModuleVersion: null [2024-10-03T02:44:52.235Z] STF 02:44:51.941 - | MainClass: null [2024-10-03T02:44:52.235Z] STF 02:44:51.941 - | HashModules: null [2024-10-03T02:44:52.235Z] STF 02:44:51.941 - | [2024-10-03T02:44:52.235Z] STF 02:44:51.942 - Running command: F:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file F:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17279215565761/UpgModPath_JarImg_1/20241003-024449-UpgModPathTest/modules/4.com.discreet.jar -C F:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet . [2024-10-03T02:44:52.235Z] STF 02:44:51.942 - Redirecting stderr to F:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17279215565761/UpgModPath_JarImg_1/20241003-024449-UpgModPathTest/results/4.CMJ.stderr [2024-10-03T02:44:52.235Z] STF 02:44:51.942 - Redirecting stdout to F:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17279215565761/UpgModPath_JarImg_1/20241003-024449-UpgModPathTest/results/4.CMJ.stdout [2024-10-03T02:44:52.235Z] STF 02:44:51.946 - Monitoring processes: CMJ [2024-10-03T02:44:52.235Z] STF 02:44:52.201 - Monitoring Report Summary: [2024-10-03T02:44:52.235Z] STF 02:44:52.201 - o Process CMJ ended with the expected exit code (0) [2024-10-03T02:44:52.235Z] STF 02:44:52.202 - Created modular jar: 4.com.discreet.jar [2024-10-03T02:44:52.235Z] STF 02:44:52.202 - [2024-10-03T02:44:52.235Z] STF 02:44:52.202 - +------ Step 5 - Create tests jar [2024-10-03T02:44:52.235Z] STF 02:44:52.202 - | Create modular jar [2024-10-03T02:44:52.235Z] STF 02:44:52.202 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2024-10-03T02:44:52.235Z] STF 02:44:52.202 - | ModuleVersion: null [2024-10-03T02:44:52.235Z] STF 02:44:52.202 - | MainClass: null [2024-10-03T02:44:52.235Z] STF 02:44:52.202 - | HashModules: null [2024-10-03T02:44:52.235Z] STF 02:44:52.202 - | [2024-10-03T02:44:52.235Z] STF 02:44:52.202 - Running command: F:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file F:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17279215565761/UpgModPath_JarImg_1/20241003-024449-UpgModPathTest/modules/5.com.test.jar -C F:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests\com.test . [2024-10-03T02:44:52.235Z] STF 02:44:52.202 - Redirecting stderr to F:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17279215565761/UpgModPath_JarImg_1/20241003-024449-UpgModPathTest/results/5.CMJ.stderr [2024-10-03T02:44:52.235Z] STF 02:44:52.202 - Redirecting stdout to F:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17279215565761/UpgModPath_JarImg_1/20241003-024449-UpgModPathTest/results/5.CMJ.stdout [2024-10-03T02:44:52.235Z] STF 02:44:52.205 - Monitoring processes: CMJ [2024-10-03T02:44:52.541Z] STF 02:44:52.474 - Monitoring Report Summary: [2024-10-03T02:44:52.541Z] STF 02:44:52.474 - o Process CMJ ended with the expected exit code (0) [2024-10-03T02:44:52.541Z] STF 02:44:52.474 - Created modular jar: 5.com.test.jar [2024-10-03T02:44:52.541Z] STF 02:44:52.474 - [2024-10-03T02:44:52.541Z] STF 02:44:52.474 - +------ Step 6 - Create runtime image for upgrademodulepath test [2024-10-03T02:44:52.541Z] STF 02:44:52.474 - | Run jlink to create runtime image [2024-10-03T02:44:52.541Z] STF 02:44:52.474 - | ImageName: UpJVM [2024-10-03T02:44:52.541Z] STF 02:44:52.474 - | [2024-10-03T02:44:52.541Z] STF 02:44:52.475 - Running command: F:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jlink --module-path F:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jdkbinary\j2sdk-image\jmods;F:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\aqa-tests\TKG\output_17279215565761\UpgModPath_JarImg_1\20241003-024449-UpgModPathTest\modules --add-modules com.hello,com.hola,com.test,com.helper,com.discreet --output F:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\aqa-tests\TKG\output_17279215565761\UpgModPath_JarImg_1\20241003-024449-UpgModPathTest\tmp\6.UpJVM [2024-10-03T02:44:52.541Z] STF 02:44:52.475 - Redirecting stderr to F:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17279215565761/UpgModPath_JarImg_1/20241003-024449-UpgModPathTest/results/6.JLNK.stderr [2024-10-03T02:44:52.541Z] STF 02:44:52.475 - Redirecting stdout to F:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17279215565761/UpgModPath_JarImg_1/20241003-024449-UpgModPathTest/results/6.JLNK.stdout [2024-10-03T02:44:52.541Z] STF 02:44:52.478 - Monitoring processes: JLNK [2024-10-03T02:44:55.387Z] STF 02:44:54.710 - Monitoring Report Summary: [2024-10-03T02:44:55.387Z] STF 02:44:54.710 - o Process JLNK ended with the expected exit code (0) [2024-10-03T02:44:55.387Z] STF 02:44:54.711 - [2024-10-03T02:44:55.387Z] STF 02:44:54.711 - +------ Step 7 - Create com.hello override jar [2024-10-03T02:44:55.387Z] STF 02:44:54.711 - | Create modular jar [2024-10-03T02:44:55.387Z] STF 02:44:54.711 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2024-10-03T02:44:55.387Z] STF 02:44:54.711 - | ModuleVersion: null [2024-10-03T02:44:55.387Z] STF 02:44:54.711 - | MainClass: null [2024-10-03T02:44:55.387Z] STF 02:44:54.711 - | HashModules: null [2024-10-03T02:44:55.387Z] STF 02:44:54.711 - | [2024-10-03T02:44:55.387Z] STF 02:44:54.711 - Running command: F:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file F:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17279215565761/UpgModPath_JarImg_1/20241003-024449-UpgModPathTest/modules/7.com.hello.jar -C F:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.hello . [2024-10-03T02:44:55.387Z] STF 02:44:54.711 - Redirecting stderr to F:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17279215565761/UpgModPath_JarImg_1/20241003-024449-UpgModPathTest/results/7.CMJ.stderr [2024-10-03T02:44:55.387Z] STF 02:44:54.711 - Redirecting stdout to F:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17279215565761/UpgModPath_JarImg_1/20241003-024449-UpgModPathTest/results/7.CMJ.stdout [2024-10-03T02:44:55.387Z] STF 02:44:54.714 - Monitoring processes: CMJ [2024-10-03T02:44:55.387Z] STF 02:44:54.963 - Monitoring Report Summary: [2024-10-03T02:44:55.387Z] STF 02:44:54.963 - o Process CMJ ended with the expected exit code (0) [2024-10-03T02:44:55.387Z] STF 02:44:54.964 - Created modular jar: 7.com.hello.jar [2024-10-03T02:44:55.387Z] STF 02:44:54.964 - [2024-10-03T02:44:55.387Z] STF 02:44:54.964 - +------ Step 8 - Create com.hello override jar [2024-10-03T02:44:55.387Z] STF 02:44:54.964 - | Create modular jar [2024-10-03T02:44:55.387Z] STF 02:44:54.964 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.logging [2024-10-03T02:44:55.387Z] STF 02:44:54.964 - | ModuleVersion: null [2024-10-03T02:44:55.387Z] STF 02:44:54.964 - | MainClass: null [2024-10-03T02:44:55.387Z] STF 02:44:54.964 - | HashModules: null [2024-10-03T02:44:55.387Z] STF 02:44:54.964 - | [2024-10-03T02:44:55.387Z] STF 02:44:54.964 - Running command: F:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file F:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17279215565761/UpgModPath_JarImg_1/20241003-024449-UpgModPathTest/modules/8.java.logging.jar -C F:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\java.logging . [2024-10-03T02:44:55.387Z] STF 02:44:54.964 - Redirecting stderr to F:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17279215565761/UpgModPath_JarImg_1/20241003-024449-UpgModPathTest/results/8.CMJ.stderr [2024-10-03T02:44:55.387Z] STF 02:44:54.964 - Redirecting stdout to F:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17279215565761/UpgModPath_JarImg_1/20241003-024449-UpgModPathTest/results/8.CMJ.stdout [2024-10-03T02:44:55.387Z] STF 02:44:54.967 - Monitoring processes: CMJ [2024-10-03T02:44:55.387Z] STF 02:44:55.200 - Monitoring Report Summary: [2024-10-03T02:44:55.387Z] STF 02:44:55.200 - o Process CMJ ended with the expected exit code (0) [2024-10-03T02:44:55.387Z] STF 02:44:55.200 - Created modular jar: 8.java.logging.jar [2024-10-03T02:44:55.387Z] STF 02:44:55.200 - [2024-10-03T02:44:55.388Z] STF 02:44:55.200 - +------ Step 9 - Override an application module using a custom runtime image where the overriding module is in a modularized jar [2024-10-03T02:44:55.388Z] STF 02:44:55.200 - | Run foreground process [2024-10-03T02:44:55.388Z] STF 02:44:55.200 - | Program: F:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17279215565761/UpgModPath_JarImg_1/20241003-024449-UpgModPathTest/tmp/6.UpJVM/bin/java [2024-10-03T02:44:55.388Z] STF 02:44:55.200 - | Mnemonic: OT25 [2024-10-03T02:44:55.388Z] STF 02:44:55.200 - | Echo: ECHO_ON [2024-10-03T02:44:55.388Z] STF 02:44:55.201 - | Expectation: CLEAN_RUN within 1m [2024-10-03T02:44:55.388Z] STF 02:44:55.201 - | [2024-10-03T02:44:55.388Z] STF 02:44:55.201 - Running command: F:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17279215565761/UpgModPath_JarImg_1/20241003-024449-UpgModPathTest/tmp/6.UpJVM/bin/java --add-reads com.test=ALL-UNNAMED --upgrade-module-path F:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17279215565761/UpgModPath_JarImg_1/20241003-024449-UpgModPathTest/modules/7.com.hello.jar -XX:-UseCompressedOops -classpath F:/workspace/testDependency/system_lib/junit/junit.jar;F:/workspace/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingAppModule [2024-10-03T02:44:55.388Z] STF 02:44:55.201 - Redirecting stderr to F:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17279215565761/UpgModPath_JarImg_1/20241003-024449-UpgModPathTest/results/9.OT25.stderr [2024-10-03T02:44:55.388Z] STF 02:44:55.201 - Redirecting stdout to F:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17279215565761/UpgModPath_JarImg_1/20241003-024449-UpgModPathTest/results/9.OT25.stdout [2024-10-03T02:44:55.388Z] STF 02:44:55.211 - Monitoring processes: OT25 [2024-10-03T02:44:55.694Z] OT25 JUnit version 4.12 [2024-10-03T02:44:55.694Z] OT25 . [2024-10-03T02:44:55.694Z] OT25 Time: 0.005 [2024-10-03T02:44:55.694Z] OT25 [2024-10-03T02:44:55.694Z] OT25 OK (1 test) [2024-10-03T02:44:55.694Z] OT25 [2024-10-03T02:44:55.694Z] STF 02:44:55.646 - Monitoring Report Summary: [2024-10-03T02:44:55.694Z] STF 02:44:55.646 - o Process OT25 ended with the expected exit code (0) [2024-10-03T02:44:55.694Z] STF 02:44:55.647 - [2024-10-03T02:44:55.694Z] STF 02:44:55.647 - +------ Step 10 - (Negative test) Override a non-upgradable platform module using a custom runtime imagewhere the overriding module is in a modularized jar [2024-10-03T02:44:55.694Z] STF 02:44:55.647 - | Run foreground process [2024-10-03T02:44:55.694Z] STF 02:44:55.647 - | Program: F:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17279215565761/UpgModPath_JarImg_1/20241003-024449-UpgModPathTest/tmp/6.UpJVM/bin/java [2024-10-03T02:44:55.694Z] STF 02:44:55.647 - | Mnemonic: OT27 [2024-10-03T02:44:55.694Z] STF 02:44:55.647 - | Echo: ECHO_ON [2024-10-03T02:44:55.694Z] STF 02:44:55.647 - | Expectation: NON_ZERO_EXIT [1] within 1m [2024-10-03T02:44:55.694Z] STF 02:44:55.647 - | [2024-10-03T02:44:55.694Z] STF 02:44:55.647 - Running command: F:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17279215565761/UpgModPath_JarImg_1/20241003-024449-UpgModPathTest/tmp/6.UpJVM/bin/java --add-reads com.test=ALL-UNNAMED --upgrade-module-path F:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17279215565761/UpgModPath_JarImg_1/20241003-024449-UpgModPathTest/modules/8.java.logging.jar -XX:-UseCompressedOops -classpath F:/workspace/testDependency/system_lib/junit/junit.jar;F:/workspace/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingNonUpgradablePlatformModule [2024-10-03T02:44:55.694Z] STF 02:44:55.647 - Redirecting stderr to F:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17279215565761/UpgModPath_JarImg_1/20241003-024449-UpgModPathTest/results/10.OT27.stderr [2024-10-03T02:44:55.694Z] STF 02:44:55.647 - Redirecting stdout to F:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17279215565761/UpgModPath_JarImg_1/20241003-024449-UpgModPathTest/results/10.OT27.stdout [2024-10-03T02:44:55.694Z] STF 02:44:55.650 - Monitoring processes: OT27 [2024-10-03T02:44:55.999Z] OT27 Error occurred during initialization of boot layer [2024-10-03T02:44:55.999Z] OT27 java.lang.module.FindException: Hash of java.logging (09083ef2c66555ea1e13583273de9d136467210fdfe5b05056f5118909f51840) differs to expected hash (8dbff90c62e68bfd98b2ad7b3d3e7dc9ecf4086cef64c20328d24255089c30c4) recorded in java.base [2024-10-03T02:44:55.999Z] STF 02:44:55.863 - Monitoring Report Summary: [2024-10-03T02:44:55.999Z] STF 02:44:55.863 - o Process OT27 ended with the expected exit code (1) [2024-10-03T02:44:55.999Z] STF 02:44:55.864 - [2024-10-03T02:44:55.999Z] STF 02:44:55.864 - +------ Step 11 - Combine stderr and stdout files of process OT27 [2024-10-03T02:44:55.999Z] STF 02:44:55.864 - | Run foreground process [2024-10-03T02:44:55.999Z] STF 02:44:55.864 - | Program: F:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java [2024-10-03T02:44:56.000Z] STF 02:44:55.864 - | Mnemonic: CO [2024-10-03T02:44:56.000Z] STF 02:44:55.864 - | Echo: ECHO_OFF [2024-10-03T02:44:56.000Z] STF 02:44:55.864 - | Expectation: NON_ZERO_EXIT [0] within 30s [2024-10-03T02:44:56.000Z] STF 02:44:55.864 - | [2024-10-03T02:44:56.000Z] STF 02:44:55.864 - Running command: F:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java -Dfile1=F:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17279215565761/UpgModPath_JarImg_1/20241003-024449-UpgModPathTest/results/10.OT27.stdout -Dfile2=F:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17279215565761/UpgModPath_JarImg_1/20241003-024449-UpgModPathTest/results/10.OT27.stderr -Dfinal.file=F:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\aqa-tests\TKG\output_17279215565761\UpgModPath_JarImg_1\20241003-024449-UpgModPathTest\results\combinedOT27.txt -XX:-UseCompressedOops -classpath F:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\STF\stf.core\bin;F:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin net.adoptopenjdk.test.modularity.TestUtil [2024-10-03T02:44:56.000Z] STF 02:44:55.864 - Redirecting stderr to F:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17279215565761/UpgModPath_JarImg_1/20241003-024449-UpgModPathTest/results/11.CO.stderr [2024-10-03T02:44:56.000Z] STF 02:44:55.864 - Redirecting stdout to F:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17279215565761/UpgModPath_JarImg_1/20241003-024449-UpgModPathTest/results/11.CO.stdout [2024-10-03T02:44:56.000Z] STF 02:44:55.867 - Monitoring processes: CO [2024-10-03T02:44:56.305Z] STF 02:44:56.008 - Monitoring Report Summary: [2024-10-03T02:44:56.305Z] STF 02:44:56.008 - o Process CO ended with the expected exit code (0) [2024-10-03T02:44:56.305Z] STF 02:44:56.009 - [2024-10-03T02:44:56.305Z] STF 02:44:56.009 - +------ Step 12 - Check output [2024-10-03T02:44:56.305Z] STF 02:44:56.009 - | Count file matches [2024-10-03T02:44:56.305Z] STF 02:44:56.009 - | TargetFile: F:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17279215565761/UpgModPath_JarImg_1/20241003-024449-UpgModPathTest/results/combinedOT27.txt [2024-10-03T02:44:56.305Z] STF 02:44:56.009 - | ExpectedNumMatches: 1 [2024-10-03T02:44:56.305Z] STF 02:44:56.009 - | SearchStrings: ["FindException: Hash of java.logging"] [2024-10-03T02:44:56.305Z] STF 02:44:56.009 - | [2024-10-03T02:44:56.305Z] STF 02:44:56.009 - Found 1 instances of ["FindException: Hash of java.logging"] [2024-10-03T02:44:56.305Z] STF 02:44:56.009 - EXECUTE stage completed [2024-10-03T02:44:56.305Z] STF 02:44:56.051 - [2024-10-03T02:44:56.305Z] STF 02:44:56.051 - ==================== T E A R D O W N ==================== [2024-10-03T02:44:56.305Z] STF 02:44:56.051 - Running teardown: perl F:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17279215565761\UpgModPath_JarImg_1/20241003-024449-UpgModPathTest/tearDown.pl [2024-10-03T02:44:56.305Z] STF 02:44:56.187 - TEARDOWN stage completed [2024-10-03T02:44:56.305Z] STF 02:44:56.198 - [2024-10-03T02:44:56.305Z] STF 02:44:56.198 - ===================== R E S U L T S ===================== [2024-10-03T02:44:56.305Z] STF 02:44:56.198 - Stage results: [2024-10-03T02:44:56.305Z] STF 02:44:56.198 - setUp: pass [2024-10-03T02:44:56.305Z] STF 02:44:56.198 - execute: pass [2024-10-03T02:44:56.305Z] STF 02:44:56.198 - teardown: pass [2024-10-03T02:44:56.305Z] STF 02:44:56.198 - [2024-10-03T02:44:56.305Z] STF 02:44:56.198 - Overall result: PASSED [2024-10-03T02:44:56.305Z] ----------------------------------- [2024-10-03T02:44:56.305Z] UpgModPath_JarImg_1_PASSED [2024-10-03T02:44:56.305Z] ----------------------------------- [2024-10-03T02:44:56.611Z] [2024-10-03T02:44:56.611Z] TEST TEARDOWN: [2024-10-03T02:44:56.611Z] Nothing to be done for teardown. [2024-10-03T02:44:56.611Z] UpgModPath_JarImg_1 Finish Time: Thu Oct 3 02:44:56 2024 Epoch Time (ms): 1727923496446