UpgModPath_ExpImg_1

[2025-08-21T01:45:14.412Z] Running test UpgModPath_ExpImg_1 ... [2025-08-21T01:45:14.412Z] =============================================== [2025-08-21T01:45:14.412Z] UpgModPath_ExpImg_1 Start Time: Thu Aug 21 01:45:13 2025 Epoch Time (ms): 1755740713665 [2025-08-21T01:45:14.412Z] variation: Mode650 [2025-08-21T01:45:14.412Z] JVM_OPTIONS: -XX:-UseCompressedOops [2025-08-21T01:45:14.412Z] { \ [2025-08-21T01:45:14.412Z] echo ""; echo "TEST SETUP:"; \ [2025-08-21T01:45:14.412Z] echo "Nothing to be done for setup."; \ [2025-08-21T01:45:14.412Z] mkdir -p "/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_linux_testList_1/aqa-tests/TKG/../TKG/output_17557349557739/UpgModPath_ExpImg_1"; \ [2025-08-21T01:45:14.412Z] cd "/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_linux_testList_1/aqa-tests/TKG/../TKG/output_17557349557739/UpgModPath_ExpImg_1"; \ [2025-08-21T01:45:14.412Z] echo ""; echo "TESTING:"; \ [2025-08-21T01:45:14.412Z] perl /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_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_aarch64_linux_testList_1/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF;/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_linux_testList_1/aqa-tests/TKG/../../jvmtest/system/modularity/..//aqa-systemtest""" -systemtest-prereqs="/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_linux_testList_1/../../testDependency/system_lib/" -java-args=' -XX:-UseCompressedOops ' -results-root="/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_linux_testList_1/aqa-tests/TKG/../TKG/output_17557349557739/UpgModPath_ExpImg_1" -test=UpgModPathTest -test-args="variant=ExpImg"; \ [2025-08-21T01:45:14.412Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "UpgModPath_ExpImg_1""_PASSED"; echo "-----------------------------------"; cd /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_linux_testList_1/aqa-tests/TKG/..; rm -f -r "/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_linux_testList_1/aqa-tests/TKG/../TKG/output_17557349557739/UpgModPath_ExpImg_1"; else echo "-----------------------------------"; echo "UpgModPath_ExpImg_1""_FAILED"; echo "-----------------------------------"; fi; \ [2025-08-21T01:45:14.412Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-08-21T01:45:14.412Z] echo "Nothing to be done for teardown."; \ [2025-08-21T01:45:14.412Z] } 2>&1 | tee -a "/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_linux_testList_1/aqa-tests/TKG/../TKG/output_17557349557739/TestTargetResult"; [2025-08-21T01:45:14.412Z] [2025-08-21T01:45:14.412Z] TEST SETUP: [2025-08-21T01:45:14.412Z] Nothing to be done for setup. [2025-08-21T01:45:14.412Z] [2025-08-21T01:45:14.412Z] TESTING: [2025-08-21T01:45:14.412Z] STF 01:45:13.798 - ========================= S T F ========================= [2025-08-21T01:45:14.412Z] 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_aarch64_linux_testList_1/aqa-tests/TKG/../TKG/output_17557349557739/UpgModPath_ExpImg_1 [2025-08-21T01:45:14.412Z] There is 57455 Mb free [2025-08-21T01:45:14.412Z] STF 01:45:13.809 - ================== G E N E R A T I O N ================== [2025-08-21T01:45:14.412Z] STF 01:45:13.810 - Checking JVM: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_linux_testList_1/jdkbinary/j2sdk-image [2025-08-21T01:45:14.412Z] STF 01:45:13.810 - Starting process to generate scripts: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_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_aarch64_linux_testList_1/jvmtest/system/STF/stf.core/scripts/../../stf.load/bin/stf.load.jar -classpath /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_linux_testList_1/../../testDependency/system_lib//asm/asm.jar:/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_linux_testList_1/../../testDependency/system_lib//asm/asm-commons.jar:/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_linux_testList_1/../../testDependency/system_lib//log4j/log4j-api.jar:/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_linux_testList_1/../../testDependency/system_lib//log4j/log4j-core.jar:/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_linux_testList_1/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_linux_testList_1/aqa-tests/TKG/../TKG/output_17557349557739/UpgModPath_ExpImg_1/20250821-014513-UpgModPathTest/stf_parameters.properties, , /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_linux_testList_1/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_linux_testList_1/aqa-tests/TKG/../TKG/output_17557349557739/UpgModPath_ExpImg_1/20250821-014513-UpgModPathTest" [2025-08-21T01:45:14.412Z] GEN stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-08-21T01:45:14.412Z] GEN [0.011s][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-08-21T01:45:16.355Z] GEN 01:45:15.366 - Found test. Project: 'openjdk.test.modularity' class: 'UpgModPathTest.class' Dir: '/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin' [2025-08-21T01:45:16.355Z] GEN 01:45:15.371 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.UpgModPathTest' [2025-08-21T01:45:16.355Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2025-08-21T01:45:16.355Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayService [2025-08-21T01:45:16.355Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper [2025-08-21T01:45:16.355Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl1 [2025-08-21T01:45:16.355Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet [2025-08-21T01:45:16.355Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello [2025-08-21T01:45:16.355Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola [2025-08-21T01:45:16.355Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl2 [2025-08-21T01:45:16.355Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hi [2025-08-21T01:45:16.355Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override [2025-08-21T01:45:16.355Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override-new [2025-08-21T01:45:16.355Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl3 [2025-08-21T01:45:16.355Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl4 [2025-08-21T01:45:16.355Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common [2025-08-21T01:45:16.355Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests [2025-08-21T01:45:16.355Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin [2025-08-21T01:45:16.355Z] GEN /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_linux_testList_1/jvmtest/system/STF/stf.core/bin [2025-08-21T01:45:16.355Z] GEN /home/jenkins/testDependency/system_lib/log4j/log4j-api.jar [2025-08-21T01:45:16.355Z] GEN /home/jenkins/testDependency/system_lib/log4j/log4j-core.jar [2025-08-21T01:45:16.355Z] GEN /home/jenkins/testDependency/system_lib/junit/junit.jar [2025-08-21T01:45:16.355Z] GEN 01:45:15.593 - Using Mode NoOptions. Values = '' [2025-08-21T01:45:16.355Z] GEN 01:45:15.724 - [2025-08-21T01:45:16.355Z] GEN 01:45:15.724 - Test command summary: [2025-08-21T01:45:16.355Z] GEN 01:45:15.725 - Step Stage Command Description [2025-08-21T01:45:16.355Z] GEN 01:45:15.725 - -----+--------+-----------------+------------ [2025-08-21T01:45:16.355Z] GEN 01:45:15.726 - 1 execute jar Create com.hello jar [2025-08-21T01:45:16.355Z] GEN 01:45:15.726 - 2 execute jar Create com.hola jar [2025-08-21T01:45:16.355Z] GEN 01:45:15.726 - 3 execute jar Create com.helper jar [2025-08-21T01:45:16.355Z] GEN 01:45:15.726 - 4 execute jar Create com.discreet jar [2025-08-21T01:45:16.355Z] GEN 01:45:15.726 - 5 execute jar Create tests jar [2025-08-21T01:45:16.355Z] GEN 01:45:15.727 - 6 execute jlink Create runtime image for upgrademodulepath test [2025-08-21T01:45:16.355Z] GEN 01:45:15.727 - 7 execute Run java Override an application module using a custom runtime image [2025-08-21T01:45:16.355Z] GEN 01:45:15.727 - 8 execute Run java (Negative test) Override a non-upgradable platform module using a custom runtime image [2025-08-21T01:45:16.355Z] GEN 01:45:15.727 - 9 execute Run java Combine stderr and stdout files of process OT16 [2025-08-21T01:45:16.355Z] GEN 01:45:15.727 - 10 execute count Check output [2025-08-21T01:45:16.355Z] STF 01:45:15.775 - [2025-08-21T01:45:16.355Z] STF 01:45:15.775 - Script generation completed [2025-08-21T01:45:16.355Z] STF 01:45:15.775 - [2025-08-21T01:45:16.355Z] STF 01:45:15.776 - [2025-08-21T01:45:16.355Z] STF 01:45:15.776 - ======================= S E T U P ======================= [2025-08-21T01:45:16.355Z] STF 01:45:15.776 - Running setup: perl /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_linux_testList_1/aqa-tests/TKG/../TKG/output_17557349557739/UpgModPath_ExpImg_1/20250821-014513-UpgModPathTest/setUp.pl [2025-08-21T01:45:16.355Z] STF 01:45:15.893 - SETUP stage completed [2025-08-21T01:45:16.355Z] STF 01:45:15.898 - [2025-08-21T01:45:16.355Z] STF 01:45:15.898 - ==================== E X E C U T E - ==================== [2025-08-21T01:45:16.355Z] STF 01:45:15.898 - Running execute: perl /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_linux_testList_1/aqa-tests/TKG/../TKG/output_17557349557739/UpgModPath_ExpImg_1/20250821-014513-UpgModPathTest/execute.pl [2025-08-21T01:45:16.355Z] STF 01:45:16.012 - [2025-08-21T01:45:16.355Z] STF 01:45:16.012 - Java version [2025-08-21T01:45:16.355Z] STF 01:45:16.012 - Running: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_linux_testList_1/jdkbinary/j2sdk-image/bin/java -version [2025-08-21T01:45:16.355Z] Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-08-21T01:45:16.355Z] openjdk version "21.0.9-beta" 2025-10-21 [2025-08-21T01:45:16.355Z] OpenJDK Runtime Environment Temurin-21.0.9+4-202508201903 (build 21.0.9-beta+4-ea) [2025-08-21T01:45:16.355Z] OpenJDK 64-Bit Server VM Temurin-21.0.9+4-202508201903 (build 21.0.9-beta+4-ea, mixed mode, sharing) [2025-08-21T01:45:16.355Z] STF 01:45:16.083 - [2025-08-21T01:45:16.355Z] STF 01:45:16.083 - +------ Step 1 - Create com.hello jar [2025-08-21T01:45:16.355Z] STF 01:45:16.083 - | Create modular jar [2025-08-21T01:45:16.355Z] STF 01:45:16.083 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2025-08-21T01:45:16.355Z] STF 01:45:16.083 - | ModuleVersion: null [2025-08-21T01:45:16.355Z] STF 01:45:16.083 - | MainClass: null [2025-08-21T01:45:16.355Z] STF 01:45:16.083 - | HashModules: null [2025-08-21T01:45:16.355Z] STF 01:45:16.083 - | [2025-08-21T01:45:16.355Z] STF 01:45:16.084 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_linux_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_linux_testList_1/aqa-tests/TKG/output_17557349557739/UpgModPath_ExpImg_1/20250821-014513-UpgModPathTest/modules/1.com.hello.jar -C /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello . [2025-08-21T01:45:16.355Z] STF 01:45:16.084 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_linux_testList_1/aqa-tests/TKG/output_17557349557739/UpgModPath_ExpImg_1/20250821-014513-UpgModPathTest/results/1.CMJ.stderr [2025-08-21T01:45:16.355Z] STF 01:45:16.084 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_linux_testList_1/aqa-tests/TKG/output_17557349557739/UpgModPath_ExpImg_1/20250821-014513-UpgModPathTest/results/1.CMJ.stdout [2025-08-21T01:45:16.355Z] STF 01:45:16.102 - Monitoring processes: CMJ [2025-08-21T01:45:16.355Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-08-21T01:45:17.303Z] STF 01:45:16.554 - Monitoring Report Summary: [2025-08-21T01:45:17.303Z] STF 01:45:16.554 - o Process CMJ ended with the expected exit code (0) [2025-08-21T01:45:17.303Z] STF 01:45:16.554 - Created modular jar: 1.com.hello.jar [2025-08-21T01:45:17.303Z] STF 01:45:16.554 - [2025-08-21T01:45:17.303Z] STF 01:45:16.554 - +------ Step 2 - Create com.hola jar [2025-08-21T01:45:17.303Z] STF 01:45:16.554 - | Create modular jar [2025-08-21T01:45:17.303Z] STF 01:45:16.554 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2025-08-21T01:45:17.303Z] STF 01:45:16.554 - | ModuleVersion: null [2025-08-21T01:45:17.303Z] STF 01:45:16.554 - | MainClass: null [2025-08-21T01:45:17.303Z] STF 01:45:16.554 - | HashModules: null [2025-08-21T01:45:17.303Z] STF 01:45:16.554 - | [2025-08-21T01:45:17.303Z] STF 01:45:16.555 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_linux_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_linux_testList_1/aqa-tests/TKG/output_17557349557739/UpgModPath_ExpImg_1/20250821-014513-UpgModPathTest/modules/2.com.hola.jar -C /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola . [2025-08-21T01:45:17.303Z] STF 01:45:16.555 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_linux_testList_1/aqa-tests/TKG/output_17557349557739/UpgModPath_ExpImg_1/20250821-014513-UpgModPathTest/results/2.CMJ.stderr [2025-08-21T01:45:17.303Z] STF 01:45:16.555 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_linux_testList_1/aqa-tests/TKG/output_17557349557739/UpgModPath_ExpImg_1/20250821-014513-UpgModPathTest/results/2.CMJ.stdout [2025-08-21T01:45:17.303Z] STF 01:45:16.557 - Monitoring processes: CMJ [2025-08-21T01:45:17.303Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-08-21T01:45:17.303Z] STF 01:45:16.986 - Monitoring Report Summary: [2025-08-21T01:45:17.303Z] STF 01:45:16.986 - o Process CMJ ended with the expected exit code (0) [2025-08-21T01:45:17.303Z] STF 01:45:16.986 - Created modular jar: 2.com.hola.jar [2025-08-21T01:45:17.303Z] STF 01:45:16.986 - [2025-08-21T01:45:17.303Z] STF 01:45:16.986 - +------ Step 3 - Create com.helper jar [2025-08-21T01:45:17.303Z] STF 01:45:16.986 - | Create modular jar [2025-08-21T01:45:17.303Z] STF 01:45:16.986 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2025-08-21T01:45:17.303Z] STF 01:45:16.986 - | ModuleVersion: null [2025-08-21T01:45:17.303Z] STF 01:45:16.986 - | MainClass: null [2025-08-21T01:45:17.303Z] STF 01:45:16.986 - | HashModules: null [2025-08-21T01:45:17.303Z] STF 01:45:16.986 - | [2025-08-21T01:45:17.303Z] STF 01:45:16.987 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_linux_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_linux_testList_1/aqa-tests/TKG/output_17557349557739/UpgModPath_ExpImg_1/20250821-014513-UpgModPathTest/modules/3.com.helper.jar -C /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper . [2025-08-21T01:45:17.303Z] STF 01:45:16.987 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_linux_testList_1/aqa-tests/TKG/output_17557349557739/UpgModPath_ExpImg_1/20250821-014513-UpgModPathTest/results/3.CMJ.stderr [2025-08-21T01:45:17.303Z] STF 01:45:16.987 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_linux_testList_1/aqa-tests/TKG/output_17557349557739/UpgModPath_ExpImg_1/20250821-014513-UpgModPathTest/results/3.CMJ.stdout [2025-08-21T01:45:17.303Z] STF 01:45:16.988 - Monitoring processes: CMJ [2025-08-21T01:45:17.303Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-08-21T01:45:18.253Z] STF 01:45:17.411 - Monitoring Report Summary: [2025-08-21T01:45:18.253Z] STF 01:45:17.411 - o Process CMJ ended with the expected exit code (0) [2025-08-21T01:45:18.253Z] STF 01:45:17.411 - Created modular jar: 3.com.helper.jar [2025-08-21T01:45:18.253Z] STF 01:45:17.411 - [2025-08-21T01:45:18.253Z] STF 01:45:17.411 - +------ Step 4 - Create com.discreet jar [2025-08-21T01:45:18.253Z] STF 01:45:17.412 - | Create modular jar [2025-08-21T01:45:18.253Z] STF 01:45:17.412 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2025-08-21T01:45:18.253Z] STF 01:45:17.412 - | ModuleVersion: null [2025-08-21T01:45:18.253Z] STF 01:45:17.412 - | MainClass: null [2025-08-21T01:45:18.253Z] STF 01:45:17.412 - | HashModules: null [2025-08-21T01:45:18.253Z] STF 01:45:17.412 - | [2025-08-21T01:45:18.253Z] STF 01:45:17.412 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_linux_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_linux_testList_1/aqa-tests/TKG/output_17557349557739/UpgModPath_ExpImg_1/20250821-014513-UpgModPathTest/modules/4.com.discreet.jar -C /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet . [2025-08-21T01:45:18.253Z] STF 01:45:17.412 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_linux_testList_1/aqa-tests/TKG/output_17557349557739/UpgModPath_ExpImg_1/20250821-014513-UpgModPathTest/results/4.CMJ.stderr [2025-08-21T01:45:18.253Z] STF 01:45:17.412 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_linux_testList_1/aqa-tests/TKG/output_17557349557739/UpgModPath_ExpImg_1/20250821-014513-UpgModPathTest/results/4.CMJ.stdout [2025-08-21T01:45:18.253Z] STF 01:45:17.414 - Monitoring processes: CMJ [2025-08-21T01:45:18.253Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-08-21T01:45:18.253Z] STF 01:45:17.828 - Monitoring Report Summary: [2025-08-21T01:45:18.253Z] STF 01:45:17.828 - o Process CMJ ended with the expected exit code (0) [2025-08-21T01:45:18.253Z] STF 01:45:17.828 - Created modular jar: 4.com.discreet.jar [2025-08-21T01:45:18.253Z] STF 01:45:17.828 - [2025-08-21T01:45:18.253Z] STF 01:45:17.828 - +------ Step 5 - Create tests jar [2025-08-21T01:45:18.253Z] STF 01:45:17.828 - | Create modular jar [2025-08-21T01:45:18.253Z] STF 01:45:17.828 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2025-08-21T01:45:18.253Z] STF 01:45:17.828 - | ModuleVersion: null [2025-08-21T01:45:18.253Z] STF 01:45:17.828 - | MainClass: null [2025-08-21T01:45:18.253Z] STF 01:45:17.828 - | HashModules: null [2025-08-21T01:45:18.253Z] STF 01:45:17.828 - | [2025-08-21T01:45:18.253Z] STF 01:45:17.829 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_linux_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_linux_testList_1/aqa-tests/TKG/output_17557349557739/UpgModPath_ExpImg_1/20250821-014513-UpgModPathTest/modules/5.com.test.jar -C /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test . [2025-08-21T01:45:18.253Z] STF 01:45:17.829 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_linux_testList_1/aqa-tests/TKG/output_17557349557739/UpgModPath_ExpImg_1/20250821-014513-UpgModPathTest/results/5.CMJ.stderr [2025-08-21T01:45:18.253Z] STF 01:45:17.829 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_linux_testList_1/aqa-tests/TKG/output_17557349557739/UpgModPath_ExpImg_1/20250821-014513-UpgModPathTest/results/5.CMJ.stdout [2025-08-21T01:45:18.253Z] STF 01:45:17.830 - Monitoring processes: CMJ [2025-08-21T01:45:18.253Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-08-21T01:45:19.197Z] STF 01:45:18.265 - Monitoring Report Summary: [2025-08-21T01:45:19.197Z] STF 01:45:18.265 - o Process CMJ ended with the expected exit code (0) [2025-08-21T01:45:19.197Z] STF 01:45:18.266 - Created modular jar: 5.com.test.jar [2025-08-21T01:45:19.197Z] STF 01:45:18.266 - [2025-08-21T01:45:19.197Z] STF 01:45:18.266 - +------ Step 6 - Create runtime image for upgrademodulepath test [2025-08-21T01:45:19.197Z] STF 01:45:18.266 - | Run jlink to create runtime image [2025-08-21T01:45:19.197Z] STF 01:45:18.266 - | ImageName: UpJVM [2025-08-21T01:45:19.197Z] STF 01:45:18.266 - | [2025-08-21T01:45:19.198Z] STF 01:45:18.266 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_linux_testList_1/jdkbinary/j2sdk-image/bin/jlink --module-path /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_linux_testList_1/jdkbinary/j2sdk-image/jmods:/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_linux_testList_1/aqa-tests/TKG/output_17557349557739/UpgModPath_ExpImg_1/20250821-014513-UpgModPathTest/modules --add-modules com.hello,com.hola,com.test,com.helper,com.discreet --output /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_linux_testList_1/aqa-tests/TKG/output_17557349557739/UpgModPath_ExpImg_1/20250821-014513-UpgModPathTest/tmp/6.UpJVM [2025-08-21T01:45:19.198Z] STF 01:45:18.266 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_linux_testList_1/aqa-tests/TKG/output_17557349557739/UpgModPath_ExpImg_1/20250821-014513-UpgModPathTest/results/6.JLNK.stderr [2025-08-21T01:45:19.198Z] STF 01:45:18.266 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_linux_testList_1/aqa-tests/TKG/output_17557349557739/UpgModPath_ExpImg_1/20250821-014513-UpgModPathTest/results/6.JLNK.stdout [2025-08-21T01:45:19.198Z] STF 01:45:18.268 - Monitoring processes: JLNK [2025-08-21T01:45:19.198Z] JLNK stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-08-21T01:45:22.201Z] STF 01:45:21.539 - Monitoring Report Summary: [2025-08-21T01:45:22.201Z] STF 01:45:21.539 - o Process JLNK ended with the expected exit code (0) [2025-08-21T01:45:22.201Z] STF 01:45:21.539 - [2025-08-21T01:45:22.201Z] STF 01:45:21.539 - +------ Step 7 - Override an application module using a custom runtime image [2025-08-21T01:45:22.201Z] STF 01:45:21.540 - | Run foreground process [2025-08-21T01:45:22.201Z] STF 01:45:21.540 - | Program: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_linux_testList_1/aqa-tests/TKG/output_17557349557739/UpgModPath_ExpImg_1/20250821-014513-UpgModPathTest/tmp/6.UpJVM/bin/java [2025-08-21T01:45:22.201Z] STF 01:45:21.540 - | Mnemonic: OT14 [2025-08-21T01:45:22.201Z] STF 01:45:21.540 - | Echo: ECHO_ON [2025-08-21T01:45:22.201Z] STF 01:45:21.540 - | Expectation: CLEAN_RUN within 1m [2025-08-21T01:45:22.201Z] STF 01:45:21.540 - | [2025-08-21T01:45:22.201Z] STF 01:45:21.540 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_linux_testList_1/aqa-tests/TKG/output_17557349557739/UpgModPath_ExpImg_1/20250821-014513-UpgModPathTest/tmp/6.UpJVM/bin/java --add-reads com.test=ALL-UNNAMED --upgrade-module-path /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/com.hello -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-08-21T01:45:22.201Z] STF 01:45:21.540 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_linux_testList_1/aqa-tests/TKG/output_17557349557739/UpgModPath_ExpImg_1/20250821-014513-UpgModPathTest/results/7.OT14.stderr [2025-08-21T01:45:22.201Z] STF 01:45:21.540 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_linux_testList_1/aqa-tests/TKG/output_17557349557739/UpgModPath_ExpImg_1/20250821-014513-UpgModPathTest/results/7.OT14.stdout [2025-08-21T01:45:22.201Z] STF 01:45:21.542 - Monitoring processes: OT14 [2025-08-21T01:45:22.201Z] OT14 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-08-21T01:45:22.201Z] OT14 JUnit version 4.12 [2025-08-21T01:45:22.201Z] OT14 . [2025-08-21T01:45:22.201Z] OT14 Time: 0.013 [2025-08-21T01:45:22.201Z] OT14 [2025-08-21T01:45:22.201Z] OT14 OK (1 test) [2025-08-21T01:45:22.201Z] OT14 [2025-08-21T01:45:28.959Z] STF 01:45:22.103 - Monitoring Report Summary: [2025-08-21T01:45:28.959Z] STF 01:45:22.103 - o Process OT14 ended with the expected exit code (0) [2025-08-21T01:45:28.959Z] STF 01:45:22.103 - [2025-08-21T01:45:28.959Z] STF 01:45:22.103 - +------ Step 8 - (Negative test) Override a non-upgradable platform module using a custom runtime image [2025-08-21T01:45:28.959Z] STF 01:45:22.104 - | Run foreground process [2025-08-21T01:45:28.959Z] STF 01:45:22.104 - | Program: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_linux_testList_1/aqa-tests/TKG/output_17557349557739/UpgModPath_ExpImg_1/20250821-014513-UpgModPathTest/tmp/6.UpJVM/bin/java [2025-08-21T01:45:28.959Z] STF 01:45:22.104 - | Mnemonic: OT16 [2025-08-21T01:45:28.959Z] STF 01:45:22.104 - | Echo: ECHO_ON [2025-08-21T01:45:28.959Z] STF 01:45:22.104 - | Expectation: NON_ZERO_EXIT [1] within 1m [2025-08-21T01:45:28.959Z] STF 01:45:22.104 - | [2025-08-21T01:45:28.959Z] STF 01:45:22.104 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_linux_testList_1/aqa-tests/TKG/output_17557349557739/UpgModPath_ExpImg_1/20250821-014513-UpgModPathTest/tmp/6.UpJVM/bin/java --add-reads com.test=ALL-UNNAMED --upgrade-module-path /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override/java.logging -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-08-21T01:45:28.959Z] STF 01:45:22.104 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_linux_testList_1/aqa-tests/TKG/output_17557349557739/UpgModPath_ExpImg_1/20250821-014513-UpgModPathTest/results/8.OT16.stderr [2025-08-21T01:45:28.959Z] STF 01:45:22.104 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_linux_testList_1/aqa-tests/TKG/output_17557349557739/UpgModPath_ExpImg_1/20250821-014513-UpgModPathTest/results/8.OT16.stdout [2025-08-21T01:45:28.959Z] STF 01:45:22.106 - Monitoring processes: OT16 [2025-08-21T01:45:28.959Z] OT16 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-08-21T01:45:28.959Z] OT16 Error occurred during initialization of boot layer [2025-08-21T01:45:28.959Z] OT16 java.lang.module.FindException: Unable to compute the hash of module java.logging [2025-08-21T01:45:28.959Z] STF 01:45:22.385 - Monitoring Report Summary: [2025-08-21T01:45:28.959Z] STF 01:45:22.386 - o Process OT16 ended with the expected exit code (1) [2025-08-21T01:45:28.959Z] STF 01:45:22.386 - [2025-08-21T01:45:28.959Z] STF 01:45:22.386 - +------ Step 9 - Combine stderr and stdout files of process OT16 [2025-08-21T01:45:28.959Z] STF 01:45:22.386 - | Run foreground process [2025-08-21T01:45:28.959Z] STF 01:45:22.386 - | Program: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_linux_testList_1/jdkbinary/j2sdk-image/bin/java [2025-08-21T01:45:28.959Z] STF 01:45:22.386 - | Mnemonic: CO [2025-08-21T01:45:28.959Z] STF 01:45:22.386 - | Echo: ECHO_OFF [2025-08-21T01:45:28.959Z] STF 01:45:22.386 - | Expectation: NON_ZERO_EXIT [0] within 5m [2025-08-21T01:45:28.959Z] STF 01:45:22.386 - | [2025-08-21T01:45:28.959Z] STF 01:45:22.387 - Running command: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_linux_testList_1/jdkbinary/j2sdk-image/bin/java -Dfile1=/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_linux_testList_1/aqa-tests/TKG/output_17557349557739/UpgModPath_ExpImg_1/20250821-014513-UpgModPathTest/results/8.OT16.stdout -Dfile2=/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_linux_testList_1/aqa-tests/TKG/output_17557349557739/UpgModPath_ExpImg_1/20250821-014513-UpgModPathTest/results/8.OT16.stderr -Dfinal.file=/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_linux_testList_1/aqa-tests/TKG/output_17557349557739/UpgModPath_ExpImg_1/20250821-014513-UpgModPathTest/results/combinedOT16.txt -XX:-UseCompressedOops -classpath /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_linux_testList_1/jvmtest/system/STF/stf.core/bin:/home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_linux_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin net.adoptopenjdk.test.modularity.TestUtil [2025-08-21T01:45:28.960Z] STF 01:45:22.387 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_linux_testList_1/aqa-tests/TKG/output_17557349557739/UpgModPath_ExpImg_1/20250821-014513-UpgModPathTest/results/9.CO.stderr [2025-08-21T01:45:28.960Z] STF 01:45:22.387 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_linux_testList_1/aqa-tests/TKG/output_17557349557739/UpgModPath_ExpImg_1/20250821-014513-UpgModPathTest/results/9.CO.stdout [2025-08-21T01:45:28.960Z] STF 01:45:22.388 - Monitoring processes: CO [2025-08-21T01:45:28.960Z] STF 01:45:22.560 - Monitoring Report Summary: [2025-08-21T01:45:28.960Z] STF 01:45:22.561 - o Process CO ended with the expected exit code (0) [2025-08-21T01:45:28.960Z] STF 01:45:22.561 - [2025-08-21T01:45:28.960Z] STF 01:45:22.561 - +------ Step 10 - Check output [2025-08-21T01:45:28.960Z] STF 01:45:22.561 - | Count file matches [2025-08-21T01:45:28.960Z] STF 01:45:22.561 - | TargetFile: /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_linux_testList_1/aqa-tests/TKG/output_17557349557739/UpgModPath_ExpImg_1/20250821-014513-UpgModPathTest/results/combinedOT16.txt [2025-08-21T01:45:28.960Z] STF 01:45:22.561 - | ExpectedNumMatches: 1 [2025-08-21T01:45:28.960Z] STF 01:45:22.561 - | SearchStrings: ["FindException: Unable to compute the hash of module java.logging"] [2025-08-21T01:45:28.960Z] STF 01:45:22.561 - | [2025-08-21T01:45:28.960Z] STF 01:45:22.561 - Found 1 instances of ["FindException: Unable to compute the hash of module java.logging"] [2025-08-21T01:45:28.960Z] STF 01:45:22.561 - EXECUTE stage completed [2025-08-21T01:45:28.960Z] STF 01:45:22.586 - [2025-08-21T01:45:28.960Z] STF 01:45:22.587 - ==================== T E A R D O W N ==================== [2025-08-21T01:45:28.960Z] STF 01:45:22.587 - Running teardown: perl /home/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_linux_testList_1/aqa-tests/TKG/../TKG/output_17557349557739/UpgModPath_ExpImg_1/20250821-014513-UpgModPathTest/tearDown.pl [2025-08-21T01:45:28.960Z] STF 01:45:22.699 - TEARDOWN stage completed [2025-08-21T01:45:28.960Z] STF 01:45:22.707 - [2025-08-21T01:45:28.960Z] STF 01:45:22.707 - ===================== R E S U L T S ===================== [2025-08-21T01:45:28.960Z] STF 01:45:22.707 - Stage results: [2025-08-21T01:45:28.960Z] STF 01:45:22.707 - setUp: pass [2025-08-21T01:45:28.960Z] STF 01:45:22.707 - execute: pass [2025-08-21T01:45:28.960Z] STF 01:45:22.707 - teardown: pass [2025-08-21T01:45:28.960Z] STF 01:45:22.707 - [2025-08-21T01:45:28.960Z] STF 01:45:22.707 - Overall result: PASSED [2025-08-21T01:45:28.960Z] ----------------------------------- [2025-08-21T01:45:28.960Z] UpgModPath_ExpImg_1_PASSED [2025-08-21T01:45:28.960Z] ----------------------------------- [2025-08-21T01:45:28.960Z] [2025-08-21T01:45:28.960Z] TEST TEARDOWN: [2025-08-21T01:45:28.960Z] Nothing to be done for teardown. [2025-08-21T01:45:28.960Z] UpgModPath_ExpImg_1 Finish Time: Thu Aug 21 01:45:22 2025 Epoch Time (ms): 1755740722773