UpgModPath_Exp_0
[2025-04-30T23:07:48.566Z] Running test UpgModPath_Exp_0 ...
[2025-04-30T23:07:48.566Z] ===============================================
[2025-04-30T23:07:48.566Z] UpgModPath_Exp_0 Start Time: Wed Apr 30 16:07:48 2025 Epoch Time (ms): 1746054468178
[2025-04-30T23:07:48.566Z] variation: Mode150
[2025-04-30T23:07:48.566Z] JVM_OPTIONS: -XX:+UseCompressedOops
[2025-04-30T23:07:48.566Z] { \
[2025-04-30T23:07:48.566Z] echo ""; echo "TEST SETUP:"; \
[2025-04-30T23:07:48.566Z] echo "Nothing to be done for setup."; \
[2025-04-30T23:07:48.566Z] mkdir -p "/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17460534025178/UpgModPath_Exp_0"; \
[2025-04-30T23:07:48.566Z] cd "/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17460534025178/UpgModPath_Exp_0"; \
[2025-04-30T23:07:48.566Z] echo ""; echo "TESTING:"; \
[2025-04-30T23:07:48.566Z] 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_17460534025178/UpgModPath_Exp_0" -test=UpgModPathTest -test-args="variant=Exp"; \
[2025-04-30T23:07:48.566Z] 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_17460534025178/UpgModPath_Exp_0"; else echo "-----------------------------------"; echo "UpgModPath_Exp_0""_FAILED"; echo "-----------------------------------"; fi; \
[2025-04-30T23:07:48.566Z] echo ""; echo "TEST TEARDOWN:"; \
[2025-04-30T23:07:48.566Z] echo "Nothing to be done for teardown."; \
[2025-04-30T23:07:48.566Z] } 2>&1 | tee -a "/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17460534025178/TestTargetResult";
[2025-04-30T23:07:48.566Z]
[2025-04-30T23:07:48.566Z] TEST SETUP:
[2025-04-30T23:07:48.566Z] Nothing to be done for setup.
[2025-04-30T23:07:48.566Z]
[2025-04-30T23:07:48.566Z] TESTING:
[2025-04-30T23:07:48.980Z] STF 16:07:48.411 - ========================= S T F =========================
[2025-04-30T23:07:48.980Z] 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_17460534025178/UpgModPath_Exp_0
[2025-04-30T23:07:48.980Z] There is 10876 Mb free
[2025-04-30T23:07:48.980Z] STF 16:07:48.423 - ================== G E N E R A T I O N ==================
[2025-04-30T23:07:48.980Z] STF 16:07:48.424 - Checking JVM: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/../
[2025-04-30T23:07:48.980Z] STF 16:07:48.424 - 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 -Dload.agent.path=/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/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_2/../../testDependency/system_lib//asm/asm.jar:/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/../../testDependency/system_lib//asm/asm-commons.jar:/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_17460534025178/UpgModPath_Exp_0/20250430-160748-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_17460534025178/UpgModPath_Exp_0/20250430-160748-UpgModPathTest"
[2025-04-30T23:07:48.980Z] GEN stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-04-30T23:07:51.260Z] GEN 16:07:50.996 - 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'
[2025-04-30T23:07:51.738Z] GEN 16:07:51.032 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.UpgModPathTest'
[2025-04-30T23:07:51.738Z] GEN Classpath directories used by project 'openjdk.test.modularity':
[2025-04-30T23:07:51.738Z] 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
[2025-04-30T23:07:51.738Z] 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
[2025-04-30T23:07:51.738Z] 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
[2025-04-30T23:07:51.738Z] 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
[2025-04-30T23:07:51.738Z] 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
[2025-04-30T23:07:51.738Z] 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
[2025-04-30T23:07:51.738Z] 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
[2025-04-30T23:07:51.738Z] 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
[2025-04-30T23:07:51.738Z] 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
[2025-04-30T23:07:51.738Z] 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
[2025-04-30T23:07:51.738Z] 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
[2025-04-30T23:07:51.738Z] 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
[2025-04-30T23:07:51.738Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common
[2025-04-30T23:07:51.738Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests
[2025-04-30T23:07:51.738Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin
[2025-04-30T23:07:51.738Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/STF/stf.core/bin
[2025-04-30T23:07:51.738Z] GEN /Users/admin/workspace/testDependency/system_lib/log4j/log4j-api.jar
[2025-04-30T23:07:51.738Z] GEN /Users/admin/workspace/testDependency/system_lib/log4j/log4j-core.jar
[2025-04-30T23:07:51.738Z] GEN /Users/admin/workspace/testDependency/system_lib/junit/junit.jar
[2025-04-30T23:07:51.738Z] GEN 16:07:51.357 - Using Mode NoOptions. Values = ''
[2025-04-30T23:07:52.165Z] GEN 16:07:51.548 -
[2025-04-30T23:07:52.165Z] GEN 16:07:51.548 - Test command summary:
[2025-04-30T23:07:52.165Z] GEN 16:07:51.548 - Step Stage Command Description
[2025-04-30T23:07:52.165Z] GEN 16:07:51.548 - -----+--------+-----------------+------------
[2025-04-30T23:07:52.165Z] GEN 16:07:51.549 - 1 execute jar Create com.hello jar
[2025-04-30T23:07:52.165Z] GEN 16:07:51.549 - 2 execute jar Create com.hola jar
[2025-04-30T23:07:52.165Z] GEN 16:07:51.549 - 3 execute jar Create com.helper jar
[2025-04-30T23:07:52.165Z] GEN 16:07:51.549 - 4 execute jar Create com.discreet jar
[2025-04-30T23:07:52.165Z] GEN 16:07:51.549 - 5 execute jar Create tests jar
[2025-04-30T23:07:52.165Z] GEN 16:07:51.550 - 6 execute jlink Create runtime image for upgrademodulepath test
[2025-04-30T23:07:52.165Z] GEN 16:07:51.550 - 7 execute Run java Override an application module
[2025-04-30T23:07:52.165Z] GEN 16:07:51.551 - 8 execute Run java (Negative test) Override a non-upgradable platform module
[2025-04-30T23:07:52.165Z] GEN 16:07:51.551 - 9 execute Run java Combine stderr and stdout files of process OT13
[2025-04-30T23:07:52.165Z] GEN 16:07:51.551 - 10 execute count Check output
[2025-04-30T23:07:52.165Z] STF 16:07:51.607 -
[2025-04-30T23:07:52.165Z] STF 16:07:51.607 - Script generation completed
[2025-04-30T23:07:52.165Z] STF 16:07:51.607 -
[2025-04-30T23:07:52.165Z] STF 16:07:51.609 -
[2025-04-30T23:07:52.165Z] STF 16:07:51.609 - ======================= S E T U P =======================
[2025-04-30T23:07:52.165Z] STF 16:07:51.609 - Running setup: perl /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17460534025178/UpgModPath_Exp_0/20250430-160748-UpgModPathTest/setUp.pl
[2025-04-30T23:07:52.165Z] STF 16:07:51.757 - SETUP stage completed
[2025-04-30T23:07:52.165Z] STF 16:07:51.770 -
[2025-04-30T23:07:52.165Z] STF 16:07:51.770 - ==================== E X E C U T E - ====================
[2025-04-30T23:07:52.165Z] STF 16:07:51.770 - Running execute: perl /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17460534025178/UpgModPath_Exp_0/20250430-160748-UpgModPathTest/execute.pl
[2025-04-30T23:07:52.609Z] STF 16:07:51.951 -
[2025-04-30T23:07:52.609Z] STF 16:07:51.951 - Java version
[2025-04-30T23:07:52.609Z] STF 16:07:51.951 - Running: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/java -version
[2025-04-30T23:07:52.609Z] Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-04-30T23:07:52.609Z] openjdk version "21.0.8-beta" 2025-07-15
[2025-04-30T23:07:52.609Z] OpenJDK Runtime Environment Temurin-21.0.8+1-202504301903 (build 21.0.8-beta+1-ea)
[2025-04-30T23:07:52.609Z] OpenJDK 64-Bit Server VM Temurin-21.0.8+1-202504301903 (build 21.0.8-beta+1-ea, mixed mode)
[2025-04-30T23:07:52.609Z] STF 16:07:52.153 -
[2025-04-30T23:07:52.609Z] STF 16:07:52.154 - +------ Step 1 - Create com.hello jar
[2025-04-30T23:07:52.609Z] STF 16:07:52.154 - | Create modular jar
[2025-04-30T23:07:52.609Z] STF 16:07:52.154 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello
[2025-04-30T23:07:52.609Z] STF 16:07:52.154 - | ModuleVersion: null
[2025-04-30T23:07:52.609Z] STF 16:07:52.154 - | MainClass: null
[2025-04-30T23:07:52.609Z] STF 16:07:52.154 - | HashModules: null
[2025-04-30T23:07:52.609Z] STF 16:07:52.154 - |
[2025-04-30T23:07:52.609Z] STF 16:07:52.155 - 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_17460534025178/UpgModPath_Exp_0/20250430-160748-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 .
[2025-04-30T23:07:52.609Z] STF 16:07:52.155 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17460534025178/UpgModPath_Exp_0/20250430-160748-UpgModPathTest/results/1.CMJ.stderr
[2025-04-30T23:07:52.610Z] STF 16:07:52.155 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17460534025178/UpgModPath_Exp_0/20250430-160748-UpgModPathTest/results/1.CMJ.stdout
[2025-04-30T23:07:52.610Z] STF 16:07:52.167 - Monitoring processes: CMJ
[2025-04-30T23:07:52.610Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-04-30T23:07:54.167Z] STF 16:07:53.558 - Monitoring Report Summary:
[2025-04-30T23:07:54.167Z] STF 16:07:53.558 - o Process CMJ ended with the expected exit code (0)
[2025-04-30T23:07:54.167Z] STF 16:07:53.558 - Created modular jar: 1.com.hello.jar
[2025-04-30T23:07:54.167Z] STF 16:07:53.558 -
[2025-04-30T23:07:54.167Z] STF 16:07:53.558 - +------ Step 2 - Create com.hola jar
[2025-04-30T23:07:54.167Z] STF 16:07:53.558 - | Create modular jar
[2025-04-30T23:07:54.167Z] STF 16:07:53.558 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola
[2025-04-30T23:07:54.167Z] STF 16:07:53.558 - | ModuleVersion: null
[2025-04-30T23:07:54.167Z] STF 16:07:53.558 - | MainClass: null
[2025-04-30T23:07:54.167Z] STF 16:07:53.558 - | HashModules: null
[2025-04-30T23:07:54.167Z] STF 16:07:53.558 - |
[2025-04-30T23:07:54.167Z] STF 16:07:53.558 - 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_17460534025178/UpgModPath_Exp_0/20250430-160748-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 .
[2025-04-30T23:07:54.167Z] STF 16:07:53.558 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17460534025178/UpgModPath_Exp_0/20250430-160748-UpgModPathTest/results/2.CMJ.stderr
[2025-04-30T23:07:54.167Z] STF 16:07:53.558 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17460534025178/UpgModPath_Exp_0/20250430-160748-UpgModPathTest/results/2.CMJ.stdout
[2025-04-30T23:07:54.167Z] STF 16:07:53.562 - Monitoring processes: CMJ
[2025-04-30T23:07:54.167Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-04-30T23:07:54.617Z] STF 16:07:54.032 - Monitoring Report Summary:
[2025-04-30T23:07:54.617Z] STF 16:07:54.032 - o Process CMJ ended with the expected exit code (0)
[2025-04-30T23:07:54.617Z] STF 16:07:54.032 - Created modular jar: 2.com.hola.jar
[2025-04-30T23:07:54.617Z] STF 16:07:54.032 -
[2025-04-30T23:07:54.617Z] STF 16:07:54.032 - +------ Step 3 - Create com.helper jar
[2025-04-30T23:07:54.617Z] STF 16:07:54.032 - | Create modular jar
[2025-04-30T23:07:54.617Z] STF 16:07:54.032 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper
[2025-04-30T23:07:54.617Z] STF 16:07:54.032 - | ModuleVersion: null
[2025-04-30T23:07:54.617Z] STF 16:07:54.032 - | MainClass: null
[2025-04-30T23:07:54.617Z] STF 16:07:54.032 - | HashModules: null
[2025-04-30T23:07:54.617Z] STF 16:07:54.032 - |
[2025-04-30T23:07:54.617Z] STF 16:07:54.032 - 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_17460534025178/UpgModPath_Exp_0/20250430-160748-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 .
[2025-04-30T23:07:54.617Z] STF 16:07:54.032 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17460534025178/UpgModPath_Exp_0/20250430-160748-UpgModPathTest/results/3.CMJ.stderr
[2025-04-30T23:07:54.617Z] STF 16:07:54.033 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17460534025178/UpgModPath_Exp_0/20250430-160748-UpgModPathTest/results/3.CMJ.stdout
[2025-04-30T23:07:54.617Z] STF 16:07:54.035 - Monitoring processes: CMJ
[2025-04-30T23:07:54.617Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-04-30T23:07:55.032Z] STF 16:07:54.547 - Monitoring Report Summary:
[2025-04-30T23:07:55.032Z] STF 16:07:54.547 - o Process CMJ ended with the expected exit code (0)
[2025-04-30T23:07:55.032Z] STF 16:07:54.547 - Created modular jar: 3.com.helper.jar
[2025-04-30T23:07:55.032Z] STF 16:07:54.547 -
[2025-04-30T23:07:55.032Z] STF 16:07:54.547 - +------ Step 4 - Create com.discreet jar
[2025-04-30T23:07:55.032Z] STF 16:07:54.547 - | Create modular jar
[2025-04-30T23:07:55.032Z] STF 16:07:54.547 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet
[2025-04-30T23:07:55.032Z] STF 16:07:54.547 - | ModuleVersion: null
[2025-04-30T23:07:55.032Z] STF 16:07:54.547 - | MainClass: null
[2025-04-30T23:07:55.032Z] STF 16:07:54.547 - | HashModules: null
[2025-04-30T23:07:55.032Z] STF 16:07:54.547 - |
[2025-04-30T23:07:55.032Z] STF 16:07:54.548 - 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_17460534025178/UpgModPath_Exp_0/20250430-160748-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 .
[2025-04-30T23:07:55.032Z] STF 16:07:54.548 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17460534025178/UpgModPath_Exp_0/20250430-160748-UpgModPathTest/results/4.CMJ.stderr
[2025-04-30T23:07:55.032Z] STF 16:07:54.548 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17460534025178/UpgModPath_Exp_0/20250430-160748-UpgModPathTest/results/4.CMJ.stdout
[2025-04-30T23:07:55.032Z] STF 16:07:54.563 - Monitoring processes: CMJ
[2025-04-30T23:07:55.032Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-04-30T23:07:55.470Z] STF 16:07:55.108 - Monitoring Report Summary:
[2025-04-30T23:07:55.470Z] STF 16:07:55.108 - o Process CMJ ended with the expected exit code (0)
[2025-04-30T23:07:55.470Z] STF 16:07:55.108 - Created modular jar: 4.com.discreet.jar
[2025-04-30T23:07:55.470Z] STF 16:07:55.108 -
[2025-04-30T23:07:55.470Z] STF 16:07:55.108 - +------ Step 5 - Create tests jar
[2025-04-30T23:07:55.470Z] STF 16:07:55.108 - | Create modular jar
[2025-04-30T23:07:55.470Z] STF 16:07:55.108 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test
[2025-04-30T23:07:55.470Z] STF 16:07:55.108 - | ModuleVersion: null
[2025-04-30T23:07:55.470Z] STF 16:07:55.108 - | MainClass: null
[2025-04-30T23:07:55.470Z] STF 16:07:55.108 - | HashModules: null
[2025-04-30T23:07:55.470Z] STF 16:07:55.108 - |
[2025-04-30T23:07:55.470Z] STF 16:07:55.108 - 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_17460534025178/UpgModPath_Exp_0/20250430-160748-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 .
[2025-04-30T23:07:55.470Z] STF 16:07:55.108 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17460534025178/UpgModPath_Exp_0/20250430-160748-UpgModPathTest/results/5.CMJ.stderr
[2025-04-30T23:07:55.470Z] STF 16:07:55.109 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17460534025178/UpgModPath_Exp_0/20250430-160748-UpgModPathTest/results/5.CMJ.stdout
[2025-04-30T23:07:55.470Z] STF 16:07:55.112 - Monitoring processes: CMJ
[2025-04-30T23:07:55.470Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-04-30T23:07:56.422Z] STF 16:07:55.664 - Monitoring Report Summary:
[2025-04-30T23:07:56.422Z] STF 16:07:55.664 - o Process CMJ ended with the expected exit code (0)
[2025-04-30T23:07:56.422Z] STF 16:07:55.665 - Created modular jar: 5.com.test.jar
[2025-04-30T23:07:56.422Z] STF 16:07:55.665 -
[2025-04-30T23:07:56.422Z] STF 16:07:55.665 - +------ Step 6 - Create runtime image for upgrademodulepath test
[2025-04-30T23:07:56.422Z] STF 16:07:55.665 - | Run jlink to create runtime image
[2025-04-30T23:07:56.422Z] STF 16:07:55.665 - | ImageName: UpJVM
[2025-04-30T23:07:56.422Z] STF 16:07:55.665 - |
[2025-04-30T23:07:56.422Z] STF 16:07:55.665 - 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_17460534025178/UpgModPath_Exp_0/20250430-160748-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_17460534025178/UpgModPath_Exp_0/20250430-160748-UpgModPathTest/tmp/6.UpJVM
[2025-04-30T23:07:56.422Z] STF 16:07:55.665 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17460534025178/UpgModPath_Exp_0/20250430-160748-UpgModPathTest/results/6.JLNK.stderr
[2025-04-30T23:07:56.422Z] STF 16:07:55.665 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17460534025178/UpgModPath_Exp_0/20250430-160748-UpgModPathTest/results/6.JLNK.stdout
[2025-04-30T23:07:56.422Z] STF 16:07:55.677 - Monitoring processes: JLNK
[2025-04-30T23:07:56.422Z] JLNK stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-04-30T23:08:03.872Z] STF 16:08:02.383 - Monitoring Report Summary:
[2025-04-30T23:08:03.872Z] STF 16:08:02.383 - o Process JLNK ended with the expected exit code (0)
[2025-04-30T23:08:03.872Z] STF 16:08:02.384 -
[2025-04-30T23:08:03.872Z] STF 16:08:02.384 - +------ Step 7 - Override an application module
[2025-04-30T23:08:03.872Z] STF 16:08:02.384 - | Run foreground process
[2025-04-30T23:08:03.872Z] STF 16:08:02.384 - | Program: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/java
[2025-04-30T23:08:03.872Z] STF 16:08:02.384 - | Mnemonic: OT11
[2025-04-30T23:08:03.872Z] STF 16:08:02.384 - | Echo: ECHO_ON
[2025-04-30T23:08:03.872Z] STF 16:08:02.384 - | Expectation: CLEAN_RUN within 1m
[2025-04-30T23:08:03.872Z] STF 16:08:02.384 - |
[2025-04-30T23:08:03.872Z] STF 16:08:02.386 - 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
[2025-04-30T23:08:03.872Z] STF 16:08:02.386 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17460534025178/UpgModPath_Exp_0/20250430-160748-UpgModPathTest/results/7.OT11.stderr
[2025-04-30T23:08:03.872Z] STF 16:08:02.386 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17460534025178/UpgModPath_Exp_0/20250430-160748-UpgModPathTest/results/7.OT11.stdout
[2025-04-30T23:08:03.872Z] STF 16:08:02.416 - Monitoring processes: OT11
[2025-04-30T23:08:03.872Z] OT11 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-04-30T23:08:04.307Z] OT11 JUnit version 4.12
[2025-04-30T23:08:04.307Z] OT11 .
[2025-04-30T23:08:04.307Z] OT11 Time: 0.004
[2025-04-30T23:08:04.307Z] OT11
[2025-04-30T23:08:04.307Z] OT11 OK (1 test)
[2025-04-30T23:08:04.307Z] OT11
[2025-04-30T23:08:04.775Z] STF 16:08:04.028 - Monitoring Report Summary:
[2025-04-30T23:08:04.775Z] STF 16:08:04.028 - o Process OT11 ended with the expected exit code (0)
[2025-04-30T23:08:04.775Z] STF 16:08:04.028 -
[2025-04-30T23:08:04.775Z] STF 16:08:04.028 - +------ Step 8 - (Negative test) Override a non-upgradable platform module
[2025-04-30T23:08:04.775Z] STF 16:08:04.028 - | Run foreground process
[2025-04-30T23:08:04.775Z] STF 16:08:04.028 - | Program: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/java
[2025-04-30T23:08:04.775Z] STF 16:08:04.028 - | Mnemonic: OT13
[2025-04-30T23:08:04.775Z] STF 16:08:04.028 - | Echo: ECHO_ON
[2025-04-30T23:08:04.775Z] STF 16:08:04.028 - | Expectation: NON_ZERO_EXIT [1] within 1m
[2025-04-30T23:08:04.776Z] STF 16:08:04.028 - |
[2025-04-30T23:08:04.776Z] STF 16:08:04.028 - 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
[2025-04-30T23:08:04.776Z] STF 16:08:04.028 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17460534025178/UpgModPath_Exp_0/20250430-160748-UpgModPathTest/results/8.OT13.stderr
[2025-04-30T23:08:04.776Z] STF 16:08:04.029 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17460534025178/UpgModPath_Exp_0/20250430-160748-UpgModPathTest/results/8.OT13.stdout
[2025-04-30T23:08:04.776Z] STF 16:08:04.034 - Monitoring processes: OT13
[2025-04-30T23:08:04.776Z] OT13 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-04-30T23:08:04.776Z] OT13 Error occurred during initialization of boot layer
[2025-04-30T23:08:04.776Z] OT13 java.lang.module.FindException: Unable to compute the hash of module java.logging
[2025-04-30T23:08:04.776Z] STF 16:08:04.391 - Monitoring Report Summary:
[2025-04-30T23:08:04.776Z] STF 16:08:04.391 - o Process OT13 ended with the expected exit code (1)
[2025-04-30T23:08:04.776Z] STF 16:08:04.391 -
[2025-04-30T23:08:04.776Z] STF 16:08:04.391 - +------ Step 9 - Combine stderr and stdout files of process OT13
[2025-04-30T23:08:04.776Z] STF 16:08:04.391 - | Run foreground process
[2025-04-30T23:08:04.776Z] STF 16:08:04.391 - | Program: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/java
[2025-04-30T23:08:04.776Z] STF 16:08:04.391 - | Mnemonic: CO
[2025-04-30T23:08:04.776Z] STF 16:08:04.391 - | Echo: ECHO_OFF
[2025-04-30T23:08:04.776Z] STF 16:08:04.391 - | Expectation: NON_ZERO_EXIT [0] within 30s
[2025-04-30T23:08:04.776Z] STF 16:08:04.391 - |
[2025-04-30T23:08:04.776Z] STF 16:08:04.392 - 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_17460534025178/UpgModPath_Exp_0/20250430-160748-UpgModPathTest/results/8.OT13.stdout -Dfile2=/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17460534025178/UpgModPath_Exp_0/20250430-160748-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_17460534025178/UpgModPath_Exp_0/20250430-160748-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
[2025-04-30T23:08:04.776Z] STF 16:08:04.392 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17460534025178/UpgModPath_Exp_0/20250430-160748-UpgModPathTest/results/9.CO.stderr
[2025-04-30T23:08:04.776Z] STF 16:08:04.392 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17460534025178/UpgModPath_Exp_0/20250430-160748-UpgModPathTest/results/9.CO.stdout
[2025-04-30T23:08:04.776Z] STF 16:08:04.401 - Monitoring processes: CO
[2025-04-30T23:08:05.232Z] STF 16:08:04.783 - Monitoring Report Summary:
[2025-04-30T23:08:05.232Z] STF 16:08:04.783 - o Process CO ended with the expected exit code (0)
[2025-04-30T23:08:05.232Z] STF 16:08:04.783 -
[2025-04-30T23:08:05.232Z] STF 16:08:04.783 - +------ Step 10 - Check output
[2025-04-30T23:08:05.232Z] STF 16:08:04.783 - | Count file matches
[2025-04-30T23:08:05.232Z] STF 16:08:04.783 - | TargetFile: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17460534025178/UpgModPath_Exp_0/20250430-160748-UpgModPathTest/results/combinedOT13.txt
[2025-04-30T23:08:05.232Z] STF 16:08:04.783 - | ExpectedNumMatches: 1
[2025-04-30T23:08:05.232Z] STF 16:08:04.783 - | SearchStrings: ["FindException: Unable to compute the hash of module java.logging"]
[2025-04-30T23:08:05.232Z] STF 16:08:04.783 - |
[2025-04-30T23:08:05.232Z] STF 16:08:04.783 - Found 1 instances of ["FindException: Unable to compute the hash of module java.logging"]
[2025-04-30T23:08:05.232Z] STF 16:08:04.783 - EXECUTE stage completed
[2025-04-30T23:08:05.232Z] STF 16:08:04.882 -
[2025-04-30T23:08:05.232Z] STF 16:08:04.882 - ==================== T E A R D O W N ====================
[2025-04-30T23:08:05.232Z] STF 16:08:04.882 - Running teardown: perl /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17460534025178/UpgModPath_Exp_0/20250430-160748-UpgModPathTest/tearDown.pl
[2025-04-30T23:08:05.656Z] STF 16:08:05.022 - TEARDOWN stage completed
[2025-04-30T23:08:05.656Z] STF 16:08:05.027 -
[2025-04-30T23:08:05.656Z] STF 16:08:05.027 - ===================== R E S U L T S =====================
[2025-04-30T23:08:05.656Z] STF 16:08:05.027 - Stage results:
[2025-04-30T23:08:05.656Z] STF 16:08:05.027 - setUp: pass
[2025-04-30T23:08:05.656Z] STF 16:08:05.027 - execute: pass
[2025-04-30T23:08:05.656Z] STF 16:08:05.027 - teardown: pass
[2025-04-30T23:08:05.656Z] STF 16:08:05.027 -
[2025-04-30T23:08:05.656Z] STF 16:08:05.027 - Overall result: PASSED
[2025-04-30T23:08:05.656Z] -----------------------------------
[2025-04-30T23:08:05.656Z] UpgModPath_Exp_0_PASSED
[2025-04-30T23:08:05.656Z] -----------------------------------
[2025-04-30T23:08:05.656Z]
[2025-04-30T23:08:05.656Z] TEST TEARDOWN:
[2025-04-30T23:08:05.656Z] Nothing to be done for teardown.
[2025-04-30T23:08:05.656Z] UpgModPath_Exp_0 Finish Time: Wed Apr 30 16:08:05 2025 Epoch Time (ms): 1746054485116