UpgModPath_JarImg_1

[2024-11-17T03:10:04.701Z] Running test UpgModPath_JarImg_1 ... [2024-11-17T03:10:05.056Z] =============================================== [2024-11-17T03:10:05.056Z] UpgModPath_JarImg_1 Start Time: Sun Nov 17 03:10:04 2024 Epoch Time (ms): 1731813004921 [2024-11-17T03:10:05.368Z] variation: Mode650 [2024-11-17T03:10:05.368Z] JVM_OPTIONS: -XX:-UseCompressedOops [2024-11-17T03:10:05.368Z] { \ [2024-11-17T03:10:05.368Z] echo ""; echo "TEST SETUP:"; \ [2024-11-17T03:10:05.368Z] echo "Nothing to be done for setup."; \ [2024-11-17T03:10:05.368Z] mkdir -p "C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17318105949318\\UpgModPath_JarImg_1"; \ [2024-11-17T03:10:05.368Z] cd "C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17318105949318\\UpgModPath_JarImg_1"; \ [2024-11-17T03:10:05.368Z] echo ""; echo "TESTING:"; \ [2024-11-17T03:10:05.368Z] 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_17318105949318\\UpgModPath_JarImg_1" -test=UpgModPathTest -test-args="variant=JarImg"; \ [2024-11-17T03:10:05.368Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "UpgModPath_JarImg_1""_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_17318105949318\\UpgModPath_JarImg_1"; else echo "-----------------------------------"; echo "UpgModPath_JarImg_1""_FAILED"; echo "-----------------------------------"; fi; \ [2024-11-17T03:10:05.368Z] echo ""; echo "TEST TEARDOWN:"; \ [2024-11-17T03:10:05.368Z] echo "Nothing to be done for teardown."; \ [2024-11-17T03:10:05.368Z] } 2>&1 | tee -a "C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17318105949318\\TestTargetResult"; [2024-11-17T03:10:05.775Z] [2024-11-17T03:10:05.775Z] TEST SETUP: [2024-11-17T03:10:05.775Z] Nothing to be done for setup. [2024-11-17T03:10:05.775Z] [2024-11-17T03:10:05.775Z] TESTING: [2024-11-17T03:10:05.775Z] STF 03:10:05.593 - ========================= S T F ========================= [2024-11-17T03:10:05.775Z] 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_17318105949318\UpgModPath_JarImg_1 [2024-11-17T03:10:06.106Z] There is 97499 Mb free [2024-11-17T03:10:06.106Z] STF 03:10:05.657 - ================== G E N E R A T I O N ================== [2024-11-17T03:10:06.106Z] STF 03:10:05.660 - Checking JVM: c:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image [2024-11-17T03:10:06.106Z] STF 03:10:05.660 - 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_17318105949318\UpgModPath_JarImg_1/20241117-031005-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_17318105949318\UpgModPath_JarImg_1/20241117-031005-UpgModPathTest" [2024-11-17T03:10:06.106Z] 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-11-17T03:10:07.216Z] GEN 03:10:06.789 - 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-11-17T03:10:07.216Z] GEN 03:10:06.810 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.UpgModPathTest' [2024-11-17T03:10:07.216Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2024-11-17T03:10:07.216Z] 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-11-17T03:10:07.216Z] 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-11-17T03:10:07.216Z] 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-11-17T03:10:07.216Z] 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-11-17T03:10:07.216Z] 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-11-17T03:10:07.216Z] 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-11-17T03:10:07.216Z] 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-11-17T03:10:07.216Z] 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-11-17T03:10:07.216Z] 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-11-17T03:10:07.216Z] 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-11-17T03:10:07.216Z] 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-11-17T03:10:07.216Z] 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-11-17T03:10:07.216Z] GEN C:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common [2024-11-17T03:10:07.216Z] GEN C:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests [2024-11-17T03:10:07.216Z] GEN C:\\workspace\\workspace\\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin [2024-11-17T03:10:07.216Z] GEN C:\\workspace\\workspace\\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\\jvmtest\\system\\STF\\stf.core\\bin [2024-11-17T03:10:07.216Z] GEN c:/workspace/testDependency/system_lib/log4j/log4j-api.jar [2024-11-17T03:10:07.216Z] GEN c:/workspace/testDependency/system_lib/log4j/log4j-core.jar [2024-11-17T03:10:07.216Z] GEN c:/workspace/testDependency/system_lib/junit/junit.jar [2024-11-17T03:10:07.216Z] GEN 03:10:07.101 - Using Mode NoOptions. Values = '' [2024-11-17T03:10:07.547Z] GEN 03:10:07.223 - [2024-11-17T03:10:07.547Z] GEN 03:10:07.223 - Test command summary: [2024-11-17T03:10:07.547Z] GEN 03:10:07.223 - Step Stage Command Description [2024-11-17T03:10:07.547Z] GEN 03:10:07.224 - -----+--------+-----------------+------------ [2024-11-17T03:10:07.547Z] GEN 03:10:07.224 - 1 execute jar Create com.hello jar [2024-11-17T03:10:07.547Z] GEN 03:10:07.224 - 2 execute jar Create com.hola jar [2024-11-17T03:10:07.547Z] GEN 03:10:07.224 - 3 execute jar Create com.helper jar [2024-11-17T03:10:07.547Z] GEN 03:10:07.225 - 4 execute jar Create com.discreet jar [2024-11-17T03:10:07.547Z] GEN 03:10:07.225 - 5 execute jar Create tests jar [2024-11-17T03:10:07.547Z] GEN 03:10:07.225 - 6 execute jlink Create runtime image for upgrademodulepath test [2024-11-17T03:10:07.547Z] GEN 03:10:07.225 - 7 execute jar Create com.hello override jar [2024-11-17T03:10:07.547Z] GEN 03:10:07.225 - 8 execute jar Create com.hello override jar [2024-11-17T03:10:07.547Z] GEN 03:10:07.225 - 9 execute Run java Override an application module using a custom runtime image where the overriding module is in a modularized jar [2024-11-17T03:10:07.547Z] GEN 03:10:07.225 - 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-11-17T03:10:07.547Z] GEN 03:10:07.225 - 11 execute Run java Combine stderr and stdout files of process OT27 [2024-11-17T03:10:07.547Z] GEN 03:10:07.226 - 12 execute count Check output [2024-11-17T03:10:07.547Z] STF 03:10:07.272 - [2024-11-17T03:10:07.547Z] STF 03:10:07.272 - Script generation completed [2024-11-17T03:10:07.547Z] STF 03:10:07.272 - [2024-11-17T03:10:07.547Z] STF 03:10:07.274 - [2024-11-17T03:10:07.547Z] STF 03:10:07.274 - ======================= S E T U P ======================= [2024-11-17T03:10:07.547Z] STF 03:10:07.274 - Running setup: perl C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17318105949318\UpgModPath_JarImg_1/20241117-031005-UpgModPathTest/setUp.pl [2024-11-17T03:10:07.547Z] STF 03:10:07.444 - SETUP stage completed [2024-11-17T03:10:07.547Z] STF 03:10:07.462 - [2024-11-17T03:10:07.547Z] STF 03:10:07.462 - ==================== E X E C U T E - ==================== [2024-11-17T03:10:07.547Z] STF 03:10:07.462 - Running execute: perl C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17318105949318\UpgModPath_JarImg_1/20241117-031005-UpgModPathTest/execute.pl [2024-11-17T03:10:07.880Z] STF 03:10:07.664 - [2024-11-17T03:10:07.880Z] STF 03:10:07.664 - Java version [2024-11-17T03:10:07.880Z] STF 03:10:07.664 - Running: c:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java -version [2024-11-17T03:10:07.880Z] openjdk version "17.0.14-beta" 2025-01-21 [2024-11-17T03:10:07.880Z] OpenJDK Runtime Environment Temurin-17.0.14+3-202411132201 (build 17.0.14-beta+3-ea) [2024-11-17T03:10:07.880Z] OpenJDK 64-Bit Server VM Temurin-17.0.14+3-202411132201 (build 17.0.14-beta+3-ea, mixed mode, sharing) [2024-11-17T03:10:07.880Z] STF 03:10:07.785 - [2024-11-17T03:10:07.880Z] STF 03:10:07.785 - +------ Step 1 - Create com.hello jar [2024-11-17T03:10:07.880Z] STF 03:10:07.785 - | Create modular jar [2024-11-17T03:10:07.880Z] STF 03:10:07.785 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2024-11-17T03:10:07.880Z] STF 03:10:07.785 - | ModuleVersion: null [2024-11-17T03:10:07.880Z] STF 03:10:07.786 - | MainClass: null [2024-11-17T03:10:07.880Z] STF 03:10:07.786 - | HashModules: null [2024-11-17T03:10:07.880Z] STF 03:10:07.786 - | [2024-11-17T03:10:07.880Z] STF 03:10:07.786 - 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_17318105949318/UpgModPath_JarImg_1/20241117-031005-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-11-17T03:10:07.880Z] STF 03:10:07.786 - Redirecting stderr to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17318105949318/UpgModPath_JarImg_1/20241117-031005-UpgModPathTest/results/1.CMJ.stderr [2024-11-17T03:10:07.880Z] STF 03:10:07.787 - Redirecting stdout to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17318105949318/UpgModPath_JarImg_1/20241117-031005-UpgModPathTest/results/1.CMJ.stdout [2024-11-17T03:10:07.880Z] STF 03:10:07.824 - Monitoring processes: CMJ [2024-11-17T03:10:08.574Z] STF 03:10:08.215 - Monitoring Report Summary: [2024-11-17T03:10:08.574Z] STF 03:10:08.215 - o Process CMJ ended with the expected exit code (0) [2024-11-17T03:10:08.574Z] STF 03:10:08.215 - Created modular jar: 1.com.hello.jar [2024-11-17T03:10:08.574Z] STF 03:10:08.215 - [2024-11-17T03:10:08.574Z] STF 03:10:08.215 - +------ Step 2 - Create com.hola jar [2024-11-17T03:10:08.574Z] STF 03:10:08.215 - | Create modular jar [2024-11-17T03:10:08.574Z] STF 03:10:08.215 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2024-11-17T03:10:08.574Z] STF 03:10:08.215 - | ModuleVersion: null [2024-11-17T03:10:08.575Z] STF 03:10:08.215 - | MainClass: null [2024-11-17T03:10:08.575Z] STF 03:10:08.215 - | HashModules: null [2024-11-17T03:10:08.575Z] STF 03:10:08.215 - | [2024-11-17T03:10:08.575Z] STF 03:10:08.215 - 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_17318105949318/UpgModPath_JarImg_1/20241117-031005-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-11-17T03:10:08.575Z] STF 03:10:08.215 - Redirecting stderr to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17318105949318/UpgModPath_JarImg_1/20241117-031005-UpgModPathTest/results/2.CMJ.stderr [2024-11-17T03:10:08.575Z] STF 03:10:08.215 - Redirecting stdout to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17318105949318/UpgModPath_JarImg_1/20241117-031005-UpgModPathTest/results/2.CMJ.stdout [2024-11-17T03:10:08.575Z] STF 03:10:08.224 - Monitoring processes: CMJ [2024-11-17T03:10:08.904Z] STF 03:10:08.571 - Monitoring Report Summary: [2024-11-17T03:10:08.904Z] STF 03:10:08.571 - o Process CMJ ended with the expected exit code (0) [2024-11-17T03:10:08.904Z] STF 03:10:08.572 - Created modular jar: 2.com.hola.jar [2024-11-17T03:10:08.904Z] STF 03:10:08.572 - [2024-11-17T03:10:08.904Z] STF 03:10:08.572 - +------ Step 3 - Create com.helper jar [2024-11-17T03:10:08.904Z] STF 03:10:08.572 - | Create modular jar [2024-11-17T03:10:08.904Z] STF 03:10:08.572 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2024-11-17T03:10:08.904Z] STF 03:10:08.572 - | ModuleVersion: null [2024-11-17T03:10:08.904Z] STF 03:10:08.572 - | MainClass: null [2024-11-17T03:10:08.904Z] STF 03:10:08.572 - | HashModules: null [2024-11-17T03:10:08.904Z] STF 03:10:08.572 - | [2024-11-17T03:10:08.904Z] STF 03:10:08.572 - 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_17318105949318/UpgModPath_JarImg_1/20241117-031005-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-11-17T03:10:08.904Z] STF 03:10:08.573 - Redirecting stderr to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17318105949318/UpgModPath_JarImg_1/20241117-031005-UpgModPathTest/results/3.CMJ.stderr [2024-11-17T03:10:08.904Z] STF 03:10:08.573 - Redirecting stdout to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17318105949318/UpgModPath_JarImg_1/20241117-031005-UpgModPathTest/results/3.CMJ.stdout [2024-11-17T03:10:08.904Z] STF 03:10:08.582 - Monitoring processes: CMJ [2024-11-17T03:10:09.228Z] STF 03:10:08.939 - Monitoring Report Summary: [2024-11-17T03:10:09.228Z] STF 03:10:08.939 - o Process CMJ ended with the expected exit code (0) [2024-11-17T03:10:09.229Z] STF 03:10:08.940 - Created modular jar: 3.com.helper.jar [2024-11-17T03:10:09.229Z] STF 03:10:08.940 - [2024-11-17T03:10:09.229Z] STF 03:10:08.940 - +------ Step 4 - Create com.discreet jar [2024-11-17T03:10:09.229Z] STF 03:10:08.940 - | Create modular jar [2024-11-17T03:10:09.229Z] STF 03:10:08.940 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2024-11-17T03:10:09.229Z] STF 03:10:08.940 - | ModuleVersion: null [2024-11-17T03:10:09.229Z] STF 03:10:08.940 - | MainClass: null [2024-11-17T03:10:09.229Z] STF 03:10:08.940 - | HashModules: null [2024-11-17T03:10:09.229Z] STF 03:10:08.940 - | [2024-11-17T03:10:09.229Z] STF 03:10:08.940 - 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_17318105949318/UpgModPath_JarImg_1/20241117-031005-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-11-17T03:10:09.229Z] STF 03:10:08.940 - Redirecting stderr to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17318105949318/UpgModPath_JarImg_1/20241117-031005-UpgModPathTest/results/4.CMJ.stderr [2024-11-17T03:10:09.229Z] STF 03:10:08.940 - Redirecting stdout to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17318105949318/UpgModPath_JarImg_1/20241117-031005-UpgModPathTest/results/4.CMJ.stdout [2024-11-17T03:10:09.229Z] STF 03:10:08.949 - Monitoring processes: CMJ [2024-11-17T03:10:09.550Z] STF 03:10:09.287 - Monitoring Report Summary: [2024-11-17T03:10:09.550Z] STF 03:10:09.287 - o Process CMJ ended with the expected exit code (0) [2024-11-17T03:10:09.550Z] STF 03:10:09.288 - Created modular jar: 4.com.discreet.jar [2024-11-17T03:10:09.550Z] STF 03:10:09.288 - [2024-11-17T03:10:09.550Z] STF 03:10:09.288 - +------ Step 5 - Create tests jar [2024-11-17T03:10:09.550Z] STF 03:10:09.288 - | Create modular jar [2024-11-17T03:10:09.550Z] STF 03:10:09.288 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2024-11-17T03:10:09.550Z] STF 03:10:09.288 - | ModuleVersion: null [2024-11-17T03:10:09.550Z] STF 03:10:09.288 - | MainClass: null [2024-11-17T03:10:09.550Z] STF 03:10:09.288 - | HashModules: null [2024-11-17T03:10:09.550Z] STF 03:10:09.288 - | [2024-11-17T03:10:09.550Z] STF 03:10:09.288 - 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_17318105949318/UpgModPath_JarImg_1/20241117-031005-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-11-17T03:10:09.550Z] STF 03:10:09.288 - Redirecting stderr to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17318105949318/UpgModPath_JarImg_1/20241117-031005-UpgModPathTest/results/5.CMJ.stderr [2024-11-17T03:10:09.550Z] STF 03:10:09.288 - Redirecting stdout to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17318105949318/UpgModPath_JarImg_1/20241117-031005-UpgModPathTest/results/5.CMJ.stdout [2024-11-17T03:10:09.550Z] STF 03:10:09.296 - Monitoring processes: CMJ [2024-11-17T03:10:09.874Z] STF 03:10:09.642 - Monitoring Report Summary: [2024-11-17T03:10:09.874Z] STF 03:10:09.642 - o Process CMJ ended with the expected exit code (0) [2024-11-17T03:10:09.874Z] STF 03:10:09.643 - Created modular jar: 5.com.test.jar [2024-11-17T03:10:09.874Z] STF 03:10:09.643 - [2024-11-17T03:10:09.874Z] STF 03:10:09.643 - +------ Step 6 - Create runtime image for upgrademodulepath test [2024-11-17T03:10:09.874Z] STF 03:10:09.643 - | Run jlink to create runtime image [2024-11-17T03:10:09.874Z] STF 03:10:09.643 - | ImageName: UpJVM [2024-11-17T03:10:09.874Z] STF 03:10:09.643 - | [2024-11-17T03:10:09.874Z] STF 03:10:09.644 - 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_17318105949318\UpgModPath_JarImg_1\20241117-031005-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_17318105949318\UpgModPath_JarImg_1\20241117-031005-UpgModPathTest\tmp\6.UpJVM [2024-11-17T03:10:09.874Z] STF 03:10:09.644 - Redirecting stderr to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17318105949318/UpgModPath_JarImg_1/20241117-031005-UpgModPathTest/results/6.JLNK.stderr [2024-11-17T03:10:09.874Z] STF 03:10:09.644 - Redirecting stdout to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17318105949318/UpgModPath_JarImg_1/20241117-031005-UpgModPathTest/results/6.JLNK.stdout [2024-11-17T03:10:09.874Z] STF 03:10:09.652 - Monitoring processes: JLNK [2024-11-17T03:10:12.789Z] STF 03:10:12.525 - Monitoring Report Summary: [2024-11-17T03:10:12.789Z] STF 03:10:12.525 - o Process JLNK ended with the expected exit code (0) [2024-11-17T03:10:12.789Z] STF 03:10:12.525 - [2024-11-17T03:10:12.789Z] STF 03:10:12.526 - +------ Step 7 - Create com.hello override jar [2024-11-17T03:10:12.789Z] STF 03:10:12.526 - | Create modular jar [2024-11-17T03:10:12.789Z] STF 03:10:12.526 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2024-11-17T03:10:12.789Z] STF 03:10:12.526 - | ModuleVersion: null [2024-11-17T03:10:12.789Z] STF 03:10:12.526 - | MainClass: null [2024-11-17T03:10:12.789Z] STF 03:10:12.526 - | HashModules: null [2024-11-17T03:10:12.789Z] STF 03:10:12.526 - | [2024-11-17T03:10:12.789Z] STF 03:10:12.526 - 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_17318105949318/UpgModPath_JarImg_1/20241117-031005-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-11-17T03:10:12.789Z] STF 03:10:12.526 - Redirecting stderr to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17318105949318/UpgModPath_JarImg_1/20241117-031005-UpgModPathTest/results/7.CMJ.stderr [2024-11-17T03:10:12.789Z] STF 03:10:12.526 - Redirecting stdout to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17318105949318/UpgModPath_JarImg_1/20241117-031005-UpgModPathTest/results/7.CMJ.stdout [2024-11-17T03:10:12.789Z] STF 03:10:12.555 - Monitoring processes: CMJ [2024-11-17T03:10:13.111Z] STF 03:10:12.968 - Monitoring Report Summary: [2024-11-17T03:10:13.111Z] STF 03:10:12.968 - o Process CMJ ended with the expected exit code (0) [2024-11-17T03:10:13.111Z] STF 03:10:12.968 - Created modular jar: 7.com.hello.jar [2024-11-17T03:10:13.111Z] STF 03:10:12.969 - [2024-11-17T03:10:13.111Z] STF 03:10:12.969 - +------ Step 8 - Create com.hello override jar [2024-11-17T03:10:13.111Z] STF 03:10:12.969 - | Create modular jar [2024-11-17T03:10:13.111Z] STF 03:10:12.969 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.logging [2024-11-17T03:10:13.111Z] STF 03:10:12.969 - | ModuleVersion: null [2024-11-17T03:10:13.111Z] STF 03:10:12.969 - | MainClass: null [2024-11-17T03:10:13.111Z] STF 03:10:12.969 - | HashModules: null [2024-11-17T03:10:13.111Z] STF 03:10:12.969 - | [2024-11-17T03:10:13.111Z] STF 03:10:12.969 - 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_17318105949318/UpgModPath_JarImg_1/20241117-031005-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-11-17T03:10:13.111Z] STF 03:10:12.969 - Redirecting stderr to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17318105949318/UpgModPath_JarImg_1/20241117-031005-UpgModPathTest/results/8.CMJ.stderr [2024-11-17T03:10:13.111Z] STF 03:10:12.969 - Redirecting stdout to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17318105949318/UpgModPath_JarImg_1/20241117-031005-UpgModPathTest/results/8.CMJ.stdout [2024-11-17T03:10:13.111Z] STF 03:10:12.978 - Monitoring processes: CMJ [2024-11-17T03:10:13.436Z] STF 03:10:13.306 - Monitoring Report Summary: [2024-11-17T03:10:13.436Z] STF 03:10:13.306 - o Process CMJ ended with the expected exit code (0) [2024-11-17T03:10:13.436Z] STF 03:10:13.306 - Created modular jar: 8.java.logging.jar [2024-11-17T03:10:13.436Z] STF 03:10:13.306 - [2024-11-17T03:10:13.436Z] STF 03:10:13.306 - +------ Step 9 - Override an application module using a custom runtime image where the overriding module is in a modularized jar [2024-11-17T03:10:13.436Z] STF 03:10:13.306 - | Run foreground process [2024-11-17T03:10:13.436Z] STF 03:10:13.306 - | Program: C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17318105949318/UpgModPath_JarImg_1/20241117-031005-UpgModPathTest/tmp/6.UpJVM/bin/java [2024-11-17T03:10:13.436Z] STF 03:10:13.306 - | Mnemonic: OT25 [2024-11-17T03:10:13.436Z] STF 03:10:13.306 - | Echo: ECHO_ON [2024-11-17T03:10:13.436Z] STF 03:10:13.306 - | Expectation: CLEAN_RUN within 1m [2024-11-17T03:10:13.436Z] STF 03:10:13.306 - | [2024-11-17T03:10:13.437Z] STF 03:10:13.306 - Running command: C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17318105949318/UpgModPath_JarImg_1/20241117-031005-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_17318105949318/UpgModPath_JarImg_1/20241117-031005-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-11-17T03:10:13.437Z] STF 03:10:13.306 - Redirecting stderr to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17318105949318/UpgModPath_JarImg_1/20241117-031005-UpgModPathTest/results/9.OT25.stderr [2024-11-17T03:10:13.437Z] STF 03:10:13.306 - Redirecting stdout to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17318105949318/UpgModPath_JarImg_1/20241117-031005-UpgModPathTest/results/9.OT25.stdout [2024-11-17T03:10:13.437Z] STF 03:10:13.336 - Monitoring processes: OT25 [2024-11-17T03:10:13.760Z] OT25 JUnit version 4.12 [2024-11-17T03:10:13.760Z] OT25 . [2024-11-17T03:10:14.084Z] OT25 Time: 0.006 [2024-11-17T03:10:14.084Z] OT25 [2024-11-17T03:10:14.084Z] OT25 OK (1 test) [2024-11-17T03:10:14.084Z] OT25 [2024-11-17T03:10:14.084Z] STF 03:10:13.749 - Monitoring Report Summary: [2024-11-17T03:10:14.084Z] STF 03:10:13.749 - o Process OT25 ended with the expected exit code (0) [2024-11-17T03:10:14.084Z] STF 03:10:13.749 - [2024-11-17T03:10:14.084Z] STF 03:10:13.749 - +------ Step 10 - (Negative test) Override a non-upgradable platform module using a custom runtime imagewhere the overriding module is in a modularized jar [2024-11-17T03:10:14.084Z] STF 03:10:13.749 - | Run foreground process [2024-11-17T03:10:14.084Z] STF 03:10:13.749 - | Program: C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17318105949318/UpgModPath_JarImg_1/20241117-031005-UpgModPathTest/tmp/6.UpJVM/bin/java [2024-11-17T03:10:14.084Z] STF 03:10:13.749 - | Mnemonic: OT27 [2024-11-17T03:10:14.084Z] STF 03:10:13.749 - | Echo: ECHO_ON [2024-11-17T03:10:14.084Z] STF 03:10:13.749 - | Expectation: NON_ZERO_EXIT [1] within 1m [2024-11-17T03:10:14.084Z] STF 03:10:13.749 - | [2024-11-17T03:10:14.084Z] STF 03:10:13.749 - Running command: C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17318105949318/UpgModPath_JarImg_1/20241117-031005-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_17318105949318/UpgModPath_JarImg_1/20241117-031005-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-11-17T03:10:14.084Z] STF 03:10:13.749 - Redirecting stderr to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17318105949318/UpgModPath_JarImg_1/20241117-031005-UpgModPathTest/results/10.OT27.stderr [2024-11-17T03:10:14.084Z] STF 03:10:13.750 - Redirecting stdout to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17318105949318/UpgModPath_JarImg_1/20241117-031005-UpgModPathTest/results/10.OT27.stdout [2024-11-17T03:10:14.084Z] STF 03:10:13.758 - Monitoring processes: OT27 [2024-11-17T03:10:14.406Z] OT27 Error occurred during initialization of boot layer [2024-11-17T03:10:14.406Z] OT27 java.lang.module.FindException: Hash of java.logging (512250f1143c7166516e3296bd8823a2d12234bb335dc708c52eb0684cf15c53) differs to expected hash (2ddb06ecc73027da8492ace6a7897046ef12434a5207b353418ef6ae27d5b24f) recorded in java.base [2024-11-17T03:10:14.406Z] STF 03:10:14.007 - Monitoring Report Summary: [2024-11-17T03:10:14.406Z] STF 03:10:14.007 - o Process OT27 ended with the expected exit code (1) [2024-11-17T03:10:14.406Z] STF 03:10:14.007 - [2024-11-17T03:10:14.406Z] STF 03:10:14.007 - +------ Step 11 - Combine stderr and stdout files of process OT27 [2024-11-17T03:10:14.406Z] STF 03:10:14.007 - | Run foreground process [2024-11-17T03:10:14.406Z] STF 03:10:14.007 - | Program: c:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java [2024-11-17T03:10:14.406Z] STF 03:10:14.007 - | Mnemonic: CO [2024-11-17T03:10:14.406Z] STF 03:10:14.007 - | Echo: ECHO_OFF [2024-11-17T03:10:14.406Z] STF 03:10:14.007 - | Expectation: NON_ZERO_EXIT [0] within 30s [2024-11-17T03:10:14.406Z] STF 03:10:14.007 - | [2024-11-17T03:10:14.406Z] STF 03:10:14.008 - 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_17318105949318/UpgModPath_JarImg_1/20241117-031005-UpgModPathTest/results/10.OT27.stdout -Dfile2=C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17318105949318/UpgModPath_JarImg_1/20241117-031005-UpgModPathTest/results/10.OT27.stderr -Dfinal.file=C:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\aqa-tests\TKG\output_17318105949318\UpgModPath_JarImg_1\20241117-031005-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-11-17T03:10:14.406Z] STF 03:10:14.008 - Redirecting stderr to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17318105949318/UpgModPath_JarImg_1/20241117-031005-UpgModPathTest/results/11.CO.stderr [2024-11-17T03:10:14.406Z] STF 03:10:14.008 - Redirecting stdout to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17318105949318/UpgModPath_JarImg_1/20241117-031005-UpgModPathTest/results/11.CO.stdout [2024-11-17T03:10:14.406Z] STF 03:10:14.015 - Monitoring processes: CO [2024-11-17T03:10:14.406Z] STF 03:10:14.184 - Monitoring Report Summary: [2024-11-17T03:10:14.406Z] STF 03:10:14.184 - o Process CO ended with the expected exit code (0) [2024-11-17T03:10:14.406Z] STF 03:10:14.184 - [2024-11-17T03:10:14.406Z] STF 03:10:14.184 - +------ Step 12 - Check output [2024-11-17T03:10:14.406Z] STF 03:10:14.184 - | Count file matches [2024-11-17T03:10:14.406Z] STF 03:10:14.184 - | TargetFile: C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17318105949318/UpgModPath_JarImg_1/20241117-031005-UpgModPathTest/results/combinedOT27.txt [2024-11-17T03:10:14.406Z] STF 03:10:14.184 - | ExpectedNumMatches: 1 [2024-11-17T03:10:14.406Z] STF 03:10:14.184 - | SearchStrings: ["FindException: Hash of java.logging"] [2024-11-17T03:10:14.406Z] STF 03:10:14.184 - | [2024-11-17T03:10:14.406Z] STF 03:10:14.186 - Found 1 instances of ["FindException: Hash of java.logging"] [2024-11-17T03:10:14.406Z] STF 03:10:14.186 - EXECUTE stage completed [2024-11-17T03:10:14.406Z] STF 03:10:14.229 - [2024-11-17T03:10:14.406Z] STF 03:10:14.229 - ==================== T E A R D O W N ==================== [2024-11-17T03:10:14.406Z] STF 03:10:14.229 - Running teardown: perl C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17318105949318\UpgModPath_JarImg_1/20241117-031005-UpgModPathTest/tearDown.pl [2024-11-17T03:10:14.717Z] STF 03:10:14.415 - TEARDOWN stage completed [2024-11-17T03:10:14.717Z] STF 03:10:14.427 - [2024-11-17T03:10:14.717Z] STF 03:10:14.427 - ===================== R E S U L T S ===================== [2024-11-17T03:10:14.717Z] STF 03:10:14.427 - Stage results: [2024-11-17T03:10:14.717Z] STF 03:10:14.427 - setUp: pass [2024-11-17T03:10:14.717Z] STF 03:10:14.427 - execute: pass [2024-11-17T03:10:14.717Z] STF 03:10:14.427 - teardown: pass [2024-11-17T03:10:14.717Z] STF 03:10:14.427 - [2024-11-17T03:10:14.717Z] STF 03:10:14.427 - Overall result: PASSED [2024-11-17T03:10:14.717Z] ----------------------------------- [2024-11-17T03:10:14.717Z] UpgModPath_JarImg_1_PASSED [2024-11-17T03:10:14.717Z] ----------------------------------- [2024-11-17T03:10:14.717Z] [2024-11-17T03:10:14.717Z] TEST TEARDOWN: [2024-11-17T03:10:14.717Z] Nothing to be done for teardown. [2024-11-17T03:10:15.053Z] UpgModPath_JarImg_1 Finish Time: Sun Nov 17 03:10:14 2024 Epoch Time (ms): 1731813014752