UpgModPath_ExpImg_0

[2025-08-30T06:29:51.732Z] Running test UpgModPath_ExpImg_0 ... [2025-08-30T06:29:52.027Z] =============================================== [2025-08-30T06:29:52.321Z] UpgModPath_ExpImg_0 Start Time: Sat Aug 30 06:29:52 2025 Epoch Time (ms): 1756535392079 [2025-08-30T06:29:52.321Z] variation: Mode150 [2025-08-30T06:29:52.633Z] JVM_OPTIONS: -XX:+UseCompressedOops [2025-08-30T06:29:52.633Z] { \ [2025-08-30T06:29:52.633Z] echo ""; echo "TEST SETUP:"; \ [2025-08-30T06:29:52.633Z] echo "Nothing to be done for setup."; \ [2025-08-30T06:29:52.633Z] mkdir -p "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17565332672976\\UpgModPath_ExpImg_0"; \ [2025-08-30T06:29:52.633Z] cd "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17565332672976\\UpgModPath_ExpImg_0"; \ [2025-08-30T06:29:52.633Z] echo ""; echo "TESTING:"; \ [2025-08-30T06:29:52.633Z] 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_ExpImg_0" -test=UpgModPathTest -test-args="variant=ExpImg"; \ [2025-08-30T06:29:52.633Z] 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_17565332672976\\UpgModPath_ExpImg_0"; else echo "-----------------------------------"; echo "UpgModPath_ExpImg_0""_FAILED"; echo "-----------------------------------"; fi; \ [2025-08-30T06:29:52.633Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-08-30T06:29:52.633Z] echo "Nothing to be done for teardown."; \ [2025-08-30T06:29:52.633Z] } 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:52.931Z] [2025-08-30T06:29:52.931Z] TEST SETUP: [2025-08-30T06:29:52.931Z] Nothing to be done for setup. [2025-08-30T06:29:52.931Z] [2025-08-30T06:29:52.931Z] TESTING: [2025-08-30T06:29:53.225Z] STF 06:29:53.142 - ========================= S T F ========================= [2025-08-30T06:29:53.225Z] 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_ExpImg_0 [2025-08-30T06:29:53.518Z] There is 18219 Mb free [2025-08-30T06:29:53.518Z] STF 06:29:53.219 - ================== G E N E R A T I O N ================== [2025-08-30T06:29:53.518Z] STF 06:29:53.224 - Checking JVM: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image [2025-08-30T06:29:53.518Z] STF 06:29:53.225 - 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_ExpImg_0/20250830-062953-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_ExpImg_0/20250830-062953-UpgModPathTest" [2025-08-30T06:29:53.518Z] GEN stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-08-30T06:29:54.561Z] GEN 06:29:54.454 - 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:54.561Z] GEN 06:29:54.470 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.UpgModPathTest' [2025-08-30T06:29:54.854Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2025-08-30T06:29:54.854Z] 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:54.854Z] 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:54.854Z] 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:54.854Z] 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:54.854Z] 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:54.854Z] 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:54.854Z] 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:54.854Z] 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:54.854Z] 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:54.854Z] 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:54.854Z] 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:54.854Z] 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:54.854Z] 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:54.854Z] 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:54.854Z] 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:54.854Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\\jvmtest\\system\\STF\\stf.core\\bin [2025-08-30T06:29:54.854Z] GEN C:/Users/jenkins/externalDependency/system_lib/log4j/log4j-api.jar [2025-08-30T06:29:54.854Z] GEN C:/Users/jenkins/externalDependency/system_lib/log4j/log4j-core.jar [2025-08-30T06:29:54.854Z] GEN C:/Users/jenkins/externalDependency/system_lib/junit/junit.jar [2025-08-30T06:29:54.854Z] GEN 06:29:54.688 - Using Mode NoOptions. Values = '' [2025-08-30T06:29:55.148Z] GEN 06:29:54.829 - [2025-08-30T06:29:55.148Z] GEN 06:29:54.829 - Test command summary: [2025-08-30T06:29:55.148Z] GEN 06:29:54.829 - Step Stage Command Description [2025-08-30T06:29:55.148Z] GEN 06:29:54.829 - -----+--------+-----------------+------------ [2025-08-30T06:29:55.148Z] GEN 06:29:54.829 - 1 execute jar Create com.hello jar [2025-08-30T06:29:55.148Z] GEN 06:29:54.829 - 2 execute jar Create com.hola jar [2025-08-30T06:29:55.148Z] GEN 06:29:54.829 - 3 execute jar Create com.helper jar [2025-08-30T06:29:55.148Z] GEN 06:29:54.829 - 4 execute jar Create com.discreet jar [2025-08-30T06:29:55.148Z] GEN 06:29:54.829 - 5 execute jar Create tests jar [2025-08-30T06:29:55.148Z] GEN 06:29:54.829 - 6 execute jlink Create runtime image for upgrademodulepath test [2025-08-30T06:29:55.148Z] GEN 06:29:54.829 - 7 execute Run java Override an application module using a custom runtime image [2025-08-30T06:29:55.148Z] GEN 06:29:54.829 - 8 execute Run java (Negative test) Override a non-upgradable platform module using a custom runtime image [2025-08-30T06:29:55.148Z] GEN 06:29:54.829 - 9 execute Run java Combine stderr and stdout files of process OT16 [2025-08-30T06:29:55.148Z] GEN 06:29:54.829 - 10 execute count Check output [2025-08-30T06:29:55.148Z] STF 06:29:54.868 - [2025-08-30T06:29:55.148Z] STF 06:29:54.868 - Script generation completed [2025-08-30T06:29:55.148Z] STF 06:29:54.868 - [2025-08-30T06:29:55.148Z] STF 06:29:54.870 - [2025-08-30T06:29:55.148Z] STF 06:29:54.870 - ======================= S E T U P ======================= [2025-08-30T06:29:55.148Z] STF 06:29:54.871 - Running setup: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17565332672976\UpgModPath_ExpImg_0/20250830-062953-UpgModPathTest/setUp.pl [2025-08-30T06:29:55.444Z] STF 06:29:55.251 - SETUP stage completed [2025-08-30T06:29:55.444Z] STF 06:29:55.302 - [2025-08-30T06:29:55.444Z] STF 06:29:55.302 - ==================== E X E C U T E - ==================== [2025-08-30T06:29:55.444Z] STF 06:29:55.302 - Running execute: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17565332672976\UpgModPath_ExpImg_0/20250830-062953-UpgModPathTest/execute.pl [2025-08-30T06:29:55.738Z] STF 06:29:55.673 - [2025-08-30T06:29:55.738Z] STF 06:29:55.673 - Java version [2025-08-30T06:29:55.738Z] STF 06:29:55.673 - Running: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/java -version [2025-08-30T06:29:55.738Z] Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-08-30T06:29:56.033Z] openjdk version "21.0.9-beta" 2025-10-21 [2025-08-30T06:29:56.033Z] OpenJDK Runtime Environment Temurin-21.0.9+5-202508292308 (build 21.0.9-beta+5-ea) [2025-08-30T06:29:56.033Z] OpenJDK 64-Bit Server VM Temurin-21.0.9+5-202508292308 (build 21.0.9-beta+5-ea, mixed mode) [2025-08-30T06:29:56.033Z] STF 06:29:55.800 - [2025-08-30T06:29:56.033Z] STF 06:29:55.800 - +------ Step 1 - Create com.hello jar [2025-08-30T06:29:56.033Z] STF 06:29:55.800 - | Create modular jar [2025-08-30T06:29:56.033Z] STF 06:29:55.800 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2025-08-30T06:29:56.033Z] STF 06:29:55.800 - | ModuleVersion: null [2025-08-30T06:29:56.033Z] STF 06:29:55.801 - | MainClass: null [2025-08-30T06:29:56.033Z] STF 06:29:55.801 - | HashModules: null [2025-08-30T06:29:56.033Z] STF 06:29:55.801 - | [2025-08-30T06:29:56.033Z] STF 06:29:55.802 - 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_ExpImg_0/20250830-062953-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:56.033Z] STF 06:29:55.802 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17565332672976/UpgModPath_ExpImg_0/20250830-062953-UpgModPathTest/results/1.CMJ.stderr [2025-08-30T06:29:56.033Z] STF 06:29:55.802 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17565332672976/UpgModPath_ExpImg_0/20250830-062953-UpgModPathTest/results/1.CMJ.stdout [2025-08-30T06:29:56.033Z] STF 06:29:55.869 - Monitoring processes: CMJ [2025-08-30T06:29:56.033Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-08-30T06:29:56.673Z] STF 06:29:56.318 - Monitoring Report Summary: [2025-08-30T06:29:56.673Z] STF 06:29:56.318 - o Process CMJ ended with the expected exit code (0) [2025-08-30T06:29:56.673Z] STF 06:29:56.319 - Created modular jar: 1.com.hello.jar [2025-08-30T06:29:56.673Z] STF 06:29:56.319 - [2025-08-30T06:29:56.673Z] STF 06:29:56.319 - +------ Step 2 - Create com.hola jar [2025-08-30T06:29:56.673Z] STF 06:29:56.319 - | Create modular jar [2025-08-30T06:29:56.673Z] STF 06:29:56.319 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2025-08-30T06:29:56.673Z] STF 06:29:56.319 - | ModuleVersion: null [2025-08-30T06:29:56.673Z] STF 06:29:56.319 - | MainClass: null [2025-08-30T06:29:56.673Z] STF 06:29:56.319 - | HashModules: null [2025-08-30T06:29:56.673Z] STF 06:29:56.319 - | [2025-08-30T06:29:56.673Z] STF 06:29:56.320 - 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_ExpImg_0/20250830-062953-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:56.673Z] STF 06:29:56.320 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17565332672976/UpgModPath_ExpImg_0/20250830-062953-UpgModPathTest/results/2.CMJ.stderr [2025-08-30T06:29:56.673Z] STF 06:29:56.320 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17565332672976/UpgModPath_ExpImg_0/20250830-062953-UpgModPathTest/results/2.CMJ.stdout [2025-08-30T06:29:56.673Z] STF 06:29:56.328 - Monitoring processes: CMJ [2025-08-30T06:29:56.673Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-08-30T06:29:56.968Z] STF 06:29:56.737 - Monitoring Report Summary: [2025-08-30T06:29:56.968Z] STF 06:29:56.737 - o Process CMJ ended with the expected exit code (0) [2025-08-30T06:29:56.968Z] STF 06:29:56.738 - Created modular jar: 2.com.hola.jar [2025-08-30T06:29:56.968Z] STF 06:29:56.738 - [2025-08-30T06:29:56.968Z] STF 06:29:56.738 - +------ Step 3 - Create com.helper jar [2025-08-30T06:29:56.968Z] STF 06:29:56.738 - | Create modular jar [2025-08-30T06:29:56.968Z] STF 06:29:56.738 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2025-08-30T06:29:56.968Z] STF 06:29:56.738 - | ModuleVersion: null [2025-08-30T06:29:56.968Z] STF 06:29:56.738 - | MainClass: null [2025-08-30T06:29:56.968Z] STF 06:29:56.738 - | HashModules: null [2025-08-30T06:29:56.968Z] STF 06:29:56.738 - | [2025-08-30T06:29:56.968Z] STF 06:29:56.739 - 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_ExpImg_0/20250830-062953-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:56.968Z] STF 06:29:56.739 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17565332672976/UpgModPath_ExpImg_0/20250830-062953-UpgModPathTest/results/3.CMJ.stderr [2025-08-30T06:29:56.968Z] STF 06:29:56.739 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17565332672976/UpgModPath_ExpImg_0/20250830-062953-UpgModPathTest/results/3.CMJ.stdout [2025-08-30T06:29:56.968Z] STF 06:29:56.747 - Monitoring processes: CMJ [2025-08-30T06:29:56.968Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-08-30T06:29:57.263Z] STF 06:29:57.174 - Monitoring Report Summary: [2025-08-30T06:29:57.263Z] STF 06:29:57.174 - o Process CMJ ended with the expected exit code (0) [2025-08-30T06:29:57.263Z] STF 06:29:57.175 - Created modular jar: 3.com.helper.jar [2025-08-30T06:29:57.263Z] STF 06:29:57.175 - [2025-08-30T06:29:57.263Z] STF 06:29:57.175 - +------ Step 4 - Create com.discreet jar [2025-08-30T06:29:57.263Z] STF 06:29:57.175 - | Create modular jar [2025-08-30T06:29:57.263Z] STF 06:29:57.175 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2025-08-30T06:29:57.263Z] STF 06:29:57.175 - | ModuleVersion: null [2025-08-30T06:29:57.263Z] STF 06:29:57.175 - | MainClass: null [2025-08-30T06:29:57.263Z] STF 06:29:57.175 - | HashModules: null [2025-08-30T06:29:57.263Z] STF 06:29:57.175 - | [2025-08-30T06:29:57.263Z] STF 06:29:57.176 - 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_ExpImg_0/20250830-062953-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:57.263Z] STF 06:29:57.176 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17565332672976/UpgModPath_ExpImg_0/20250830-062953-UpgModPathTest/results/4.CMJ.stderr [2025-08-30T06:29:57.263Z] STF 06:29:57.176 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17565332672976/UpgModPath_ExpImg_0/20250830-062953-UpgModPathTest/results/4.CMJ.stdout [2025-08-30T06:29:57.263Z] STF 06:29:57.183 - Monitoring processes: CMJ [2025-08-30T06:29:57.263Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-08-30T06:29:57.901Z] STF 06:29:57.596 - Monitoring Report Summary: [2025-08-30T06:29:57.901Z] STF 06:29:57.596 - o Process CMJ ended with the expected exit code (0) [2025-08-30T06:29:57.901Z] STF 06:29:57.597 - Created modular jar: 4.com.discreet.jar [2025-08-30T06:29:57.901Z] STF 06:29:57.597 - [2025-08-30T06:29:57.901Z] STF 06:29:57.597 - +------ Step 5 - Create tests jar [2025-08-30T06:29:57.901Z] STF 06:29:57.597 - | Create modular jar [2025-08-30T06:29:57.901Z] STF 06:29:57.597 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2025-08-30T06:29:57.901Z] STF 06:29:57.597 - | ModuleVersion: null [2025-08-30T06:29:57.901Z] STF 06:29:57.597 - | MainClass: null [2025-08-30T06:29:57.901Z] STF 06:29:57.598 - | HashModules: null [2025-08-30T06:29:57.901Z] STF 06:29:57.598 - | [2025-08-30T06:29:57.901Z] STF 06:29:57.598 - 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_ExpImg_0/20250830-062953-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:57.901Z] STF 06:29:57.598 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17565332672976/UpgModPath_ExpImg_0/20250830-062953-UpgModPathTest/results/5.CMJ.stderr [2025-08-30T06:29:57.901Z] STF 06:29:57.598 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17565332672976/UpgModPath_ExpImg_0/20250830-062953-UpgModPathTest/results/5.CMJ.stdout [2025-08-30T06:29:57.901Z] STF 06:29:57.606 - Monitoring processes: CMJ [2025-08-30T06:29:57.901Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-08-30T06:29:58.196Z] STF 06:29:58.016 - Monitoring Report Summary: [2025-08-30T06:29:58.196Z] STF 06:29:58.016 - o Process CMJ ended with the expected exit code (0) [2025-08-30T06:29:58.196Z] STF 06:29:58.017 - Created modular jar: 5.com.test.jar [2025-08-30T06:29:58.196Z] STF 06:29:58.017 - [2025-08-30T06:29:58.196Z] STF 06:29:58.017 - +------ Step 6 - Create runtime image for upgrademodulepath test [2025-08-30T06:29:58.196Z] STF 06:29:58.017 - | Run jlink to create runtime image [2025-08-30T06:29:58.196Z] STF 06:29:58.017 - | ImageName: UpJVM [2025-08-30T06:29:58.196Z] STF 06:29:58.017 - | [2025-08-30T06:29:58.196Z] STF 06:29:58.017 - 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_ExpImg_0\20250830-062953-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_ExpImg_0\20250830-062953-UpgModPathTest\tmp\6.UpJVM [2025-08-30T06:29:58.196Z] STF 06:29:58.018 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17565332672976/UpgModPath_ExpImg_0/20250830-062953-UpgModPathTest/results/6.JLNK.stderr [2025-08-30T06:29:58.196Z] STF 06:29:58.018 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17565332672976/UpgModPath_ExpImg_0/20250830-062953-UpgModPathTest/results/6.JLNK.stdout [2025-08-30T06:29:58.196Z] STF 06:29:58.025 - Monitoring processes: JLNK [2025-08-30T06:29:58.196Z] JLNK stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-08-30T06:30:00.951Z] STF 06:30:00.489 - Monitoring Report Summary: [2025-08-30T06:30:00.951Z] STF 06:30:00.489 - o Process JLNK ended with the expected exit code (0) [2025-08-30T06:30:00.951Z] STF 06:30:00.490 - [2025-08-30T06:30:00.951Z] STF 06:30:00.490 - +------ Step 7 - Override an application module using a custom runtime image [2025-08-30T06:30:00.951Z] STF 06:30:00.490 - | Run foreground process [2025-08-30T06:30:00.951Z] STF 06:30:00.490 - | Program: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17565332672976/UpgModPath_ExpImg_0/20250830-062953-UpgModPathTest/tmp/6.UpJVM/bin/java [2025-08-30T06:30:00.951Z] STF 06:30:00.490 - | Mnemonic: OT14 [2025-08-30T06:30:00.951Z] STF 06:30:00.490 - | Echo: ECHO_ON [2025-08-30T06:30:00.951Z] STF 06:30:00.491 - | Expectation: CLEAN_RUN within 1m [2025-08-30T06:30:00.951Z] STF 06:30:00.491 - | [2025-08-30T06:30:00.951Z] STF 06:30:00.491 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17565332672976/UpgModPath_ExpImg_0/20250830-062953-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/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:30:00.951Z] STF 06:30:00.491 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17565332672976/UpgModPath_ExpImg_0/20250830-062953-UpgModPathTest/results/7.OT14.stderr [2025-08-30T06:30:00.951Z] STF 06:30:00.491 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17565332672976/UpgModPath_ExpImg_0/20250830-062953-UpgModPathTest/results/7.OT14.stdout [2025-08-30T06:30:00.951Z] STF 06:30:00.517 - Monitoring processes: OT14 [2025-08-30T06:30:00.951Z] OT14 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-08-30T06:30:00.951Z] OT14 JUnit version 4.12 [2025-08-30T06:30:01.246Z] OT14 . [2025-08-30T06:30:01.246Z] OT14 Time: 0 [2025-08-30T06:30:01.246Z] OT14 [2025-08-30T06:30:01.246Z] OT14 OK (1 test) [2025-08-30T06:30:01.246Z] OT14 [2025-08-30T06:30:01.246Z] STF 06:30:01.004 - Monitoring Report Summary: [2025-08-30T06:30:01.246Z] STF 06:30:01.004 - o Process OT14 ended with the expected exit code (0) [2025-08-30T06:30:01.246Z] STF 06:30:01.005 - [2025-08-30T06:30:01.246Z] STF 06:30:01.005 - +------ Step 8 - (Negative test) Override a non-upgradable platform module using a custom runtime image [2025-08-30T06:30:01.246Z] STF 06:30:01.005 - | Run foreground process [2025-08-30T06:30:01.246Z] STF 06:30:01.005 - | Program: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17565332672976/UpgModPath_ExpImg_0/20250830-062953-UpgModPathTest/tmp/6.UpJVM/bin/java [2025-08-30T06:30:01.246Z] STF 06:30:01.005 - | Mnemonic: OT16 [2025-08-30T06:30:01.246Z] STF 06:30:01.005 - | Echo: ECHO_ON [2025-08-30T06:30:01.246Z] STF 06:30:01.005 - | Expectation: NON_ZERO_EXIT [1] within 1m [2025-08-30T06:30:01.246Z] STF 06:30:01.005 - | [2025-08-30T06:30:01.246Z] STF 06:30:01.006 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17565332672976/UpgModPath_ExpImg_0/20250830-062953-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/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:30:01.246Z] STF 06:30:01.006 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17565332672976/UpgModPath_ExpImg_0/20250830-062953-UpgModPathTest/results/8.OT16.stderr [2025-08-30T06:30:01.246Z] STF 06:30:01.006 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17565332672976/UpgModPath_ExpImg_0/20250830-062953-UpgModPathTest/results/8.OT16.stdout [2025-08-30T06:30:01.246Z] STF 06:30:01.015 - Monitoring processes: OT16 [2025-08-30T06:30:01.246Z] OT16 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-08-30T06:30:01.539Z] OT16 Error occurred during initialization of boot layer [2025-08-30T06:30:01.539Z] OT16 java.lang.module.FindException: Unable to compute the hash of module java.logging [2025-08-30T06:30:01.539Z] STF 06:30:01.223 - Monitoring Report Summary: [2025-08-30T06:30:01.539Z] STF 06:30:01.223 - o Process OT16 ended with the expected exit code (1) [2025-08-30T06:30:01.539Z] STF 06:30:01.224 - [2025-08-30T06:30:01.539Z] STF 06:30:01.224 - +------ Step 9 - Combine stderr and stdout files of process OT16 [2025-08-30T06:30:01.539Z] STF 06:30:01.224 - | Run foreground process [2025-08-30T06:30:01.539Z] STF 06:30:01.224 - | Program: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/java [2025-08-30T06:30:01.539Z] STF 06:30:01.224 - | Mnemonic: CO [2025-08-30T06:30:01.539Z] STF 06:30:01.224 - | Echo: ECHO_OFF [2025-08-30T06:30:01.539Z] STF 06:30:01.224 - | Expectation: NON_ZERO_EXIT [0] within 5m [2025-08-30T06:30:01.539Z] STF 06:30:01.224 - | [2025-08-30T06:30:01.540Z] STF 06:30:01.225 - 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_ExpImg_0/20250830-062953-UpgModPathTest/results/8.OT16.stdout -Dfile2=C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17565332672976/UpgModPath_ExpImg_0/20250830-062953-UpgModPathTest/results/8.OT16.stderr -Dfinal.file=C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\aqa-tests\TKG\output_17565332672976\UpgModPath_ExpImg_0\20250830-062953-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-30T06:30:01.540Z] STF 06:30:01.225 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17565332672976/UpgModPath_ExpImg_0/20250830-062953-UpgModPathTest/results/9.CO.stderr [2025-08-30T06:30:01.540Z] STF 06:30:01.225 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17565332672976/UpgModPath_ExpImg_0/20250830-062953-UpgModPathTest/results/9.CO.stdout [2025-08-30T06:30:01.540Z] STF 06:30:01.233 - Monitoring processes: CO [2025-08-30T06:30:01.540Z] STF 06:30:01.457 - Monitoring Report Summary: [2025-08-30T06:30:01.540Z] STF 06:30:01.457 - o Process CO ended with the expected exit code (0) [2025-08-30T06:30:01.540Z] STF 06:30:01.458 - [2025-08-30T06:30:01.540Z] STF 06:30:01.458 - +------ Step 10 - Check output [2025-08-30T06:30:01.540Z] STF 06:30:01.458 - | Count file matches [2025-08-30T06:30:01.540Z] STF 06:30:01.459 - | TargetFile: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17565332672976/UpgModPath_ExpImg_0/20250830-062953-UpgModPathTest/results/combinedOT16.txt [2025-08-30T06:30:01.540Z] STF 06:30:01.459 - | ExpectedNumMatches: 1 [2025-08-30T06:30:01.540Z] STF 06:30:01.459 - | SearchStrings: ["FindException: Unable to compute the hash of module java.logging"] [2025-08-30T06:30:01.540Z] STF 06:30:01.459 - | [2025-08-30T06:30:01.540Z] STF 06:30:01.460 - Found 1 instances of ["FindException: Unable to compute the hash of module java.logging"] [2025-08-30T06:30:01.540Z] STF 06:30:01.460 - EXECUTE stage completed [2025-08-30T06:30:01.540Z] STF 06:30:01.516 - [2025-08-30T06:30:01.540Z] STF 06:30:01.516 - ==================== T E A R D O W N ==================== [2025-08-30T06:30:01.540Z] STF 06:30:01.516 - Running teardown: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17565332672976\UpgModPath_ExpImg_0/20250830-062953-UpgModPathTest/tearDown.pl [2025-08-30T06:30:02.232Z] STF 06:30:01.892 - TEARDOWN stage completed [2025-08-30T06:30:02.232Z] STF 06:30:01.943 - [2025-08-30T06:30:02.232Z] STF 06:30:01.943 - ===================== R E S U L T S ===================== [2025-08-30T06:30:02.232Z] STF 06:30:01.943 - Stage results: [2025-08-30T06:30:02.232Z] STF 06:30:01.943 - setUp: pass [2025-08-30T06:30:02.232Z] STF 06:30:01.943 - execute: pass [2025-08-30T06:30:02.232Z] STF 06:30:01.943 - teardown: pass [2025-08-30T06:30:02.232Z] STF 06:30:01.943 - [2025-08-30T06:30:02.232Z] STF 06:30:01.943 - Overall result: PASSED [2025-08-30T06:30:02.232Z] ----------------------------------- [2025-08-30T06:30:02.232Z] UpgModPath_ExpImg_0_PASSED [2025-08-30T06:30:02.232Z] ----------------------------------- [2025-08-30T06:30:02.232Z] [2025-08-30T06:30:02.232Z] TEST TEARDOWN: [2025-08-30T06:30:02.232Z] Nothing to be done for teardown. [2025-08-30T06:30:02.532Z] UpgModPath_ExpImg_0 Finish Time: Sat Aug 30 06:30:02 2025 Epoch Time (ms): 1756535402376