UpgModPath_ExpImg_0

[2025-05-16T13:10:52.728Z] Running test UpgModPath_ExpImg_0 ... [2025-05-16T13:10:52.728Z] =============================================== [2025-05-16T13:10:53.056Z] UpgModPath_ExpImg_0 Start Time: Fri May 16 13:10:52 2025 Epoch Time (ms): 1747401052926 [2025-05-16T13:10:53.357Z] variation: Mode150 [2025-05-16T13:10:53.357Z] JVM_OPTIONS: -XX:+UseCompressedOops [2025-05-16T13:10:53.357Z] { \ [2025-05-16T13:10:53.357Z] echo ""; echo "TEST SETUP:"; \ [2025-05-16T13:10:53.358Z] echo "Nothing to be done for setup."; \ [2025-05-16T13:10:53.358Z] mkdir -p "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/\\TKG\\output_17473985406281\\UpgModPath_ExpImg_0"; \ [2025-05-16T13:10:53.358Z] cd "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/\\TKG\\output_17473985406281\\UpgModPath_ExpImg_0"; \ [2025-05-16T13:10:53.358Z] echo ""; echo "TESTING:"; \ [2025-05-16T13:10:53.358Z] perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/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_0/aqa-tests///..//jvmtest\\system\\modularity/../\\STF;C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests///..//jvmtest\\system\\modularity/../\\aqa-systemtest""" -systemtest-prereqs="C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/../../testDependency/system_lib\\" -java-args=' -XX:+UseCompressedOops ' -results-root="C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/\\TKG\\output_17473985406281\\UpgModPath_ExpImg_0" -test=UpgModPathTest -test-args="variant=ExpImg"; \ [2025-05-16T13:10:53.358Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "UpgModPath_ExpImg_0""_PASSED"; echo "-----------------------------------"; cd C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/; rm -f -r "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/\\TKG\\output_17473985406281\\UpgModPath_ExpImg_0"; else echo "-----------------------------------"; echo "UpgModPath_ExpImg_0""_FAILED"; echo "-----------------------------------"; fi; \ [2025-05-16T13:10:53.358Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-05-16T13:10:53.358Z] echo "Nothing to be done for teardown."; \ [2025-05-16T13:10:53.358Z] } 2>&1 | tee -a "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/\\TKG\\output_17473985406281\\TestTargetResult"; [2025-05-16T13:10:53.659Z] [2025-05-16T13:10:53.659Z] TEST SETUP: [2025-05-16T13:10:53.659Z] Nothing to be done for setup. [2025-05-16T13:10:53.659Z] [2025-05-16T13:10:53.659Z] TESTING: [2025-05-16T13:10:54.311Z] STF 13:10:53.926 - ========================= S T F ========================= [2025-05-16T13:10:54.312Z] 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_0/aqa-tests/\TKG\output_17473985406281\UpgModPath_ExpImg_0 [2025-05-16T13:10:54.312Z] There is 21482 Mb free [2025-05-16T13:10:54.312Z] STF 13:10:54.002 - ================== G E N E R A T I O N ================== [2025-05-16T13:10:54.312Z] STF 13:10:54.007 - Checking JVM: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/jdkbinary/j2sdk-image [2025-05-16T13:10:54.312Z] STF 13:10:54.008 - Starting process to generate scripts: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/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_0/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_0/../../testDependency/system_lib\/asm/asm.jar;C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/../../testDependency/system_lib\/asm/asm-commons.jar;C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/../../testDependency/system_lib\/log4j/log4j-api.jar;C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/../../testDependency/system_lib\/log4j/log4j-core.jar;C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/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_0/aqa-tests/\TKG\output_17473985406281\UpgModPath_ExpImg_0/20250516-131053-UpgModPathTest/stf_parameters.properties, , C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/\TKG\output_17473985406281\UpgModPath_ExpImg_0/20250516-131053-UpgModPathTest" [2025-05-16T13:10:54.312Z] GEN stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-05-16T13:10:55.375Z] GEN 13:10:55.191 - Found test. Project: 'openjdk.test.modularity' class: 'UpgModPathTest.class' Dir: 'C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin' [2025-05-16T13:10:55.375Z] GEN 13:10:55.207 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.UpgModPathTest' [2025-05-16T13:10:55.675Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2025-05-16T13:10:55.675Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayService [2025-05-16T13:10:55.675Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper [2025-05-16T13:10:55.675Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl1 [2025-05-16T13:10:55.675Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet [2025-05-16T13:10:55.675Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello [2025-05-16T13:10:55.675Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola [2025-05-16T13:10:55.675Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl2 [2025-05-16T13:10:55.675Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hi [2025-05-16T13:10:55.675Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override [2025-05-16T13:10:55.675Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override-new [2025-05-16T13:10:55.675Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl3 [2025-05-16T13:10:55.675Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl4 [2025-05-16T13:10:55.675Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common [2025-05-16T13:10:55.675Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests [2025-05-16T13:10:55.675Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin [2025-05-16T13:10:55.675Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\\jvmtest\\system\\STF\\stf.core\\bin [2025-05-16T13:10:55.675Z] GEN C:/Users/jenkins/testDependency/system_lib/log4j/log4j-api.jar [2025-05-16T13:10:55.675Z] GEN C:/Users/jenkins/testDependency/system_lib/log4j/log4j-core.jar [2025-05-16T13:10:55.675Z] GEN C:/Users/jenkins/testDependency/system_lib/junit/junit.jar [2025-05-16T13:10:55.675Z] GEN 13:10:55.457 - Using Mode NoOptions. Values = '' [2025-05-16T13:10:55.675Z] GEN 13:10:55.582 - [2025-05-16T13:10:55.675Z] GEN 13:10:55.582 - Test command summary: [2025-05-16T13:10:55.675Z] GEN 13:10:55.582 - Step Stage Command Description [2025-05-16T13:10:55.675Z] GEN 13:10:55.582 - -----+--------+-----------------+------------ [2025-05-16T13:10:55.675Z] GEN 13:10:55.582 - 1 execute jar Create com.hello jar [2025-05-16T13:10:55.675Z] GEN 13:10:55.582 - 2 execute jar Create com.hola jar [2025-05-16T13:10:55.675Z] GEN 13:10:55.582 - 3 execute jar Create com.helper jar [2025-05-16T13:10:55.675Z] GEN 13:10:55.582 - 4 execute jar Create com.discreet jar [2025-05-16T13:10:55.675Z] GEN 13:10:55.582 - 5 execute jar Create tests jar [2025-05-16T13:10:55.675Z] GEN 13:10:55.582 - 6 execute jlink Create runtime image for upgrademodulepath test [2025-05-16T13:10:55.675Z] GEN 13:10:55.582 - 7 execute Run java Override an application module using a custom runtime image [2025-05-16T13:10:55.675Z] GEN 13:10:55.582 - 8 execute Run java (Negative test) Override a non-upgradable platform module using a custom runtime image [2025-05-16T13:10:55.675Z] GEN 13:10:55.582 - 9 execute Run java Combine stderr and stdout files of process OT16 [2025-05-16T13:10:55.675Z] GEN 13:10:55.582 - 10 execute count Check output [2025-05-16T13:10:55.675Z] STF 13:10:55.618 - [2025-05-16T13:10:55.675Z] STF 13:10:55.618 - Script generation completed [2025-05-16T13:10:55.675Z] STF 13:10:55.618 - [2025-05-16T13:10:55.675Z] STF 13:10:55.620 - [2025-05-16T13:10:55.675Z] STF 13:10:55.620 - ======================= S E T U P ======================= [2025-05-16T13:10:55.675Z] STF 13:10:55.620 - Running setup: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/\TKG\output_17473985406281\UpgModPath_ExpImg_0/20250516-131053-UpgModPathTest/setUp.pl [2025-05-16T13:10:56.324Z] STF 13:10:55.988 - SETUP stage completed [2025-05-16T13:10:56.324Z] STF 13:10:56.016 - [2025-05-16T13:10:56.324Z] STF 13:10:56.016 - ==================== E X E C U T E - ==================== [2025-05-16T13:10:56.324Z] STF 13:10:56.016 - Running execute: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/\TKG\output_17473985406281\UpgModPath_ExpImg_0/20250516-131053-UpgModPathTest/execute.pl [2025-05-16T13:10:56.624Z] STF 13:10:56.395 - [2025-05-16T13:10:56.624Z] STF 13:10:56.395 - Java version [2025-05-16T13:10:56.624Z] STF 13:10:56.395 - Running: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/jdkbinary/j2sdk-image/bin/java -version [2025-05-16T13:10:56.624Z] Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-05-16T13:10:56.624Z] openjdk version "21.0.8-beta" 2025-07-15 [2025-05-16T13:10:56.624Z] OpenJDK Runtime Environment Temurin-21.0.8+3-202505160832 (build 21.0.8-beta+3-ea) [2025-05-16T13:10:56.624Z] OpenJDK 64-Bit Server VM Temurin-21.0.8+3-202505160832 (build 21.0.8-beta+3-ea, mixed mode) [2025-05-16T13:10:56.624Z] STF 13:10:56.522 - [2025-05-16T13:10:56.624Z] STF 13:10:56.522 - +------ Step 1 - Create com.hello jar [2025-05-16T13:10:56.624Z] STF 13:10:56.522 - | Create modular jar [2025-05-16T13:10:56.624Z] STF 13:10:56.522 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2025-05-16T13:10:56.624Z] STF 13:10:56.522 - | ModuleVersion: null [2025-05-16T13:10:56.624Z] STF 13:10:56.522 - | MainClass: null [2025-05-16T13:10:56.624Z] STF 13:10:56.522 - | HashModules: null [2025-05-16T13:10:56.624Z] STF 13:10:56.522 - | [2025-05-16T13:10:56.624Z] STF 13:10:56.523 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17473985406281/UpgModPath_ExpImg_0/20250516-131053-UpgModPathTest/modules/1.com.hello.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello . [2025-05-16T13:10:56.624Z] STF 13:10:56.524 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17473985406281/UpgModPath_ExpImg_0/20250516-131053-UpgModPathTest/results/1.CMJ.stderr [2025-05-16T13:10:56.625Z] STF 13:10:56.524 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17473985406281/UpgModPath_ExpImg_0/20250516-131053-UpgModPathTest/results/1.CMJ.stdout [2025-05-16T13:10:56.625Z] STF 13:10:56.591 - Monitoring processes: CMJ [2025-05-16T13:10:56.925Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-05-16T13:10:57.226Z] STF 13:10:57.009 - Monitoring Report Summary: [2025-05-16T13:10:57.226Z] STF 13:10:57.009 - o Process CMJ ended with the expected exit code (0) [2025-05-16T13:10:57.226Z] STF 13:10:57.010 - Created modular jar: 1.com.hello.jar [2025-05-16T13:10:57.226Z] STF 13:10:57.010 - [2025-05-16T13:10:57.226Z] STF 13:10:57.010 - +------ Step 2 - Create com.hola jar [2025-05-16T13:10:57.226Z] STF 13:10:57.010 - | Create modular jar [2025-05-16T13:10:57.226Z] STF 13:10:57.010 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2025-05-16T13:10:57.226Z] STF 13:10:57.010 - | ModuleVersion: null [2025-05-16T13:10:57.226Z] STF 13:10:57.010 - | MainClass: null [2025-05-16T13:10:57.226Z] STF 13:10:57.010 - | HashModules: null [2025-05-16T13:10:57.226Z] STF 13:10:57.010 - | [2025-05-16T13:10:57.226Z] STF 13:10:57.011 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17473985406281/UpgModPath_ExpImg_0/20250516-131053-UpgModPathTest/modules/2.com.hola.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola . [2025-05-16T13:10:57.226Z] STF 13:10:57.011 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17473985406281/UpgModPath_ExpImg_0/20250516-131053-UpgModPathTest/results/2.CMJ.stderr [2025-05-16T13:10:57.226Z] STF 13:10:57.011 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17473985406281/UpgModPath_ExpImg_0/20250516-131053-UpgModPathTest/results/2.CMJ.stdout [2025-05-16T13:10:57.226Z] STF 13:10:57.019 - Monitoring processes: CMJ [2025-05-16T13:10:57.226Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-05-16T13:10:57.527Z] STF 13:10:57.429 - Monitoring Report Summary: [2025-05-16T13:10:57.527Z] STF 13:10:57.429 - o Process CMJ ended with the expected exit code (0) [2025-05-16T13:10:57.527Z] STF 13:10:57.430 - Created modular jar: 2.com.hola.jar [2025-05-16T13:10:57.527Z] STF 13:10:57.430 - [2025-05-16T13:10:57.527Z] STF 13:10:57.430 - +------ Step 3 - Create com.helper jar [2025-05-16T13:10:57.527Z] STF 13:10:57.430 - | Create modular jar [2025-05-16T13:10:57.527Z] STF 13:10:57.430 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2025-05-16T13:10:57.527Z] STF 13:10:57.430 - | ModuleVersion: null [2025-05-16T13:10:57.527Z] STF 13:10:57.430 - | MainClass: null [2025-05-16T13:10:57.527Z] STF 13:10:57.430 - | HashModules: null [2025-05-16T13:10:57.527Z] STF 13:10:57.430 - | [2025-05-16T13:10:57.527Z] STF 13:10:57.431 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17473985406281/UpgModPath_ExpImg_0/20250516-131053-UpgModPathTest/modules/3.com.helper.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper . [2025-05-16T13:10:57.527Z] STF 13:10:57.431 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17473985406281/UpgModPath_ExpImg_0/20250516-131053-UpgModPathTest/results/3.CMJ.stderr [2025-05-16T13:10:57.527Z] STF 13:10:57.431 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17473985406281/UpgModPath_ExpImg_0/20250516-131053-UpgModPathTest/results/3.CMJ.stdout [2025-05-16T13:10:57.527Z] STF 13:10:57.439 - Monitoring processes: CMJ [2025-05-16T13:10:57.527Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-05-16T13:10:58.178Z] STF 13:10:57.866 - Monitoring Report Summary: [2025-05-16T13:10:58.178Z] STF 13:10:57.867 - o Process CMJ ended with the expected exit code (0) [2025-05-16T13:10:58.178Z] STF 13:10:57.867 - Created modular jar: 3.com.helper.jar [2025-05-16T13:10:58.178Z] STF 13:10:57.867 - [2025-05-16T13:10:58.178Z] STF 13:10:57.867 - +------ Step 4 - Create com.discreet jar [2025-05-16T13:10:58.178Z] STF 13:10:57.868 - | Create modular jar [2025-05-16T13:10:58.178Z] STF 13:10:57.868 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2025-05-16T13:10:58.178Z] STF 13:10:57.868 - | ModuleVersion: null [2025-05-16T13:10:58.178Z] STF 13:10:57.868 - | MainClass: null [2025-05-16T13:10:58.178Z] STF 13:10:57.868 - | HashModules: null [2025-05-16T13:10:58.178Z] STF 13:10:57.868 - | [2025-05-16T13:10:58.178Z] STF 13:10:57.868 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17473985406281/UpgModPath_ExpImg_0/20250516-131053-UpgModPathTest/modules/4.com.discreet.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet . [2025-05-16T13:10:58.178Z] STF 13:10:57.868 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17473985406281/UpgModPath_ExpImg_0/20250516-131053-UpgModPathTest/results/4.CMJ.stderr [2025-05-16T13:10:58.178Z] STF 13:10:57.868 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17473985406281/UpgModPath_ExpImg_0/20250516-131053-UpgModPathTest/results/4.CMJ.stdout [2025-05-16T13:10:58.178Z] STF 13:10:57.876 - Monitoring processes: CMJ [2025-05-16T13:10:58.178Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-05-16T13:10:58.478Z] STF 13:10:58.273 - Monitoring Report Summary: [2025-05-16T13:10:58.478Z] STF 13:10:58.273 - o Process CMJ ended with the expected exit code (0) [2025-05-16T13:10:58.478Z] STF 13:10:58.275 - Created modular jar: 4.com.discreet.jar [2025-05-16T13:10:58.478Z] STF 13:10:58.275 - [2025-05-16T13:10:58.478Z] STF 13:10:58.275 - +------ Step 5 - Create tests jar [2025-05-16T13:10:58.478Z] STF 13:10:58.275 - | Create modular jar [2025-05-16T13:10:58.478Z] STF 13:10:58.275 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2025-05-16T13:10:58.478Z] STF 13:10:58.275 - | ModuleVersion: null [2025-05-16T13:10:58.478Z] STF 13:10:58.275 - | MainClass: null [2025-05-16T13:10:58.478Z] STF 13:10:58.275 - | HashModules: null [2025-05-16T13:10:58.478Z] STF 13:10:58.275 - | [2025-05-16T13:10:58.478Z] STF 13:10:58.276 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17473985406281/UpgModPath_ExpImg_0/20250516-131053-UpgModPathTest/modules/5.com.test.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests\com.test . [2025-05-16T13:10:58.478Z] STF 13:10:58.276 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17473985406281/UpgModPath_ExpImg_0/20250516-131053-UpgModPathTest/results/5.CMJ.stderr [2025-05-16T13:10:58.478Z] STF 13:10:58.276 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17473985406281/UpgModPath_ExpImg_0/20250516-131053-UpgModPathTest/results/5.CMJ.stdout [2025-05-16T13:10:58.478Z] STF 13:10:58.288 - Monitoring processes: CMJ [2025-05-16T13:10:58.478Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-05-16T13:10:59.131Z] STF 13:10:58.739 - Monitoring Report Summary: [2025-05-16T13:10:59.131Z] STF 13:10:58.739 - o Process CMJ ended with the expected exit code (0) [2025-05-16T13:10:59.131Z] STF 13:10:58.740 - Created modular jar: 5.com.test.jar [2025-05-16T13:10:59.131Z] STF 13:10:58.740 - [2025-05-16T13:10:59.131Z] STF 13:10:58.740 - +------ Step 6 - Create runtime image for upgrademodulepath test [2025-05-16T13:10:59.131Z] STF 13:10:58.740 - | Run jlink to create runtime image [2025-05-16T13:10:59.131Z] STF 13:10:58.740 - | ImageName: UpJVM [2025-05-16T13:10:59.131Z] STF 13:10:58.740 - | [2025-05-16T13:10:59.131Z] STF 13:10:58.741 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/jdkbinary/j2sdk-image/bin/jlink --module-path C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\jdkbinary\j2sdk-image\jmods;C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\aqa-tests\TKG\output_17473985406281\UpgModPath_ExpImg_0\20250516-131053-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_0\aqa-tests\TKG\output_17473985406281\UpgModPath_ExpImg_0\20250516-131053-UpgModPathTest\tmp\6.UpJVM [2025-05-16T13:10:59.131Z] STF 13:10:58.741 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17473985406281/UpgModPath_ExpImg_0/20250516-131053-UpgModPathTest/results/6.JLNK.stderr [2025-05-16T13:10:59.131Z] STF 13:10:58.741 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17473985406281/UpgModPath_ExpImg_0/20250516-131053-UpgModPathTest/results/6.JLNK.stdout [2025-05-16T13:10:59.131Z] STF 13:10:58.748 - Monitoring processes: JLNK [2025-05-16T13:10:59.131Z] JLNK stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-05-16T13:11:01.245Z] STF 13:11:01.044 - Monitoring Report Summary: [2025-05-16T13:11:01.245Z] STF 13:11:01.044 - o Process JLNK ended with the expected exit code (0) [2025-05-16T13:11:01.245Z] STF 13:11:01.045 - [2025-05-16T13:11:01.245Z] STF 13:11:01.045 - +------ Step 7 - Override an application module using a custom runtime image [2025-05-16T13:11:01.245Z] STF 13:11:01.045 - | Run foreground process [2025-05-16T13:11:01.245Z] STF 13:11:01.045 - | Program: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17473985406281/UpgModPath_ExpImg_0/20250516-131053-UpgModPathTest/tmp/6.UpJVM/bin/java [2025-05-16T13:11:01.245Z] STF 13:11:01.045 - | Mnemonic: OT14 [2025-05-16T13:11:01.245Z] STF 13:11:01.045 - | Echo: ECHO_ON [2025-05-16T13:11:01.245Z] STF 13:11:01.045 - | Expectation: CLEAN_RUN within 1m [2025-05-16T13:11:01.245Z] STF 13:11:01.045 - | [2025-05-16T13:11:01.245Z] STF 13:11:01.046 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17473985406281/UpgModPath_ExpImg_0/20250516-131053-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_0\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-05-16T13:11:01.245Z] STF 13:11:01.046 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17473985406281/UpgModPath_ExpImg_0/20250516-131053-UpgModPathTest/results/7.OT14.stderr [2025-05-16T13:11:01.245Z] STF 13:11:01.046 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17473985406281/UpgModPath_ExpImg_0/20250516-131053-UpgModPathTest/results/7.OT14.stdout [2025-05-16T13:11:01.245Z] STF 13:11:01.077 - Monitoring processes: OT14 [2025-05-16T13:11:01.545Z] OT14 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-05-16T13:11:01.545Z] OT14 JUnit version 4.12 [2025-05-16T13:11:01.845Z] OT14 . [2025-05-16T13:11:01.845Z] OT14 Time: 0 [2025-05-16T13:11:01.845Z] OT14 [2025-05-16T13:11:01.845Z] OT14 OK (1 test) [2025-05-16T13:11:01.845Z] OT14 [2025-05-16T13:11:01.845Z] STF 13:11:01.570 - Monitoring Report Summary: [2025-05-16T13:11:01.845Z] STF 13:11:01.570 - o Process OT14 ended with the expected exit code (0) [2025-05-16T13:11:01.845Z] STF 13:11:01.571 - [2025-05-16T13:11:01.845Z] STF 13:11:01.571 - +------ Step 8 - (Negative test) Override a non-upgradable platform module using a custom runtime image [2025-05-16T13:11:01.845Z] STF 13:11:01.571 - | Run foreground process [2025-05-16T13:11:01.845Z] STF 13:11:01.571 - | Program: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17473985406281/UpgModPath_ExpImg_0/20250516-131053-UpgModPathTest/tmp/6.UpJVM/bin/java [2025-05-16T13:11:01.845Z] STF 13:11:01.571 - | Mnemonic: OT16 [2025-05-16T13:11:01.845Z] STF 13:11:01.571 - | Echo: ECHO_ON [2025-05-16T13:11:01.845Z] STF 13:11:01.571 - | Expectation: NON_ZERO_EXIT [1] within 1m [2025-05-16T13:11:01.845Z] STF 13:11:01.571 - | [2025-05-16T13:11:01.845Z] STF 13:11:01.572 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17473985406281/UpgModPath_ExpImg_0/20250516-131053-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_0\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-05-16T13:11:01.845Z] STF 13:11:01.572 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17473985406281/UpgModPath_ExpImg_0/20250516-131053-UpgModPathTest/results/8.OT16.stderr [2025-05-16T13:11:01.845Z] STF 13:11:01.572 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17473985406281/UpgModPath_ExpImg_0/20250516-131053-UpgModPathTest/results/8.OT16.stdout [2025-05-16T13:11:01.846Z] STF 13:11:01.580 - Monitoring processes: OT16 [2025-05-16T13:11:01.846Z] OT16 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-05-16T13:11:01.846Z] OT16 Error occurred during initialization of boot layer [2025-05-16T13:11:01.846Z] OT16 java.lang.module.FindException: Unable to compute the hash of module java.logging [2025-05-16T13:11:01.846Z] STF 13:11:01.788 - Monitoring Report Summary: [2025-05-16T13:11:01.846Z] STF 13:11:01.788 - o Process OT16 ended with the expected exit code (1) [2025-05-16T13:11:01.846Z] STF 13:11:01.789 - [2025-05-16T13:11:01.846Z] STF 13:11:01.789 - +------ Step 9 - Combine stderr and stdout files of process OT16 [2025-05-16T13:11:01.846Z] STF 13:11:01.789 - | Run foreground process [2025-05-16T13:11:01.846Z] STF 13:11:01.789 - | Program: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/jdkbinary/j2sdk-image/bin/java [2025-05-16T13:11:01.846Z] STF 13:11:01.789 - | Mnemonic: CO [2025-05-16T13:11:01.846Z] STF 13:11:01.789 - | Echo: ECHO_OFF [2025-05-16T13:11:01.846Z] STF 13:11:01.789 - | Expectation: NON_ZERO_EXIT [0] within 5m [2025-05-16T13:11:01.846Z] STF 13:11:01.789 - | [2025-05-16T13:11:01.846Z] STF 13:11:01.790 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/jdkbinary/j2sdk-image/bin/java -Dfile1=C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17473985406281/UpgModPath_ExpImg_0/20250516-131053-UpgModPathTest/results/8.OT16.stdout -Dfile2=C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17473985406281/UpgModPath_ExpImg_0/20250516-131053-UpgModPathTest/results/8.OT16.stderr -Dfinal.file=C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\aqa-tests\TKG\output_17473985406281\UpgModPath_ExpImg_0\20250516-131053-UpgModPathTest\results\combinedOT16.txt -XX:+UseCompressedOops -classpath C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\STF\stf.core\bin;C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin net.adoptopenjdk.test.modularity.TestUtil [2025-05-16T13:11:01.846Z] STF 13:11:01.790 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17473985406281/UpgModPath_ExpImg_0/20250516-131053-UpgModPathTest/results/9.CO.stderr [2025-05-16T13:11:01.846Z] STF 13:11:01.790 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17473985406281/UpgModPath_ExpImg_0/20250516-131053-UpgModPathTest/results/9.CO.stdout [2025-05-16T13:11:01.846Z] STF 13:11:01.798 - Monitoring processes: CO [2025-05-16T13:11:02.146Z] STF 13:11:02.005 - Monitoring Report Summary: [2025-05-16T13:11:02.146Z] STF 13:11:02.005 - o Process CO ended with the expected exit code (0) [2025-05-16T13:11:02.146Z] STF 13:11:02.006 - [2025-05-16T13:11:02.146Z] STF 13:11:02.006 - +------ Step 10 - Check output [2025-05-16T13:11:02.146Z] STF 13:11:02.006 - | Count file matches [2025-05-16T13:11:02.146Z] STF 13:11:02.006 - | TargetFile: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17473985406281/UpgModPath_ExpImg_0/20250516-131053-UpgModPathTest/results/combinedOT16.txt [2025-05-16T13:11:02.146Z] STF 13:11:02.006 - | ExpectedNumMatches: 1 [2025-05-16T13:11:02.146Z] STF 13:11:02.006 - | SearchStrings: ["FindException: Unable to compute the hash of module java.logging"] [2025-05-16T13:11:02.146Z] STF 13:11:02.006 - | [2025-05-16T13:11:02.146Z] STF 13:11:02.022 - Found 1 instances of ["FindException: Unable to compute the hash of module java.logging"] [2025-05-16T13:11:02.146Z] STF 13:11:02.022 - EXECUTE stage completed [2025-05-16T13:11:02.146Z] STF 13:11:02.096 - [2025-05-16T13:11:02.146Z] STF 13:11:02.096 - ==================== T E A R D O W N ==================== [2025-05-16T13:11:02.146Z] STF 13:11:02.096 - Running teardown: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/\TKG\output_17473985406281\UpgModPath_ExpImg_0/20250516-131053-UpgModPathTest/tearDown.pl [2025-05-16T13:11:02.794Z] STF 13:11:02.473 - TEARDOWN stage completed [2025-05-16T13:11:02.794Z] STF 13:11:02.490 - [2025-05-16T13:11:02.794Z] STF 13:11:02.491 - ===================== R E S U L T S ===================== [2025-05-16T13:11:02.794Z] STF 13:11:02.491 - Stage results: [2025-05-16T13:11:02.794Z] STF 13:11:02.491 - setUp: pass [2025-05-16T13:11:02.794Z] STF 13:11:02.491 - execute: pass [2025-05-16T13:11:02.794Z] STF 13:11:02.491 - teardown: pass [2025-05-16T13:11:02.794Z] STF 13:11:02.491 - [2025-05-16T13:11:02.794Z] STF 13:11:02.491 - Overall result: PASSED [2025-05-16T13:11:02.794Z] ----------------------------------- [2025-05-16T13:11:02.794Z] UpgModPath_ExpImg_0_PASSED [2025-05-16T13:11:02.794Z] ----------------------------------- [2025-05-16T13:11:02.794Z] [2025-05-16T13:11:02.794Z] TEST TEARDOWN: [2025-05-16T13:11:02.794Z] Nothing to be done for teardown. [2025-05-16T13:11:03.094Z] UpgModPath_ExpImg_0 Finish Time: Fri May 16 13:11:02 2025 Epoch Time (ms): 1747401062895