UpgModPath_JarImg_0

[2024-10-31T07:39:36.381Z] Running test UpgModPath_JarImg_0 ... [2024-10-31T07:39:36.754Z] =============================================== [2024-10-31T07:39:36.755Z] UpgModPath_JarImg_0 Start Time: Thu Oct 31 07:39:36 2024 Epoch Time (ms): 1730360376633 [2024-10-31T07:39:37.068Z] variation: Mode150 [2024-10-31T07:39:37.451Z] JVM_OPTIONS: -XX:+UseCompressedOops [2024-10-31T07:39:37.451Z] { \ [2024-10-31T07:39:37.451Z] echo ""; echo "TEST SETUP:"; \ [2024-10-31T07:39:37.451Z] echo "Nothing to be done for setup."; \ [2024-10-31T07:39:37.451Z] mkdir -p "C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17303582934896\\UpgModPath_JarImg_0"; \ [2024-10-31T07:39:37.451Z] cd "C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17303582934896\\UpgModPath_JarImg_0"; \ [2024-10-31T07:39:37.451Z] echo ""; echo "TESTING:"; \ [2024-10-31T07:39:37.451Z] perl C:/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="C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests///..//jvmtest\\system\\modularity/../\\STF;C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests///..//jvmtest\\system\\modularity/../\\aqa-systemtest""" -systemtest-prereqs="c:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/../../testDependency/system_lib\\" -java-args=' -XX:+UseCompressedOops ' -results-root="C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17303582934896\\UpgModPath_JarImg_0" -test=UpgModPathTest -test-args="variant=JarImg"; \ [2024-10-31T07:39:37.452Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "UpgModPath_JarImg_0""_PASSED"; echo "-----------------------------------"; cd C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/; rm -f -r "C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17303582934896\\UpgModPath_JarImg_0"; else echo "-----------------------------------"; echo "UpgModPath_JarImg_0""_FAILED"; echo "-----------------------------------"; fi; \ [2024-10-31T07:39:37.452Z] echo ""; echo "TEST TEARDOWN:"; \ [2024-10-31T07:39:37.452Z] echo "Nothing to be done for teardown."; \ [2024-10-31T07:39:37.452Z] } 2>&1 | tee -a "C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17303582934896\\TestTargetResult"; [2024-10-31T07:39:37.452Z] [2024-10-31T07:39:37.452Z] TEST SETUP: [2024-10-31T07:39:37.452Z] Nothing to be done for setup. [2024-10-31T07:39:37.452Z] [2024-10-31T07:39:37.452Z] TESTING: [2024-10-31T07:39:37.780Z] STF 07:39:37.433 - ========================= S T F ========================= [2024-10-31T07:39:37.780Z] systemtest-prereqs has been processed, and set to: c:/workspace/testDependency/system_libRetrieving amount of free space on drive containing C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17303582934896\UpgModPath_JarImg_0 [2024-10-31T07:39:37.780Z] There is 96547 Mb free [2024-10-31T07:39:37.780Z] STF 07:39:37.498 - ================== G E N E R A T I O N ================== [2024-10-31T07:39:37.780Z] STF 07:39:37.501 - Checking JVM: c:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image [2024-10-31T07:39:37.780Z] STF 07:39:37.502 - Starting process to generate scripts: c:/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 c:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/../../testDependency/system_lib\/log4j/log4j-api.jar;c:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/../../testDependency/system_lib\/log4j/log4j-core.jar;C:/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 "C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17303582934896\UpgModPath_JarImg_0/20241031-073937-UpgModPathTest/stf_parameters.properties, , C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17303582934896\UpgModPath_JarImg_0/20241031-073937-UpgModPathTest" [2024-10-31T07:39:37.780Z] 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-31T07:39:38.895Z] GEN 07:39:38.647 - Found test. Project: 'openjdk.test.modularity' class: 'UpgModPathTest.class' Dir: 'C:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin' [2024-10-31T07:39:38.895Z] GEN 07:39:38.672 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.UpgModPathTest' [2024-10-31T07:39:39.223Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2024-10-31T07:39:39.223Z] GEN C:\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-31T07:39:39.223Z] GEN C:\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-31T07:39:39.223Z] GEN C:\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-31T07:39:39.223Z] GEN C:\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-31T07:39:39.223Z] GEN C:\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-31T07:39:39.223Z] GEN C:\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-31T07:39:39.223Z] GEN C:\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-31T07:39:39.223Z] GEN C:\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-31T07:39:39.223Z] GEN C:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override [2024-10-31T07:39:39.223Z] GEN C:\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-31T07:39:39.223Z] GEN C:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl3 [2024-10-31T07:39:39.223Z] GEN C:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl4 [2024-10-31T07:39:39.223Z] GEN C:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common [2024-10-31T07:39:39.223Z] GEN C:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests [2024-10-31T07:39:39.223Z] GEN C:\\workspace\\workspace\\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin [2024-10-31T07:39:39.223Z] GEN C:\\workspace\\workspace\\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\\jvmtest\\system\\STF\\stf.core\\bin [2024-10-31T07:39:39.223Z] GEN c:/workspace/testDependency/system_lib/log4j/log4j-api.jar [2024-10-31T07:39:39.223Z] GEN c:/workspace/testDependency/system_lib/log4j/log4j-core.jar [2024-10-31T07:39:39.223Z] GEN c:/workspace/testDependency/system_lib/junit/junit.jar [2024-10-31T07:39:39.223Z] GEN 07:39:38.969 - Using Mode NoOptions. Values = '' [2024-10-31T07:39:39.223Z] GEN 07:39:39.097 - [2024-10-31T07:39:39.223Z] GEN 07:39:39.098 - Test command summary: [2024-10-31T07:39:39.223Z] GEN 07:39:39.098 - Step Stage Command Description [2024-10-31T07:39:39.223Z] GEN 07:39:39.098 - -----+--------+-----------------+------------ [2024-10-31T07:39:39.223Z] GEN 07:39:39.099 - 1 execute jar Create com.hello jar [2024-10-31T07:39:39.223Z] GEN 07:39:39.099 - 2 execute jar Create com.hola jar [2024-10-31T07:39:39.223Z] GEN 07:39:39.099 - 3 execute jar Create com.helper jar [2024-10-31T07:39:39.223Z] GEN 07:39:39.099 - 4 execute jar Create com.discreet jar [2024-10-31T07:39:39.223Z] GEN 07:39:39.099 - 5 execute jar Create tests jar [2024-10-31T07:39:39.223Z] GEN 07:39:39.099 - 6 execute jlink Create runtime image for upgrademodulepath test [2024-10-31T07:39:39.223Z] GEN 07:39:39.099 - 7 execute jar Create com.hello override jar [2024-10-31T07:39:39.223Z] GEN 07:39:39.099 - 8 execute jar Create com.hello override jar [2024-10-31T07:39:39.223Z] GEN 07:39:39.099 - 9 execute Run java Override an application module using a custom runtime image where the overriding module is in a modularized jar [2024-10-31T07:39:39.223Z] GEN 07:39:39.099 - 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-31T07:39:39.223Z] GEN 07:39:39.100 - 11 execute Run java Combine stderr and stdout files of process OT27 [2024-10-31T07:39:39.223Z] GEN 07:39:39.100 - 12 execute count Check output [2024-10-31T07:39:39.223Z] STF 07:39:39.135 - [2024-10-31T07:39:39.223Z] STF 07:39:39.135 - Script generation completed [2024-10-31T07:39:39.223Z] STF 07:39:39.136 - [2024-10-31T07:39:39.223Z] STF 07:39:39.137 - [2024-10-31T07:39:39.223Z] STF 07:39:39.137 - ======================= S E T U P ======================= [2024-10-31T07:39:39.223Z] STF 07:39:39.137 - Running setup: perl C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17303582934896\UpgModPath_JarImg_0/20241031-073937-UpgModPathTest/setUp.pl [2024-10-31T07:39:39.553Z] STF 07:39:39.322 - SETUP stage completed [2024-10-31T07:39:39.553Z] STF 07:39:39.339 - [2024-10-31T07:39:39.554Z] STF 07:39:39.339 - ==================== E X E C U T E - ==================== [2024-10-31T07:39:39.554Z] STF 07:39:39.339 - Running execute: perl C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17303582934896\UpgModPath_JarImg_0/20241031-073937-UpgModPathTest/execute.pl [2024-10-31T07:39:39.882Z] STF 07:39:39.549 - [2024-10-31T07:39:39.882Z] STF 07:39:39.549 - Java version [2024-10-31T07:39:39.882Z] STF 07:39:39.549 - Running: c:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java -version [2024-10-31T07:39:39.882Z] openjdk version "17.0.14-beta" 2025-01-21 [2024-10-31T07:39:39.882Z] OpenJDK Runtime Environment Temurin-17.0.14+1-202410302036 (build 17.0.14-beta+1-ea) [2024-10-31T07:39:39.882Z] OpenJDK 64-Bit Server VM Temurin-17.0.14+1-202410302036 (build 17.0.14-beta+1-ea, mixed mode, sharing) [2024-10-31T07:39:39.882Z] STF 07:39:39.668 - [2024-10-31T07:39:39.882Z] STF 07:39:39.668 - +------ Step 1 - Create com.hello jar [2024-10-31T07:39:39.882Z] STF 07:39:39.669 - | Create modular jar [2024-10-31T07:39:39.882Z] STF 07:39:39.669 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2024-10-31T07:39:39.882Z] STF 07:39:39.669 - | ModuleVersion: null [2024-10-31T07:39:39.882Z] STF 07:39:39.669 - | MainClass: null [2024-10-31T07:39:39.882Z] STF 07:39:39.669 - | HashModules: null [2024-10-31T07:39:39.882Z] STF 07:39:39.669 - | [2024-10-31T07:39:39.882Z] STF 07:39:39.669 - Running command: c:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17303582934896/UpgModPath_JarImg_0/20241031-073937-UpgModPathTest/modules/1.com.hello.jar -C C:\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-31T07:39:39.882Z] STF 07:39:39.669 - Redirecting stderr to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17303582934896/UpgModPath_JarImg_0/20241031-073937-UpgModPathTest/results/1.CMJ.stderr [2024-10-31T07:39:39.882Z] STF 07:39:39.669 - Redirecting stdout to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17303582934896/UpgModPath_JarImg_0/20241031-073937-UpgModPathTest/results/1.CMJ.stdout [2024-10-31T07:39:39.882Z] STF 07:39:39.704 - Monitoring processes: CMJ [2024-10-31T07:39:40.208Z] STF 07:39:40.038 - Monitoring Report Summary: [2024-10-31T07:39:40.208Z] STF 07:39:40.038 - o Process CMJ ended with the expected exit code (0) [2024-10-31T07:39:40.208Z] STF 07:39:40.039 - Created modular jar: 1.com.hello.jar [2024-10-31T07:39:40.208Z] STF 07:39:40.039 - [2024-10-31T07:39:40.209Z] STF 07:39:40.039 - +------ Step 2 - Create com.hola jar [2024-10-31T07:39:40.209Z] STF 07:39:40.039 - | Create modular jar [2024-10-31T07:39:40.209Z] STF 07:39:40.039 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2024-10-31T07:39:40.209Z] STF 07:39:40.039 - | ModuleVersion: null [2024-10-31T07:39:40.209Z] STF 07:39:40.039 - | MainClass: null [2024-10-31T07:39:40.209Z] STF 07:39:40.039 - | HashModules: null [2024-10-31T07:39:40.209Z] STF 07:39:40.039 - | [2024-10-31T07:39:40.209Z] STF 07:39:40.039 - Running command: c:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17303582934896/UpgModPath_JarImg_0/20241031-073937-UpgModPathTest/modules/2.com.hola.jar -C C:\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-31T07:39:40.209Z] STF 07:39:40.039 - Redirecting stderr to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17303582934896/UpgModPath_JarImg_0/20241031-073937-UpgModPathTest/results/2.CMJ.stderr [2024-10-31T07:39:40.209Z] STF 07:39:40.039 - Redirecting stdout to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17303582934896/UpgModPath_JarImg_0/20241031-073937-UpgModPathTest/results/2.CMJ.stdout [2024-10-31T07:39:40.209Z] STF 07:39:40.048 - Monitoring processes: CMJ [2024-10-31T07:39:40.536Z] STF 07:39:40.404 - Monitoring Report Summary: [2024-10-31T07:39:40.536Z] STF 07:39:40.404 - o Process CMJ ended with the expected exit code (0) [2024-10-31T07:39:40.536Z] STF 07:39:40.405 - Created modular jar: 2.com.hola.jar [2024-10-31T07:39:40.536Z] STF 07:39:40.405 - [2024-10-31T07:39:40.536Z] STF 07:39:40.405 - +------ Step 3 - Create com.helper jar [2024-10-31T07:39:40.536Z] STF 07:39:40.405 - | Create modular jar [2024-10-31T07:39:40.536Z] STF 07:39:40.405 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2024-10-31T07:39:40.536Z] STF 07:39:40.405 - | ModuleVersion: null [2024-10-31T07:39:40.536Z] STF 07:39:40.405 - | MainClass: null [2024-10-31T07:39:40.536Z] STF 07:39:40.405 - | HashModules: null [2024-10-31T07:39:40.536Z] STF 07:39:40.405 - | [2024-10-31T07:39:40.536Z] STF 07:39:40.406 - Running command: c:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17303582934896/UpgModPath_JarImg_0/20241031-073937-UpgModPathTest/modules/3.com.helper.jar -C C:\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-31T07:39:40.536Z] STF 07:39:40.406 - Redirecting stderr to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17303582934896/UpgModPath_JarImg_0/20241031-073937-UpgModPathTest/results/3.CMJ.stderr [2024-10-31T07:39:40.536Z] STF 07:39:40.406 - Redirecting stdout to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17303582934896/UpgModPath_JarImg_0/20241031-073937-UpgModPathTest/results/3.CMJ.stdout [2024-10-31T07:39:40.536Z] STF 07:39:40.415 - Monitoring processes: CMJ [2024-10-31T07:39:40.861Z] STF 07:39:40.765 - Monitoring Report Summary: [2024-10-31T07:39:40.861Z] STF 07:39:40.765 - o Process CMJ ended with the expected exit code (0) [2024-10-31T07:39:40.861Z] STF 07:39:40.765 - Created modular jar: 3.com.helper.jar [2024-10-31T07:39:40.861Z] STF 07:39:40.765 - [2024-10-31T07:39:40.861Z] STF 07:39:40.765 - +------ Step 4 - Create com.discreet jar [2024-10-31T07:39:40.861Z] STF 07:39:40.765 - | Create modular jar [2024-10-31T07:39:40.861Z] STF 07:39:40.765 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2024-10-31T07:39:40.861Z] STF 07:39:40.765 - | ModuleVersion: null [2024-10-31T07:39:40.861Z] STF 07:39:40.765 - | MainClass: null [2024-10-31T07:39:40.861Z] STF 07:39:40.765 - | HashModules: null [2024-10-31T07:39:40.861Z] STF 07:39:40.765 - | [2024-10-31T07:39:40.862Z] STF 07:39:40.766 - Running command: c:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17303582934896/UpgModPath_JarImg_0/20241031-073937-UpgModPathTest/modules/4.com.discreet.jar -C C:\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-31T07:39:40.862Z] STF 07:39:40.766 - Redirecting stderr to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17303582934896/UpgModPath_JarImg_0/20241031-073937-UpgModPathTest/results/4.CMJ.stderr [2024-10-31T07:39:40.862Z] STF 07:39:40.766 - Redirecting stdout to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17303582934896/UpgModPath_JarImg_0/20241031-073937-UpgModPathTest/results/4.CMJ.stdout [2024-10-31T07:39:40.862Z] STF 07:39:40.776 - Monitoring processes: CMJ [2024-10-31T07:39:41.537Z] STF 07:39:41.145 - Monitoring Report Summary: [2024-10-31T07:39:41.537Z] STF 07:39:41.145 - o Process CMJ ended with the expected exit code (0) [2024-10-31T07:39:41.538Z] STF 07:39:41.146 - Created modular jar: 4.com.discreet.jar [2024-10-31T07:39:41.538Z] STF 07:39:41.146 - [2024-10-31T07:39:41.538Z] STF 07:39:41.146 - +------ Step 5 - Create tests jar [2024-10-31T07:39:41.538Z] STF 07:39:41.146 - | Create modular jar [2024-10-31T07:39:41.538Z] STF 07:39:41.146 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2024-10-31T07:39:41.538Z] STF 07:39:41.146 - | ModuleVersion: null [2024-10-31T07:39:41.538Z] STF 07:39:41.146 - | MainClass: null [2024-10-31T07:39:41.538Z] STF 07:39:41.146 - | HashModules: null [2024-10-31T07:39:41.538Z] STF 07:39:41.146 - | [2024-10-31T07:39:41.538Z] STF 07:39:41.146 - Running command: c:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17303582934896/UpgModPath_JarImg_0/20241031-073937-UpgModPathTest/modules/5.com.test.jar -C C:\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-31T07:39:41.538Z] STF 07:39:41.146 - Redirecting stderr to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17303582934896/UpgModPath_JarImg_0/20241031-073937-UpgModPathTest/results/5.CMJ.stderr [2024-10-31T07:39:41.538Z] STF 07:39:41.146 - Redirecting stdout to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17303582934896/UpgModPath_JarImg_0/20241031-073937-UpgModPathTest/results/5.CMJ.stdout [2024-10-31T07:39:41.538Z] STF 07:39:41.153 - Monitoring processes: CMJ [2024-10-31T07:39:41.867Z] STF 07:39:41.531 - Monitoring Report Summary: [2024-10-31T07:39:41.867Z] STF 07:39:41.531 - o Process CMJ ended with the expected exit code (0) [2024-10-31T07:39:41.867Z] STF 07:39:41.531 - Created modular jar: 5.com.test.jar [2024-10-31T07:39:41.867Z] STF 07:39:41.531 - [2024-10-31T07:39:41.867Z] STF 07:39:41.531 - +------ Step 6 - Create runtime image for upgrademodulepath test [2024-10-31T07:39:41.867Z] STF 07:39:41.531 - | Run jlink to create runtime image [2024-10-31T07:39:41.867Z] STF 07:39:41.531 - | ImageName: UpJVM [2024-10-31T07:39:41.867Z] STF 07:39:41.531 - | [2024-10-31T07:39:41.867Z] STF 07:39:41.532 - Running command: c:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jlink --module-path c:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jdkbinary\j2sdk-image\jmods;C:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\aqa-tests\TKG\output_17303582934896\UpgModPath_JarImg_0\20241031-073937-UpgModPathTest\modules --add-modules com.hello,com.hola,com.test,com.helper,com.discreet --output C:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\aqa-tests\TKG\output_17303582934896\UpgModPath_JarImg_0\20241031-073937-UpgModPathTest\tmp\6.UpJVM [2024-10-31T07:39:41.867Z] STF 07:39:41.532 - Redirecting stderr to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17303582934896/UpgModPath_JarImg_0/20241031-073937-UpgModPathTest/results/6.JLNK.stderr [2024-10-31T07:39:41.867Z] STF 07:39:41.532 - Redirecting stdout to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17303582934896/UpgModPath_JarImg_0/20241031-073937-UpgModPathTest/results/6.JLNK.stdout [2024-10-31T07:39:41.867Z] STF 07:39:41.539 - Monitoring processes: JLNK [2024-10-31T07:39:44.736Z] STF 07:39:44.365 - Monitoring Report Summary: [2024-10-31T07:39:44.736Z] STF 07:39:44.365 - o Process JLNK ended with the expected exit code (0) [2024-10-31T07:39:44.736Z] STF 07:39:44.366 - [2024-10-31T07:39:44.736Z] STF 07:39:44.366 - +------ Step 7 - Create com.hello override jar [2024-10-31T07:39:44.736Z] STF 07:39:44.366 - | Create modular jar [2024-10-31T07:39:44.736Z] STF 07:39:44.366 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2024-10-31T07:39:44.736Z] STF 07:39:44.366 - | ModuleVersion: null [2024-10-31T07:39:44.736Z] STF 07:39:44.366 - | MainClass: null [2024-10-31T07:39:44.736Z] STF 07:39:44.366 - | HashModules: null [2024-10-31T07:39:44.736Z] STF 07:39:44.366 - | [2024-10-31T07:39:44.736Z] STF 07:39:44.367 - Running command: c:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17303582934896/UpgModPath_JarImg_0/20241031-073937-UpgModPathTest/modules/7.com.hello.jar -C C:\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-31T07:39:44.736Z] STF 07:39:44.367 - Redirecting stderr to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17303582934896/UpgModPath_JarImg_0/20241031-073937-UpgModPathTest/results/7.CMJ.stderr [2024-10-31T07:39:44.736Z] STF 07:39:44.367 - Redirecting stdout to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17303582934896/UpgModPath_JarImg_0/20241031-073937-UpgModPathTest/results/7.CMJ.stdout [2024-10-31T07:39:44.736Z] STF 07:39:44.381 - Monitoring processes: CMJ [2024-10-31T07:39:45.059Z] STF 07:39:44.805 - Monitoring Report Summary: [2024-10-31T07:39:45.059Z] STF 07:39:44.805 - o Process CMJ ended with the expected exit code (0) [2024-10-31T07:39:45.059Z] STF 07:39:44.805 - Created modular jar: 7.com.hello.jar [2024-10-31T07:39:45.059Z] STF 07:39:44.805 - [2024-10-31T07:39:45.059Z] STF 07:39:44.805 - +------ Step 8 - Create com.hello override jar [2024-10-31T07:39:45.059Z] STF 07:39:44.805 - | Create modular jar [2024-10-31T07:39:45.059Z] STF 07:39:44.805 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.logging [2024-10-31T07:39:45.059Z] STF 07:39:44.805 - | ModuleVersion: null [2024-10-31T07:39:45.059Z] STF 07:39:44.805 - | MainClass: null [2024-10-31T07:39:45.059Z] STF 07:39:44.805 - | HashModules: null [2024-10-31T07:39:45.059Z] STF 07:39:44.805 - | [2024-10-31T07:39:45.059Z] STF 07:39:44.806 - Running command: c:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17303582934896/UpgModPath_JarImg_0/20241031-073937-UpgModPathTest/modules/8.java.logging.jar -C C:\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-31T07:39:45.059Z] STF 07:39:44.806 - Redirecting stderr to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17303582934896/UpgModPath_JarImg_0/20241031-073937-UpgModPathTest/results/8.CMJ.stderr [2024-10-31T07:39:45.059Z] STF 07:39:44.806 - Redirecting stdout to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17303582934896/UpgModPath_JarImg_0/20241031-073937-UpgModPathTest/results/8.CMJ.stdout [2024-10-31T07:39:45.059Z] STF 07:39:44.814 - Monitoring processes: CMJ [2024-10-31T07:39:45.385Z] STF 07:39:45.150 - Monitoring Report Summary: [2024-10-31T07:39:45.385Z] STF 07:39:45.150 - o Process CMJ ended with the expected exit code (0) [2024-10-31T07:39:45.385Z] STF 07:39:45.150 - Created modular jar: 8.java.logging.jar [2024-10-31T07:39:45.385Z] STF 07:39:45.150 - [2024-10-31T07:39:45.385Z] STF 07:39:45.150 - +------ Step 9 - Override an application module using a custom runtime image where the overriding module is in a modularized jar [2024-10-31T07:39:45.385Z] STF 07:39:45.150 - | Run foreground process [2024-10-31T07:39:45.385Z] STF 07:39:45.150 - | Program: C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17303582934896/UpgModPath_JarImg_0/20241031-073937-UpgModPathTest/tmp/6.UpJVM/bin/java [2024-10-31T07:39:45.385Z] STF 07:39:45.150 - | Mnemonic: OT25 [2024-10-31T07:39:45.385Z] STF 07:39:45.150 - | Echo: ECHO_ON [2024-10-31T07:39:45.385Z] STF 07:39:45.150 - | Expectation: CLEAN_RUN within 1m [2024-10-31T07:39:45.385Z] STF 07:39:45.150 - | [2024-10-31T07:39:45.386Z] STF 07:39:45.151 - Running command: C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17303582934896/UpgModPath_JarImg_0/20241031-073937-UpgModPathTest/tmp/6.UpJVM/bin/java --add-reads com.test=ALL-UNNAMED --upgrade-module-path C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17303582934896/UpgModPath_JarImg_0/20241031-073937-UpgModPathTest/modules/7.com.hello.jar -XX:+UseCompressedOops -classpath c:/workspace/testDependency/system_lib/junit/junit.jar;c:/workspace/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingAppModule [2024-10-31T07:39:45.386Z] STF 07:39:45.151 - Redirecting stderr to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17303582934896/UpgModPath_JarImg_0/20241031-073937-UpgModPathTest/results/9.OT25.stderr [2024-10-31T07:39:45.386Z] STF 07:39:45.151 - Redirecting stdout to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17303582934896/UpgModPath_JarImg_0/20241031-073937-UpgModPathTest/results/9.OT25.stdout [2024-10-31T07:39:45.386Z] STF 07:39:45.177 - Monitoring processes: OT25 [2024-10-31T07:39:45.713Z] OT25 JUnit version 4.12 [2024-10-31T07:39:45.713Z] OT25 . [2024-10-31T07:39:45.713Z] OT25 Time: 0.006 [2024-10-31T07:39:45.713Z] OT25 [2024-10-31T07:39:45.713Z] OT25 OK (1 test) [2024-10-31T07:39:45.713Z] OT25 [2024-10-31T07:39:45.713Z] STF 07:39:45.593 - Monitoring Report Summary: [2024-10-31T07:39:45.713Z] STF 07:39:45.593 - o Process OT25 ended with the expected exit code (0) [2024-10-31T07:39:45.713Z] STF 07:39:45.593 - [2024-10-31T07:39:45.713Z] STF 07:39:45.593 - +------ 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-31T07:39:45.713Z] STF 07:39:45.593 - | Run foreground process [2024-10-31T07:39:45.713Z] STF 07:39:45.593 - | Program: C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17303582934896/UpgModPath_JarImg_0/20241031-073937-UpgModPathTest/tmp/6.UpJVM/bin/java [2024-10-31T07:39:45.713Z] STF 07:39:45.593 - | Mnemonic: OT27 [2024-10-31T07:39:45.713Z] STF 07:39:45.594 - | Echo: ECHO_ON [2024-10-31T07:39:45.713Z] STF 07:39:45.594 - | Expectation: NON_ZERO_EXIT [1] within 1m [2024-10-31T07:39:45.713Z] STF 07:39:45.594 - | [2024-10-31T07:39:45.713Z] STF 07:39:45.594 - Running command: C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17303582934896/UpgModPath_JarImg_0/20241031-073937-UpgModPathTest/tmp/6.UpJVM/bin/java --add-reads com.test=ALL-UNNAMED --upgrade-module-path C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17303582934896/UpgModPath_JarImg_0/20241031-073937-UpgModPathTest/modules/8.java.logging.jar -XX:+UseCompressedOops -classpath c:/workspace/testDependency/system_lib/junit/junit.jar;c:/workspace/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingNonUpgradablePlatformModule [2024-10-31T07:39:45.713Z] STF 07:39:45.594 - Redirecting stderr to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17303582934896/UpgModPath_JarImg_0/20241031-073937-UpgModPathTest/results/10.OT27.stderr [2024-10-31T07:39:45.713Z] STF 07:39:45.594 - Redirecting stdout to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17303582934896/UpgModPath_JarImg_0/20241031-073937-UpgModPathTest/results/10.OT27.stdout [2024-10-31T07:39:45.713Z] STF 07:39:45.602 - Monitoring processes: OT27 [2024-10-31T07:39:46.041Z] OT27 Error occurred during initialization of boot layer [2024-10-31T07:39:46.041Z] OT27 java.lang.module.FindException: Hash of java.logging (512250f1143c7166516e3296bd8823a2d12234bb335dc708c52eb0684cf15c53) differs to expected hash (2ddb06ecc73027da8492ace6a7897046ef12434a5207b353418ef6ae27d5b24f) recorded in java.base [2024-10-31T07:39:46.041Z] STF 07:39:45.863 - Monitoring Report Summary: [2024-10-31T07:39:46.041Z] STF 07:39:45.863 - o Process OT27 ended with the expected exit code (1) [2024-10-31T07:39:46.041Z] STF 07:39:45.863 - [2024-10-31T07:39:46.041Z] STF 07:39:45.863 - +------ Step 11 - Combine stderr and stdout files of process OT27 [2024-10-31T07:39:46.041Z] STF 07:39:45.863 - | Run foreground process [2024-10-31T07:39:46.041Z] STF 07:39:45.863 - | Program: c:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java [2024-10-31T07:39:46.041Z] STF 07:39:45.863 - | Mnemonic: CO [2024-10-31T07:39:46.041Z] STF 07:39:45.863 - | Echo: ECHO_OFF [2024-10-31T07:39:46.041Z] STF 07:39:45.863 - | Expectation: NON_ZERO_EXIT [0] within 30s [2024-10-31T07:39:46.041Z] STF 07:39:45.864 - | [2024-10-31T07:39:46.041Z] STF 07:39:45.864 - Running command: c:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java -Dfile1=C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17303582934896/UpgModPath_JarImg_0/20241031-073937-UpgModPathTest/results/10.OT27.stdout -Dfile2=C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17303582934896/UpgModPath_JarImg_0/20241031-073937-UpgModPathTest/results/10.OT27.stderr -Dfinal.file=C:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\aqa-tests\TKG\output_17303582934896\UpgModPath_JarImg_0\20241031-073937-UpgModPathTest\results\combinedOT27.txt -XX:+UseCompressedOops -classpath C:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\STF\stf.core\bin;C:\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-31T07:39:46.041Z] STF 07:39:45.864 - Redirecting stderr to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17303582934896/UpgModPath_JarImg_0/20241031-073937-UpgModPathTest/results/11.CO.stderr [2024-10-31T07:39:46.041Z] STF 07:39:45.864 - Redirecting stdout to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17303582934896/UpgModPath_JarImg_0/20241031-073937-UpgModPathTest/results/11.CO.stdout [2024-10-31T07:39:46.041Z] STF 07:39:45.871 - Monitoring processes: CO [2024-10-31T07:39:46.469Z] STF 07:39:46.050 - Monitoring Report Summary: [2024-10-31T07:39:46.469Z] STF 07:39:46.050 - o Process CO ended with the expected exit code (0) [2024-10-31T07:39:46.469Z] STF 07:39:46.051 - [2024-10-31T07:39:46.469Z] STF 07:39:46.051 - +------ Step 12 - Check output [2024-10-31T07:39:46.469Z] STF 07:39:46.051 - | Count file matches [2024-10-31T07:39:46.469Z] STF 07:39:46.051 - | TargetFile: C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17303582934896/UpgModPath_JarImg_0/20241031-073937-UpgModPathTest/results/combinedOT27.txt [2024-10-31T07:39:46.469Z] STF 07:39:46.051 - | ExpectedNumMatches: 1 [2024-10-31T07:39:46.469Z] STF 07:39:46.051 - | SearchStrings: ["FindException: Hash of java.logging"] [2024-10-31T07:39:46.469Z] STF 07:39:46.051 - | [2024-10-31T07:39:46.469Z] STF 07:39:46.052 - Found 1 instances of ["FindException: Hash of java.logging"] [2024-10-31T07:39:46.469Z] STF 07:39:46.052 - EXECUTE stage completed [2024-10-31T07:39:46.469Z] STF 07:39:46.110 - [2024-10-31T07:39:46.469Z] STF 07:39:46.110 - ==================== T E A R D O W N ==================== [2024-10-31T07:39:46.469Z] STF 07:39:46.110 - Running teardown: perl C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17303582934896\UpgModPath_JarImg_0/20241031-073937-UpgModPathTest/tearDown.pl [2024-10-31T07:39:46.469Z] STF 07:39:46.293 - TEARDOWN stage completed [2024-10-31T07:39:46.469Z] STF 07:39:46.309 - [2024-10-31T07:39:46.469Z] STF 07:39:46.309 - ===================== R E S U L T S ===================== [2024-10-31T07:39:46.469Z] STF 07:39:46.309 - Stage results: [2024-10-31T07:39:46.469Z] STF 07:39:46.309 - setUp: pass [2024-10-31T07:39:46.469Z] STF 07:39:46.309 - execute: pass [2024-10-31T07:39:46.469Z] STF 07:39:46.309 - teardown: pass [2024-10-31T07:39:46.469Z] STF 07:39:46.309 - [2024-10-31T07:39:46.469Z] STF 07:39:46.309 - Overall result: PASSED [2024-10-31T07:39:46.469Z] ----------------------------------- [2024-10-31T07:39:46.469Z] UpgModPath_JarImg_0_PASSED [2024-10-31T07:39:46.469Z] ----------------------------------- [2024-10-31T07:39:46.781Z] [2024-10-31T07:39:46.781Z] TEST TEARDOWN: [2024-10-31T07:39:46.781Z] Nothing to be done for teardown. [2024-10-31T07:39:46.781Z] UpgModPath_JarImg_0 Finish Time: Thu Oct 31 07:39:46 2024 Epoch Time (ms): 1730360386658