UpgModPath_Jar_1

[2025-05-11T12:44:01.812Z] Running test UpgModPath_Jar_1 ... [2025-05-11T12:44:02.116Z] =============================================== [2025-05-11T12:44:02.551Z] UpgModPath_Jar_1 Start Time: Sun May 11 12:44:02 2025 Epoch Time (ms): 1746967442158 [2025-05-11T12:44:02.551Z] variation: Mode650 [2025-05-11T12:44:03.009Z] JVM_OPTIONS: -XX:-UseCompressedOops [2025-05-11T12:44:03.009Z] { \ [2025-05-11T12:44:03.009Z] echo ""; echo "TEST SETUP:"; \ [2025-05-11T12:44:03.009Z] echo "Nothing to be done for setup."; \ [2025-05-11T12:44:03.009Z] mkdir -p "C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/aqa-tests/\\TKG\\output_17469591279390\\UpgModPath_Jar_1"; \ [2025-05-11T12:44:03.009Z] cd "C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/aqa-tests/\\TKG\\output_17469591279390\\UpgModPath_Jar_1"; \ [2025-05-11T12:44:03.009Z] echo ""; echo "TESTING:"; \ [2025-05-11T12:44:03.009Z] perl C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/aqa-tests///..//jvmtest\\system\\modularity/../\\STF\\stf.core\\scripts\\stf.pl -test-root="C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/aqa-tests///..//jvmtest\\system\\modularity/../\\STF;C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/aqa-tests///..//jvmtest\\system\\modularity/../\\aqa-systemtest""" -systemtest-prereqs="c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/../../testDependency/system_lib\\" -java-args=' -XX:-UseCompressedOops ' -results-root="C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/aqa-tests/\\TKG\\output_17469591279390\\UpgModPath_Jar_1" -test=UpgModPathTest -test-args="variant=Jar"; \ [2025-05-11T12:44:03.009Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "UpgModPath_Jar_1""_PASSED"; echo "-----------------------------------"; cd C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/aqa-tests/; rm -f -r "C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/aqa-tests/\\TKG\\output_17469591279390\\UpgModPath_Jar_1"; else echo "-----------------------------------"; echo "UpgModPath_Jar_1""_FAILED"; echo "-----------------------------------"; fi; \ [2025-05-11T12:44:03.009Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-05-11T12:44:03.009Z] echo "Nothing to be done for teardown."; \ [2025-05-11T12:44:03.009Z] } 2>&1 | tee -a "C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/aqa-tests/\\TKG\\output_17469591279390\\TestTargetResult"; [2025-05-11T12:44:03.009Z] [2025-05-11T12:44:03.009Z] TEST SETUP: [2025-05-11T12:44:03.009Z] Nothing to be done for setup. [2025-05-11T12:44:03.009Z] [2025-05-11T12:44:03.009Z] TESTING: [2025-05-11T12:44:03.329Z] STF 12:44:02.932 - ========================= S T F ========================= [2025-05-11T12:44:03.329Z] systemtest-prereqs has been processed, and set to: c:/jenkins/testDependency/system_libRetrieving amount of free space on drive containing C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/aqa-tests/\TKG\output_17469591279390\UpgModPath_Jar_1 [2025-05-11T12:44:03.329Z] There is 90400 Mb free [2025-05-11T12:44:03.329Z] STF 12:44:02.984 - ================== G E N E R A T I O N ================== [2025-05-11T12:44:03.330Z] STF 12:44:02.986 - Checking JVM: c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/jdkbinary/j2sdk-image [2025-05-11T12:44:03.330Z] STF 12:44:02.986 - Starting process to generate scripts: c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/jdkbinary/j2sdk-image/bin/java -Dlog4j.skipJansi=true -Djava.system.class.loader=net.adoptopenjdk.stf.runner.StfClassLoader -Dload.agent.path=C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/jvmtest/system/STF/stf.core/scripts/../../stf.load/bin/stf.load.jar -classpath c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/../../testDependency/system_lib\/asm/asm.jar;c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/../../testDependency/system_lib\/asm/asm-commons.jar;c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/../../testDependency/system_lib\/log4j/log4j-api.jar;c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/../../testDependency/system_lib\/log4j/log4j-core.jar;C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/aqa-tests/\TKG\output_17469591279390\UpgModPath_Jar_1/20250511-124402-UpgModPathTest/stf_parameters.properties, , C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/aqa-tests/\TKG\output_17469591279390\UpgModPath_Jar_1/20250511-124402-UpgModPathTest" [2025-05-11T12:44:03.330Z] 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 [2025-05-11T12:44:03.987Z] GEN 12:44:03.767 - Found test. Project: 'openjdk.test.modularity' class: 'UpgModPathTest.class' Dir: 'C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin' [2025-05-11T12:44:03.987Z] GEN 12:44:03.787 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.UpgModPathTest' [2025-05-11T12:44:04.302Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2025-05-11T12:44:04.302Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayService [2025-05-11T12:44:04.302Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper [2025-05-11T12:44:04.302Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl1 [2025-05-11T12:44:04.302Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet [2025-05-11T12:44:04.302Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello [2025-05-11T12:44:04.302Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola [2025-05-11T12:44:04.302Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl2 [2025-05-11T12:44:04.302Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hi [2025-05-11T12:44:04.302Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override [2025-05-11T12:44:04.302Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override-new [2025-05-11T12:44:04.302Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl3 [2025-05-11T12:44:04.302Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl4 [2025-05-11T12:44:04.302Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common [2025-05-11T12:44:04.302Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests [2025-05-11T12:44:04.302Z] GEN C:\\jenkins\\workspace\\Test_openjdk17_hs_sanity.system_x86-64_windows\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin [2025-05-11T12:44:04.302Z] GEN C:\\jenkins\\workspace\\Test_openjdk17_hs_sanity.system_x86-64_windows\\jvmtest\\system\\STF\\stf.core\\bin [2025-05-11T12:44:04.302Z] GEN c:/jenkins/testDependency/system_lib/log4j/log4j-api.jar [2025-05-11T12:44:04.302Z] GEN c:/jenkins/testDependency/system_lib/log4j/log4j-core.jar [2025-05-11T12:44:04.302Z] GEN c:/jenkins/testDependency/system_lib/junit/junit.jar [2025-05-11T12:44:04.302Z] GEN 12:44:04.030 - Using Mode NoOptions. Values = '' [2025-05-11T12:44:04.302Z] GEN 12:44:04.119 - [2025-05-11T12:44:04.302Z] GEN 12:44:04.119 - Test command summary: [2025-05-11T12:44:04.302Z] GEN 12:44:04.120 - Step Stage Command Description [2025-05-11T12:44:04.302Z] GEN 12:44:04.120 - -----+--------+-----------------+------------ [2025-05-11T12:44:04.302Z] GEN 12:44:04.120 - 1 execute jar Create com.hello jar [2025-05-11T12:44:04.302Z] GEN 12:44:04.120 - 2 execute jar Create com.hola jar [2025-05-11T12:44:04.302Z] GEN 12:44:04.120 - 3 execute jar Create com.helper jar [2025-05-11T12:44:04.302Z] GEN 12:44:04.120 - 4 execute jar Create com.discreet jar [2025-05-11T12:44:04.302Z] GEN 12:44:04.120 - 5 execute jar Create tests jar [2025-05-11T12:44:04.302Z] GEN 12:44:04.120 - 6 execute jlink Create runtime image for upgrademodulepath test [2025-05-11T12:44:04.302Z] GEN 12:44:04.120 - 7 execute jar Create com.hello override jar [2025-05-11T12:44:04.302Z] GEN 12:44:04.120 - 8 execute jar Create com.hello override jar [2025-05-11T12:44:04.302Z] GEN 12:44:04.120 - 9 execute Run java Override an application module using modularized jar [2025-05-11T12:44:04.302Z] GEN 12:44:04.120 - 10 execute Run java (Negative test) Override a non-upgradable platform module where the overriding module is in a modularized jar [2025-05-11T12:44:04.302Z] GEN 12:44:04.120 - 11 execute Run java Combine stderr and stdout files of process OT24 [2025-05-11T12:44:04.303Z] GEN 12:44:04.120 - 12 execute count Check output [2025-05-11T12:44:04.303Z] STF 12:44:04.146 - [2025-05-11T12:44:04.303Z] STF 12:44:04.146 - Script generation completed [2025-05-11T12:44:04.303Z] STF 12:44:04.146 - [2025-05-11T12:44:04.303Z] STF 12:44:04.147 - [2025-05-11T12:44:04.303Z] STF 12:44:04.147 - ======================= S E T U P ======================= [2025-05-11T12:44:04.303Z] STF 12:44:04.147 - Running setup: perl C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/aqa-tests/\TKG\output_17469591279390\UpgModPath_Jar_1/20250511-124402-UpgModPathTest/setUp.pl [2025-05-11T12:44:04.620Z] STF 12:44:04.276 - SETUP stage completed [2025-05-11T12:44:04.621Z] STF 12:44:04.292 - [2025-05-11T12:44:04.621Z] STF 12:44:04.292 - ==================== E X E C U T E - ==================== [2025-05-11T12:44:04.621Z] STF 12:44:04.292 - Running execute: perl C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/aqa-tests/\TKG\output_17469591279390\UpgModPath_Jar_1/20250511-124402-UpgModPathTest/execute.pl [2025-05-11T12:44:04.621Z] STF 12:44:04.418 - [2025-05-11T12:44:04.621Z] STF 12:44:04.418 - Java version [2025-05-11T12:44:04.621Z] STF 12:44:04.418 - Running: c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/jdkbinary/j2sdk-image/bin/java -version [2025-05-11T12:44:04.621Z] openjdk version "17.0.16-beta" 2025-07-15 [2025-05-11T12:44:04.621Z] OpenJDK Runtime Environment Temurin-17.0.16+2-202505100656 (build 17.0.16-beta+2-ea) [2025-05-11T12:44:04.621Z] OpenJDK 64-Bit Server VM Temurin-17.0.16+2-202505100656 (build 17.0.16-beta+2-ea, mixed mode, sharing) [2025-05-11T12:44:04.621Z] STF 12:44:04.497 - [2025-05-11T12:44:04.621Z] STF 12:44:04.497 - +------ Step 1 - Create com.hello jar [2025-05-11T12:44:04.621Z] STF 12:44:04.497 - | Create modular jar [2025-05-11T12:44:04.621Z] STF 12:44:04.497 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2025-05-11T12:44:04.621Z] STF 12:44:04.497 - | ModuleVersion: null [2025-05-11T12:44:04.621Z] STF 12:44:04.497 - | MainClass: null [2025-05-11T12:44:04.621Z] STF 12:44:04.497 - | HashModules: null [2025-05-11T12:44:04.621Z] STF 12:44:04.497 - | [2025-05-11T12:44:04.621Z] STF 12:44:04.497 - Running command: c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17469591279390/UpgModPath_Jar_1/20250511-124402-UpgModPathTest/modules/1.com.hello.jar -C C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello . [2025-05-11T12:44:04.621Z] STF 12:44:04.497 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17469591279390/UpgModPath_Jar_1/20250511-124402-UpgModPathTest/results/1.CMJ.stderr [2025-05-11T12:44:04.621Z] STF 12:44:04.497 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17469591279390/UpgModPath_Jar_1/20250511-124402-UpgModPathTest/results/1.CMJ.stdout [2025-05-11T12:44:04.621Z] STF 12:44:04.522 - Monitoring processes: CMJ [2025-05-11T12:44:04.939Z] STF 12:44:04.753 - Monitoring Report Summary: [2025-05-11T12:44:04.939Z] STF 12:44:04.754 - o Process CMJ ended with the expected exit code (0) [2025-05-11T12:44:04.939Z] STF 12:44:04.754 - Created modular jar: 1.com.hello.jar [2025-05-11T12:44:04.939Z] STF 12:44:04.754 - [2025-05-11T12:44:04.939Z] STF 12:44:04.754 - +------ Step 2 - Create com.hola jar [2025-05-11T12:44:04.939Z] STF 12:44:04.754 - | Create modular jar [2025-05-11T12:44:04.939Z] STF 12:44:04.754 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2025-05-11T12:44:04.939Z] STF 12:44:04.754 - | ModuleVersion: null [2025-05-11T12:44:04.939Z] STF 12:44:04.754 - | MainClass: null [2025-05-11T12:44:04.939Z] STF 12:44:04.754 - | HashModules: null [2025-05-11T12:44:04.939Z] STF 12:44:04.754 - | [2025-05-11T12:44:04.939Z] STF 12:44:04.754 - Running command: c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17469591279390/UpgModPath_Jar_1/20250511-124402-UpgModPathTest/modules/2.com.hola.jar -C C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola . [2025-05-11T12:44:04.939Z] STF 12:44:04.754 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17469591279390/UpgModPath_Jar_1/20250511-124402-UpgModPathTest/results/2.CMJ.stderr [2025-05-11T12:44:04.939Z] STF 12:44:04.754 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17469591279390/UpgModPath_Jar_1/20250511-124402-UpgModPathTest/results/2.CMJ.stdout [2025-05-11T12:44:04.939Z] STF 12:44:04.760 - Monitoring processes: CMJ [2025-05-11T12:44:05.258Z] STF 12:44:05.000 - Monitoring Report Summary: [2025-05-11T12:44:05.258Z] STF 12:44:05.000 - o Process CMJ ended with the expected exit code (0) [2025-05-11T12:44:05.258Z] STF 12:44:05.000 - Created modular jar: 2.com.hola.jar [2025-05-11T12:44:05.258Z] STF 12:44:05.000 - [2025-05-11T12:44:05.258Z] STF 12:44:05.000 - +------ Step 3 - Create com.helper jar [2025-05-11T12:44:05.258Z] STF 12:44:05.000 - | Create modular jar [2025-05-11T12:44:05.258Z] STF 12:44:05.000 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2025-05-11T12:44:05.258Z] STF 12:44:05.000 - | ModuleVersion: null [2025-05-11T12:44:05.258Z] STF 12:44:05.000 - | MainClass: null [2025-05-11T12:44:05.258Z] STF 12:44:05.000 - | HashModules: null [2025-05-11T12:44:05.258Z] STF 12:44:05.000 - | [2025-05-11T12:44:05.258Z] STF 12:44:05.001 - Running command: c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17469591279390/UpgModPath_Jar_1/20250511-124402-UpgModPathTest/modules/3.com.helper.jar -C C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper . [2025-05-11T12:44:05.258Z] STF 12:44:05.001 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17469591279390/UpgModPath_Jar_1/20250511-124402-UpgModPathTest/results/3.CMJ.stderr [2025-05-11T12:44:05.258Z] STF 12:44:05.001 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17469591279390/UpgModPath_Jar_1/20250511-124402-UpgModPathTest/results/3.CMJ.stdout [2025-05-11T12:44:05.258Z] STF 12:44:05.005 - Monitoring processes: CMJ [2025-05-11T12:44:05.591Z] STF 12:44:05.250 - Monitoring Report Summary: [2025-05-11T12:44:05.591Z] STF 12:44:05.250 - o Process CMJ ended with the expected exit code (0) [2025-05-11T12:44:05.591Z] STF 12:44:05.250 - Created modular jar: 3.com.helper.jar [2025-05-11T12:44:05.591Z] STF 12:44:05.251 - [2025-05-11T12:44:05.591Z] STF 12:44:05.251 - +------ Step 4 - Create com.discreet jar [2025-05-11T12:44:05.591Z] STF 12:44:05.251 - | Create modular jar [2025-05-11T12:44:05.591Z] STF 12:44:05.251 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2025-05-11T12:44:05.591Z] STF 12:44:05.251 - | ModuleVersion: null [2025-05-11T12:44:05.591Z] STF 12:44:05.251 - | MainClass: null [2025-05-11T12:44:05.591Z] STF 12:44:05.251 - | HashModules: null [2025-05-11T12:44:05.591Z] STF 12:44:05.251 - | [2025-05-11T12:44:05.591Z] STF 12:44:05.251 - Running command: c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17469591279390/UpgModPath_Jar_1/20250511-124402-UpgModPathTest/modules/4.com.discreet.jar -C C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet . [2025-05-11T12:44:05.591Z] STF 12:44:05.251 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17469591279390/UpgModPath_Jar_1/20250511-124402-UpgModPathTest/results/4.CMJ.stderr [2025-05-11T12:44:05.591Z] STF 12:44:05.251 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17469591279390/UpgModPath_Jar_1/20250511-124402-UpgModPathTest/results/4.CMJ.stdout [2025-05-11T12:44:05.591Z] STF 12:44:05.256 - Monitoring processes: CMJ [2025-05-11T12:44:05.591Z] STF 12:44:05.489 - Monitoring Report Summary: [2025-05-11T12:44:05.591Z] STF 12:44:05.489 - o Process CMJ ended with the expected exit code (0) [2025-05-11T12:44:05.591Z] STF 12:44:05.489 - Created modular jar: 4.com.discreet.jar [2025-05-11T12:44:05.591Z] STF 12:44:05.489 - [2025-05-11T12:44:05.591Z] STF 12:44:05.489 - +------ Step 5 - Create tests jar [2025-05-11T12:44:05.591Z] STF 12:44:05.489 - | Create modular jar [2025-05-11T12:44:05.591Z] STF 12:44:05.489 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2025-05-11T12:44:05.591Z] STF 12:44:05.489 - | ModuleVersion: null [2025-05-11T12:44:05.591Z] STF 12:44:05.489 - | MainClass: null [2025-05-11T12:44:05.591Z] STF 12:44:05.489 - | HashModules: null [2025-05-11T12:44:05.591Z] STF 12:44:05.489 - | [2025-05-11T12:44:05.591Z] STF 12:44:05.490 - Running command: c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17469591279390/UpgModPath_Jar_1/20250511-124402-UpgModPathTest/modules/5.com.test.jar -C C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests\com.test . [2025-05-11T12:44:05.591Z] STF 12:44:05.490 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17469591279390/UpgModPath_Jar_1/20250511-124402-UpgModPathTest/results/5.CMJ.stderr [2025-05-11T12:44:05.591Z] STF 12:44:05.490 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17469591279390/UpgModPath_Jar_1/20250511-124402-UpgModPathTest/results/5.CMJ.stdout [2025-05-11T12:44:05.591Z] STF 12:44:05.496 - Monitoring processes: CMJ [2025-05-11T12:44:05.910Z] STF 12:44:05.753 - Monitoring Report Summary: [2025-05-11T12:44:05.910Z] STF 12:44:05.753 - o Process CMJ ended with the expected exit code (0) [2025-05-11T12:44:05.910Z] STF 12:44:05.753 - Created modular jar: 5.com.test.jar [2025-05-11T12:44:05.910Z] STF 12:44:05.753 - [2025-05-11T12:44:05.910Z] STF 12:44:05.753 - +------ Step 6 - Create runtime image for upgrademodulepath test [2025-05-11T12:44:05.910Z] STF 12:44:05.753 - | Run jlink to create runtime image [2025-05-11T12:44:05.910Z] STF 12:44:05.753 - | ImageName: UpJVM [2025-05-11T12:44:05.910Z] STF 12:44:05.753 - | [2025-05-11T12:44:05.911Z] STF 12:44:05.754 - Running command: c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/jdkbinary/j2sdk-image/bin/jlink --module-path c:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows\jdkbinary\j2sdk-image\jmods;C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows\aqa-tests\TKG\output_17469591279390\UpgModPath_Jar_1\20250511-124402-UpgModPathTest\modules --add-modules com.hello,com.hola,com.test,com.helper,com.discreet --output C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows\aqa-tests\TKG\output_17469591279390\UpgModPath_Jar_1\20250511-124402-UpgModPathTest\tmp\6.UpJVM [2025-05-11T12:44:05.911Z] STF 12:44:05.754 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17469591279390/UpgModPath_Jar_1/20250511-124402-UpgModPathTest/results/6.JLNK.stderr [2025-05-11T12:44:05.911Z] STF 12:44:05.754 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17469591279390/UpgModPath_Jar_1/20250511-124402-UpgModPathTest/results/6.JLNK.stdout [2025-05-11T12:44:05.911Z] STF 12:44:05.760 - Monitoring processes: JLNK [2025-05-11T12:44:08.074Z] STF 12:44:07.859 - Monitoring Report Summary: [2025-05-11T12:44:08.074Z] STF 12:44:07.859 - o Process JLNK ended with the expected exit code (0) [2025-05-11T12:44:08.074Z] STF 12:44:07.860 - [2025-05-11T12:44:08.074Z] STF 12:44:07.860 - +------ Step 7 - Create com.hello override jar [2025-05-11T12:44:08.074Z] STF 12:44:07.860 - | Create modular jar [2025-05-11T12:44:08.074Z] STF 12:44:07.860 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2025-05-11T12:44:08.074Z] STF 12:44:07.860 - | ModuleVersion: null [2025-05-11T12:44:08.074Z] STF 12:44:07.860 - | MainClass: null [2025-05-11T12:44:08.074Z] STF 12:44:07.860 - | HashModules: null [2025-05-11T12:44:08.074Z] STF 12:44:07.860 - | [2025-05-11T12:44:08.074Z] STF 12:44:07.860 - Running command: c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17469591279390/UpgModPath_Jar_1/20250511-124402-UpgModPathTest/modules/7.com.hello.jar -C C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.hello . [2025-05-11T12:44:08.074Z] STF 12:44:07.860 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17469591279390/UpgModPath_Jar_1/20250511-124402-UpgModPathTest/results/7.CMJ.stderr [2025-05-11T12:44:08.074Z] STF 12:44:07.860 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17469591279390/UpgModPath_Jar_1/20250511-124402-UpgModPathTest/results/7.CMJ.stdout [2025-05-11T12:44:08.074Z] STF 12:44:07.873 - Monitoring processes: CMJ [2025-05-11T12:44:08.391Z] STF 12:44:08.129 - Monitoring Report Summary: [2025-05-11T12:44:08.391Z] STF 12:44:08.129 - o Process CMJ ended with the expected exit code (0) [2025-05-11T12:44:08.391Z] STF 12:44:08.130 - Created modular jar: 7.com.hello.jar [2025-05-11T12:44:08.391Z] STF 12:44:08.130 - [2025-05-11T12:44:08.391Z] STF 12:44:08.130 - +------ Step 8 - Create com.hello override jar [2025-05-11T12:44:08.391Z] STF 12:44:08.130 - | Create modular jar [2025-05-11T12:44:08.391Z] STF 12:44:08.130 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.logging [2025-05-11T12:44:08.391Z] STF 12:44:08.130 - | ModuleVersion: null [2025-05-11T12:44:08.391Z] STF 12:44:08.130 - | MainClass: null [2025-05-11T12:44:08.391Z] STF 12:44:08.130 - | HashModules: null [2025-05-11T12:44:08.391Z] STF 12:44:08.130 - | [2025-05-11T12:44:08.391Z] STF 12:44:08.130 - Running command: c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17469591279390/UpgModPath_Jar_1/20250511-124402-UpgModPathTest/modules/8.java.logging.jar -C C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\java.logging . [2025-05-11T12:44:08.391Z] STF 12:44:08.130 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17469591279390/UpgModPath_Jar_1/20250511-124402-UpgModPathTest/results/8.CMJ.stderr [2025-05-11T12:44:08.391Z] STF 12:44:08.130 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17469591279390/UpgModPath_Jar_1/20250511-124402-UpgModPathTest/results/8.CMJ.stdout [2025-05-11T12:44:08.391Z] STF 12:44:08.135 - Monitoring processes: CMJ [2025-05-11T12:44:08.708Z] STF 12:44:08.355 - Monitoring Report Summary: [2025-05-11T12:44:08.708Z] STF 12:44:08.355 - o Process CMJ ended with the expected exit code (0) [2025-05-11T12:44:08.708Z] STF 12:44:08.355 - Created modular jar: 8.java.logging.jar [2025-05-11T12:44:08.708Z] STF 12:44:08.355 - [2025-05-11T12:44:08.708Z] STF 12:44:08.355 - +------ Step 9 - Override an application module using modularized jar [2025-05-11T12:44:08.708Z] STF 12:44:08.355 - | Run foreground process [2025-05-11T12:44:08.708Z] STF 12:44:08.355 - | Program: c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/jdkbinary/j2sdk-image/bin/java [2025-05-11T12:44:08.708Z] STF 12:44:08.356 - | Mnemonic: OT21 [2025-05-11T12:44:08.708Z] STF 12:44:08.356 - | Echo: ECHO_ON [2025-05-11T12:44:08.708Z] STF 12:44:08.356 - | Expectation: CLEAN_RUN within 1m [2025-05-11T12:44:08.708Z] STF 12:44:08.356 - | [2025-05-11T12:44:08.708Z] STF 12:44:08.356 - Running command: c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/jdkbinary/j2sdk-image/bin/java --add-reads com.test=ALL-UNNAMED --module-path C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods;C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests --upgrade-module-path C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17469591279390/UpgModPath_Jar_1/20250511-124402-UpgModPathTest/modules/7.com.hello.jar --add-modules=com.test -XX:-UseCompressedOops -classpath c:/jenkins/testDependency/system_lib/junit/junit.jar;c:/jenkins/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingAppModule [2025-05-11T12:44:08.708Z] STF 12:44:08.356 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17469591279390/UpgModPath_Jar_1/20250511-124402-UpgModPathTest/results/9.OT21.stderr [2025-05-11T12:44:08.708Z] STF 12:44:08.356 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17469591279390/UpgModPath_Jar_1/20250511-124402-UpgModPathTest/results/9.OT21.stdout [2025-05-11T12:44:08.709Z] STF 12:44:08.361 - Monitoring processes: OT21 [2025-05-11T12:44:08.709Z] OT21 JUnit version 4.12 [2025-05-11T12:44:08.709Z] OT21 . [2025-05-11T12:44:08.709Z] OT21 Time: 0.005 [2025-05-11T12:44:08.709Z] OT21 [2025-05-11T12:44:08.709Z] OT21 OK (1 test) [2025-05-11T12:44:08.709Z] OT21 [2025-05-11T12:44:09.027Z] STF 12:44:08.688 - Monitoring Report Summary: [2025-05-11T12:44:09.027Z] STF 12:44:08.688 - o Process OT21 ended with the expected exit code (0) [2025-05-11T12:44:09.027Z] STF 12:44:08.688 - [2025-05-11T12:44:09.028Z] STF 12:44:08.688 - +------ Step 10 - (Negative test) Override a non-upgradable platform module where the overriding module is in a modularized jar [2025-05-11T12:44:09.028Z] STF 12:44:08.688 - | Run foreground process [2025-05-11T12:44:09.028Z] STF 12:44:08.688 - | Program: c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/jdkbinary/j2sdk-image/bin/java [2025-05-11T12:44:09.028Z] STF 12:44:08.688 - | Mnemonic: OT24 [2025-05-11T12:44:09.028Z] STF 12:44:08.688 - | Echo: ECHO_ON [2025-05-11T12:44:09.028Z] STF 12:44:08.688 - | Expectation: NON_ZERO_EXIT [1] within 1m [2025-05-11T12:44:09.028Z] STF 12:44:08.688 - | [2025-05-11T12:44:09.028Z] STF 12:44:08.689 - Running command: c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/jdkbinary/j2sdk-image/bin/java --add-reads com.test=ALL-UNNAMED --module-path C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods;C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests --upgrade-module-path C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17469591279390/UpgModPath_Jar_1/20250511-124402-UpgModPathTest/modules/8.java.logging.jar --add-modules=com.test -XX:-UseCompressedOops -classpath c:/jenkins/testDependency/system_lib/junit/junit.jar;c:/jenkins/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingNonUpgradablePlatformModule [2025-05-11T12:44:09.028Z] STF 12:44:08.689 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17469591279390/UpgModPath_Jar_1/20250511-124402-UpgModPathTest/results/10.OT24.stderr [2025-05-11T12:44:09.028Z] STF 12:44:08.689 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17469591279390/UpgModPath_Jar_1/20250511-124402-UpgModPathTest/results/10.OT24.stdout [2025-05-11T12:44:09.028Z] STF 12:44:08.694 - Monitoring processes: OT24 [2025-05-11T12:44:09.028Z] OT24 Error occurred during initialization of boot layer [2025-05-11T12:44:09.028Z] OT24 java.lang.module.FindException: Hash of java.logging (c933232478b6e64f0dd21906f92ebdf0ba91f6a33eae10a92bd46936ae530f7a) differs to expected hash (e4e5f16bb349a4b7cad9b29bdeb63e7737b5bb4fbd09e12dd7048ca28b9c63a6) recorded in java.base [2025-05-11T12:44:09.028Z] STF 12:44:08.905 - Monitoring Report Summary: [2025-05-11T12:44:09.028Z] STF 12:44:08.905 - o Process OT24 ended with the expected exit code (1) [2025-05-11T12:44:09.028Z] STF 12:44:08.906 - [2025-05-11T12:44:09.028Z] STF 12:44:08.906 - +------ Step 11 - Combine stderr and stdout files of process OT24 [2025-05-11T12:44:09.028Z] STF 12:44:08.906 - | Run foreground process [2025-05-11T12:44:09.028Z] STF 12:44:08.906 - | Program: c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/jdkbinary/j2sdk-image/bin/java [2025-05-11T12:44:09.028Z] STF 12:44:08.906 - | Mnemonic: CO [2025-05-11T12:44:09.028Z] STF 12:44:08.906 - | Echo: ECHO_OFF [2025-05-11T12:44:09.028Z] STF 12:44:08.906 - | Expectation: NON_ZERO_EXIT [0] within 30s [2025-05-11T12:44:09.028Z] STF 12:44:08.906 - | [2025-05-11T12:44:09.028Z] STF 12:44:08.906 - Running command: c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/jdkbinary/j2sdk-image/bin/java -Dfile1=C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17469591279390/UpgModPath_Jar_1/20250511-124402-UpgModPathTest/results/10.OT24.stdout -Dfile2=C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17469591279390/UpgModPath_Jar_1/20250511-124402-UpgModPathTest/results/10.OT24.stderr -Dfinal.file=C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows\aqa-tests\TKG\output_17469591279390\UpgModPath_Jar_1\20250511-124402-UpgModPathTest\results\combinedOT24.txt -XX:-UseCompressedOops -classpath C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows\jvmtest\system\STF\stf.core\bin;C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin net.adoptopenjdk.test.modularity.TestUtil [2025-05-11T12:44:09.028Z] STF 12:44:08.906 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17469591279390/UpgModPath_Jar_1/20250511-124402-UpgModPathTest/results/11.CO.stderr [2025-05-11T12:44:09.028Z] STF 12:44:08.906 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17469591279390/UpgModPath_Jar_1/20250511-124402-UpgModPathTest/results/11.CO.stdout [2025-05-11T12:44:09.028Z] STF 12:44:08.911 - Monitoring processes: CO [2025-05-11T12:44:09.519Z] STF 12:44:09.034 - Monitoring Report Summary: [2025-05-11T12:44:09.519Z] STF 12:44:09.035 - o Process CO ended with the expected exit code (0) [2025-05-11T12:44:09.519Z] STF 12:44:09.035 - [2025-05-11T12:44:09.520Z] STF 12:44:09.035 - +------ Step 12 - Check output [2025-05-11T12:44:09.520Z] STF 12:44:09.035 - | Count file matches [2025-05-11T12:44:09.520Z] STF 12:44:09.035 - | TargetFile: C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/aqa-tests/TKG/output_17469591279390/UpgModPath_Jar_1/20250511-124402-UpgModPathTest/results/combinedOT24.txt [2025-05-11T12:44:09.520Z] STF 12:44:09.035 - | ExpectedNumMatches: 1 [2025-05-11T12:44:09.520Z] STF 12:44:09.035 - | SearchStrings: ["FindException: Hash of java.logging"] [2025-05-11T12:44:09.520Z] STF 12:44:09.035 - | [2025-05-11T12:44:09.520Z] STF 12:44:09.036 - Found 1 instances of ["FindException: Hash of java.logging"] [2025-05-11T12:44:09.520Z] STF 12:44:09.036 - EXECUTE stage completed [2025-05-11T12:44:09.520Z] STF 12:44:09.085 - [2025-05-11T12:44:09.520Z] STF 12:44:09.085 - ==================== T E A R D O W N ==================== [2025-05-11T12:44:09.520Z] STF 12:44:09.085 - Running teardown: perl C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows/aqa-tests/\TKG\output_17469591279390\UpgModPath_Jar_1/20250511-124402-UpgModPathTest/tearDown.pl [2025-05-11T12:44:09.520Z] STF 12:44:09.215 - TEARDOWN stage completed [2025-05-11T12:44:09.520Z] STF 12:44:09.230 - [2025-05-11T12:44:09.520Z] STF 12:44:09.230 - ===================== R E S U L T S ===================== [2025-05-11T12:44:09.520Z] STF 12:44:09.230 - Stage results: [2025-05-11T12:44:09.520Z] STF 12:44:09.230 - setUp: pass [2025-05-11T12:44:09.520Z] STF 12:44:09.230 - execute: pass [2025-05-11T12:44:09.520Z] STF 12:44:09.230 - teardown: pass [2025-05-11T12:44:09.520Z] STF 12:44:09.230 - [2025-05-11T12:44:09.520Z] STF 12:44:09.230 - Overall result: PASSED [2025-05-11T12:44:09.520Z] ----------------------------------- [2025-05-11T12:44:09.520Z] UpgModPath_Jar_1_PASSED [2025-05-11T12:44:09.520Z] ----------------------------------- [2025-05-11T12:44:09.520Z] [2025-05-11T12:44:09.520Z] TEST TEARDOWN: [2025-05-11T12:44:09.520Z] Nothing to be done for teardown. [2025-05-11T12:44:09.823Z] UpgModPath_Jar_1 Finish Time: Sun May 11 12:44:09 2025 Epoch Time (ms): 1746967449575