UpgModPath_ExpImg_0

[2025-08-20T23:52:16.552Z] Running test UpgModPath_ExpImg_0 ... [2025-08-20T23:52:16.552Z] =============================================== [2025-08-20T23:52:16.845Z] UpgModPath_ExpImg_0 Start Time: Wed Aug 20 23:52:16 2025 Epoch Time (ms): 1755733936705 [2025-08-20T23:52:17.137Z] variation: Mode150 [2025-08-20T23:52:17.430Z] JVM_OPTIONS: -XX:+UseCompressedOops [2025-08-20T23:52:17.430Z] { \ [2025-08-20T23:52:17.430Z] echo ""; echo "TEST SETUP:"; \ [2025-08-20T23:52:17.430Z] echo "Nothing to be done for setup."; \ [2025-08-20T23:52:17.430Z] mkdir -p "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17557318289751\\UpgModPath_ExpImg_0"; \ [2025-08-20T23:52:17.430Z] cd "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17557318289751\\UpgModPath_ExpImg_0"; \ [2025-08-20T23:52:17.430Z] echo ""; echo "TESTING:"; \ [2025-08-20T23:52:17.430Z] 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_17557318289751\\UpgModPath_ExpImg_0" -test=UpgModPathTest -test-args="variant=ExpImg"; \ [2025-08-20T23:52:17.430Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "UpgModPath_ExpImg_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_17557318289751\\UpgModPath_ExpImg_0"; else echo "-----------------------------------"; echo "UpgModPath_ExpImg_0""_FAILED"; echo "-----------------------------------"; fi; \ [2025-08-20T23:52:17.430Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-08-20T23:52:17.430Z] echo "Nothing to be done for teardown."; \ [2025-08-20T23:52:17.430Z] } 2>&1 | tee -a "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17557318289751\\TestTargetResult"; [2025-08-20T23:52:17.430Z] [2025-08-20T23:52:17.430Z] TEST SETUP: [2025-08-20T23:52:17.430Z] Nothing to be done for setup. [2025-08-20T23:52:17.430Z] [2025-08-20T23:52:17.430Z] TESTING: [2025-08-20T23:52:18.070Z] STF 23:52:17.768 - ========================= S T F ========================= [2025-08-20T23:52:18.070Z] 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_17557318289751\UpgModPath_ExpImg_0 [2025-08-20T23:52:18.070Z] There is 18947 Mb free [2025-08-20T23:52:18.070Z] STF 23:52:17.850 - ================== G E N E R A T I O N ================== [2025-08-20T23:52:18.070Z] STF 23:52:17.855 - Checking JVM: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image [2025-08-20T23:52:18.070Z] STF 23:52:17.856 - 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_17557318289751\UpgModPath_ExpImg_0/20250820-235217-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_17557318289751\UpgModPath_ExpImg_0/20250820-235217-UpgModPathTest" [2025-08-20T23:52:18.070Z] GEN stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-08-20T23:52:19.112Z] GEN 23:52:19.065 - 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-20T23:52:19.112Z] GEN 23:52:19.080 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.UpgModPathTest' [2025-08-20T23:52:19.407Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2025-08-20T23:52:19.407Z] 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-20T23:52:19.407Z] 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-20T23:52:19.407Z] 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-20T23:52:19.407Z] 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-20T23:52:19.407Z] 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-20T23:52:19.407Z] 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-20T23:52:19.407Z] 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-20T23:52:19.407Z] 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-20T23:52:19.407Z] 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-20T23:52:19.407Z] 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-20T23:52:19.407Z] 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-20T23:52:19.407Z] 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-20T23:52:19.407Z] 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-20T23:52:19.407Z] 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-20T23:52:19.407Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin [2025-08-20T23:52:19.407Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\\jvmtest\\system\\STF\\stf.core\\bin [2025-08-20T23:52:19.407Z] GEN C:/Users/jenkins/testDependency/system_lib/log4j/log4j-api.jar [2025-08-20T23:52:19.407Z] GEN C:/Users/jenkins/testDependency/system_lib/log4j/log4j-core.jar [2025-08-20T23:52:19.407Z] GEN C:/Users/jenkins/testDependency/system_lib/junit/junit.jar [2025-08-20T23:52:19.407Z] GEN 23:52:19.315 - Using Mode NoOptions. Values = '' [2025-08-20T23:52:19.702Z] GEN 23:52:19.455 - [2025-08-20T23:52:19.702Z] GEN 23:52:19.455 - Test command summary: [2025-08-20T23:52:19.702Z] GEN 23:52:19.455 - Step Stage Command Description [2025-08-20T23:52:19.702Z] GEN 23:52:19.455 - -----+--------+-----------------+------------ [2025-08-20T23:52:19.702Z] GEN 23:52:19.455 - 1 execute jar Create com.hello jar [2025-08-20T23:52:19.702Z] GEN 23:52:19.455 - 2 execute jar Create com.hola jar [2025-08-20T23:52:19.702Z] GEN 23:52:19.455 - 3 execute jar Create com.helper jar [2025-08-20T23:52:19.702Z] GEN 23:52:19.455 - 4 execute jar Create com.discreet jar [2025-08-20T23:52:19.702Z] GEN 23:52:19.455 - 5 execute jar Create tests jar [2025-08-20T23:52:19.702Z] GEN 23:52:19.455 - 6 execute jlink Create runtime image for upgrademodulepath test [2025-08-20T23:52:19.702Z] GEN 23:52:19.455 - 7 execute Run java Override an application module using a custom runtime image [2025-08-20T23:52:19.702Z] GEN 23:52:19.455 - 8 execute Run java (Negative test) Override a non-upgradable platform module using a custom runtime image [2025-08-20T23:52:19.703Z] GEN 23:52:19.455 - 9 execute Run java Combine stderr and stdout files of process OT16 [2025-08-20T23:52:19.703Z] GEN 23:52:19.455 - 10 execute count Check output [2025-08-20T23:52:19.703Z] STF 23:52:19.507 - [2025-08-20T23:52:19.703Z] STF 23:52:19.507 - Script generation completed [2025-08-20T23:52:19.703Z] STF 23:52:19.507 - [2025-08-20T23:52:19.703Z] STF 23:52:19.510 - [2025-08-20T23:52:19.703Z] STF 23:52:19.510 - ======================= S E T U P ======================= [2025-08-20T23:52:19.703Z] STF 23:52:19.510 - Running setup: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17557318289751\UpgModPath_ExpImg_0/20250820-235217-UpgModPathTest/setUp.pl [2025-08-20T23:52:19.996Z] STF 23:52:19.893 - SETUP stage completed [2025-08-20T23:52:19.996Z] STF 23:52:19.921 - [2025-08-20T23:52:19.996Z] STF 23:52:19.921 - ==================== E X E C U T E - ==================== [2025-08-20T23:52:19.996Z] STF 23:52:19.921 - Running execute: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17557318289751\UpgModPath_ExpImg_0/20250820-235217-UpgModPathTest/execute.pl [2025-08-20T23:52:20.633Z] STF 23:52:20.315 - [2025-08-20T23:52:20.633Z] STF 23:52:20.315 - Java version [2025-08-20T23:52:20.633Z] STF 23:52:20.315 - Running: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/java -version [2025-08-20T23:52:20.633Z] Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-08-20T23:52:20.633Z] openjdk version "21.0.9-beta" 2025-10-21 [2025-08-20T23:52:20.633Z] OpenJDK Runtime Environment Temurin-21.0.9+4-202508201909 (build 21.0.9-beta+4-ea) [2025-08-20T23:52:20.633Z] OpenJDK 64-Bit Server VM Temurin-21.0.9+4-202508201909 (build 21.0.9-beta+4-ea, mixed mode) [2025-08-20T23:52:20.633Z] STF 23:52:20.448 - [2025-08-20T23:52:20.633Z] STF 23:52:20.448 - +------ Step 1 - Create com.hello jar [2025-08-20T23:52:20.633Z] STF 23:52:20.448 - | Create modular jar [2025-08-20T23:52:20.633Z] STF 23:52:20.448 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2025-08-20T23:52:20.633Z] STF 23:52:20.448 - | ModuleVersion: null [2025-08-20T23:52:20.633Z] STF 23:52:20.448 - | MainClass: null [2025-08-20T23:52:20.633Z] STF 23:52:20.448 - | HashModules: null [2025-08-20T23:52:20.633Z] STF 23:52:20.448 - | [2025-08-20T23:52:20.633Z] STF 23:52:20.449 - 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_17557318289751/UpgModPath_ExpImg_0/20250820-235217-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-20T23:52:20.633Z] STF 23:52:20.453 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17557318289751/UpgModPath_ExpImg_0/20250820-235217-UpgModPathTest/results/1.CMJ.stderr [2025-08-20T23:52:20.633Z] STF 23:52:20.453 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17557318289751/UpgModPath_ExpImg_0/20250820-235217-UpgModPathTest/results/1.CMJ.stdout [2025-08-20T23:52:20.633Z] STF 23:52:20.521 - Monitoring processes: CMJ [2025-08-20T23:52:20.633Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-08-20T23:52:21.270Z] STF 23:52:20.942 - Monitoring Report Summary: [2025-08-20T23:52:21.270Z] STF 23:52:20.942 - o Process CMJ ended with the expected exit code (0) [2025-08-20T23:52:21.270Z] STF 23:52:20.943 - Created modular jar: 1.com.hello.jar [2025-08-20T23:52:21.270Z] STF 23:52:20.943 - [2025-08-20T23:52:21.270Z] STF 23:52:20.943 - +------ Step 2 - Create com.hola jar [2025-08-20T23:52:21.270Z] STF 23:52:20.943 - | Create modular jar [2025-08-20T23:52:21.270Z] STF 23:52:20.943 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2025-08-20T23:52:21.270Z] STF 23:52:20.943 - | ModuleVersion: null [2025-08-20T23:52:21.270Z] STF 23:52:20.943 - | MainClass: null [2025-08-20T23:52:21.270Z] STF 23:52:20.943 - | HashModules: null [2025-08-20T23:52:21.270Z] STF 23:52:20.943 - | [2025-08-20T23:52:21.270Z] STF 23:52:20.944 - 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_17557318289751/UpgModPath_ExpImg_0/20250820-235217-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-20T23:52:21.270Z] STF 23:52:20.944 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17557318289751/UpgModPath_ExpImg_0/20250820-235217-UpgModPathTest/results/2.CMJ.stderr [2025-08-20T23:52:21.270Z] STF 23:52:20.944 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17557318289751/UpgModPath_ExpImg_0/20250820-235217-UpgModPathTest/results/2.CMJ.stdout [2025-08-20T23:52:21.270Z] STF 23:52:20.952 - Monitoring processes: CMJ [2025-08-20T23:52:21.270Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-08-20T23:52:21.564Z] STF 23:52:21.395 - Monitoring Report Summary: [2025-08-20T23:52:21.564Z] STF 23:52:21.396 - o Process CMJ ended with the expected exit code (0) [2025-08-20T23:52:21.564Z] STF 23:52:21.397 - Created modular jar: 2.com.hola.jar [2025-08-20T23:52:21.564Z] STF 23:52:21.397 - [2025-08-20T23:52:21.564Z] STF 23:52:21.397 - +------ Step 3 - Create com.helper jar [2025-08-20T23:52:21.564Z] STF 23:52:21.397 - | Create modular jar [2025-08-20T23:52:21.564Z] STF 23:52:21.397 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2025-08-20T23:52:21.564Z] STF 23:52:21.397 - | ModuleVersion: null [2025-08-20T23:52:21.564Z] STF 23:52:21.397 - | MainClass: null [2025-08-20T23:52:21.564Z] STF 23:52:21.397 - | HashModules: null [2025-08-20T23:52:21.564Z] STF 23:52:21.397 - | [2025-08-20T23:52:21.564Z] STF 23:52:21.398 - 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_17557318289751/UpgModPath_ExpImg_0/20250820-235217-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-20T23:52:21.564Z] STF 23:52:21.398 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17557318289751/UpgModPath_ExpImg_0/20250820-235217-UpgModPathTest/results/3.CMJ.stderr [2025-08-20T23:52:21.564Z] STF 23:52:21.398 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17557318289751/UpgModPath_ExpImg_0/20250820-235217-UpgModPathTest/results/3.CMJ.stdout [2025-08-20T23:52:21.564Z] STF 23:52:21.406 - Monitoring processes: CMJ [2025-08-20T23:52:21.564Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-08-20T23:52:22.202Z] STF 23:52:21.846 - Monitoring Report Summary: [2025-08-20T23:52:22.202Z] STF 23:52:21.846 - o Process CMJ ended with the expected exit code (0) [2025-08-20T23:52:22.202Z] STF 23:52:21.847 - Created modular jar: 3.com.helper.jar [2025-08-20T23:52:22.202Z] STF 23:52:21.847 - [2025-08-20T23:52:22.202Z] STF 23:52:21.847 - +------ Step 4 - Create com.discreet jar [2025-08-20T23:52:22.202Z] STF 23:52:21.847 - | Create modular jar [2025-08-20T23:52:22.202Z] STF 23:52:21.847 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2025-08-20T23:52:22.202Z] STF 23:52:21.847 - | ModuleVersion: null [2025-08-20T23:52:22.202Z] STF 23:52:21.847 - | MainClass: null [2025-08-20T23:52:22.202Z] STF 23:52:21.847 - | HashModules: null [2025-08-20T23:52:22.202Z] STF 23:52:21.847 - | [2025-08-20T23:52:22.202Z] STF 23:52:21.848 - 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_17557318289751/UpgModPath_ExpImg_0/20250820-235217-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-20T23:52:22.202Z] STF 23:52:21.848 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17557318289751/UpgModPath_ExpImg_0/20250820-235217-UpgModPathTest/results/4.CMJ.stderr [2025-08-20T23:52:22.202Z] STF 23:52:21.848 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17557318289751/UpgModPath_ExpImg_0/20250820-235217-UpgModPathTest/results/4.CMJ.stdout [2025-08-20T23:52:22.202Z] STF 23:52:21.856 - Monitoring processes: CMJ [2025-08-20T23:52:22.202Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-08-20T23:52:22.494Z] STF 23:52:22.284 - Monitoring Report Summary: [2025-08-20T23:52:22.494Z] STF 23:52:22.284 - o Process CMJ ended with the expected exit code (0) [2025-08-20T23:52:22.494Z] STF 23:52:22.285 - Created modular jar: 4.com.discreet.jar [2025-08-20T23:52:22.494Z] STF 23:52:22.285 - [2025-08-20T23:52:22.494Z] STF 23:52:22.285 - +------ Step 5 - Create tests jar [2025-08-20T23:52:22.494Z] STF 23:52:22.285 - | Create modular jar [2025-08-20T23:52:22.494Z] STF 23:52:22.285 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2025-08-20T23:52:22.494Z] STF 23:52:22.285 - | ModuleVersion: null [2025-08-20T23:52:22.494Z] STF 23:52:22.285 - | MainClass: null [2025-08-20T23:52:22.494Z] STF 23:52:22.285 - | HashModules: null [2025-08-20T23:52:22.494Z] STF 23:52:22.285 - | [2025-08-20T23:52:22.494Z] STF 23:52:22.286 - 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_17557318289751/UpgModPath_ExpImg_0/20250820-235217-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-20T23:52:22.494Z] STF 23:52:22.286 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17557318289751/UpgModPath_ExpImg_0/20250820-235217-UpgModPathTest/results/5.CMJ.stderr [2025-08-20T23:52:22.494Z] STF 23:52:22.286 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17557318289751/UpgModPath_ExpImg_0/20250820-235217-UpgModPathTest/results/5.CMJ.stdout [2025-08-20T23:52:22.494Z] STF 23:52:22.293 - Monitoring processes: CMJ [2025-08-20T23:52:22.494Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-08-20T23:52:23.133Z] STF 23:52:22.755 - Monitoring Report Summary: [2025-08-20T23:52:23.133Z] STF 23:52:22.756 - o Process CMJ ended with the expected exit code (0) [2025-08-20T23:52:23.133Z] STF 23:52:22.756 - Created modular jar: 5.com.test.jar [2025-08-20T23:52:23.133Z] STF 23:52:22.756 - [2025-08-20T23:52:23.133Z] STF 23:52:22.756 - +------ Step 6 - Create runtime image for upgrademodulepath test [2025-08-20T23:52:23.133Z] STF 23:52:22.756 - | Run jlink to create runtime image [2025-08-20T23:52:23.133Z] STF 23:52:22.757 - | ImageName: UpJVM [2025-08-20T23:52:23.133Z] STF 23:52:22.757 - | [2025-08-20T23:52:23.133Z] STF 23:52:22.757 - 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_17557318289751\UpgModPath_ExpImg_0\20250820-235217-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_17557318289751\UpgModPath_ExpImg_0\20250820-235217-UpgModPathTest\tmp\6.UpJVM [2025-08-20T23:52:23.133Z] STF 23:52:22.757 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17557318289751/UpgModPath_ExpImg_0/20250820-235217-UpgModPathTest/results/6.JLNK.stderr [2025-08-20T23:52:23.133Z] STF 23:52:22.757 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17557318289751/UpgModPath_ExpImg_0/20250820-235217-UpgModPathTest/results/6.JLNK.stdout [2025-08-20T23:52:23.133Z] STF 23:52:22.765 - Monitoring processes: JLNK [2025-08-20T23:52:23.133Z] JLNK stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-08-20T23:52:25.213Z] STF 23:52:25.060 - Monitoring Report Summary: [2025-08-20T23:52:25.213Z] STF 23:52:25.061 - o Process JLNK ended with the expected exit code (0) [2025-08-20T23:52:25.213Z] STF 23:52:25.061 - [2025-08-20T23:52:25.213Z] STF 23:52:25.061 - +------ Step 7 - Override an application module using a custom runtime image [2025-08-20T23:52:25.213Z] STF 23:52:25.061 - | Run foreground process [2025-08-20T23:52:25.213Z] STF 23:52:25.062 - | Program: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17557318289751/UpgModPath_ExpImg_0/20250820-235217-UpgModPathTest/tmp/6.UpJVM/bin/java [2025-08-20T23:52:25.213Z] STF 23:52:25.062 - | Mnemonic: OT14 [2025-08-20T23:52:25.213Z] STF 23:52:25.062 - | Echo: ECHO_ON [2025-08-20T23:52:25.213Z] STF 23:52:25.062 - | Expectation: CLEAN_RUN within 1m [2025-08-20T23:52:25.213Z] STF 23:52:25.062 - | [2025-08-20T23:52:25.213Z] STF 23:52:25.062 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17557318289751/UpgModPath_ExpImg_0/20250820-235217-UpgModPathTest/tmp/6.UpJVM/bin/java --add-reads com.test=ALL-UNNAMED --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 -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-08-20T23:52:25.213Z] STF 23:52:25.063 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17557318289751/UpgModPath_ExpImg_0/20250820-235217-UpgModPathTest/results/7.OT14.stderr [2025-08-20T23:52:25.213Z] STF 23:52:25.063 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17557318289751/UpgModPath_ExpImg_0/20250820-235217-UpgModPathTest/results/7.OT14.stdout [2025-08-20T23:52:25.507Z] STF 23:52:25.163 - Monitoring processes: OT14 [2025-08-20T23:52:25.507Z] OT14 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-08-20T23:52:25.801Z] OT14 JUnit version 4.12 [2025-08-20T23:52:26.097Z] OT14 . [2025-08-20T23:52:26.097Z] OT14 Time: 0.015 [2025-08-20T23:52:26.097Z] OT14 [2025-08-20T23:52:26.097Z] OT14 OK (1 test) [2025-08-20T23:52:26.097Z] OT14 [2025-08-20T23:52:26.097Z] STF 23:52:25.771 - Monitoring Report Summary: [2025-08-20T23:52:26.097Z] STF 23:52:25.771 - o Process OT14 ended with the expected exit code (0) [2025-08-20T23:52:26.097Z] STF 23:52:25.772 - [2025-08-20T23:52:26.097Z] STF 23:52:25.772 - +------ Step 8 - (Negative test) Override a non-upgradable platform module using a custom runtime image [2025-08-20T23:52:26.097Z] STF 23:52:25.772 - | Run foreground process [2025-08-20T23:52:26.097Z] STF 23:52:25.772 - | Program: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17557318289751/UpgModPath_ExpImg_0/20250820-235217-UpgModPathTest/tmp/6.UpJVM/bin/java [2025-08-20T23:52:26.097Z] STF 23:52:25.772 - | Mnemonic: OT16 [2025-08-20T23:52:26.097Z] STF 23:52:25.772 - | Echo: ECHO_ON [2025-08-20T23:52:26.097Z] STF 23:52:25.772 - | Expectation: NON_ZERO_EXIT [1] within 1m [2025-08-20T23:52:26.097Z] STF 23:52:25.772 - | [2025-08-20T23:52:26.097Z] STF 23:52:25.773 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17557318289751/UpgModPath_ExpImg_0/20250820-235217-UpgModPathTest/tmp/6.UpJVM/bin/java --add-reads com.test=ALL-UNNAMED --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 -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-08-20T23:52:26.097Z] STF 23:52:25.773 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17557318289751/UpgModPath_ExpImg_0/20250820-235217-UpgModPathTest/results/8.OT16.stderr [2025-08-20T23:52:26.097Z] STF 23:52:25.773 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17557318289751/UpgModPath_ExpImg_0/20250820-235217-UpgModPathTest/results/8.OT16.stdout [2025-08-20T23:52:26.097Z] STF 23:52:25.782 - Monitoring processes: OT16 [2025-08-20T23:52:26.097Z] OT16 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-08-20T23:52:26.098Z] OT16 Error occurred during initialization of boot layer [2025-08-20T23:52:26.098Z] OT16 java.lang.module.FindException: Unable to compute the hash of module java.logging [2025-08-20T23:52:26.098Z] STF 23:52:25.988 - Monitoring Report Summary: [2025-08-20T23:52:26.098Z] STF 23:52:25.988 - o Process OT16 ended with the expected exit code (1) [2025-08-20T23:52:26.098Z] STF 23:52:25.989 - [2025-08-20T23:52:26.098Z] STF 23:52:25.989 - +------ Step 9 - Combine stderr and stdout files of process OT16 [2025-08-20T23:52:26.098Z] STF 23:52:25.989 - | Run foreground process [2025-08-20T23:52:26.098Z] STF 23:52:25.989 - | Program: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/java [2025-08-20T23:52:26.098Z] STF 23:52:25.989 - | Mnemonic: CO [2025-08-20T23:52:26.098Z] STF 23:52:25.989 - | Echo: ECHO_OFF [2025-08-20T23:52:26.098Z] STF 23:52:25.989 - | Expectation: NON_ZERO_EXIT [0] within 5m [2025-08-20T23:52:26.098Z] STF 23:52:25.989 - | [2025-08-20T23:52:26.098Z] STF 23:52:25.990 - 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_17557318289751/UpgModPath_ExpImg_0/20250820-235217-UpgModPathTest/results/8.OT16.stdout -Dfile2=C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17557318289751/UpgModPath_ExpImg_0/20250820-235217-UpgModPathTest/results/8.OT16.stderr -Dfinal.file=C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\aqa-tests\TKG\output_17557318289751\UpgModPath_ExpImg_0\20250820-235217-UpgModPathTest\results\combinedOT16.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-20T23:52:26.098Z] STF 23:52:25.990 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17557318289751/UpgModPath_ExpImg_0/20250820-235217-UpgModPathTest/results/9.CO.stderr [2025-08-20T23:52:26.098Z] STF 23:52:25.990 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17557318289751/UpgModPath_ExpImg_0/20250820-235217-UpgModPathTest/results/9.CO.stdout [2025-08-20T23:52:26.098Z] STF 23:52:25.998 - Monitoring processes: CO [2025-08-20T23:52:26.394Z] STF 23:52:26.222 - Monitoring Report Summary: [2025-08-20T23:52:26.394Z] STF 23:52:26.222 - o Process CO ended with the expected exit code (0) [2025-08-20T23:52:26.394Z] STF 23:52:26.223 - [2025-08-20T23:52:26.394Z] STF 23:52:26.223 - +------ Step 10 - Check output [2025-08-20T23:52:26.394Z] STF 23:52:26.223 - | Count file matches [2025-08-20T23:52:26.394Z] STF 23:52:26.223 - | TargetFile: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17557318289751/UpgModPath_ExpImg_0/20250820-235217-UpgModPathTest/results/combinedOT16.txt [2025-08-20T23:52:26.394Z] STF 23:52:26.223 - | ExpectedNumMatches: 1 [2025-08-20T23:52:26.394Z] STF 23:52:26.223 - | SearchStrings: ["FindException: Unable to compute the hash of module java.logging"] [2025-08-20T23:52:26.394Z] STF 23:52:26.223 - | [2025-08-20T23:52:26.394Z] STF 23:52:26.224 - Found 1 instances of ["FindException: Unable to compute the hash of module java.logging"] [2025-08-20T23:52:26.394Z] STF 23:52:26.225 - EXECUTE stage completed [2025-08-20T23:52:26.394Z] STF 23:52:26.316 - [2025-08-20T23:52:26.394Z] STF 23:52:26.316 - ==================== T E A R D O W N ==================== [2025-08-20T23:52:26.395Z] STF 23:52:26.316 - Running teardown: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17557318289751\UpgModPath_ExpImg_0/20250820-235217-UpgModPathTest/tearDown.pl [2025-08-20T23:52:27.035Z] STF 23:52:26.721 - TEARDOWN stage completed [2025-08-20T23:52:27.035Z] STF 23:52:26.748 - [2025-08-20T23:52:27.035Z] STF 23:52:26.748 - ===================== R E S U L T S ===================== [2025-08-20T23:52:27.035Z] STF 23:52:26.748 - Stage results: [2025-08-20T23:52:27.035Z] STF 23:52:26.748 - setUp: pass [2025-08-20T23:52:27.035Z] STF 23:52:26.748 - execute: pass [2025-08-20T23:52:27.035Z] STF 23:52:26.749 - teardown: pass [2025-08-20T23:52:27.035Z] STF 23:52:26.749 - [2025-08-20T23:52:27.035Z] STF 23:52:26.749 - Overall result: PASSED [2025-08-20T23:52:27.035Z] ----------------------------------- [2025-08-20T23:52:27.035Z] UpgModPath_ExpImg_0_PASSED [2025-08-20T23:52:27.035Z] ----------------------------------- [2025-08-20T23:52:27.035Z] [2025-08-20T23:52:27.035Z] TEST TEARDOWN: [2025-08-20T23:52:27.035Z] Nothing to be done for teardown. [2025-08-20T23:52:27.329Z] UpgModPath_ExpImg_0 Finish Time: Wed Aug 20 23:52:27 2025 Epoch Time (ms): 1755733947174