UpgModPath_Exp_1

[2024-08-16T21:07:29.821Z] Running test UpgModPath_Exp_1 ... [2024-08-16T21:07:29.821Z] =============================================== [2024-08-16T21:07:29.821Z] UpgModPath_Exp_1 Start Time: Fri Aug 16 14:07:29 2024 Epoch Time (ms): 1723842449226 [2024-08-16T21:07:29.821Z] variation: Mode650 [2024-08-16T21:07:30.205Z] JVM_OPTIONS: -XX:-UseCompressedOops [2024-08-16T21:07:30.205Z] { \ [2024-08-16T21:07:30.205Z] echo ""; echo "TEST SETUP:"; \ [2024-08-16T21:07:30.205Z] echo "Nothing to be done for setup."; \ [2024-08-16T21:07:30.205Z] mkdir -p "/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17238414279401/UpgModPath_Exp_1"; \ [2024-08-16T21:07:30.205Z] cd "/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17238414279401/UpgModPath_Exp_1"; \ [2024-08-16T21:07:30.205Z] echo ""; echo "TESTING:"; \ [2024-08-16T21:07:30.205Z] 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_17238414279401/UpgModPath_Exp_1" -test=UpgModPathTest -test-args="variant=Exp"; \ [2024-08-16T21:07:30.205Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "UpgModPath_Exp_1""_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_17238414279401/UpgModPath_Exp_1"; else echo "-----------------------------------"; echo "UpgModPath_Exp_1""_FAILED"; echo "-----------------------------------"; fi; \ [2024-08-16T21:07:30.205Z] echo ""; echo "TEST TEARDOWN:"; \ [2024-08-16T21:07:30.205Z] echo "Nothing to be done for teardown."; \ [2024-08-16T21:07:30.205Z] } 2>&1 | tee -a "/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17238414279401/TestTargetResult"; [2024-08-16T21:07:30.205Z] [2024-08-16T21:07:30.205Z] TEST SETUP: [2024-08-16T21:07:30.205Z] Nothing to be done for setup. [2024-08-16T21:07:30.205Z] [2024-08-16T21:07:30.205Z] TESTING: [2024-08-16T21:07:30.205Z] STF 14:07:29.605 - ========================= S T F ========================= [2024-08-16T21:07:30.205Z] 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_17238414279401/UpgModPath_Exp_1 [2024-08-16T21:07:30.683Z] There is 10648 Mb free [2024-08-16T21:07:30.683Z] STF 14:07:29.627 - ================== G E N E R A T I O N ================== [2024-08-16T21:07:30.683Z] STF 14:07:29.628 - Checking JVM: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/../ [2024-08-16T21:07:30.683Z] STF 14:07:29.628 - 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_17238414279401/UpgModPath_Exp_1/20240816-140729-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_17238414279401/UpgModPath_Exp_1/20240816-140729-UpgModPathTest" [2024-08-16T21:07:30.683Z] GEN stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-08-16T21:07:34.052Z] GEN 14:07:33.136 - 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-08-16T21:07:34.052Z] GEN 14:07:33.234 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.UpgModPathTest' [2024-08-16T21:07:34.516Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2024-08-16T21:07:34.516Z] 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-08-16T21:07:34.516Z] 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-08-16T21:07:34.516Z] 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-08-16T21:07:34.516Z] 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-08-16T21:07:34.517Z] 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-08-16T21:07:34.517Z] 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-08-16T21:07:34.517Z] 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-08-16T21:07:34.517Z] 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-08-16T21:07:34.517Z] 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-08-16T21:07:34.517Z] 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-08-16T21:07:34.517Z] 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-08-16T21:07:34.517Z] 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-08-16T21:07:34.517Z] 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-08-16T21:07:34.517Z] 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-08-16T21:07:34.517Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin [2024-08-16T21:07:34.517Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/STF/stf.core/bin [2024-08-16T21:07:34.517Z] GEN /Users/admin/workspace/testDependency/system_lib/log4j/log4j-api.jar [2024-08-16T21:07:34.517Z] GEN /Users/admin/workspace/testDependency/system_lib/log4j/log4j-core.jar [2024-08-16T21:07:34.517Z] GEN /Users/admin/workspace/testDependency/system_lib/junit/junit.jar [2024-08-16T21:07:34.907Z] GEN 14:07:33.988 - Using Mode NoOptions. Values = '' [2024-08-16T21:07:34.907Z] GEN 14:07:34.183 - [2024-08-16T21:07:34.907Z] GEN 14:07:34.183 - Test command summary: [2024-08-16T21:07:34.907Z] GEN 14:07:34.183 - Step Stage Command Description [2024-08-16T21:07:34.907Z] GEN 14:07:34.183 - -----+--------+-----------------+------------ [2024-08-16T21:07:34.907Z] GEN 14:07:34.183 - 1 execute jar Create com.hello jar [2024-08-16T21:07:34.907Z] GEN 14:07:34.183 - 2 execute jar Create com.hola jar [2024-08-16T21:07:34.907Z] GEN 14:07:34.183 - 3 execute jar Create com.helper jar [2024-08-16T21:07:34.907Z] GEN 14:07:34.184 - 4 execute jar Create com.discreet jar [2024-08-16T21:07:34.907Z] GEN 14:07:34.184 - 5 execute jar Create tests jar [2024-08-16T21:07:34.907Z] GEN 14:07:34.184 - 6 execute jlink Create runtime image for upgrademodulepath test [2024-08-16T21:07:34.907Z] GEN 14:07:34.184 - 7 execute Run java Override an application module [2024-08-16T21:07:34.907Z] GEN 14:07:34.184 - 8 execute Run java (Negative test) Override a non-upgradable platform module [2024-08-16T21:07:34.907Z] GEN 14:07:34.184 - 9 execute Run java Combine stderr and stdout files of process OT13 [2024-08-16T21:07:34.907Z] GEN 14:07:34.184 - 10 execute count Check output [2024-08-16T21:07:34.907Z] STF 14:07:34.263 - [2024-08-16T21:07:34.907Z] STF 14:07:34.263 - Script generation completed [2024-08-16T21:07:34.907Z] STF 14:07:34.263 - [2024-08-16T21:07:34.907Z] STF 14:07:34.270 - [2024-08-16T21:07:34.907Z] STF 14:07:34.270 - ======================= S E T U P ======================= [2024-08-16T21:07:34.907Z] STF 14:07:34.270 - Running setup: perl /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17238414279401/UpgModPath_Exp_1/20240816-140729-UpgModPathTest/setUp.pl [2024-08-16T21:07:36.132Z] STF 14:07:35.372 - SETUP stage completed [2024-08-16T21:07:36.132Z] STF 14:07:35.423 - [2024-08-16T21:07:36.132Z] STF 14:07:35.423 - ==================== E X E C U T E - ==================== [2024-08-16T21:07:36.132Z] STF 14:07:35.424 - Running execute: perl /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17238414279401/UpgModPath_Exp_1/20240816-140729-UpgModPathTest/execute.pl [2024-08-16T21:07:37.463Z] STF 14:07:36.368 - [2024-08-16T21:07:37.463Z] STF 14:07:36.368 - Java version [2024-08-16T21:07:37.463Z] STF 14:07:36.368 - Running: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/java -version [2024-08-16T21:07:37.463Z] Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-08-16T21:07:37.463Z] STF 14:07:36.773 - [2024-08-16T21:07:37.463Z] STF 14:07:36.773 - +------ Step 1 - Create com.hello jar [2024-08-16T21:07:37.463Z] STF 14:07:36.773 - | Create modular jar [2024-08-16T21:07:37.463Z] STF 14:07:36.773 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2024-08-16T21:07:37.463Z] STF 14:07:36.773 - | ModuleVersion: null [2024-08-16T21:07:37.463Z] STF 14:07:36.773 - | MainClass: null [2024-08-16T21:07:37.463Z] STF 14:07:36.773 - | HashModules: null [2024-08-16T21:07:37.463Z] STF 14:07:36.773 - | [2024-08-16T21:07:37.463Z] openjdk version "21.0.5-beta" 2024-10-15 [2024-08-16T21:07:37.463Z] OpenJDK Runtime Environment Temurin-21.0.5+3-202408161501 (build 21.0.5-beta+3-ea) [2024-08-16T21:07:37.463Z] OpenJDK 64-Bit Server VM Temurin-21.0.5+3-202408161501 (build 21.0.5-beta+3-ea, mixed mode) [2024-08-16T21:07:37.463Z] STF 14:07:36.783 - 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_17238414279401/UpgModPath_Exp_1/20240816-140729-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-08-16T21:07:37.463Z] STF 14:07:36.783 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17238414279401/UpgModPath_Exp_1/20240816-140729-UpgModPathTest/results/1.CMJ.stderr [2024-08-16T21:07:37.463Z] STF 14:07:36.783 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17238414279401/UpgModPath_Exp_1/20240816-140729-UpgModPathTest/results/1.CMJ.stdout [2024-08-16T21:07:37.463Z] STF 14:07:36.806 - Monitoring processes: CMJ [2024-08-16T21:07:37.871Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-08-16T21:07:38.315Z] STF 14:07:37.556 - Monitoring Report Summary: [2024-08-16T21:07:38.315Z] STF 14:07:37.556 - o Process CMJ ended with the expected exit code (0) [2024-08-16T21:07:38.315Z] STF 14:07:37.557 - Created modular jar: 1.com.hello.jar [2024-08-16T21:07:38.315Z] STF 14:07:37.557 - [2024-08-16T21:07:38.315Z] STF 14:07:37.557 - +------ Step 2 - Create com.hola jar [2024-08-16T21:07:38.315Z] STF 14:07:37.557 - | Create modular jar [2024-08-16T21:07:38.315Z] STF 14:07:37.557 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2024-08-16T21:07:38.315Z] STF 14:07:37.557 - | ModuleVersion: null [2024-08-16T21:07:38.315Z] STF 14:07:37.557 - | MainClass: null [2024-08-16T21:07:38.315Z] STF 14:07:37.557 - | HashModules: null [2024-08-16T21:07:38.315Z] STF 14:07:37.557 - | [2024-08-16T21:07:38.315Z] STF 14:07:37.557 - 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_17238414279401/UpgModPath_Exp_1/20240816-140729-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-08-16T21:07:38.315Z] STF 14:07:37.557 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17238414279401/UpgModPath_Exp_1/20240816-140729-UpgModPathTest/results/2.CMJ.stderr [2024-08-16T21:07:38.315Z] STF 14:07:37.557 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17238414279401/UpgModPath_Exp_1/20240816-140729-UpgModPathTest/results/2.CMJ.stdout [2024-08-16T21:07:38.315Z] STF 14:07:37.559 - Monitoring processes: CMJ [2024-08-16T21:07:38.315Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-08-16T21:07:39.578Z] STF 14:07:38.347 - Monitoring Report Summary: [2024-08-16T21:07:39.578Z] STF 14:07:38.347 - o Process CMJ ended with the expected exit code (0) [2024-08-16T21:07:39.578Z] STF 14:07:38.347 - Created modular jar: 2.com.hola.jar [2024-08-16T21:07:39.578Z] STF 14:07:38.347 - [2024-08-16T21:07:39.578Z] STF 14:07:38.347 - +------ Step 3 - Create com.helper jar [2024-08-16T21:07:39.578Z] STF 14:07:38.347 - | Create modular jar [2024-08-16T21:07:39.578Z] STF 14:07:38.347 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2024-08-16T21:07:39.578Z] STF 14:07:38.347 - | ModuleVersion: null [2024-08-16T21:07:39.578Z] STF 14:07:38.347 - | MainClass: null [2024-08-16T21:07:39.578Z] STF 14:07:38.347 - | HashModules: null [2024-08-16T21:07:39.578Z] STF 14:07:38.347 - | [2024-08-16T21:07:39.578Z] STF 14:07:38.347 - 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_17238414279401/UpgModPath_Exp_1/20240816-140729-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-08-16T21:07:39.578Z] STF 14:07:38.348 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17238414279401/UpgModPath_Exp_1/20240816-140729-UpgModPathTest/results/3.CMJ.stderr [2024-08-16T21:07:39.579Z] STF 14:07:38.348 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17238414279401/UpgModPath_Exp_1/20240816-140729-UpgModPathTest/results/3.CMJ.stdout [2024-08-16T21:07:39.579Z] STF 14:07:38.350 - Monitoring processes: CMJ [2024-08-16T21:07:39.579Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-08-16T21:07:41.239Z] STF 14:07:40.292 - Monitoring Report Summary: [2024-08-16T21:07:41.239Z] STF 14:07:40.292 - o Process CMJ ended with the expected exit code (0) [2024-08-16T21:07:41.239Z] STF 14:07:40.292 - Created modular jar: 3.com.helper.jar [2024-08-16T21:07:41.239Z] STF 14:07:40.292 - [2024-08-16T21:07:41.239Z] STF 14:07:40.292 - +------ Step 4 - Create com.discreet jar [2024-08-16T21:07:41.239Z] STF 14:07:40.292 - | Create modular jar [2024-08-16T21:07:41.239Z] STF 14:07:40.292 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2024-08-16T21:07:41.239Z] STF 14:07:40.292 - | ModuleVersion: null [2024-08-16T21:07:41.239Z] STF 14:07:40.292 - | MainClass: null [2024-08-16T21:07:41.239Z] STF 14:07:40.292 - | HashModules: null [2024-08-16T21:07:41.239Z] STF 14:07:40.292 - | [2024-08-16T21:07:41.239Z] STF 14:07:40.293 - 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_17238414279401/UpgModPath_Exp_1/20240816-140729-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-08-16T21:07:41.239Z] STF 14:07:40.293 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17238414279401/UpgModPath_Exp_1/20240816-140729-UpgModPathTest/results/4.CMJ.stderr [2024-08-16T21:07:41.239Z] STF 14:07:40.293 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17238414279401/UpgModPath_Exp_1/20240816-140729-UpgModPathTest/results/4.CMJ.stdout [2024-08-16T21:07:41.239Z] STF 14:07:40.295 - Monitoring processes: CMJ [2024-08-16T21:07:41.239Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-08-16T21:07:41.645Z] STF 14:07:40.907 - Monitoring Report Summary: [2024-08-16T21:07:41.645Z] STF 14:07:40.907 - o Process CMJ ended with the expected exit code (0) [2024-08-16T21:07:41.645Z] STF 14:07:40.907 - Created modular jar: 4.com.discreet.jar [2024-08-16T21:07:41.645Z] STF 14:07:40.907 - [2024-08-16T21:07:41.645Z] STF 14:07:40.907 - +------ Step 5 - Create tests jar [2024-08-16T21:07:41.645Z] STF 14:07:40.907 - | Create modular jar [2024-08-16T21:07:41.645Z] STF 14:07:40.907 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2024-08-16T21:07:41.645Z] STF 14:07:40.907 - | ModuleVersion: null [2024-08-16T21:07:41.645Z] STF 14:07:40.907 - | MainClass: null [2024-08-16T21:07:41.645Z] STF 14:07:40.907 - | HashModules: null [2024-08-16T21:07:41.645Z] STF 14:07:40.907 - | [2024-08-16T21:07:41.645Z] STF 14:07:40.908 - 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_17238414279401/UpgModPath_Exp_1/20240816-140729-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-08-16T21:07:41.645Z] STF 14:07:40.908 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17238414279401/UpgModPath_Exp_1/20240816-140729-UpgModPathTest/results/5.CMJ.stderr [2024-08-16T21:07:41.645Z] STF 14:07:40.908 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17238414279401/UpgModPath_Exp_1/20240816-140729-UpgModPathTest/results/5.CMJ.stdout [2024-08-16T21:07:41.645Z] STF 14:07:40.930 - Monitoring processes: CMJ [2024-08-16T21:07:41.645Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-08-16T21:07:44.149Z] STF 14:07:43.336 - Monitoring Report Summary: [2024-08-16T21:07:44.150Z] STF 14:07:43.336 - o Process CMJ ended with the expected exit code (0) [2024-08-16T21:07:44.150Z] STF 14:07:43.336 - Created modular jar: 5.com.test.jar [2024-08-16T21:07:44.150Z] STF 14:07:43.336 - [2024-08-16T21:07:44.150Z] STF 14:07:43.336 - +------ Step 6 - Create runtime image for upgrademodulepath test [2024-08-16T21:07:44.150Z] STF 14:07:43.336 - | Run jlink to create runtime image [2024-08-16T21:07:44.150Z] STF 14:07:43.336 - | ImageName: UpJVM [2024-08-16T21:07:44.150Z] STF 14:07:43.336 - | [2024-08-16T21:07:44.150Z] STF 14:07:43.337 - 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_17238414279401/UpgModPath_Exp_1/20240816-140729-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_17238414279401/UpgModPath_Exp_1/20240816-140729-UpgModPathTest/tmp/6.UpJVM [2024-08-16T21:07:44.150Z] STF 14:07:43.337 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17238414279401/UpgModPath_Exp_1/20240816-140729-UpgModPathTest/results/6.JLNK.stderr [2024-08-16T21:07:44.150Z] STF 14:07:43.337 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17238414279401/UpgModPath_Exp_1/20240816-140729-UpgModPathTest/results/6.JLNK.stdout [2024-08-16T21:07:44.150Z] STF 14:07:43.383 - Monitoring processes: JLNK [2024-08-16T21:07:44.150Z] JLNK stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-08-16T21:08:00.018Z] STF 14:07:58.452 - Monitoring Report Summary: [2024-08-16T21:08:00.018Z] STF 14:07:58.452 - o Process JLNK ended with the expected exit code (0) [2024-08-16T21:08:00.018Z] STF 14:07:58.452 - [2024-08-16T21:08:00.018Z] STF 14:07:58.452 - +------ Step 7 - Override an application module [2024-08-16T21:08:00.018Z] STF 14:07:58.452 - | Run foreground process [2024-08-16T21:08:00.018Z] STF 14:07:58.452 - | Program: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/java [2024-08-16T21:08:00.018Z] STF 14:07:58.453 - | Mnemonic: OT11 [2024-08-16T21:08:00.018Z] STF 14:07:58.453 - | Echo: ECHO_ON [2024-08-16T21:08:00.018Z] STF 14:07:58.453 - | Expectation: CLEAN_RUN within 1m [2024-08-16T21:08:00.018Z] STF 14:07:58.453 - | [2024-08-16T21:08:00.019Z] STF 14:07:58.453 - 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-08-16T21:08:00.019Z] STF 14:07:58.453 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17238414279401/UpgModPath_Exp_1/20240816-140729-UpgModPathTest/results/7.OT11.stderr [2024-08-16T21:08:00.019Z] STF 14:07:58.453 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17238414279401/UpgModPath_Exp_1/20240816-140729-UpgModPathTest/results/7.OT11.stdout [2024-08-16T21:08:00.019Z] STF 14:07:58.457 - Monitoring processes: OT11 [2024-08-16T21:08:00.019Z] OT11 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-08-16T21:08:01.971Z] OT11 JUnit version 4.12 [2024-08-16T21:08:01.971Z] OT11 . [2024-08-16T21:08:01.971Z] OT11 Time: 0.003 [2024-08-16T21:08:01.971Z] OT11 [2024-08-16T21:08:01.971Z] OT11 OK (1 test) [2024-08-16T21:08:01.971Z] OT11 [2024-08-16T21:08:01.971Z] STF 14:08:00.937 - Monitoring Report Summary: [2024-08-16T21:08:01.971Z] STF 14:08:00.937 - o Process OT11 ended with the expected exit code (0) [2024-08-16T21:08:01.971Z] STF 14:08:00.938 - [2024-08-16T21:08:01.972Z] STF 14:08:00.938 - +------ Step 8 - (Negative test) Override a non-upgradable platform module [2024-08-16T21:08:01.972Z] STF 14:08:00.938 - | Run foreground process [2024-08-16T21:08:01.972Z] STF 14:08:00.938 - | Program: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/java [2024-08-16T21:08:01.972Z] STF 14:08:00.938 - | Mnemonic: OT13 [2024-08-16T21:08:01.972Z] STF 14:08:00.938 - | Echo: ECHO_ON [2024-08-16T21:08:01.972Z] STF 14:08:00.938 - | Expectation: NON_ZERO_EXIT [1] within 1m [2024-08-16T21:08:01.972Z] STF 14:08:00.938 - | [2024-08-16T21:08:01.972Z] STF 14:08:00.938 - 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-08-16T21:08:01.972Z] STF 14:08:00.938 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17238414279401/UpgModPath_Exp_1/20240816-140729-UpgModPathTest/results/8.OT13.stderr [2024-08-16T21:08:01.972Z] STF 14:08:00.938 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17238414279401/UpgModPath_Exp_1/20240816-140729-UpgModPathTest/results/8.OT13.stdout [2024-08-16T21:08:01.972Z] STF 14:08:00.943 - Monitoring processes: OT13 [2024-08-16T21:08:01.972Z] OT13 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-08-16T21:08:02.396Z] OT13 Error occurred during initialization of boot layer [2024-08-16T21:08:02.396Z] OT13 java.lang.module.FindException: Unable to compute the hash of module java.logging [2024-08-16T21:08:02.396Z] STF 14:08:01.507 - Monitoring Report Summary: [2024-08-16T21:08:02.396Z] STF 14:08:01.508 - o Process OT13 ended with the expected exit code (1) [2024-08-16T21:08:02.396Z] STF 14:08:01.508 - [2024-08-16T21:08:02.396Z] STF 14:08:01.508 - +------ Step 9 - Combine stderr and stdout files of process OT13 [2024-08-16T21:08:02.396Z] STF 14:08:01.508 - | Run foreground process [2024-08-16T21:08:02.396Z] STF 14:08:01.508 - | Program: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/java [2024-08-16T21:08:02.396Z] STF 14:08:01.508 - | Mnemonic: CO [2024-08-16T21:08:02.396Z] STF 14:08:01.508 - | Echo: ECHO_OFF [2024-08-16T21:08:02.396Z] STF 14:08:01.508 - | Expectation: NON_ZERO_EXIT [0] within 30s [2024-08-16T21:08:02.396Z] STF 14:08:01.508 - | [2024-08-16T21:08:02.396Z] STF 14:08:01.508 - 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_17238414279401/UpgModPath_Exp_1/20240816-140729-UpgModPathTest/results/8.OT13.stdout -Dfile2=/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17238414279401/UpgModPath_Exp_1/20240816-140729-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_17238414279401/UpgModPath_Exp_1/20240816-140729-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-08-16T21:08:02.396Z] STF 14:08:01.508 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17238414279401/UpgModPath_Exp_1/20240816-140729-UpgModPathTest/results/9.CO.stderr [2024-08-16T21:08:02.396Z] STF 14:08:01.508 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17238414279401/UpgModPath_Exp_1/20240816-140729-UpgModPathTest/results/9.CO.stdout [2024-08-16T21:08:02.396Z] STF 14:08:01.561 - Monitoring processes: CO [2024-08-16T21:08:02.852Z] STF 14:08:01.889 - Monitoring Report Summary: [2024-08-16T21:08:02.852Z] STF 14:08:01.889 - o Process CO ended with the expected exit code (0) [2024-08-16T21:08:02.852Z] STF 14:08:01.889 - [2024-08-16T21:08:02.852Z] STF 14:08:01.889 - +------ Step 10 - Check output [2024-08-16T21:08:02.852Z] STF 14:08:01.889 - | Count file matches [2024-08-16T21:08:02.852Z] STF 14:08:01.889 - | TargetFile: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17238414279401/UpgModPath_Exp_1/20240816-140729-UpgModPathTest/results/combinedOT13.txt [2024-08-16T21:08:02.852Z] STF 14:08:01.889 - | ExpectedNumMatches: 1 [2024-08-16T21:08:02.852Z] STF 14:08:01.889 - | SearchStrings: ["FindException: Unable to compute the hash of module java.logging"] [2024-08-16T21:08:02.852Z] STF 14:08:01.889 - | [2024-08-16T21:08:02.852Z] STF 14:08:01.889 - Found 1 instances of ["FindException: Unable to compute the hash of module java.logging"] [2024-08-16T21:08:02.852Z] STF 14:08:01.889 - EXECUTE stage completed [2024-08-16T21:08:02.852Z] STF 14:08:02.144 - [2024-08-16T21:08:02.852Z] STF 14:08:02.145 - ==================== T E A R D O W N ==================== [2024-08-16T21:08:02.852Z] STF 14:08:02.145 - Running teardown: perl /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17238414279401/UpgModPath_Exp_1/20240816-140729-UpgModPathTest/tearDown.pl [2024-08-16T21:08:04.108Z] STF 14:08:03.194 - TEARDOWN stage completed [2024-08-16T21:08:04.108Z] STF 14:08:03.199 - [2024-08-16T21:08:04.108Z] STF 14:08:03.199 - ===================== R E S U L T S ===================== [2024-08-16T21:08:04.108Z] STF 14:08:03.199 - Stage results: [2024-08-16T21:08:04.108Z] STF 14:08:03.199 - setUp: pass [2024-08-16T21:08:04.108Z] STF 14:08:03.199 - execute: pass [2024-08-16T21:08:04.108Z] STF 14:08:03.199 - teardown: pass [2024-08-16T21:08:04.108Z] STF 14:08:03.199 - [2024-08-16T21:08:04.108Z] STF 14:08:03.199 - Overall result: PASSED [2024-08-16T21:08:04.108Z] ----------------------------------- [2024-08-16T21:08:04.108Z] UpgModPath_Exp_1_PASSED [2024-08-16T21:08:04.108Z] ----------------------------------- [2024-08-16T21:08:04.108Z] [2024-08-16T21:08:04.108Z] TEST TEARDOWN: [2024-08-16T21:08:04.108Z] Nothing to be done for teardown. [2024-08-16T21:08:04.108Z] UpgModPath_Exp_1 Finish Time: Fri Aug 16 14:08:03 2024 Epoch Time (ms): 1723842483438