UpgModPath_Exp_0

[2025-04-16T10:48:25.213Z] Running test UpgModPath_Exp_0 ... [2025-04-16T10:48:25.213Z] =============================================== [2025-04-16T10:48:25.213Z] UpgModPath_Exp_0 Start Time: Wed Apr 16 05:48:24 2025 Epoch Time (ms): 1744800504398 [2025-04-16T10:48:25.213Z] variation: Mode150 [2025-04-16T10:48:25.213Z] JVM_OPTIONS: -XX:+UseCompressedOops [2025-04-16T10:48:25.213Z] { \ [2025-04-16T10:48:25.213Z] echo ""; echo "TEST SETUP:"; \ [2025-04-16T10:48:25.213Z] echo "Nothing to be done for setup."; \ [2025-04-16T10:48:25.213Z] mkdir -p "/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/../TKG/output_17448001069457/UpgModPath_Exp_0"; \ [2025-04-16T10:48:25.213Z] cd "/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/../TKG/output_17448001069457/UpgModPath_Exp_0"; \ [2025-04-16T10:48:25.213Z] echo ""; echo "TESTING:"; \ [2025-04-16T10:48:25.213Z] perl /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF/stf.core/scripts/stf.pl -test-root="/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF;/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/../../jvmtest/system/modularity/..//aqa-systemtest""" -systemtest-prereqs="/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/../../testDependency/system_lib/" -java-args=' -XX:+UseCompressedOops ' -results-root="/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/../TKG/output_17448001069457/UpgModPath_Exp_0" -test=UpgModPathTest -test-args="variant=Exp"; \ [2025-04-16T10:48:25.213Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "UpgModPath_Exp_0""_PASSED"; echo "-----------------------------------"; cd /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/..; rm -f -r "/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/../TKG/output_17448001069457/UpgModPath_Exp_0"; else echo "-----------------------------------"; echo "UpgModPath_Exp_0""_FAILED"; echo "-----------------------------------"; fi; \ [2025-04-16T10:48:25.213Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-04-16T10:48:25.213Z] echo "Nothing to be done for teardown."; \ [2025-04-16T10:48:25.213Z] } 2>&1 | tee -a "/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/../TKG/output_17448001069457/TestTargetResult"; [2025-04-16T10:48:25.213Z] [2025-04-16T10:48:25.213Z] TEST SETUP: [2025-04-16T10:48:25.213Z] Nothing to be done for setup. [2025-04-16T10:48:25.213Z] [2025-04-16T10:48:25.213Z] TESTING: [2025-04-16T10:48:25.213Z] STF 05:48:24.550 - ========================= S T F ========================= [2025-04-16T10:48:25.213Z] systemtest-prereqs has been processed, and set to: /home/jenkins/testDependency/system_libRetrieving amount of free space on drive containing /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/../TKG/output_17448001069457/UpgModPath_Exp_0 [2025-04-16T10:48:25.213Z] There is 40913 Mb free [2025-04-16T10:48:25.213Z] STF 05:48:24.568 - ================== G E N E R A T I O N ================== [2025-04-16T10:48:25.213Z] STF 05:48:24.571 - Checking JVM: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jdkbinary/j2sdk-image [2025-04-16T10:48:25.214Z] STF 05:48:24.572 - Starting process to generate scripts: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_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_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/STF/stf.core/scripts/../../stf.load/bin/stf.load.jar -classpath /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/../../testDependency/system_lib//asm/asm.jar:/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/../../testDependency/system_lib//asm/asm-commons.jar:/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/../../testDependency/system_lib//log4j/log4j-api.jar:/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/../../testDependency/system_lib//log4j/log4j-core.jar:/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/../TKG/output_17448001069457/UpgModPath_Exp_0/20250416-054824-UpgModPathTest/stf_parameters.properties, , /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/../TKG/output_17448001069457/UpgModPath_Exp_0/20250416-054824-UpgModPathTest" [2025-04-16T10:48:26.640Z] GEN 05:48:25.668 - Found test. Project: 'openjdk.test.modularity' class: 'UpgModPathTest.class' Dir: '/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin' [2025-04-16T10:48:26.640Z] GEN 05:48:25.685 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.UpgModPathTest' [2025-04-16T10:48:26.640Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2025-04-16T10:48:26.640Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayService [2025-04-16T10:48:26.640Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper [2025-04-16T10:48:26.640Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl1 [2025-04-16T10:48:26.640Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet [2025-04-16T10:48:26.640Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello [2025-04-16T10:48:26.640Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola [2025-04-16T10:48:26.640Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl2 [2025-04-16T10:48:26.640Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hi [2025-04-16T10:48:26.640Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override [2025-04-16T10:48:26.640Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override-new [2025-04-16T10:48:26.640Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl3 [2025-04-16T10:48:26.640Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl4 [2025-04-16T10:48:26.640Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common [2025-04-16T10:48:26.640Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests [2025-04-16T10:48:26.640Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin [2025-04-16T10:48:26.640Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/STF/stf.core/bin [2025-04-16T10:48:26.640Z] GEN /home/jenkins/testDependency/system_lib/log4j/log4j-api.jar [2025-04-16T10:48:26.640Z] GEN /home/jenkins/testDependency/system_lib/log4j/log4j-core.jar [2025-04-16T10:48:26.640Z] GEN /home/jenkins/testDependency/system_lib/junit/junit.jar [2025-04-16T10:48:26.640Z] GEN 05:48:25.963 - Using Mode NoOptions. Values = '' [2025-04-16T10:48:26.640Z] GEN 05:48:26.143 - [2025-04-16T10:48:26.640Z] GEN 05:48:26.144 - Test command summary: [2025-04-16T10:48:26.640Z] GEN 05:48:26.144 - Step Stage Command Description [2025-04-16T10:48:26.640Z] GEN 05:48:26.144 - -----+--------+-----------------+------------ [2025-04-16T10:48:26.640Z] GEN 05:48:26.144 - 1 execute jar Create com.hello jar [2025-04-16T10:48:26.640Z] GEN 05:48:26.144 - 2 execute jar Create com.hola jar [2025-04-16T10:48:26.640Z] GEN 05:48:26.144 - 3 execute jar Create com.helper jar [2025-04-16T10:48:26.640Z] GEN 05:48:26.145 - 4 execute jar Create com.discreet jar [2025-04-16T10:48:26.640Z] GEN 05:48:26.145 - 5 execute jar Create tests jar [2025-04-16T10:48:26.640Z] GEN 05:48:26.145 - 6 execute jlink Create runtime image for upgrademodulepath test [2025-04-16T10:48:26.640Z] GEN 05:48:26.145 - 7 execute Run java Override an application module [2025-04-16T10:48:26.640Z] GEN 05:48:26.145 - 8 execute Run java (Negative test) Override a non-upgradable platform module [2025-04-16T10:48:26.640Z] GEN 05:48:26.145 - 9 execute Run java Combine stderr and stdout files of process OT13 [2025-04-16T10:48:26.640Z] GEN 05:48:26.145 - 10 execute count Check output [2025-04-16T10:48:26.640Z] STF 05:48:26.197 - [2025-04-16T10:48:26.640Z] STF 05:48:26.197 - Script generation completed [2025-04-16T10:48:26.640Z] STF 05:48:26.197 - [2025-04-16T10:48:26.640Z] STF 05:48:26.199 - [2025-04-16T10:48:26.640Z] STF 05:48:26.199 - ======================= S E T U P ======================= [2025-04-16T10:48:26.640Z] STF 05:48:26.199 - Running setup: perl /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/../TKG/output_17448001069457/UpgModPath_Exp_0/20250416-054824-UpgModPathTest/setUp.pl [2025-04-16T10:48:27.328Z] STF 05:48:26.284 - SETUP stage completed [2025-04-16T10:48:27.328Z] STF 05:48:26.292 - [2025-04-16T10:48:27.328Z] STF 05:48:26.293 - ==================== E X E C U T E - ==================== [2025-04-16T10:48:27.328Z] STF 05:48:26.293 - Running execute: perl /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/../TKG/output_17448001069457/UpgModPath_Exp_0/20250416-054824-UpgModPathTest/execute.pl [2025-04-16T10:48:27.328Z] STF 05:48:26.367 - [2025-04-16T10:48:27.328Z] STF 05:48:26.367 - Java version [2025-04-16T10:48:27.328Z] STF 05:48:26.367 - Running: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jdkbinary/j2sdk-image/bin/java -version [2025-04-16T10:48:27.328Z] openjdk version "11.0.27" 2025-04-15 [2025-04-16T10:48:27.328Z] OpenJDK Runtime Environment Temurin-11.0.27+6 (build 11.0.27+6) [2025-04-16T10:48:27.328Z] OpenJDK 64-Bit Server VM Temurin-11.0.27+6 (build 11.0.27+6, mixed mode) [2025-04-16T10:48:27.328Z] STF 05:48:26.545 - [2025-04-16T10:48:27.328Z] STF 05:48:26.545 - +------ Step 1 - Create com.hello jar [2025-04-16T10:48:27.328Z] STF 05:48:26.545 - | Create modular jar [2025-04-16T10:48:27.328Z] STF 05:48:26.546 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2025-04-16T10:48:27.328Z] STF 05:48:26.546 - | ModuleVersion: null [2025-04-16T10:48:27.328Z] STF 05:48:26.546 - | MainClass: null [2025-04-16T10:48:27.328Z] STF 05:48:26.546 - | HashModules: null [2025-04-16T10:48:27.328Z] STF 05:48:26.546 - | [2025-04-16T10:48:27.328Z] STF 05:48:26.549 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17448001069457/UpgModPath_Exp_0/20250416-054824-UpgModPathTest/modules/1.com.hello.jar -C /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello . [2025-04-16T10:48:27.328Z] STF 05:48:26.549 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17448001069457/UpgModPath_Exp_0/20250416-054824-UpgModPathTest/results/1.CMJ.stderr [2025-04-16T10:48:27.328Z] STF 05:48:26.549 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17448001069457/UpgModPath_Exp_0/20250416-054824-UpgModPathTest/results/1.CMJ.stdout [2025-04-16T10:48:27.328Z] STF 05:48:26.575 - Monitoring processes: CMJ [2025-04-16T10:48:28.015Z] STF 05:48:26.917 - Monitoring Report Summary: [2025-04-16T10:48:28.015Z] STF 05:48:26.917 - o Process CMJ ended with the expected exit code (0) [2025-04-16T10:48:28.015Z] STF 05:48:26.920 - Created modular jar: 1.com.hello.jar [2025-04-16T10:48:28.015Z] STF 05:48:26.920 - [2025-04-16T10:48:28.015Z] STF 05:48:26.920 - +------ Step 2 - Create com.hola jar [2025-04-16T10:48:28.015Z] STF 05:48:26.920 - | Create modular jar [2025-04-16T10:48:28.015Z] STF 05:48:26.920 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2025-04-16T10:48:28.015Z] STF 05:48:26.920 - | ModuleVersion: null [2025-04-16T10:48:28.015Z] STF 05:48:26.920 - | MainClass: null [2025-04-16T10:48:28.015Z] STF 05:48:26.920 - | HashModules: null [2025-04-16T10:48:28.015Z] STF 05:48:26.920 - | [2025-04-16T10:48:28.016Z] STF 05:48:26.921 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17448001069457/UpgModPath_Exp_0/20250416-054824-UpgModPathTest/modules/2.com.hola.jar -C /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola . [2025-04-16T10:48:28.016Z] STF 05:48:26.921 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17448001069457/UpgModPath_Exp_0/20250416-054824-UpgModPathTest/results/2.CMJ.stderr [2025-04-16T10:48:28.016Z] STF 05:48:26.921 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17448001069457/UpgModPath_Exp_0/20250416-054824-UpgModPathTest/results/2.CMJ.stdout [2025-04-16T10:48:28.016Z] STF 05:48:26.933 - Monitoring processes: CMJ [2025-04-16T10:48:28.016Z] STF 05:48:27.234 - Monitoring Report Summary: [2025-04-16T10:48:28.016Z] STF 05:48:27.235 - o Process CMJ ended with the expected exit code (0) [2025-04-16T10:48:28.016Z] STF 05:48:27.237 - Created modular jar: 2.com.hola.jar [2025-04-16T10:48:28.016Z] STF 05:48:27.237 - [2025-04-16T10:48:28.016Z] STF 05:48:27.237 - +------ Step 3 - Create com.helper jar [2025-04-16T10:48:28.016Z] STF 05:48:27.237 - | Create modular jar [2025-04-16T10:48:28.016Z] STF 05:48:27.237 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2025-04-16T10:48:28.016Z] STF 05:48:27.237 - | ModuleVersion: null [2025-04-16T10:48:28.016Z] STF 05:48:27.237 - | MainClass: null [2025-04-16T10:48:28.016Z] STF 05:48:27.238 - | HashModules: null [2025-04-16T10:48:28.016Z] STF 05:48:27.238 - | [2025-04-16T10:48:28.016Z] STF 05:48:27.239 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17448001069457/UpgModPath_Exp_0/20250416-054824-UpgModPathTest/modules/3.com.helper.jar -C /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper . [2025-04-16T10:48:28.016Z] STF 05:48:27.239 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17448001069457/UpgModPath_Exp_0/20250416-054824-UpgModPathTest/results/3.CMJ.stderr [2025-04-16T10:48:28.016Z] STF 05:48:27.239 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17448001069457/UpgModPath_Exp_0/20250416-054824-UpgModPathTest/results/3.CMJ.stdout [2025-04-16T10:48:28.016Z] STF 05:48:27.251 - Monitoring processes: CMJ [2025-04-16T10:48:28.016Z] STF 05:48:27.558 - Monitoring Report Summary: [2025-04-16T10:48:28.016Z] STF 05:48:27.558 - o Process CMJ ended with the expected exit code (0) [2025-04-16T10:48:28.016Z] STF 05:48:27.559 - Created modular jar: 3.com.helper.jar [2025-04-16T10:48:28.016Z] STF 05:48:27.559 - [2025-04-16T10:48:28.016Z] STF 05:48:27.559 - +------ Step 4 - Create com.discreet jar [2025-04-16T10:48:28.016Z] STF 05:48:27.559 - | Create modular jar [2025-04-16T10:48:28.016Z] STF 05:48:27.560 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2025-04-16T10:48:28.016Z] STF 05:48:27.562 - | ModuleVersion: null [2025-04-16T10:48:28.016Z] STF 05:48:27.562 - | MainClass: null [2025-04-16T10:48:28.016Z] STF 05:48:27.562 - | HashModules: null [2025-04-16T10:48:28.016Z] STF 05:48:27.562 - | [2025-04-16T10:48:28.016Z] STF 05:48:27.563 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17448001069457/UpgModPath_Exp_0/20250416-054824-UpgModPathTest/modules/4.com.discreet.jar -C /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet . [2025-04-16T10:48:28.016Z] STF 05:48:27.563 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17448001069457/UpgModPath_Exp_0/20250416-054824-UpgModPathTest/results/4.CMJ.stderr [2025-04-16T10:48:28.016Z] STF 05:48:27.563 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17448001069457/UpgModPath_Exp_0/20250416-054824-UpgModPathTest/results/4.CMJ.stdout [2025-04-16T10:48:28.704Z] STF 05:48:27.576 - Monitoring processes: CMJ [2025-04-16T10:48:28.704Z] STF 05:48:27.881 - Monitoring Report Summary: [2025-04-16T10:48:28.704Z] STF 05:48:27.881 - o Process CMJ ended with the expected exit code (0) [2025-04-16T10:48:28.704Z] STF 05:48:27.882 - Created modular jar: 4.com.discreet.jar [2025-04-16T10:48:28.704Z] STF 05:48:27.882 - [2025-04-16T10:48:28.704Z] STF 05:48:27.882 - +------ Step 5 - Create tests jar [2025-04-16T10:48:28.704Z] STF 05:48:27.882 - | Create modular jar [2025-04-16T10:48:28.704Z] STF 05:48:27.882 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2025-04-16T10:48:28.704Z] STF 05:48:27.882 - | ModuleVersion: null [2025-04-16T10:48:28.704Z] STF 05:48:27.882 - | MainClass: null [2025-04-16T10:48:28.704Z] STF 05:48:27.882 - | HashModules: null [2025-04-16T10:48:28.704Z] STF 05:48:27.882 - | [2025-04-16T10:48:28.704Z] STF 05:48:27.882 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17448001069457/UpgModPath_Exp_0/20250416-054824-UpgModPathTest/modules/5.com.test.jar -C /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test . [2025-04-16T10:48:28.704Z] STF 05:48:27.882 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17448001069457/UpgModPath_Exp_0/20250416-054824-UpgModPathTest/results/5.CMJ.stderr [2025-04-16T10:48:28.704Z] STF 05:48:27.882 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17448001069457/UpgModPath_Exp_0/20250416-054824-UpgModPathTest/results/5.CMJ.stdout [2025-04-16T10:48:28.704Z] STF 05:48:27.888 - Monitoring processes: CMJ [2025-04-16T10:48:28.704Z] STF 05:48:28.201 - Monitoring Report Summary: [2025-04-16T10:48:28.705Z] STF 05:48:28.201 - o Process CMJ ended with the expected exit code (0) [2025-04-16T10:48:28.705Z] STF 05:48:28.201 - Created modular jar: 5.com.test.jar [2025-04-16T10:48:28.705Z] STF 05:48:28.201 - [2025-04-16T10:48:28.705Z] STF 05:48:28.201 - +------ Step 6 - Create runtime image for upgrademodulepath test [2025-04-16T10:48:28.705Z] STF 05:48:28.202 - | Run jlink to create runtime image [2025-04-16T10:48:28.705Z] STF 05:48:28.202 - | ImageName: UpJVM [2025-04-16T10:48:28.705Z] STF 05:48:28.202 - | [2025-04-16T10:48:28.705Z] STF 05:48:28.203 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jdkbinary/j2sdk-image/bin/jlink --module-path /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jdkbinary/j2sdk-image/jmods:/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17448001069457/UpgModPath_Exp_0/20250416-054824-UpgModPathTest/modules --add-modules com.hello,com.hola,com.test,com.helper,com.discreet --output /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17448001069457/UpgModPath_Exp_0/20250416-054824-UpgModPathTest/tmp/6.UpJVM [2025-04-16T10:48:28.705Z] STF 05:48:28.203 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17448001069457/UpgModPath_Exp_0/20250416-054824-UpgModPathTest/results/6.JLNK.stderr [2025-04-16T10:48:28.705Z] STF 05:48:28.203 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17448001069457/UpgModPath_Exp_0/20250416-054824-UpgModPathTest/results/6.JLNK.stdout [2025-04-16T10:48:28.705Z] STF 05:48:28.214 - Monitoring processes: JLNK [2025-04-16T10:48:31.792Z] STF 05:48:30.855 - Monitoring Report Summary: [2025-04-16T10:48:31.792Z] STF 05:48:30.856 - o Process JLNK ended with the expected exit code (0) [2025-04-16T10:48:31.792Z] STF 05:48:30.856 - [2025-04-16T10:48:31.792Z] STF 05:48:30.856 - +------ Step 7 - Override an application module [2025-04-16T10:48:31.792Z] STF 05:48:30.856 - | Run foreground process [2025-04-16T10:48:31.792Z] STF 05:48:30.857 - | Program: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jdkbinary/j2sdk-image/bin/java [2025-04-16T10:48:31.792Z] STF 05:48:30.857 - | Mnemonic: OT11 [2025-04-16T10:48:31.792Z] STF 05:48:30.857 - | Echo: ECHO_ON [2025-04-16T10:48:31.792Z] STF 05:48:30.857 - | Expectation: CLEAN_RUN within 1m [2025-04-16T10:48:31.792Z] STF 05:48:30.857 - | [2025-04-16T10:48:31.792Z] STF 05:48:30.858 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jdkbinary/j2sdk-image/bin/java --add-reads com.test=ALL-UNNAMED --module-path /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods:/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests --upgrade-module-path /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_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-04-16T10:48:31.792Z] STF 05:48:30.858 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17448001069457/UpgModPath_Exp_0/20250416-054824-UpgModPathTest/results/7.OT11.stderr [2025-04-16T10:48:31.792Z] STF 05:48:30.858 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17448001069457/UpgModPath_Exp_0/20250416-054824-UpgModPathTest/results/7.OT11.stdout [2025-04-16T10:48:31.792Z] STF 05:48:30.869 - Monitoring processes: OT11 [2025-04-16T10:48:31.792Z] OT11 JUnit version 4.12 [2025-04-16T10:48:31.792Z] OT11 . [2025-04-16T10:48:31.792Z] OT11 Time: 0.006 [2025-04-16T10:48:31.792Z] OT11 [2025-04-16T10:48:31.792Z] OT11 OK (1 test) [2025-04-16T10:48:31.792Z] OT11 [2025-04-16T10:48:31.792Z] STF 05:48:31.321 - Monitoring Report Summary: [2025-04-16T10:48:31.792Z] STF 05:48:31.321 - o Process OT11 ended with the expected exit code (0) [2025-04-16T10:48:31.792Z] STF 05:48:31.322 - [2025-04-16T10:48:31.792Z] STF 05:48:31.322 - +------ Step 8 - (Negative test) Override a non-upgradable platform module [2025-04-16T10:48:31.792Z] STF 05:48:31.322 - | Run foreground process [2025-04-16T10:48:31.792Z] STF 05:48:31.322 - | Program: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jdkbinary/j2sdk-image/bin/java [2025-04-16T10:48:31.792Z] STF 05:48:31.322 - | Mnemonic: OT13 [2025-04-16T10:48:31.792Z] STF 05:48:31.322 - | Echo: ECHO_ON [2025-04-16T10:48:31.792Z] STF 05:48:31.322 - | Expectation: NON_ZERO_EXIT [1] within 1m [2025-04-16T10:48:31.792Z] STF 05:48:31.322 - | [2025-04-16T10:48:31.792Z] STF 05:48:31.324 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jdkbinary/j2sdk-image/bin/java --add-reads com.test=ALL-UNNAMED --module-path /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods:/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests --upgrade-module-path /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_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-04-16T10:48:31.792Z] STF 05:48:31.324 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17448001069457/UpgModPath_Exp_0/20250416-054824-UpgModPathTest/results/8.OT13.stderr [2025-04-16T10:48:31.792Z] STF 05:48:31.324 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17448001069457/UpgModPath_Exp_0/20250416-054824-UpgModPathTest/results/8.OT13.stdout [2025-04-16T10:48:31.792Z] STF 05:48:31.335 - Monitoring processes: OT13 [2025-04-16T10:48:32.480Z] OT13 Error occurred during initialization of boot layer [2025-04-16T10:48:32.480Z] OT13 java.lang.module.FindException: Unable to compute the hash of module java.logging [2025-04-16T10:48:32.480Z] STF 05:48:31.611 - Monitoring Report Summary: [2025-04-16T10:48:32.480Z] STF 05:48:31.611 - o Process OT13 ended with the expected exit code (1) [2025-04-16T10:48:32.480Z] STF 05:48:31.611 - [2025-04-16T10:48:32.480Z] STF 05:48:31.611 - +------ Step 9 - Combine stderr and stdout files of process OT13 [2025-04-16T10:48:32.480Z] STF 05:48:31.612 - | Run foreground process [2025-04-16T10:48:32.480Z] STF 05:48:31.612 - | Program: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jdkbinary/j2sdk-image/bin/java [2025-04-16T10:48:32.480Z] STF 05:48:31.612 - | Mnemonic: CO [2025-04-16T10:48:32.480Z] STF 05:48:31.612 - | Echo: ECHO_OFF [2025-04-16T10:48:32.480Z] STF 05:48:31.612 - | Expectation: NON_ZERO_EXIT [0] within 30s [2025-04-16T10:48:32.480Z] STF 05:48:31.612 - | [2025-04-16T10:48:32.480Z] STF 05:48:31.613 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jdkbinary/j2sdk-image/bin/java -Dfile1=/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17448001069457/UpgModPath_Exp_0/20250416-054824-UpgModPathTest/results/8.OT13.stdout -Dfile2=/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17448001069457/UpgModPath_Exp_0/20250416-054824-UpgModPathTest/results/8.OT13.stderr -Dfinal.file=/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17448001069457/UpgModPath_Exp_0/20250416-054824-UpgModPathTest/results/combinedOT13.txt -XX:+UseCompressedOops -classpath /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/STF/stf.core/bin:/home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin net.adoptopenjdk.test.modularity.TestUtil [2025-04-16T10:48:32.480Z] STF 05:48:31.613 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17448001069457/UpgModPath_Exp_0/20250416-054824-UpgModPathTest/results/9.CO.stderr [2025-04-16T10:48:32.480Z] STF 05:48:31.613 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17448001069457/UpgModPath_Exp_0/20250416-054824-UpgModPathTest/results/9.CO.stdout [2025-04-16T10:48:32.480Z] STF 05:48:31.623 - Monitoring processes: CO [2025-04-16T10:48:32.480Z] STF 05:48:31.917 - Monitoring Report Summary: [2025-04-16T10:48:32.480Z] STF 05:48:31.917 - o Process CO ended with the expected exit code (0) [2025-04-16T10:48:32.480Z] STF 05:48:31.918 - [2025-04-16T10:48:32.480Z] STF 05:48:31.918 - +------ Step 10 - Check output [2025-04-16T10:48:32.480Z] STF 05:48:31.918 - | Count file matches [2025-04-16T10:48:32.480Z] STF 05:48:31.918 - | TargetFile: /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/output_17448001069457/UpgModPath_Exp_0/20250416-054824-UpgModPathTest/results/combinedOT13.txt [2025-04-16T10:48:32.480Z] STF 05:48:31.918 - | ExpectedNumMatches: 1 [2025-04-16T10:48:32.480Z] STF 05:48:31.918 - | SearchStrings: ["FindException: Unable to compute the hash of module java.logging"] [2025-04-16T10:48:32.480Z] STF 05:48:31.918 - | [2025-04-16T10:48:32.480Z] STF 05:48:31.919 - Found 1 instances of ["FindException: Unable to compute the hash of module java.logging"] [2025-04-16T10:48:32.480Z] STF 05:48:31.919 - EXECUTE stage completed [2025-04-16T10:48:32.480Z] STF 05:48:31.976 - [2025-04-16T10:48:32.480Z] STF 05:48:31.977 - ==================== T E A R D O W N ==================== [2025-04-16T10:48:32.480Z] STF 05:48:31.977 - Running teardown: perl /home/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_linux_testList_1/aqa-tests/TKG/../TKG/output_17448001069457/UpgModPath_Exp_0/20250416-054824-UpgModPathTest/tearDown.pl [2025-04-16T10:48:33.167Z] STF 05:48:32.063 - TEARDOWN stage completed [2025-04-16T10:48:33.167Z] STF 05:48:32.070 - [2025-04-16T10:48:33.167Z] STF 05:48:32.070 - ===================== R E S U L T S ===================== [2025-04-16T10:48:33.167Z] STF 05:48:32.070 - Stage results: [2025-04-16T10:48:33.167Z] STF 05:48:32.070 - setUp: pass [2025-04-16T10:48:33.167Z] STF 05:48:32.071 - execute: pass [2025-04-16T10:48:33.167Z] STF 05:48:32.071 - teardown: pass [2025-04-16T10:48:33.167Z] STF 05:48:32.071 - [2025-04-16T10:48:33.167Z] STF 05:48:32.071 - Overall result: PASSED [2025-04-16T10:48:33.167Z] ----------------------------------- [2025-04-16T10:48:33.167Z] UpgModPath_Exp_0_PASSED [2025-04-16T10:48:33.167Z] ----------------------------------- [2025-04-16T10:48:33.167Z] [2025-04-16T10:48:33.167Z] TEST TEARDOWN: [2025-04-16T10:48:33.167Z] Nothing to be done for teardown. [2025-04-16T10:48:33.167Z] UpgModPath_Exp_0 Finish Time: Wed Apr 16 05:48:32 2025 Epoch Time (ms): 1744800512147