UpgModPath_Exp_1

[2025-08-30T06:29:38.847Z] Running test UpgModPath_Exp_1 ... [2025-08-30T06:29:39.142Z] =============================================== [2025-08-30T06:29:39.436Z] UpgModPath_Exp_1 Start Time: Sat Aug 30 06:29:39 2025 Epoch Time (ms): 1756535379173 [2025-08-30T06:29:39.436Z] variation: Mode650 [2025-08-30T06:29:39.730Z] JVM_OPTIONS: -XX:-UseCompressedOops [2025-08-30T06:29:39.730Z] { \ [2025-08-30T06:29:39.730Z] echo ""; echo "TEST SETUP:"; \ [2025-08-30T06:29:39.730Z] echo "Nothing to be done for setup."; \ [2025-08-30T06:29:39.730Z] mkdir -p "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17565332672976\\UpgModPath_Exp_1"; \ [2025-08-30T06:29:39.731Z] cd "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17565332672976\\UpgModPath_Exp_1"; \ [2025-08-30T06:29:39.731Z] echo ""; echo "TESTING:"; \ [2025-08-30T06:29:39.731Z] 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/../../externalDependency/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_17565332672976\\UpgModPath_Exp_1" -test=UpgModPathTest -test-args="variant=Exp"; \ [2025-08-30T06:29:39.731Z] 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_17565332672976\\UpgModPath_Exp_1"; else echo "-----------------------------------"; echo "UpgModPath_Exp_1""_FAILED"; echo "-----------------------------------"; fi; \ [2025-08-30T06:29:39.731Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-08-30T06:29:39.731Z] echo "Nothing to be done for teardown."; \ [2025-08-30T06:29:39.731Z] } 2>&1 | tee -a "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17565332672976\\TestTargetResult"; [2025-08-30T06:29:40.025Z] [2025-08-30T06:29:40.025Z] TEST SETUP: [2025-08-30T06:29:40.025Z] Nothing to be done for setup. [2025-08-30T06:29:40.025Z] [2025-08-30T06:29:40.025Z] TESTING: [2025-08-30T06:29:40.370Z] STF 06:29:40.220 - ========================= S T F ========================= [2025-08-30T06:29:40.370Z] systemtest-prereqs has been processed, and set to: C:/Users/jenkins/externalDependency/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_17565332672976\UpgModPath_Exp_1 [2025-08-30T06:29:40.665Z] There is 18219 Mb free [2025-08-30T06:29:40.665Z] STF 06:29:40.308 - ================== G E N E R A T I O N ================== [2025-08-30T06:29:40.665Z] STF 06:29:40.313 - Checking JVM: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image [2025-08-30T06:29:40.665Z] STF 06:29:40.314 - 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/../../externalDependency/system_lib\/asm/asm.jar;C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/../../externalDependency/system_lib\/asm/asm-commons.jar;C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/../../externalDependency/system_lib\/log4j/log4j-api.jar;C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/../../externalDependency/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_17565332672976\UpgModPath_Exp_1/20250830-062940-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_17565332672976\UpgModPath_Exp_1/20250830-062940-UpgModPathTest" [2025-08-30T06:29:40.665Z] GEN stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-08-30T06:29:41.711Z] GEN 06:29:41.563 - 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-08-30T06:29:41.711Z] GEN 06:29:41.595 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.UpgModPathTest' [2025-08-30T06:29:42.005Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2025-08-30T06:29:42.005Z] 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-08-30T06:29:42.005Z] 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-08-30T06:29:42.005Z] 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-08-30T06:29:42.005Z] 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-08-30T06:29:42.005Z] 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-08-30T06:29:42.005Z] 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-08-30T06:29:42.005Z] 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-08-30T06:29:42.005Z] 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-08-30T06:29:42.005Z] 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-08-30T06:29:42.005Z] 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-08-30T06:29:42.005Z] 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-08-30T06:29:42.005Z] 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-08-30T06:29:42.005Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common [2025-08-30T06:29:42.005Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests [2025-08-30T06:29:42.005Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin [2025-08-30T06:29:42.005Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\\jvmtest\\system\\STF\\stf.core\\bin [2025-08-30T06:29:42.005Z] GEN C:/Users/jenkins/externalDependency/system_lib/log4j/log4j-api.jar [2025-08-30T06:29:42.005Z] GEN C:/Users/jenkins/externalDependency/system_lib/log4j/log4j-core.jar [2025-08-30T06:29:42.005Z] GEN C:/Users/jenkins/externalDependency/system_lib/junit/junit.jar [2025-08-30T06:29:42.005Z] GEN 06:29:41.813 - Using Mode NoOptions. Values = '' [2025-08-30T06:29:42.005Z] GEN 06:29:41.938 - [2025-08-30T06:29:42.005Z] GEN 06:29:41.938 - Test command summary: [2025-08-30T06:29:42.005Z] GEN 06:29:41.938 - Step Stage Command Description [2025-08-30T06:29:42.005Z] GEN 06:29:41.938 - -----+--------+-----------------+------------ [2025-08-30T06:29:42.005Z] GEN 06:29:41.938 - 1 execute jar Create com.hello jar [2025-08-30T06:29:42.005Z] GEN 06:29:41.938 - 2 execute jar Create com.hola jar [2025-08-30T06:29:42.005Z] GEN 06:29:41.938 - 3 execute jar Create com.helper jar [2025-08-30T06:29:42.005Z] GEN 06:29:41.938 - 4 execute jar Create com.discreet jar [2025-08-30T06:29:42.005Z] GEN 06:29:41.938 - 5 execute jar Create tests jar [2025-08-30T06:29:42.005Z] GEN 06:29:41.938 - 6 execute jlink Create runtime image for upgrademodulepath test [2025-08-30T06:29:42.005Z] GEN 06:29:41.938 - 7 execute Run java Override an application module [2025-08-30T06:29:42.005Z] GEN 06:29:41.938 - 8 execute Run java (Negative test) Override a non-upgradable platform module [2025-08-30T06:29:42.005Z] GEN 06:29:41.938 - 9 execute Run java Combine stderr and stdout files of process OT13 [2025-08-30T06:29:42.005Z] GEN 06:29:41.938 - 10 execute count Check output [2025-08-30T06:29:42.300Z] STF 06:29:42.005 - [2025-08-30T06:29:42.300Z] STF 06:29:42.005 - Script generation completed [2025-08-30T06:29:42.300Z] STF 06:29:42.005 - [2025-08-30T06:29:42.300Z] STF 06:29:42.008 - [2025-08-30T06:29:42.300Z] STF 06:29:42.008 - ======================= S E T U P ======================= [2025-08-30T06:29:42.300Z] STF 06:29:42.008 - Running setup: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17565332672976\UpgModPath_Exp_1/20250830-062940-UpgModPathTest/setUp.pl [2025-08-30T06:29:42.594Z] STF 06:29:42.376 - SETUP stage completed [2025-08-30T06:29:42.594Z] STF 06:29:42.424 - [2025-08-30T06:29:42.594Z] STF 06:29:42.424 - ==================== E X E C U T E - ==================== [2025-08-30T06:29:42.594Z] STF 06:29:42.424 - Running execute: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17565332672976\UpgModPath_Exp_1/20250830-062940-UpgModPathTest/execute.pl [2025-08-30T06:29:42.889Z] STF 06:29:42.798 - [2025-08-30T06:29:42.889Z] STF 06:29:42.798 - Java version [2025-08-30T06:29:42.889Z] STF 06:29:42.798 - Running: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/java -version [2025-08-30T06:29:42.889Z] Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-08-30T06:29:43.183Z] openjdk version "21.0.9-beta" 2025-10-21 [2025-08-30T06:29:43.183Z] OpenJDK Runtime Environment Temurin-21.0.9+5-202508292308 (build 21.0.9-beta+5-ea) [2025-08-30T06:29:43.183Z] OpenJDK 64-Bit Server VM Temurin-21.0.9+5-202508292308 (build 21.0.9-beta+5-ea, mixed mode) [2025-08-30T06:29:43.183Z] STF 06:29:42.926 - [2025-08-30T06:29:43.183Z] STF 06:29:42.926 - +------ Step 1 - Create com.hello jar [2025-08-30T06:29:43.183Z] STF 06:29:42.926 - | Create modular jar [2025-08-30T06:29:43.183Z] STF 06:29:42.926 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2025-08-30T06:29:43.183Z] STF 06:29:42.926 - | ModuleVersion: null [2025-08-30T06:29:43.183Z] STF 06:29:42.926 - | MainClass: null [2025-08-30T06:29:43.183Z] STF 06:29:42.926 - | HashModules: null [2025-08-30T06:29:43.183Z] STF 06:29:42.926 - | [2025-08-30T06:29:43.183Z] STF 06:29:42.927 - 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_17565332672976/UpgModPath_Exp_1/20250830-062940-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-08-30T06:29:43.183Z] STF 06:29:42.928 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17565332672976/UpgModPath_Exp_1/20250830-062940-UpgModPathTest/results/1.CMJ.stderr [2025-08-30T06:29:43.183Z] STF 06:29:42.928 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17565332672976/UpgModPath_Exp_1/20250830-062940-UpgModPathTest/results/1.CMJ.stdout [2025-08-30T06:29:43.183Z] STF 06:29:42.993 - Monitoring processes: CMJ [2025-08-30T06:29:43.184Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-08-30T06:29:43.478Z] STF 06:29:43.417 - Monitoring Report Summary: [2025-08-30T06:29:43.478Z] STF 06:29:43.417 - o Process CMJ ended with the expected exit code (0) [2025-08-30T06:29:43.478Z] STF 06:29:43.418 - Created modular jar: 1.com.hello.jar [2025-08-30T06:29:43.478Z] STF 06:29:43.418 - [2025-08-30T06:29:43.478Z] STF 06:29:43.418 - +------ Step 2 - Create com.hola jar [2025-08-30T06:29:43.478Z] STF 06:29:43.418 - | Create modular jar [2025-08-30T06:29:43.478Z] STF 06:29:43.418 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2025-08-30T06:29:43.478Z] STF 06:29:43.418 - | ModuleVersion: null [2025-08-30T06:29:43.478Z] STF 06:29:43.418 - | MainClass: null [2025-08-30T06:29:43.478Z] STF 06:29:43.418 - | HashModules: null [2025-08-30T06:29:43.478Z] STF 06:29:43.418 - | [2025-08-30T06:29:43.478Z] STF 06:29:43.419 - 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_17565332672976/UpgModPath_Exp_1/20250830-062940-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-08-30T06:29:43.478Z] STF 06:29:43.419 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17565332672976/UpgModPath_Exp_1/20250830-062940-UpgModPathTest/results/2.CMJ.stderr [2025-08-30T06:29:43.478Z] STF 06:29:43.419 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17565332672976/UpgModPath_Exp_1/20250830-062940-UpgModPathTest/results/2.CMJ.stdout [2025-08-30T06:29:43.478Z] STF 06:29:43.426 - Monitoring processes: CMJ [2025-08-30T06:29:43.771Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-08-30T06:29:44.070Z] STF 06:29:43.845 - Monitoring Report Summary: [2025-08-30T06:29:44.070Z] STF 06:29:43.845 - o Process CMJ ended with the expected exit code (0) [2025-08-30T06:29:44.070Z] STF 06:29:43.846 - Created modular jar: 2.com.hola.jar [2025-08-30T06:29:44.070Z] STF 06:29:43.846 - [2025-08-30T06:29:44.070Z] STF 06:29:43.846 - +------ Step 3 - Create com.helper jar [2025-08-30T06:29:44.070Z] STF 06:29:43.846 - | Create modular jar [2025-08-30T06:29:44.070Z] STF 06:29:43.846 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2025-08-30T06:29:44.070Z] STF 06:29:43.846 - | ModuleVersion: null [2025-08-30T06:29:44.070Z] STF 06:29:43.846 - | MainClass: null [2025-08-30T06:29:44.070Z] STF 06:29:43.846 - | HashModules: null [2025-08-30T06:29:44.070Z] STF 06:29:43.846 - | [2025-08-30T06:29:44.070Z] STF 06:29:43.847 - 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_17565332672976/UpgModPath_Exp_1/20250830-062940-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-08-30T06:29:44.070Z] STF 06:29:43.847 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17565332672976/UpgModPath_Exp_1/20250830-062940-UpgModPathTest/results/3.CMJ.stderr [2025-08-30T06:29:44.070Z] STF 06:29:43.847 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17565332672976/UpgModPath_Exp_1/20250830-062940-UpgModPathTest/results/3.CMJ.stdout [2025-08-30T06:29:44.070Z] STF 06:29:43.854 - Monitoring processes: CMJ [2025-08-30T06:29:44.071Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-08-30T06:29:44.365Z] STF 06:29:44.267 - Monitoring Report Summary: [2025-08-30T06:29:44.365Z] STF 06:29:44.267 - o Process CMJ ended with the expected exit code (0) [2025-08-30T06:29:44.365Z] STF 06:29:44.268 - Created modular jar: 3.com.helper.jar [2025-08-30T06:29:44.365Z] STF 06:29:44.268 - [2025-08-30T06:29:44.365Z] STF 06:29:44.268 - +------ Step 4 - Create com.discreet jar [2025-08-30T06:29:44.365Z] STF 06:29:44.268 - | Create modular jar [2025-08-30T06:29:44.365Z] STF 06:29:44.268 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2025-08-30T06:29:44.365Z] STF 06:29:44.268 - | ModuleVersion: null [2025-08-30T06:29:44.365Z] STF 06:29:44.268 - | MainClass: null [2025-08-30T06:29:44.365Z] STF 06:29:44.268 - | HashModules: null [2025-08-30T06:29:44.365Z] STF 06:29:44.268 - | [2025-08-30T06:29:44.365Z] STF 06:29:44.269 - 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_17565332672976/UpgModPath_Exp_1/20250830-062940-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-08-30T06:29:44.365Z] STF 06:29:44.269 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17565332672976/UpgModPath_Exp_1/20250830-062940-UpgModPathTest/results/4.CMJ.stderr [2025-08-30T06:29:44.365Z] STF 06:29:44.269 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17565332672976/UpgModPath_Exp_1/20250830-062940-UpgModPathTest/results/4.CMJ.stdout [2025-08-30T06:29:44.365Z] STF 06:29:44.277 - Monitoring processes: CMJ [2025-08-30T06:29:44.365Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-08-30T06:29:45.002Z] STF 06:29:44.707 - Monitoring Report Summary: [2025-08-30T06:29:45.002Z] STF 06:29:44.707 - o Process CMJ ended with the expected exit code (0) [2025-08-30T06:29:45.002Z] STF 06:29:44.708 - Created modular jar: 4.com.discreet.jar [2025-08-30T06:29:45.002Z] STF 06:29:44.708 - [2025-08-30T06:29:45.002Z] STF 06:29:44.708 - +------ Step 5 - Create tests jar [2025-08-30T06:29:45.002Z] STF 06:29:44.708 - | Create modular jar [2025-08-30T06:29:45.003Z] STF 06:29:44.708 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2025-08-30T06:29:45.003Z] STF 06:29:44.708 - | ModuleVersion: null [2025-08-30T06:29:45.003Z] STF 06:29:44.708 - | MainClass: null [2025-08-30T06:29:45.003Z] STF 06:29:44.708 - | HashModules: null [2025-08-30T06:29:45.003Z] STF 06:29:44.708 - | [2025-08-30T06:29:45.003Z] STF 06:29:44.709 - 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_17565332672976/UpgModPath_Exp_1/20250830-062940-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-08-30T06:29:45.003Z] STF 06:29:44.709 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17565332672976/UpgModPath_Exp_1/20250830-062940-UpgModPathTest/results/5.CMJ.stderr [2025-08-30T06:29:45.003Z] STF 06:29:44.709 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17565332672976/UpgModPath_Exp_1/20250830-062940-UpgModPathTest/results/5.CMJ.stdout [2025-08-30T06:29:45.003Z] STF 06:29:44.716 - Monitoring processes: CMJ [2025-08-30T06:29:45.003Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-08-30T06:29:45.297Z] STF 06:29:45.145 - Monitoring Report Summary: [2025-08-30T06:29:45.297Z] STF 06:29:45.145 - o Process CMJ ended with the expected exit code (0) [2025-08-30T06:29:45.297Z] STF 06:29:45.146 - Created modular jar: 5.com.test.jar [2025-08-30T06:29:45.297Z] STF 06:29:45.146 - [2025-08-30T06:29:45.297Z] STF 06:29:45.146 - +------ Step 6 - Create runtime image for upgrademodulepath test [2025-08-30T06:29:45.297Z] STF 06:29:45.146 - | Run jlink to create runtime image [2025-08-30T06:29:45.297Z] STF 06:29:45.146 - | ImageName: UpJVM [2025-08-30T06:29:45.297Z] STF 06:29:45.146 - | [2025-08-30T06:29:45.297Z] STF 06:29:45.147 - 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_17565332672976\UpgModPath_Exp_1\20250830-062940-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_17565332672976\UpgModPath_Exp_1\20250830-062940-UpgModPathTest\tmp\6.UpJVM [2025-08-30T06:29:45.297Z] STF 06:29:45.147 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17565332672976/UpgModPath_Exp_1/20250830-062940-UpgModPathTest/results/6.JLNK.stderr [2025-08-30T06:29:45.297Z] STF 06:29:45.147 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17565332672976/UpgModPath_Exp_1/20250830-062940-UpgModPathTest/results/6.JLNK.stdout [2025-08-30T06:29:45.297Z] STF 06:29:45.155 - Monitoring processes: JLNK [2025-08-30T06:29:45.297Z] JLNK stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-08-30T06:29:48.107Z] STF 06:29:47.552 - Monitoring Report Summary: [2025-08-30T06:29:48.107Z] STF 06:29:47.553 - o Process JLNK ended with the expected exit code (0) [2025-08-30T06:29:48.107Z] STF 06:29:47.553 - [2025-08-30T06:29:48.107Z] STF 06:29:47.553 - +------ Step 7 - Override an application module [2025-08-30T06:29:48.107Z] STF 06:29:47.553 - | Run foreground process [2025-08-30T06:29:48.107Z] STF 06:29:47.554 - | Program: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/java [2025-08-30T06:29:48.107Z] STF 06:29:47.554 - | Mnemonic: OT11 [2025-08-30T06:29:48.107Z] STF 06:29:47.554 - | Echo: ECHO_ON [2025-08-30T06:29:48.107Z] STF 06:29:47.554 - | Expectation: CLEAN_RUN within 1m [2025-08-30T06:29:48.107Z] STF 06:29:47.554 - | [2025-08-30T06:29:48.107Z] STF 06:29:47.555 - 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/externalDependency/system_lib/junit/junit.jar;C:/Users/jenkins/externalDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingAppModule [2025-08-30T06:29:48.107Z] STF 06:29:47.555 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17565332672976/UpgModPath_Exp_1/20250830-062940-UpgModPathTest/results/7.OT11.stderr [2025-08-30T06:29:48.107Z] STF 06:29:47.555 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17565332672976/UpgModPath_Exp_1/20250830-062940-UpgModPathTest/results/7.OT11.stdout [2025-08-30T06:29:48.107Z] STF 06:29:47.563 - Monitoring processes: OT11 [2025-08-30T06:29:48.107Z] OT11 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-08-30T06:29:48.107Z] OT11 JUnit version 4.12 [2025-08-30T06:29:48.107Z] OT11 . [2025-08-30T06:29:48.107Z] OT11 Time: 0 [2025-08-30T06:29:48.107Z] OT11 [2025-08-30T06:29:48.107Z] OT11 OK (1 test) [2025-08-30T06:29:48.107Z] OT11 [2025-08-30T06:29:48.107Z] STF 06:29:48.002 - Monitoring Report Summary: [2025-08-30T06:29:48.107Z] STF 06:29:48.002 - o Process OT11 ended with the expected exit code (0) [2025-08-30T06:29:48.107Z] STF 06:29:48.003 - [2025-08-30T06:29:48.107Z] STF 06:29:48.003 - +------ Step 8 - (Negative test) Override a non-upgradable platform module [2025-08-30T06:29:48.107Z] STF 06:29:48.003 - | Run foreground process [2025-08-30T06:29:48.107Z] STF 06:29:48.003 - | Program: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/java [2025-08-30T06:29:48.107Z] STF 06:29:48.003 - | Mnemonic: OT13 [2025-08-30T06:29:48.107Z] STF 06:29:48.003 - | Echo: ECHO_ON [2025-08-30T06:29:48.107Z] STF 06:29:48.004 - | Expectation: NON_ZERO_EXIT [1] within 1m [2025-08-30T06:29:48.107Z] STF 06:29:48.004 - | [2025-08-30T06:29:48.107Z] STF 06:29:48.004 - 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/externalDependency/system_lib/junit/junit.jar;C:/Users/jenkins/externalDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingNonUpgradablePlatformModule [2025-08-30T06:29:48.107Z] STF 06:29:48.004 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17565332672976/UpgModPath_Exp_1/20250830-062940-UpgModPathTest/results/8.OT13.stderr [2025-08-30T06:29:48.107Z] STF 06:29:48.004 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17565332672976/UpgModPath_Exp_1/20250830-062940-UpgModPathTest/results/8.OT13.stdout [2025-08-30T06:29:48.107Z] STF 06:29:48.012 - Monitoring processes: OT13 [2025-08-30T06:29:48.107Z] OT13 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-08-30T06:29:48.401Z] OT13 Error occurred during initialization of boot layer [2025-08-30T06:29:48.401Z] OT13 java.lang.module.FindException: Unable to compute the hash of module java.logging [2025-08-30T06:29:48.401Z] STF 06:29:48.238 - Monitoring Report Summary: [2025-08-30T06:29:48.401Z] STF 06:29:48.238 - o Process OT13 ended with the expected exit code (1) [2025-08-30T06:29:48.401Z] STF 06:29:48.239 - [2025-08-30T06:29:48.401Z] STF 06:29:48.239 - +------ Step 9 - Combine stderr and stdout files of process OT13 [2025-08-30T06:29:48.401Z] STF 06:29:48.239 - | Run foreground process [2025-08-30T06:29:48.401Z] STF 06:29:48.239 - | Program: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/java [2025-08-30T06:29:48.401Z] STF 06:29:48.239 - | Mnemonic: CO [2025-08-30T06:29:48.401Z] STF 06:29:48.239 - | Echo: ECHO_OFF [2025-08-30T06:29:48.401Z] STF 06:29:48.239 - | Expectation: NON_ZERO_EXIT [0] within 30s [2025-08-30T06:29:48.401Z] STF 06:29:48.239 - | [2025-08-30T06:29:48.401Z] STF 06:29:48.240 - 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_17565332672976/UpgModPath_Exp_1/20250830-062940-UpgModPathTest/results/8.OT13.stdout -Dfile2=C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17565332672976/UpgModPath_Exp_1/20250830-062940-UpgModPathTest/results/8.OT13.stderr -Dfinal.file=C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\aqa-tests\TKG\output_17565332672976\UpgModPath_Exp_1\20250830-062940-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-08-30T06:29:48.401Z] STF 06:29:48.240 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17565332672976/UpgModPath_Exp_1/20250830-062940-UpgModPathTest/results/9.CO.stderr [2025-08-30T06:29:48.401Z] STF 06:29:48.240 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17565332672976/UpgModPath_Exp_1/20250830-062940-UpgModPathTest/results/9.CO.stdout [2025-08-30T06:29:48.401Z] STF 06:29:48.248 - Monitoring processes: CO [2025-08-30T06:29:48.700Z] STF 06:29:48.455 - Monitoring Report Summary: [2025-08-30T06:29:48.700Z] STF 06:29:48.455 - o Process CO ended with the expected exit code (0) [2025-08-30T06:29:48.700Z] STF 06:29:48.456 - [2025-08-30T06:29:48.700Z] STF 06:29:48.456 - +------ Step 10 - Check output [2025-08-30T06:29:48.700Z] STF 06:29:48.456 - | Count file matches [2025-08-30T06:29:48.700Z] STF 06:29:48.456 - | TargetFile: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17565332672976/UpgModPath_Exp_1/20250830-062940-UpgModPathTest/results/combinedOT13.txt [2025-08-30T06:29:48.700Z] STF 06:29:48.456 - | ExpectedNumMatches: 1 [2025-08-30T06:29:48.700Z] STF 06:29:48.456 - | SearchStrings: ["FindException: Unable to compute the hash of module java.logging"] [2025-08-30T06:29:48.700Z] STF 06:29:48.456 - | [2025-08-30T06:29:48.700Z] STF 06:29:48.457 - Found 1 instances of ["FindException: Unable to compute the hash of module java.logging"] [2025-08-30T06:29:48.700Z] STF 06:29:48.457 - EXECUTE stage completed [2025-08-30T06:29:48.700Z] STF 06:29:48.534 - [2025-08-30T06:29:48.700Z] STF 06:29:48.534 - ==================== T E A R D O W N ==================== [2025-08-30T06:29:48.700Z] STF 06:29:48.534 - Running teardown: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17565332672976\UpgModPath_Exp_1/20250830-062940-UpgModPathTest/tearDown.pl [2025-08-30T06:29:48.995Z] STF 06:29:48.907 - TEARDOWN stage completed [2025-08-30T06:29:48.995Z] STF 06:29:48.937 - [2025-08-30T06:29:48.995Z] STF 06:29:48.937 - ===================== R E S U L T S ===================== [2025-08-30T06:29:48.995Z] STF 06:29:48.937 - Stage results: [2025-08-30T06:29:48.995Z] STF 06:29:48.938 - setUp: pass [2025-08-30T06:29:48.995Z] STF 06:29:48.938 - execute: pass [2025-08-30T06:29:48.995Z] STF 06:29:48.938 - teardown: pass [2025-08-30T06:29:48.995Z] STF 06:29:48.938 - [2025-08-30T06:29:48.995Z] STF 06:29:48.938 - Overall result: PASSED [2025-08-30T06:29:48.995Z] ----------------------------------- [2025-08-30T06:29:48.995Z] UpgModPath_Exp_1_PASSED [2025-08-30T06:29:48.995Z] ----------------------------------- [2025-08-30T06:29:49.289Z] [2025-08-30T06:29:49.289Z] TEST TEARDOWN: [2025-08-30T06:29:49.289Z] Nothing to be done for teardown. [2025-08-30T06:29:49.583Z] UpgModPath_Exp_1 Finish Time: Sat Aug 30 06:29:49 2025 Epoch Time (ms): 1756535389345