UpgModPath_Exp_1
[2025-05-16T18:58:43.781Z] Running test UpgModPath_Exp_1 ...
[2025-05-16T18:58:43.781Z] ===============================================
[2025-05-16T18:58:43.781Z] UpgModPath_Exp_1 Start Time: Fri May 16 18:58:43 2025 Epoch Time (ms): 1747421923767
[2025-05-16T18:58:44.107Z] variation: Mode650
[2025-05-16T18:58:44.107Z] JVM_OPTIONS: -XX:-UseCompressedOops
[2025-05-16T18:58:44.107Z] { \
[2025-05-16T18:58:44.107Z] echo ""; echo "TEST SETUP:"; \
[2025-05-16T18:58:44.107Z] echo "Nothing to be done for setup."; \
[2025-05-16T18:58:44.107Z] mkdir -p "/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/../TKG/output_17474149522234/UpgModPath_Exp_1"; \
[2025-05-16T18:58:44.107Z] cd "/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/../TKG/output_17474149522234/UpgModPath_Exp_1"; \
[2025-05-16T18:58:44.107Z] echo ""; echo "TESTING:"; \
[2025-05-16T18:58:44.107Z] perl /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF/stf.core/scripts/stf.pl -test-root="/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF;/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/../../jvmtest/system/modularity/..//aqa-systemtest""" -systemtest-prereqs="/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/../../testDependency/system_lib/" -java-args=' -XX:-UseCompressedOops ' -results-root="/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/../TKG/output_17474149522234/UpgModPath_Exp_1" -test=UpgModPathTest -test-args="variant=Exp"; \
[2025-05-16T18:58:44.107Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "UpgModPath_Exp_1""_PASSED"; echo "-----------------------------------"; cd /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/..; rm -f -r "/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/../TKG/output_17474149522234/UpgModPath_Exp_1"; else echo "-----------------------------------"; echo "UpgModPath_Exp_1""_FAILED"; echo "-----------------------------------"; fi; \
[2025-05-16T18:58:44.107Z] echo ""; echo "TEST TEARDOWN:"; \
[2025-05-16T18:58:44.107Z] echo "Nothing to be done for teardown."; \
[2025-05-16T18:58:44.107Z] } 2>&1 | tee -a "/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/../TKG/output_17474149522234/TestTargetResult";
[2025-05-16T18:58:44.107Z]
[2025-05-16T18:58:44.107Z] TEST SETUP:
[2025-05-16T18:58:44.107Z] Nothing to be done for setup.
[2025-05-16T18:58:44.107Z]
[2025-05-16T18:58:44.107Z] TESTING:
[2025-05-16T18:58:44.107Z] STF 18:58:44.035 - ========================= S T F =========================
[2025-05-16T18:58:44.107Z] systemtest-prereqs has been processed, and set to: /home/jenkins/testDependency/system_libRetrieving amount of free space on drive containing /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/../TKG/output_17474149522234/UpgModPath_Exp_1
[2025-05-16T18:58:44.432Z] There is 31080 Mb free
[2025-05-16T18:58:44.432Z] STF 18:58:44.055 - ================== G E N E R A T I O N ==================
[2025-05-16T18:58:44.433Z] STF 18:58:44.059 - Checking JVM: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/jdkbinary/j2sdk-image
[2025-05-16T18:58:44.433Z] STF 18:58:44.059 - Starting process to generate scripts: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/jdkbinary/j2sdk-image/bin/java -Dlog4j.skipJansi=true -Djava.system.class.loader=net.adoptopenjdk.stf.runner.StfClassLoader -Dload.agent.path=/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/jvmtest/system/STF/stf.core/scripts/../../stf.load/bin/stf.load.jar -classpath /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/../../testDependency/system_lib//asm/asm.jar:/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/../../testDependency/system_lib//asm/asm-commons.jar:/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/../../testDependency/system_lib//log4j/log4j-api.jar:/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/../../testDependency/system_lib//log4j/log4j-core.jar:/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/../TKG/output_17474149522234/UpgModPath_Exp_1/20250516-185844-UpgModPathTest/stf_parameters.properties, , /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/../TKG/output_17474149522234/UpgModPath_Exp_1/20250516-185844-UpgModPathTest"
[2025-05-16T18:58:44.433Z] GEN stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-05-16T18:58:44.433Z] GEN [0.018s][warning][cds] Archived non-system classes are disabled because the java.system.class.loader property is specified (value = "net.adoptopenjdk.stf.runner.StfClassLoader"). To use archived non-system classes, this property must not be set
[2025-05-16T18:58:49.169Z] GEN 18:58:48.751 - Found test. Project: 'openjdk.test.modularity' class: 'UpgModPathTest.class' Dir: '/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin'
[2025-05-16T18:58:49.169Z] GEN 18:58:48.791 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.UpgModPathTest'
[2025-05-16T18:58:49.500Z] GEN Classpath directories used by project 'openjdk.test.modularity':
[2025-05-16T18:58:49.500Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayService
[2025-05-16T18:58:49.500Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper
[2025-05-16T18:58:49.500Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl1
[2025-05-16T18:58:49.500Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet
[2025-05-16T18:58:49.500Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello
[2025-05-16T18:58:49.500Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola
[2025-05-16T18:58:49.500Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl2
[2025-05-16T18:58:49.500Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hi
[2025-05-16T18:58:49.500Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override
[2025-05-16T18:58:49.501Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override-new
[2025-05-16T18:58:49.501Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl3
[2025-05-16T18:58:49.501Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl4
[2025-05-16T18:58:49.501Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common
[2025-05-16T18:58:49.501Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests
[2025-05-16T18:58:49.501Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin
[2025-05-16T18:58:49.501Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/jvmtest/system/STF/stf.core/bin
[2025-05-16T18:58:49.501Z] GEN /home/jenkins/testDependency/system_lib/log4j/log4j-api.jar
[2025-05-16T18:58:49.501Z] GEN /home/jenkins/testDependency/system_lib/log4j/log4j-core.jar
[2025-05-16T18:58:49.501Z] GEN /home/jenkins/testDependency/system_lib/junit/junit.jar
[2025-05-16T18:58:49.830Z] GEN 18:58:49.498 - Using Mode NoOptions. Values = ''
[2025-05-16T18:58:50.163Z] GEN 18:58:49.977 -
[2025-05-16T18:58:50.163Z] GEN 18:58:49.978 - Test command summary:
[2025-05-16T18:58:50.163Z] GEN 18:58:49.980 - Step Stage Command Description
[2025-05-16T18:58:50.163Z] GEN 18:58:49.981 - -----+--------+-----------------+------------
[2025-05-16T18:58:50.163Z] GEN 18:58:49.982 - 1 execute jar Create com.hello jar
[2025-05-16T18:58:50.163Z] GEN 18:58:49.982 - 2 execute jar Create com.hola jar
[2025-05-16T18:58:50.163Z] GEN 18:58:49.984 - 3 execute jar Create com.helper jar
[2025-05-16T18:58:50.163Z] GEN 18:58:49.984 - 4 execute jar Create com.discreet jar
[2025-05-16T18:58:50.163Z] GEN 18:58:49.985 - 5 execute jar Create tests jar
[2025-05-16T18:58:50.163Z] GEN 18:58:49.986 - 6 execute jlink Create runtime image for upgrademodulepath test
[2025-05-16T18:58:50.163Z] GEN 18:58:49.987 - 7 execute Run java Override an application module
[2025-05-16T18:58:50.163Z] GEN 18:58:49.987 - 8 execute Run java (Negative test) Override a non-upgradable platform module
[2025-05-16T18:58:50.163Z] GEN 18:58:49.988 - 9 execute Run java Combine stderr and stdout files of process OT13
[2025-05-16T18:58:50.163Z] GEN 18:58:49.990 - 10 execute count Check output
[2025-05-16T18:58:50.163Z] STF 18:58:50.136 -
[2025-05-16T18:58:50.163Z] STF 18:58:50.138 - Script generation completed
[2025-05-16T18:58:50.163Z] STF 18:58:50.138 -
[2025-05-16T18:58:50.163Z] STF 18:58:50.139 -
[2025-05-16T18:58:50.163Z] STF 18:58:50.140 - ======================= S E T U P =======================
[2025-05-16T18:58:50.163Z] STF 18:58:50.140 - Running setup: perl /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/../TKG/output_17474149522234/UpgModPath_Exp_1/20250516-185844-UpgModPathTest/setUp.pl
[2025-05-16T18:58:50.492Z] STF 18:58:50.374 - SETUP stage completed
[2025-05-16T18:58:50.492Z] STF 18:58:50.384 -
[2025-05-16T18:58:50.492Z] STF 18:58:50.384 - ==================== E X E C U T E - ====================
[2025-05-16T18:58:50.492Z] STF 18:58:50.384 - Running execute: perl /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/../TKG/output_17474149522234/UpgModPath_Exp_1/20250516-185844-UpgModPathTest/execute.pl
[2025-05-16T18:58:50.817Z] STF 18:58:50.621 -
[2025-05-16T18:58:50.817Z] STF 18:58:50.621 - Java version
[2025-05-16T18:58:50.817Z] STF 18:58:50.621 - Running: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/jdkbinary/j2sdk-image/bin/java -version
[2025-05-16T18:58:50.817Z] Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-05-16T18:58:51.149Z] openjdk version "21.0.8-beta" 2025-07-15
[2025-05-16T18:58:51.149Z] OpenJDK Runtime Environment Temurin-21.0.8+3-202505160830 (build 21.0.8-beta+3-ea)
[2025-05-16T18:58:51.149Z] OpenJDK 64-Bit Server VM Temurin-21.0.8+3-202505160830 (build 21.0.8-beta+3-ea, mixed mode, sharing)
[2025-05-16T18:58:51.149Z] STF 18:58:50.863 -
[2025-05-16T18:58:51.149Z] STF 18:58:50.863 - +------ Step 1 - Create com.hello jar
[2025-05-16T18:58:51.149Z] STF 18:58:50.863 - | Create modular jar
[2025-05-16T18:58:51.149Z] STF 18:58:50.863 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello
[2025-05-16T18:58:51.149Z] STF 18:58:50.863 - | ModuleVersion: null
[2025-05-16T18:58:51.149Z] STF 18:58:50.863 - | MainClass: null
[2025-05-16T18:58:51.149Z] STF 18:58:50.863 - | HashModules: null
[2025-05-16T18:58:51.149Z] STF 18:58:50.863 - |
[2025-05-16T18:58:51.149Z] STF 18:58:50.865 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_17474149522234/UpgModPath_Exp_1/20250516-185844-UpgModPathTest/modules/1.com.hello.jar -C /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello .
[2025-05-16T18:58:51.149Z] STF 18:58:50.865 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_17474149522234/UpgModPath_Exp_1/20250516-185844-UpgModPathTest/results/1.CMJ.stderr
[2025-05-16T18:58:51.149Z] STF 18:58:50.865 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_17474149522234/UpgModPath_Exp_1/20250516-185844-UpgModPathTest/results/1.CMJ.stdout
[2025-05-16T18:58:51.149Z] STF 18:58:50.906 - Monitoring processes: CMJ
[2025-05-16T18:58:51.149Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-05-16T18:58:52.299Z] STF 18:58:52.238 - Monitoring Report Summary:
[2025-05-16T18:58:52.299Z] STF 18:58:52.239 - o Process CMJ ended with the expected exit code (0)
[2025-05-16T18:58:52.299Z] STF 18:58:52.242 - Created modular jar: 1.com.hello.jar
[2025-05-16T18:58:52.299Z] STF 18:58:52.242 -
[2025-05-16T18:58:52.299Z] STF 18:58:52.242 - +------ Step 2 - Create com.hola jar
[2025-05-16T18:58:52.299Z] STF 18:58:52.242 - | Create modular jar
[2025-05-16T18:58:52.299Z] STF 18:58:52.242 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola
[2025-05-16T18:58:52.299Z] STF 18:58:52.242 - | ModuleVersion: null
[2025-05-16T18:58:52.299Z] STF 18:58:52.242 - | MainClass: null
[2025-05-16T18:58:52.299Z] STF 18:58:52.242 - | HashModules: null
[2025-05-16T18:58:52.299Z] STF 18:58:52.242 - |
[2025-05-16T18:58:52.299Z] STF 18:58:52.243 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_17474149522234/UpgModPath_Exp_1/20250516-185844-UpgModPathTest/modules/2.com.hola.jar -C /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola .
[2025-05-16T18:58:52.299Z] STF 18:58:52.243 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_17474149522234/UpgModPath_Exp_1/20250516-185844-UpgModPathTest/results/2.CMJ.stderr
[2025-05-16T18:58:52.299Z] STF 18:58:52.243 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_17474149522234/UpgModPath_Exp_1/20250516-185844-UpgModPathTest/results/2.CMJ.stdout
[2025-05-16T18:58:52.299Z] STF 18:58:52.247 - Monitoring processes: CMJ
[2025-05-16T18:58:52.299Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-05-16T18:58:53.953Z] STF 18:58:53.542 - Monitoring Report Summary:
[2025-05-16T18:58:53.953Z] STF 18:58:53.542 - o Process CMJ ended with the expected exit code (0)
[2025-05-16T18:58:53.953Z] STF 18:58:53.544 - Created modular jar: 2.com.hola.jar
[2025-05-16T18:58:53.953Z] STF 18:58:53.544 -
[2025-05-16T18:58:53.953Z] STF 18:58:53.544 - +------ Step 3 - Create com.helper jar
[2025-05-16T18:58:53.953Z] STF 18:58:53.544 - | Create modular jar
[2025-05-16T18:58:53.953Z] STF 18:58:53.544 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper
[2025-05-16T18:58:53.953Z] STF 18:58:53.544 - | ModuleVersion: null
[2025-05-16T18:58:53.953Z] STF 18:58:53.544 - | MainClass: null
[2025-05-16T18:58:53.953Z] STF 18:58:53.544 - | HashModules: null
[2025-05-16T18:58:53.953Z] STF 18:58:53.544 - |
[2025-05-16T18:58:53.953Z] STF 18:58:53.545 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_17474149522234/UpgModPath_Exp_1/20250516-185844-UpgModPathTest/modules/3.com.helper.jar -C /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper .
[2025-05-16T18:58:53.953Z] STF 18:58:53.546 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_17474149522234/UpgModPath_Exp_1/20250516-185844-UpgModPathTest/results/3.CMJ.stderr
[2025-05-16T18:58:53.953Z] STF 18:58:53.546 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_17474149522234/UpgModPath_Exp_1/20250516-185844-UpgModPathTest/results/3.CMJ.stdout
[2025-05-16T18:58:53.953Z] STF 18:58:53.550 - Monitoring processes: CMJ
[2025-05-16T18:58:53.953Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-05-16T18:58:55.093Z] STF 18:58:54.886 - Monitoring Report Summary:
[2025-05-16T18:58:55.093Z] STF 18:58:54.886 - o Process CMJ ended with the expected exit code (0)
[2025-05-16T18:58:55.093Z] STF 18:58:54.887 - Created modular jar: 3.com.helper.jar
[2025-05-16T18:58:55.093Z] STF 18:58:54.887 -
[2025-05-16T18:58:55.093Z] STF 18:58:54.887 - +------ Step 4 - Create com.discreet jar
[2025-05-16T18:58:55.093Z] STF 18:58:54.887 - | Create modular jar
[2025-05-16T18:58:55.093Z] STF 18:58:54.887 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet
[2025-05-16T18:58:55.093Z] STF 18:58:54.887 - | ModuleVersion: null
[2025-05-16T18:58:55.093Z] STF 18:58:54.887 - | MainClass: null
[2025-05-16T18:58:55.093Z] STF 18:58:54.887 - | HashModules: null
[2025-05-16T18:58:55.093Z] STF 18:58:54.887 - |
[2025-05-16T18:58:55.093Z] STF 18:58:54.888 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_17474149522234/UpgModPath_Exp_1/20250516-185844-UpgModPathTest/modules/4.com.discreet.jar -C /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet .
[2025-05-16T18:58:55.093Z] STF 18:58:54.888 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_17474149522234/UpgModPath_Exp_1/20250516-185844-UpgModPathTest/results/4.CMJ.stderr
[2025-05-16T18:58:55.093Z] STF 18:58:54.888 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_17474149522234/UpgModPath_Exp_1/20250516-185844-UpgModPathTest/results/4.CMJ.stdout
[2025-05-16T18:58:55.093Z] STF 18:58:54.892 - Monitoring processes: CMJ
[2025-05-16T18:58:55.093Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-05-16T18:58:56.758Z] STF 18:58:56.309 - Monitoring Report Summary:
[2025-05-16T18:58:56.758Z] STF 18:58:56.309 - o Process CMJ ended with the expected exit code (0)
[2025-05-16T18:58:56.759Z] STF 18:58:56.310 - Created modular jar: 4.com.discreet.jar
[2025-05-16T18:58:56.759Z] STF 18:58:56.310 -
[2025-05-16T18:58:56.759Z] STF 18:58:56.310 - +------ Step 5 - Create tests jar
[2025-05-16T18:58:56.759Z] STF 18:58:56.310 - | Create modular jar
[2025-05-16T18:58:56.759Z] STF 18:58:56.310 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test
[2025-05-16T18:58:56.759Z] STF 18:58:56.310 - | ModuleVersion: null
[2025-05-16T18:58:56.759Z] STF 18:58:56.310 - | MainClass: null
[2025-05-16T18:58:56.759Z] STF 18:58:56.310 - | HashModules: null
[2025-05-16T18:58:56.759Z] STF 18:58:56.310 - |
[2025-05-16T18:58:56.759Z] STF 18:58:56.311 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_17474149522234/UpgModPath_Exp_1/20250516-185844-UpgModPathTest/modules/5.com.test.jar -C /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test .
[2025-05-16T18:58:56.759Z] STF 18:58:56.311 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_17474149522234/UpgModPath_Exp_1/20250516-185844-UpgModPathTest/results/5.CMJ.stderr
[2025-05-16T18:58:56.759Z] STF 18:58:56.311 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_17474149522234/UpgModPath_Exp_1/20250516-185844-UpgModPathTest/results/5.CMJ.stdout
[2025-05-16T18:58:56.759Z] STF 18:58:56.315 - Monitoring processes: CMJ
[2025-05-16T18:58:56.759Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-05-16T18:58:57.904Z] STF 18:58:57.697 - Monitoring Report Summary:
[2025-05-16T18:58:57.904Z] STF 18:58:57.697 - o Process CMJ ended with the expected exit code (0)
[2025-05-16T18:58:57.904Z] STF 18:58:57.698 - Created modular jar: 5.com.test.jar
[2025-05-16T18:58:57.904Z] STF 18:58:57.698 -
[2025-05-16T18:58:57.904Z] STF 18:58:57.698 - +------ Step 6 - Create runtime image for upgrademodulepath test
[2025-05-16T18:58:57.904Z] STF 18:58:57.698 - | Run jlink to create runtime image
[2025-05-16T18:58:57.904Z] STF 18:58:57.698 - | ImageName: UpJVM
[2025-05-16T18:58:57.904Z] STF 18:58:57.698 - |
[2025-05-16T18:58:57.904Z] STF 18:58:57.699 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/jdkbinary/j2sdk-image/bin/jlink --module-path /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/jdkbinary/j2sdk-image/jmods:/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_17474149522234/UpgModPath_Exp_1/20250516-185844-UpgModPathTest/modules --add-modules com.hello,com.hola,com.test,com.helper,com.discreet --output /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_17474149522234/UpgModPath_Exp_1/20250516-185844-UpgModPathTest/tmp/6.UpJVM
[2025-05-16T18:58:57.904Z] STF 18:58:57.699 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_17474149522234/UpgModPath_Exp_1/20250516-185844-UpgModPathTest/results/6.JLNK.stderr
[2025-05-16T18:58:57.904Z] STF 18:58:57.699 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_17474149522234/UpgModPath_Exp_1/20250516-185844-UpgModPathTest/results/6.JLNK.stdout
[2025-05-16T18:58:57.904Z] STF 18:58:57.703 - Monitoring processes: JLNK
[2025-05-16T18:58:57.904Z] JLNK stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-05-16T18:59:08.715Z] STF 18:59:08.686 - Monitoring Report Summary:
[2025-05-16T18:59:08.715Z] STF 18:59:08.687 - o Process JLNK ended with the expected exit code (0)
[2025-05-16T18:59:08.715Z] STF 18:59:08.689 -
[2025-05-16T18:59:08.715Z] STF 18:59:08.689 - +------ Step 7 - Override an application module
[2025-05-16T18:59:08.715Z] STF 18:59:08.689 - | Run foreground process
[2025-05-16T18:59:08.715Z] STF 18:59:08.690 - | Program: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/jdkbinary/j2sdk-image/bin/java
[2025-05-16T18:59:08.715Z] STF 18:59:08.690 - | Mnemonic: OT11
[2025-05-16T18:59:08.715Z] STF 18:59:08.690 - | Echo: ECHO_ON
[2025-05-16T18:59:08.715Z] STF 18:59:08.690 - | Expectation: CLEAN_RUN within 1m
[2025-05-16T18:59:08.715Z] STF 18:59:08.690 - |
[2025-05-16T18:59:09.041Z] STF 18:59:08.695 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/jdkbinary/j2sdk-image/bin/java --add-reads com.test=ALL-UNNAMED --module-path /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods:/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests --upgrade-module-path /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello --add-modules=com.test -XX:-UseCompressedOops -classpath /home/jenkins/testDependency/system_lib/junit/junit.jar:/home/jenkins/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingAppModule
[2025-05-16T18:59:09.041Z] STF 18:59:08.695 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_17474149522234/UpgModPath_Exp_1/20250516-185844-UpgModPathTest/results/7.OT11.stderr
[2025-05-16T18:59:09.041Z] STF 18:59:08.695 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_17474149522234/UpgModPath_Exp_1/20250516-185844-UpgModPathTest/results/7.OT11.stdout
[2025-05-16T18:59:09.041Z] STF 18:59:08.707 - Monitoring processes: OT11
[2025-05-16T18:59:09.041Z] OT11 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-05-16T18:59:10.183Z] OT11 JUnit version 4.12
[2025-05-16T18:59:10.514Z] OT11 .
[2025-05-16T18:59:10.841Z] OT11 Time: 0.031
[2025-05-16T18:59:10.841Z] OT11
[2025-05-16T18:59:10.841Z] OT11 OK (1 test)
[2025-05-16T18:59:10.841Z] OT11
[2025-05-16T18:59:10.841Z] STF 18:59:10.491 - Monitoring Report Summary:
[2025-05-16T18:59:10.841Z] STF 18:59:10.491 - o Process OT11 ended with the expected exit code (0)
[2025-05-16T18:59:10.841Z] STF 18:59:10.493 -
[2025-05-16T18:59:10.841Z] STF 18:59:10.493 - +------ Step 8 - (Negative test) Override a non-upgradable platform module
[2025-05-16T18:59:10.841Z] STF 18:59:10.494 - | Run foreground process
[2025-05-16T18:59:10.841Z] STF 18:59:10.494 - | Program: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/jdkbinary/j2sdk-image/bin/java
[2025-05-16T18:59:10.841Z] STF 18:59:10.494 - | Mnemonic: OT13
[2025-05-16T18:59:10.841Z] STF 18:59:10.494 - | Echo: ECHO_ON
[2025-05-16T18:59:10.841Z] STF 18:59:10.494 - | Expectation: NON_ZERO_EXIT [1] within 1m
[2025-05-16T18:59:10.841Z] STF 18:59:10.494 - |
[2025-05-16T18:59:10.841Z] STF 18:59:10.497 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/jdkbinary/j2sdk-image/bin/java --add-reads com.test=ALL-UNNAMED --module-path /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods:/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests --upgrade-module-path /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/java.logging --add-modules=com.test -XX:-UseCompressedOops -classpath /home/jenkins/testDependency/system_lib/junit/junit.jar:/home/jenkins/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingNonUpgradablePlatformModule
[2025-05-16T18:59:10.841Z] STF 18:59:10.497 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_17474149522234/UpgModPath_Exp_1/20250516-185844-UpgModPathTest/results/8.OT13.stderr
[2025-05-16T18:59:10.841Z] STF 18:59:10.497 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_17474149522234/UpgModPath_Exp_1/20250516-185844-UpgModPathTest/results/8.OT13.stdout
[2025-05-16T18:59:10.842Z] STF 18:59:10.508 - Monitoring processes: OT13
[2025-05-16T18:59:10.842Z] OT13 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-05-16T18:59:11.551Z] OT13 Error occurred during initialization of boot layer
[2025-05-16T18:59:11.551Z] OT13 java.lang.module.FindException: Unable to compute the hash of module java.logging
[2025-05-16T18:59:11.878Z] STF 18:59:11.453 - Monitoring Report Summary:
[2025-05-16T18:59:11.878Z] STF 18:59:11.453 - o Process OT13 ended with the expected exit code (1)
[2025-05-16T18:59:11.878Z] STF 18:59:11.454 -
[2025-05-16T18:59:11.878Z] STF 18:59:11.454 - +------ Step 9 - Combine stderr and stdout files of process OT13
[2025-05-16T18:59:11.878Z] STF 18:59:11.455 - | Run foreground process
[2025-05-16T18:59:11.878Z] STF 18:59:11.455 - | Program: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/jdkbinary/j2sdk-image/bin/java
[2025-05-16T18:59:11.878Z] STF 18:59:11.455 - | Mnemonic: CO
[2025-05-16T18:59:11.878Z] STF 18:59:11.455 - | Echo: ECHO_OFF
[2025-05-16T18:59:11.878Z] STF 18:59:11.455 - | Expectation: NON_ZERO_EXIT [0] within 30s
[2025-05-16T18:59:11.878Z] STF 18:59:11.455 - |
[2025-05-16T18:59:11.878Z] STF 18:59:11.456 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/jdkbinary/j2sdk-image/bin/java -Dfile1=/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_17474149522234/UpgModPath_Exp_1/20250516-185844-UpgModPathTest/results/8.OT13.stdout -Dfile2=/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_17474149522234/UpgModPath_Exp_1/20250516-185844-UpgModPathTest/results/8.OT13.stderr -Dfinal.file=/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_17474149522234/UpgModPath_Exp_1/20250516-185844-UpgModPathTest/results/combinedOT13.txt -XX:-UseCompressedOops -classpath /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/jvmtest/system/STF/stf.core/bin:/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin net.adoptopenjdk.test.modularity.TestUtil
[2025-05-16T18:59:11.878Z] STF 18:59:11.456 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_17474149522234/UpgModPath_Exp_1/20250516-185844-UpgModPathTest/results/9.CO.stderr
[2025-05-16T18:59:11.878Z] STF 18:59:11.456 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_17474149522234/UpgModPath_Exp_1/20250516-185844-UpgModPathTest/results/9.CO.stdout
[2025-05-16T18:59:11.878Z] STF 18:59:11.462 - Monitoring processes: CO
[2025-05-16T18:59:12.211Z] STF 18:59:11.975 - Monitoring Report Summary:
[2025-05-16T18:59:12.211Z] STF 18:59:11.975 - o Process CO ended with the expected exit code (0)
[2025-05-16T18:59:12.211Z] STF 18:59:11.976 -
[2025-05-16T18:59:12.211Z] STF 18:59:11.976 - +------ Step 10 - Check output
[2025-05-16T18:59:12.211Z] STF 18:59:11.976 - | Count file matches
[2025-05-16T18:59:12.211Z] STF 18:59:11.976 - | TargetFile: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/output_17474149522234/UpgModPath_Exp_1/20250516-185844-UpgModPathTest/results/combinedOT13.txt
[2025-05-16T18:59:12.211Z] STF 18:59:11.976 - | ExpectedNumMatches: 1
[2025-05-16T18:59:12.211Z] STF 18:59:11.976 - | SearchStrings: ["FindException: Unable to compute the hash of module java.logging"]
[2025-05-16T18:59:12.211Z] STF 18:59:11.976 - |
[2025-05-16T18:59:12.211Z] STF 18:59:11.977 - Found 1 instances of ["FindException: Unable to compute the hash of module java.logging"]
[2025-05-16T18:59:12.211Z] STF 18:59:11.977 - EXECUTE stage completed
[2025-05-16T18:59:12.211Z] STF 18:59:12.096 -
[2025-05-16T18:59:12.211Z] STF 18:59:12.097 - ==================== T E A R D O W N ====================
[2025-05-16T18:59:12.211Z] STF 18:59:12.097 - Running teardown: perl /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_1/aqa-tests/TKG/../TKG/output_17474149522234/UpgModPath_Exp_1/20250516-185844-UpgModPathTest/tearDown.pl
[2025-05-16T18:59:12.537Z] STF 18:59:12.333 - TEARDOWN stage completed
[2025-05-16T18:59:12.537Z] STF 18:59:12.343 -
[2025-05-16T18:59:12.537Z] STF 18:59:12.343 - ===================== R E S U L T S =====================
[2025-05-16T18:59:12.537Z] STF 18:59:12.343 - Stage results:
[2025-05-16T18:59:12.537Z] STF 18:59:12.343 - setUp: pass
[2025-05-16T18:59:12.537Z] STF 18:59:12.343 - execute: pass
[2025-05-16T18:59:12.537Z] STF 18:59:12.344 - teardown: pass
[2025-05-16T18:59:12.537Z] STF 18:59:12.344 -
[2025-05-16T18:59:12.537Z] STF 18:59:12.344 - Overall result: PASSED
[2025-05-16T18:59:12.537Z] -----------------------------------
[2025-05-16T18:59:12.537Z] UpgModPath_Exp_1_PASSED
[2025-05-16T18:59:12.537Z] -----------------------------------
[2025-05-16T18:59:12.537Z]
[2025-05-16T18:59:12.537Z] TEST TEARDOWN:
[2025-05-16T18:59:12.537Z] Nothing to be done for teardown.
[2025-05-16T18:59:12.537Z] UpgModPath_Exp_1 Finish Time: Fri May 16 18:59:12 2025 Epoch Time (ms): 1747421952506