UpgModPath_Exp_1

[2024-11-27T14:10:25.528Z] Running test UpgModPath_Exp_1 ... [2024-11-27T14:10:25.528Z] =============================================== [2024-11-27T14:10:25.528Z] UpgModPath_Exp_1 Start Time: Wed Nov 27 14:10:25 2024 Epoch Time (ms): 1732716625264 [2024-11-27T14:10:25.528Z] variation: Mode650 [2024-11-27T14:10:25.528Z] JVM_OPTIONS: -XX:-UseCompressedOops [2024-11-27T14:10:25.528Z] { \ [2024-11-27T14:10:25.528Z] echo ""; echo "TEST SETUP:"; \ [2024-11-27T14:10:25.528Z] echo "Nothing to be done for setup."; \ [2024-11-27T14:10:25.529Z] mkdir -p "/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17327137936375/UpgModPath_Exp_1"; \ [2024-11-27T14:10:25.529Z] cd "/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17327137936375/UpgModPath_Exp_1"; \ [2024-11-27T14:10:25.529Z] echo ""; echo "TESTING:"; \ [2024-11-27T14:10:25.529Z] perl /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/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_2/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF;/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../../jvmtest/system/modularity/..//aqa-systemtest""" -systemtest-prereqs="/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/../../testDependency/system_lib/" -java-args=' -XX:-UseCompressedOops ' -results-root="/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17327137936375/UpgModPath_Exp_1" -test=UpgModPathTest -test-args="variant=Exp"; \ [2024-11-27T14:10:25.529Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "UpgModPath_Exp_1""_PASSED"; echo "-----------------------------------"; cd /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/..; rm -f -r "/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17327137936375/UpgModPath_Exp_1"; else echo "-----------------------------------"; echo "UpgModPath_Exp_1""_FAILED"; echo "-----------------------------------"; fi; \ [2024-11-27T14:10:25.529Z] echo ""; echo "TEST TEARDOWN:"; \ [2024-11-27T14:10:25.529Z] echo "Nothing to be done for teardown."; \ [2024-11-27T14:10:25.529Z] } 2>&1 | tee -a "/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17327137936375/TestTargetResult"; [2024-11-27T14:10:25.529Z] [2024-11-27T14:10:25.529Z] TEST SETUP: [2024-11-27T14:10:25.529Z] Nothing to be done for setup. [2024-11-27T14:10:25.529Z] [2024-11-27T14:10:25.529Z] TESTING: [2024-11-27T14:10:25.860Z] STF 14:10:25.532 - ========================= S T F ========================= [2024-11-27T14:10:25.860Z] 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_2/aqa-tests/TKG/../TKG/output_17327137936375/UpgModPath_Exp_1 [2024-11-27T14:10:25.860Z] There is 73209 Mb free [2024-11-27T14:10:25.860Z] STF 14:10:25.554 - ================== G E N E R A T I O N ================== [2024-11-27T14:10:25.860Z] STF 14:10:25.558 - Checking JVM: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image [2024-11-27T14:10:25.860Z] STF 14:10:25.558 - Starting process to generate scripts: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/bin/java -Dlog4j.skipJansi=true -Djava.system.class.loader=net.adoptopenjdk.stf.runner.StfClassLoader -classpath /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/../../testDependency/system_lib//log4j/log4j-api.jar:/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/../../testDependency/system_lib//log4j/log4j-core.jar:/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17327137936375/UpgModPath_Exp_1/20241127-141025-UpgModPathTest/stf_parameters.properties, , /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17327137936375/UpgModPath_Exp_1/20241127-141025-UpgModPathTest" [2024-11-27T14:10:25.860Z] GEN stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-27T14:10:25.860Z] GEN [0.017s][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 [2024-11-27T14:10:30.603Z] GEN 14:10:30.362 - Found test. Project: 'openjdk.test.modularity' class: 'UpgModPathTest.class' Dir: '/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin' [2024-11-27T14:10:30.603Z] GEN 14:10:30.378 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.UpgModPathTest' [2024-11-27T14:10:30.932Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2024-11-27T14:10:30.932Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayService [2024-11-27T14:10:30.932Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper [2024-11-27T14:10:30.932Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl1 [2024-11-27T14:10:30.932Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet [2024-11-27T14:10:30.932Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello [2024-11-27T14:10:30.932Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola [2024-11-27T14:10:30.932Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl2 [2024-11-27T14:10:30.932Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hi [2024-11-27T14:10:30.932Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override [2024-11-27T14:10:30.932Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override-new [2024-11-27T14:10:30.932Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl3 [2024-11-27T14:10:30.932Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl4 [2024-11-27T14:10:30.932Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common [2024-11-27T14:10:30.932Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests [2024-11-27T14:10:30.932Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin [2024-11-27T14:10:30.932Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/STF/stf.core/bin [2024-11-27T14:10:30.933Z] GEN /home/jenkins/testDependency/system_lib/log4j/log4j-api.jar [2024-11-27T14:10:30.933Z] GEN /home/jenkins/testDependency/system_lib/log4j/log4j-core.jar [2024-11-27T14:10:30.933Z] GEN /home/jenkins/testDependency/system_lib/junit/junit.jar [2024-11-27T14:10:31.259Z] GEN 14:10:31.085 - Using Mode NoOptions. Values = '' [2024-11-27T14:10:31.597Z] GEN 14:10:31.492 - [2024-11-27T14:10:31.597Z] GEN 14:10:31.492 - Test command summary: [2024-11-27T14:10:31.597Z] GEN 14:10:31.494 - Step Stage Command Description [2024-11-27T14:10:31.597Z] GEN 14:10:31.496 - -----+--------+-----------------+------------ [2024-11-27T14:10:31.597Z] GEN 14:10:31.496 - 1 execute jar Create com.hello jar [2024-11-27T14:10:31.597Z] GEN 14:10:31.497 - 2 execute jar Create com.hola jar [2024-11-27T14:10:31.597Z] GEN 14:10:31.498 - 3 execute jar Create com.helper jar [2024-11-27T14:10:31.597Z] GEN 14:10:31.499 - 4 execute jar Create com.discreet jar [2024-11-27T14:10:31.597Z] GEN 14:10:31.499 - 5 execute jar Create tests jar [2024-11-27T14:10:31.597Z] GEN 14:10:31.500 - 6 execute jlink Create runtime image for upgrademodulepath test [2024-11-27T14:10:31.597Z] GEN 14:10:31.501 - 7 execute Run java Override an application module [2024-11-27T14:10:31.597Z] GEN 14:10:31.502 - 8 execute Run java (Negative test) Override a non-upgradable platform module [2024-11-27T14:10:31.597Z] GEN 14:10:31.503 - 9 execute Run java Combine stderr and stdout files of process OT13 [2024-11-27T14:10:31.597Z] GEN 14:10:31.503 - 10 execute count Check output [2024-11-27T14:10:31.924Z] STF 14:10:31.640 - [2024-11-27T14:10:31.924Z] STF 14:10:31.641 - Script generation completed [2024-11-27T14:10:31.924Z] STF 14:10:31.641 - [2024-11-27T14:10:31.924Z] STF 14:10:31.645 - [2024-11-27T14:10:31.924Z] STF 14:10:31.646 - ======================= S E T U P ======================= [2024-11-27T14:10:31.924Z] STF 14:10:31.646 - Running setup: perl /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17327137936375/UpgModPath_Exp_1/20241127-141025-UpgModPathTest/setUp.pl [2024-11-27T14:10:31.924Z] STF 14:10:31.880 - SETUP stage completed [2024-11-27T14:10:31.924Z] STF 14:10:31.891 - [2024-11-27T14:10:31.924Z] STF 14:10:31.891 - ==================== E X E C U T E - ==================== [2024-11-27T14:10:31.924Z] STF 14:10:31.891 - Running execute: perl /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17327137936375/UpgModPath_Exp_1/20241127-141025-UpgModPathTest/execute.pl [2024-11-27T14:10:32.254Z] STF 14:10:32.133 - [2024-11-27T14:10:32.254Z] STF 14:10:32.133 - Java version [2024-11-27T14:10:32.254Z] STF 14:10:32.133 - Running: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/bin/java -version [2024-11-27T14:10:32.254Z] Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-27T14:10:32.589Z] openjdk version "21.0.6-beta" 2025-01-21 [2024-11-27T14:10:32.589Z] OpenJDK Runtime Environment Temurin-21.0.6+5-202411271056 (build 21.0.6-beta+5-202411271056) [2024-11-27T14:10:32.589Z] OpenJDK 64-Bit Server VM Temurin-21.0.6+5-202411271056 (build 21.0.6-beta+5-202411271056, mixed mode, sharing) [2024-11-27T14:10:32.589Z] STF 14:10:32.388 - [2024-11-27T14:10:32.589Z] STF 14:10:32.388 - +------ Step 1 - Create com.hello jar [2024-11-27T14:10:32.589Z] STF 14:10:32.388 - | Create modular jar [2024-11-27T14:10:32.589Z] STF 14:10:32.388 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2024-11-27T14:10:32.589Z] STF 14:10:32.388 - | ModuleVersion: null [2024-11-27T14:10:32.589Z] STF 14:10:32.388 - | MainClass: null [2024-11-27T14:10:32.589Z] STF 14:10:32.388 - | HashModules: null [2024-11-27T14:10:32.589Z] STF 14:10:32.388 - | [2024-11-27T14:10:32.589Z] STF 14:10:32.390 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17327137936375/UpgModPath_Exp_1/20241127-141025-UpgModPathTest/modules/1.com.hello.jar -C /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello . [2024-11-27T14:10:32.589Z] STF 14:10:32.390 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17327137936375/UpgModPath_Exp_1/20241127-141025-UpgModPathTest/results/1.CMJ.stderr [2024-11-27T14:10:32.589Z] STF 14:10:32.390 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17327137936375/UpgModPath_Exp_1/20241127-141025-UpgModPathTest/results/1.CMJ.stdout [2024-11-27T14:10:32.589Z] STF 14:10:32.429 - Monitoring processes: CMJ [2024-11-27T14:10:32.589Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-27T14:10:34.241Z] STF 14:10:33.787 - Monitoring Report Summary: [2024-11-27T14:10:34.242Z] STF 14:10:33.787 - o Process CMJ ended with the expected exit code (0) [2024-11-27T14:10:34.242Z] STF 14:10:33.788 - Created modular jar: 1.com.hello.jar [2024-11-27T14:10:34.242Z] STF 14:10:33.788 - [2024-11-27T14:10:34.242Z] STF 14:10:33.788 - +------ Step 2 - Create com.hola jar [2024-11-27T14:10:34.242Z] STF 14:10:33.788 - | Create modular jar [2024-11-27T14:10:34.242Z] STF 14:10:33.788 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2024-11-27T14:10:34.242Z] STF 14:10:33.788 - | ModuleVersion: null [2024-11-27T14:10:34.242Z] STF 14:10:33.788 - | MainClass: null [2024-11-27T14:10:34.242Z] STF 14:10:33.788 - | HashModules: null [2024-11-27T14:10:34.242Z] STF 14:10:33.788 - | [2024-11-27T14:10:34.242Z] STF 14:10:33.790 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17327137936375/UpgModPath_Exp_1/20241127-141025-UpgModPathTest/modules/2.com.hola.jar -C /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola . [2024-11-27T14:10:34.242Z] STF 14:10:33.790 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17327137936375/UpgModPath_Exp_1/20241127-141025-UpgModPathTest/results/2.CMJ.stderr [2024-11-27T14:10:34.242Z] STF 14:10:33.790 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17327137936375/UpgModPath_Exp_1/20241127-141025-UpgModPathTest/results/2.CMJ.stdout [2024-11-27T14:10:34.242Z] STF 14:10:33.796 - Monitoring processes: CMJ [2024-11-27T14:10:34.242Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-27T14:10:35.390Z] STF 14:10:35.119 - Monitoring Report Summary: [2024-11-27T14:10:35.390Z] STF 14:10:35.119 - o Process CMJ ended with the expected exit code (0) [2024-11-27T14:10:35.390Z] STF 14:10:35.124 - Created modular jar: 2.com.hola.jar [2024-11-27T14:10:35.390Z] STF 14:10:35.124 - [2024-11-27T14:10:35.390Z] STF 14:10:35.124 - +------ Step 3 - Create com.helper jar [2024-11-27T14:10:35.390Z] STF 14:10:35.124 - | Create modular jar [2024-11-27T14:10:35.390Z] STF 14:10:35.124 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2024-11-27T14:10:35.390Z] STF 14:10:35.125 - | ModuleVersion: null [2024-11-27T14:10:35.390Z] STF 14:10:35.125 - | MainClass: null [2024-11-27T14:10:35.390Z] STF 14:10:35.125 - | HashModules: null [2024-11-27T14:10:35.390Z] STF 14:10:35.125 - | [2024-11-27T14:10:35.390Z] STF 14:10:35.128 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17327137936375/UpgModPath_Exp_1/20241127-141025-UpgModPathTest/modules/3.com.helper.jar -C /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper . [2024-11-27T14:10:35.390Z] STF 14:10:35.128 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17327137936375/UpgModPath_Exp_1/20241127-141025-UpgModPathTest/results/3.CMJ.stderr [2024-11-27T14:10:35.390Z] STF 14:10:35.128 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17327137936375/UpgModPath_Exp_1/20241127-141025-UpgModPathTest/results/3.CMJ.stdout [2024-11-27T14:10:35.390Z] STF 14:10:35.134 - Monitoring processes: CMJ [2024-11-27T14:10:35.390Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-27T14:10:36.539Z] STF 14:10:36.465 - Monitoring Report Summary: [2024-11-27T14:10:36.539Z] STF 14:10:36.465 - o Process CMJ ended with the expected exit code (0) [2024-11-27T14:10:36.539Z] STF 14:10:36.466 - Created modular jar: 3.com.helper.jar [2024-11-27T14:10:36.539Z] STF 14:10:36.466 - [2024-11-27T14:10:36.539Z] STF 14:10:36.466 - +------ Step 4 - Create com.discreet jar [2024-11-27T14:10:36.539Z] STF 14:10:36.466 - | Create modular jar [2024-11-27T14:10:36.539Z] STF 14:10:36.466 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2024-11-27T14:10:36.539Z] STF 14:10:36.466 - | ModuleVersion: null [2024-11-27T14:10:36.539Z] STF 14:10:36.466 - | MainClass: null [2024-11-27T14:10:36.539Z] STF 14:10:36.466 - | HashModules: null [2024-11-27T14:10:36.539Z] STF 14:10:36.466 - | [2024-11-27T14:10:36.539Z] STF 14:10:36.467 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17327137936375/UpgModPath_Exp_1/20241127-141025-UpgModPathTest/modules/4.com.discreet.jar -C /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet . [2024-11-27T14:10:36.539Z] STF 14:10:36.467 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17327137936375/UpgModPath_Exp_1/20241127-141025-UpgModPathTest/results/4.CMJ.stderr [2024-11-27T14:10:36.539Z] STF 14:10:36.467 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17327137936375/UpgModPath_Exp_1/20241127-141025-UpgModPathTest/results/4.CMJ.stdout [2024-11-27T14:10:36.539Z] STF 14:10:36.473 - Monitoring processes: CMJ [2024-11-27T14:10:36.539Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-27T14:10:38.200Z] STF 14:10:37.770 - Monitoring Report Summary: [2024-11-27T14:10:38.200Z] STF 14:10:37.771 - o Process CMJ ended with the expected exit code (0) [2024-11-27T14:10:38.200Z] STF 14:10:37.771 - Created modular jar: 4.com.discreet.jar [2024-11-27T14:10:38.200Z] STF 14:10:37.771 - [2024-11-27T14:10:38.200Z] STF 14:10:37.772 - +------ Step 5 - Create tests jar [2024-11-27T14:10:38.200Z] STF 14:10:37.772 - | Create modular jar [2024-11-27T14:10:38.200Z] STF 14:10:37.772 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2024-11-27T14:10:38.200Z] STF 14:10:37.772 - | ModuleVersion: null [2024-11-27T14:10:38.200Z] STF 14:10:37.772 - | MainClass: null [2024-11-27T14:10:38.200Z] STF 14:10:37.772 - | HashModules: null [2024-11-27T14:10:38.200Z] STF 14:10:37.772 - | [2024-11-27T14:10:38.200Z] STF 14:10:37.773 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17327137936375/UpgModPath_Exp_1/20241127-141025-UpgModPathTest/modules/5.com.test.jar -C /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test . [2024-11-27T14:10:38.200Z] STF 14:10:37.773 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17327137936375/UpgModPath_Exp_1/20241127-141025-UpgModPathTest/results/5.CMJ.stderr [2024-11-27T14:10:38.200Z] STF 14:10:37.773 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17327137936375/UpgModPath_Exp_1/20241127-141025-UpgModPathTest/results/5.CMJ.stdout [2024-11-27T14:10:38.200Z] STF 14:10:37.779 - Monitoring processes: CMJ [2024-11-27T14:10:38.200Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-27T14:10:39.340Z] STF 14:10:39.115 - Monitoring Report Summary: [2024-11-27T14:10:39.340Z] STF 14:10:39.116 - o Process CMJ ended with the expected exit code (0) [2024-11-27T14:10:39.340Z] STF 14:10:39.117 - Created modular jar: 5.com.test.jar [2024-11-27T14:10:39.340Z] STF 14:10:39.117 - [2024-11-27T14:10:39.340Z] STF 14:10:39.117 - +------ Step 6 - Create runtime image for upgrademodulepath test [2024-11-27T14:10:39.340Z] STF 14:10:39.117 - | Run jlink to create runtime image [2024-11-27T14:10:39.340Z] STF 14:10:39.117 - | ImageName: UpJVM [2024-11-27T14:10:39.340Z] STF 14:10:39.117 - | [2024-11-27T14:10:39.340Z] STF 14:10:39.118 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/bin/jlink --module-path /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/jmods:/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17327137936375/UpgModPath_Exp_1/20241127-141025-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_2/aqa-tests/TKG/output_17327137936375/UpgModPath_Exp_1/20241127-141025-UpgModPathTest/tmp/6.UpJVM [2024-11-27T14:10:39.340Z] STF 14:10:39.119 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17327137936375/UpgModPath_Exp_1/20241127-141025-UpgModPathTest/results/6.JLNK.stderr [2024-11-27T14:10:39.340Z] STF 14:10:39.119 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17327137936375/UpgModPath_Exp_1/20241127-141025-UpgModPathTest/results/6.JLNK.stdout [2024-11-27T14:10:39.340Z] STF 14:10:39.125 - Monitoring processes: JLNK [2024-11-27T14:10:39.340Z] JLNK stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-27T14:10:52.473Z] STF 14:10:50.383 - Monitoring Report Summary: [2024-11-27T14:10:52.473Z] STF 14:10:50.384 - o Process JLNK ended with the expected exit code (0) [2024-11-27T14:10:52.473Z] STF 14:10:50.385 - [2024-11-27T14:10:52.473Z] STF 14:10:50.385 - +------ Step 7 - Override an application module [2024-11-27T14:10:52.473Z] STF 14:10:50.386 - | Run foreground process [2024-11-27T14:10:52.473Z] STF 14:10:50.386 - | Program: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/bin/java [2024-11-27T14:10:52.473Z] STF 14:10:50.386 - | Mnemonic: OT11 [2024-11-27T14:10:52.473Z] STF 14:10:50.386 - | Echo: ECHO_ON [2024-11-27T14:10:52.473Z] STF 14:10:50.386 - | Expectation: CLEAN_RUN within 1m [2024-11-27T14:10:52.473Z] STF 14:10:50.386 - | [2024-11-27T14:10:52.473Z] STF 14:10:50.388 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/bin/java --add-reads com.test=ALL-UNNAMED --module-path /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods:/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests --upgrade-module-path /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/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 [2024-11-27T14:10:52.473Z] STF 14:10:50.388 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17327137936375/UpgModPath_Exp_1/20241127-141025-UpgModPathTest/results/7.OT11.stderr [2024-11-27T14:10:52.473Z] STF 14:10:50.389 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17327137936375/UpgModPath_Exp_1/20241127-141025-UpgModPathTest/results/7.OT11.stdout [2024-11-27T14:10:52.473Z] STF 14:10:50.400 - Monitoring processes: OT11 [2024-11-27T14:10:52.473Z] OT11 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-27T14:10:52.473Z] OT11 JUnit version 4.12 [2024-11-27T14:10:52.473Z] OT11 . [2024-11-27T14:10:52.473Z] OT11 Time: 0.028 [2024-11-27T14:10:52.473Z] OT11 [2024-11-27T14:10:52.473Z] OT11 OK (1 test) [2024-11-27T14:10:52.473Z] OT11 [2024-11-27T14:10:52.473Z] STF 14:10:52.208 - Monitoring Report Summary: [2024-11-27T14:10:52.473Z] STF 14:10:52.209 - o Process OT11 ended with the expected exit code (0) [2024-11-27T14:10:52.473Z] STF 14:10:52.212 - [2024-11-27T14:10:52.473Z] STF 14:10:52.212 - +------ Step 8 - (Negative test) Override a non-upgradable platform module [2024-11-27T14:10:52.473Z] STF 14:10:52.212 - | Run foreground process [2024-11-27T14:10:52.473Z] STF 14:10:52.213 - | Program: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/bin/java [2024-11-27T14:10:52.473Z] STF 14:10:52.213 - | Mnemonic: OT13 [2024-11-27T14:10:52.473Z] STF 14:10:52.213 - | Echo: ECHO_ON [2024-11-27T14:10:52.473Z] STF 14:10:52.214 - | Expectation: NON_ZERO_EXIT [1] within 1m [2024-11-27T14:10:52.473Z] STF 14:10:52.214 - | [2024-11-27T14:10:52.474Z] STF 14:10:52.218 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/bin/java --add-reads com.test=ALL-UNNAMED --module-path /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods:/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests --upgrade-module-path /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/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 [2024-11-27T14:10:52.474Z] STF 14:10:52.219 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17327137936375/UpgModPath_Exp_1/20241127-141025-UpgModPathTest/results/8.OT13.stderr [2024-11-27T14:10:52.474Z] STF 14:10:52.219 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17327137936375/UpgModPath_Exp_1/20241127-141025-UpgModPathTest/results/8.OT13.stdout [2024-11-27T14:10:52.474Z] STF 14:10:52.229 - Monitoring processes: OT13 [2024-11-27T14:10:52.474Z] OT13 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-27T14:10:53.618Z] OT13 Error occurred during initialization of boot layer [2024-11-27T14:10:53.618Z] OT13 java.lang.module.FindException: Unable to compute the hash of module java.logging [2024-11-27T14:10:53.618Z] STF 14:10:53.228 - Monitoring Report Summary: [2024-11-27T14:10:53.618Z] STF 14:10:53.228 - o Process OT13 ended with the expected exit code (1) [2024-11-27T14:10:53.618Z] STF 14:10:53.230 - [2024-11-27T14:10:53.618Z] STF 14:10:53.231 - +------ Step 9 - Combine stderr and stdout files of process OT13 [2024-11-27T14:10:53.618Z] STF 14:10:53.231 - | Run foreground process [2024-11-27T14:10:53.618Z] STF 14:10:53.231 - | Program: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/bin/java [2024-11-27T14:10:53.618Z] STF 14:10:53.231 - | Mnemonic: CO [2024-11-27T14:10:53.618Z] STF 14:10:53.231 - | Echo: ECHO_OFF [2024-11-27T14:10:53.618Z] STF 14:10:53.231 - | Expectation: NON_ZERO_EXIT [0] within 30s [2024-11-27T14:10:53.618Z] STF 14:10:53.232 - | [2024-11-27T14:10:53.618Z] STF 14:10:53.233 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jdkbinary/j2sdk-image/bin/java -Dfile1=/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17327137936375/UpgModPath_Exp_1/20241127-141025-UpgModPathTest/results/8.OT13.stdout -Dfile2=/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17327137936375/UpgModPath_Exp_1/20241127-141025-UpgModPathTest/results/8.OT13.stderr -Dfinal.file=/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17327137936375/UpgModPath_Exp_1/20241127-141025-UpgModPathTest/results/combinedOT13.txt -XX:-UseCompressedOops -classpath /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/STF/stf.core/bin:/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin net.adoptopenjdk.test.modularity.TestUtil [2024-11-27T14:10:53.619Z] STF 14:10:53.234 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17327137936375/UpgModPath_Exp_1/20241127-141025-UpgModPathTest/results/9.CO.stderr [2024-11-27T14:10:53.619Z] STF 14:10:53.234 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17327137936375/UpgModPath_Exp_1/20241127-141025-UpgModPathTest/results/9.CO.stdout [2024-11-27T14:10:53.619Z] STF 14:10:53.246 - Monitoring processes: CO [2024-11-27T14:10:53.955Z] STF 14:10:53.757 - Monitoring Report Summary: [2024-11-27T14:10:53.955Z] STF 14:10:53.758 - o Process CO ended with the expected exit code (0) [2024-11-27T14:10:53.955Z] STF 14:10:53.758 - [2024-11-27T14:10:53.955Z] STF 14:10:53.759 - +------ Step 10 - Check output [2024-11-27T14:10:53.955Z] STF 14:10:53.759 - | Count file matches [2024-11-27T14:10:53.955Z] STF 14:10:53.759 - | TargetFile: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/output_17327137936375/UpgModPath_Exp_1/20241127-141025-UpgModPathTest/results/combinedOT13.txt [2024-11-27T14:10:53.955Z] STF 14:10:53.759 - | ExpectedNumMatches: 1 [2024-11-27T14:10:53.955Z] STF 14:10:53.759 - | SearchStrings: ["FindException: Unable to compute the hash of module java.logging"] [2024-11-27T14:10:53.955Z] STF 14:10:53.759 - | [2024-11-27T14:10:53.955Z] STF 14:10:53.760 - Found 1 instances of ["FindException: Unable to compute the hash of module java.logging"] [2024-11-27T14:10:53.955Z] STF 14:10:53.760 - EXECUTE stage completed [2024-11-27T14:10:53.955Z] STF 14:10:53.889 - [2024-11-27T14:10:53.955Z] STF 14:10:53.890 - ==================== T E A R D O W N ==================== [2024-11-27T14:10:53.955Z] STF 14:10:53.890 - Running teardown: perl /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_riscv64_linux_testList_2/aqa-tests/TKG/../TKG/output_17327137936375/UpgModPath_Exp_1/20241127-141025-UpgModPathTest/tearDown.pl [2024-11-27T14:10:54.279Z] STF 14:10:54.131 - TEARDOWN stage completed [2024-11-27T14:10:54.279Z] STF 14:10:54.144 - [2024-11-27T14:10:54.279Z] STF 14:10:54.144 - ===================== R E S U L T S ===================== [2024-11-27T14:10:54.279Z] STF 14:10:54.144 - Stage results: [2024-11-27T14:10:54.279Z] STF 14:10:54.144 - setUp: pass [2024-11-27T14:10:54.279Z] STF 14:10:54.145 - execute: pass [2024-11-27T14:10:54.279Z] STF 14:10:54.145 - teardown: pass [2024-11-27T14:10:54.279Z] STF 14:10:54.145 - [2024-11-27T14:10:54.279Z] STF 14:10:54.145 - Overall result: PASSED [2024-11-27T14:10:54.279Z] ----------------------------------- [2024-11-27T14:10:54.279Z] UpgModPath_Exp_1_PASSED [2024-11-27T14:10:54.279Z] ----------------------------------- [2024-11-27T14:10:54.279Z] [2024-11-27T14:10:54.279Z] TEST TEARDOWN: [2024-11-27T14:10:54.279Z] Nothing to be done for teardown. [2024-11-27T14:10:54.604Z] UpgModPath_Exp_1 Finish Time: Wed Nov 27 14:10:54 2024 Epoch Time (ms): 1732716654302