UpgModPath_Exp_0
[2025-06-11T20:28:25.779Z] Running test UpgModPath_Exp_0 ...
[2025-06-11T20:28:25.779Z] ===============================================
[2025-06-11T20:28:25.779Z] UpgModPath_Exp_0 Start Time: Wed Jun 11 21:28:25 2025 Epoch Time (ms): 1749673705649
[2025-06-11T20:28:25.779Z] variation: Mode150
[2025-06-11T20:28:25.779Z] JVM_OPTIONS: -XX:+UseCompressedOops
[2025-06-11T20:28:25.779Z] { \
[2025-06-11T20:28:25.779Z] echo ""; echo "TEST SETUP:"; \
[2025-06-11T20:28:25.779Z] echo "Nothing to be done for setup."; \
[2025-06-11T20:28:25.779Z] mkdir -p "/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17496720745051/UpgModPath_Exp_0"; \
[2025-06-11T20:28:25.779Z] cd "/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17496720745051/UpgModPath_Exp_0"; \
[2025-06-11T20:28:25.779Z] echo ""; echo "TESTING:"; \
[2025-06-11T20:28:25.779Z] perl /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF/stf.core/scripts/stf.pl -test-root="/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF;/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../../jvmtest/system/modularity/..//aqa-systemtest""" -systemtest-prereqs="/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/../../testDependency/system_lib/" -java-args=' -XX:+UseCompressedOops ' -results-root="/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17496720745051/UpgModPath_Exp_0" -test=UpgModPathTest -test-args="variant=Exp"; \
[2025-06-11T20:28:25.779Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "UpgModPath_Exp_0""_PASSED"; echo "-----------------------------------"; cd /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/..; rm -f -r "/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17496720745051/UpgModPath_Exp_0"; else echo "-----------------------------------"; echo "UpgModPath_Exp_0""_FAILED"; echo "-----------------------------------"; fi; \
[2025-06-11T20:28:25.779Z] echo ""; echo "TEST TEARDOWN:"; \
[2025-06-11T20:28:25.779Z] echo "Nothing to be done for teardown."; \
[2025-06-11T20:28:25.779Z] } 2>&1 | tee -a "/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17496720745051/TestTargetResult";
[2025-06-11T20:28:25.779Z]
[2025-06-11T20:28:25.779Z] TEST SETUP:
[2025-06-11T20:28:25.779Z] Nothing to be done for setup.
[2025-06-11T20:28:25.779Z]
[2025-06-11T20:28:25.779Z] TESTING:
[2025-06-11T20:28:25.779Z] STF 21:28:25.752 - ========================= S T F =========================
[2025-06-11T20:28:25.779Z] systemtest-prereqs has been processed, and set to: /Users/jenkins/testDependency/system_libRetrieving amount of free space on drive containing /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17496720745051/UpgModPath_Exp_0
[2025-06-11T20:28:26.131Z] There is 51868 Mb free
[2025-06-11T20:28:26.131Z] STF 21:28:25.762 - ================== G E N E R A T I O N ==================
[2025-06-11T20:28:26.131Z] STF 21:28:25.763 - Checking JVM: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/../
[2025-06-11T20:28:26.131Z] STF 21:28:25.763 - Starting process to generate scripts: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/..//bin/java -Dlog4j.skipJansi=true -Djava.system.class.loader=net.adoptopenjdk.stf.runner.StfClassLoader -Dload.agent.path=/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/STF/stf.core/scripts/../../stf.load/bin/stf.load.jar -classpath /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/../../testDependency/system_lib//asm/asm.jar:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/../../testDependency/system_lib//asm/asm-commons.jar:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/../../testDependency/system_lib//log4j/log4j-api.jar:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/../../testDependency/system_lib//log4j/log4j-core.jar:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17496720745051/UpgModPath_Exp_0/20250611-212825-UpgModPathTest/stf_parameters.properties, , /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17496720745051/UpgModPath_Exp_0/20250611-212825-UpgModPathTest"
[2025-06-11T20:28:26.131Z] GEN stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-06-11T20:28:26.885Z] GEN 21:28:26.804 - Found test. Project: 'openjdk.test.modularity' class: 'UpgModPathTest.class' Dir: '/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin'
[2025-06-11T20:28:26.885Z] GEN 21:28:26.819 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.UpgModPathTest'
[2025-06-11T20:28:27.238Z] GEN Classpath directories used by project 'openjdk.test.modularity':
[2025-06-11T20:28:27.238Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayService
[2025-06-11T20:28:27.238Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper
[2025-06-11T20:28:27.238Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl1
[2025-06-11T20:28:27.238Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet
[2025-06-11T20:28:27.238Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello
[2025-06-11T20:28:27.238Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola
[2025-06-11T20:28:27.238Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl2
[2025-06-11T20:28:27.238Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hi
[2025-06-11T20:28:27.238Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override
[2025-06-11T20:28:27.238Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override-new
[2025-06-11T20:28:27.238Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl3
[2025-06-11T20:28:27.238Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl4
[2025-06-11T20:28:27.238Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common
[2025-06-11T20:28:27.238Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests
[2025-06-11T20:28:27.238Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin
[2025-06-11T20:28:27.238Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/STF/stf.core/bin
[2025-06-11T20:28:27.238Z] GEN /Users/jenkins/testDependency/system_lib/log4j/log4j-api.jar
[2025-06-11T20:28:27.238Z] GEN /Users/jenkins/testDependency/system_lib/log4j/log4j-core.jar
[2025-06-11T20:28:27.238Z] GEN /Users/jenkins/testDependency/system_lib/junit/junit.jar
[2025-06-11T20:28:27.238Z] GEN 21:28:27.034 - Using Mode NoOptions. Values = ''
[2025-06-11T20:28:27.238Z] GEN 21:28:27.137 -
[2025-06-11T20:28:27.238Z] GEN 21:28:27.137 - Test command summary:
[2025-06-11T20:28:27.238Z] GEN 21:28:27.137 - Step Stage Command Description
[2025-06-11T20:28:27.238Z] GEN 21:28:27.137 - -----+--------+-----------------+------------
[2025-06-11T20:28:27.238Z] GEN 21:28:27.137 - 1 execute jar Create com.hello jar
[2025-06-11T20:28:27.238Z] GEN 21:28:27.138 - 2 execute jar Create com.hola jar
[2025-06-11T20:28:27.238Z] GEN 21:28:27.138 - 3 execute jar Create com.helper jar
[2025-06-11T20:28:27.238Z] GEN 21:28:27.138 - 4 execute jar Create com.discreet jar
[2025-06-11T20:28:27.238Z] GEN 21:28:27.138 - 5 execute jar Create tests jar
[2025-06-11T20:28:27.238Z] GEN 21:28:27.138 - 6 execute jlink Create runtime image for upgrademodulepath test
[2025-06-11T20:28:27.238Z] GEN 21:28:27.138 - 7 execute Run java Override an application module
[2025-06-11T20:28:27.239Z] GEN 21:28:27.138 - 8 execute Run java (Negative test) Override a non-upgradable platform module
[2025-06-11T20:28:27.239Z] GEN 21:28:27.138 - 9 execute Run java Combine stderr and stdout files of process OT13
[2025-06-11T20:28:27.239Z] GEN 21:28:27.138 - 10 execute count Check output
[2025-06-11T20:28:27.239Z] STF 21:28:27.173 -
[2025-06-11T20:28:27.239Z] STF 21:28:27.173 - Script generation completed
[2025-06-11T20:28:27.239Z] STF 21:28:27.173 -
[2025-06-11T20:28:27.239Z] STF 21:28:27.174 -
[2025-06-11T20:28:27.239Z] STF 21:28:27.174 - ======================= S E T U P =======================
[2025-06-11T20:28:27.239Z] STF 21:28:27.174 - Running setup: perl /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17496720745051/UpgModPath_Exp_0/20250611-212825-UpgModPathTest/setUp.pl
[2025-06-11T20:28:27.592Z] STF 21:28:27.252 - SETUP stage completed
[2025-06-11T20:28:27.592Z] STF 21:28:27.255 -
[2025-06-11T20:28:27.592Z] STF 21:28:27.255 - ==================== E X E C U T E - ====================
[2025-06-11T20:28:27.592Z] STF 21:28:27.255 - Running execute: perl /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17496720745051/UpgModPath_Exp_0/20250611-212825-UpgModPathTest/execute.pl
[2025-06-11T20:28:27.592Z] STF 21:28:27.332 -
[2025-06-11T20:28:27.592Z] STF 21:28:27.332 - Java version
[2025-06-11T20:28:27.592Z] STF 21:28:27.333 - Running: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/java -version
[2025-06-11T20:28:27.592Z] Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-06-11T20:28:27.592Z] openjdk version "21.0.8-beta" 2025-07-15
[2025-06-11T20:28:27.592Z] OpenJDK Runtime Environment Temurin-21.0.8+6-202506111903 (build 21.0.8-beta+6-ea)
[2025-06-11T20:28:27.592Z] OpenJDK 64-Bit Server VM Temurin-21.0.8+6-202506111903 (build 21.0.8-beta+6-ea, mixed mode)
[2025-06-11T20:28:27.592Z] STF 21:28:27.445 -
[2025-06-11T20:28:27.592Z] STF 21:28:27.446 - +------ Step 1 - Create com.hello jar
[2025-06-11T20:28:27.592Z] STF 21:28:27.446 - | Create modular jar
[2025-06-11T20:28:27.592Z] STF 21:28:27.446 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello
[2025-06-11T20:28:27.592Z] STF 21:28:27.446 - | ModuleVersion: null
[2025-06-11T20:28:27.592Z] STF 21:28:27.446 - | MainClass: null
[2025-06-11T20:28:27.592Z] STF 21:28:27.446 - | HashModules: null
[2025-06-11T20:28:27.592Z] STF 21:28:27.446 - |
[2025-06-11T20:28:27.592Z] STF 21:28:27.446 - Running command: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17496720745051/UpgModPath_Exp_0/20250611-212825-UpgModPathTest/modules/1.com.hello.jar -C /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello .
[2025-06-11T20:28:27.592Z] STF 21:28:27.446 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17496720745051/UpgModPath_Exp_0/20250611-212825-UpgModPathTest/results/1.CMJ.stderr
[2025-06-11T20:28:27.592Z] STF 21:28:27.446 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17496720745051/UpgModPath_Exp_0/20250611-212825-UpgModPathTest/results/1.CMJ.stdout
[2025-06-11T20:28:27.592Z] STF 21:28:27.457 - Monitoring processes: CMJ
[2025-06-11T20:28:27.592Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-06-11T20:28:27.945Z] STF 21:28:27.833 - Monitoring Report Summary:
[2025-06-11T20:28:27.945Z] STF 21:28:27.833 - o Process CMJ ended with the expected exit code (0)
[2025-06-11T20:28:27.945Z] STF 21:28:27.834 - Created modular jar: 1.com.hello.jar
[2025-06-11T20:28:27.945Z] STF 21:28:27.834 -
[2025-06-11T20:28:27.945Z] STF 21:28:27.834 - +------ Step 2 - Create com.hola jar
[2025-06-11T20:28:27.945Z] STF 21:28:27.834 - | Create modular jar
[2025-06-11T20:28:27.945Z] STF 21:28:27.834 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola
[2025-06-11T20:28:27.945Z] STF 21:28:27.834 - | ModuleVersion: null
[2025-06-11T20:28:27.945Z] STF 21:28:27.834 - | MainClass: null
[2025-06-11T20:28:27.945Z] STF 21:28:27.834 - | HashModules: null
[2025-06-11T20:28:27.945Z] STF 21:28:27.834 - |
[2025-06-11T20:28:27.945Z] STF 21:28:27.834 - Running command: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17496720745051/UpgModPath_Exp_0/20250611-212825-UpgModPathTest/modules/2.com.hola.jar -C /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola .
[2025-06-11T20:28:27.945Z] STF 21:28:27.834 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17496720745051/UpgModPath_Exp_0/20250611-212825-UpgModPathTest/results/2.CMJ.stderr
[2025-06-11T20:28:27.945Z] STF 21:28:27.834 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17496720745051/UpgModPath_Exp_0/20250611-212825-UpgModPathTest/results/2.CMJ.stdout
[2025-06-11T20:28:27.945Z] STF 21:28:27.836 - Monitoring processes: CMJ
[2025-06-11T20:28:27.945Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-06-11T20:28:28.297Z] STF 21:28:28.204 - Monitoring Report Summary:
[2025-06-11T20:28:28.297Z] STF 21:28:28.204 - o Process CMJ ended with the expected exit code (0)
[2025-06-11T20:28:28.297Z] STF 21:28:28.204 - Created modular jar: 2.com.hola.jar
[2025-06-11T20:28:28.297Z] STF 21:28:28.204 -
[2025-06-11T20:28:28.297Z] STF 21:28:28.204 - +------ Step 3 - Create com.helper jar
[2025-06-11T20:28:28.297Z] STF 21:28:28.204 - | Create modular jar
[2025-06-11T20:28:28.297Z] STF 21:28:28.204 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper
[2025-06-11T20:28:28.297Z] STF 21:28:28.204 - | ModuleVersion: null
[2025-06-11T20:28:28.297Z] STF 21:28:28.204 - | MainClass: null
[2025-06-11T20:28:28.297Z] STF 21:28:28.204 - | HashModules: null
[2025-06-11T20:28:28.297Z] STF 21:28:28.204 - |
[2025-06-11T20:28:28.297Z] STF 21:28:28.205 - Running command: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17496720745051/UpgModPath_Exp_0/20250611-212825-UpgModPathTest/modules/3.com.helper.jar -C /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper .
[2025-06-11T20:28:28.297Z] STF 21:28:28.205 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17496720745051/UpgModPath_Exp_0/20250611-212825-UpgModPathTest/results/3.CMJ.stderr
[2025-06-11T20:28:28.298Z] STF 21:28:28.205 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17496720745051/UpgModPath_Exp_0/20250611-212825-UpgModPathTest/results/3.CMJ.stdout
[2025-06-11T20:28:28.298Z] STF 21:28:28.207 - Monitoring processes: CMJ
[2025-06-11T20:28:28.298Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-06-11T20:28:28.650Z] STF 21:28:28.607 - Monitoring Report Summary:
[2025-06-11T20:28:28.650Z] STF 21:28:28.607 - o Process CMJ ended with the expected exit code (0)
[2025-06-11T20:28:28.650Z] STF 21:28:28.607 - Created modular jar: 3.com.helper.jar
[2025-06-11T20:28:28.650Z] STF 21:28:28.607 -
[2025-06-11T20:28:28.650Z] STF 21:28:28.607 - +------ Step 4 - Create com.discreet jar
[2025-06-11T20:28:28.650Z] STF 21:28:28.607 - | Create modular jar
[2025-06-11T20:28:28.650Z] STF 21:28:28.607 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet
[2025-06-11T20:28:28.650Z] STF 21:28:28.607 - | ModuleVersion: null
[2025-06-11T20:28:28.650Z] STF 21:28:28.607 - | MainClass: null
[2025-06-11T20:28:28.650Z] STF 21:28:28.607 - | HashModules: null
[2025-06-11T20:28:28.650Z] STF 21:28:28.607 - |
[2025-06-11T20:28:28.650Z] STF 21:28:28.608 - Running command: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17496720745051/UpgModPath_Exp_0/20250611-212825-UpgModPathTest/modules/4.com.discreet.jar -C /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet .
[2025-06-11T20:28:28.651Z] STF 21:28:28.608 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17496720745051/UpgModPath_Exp_0/20250611-212825-UpgModPathTest/results/4.CMJ.stderr
[2025-06-11T20:28:28.651Z] STF 21:28:28.608 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17496720745051/UpgModPath_Exp_0/20250611-212825-UpgModPathTest/results/4.CMJ.stdout
[2025-06-11T20:28:28.651Z] STF 21:28:28.609 - Monitoring processes: CMJ
[2025-06-11T20:28:29.003Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-06-11T20:28:29.003Z] STF 21:28:28.980 - Monitoring Report Summary:
[2025-06-11T20:28:29.003Z] STF 21:28:28.980 - o Process CMJ ended with the expected exit code (0)
[2025-06-11T20:28:29.003Z] STF 21:28:28.981 - Created modular jar: 4.com.discreet.jar
[2025-06-11T20:28:29.003Z] STF 21:28:28.981 -
[2025-06-11T20:28:29.003Z] STF 21:28:28.981 - +------ Step 5 - Create tests jar
[2025-06-11T20:28:29.003Z] STF 21:28:28.981 - | Create modular jar
[2025-06-11T20:28:29.003Z] STF 21:28:28.981 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test
[2025-06-11T20:28:29.003Z] STF 21:28:28.981 - | ModuleVersion: null
[2025-06-11T20:28:29.003Z] STF 21:28:28.981 - | MainClass: null
[2025-06-11T20:28:29.003Z] STF 21:28:28.981 - | HashModules: null
[2025-06-11T20:28:29.003Z] STF 21:28:28.981 - |
[2025-06-11T20:28:29.003Z] STF 21:28:28.982 - Running command: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17496720745051/UpgModPath_Exp_0/20250611-212825-UpgModPathTest/modules/5.com.test.jar -C /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test .
[2025-06-11T20:28:29.003Z] STF 21:28:28.982 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17496720745051/UpgModPath_Exp_0/20250611-212825-UpgModPathTest/results/5.CMJ.stderr
[2025-06-11T20:28:29.003Z] STF 21:28:28.982 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17496720745051/UpgModPath_Exp_0/20250611-212825-UpgModPathTest/results/5.CMJ.stdout
[2025-06-11T20:28:29.003Z] STF 21:28:28.983 - Monitoring processes: CMJ
[2025-06-11T20:28:29.356Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-06-11T20:28:29.708Z] STF 21:28:29.377 - Monitoring Report Summary:
[2025-06-11T20:28:29.708Z] STF 21:28:29.377 - o Process CMJ ended with the expected exit code (0)
[2025-06-11T20:28:29.708Z] STF 21:28:29.377 - Created modular jar: 5.com.test.jar
[2025-06-11T20:28:29.708Z] STF 21:28:29.377 -
[2025-06-11T20:28:29.708Z] STF 21:28:29.377 - +------ Step 6 - Create runtime image for upgrademodulepath test
[2025-06-11T20:28:29.709Z] STF 21:28:29.377 - | Run jlink to create runtime image
[2025-06-11T20:28:29.709Z] STF 21:28:29.377 - | ImageName: UpJVM
[2025-06-11T20:28:29.709Z] STF 21:28:29.378 - |
[2025-06-11T20:28:29.709Z] STF 21:28:29.378 - Running command: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jlink --module-path /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/jmods:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17496720745051/UpgModPath_Exp_0/20250611-212825-UpgModPathTest/modules --add-modules com.hello,com.hola,com.test,com.helper,com.discreet --output /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17496720745051/UpgModPath_Exp_0/20250611-212825-UpgModPathTest/tmp/6.UpJVM
[2025-06-11T20:28:29.709Z] STF 21:28:29.378 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17496720745051/UpgModPath_Exp_0/20250611-212825-UpgModPathTest/results/6.JLNK.stderr
[2025-06-11T20:28:29.709Z] STF 21:28:29.378 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17496720745051/UpgModPath_Exp_0/20250611-212825-UpgModPathTest/results/6.JLNK.stdout
[2025-06-11T20:28:29.709Z] STF 21:28:29.380 - Monitoring processes: JLNK
[2025-06-11T20:28:29.709Z] JLNK stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-06-11T20:28:32.080Z] STF 21:28:31.997 - Monitoring Report Summary:
[2025-06-11T20:28:32.080Z] STF 21:28:31.997 - o Process JLNK ended with the expected exit code (0)
[2025-06-11T20:28:32.080Z] STF 21:28:31.998 -
[2025-06-11T20:28:32.080Z] STF 21:28:31.998 - +------ Step 7 - Override an application module
[2025-06-11T20:28:32.080Z] STF 21:28:31.998 - | Run foreground process
[2025-06-11T20:28:32.080Z] STF 21:28:31.998 - | Program: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/java
[2025-06-11T20:28:32.080Z] STF 21:28:31.998 - | Mnemonic: OT11
[2025-06-11T20:28:32.080Z] STF 21:28:31.998 - | Echo: ECHO_ON
[2025-06-11T20:28:32.080Z] STF 21:28:31.998 - | Expectation: CLEAN_RUN within 1m
[2025-06-11T20:28:32.080Z] STF 21:28:31.998 - |
[2025-06-11T20:28:32.080Z] STF 21:28:31.998 - Running command: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/java --add-reads com.test=ALL-UNNAMED --module-path /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests --upgrade-module-path /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello --add-modules=com.test -XX:+UseCompressedOops -classpath /Users/jenkins/testDependency/system_lib/junit/junit.jar:/Users/jenkins/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingAppModule
[2025-06-11T20:28:32.080Z] STF 21:28:31.998 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17496720745051/UpgModPath_Exp_0/20250611-212825-UpgModPathTest/results/7.OT11.stderr
[2025-06-11T20:28:32.080Z] STF 21:28:31.998 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17496720745051/UpgModPath_Exp_0/20250611-212825-UpgModPathTest/results/7.OT11.stdout
[2025-06-11T20:28:32.080Z] STF 21:28:32.000 - Monitoring processes: OT11
[2025-06-11T20:28:32.432Z] OT11 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-06-11T20:28:32.432Z] OT11 JUnit version 4.12
[2025-06-11T20:28:32.432Z] OT11 .
[2025-06-11T20:28:32.432Z] OT11 Time: 0.006
[2025-06-11T20:28:32.432Z] OT11
[2025-06-11T20:28:32.432Z] OT11 OK (1 test)
[2025-06-11T20:28:32.432Z] OT11
[2025-06-11T20:28:32.786Z] STF 21:28:32.400 - Monitoring Report Summary:
[2025-06-11T20:28:32.786Z] STF 21:28:32.400 - o Process OT11 ended with the expected exit code (0)
[2025-06-11T20:28:32.786Z] STF 21:28:32.400 -
[2025-06-11T20:28:32.786Z] STF 21:28:32.400 - +------ Step 8 - (Negative test) Override a non-upgradable platform module
[2025-06-11T20:28:32.786Z] STF 21:28:32.400 - | Run foreground process
[2025-06-11T20:28:32.786Z] STF 21:28:32.400 - | Program: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/java
[2025-06-11T20:28:32.786Z] STF 21:28:32.400 - | Mnemonic: OT13
[2025-06-11T20:28:32.786Z] STF 21:28:32.400 - | Echo: ECHO_ON
[2025-06-11T20:28:32.786Z] STF 21:28:32.400 - | Expectation: NON_ZERO_EXIT [1] within 1m
[2025-06-11T20:28:32.786Z] STF 21:28:32.400 - |
[2025-06-11T20:28:32.786Z] STF 21:28:32.401 - Running command: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/java --add-reads com.test=ALL-UNNAMED --module-path /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests --upgrade-module-path /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/java.logging --add-modules=com.test -XX:+UseCompressedOops -classpath /Users/jenkins/testDependency/system_lib/junit/junit.jar:/Users/jenkins/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingNonUpgradablePlatformModule
[2025-06-11T20:28:32.786Z] STF 21:28:32.401 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17496720745051/UpgModPath_Exp_0/20250611-212825-UpgModPathTest/results/8.OT13.stderr
[2025-06-11T20:28:32.786Z] STF 21:28:32.401 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17496720745051/UpgModPath_Exp_0/20250611-212825-UpgModPathTest/results/8.OT13.stdout
[2025-06-11T20:28:32.786Z] STF 21:28:32.402 - Monitoring processes: OT13
[2025-06-11T20:28:32.786Z] OT13 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-06-11T20:28:32.786Z] OT13 Error occurred during initialization of boot layer
[2025-06-11T20:28:32.786Z] OT13 java.lang.module.FindException: Unable to compute the hash of module java.logging
[2025-06-11T20:28:32.786Z] STF 21:28:32.633 - Monitoring Report Summary:
[2025-06-11T20:28:32.786Z] STF 21:28:32.633 - o Process OT13 ended with the expected exit code (1)
[2025-06-11T20:28:32.786Z] STF 21:28:32.634 -
[2025-06-11T20:28:32.786Z] STF 21:28:32.634 - +------ Step 9 - Combine stderr and stdout files of process OT13
[2025-06-11T20:28:32.786Z] STF 21:28:32.634 - | Run foreground process
[2025-06-11T20:28:32.786Z] STF 21:28:32.634 - | Program: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/java
[2025-06-11T20:28:32.786Z] STF 21:28:32.634 - | Mnemonic: CO
[2025-06-11T20:28:32.786Z] STF 21:28:32.634 - | Echo: ECHO_OFF
[2025-06-11T20:28:32.786Z] STF 21:28:32.634 - | Expectation: NON_ZERO_EXIT [0] within 30s
[2025-06-11T20:28:32.786Z] STF 21:28:32.634 - |
[2025-06-11T20:28:32.786Z] STF 21:28:32.634 - Running command: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/java -Dfile1=/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17496720745051/UpgModPath_Exp_0/20250611-212825-UpgModPathTest/results/8.OT13.stdout -Dfile2=/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17496720745051/UpgModPath_Exp_0/20250611-212825-UpgModPathTest/results/8.OT13.stderr -Dfinal.file=/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17496720745051/UpgModPath_Exp_0/20250611-212825-UpgModPathTest/results/combinedOT13.txt -XX:+UseCompressedOops -classpath /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/STF/stf.core/bin:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin net.adoptopenjdk.test.modularity.TestUtil
[2025-06-11T20:28:32.786Z] STF 21:28:32.634 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17496720745051/UpgModPath_Exp_0/20250611-212825-UpgModPathTest/results/9.CO.stderr
[2025-06-11T20:28:32.787Z] STF 21:28:32.634 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17496720745051/UpgModPath_Exp_0/20250611-212825-UpgModPathTest/results/9.CO.stdout
[2025-06-11T20:28:32.787Z] STF 21:28:32.636 - Monitoring processes: CO
[2025-06-11T20:28:33.139Z] STF 21:28:32.843 - Monitoring Report Summary:
[2025-06-11T20:28:33.139Z] STF 21:28:32.844 - o Process CO ended with the expected exit code (0)
[2025-06-11T20:28:33.139Z] STF 21:28:32.844 -
[2025-06-11T20:28:33.139Z] STF 21:28:32.844 - +------ Step 10 - Check output
[2025-06-11T20:28:33.139Z] STF 21:28:32.844 - | Count file matches
[2025-06-11T20:28:33.139Z] STF 21:28:32.844 - | TargetFile: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17496720745051/UpgModPath_Exp_0/20250611-212825-UpgModPathTest/results/combinedOT13.txt
[2025-06-11T20:28:33.139Z] STF 21:28:32.844 - | ExpectedNumMatches: 1
[2025-06-11T20:28:33.139Z] STF 21:28:32.844 - | SearchStrings: ["FindException: Unable to compute the hash of module java.logging"]
[2025-06-11T20:28:33.139Z] STF 21:28:32.844 - |
[2025-06-11T20:28:33.139Z] STF 21:28:32.844 - Found 1 instances of ["FindException: Unable to compute the hash of module java.logging"]
[2025-06-11T20:28:33.139Z] STF 21:28:32.844 - EXECUTE stage completed
[2025-06-11T20:28:33.139Z] STF 21:28:32.892 -
[2025-06-11T20:28:33.139Z] STF 21:28:32.892 - ==================== T E A R D O W N ====================
[2025-06-11T20:28:33.139Z] STF 21:28:32.892 - Running teardown: perl /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17496720745051/UpgModPath_Exp_0/20250611-212825-UpgModPathTest/tearDown.pl
[2025-06-11T20:28:33.139Z] STF 21:28:32.970 - TEARDOWN stage completed
[2025-06-11T20:28:33.139Z] STF 21:28:32.978 -
[2025-06-11T20:28:33.139Z] STF 21:28:32.978 - ===================== R E S U L T S =====================
[2025-06-11T20:28:33.139Z] STF 21:28:32.978 - Stage results:
[2025-06-11T20:28:33.139Z] STF 21:28:32.978 - setUp: pass
[2025-06-11T20:28:33.139Z] STF 21:28:32.978 - execute: pass
[2025-06-11T20:28:33.139Z] STF 21:28:32.978 - teardown: pass
[2025-06-11T20:28:33.139Z] STF 21:28:32.978 -
[2025-06-11T20:28:33.139Z] STF 21:28:32.978 - Overall result: PASSED
[2025-06-11T20:28:33.139Z] -----------------------------------
[2025-06-11T20:28:33.139Z] UpgModPath_Exp_0_PASSED
[2025-06-11T20:28:33.139Z] -----------------------------------
[2025-06-11T20:28:33.139Z]
[2025-06-11T20:28:33.139Z] TEST TEARDOWN:
[2025-06-11T20:28:33.139Z] Nothing to be done for teardown.
[2025-06-11T20:28:33.139Z] UpgModPath_Exp_0 Finish Time: Wed Jun 11 21:28:33 2025 Epoch Time (ms): 1749673713021