UpgModPath_ExpImg_0

[2025-06-19T09:06:00.562Z] Running test UpgModPath_ExpImg_0 ... [2025-06-19T09:06:00.562Z] =============================================== [2025-06-19T09:06:00.562Z] UpgModPath_ExpImg_0 Start Time: Thu Jun 19 10:06:00 2025 Epoch Time (ms): 1750323960372 [2025-06-19T09:06:00.562Z] variation: Mode150 [2025-06-19T09:06:00.562Z] JVM_OPTIONS: -XX:+UseCompressedOops [2025-06-19T09:06:00.562Z] { \ [2025-06-19T09:06:00.562Z] echo ""; echo "TEST SETUP:"; \ [2025-06-19T09:06:00.562Z] echo "Nothing to be done for setup."; \ [2025-06-19T09:06:00.562Z] mkdir -p "/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17503234712369/UpgModPath_ExpImg_0"; \ [2025-06-19T09:06:00.562Z] cd "/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17503234712369/UpgModPath_ExpImg_0"; \ [2025-06-19T09:06:00.562Z] echo ""; echo "TESTING:"; \ [2025-06-19T09:06:00.562Z] perl /Users/jenkins/workspace/Test_openjdk17_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_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF;/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../../jvmtest/system/modularity/..//aqa-systemtest""" -systemtest-prereqs="/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/../../testDependency/system_lib/" -java-args=' -XX:+UseCompressedOops ' -results-root="/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17503234712369/UpgModPath_ExpImg_0" -test=UpgModPathTest -test-args="variant=ExpImg"; \ [2025-06-19T09:06:00.562Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "UpgModPath_ExpImg_0""_PASSED"; echo "-----------------------------------"; cd /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/..; rm -f -r "/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17503234712369/UpgModPath_ExpImg_0"; else echo "-----------------------------------"; echo "UpgModPath_ExpImg_0""_FAILED"; echo "-----------------------------------"; fi; \ [2025-06-19T09:06:00.562Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-06-19T09:06:00.562Z] echo "Nothing to be done for teardown."; \ [2025-06-19T09:06:00.562Z] } 2>&1 | tee -a "/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17503234712369/TestTargetResult"; [2025-06-19T09:06:00.562Z] [2025-06-19T09:06:00.562Z] TEST SETUP: [2025-06-19T09:06:00.562Z] Nothing to be done for setup. [2025-06-19T09:06:00.562Z] [2025-06-19T09:06:00.562Z] TESTING: [2025-06-19T09:06:00.562Z] STF 10:06:00.469 - ========================= S T F ========================= [2025-06-19T09:06:00.562Z] systemtest-prereqs has been processed, and set to: /Users/jenkins/testDependency/system_libRetrieving amount of free space on drive containing /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17503234712369/UpgModPath_ExpImg_0 [2025-06-19T09:06:00.562Z] There is 52317 Mb free [2025-06-19T09:06:00.562Z] STF 10:06:00.477 - ================== G E N E R A T I O N ================== [2025-06-19T09:06:00.562Z] STF 10:06:00.479 - Checking JVM: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/../ [2025-06-19T09:06:00.562Z] STF 10:06:00.479 - Starting process to generate scripts: /Users/jenkins/workspace/Test_openjdk17_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_openjdk17_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_openjdk17_hs_sanity.system_x86-64_mac_testList_2/../../testDependency/system_lib//asm/asm.jar:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/../../testDependency/system_lib//asm/asm-commons.jar:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/../../testDependency/system_lib//log4j/log4j-api.jar:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/../../testDependency/system_lib//log4j/log4j-core.jar:/Users/jenkins/workspace/Test_openjdk17_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_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17503234712369/UpgModPath_ExpImg_0/20250619-100600-UpgModPathTest/stf_parameters.properties, , /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17503234712369/UpgModPath_ExpImg_0/20250619-100600-UpgModPathTest" [2025-06-19T09:06:01.782Z] GEN 10:06:01.350 - Found test. Project: 'openjdk.test.modularity' class: 'UpgModPathTest.class' Dir: '/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin' [2025-06-19T09:06:01.782Z] GEN 10:06:01.371 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.UpgModPathTest' [2025-06-19T09:06:01.782Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2025-06-19T09:06:01.782Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayService [2025-06-19T09:06:01.782Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper [2025-06-19T09:06:01.782Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl1 [2025-06-19T09:06:01.782Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet [2025-06-19T09:06:01.782Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello [2025-06-19T09:06:01.782Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola [2025-06-19T09:06:01.782Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl2 [2025-06-19T09:06:01.782Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hi [2025-06-19T09:06:01.782Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override [2025-06-19T09:06:01.782Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override-new [2025-06-19T09:06:01.782Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl3 [2025-06-19T09:06:01.782Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl4 [2025-06-19T09:06:01.782Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common [2025-06-19T09:06:01.782Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests [2025-06-19T09:06:01.782Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin [2025-06-19T09:06:01.782Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/STF/stf.core/bin [2025-06-19T09:06:01.782Z] GEN /Users/jenkins/testDependency/system_lib/log4j/log4j-api.jar [2025-06-19T09:06:01.782Z] GEN /Users/jenkins/testDependency/system_lib/log4j/log4j-core.jar [2025-06-19T09:06:01.782Z] GEN /Users/jenkins/testDependency/system_lib/junit/junit.jar [2025-06-19T09:06:01.782Z] GEN 10:06:01.580 - Using Mode NoOptions. Values = '' [2025-06-19T09:06:01.782Z] GEN 10:06:01.671 - [2025-06-19T09:06:01.782Z] GEN 10:06:01.671 - Test command summary: [2025-06-19T09:06:01.783Z] GEN 10:06:01.671 - Step Stage Command Description [2025-06-19T09:06:01.783Z] GEN 10:06:01.671 - -----+--------+-----------------+------------ [2025-06-19T09:06:01.783Z] GEN 10:06:01.672 - 1 execute jar Create com.hello jar [2025-06-19T09:06:01.783Z] GEN 10:06:01.672 - 2 execute jar Create com.hola jar [2025-06-19T09:06:01.783Z] GEN 10:06:01.672 - 3 execute jar Create com.helper jar [2025-06-19T09:06:01.783Z] GEN 10:06:01.672 - 4 execute jar Create com.discreet jar [2025-06-19T09:06:01.783Z] GEN 10:06:01.672 - 5 execute jar Create tests jar [2025-06-19T09:06:01.783Z] GEN 10:06:01.672 - 6 execute jlink Create runtime image for upgrademodulepath test [2025-06-19T09:06:01.783Z] GEN 10:06:01.672 - 7 execute Run java Override an application module using a custom runtime image [2025-06-19T09:06:01.783Z] GEN 10:06:01.672 - 8 execute Run java (Negative test) Override a non-upgradable platform module using a custom runtime image [2025-06-19T09:06:01.783Z] GEN 10:06:01.673 - 9 execute Run java Combine stderr and stdout files of process OT16 [2025-06-19T09:06:01.783Z] GEN 10:06:01.673 - 10 execute count Check output [2025-06-19T09:06:01.783Z] STF 10:06:01.707 - [2025-06-19T09:06:01.783Z] STF 10:06:01.707 - Script generation completed [2025-06-19T09:06:01.783Z] STF 10:06:01.707 - [2025-06-19T09:06:01.783Z] STF 10:06:01.707 - [2025-06-19T09:06:01.783Z] STF 10:06:01.707 - ======================= S E T U P ======================= [2025-06-19T09:06:01.783Z] STF 10:06:01.707 - Running setup: perl /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17503234712369/UpgModPath_ExpImg_0/20250619-100600-UpgModPathTest/setUp.pl [2025-06-19T09:06:02.142Z] STF 10:06:01.784 - SETUP stage completed [2025-06-19T09:06:02.142Z] STF 10:06:01.794 - [2025-06-19T09:06:02.142Z] STF 10:06:01.795 - ==================== E X E C U T E - ==================== [2025-06-19T09:06:02.142Z] STF 10:06:01.795 - Running execute: perl /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17503234712369/UpgModPath_ExpImg_0/20250619-100600-UpgModPathTest/execute.pl [2025-06-19T09:06:02.142Z] STF 10:06:01.874 - [2025-06-19T09:06:02.142Z] STF 10:06:01.875 - Java version [2025-06-19T09:06:02.142Z] STF 10:06:01.875 - Running: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/java -version [2025-06-19T09:06:02.142Z] STF 10:06:01.976 - [2025-06-19T09:06:02.142Z] STF 10:06:01.976 - +------ Step 1 - Create com.hello jar [2025-06-19T09:06:02.142Z] STF 10:06:01.976 - | Create modular jar [2025-06-19T09:06:02.142Z] STF 10:06:01.976 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2025-06-19T09:06:02.142Z] STF 10:06:01.976 - | ModuleVersion: null [2025-06-19T09:06:02.142Z] STF 10:06:01.976 - | MainClass: null [2025-06-19T09:06:02.142Z] STF 10:06:01.976 - | HashModules: null [2025-06-19T09:06:02.142Z] STF 10:06:01.976 - | [2025-06-19T09:06:02.142Z] openjdk version "17.0.16-beta" 2025-07-15 [2025-06-19T09:06:02.142Z] OpenJDK Runtime Environment Temurin-17.0.16+7-202506181933 (build 17.0.16-beta+7-ea) [2025-06-19T09:06:02.142Z] OpenJDK 64-Bit Server VM Temurin-17.0.16+7-202506181933 (build 17.0.16-beta+7-ea, mixed mode) [2025-06-19T09:06:02.142Z] STF 10:06:01.977 - Running command: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17503234712369/UpgModPath_ExpImg_0/20250619-100600-UpgModPathTest/modules/1.com.hello.jar -C /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello . [2025-06-19T09:06:02.142Z] STF 10:06:01.977 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17503234712369/UpgModPath_ExpImg_0/20250619-100600-UpgModPathTest/results/1.CMJ.stderr [2025-06-19T09:06:02.142Z] STF 10:06:01.977 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17503234712369/UpgModPath_ExpImg_0/20250619-100600-UpgModPathTest/results/1.CMJ.stdout [2025-06-19T09:06:02.142Z] STF 10:06:01.988 - Monitoring processes: CMJ [2025-06-19T09:06:02.494Z] STF 10:06:02.284 - Monitoring Report Summary: [2025-06-19T09:06:02.494Z] STF 10:06:02.284 - o Process CMJ ended with the expected exit code (0) [2025-06-19T09:06:02.494Z] STF 10:06:02.284 - Created modular jar: 1.com.hello.jar [2025-06-19T09:06:02.494Z] STF 10:06:02.284 - [2025-06-19T09:06:02.494Z] STF 10:06:02.284 - +------ Step 2 - Create com.hola jar [2025-06-19T09:06:02.494Z] STF 10:06:02.284 - | Create modular jar [2025-06-19T09:06:02.494Z] STF 10:06:02.284 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2025-06-19T09:06:02.494Z] STF 10:06:02.284 - | ModuleVersion: null [2025-06-19T09:06:02.494Z] STF 10:06:02.284 - | MainClass: null [2025-06-19T09:06:02.494Z] STF 10:06:02.284 - | HashModules: null [2025-06-19T09:06:02.494Z] STF 10:06:02.284 - | [2025-06-19T09:06:02.494Z] STF 10:06:02.285 - Running command: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17503234712369/UpgModPath_ExpImg_0/20250619-100600-UpgModPathTest/modules/2.com.hola.jar -C /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola . [2025-06-19T09:06:02.494Z] STF 10:06:02.285 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17503234712369/UpgModPath_ExpImg_0/20250619-100600-UpgModPathTest/results/2.CMJ.stderr [2025-06-19T09:06:02.494Z] STF 10:06:02.285 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17503234712369/UpgModPath_ExpImg_0/20250619-100600-UpgModPathTest/results/2.CMJ.stdout [2025-06-19T09:06:02.494Z] STF 10:06:02.287 - Monitoring processes: CMJ [2025-06-19T09:06:02.847Z] STF 10:06:02.565 - Monitoring Report Summary: [2025-06-19T09:06:02.847Z] STF 10:06:02.565 - o Process CMJ ended with the expected exit code (0) [2025-06-19T09:06:02.847Z] STF 10:06:02.566 - Created modular jar: 2.com.hola.jar [2025-06-19T09:06:02.847Z] STF 10:06:02.566 - [2025-06-19T09:06:02.847Z] STF 10:06:02.566 - +------ Step 3 - Create com.helper jar [2025-06-19T09:06:02.847Z] STF 10:06:02.566 - | Create modular jar [2025-06-19T09:06:02.847Z] STF 10:06:02.566 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2025-06-19T09:06:02.847Z] STF 10:06:02.566 - | ModuleVersion: null [2025-06-19T09:06:02.847Z] STF 10:06:02.566 - | MainClass: null [2025-06-19T09:06:02.847Z] STF 10:06:02.566 - | HashModules: null [2025-06-19T09:06:02.847Z] STF 10:06:02.566 - | [2025-06-19T09:06:02.847Z] STF 10:06:02.566 - Running command: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17503234712369/UpgModPath_ExpImg_0/20250619-100600-UpgModPathTest/modules/3.com.helper.jar -C /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper . [2025-06-19T09:06:02.847Z] STF 10:06:02.566 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17503234712369/UpgModPath_ExpImg_0/20250619-100600-UpgModPathTest/results/3.CMJ.stderr [2025-06-19T09:06:02.847Z] STF 10:06:02.566 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17503234712369/UpgModPath_ExpImg_0/20250619-100600-UpgModPathTest/results/3.CMJ.stdout [2025-06-19T09:06:02.847Z] STF 10:06:02.568 - Monitoring processes: CMJ [2025-06-19T09:06:03.201Z] STF 10:06:02.869 - Monitoring Report Summary: [2025-06-19T09:06:03.201Z] STF 10:06:02.869 - o Process CMJ ended with the expected exit code (0) [2025-06-19T09:06:03.201Z] STF 10:06:02.870 - Created modular jar: 3.com.helper.jar [2025-06-19T09:06:03.201Z] STF 10:06:02.870 - [2025-06-19T09:06:03.201Z] STF 10:06:02.870 - +------ Step 4 - Create com.discreet jar [2025-06-19T09:06:03.201Z] STF 10:06:02.870 - | Create modular jar [2025-06-19T09:06:03.201Z] STF 10:06:02.870 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2025-06-19T09:06:03.201Z] STF 10:06:02.870 - | ModuleVersion: null [2025-06-19T09:06:03.201Z] STF 10:06:02.870 - | MainClass: null [2025-06-19T09:06:03.201Z] STF 10:06:02.870 - | HashModules: null [2025-06-19T09:06:03.201Z] STF 10:06:02.870 - | [2025-06-19T09:06:03.201Z] STF 10:06:02.870 - Running command: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17503234712369/UpgModPath_ExpImg_0/20250619-100600-UpgModPathTest/modules/4.com.discreet.jar -C /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet . [2025-06-19T09:06:03.201Z] STF 10:06:02.870 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17503234712369/UpgModPath_ExpImg_0/20250619-100600-UpgModPathTest/results/4.CMJ.stderr [2025-06-19T09:06:03.201Z] STF 10:06:02.870 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17503234712369/UpgModPath_ExpImg_0/20250619-100600-UpgModPathTest/results/4.CMJ.stdout [2025-06-19T09:06:03.201Z] STF 10:06:02.872 - Monitoring processes: CMJ [2025-06-19T09:06:03.201Z] STF 10:06:03.151 - Monitoring Report Summary: [2025-06-19T09:06:03.201Z] STF 10:06:03.151 - o Process CMJ ended with the expected exit code (0) [2025-06-19T09:06:03.201Z] STF 10:06:03.152 - Created modular jar: 4.com.discreet.jar [2025-06-19T09:06:03.201Z] STF 10:06:03.152 - [2025-06-19T09:06:03.201Z] STF 10:06:03.152 - +------ Step 5 - Create tests jar [2025-06-19T09:06:03.201Z] STF 10:06:03.152 - | Create modular jar [2025-06-19T09:06:03.201Z] STF 10:06:03.152 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2025-06-19T09:06:03.201Z] STF 10:06:03.152 - | ModuleVersion: null [2025-06-19T09:06:03.201Z] STF 10:06:03.152 - | MainClass: null [2025-06-19T09:06:03.201Z] STF 10:06:03.152 - | HashModules: null [2025-06-19T09:06:03.201Z] STF 10:06:03.152 - | [2025-06-19T09:06:03.201Z] STF 10:06:03.152 - Running command: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17503234712369/UpgModPath_ExpImg_0/20250619-100600-UpgModPathTest/modules/5.com.test.jar -C /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test . [2025-06-19T09:06:03.201Z] STF 10:06:03.152 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17503234712369/UpgModPath_ExpImg_0/20250619-100600-UpgModPathTest/results/5.CMJ.stderr [2025-06-19T09:06:03.201Z] STF 10:06:03.152 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17503234712369/UpgModPath_ExpImg_0/20250619-100600-UpgModPathTest/results/5.CMJ.stdout [2025-06-19T09:06:03.201Z] STF 10:06:03.154 - Monitoring processes: CMJ [2025-06-19T09:06:03.555Z] STF 10:06:03.455 - Monitoring Report Summary: [2025-06-19T09:06:03.555Z] STF 10:06:03.455 - o Process CMJ ended with the expected exit code (0) [2025-06-19T09:06:03.555Z] STF 10:06:03.455 - Created modular jar: 5.com.test.jar [2025-06-19T09:06:03.555Z] STF 10:06:03.455 - [2025-06-19T09:06:03.555Z] STF 10:06:03.455 - +------ Step 6 - Create runtime image for upgrademodulepath test [2025-06-19T09:06:03.555Z] STF 10:06:03.455 - | Run jlink to create runtime image [2025-06-19T09:06:03.555Z] STF 10:06:03.455 - | ImageName: UpJVM [2025-06-19T09:06:03.555Z] STF 10:06:03.455 - | [2025-06-19T09:06:03.555Z] STF 10:06:03.456 - Running command: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/jlink --module-path /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/jmods:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17503234712369/UpgModPath_ExpImg_0/20250619-100600-UpgModPathTest/modules --add-modules com.hello,com.hola,com.test,com.helper,com.discreet --output /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17503234712369/UpgModPath_ExpImg_0/20250619-100600-UpgModPathTest/tmp/6.UpJVM [2025-06-19T09:06:03.555Z] STF 10:06:03.456 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17503234712369/UpgModPath_ExpImg_0/20250619-100600-UpgModPathTest/results/6.JLNK.stderr [2025-06-19T09:06:03.555Z] STF 10:06:03.456 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17503234712369/UpgModPath_ExpImg_0/20250619-100600-UpgModPathTest/results/6.JLNK.stdout [2025-06-19T09:06:03.555Z] STF 10:06:03.457 - Monitoring processes: JLNK [2025-06-19T09:06:05.929Z] STF 10:06:05.831 - Monitoring Report Summary: [2025-06-19T09:06:05.929Z] STF 10:06:05.831 - o Process JLNK ended with the expected exit code (0) [2025-06-19T09:06:05.929Z] STF 10:06:05.832 - [2025-06-19T09:06:05.929Z] STF 10:06:05.832 - +------ Step 7 - Override an application module using a custom runtime image [2025-06-19T09:06:05.929Z] STF 10:06:05.832 - | Run foreground process [2025-06-19T09:06:05.929Z] STF 10:06:05.832 - | Program: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17503234712369/UpgModPath_ExpImg_0/20250619-100600-UpgModPathTest/tmp/6.UpJVM/bin/java [2025-06-19T09:06:05.929Z] STF 10:06:05.832 - | Mnemonic: OT14 [2025-06-19T09:06:05.929Z] STF 10:06:05.832 - | Echo: ECHO_ON [2025-06-19T09:06:05.929Z] STF 10:06:05.832 - | Expectation: CLEAN_RUN within 1m [2025-06-19T09:06:05.929Z] STF 10:06:05.832 - | [2025-06-19T09:06:05.929Z] STF 10:06:05.832 - Running command: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17503234712369/UpgModPath_ExpImg_0/20250619-100600-UpgModPathTest/tmp/6.UpJVM/bin/java --add-reads com.test=ALL-UNNAMED --upgrade-module-path /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello -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-06-19T09:06:05.929Z] STF 10:06:05.832 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17503234712369/UpgModPath_ExpImg_0/20250619-100600-UpgModPathTest/results/7.OT14.stderr [2025-06-19T09:06:05.929Z] STF 10:06:05.832 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17503234712369/UpgModPath_ExpImg_0/20250619-100600-UpgModPathTest/results/7.OT14.stdout [2025-06-19T09:06:05.929Z] STF 10:06:05.834 - Monitoring processes: OT14 [2025-06-19T09:06:06.282Z] OT14 JUnit version 4.12 [2025-06-19T09:06:06.635Z] OT14 . [2025-06-19T09:06:06.635Z] OT14 Time: 0.005 [2025-06-19T09:06:06.635Z] OT14 [2025-06-19T09:06:06.635Z] OT14 OK (1 test) [2025-06-19T09:06:06.635Z] OT14 [2025-06-19T09:06:06.635Z] STF 10:06:06.295 - Monitoring Report Summary: [2025-06-19T09:06:06.635Z] STF 10:06:06.295 - o Process OT14 ended with the expected exit code (0) [2025-06-19T09:06:06.635Z] STF 10:06:06.296 - [2025-06-19T09:06:06.635Z] STF 10:06:06.296 - +------ Step 8 - (Negative test) Override a non-upgradable platform module using a custom runtime image [2025-06-19T09:06:06.635Z] STF 10:06:06.296 - | Run foreground process [2025-06-19T09:06:06.635Z] STF 10:06:06.296 - | Program: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17503234712369/UpgModPath_ExpImg_0/20250619-100600-UpgModPathTest/tmp/6.UpJVM/bin/java [2025-06-19T09:06:06.635Z] STF 10:06:06.296 - | Mnemonic: OT16 [2025-06-19T09:06:06.635Z] STF 10:06:06.296 - | Echo: ECHO_ON [2025-06-19T09:06:06.635Z] STF 10:06:06.296 - | Expectation: NON_ZERO_EXIT [1] within 1m [2025-06-19T09:06:06.635Z] STF 10:06:06.296 - | [2025-06-19T09:06:06.635Z] STF 10:06:06.296 - Running command: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17503234712369/UpgModPath_ExpImg_0/20250619-100600-UpgModPathTest/tmp/6.UpJVM/bin/java --add-reads com.test=ALL-UNNAMED --upgrade-module-path /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/java.logging -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-06-19T09:06:06.635Z] STF 10:06:06.296 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17503234712369/UpgModPath_ExpImg_0/20250619-100600-UpgModPathTest/results/8.OT16.stderr [2025-06-19T09:06:06.635Z] STF 10:06:06.296 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17503234712369/UpgModPath_ExpImg_0/20250619-100600-UpgModPathTest/results/8.OT16.stdout [2025-06-19T09:06:06.635Z] STF 10:06:06.298 - Monitoring processes: OT16 [2025-06-19T09:06:06.635Z] OT16 Error occurred during initialization of boot layer [2025-06-19T09:06:06.635Z] OT16 java.lang.module.FindException: Unable to compute the hash of module java.logging [2025-06-19T09:06:06.635Z] STF 10:06:06.473 - Monitoring Report Summary: [2025-06-19T09:06:06.635Z] STF 10:06:06.473 - o Process OT16 ended with the expected exit code (1) [2025-06-19T09:06:06.635Z] STF 10:06:06.473 - [2025-06-19T09:06:06.635Z] STF 10:06:06.473 - +------ Step 9 - Combine stderr and stdout files of process OT16 [2025-06-19T09:06:06.635Z] STF 10:06:06.473 - | Run foreground process [2025-06-19T09:06:06.635Z] STF 10:06:06.473 - | Program: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/java [2025-06-19T09:06:06.635Z] STF 10:06:06.473 - | Mnemonic: CO [2025-06-19T09:06:06.635Z] STF 10:06:06.473 - | Echo: ECHO_OFF [2025-06-19T09:06:06.635Z] STF 10:06:06.473 - | Expectation: NON_ZERO_EXIT [0] within 5m [2025-06-19T09:06:06.635Z] STF 10:06:06.473 - | [2025-06-19T09:06:06.635Z] STF 10:06:06.474 - Running command: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/java -Dfile1=/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17503234712369/UpgModPath_ExpImg_0/20250619-100600-UpgModPathTest/results/8.OT16.stdout -Dfile2=/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17503234712369/UpgModPath_ExpImg_0/20250619-100600-UpgModPathTest/results/8.OT16.stderr -Dfinal.file=/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17503234712369/UpgModPath_ExpImg_0/20250619-100600-UpgModPathTest/results/combinedOT16.txt -XX:+UseCompressedOops -classpath /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/STF/stf.core/bin:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin net.adoptopenjdk.test.modularity.TestUtil [2025-06-19T09:06:06.635Z] STF 10:06:06.474 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17503234712369/UpgModPath_ExpImg_0/20250619-100600-UpgModPathTest/results/9.CO.stderr [2025-06-19T09:06:06.635Z] STF 10:06:06.474 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17503234712369/UpgModPath_ExpImg_0/20250619-100600-UpgModPathTest/results/9.CO.stdout [2025-06-19T09:06:06.635Z] STF 10:06:06.475 - Monitoring processes: CO [2025-06-19T09:06:06.989Z] STF 10:06:06.690 - Monitoring Report Summary: [2025-06-19T09:06:06.989Z] STF 10:06:06.691 - o Process CO ended with the expected exit code (0) [2025-06-19T09:06:06.989Z] STF 10:06:06.691 - [2025-06-19T09:06:06.989Z] STF 10:06:06.691 - +------ Step 10 - Check output [2025-06-19T09:06:06.989Z] STF 10:06:06.691 - | Count file matches [2025-06-19T09:06:06.989Z] STF 10:06:06.691 - | TargetFile: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17503234712369/UpgModPath_ExpImg_0/20250619-100600-UpgModPathTest/results/combinedOT16.txt [2025-06-19T09:06:06.989Z] STF 10:06:06.691 - | ExpectedNumMatches: 1 [2025-06-19T09:06:06.989Z] STF 10:06:06.691 - | SearchStrings: ["FindException: Unable to compute the hash of module java.logging"] [2025-06-19T09:06:06.989Z] STF 10:06:06.691 - | [2025-06-19T09:06:06.989Z] STF 10:06:06.691 - Found 1 instances of ["FindException: Unable to compute the hash of module java.logging"] [2025-06-19T09:06:06.989Z] STF 10:06:06.691 - EXECUTE stage completed [2025-06-19T09:06:06.989Z] STF 10:06:06.729 - [2025-06-19T09:06:06.989Z] STF 10:06:06.729 - ==================== T E A R D O W N ==================== [2025-06-19T09:06:06.989Z] STF 10:06:06.729 - Running teardown: perl /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17503234712369/UpgModPath_ExpImg_0/20250619-100600-UpgModPathTest/tearDown.pl [2025-06-19T09:06:06.989Z] STF 10:06:06.805 - TEARDOWN stage completed [2025-06-19T09:06:06.989Z] STF 10:06:06.812 - [2025-06-19T09:06:06.989Z] STF 10:06:06.812 - ===================== R E S U L T S ===================== [2025-06-19T09:06:06.989Z] STF 10:06:06.812 - Stage results: [2025-06-19T09:06:06.989Z] STF 10:06:06.812 - setUp: pass [2025-06-19T09:06:06.989Z] STF 10:06:06.812 - execute: pass [2025-06-19T09:06:06.989Z] STF 10:06:06.812 - teardown: pass [2025-06-19T09:06:06.989Z] STF 10:06:06.812 - [2025-06-19T09:06:06.989Z] STF 10:06:06.812 - Overall result: PASSED [2025-06-19T09:06:06.989Z] ----------------------------------- [2025-06-19T09:06:06.989Z] UpgModPath_ExpImg_0_PASSED [2025-06-19T09:06:06.989Z] ----------------------------------- [2025-06-19T09:06:06.989Z] [2025-06-19T09:06:06.989Z] TEST TEARDOWN: [2025-06-19T09:06:06.989Z] Nothing to be done for teardown. [2025-06-19T09:06:06.989Z] UpgModPath_ExpImg_0 Finish Time: Thu Jun 19 10:06:06 2025 Epoch Time (ms): 1750323966857