UpgModPath_ExpImg_1

[2025-05-17T04:07:42.773Z] Running test UpgModPath_ExpImg_1 ... [2025-05-17T04:07:42.773Z] =============================================== [2025-05-17T04:07:42.773Z] UpgModPath_ExpImg_1 Start Time: Sat May 17 05:07:42 2025 Epoch Time (ms): 1747454862586 [2025-05-17T04:07:42.774Z] variation: Mode650 [2025-05-17T04:07:42.774Z] JVM_OPTIONS: -XX:-UseCompressedOops [2025-05-17T04:07:42.774Z] { \ [2025-05-17T04:07:42.774Z] echo ""; echo "TEST SETUP:"; \ [2025-05-17T04:07:42.774Z] echo "Nothing to be done for setup."; \ [2025-05-17T04:07:42.774Z] mkdir -p "/Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17474541721592/UpgModPath_ExpImg_1"; \ [2025-05-17T04:07:42.774Z] cd "/Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17474541721592/UpgModPath_ExpImg_1"; \ [2025-05-17T04:07:42.774Z] echo ""; echo "TESTING:"; \ [2025-05-17T04:07:42.774Z] perl /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF/stf.core/scripts/stf.pl -test-root="/Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF;/Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../../jvmtest/system/modularity/..//aqa-systemtest""" -systemtest-prereqs="/Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/../../testDependency/system_lib/" -java-args=' -XX:-UseCompressedOops ' -results-root="/Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17474541721592/UpgModPath_ExpImg_1" -test=UpgModPathTest -test-args="variant=ExpImg"; \ [2025-05-17T04:07:42.774Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "UpgModPath_ExpImg_1""_PASSED"; echo "-----------------------------------"; cd /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/..; rm -f -r "/Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17474541721592/UpgModPath_ExpImg_1"; else echo "-----------------------------------"; echo "UpgModPath_ExpImg_1""_FAILED"; echo "-----------------------------------"; fi; \ [2025-05-17T04:07:42.774Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-05-17T04:07:42.774Z] echo "Nothing to be done for teardown."; \ [2025-05-17T04:07:42.774Z] } 2>&1 | tee -a "/Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17474541721592/TestTargetResult"; [2025-05-17T04:07:42.774Z] [2025-05-17T04:07:42.774Z] TEST SETUP: [2025-05-17T04:07:42.774Z] Nothing to be done for setup. [2025-05-17T04:07:42.774Z] [2025-05-17T04:07:42.774Z] TESTING: [2025-05-17T04:07:42.774Z] STF 05:07:42.682 - ========================= S T F ========================= [2025-05-17T04:07:42.774Z] systemtest-prereqs has been processed, and set to: /Users/jenkins/testDependency/system_libRetrieving amount of free space on drive containing /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17474541721592/UpgModPath_ExpImg_1 [2025-05-17T04:07:42.774Z] There is 51468 Mb free [2025-05-17T04:07:42.774Z] STF 05:07:42.695 - ================== G E N E R A T I O N ================== [2025-05-17T04:07:42.774Z] STF 05:07:42.697 - Checking JVM: /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/../ [2025-05-17T04:07:42.774Z] STF 05:07:42.697 - Starting process to generate scripts: /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/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_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/STF/stf.core/scripts/../../stf.load/bin/stf.load.jar -classpath /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/../../testDependency/system_lib//asm/asm.jar:/Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/../../testDependency/system_lib//asm/asm-commons.jar:/Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/../../testDependency/system_lib//log4j/log4j-api.jar:/Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/../../testDependency/system_lib//log4j/log4j-core.jar:/Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "/Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17474541721592/UpgModPath_ExpImg_1/20250517-050742-UpgModPathTest/stf_parameters.properties, , /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "/Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17474541721592/UpgModPath_ExpImg_1/20250517-050742-UpgModPathTest" [2025-05-17T04:07:43.996Z] GEN 05:07:43.720 - Found test. Project: 'openjdk.test.modularity' class: 'UpgModPathTest.class' Dir: '/Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin' [2025-05-17T04:07:43.996Z] GEN 05:07:43.738 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.UpgModPathTest' [2025-05-17T04:07:43.996Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2025-05-17T04:07:43.996Z] GEN /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayService [2025-05-17T04:07:43.996Z] GEN /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper [2025-05-17T04:07:43.996Z] GEN /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl1 [2025-05-17T04:07:43.996Z] GEN /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet [2025-05-17T04:07:43.996Z] GEN /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello [2025-05-17T04:07:43.996Z] GEN /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola [2025-05-17T04:07:43.996Z] GEN /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl2 [2025-05-17T04:07:43.996Z] GEN /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hi [2025-05-17T04:07:43.996Z] GEN /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override [2025-05-17T04:07:43.996Z] GEN /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override-new [2025-05-17T04:07:43.996Z] GEN /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl3 [2025-05-17T04:07:43.996Z] GEN /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl4 [2025-05-17T04:07:43.996Z] GEN /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common [2025-05-17T04:07:43.996Z] GEN /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests [2025-05-17T04:07:43.996Z] GEN /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin [2025-05-17T04:07:43.996Z] GEN /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/STF/stf.core/bin [2025-05-17T04:07:43.996Z] GEN /Users/jenkins/testDependency/system_lib/log4j/log4j-api.jar [2025-05-17T04:07:43.996Z] GEN /Users/jenkins/testDependency/system_lib/log4j/log4j-core.jar [2025-05-17T04:07:43.996Z] GEN /Users/jenkins/testDependency/system_lib/junit/junit.jar [2025-05-17T04:07:43.996Z] GEN 05:07:43.968 - Using Mode NoOptions. Values = '' [2025-05-17T04:07:44.350Z] GEN 05:07:44.090 - [2025-05-17T04:07:44.350Z] GEN 05:07:44.090 - Test command summary: [2025-05-17T04:07:44.350Z] GEN 05:07:44.091 - Step Stage Command Description [2025-05-17T04:07:44.350Z] GEN 05:07:44.091 - -----+--------+-----------------+------------ [2025-05-17T04:07:44.350Z] GEN 05:07:44.091 - 1 execute jar Create com.hello jar [2025-05-17T04:07:44.350Z] GEN 05:07:44.091 - 2 execute jar Create com.hola jar [2025-05-17T04:07:44.350Z] GEN 05:07:44.091 - 3 execute jar Create com.helper jar [2025-05-17T04:07:44.350Z] GEN 05:07:44.091 - 4 execute jar Create com.discreet jar [2025-05-17T04:07:44.350Z] GEN 05:07:44.092 - 5 execute jar Create tests jar [2025-05-17T04:07:44.350Z] GEN 05:07:44.092 - 6 execute jlink Create runtime image for upgrademodulepath test [2025-05-17T04:07:44.350Z] GEN 05:07:44.092 - 7 execute Run java Override an application module using a custom runtime image [2025-05-17T04:07:44.350Z] GEN 05:07:44.092 - 8 execute Run java (Negative test) Override a non-upgradable platform module using a custom runtime image [2025-05-17T04:07:44.350Z] GEN 05:07:44.092 - 9 execute Run java Combine stderr and stdout files of process OT16 [2025-05-17T04:07:44.350Z] GEN 05:07:44.092 - 10 execute count Check output [2025-05-17T04:07:44.350Z] STF 05:07:44.136 - [2025-05-17T04:07:44.350Z] STF 05:07:44.136 - Script generation completed [2025-05-17T04:07:44.350Z] STF 05:07:44.136 - [2025-05-17T04:07:44.350Z] STF 05:07:44.137 - [2025-05-17T04:07:44.350Z] STF 05:07:44.137 - ======================= S E T U P ======================= [2025-05-17T04:07:44.350Z] STF 05:07:44.137 - Running setup: perl /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17474541721592/UpgModPath_ExpImg_1/20250517-050742-UpgModPathTest/setUp.pl [2025-05-17T04:07:44.350Z] STF 05:07:44.215 - SETUP stage completed [2025-05-17T04:07:44.350Z] STF 05:07:44.226 - [2025-05-17T04:07:44.350Z] STF 05:07:44.226 - ==================== E X E C U T E - ==================== [2025-05-17T04:07:44.350Z] STF 05:07:44.226 - Running execute: perl /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17474541721592/UpgModPath_ExpImg_1/20250517-050742-UpgModPathTest/execute.pl [2025-05-17T04:07:44.350Z] STF 05:07:44.303 - [2025-05-17T04:07:44.350Z] STF 05:07:44.303 - Java version [2025-05-17T04:07:44.350Z] STF 05:07:44.303 - Running: /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/java -version [2025-05-17T04:07:44.704Z] STF 05:07:44.414 - [2025-05-17T04:07:44.704Z] STF 05:07:44.414 - +------ Step 1 - Create com.hello jar [2025-05-17T04:07:44.704Z] STF 05:07:44.414 - | Create modular jar [2025-05-17T04:07:44.704Z] STF 05:07:44.414 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2025-05-17T04:07:44.704Z] STF 05:07:44.414 - | ModuleVersion: null [2025-05-17T04:07:44.704Z] STF 05:07:44.414 - | MainClass: null [2025-05-17T04:07:44.704Z] STF 05:07:44.414 - | HashModules: null [2025-05-17T04:07:44.704Z] STF 05:07:44.414 - | [2025-05-17T04:07:44.704Z] openjdk version "11.0.28-beta" 2025-07-15 [2025-05-17T04:07:44.704Z] OpenJDK Runtime Environment Temurin-11.0.28+2-202505162114 (build 11.0.28-beta+2-ea) [2025-05-17T04:07:44.704Z] OpenJDK 64-Bit Server VM Temurin-11.0.28+2-202505162114 (build 11.0.28-beta+2-ea, mixed mode) [2025-05-17T04:07:44.704Z] STF 05:07:44.415 - Running command: /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17474541721592/UpgModPath_ExpImg_1/20250517-050742-UpgModPathTest/modules/1.com.hello.jar -C /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello . [2025-05-17T04:07:44.704Z] STF 05:07:44.415 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17474541721592/UpgModPath_ExpImg_1/20250517-050742-UpgModPathTest/results/1.CMJ.stderr [2025-05-17T04:07:44.704Z] STF 05:07:44.415 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17474541721592/UpgModPath_ExpImg_1/20250517-050742-UpgModPathTest/results/1.CMJ.stdout [2025-05-17T04:07:44.704Z] STF 05:07:44.427 - Monitoring processes: CMJ [2025-05-17T04:07:45.058Z] STF 05:07:44.696 - Monitoring Report Summary: [2025-05-17T04:07:45.058Z] STF 05:07:44.696 - o Process CMJ ended with the expected exit code (0) [2025-05-17T04:07:45.058Z] STF 05:07:44.696 - Created modular jar: 1.com.hello.jar [2025-05-17T04:07:45.058Z] STF 05:07:44.696 - [2025-05-17T04:07:45.058Z] STF 05:07:44.696 - +------ Step 2 - Create com.hola jar [2025-05-17T04:07:45.058Z] STF 05:07:44.696 - | Create modular jar [2025-05-17T04:07:45.058Z] STF 05:07:44.696 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2025-05-17T04:07:45.058Z] STF 05:07:44.696 - | ModuleVersion: null [2025-05-17T04:07:45.058Z] STF 05:07:44.696 - | MainClass: null [2025-05-17T04:07:45.058Z] STF 05:07:44.696 - | HashModules: null [2025-05-17T04:07:45.058Z] STF 05:07:44.696 - | [2025-05-17T04:07:45.058Z] STF 05:07:44.696 - Running command: /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17474541721592/UpgModPath_ExpImg_1/20250517-050742-UpgModPathTest/modules/2.com.hola.jar -C /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola . [2025-05-17T04:07:45.058Z] STF 05:07:44.696 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17474541721592/UpgModPath_ExpImg_1/20250517-050742-UpgModPathTest/results/2.CMJ.stderr [2025-05-17T04:07:45.058Z] STF 05:07:44.696 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17474541721592/UpgModPath_ExpImg_1/20250517-050742-UpgModPathTest/results/2.CMJ.stdout [2025-05-17T04:07:45.058Z] STF 05:07:44.698 - Monitoring processes: CMJ [2025-05-17T04:07:45.058Z] STF 05:07:44.973 - Monitoring Report Summary: [2025-05-17T04:07:45.058Z] STF 05:07:44.973 - o Process CMJ ended with the expected exit code (0) [2025-05-17T04:07:45.058Z] STF 05:07:44.974 - Created modular jar: 2.com.hola.jar [2025-05-17T04:07:45.058Z] STF 05:07:44.974 - [2025-05-17T04:07:45.058Z] STF 05:07:44.974 - +------ Step 3 - Create com.helper jar [2025-05-17T04:07:45.058Z] STF 05:07:44.974 - | Create modular jar [2025-05-17T04:07:45.058Z] STF 05:07:44.974 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2025-05-17T04:07:45.058Z] STF 05:07:44.974 - | ModuleVersion: null [2025-05-17T04:07:45.058Z] STF 05:07:44.974 - | MainClass: null [2025-05-17T04:07:45.058Z] STF 05:07:44.974 - | HashModules: null [2025-05-17T04:07:45.058Z] STF 05:07:44.974 - | [2025-05-17T04:07:45.058Z] STF 05:07:44.974 - Running command: /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17474541721592/UpgModPath_ExpImg_1/20250517-050742-UpgModPathTest/modules/3.com.helper.jar -C /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper . [2025-05-17T04:07:45.058Z] STF 05:07:44.974 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17474541721592/UpgModPath_ExpImg_1/20250517-050742-UpgModPathTest/results/3.CMJ.stderr [2025-05-17T04:07:45.058Z] STF 05:07:44.975 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17474541721592/UpgModPath_ExpImg_1/20250517-050742-UpgModPathTest/results/3.CMJ.stdout [2025-05-17T04:07:45.058Z] STF 05:07:44.976 - Monitoring processes: CMJ [2025-05-17T04:07:45.412Z] STF 05:07:45.291 - Monitoring Report Summary: [2025-05-17T04:07:45.412Z] STF 05:07:45.292 - o Process CMJ ended with the expected exit code (0) [2025-05-17T04:07:45.412Z] STF 05:07:45.292 - Created modular jar: 3.com.helper.jar [2025-05-17T04:07:45.412Z] STF 05:07:45.292 - [2025-05-17T04:07:45.412Z] STF 05:07:45.292 - +------ Step 4 - Create com.discreet jar [2025-05-17T04:07:45.412Z] STF 05:07:45.292 - | Create modular jar [2025-05-17T04:07:45.412Z] STF 05:07:45.292 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2025-05-17T04:07:45.412Z] STF 05:07:45.292 - | ModuleVersion: null [2025-05-17T04:07:45.412Z] STF 05:07:45.292 - | MainClass: null [2025-05-17T04:07:45.412Z] STF 05:07:45.292 - | HashModules: null [2025-05-17T04:07:45.412Z] STF 05:07:45.292 - | [2025-05-17T04:07:45.412Z] STF 05:07:45.293 - Running command: /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17474541721592/UpgModPath_ExpImg_1/20250517-050742-UpgModPathTest/modules/4.com.discreet.jar -C /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet . [2025-05-17T04:07:45.412Z] STF 05:07:45.293 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17474541721592/UpgModPath_ExpImg_1/20250517-050742-UpgModPathTest/results/4.CMJ.stderr [2025-05-17T04:07:45.413Z] STF 05:07:45.293 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17474541721592/UpgModPath_ExpImg_1/20250517-050742-UpgModPathTest/results/4.CMJ.stdout [2025-05-17T04:07:45.413Z] STF 05:07:45.295 - Monitoring processes: CMJ [2025-05-17T04:07:45.766Z] STF 05:07:45.571 - Monitoring Report Summary: [2025-05-17T04:07:45.766Z] STF 05:07:45.571 - o Process CMJ ended with the expected exit code (0) [2025-05-17T04:07:45.766Z] STF 05:07:45.572 - Created modular jar: 4.com.discreet.jar [2025-05-17T04:07:45.766Z] STF 05:07:45.572 - [2025-05-17T04:07:45.766Z] STF 05:07:45.572 - +------ Step 5 - Create tests jar [2025-05-17T04:07:45.766Z] STF 05:07:45.572 - | Create modular jar [2025-05-17T04:07:45.766Z] STF 05:07:45.572 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2025-05-17T04:07:45.766Z] STF 05:07:45.572 - | ModuleVersion: null [2025-05-17T04:07:45.766Z] STF 05:07:45.572 - | MainClass: null [2025-05-17T04:07:45.766Z] STF 05:07:45.572 - | HashModules: null [2025-05-17T04:07:45.766Z] STF 05:07:45.572 - | [2025-05-17T04:07:45.766Z] STF 05:07:45.572 - Running command: /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17474541721592/UpgModPath_ExpImg_1/20250517-050742-UpgModPathTest/modules/5.com.test.jar -C /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test . [2025-05-17T04:07:45.766Z] STF 05:07:45.572 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17474541721592/UpgModPath_ExpImg_1/20250517-050742-UpgModPathTest/results/5.CMJ.stderr [2025-05-17T04:07:45.766Z] STF 05:07:45.572 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17474541721592/UpgModPath_ExpImg_1/20250517-050742-UpgModPathTest/results/5.CMJ.stdout [2025-05-17T04:07:45.766Z] STF 05:07:45.575 - Monitoring processes: CMJ [2025-05-17T04:07:46.119Z] STF 05:07:45.863 - Monitoring Report Summary: [2025-05-17T04:07:46.119Z] STF 05:07:45.863 - o Process CMJ ended with the expected exit code (0) [2025-05-17T04:07:46.119Z] STF 05:07:45.863 - Created modular jar: 5.com.test.jar [2025-05-17T04:07:46.119Z] STF 05:07:45.863 - [2025-05-17T04:07:46.119Z] STF 05:07:45.863 - +------ Step 6 - Create runtime image for upgrademodulepath test [2025-05-17T04:07:46.119Z] STF 05:07:45.863 - | Run jlink to create runtime image [2025-05-17T04:07:46.119Z] STF 05:07:45.863 - | ImageName: UpJVM [2025-05-17T04:07:46.119Z] STF 05:07:45.864 - | [2025-05-17T04:07:46.119Z] STF 05:07:45.864 - Running command: /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jlink --module-path /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/jmods:/Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17474541721592/UpgModPath_ExpImg_1/20250517-050742-UpgModPathTest/modules --add-modules com.hello,com.hola,com.test,com.helper,com.discreet --output /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17474541721592/UpgModPath_ExpImg_1/20250517-050742-UpgModPathTest/tmp/6.UpJVM [2025-05-17T04:07:46.119Z] STF 05:07:45.864 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17474541721592/UpgModPath_ExpImg_1/20250517-050742-UpgModPathTest/results/6.JLNK.stderr [2025-05-17T04:07:46.119Z] STF 05:07:45.864 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17474541721592/UpgModPath_ExpImg_1/20250517-050742-UpgModPathTest/results/6.JLNK.stdout [2025-05-17T04:07:46.119Z] STF 05:07:45.865 - Monitoring processes: JLNK [2025-05-17T04:07:48.496Z] STF 05:07:48.144 - Monitoring Report Summary: [2025-05-17T04:07:48.496Z] STF 05:07:48.144 - o Process JLNK ended with the expected exit code (0) [2025-05-17T04:07:48.496Z] STF 05:07:48.144 - [2025-05-17T04:07:48.496Z] STF 05:07:48.144 - +------ Step 7 - Override an application module using a custom runtime image [2025-05-17T04:07:48.496Z] STF 05:07:48.144 - | Run foreground process [2025-05-17T04:07:48.496Z] STF 05:07:48.144 - | Program: /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17474541721592/UpgModPath_ExpImg_1/20250517-050742-UpgModPathTest/tmp/6.UpJVM/bin/java [2025-05-17T04:07:48.496Z] STF 05:07:48.144 - | Mnemonic: OT14 [2025-05-17T04:07:48.496Z] STF 05:07:48.144 - | Echo: ECHO_ON [2025-05-17T04:07:48.496Z] STF 05:07:48.144 - | Expectation: CLEAN_RUN within 1m [2025-05-17T04:07:48.496Z] STF 05:07:48.145 - | [2025-05-17T04:07:48.496Z] STF 05:07:48.145 - Running command: /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17474541721592/UpgModPath_ExpImg_1/20250517-050742-UpgModPathTest/tmp/6.UpJVM/bin/java --add-reads com.test=ALL-UNNAMED --upgrade-module-path /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/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-05-17T04:07:48.496Z] STF 05:07:48.145 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17474541721592/UpgModPath_ExpImg_1/20250517-050742-UpgModPathTest/results/7.OT14.stderr [2025-05-17T04:07:48.496Z] STF 05:07:48.145 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17474541721592/UpgModPath_ExpImg_1/20250517-050742-UpgModPathTest/results/7.OT14.stdout [2025-05-17T04:07:48.497Z] STF 05:07:48.146 - Monitoring processes: OT14 [2025-05-17T04:07:48.850Z] OT14 JUnit version 4.12 [2025-05-17T04:07:48.850Z] OT14 . [2025-05-17T04:07:48.850Z] OT14 Time: 0.006 [2025-05-17T04:07:48.850Z] OT14 [2025-05-17T04:07:48.850Z] OT14 OK (1 test) [2025-05-17T04:07:48.850Z] OT14 [2025-05-17T04:07:48.850Z] STF 05:07:48.614 - Monitoring Report Summary: [2025-05-17T04:07:48.850Z] STF 05:07:48.614 - o Process OT14 ended with the expected exit code (0) [2025-05-17T04:07:48.850Z] STF 05:07:48.614 - [2025-05-17T04:07:48.850Z] STF 05:07:48.614 - +------ Step 8 - (Negative test) Override a non-upgradable platform module using a custom runtime image [2025-05-17T04:07:48.850Z] STF 05:07:48.614 - | Run foreground process [2025-05-17T04:07:48.850Z] STF 05:07:48.614 - | Program: /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17474541721592/UpgModPath_ExpImg_1/20250517-050742-UpgModPathTest/tmp/6.UpJVM/bin/java [2025-05-17T04:07:48.850Z] STF 05:07:48.614 - | Mnemonic: OT16 [2025-05-17T04:07:48.850Z] STF 05:07:48.614 - | Echo: ECHO_ON [2025-05-17T04:07:48.850Z] STF 05:07:48.614 - | Expectation: NON_ZERO_EXIT [1] within 1m [2025-05-17T04:07:48.850Z] STF 05:07:48.614 - | [2025-05-17T04:07:48.850Z] STF 05:07:48.615 - Running command: /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17474541721592/UpgModPath_ExpImg_1/20250517-050742-UpgModPathTest/tmp/6.UpJVM/bin/java --add-reads com.test=ALL-UNNAMED --upgrade-module-path /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/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-05-17T04:07:48.850Z] STF 05:07:48.615 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17474541721592/UpgModPath_ExpImg_1/20250517-050742-UpgModPathTest/results/8.OT16.stderr [2025-05-17T04:07:48.850Z] STF 05:07:48.615 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17474541721592/UpgModPath_ExpImg_1/20250517-050742-UpgModPathTest/results/8.OT16.stdout [2025-05-17T04:07:48.850Z] STF 05:07:48.617 - Monitoring processes: OT16 [2025-05-17T04:07:49.202Z] OT16 Error occurred during initialization of boot layer [2025-05-17T04:07:49.202Z] OT16 java.lang.module.FindException: Unable to compute the hash of module java.logging [2025-05-17T04:07:49.202Z] STF 05:07:48.836 - Monitoring Report Summary: [2025-05-17T04:07:49.202Z] STF 05:07:48.836 - o Process OT16 ended with the expected exit code (1) [2025-05-17T04:07:49.202Z] STF 05:07:48.836 - [2025-05-17T04:07:49.202Z] STF 05:07:48.836 - +------ Step 9 - Combine stderr and stdout files of process OT16 [2025-05-17T04:07:49.202Z] STF 05:07:48.836 - | Run foreground process [2025-05-17T04:07:49.202Z] STF 05:07:48.836 - | Program: /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/java [2025-05-17T04:07:49.202Z] STF 05:07:48.836 - | Mnemonic: CO [2025-05-17T04:07:49.202Z] STF 05:07:48.836 - | Echo: ECHO_OFF [2025-05-17T04:07:49.202Z] STF 05:07:48.837 - | Expectation: NON_ZERO_EXIT [0] within 5m [2025-05-17T04:07:49.202Z] STF 05:07:48.837 - | [2025-05-17T04:07:49.203Z] STF 05:07:48.837 - Running command: /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/java -Dfile1=/Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17474541721592/UpgModPath_ExpImg_1/20250517-050742-UpgModPathTest/results/8.OT16.stdout -Dfile2=/Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17474541721592/UpgModPath_ExpImg_1/20250517-050742-UpgModPathTest/results/8.OT16.stderr -Dfinal.file=/Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17474541721592/UpgModPath_ExpImg_1/20250517-050742-UpgModPathTest/results/combinedOT16.txt -XX:-UseCompressedOops -classpath /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/STF/stf.core/bin:/Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin net.adoptopenjdk.test.modularity.TestUtil [2025-05-17T04:07:49.203Z] STF 05:07:48.837 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17474541721592/UpgModPath_ExpImg_1/20250517-050742-UpgModPathTest/results/9.CO.stderr [2025-05-17T04:07:49.203Z] STF 05:07:48.837 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17474541721592/UpgModPath_ExpImg_1/20250517-050742-UpgModPathTest/results/9.CO.stdout [2025-05-17T04:07:49.203Z] STF 05:07:48.839 - Monitoring processes: CO [2025-05-17T04:07:49.203Z] STF 05:07:49.065 - Monitoring Report Summary: [2025-05-17T04:07:49.203Z] STF 05:07:49.065 - o Process CO ended with the expected exit code (0) [2025-05-17T04:07:49.203Z] STF 05:07:49.065 - [2025-05-17T04:07:49.203Z] STF 05:07:49.065 - +------ Step 10 - Check output [2025-05-17T04:07:49.203Z] STF 05:07:49.065 - | Count file matches [2025-05-17T04:07:49.203Z] STF 05:07:49.065 - | TargetFile: /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17474541721592/UpgModPath_ExpImg_1/20250517-050742-UpgModPathTest/results/combinedOT16.txt [2025-05-17T04:07:49.203Z] STF 05:07:49.065 - | ExpectedNumMatches: 1 [2025-05-17T04:07:49.203Z] STF 05:07:49.065 - | SearchStrings: ["FindException: Unable to compute the hash of module java.logging"] [2025-05-17T04:07:49.203Z] STF 05:07:49.065 - | [2025-05-17T04:07:49.203Z] STF 05:07:49.066 - Found 1 instances of ["FindException: Unable to compute the hash of module java.logging"] [2025-05-17T04:07:49.203Z] STF 05:07:49.066 - EXECUTE stage completed [2025-05-17T04:07:49.203Z] STF 05:07:49.070 - [2025-05-17T04:07:49.203Z] STF 05:07:49.070 - ==================== T E A R D O W N ==================== [2025-05-17T04:07:49.203Z] STF 05:07:49.070 - Running teardown: perl /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17474541721592/UpgModPath_ExpImg_1/20250517-050742-UpgModPathTest/tearDown.pl [2025-05-17T04:07:49.203Z] STF 05:07:49.152 - TEARDOWN stage completed [2025-05-17T04:07:49.203Z] STF 05:07:49.156 - [2025-05-17T04:07:49.203Z] STF 05:07:49.156 - ===================== R E S U L T S ===================== [2025-05-17T04:07:49.203Z] STF 05:07:49.156 - Stage results: [2025-05-17T04:07:49.203Z] STF 05:07:49.156 - setUp: pass [2025-05-17T04:07:49.203Z] STF 05:07:49.156 - execute: pass [2025-05-17T04:07:49.203Z] STF 05:07:49.156 - teardown: pass [2025-05-17T04:07:49.203Z] STF 05:07:49.156 - [2025-05-17T04:07:49.203Z] STF 05:07:49.156 - Overall result: PASSED [2025-05-17T04:07:49.203Z] ----------------------------------- [2025-05-17T04:07:49.203Z] UpgModPath_ExpImg_1_PASSED [2025-05-17T04:07:49.203Z] ----------------------------------- [2025-05-17T04:07:49.203Z] [2025-05-17T04:07:49.203Z] TEST TEARDOWN: [2025-05-17T04:07:49.203Z] Nothing to be done for teardown. [2025-05-17T04:07:49.555Z] UpgModPath_ExpImg_1 Finish Time: Sat May 17 05:07:49 2025 Epoch Time (ms): 1747454869200