UpgModPath_Exp_1

[2025-06-13T05:47:36.445Z] Running test UpgModPath_Exp_1 ... [2025-06-13T05:47:36.445Z] =============================================== [2025-06-13T05:47:36.740Z] UpgModPath_Exp_1 Start Time: Fri Jun 13 05:47:36 2025 Epoch Time (ms): 1749793656703 [2025-06-13T05:47:37.091Z] variation: Mode650 [2025-06-13T05:47:37.383Z] JVM_OPTIONS: -XX:-UseCompressedOops [2025-06-13T05:47:37.383Z] { \ [2025-06-13T05:47:37.383Z] echo ""; echo "TEST SETUP:"; \ [2025-06-13T05:47:37.383Z] echo "Nothing to be done for setup."; \ [2025-06-13T05:47:37.383Z] mkdir -p "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17497918292773\\UpgModPath_Exp_1"; \ [2025-06-13T05:47:37.383Z] cd "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17497918292773\\UpgModPath_Exp_1"; \ [2025-06-13T05:47:37.383Z] echo ""; echo "TESTING:"; \ [2025-06-13T05:47:37.383Z] perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests///..//jvmtest\\system\\modularity/../\\STF\\stf.core\\scripts\\stf.pl -test-root="C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests///..//jvmtest\\system\\modularity/../\\STF;C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests///..//jvmtest\\system\\modularity/../\\aqa-systemtest""" -systemtest-prereqs="C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/../../testDependency/system_lib\\" -java-args=' -XX:-UseCompressedOops ' -results-root="C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17497918292773\\UpgModPath_Exp_1" -test=UpgModPathTest -test-args="variant=Exp"; \ [2025-06-13T05:47:37.383Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "UpgModPath_Exp_1""_PASSED"; echo "-----------------------------------"; cd C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/; rm -f -r "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17497918292773\\UpgModPath_Exp_1"; else echo "-----------------------------------"; echo "UpgModPath_Exp_1""_FAILED"; echo "-----------------------------------"; fi; \ [2025-06-13T05:47:37.383Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-06-13T05:47:37.383Z] echo "Nothing to be done for teardown."; \ [2025-06-13T05:47:37.383Z] } 2>&1 | tee -a "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17497918292773\\TestTargetResult"; [2025-06-13T05:47:37.674Z] [2025-06-13T05:47:37.674Z] TEST SETUP: [2025-06-13T05:47:37.674Z] Nothing to be done for setup. [2025-06-13T05:47:37.674Z] [2025-06-13T05:47:37.674Z] TESTING: [2025-06-13T05:47:37.966Z] STF 05:47:37.812 - ========================= S T F ========================= [2025-06-13T05:47:37.966Z] systemtest-prereqs has been processed, and set to: C:/Users/jenkins/testDependency/system_libRetrieving amount of free space on drive containing C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17497918292773\UpgModPath_Exp_1 [2025-06-13T05:47:38.258Z] There is 46520 Mb free [2025-06-13T05:47:38.258Z] STF 05:47:37.889 - ================== G E N E R A T I O N ================== [2025-06-13T05:47:38.258Z] STF 05:47:37.894 - Checking JVM: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image [2025-06-13T05:47:38.258Z] STF 05:47:37.895 - Starting process to generate scripts: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/java -Dlog4j.skipJansi=true -Djava.system.class.loader=net.adoptopenjdk.stf.runner.StfClassLoader -Dload.agent.path=C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jvmtest/system/STF/stf.core/scripts/../../stf.load/bin/stf.load.jar -classpath C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/../../testDependency/system_lib\/asm/asm.jar;C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/../../testDependency/system_lib\/asm/asm-commons.jar;C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/../../testDependency/system_lib\/log4j/log4j-api.jar;C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/../../testDependency/system_lib\/log4j/log4j-core.jar;C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17497918292773\UpgModPath_Exp_1/20250613-054737-UpgModPathTest/stf_parameters.properties, , C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17497918292773\UpgModPath_Exp_1/20250613-054737-UpgModPathTest" [2025-06-13T05:47:38.258Z] GEN stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-06-13T05:47:39.296Z] GEN 05:47:39.093 - Found test. Project: 'openjdk.test.modularity' class: 'UpgModPathTest.class' Dir: 'C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin' [2025-06-13T05:47:39.296Z] GEN 05:47:39.109 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.UpgModPathTest' [2025-06-13T05:47:39.586Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2025-06-13T05:47:39.586Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayService [2025-06-13T05:47:39.586Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper [2025-06-13T05:47:39.586Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl1 [2025-06-13T05:47:39.586Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet [2025-06-13T05:47:39.586Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello [2025-06-13T05:47:39.586Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola [2025-06-13T05:47:39.586Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl2 [2025-06-13T05:47:39.586Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hi [2025-06-13T05:47:39.587Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override [2025-06-13T05:47:39.587Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override-new [2025-06-13T05:47:39.587Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl3 [2025-06-13T05:47:39.587Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl4 [2025-06-13T05:47:39.587Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common [2025-06-13T05:47:39.587Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests [2025-06-13T05:47:39.587Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin [2025-06-13T05:47:39.587Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\\jvmtest\\system\\STF\\stf.core\\bin [2025-06-13T05:47:39.587Z] GEN C:/Users/jenkins/testDependency/system_lib/log4j/log4j-api.jar [2025-06-13T05:47:39.587Z] GEN C:/Users/jenkins/testDependency/system_lib/log4j/log4j-core.jar [2025-06-13T05:47:39.587Z] GEN C:/Users/jenkins/testDependency/system_lib/junit/junit.jar [2025-06-13T05:47:39.587Z] GEN 05:47:39.343 - Using Mode NoOptions. Values = '' [2025-06-13T05:47:39.587Z] GEN 05:47:39.468 - [2025-06-13T05:47:39.587Z] GEN 05:47:39.468 - Test command summary: [2025-06-13T05:47:39.587Z] GEN 05:47:39.468 - Step Stage Command Description [2025-06-13T05:47:39.587Z] GEN 05:47:39.468 - -----+--------+-----------------+------------ [2025-06-13T05:47:39.587Z] GEN 05:47:39.468 - 1 execute jar Create com.hello jar [2025-06-13T05:47:39.587Z] GEN 05:47:39.468 - 2 execute jar Create com.hola jar [2025-06-13T05:47:39.587Z] GEN 05:47:39.468 - 3 execute jar Create com.helper jar [2025-06-13T05:47:39.587Z] GEN 05:47:39.468 - 4 execute jar Create com.discreet jar [2025-06-13T05:47:39.587Z] GEN 05:47:39.468 - 5 execute jar Create tests jar [2025-06-13T05:47:39.587Z] GEN 05:47:39.468 - 6 execute jlink Create runtime image for upgrademodulepath test [2025-06-13T05:47:39.587Z] GEN 05:47:39.468 - 7 execute Run java Override an application module [2025-06-13T05:47:39.587Z] GEN 05:47:39.468 - 8 execute Run java (Negative test) Override a non-upgradable platform module [2025-06-13T05:47:39.587Z] GEN 05:47:39.468 - 9 execute Run java Combine stderr and stdout files of process OT13 [2025-06-13T05:47:39.587Z] GEN 05:47:39.468 - 10 execute count Check output [2025-06-13T05:47:39.587Z] STF 05:47:39.501 - [2025-06-13T05:47:39.587Z] STF 05:47:39.501 - Script generation completed [2025-06-13T05:47:39.587Z] STF 05:47:39.501 - [2025-06-13T05:47:39.587Z] STF 05:47:39.504 - [2025-06-13T05:47:39.587Z] STF 05:47:39.504 - ======================= S E T U P ======================= [2025-06-13T05:47:39.587Z] STF 05:47:39.504 - Running setup: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17497918292773\UpgModPath_Exp_1/20250613-054737-UpgModPathTest/setUp.pl [2025-06-13T05:47:40.219Z] STF 05:47:39.875 - SETUP stage completed [2025-06-13T05:47:40.219Z] STF 05:47:39.926 - [2025-06-13T05:47:40.219Z] STF 05:47:39.926 - ==================== E X E C U T E - ==================== [2025-06-13T05:47:40.219Z] STF 05:47:39.926 - Running execute: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17497918292773\UpgModPath_Exp_1/20250613-054737-UpgModPathTest/execute.pl [2025-06-13T05:47:40.511Z] STF 05:47:40.297 - [2025-06-13T05:47:40.511Z] STF 05:47:40.297 - Java version [2025-06-13T05:47:40.511Z] STF 05:47:40.297 - Running: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/java -version [2025-06-13T05:47:40.511Z] Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-06-13T05:47:40.511Z] openjdk version "21.0.8-beta" 2025-07-15 [2025-06-13T05:47:40.511Z] OpenJDK Runtime Environment Temurin-21.0.8+6-202506121054 (build 21.0.8-beta+6-ea) [2025-06-13T05:47:40.511Z] OpenJDK 64-Bit Server VM Temurin-21.0.8+6-202506121054 (build 21.0.8-beta+6-ea, mixed mode) [2025-06-13T05:47:40.511Z] STF 05:47:40.420 - [2025-06-13T05:47:40.511Z] STF 05:47:40.420 - +------ Step 1 - Create com.hello jar [2025-06-13T05:47:40.511Z] STF 05:47:40.420 - | Create modular jar [2025-06-13T05:47:40.511Z] STF 05:47:40.420 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2025-06-13T05:47:40.511Z] STF 05:47:40.420 - | ModuleVersion: null [2025-06-13T05:47:40.511Z] STF 05:47:40.420 - | MainClass: null [2025-06-13T05:47:40.511Z] STF 05:47:40.421 - | HashModules: null [2025-06-13T05:47:40.511Z] STF 05:47:40.421 - | [2025-06-13T05:47:40.511Z] STF 05:47:40.422 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17497918292773/UpgModPath_Exp_1/20250613-054737-UpgModPathTest/modules/1.com.hello.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello . [2025-06-13T05:47:40.511Z] STF 05:47:40.422 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17497918292773/UpgModPath_Exp_1/20250613-054737-UpgModPathTest/results/1.CMJ.stderr [2025-06-13T05:47:40.511Z] STF 05:47:40.422 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17497918292773/UpgModPath_Exp_1/20250613-054737-UpgModPathTest/results/1.CMJ.stdout [2025-06-13T05:47:40.803Z] STF 05:47:40.489 - Monitoring processes: CMJ [2025-06-13T05:47:40.803Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-06-13T05:47:41.094Z] STF 05:47:40.910 - Monitoring Report Summary: [2025-06-13T05:47:41.094Z] STF 05:47:40.911 - o Process CMJ ended with the expected exit code (0) [2025-06-13T05:47:41.094Z] STF 05:47:40.911 - Created modular jar: 1.com.hello.jar [2025-06-13T05:47:41.094Z] STF 05:47:40.911 - [2025-06-13T05:47:41.094Z] STF 05:47:40.911 - +------ Step 2 - Create com.hola jar [2025-06-13T05:47:41.094Z] STF 05:47:40.911 - | Create modular jar [2025-06-13T05:47:41.094Z] STF 05:47:40.911 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2025-06-13T05:47:41.094Z] STF 05:47:40.912 - | ModuleVersion: null [2025-06-13T05:47:41.094Z] STF 05:47:40.912 - | MainClass: null [2025-06-13T05:47:41.094Z] STF 05:47:40.912 - | HashModules: null [2025-06-13T05:47:41.094Z] STF 05:47:40.912 - | [2025-06-13T05:47:41.094Z] STF 05:47:40.912 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17497918292773/UpgModPath_Exp_1/20250613-054737-UpgModPathTest/modules/2.com.hola.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola . [2025-06-13T05:47:41.094Z] STF 05:47:40.912 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17497918292773/UpgModPath_Exp_1/20250613-054737-UpgModPathTest/results/2.CMJ.stderr [2025-06-13T05:47:41.094Z] STF 05:47:40.912 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17497918292773/UpgModPath_Exp_1/20250613-054737-UpgModPathTest/results/2.CMJ.stdout [2025-06-13T05:47:41.094Z] STF 05:47:40.920 - Monitoring processes: CMJ [2025-06-13T05:47:41.094Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-06-13T05:47:41.384Z] STF 05:47:41.312 - Monitoring Report Summary: [2025-06-13T05:47:41.384Z] STF 05:47:41.312 - o Process CMJ ended with the expected exit code (0) [2025-06-13T05:47:41.384Z] STF 05:47:41.313 - Created modular jar: 2.com.hola.jar [2025-06-13T05:47:41.384Z] STF 05:47:41.313 - [2025-06-13T05:47:41.384Z] STF 05:47:41.313 - +------ Step 3 - Create com.helper jar [2025-06-13T05:47:41.384Z] STF 05:47:41.313 - | Create modular jar [2025-06-13T05:47:41.384Z] STF 05:47:41.313 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2025-06-13T05:47:41.384Z] STF 05:47:41.313 - | ModuleVersion: null [2025-06-13T05:47:41.384Z] STF 05:47:41.313 - | MainClass: null [2025-06-13T05:47:41.384Z] STF 05:47:41.313 - | HashModules: null [2025-06-13T05:47:41.384Z] STF 05:47:41.313 - | [2025-06-13T05:47:41.385Z] STF 05:47:41.314 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17497918292773/UpgModPath_Exp_1/20250613-054737-UpgModPathTest/modules/3.com.helper.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper . [2025-06-13T05:47:41.385Z] STF 05:47:41.314 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17497918292773/UpgModPath_Exp_1/20250613-054737-UpgModPathTest/results/3.CMJ.stderr [2025-06-13T05:47:41.385Z] STF 05:47:41.314 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17497918292773/UpgModPath_Exp_1/20250613-054737-UpgModPathTest/results/3.CMJ.stdout [2025-06-13T05:47:41.385Z] STF 05:47:41.321 - Monitoring processes: CMJ [2025-06-13T05:47:41.385Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-06-13T05:47:42.015Z] STF 05:47:41.735 - Monitoring Report Summary: [2025-06-13T05:47:42.015Z] STF 05:47:41.736 - o Process CMJ ended with the expected exit code (0) [2025-06-13T05:47:42.015Z] STF 05:47:41.737 - Created modular jar: 3.com.helper.jar [2025-06-13T05:47:42.015Z] STF 05:47:41.737 - [2025-06-13T05:47:42.015Z] STF 05:47:41.737 - +------ Step 4 - Create com.discreet jar [2025-06-13T05:47:42.015Z] STF 05:47:41.737 - | Create modular jar [2025-06-13T05:47:42.015Z] STF 05:47:41.737 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2025-06-13T05:47:42.015Z] STF 05:47:41.737 - | ModuleVersion: null [2025-06-13T05:47:42.015Z] STF 05:47:41.737 - | MainClass: null [2025-06-13T05:47:42.015Z] STF 05:47:41.737 - | HashModules: null [2025-06-13T05:47:42.015Z] STF 05:47:41.737 - | [2025-06-13T05:47:42.015Z] STF 05:47:41.738 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17497918292773/UpgModPath_Exp_1/20250613-054737-UpgModPathTest/modules/4.com.discreet.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet . [2025-06-13T05:47:42.015Z] STF 05:47:41.738 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17497918292773/UpgModPath_Exp_1/20250613-054737-UpgModPathTest/results/4.CMJ.stderr [2025-06-13T05:47:42.015Z] STF 05:47:41.738 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17497918292773/UpgModPath_Exp_1/20250613-054737-UpgModPathTest/results/4.CMJ.stdout [2025-06-13T05:47:42.015Z] STF 05:47:41.747 - Monitoring processes: CMJ [2025-06-13T05:47:42.015Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-06-13T05:47:42.305Z] STF 05:47:42.190 - Monitoring Report Summary: [2025-06-13T05:47:42.305Z] STF 05:47:42.190 - o Process CMJ ended with the expected exit code (0) [2025-06-13T05:47:42.305Z] STF 05:47:42.191 - Created modular jar: 4.com.discreet.jar [2025-06-13T05:47:42.305Z] STF 05:47:42.191 - [2025-06-13T05:47:42.305Z] STF 05:47:42.191 - +------ Step 5 - Create tests jar [2025-06-13T05:47:42.305Z] STF 05:47:42.191 - | Create modular jar [2025-06-13T05:47:42.305Z] STF 05:47:42.191 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2025-06-13T05:47:42.305Z] STF 05:47:42.191 - | ModuleVersion: null [2025-06-13T05:47:42.305Z] STF 05:47:42.191 - | MainClass: null [2025-06-13T05:47:42.305Z] STF 05:47:42.191 - | HashModules: null [2025-06-13T05:47:42.305Z] STF 05:47:42.191 - | [2025-06-13T05:47:42.305Z] STF 05:47:42.192 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17497918292773/UpgModPath_Exp_1/20250613-054737-UpgModPathTest/modules/5.com.test.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests\com.test . [2025-06-13T05:47:42.305Z] STF 05:47:42.192 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17497918292773/UpgModPath_Exp_1/20250613-054737-UpgModPathTest/results/5.CMJ.stderr [2025-06-13T05:47:42.305Z] STF 05:47:42.192 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17497918292773/UpgModPath_Exp_1/20250613-054737-UpgModPathTest/results/5.CMJ.stdout [2025-06-13T05:47:42.305Z] STF 05:47:42.199 - Monitoring processes: CMJ [2025-06-13T05:47:42.305Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-06-13T05:47:42.939Z] STF 05:47:42.609 - Monitoring Report Summary: [2025-06-13T05:47:42.939Z] STF 05:47:42.609 - o Process CMJ ended with the expected exit code (0) [2025-06-13T05:47:42.939Z] STF 05:47:42.610 - Created modular jar: 5.com.test.jar [2025-06-13T05:47:42.939Z] STF 05:47:42.610 - [2025-06-13T05:47:42.939Z] STF 05:47:42.610 - +------ Step 6 - Create runtime image for upgrademodulepath test [2025-06-13T05:47:42.939Z] STF 05:47:42.610 - | Run jlink to create runtime image [2025-06-13T05:47:42.939Z] STF 05:47:42.610 - | ImageName: UpJVM [2025-06-13T05:47:42.939Z] STF 05:47:42.610 - | [2025-06-13T05:47:42.939Z] STF 05:47:42.611 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/jlink --module-path C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jdkbinary\j2sdk-image\jmods;C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\aqa-tests\TKG\output_17497918292773\UpgModPath_Exp_1\20250613-054737-UpgModPathTest\modules --add-modules com.hello,com.hola,com.test,com.helper,com.discreet --output C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\aqa-tests\TKG\output_17497918292773\UpgModPath_Exp_1\20250613-054737-UpgModPathTest\tmp\6.UpJVM [2025-06-13T05:47:42.939Z] STF 05:47:42.611 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17497918292773/UpgModPath_Exp_1/20250613-054737-UpgModPathTest/results/6.JLNK.stderr [2025-06-13T05:47:42.939Z] STF 05:47:42.611 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17497918292773/UpgModPath_Exp_1/20250613-054737-UpgModPathTest/results/6.JLNK.stdout [2025-06-13T05:47:42.939Z] STF 05:47:42.619 - Monitoring processes: JLNK [2025-06-13T05:47:42.939Z] JLNK stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-06-13T05:47:45.009Z] STF 05:47:44.899 - Monitoring Report Summary: [2025-06-13T05:47:45.009Z] STF 05:47:44.899 - o Process JLNK ended with the expected exit code (0) [2025-06-13T05:47:45.009Z] STF 05:47:44.900 - [2025-06-13T05:47:45.009Z] STF 05:47:44.900 - +------ Step 7 - Override an application module [2025-06-13T05:47:45.009Z] STF 05:47:44.900 - | Run foreground process [2025-06-13T05:47:45.009Z] STF 05:47:44.900 - | Program: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/java [2025-06-13T05:47:45.009Z] STF 05:47:44.900 - | Mnemonic: OT11 [2025-06-13T05:47:45.009Z] STF 05:47:44.900 - | Echo: ECHO_ON [2025-06-13T05:47:45.009Z] STF 05:47:44.900 - | Expectation: CLEAN_RUN within 1m [2025-06-13T05:47:45.009Z] STF 05:47:44.900 - | [2025-06-13T05:47:45.009Z] STF 05:47:44.902 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/java --add-reads com.test=ALL-UNNAMED --module-path C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods;C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests --upgrade-module-path C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.hello --add-modules=com.test -XX:-UseCompressedOops -classpath C:/Users/jenkins/testDependency/system_lib/junit/junit.jar;C:/Users/jenkins/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingAppModule [2025-06-13T05:47:45.009Z] STF 05:47:44.902 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17497918292773/UpgModPath_Exp_1/20250613-054737-UpgModPathTest/results/7.OT11.stderr [2025-06-13T05:47:45.009Z] STF 05:47:44.902 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17497918292773/UpgModPath_Exp_1/20250613-054737-UpgModPathTest/results/7.OT11.stdout [2025-06-13T05:47:45.009Z] STF 05:47:44.910 - Monitoring processes: OT11 [2025-06-13T05:47:45.009Z] OT11 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-06-13T05:47:45.302Z] OT11 JUnit version 4.12 [2025-06-13T05:47:45.593Z] OT11 . [2025-06-13T05:47:45.593Z] OT11 Time: 0.016 [2025-06-13T05:47:45.593Z] OT11 [2025-06-13T05:47:45.593Z] OT11 OK (1 test) [2025-06-13T05:47:45.593Z] OT11 [2025-06-13T05:47:45.593Z] STF 05:47:45.335 - Monitoring Report Summary: [2025-06-13T05:47:45.593Z] STF 05:47:45.335 - o Process OT11 ended with the expected exit code (0) [2025-06-13T05:47:45.593Z] STF 05:47:45.336 - [2025-06-13T05:47:45.593Z] STF 05:47:45.336 - +------ Step 8 - (Negative test) Override a non-upgradable platform module [2025-06-13T05:47:45.593Z] STF 05:47:45.336 - | Run foreground process [2025-06-13T05:47:45.593Z] STF 05:47:45.336 - | Program: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/java [2025-06-13T05:47:45.593Z] STF 05:47:45.336 - | Mnemonic: OT13 [2025-06-13T05:47:45.593Z] STF 05:47:45.336 - | Echo: ECHO_ON [2025-06-13T05:47:45.593Z] STF 05:47:45.337 - | Expectation: NON_ZERO_EXIT [1] within 1m [2025-06-13T05:47:45.593Z] STF 05:47:45.337 - | [2025-06-13T05:47:45.593Z] STF 05:47:45.337 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/java --add-reads com.test=ALL-UNNAMED --module-path C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods;C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests --upgrade-module-path C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\java.logging --add-modules=com.test -XX:-UseCompressedOops -classpath C:/Users/jenkins/testDependency/system_lib/junit/junit.jar;C:/Users/jenkins/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingNonUpgradablePlatformModule [2025-06-13T05:47:45.593Z] STF 05:47:45.338 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17497918292773/UpgModPath_Exp_1/20250613-054737-UpgModPathTest/results/8.OT13.stderr [2025-06-13T05:47:45.593Z] STF 05:47:45.338 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17497918292773/UpgModPath_Exp_1/20250613-054737-UpgModPathTest/results/8.OT13.stdout [2025-06-13T05:47:45.593Z] STF 05:47:45.345 - Monitoring processes: OT13 [2025-06-13T05:47:45.593Z] OT13 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-06-13T05:47:45.885Z] OT13 Error occurred during initialization of boot layer [2025-06-13T05:47:45.885Z] OT13 java.lang.module.FindException: Unable to compute the hash of module java.logging [2025-06-13T05:47:45.885Z] STF 05:47:45.598 - Monitoring Report Summary: [2025-06-13T05:47:45.885Z] STF 05:47:45.598 - o Process OT13 ended with the expected exit code (1) [2025-06-13T05:47:45.885Z] STF 05:47:45.599 - [2025-06-13T05:47:45.885Z] STF 05:47:45.599 - +------ Step 9 - Combine stderr and stdout files of process OT13 [2025-06-13T05:47:45.885Z] STF 05:47:45.599 - | Run foreground process [2025-06-13T05:47:45.885Z] STF 05:47:45.599 - | Program: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/java [2025-06-13T05:47:45.885Z] STF 05:47:45.599 - | Mnemonic: CO [2025-06-13T05:47:45.885Z] STF 05:47:45.599 - | Echo: ECHO_OFF [2025-06-13T05:47:45.885Z] STF 05:47:45.599 - | Expectation: NON_ZERO_EXIT [0] within 30s [2025-06-13T05:47:45.885Z] STF 05:47:45.599 - | [2025-06-13T05:47:45.885Z] STF 05:47:45.600 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/java -Dfile1=C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17497918292773/UpgModPath_Exp_1/20250613-054737-UpgModPathTest/results/8.OT13.stdout -Dfile2=C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17497918292773/UpgModPath_Exp_1/20250613-054737-UpgModPathTest/results/8.OT13.stderr -Dfinal.file=C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\aqa-tests\TKG\output_17497918292773\UpgModPath_Exp_1\20250613-054737-UpgModPathTest\results\combinedOT13.txt -XX:-UseCompressedOops -classpath C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\STF\stf.core\bin;C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin net.adoptopenjdk.test.modularity.TestUtil [2025-06-13T05:47:45.885Z] STF 05:47:45.600 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17497918292773/UpgModPath_Exp_1/20250613-054737-UpgModPathTest/results/9.CO.stderr [2025-06-13T05:47:45.885Z] STF 05:47:45.600 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17497918292773/UpgModPath_Exp_1/20250613-054737-UpgModPathTest/results/9.CO.stdout [2025-06-13T05:47:45.885Z] STF 05:47:45.607 - Monitoring processes: CO [2025-06-13T05:47:46.176Z] STF 05:47:45.831 - Monitoring Report Summary: [2025-06-13T05:47:46.176Z] STF 05:47:45.831 - o Process CO ended with the expected exit code (0) [2025-06-13T05:47:46.176Z] STF 05:47:45.832 - [2025-06-13T05:47:46.176Z] STF 05:47:45.832 - +------ Step 10 - Check output [2025-06-13T05:47:46.176Z] STF 05:47:45.832 - | Count file matches [2025-06-13T05:47:46.176Z] STF 05:47:45.832 - | TargetFile: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17497918292773/UpgModPath_Exp_1/20250613-054737-UpgModPathTest/results/combinedOT13.txt [2025-06-13T05:47:46.176Z] STF 05:47:45.832 - | ExpectedNumMatches: 1 [2025-06-13T05:47:46.176Z] STF 05:47:45.832 - | SearchStrings: ["FindException: Unable to compute the hash of module java.logging"] [2025-06-13T05:47:46.176Z] STF 05:47:45.832 - | [2025-06-13T05:47:46.176Z] STF 05:47:45.834 - Found 1 instances of ["FindException: Unable to compute the hash of module java.logging"] [2025-06-13T05:47:46.176Z] STF 05:47:45.834 - EXECUTE stage completed [2025-06-13T05:47:46.176Z] STF 05:47:45.925 - [2025-06-13T05:47:46.176Z] STF 05:47:45.925 - ==================== T E A R D O W N ==================== [2025-06-13T05:47:46.176Z] STF 05:47:45.925 - Running teardown: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17497918292773\UpgModPath_Exp_1/20250613-054737-UpgModPathTest/tearDown.pl [2025-06-13T05:47:46.468Z] STF 05:47:46.297 - TEARDOWN stage completed [2025-06-13T05:47:46.468Z] STF 05:47:46.344 - [2025-06-13T05:47:46.468Z] STF 05:47:46.344 - ===================== R E S U L T S ===================== [2025-06-13T05:47:46.468Z] STF 05:47:46.344 - Stage results: [2025-06-13T05:47:46.468Z] STF 05:47:46.344 - setUp: pass [2025-06-13T05:47:46.468Z] STF 05:47:46.344 - execute: pass [2025-06-13T05:47:46.468Z] STF 05:47:46.344 - teardown: pass [2025-06-13T05:47:46.468Z] STF 05:47:46.344 - [2025-06-13T05:47:46.468Z] STF 05:47:46.344 - Overall result: PASSED [2025-06-13T05:47:46.468Z] ----------------------------------- [2025-06-13T05:47:46.468Z] UpgModPath_Exp_1_PASSED [2025-06-13T05:47:46.468Z] ----------------------------------- [2025-06-13T05:47:46.760Z] [2025-06-13T05:47:46.760Z] TEST TEARDOWN: [2025-06-13T05:47:46.760Z] Nothing to be done for teardown. [2025-06-13T05:47:47.052Z] UpgModPath_Exp_1 Finish Time: Fri Jun 13 05:47:46 2025 Epoch Time (ms): 1749793666765