UpgModPath_Exp_0

[2025-08-20T21:06:02.549Z] Running test UpgModPath_Exp_0 ... [2025-08-20T21:06:02.549Z] =============================================== [2025-08-20T21:06:02.549Z] UpgModPath_Exp_0 Start Time: Wed Aug 20 22:06:02 2025 Epoch Time (ms): 1755723962525 [2025-08-20T21:06:02.549Z] variation: Mode150 [2025-08-20T21:06:02.903Z] JVM_OPTIONS: -XX:+UseCompressedOops [2025-08-20T21:06:02.903Z] { \ [2025-08-20T21:06:02.903Z] echo ""; echo "TEST SETUP:"; \ [2025-08-20T21:06:02.903Z] echo "Nothing to be done for setup."; \ [2025-08-20T21:06:02.903Z] mkdir -p "/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17557228549446/UpgModPath_Exp_0"; \ [2025-08-20T21:06:02.903Z] cd "/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17557228549446/UpgModPath_Exp_0"; \ [2025-08-20T21:06:02.903Z] echo ""; echo "TESTING:"; \ [2025-08-20T21:06:02.903Z] perl /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF/stf.core/scripts/stf.pl -test-root="/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF;/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../../jvmtest/system/modularity/..//aqa-systemtest""" -systemtest-prereqs="/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/../../testDependency/system_lib/" -java-args=' -XX:+UseCompressedOops ' -results-root="/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17557228549446/UpgModPath_Exp_0" -test=UpgModPathTest -test-args="variant=Exp"; \ [2025-08-20T21:06:02.903Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "UpgModPath_Exp_0""_PASSED"; echo "-----------------------------------"; cd /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/..; rm -f -r "/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17557228549446/UpgModPath_Exp_0"; else echo "-----------------------------------"; echo "UpgModPath_Exp_0""_FAILED"; echo "-----------------------------------"; fi; \ [2025-08-20T21:06:02.903Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-08-20T21:06:02.903Z] echo "Nothing to be done for teardown."; \ [2025-08-20T21:06:02.903Z] } 2>&1 | tee -a "/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17557228549446/TestTargetResult"; [2025-08-20T21:06:02.903Z] [2025-08-20T21:06:02.903Z] TEST SETUP: [2025-08-20T21:06:02.903Z] Nothing to be done for setup. [2025-08-20T21:06:02.903Z] [2025-08-20T21:06:02.903Z] TESTING: [2025-08-20T21:06:02.903Z] STF 22:06:02.625 - ========================= S T F ========================= [2025-08-20T21:06:02.903Z] systemtest-prereqs has been processed, and set to: /Users/jenkins/testDependency/system_libRetrieving amount of free space on drive containing /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17557228549446/UpgModPath_Exp_0 [2025-08-20T21:06:02.903Z] There is 53370 Mb free [2025-08-20T21:06:02.903Z] STF 22:06:02.634 - ================== G E N E R A T I O N ================== [2025-08-20T21:06:02.904Z] STF 22:06:02.635 - Checking JVM: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/../ [2025-08-20T21:06:02.904Z] STF 22:06:02.635 - Starting process to generate scripts: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/..//bin/java -Dlog4j.skipJansi=true -Djava.system.class.loader=net.adoptopenjdk.stf.runner.StfClassLoader -Dload.agent.path=/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/STF/stf.core/scripts/../../stf.load/bin/stf.load.jar -classpath /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/../../testDependency/system_lib//asm/asm.jar:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/../../testDependency/system_lib//asm/asm-commons.jar:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/../../testDependency/system_lib//log4j/log4j-api.jar:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/../../testDependency/system_lib//log4j/log4j-core.jar:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17557228549446/UpgModPath_Exp_0/20250820-220602-UpgModPathTest/stf_parameters.properties, , /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17557228549446/UpgModPath_Exp_0/20250820-220602-UpgModPathTest" [2025-08-20T21:06:02.904Z] GEN stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-08-20T21:06:04.123Z] GEN 22:06:03.662 - Found test. Project: 'openjdk.test.modularity' class: 'UpgModPathTest.class' Dir: '/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin' [2025-08-20T21:06:04.123Z] GEN 22:06:03.677 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.UpgModPathTest' [2025-08-20T21:06:04.123Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2025-08-20T21:06:04.123Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayService [2025-08-20T21:06:04.123Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper [2025-08-20T21:06:04.123Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl1 [2025-08-20T21:06:04.123Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet [2025-08-20T21:06:04.123Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello [2025-08-20T21:06:04.123Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola [2025-08-20T21:06:04.123Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl2 [2025-08-20T21:06:04.123Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hi [2025-08-20T21:06:04.123Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override [2025-08-20T21:06:04.123Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override-new [2025-08-20T21:06:04.123Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl3 [2025-08-20T21:06:04.123Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl4 [2025-08-20T21:06:04.124Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common [2025-08-20T21:06:04.124Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests [2025-08-20T21:06:04.124Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin [2025-08-20T21:06:04.124Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/STF/stf.core/bin [2025-08-20T21:06:04.124Z] GEN /Users/jenkins/testDependency/system_lib/log4j/log4j-api.jar [2025-08-20T21:06:04.124Z] GEN /Users/jenkins/testDependency/system_lib/log4j/log4j-core.jar [2025-08-20T21:06:04.124Z] GEN /Users/jenkins/testDependency/system_lib/junit/junit.jar [2025-08-20T21:06:04.124Z] GEN 22:06:03.885 - Using Mode NoOptions. Values = '' [2025-08-20T21:06:04.124Z] GEN 22:06:03.986 - [2025-08-20T21:06:04.124Z] GEN 22:06:03.986 - Test command summary: [2025-08-20T21:06:04.124Z] GEN 22:06:03.987 - Step Stage Command Description [2025-08-20T21:06:04.124Z] GEN 22:06:03.987 - -----+--------+-----------------+------------ [2025-08-20T21:06:04.124Z] GEN 22:06:03.987 - 1 execute jar Create com.hello jar [2025-08-20T21:06:04.124Z] GEN 22:06:03.987 - 2 execute jar Create com.hola jar [2025-08-20T21:06:04.124Z] GEN 22:06:03.987 - 3 execute jar Create com.helper jar [2025-08-20T21:06:04.124Z] GEN 22:06:03.987 - 4 execute jar Create com.discreet jar [2025-08-20T21:06:04.124Z] GEN 22:06:03.987 - 5 execute jar Create tests jar [2025-08-20T21:06:04.124Z] GEN 22:06:03.987 - 6 execute jlink Create runtime image for upgrademodulepath test [2025-08-20T21:06:04.124Z] GEN 22:06:03.987 - 7 execute Run java Override an application module [2025-08-20T21:06:04.124Z] GEN 22:06:03.988 - 8 execute Run java (Negative test) Override a non-upgradable platform module [2025-08-20T21:06:04.124Z] GEN 22:06:03.988 - 9 execute Run java Combine stderr and stdout files of process OT13 [2025-08-20T21:06:04.124Z] GEN 22:06:03.988 - 10 execute count Check output [2025-08-20T21:06:04.124Z] STF 22:06:04.029 - [2025-08-20T21:06:04.124Z] STF 22:06:04.029 - Script generation completed [2025-08-20T21:06:04.124Z] STF 22:06:04.029 - [2025-08-20T21:06:04.124Z] STF 22:06:04.029 - [2025-08-20T21:06:04.124Z] STF 22:06:04.029 - ======================= S E T U P ======================= [2025-08-20T21:06:04.124Z] STF 22:06:04.029 - Running setup: perl /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17557228549446/UpgModPath_Exp_0/20250820-220602-UpgModPathTest/setUp.pl [2025-08-20T21:06:04.478Z] STF 22:06:04.110 - SETUP stage completed [2025-08-20T21:06:04.478Z] STF 22:06:04.118 - [2025-08-20T21:06:04.478Z] STF 22:06:04.118 - ==================== E X E C U T E - ==================== [2025-08-20T21:06:04.478Z] STF 22:06:04.118 - Running execute: perl /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17557228549446/UpgModPath_Exp_0/20250820-220602-UpgModPathTest/execute.pl [2025-08-20T21:06:04.478Z] STF 22:06:04.197 - [2025-08-20T21:06:04.478Z] STF 22:06:04.197 - Java version [2025-08-20T21:06:04.478Z] STF 22:06:04.197 - Running: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/java -version [2025-08-20T21:06:04.478Z] Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-08-20T21:06:04.478Z] openjdk version "21.0.9-beta" 2025-10-21 [2025-08-20T21:06:04.478Z] OpenJDK Runtime Environment Temurin-21.0.9+4-202508201907 (build 21.0.9-beta+4-ea) [2025-08-20T21:06:04.478Z] OpenJDK 64-Bit Server VM Temurin-21.0.9+4-202508201907 (build 21.0.9-beta+4-ea, mixed mode) [2025-08-20T21:06:04.478Z] STF 22:06:04.315 - [2025-08-20T21:06:04.478Z] STF 22:06:04.315 - +------ Step 1 - Create com.hello jar [2025-08-20T21:06:04.478Z] STF 22:06:04.315 - | Create modular jar [2025-08-20T21:06:04.478Z] STF 22:06:04.316 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2025-08-20T21:06:04.478Z] STF 22:06:04.316 - | ModuleVersion: null [2025-08-20T21:06:04.478Z] STF 22:06:04.316 - | MainClass: null [2025-08-20T21:06:04.478Z] STF 22:06:04.316 - | HashModules: null [2025-08-20T21:06:04.478Z] STF 22:06:04.316 - | [2025-08-20T21:06:04.478Z] STF 22:06:04.316 - Running command: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17557228549446/UpgModPath_Exp_0/20250820-220602-UpgModPathTest/modules/1.com.hello.jar -C /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello . [2025-08-20T21:06:04.478Z] STF 22:06:04.316 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17557228549446/UpgModPath_Exp_0/20250820-220602-UpgModPathTest/results/1.CMJ.stderr [2025-08-20T21:06:04.479Z] STF 22:06:04.316 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17557228549446/UpgModPath_Exp_0/20250820-220602-UpgModPathTest/results/1.CMJ.stdout [2025-08-20T21:06:04.479Z] STF 22:06:04.326 - Monitoring processes: CMJ [2025-08-20T21:06:04.479Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-08-20T21:06:04.840Z] STF 22:06:04.709 - Monitoring Report Summary: [2025-08-20T21:06:04.840Z] STF 22:06:04.710 - o Process CMJ ended with the expected exit code (0) [2025-08-20T21:06:04.840Z] STF 22:06:04.710 - Created modular jar: 1.com.hello.jar [2025-08-20T21:06:04.840Z] STF 22:06:04.710 - [2025-08-20T21:06:04.840Z] STF 22:06:04.710 - +------ Step 2 - Create com.hola jar [2025-08-20T21:06:04.840Z] STF 22:06:04.710 - | Create modular jar [2025-08-20T21:06:04.840Z] STF 22:06:04.710 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2025-08-20T21:06:04.840Z] STF 22:06:04.710 - | ModuleVersion: null [2025-08-20T21:06:04.840Z] STF 22:06:04.710 - | MainClass: null [2025-08-20T21:06:04.840Z] STF 22:06:04.710 - | HashModules: null [2025-08-20T21:06:04.840Z] STF 22:06:04.710 - | [2025-08-20T21:06:04.840Z] STF 22:06:04.711 - Running command: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17557228549446/UpgModPath_Exp_0/20250820-220602-UpgModPathTest/modules/2.com.hola.jar -C /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola . [2025-08-20T21:06:04.840Z] STF 22:06:04.711 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17557228549446/UpgModPath_Exp_0/20250820-220602-UpgModPathTest/results/2.CMJ.stderr [2025-08-20T21:06:04.840Z] STF 22:06:04.711 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17557228549446/UpgModPath_Exp_0/20250820-220602-UpgModPathTest/results/2.CMJ.stdout [2025-08-20T21:06:04.840Z] STF 22:06:04.712 - Monitoring processes: CMJ [2025-08-20T21:06:04.840Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-08-20T21:06:05.193Z] STF 22:06:05.092 - Monitoring Report Summary: [2025-08-20T21:06:05.193Z] STF 22:06:05.092 - o Process CMJ ended with the expected exit code (0) [2025-08-20T21:06:05.193Z] STF 22:06:05.093 - Created modular jar: 2.com.hola.jar [2025-08-20T21:06:05.193Z] STF 22:06:05.093 - [2025-08-20T21:06:05.193Z] STF 22:06:05.093 - +------ Step 3 - Create com.helper jar [2025-08-20T21:06:05.193Z] STF 22:06:05.093 - | Create modular jar [2025-08-20T21:06:05.193Z] STF 22:06:05.093 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2025-08-20T21:06:05.193Z] STF 22:06:05.093 - | ModuleVersion: null [2025-08-20T21:06:05.193Z] STF 22:06:05.093 - | MainClass: null [2025-08-20T21:06:05.193Z] STF 22:06:05.093 - | HashModules: null [2025-08-20T21:06:05.193Z] STF 22:06:05.093 - | [2025-08-20T21:06:05.193Z] STF 22:06:05.093 - Running command: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17557228549446/UpgModPath_Exp_0/20250820-220602-UpgModPathTest/modules/3.com.helper.jar -C /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper . [2025-08-20T21:06:05.193Z] STF 22:06:05.093 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17557228549446/UpgModPath_Exp_0/20250820-220602-UpgModPathTest/results/3.CMJ.stderr [2025-08-20T21:06:05.193Z] STF 22:06:05.093 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17557228549446/UpgModPath_Exp_0/20250820-220602-UpgModPathTest/results/3.CMJ.stdout [2025-08-20T21:06:05.193Z] STF 22:06:05.095 - Monitoring processes: CMJ [2025-08-20T21:06:05.193Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-08-20T21:06:05.546Z] STF 22:06:05.473 - Monitoring Report Summary: [2025-08-20T21:06:05.546Z] STF 22:06:05.473 - o Process CMJ ended with the expected exit code (0) [2025-08-20T21:06:05.546Z] STF 22:06:05.474 - Created modular jar: 3.com.helper.jar [2025-08-20T21:06:05.546Z] STF 22:06:05.474 - [2025-08-20T21:06:05.546Z] STF 22:06:05.474 - +------ Step 4 - Create com.discreet jar [2025-08-20T21:06:05.546Z] STF 22:06:05.474 - | Create modular jar [2025-08-20T21:06:05.546Z] STF 22:06:05.474 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2025-08-20T21:06:05.546Z] STF 22:06:05.474 - | ModuleVersion: null [2025-08-20T21:06:05.546Z] STF 22:06:05.474 - | MainClass: null [2025-08-20T21:06:05.546Z] STF 22:06:05.474 - | HashModules: null [2025-08-20T21:06:05.546Z] STF 22:06:05.474 - | [2025-08-20T21:06:05.546Z] STF 22:06:05.474 - Running command: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17557228549446/UpgModPath_Exp_0/20250820-220602-UpgModPathTest/modules/4.com.discreet.jar -C /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet . [2025-08-20T21:06:05.546Z] STF 22:06:05.474 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17557228549446/UpgModPath_Exp_0/20250820-220602-UpgModPathTest/results/4.CMJ.stderr [2025-08-20T21:06:05.546Z] STF 22:06:05.474 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17557228549446/UpgModPath_Exp_0/20250820-220602-UpgModPathTest/results/4.CMJ.stdout [2025-08-20T21:06:05.546Z] STF 22:06:05.476 - Monitoring processes: CMJ [2025-08-20T21:06:05.546Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-08-20T21:06:05.901Z] STF 22:06:05.856 - Monitoring Report Summary: [2025-08-20T21:06:05.901Z] STF 22:06:05.856 - o Process CMJ ended with the expected exit code (0) [2025-08-20T21:06:05.901Z] STF 22:06:05.857 - Created modular jar: 4.com.discreet.jar [2025-08-20T21:06:05.901Z] STF 22:06:05.857 - [2025-08-20T21:06:05.901Z] STF 22:06:05.857 - +------ Step 5 - Create tests jar [2025-08-20T21:06:05.901Z] STF 22:06:05.857 - | Create modular jar [2025-08-20T21:06:05.901Z] STF 22:06:05.857 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2025-08-20T21:06:05.901Z] STF 22:06:05.857 - | ModuleVersion: null [2025-08-20T21:06:05.901Z] STF 22:06:05.857 - | MainClass: null [2025-08-20T21:06:05.901Z] STF 22:06:05.857 - | HashModules: null [2025-08-20T21:06:05.901Z] STF 22:06:05.857 - | [2025-08-20T21:06:05.901Z] STF 22:06:05.857 - Running command: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17557228549446/UpgModPath_Exp_0/20250820-220602-UpgModPathTest/modules/5.com.test.jar -C /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test . [2025-08-20T21:06:05.901Z] STF 22:06:05.857 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17557228549446/UpgModPath_Exp_0/20250820-220602-UpgModPathTest/results/5.CMJ.stderr [2025-08-20T21:06:05.901Z] STF 22:06:05.857 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17557228549446/UpgModPath_Exp_0/20250820-220602-UpgModPathTest/results/5.CMJ.stdout [2025-08-20T21:06:05.901Z] STF 22:06:05.859 - Monitoring processes: CMJ [2025-08-20T21:06:05.901Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-08-20T21:06:06.658Z] STF 22:06:06.251 - Monitoring Report Summary: [2025-08-20T21:06:06.658Z] STF 22:06:06.251 - o Process CMJ ended with the expected exit code (0) [2025-08-20T21:06:06.658Z] STF 22:06:06.251 - Created modular jar: 5.com.test.jar [2025-08-20T21:06:06.658Z] STF 22:06:06.251 - [2025-08-20T21:06:06.658Z] STF 22:06:06.251 - +------ Step 6 - Create runtime image for upgrademodulepath test [2025-08-20T21:06:06.658Z] STF 22:06:06.251 - | Run jlink to create runtime image [2025-08-20T21:06:06.658Z] STF 22:06:06.251 - | ImageName: UpJVM [2025-08-20T21:06:06.658Z] STF 22:06:06.251 - | [2025-08-20T21:06:06.658Z] STF 22:06:06.251 - Running command: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/jlink --module-path /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/jmods:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17557228549446/UpgModPath_Exp_0/20250820-220602-UpgModPathTest/modules --add-modules com.hello,com.hola,com.test,com.helper,com.discreet --output /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17557228549446/UpgModPath_Exp_0/20250820-220602-UpgModPathTest/tmp/6.UpJVM [2025-08-20T21:06:06.658Z] STF 22:06:06.252 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17557228549446/UpgModPath_Exp_0/20250820-220602-UpgModPathTest/results/6.JLNK.stderr [2025-08-20T21:06:06.658Z] STF 22:06:06.252 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17557228549446/UpgModPath_Exp_0/20250820-220602-UpgModPathTest/results/6.JLNK.stdout [2025-08-20T21:06:06.658Z] STF 22:06:06.253 - Monitoring processes: JLNK [2025-08-20T21:06:06.658Z] JLNK stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-08-20T21:06:09.040Z] STF 22:06:08.787 - Monitoring Report Summary: [2025-08-20T21:06:09.040Z] STF 22:06:08.788 - o Process JLNK ended with the expected exit code (0) [2025-08-20T21:06:09.040Z] STF 22:06:08.788 - [2025-08-20T21:06:09.040Z] STF 22:06:08.788 - +------ Step 7 - Override an application module [2025-08-20T21:06:09.040Z] STF 22:06:08.788 - | Run foreground process [2025-08-20T21:06:09.040Z] STF 22:06:08.788 - | Program: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/java [2025-08-20T21:06:09.040Z] STF 22:06:08.788 - | Mnemonic: OT11 [2025-08-20T21:06:09.040Z] STF 22:06:08.788 - | Echo: ECHO_ON [2025-08-20T21:06:09.040Z] STF 22:06:08.788 - | Expectation: CLEAN_RUN within 1m [2025-08-20T21:06:09.040Z] STF 22:06:08.788 - | [2025-08-20T21:06:09.040Z] STF 22:06:08.788 - Running command: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/java --add-reads com.test=ALL-UNNAMED --module-path /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests --upgrade-module-path /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello --add-modules=com.test -XX:+UseCompressedOops -classpath /Users/jenkins/testDependency/system_lib/junit/junit.jar:/Users/jenkins/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingAppModule [2025-08-20T21:06:09.040Z] STF 22:06:08.788 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17557228549446/UpgModPath_Exp_0/20250820-220602-UpgModPathTest/results/7.OT11.stderr [2025-08-20T21:06:09.040Z] STF 22:06:08.788 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17557228549446/UpgModPath_Exp_0/20250820-220602-UpgModPathTest/results/7.OT11.stdout [2025-08-20T21:06:09.040Z] STF 22:06:08.790 - Monitoring processes: OT11 [2025-08-20T21:06:09.040Z] OT11 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-08-20T21:06:09.394Z] OT11 JUnit version 4.12 [2025-08-20T21:06:09.395Z] OT11 . [2025-08-20T21:06:09.395Z] OT11 Time: 0.007 [2025-08-20T21:06:09.395Z] OT11 [2025-08-20T21:06:09.395Z] OT11 OK (1 test) [2025-08-20T21:06:09.395Z] OT11 [2025-08-20T21:06:09.395Z] STF 22:06:09.189 - Monitoring Report Summary: [2025-08-20T21:06:09.395Z] STF 22:06:09.189 - o Process OT11 ended with the expected exit code (0) [2025-08-20T21:06:09.395Z] STF 22:06:09.190 - [2025-08-20T21:06:09.395Z] STF 22:06:09.190 - +------ Step 8 - (Negative test) Override a non-upgradable platform module [2025-08-20T21:06:09.395Z] STF 22:06:09.190 - | Run foreground process [2025-08-20T21:06:09.395Z] STF 22:06:09.190 - | Program: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/java [2025-08-20T21:06:09.395Z] STF 22:06:09.190 - | Mnemonic: OT13 [2025-08-20T21:06:09.395Z] STF 22:06:09.190 - | Echo: ECHO_ON [2025-08-20T21:06:09.395Z] STF 22:06:09.190 - | Expectation: NON_ZERO_EXIT [1] within 1m [2025-08-20T21:06:09.395Z] STF 22:06:09.190 - | [2025-08-20T21:06:09.395Z] STF 22:06:09.190 - Running command: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/java --add-reads com.test=ALL-UNNAMED --module-path /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests --upgrade-module-path /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/java.logging --add-modules=com.test -XX:+UseCompressedOops -classpath /Users/jenkins/testDependency/system_lib/junit/junit.jar:/Users/jenkins/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingNonUpgradablePlatformModule [2025-08-20T21:06:09.395Z] STF 22:06:09.190 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17557228549446/UpgModPath_Exp_0/20250820-220602-UpgModPathTest/results/8.OT13.stderr [2025-08-20T21:06:09.395Z] STF 22:06:09.190 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17557228549446/UpgModPath_Exp_0/20250820-220602-UpgModPathTest/results/8.OT13.stdout [2025-08-20T21:06:09.395Z] STF 22:06:09.192 - Monitoring processes: OT13 [2025-08-20T21:06:09.395Z] OT13 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-08-20T21:06:09.748Z] OT13 Error occurred during initialization of boot layer [2025-08-20T21:06:09.748Z] OT13 java.lang.module.FindException: Unable to compute the hash of module java.logging [2025-08-20T21:06:09.748Z] STF 22:06:09.416 - Monitoring Report Summary: [2025-08-20T21:06:09.748Z] STF 22:06:09.416 - o Process OT13 ended with the expected exit code (1) [2025-08-20T21:06:09.748Z] STF 22:06:09.417 - [2025-08-20T21:06:09.748Z] STF 22:06:09.417 - +------ Step 9 - Combine stderr and stdout files of process OT13 [2025-08-20T21:06:09.748Z] STF 22:06:09.417 - | Run foreground process [2025-08-20T21:06:09.748Z] STF 22:06:09.417 - | Program: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/java [2025-08-20T21:06:09.748Z] STF 22:06:09.417 - | Mnemonic: CO [2025-08-20T21:06:09.748Z] STF 22:06:09.417 - | Echo: ECHO_OFF [2025-08-20T21:06:09.748Z] STF 22:06:09.417 - | Expectation: NON_ZERO_EXIT [0] within 30s [2025-08-20T21:06:09.748Z] STF 22:06:09.417 - | [2025-08-20T21:06:09.748Z] STF 22:06:09.417 - Running command: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/java -Dfile1=/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17557228549446/UpgModPath_Exp_0/20250820-220602-UpgModPathTest/results/8.OT13.stdout -Dfile2=/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17557228549446/UpgModPath_Exp_0/20250820-220602-UpgModPathTest/results/8.OT13.stderr -Dfinal.file=/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17557228549446/UpgModPath_Exp_0/20250820-220602-UpgModPathTest/results/combinedOT13.txt -XX:+UseCompressedOops -classpath /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/STF/stf.core/bin:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin net.adoptopenjdk.test.modularity.TestUtil [2025-08-20T21:06:09.748Z] STF 22:06:09.417 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17557228549446/UpgModPath_Exp_0/20250820-220602-UpgModPathTest/results/9.CO.stderr [2025-08-20T21:06:09.748Z] STF 22:06:09.417 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17557228549446/UpgModPath_Exp_0/20250820-220602-UpgModPathTest/results/9.CO.stdout [2025-08-20T21:06:09.748Z] STF 22:06:09.419 - Monitoring processes: CO [2025-08-20T21:06:09.748Z] STF 22:06:09.626 - Monitoring Report Summary: [2025-08-20T21:06:09.748Z] STF 22:06:09.626 - o Process CO ended with the expected exit code (0) [2025-08-20T21:06:09.748Z] STF 22:06:09.627 - [2025-08-20T21:06:09.748Z] STF 22:06:09.627 - +------ Step 10 - Check output [2025-08-20T21:06:09.748Z] STF 22:06:09.627 - | Count file matches [2025-08-20T21:06:09.748Z] STF 22:06:09.627 - | TargetFile: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17557228549446/UpgModPath_Exp_0/20250820-220602-UpgModPathTest/results/combinedOT13.txt [2025-08-20T21:06:09.748Z] STF 22:06:09.627 - | ExpectedNumMatches: 1 [2025-08-20T21:06:09.748Z] STF 22:06:09.627 - | SearchStrings: ["FindException: Unable to compute the hash of module java.logging"] [2025-08-20T21:06:09.748Z] STF 22:06:09.627 - | [2025-08-20T21:06:09.748Z] STF 22:06:09.627 - Found 1 instances of ["FindException: Unable to compute the hash of module java.logging"] [2025-08-20T21:06:09.748Z] STF 22:06:09.627 - EXECUTE stage completed [2025-08-20T21:06:09.748Z] STF 22:06:09.668 - [2025-08-20T21:06:09.748Z] STF 22:06:09.668 - ==================== T E A R D O W N ==================== [2025-08-20T21:06:09.748Z] STF 22:06:09.668 - Running teardown: perl /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17557228549446/UpgModPath_Exp_0/20250820-220602-UpgModPathTest/tearDown.pl [2025-08-20T21:06:10.101Z] STF 22:06:09.744 - TEARDOWN stage completed [2025-08-20T21:06:10.101Z] STF 22:06:09.753 - [2025-08-20T21:06:10.101Z] STF 22:06:09.753 - ===================== R E S U L T S ===================== [2025-08-20T21:06:10.101Z] STF 22:06:09.753 - Stage results: [2025-08-20T21:06:10.101Z] STF 22:06:09.753 - setUp: pass [2025-08-20T21:06:10.101Z] STF 22:06:09.753 - execute: pass [2025-08-20T21:06:10.101Z] STF 22:06:09.753 - teardown: pass [2025-08-20T21:06:10.101Z] STF 22:06:09.753 - [2025-08-20T21:06:10.101Z] STF 22:06:09.753 - Overall result: PASSED [2025-08-20T21:06:10.101Z] ----------------------------------- [2025-08-20T21:06:10.101Z] UpgModPath_Exp_0_PASSED [2025-08-20T21:06:10.101Z] ----------------------------------- [2025-08-20T21:06:10.101Z] [2025-08-20T21:06:10.101Z] TEST TEARDOWN: [2025-08-20T21:06:10.101Z] Nothing to be done for teardown. [2025-08-20T21:06:10.101Z] UpgModPath_Exp_0 Finish Time: Wed Aug 20 22:06:09 2025 Epoch Time (ms): 1755723969796