UpgModPath_Exp_0

[2025-05-16T13:11:58.405Z] Running test UpgModPath_Exp_0 ... [2025-05-16T13:11:58.405Z] =============================================== [2025-05-16T13:11:58.708Z] UpgModPath_Exp_0 Start Time: Fri May 16 13:11:58 2025 Epoch Time (ms): 1747401118556 [2025-05-16T13:11:59.006Z] variation: Mode150 [2025-05-16T13:11:59.304Z] JVM_OPTIONS: -XX:+UseCompressedOops [2025-05-16T13:11:59.304Z] { \ [2025-05-16T13:11:59.304Z] echo ""; echo "TEST SETUP:"; \ [2025-05-16T13:11:59.304Z] echo "Nothing to be done for setup."; \ [2025-05-16T13:11:59.304Z] mkdir -p "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17473979969711\\UpgModPath_Exp_0"; \ [2025-05-16T13:11:59.304Z] cd "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17473979969711\\UpgModPath_Exp_0"; \ [2025-05-16T13:11:59.304Z] echo ""; echo "TESTING:"; \ [2025-05-16T13:11:59.304Z] 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_17473979969711\\UpgModPath_Exp_0" -test=UpgModPathTest -test-args="variant=Exp"; \ [2025-05-16T13:11:59.305Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "UpgModPath_Exp_0""_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_17473979969711\\UpgModPath_Exp_0"; else echo "-----------------------------------"; echo "UpgModPath_Exp_0""_FAILED"; echo "-----------------------------------"; fi; \ [2025-05-16T13:11:59.305Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-05-16T13:11:59.305Z] echo "Nothing to be done for teardown."; \ [2025-05-16T13:11:59.305Z] } 2>&1 | tee -a "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17473979969711\\TestTargetResult"; [2025-05-16T13:11:59.305Z] [2025-05-16T13:11:59.305Z] TEST SETUP: [2025-05-16T13:11:59.305Z] Nothing to be done for setup. [2025-05-16T13:11:59.305Z] [2025-05-16T13:11:59.305Z] TESTING: [2025-05-16T13:11:59.948Z] STF 13:11:59.666 - ========================= S T F ========================= [2025-05-16T13:11:59.948Z] 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_17473979969711\UpgModPath_Exp_0 [2025-05-16T13:11:59.948Z] There is 16312 Mb free [2025-05-16T13:11:59.948Z] STF 13:11:59.742 - ================== G E N E R A T I O N ================== [2025-05-16T13:11:59.948Z] STF 13:11:59.747 - Checking JVM: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image [2025-05-16T13:11:59.949Z] STF 13:11:59.748 - 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 -Dload.agent.path=C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jvmtest/system/STF/stf.core/scripts/../../stf.load/bin/stf.load.jar -classpath C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/../../testDependency/system_lib\/asm/asm.jar;C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/../../testDependency/system_lib\/asm/asm-commons.jar;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_17473979969711\UpgModPath_Exp_0/20250516-131159-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_17473979969711\UpgModPath_Exp_0/20250516-131159-UpgModPathTest" [2025-05-16T13:11:59.949Z] GEN stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-05-16T13:12:01.000Z] GEN 13:12:00.900 - 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' [2025-05-16T13:12:01.000Z] GEN 13:12:00.916 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.UpgModPathTest' [2025-05-16T13:12:01.297Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2025-05-16T13:12:01.297Z] 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 [2025-05-16T13:12:01.297Z] 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 [2025-05-16T13:12:01.297Z] 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 [2025-05-16T13:12:01.297Z] 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 [2025-05-16T13:12:01.297Z] 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 [2025-05-16T13:12:01.297Z] 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 [2025-05-16T13:12:01.297Z] 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 [2025-05-16T13:12:01.297Z] 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 [2025-05-16T13:12:01.297Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override [2025-05-16T13:12:01.297Z] 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 [2025-05-16T13:12:01.297Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl3 [2025-05-16T13:12:01.297Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl4 [2025-05-16T13:12:01.297Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common [2025-05-16T13:12:01.297Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests [2025-05-16T13:12:01.297Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin [2025-05-16T13:12:01.297Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\\jvmtest\\system\\STF\\stf.core\\bin [2025-05-16T13:12:01.297Z] GEN C:/Users/jenkins/testDependency/system_lib/log4j/log4j-api.jar [2025-05-16T13:12:01.297Z] GEN C:/Users/jenkins/testDependency/system_lib/log4j/log4j-core.jar [2025-05-16T13:12:01.297Z] GEN C:/Users/jenkins/testDependency/system_lib/junit/junit.jar [2025-05-16T13:12:01.297Z] GEN 13:12:01.150 - Using Mode NoOptions. Values = '' [2025-05-16T13:12:01.595Z] GEN 13:12:01.291 - [2025-05-16T13:12:01.595Z] GEN 13:12:01.291 - Test command summary: [2025-05-16T13:12:01.595Z] GEN 13:12:01.291 - Step Stage Command Description [2025-05-16T13:12:01.595Z] GEN 13:12:01.291 - -----+--------+-----------------+------------ [2025-05-16T13:12:01.595Z] GEN 13:12:01.291 - 1 execute jar Create com.hello jar [2025-05-16T13:12:01.595Z] GEN 13:12:01.291 - 2 execute jar Create com.hola jar [2025-05-16T13:12:01.595Z] GEN 13:12:01.291 - 3 execute jar Create com.helper jar [2025-05-16T13:12:01.595Z] GEN 13:12:01.291 - 4 execute jar Create com.discreet jar [2025-05-16T13:12:01.595Z] GEN 13:12:01.291 - 5 execute jar Create tests jar [2025-05-16T13:12:01.595Z] GEN 13:12:01.291 - 6 execute jlink Create runtime image for upgrademodulepath test [2025-05-16T13:12:01.595Z] GEN 13:12:01.291 - 7 execute Run java Override an application module [2025-05-16T13:12:01.595Z] GEN 13:12:01.291 - 8 execute Run java (Negative test) Override a non-upgradable platform module [2025-05-16T13:12:01.595Z] GEN 13:12:01.291 - 9 execute Run java Combine stderr and stdout files of process OT13 [2025-05-16T13:12:01.595Z] GEN 13:12:01.291 - 10 execute count Check output [2025-05-16T13:12:01.595Z] STF 13:12:01.326 - [2025-05-16T13:12:01.595Z] STF 13:12:01.326 - Script generation completed [2025-05-16T13:12:01.595Z] STF 13:12:01.326 - [2025-05-16T13:12:01.595Z] STF 13:12:01.329 - [2025-05-16T13:12:01.595Z] STF 13:12:01.329 - ======================= S E T U P ======================= [2025-05-16T13:12:01.595Z] STF 13:12:01.329 - Running setup: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17473979969711\UpgModPath_Exp_0/20250516-131159-UpgModPathTest/setUp.pl [2025-05-16T13:12:01.892Z] STF 13:12:01.713 - SETUP stage completed [2025-05-16T13:12:01.892Z] STF 13:12:01.743 - [2025-05-16T13:12:01.893Z] STF 13:12:01.743 - ==================== E X E C U T E - ==================== [2025-05-16T13:12:01.893Z] STF 13:12:01.743 - Running execute: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17473979969711\UpgModPath_Exp_0/20250516-131159-UpgModPathTest/execute.pl [2025-05-16T13:12:02.190Z] STF 13:12:02.119 - [2025-05-16T13:12:02.190Z] STF 13:12:02.119 - Java version [2025-05-16T13:12:02.190Z] STF 13:12:02.119 - Running: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/java -version [2025-05-16T13:12:02.190Z] Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-05-16T13:12:02.487Z] openjdk version "21.0.8-beta" 2025-07-15 [2025-05-16T13:12:02.487Z] OpenJDK Runtime Environment Temurin-21.0.8+3-202505160832 (build 21.0.8-beta+3-ea) [2025-05-16T13:12:02.487Z] OpenJDK 64-Bit Server VM Temurin-21.0.8+3-202505160832 (build 21.0.8-beta+3-ea, mixed mode) [2025-05-16T13:12:02.487Z] STF 13:12:02.243 - [2025-05-16T13:12:02.487Z] STF 13:12:02.244 - +------ Step 1 - Create com.hello jar [2025-05-16T13:12:02.487Z] STF 13:12:02.244 - | Create modular jar [2025-05-16T13:12:02.487Z] STF 13:12:02.244 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2025-05-16T13:12:02.487Z] STF 13:12:02.244 - | ModuleVersion: null [2025-05-16T13:12:02.487Z] STF 13:12:02.244 - | MainClass: null [2025-05-16T13:12:02.487Z] STF 13:12:02.244 - | HashModules: null [2025-05-16T13:12:02.487Z] STF 13:12:02.244 - | [2025-05-16T13:12:02.488Z] STF 13:12:02.245 - 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_17473979969711/UpgModPath_Exp_0/20250516-131159-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 . [2025-05-16T13:12:02.488Z] STF 13:12:02.245 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17473979969711/UpgModPath_Exp_0/20250516-131159-UpgModPathTest/results/1.CMJ.stderr [2025-05-16T13:12:02.488Z] STF 13:12:02.245 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17473979969711/UpgModPath_Exp_0/20250516-131159-UpgModPathTest/results/1.CMJ.stdout [2025-05-16T13:12:02.488Z] STF 13:12:02.311 - Monitoring processes: CMJ [2025-05-16T13:12:02.488Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-05-16T13:12:02.785Z] STF 13:12:02.702 - Monitoring Report Summary: [2025-05-16T13:12:02.785Z] STF 13:12:02.702 - o Process CMJ ended with the expected exit code (0) [2025-05-16T13:12:02.785Z] STF 13:12:02.703 - Created modular jar: 1.com.hello.jar [2025-05-16T13:12:02.785Z] STF 13:12:02.703 - [2025-05-16T13:12:02.785Z] STF 13:12:02.703 - +------ Step 2 - Create com.hola jar [2025-05-16T13:12:02.785Z] STF 13:12:02.703 - | Create modular jar [2025-05-16T13:12:02.785Z] STF 13:12:02.703 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2025-05-16T13:12:02.785Z] STF 13:12:02.703 - | ModuleVersion: null [2025-05-16T13:12:02.785Z] STF 13:12:02.703 - | MainClass: null [2025-05-16T13:12:02.785Z] STF 13:12:02.703 - | HashModules: null [2025-05-16T13:12:02.785Z] STF 13:12:02.703 - | [2025-05-16T13:12:02.785Z] STF 13:12:02.704 - 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_17473979969711/UpgModPath_Exp_0/20250516-131159-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 . [2025-05-16T13:12:02.785Z] STF 13:12:02.704 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17473979969711/UpgModPath_Exp_0/20250516-131159-UpgModPathTest/results/2.CMJ.stderr [2025-05-16T13:12:02.785Z] STF 13:12:02.704 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17473979969711/UpgModPath_Exp_0/20250516-131159-UpgModPathTest/results/2.CMJ.stdout [2025-05-16T13:12:02.785Z] STF 13:12:02.712 - Monitoring processes: CMJ [2025-05-16T13:12:02.785Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-05-16T13:12:03.432Z] STF 13:12:03.107 - Monitoring Report Summary: [2025-05-16T13:12:03.432Z] STF 13:12:03.107 - o Process CMJ ended with the expected exit code (0) [2025-05-16T13:12:03.432Z] STF 13:12:03.108 - Created modular jar: 2.com.hola.jar [2025-05-16T13:12:03.432Z] STF 13:12:03.108 - [2025-05-16T13:12:03.432Z] STF 13:12:03.108 - +------ Step 3 - Create com.helper jar [2025-05-16T13:12:03.432Z] STF 13:12:03.108 - | Create modular jar [2025-05-16T13:12:03.432Z] STF 13:12:03.108 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2025-05-16T13:12:03.432Z] STF 13:12:03.108 - | ModuleVersion: null [2025-05-16T13:12:03.432Z] STF 13:12:03.108 - | MainClass: null [2025-05-16T13:12:03.432Z] STF 13:12:03.108 - | HashModules: null [2025-05-16T13:12:03.432Z] STF 13:12:03.108 - | [2025-05-16T13:12:03.432Z] STF 13:12:03.108 - 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_17473979969711/UpgModPath_Exp_0/20250516-131159-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 . [2025-05-16T13:12:03.432Z] STF 13:12:03.109 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17473979969711/UpgModPath_Exp_0/20250516-131159-UpgModPathTest/results/3.CMJ.stderr [2025-05-16T13:12:03.432Z] STF 13:12:03.109 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17473979969711/UpgModPath_Exp_0/20250516-131159-UpgModPathTest/results/3.CMJ.stdout [2025-05-16T13:12:03.432Z] STF 13:12:03.116 - Monitoring processes: CMJ [2025-05-16T13:12:03.432Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-05-16T13:12:03.730Z] STF 13:12:03.497 - Monitoring Report Summary: [2025-05-16T13:12:03.730Z] STF 13:12:03.497 - o Process CMJ ended with the expected exit code (0) [2025-05-16T13:12:03.730Z] STF 13:12:03.498 - Created modular jar: 3.com.helper.jar [2025-05-16T13:12:03.730Z] STF 13:12:03.498 - [2025-05-16T13:12:03.730Z] STF 13:12:03.498 - +------ Step 4 - Create com.discreet jar [2025-05-16T13:12:03.730Z] STF 13:12:03.498 - | Create modular jar [2025-05-16T13:12:03.730Z] STF 13:12:03.498 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2025-05-16T13:12:03.730Z] STF 13:12:03.498 - | ModuleVersion: null [2025-05-16T13:12:03.730Z] STF 13:12:03.498 - | MainClass: null [2025-05-16T13:12:03.730Z] STF 13:12:03.498 - | HashModules: null [2025-05-16T13:12:03.730Z] STF 13:12:03.498 - | [2025-05-16T13:12:03.730Z] STF 13:12:03.499 - 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_17473979969711/UpgModPath_Exp_0/20250516-131159-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 . [2025-05-16T13:12:03.730Z] STF 13:12:03.499 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17473979969711/UpgModPath_Exp_0/20250516-131159-UpgModPathTest/results/4.CMJ.stderr [2025-05-16T13:12:03.730Z] STF 13:12:03.499 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17473979969711/UpgModPath_Exp_0/20250516-131159-UpgModPathTest/results/4.CMJ.stdout [2025-05-16T13:12:03.730Z] STF 13:12:03.506 - Monitoring processes: CMJ [2025-05-16T13:12:03.730Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-05-16T13:12:04.028Z] STF 13:12:03.885 - Monitoring Report Summary: [2025-05-16T13:12:04.028Z] STF 13:12:03.885 - o Process CMJ ended with the expected exit code (0) [2025-05-16T13:12:04.028Z] STF 13:12:03.886 - Created modular jar: 4.com.discreet.jar [2025-05-16T13:12:04.028Z] STF 13:12:03.886 - [2025-05-16T13:12:04.028Z] STF 13:12:03.886 - +------ Step 5 - Create tests jar [2025-05-16T13:12:04.028Z] STF 13:12:03.886 - | Create modular jar [2025-05-16T13:12:04.028Z] STF 13:12:03.886 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2025-05-16T13:12:04.028Z] STF 13:12:03.886 - | ModuleVersion: null [2025-05-16T13:12:04.028Z] STF 13:12:03.886 - | MainClass: null [2025-05-16T13:12:04.028Z] STF 13:12:03.886 - | HashModules: null [2025-05-16T13:12:04.028Z] STF 13:12:03.886 - | [2025-05-16T13:12:04.028Z] STF 13:12:03.887 - 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_17473979969711/UpgModPath_Exp_0/20250516-131159-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 . [2025-05-16T13:12:04.028Z] STF 13:12:03.887 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17473979969711/UpgModPath_Exp_0/20250516-131159-UpgModPathTest/results/5.CMJ.stderr [2025-05-16T13:12:04.028Z] STF 13:12:03.887 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17473979969711/UpgModPath_Exp_0/20250516-131159-UpgModPathTest/results/5.CMJ.stdout [2025-05-16T13:12:04.028Z] STF 13:12:03.895 - Monitoring processes: CMJ [2025-05-16T13:12:04.028Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-05-16T13:12:04.326Z] STF 13:12:04.291 - Monitoring Report Summary: [2025-05-16T13:12:04.326Z] STF 13:12:04.291 - o Process CMJ ended with the expected exit code (0) [2025-05-16T13:12:04.326Z] STF 13:12:04.292 - Created modular jar: 5.com.test.jar [2025-05-16T13:12:04.326Z] STF 13:12:04.292 - [2025-05-16T13:12:04.326Z] STF 13:12:04.292 - +------ Step 6 - Create runtime image for upgrademodulepath test [2025-05-16T13:12:04.326Z] STF 13:12:04.292 - | Run jlink to create runtime image [2025-05-16T13:12:04.326Z] STF 13:12:04.292 - | ImageName: UpJVM [2025-05-16T13:12:04.326Z] STF 13:12:04.292 - | [2025-05-16T13:12:04.326Z] STF 13:12:04.293 - 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_17473979969711\UpgModPath_Exp_0\20250516-131159-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_17473979969711\UpgModPath_Exp_0\20250516-131159-UpgModPathTest\tmp\6.UpJVM [2025-05-16T13:12:04.326Z] STF 13:12:04.293 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17473979969711/UpgModPath_Exp_0/20250516-131159-UpgModPathTest/results/6.JLNK.stderr [2025-05-16T13:12:04.326Z] STF 13:12:04.293 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17473979969711/UpgModPath_Exp_0/20250516-131159-UpgModPathTest/results/6.JLNK.stdout [2025-05-16T13:12:04.326Z] STF 13:12:04.301 - Monitoring processes: JLNK [2025-05-16T13:12:04.624Z] JLNK stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-05-16T13:12:06.792Z] STF 13:12:06.612 - Monitoring Report Summary: [2025-05-16T13:12:06.792Z] STF 13:12:06.612 - o Process JLNK ended with the expected exit code (0) [2025-05-16T13:12:06.792Z] STF 13:12:06.613 - [2025-05-16T13:12:06.792Z] STF 13:12:06.613 - +------ Step 7 - Override an application module [2025-05-16T13:12:06.792Z] STF 13:12:06.613 - | Run foreground process [2025-05-16T13:12:06.792Z] STF 13:12:06.613 - | Program: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/java [2025-05-16T13:12:06.792Z] STF 13:12:06.613 - | Mnemonic: OT11 [2025-05-16T13:12:06.792Z] STF 13:12:06.613 - | Echo: ECHO_ON [2025-05-16T13:12:06.792Z] STF 13:12:06.613 - | Expectation: CLEAN_RUN within 1m [2025-05-16T13:12:06.792Z] STF 13:12:06.613 - | [2025-05-16T13:12:06.792Z] STF 13:12:06.614 - 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 [2025-05-16T13:12:06.792Z] STF 13:12:06.614 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17473979969711/UpgModPath_Exp_0/20250516-131159-UpgModPathTest/results/7.OT11.stderr [2025-05-16T13:12:06.792Z] STF 13:12:06.614 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17473979969711/UpgModPath_Exp_0/20250516-131159-UpgModPathTest/results/7.OT11.stdout [2025-05-16T13:12:06.792Z] STF 13:12:06.622 - Monitoring processes: OT11 [2025-05-16T13:12:06.792Z] OT11 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-05-16T13:12:07.090Z] OT11 JUnit version 4.12 [2025-05-16T13:12:07.090Z] OT11 . [2025-05-16T13:12:07.090Z] OT11 Time: 0 [2025-05-16T13:12:07.090Z] OT11 [2025-05-16T13:12:07.090Z] OT11 OK (1 test) [2025-05-16T13:12:07.090Z] OT11 [2025-05-16T13:12:07.387Z] STF 13:12:07.033 - Monitoring Report Summary: [2025-05-16T13:12:07.387Z] STF 13:12:07.033 - o Process OT11 ended with the expected exit code (0) [2025-05-16T13:12:07.387Z] STF 13:12:07.034 - [2025-05-16T13:12:07.387Z] STF 13:12:07.034 - +------ Step 8 - (Negative test) Override a non-upgradable platform module [2025-05-16T13:12:07.387Z] STF 13:12:07.034 - | Run foreground process [2025-05-16T13:12:07.387Z] STF 13:12:07.034 - | Program: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/java [2025-05-16T13:12:07.387Z] STF 13:12:07.034 - | Mnemonic: OT13 [2025-05-16T13:12:07.387Z] STF 13:12:07.034 - | Echo: ECHO_ON [2025-05-16T13:12:07.387Z] STF 13:12:07.034 - | Expectation: NON_ZERO_EXIT [1] within 1m [2025-05-16T13:12:07.387Z] STF 13:12:07.035 - | [2025-05-16T13:12:07.387Z] STF 13:12:07.035 - 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 [2025-05-16T13:12:07.387Z] STF 13:12:07.035 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17473979969711/UpgModPath_Exp_0/20250516-131159-UpgModPathTest/results/8.OT13.stderr [2025-05-16T13:12:07.387Z] STF 13:12:07.035 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17473979969711/UpgModPath_Exp_0/20250516-131159-UpgModPathTest/results/8.OT13.stdout [2025-05-16T13:12:07.387Z] STF 13:12:07.043 - Monitoring processes: OT13 [2025-05-16T13:12:07.387Z] OT13 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-05-16T13:12:07.387Z] OT13 Error occurred during initialization of boot layer [2025-05-16T13:12:07.387Z] OT13 java.lang.module.FindException: Unable to compute the hash of module java.logging [2025-05-16T13:12:07.387Z] STF 13:12:07.282 - Monitoring Report Summary: [2025-05-16T13:12:07.387Z] STF 13:12:07.282 - o Process OT13 ended with the expected exit code (1) [2025-05-16T13:12:07.387Z] STF 13:12:07.283 - [2025-05-16T13:12:07.387Z] STF 13:12:07.283 - +------ Step 9 - Combine stderr and stdout files of process OT13 [2025-05-16T13:12:07.387Z] STF 13:12:07.283 - | Run foreground process [2025-05-16T13:12:07.387Z] STF 13:12:07.283 - | Program: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/java [2025-05-16T13:12:07.387Z] STF 13:12:07.283 - | Mnemonic: CO [2025-05-16T13:12:07.387Z] STF 13:12:07.283 - | Echo: ECHO_OFF [2025-05-16T13:12:07.387Z] STF 13:12:07.283 - | Expectation: NON_ZERO_EXIT [0] within 30s [2025-05-16T13:12:07.387Z] STF 13:12:07.283 - | [2025-05-16T13:12:07.387Z] STF 13:12:07.284 - 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_17473979969711/UpgModPath_Exp_0/20250516-131159-UpgModPathTest/results/8.OT13.stdout -Dfile2=C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17473979969711/UpgModPath_Exp_0/20250516-131159-UpgModPathTest/results/8.OT13.stderr -Dfinal.file=C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\aqa-tests\TKG\output_17473979969711\UpgModPath_Exp_0\20250516-131159-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 [2025-05-16T13:12:07.387Z] STF 13:12:07.284 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17473979969711/UpgModPath_Exp_0/20250516-131159-UpgModPathTest/results/9.CO.stderr [2025-05-16T13:12:07.387Z] STF 13:12:07.284 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17473979969711/UpgModPath_Exp_0/20250516-131159-UpgModPathTest/results/9.CO.stdout [2025-05-16T13:12:07.387Z] STF 13:12:07.291 - Monitoring processes: CO [2025-05-16T13:12:07.704Z] STF 13:12:07.502 - Monitoring Report Summary: [2025-05-16T13:12:07.704Z] STF 13:12:07.502 - o Process CO ended with the expected exit code (0) [2025-05-16T13:12:07.704Z] STF 13:12:07.503 - [2025-05-16T13:12:07.704Z] STF 13:12:07.503 - +------ Step 10 - Check output [2025-05-16T13:12:07.704Z] STF 13:12:07.503 - | Count file matches [2025-05-16T13:12:07.704Z] STF 13:12:07.503 - | TargetFile: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17473979969711/UpgModPath_Exp_0/20250516-131159-UpgModPathTest/results/combinedOT13.txt [2025-05-16T13:12:07.704Z] STF 13:12:07.503 - | ExpectedNumMatches: 1 [2025-05-16T13:12:07.704Z] STF 13:12:07.503 - | SearchStrings: ["FindException: Unable to compute the hash of module java.logging"] [2025-05-16T13:12:07.704Z] STF 13:12:07.503 - | [2025-05-16T13:12:07.704Z] STF 13:12:07.518 - Found 1 instances of ["FindException: Unable to compute the hash of module java.logging"] [2025-05-16T13:12:07.704Z] STF 13:12:07.518 - EXECUTE stage completed [2025-05-16T13:12:07.704Z] STF 13:12:07.579 - [2025-05-16T13:12:07.704Z] STF 13:12:07.579 - ==================== T E A R D O W N ==================== [2025-05-16T13:12:07.704Z] STF 13:12:07.579 - Running teardown: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17473979969711\UpgModPath_Exp_0/20250516-131159-UpgModPathTest/tearDown.pl [2025-05-16T13:12:08.000Z] STF 13:12:07.936 - TEARDOWN stage completed [2025-05-16T13:12:08.000Z] STF 13:12:07.985 - [2025-05-16T13:12:08.000Z] STF 13:12:07.985 - ===================== R E S U L T S ===================== [2025-05-16T13:12:08.000Z] STF 13:12:07.985 - Stage results: [2025-05-16T13:12:08.000Z] STF 13:12:07.985 - setUp: pass [2025-05-16T13:12:08.000Z] STF 13:12:07.985 - execute: pass [2025-05-16T13:12:08.000Z] STF 13:12:07.985 - teardown: pass [2025-05-16T13:12:08.000Z] STF 13:12:07.985 - [2025-05-16T13:12:08.000Z] STF 13:12:07.985 - Overall result: PASSED [2025-05-16T13:12:08.297Z] ----------------------------------- [2025-05-16T13:12:08.297Z] UpgModPath_Exp_0_PASSED [2025-05-16T13:12:08.297Z] ----------------------------------- [2025-05-16T13:12:08.297Z] [2025-05-16T13:12:08.297Z] TEST TEARDOWN: [2025-05-16T13:12:08.297Z] Nothing to be done for teardown. [2025-05-16T13:12:08.594Z] UpgModPath_Exp_0 Finish Time: Fri May 16 13:12:08 2025 Epoch Time (ms): 1747401128405