UpgModPath_Exp_1

[2025-05-16T13:07:04.177Z] Running test UpgModPath_Exp_1 ... [2025-05-16T13:07:04.498Z] =============================================== [2025-05-16T13:07:04.794Z] UpgModPath_Exp_1 Start Time: Fri May 16 13:07:04 2025 Epoch Time (ms): 1747400824646 [2025-05-16T13:07:05.091Z] variation: Mode650 [2025-05-16T13:07:05.387Z] JVM_OPTIONS: -XX:-UseCompressedOops [2025-05-16T13:07:05.387Z] { \ [2025-05-16T13:07:05.387Z] echo ""; echo "TEST SETUP:"; \ [2025-05-16T13:07:05.387Z] echo "Nothing to be done for setup."; \ [2025-05-16T13:07:05.387Z] mkdir -p "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/\\TKG\\output_17473980374966\\UpgModPath_Exp_1"; \ [2025-05-16T13:07:05.387Z] cd "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/\\TKG\\output_17473980374966\\UpgModPath_Exp_1"; \ [2025-05-16T13:07:05.387Z] echo ""; echo "TESTING:"; \ [2025-05-16T13:07:05.387Z] perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/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_2/aqa-tests///..//jvmtest\\system\\modularity/../\\STF;C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/aqa-tests///..//jvmtest\\system\\modularity/../\\aqa-systemtest""" -systemtest-prereqs="C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/../../testDependency/system_lib\\" -java-args=' -XX:-UseCompressedOops ' -results-root="C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/\\TKG\\output_17473980374966\\UpgModPath_Exp_1" -test=UpgModPathTest -test-args="variant=Exp"; \ [2025-05-16T13:07:05.387Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "UpgModPath_Exp_1""_PASSED"; echo "-----------------------------------"; cd C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/; rm -f -r "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/\\TKG\\output_17473980374966\\UpgModPath_Exp_1"; else echo "-----------------------------------"; echo "UpgModPath_Exp_1""_FAILED"; echo "-----------------------------------"; fi; \ [2025-05-16T13:07:05.387Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-05-16T13:07:05.387Z] echo "Nothing to be done for teardown."; \ [2025-05-16T13:07:05.387Z] } 2>&1 | tee -a "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/\\TKG\\output_17473980374966\\TestTargetResult"; [2025-05-16T13:07:05.387Z] [2025-05-16T13:07:05.387Z] TEST SETUP: [2025-05-16T13:07:05.387Z] Nothing to be done for setup. [2025-05-16T13:07:05.387Z] [2025-05-16T13:07:05.387Z] TESTING: [2025-05-16T13:07:06.031Z] STF 13:07:05.770 - ========================= S T F ========================= [2025-05-16T13:07:06.031Z] 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_2/aqa-tests/\TKG\output_17473980374966\UpgModPath_Exp_1 [2025-05-16T13:07:06.031Z] There is 49227 Mb free [2025-05-16T13:07:06.031Z] STF 13:07:05.856 - ================== G E N E R A T I O N ================== [2025-05-16T13:07:06.031Z] STF 13:07:05.862 - Checking JVM: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/jdkbinary/j2sdk-image [2025-05-16T13:07:06.031Z] STF 13:07:05.862 - Starting process to generate scripts: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/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_2/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_2/../../testDependency/system_lib\/asm/asm.jar;C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/../../testDependency/system_lib\/asm/asm-commons.jar;C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/../../testDependency/system_lib\/log4j/log4j-api.jar;C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/../../testDependency/system_lib\/log4j/log4j-core.jar;C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/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_2/aqa-tests/\TKG\output_17473980374966\UpgModPath_Exp_1/20250516-130705-UpgModPathTest/stf_parameters.properties, , C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/\TKG\output_17473980374966\UpgModPath_Exp_1/20250516-130705-UpgModPathTest" [2025-05-16T13:07:06.031Z] GEN stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-05-16T13:07:07.557Z] GEN 13:07:07.074 - Found test. Project: 'openjdk.test.modularity' class: 'UpgModPathTest.class' Dir: 'C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin' [2025-05-16T13:07:07.557Z] GEN 13:07:07.093 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.UpgModPathTest' [2025-05-16T13:07:07.557Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2025-05-16T13:07:07.557Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayService [2025-05-16T13:07:07.557Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper [2025-05-16T13:07:07.557Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl1 [2025-05-16T13:07:07.557Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet [2025-05-16T13:07:07.557Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello [2025-05-16T13:07:07.557Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola [2025-05-16T13:07:07.557Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl2 [2025-05-16T13:07:07.557Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hi [2025-05-16T13:07:07.557Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override [2025-05-16T13:07:07.557Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override-new [2025-05-16T13:07:07.557Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl3 [2025-05-16T13:07:07.557Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl4 [2025-05-16T13:07:07.557Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common [2025-05-16T13:07:07.557Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests [2025-05-16T13:07:07.557Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin [2025-05-16T13:07:07.557Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2\\jvmtest\\system\\STF\\stf.core\\bin [2025-05-16T13:07:07.557Z] GEN C:/Users/jenkins/testDependency/system_lib/log4j/log4j-api.jar [2025-05-16T13:07:07.557Z] GEN C:/Users/jenkins/testDependency/system_lib/log4j/log4j-core.jar [2025-05-16T13:07:07.557Z] GEN C:/Users/jenkins/testDependency/system_lib/junit/junit.jar [2025-05-16T13:07:07.557Z] GEN 13:07:07.367 - Using Mode NoOptions. Values = '' [2025-05-16T13:07:07.853Z] GEN 13:07:07.573 - [2025-05-16T13:07:07.853Z] GEN 13:07:07.573 - Test command summary: [2025-05-16T13:07:07.853Z] GEN 13:07:07.573 - Step Stage Command Description [2025-05-16T13:07:07.853Z] GEN 13:07:07.573 - -----+--------+-----------------+------------ [2025-05-16T13:07:07.853Z] GEN 13:07:07.574 - 1 execute jar Create com.hello jar [2025-05-16T13:07:07.853Z] GEN 13:07:07.574 - 2 execute jar Create com.hola jar [2025-05-16T13:07:07.853Z] GEN 13:07:07.574 - 3 execute jar Create com.helper jar [2025-05-16T13:07:07.853Z] GEN 13:07:07.574 - 4 execute jar Create com.discreet jar [2025-05-16T13:07:07.853Z] GEN 13:07:07.574 - 5 execute jar Create tests jar [2025-05-16T13:07:07.853Z] GEN 13:07:07.574 - 6 execute jlink Create runtime image for upgrademodulepath test [2025-05-16T13:07:07.853Z] GEN 13:07:07.574 - 7 execute Run java Override an application module [2025-05-16T13:07:07.854Z] GEN 13:07:07.574 - 8 execute Run java (Negative test) Override a non-upgradable platform module [2025-05-16T13:07:07.854Z] GEN 13:07:07.574 - 9 execute Run java Combine stderr and stdout files of process OT13 [2025-05-16T13:07:07.854Z] GEN 13:07:07.574 - 10 execute count Check output [2025-05-16T13:07:07.854Z] STF 13:07:07.652 - [2025-05-16T13:07:07.854Z] STF 13:07:07.652 - Script generation completed [2025-05-16T13:07:07.854Z] STF 13:07:07.652 - [2025-05-16T13:07:07.854Z] STF 13:07:07.655 - [2025-05-16T13:07:07.854Z] STF 13:07:07.655 - ======================= S E T U P ======================= [2025-05-16T13:07:07.854Z] STF 13:07:07.655 - Running setup: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/\TKG\output_17473980374966\UpgModPath_Exp_1/20250516-130705-UpgModPathTest/setUp.pl [2025-05-16T13:07:08.150Z] STF 13:07:08.044 - SETUP stage completed [2025-05-16T13:07:08.150Z] STF 13:07:08.085 - [2025-05-16T13:07:08.150Z] STF 13:07:08.085 - ==================== E X E C U T E - ==================== [2025-05-16T13:07:08.150Z] STF 13:07:08.085 - Running execute: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/\TKG\output_17473980374966\UpgModPath_Exp_1/20250516-130705-UpgModPathTest/execute.pl [2025-05-16T13:07:08.793Z] STF 13:07:08.479 - [2025-05-16T13:07:08.793Z] STF 13:07:08.479 - Java version [2025-05-16T13:07:08.793Z] STF 13:07:08.479 - Running: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/jdkbinary/j2sdk-image/bin/java -version [2025-05-16T13:07:08.793Z] Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-05-16T13:07:08.793Z] openjdk version "21.0.8-beta" 2025-07-15 [2025-05-16T13:07:08.793Z] OpenJDK Runtime Environment Temurin-21.0.8+3-202505160832 (build 21.0.8-beta+3-ea) [2025-05-16T13:07:08.793Z] OpenJDK 64-Bit Server VM Temurin-21.0.8+3-202505160832 (build 21.0.8-beta+3-ea, mixed mode) [2025-05-16T13:07:08.793Z] STF 13:07:08.616 - [2025-05-16T13:07:08.793Z] STF 13:07:08.616 - +------ Step 1 - Create com.hello jar [2025-05-16T13:07:08.793Z] STF 13:07:08.616 - | Create modular jar [2025-05-16T13:07:08.793Z] STF 13:07:08.616 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2025-05-16T13:07:08.793Z] STF 13:07:08.616 - | ModuleVersion: null [2025-05-16T13:07:08.793Z] STF 13:07:08.616 - | MainClass: null [2025-05-16T13:07:08.793Z] STF 13:07:08.616 - | HashModules: null [2025-05-16T13:07:08.793Z] STF 13:07:08.616 - | [2025-05-16T13:07:08.793Z] STF 13:07:08.617 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/TKG/output_17473980374966/UpgModPath_Exp_1/20250516-130705-UpgModPathTest/modules/1.com.hello.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello . [2025-05-16T13:07:08.793Z] STF 13:07:08.618 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/TKG/output_17473980374966/UpgModPath_Exp_1/20250516-130705-UpgModPathTest/results/1.CMJ.stderr [2025-05-16T13:07:08.793Z] STF 13:07:08.618 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/TKG/output_17473980374966/UpgModPath_Exp_1/20250516-130705-UpgModPathTest/results/1.CMJ.stdout [2025-05-16T13:07:08.793Z] STF 13:07:08.686 - Monitoring processes: CMJ [2025-05-16T13:07:08.793Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-05-16T13:07:09.435Z] STF 13:07:09.106 - Monitoring Report Summary: [2025-05-16T13:07:09.435Z] STF 13:07:09.106 - o Process CMJ ended with the expected exit code (0) [2025-05-16T13:07:09.435Z] STF 13:07:09.107 - Created modular jar: 1.com.hello.jar [2025-05-16T13:07:09.435Z] STF 13:07:09.107 - [2025-05-16T13:07:09.435Z] STF 13:07:09.107 - +------ Step 2 - Create com.hola jar [2025-05-16T13:07:09.435Z] STF 13:07:09.107 - | Create modular jar [2025-05-16T13:07:09.435Z] STF 13:07:09.107 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2025-05-16T13:07:09.435Z] STF 13:07:09.107 - | ModuleVersion: null [2025-05-16T13:07:09.435Z] STF 13:07:09.107 - | MainClass: null [2025-05-16T13:07:09.435Z] STF 13:07:09.107 - | HashModules: null [2025-05-16T13:07:09.435Z] STF 13:07:09.107 - | [2025-05-16T13:07:09.435Z] STF 13:07:09.108 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/TKG/output_17473980374966/UpgModPath_Exp_1/20250516-130705-UpgModPathTest/modules/2.com.hola.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola . [2025-05-16T13:07:09.435Z] STF 13:07:09.108 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/TKG/output_17473980374966/UpgModPath_Exp_1/20250516-130705-UpgModPathTest/results/2.CMJ.stderr [2025-05-16T13:07:09.435Z] STF 13:07:09.108 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/TKG/output_17473980374966/UpgModPath_Exp_1/20250516-130705-UpgModPathTest/results/2.CMJ.stdout [2025-05-16T13:07:09.435Z] STF 13:07:09.115 - Monitoring processes: CMJ [2025-05-16T13:07:09.435Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-05-16T13:07:09.731Z] STF 13:07:09.523 - Monitoring Report Summary: [2025-05-16T13:07:09.731Z] STF 13:07:09.523 - o Process CMJ ended with the expected exit code (0) [2025-05-16T13:07:09.732Z] STF 13:07:09.524 - Created modular jar: 2.com.hola.jar [2025-05-16T13:07:09.732Z] STF 13:07:09.524 - [2025-05-16T13:07:09.732Z] STF 13:07:09.524 - +------ Step 3 - Create com.helper jar [2025-05-16T13:07:09.732Z] STF 13:07:09.524 - | Create modular jar [2025-05-16T13:07:09.732Z] STF 13:07:09.524 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2025-05-16T13:07:09.732Z] STF 13:07:09.525 - | ModuleVersion: null [2025-05-16T13:07:09.732Z] STF 13:07:09.525 - | MainClass: null [2025-05-16T13:07:09.732Z] STF 13:07:09.525 - | HashModules: null [2025-05-16T13:07:09.732Z] STF 13:07:09.525 - | [2025-05-16T13:07:09.732Z] STF 13:07:09.525 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/TKG/output_17473980374966/UpgModPath_Exp_1/20250516-130705-UpgModPathTest/modules/3.com.helper.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper . [2025-05-16T13:07:09.732Z] STF 13:07:09.525 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/TKG/output_17473980374966/UpgModPath_Exp_1/20250516-130705-UpgModPathTest/results/3.CMJ.stderr [2025-05-16T13:07:09.732Z] STF 13:07:09.525 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/TKG/output_17473980374966/UpgModPath_Exp_1/20250516-130705-UpgModPathTest/results/3.CMJ.stdout [2025-05-16T13:07:09.732Z] STF 13:07:09.533 - Monitoring processes: CMJ [2025-05-16T13:07:09.732Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-05-16T13:07:10.028Z] STF 13:07:09.958 - Monitoring Report Summary: [2025-05-16T13:07:10.028Z] STF 13:07:09.958 - o Process CMJ ended with the expected exit code (0) [2025-05-16T13:07:10.028Z] STF 13:07:09.960 - Created modular jar: 3.com.helper.jar [2025-05-16T13:07:10.028Z] STF 13:07:09.960 - [2025-05-16T13:07:10.028Z] STF 13:07:09.960 - +------ Step 4 - Create com.discreet jar [2025-05-16T13:07:10.028Z] STF 13:07:09.960 - | Create modular jar [2025-05-16T13:07:10.028Z] STF 13:07:09.960 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2025-05-16T13:07:10.028Z] STF 13:07:09.960 - | ModuleVersion: null [2025-05-16T13:07:10.028Z] STF 13:07:09.960 - | MainClass: null [2025-05-16T13:07:10.028Z] STF 13:07:09.960 - | HashModules: null [2025-05-16T13:07:10.028Z] STF 13:07:09.960 - | [2025-05-16T13:07:10.028Z] STF 13:07:09.961 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/TKG/output_17473980374966/UpgModPath_Exp_1/20250516-130705-UpgModPathTest/modules/4.com.discreet.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet . [2025-05-16T13:07:10.028Z] STF 13:07:09.961 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/TKG/output_17473980374966/UpgModPath_Exp_1/20250516-130705-UpgModPathTest/results/4.CMJ.stderr [2025-05-16T13:07:10.028Z] STF 13:07:09.961 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/TKG/output_17473980374966/UpgModPath_Exp_1/20250516-130705-UpgModPathTest/results/4.CMJ.stdout [2025-05-16T13:07:10.028Z] STF 13:07:09.968 - Monitoring processes: CMJ [2025-05-16T13:07:10.028Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-05-16T13:07:10.670Z] STF 13:07:10.391 - Monitoring Report Summary: [2025-05-16T13:07:10.670Z] STF 13:07:10.391 - o Process CMJ ended with the expected exit code (0) [2025-05-16T13:07:10.670Z] STF 13:07:10.392 - Created modular jar: 4.com.discreet.jar [2025-05-16T13:07:10.670Z] STF 13:07:10.392 - [2025-05-16T13:07:10.670Z] STF 13:07:10.392 - +------ Step 5 - Create tests jar [2025-05-16T13:07:10.670Z] STF 13:07:10.392 - | Create modular jar [2025-05-16T13:07:10.670Z] STF 13:07:10.392 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2025-05-16T13:07:10.670Z] STF 13:07:10.392 - | ModuleVersion: null [2025-05-16T13:07:10.670Z] STF 13:07:10.392 - | MainClass: null [2025-05-16T13:07:10.670Z] STF 13:07:10.392 - | HashModules: null [2025-05-16T13:07:10.670Z] STF 13:07:10.393 - | [2025-05-16T13:07:10.670Z] STF 13:07:10.393 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/TKG/output_17473980374966/UpgModPath_Exp_1/20250516-130705-UpgModPathTest/modules/5.com.test.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests\com.test . [2025-05-16T13:07:10.670Z] STF 13:07:10.393 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/TKG/output_17473980374966/UpgModPath_Exp_1/20250516-130705-UpgModPathTest/results/5.CMJ.stderr [2025-05-16T13:07:10.670Z] STF 13:07:10.393 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/TKG/output_17473980374966/UpgModPath_Exp_1/20250516-130705-UpgModPathTest/results/5.CMJ.stdout [2025-05-16T13:07:10.670Z] STF 13:07:10.401 - Monitoring processes: CMJ [2025-05-16T13:07:10.670Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-05-16T13:07:10.966Z] STF 13:07:10.855 - Monitoring Report Summary: [2025-05-16T13:07:10.966Z] STF 13:07:10.855 - o Process CMJ ended with the expected exit code (0) [2025-05-16T13:07:10.966Z] STF 13:07:10.856 - Created modular jar: 5.com.test.jar [2025-05-16T13:07:10.966Z] STF 13:07:10.856 - [2025-05-16T13:07:10.966Z] STF 13:07:10.856 - +------ Step 6 - Create runtime image for upgrademodulepath test [2025-05-16T13:07:10.966Z] STF 13:07:10.856 - | Run jlink to create runtime image [2025-05-16T13:07:10.966Z] STF 13:07:10.856 - | ImageName: UpJVM [2025-05-16T13:07:10.966Z] STF 13:07:10.856 - | [2025-05-16T13:07:10.966Z] STF 13:07:10.857 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/jdkbinary/j2sdk-image/bin/jlink --module-path C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2\jdkbinary\j2sdk-image\jmods;C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2\aqa-tests\TKG\output_17473980374966\UpgModPath_Exp_1\20250516-130705-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_2\aqa-tests\TKG\output_17473980374966\UpgModPath_Exp_1\20250516-130705-UpgModPathTest\tmp\6.UpJVM [2025-05-16T13:07:10.966Z] STF 13:07:10.857 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/TKG/output_17473980374966/UpgModPath_Exp_1/20250516-130705-UpgModPathTest/results/6.JLNK.stderr [2025-05-16T13:07:10.966Z] STF 13:07:10.857 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/TKG/output_17473980374966/UpgModPath_Exp_1/20250516-130705-UpgModPathTest/results/6.JLNK.stdout [2025-05-16T13:07:10.966Z] STF 13:07:10.884 - Monitoring processes: JLNK [2025-05-16T13:07:10.966Z] JLNK stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-05-16T13:07:14.531Z] STF 13:07:14.152 - Monitoring Report Summary: [2025-05-16T13:07:14.531Z] STF 13:07:14.152 - o Process JLNK ended with the expected exit code (0) [2025-05-16T13:07:14.531Z] STF 13:07:14.153 - [2025-05-16T13:07:14.531Z] STF 13:07:14.153 - +------ Step 7 - Override an application module [2025-05-16T13:07:14.531Z] STF 13:07:14.153 - | Run foreground process [2025-05-16T13:07:14.531Z] STF 13:07:14.153 - | Program: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/jdkbinary/j2sdk-image/bin/java [2025-05-16T13:07:14.531Z] STF 13:07:14.153 - | Mnemonic: OT11 [2025-05-16T13:07:14.531Z] STF 13:07:14.153 - | Echo: ECHO_ON [2025-05-16T13:07:14.531Z] STF 13:07:14.153 - | Expectation: CLEAN_RUN within 1m [2025-05-16T13:07:14.531Z] STF 13:07:14.153 - | [2025-05-16T13:07:14.531Z] STF 13:07:14.154 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/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_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods;C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests --upgrade-module-path C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2\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-05-16T13:07:14.531Z] STF 13:07:14.154 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/TKG/output_17473980374966/UpgModPath_Exp_1/20250516-130705-UpgModPathTest/results/7.OT11.stderr [2025-05-16T13:07:14.531Z] STF 13:07:14.154 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/TKG/output_17473980374966/UpgModPath_Exp_1/20250516-130705-UpgModPathTest/results/7.OT11.stdout [2025-05-16T13:07:14.531Z] STF 13:07:14.164 - Monitoring processes: OT11 [2025-05-16T13:07:14.531Z] OT11 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-05-16T13:07:14.531Z] OT11 JUnit version 4.12 [2025-05-16T13:07:14.828Z] OT11 . [2025-05-16T13:07:14.828Z] OT11 Time: 0.007 [2025-05-16T13:07:14.828Z] OT11 [2025-05-16T13:07:14.828Z] OT11 OK (1 test) [2025-05-16T13:07:14.828Z] OT11 [2025-05-16T13:07:14.828Z] STF 13:07:14.572 - Monitoring Report Summary: [2025-05-16T13:07:14.828Z] STF 13:07:14.572 - o Process OT11 ended with the expected exit code (0) [2025-05-16T13:07:14.828Z] STF 13:07:14.573 - [2025-05-16T13:07:14.828Z] STF 13:07:14.573 - +------ Step 8 - (Negative test) Override a non-upgradable platform module [2025-05-16T13:07:14.828Z] STF 13:07:14.574 - | Run foreground process [2025-05-16T13:07:14.828Z] STF 13:07:14.574 - | Program: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/jdkbinary/j2sdk-image/bin/java [2025-05-16T13:07:14.828Z] STF 13:07:14.574 - | Mnemonic: OT13 [2025-05-16T13:07:14.828Z] STF 13:07:14.574 - | Echo: ECHO_ON [2025-05-16T13:07:14.828Z] STF 13:07:14.574 - | Expectation: NON_ZERO_EXIT [1] within 1m [2025-05-16T13:07:14.828Z] STF 13:07:14.574 - | [2025-05-16T13:07:14.828Z] STF 13:07:14.575 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/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_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods;C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests --upgrade-module-path C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2\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-05-16T13:07:14.828Z] STF 13:07:14.575 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/TKG/output_17473980374966/UpgModPath_Exp_1/20250516-130705-UpgModPathTest/results/8.OT13.stderr [2025-05-16T13:07:14.828Z] STF 13:07:14.575 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/TKG/output_17473980374966/UpgModPath_Exp_1/20250516-130705-UpgModPathTest/results/8.OT13.stdout [2025-05-16T13:07:14.828Z] STF 13:07:14.582 - Monitoring processes: OT13 [2025-05-16T13:07:14.828Z] OT13 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-05-16T13:07:15.123Z] OT13 Error occurred during initialization of boot layer [2025-05-16T13:07:15.123Z] OT13 java.lang.module.FindException: Unable to compute the hash of module java.logging [2025-05-16T13:07:15.123Z] STF 13:07:14.853 - Monitoring Report Summary: [2025-05-16T13:07:15.123Z] STF 13:07:14.853 - o Process OT13 ended with the expected exit code (1) [2025-05-16T13:07:15.123Z] STF 13:07:14.854 - [2025-05-16T13:07:15.123Z] STF 13:07:14.854 - +------ Step 9 - Combine stderr and stdout files of process OT13 [2025-05-16T13:07:15.123Z] STF 13:07:14.854 - | Run foreground process [2025-05-16T13:07:15.123Z] STF 13:07:14.854 - | Program: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/jdkbinary/j2sdk-image/bin/java [2025-05-16T13:07:15.123Z] STF 13:07:14.854 - | Mnemonic: CO [2025-05-16T13:07:15.123Z] STF 13:07:14.854 - | Echo: ECHO_OFF [2025-05-16T13:07:15.123Z] STF 13:07:14.854 - | Expectation: NON_ZERO_EXIT [0] within 30s [2025-05-16T13:07:15.123Z] STF 13:07:14.854 - | [2025-05-16T13:07:15.123Z] STF 13:07:14.855 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/jdkbinary/j2sdk-image/bin/java -Dfile1=C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/TKG/output_17473980374966/UpgModPath_Exp_1/20250516-130705-UpgModPathTest/results/8.OT13.stdout -Dfile2=C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/TKG/output_17473980374966/UpgModPath_Exp_1/20250516-130705-UpgModPathTest/results/8.OT13.stderr -Dfinal.file=C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2\aqa-tests\TKG\output_17473980374966\UpgModPath_Exp_1\20250516-130705-UpgModPathTest\results\combinedOT13.txt -XX:-UseCompressedOops -classpath C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2\jvmtest\system\STF\stf.core\bin;C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin net.adoptopenjdk.test.modularity.TestUtil [2025-05-16T13:07:15.123Z] STF 13:07:14.855 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/TKG/output_17473980374966/UpgModPath_Exp_1/20250516-130705-UpgModPathTest/results/9.CO.stderr [2025-05-16T13:07:15.123Z] STF 13:07:14.855 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/TKG/output_17473980374966/UpgModPath_Exp_1/20250516-130705-UpgModPathTest/results/9.CO.stdout [2025-05-16T13:07:15.123Z] STF 13:07:14.862 - Monitoring processes: CO [2025-05-16T13:07:15.424Z] STF 13:07:15.085 - Monitoring Report Summary: [2025-05-16T13:07:15.424Z] STF 13:07:15.085 - o Process CO ended with the expected exit code (0) [2025-05-16T13:07:15.424Z] STF 13:07:15.086 - [2025-05-16T13:07:15.424Z] STF 13:07:15.086 - +------ Step 10 - Check output [2025-05-16T13:07:15.424Z] STF 13:07:15.086 - | Count file matches [2025-05-16T13:07:15.424Z] STF 13:07:15.086 - | TargetFile: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/TKG/output_17473980374966/UpgModPath_Exp_1/20250516-130705-UpgModPathTest/results/combinedOT13.txt [2025-05-16T13:07:15.424Z] STF 13:07:15.086 - | ExpectedNumMatches: 1 [2025-05-16T13:07:15.424Z] STF 13:07:15.086 - | SearchStrings: ["FindException: Unable to compute the hash of module java.logging"] [2025-05-16T13:07:15.424Z] STF 13:07:15.086 - | [2025-05-16T13:07:15.424Z] STF 13:07:15.101 - Found 1 instances of ["FindException: Unable to compute the hash of module java.logging"] [2025-05-16T13:07:15.424Z] STF 13:07:15.101 - EXECUTE stage completed [2025-05-16T13:07:15.424Z] STF 13:07:15.209 - [2025-05-16T13:07:15.424Z] STF 13:07:15.209 - ==================== T E A R D O W N ==================== [2025-05-16T13:07:15.424Z] STF 13:07:15.209 - Running teardown: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/\TKG\output_17473980374966\UpgModPath_Exp_1/20250516-130705-UpgModPathTest/tearDown.pl [2025-05-16T13:07:15.720Z] STF 13:07:15.595 - TEARDOWN stage completed [2025-05-16T13:07:15.720Z] STF 13:07:15.622 - [2025-05-16T13:07:15.720Z] STF 13:07:15.622 - ===================== R E S U L T S ===================== [2025-05-16T13:07:15.720Z] STF 13:07:15.622 - Stage results: [2025-05-16T13:07:15.720Z] STF 13:07:15.622 - setUp: pass [2025-05-16T13:07:15.720Z] STF 13:07:15.622 - execute: pass [2025-05-16T13:07:15.720Z] STF 13:07:15.622 - teardown: pass [2025-05-16T13:07:15.720Z] STF 13:07:15.622 - [2025-05-16T13:07:15.720Z] STF 13:07:15.622 - Overall result: PASSED [2025-05-16T13:07:15.720Z] ----------------------------------- [2025-05-16T13:07:15.720Z] UpgModPath_Exp_1_PASSED [2025-05-16T13:07:15.720Z] ----------------------------------- [2025-05-16T13:07:16.016Z] [2025-05-16T13:07:16.016Z] TEST TEARDOWN: [2025-05-16T13:07:16.016Z] Nothing to be done for teardown. [2025-05-16T13:07:16.313Z] UpgModPath_Exp_1 Finish Time: Fri May 16 13:07:16 2025 Epoch Time (ms): 1747400836040