UpgModPath_Exp_0

[2024-11-28T05:56:22.230Z] Running test UpgModPath_Exp_0 ... [2024-11-28T05:56:22.230Z] =============================================== [2024-11-28T05:56:22.694Z] UpgModPath_Exp_0 Start Time: Wed Nov 27 21:56:21 2024 Epoch Time (ms): 1732773381606 [2024-11-28T05:56:22.694Z] variation: Mode150 [2024-11-28T05:56:23.158Z] JVM_OPTIONS: -XX:+UseCompressedOops [2024-11-28T05:56:23.158Z] { \ [2024-11-28T05:56:23.158Z] echo ""; echo "TEST SETUP:"; \ [2024-11-28T05:56:23.158Z] echo "Nothing to be done for setup."; \ [2024-11-28T05:56:23.158Z] mkdir -p "/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17327710383276/UpgModPath_Exp_0"; \ [2024-11-28T05:56:23.158Z] cd "/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17327710383276/UpgModPath_Exp_0"; \ [2024-11-28T05:56:23.158Z] echo ""; echo "TESTING:"; \ [2024-11-28T05:56:23.158Z] perl /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF/stf.core/scripts/stf.pl -test-root="/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF;/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../../jvmtest/system/modularity/..//aqa-systemtest""" -systemtest-prereqs="/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/../../testDependency/system_lib/" -java-args=' -XX:+UseCompressedOops ' -results-root="/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17327710383276/UpgModPath_Exp_0" -test=UpgModPathTest -test-args="variant=Exp"; \ [2024-11-28T05:56:23.158Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "UpgModPath_Exp_0""_PASSED"; echo "-----------------------------------"; cd /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/..; rm -f -r "/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17327710383276/UpgModPath_Exp_0"; else echo "-----------------------------------"; echo "UpgModPath_Exp_0""_FAILED"; echo "-----------------------------------"; fi; \ [2024-11-28T05:56:23.158Z] echo ""; echo "TEST TEARDOWN:"; \ [2024-11-28T05:56:23.158Z] echo "Nothing to be done for teardown."; \ [2024-11-28T05:56:23.158Z] } 2>&1 | tee -a "/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17327710383276/TestTargetResult"; [2024-11-28T05:56:23.158Z] [2024-11-28T05:56:23.158Z] TEST SETUP: [2024-11-28T05:56:23.158Z] Nothing to be done for setup. [2024-11-28T05:56:23.158Z] [2024-11-28T05:56:23.158Z] TESTING: [2024-11-28T05:56:23.608Z] STF 21:56:22.667 - ========================= S T F ========================= [2024-11-28T05:56:23.608Z] 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_2/aqa-tests/TKG/../TKG/output_17327710383276/UpgModPath_Exp_0 [2024-11-28T05:56:23.608Z] There is 11930 Mb free [2024-11-28T05:56:23.608Z] STF 21:56:22.687 - ================== G E N E R A T I O N ================== [2024-11-28T05:56:23.608Z] STF 21:56:22.688 - Checking JVM: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/../ [2024-11-28T05:56:23.608Z] STF 21:56:22.688 - Starting process to generate scripts: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/..//bin/java -Dlog4j.skipJansi=true -Djava.system.class.loader=net.adoptopenjdk.stf.runner.StfClassLoader -classpath /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/../../testDependency/system_lib//log4j/log4j-api.jar:/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/../../testDependency/system_lib//log4j/log4j-core.jar:/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17327710383276/UpgModPath_Exp_0/20241127-215622-UpgModPathTest/stf_parameters.properties, , /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17327710383276/UpgModPath_Exp_0/20241127-215622-UpgModPathTest" [2024-11-28T05:56:24.050Z] GEN stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-28T05:56:26.960Z] GEN 21:56:25.884 - Found test. Project: 'openjdk.test.modularity' class: 'UpgModPathTest.class' Dir: '/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin' [2024-11-28T05:56:26.960Z] GEN 21:56:25.928 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.UpgModPathTest' [2024-11-28T05:56:27.366Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2024-11-28T05:56:27.366Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayService [2024-11-28T05:56:27.366Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper [2024-11-28T05:56:27.366Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl1 [2024-11-28T05:56:27.366Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet [2024-11-28T05:56:27.366Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello [2024-11-28T05:56:27.366Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola [2024-11-28T05:56:27.366Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl2 [2024-11-28T05:56:27.366Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hi [2024-11-28T05:56:27.366Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override [2024-11-28T05:56:27.366Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override-new [2024-11-28T05:56:27.366Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl3 [2024-11-28T05:56:27.366Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl4 [2024-11-28T05:56:27.366Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common [2024-11-28T05:56:27.366Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests [2024-11-28T05:56:27.366Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin [2024-11-28T05:56:27.366Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/STF/stf.core/bin [2024-11-28T05:56:27.366Z] GEN /Users/admin/workspace/testDependency/system_lib/log4j/log4j-api.jar [2024-11-28T05:56:27.366Z] GEN /Users/admin/workspace/testDependency/system_lib/log4j/log4j-core.jar [2024-11-28T05:56:27.366Z] GEN /Users/admin/workspace/testDependency/system_lib/junit/junit.jar [2024-11-28T05:56:27.366Z] GEN 21:56:26.385 - Using Mode NoOptions. Values = '' [2024-11-28T05:56:27.770Z] GEN 21:56:26.515 - [2024-11-28T05:56:27.770Z] GEN 21:56:26.515 - Test command summary: [2024-11-28T05:56:27.770Z] GEN 21:56:26.515 - Step Stage Command Description [2024-11-28T05:56:27.770Z] GEN 21:56:26.515 - -----+--------+-----------------+------------ [2024-11-28T05:56:27.770Z] GEN 21:56:26.515 - 1 execute jar Create com.hello jar [2024-11-28T05:56:27.770Z] GEN 21:56:26.515 - 2 execute jar Create com.hola jar [2024-11-28T05:56:27.770Z] GEN 21:56:26.515 - 3 execute jar Create com.helper jar [2024-11-28T05:56:27.770Z] GEN 21:56:26.515 - 4 execute jar Create com.discreet jar [2024-11-28T05:56:27.770Z] GEN 21:56:26.515 - 5 execute jar Create tests jar [2024-11-28T05:56:27.770Z] GEN 21:56:26.515 - 6 execute jlink Create runtime image for upgrademodulepath test [2024-11-28T05:56:27.770Z] GEN 21:56:26.516 - 7 execute Run java Override an application module [2024-11-28T05:56:27.770Z] GEN 21:56:26.516 - 8 execute Run java (Negative test) Override a non-upgradable platform module [2024-11-28T05:56:27.770Z] GEN 21:56:26.516 - 9 execute Run java Combine stderr and stdout files of process OT13 [2024-11-28T05:56:27.770Z] GEN 21:56:26.516 - 10 execute count Check output [2024-11-28T05:56:27.770Z] STF 21:56:26.586 - [2024-11-28T05:56:27.770Z] STF 21:56:26.586 - Script generation completed [2024-11-28T05:56:27.770Z] STF 21:56:26.586 - [2024-11-28T05:56:27.770Z] STF 21:56:26.586 - [2024-11-28T05:56:27.770Z] STF 21:56:26.586 - ======================= S E T U P ======================= [2024-11-28T05:56:27.770Z] STF 21:56:26.586 - Running setup: perl /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17327710383276/UpgModPath_Exp_0/20241127-215622-UpgModPathTest/setUp.pl [2024-11-28T05:56:27.770Z] STF 21:56:26.743 - SETUP stage completed [2024-11-28T05:56:27.770Z] STF 21:56:26.758 - [2024-11-28T05:56:27.770Z] STF 21:56:26.758 - ==================== E X E C U T E - ==================== [2024-11-28T05:56:27.770Z] STF 21:56:26.758 - Running execute: perl /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17327710383276/UpgModPath_Exp_0/20241127-215622-UpgModPathTest/execute.pl [2024-11-28T05:56:27.770Z] STF 21:56:26.898 - [2024-11-28T05:56:27.770Z] STF 21:56:26.898 - Java version [2024-11-28T05:56:27.770Z] STF 21:56:26.898 - Running: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/java -version [2024-11-28T05:56:28.207Z] Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-28T05:56:28.207Z] openjdk version "21.0.6-beta" 2025-01-21 [2024-11-28T05:56:28.207Z] OpenJDK Runtime Environment Temurin-21.0.6+5-202411271059 (build 21.0.6-beta+5-202411271059) [2024-11-28T05:56:28.207Z] OpenJDK 64-Bit Server VM Temurin-21.0.6+5-202411271059 (build 21.0.6-beta+5-202411271059, mixed mode) [2024-11-28T05:56:28.207Z] STF 21:56:27.126 - [2024-11-28T05:56:28.207Z] STF 21:56:27.126 - +------ Step 1 - Create com.hello jar [2024-11-28T05:56:28.207Z] STF 21:56:27.126 - | Create modular jar [2024-11-28T05:56:28.207Z] STF 21:56:27.126 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2024-11-28T05:56:28.207Z] STF 21:56:27.126 - | ModuleVersion: null [2024-11-28T05:56:28.207Z] STF 21:56:27.126 - | MainClass: null [2024-11-28T05:56:28.207Z] STF 21:56:27.126 - | HashModules: null [2024-11-28T05:56:28.207Z] STF 21:56:27.127 - | [2024-11-28T05:56:28.208Z] STF 21:56:27.128 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17327710383276/UpgModPath_Exp_0/20241127-215622-UpgModPathTest/modules/1.com.hello.jar -C /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello . [2024-11-28T05:56:28.208Z] STF 21:56:27.128 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17327710383276/UpgModPath_Exp_0/20241127-215622-UpgModPathTest/results/1.CMJ.stderr [2024-11-28T05:56:28.208Z] STF 21:56:27.128 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17327710383276/UpgModPath_Exp_0/20241127-215622-UpgModPathTest/results/1.CMJ.stdout [2024-11-28T05:56:28.208Z] STF 21:56:27.141 - Monitoring processes: CMJ [2024-11-28T05:56:28.208Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-28T05:56:30.484Z] STF 21:56:29.114 - Monitoring Report Summary: [2024-11-28T05:56:30.484Z] STF 21:56:29.114 - o Process CMJ ended with the expected exit code (0) [2024-11-28T05:56:30.484Z] STF 21:56:29.114 - Created modular jar: 1.com.hello.jar [2024-11-28T05:56:30.484Z] STF 21:56:29.114 - [2024-11-28T05:56:30.484Z] STF 21:56:29.114 - +------ Step 2 - Create com.hola jar [2024-11-28T05:56:30.484Z] STF 21:56:29.114 - | Create modular jar [2024-11-28T05:56:30.484Z] STF 21:56:29.115 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2024-11-28T05:56:30.484Z] STF 21:56:29.115 - | ModuleVersion: null [2024-11-28T05:56:30.484Z] STF 21:56:29.115 - | MainClass: null [2024-11-28T05:56:30.484Z] STF 21:56:29.115 - | HashModules: null [2024-11-28T05:56:30.484Z] STF 21:56:29.115 - | [2024-11-28T05:56:30.484Z] STF 21:56:29.115 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17327710383276/UpgModPath_Exp_0/20241127-215622-UpgModPathTest/modules/2.com.hola.jar -C /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola . [2024-11-28T05:56:30.484Z] STF 21:56:29.115 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17327710383276/UpgModPath_Exp_0/20241127-215622-UpgModPathTest/results/2.CMJ.stderr [2024-11-28T05:56:30.484Z] STF 21:56:29.115 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17327710383276/UpgModPath_Exp_0/20241127-215622-UpgModPathTest/results/2.CMJ.stdout [2024-11-28T05:56:30.484Z] STF 21:56:29.117 - Monitoring processes: CMJ [2024-11-28T05:56:30.484Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-28T05:56:30.934Z] STF 21:56:29.645 - Monitoring Report Summary: [2024-11-28T05:56:30.934Z] STF 21:56:29.645 - o Process CMJ ended with the expected exit code (0) [2024-11-28T05:56:30.934Z] STF 21:56:29.645 - Created modular jar: 2.com.hola.jar [2024-11-28T05:56:30.934Z] STF 21:56:29.645 - [2024-11-28T05:56:30.934Z] STF 21:56:29.645 - +------ Step 3 - Create com.helper jar [2024-11-28T05:56:30.934Z] STF 21:56:29.645 - | Create modular jar [2024-11-28T05:56:30.934Z] STF 21:56:29.645 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2024-11-28T05:56:30.934Z] STF 21:56:29.645 - | ModuleVersion: null [2024-11-28T05:56:30.934Z] STF 21:56:29.645 - | MainClass: null [2024-11-28T05:56:30.934Z] STF 21:56:29.645 - | HashModules: null [2024-11-28T05:56:30.934Z] STF 21:56:29.645 - | [2024-11-28T05:56:30.934Z] STF 21:56:29.646 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17327710383276/UpgModPath_Exp_0/20241127-215622-UpgModPathTest/modules/3.com.helper.jar -C /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper . [2024-11-28T05:56:30.934Z] STF 21:56:29.646 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17327710383276/UpgModPath_Exp_0/20241127-215622-UpgModPathTest/results/3.CMJ.stderr [2024-11-28T05:56:30.934Z] STF 21:56:29.646 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17327710383276/UpgModPath_Exp_0/20241127-215622-UpgModPathTest/results/3.CMJ.stdout [2024-11-28T05:56:30.934Z] STF 21:56:29.648 - Monitoring processes: CMJ [2024-11-28T05:56:30.934Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-28T05:56:31.376Z] STF 21:56:30.357 - Monitoring Report Summary: [2024-11-28T05:56:31.376Z] STF 21:56:30.357 - o Process CMJ ended with the expected exit code (0) [2024-11-28T05:56:31.376Z] STF 21:56:30.357 - Created modular jar: 3.com.helper.jar [2024-11-28T05:56:31.376Z] STF 21:56:30.357 - [2024-11-28T05:56:31.376Z] STF 21:56:30.357 - +------ Step 4 - Create com.discreet jar [2024-11-28T05:56:31.376Z] STF 21:56:30.357 - | Create modular jar [2024-11-28T05:56:31.376Z] STF 21:56:30.357 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2024-11-28T05:56:31.376Z] STF 21:56:30.357 - | ModuleVersion: null [2024-11-28T05:56:31.376Z] STF 21:56:30.357 - | MainClass: null [2024-11-28T05:56:31.376Z] STF 21:56:30.357 - | HashModules: null [2024-11-28T05:56:31.376Z] STF 21:56:30.357 - | [2024-11-28T05:56:31.376Z] STF 21:56:30.358 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17327710383276/UpgModPath_Exp_0/20241127-215622-UpgModPathTest/modules/4.com.discreet.jar -C /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet . [2024-11-28T05:56:31.376Z] STF 21:56:30.358 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17327710383276/UpgModPath_Exp_0/20241127-215622-UpgModPathTest/results/4.CMJ.stderr [2024-11-28T05:56:31.376Z] STF 21:56:30.358 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17327710383276/UpgModPath_Exp_0/20241127-215622-UpgModPathTest/results/4.CMJ.stdout [2024-11-28T05:56:31.376Z] STF 21:56:30.394 - Monitoring processes: CMJ [2024-11-28T05:56:31.376Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-28T05:56:32.309Z] STF 21:56:30.993 - Monitoring Report Summary: [2024-11-28T05:56:32.309Z] STF 21:56:30.993 - o Process CMJ ended with the expected exit code (0) [2024-11-28T05:56:32.309Z] STF 21:56:30.994 - Created modular jar: 4.com.discreet.jar [2024-11-28T05:56:32.309Z] STF 21:56:30.994 - [2024-11-28T05:56:32.309Z] STF 21:56:30.994 - +------ Step 5 - Create tests jar [2024-11-28T05:56:32.309Z] STF 21:56:30.994 - | Create modular jar [2024-11-28T05:56:32.309Z] STF 21:56:30.994 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2024-11-28T05:56:32.309Z] STF 21:56:30.994 - | ModuleVersion: null [2024-11-28T05:56:32.309Z] STF 21:56:30.994 - | MainClass: null [2024-11-28T05:56:32.309Z] STF 21:56:30.994 - | HashModules: null [2024-11-28T05:56:32.309Z] STF 21:56:30.994 - | [2024-11-28T05:56:32.310Z] STF 21:56:30.994 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17327710383276/UpgModPath_Exp_0/20241127-215622-UpgModPathTest/modules/5.com.test.jar -C /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test . [2024-11-28T05:56:32.310Z] STF 21:56:30.994 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17327710383276/UpgModPath_Exp_0/20241127-215622-UpgModPathTest/results/5.CMJ.stderr [2024-11-28T05:56:32.310Z] STF 21:56:30.994 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17327710383276/UpgModPath_Exp_0/20241127-215622-UpgModPathTest/results/5.CMJ.stdout [2024-11-28T05:56:32.310Z] STF 21:56:31.005 - Monitoring processes: CMJ [2024-11-28T05:56:32.310Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-28T05:56:33.887Z] STF 21:56:32.471 - Monitoring Report Summary: [2024-11-28T05:56:33.887Z] STF 21:56:32.471 - o Process CMJ ended with the expected exit code (0) [2024-11-28T05:56:33.887Z] STF 21:56:32.471 - Created modular jar: 5.com.test.jar [2024-11-28T05:56:33.887Z] STF 21:56:32.471 - [2024-11-28T05:56:33.887Z] STF 21:56:32.471 - +------ Step 6 - Create runtime image for upgrademodulepath test [2024-11-28T05:56:33.887Z] STF 21:56:32.471 - | Run jlink to create runtime image [2024-11-28T05:56:33.887Z] STF 21:56:32.471 - | ImageName: UpJVM [2024-11-28T05:56:33.887Z] STF 21:56:32.471 - | [2024-11-28T05:56:33.887Z] STF 21:56:32.472 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/jlink --module-path /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/jmods:/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17327710383276/UpgModPath_Exp_0/20241127-215622-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_2/aqa-tests/TKG/output_17327710383276/UpgModPath_Exp_0/20241127-215622-UpgModPathTest/tmp/6.UpJVM [2024-11-28T05:56:33.887Z] STF 21:56:32.472 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17327710383276/UpgModPath_Exp_0/20241127-215622-UpgModPathTest/results/6.JLNK.stderr [2024-11-28T05:56:33.887Z] STF 21:56:32.472 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17327710383276/UpgModPath_Exp_0/20241127-215622-UpgModPathTest/results/6.JLNK.stdout [2024-11-28T05:56:33.887Z] STF 21:56:32.474 - Monitoring processes: JLNK [2024-11-28T05:56:33.887Z] JLNK stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-28T05:56:38.951Z] STF 21:56:37.745 - Monitoring Report Summary: [2024-11-28T05:56:38.951Z] STF 21:56:37.745 - o Process JLNK ended with the expected exit code (0) [2024-11-28T05:56:38.951Z] STF 21:56:37.746 - [2024-11-28T05:56:38.951Z] STF 21:56:37.746 - +------ Step 7 - Override an application module [2024-11-28T05:56:38.951Z] STF 21:56:37.746 - | Run foreground process [2024-11-28T05:56:38.951Z] STF 21:56:37.747 - | Program: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/java [2024-11-28T05:56:38.951Z] STF 21:56:37.747 - | Mnemonic: OT11 [2024-11-28T05:56:38.951Z] STF 21:56:37.747 - | Echo: ECHO_ON [2024-11-28T05:56:38.951Z] STF 21:56:37.747 - | Expectation: CLEAN_RUN within 1m [2024-11-28T05:56:38.951Z] STF 21:56:37.747 - | [2024-11-28T05:56:38.951Z] STF 21:56:37.761 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/java --add-reads com.test=ALL-UNNAMED --module-path /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods:/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests --upgrade-module-path /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello --add-modules=com.test -XX:+UseCompressedOops -classpath /Users/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 [2024-11-28T05:56:38.951Z] STF 21:56:37.762 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17327710383276/UpgModPath_Exp_0/20241127-215622-UpgModPathTest/results/7.OT11.stderr [2024-11-28T05:56:38.951Z] STF 21:56:37.762 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17327710383276/UpgModPath_Exp_0/20241127-215622-UpgModPathTest/results/7.OT11.stdout [2024-11-28T05:56:38.951Z] STF 21:56:37.802 - Monitoring processes: OT11 [2024-11-28T05:56:39.525Z] OT11 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-28T05:56:40.582Z] OT11 JUnit version 4.12 [2024-11-28T05:56:40.582Z] OT11 . [2024-11-28T05:56:40.582Z] OT11 Time: 0.012 [2024-11-28T05:56:40.582Z] OT11 [2024-11-28T05:56:40.582Z] OT11 OK (1 test) [2024-11-28T05:56:40.582Z] OT11 [2024-11-28T05:56:40.582Z] STF 21:56:39.642 - Monitoring Report Summary: [2024-11-28T05:56:40.582Z] STF 21:56:39.642 - o Process OT11 ended with the expected exit code (0) [2024-11-28T05:56:40.582Z] STF 21:56:39.642 - [2024-11-28T05:56:40.582Z] STF 21:56:39.642 - +------ Step 8 - (Negative test) Override a non-upgradable platform module [2024-11-28T05:56:40.582Z] STF 21:56:39.642 - | Run foreground process [2024-11-28T05:56:40.582Z] STF 21:56:39.642 - | Program: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/java [2024-11-28T05:56:40.582Z] STF 21:56:39.642 - | Mnemonic: OT13 [2024-11-28T05:56:40.582Z] STF 21:56:39.642 - | Echo: ECHO_ON [2024-11-28T05:56:40.582Z] STF 21:56:39.642 - | Expectation: NON_ZERO_EXIT [1] within 1m [2024-11-28T05:56:40.582Z] STF 21:56:39.642 - | [2024-11-28T05:56:40.582Z] STF 21:56:39.643 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/java --add-reads com.test=ALL-UNNAMED --module-path /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods:/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests --upgrade-module-path /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/java.logging --add-modules=com.test -XX:+UseCompressedOops -classpath /Users/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 [2024-11-28T05:56:40.582Z] STF 21:56:39.643 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17327710383276/UpgModPath_Exp_0/20241127-215622-UpgModPathTest/results/8.OT13.stderr [2024-11-28T05:56:40.582Z] STF 21:56:39.643 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17327710383276/UpgModPath_Exp_0/20241127-215622-UpgModPathTest/results/8.OT13.stdout [2024-11-28T05:56:40.582Z] STF 21:56:39.674 - Monitoring processes: OT13 [2024-11-28T05:56:41.059Z] OT13 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-28T05:56:41.059Z] OT13 Error occurred during initialization of boot layer [2024-11-28T05:56:41.059Z] OT13 java.lang.module.FindException: Unable to compute the hash of module java.logging [2024-11-28T05:56:41.059Z] STF 21:56:40.072 - Monitoring Report Summary: [2024-11-28T05:56:41.059Z] STF 21:56:40.072 - o Process OT13 ended with the expected exit code (1) [2024-11-28T05:56:41.059Z] STF 21:56:40.072 - [2024-11-28T05:56:41.059Z] STF 21:56:40.073 - +------ Step 9 - Combine stderr and stdout files of process OT13 [2024-11-28T05:56:41.059Z] STF 21:56:40.073 - | Run foreground process [2024-11-28T05:56:41.059Z] STF 21:56:40.073 - | Program: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/java [2024-11-28T05:56:41.059Z] STF 21:56:40.073 - | Mnemonic: CO [2024-11-28T05:56:41.059Z] STF 21:56:40.073 - | Echo: ECHO_OFF [2024-11-28T05:56:41.059Z] STF 21:56:40.073 - | Expectation: NON_ZERO_EXIT [0] within 30s [2024-11-28T05:56:41.059Z] STF 21:56:40.073 - | [2024-11-28T05:56:41.060Z] STF 21:56:40.073 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/java -Dfile1=/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17327710383276/UpgModPath_Exp_0/20241127-215622-UpgModPathTest/results/8.OT13.stdout -Dfile2=/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17327710383276/UpgModPath_Exp_0/20241127-215622-UpgModPathTest/results/8.OT13.stderr -Dfinal.file=/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17327710383276/UpgModPath_Exp_0/20241127-215622-UpgModPathTest/results/combinedOT13.txt -XX:+UseCompressedOops -classpath /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/STF/stf.core/bin:/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin net.adoptopenjdk.test.modularity.TestUtil [2024-11-28T05:56:41.060Z] STF 21:56:40.073 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17327710383276/UpgModPath_Exp_0/20241127-215622-UpgModPathTest/results/9.CO.stderr [2024-11-28T05:56:41.060Z] STF 21:56:40.073 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17327710383276/UpgModPath_Exp_0/20241127-215622-UpgModPathTest/results/9.CO.stdout [2024-11-28T05:56:41.060Z] STF 21:56:40.075 - Monitoring processes: CO [2024-11-28T05:56:41.476Z] STF 21:56:40.418 - Monitoring Report Summary: [2024-11-28T05:56:41.476Z] STF 21:56:40.418 - o Process CO ended with the expected exit code (0) [2024-11-28T05:56:41.476Z] STF 21:56:40.418 - [2024-11-28T05:56:41.476Z] STF 21:56:40.418 - +------ Step 10 - Check output [2024-11-28T05:56:41.476Z] STF 21:56:40.418 - | Count file matches [2024-11-28T05:56:41.476Z] STF 21:56:40.418 - | TargetFile: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17327710383276/UpgModPath_Exp_0/20241127-215622-UpgModPathTest/results/combinedOT13.txt [2024-11-28T05:56:41.476Z] STF 21:56:40.418 - | ExpectedNumMatches: 1 [2024-11-28T05:56:41.476Z] STF 21:56:40.418 - | SearchStrings: ["FindException: Unable to compute the hash of module java.logging"] [2024-11-28T05:56:41.476Z] STF 21:56:40.418 - | [2024-11-28T05:56:41.476Z] STF 21:56:40.419 - Found 1 instances of ["FindException: Unable to compute the hash of module java.logging"] [2024-11-28T05:56:41.476Z] STF 21:56:40.419 - EXECUTE stage completed [2024-11-28T05:56:41.476Z] STF 21:56:40.550 - [2024-11-28T05:56:41.476Z] STF 21:56:40.550 - ==================== T E A R D O W N ==================== [2024-11-28T05:56:41.476Z] STF 21:56:40.550 - Running teardown: perl /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17327710383276/UpgModPath_Exp_0/20241127-215622-UpgModPathTest/tearDown.pl [2024-11-28T05:56:41.888Z] STF 21:56:40.709 - TEARDOWN stage completed [2024-11-28T05:56:41.888Z] STF 21:56:40.723 - [2024-11-28T05:56:41.888Z] STF 21:56:40.723 - ===================== R E S U L T S ===================== [2024-11-28T05:56:41.888Z] STF 21:56:40.723 - Stage results: [2024-11-28T05:56:41.888Z] STF 21:56:40.723 - setUp: pass [2024-11-28T05:56:41.888Z] STF 21:56:40.723 - execute: pass [2024-11-28T05:56:41.888Z] STF 21:56:40.723 - teardown: pass [2024-11-28T05:56:41.888Z] STF 21:56:40.723 - [2024-11-28T05:56:41.888Z] STF 21:56:40.723 - Overall result: PASSED [2024-11-28T05:56:41.888Z] ----------------------------------- [2024-11-28T05:56:41.888Z] UpgModPath_Exp_0_PASSED [2024-11-28T05:56:41.888Z] ----------------------------------- [2024-11-28T05:56:41.888Z] [2024-11-28T05:56:41.888Z] TEST TEARDOWN: [2024-11-28T05:56:41.888Z] Nothing to be done for teardown. [2024-11-28T05:56:42.298Z] UpgModPath_Exp_0 Finish Time: Wed Nov 27 21:56:41 2024 Epoch Time (ms): 1732773401413