UpgModPath_ExpImg_1

[2025-05-16T20:51:48.251Z] Running test UpgModPath_ExpImg_1 ... [2025-05-16T20:51:48.251Z] =============================================== [2025-05-16T20:51:48.251Z] UpgModPath_ExpImg_1 Start Time: Fri May 16 13:51:47 2025 Epoch Time (ms): 1747428707799 [2025-05-16T20:51:48.251Z] variation: Mode650 [2025-05-16T20:51:48.251Z] JVM_OPTIONS: -XX:-UseCompressedOops [2025-05-16T20:51:48.251Z] { \ [2025-05-16T20:51:48.251Z] echo ""; echo "TEST SETUP:"; \ [2025-05-16T20:51:48.251Z] echo "Nothing to be done for setup."; \ [2025-05-16T20:51:48.251Z] mkdir -p "/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17474259314093/UpgModPath_ExpImg_1"; \ [2025-05-16T20:51:48.251Z] cd "/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17474259314093/UpgModPath_ExpImg_1"; \ [2025-05-16T20:51:48.251Z] echo ""; echo "TESTING:"; \ [2025-05-16T20:51:48.251Z] perl /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF/stf.core/scripts/stf.pl -test-root="/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF;/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../../jvmtest/system/modularity/..//aqa-systemtest""" -systemtest-prereqs="/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/../../testDependency/system_lib/" -java-args=' -XX:-UseCompressedOops ' -results-root="/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17474259314093/UpgModPath_ExpImg_1" -test=UpgModPathTest -test-args="variant=ExpImg"; \ [2025-05-16T20:51:48.251Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "UpgModPath_ExpImg_1""_PASSED"; echo "-----------------------------------"; cd /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/..; rm -f -r "/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17474259314093/UpgModPath_ExpImg_1"; else echo "-----------------------------------"; echo "UpgModPath_ExpImg_1""_FAILED"; echo "-----------------------------------"; fi; \ [2025-05-16T20:51:48.252Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-05-16T20:51:48.252Z] echo "Nothing to be done for teardown."; \ [2025-05-16T20:51:48.252Z] } 2>&1 | tee -a "/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17474259314093/TestTargetResult"; [2025-05-16T20:51:48.252Z] [2025-05-16T20:51:48.252Z] TEST SETUP: [2025-05-16T20:51:48.252Z] Nothing to be done for setup. [2025-05-16T20:51:48.252Z] [2025-05-16T20:51:48.252Z] TESTING: [2025-05-16T20:51:48.704Z] STF 13:51:47.993 - ========================= S T F ========================= [2025-05-16T20:51:48.704Z] systemtest-prereqs has been processed, and set to: /Users/admin/workspace/testDependency/system_libRetrieving amount of free space on drive containing /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17474259314093/UpgModPath_ExpImg_1 [2025-05-16T20:51:48.704Z] There is 11073 Mb free [2025-05-16T20:51:48.704Z] STF 13:51:48.016 - ================== G E N E R A T I O N ================== [2025-05-16T20:51:48.704Z] STF 13:51:48.018 - Checking JVM: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/../ [2025-05-16T20:51:48.704Z] STF 13:51:48.018 - Starting process to generate scripts: /Users/admin/workspace/workspace/Test_openjdk21_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/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/STF/stf.core/scripts/../../stf.load/bin/stf.load.jar -classpath /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/../../testDependency/system_lib//asm/asm.jar:/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/../../testDependency/system_lib//asm/asm-commons.jar:/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/../../testDependency/system_lib//log4j/log4j-api.jar:/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/../../testDependency/system_lib//log4j/log4j-core.jar:/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17474259314093/UpgModPath_ExpImg_1/20250516-135147-UpgModPathTest/stf_parameters.properties, , /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17474259314093/UpgModPath_ExpImg_1/20250516-135147-UpgModPathTest" [2025-05-16T20:51:48.704Z] GEN stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-05-16T20:51:50.205Z] GEN 13:51:49.723 - Found test. Project: 'openjdk.test.modularity' class: 'UpgModPathTest.class' Dir: '/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin' [2025-05-16T20:51:50.205Z] GEN 13:51:49.760 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.UpgModPathTest' [2025-05-16T20:51:50.724Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2025-05-16T20:51:50.724Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayService [2025-05-16T20:51:50.724Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper [2025-05-16T20:51:50.724Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl1 [2025-05-16T20:51:50.724Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet [2025-05-16T20:51:50.724Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello [2025-05-16T20:51:50.724Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola [2025-05-16T20:51:50.724Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl2 [2025-05-16T20:51:50.724Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hi [2025-05-16T20:51:50.724Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override [2025-05-16T20:51:50.724Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override-new [2025-05-16T20:51:50.724Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl3 [2025-05-16T20:51:50.724Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl4 [2025-05-16T20:51:50.724Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common [2025-05-16T20:51:50.724Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests [2025-05-16T20:51:50.724Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin [2025-05-16T20:51:50.724Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/STF/stf.core/bin [2025-05-16T20:51:50.724Z] GEN /Users/admin/workspace/testDependency/system_lib/log4j/log4j-api.jar [2025-05-16T20:51:50.724Z] GEN /Users/admin/workspace/testDependency/system_lib/log4j/log4j-core.jar [2025-05-16T20:51:50.724Z] GEN /Users/admin/workspace/testDependency/system_lib/junit/junit.jar [2025-05-16T20:51:50.724Z] GEN 13:51:50.169 - Using Mode NoOptions. Values = '' [2025-05-16T20:51:50.724Z] GEN 13:51:50.319 - [2025-05-16T20:51:50.724Z] GEN 13:51:50.319 - Test command summary: [2025-05-16T20:51:50.724Z] GEN 13:51:50.319 - Step Stage Command Description [2025-05-16T20:51:50.725Z] GEN 13:51:50.319 - -----+--------+-----------------+------------ [2025-05-16T20:51:50.725Z] GEN 13:51:50.319 - 1 execute jar Create com.hello jar [2025-05-16T20:51:50.725Z] GEN 13:51:50.319 - 2 execute jar Create com.hola jar [2025-05-16T20:51:50.725Z] GEN 13:51:50.319 - 3 execute jar Create com.helper jar [2025-05-16T20:51:50.725Z] GEN 13:51:50.319 - 4 execute jar Create com.discreet jar [2025-05-16T20:51:50.725Z] GEN 13:51:50.319 - 5 execute jar Create tests jar [2025-05-16T20:51:50.725Z] GEN 13:51:50.319 - 6 execute jlink Create runtime image for upgrademodulepath test [2025-05-16T20:51:50.725Z] GEN 13:51:50.319 - 7 execute Run java Override an application module using a custom runtime image [2025-05-16T20:51:50.725Z] GEN 13:51:50.320 - 8 execute Run java (Negative test) Override a non-upgradable platform module using a custom runtime image [2025-05-16T20:51:50.725Z] GEN 13:51:50.320 - 9 execute Run java Combine stderr and stdout files of process OT16 [2025-05-16T20:51:50.725Z] GEN 13:51:50.320 - 10 execute count Check output [2025-05-16T20:51:50.725Z] STF 13:51:50.430 - [2025-05-16T20:51:50.725Z] STF 13:51:50.430 - Script generation completed [2025-05-16T20:51:50.725Z] STF 13:51:50.430 - [2025-05-16T20:51:50.725Z] STF 13:51:50.431 - [2025-05-16T20:51:50.725Z] STF 13:51:50.431 - ======================= S E T U P ======================= [2025-05-16T20:51:50.725Z] STF 13:51:50.431 - Running setup: perl /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17474259314093/UpgModPath_ExpImg_1/20250516-135147-UpgModPathTest/setUp.pl [2025-05-16T20:51:51.170Z] STF 13:51:50.539 - SETUP stage completed [2025-05-16T20:51:51.170Z] STF 13:51:50.556 - [2025-05-16T20:51:51.170Z] STF 13:51:50.556 - ==================== E X E C U T E - ==================== [2025-05-16T20:51:51.170Z] STF 13:51:50.556 - Running execute: perl /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17474259314093/UpgModPath_ExpImg_1/20250516-135147-UpgModPathTest/execute.pl [2025-05-16T20:51:51.170Z] STF 13:51:50.767 - [2025-05-16T20:51:51.170Z] STF 13:51:50.767 - Java version [2025-05-16T20:51:51.170Z] STF 13:51:50.768 - Running: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/java -version [2025-05-16T20:51:51.170Z] Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-05-16T20:51:51.606Z] openjdk version "21.0.8-beta" 2025-07-15 [2025-05-16T20:51:51.606Z] OpenJDK Runtime Environment Temurin-21.0.8+3-202505161904 (build 21.0.8-beta+3-ea) [2025-05-16T20:51:51.606Z] OpenJDK 64-Bit Server VM Temurin-21.0.8+3-202505161904 (build 21.0.8-beta+3-ea, mixed mode) [2025-05-16T20:51:51.606Z] STF 13:51:51.000 - [2025-05-16T20:51:51.606Z] STF 13:51:51.001 - +------ Step 1 - Create com.hello jar [2025-05-16T20:51:51.606Z] STF 13:51:51.001 - | Create modular jar [2025-05-16T20:51:51.606Z] STF 13:51:51.001 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2025-05-16T20:51:51.606Z] STF 13:51:51.001 - | ModuleVersion: null [2025-05-16T20:51:51.606Z] STF 13:51:51.001 - | MainClass: null [2025-05-16T20:51:51.606Z] STF 13:51:51.001 - | HashModules: null [2025-05-16T20:51:51.606Z] STF 13:51:51.001 - | [2025-05-16T20:51:51.606Z] STF 13:51:51.002 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17474259314093/UpgModPath_ExpImg_1/20250516-135147-UpgModPathTest/modules/1.com.hello.jar -C /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello . [2025-05-16T20:51:51.606Z] STF 13:51:51.002 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17474259314093/UpgModPath_ExpImg_1/20250516-135147-UpgModPathTest/results/1.CMJ.stderr [2025-05-16T20:51:51.606Z] STF 13:51:51.002 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17474259314093/UpgModPath_ExpImg_1/20250516-135147-UpgModPathTest/results/1.CMJ.stdout [2025-05-16T20:51:51.606Z] STF 13:51:51.015 - Monitoring processes: CMJ [2025-05-16T20:51:51.606Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-05-16T20:51:52.030Z] STF 13:51:51.622 - Monitoring Report Summary: [2025-05-16T20:51:52.030Z] STF 13:51:51.622 - o Process CMJ ended with the expected exit code (0) [2025-05-16T20:51:52.030Z] STF 13:51:51.622 - Created modular jar: 1.com.hello.jar [2025-05-16T20:51:52.030Z] STF 13:51:51.622 - [2025-05-16T20:51:52.030Z] STF 13:51:51.622 - +------ Step 2 - Create com.hola jar [2025-05-16T20:51:52.030Z] STF 13:51:51.622 - | Create modular jar [2025-05-16T20:51:52.030Z] STF 13:51:51.623 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2025-05-16T20:51:52.030Z] STF 13:51:51.623 - | ModuleVersion: null [2025-05-16T20:51:52.030Z] STF 13:51:51.623 - | MainClass: null [2025-05-16T20:51:52.030Z] STF 13:51:51.623 - | HashModules: null [2025-05-16T20:51:52.030Z] STF 13:51:51.623 - | [2025-05-16T20:51:52.030Z] STF 13:51:51.623 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17474259314093/UpgModPath_ExpImg_1/20250516-135147-UpgModPathTest/modules/2.com.hola.jar -C /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola . [2025-05-16T20:51:52.030Z] STF 13:51:51.623 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17474259314093/UpgModPath_ExpImg_1/20250516-135147-UpgModPathTest/results/2.CMJ.stderr [2025-05-16T20:51:52.030Z] STF 13:51:51.623 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17474259314093/UpgModPath_ExpImg_1/20250516-135147-UpgModPathTest/results/2.CMJ.stdout [2025-05-16T20:51:52.030Z] STF 13:51:51.625 - Monitoring processes: CMJ [2025-05-16T20:51:52.030Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-05-16T20:51:52.496Z] STF 13:51:52.086 - Monitoring Report Summary: [2025-05-16T20:51:52.496Z] STF 13:51:52.086 - o Process CMJ ended with the expected exit code (0) [2025-05-16T20:51:52.496Z] STF 13:51:52.086 - Created modular jar: 2.com.hola.jar [2025-05-16T20:51:52.496Z] STF 13:51:52.086 - [2025-05-16T20:51:52.496Z] STF 13:51:52.086 - +------ Step 3 - Create com.helper jar [2025-05-16T20:51:52.496Z] STF 13:51:52.086 - | Create modular jar [2025-05-16T20:51:52.496Z] STF 13:51:52.086 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2025-05-16T20:51:52.496Z] STF 13:51:52.086 - | ModuleVersion: null [2025-05-16T20:51:52.496Z] STF 13:51:52.086 - | MainClass: null [2025-05-16T20:51:52.496Z] STF 13:51:52.086 - | HashModules: null [2025-05-16T20:51:52.496Z] STF 13:51:52.086 - | [2025-05-16T20:51:52.496Z] STF 13:51:52.087 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17474259314093/UpgModPath_ExpImg_1/20250516-135147-UpgModPathTest/modules/3.com.helper.jar -C /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper . [2025-05-16T20:51:52.496Z] STF 13:51:52.087 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17474259314093/UpgModPath_ExpImg_1/20250516-135147-UpgModPathTest/results/3.CMJ.stderr [2025-05-16T20:51:52.496Z] STF 13:51:52.087 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17474259314093/UpgModPath_ExpImg_1/20250516-135147-UpgModPathTest/results/3.CMJ.stdout [2025-05-16T20:51:52.496Z] STF 13:51:52.090 - Monitoring processes: CMJ [2025-05-16T20:51:52.947Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-05-16T20:51:53.434Z] STF 13:51:52.886 - Monitoring Report Summary: [2025-05-16T20:51:53.434Z] STF 13:51:52.886 - o Process CMJ ended with the expected exit code (0) [2025-05-16T20:51:53.434Z] STF 13:51:52.887 - Created modular jar: 3.com.helper.jar [2025-05-16T20:51:53.434Z] STF 13:51:52.887 - [2025-05-16T20:51:53.434Z] STF 13:51:52.887 - +------ Step 4 - Create com.discreet jar [2025-05-16T20:51:53.434Z] STF 13:51:52.887 - | Create modular jar [2025-05-16T20:51:53.434Z] STF 13:51:52.887 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2025-05-16T20:51:53.434Z] STF 13:51:52.887 - | ModuleVersion: null [2025-05-16T20:51:53.434Z] STF 13:51:52.887 - | MainClass: null [2025-05-16T20:51:53.434Z] STF 13:51:52.887 - | HashModules: null [2025-05-16T20:51:53.434Z] STF 13:51:52.887 - | [2025-05-16T20:51:53.435Z] STF 13:51:52.887 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17474259314093/UpgModPath_ExpImg_1/20250516-135147-UpgModPathTest/modules/4.com.discreet.jar -C /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet . [2025-05-16T20:51:53.435Z] STF 13:51:52.887 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17474259314093/UpgModPath_ExpImg_1/20250516-135147-UpgModPathTest/results/4.CMJ.stderr [2025-05-16T20:51:53.435Z] STF 13:51:52.887 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17474259314093/UpgModPath_ExpImg_1/20250516-135147-UpgModPathTest/results/4.CMJ.stdout [2025-05-16T20:51:53.435Z] STF 13:51:52.890 - Monitoring processes: CMJ [2025-05-16T20:51:53.435Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-05-16T20:51:53.861Z] STF 13:51:53.523 - Monitoring Report Summary: [2025-05-16T20:51:53.861Z] STF 13:51:53.523 - o Process CMJ ended with the expected exit code (0) [2025-05-16T20:51:53.861Z] STF 13:51:53.523 - Created modular jar: 4.com.discreet.jar [2025-05-16T20:51:53.861Z] STF 13:51:53.523 - [2025-05-16T20:51:53.861Z] STF 13:51:53.523 - +------ Step 5 - Create tests jar [2025-05-16T20:51:53.861Z] STF 13:51:53.523 - | Create modular jar [2025-05-16T20:51:53.861Z] STF 13:51:53.523 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2025-05-16T20:51:53.861Z] STF 13:51:53.523 - | ModuleVersion: null [2025-05-16T20:51:53.861Z] STF 13:51:53.523 - | MainClass: null [2025-05-16T20:51:53.861Z] STF 13:51:53.523 - | HashModules: null [2025-05-16T20:51:53.861Z] STF 13:51:53.523 - | [2025-05-16T20:51:53.861Z] STF 13:51:53.524 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17474259314093/UpgModPath_ExpImg_1/20250516-135147-UpgModPathTest/modules/5.com.test.jar -C /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test . [2025-05-16T20:51:53.861Z] STF 13:51:53.524 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17474259314093/UpgModPath_ExpImg_1/20250516-135147-UpgModPathTest/results/5.CMJ.stderr [2025-05-16T20:51:53.861Z] STF 13:51:53.524 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17474259314093/UpgModPath_ExpImg_1/20250516-135147-UpgModPathTest/results/5.CMJ.stdout [2025-05-16T20:51:53.861Z] STF 13:51:53.528 - Monitoring processes: CMJ [2025-05-16T20:51:53.861Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-05-16T20:51:54.769Z] STF 13:51:54.176 - Monitoring Report Summary: [2025-05-16T20:51:54.769Z] STF 13:51:54.176 - o Process CMJ ended with the expected exit code (0) [2025-05-16T20:51:54.769Z] STF 13:51:54.176 - Created modular jar: 5.com.test.jar [2025-05-16T20:51:54.769Z] STF 13:51:54.176 - [2025-05-16T20:51:54.769Z] STF 13:51:54.176 - +------ Step 6 - Create runtime image for upgrademodulepath test [2025-05-16T20:51:54.769Z] STF 13:51:54.176 - | Run jlink to create runtime image [2025-05-16T20:51:54.769Z] STF 13:51:54.176 - | ImageName: UpJVM [2025-05-16T20:51:54.769Z] STF 13:51:54.176 - | [2025-05-16T20:51:54.769Z] STF 13:51:54.177 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jlink --module-path /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/jmods:/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17474259314093/UpgModPath_ExpImg_1/20250516-135147-UpgModPathTest/modules --add-modules com.hello,com.hola,com.test,com.helper,com.discreet --output /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17474259314093/UpgModPath_ExpImg_1/20250516-135147-UpgModPathTest/tmp/6.UpJVM [2025-05-16T20:51:54.769Z] STF 13:51:54.177 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17474259314093/UpgModPath_ExpImg_1/20250516-135147-UpgModPathTest/results/6.JLNK.stderr [2025-05-16T20:51:54.770Z] STF 13:51:54.177 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17474259314093/UpgModPath_ExpImg_1/20250516-135147-UpgModPathTest/results/6.JLNK.stdout [2025-05-16T20:51:54.770Z] STF 13:51:54.179 - Monitoring processes: JLNK [2025-05-16T20:51:54.770Z] JLNK stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-05-16T20:52:00.668Z] STF 13:51:59.436 - Monitoring Report Summary: [2025-05-16T20:52:00.668Z] STF 13:51:59.436 - o Process JLNK ended with the expected exit code (0) [2025-05-16T20:52:00.668Z] STF 13:51:59.437 - [2025-05-16T20:52:00.668Z] STF 13:51:59.437 - +------ Step 7 - Override an application module using a custom runtime image [2025-05-16T20:52:00.668Z] STF 13:51:59.437 - | Run foreground process [2025-05-16T20:52:00.668Z] STF 13:51:59.437 - | Program: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17474259314093/UpgModPath_ExpImg_1/20250516-135147-UpgModPathTest/tmp/6.UpJVM/bin/java [2025-05-16T20:52:00.668Z] STF 13:51:59.437 - | Mnemonic: OT14 [2025-05-16T20:52:00.668Z] STF 13:51:59.437 - | Echo: ECHO_ON [2025-05-16T20:52:00.668Z] STF 13:51:59.437 - | Expectation: CLEAN_RUN within 1m [2025-05-16T20:52:00.668Z] STF 13:51:59.437 - | [2025-05-16T20:52:00.668Z] STF 13:51:59.437 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17474259314093/UpgModPath_ExpImg_1/20250516-135147-UpgModPathTest/tmp/6.UpJVM/bin/java --add-reads com.test=ALL-UNNAMED --upgrade-module-path /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello -XX:-UseCompressedOops -classpath /Users/admin/workspace/testDependency/system_lib/junit/junit.jar:/Users/admin/workspace/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingAppModule [2025-05-16T20:52:00.668Z] STF 13:51:59.437 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17474259314093/UpgModPath_ExpImg_1/20250516-135147-UpgModPathTest/results/7.OT14.stderr [2025-05-16T20:52:00.668Z] STF 13:51:59.437 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17474259314093/UpgModPath_ExpImg_1/20250516-135147-UpgModPathTest/results/7.OT14.stdout [2025-05-16T20:52:00.668Z] STF 13:51:59.452 - Monitoring processes: OT14 [2025-05-16T20:52:01.747Z] OT14 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-05-16T20:52:02.804Z] OT14 JUnit version 4.12 [2025-05-16T20:52:03.274Z] OT14 . [2025-05-16T20:52:03.274Z] OT14 Time: 0.017 [2025-05-16T20:52:03.274Z] OT14 [2025-05-16T20:52:03.274Z] OT14 OK (1 test) [2025-05-16T20:52:03.274Z] OT14 [2025-05-16T20:52:03.274Z] STF 13:52:02.587 - Monitoring Report Summary: [2025-05-16T20:52:03.274Z] STF 13:52:02.587 - o Process OT14 ended with the expected exit code (0) [2025-05-16T20:52:03.274Z] STF 13:52:02.587 - [2025-05-16T20:52:03.274Z] STF 13:52:02.587 - +------ Step 8 - (Negative test) Override a non-upgradable platform module using a custom runtime image [2025-05-16T20:52:03.274Z] STF 13:52:02.587 - | Run foreground process [2025-05-16T20:52:03.274Z] STF 13:52:02.587 - | Program: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17474259314093/UpgModPath_ExpImg_1/20250516-135147-UpgModPathTest/tmp/6.UpJVM/bin/java [2025-05-16T20:52:03.274Z] STF 13:52:02.587 - | Mnemonic: OT16 [2025-05-16T20:52:03.274Z] STF 13:52:02.587 - | Echo: ECHO_ON [2025-05-16T20:52:03.274Z] STF 13:52:02.587 - | Expectation: NON_ZERO_EXIT [1] within 1m [2025-05-16T20:52:03.274Z] STF 13:52:02.587 - | [2025-05-16T20:52:03.275Z] STF 13:52:02.587 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17474259314093/UpgModPath_ExpImg_1/20250516-135147-UpgModPathTest/tmp/6.UpJVM/bin/java --add-reads com.test=ALL-UNNAMED --upgrade-module-path /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/java.logging -XX:-UseCompressedOops -classpath /Users/admin/workspace/testDependency/system_lib/junit/junit.jar:/Users/admin/workspace/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingNonUpgradablePlatformModule [2025-05-16T20:52:03.275Z] STF 13:52:02.587 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17474259314093/UpgModPath_ExpImg_1/20250516-135147-UpgModPathTest/results/8.OT16.stderr [2025-05-16T20:52:03.275Z] STF 13:52:02.588 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17474259314093/UpgModPath_ExpImg_1/20250516-135147-UpgModPathTest/results/8.OT16.stdout [2025-05-16T20:52:03.275Z] STF 13:52:02.608 - Monitoring processes: OT16 [2025-05-16T20:52:03.275Z] OT16 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-05-16T20:52:03.784Z] OT16 Error occurred during initialization of boot layer [2025-05-16T20:52:03.784Z] OT16 java.lang.module.FindException: Unable to compute the hash of module java.logging [2025-05-16T20:52:03.784Z] STF 13:52:03.044 - Monitoring Report Summary: [2025-05-16T20:52:03.784Z] STF 13:52:03.044 - o Process OT16 ended with the expected exit code (1) [2025-05-16T20:52:03.784Z] STF 13:52:03.044 - [2025-05-16T20:52:03.784Z] STF 13:52:03.044 - +------ Step 9 - Combine stderr and stdout files of process OT16 [2025-05-16T20:52:03.784Z] STF 13:52:03.044 - | Run foreground process [2025-05-16T20:52:03.784Z] STF 13:52:03.044 - | Program: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/java [2025-05-16T20:52:03.784Z] STF 13:52:03.044 - | Mnemonic: CO [2025-05-16T20:52:03.784Z] STF 13:52:03.044 - | Echo: ECHO_OFF [2025-05-16T20:52:03.784Z] STF 13:52:03.044 - | Expectation: NON_ZERO_EXIT [0] within 5m [2025-05-16T20:52:03.784Z] STF 13:52:03.044 - | [2025-05-16T20:52:03.784Z] STF 13:52:03.044 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/java -Dfile1=/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17474259314093/UpgModPath_ExpImg_1/20250516-135147-UpgModPathTest/results/8.OT16.stdout -Dfile2=/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17474259314093/UpgModPath_ExpImg_1/20250516-135147-UpgModPathTest/results/8.OT16.stderr -Dfinal.file=/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17474259314093/UpgModPath_ExpImg_1/20250516-135147-UpgModPathTest/results/combinedOT16.txt -XX:-UseCompressedOops -classpath /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/STF/stf.core/bin:/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin net.adoptopenjdk.test.modularity.TestUtil [2025-05-16T20:52:03.784Z] STF 13:52:03.044 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17474259314093/UpgModPath_ExpImg_1/20250516-135147-UpgModPathTest/results/9.CO.stderr [2025-05-16T20:52:03.784Z] STF 13:52:03.044 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17474259314093/UpgModPath_ExpImg_1/20250516-135147-UpgModPathTest/results/9.CO.stdout [2025-05-16T20:52:03.784Z] STF 13:52:03.047 - Monitoring processes: CO [2025-05-16T20:52:04.290Z] STF 13:52:03.539 - Monitoring Report Summary: [2025-05-16T20:52:04.290Z] STF 13:52:03.539 - o Process CO ended with the expected exit code (0) [2025-05-16T20:52:04.290Z] STF 13:52:03.539 - [2025-05-16T20:52:04.290Z] STF 13:52:03.539 - +------ Step 10 - Check output [2025-05-16T20:52:04.290Z] STF 13:52:03.539 - | Count file matches [2025-05-16T20:52:04.290Z] STF 13:52:03.539 - | TargetFile: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17474259314093/UpgModPath_ExpImg_1/20250516-135147-UpgModPathTest/results/combinedOT16.txt [2025-05-16T20:52:04.290Z] STF 13:52:03.539 - | ExpectedNumMatches: 1 [2025-05-16T20:52:04.290Z] STF 13:52:03.539 - | SearchStrings: ["FindException: Unable to compute the hash of module java.logging"] [2025-05-16T20:52:04.290Z] STF 13:52:03.539 - | [2025-05-16T20:52:04.290Z] STF 13:52:03.539 - Found 1 instances of ["FindException: Unable to compute the hash of module java.logging"] [2025-05-16T20:52:04.290Z] STF 13:52:03.539 - EXECUTE stage completed [2025-05-16T20:52:04.290Z] STF 13:52:03.667 - [2025-05-16T20:52:04.290Z] STF 13:52:03.667 - ==================== T E A R D O W N ==================== [2025-05-16T20:52:04.290Z] STF 13:52:03.667 - Running teardown: perl /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17474259314093/UpgModPath_ExpImg_1/20250516-135147-UpgModPathTest/tearDown.pl [2025-05-16T20:52:04.290Z] STF 13:52:03.829 - TEARDOWN stage completed [2025-05-16T20:52:04.290Z] STF 13:52:03.848 - [2025-05-16T20:52:04.290Z] STF 13:52:03.848 - ===================== R E S U L T S ===================== [2025-05-16T20:52:04.290Z] STF 13:52:03.848 - Stage results: [2025-05-16T20:52:04.290Z] STF 13:52:03.848 - setUp: pass [2025-05-16T20:52:04.290Z] STF 13:52:03.848 - execute: pass [2025-05-16T20:52:04.290Z] STF 13:52:03.848 - teardown: pass [2025-05-16T20:52:04.290Z] STF 13:52:03.848 - [2025-05-16T20:52:04.290Z] STF 13:52:03.848 - Overall result: PASSED [2025-05-16T20:52:04.290Z] ----------------------------------- [2025-05-16T20:52:04.290Z] UpgModPath_ExpImg_1_PASSED [2025-05-16T20:52:04.290Z] ----------------------------------- [2025-05-16T20:52:04.290Z] [2025-05-16T20:52:04.290Z] TEST TEARDOWN: [2025-05-16T20:52:04.290Z] Nothing to be done for teardown. [2025-05-16T20:52:04.774Z] UpgModPath_ExpImg_1 Finish Time: Fri May 16 13:52:04 2025 Epoch Time (ms): 1747428724035