UpgModPath_ExpImg_0

[2025-06-13T05:47:49.492Z] Running test UpgModPath_ExpImg_0 ... [2025-06-13T05:47:49.782Z] =============================================== [2025-06-13T05:47:50.073Z] UpgModPath_ExpImg_0 Start Time: Fri Jun 13 05:47:49 2025 Epoch Time (ms): 1749793669812 [2025-06-13T05:47:50.073Z] variation: Mode150 [2025-06-13T05:47:50.435Z] JVM_OPTIONS: -XX:+UseCompressedOops [2025-06-13T05:47:50.435Z] { \ [2025-06-13T05:47:50.435Z] echo ""; echo "TEST SETUP:"; \ [2025-06-13T05:47:50.435Z] echo "Nothing to be done for setup."; \ [2025-06-13T05:47:50.435Z] mkdir -p "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17497918292773\\UpgModPath_ExpImg_0"; \ [2025-06-13T05:47:50.435Z] cd "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17497918292773\\UpgModPath_ExpImg_0"; \ [2025-06-13T05:47:50.435Z] echo ""; echo "TESTING:"; \ [2025-06-13T05:47:50.435Z] 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_ExpImg_0" -test=UpgModPathTest -test-args="variant=ExpImg"; \ [2025-06-13T05:47:50.435Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "UpgModPath_ExpImg_0""_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_ExpImg_0"; else echo "-----------------------------------"; echo "UpgModPath_ExpImg_0""_FAILED"; echo "-----------------------------------"; fi; \ [2025-06-13T05:47:50.435Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-06-13T05:47:50.435Z] echo "Nothing to be done for teardown."; \ [2025-06-13T05:47:50.435Z] } 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:50.727Z] [2025-06-13T05:47:50.727Z] TEST SETUP: [2025-06-13T05:47:50.727Z] Nothing to be done for setup. [2025-06-13T05:47:50.727Z] [2025-06-13T05:47:50.727Z] TESTING: [2025-06-13T05:47:51.019Z] STF 05:47:50.937 - ========================= S T F ========================= [2025-06-13T05:47:51.019Z] 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_ExpImg_0 [2025-06-13T05:47:51.311Z] There is 46520 Mb free [2025-06-13T05:47:51.311Z] STF 05:47:51.014 - ================== G E N E R A T I O N ================== [2025-06-13T05:47:51.311Z] STF 05:47:51.020 - Checking JVM: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image [2025-06-13T05:47:51.311Z] STF 05:47:51.021 - 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_ExpImg_0/20250613-054750-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_ExpImg_0/20250613-054750-UpgModPathTest" [2025-06-13T05:47:51.311Z] GEN stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-06-13T05:47:52.346Z] GEN 05:47:52.234 - 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:52.346Z] GEN 05:47:52.265 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.UpgModPathTest' [2025-06-13T05:47:52.638Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2025-06-13T05:47:52.638Z] 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:52.638Z] 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:52.638Z] 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:52.638Z] 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:52.638Z] 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:52.638Z] 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:52.638Z] 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:52.638Z] 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:52.638Z] 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:52.638Z] 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:52.638Z] 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:52.638Z] 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:52.638Z] 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:52.638Z] 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:52.638Z] 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:52.638Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\\jvmtest\\system\\STF\\stf.core\\bin [2025-06-13T05:47:52.638Z] GEN C:/Users/jenkins/testDependency/system_lib/log4j/log4j-api.jar [2025-06-13T05:47:52.638Z] GEN C:/Users/jenkins/testDependency/system_lib/log4j/log4j-core.jar [2025-06-13T05:47:52.638Z] GEN C:/Users/jenkins/testDependency/system_lib/junit/junit.jar [2025-06-13T05:47:52.638Z] GEN 05:47:52.500 - Using Mode NoOptions. Values = '' [2025-06-13T05:47:52.930Z] GEN 05:47:52.609 - [2025-06-13T05:47:52.930Z] GEN 05:47:52.609 - Test command summary: [2025-06-13T05:47:52.930Z] GEN 05:47:52.609 - Step Stage Command Description [2025-06-13T05:47:52.930Z] GEN 05:47:52.609 - -----+--------+-----------------+------------ [2025-06-13T05:47:52.930Z] GEN 05:47:52.609 - 1 execute jar Create com.hello jar [2025-06-13T05:47:52.930Z] GEN 05:47:52.609 - 2 execute jar Create com.hola jar [2025-06-13T05:47:52.930Z] GEN 05:47:52.609 - 3 execute jar Create com.helper jar [2025-06-13T05:47:52.930Z] GEN 05:47:52.609 - 4 execute jar Create com.discreet jar [2025-06-13T05:47:52.930Z] GEN 05:47:52.609 - 5 execute jar Create tests jar [2025-06-13T05:47:52.930Z] GEN 05:47:52.609 - 6 execute jlink Create runtime image for upgrademodulepath test [2025-06-13T05:47:52.930Z] GEN 05:47:52.609 - 7 execute Run java Override an application module using a custom runtime image [2025-06-13T05:47:52.930Z] GEN 05:47:52.609 - 8 execute Run java (Negative test) Override a non-upgradable platform module using a custom runtime image [2025-06-13T05:47:52.930Z] GEN 05:47:52.609 - 9 execute Run java Combine stderr and stdout files of process OT16 [2025-06-13T05:47:52.930Z] GEN 05:47:52.609 - 10 execute count Check output [2025-06-13T05:47:52.930Z] STF 05:47:52.675 - [2025-06-13T05:47:52.930Z] STF 05:47:52.675 - Script generation completed [2025-06-13T05:47:52.930Z] STF 05:47:52.675 - [2025-06-13T05:47:52.930Z] STF 05:47:52.677 - [2025-06-13T05:47:52.930Z] STF 05:47:52.677 - ======================= S E T U P ======================= [2025-06-13T05:47:52.930Z] STF 05:47:52.677 - Running setup: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17497918292773\UpgModPath_ExpImg_0/20250613-054750-UpgModPathTest/setUp.pl [2025-06-13T05:47:53.221Z] STF 05:47:53.047 - SETUP stage completed [2025-06-13T05:47:53.221Z] STF 05:47:53.098 - [2025-06-13T05:47:53.221Z] STF 05:47:53.098 - ==================== E X E C U T E - ==================== [2025-06-13T05:47:53.222Z] STF 05:47:53.098 - Running execute: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17497918292773\UpgModPath_ExpImg_0/20250613-054750-UpgModPathTest/execute.pl [2025-06-13T05:47:53.855Z] STF 05:47:53.484 - [2025-06-13T05:47:53.855Z] STF 05:47:53.484 - Java version [2025-06-13T05:47:53.855Z] STF 05:47:53.484 - Running: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/java -version [2025-06-13T05:47:53.855Z] Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-06-13T05:47:53.855Z] openjdk version "21.0.8-beta" 2025-07-15 [2025-06-13T05:47:53.855Z] OpenJDK Runtime Environment Temurin-21.0.8+6-202506121054 (build 21.0.8-beta+6-ea) [2025-06-13T05:47:53.855Z] OpenJDK 64-Bit Server VM Temurin-21.0.8+6-202506121054 (build 21.0.8-beta+6-ea, mixed mode) [2025-06-13T05:47:53.855Z] STF 05:47:53.618 - [2025-06-13T05:47:53.855Z] STF 05:47:53.618 - +------ Step 1 - Create com.hello jar [2025-06-13T05:47:53.855Z] STF 05:47:53.618 - | Create modular jar [2025-06-13T05:47:53.855Z] STF 05:47:53.619 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2025-06-13T05:47:53.855Z] STF 05:47:53.619 - | ModuleVersion: null [2025-06-13T05:47:53.855Z] STF 05:47:53.619 - | MainClass: null [2025-06-13T05:47:53.855Z] STF 05:47:53.619 - | HashModules: null [2025-06-13T05:47:53.855Z] STF 05:47:53.619 - | [2025-06-13T05:47:53.855Z] STF 05:47:53.620 - 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_ExpImg_0/20250613-054750-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:53.855Z] STF 05:47:53.620 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17497918292773/UpgModPath_ExpImg_0/20250613-054750-UpgModPathTest/results/1.CMJ.stderr [2025-06-13T05:47:53.855Z] STF 05:47:53.620 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17497918292773/UpgModPath_ExpImg_0/20250613-054750-UpgModPathTest/results/1.CMJ.stdout [2025-06-13T05:47:53.855Z] STF 05:47:53.687 - Monitoring processes: CMJ [2025-06-13T05:47:53.855Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-06-13T05:47:54.147Z] STF 05:47:54.078 - Monitoring Report Summary: [2025-06-13T05:47:54.147Z] STF 05:47:54.078 - o Process CMJ ended with the expected exit code (0) [2025-06-13T05:47:54.147Z] STF 05:47:54.079 - Created modular jar: 1.com.hello.jar [2025-06-13T05:47:54.147Z] STF 05:47:54.079 - [2025-06-13T05:47:54.147Z] STF 05:47:54.079 - +------ Step 2 - Create com.hola jar [2025-06-13T05:47:54.147Z] STF 05:47:54.079 - | Create modular jar [2025-06-13T05:47:54.147Z] STF 05:47:54.079 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2025-06-13T05:47:54.147Z] STF 05:47:54.079 - | ModuleVersion: null [2025-06-13T05:47:54.147Z] STF 05:47:54.079 - | MainClass: null [2025-06-13T05:47:54.147Z] STF 05:47:54.079 - | HashModules: null [2025-06-13T05:47:54.147Z] STF 05:47:54.079 - | [2025-06-13T05:47:54.147Z] STF 05:47:54.080 - 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_ExpImg_0/20250613-054750-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:54.147Z] STF 05:47:54.080 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17497918292773/UpgModPath_ExpImg_0/20250613-054750-UpgModPathTest/results/2.CMJ.stderr [2025-06-13T05:47:54.147Z] STF 05:47:54.080 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17497918292773/UpgModPath_ExpImg_0/20250613-054750-UpgModPathTest/results/2.CMJ.stdout [2025-06-13T05:47:54.147Z] STF 05:47:54.087 - Monitoring processes: CMJ [2025-06-13T05:47:54.147Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-06-13T05:47:54.781Z] STF 05:47:54.503 - Monitoring Report Summary: [2025-06-13T05:47:54.781Z] STF 05:47:54.503 - o Process CMJ ended with the expected exit code (0) [2025-06-13T05:47:54.781Z] STF 05:47:54.504 - Created modular jar: 2.com.hola.jar [2025-06-13T05:47:54.781Z] STF 05:47:54.504 - [2025-06-13T05:47:54.781Z] STF 05:47:54.504 - +------ Step 3 - Create com.helper jar [2025-06-13T05:47:54.781Z] STF 05:47:54.504 - | Create modular jar [2025-06-13T05:47:54.781Z] STF 05:47:54.504 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2025-06-13T05:47:54.781Z] STF 05:47:54.504 - | ModuleVersion: null [2025-06-13T05:47:54.781Z] STF 05:47:54.504 - | MainClass: null [2025-06-13T05:47:54.781Z] STF 05:47:54.504 - | HashModules: null [2025-06-13T05:47:54.781Z] STF 05:47:54.504 - | [2025-06-13T05:47:54.781Z] STF 05:47:54.505 - 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_ExpImg_0/20250613-054750-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:54.781Z] STF 05:47:54.505 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17497918292773/UpgModPath_ExpImg_0/20250613-054750-UpgModPathTest/results/3.CMJ.stderr [2025-06-13T05:47:54.781Z] STF 05:47:54.505 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17497918292773/UpgModPath_ExpImg_0/20250613-054750-UpgModPathTest/results/3.CMJ.stdout [2025-06-13T05:47:54.781Z] STF 05:47:54.512 - Monitoring processes: CMJ [2025-06-13T05:47:54.781Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-06-13T05:47:55.072Z] STF 05:47:54.925 - Monitoring Report Summary: [2025-06-13T05:47:55.072Z] STF 05:47:54.925 - o Process CMJ ended with the expected exit code (0) [2025-06-13T05:47:55.072Z] STF 05:47:54.926 - Created modular jar: 3.com.helper.jar [2025-06-13T05:47:55.072Z] STF 05:47:54.926 - [2025-06-13T05:47:55.072Z] STF 05:47:54.926 - +------ Step 4 - Create com.discreet jar [2025-06-13T05:47:55.072Z] STF 05:47:54.926 - | Create modular jar [2025-06-13T05:47:55.073Z] STF 05:47:54.926 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2025-06-13T05:47:55.073Z] STF 05:47:54.926 - | ModuleVersion: null [2025-06-13T05:47:55.073Z] STF 05:47:54.926 - | MainClass: null [2025-06-13T05:47:55.073Z] STF 05:47:54.926 - | HashModules: null [2025-06-13T05:47:55.073Z] STF 05:47:54.926 - | [2025-06-13T05:47:55.073Z] STF 05:47:54.927 - 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_ExpImg_0/20250613-054750-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:55.073Z] STF 05:47:54.927 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17497918292773/UpgModPath_ExpImg_0/20250613-054750-UpgModPathTest/results/4.CMJ.stderr [2025-06-13T05:47:55.073Z] STF 05:47:54.927 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17497918292773/UpgModPath_ExpImg_0/20250613-054750-UpgModPathTest/results/4.CMJ.stdout [2025-06-13T05:47:55.073Z] STF 05:47:54.934 - Monitoring processes: CMJ [2025-06-13T05:47:55.073Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-06-13T05:47:55.706Z] STF 05:47:55.344 - Monitoring Report Summary: [2025-06-13T05:47:55.706Z] STF 05:47:55.344 - o Process CMJ ended with the expected exit code (0) [2025-06-13T05:47:55.706Z] STF 05:47:55.345 - Created modular jar: 4.com.discreet.jar [2025-06-13T05:47:55.706Z] STF 05:47:55.345 - [2025-06-13T05:47:55.706Z] STF 05:47:55.345 - +------ Step 5 - Create tests jar [2025-06-13T05:47:55.706Z] STF 05:47:55.345 - | Create modular jar [2025-06-13T05:47:55.706Z] STF 05:47:55.345 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2025-06-13T05:47:55.706Z] STF 05:47:55.345 - | ModuleVersion: null [2025-06-13T05:47:55.706Z] STF 05:47:55.345 - | MainClass: null [2025-06-13T05:47:55.706Z] STF 05:47:55.345 - | HashModules: null [2025-06-13T05:47:55.706Z] STF 05:47:55.345 - | [2025-06-13T05:47:55.706Z] STF 05:47:55.346 - 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_ExpImg_0/20250613-054750-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:55.706Z] STF 05:47:55.346 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17497918292773/UpgModPath_ExpImg_0/20250613-054750-UpgModPathTest/results/5.CMJ.stderr [2025-06-13T05:47:55.706Z] STF 05:47:55.346 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17497918292773/UpgModPath_ExpImg_0/20250613-054750-UpgModPathTest/results/5.CMJ.stdout [2025-06-13T05:47:55.706Z] STF 05:47:55.353 - Monitoring processes: CMJ [2025-06-13T05:47:55.706Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-06-13T05:47:56.000Z] STF 05:47:55.781 - Monitoring Report Summary: [2025-06-13T05:47:56.000Z] STF 05:47:55.781 - o Process CMJ ended with the expected exit code (0) [2025-06-13T05:47:56.000Z] STF 05:47:55.782 - Created modular jar: 5.com.test.jar [2025-06-13T05:47:56.000Z] STF 05:47:55.782 - [2025-06-13T05:47:56.000Z] STF 05:47:55.782 - +------ Step 6 - Create runtime image for upgrademodulepath test [2025-06-13T05:47:56.000Z] STF 05:47:55.782 - | Run jlink to create runtime image [2025-06-13T05:47:56.000Z] STF 05:47:55.782 - | ImageName: UpJVM [2025-06-13T05:47:56.000Z] STF 05:47:55.782 - | [2025-06-13T05:47:56.000Z] STF 05:47:55.783 - 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_ExpImg_0\20250613-054750-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_ExpImg_0\20250613-054750-UpgModPathTest\tmp\6.UpJVM [2025-06-13T05:47:56.000Z] STF 05:47:55.783 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17497918292773/UpgModPath_ExpImg_0/20250613-054750-UpgModPathTest/results/6.JLNK.stderr [2025-06-13T05:47:56.000Z] STF 05:47:55.783 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17497918292773/UpgModPath_ExpImg_0/20250613-054750-UpgModPathTest/results/6.JLNK.stdout [2025-06-13T05:47:56.000Z] STF 05:47:55.790 - Monitoring processes: JLNK [2025-06-13T05:47:56.000Z] JLNK stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-06-13T05:47:58.744Z] STF 05:47:58.007 - Monitoring Report Summary: [2025-06-13T05:47:58.744Z] STF 05:47:58.007 - o Process JLNK ended with the expected exit code (0) [2025-06-13T05:47:58.744Z] STF 05:47:58.008 - [2025-06-13T05:47:58.744Z] STF 05:47:58.008 - +------ Step 7 - Override an application module using a custom runtime image [2025-06-13T05:47:58.744Z] STF 05:47:58.008 - | Run foreground process [2025-06-13T05:47:58.744Z] STF 05:47:58.008 - | Program: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17497918292773/UpgModPath_ExpImg_0/20250613-054750-UpgModPathTest/tmp/6.UpJVM/bin/java [2025-06-13T05:47:58.744Z] STF 05:47:58.008 - | Mnemonic: OT14 [2025-06-13T05:47:58.744Z] STF 05:47:58.008 - | Echo: ECHO_ON [2025-06-13T05:47:58.744Z] STF 05:47:58.008 - | Expectation: CLEAN_RUN within 1m [2025-06-13T05:47:58.744Z] STF 05:47:58.008 - | [2025-06-13T05:47:58.744Z] STF 05:47:58.009 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17497918292773/UpgModPath_ExpImg_0/20250613-054750-UpgModPathTest/tmp/6.UpJVM/bin/java --add-reads com.test=ALL-UNNAMED --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 -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:58.744Z] STF 05:47:58.009 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17497918292773/UpgModPath_ExpImg_0/20250613-054750-UpgModPathTest/results/7.OT14.stderr [2025-06-13T05:47:58.744Z] STF 05:47:58.009 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17497918292773/UpgModPath_ExpImg_0/20250613-054750-UpgModPathTest/results/7.OT14.stdout [2025-06-13T05:47:58.744Z] STF 05:47:58.038 - Monitoring processes: OT14 [2025-06-13T05:47:58.744Z] OT14 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-06-13T05:47:58.744Z] OT14 JUnit version 4.12 [2025-06-13T05:47:58.744Z] OT14 . [2025-06-13T05:47:58.744Z] OT14 Time: 0.015 [2025-06-13T05:47:58.744Z] OT14 [2025-06-13T05:47:58.744Z] OT14 OK (1 test) [2025-06-13T05:47:58.744Z] OT14 [2025-06-13T05:47:58.744Z] STF 05:47:58.411 - Monitoring Report Summary: [2025-06-13T05:47:58.744Z] STF 05:47:58.411 - o Process OT14 ended with the expected exit code (0) [2025-06-13T05:47:58.744Z] STF 05:47:58.412 - [2025-06-13T05:47:58.744Z] STF 05:47:58.412 - +------ Step 8 - (Negative test) Override a non-upgradable platform module using a custom runtime image [2025-06-13T05:47:58.744Z] STF 05:47:58.412 - | Run foreground process [2025-06-13T05:47:58.744Z] STF 05:47:58.412 - | Program: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17497918292773/UpgModPath_ExpImg_0/20250613-054750-UpgModPathTest/tmp/6.UpJVM/bin/java [2025-06-13T05:47:58.744Z] STF 05:47:58.412 - | Mnemonic: OT16 [2025-06-13T05:47:58.744Z] STF 05:47:58.412 - | Echo: ECHO_ON [2025-06-13T05:47:58.744Z] STF 05:47:58.412 - | Expectation: NON_ZERO_EXIT [1] within 1m [2025-06-13T05:47:58.744Z] STF 05:47:58.412 - | [2025-06-13T05:47:58.744Z] STF 05:47:58.413 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17497918292773/UpgModPath_ExpImg_0/20250613-054750-UpgModPathTest/tmp/6.UpJVM/bin/java --add-reads com.test=ALL-UNNAMED --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 -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:58.744Z] STF 05:47:58.413 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17497918292773/UpgModPath_ExpImg_0/20250613-054750-UpgModPathTest/results/8.OT16.stderr [2025-06-13T05:47:58.744Z] STF 05:47:58.413 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17497918292773/UpgModPath_ExpImg_0/20250613-054750-UpgModPathTest/results/8.OT16.stdout [2025-06-13T05:47:58.744Z] STF 05:47:58.421 - Monitoring processes: OT16 [2025-06-13T05:47:58.744Z] OT16 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-06-13T05:47:58.744Z] OT16 Error occurred during initialization of boot layer [2025-06-13T05:47:58.744Z] OT16 java.lang.module.FindException: Unable to compute the hash of module java.logging [2025-06-13T05:47:58.744Z] STF 05:47:58.620 - Monitoring Report Summary: [2025-06-13T05:47:58.744Z] STF 05:47:58.621 - o Process OT16 ended with the expected exit code (1) [2025-06-13T05:47:58.744Z] STF 05:47:58.621 - [2025-06-13T05:47:58.744Z] STF 05:47:58.621 - +------ Step 9 - Combine stderr and stdout files of process OT16 [2025-06-13T05:47:58.744Z] STF 05:47:58.621 - | Run foreground process [2025-06-13T05:47:58.744Z] STF 05:47:58.622 - | Program: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/java [2025-06-13T05:47:58.744Z] STF 05:47:58.622 - | Mnemonic: CO [2025-06-13T05:47:58.744Z] STF 05:47:58.622 - | Echo: ECHO_OFF [2025-06-13T05:47:58.744Z] STF 05:47:58.622 - | Expectation: NON_ZERO_EXIT [0] within 5m [2025-06-13T05:47:58.744Z] STF 05:47:58.622 - | [2025-06-13T05:47:58.744Z] STF 05:47:58.622 - 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_ExpImg_0/20250613-054750-UpgModPathTest/results/8.OT16.stdout -Dfile2=C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17497918292773/UpgModPath_ExpImg_0/20250613-054750-UpgModPathTest/results/8.OT16.stderr -Dfinal.file=C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\aqa-tests\TKG\output_17497918292773\UpgModPath_ExpImg_0\20250613-054750-UpgModPathTest\results\combinedOT16.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:58.744Z] STF 05:47:58.622 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17497918292773/UpgModPath_ExpImg_0/20250613-054750-UpgModPathTest/results/9.CO.stderr [2025-06-13T05:47:58.744Z] STF 05:47:58.622 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17497918292773/UpgModPath_ExpImg_0/20250613-054750-UpgModPathTest/results/9.CO.stdout [2025-06-13T05:47:58.744Z] STF 05:47:58.630 - Monitoring processes: CO [2025-06-13T05:47:59.037Z] STF 05:47:58.838 - Monitoring Report Summary: [2025-06-13T05:47:59.037Z] STF 05:47:58.838 - o Process CO ended with the expected exit code (0) [2025-06-13T05:47:59.037Z] STF 05:47:58.839 - [2025-06-13T05:47:59.037Z] STF 05:47:58.839 - +------ Step 10 - Check output [2025-06-13T05:47:59.037Z] STF 05:47:58.839 - | Count file matches [2025-06-13T05:47:59.037Z] STF 05:47:58.839 - | TargetFile: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17497918292773/UpgModPath_ExpImg_0/20250613-054750-UpgModPathTest/results/combinedOT16.txt [2025-06-13T05:47:59.037Z] STF 05:47:58.839 - | ExpectedNumMatches: 1 [2025-06-13T05:47:59.037Z] STF 05:47:58.839 - | SearchStrings: ["FindException: Unable to compute the hash of module java.logging"] [2025-06-13T05:47:59.037Z] STF 05:47:58.839 - | [2025-06-13T05:47:59.037Z] STF 05:47:58.841 - Found 1 instances of ["FindException: Unable to compute the hash of module java.logging"] [2025-06-13T05:47:59.037Z] STF 05:47:58.841 - EXECUTE stage completed [2025-06-13T05:47:59.037Z] STF 05:47:58.884 - [2025-06-13T05:47:59.037Z] STF 05:47:58.884 - ==================== T E A R D O W N ==================== [2025-06-13T05:47:59.037Z] STF 05:47:58.884 - Running teardown: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17497918292773\UpgModPath_ExpImg_0/20250613-054750-UpgModPathTest/tearDown.pl [2025-06-13T05:47:59.328Z] STF 05:47:59.257 - TEARDOWN stage completed [2025-06-13T05:47:59.328Z] STF 05:47:59.285 - [2025-06-13T05:47:59.328Z] STF 05:47:59.285 - ===================== R E S U L T S ===================== [2025-06-13T05:47:59.328Z] STF 05:47:59.285 - Stage results: [2025-06-13T05:47:59.328Z] STF 05:47:59.285 - setUp: pass [2025-06-13T05:47:59.328Z] STF 05:47:59.285 - execute: pass [2025-06-13T05:47:59.328Z] STF 05:47:59.285 - teardown: pass [2025-06-13T05:47:59.328Z] STF 05:47:59.285 - [2025-06-13T05:47:59.328Z] STF 05:47:59.285 - Overall result: PASSED [2025-06-13T05:47:59.328Z] ----------------------------------- [2025-06-13T05:47:59.328Z] UpgModPath_ExpImg_0_PASSED [2025-06-13T05:47:59.328Z] ----------------------------------- [2025-06-13T05:47:59.619Z] [2025-06-13T05:47:59.619Z] TEST TEARDOWN: [2025-06-13T05:47:59.619Z] Nothing to be done for teardown. [2025-06-13T05:47:59.910Z] UpgModPath_ExpImg_0 Finish Time: Fri Jun 13 05:47:59 2025 Epoch Time (ms): 1749793679694