UpgModPath_Exp_1

[2024-11-21T10:35:07.078Z] Running test UpgModPath_Exp_1 ... [2024-11-21T10:35:07.078Z] =============================================== [2024-11-21T10:35:07.370Z] UpgModPath_Exp_1 Start Time: Thu Nov 21 10:35:07 2024 Epoch Time (ms): 1732185307219 [2024-11-21T10:35:07.661Z] variation: Mode650 [2024-11-21T10:35:08.014Z] JVM_OPTIONS: -XX:-UseCompressedOops [2024-11-21T10:35:08.014Z] { \ [2024-11-21T10:35:08.014Z] echo ""; echo "TEST SETUP:"; \ [2024-11-21T10:35:08.014Z] echo "Nothing to be done for setup."; \ [2024-11-21T10:35:08.014Z] mkdir -p "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17321831717298\\UpgModPath_Exp_1"; \ [2024-11-21T10:35:08.014Z] cd "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17321831717298\\UpgModPath_Exp_1"; \ [2024-11-21T10:35:08.014Z] echo ""; echo "TESTING:"; \ [2024-11-21T10:35:08.014Z] perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests///..//jvmtest\\system\\modularity/../\\STF\\stf.core\\scripts\\stf.pl -test-root="C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests///..//jvmtest\\system\\modularity/../\\STF;C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests///..//jvmtest\\system\\modularity/../\\aqa-systemtest""" -systemtest-prereqs="C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/../../testDependency/system_lib\\" -java-args=' -XX:-UseCompressedOops ' -results-root="C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17321831717298\\UpgModPath_Exp_1" -test=UpgModPathTest -test-args="variant=Exp"; \ [2024-11-21T10:35:08.014Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "UpgModPath_Exp_1""_PASSED"; echo "-----------------------------------"; cd C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/; rm -f -r "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17321831717298\\UpgModPath_Exp_1"; else echo "-----------------------------------"; echo "UpgModPath_Exp_1""_FAILED"; echo "-----------------------------------"; fi; \ [2024-11-21T10:35:08.014Z] echo ""; echo "TEST TEARDOWN:"; \ [2024-11-21T10:35:08.014Z] echo "Nothing to be done for teardown."; \ [2024-11-21T10:35:08.014Z] } 2>&1 | tee -a "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17321831717298\\TestTargetResult"; [2024-11-21T10:35:08.014Z] [2024-11-21T10:35:08.014Z] TEST SETUP: [2024-11-21T10:35:08.014Z] Nothing to be done for setup. [2024-11-21T10:35:08.014Z] [2024-11-21T10:35:08.014Z] TESTING: [2024-11-21T10:35:08.647Z] STF 10:35:08.297 - ========================= S T F ========================= [2024-11-21T10:35:08.647Z] systemtest-prereqs has been processed, and set to: C:/Users/jenkins/testDependency/system_libRetrieving amount of free space on drive containing C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17321831717298\UpgModPath_Exp_1 [2024-11-21T10:35:08.647Z] There is 24154 Mb free [2024-11-21T10:35:08.647Z] STF 10:35:08.377 - ================== G E N E R A T I O N ================== [2024-11-21T10:35:08.647Z] STF 10:35:08.383 - Checking JVM: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image [2024-11-21T10:35:08.647Z] STF 10:35:08.384 - Starting process to generate scripts: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/java -Dlog4j.skipJansi=true -Djava.system.class.loader=net.adoptopenjdk.stf.runner.StfClassLoader -classpath C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/../../testDependency/system_lib\/log4j/log4j-api.jar;C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/../../testDependency/system_lib\/log4j/log4j-core.jar;C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17321831717298\UpgModPath_Exp_1/20241121-103508-UpgModPathTest/stf_parameters.properties, , C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17321831717298\UpgModPath_Exp_1/20241121-103508-UpgModPathTest" [2024-11-21T10:35:08.647Z] GEN stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-21T10:35:09.695Z] GEN Java lib directory does not exist: C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jdkbinary\lib [2024-11-21T10:35:10.001Z] GEN 10:35:09.734 - Found test. Project: 'openjdk.test.modularity' class: 'UpgModPathTest.class' Dir: 'C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin' [2024-11-21T10:35:10.001Z] GEN 10:35:09.750 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.UpgModPathTest' [2024-11-21T10:35:10.306Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2024-11-21T10:35:10.306Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayService [2024-11-21T10:35:10.306Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper [2024-11-21T10:35:10.306Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl1 [2024-11-21T10:35:10.306Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet [2024-11-21T10:35:10.306Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello [2024-11-21T10:35:10.306Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola [2024-11-21T10:35:10.306Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl2 [2024-11-21T10:35:10.306Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hi [2024-11-21T10:35:10.306Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override [2024-11-21T10:35:10.306Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override-new [2024-11-21T10:35:10.306Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl3 [2024-11-21T10:35:10.306Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl4 [2024-11-21T10:35:10.306Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common [2024-11-21T10:35:10.306Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests [2024-11-21T10:35:10.306Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin [2024-11-21T10:35:10.306Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\\jvmtest\\system\\STF\\stf.core\\bin [2024-11-21T10:35:10.306Z] GEN C:/Users/jenkins/testDependency/system_lib/log4j/log4j-api.jar [2024-11-21T10:35:10.306Z] GEN C:/Users/jenkins/testDependency/system_lib/log4j/log4j-core.jar [2024-11-21T10:35:10.306Z] GEN C:/Users/jenkins/testDependency/system_lib/junit/junit.jar [2024-11-21T10:35:10.306Z] GEN Java lib directory does not exist: C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jdkbinary\lib [2024-11-21T10:35:10.306Z] GEN 10:35:10.000 - Using Mode NoOptions. Values = '' [2024-11-21T10:35:10.306Z] GEN 10:35:10.141 - [2024-11-21T10:35:10.306Z] GEN 10:35:10.141 - Test command summary: [2024-11-21T10:35:10.306Z] GEN 10:35:10.141 - Step Stage Command Description [2024-11-21T10:35:10.306Z] GEN 10:35:10.141 - -----+--------+-----------------+------------ [2024-11-21T10:35:10.306Z] GEN 10:35:10.141 - 1 execute jar Create com.hello jar [2024-11-21T10:35:10.306Z] GEN 10:35:10.141 - 2 execute jar Create com.hola jar [2024-11-21T10:35:10.306Z] GEN 10:35:10.141 - 3 execute jar Create com.helper jar [2024-11-21T10:35:10.306Z] GEN 10:35:10.141 - 4 execute jar Create com.discreet jar [2024-11-21T10:35:10.306Z] GEN 10:35:10.141 - 5 execute jar Create tests jar [2024-11-21T10:35:10.306Z] GEN 10:35:10.141 - 6 execute jlink Create runtime image for upgrademodulepath test [2024-11-21T10:35:10.306Z] GEN 10:35:10.141 - 7 execute Run java Override an application module [2024-11-21T10:35:10.306Z] GEN 10:35:10.141 - 8 execute Run java (Negative test) Override a non-upgradable platform module [2024-11-21T10:35:10.306Z] GEN 10:35:10.141 - 9 execute Run java Combine stderr and stdout files of process OT13 [2024-11-21T10:35:10.306Z] GEN 10:35:10.141 - 10 execute count Check output [2024-11-21T10:35:10.306Z] STF 10:35:10.222 - [2024-11-21T10:35:10.306Z] STF 10:35:10.222 - Script generation completed [2024-11-21T10:35:10.306Z] STF 10:35:10.222 - [2024-11-21T10:35:10.306Z] STF 10:35:10.225 - [2024-11-21T10:35:10.306Z] STF 10:35:10.225 - ======================= S E T U P ======================= [2024-11-21T10:35:10.306Z] STF 10:35:10.225 - Running setup: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17321831717298\UpgModPath_Exp_1/20241121-103508-UpgModPathTest/setUp.pl [2024-11-21T10:35:10.950Z] STF 10:35:10.609 - SETUP stage completed [2024-11-21T10:35:10.950Z] STF 10:35:10.658 - [2024-11-21T10:35:10.950Z] STF 10:35:10.658 - ==================== E X E C U T E - ==================== [2024-11-21T10:35:10.950Z] STF 10:35:10.658 - Running execute: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17321831717298\UpgModPath_Exp_1/20241121-103508-UpgModPathTest/execute.pl [2024-11-21T10:35:11.252Z] STF 10:35:11.047 - [2024-11-21T10:35:11.252Z] STF 10:35:11.047 - Java version [2024-11-21T10:35:11.252Z] STF 10:35:11.047 - Running: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/java -version [2024-11-21T10:35:11.252Z] Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-21T10:35:11.252Z] openjdk version "21.0.6-beta" 2025-01-21 [2024-11-21T10:35:11.252Z] OpenJDK Runtime Environment Temurin-21.0.6+4-202411202006 (build 21.0.6-beta+4-ea) [2024-11-21T10:35:11.252Z] OpenJDK 64-Bit Server VM Temurin-21.0.6+4-202411202006 (build 21.0.6-beta+4-ea, mixed mode) [2024-11-21T10:35:11.252Z] STF 10:35:11.173 - [2024-11-21T10:35:11.252Z] STF 10:35:11.174 - +------ Step 1 - Create com.hello jar [2024-11-21T10:35:11.252Z] STF 10:35:11.174 - | Create modular jar [2024-11-21T10:35:11.252Z] STF 10:35:11.174 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2024-11-21T10:35:11.252Z] STF 10:35:11.174 - | ModuleVersion: null [2024-11-21T10:35:11.252Z] STF 10:35:11.174 - | MainClass: null [2024-11-21T10:35:11.252Z] STF 10:35:11.174 - | HashModules: null [2024-11-21T10:35:11.252Z] STF 10:35:11.174 - | [2024-11-21T10:35:11.252Z] STF 10:35:11.175 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17321831717298/UpgModPath_Exp_1/20241121-103508-UpgModPathTest/modules/1.com.hello.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello . [2024-11-21T10:35:11.252Z] STF 10:35:11.175 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17321831717298/UpgModPath_Exp_1/20241121-103508-UpgModPathTest/results/1.CMJ.stderr [2024-11-21T10:35:11.252Z] STF 10:35:11.175 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17321831717298/UpgModPath_Exp_1/20241121-103508-UpgModPathTest/results/1.CMJ.stdout [2024-11-21T10:35:11.556Z] STF 10:35:11.244 - Monitoring processes: CMJ [2024-11-21T10:35:11.556Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-21T10:35:11.862Z] STF 10:35:11.706 - Monitoring Report Summary: [2024-11-21T10:35:11.862Z] STF 10:35:11.706 - o Process CMJ ended with the expected exit code (0) [2024-11-21T10:35:11.862Z] STF 10:35:11.707 - Created modular jar: 1.com.hello.jar [2024-11-21T10:35:11.862Z] STF 10:35:11.707 - [2024-11-21T10:35:11.862Z] STF 10:35:11.707 - +------ Step 2 - Create com.hola jar [2024-11-21T10:35:11.862Z] STF 10:35:11.707 - | Create modular jar [2024-11-21T10:35:11.862Z] STF 10:35:11.707 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2024-11-21T10:35:11.862Z] STF 10:35:11.707 - | ModuleVersion: null [2024-11-21T10:35:11.862Z] STF 10:35:11.707 - | MainClass: null [2024-11-21T10:35:11.862Z] STF 10:35:11.707 - | HashModules: null [2024-11-21T10:35:11.862Z] STF 10:35:11.707 - | [2024-11-21T10:35:11.862Z] STF 10:35:11.708 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17321831717298/UpgModPath_Exp_1/20241121-103508-UpgModPathTest/modules/2.com.hola.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola . [2024-11-21T10:35:11.862Z] STF 10:35:11.708 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17321831717298/UpgModPath_Exp_1/20241121-103508-UpgModPathTest/results/2.CMJ.stderr [2024-11-21T10:35:11.862Z] STF 10:35:11.708 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17321831717298/UpgModPath_Exp_1/20241121-103508-UpgModPathTest/results/2.CMJ.stdout [2024-11-21T10:35:11.862Z] STF 10:35:11.716 - Monitoring processes: CMJ [2024-11-21T10:35:11.862Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-21T10:35:12.508Z] STF 10:35:12.156 - Monitoring Report Summary: [2024-11-21T10:35:12.508Z] STF 10:35:12.156 - o Process CMJ ended with the expected exit code (0) [2024-11-21T10:35:12.509Z] STF 10:35:12.157 - Created modular jar: 2.com.hola.jar [2024-11-21T10:35:12.509Z] STF 10:35:12.157 - [2024-11-21T10:35:12.509Z] STF 10:35:12.157 - +------ Step 3 - Create com.helper jar [2024-11-21T10:35:12.509Z] STF 10:35:12.157 - | Create modular jar [2024-11-21T10:35:12.509Z] STF 10:35:12.157 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2024-11-21T10:35:12.509Z] STF 10:35:12.157 - | ModuleVersion: null [2024-11-21T10:35:12.509Z] STF 10:35:12.157 - | MainClass: null [2024-11-21T10:35:12.509Z] STF 10:35:12.157 - | HashModules: null [2024-11-21T10:35:12.509Z] STF 10:35:12.157 - | [2024-11-21T10:35:12.509Z] STF 10:35:12.158 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17321831717298/UpgModPath_Exp_1/20241121-103508-UpgModPathTest/modules/3.com.helper.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper . [2024-11-21T10:35:12.509Z] STF 10:35:12.158 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17321831717298/UpgModPath_Exp_1/20241121-103508-UpgModPathTest/results/3.CMJ.stderr [2024-11-21T10:35:12.509Z] STF 10:35:12.158 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17321831717298/UpgModPath_Exp_1/20241121-103508-UpgModPathTest/results/3.CMJ.stdout [2024-11-21T10:35:12.509Z] STF 10:35:12.166 - Monitoring processes: CMJ [2024-11-21T10:35:12.509Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-21T10:35:12.817Z] STF 10:35:12.595 - Monitoring Report Summary: [2024-11-21T10:35:12.817Z] STF 10:35:12.595 - o Process CMJ ended with the expected exit code (0) [2024-11-21T10:35:12.817Z] STF 10:35:12.596 - Created modular jar: 3.com.helper.jar [2024-11-21T10:35:12.817Z] STF 10:35:12.596 - [2024-11-21T10:35:12.817Z] STF 10:35:12.596 - +------ Step 4 - Create com.discreet jar [2024-11-21T10:35:12.817Z] STF 10:35:12.596 - | Create modular jar [2024-11-21T10:35:12.817Z] STF 10:35:12.596 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2024-11-21T10:35:12.817Z] STF 10:35:12.596 - | ModuleVersion: null [2024-11-21T10:35:12.817Z] STF 10:35:12.596 - | MainClass: null [2024-11-21T10:35:12.817Z] STF 10:35:12.596 - | HashModules: null [2024-11-21T10:35:12.817Z] STF 10:35:12.596 - | [2024-11-21T10:35:12.817Z] STF 10:35:12.597 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17321831717298/UpgModPath_Exp_1/20241121-103508-UpgModPathTest/modules/4.com.discreet.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet . [2024-11-21T10:35:12.818Z] STF 10:35:12.597 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17321831717298/UpgModPath_Exp_1/20241121-103508-UpgModPathTest/results/4.CMJ.stderr [2024-11-21T10:35:12.818Z] STF 10:35:12.597 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17321831717298/UpgModPath_Exp_1/20241121-103508-UpgModPathTest/results/4.CMJ.stdout [2024-11-21T10:35:12.818Z] STF 10:35:12.605 - Monitoring processes: CMJ [2024-11-21T10:35:12.818Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-21T10:35:13.480Z] STF 10:35:13.048 - Monitoring Report Summary: [2024-11-21T10:35:13.480Z] STF 10:35:13.048 - o Process CMJ ended with the expected exit code (0) [2024-11-21T10:35:13.480Z] STF 10:35:13.049 - Created modular jar: 4.com.discreet.jar [2024-11-21T10:35:13.480Z] STF 10:35:13.049 - [2024-11-21T10:35:13.480Z] STF 10:35:13.049 - +------ Step 5 - Create tests jar [2024-11-21T10:35:13.480Z] STF 10:35:13.049 - | Create modular jar [2024-11-21T10:35:13.480Z] STF 10:35:13.049 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2024-11-21T10:35:13.480Z] STF 10:35:13.049 - | ModuleVersion: null [2024-11-21T10:35:13.481Z] STF 10:35:13.049 - | MainClass: null [2024-11-21T10:35:13.481Z] STF 10:35:13.049 - | HashModules: null [2024-11-21T10:35:13.481Z] STF 10:35:13.049 - | [2024-11-21T10:35:13.481Z] STF 10:35:13.050 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17321831717298/UpgModPath_Exp_1/20241121-103508-UpgModPathTest/modules/5.com.test.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests\com.test . [2024-11-21T10:35:13.481Z] STF 10:35:13.050 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17321831717298/UpgModPath_Exp_1/20241121-103508-UpgModPathTest/results/5.CMJ.stderr [2024-11-21T10:35:13.481Z] STF 10:35:13.050 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17321831717298/UpgModPath_Exp_1/20241121-103508-UpgModPathTest/results/5.CMJ.stdout [2024-11-21T10:35:13.481Z] STF 10:35:13.058 - Monitoring processes: CMJ [2024-11-21T10:35:13.481Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-21T10:35:13.798Z] STF 10:35:13.498 - Monitoring Report Summary: [2024-11-21T10:35:13.798Z] STF 10:35:13.498 - o Process CMJ ended with the expected exit code (0) [2024-11-21T10:35:13.798Z] STF 10:35:13.499 - Created modular jar: 5.com.test.jar [2024-11-21T10:35:13.798Z] STF 10:35:13.499 - [2024-11-21T10:35:13.798Z] STF 10:35:13.499 - +------ Step 6 - Create runtime image for upgrademodulepath test [2024-11-21T10:35:13.798Z] STF 10:35:13.499 - | Run jlink to create runtime image [2024-11-21T10:35:13.798Z] STF 10:35:13.499 - | ImageName: UpJVM [2024-11-21T10:35:13.798Z] STF 10:35:13.499 - | [2024-11-21T10:35:13.799Z] STF 10:35:13.500 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/jlink --module-path C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jdkbinary\j2sdk-image\jmods;C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\aqa-tests\TKG\output_17321831717298\UpgModPath_Exp_1\20241121-103508-UpgModPathTest\modules --add-modules com.hello,com.hola,com.test,com.helper,com.discreet --output C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\aqa-tests\TKG\output_17321831717298\UpgModPath_Exp_1\20241121-103508-UpgModPathTest\tmp\6.UpJVM [2024-11-21T10:35:13.799Z] STF 10:35:13.500 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17321831717298/UpgModPath_Exp_1/20241121-103508-UpgModPathTest/results/6.JLNK.stderr [2024-11-21T10:35:13.799Z] STF 10:35:13.500 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17321831717298/UpgModPath_Exp_1/20241121-103508-UpgModPathTest/results/6.JLNK.stdout [2024-11-21T10:35:13.799Z] STF 10:35:13.508 - Monitoring processes: JLNK [2024-11-21T10:35:13.799Z] JLNK stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-21T10:35:16.553Z] STF 10:35:15.991 - Monitoring Report Summary: [2024-11-21T10:35:16.553Z] STF 10:35:15.991 - o Process JLNK ended with the expected exit code (0) [2024-11-21T10:35:16.553Z] STF 10:35:15.992 - [2024-11-21T10:35:16.553Z] STF 10:35:15.992 - +------ Step 7 - Override an application module [2024-11-21T10:35:16.553Z] STF 10:35:15.992 - | Run foreground process [2024-11-21T10:35:16.553Z] STF 10:35:15.992 - | Program: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/java [2024-11-21T10:35:16.553Z] STF 10:35:15.992 - | Mnemonic: OT11 [2024-11-21T10:35:16.553Z] STF 10:35:15.992 - | Echo: ECHO_ON [2024-11-21T10:35:16.553Z] STF 10:35:15.992 - | Expectation: CLEAN_RUN within 1m [2024-11-21T10:35:16.553Z] STF 10:35:15.993 - | [2024-11-21T10:35:16.553Z] STF 10:35:15.994 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/java --add-reads com.test=ALL-UNNAMED --module-path C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods;C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests --upgrade-module-path C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.hello --add-modules=com.test -XX:-UseCompressedOops -classpath C:/Users/jenkins/testDependency/system_lib/junit/junit.jar;C:/Users/jenkins/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingAppModule [2024-11-21T10:35:16.553Z] STF 10:35:15.994 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17321831717298/UpgModPath_Exp_1/20241121-103508-UpgModPathTest/results/7.OT11.stderr [2024-11-21T10:35:16.553Z] STF 10:35:15.994 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17321831717298/UpgModPath_Exp_1/20241121-103508-UpgModPathTest/results/7.OT11.stdout [2024-11-21T10:35:16.553Z] STF 10:35:16.011 - Monitoring processes: OT11 [2024-11-21T10:35:16.553Z] OT11 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-21T10:35:16.553Z] OT11 JUnit version 4.12 [2024-11-21T10:35:16.553Z] OT11 . [2024-11-21T10:35:16.553Z] OT11 Time: 0.016 [2024-11-21T10:35:16.553Z] OT11 [2024-11-21T10:35:16.553Z] OT11 OK (1 test) [2024-11-21T10:35:16.553Z] OT11 [2024-11-21T10:35:16.553Z] STF 10:35:16.440 - Monitoring Report Summary: [2024-11-21T10:35:16.553Z] STF 10:35:16.440 - o Process OT11 ended with the expected exit code (0) [2024-11-21T10:35:16.553Z] STF 10:35:16.441 - [2024-11-21T10:35:16.553Z] STF 10:35:16.441 - +------ Step 8 - (Negative test) Override a non-upgradable platform module [2024-11-21T10:35:16.553Z] STF 10:35:16.441 - | Run foreground process [2024-11-21T10:35:16.553Z] STF 10:35:16.441 - | Program: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/java [2024-11-21T10:35:16.553Z] STF 10:35:16.441 - | Mnemonic: OT13 [2024-11-21T10:35:16.554Z] STF 10:35:16.441 - | Echo: ECHO_ON [2024-11-21T10:35:16.554Z] STF 10:35:16.441 - | Expectation: NON_ZERO_EXIT [1] within 1m [2024-11-21T10:35:16.554Z] STF 10:35:16.441 - | [2024-11-21T10:35:16.554Z] STF 10:35:16.442 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/java --add-reads com.test=ALL-UNNAMED --module-path C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods;C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests --upgrade-module-path C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\java.logging --add-modules=com.test -XX:-UseCompressedOops -classpath C:/Users/jenkins/testDependency/system_lib/junit/junit.jar;C:/Users/jenkins/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingNonUpgradablePlatformModule [2024-11-21T10:35:16.554Z] STF 10:35:16.442 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17321831717298/UpgModPath_Exp_1/20241121-103508-UpgModPathTest/results/8.OT13.stderr [2024-11-21T10:35:16.554Z] STF 10:35:16.442 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17321831717298/UpgModPath_Exp_1/20241121-103508-UpgModPathTest/results/8.OT13.stdout [2024-11-21T10:35:16.857Z] STF 10:35:16.450 - Monitoring processes: OT13 [2024-11-21T10:35:16.857Z] OT13 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-21T10:35:16.857Z] OT13 Error occurred during initialization of boot layer [2024-11-21T10:35:16.857Z] OT13 java.lang.module.FindException: Unable to compute the hash of module java.logging [2024-11-21T10:35:16.857Z] STF 10:35:16.701 - Monitoring Report Summary: [2024-11-21T10:35:16.857Z] STF 10:35:16.701 - o Process OT13 ended with the expected exit code (1) [2024-11-21T10:35:16.857Z] STF 10:35:16.702 - [2024-11-21T10:35:16.857Z] STF 10:35:16.702 - +------ Step 9 - Combine stderr and stdout files of process OT13 [2024-11-21T10:35:16.857Z] STF 10:35:16.702 - | Run foreground process [2024-11-21T10:35:16.857Z] STF 10:35:16.702 - | Program: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/java [2024-11-21T10:35:16.857Z] STF 10:35:16.702 - | Mnemonic: CO [2024-11-21T10:35:16.857Z] STF 10:35:16.702 - | Echo: ECHO_OFF [2024-11-21T10:35:16.857Z] STF 10:35:16.702 - | Expectation: NON_ZERO_EXIT [0] within 30s [2024-11-21T10:35:16.857Z] STF 10:35:16.702 - | [2024-11-21T10:35:16.857Z] STF 10:35:16.703 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/java -Dfile1=C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17321831717298/UpgModPath_Exp_1/20241121-103508-UpgModPathTest/results/8.OT13.stdout -Dfile2=C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17321831717298/UpgModPath_Exp_1/20241121-103508-UpgModPathTest/results/8.OT13.stderr -Dfinal.file=C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\aqa-tests\TKG\output_17321831717298\UpgModPath_Exp_1\20241121-103508-UpgModPathTest\results\combinedOT13.txt -XX:-UseCompressedOops -classpath C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\STF\stf.core\bin;C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin net.adoptopenjdk.test.modularity.TestUtil [2024-11-21T10:35:16.857Z] STF 10:35:16.703 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17321831717298/UpgModPath_Exp_1/20241121-103508-UpgModPathTest/results/9.CO.stderr [2024-11-21T10:35:16.857Z] STF 10:35:16.703 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17321831717298/UpgModPath_Exp_1/20241121-103508-UpgModPathTest/results/9.CO.stdout [2024-11-21T10:35:16.857Z] STF 10:35:16.712 - Monitoring processes: CO [2024-11-21T10:35:17.159Z] STF 10:35:16.935 - Monitoring Report Summary: [2024-11-21T10:35:17.159Z] STF 10:35:16.935 - o Process CO ended with the expected exit code (0) [2024-11-21T10:35:17.159Z] STF 10:35:16.936 - [2024-11-21T10:35:17.159Z] STF 10:35:16.936 - +------ Step 10 - Check output [2024-11-21T10:35:17.159Z] STF 10:35:16.936 - | Count file matches [2024-11-21T10:35:17.159Z] STF 10:35:16.936 - | TargetFile: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17321831717298/UpgModPath_Exp_1/20241121-103508-UpgModPathTest/results/combinedOT13.txt [2024-11-21T10:35:17.159Z] STF 10:35:16.936 - | ExpectedNumMatches: 1 [2024-11-21T10:35:17.159Z] STF 10:35:16.936 - | SearchStrings: ["FindException: Unable to compute the hash of module java.logging"] [2024-11-21T10:35:17.159Z] STF 10:35:16.936 - | [2024-11-21T10:35:17.159Z] STF 10:35:16.938 - Found 1 instances of ["FindException: Unable to compute the hash of module java.logging"] [2024-11-21T10:35:17.159Z] STF 10:35:16.938 - EXECUTE stage completed [2024-11-21T10:35:17.159Z] STF 10:35:17.017 - [2024-11-21T10:35:17.159Z] STF 10:35:17.017 - ==================== T E A R D O W N ==================== [2024-11-21T10:35:17.159Z] STF 10:35:17.017 - Running teardown: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17321831717298\UpgModPath_Exp_1/20241121-103508-UpgModPathTest/tearDown.pl [2024-11-21T10:35:17.461Z] STF 10:35:17.390 - TEARDOWN stage completed [2024-11-21T10:35:17.753Z] STF 10:35:17.442 - [2024-11-21T10:35:17.753Z] STF 10:35:17.442 - ===================== R E S U L T S ===================== [2024-11-21T10:35:17.753Z] STF 10:35:17.442 - Stage results: [2024-11-21T10:35:17.753Z] STF 10:35:17.442 - setUp: pass [2024-11-21T10:35:17.753Z] STF 10:35:17.442 - execute: pass [2024-11-21T10:35:17.753Z] STF 10:35:17.442 - teardown: pass [2024-11-21T10:35:17.753Z] STF 10:35:17.442 - [2024-11-21T10:35:17.753Z] STF 10:35:17.442 - Overall result: PASSED [2024-11-21T10:35:17.753Z] ----------------------------------- [2024-11-21T10:35:17.753Z] UpgModPath_Exp_1_PASSED [2024-11-21T10:35:17.753Z] ----------------------------------- [2024-11-21T10:35:17.753Z] [2024-11-21T10:35:17.753Z] TEST TEARDOWN: [2024-11-21T10:35:17.753Z] Nothing to be done for teardown. [2024-11-21T10:35:18.044Z] UpgModPath_Exp_1 Finish Time: Thu Nov 21 10:35:17 2024 Epoch Time (ms): 1732185317859