UpgModPath_JarImg_1

[2024-10-31T07:39:47.411Z] Running test UpgModPath_JarImg_1 ... [2024-10-31T07:39:47.411Z] =============================================== [2024-10-31T07:39:47.818Z] UpgModPath_JarImg_1 Start Time: Thu Oct 31 07:39:47 2024 Epoch Time (ms): 1730360387501 [2024-10-31T07:39:47.818Z] variation: Mode650 [2024-10-31T07:39:48.225Z] JVM_OPTIONS: -XX:-UseCompressedOops [2024-10-31T07:39:48.225Z] { \ [2024-10-31T07:39:48.225Z] echo ""; echo "TEST SETUP:"; \ [2024-10-31T07:39:48.225Z] echo "Nothing to be done for setup."; \ [2024-10-31T07:39:48.225Z] mkdir -p "C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17303582934896\\UpgModPath_JarImg_1"; \ [2024-10-31T07:39:48.225Z] cd "C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17303582934896\\UpgModPath_JarImg_1"; \ [2024-10-31T07:39:48.225Z] echo ""; echo "TESTING:"; \ [2024-10-31T07:39:48.225Z] 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_1" -test=UpgModPathTest -test-args="variant=JarImg"; \ [2024-10-31T07:39:48.225Z] 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_17303582934896\\UpgModPath_JarImg_1"; else echo "-----------------------------------"; echo "UpgModPath_JarImg_1""_FAILED"; echo "-----------------------------------"; fi; \ [2024-10-31T07:39:48.225Z] echo ""; echo "TEST TEARDOWN:"; \ [2024-10-31T07:39:48.225Z] echo "Nothing to be done for teardown."; \ [2024-10-31T07:39:48.225Z] } 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:48.225Z] [2024-10-31T07:39:48.225Z] TEST SETUP: [2024-10-31T07:39:48.225Z] Nothing to be done for setup. [2024-10-31T07:39:48.225Z] [2024-10-31T07:39:48.225Z] TESTING: [2024-10-31T07:39:48.559Z] STF 07:39:48.246 - ========================= S T F ========================= [2024-10-31T07:39:48.559Z] 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_1 [2024-10-31T07:39:48.559Z] There is 96550 Mb free [2024-10-31T07:39:48.559Z] STF 07:39:48.308 - ================== G E N E R A T I O N ================== [2024-10-31T07:39:48.559Z] STF 07:39:48.311 - Checking JVM: c:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image [2024-10-31T07:39:48.559Z] STF 07:39:48.312 - 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_1/20241031-073948-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_1/20241031-073948-UpgModPathTest" [2024-10-31T07:39:48.559Z] 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:49.678Z] GEN 07:39:49.489 - 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:49.679Z] GEN 07:39:49.509 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.UpgModPathTest' [2024-10-31T07:39:50.009Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2024-10-31T07:39:50.009Z] 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:50.009Z] 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:50.009Z] 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:50.009Z] 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:50.009Z] 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:50.009Z] 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:50.009Z] 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:50.009Z] 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:50.009Z] 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:50.009Z] 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:50.009Z] 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:50.009Z] 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:50.009Z] 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:50.009Z] 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:50.009Z] 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:50.009Z] GEN C:\\workspace\\workspace\\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\\jvmtest\\system\\STF\\stf.core\\bin [2024-10-31T07:39:50.009Z] GEN c:/workspace/testDependency/system_lib/log4j/log4j-api.jar [2024-10-31T07:39:50.009Z] GEN c:/workspace/testDependency/system_lib/log4j/log4j-core.jar [2024-10-31T07:39:50.009Z] GEN c:/workspace/testDependency/system_lib/junit/junit.jar [2024-10-31T07:39:50.009Z] GEN 07:39:49.805 - Using Mode NoOptions. Values = '' [2024-10-31T07:39:50.009Z] GEN 07:39:49.934 - [2024-10-31T07:39:50.009Z] GEN 07:39:49.934 - Test command summary: [2024-10-31T07:39:50.009Z] GEN 07:39:49.934 - Step Stage Command Description [2024-10-31T07:39:50.009Z] GEN 07:39:49.935 - -----+--------+-----------------+------------ [2024-10-31T07:39:50.009Z] GEN 07:39:49.935 - 1 execute jar Create com.hello jar [2024-10-31T07:39:50.009Z] GEN 07:39:49.935 - 2 execute jar Create com.hola jar [2024-10-31T07:39:50.009Z] GEN 07:39:49.935 - 3 execute jar Create com.helper jar [2024-10-31T07:39:50.009Z] GEN 07:39:49.935 - 4 execute jar Create com.discreet jar [2024-10-31T07:39:50.009Z] GEN 07:39:49.935 - 5 execute jar Create tests jar [2024-10-31T07:39:50.009Z] GEN 07:39:49.935 - 6 execute jlink Create runtime image for upgrademodulepath test [2024-10-31T07:39:50.009Z] GEN 07:39:49.936 - 7 execute jar Create com.hello override jar [2024-10-31T07:39:50.009Z] GEN 07:39:49.936 - 8 execute jar Create com.hello override jar [2024-10-31T07:39:50.009Z] GEN 07:39:49.936 - 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:50.009Z] GEN 07:39:49.936 - 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:50.009Z] GEN 07:39:49.936 - 11 execute Run java Combine stderr and stdout files of process OT27 [2024-10-31T07:39:50.009Z] GEN 07:39:49.936 - 12 execute count Check output [2024-10-31T07:39:50.009Z] STF 07:39:49.975 - [2024-10-31T07:39:50.009Z] STF 07:39:49.975 - Script generation completed [2024-10-31T07:39:50.009Z] STF 07:39:49.975 - [2024-10-31T07:39:50.009Z] STF 07:39:49.976 - [2024-10-31T07:39:50.009Z] STF 07:39:49.976 - ======================= S E T U P ======================= [2024-10-31T07:39:50.009Z] STF 07:39:49.976 - Running setup: perl C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17303582934896\UpgModPath_JarImg_1/20241031-073948-UpgModPathTest/setUp.pl [2024-10-31T07:39:50.336Z] STF 07:39:50.151 - SETUP stage completed [2024-10-31T07:39:50.336Z] STF 07:39:50.168 - [2024-10-31T07:39:50.336Z] STF 07:39:50.168 - ==================== E X E C U T E - ==================== [2024-10-31T07:39:50.336Z] STF 07:39:50.168 - Running execute: perl C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17303582934896\UpgModPath_JarImg_1/20241031-073948-UpgModPathTest/execute.pl [2024-10-31T07:39:50.670Z] STF 07:39:50.342 - [2024-10-31T07:39:50.670Z] STF 07:39:50.343 - Java version [2024-10-31T07:39:50.670Z] STF 07:39:50.343 - Running: c:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java -version [2024-10-31T07:39:50.670Z] openjdk version "17.0.14-beta" 2025-01-21 [2024-10-31T07:39:50.670Z] OpenJDK Runtime Environment Temurin-17.0.14+1-202410302036 (build 17.0.14-beta+1-ea) [2024-10-31T07:39:50.670Z] 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:50.670Z] STF 07:39:50.472 - [2024-10-31T07:39:50.670Z] STF 07:39:50.472 - +------ Step 1 - Create com.hello jar [2024-10-31T07:39:50.670Z] STF 07:39:50.472 - | Create modular jar [2024-10-31T07:39:50.670Z] STF 07:39:50.472 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2024-10-31T07:39:50.670Z] STF 07:39:50.472 - | ModuleVersion: null [2024-10-31T07:39:50.670Z] STF 07:39:50.472 - | MainClass: null [2024-10-31T07:39:50.670Z] STF 07:39:50.473 - | HashModules: null [2024-10-31T07:39:50.670Z] STF 07:39:50.473 - | [2024-10-31T07:39:50.670Z] STF 07:39:50.473 - 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_1/20241031-073948-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:50.670Z] STF 07:39:50.473 - Redirecting stderr to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17303582934896/UpgModPath_JarImg_1/20241031-073948-UpgModPathTest/results/1.CMJ.stderr [2024-10-31T07:39:50.670Z] STF 07:39:50.474 - Redirecting stdout to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17303582934896/UpgModPath_JarImg_1/20241031-073948-UpgModPathTest/results/1.CMJ.stdout [2024-10-31T07:39:50.670Z] STF 07:39:50.510 - Monitoring processes: CMJ [2024-10-31T07:39:50.999Z] STF 07:39:50.877 - Monitoring Report Summary: [2024-10-31T07:39:50.999Z] STF 07:39:50.877 - o Process CMJ ended with the expected exit code (0) [2024-10-31T07:39:50.999Z] STF 07:39:50.878 - Created modular jar: 1.com.hello.jar [2024-10-31T07:39:50.999Z] STF 07:39:50.878 - [2024-10-31T07:39:50.999Z] STF 07:39:50.878 - +------ Step 2 - Create com.hola jar [2024-10-31T07:39:50.999Z] STF 07:39:50.878 - | Create modular jar [2024-10-31T07:39:50.999Z] STF 07:39:50.878 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2024-10-31T07:39:50.999Z] STF 07:39:50.878 - | ModuleVersion: null [2024-10-31T07:39:50.999Z] STF 07:39:50.878 - | MainClass: null [2024-10-31T07:39:50.999Z] STF 07:39:50.878 - | HashModules: null [2024-10-31T07:39:50.999Z] STF 07:39:50.878 - | [2024-10-31T07:39:50.999Z] STF 07:39:50.878 - 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_1/20241031-073948-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:50.999Z] STF 07:39:50.878 - Redirecting stderr to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17303582934896/UpgModPath_JarImg_1/20241031-073948-UpgModPathTest/results/2.CMJ.stderr [2024-10-31T07:39:50.999Z] STF 07:39:50.878 - Redirecting stdout to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17303582934896/UpgModPath_JarImg_1/20241031-073948-UpgModPathTest/results/2.CMJ.stdout [2024-10-31T07:39:50.999Z] STF 07:39:50.886 - Monitoring processes: CMJ [2024-10-31T07:39:51.323Z] STF 07:39:51.251 - Monitoring Report Summary: [2024-10-31T07:39:51.323Z] STF 07:39:51.251 - o Process CMJ ended with the expected exit code (0) [2024-10-31T07:39:51.323Z] STF 07:39:51.252 - Created modular jar: 2.com.hola.jar [2024-10-31T07:39:51.323Z] STF 07:39:51.252 - [2024-10-31T07:39:51.323Z] STF 07:39:51.252 - +------ Step 3 - Create com.helper jar [2024-10-31T07:39:51.323Z] STF 07:39:51.252 - | Create modular jar [2024-10-31T07:39:51.323Z] STF 07:39:51.252 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2024-10-31T07:39:51.323Z] STF 07:39:51.252 - | ModuleVersion: null [2024-10-31T07:39:51.323Z] STF 07:39:51.252 - | MainClass: null [2024-10-31T07:39:51.323Z] STF 07:39:51.252 - | HashModules: null [2024-10-31T07:39:51.323Z] STF 07:39:51.252 - | [2024-10-31T07:39:51.323Z] STF 07:39:51.252 - 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_1/20241031-073948-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:51.323Z] STF 07:39:51.252 - Redirecting stderr to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17303582934896/UpgModPath_JarImg_1/20241031-073948-UpgModPathTest/results/3.CMJ.stderr [2024-10-31T07:39:51.323Z] STF 07:39:51.252 - Redirecting stdout to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17303582934896/UpgModPath_JarImg_1/20241031-073948-UpgModPathTest/results/3.CMJ.stdout [2024-10-31T07:39:51.323Z] STF 07:39:51.260 - Monitoring processes: CMJ [2024-10-31T07:39:52.012Z] STF 07:39:51.634 - Monitoring Report Summary: [2024-10-31T07:39:52.012Z] STF 07:39:51.634 - o Process CMJ ended with the expected exit code (0) [2024-10-31T07:39:52.012Z] STF 07:39:51.635 - Created modular jar: 3.com.helper.jar [2024-10-31T07:39:52.012Z] STF 07:39:51.635 - [2024-10-31T07:39:52.012Z] STF 07:39:51.635 - +------ Step 4 - Create com.discreet jar [2024-10-31T07:39:52.012Z] STF 07:39:51.635 - | Create modular jar [2024-10-31T07:39:52.012Z] STF 07:39:51.635 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2024-10-31T07:39:52.012Z] STF 07:39:51.635 - | ModuleVersion: null [2024-10-31T07:39:52.012Z] STF 07:39:51.635 - | MainClass: null [2024-10-31T07:39:52.012Z] STF 07:39:51.635 - | HashModules: null [2024-10-31T07:39:52.012Z] STF 07:39:51.635 - | [2024-10-31T07:39:52.012Z] STF 07:39:51.635 - 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_1/20241031-073948-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:52.012Z] STF 07:39:51.635 - Redirecting stderr to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17303582934896/UpgModPath_JarImg_1/20241031-073948-UpgModPathTest/results/4.CMJ.stderr [2024-10-31T07:39:52.012Z] STF 07:39:51.635 - Redirecting stdout to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17303582934896/UpgModPath_JarImg_1/20241031-073948-UpgModPathTest/results/4.CMJ.stdout [2024-10-31T07:39:52.012Z] STF 07:39:51.645 - Monitoring processes: CMJ [2024-10-31T07:39:52.339Z] STF 07:39:51.998 - Monitoring Report Summary: [2024-10-31T07:39:52.339Z] STF 07:39:51.998 - o Process CMJ ended with the expected exit code (0) [2024-10-31T07:39:52.339Z] STF 07:39:51.999 - Created modular jar: 4.com.discreet.jar [2024-10-31T07:39:52.339Z] STF 07:39:51.999 - [2024-10-31T07:39:52.339Z] STF 07:39:51.999 - +------ Step 5 - Create tests jar [2024-10-31T07:39:52.339Z] STF 07:39:51.999 - | Create modular jar [2024-10-31T07:39:52.339Z] STF 07:39:51.999 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2024-10-31T07:39:52.339Z] STF 07:39:51.999 - | ModuleVersion: null [2024-10-31T07:39:52.340Z] STF 07:39:51.999 - | MainClass: null [2024-10-31T07:39:52.340Z] STF 07:39:51.999 - | HashModules: null [2024-10-31T07:39:52.340Z] STF 07:39:51.999 - | [2024-10-31T07:39:52.340Z] STF 07:39:51.999 - 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_1/20241031-073948-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:52.340Z] STF 07:39:51.999 - Redirecting stderr to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17303582934896/UpgModPath_JarImg_1/20241031-073948-UpgModPathTest/results/5.CMJ.stderr [2024-10-31T07:39:52.340Z] STF 07:39:51.999 - Redirecting stdout to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17303582934896/UpgModPath_JarImg_1/20241031-073948-UpgModPathTest/results/5.CMJ.stdout [2024-10-31T07:39:52.340Z] STF 07:39:52.008 - Monitoring processes: CMJ [2024-10-31T07:39:52.670Z] STF 07:39:52.390 - Monitoring Report Summary: [2024-10-31T07:39:52.670Z] STF 07:39:52.391 - o Process CMJ ended with the expected exit code (0) [2024-10-31T07:39:52.670Z] STF 07:39:52.391 - Created modular jar: 5.com.test.jar [2024-10-31T07:39:52.670Z] STF 07:39:52.391 - [2024-10-31T07:39:52.670Z] STF 07:39:52.391 - +------ Step 6 - Create runtime image for upgrademodulepath test [2024-10-31T07:39:52.670Z] STF 07:39:52.391 - | Run jlink to create runtime image [2024-10-31T07:39:52.670Z] STF 07:39:52.391 - | ImageName: UpJVM [2024-10-31T07:39:52.670Z] STF 07:39:52.391 - | [2024-10-31T07:39:52.670Z] STF 07:39:52.392 - 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_1\20241031-073948-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_1\20241031-073948-UpgModPathTest\tmp\6.UpJVM [2024-10-31T07:39:52.670Z] STF 07:39:52.392 - Redirecting stderr to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17303582934896/UpgModPath_JarImg_1/20241031-073948-UpgModPathTest/results/6.JLNK.stderr [2024-10-31T07:39:52.670Z] STF 07:39:52.392 - Redirecting stdout to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17303582934896/UpgModPath_JarImg_1/20241031-073948-UpgModPathTest/results/6.JLNK.stdout [2024-10-31T07:39:52.670Z] STF 07:39:52.400 - Monitoring processes: JLNK [2024-10-31T07:39:55.575Z] STF 07:39:55.263 - Monitoring Report Summary: [2024-10-31T07:39:55.575Z] STF 07:39:55.263 - o Process JLNK ended with the expected exit code (0) [2024-10-31T07:39:55.575Z] STF 07:39:55.264 - [2024-10-31T07:39:55.575Z] STF 07:39:55.264 - +------ Step 7 - Create com.hello override jar [2024-10-31T07:39:55.575Z] STF 07:39:55.264 - | Create modular jar [2024-10-31T07:39:55.575Z] STF 07:39:55.264 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2024-10-31T07:39:55.575Z] STF 07:39:55.264 - | ModuleVersion: null [2024-10-31T07:39:55.575Z] STF 07:39:55.264 - | MainClass: null [2024-10-31T07:39:55.575Z] STF 07:39:55.264 - | HashModules: null [2024-10-31T07:39:55.575Z] STF 07:39:55.264 - | [2024-10-31T07:39:55.576Z] STF 07:39:55.265 - 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_1/20241031-073948-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:55.576Z] STF 07:39:55.265 - Redirecting stderr to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17303582934896/UpgModPath_JarImg_1/20241031-073948-UpgModPathTest/results/7.CMJ.stderr [2024-10-31T07:39:55.576Z] STF 07:39:55.265 - Redirecting stdout to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17303582934896/UpgModPath_JarImg_1/20241031-073948-UpgModPathTest/results/7.CMJ.stdout [2024-10-31T07:39:55.576Z] STF 07:39:55.284 - Monitoring processes: CMJ [2024-10-31T07:39:55.921Z] STF 07:39:55.713 - Monitoring Report Summary: [2024-10-31T07:39:55.921Z] STF 07:39:55.713 - o Process CMJ ended with the expected exit code (0) [2024-10-31T07:39:55.921Z] STF 07:39:55.713 - Created modular jar: 7.com.hello.jar [2024-10-31T07:39:55.921Z] STF 07:39:55.713 - [2024-10-31T07:39:55.921Z] STF 07:39:55.713 - +------ Step 8 - Create com.hello override jar [2024-10-31T07:39:55.921Z] STF 07:39:55.713 - | Create modular jar [2024-10-31T07:39:55.921Z] STF 07:39:55.713 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.logging [2024-10-31T07:39:55.921Z] STF 07:39:55.713 - | ModuleVersion: null [2024-10-31T07:39:55.921Z] STF 07:39:55.713 - | MainClass: null [2024-10-31T07:39:55.921Z] STF 07:39:55.713 - | HashModules: null [2024-10-31T07:39:55.921Z] STF 07:39:55.713 - | [2024-10-31T07:39:55.921Z] STF 07:39:55.714 - 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_1/20241031-073948-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:55.921Z] STF 07:39:55.714 - Redirecting stderr to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17303582934896/UpgModPath_JarImg_1/20241031-073948-UpgModPathTest/results/8.CMJ.stderr [2024-10-31T07:39:55.921Z] STF 07:39:55.714 - Redirecting stdout to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17303582934896/UpgModPath_JarImg_1/20241031-073948-UpgModPathTest/results/8.CMJ.stdout [2024-10-31T07:39:55.921Z] STF 07:39:55.722 - Monitoring processes: CMJ [2024-10-31T07:39:56.243Z] STF 07:39:56.048 - Monitoring Report Summary: [2024-10-31T07:39:56.243Z] STF 07:39:56.048 - o Process CMJ ended with the expected exit code (0) [2024-10-31T07:39:56.243Z] STF 07:39:56.048 - Created modular jar: 8.java.logging.jar [2024-10-31T07:39:56.243Z] STF 07:39:56.048 - [2024-10-31T07:39:56.243Z] STF 07:39:56.048 - +------ Step 9 - Override an application module using a custom runtime image where the overriding module is in a modularized jar [2024-10-31T07:39:56.243Z] STF 07:39:56.048 - | Run foreground process [2024-10-31T07:39:56.243Z] STF 07:39:56.048 - | Program: C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17303582934896/UpgModPath_JarImg_1/20241031-073948-UpgModPathTest/tmp/6.UpJVM/bin/java [2024-10-31T07:39:56.243Z] STF 07:39:56.048 - | Mnemonic: OT25 [2024-10-31T07:39:56.243Z] STF 07:39:56.048 - | Echo: ECHO_ON [2024-10-31T07:39:56.243Z] STF 07:39:56.048 - | Expectation: CLEAN_RUN within 1m [2024-10-31T07:39:56.243Z] STF 07:39:56.048 - | [2024-10-31T07:39:56.243Z] STF 07:39:56.049 - Running command: C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17303582934896/UpgModPath_JarImg_1/20241031-073948-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_1/20241031-073948-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:56.243Z] STF 07:39:56.049 - Redirecting stderr to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17303582934896/UpgModPath_JarImg_1/20241031-073948-UpgModPathTest/results/9.OT25.stderr [2024-10-31T07:39:56.243Z] STF 07:39:56.049 - Redirecting stdout to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17303582934896/UpgModPath_JarImg_1/20241031-073948-UpgModPathTest/results/9.OT25.stdout [2024-10-31T07:39:56.243Z] STF 07:39:56.076 - Monitoring processes: OT25 [2024-10-31T07:39:56.567Z] OT25 JUnit version 4.12 [2024-10-31T07:39:56.567Z] OT25 . [2024-10-31T07:39:56.567Z] OT25 Time: 0.006 [2024-10-31T07:39:56.567Z] OT25 [2024-10-31T07:39:56.567Z] OT25 OK (1 test) [2024-10-31T07:39:56.567Z] OT25 [2024-10-31T07:39:56.567Z] STF 07:39:56.486 - Monitoring Report Summary: [2024-10-31T07:39:56.567Z] STF 07:39:56.486 - o Process OT25 ended with the expected exit code (0) [2024-10-31T07:39:56.567Z] STF 07:39:56.486 - [2024-10-31T07:39:56.567Z] STF 07:39:56.486 - +------ 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:56.567Z] STF 07:39:56.486 - | Run foreground process [2024-10-31T07:39:56.568Z] STF 07:39:56.486 - | Program: C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17303582934896/UpgModPath_JarImg_1/20241031-073948-UpgModPathTest/tmp/6.UpJVM/bin/java [2024-10-31T07:39:56.568Z] STF 07:39:56.486 - | Mnemonic: OT27 [2024-10-31T07:39:56.568Z] STF 07:39:56.486 - | Echo: ECHO_ON [2024-10-31T07:39:56.568Z] STF 07:39:56.486 - | Expectation: NON_ZERO_EXIT [1] within 1m [2024-10-31T07:39:56.568Z] STF 07:39:56.486 - | [2024-10-31T07:39:56.568Z] STF 07:39:56.486 - Running command: C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17303582934896/UpgModPath_JarImg_1/20241031-073948-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_1/20241031-073948-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:56.568Z] STF 07:39:56.486 - Redirecting stderr to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17303582934896/UpgModPath_JarImg_1/20241031-073948-UpgModPathTest/results/10.OT27.stderr [2024-10-31T07:39:56.568Z] STF 07:39:56.486 - Redirecting stdout to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17303582934896/UpgModPath_JarImg_1/20241031-073948-UpgModPathTest/results/10.OT27.stdout [2024-10-31T07:39:56.568Z] STF 07:39:56.494 - Monitoring processes: OT27 [2024-10-31T07:39:56.893Z] OT27 Error occurred during initialization of boot layer [2024-10-31T07:39:56.893Z] OT27 java.lang.module.FindException: Hash of java.logging (512250f1143c7166516e3296bd8823a2d12234bb335dc708c52eb0684cf15c53) differs to expected hash (2ddb06ecc73027da8492ace6a7897046ef12434a5207b353418ef6ae27d5b24f) recorded in java.base [2024-10-31T07:39:56.893Z] STF 07:39:56.752 - Monitoring Report Summary: [2024-10-31T07:39:56.893Z] STF 07:39:56.752 - o Process OT27 ended with the expected exit code (1) [2024-10-31T07:39:56.893Z] STF 07:39:56.753 - [2024-10-31T07:39:56.893Z] STF 07:39:56.753 - +------ Step 11 - Combine stderr and stdout files of process OT27 [2024-10-31T07:39:56.893Z] STF 07:39:56.753 - | Run foreground process [2024-10-31T07:39:56.893Z] STF 07:39:56.753 - | Program: c:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java [2024-10-31T07:39:56.893Z] STF 07:39:56.753 - | Mnemonic: CO [2024-10-31T07:39:56.893Z] STF 07:39:56.753 - | Echo: ECHO_OFF [2024-10-31T07:39:56.893Z] STF 07:39:56.753 - | Expectation: NON_ZERO_EXIT [0] within 30s [2024-10-31T07:39:56.893Z] STF 07:39:56.753 - | [2024-10-31T07:39:56.893Z] STF 07:39:56.753 - 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_1/20241031-073948-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_1/20241031-073948-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_1\20241031-073948-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:56.894Z] STF 07:39:56.753 - Redirecting stderr to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17303582934896/UpgModPath_JarImg_1/20241031-073948-UpgModPathTest/results/11.CO.stderr [2024-10-31T07:39:56.894Z] STF 07:39:56.753 - Redirecting stdout to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17303582934896/UpgModPath_JarImg_1/20241031-073948-UpgModPathTest/results/11.CO.stdout [2024-10-31T07:39:56.894Z] STF 07:39:56.760 - Monitoring processes: CO [2024-10-31T07:39:57.209Z] STF 07:39:56.932 - Monitoring Report Summary: [2024-10-31T07:39:57.209Z] STF 07:39:56.932 - o Process CO ended with the expected exit code (0) [2024-10-31T07:39:57.209Z] STF 07:39:56.933 - [2024-10-31T07:39:57.209Z] STF 07:39:56.933 - +------ Step 12 - Check output [2024-10-31T07:39:57.209Z] STF 07:39:56.933 - | Count file matches [2024-10-31T07:39:57.209Z] STF 07:39:56.933 - | TargetFile: C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17303582934896/UpgModPath_JarImg_1/20241031-073948-UpgModPathTest/results/combinedOT27.txt [2024-10-31T07:39:57.209Z] STF 07:39:56.933 - | ExpectedNumMatches: 1 [2024-10-31T07:39:57.209Z] STF 07:39:56.933 - | SearchStrings: ["FindException: Hash of java.logging"] [2024-10-31T07:39:57.209Z] STF 07:39:56.933 - | [2024-10-31T07:39:57.209Z] STF 07:39:56.934 - Found 1 instances of ["FindException: Hash of java.logging"] [2024-10-31T07:39:57.209Z] STF 07:39:56.934 - EXECUTE stage completed [2024-10-31T07:39:57.209Z] STF 07:39:57.006 - [2024-10-31T07:39:57.209Z] STF 07:39:57.006 - ==================== T E A R D O W N ==================== [2024-10-31T07:39:57.209Z] STF 07:39:57.006 - Running teardown: perl C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17303582934896\UpgModPath_JarImg_1/20241031-073948-UpgModPathTest/tearDown.pl [2024-10-31T07:39:57.521Z] STF 07:39:57.200 - TEARDOWN stage completed [2024-10-31T07:39:57.521Z] STF 07:39:57.216 - [2024-10-31T07:39:57.521Z] STF 07:39:57.216 - ===================== R E S U L T S ===================== [2024-10-31T07:39:57.521Z] STF 07:39:57.216 - Stage results: [2024-10-31T07:39:57.521Z] STF 07:39:57.216 - setUp: pass [2024-10-31T07:39:57.521Z] STF 07:39:57.216 - execute: pass [2024-10-31T07:39:57.521Z] STF 07:39:57.216 - teardown: pass [2024-10-31T07:39:57.521Z] STF 07:39:57.216 - [2024-10-31T07:39:57.521Z] STF 07:39:57.216 - Overall result: PASSED [2024-10-31T07:39:57.521Z] ----------------------------------- [2024-10-31T07:39:57.521Z] UpgModPath_JarImg_1_PASSED [2024-10-31T07:39:57.521Z] ----------------------------------- [2024-10-31T07:39:57.521Z] [2024-10-31T07:39:57.521Z] TEST TEARDOWN: [2024-10-31T07:39:57.521Z] Nothing to be done for teardown. [2024-10-31T07:39:57.930Z] UpgModPath_JarImg_1 Finish Time: Thu Oct 31 07:39:57 2024 Epoch Time (ms): 1730360397581