UpgModPath_ExpImg_1

[2024-11-28T13:17:37.383Z] Running test UpgModPath_ExpImg_1 ... [2024-11-28T13:17:37.677Z] =============================================== [2024-11-28T13:17:38.043Z] UpgModPath_ExpImg_1 Start Time: Thu Nov 28 13:17:37 2024 Epoch Time (ms): 1732799857814 [2024-11-28T13:17:38.346Z] variation: Mode650 [2024-11-28T13:17:38.641Z] JVM_OPTIONS: -XX:-UseCompressedOops [2024-11-28T13:17:38.641Z] { \ [2024-11-28T13:17:38.641Z] echo ""; echo "TEST SETUP:"; \ [2024-11-28T13:17:38.641Z] echo "Nothing to be done for setup."; \ [2024-11-28T13:17:38.641Z] mkdir -p "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/\\TKG\\output_17327914885516\\UpgModPath_ExpImg_1"; \ [2024-11-28T13:17:38.641Z] cd "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/\\TKG\\output_17327914885516\\UpgModPath_ExpImg_1"; \ [2024-11-28T13:17:38.641Z] echo ""; echo "TESTING:"; \ [2024-11-28T13:17:38.641Z] perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests///..//jvmtest\\system\\modularity/../\\STF\\stf.core\\scripts\\stf.pl -test-root="C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests///..//jvmtest\\system\\modularity/../\\STF;C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests///..//jvmtest\\system\\modularity/../\\aqa-systemtest""" -systemtest-prereqs="C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/../../testDependency/system_lib\\" -java-args=' -XX:-UseCompressedOops ' -results-root="C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/\\TKG\\output_17327914885516\\UpgModPath_ExpImg_1" -test=UpgModPathTest -test-args="variant=ExpImg"; \ [2024-11-28T13:17:38.641Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "UpgModPath_ExpImg_1""_PASSED"; echo "-----------------------------------"; cd C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/; rm -f -r "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/\\TKG\\output_17327914885516\\UpgModPath_ExpImg_1"; else echo "-----------------------------------"; echo "UpgModPath_ExpImg_1""_FAILED"; echo "-----------------------------------"; fi; \ [2024-11-28T13:17:38.641Z] echo ""; echo "TEST TEARDOWN:"; \ [2024-11-28T13:17:38.641Z] echo "Nothing to be done for teardown."; \ [2024-11-28T13:17:38.641Z] } 2>&1 | tee -a "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/\\TKG\\output_17327914885516\\TestTargetResult"; [2024-11-28T13:17:39.089Z] [2024-11-28T13:17:39.089Z] TEST SETUP: [2024-11-28T13:17:39.089Z] Nothing to be done for setup. [2024-11-28T13:17:39.089Z] [2024-11-28T13:17:39.089Z] TESTING: [2024-11-28T13:17:39.404Z] STF 13:17:39.142 - ========================= S T F ========================= [2024-11-28T13:17:39.404Z] 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/aqa-tests/\TKG\output_17327914885516\UpgModPath_ExpImg_1 [2024-11-28T13:17:39.404Z] There is 19741 Mb free [2024-11-28T13:17:39.404Z] STF 13:17:39.217 - ================== G E N E R A T I O N ================== [2024-11-28T13:17:39.404Z] STF 13:17:39.223 - Checking JVM: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/jdkbinary/j2sdk-image [2024-11-28T13:17:39.404Z] STF 13:17:39.223 - Starting process to generate scripts: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/jdkbinary/j2sdk-image/bin/java -Dlog4j.skipJansi=true -Djava.system.class.loader=net.adoptopenjdk.stf.runner.StfClassLoader -classpath C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/../../testDependency/system_lib\/log4j/log4j-api.jar;C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/../../testDependency/system_lib\/log4j/log4j-core.jar;C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/\TKG\output_17327914885516\UpgModPath_ExpImg_1/20241128-131739-UpgModPathTest/stf_parameters.properties, , C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/\TKG\output_17327914885516\UpgModPath_ExpImg_1/20241128-131739-UpgModPathTest" [2024-11-28T13:17:39.404Z] GEN stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-28T13:17:40.935Z] GEN 13:17:40.454 - Found test. Project: 'openjdk.test.modularity' class: 'UpgModPathTest.class' Dir: 'C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin' [2024-11-28T13:17:40.935Z] GEN 13:17:40.470 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.UpgModPathTest' [2024-11-28T13:17:40.935Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2024-11-28T13:17:40.935Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayService [2024-11-28T13:17:40.935Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper [2024-11-28T13:17:40.935Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl1 [2024-11-28T13:17:40.935Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet [2024-11-28T13:17:40.935Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello [2024-11-28T13:17:40.935Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola [2024-11-28T13:17:40.935Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl2 [2024-11-28T13:17:40.935Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hi [2024-11-28T13:17:40.935Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override [2024-11-28T13:17:40.935Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override-new [2024-11-28T13:17:40.935Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl3 [2024-11-28T13:17:40.935Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl4 [2024-11-28T13:17:40.935Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common [2024-11-28T13:17:40.935Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests [2024-11-28T13:17:40.936Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk21_hs_sanity.system_aarch64_windows\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin [2024-11-28T13:17:40.936Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk21_hs_sanity.system_aarch64_windows\\jvmtest\\system\\STF\\stf.core\\bin [2024-11-28T13:17:40.936Z] GEN C:/Users/jenkins/testDependency/system_lib/log4j/log4j-api.jar [2024-11-28T13:17:40.936Z] GEN C:/Users/jenkins/testDependency/system_lib/log4j/log4j-core.jar [2024-11-28T13:17:40.936Z] GEN C:/Users/jenkins/testDependency/system_lib/junit/junit.jar [2024-11-28T13:17:40.936Z] GEN 13:17:40.704 - Using Mode NoOptions. Values = '' [2024-11-28T13:17:40.936Z] GEN 13:17:40.829 - [2024-11-28T13:17:40.936Z] GEN 13:17:40.829 - Test command summary: [2024-11-28T13:17:40.936Z] GEN 13:17:40.829 - Step Stage Command Description [2024-11-28T13:17:40.936Z] GEN 13:17:40.829 - -----+--------+-----------------+------------ [2024-11-28T13:17:40.936Z] GEN 13:17:40.829 - 1 execute jar Create com.hello jar [2024-11-28T13:17:40.936Z] GEN 13:17:40.829 - 2 execute jar Create com.hola jar [2024-11-28T13:17:40.936Z] GEN 13:17:40.829 - 3 execute jar Create com.helper jar [2024-11-28T13:17:40.936Z] GEN 13:17:40.829 - 4 execute jar Create com.discreet jar [2024-11-28T13:17:40.936Z] GEN 13:17:40.829 - 5 execute jar Create tests jar [2024-11-28T13:17:40.936Z] GEN 13:17:40.829 - 6 execute jlink Create runtime image for upgrademodulepath test [2024-11-28T13:17:40.936Z] GEN 13:17:40.829 - 7 execute Run java Override an application module using a custom runtime image [2024-11-28T13:17:40.936Z] GEN 13:17:40.829 - 8 execute Run java (Negative test) Override a non-upgradable platform module using a custom runtime image [2024-11-28T13:17:40.936Z] GEN 13:17:40.829 - 9 execute Run java Combine stderr and stdout files of process OT16 [2024-11-28T13:17:40.936Z] GEN 13:17:40.829 - 10 execute count Check output [2024-11-28T13:17:40.936Z] STF 13:17:40.898 - [2024-11-28T13:17:40.936Z] STF 13:17:40.898 - Script generation completed [2024-11-28T13:17:40.936Z] STF 13:17:40.898 - [2024-11-28T13:17:40.936Z] STF 13:17:40.901 - [2024-11-28T13:17:40.936Z] STF 13:17:40.901 - ======================= S E T U P ======================= [2024-11-28T13:17:40.936Z] STF 13:17:40.901 - Running setup: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/\TKG\output_17327914885516\UpgModPath_ExpImg_1/20241128-131739-UpgModPathTest/setUp.pl [2024-11-28T13:17:41.586Z] STF 13:17:41.267 - SETUP stage completed [2024-11-28T13:17:41.586Z] STF 13:17:41.315 - [2024-11-28T13:17:41.586Z] STF 13:17:41.315 - ==================== E X E C U T E - ==================== [2024-11-28T13:17:41.586Z] STF 13:17:41.316 - Running execute: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/\TKG\output_17327914885516\UpgModPath_ExpImg_1/20241128-131739-UpgModPathTest/execute.pl [2024-11-28T13:17:41.893Z] STF 13:17:41.704 - [2024-11-28T13:17:41.893Z] STF 13:17:41.705 - Java version [2024-11-28T13:17:41.893Z] STF 13:17:41.705 - Running: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/jdkbinary/j2sdk-image/bin/java -version [2024-11-28T13:17:41.893Z] Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-28T13:17:41.893Z] openjdk version "21.0.6-beta" 2025-01-21 [2024-11-28T13:17:41.893Z] OpenJDK Runtime Environment Temurin-21.0.6+5-202411272010 (build 21.0.6-beta+5-ea) [2024-11-28T13:17:41.893Z] OpenJDK 64-Bit Server VM Temurin-21.0.6+5-202411272010 (build 21.0.6-beta+5-ea, mixed mode) [2024-11-28T13:17:42.202Z] STF 13:17:41.837 - [2024-11-28T13:17:42.202Z] STF 13:17:41.837 - +------ Step 1 - Create com.hello jar [2024-11-28T13:17:42.202Z] STF 13:17:41.838 - | Create modular jar [2024-11-28T13:17:42.202Z] STF 13:17:41.838 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2024-11-28T13:17:42.202Z] STF 13:17:41.838 - | ModuleVersion: null [2024-11-28T13:17:42.202Z] STF 13:17:41.838 - | MainClass: null [2024-11-28T13:17:42.202Z] STF 13:17:41.838 - | HashModules: null [2024-11-28T13:17:42.202Z] STF 13:17:41.838 - | [2024-11-28T13:17:42.202Z] STF 13:17:41.839 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17327914885516/UpgModPath_ExpImg_1/20241128-131739-UpgModPathTest/modules/1.com.hello.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello . [2024-11-28T13:17:42.202Z] STF 13:17:41.839 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17327914885516/UpgModPath_ExpImg_1/20241128-131739-UpgModPathTest/results/1.CMJ.stderr [2024-11-28T13:17:42.202Z] STF 13:17:41.839 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17327914885516/UpgModPath_ExpImg_1/20241128-131739-UpgModPathTest/results/1.CMJ.stdout [2024-11-28T13:17:42.202Z] STF 13:17:41.908 - Monitoring processes: CMJ [2024-11-28T13:17:42.202Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-28T13:17:42.510Z] STF 13:17:42.332 - Monitoring Report Summary: [2024-11-28T13:17:42.510Z] STF 13:17:42.332 - o Process CMJ ended with the expected exit code (0) [2024-11-28T13:17:42.510Z] STF 13:17:42.333 - Created modular jar: 1.com.hello.jar [2024-11-28T13:17:42.510Z] STF 13:17:42.333 - [2024-11-28T13:17:42.510Z] STF 13:17:42.333 - +------ Step 2 - Create com.hola jar [2024-11-28T13:17:42.510Z] STF 13:17:42.333 - | Create modular jar [2024-11-28T13:17:42.510Z] STF 13:17:42.333 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2024-11-28T13:17:42.510Z] STF 13:17:42.333 - | ModuleVersion: null [2024-11-28T13:17:42.510Z] STF 13:17:42.333 - | MainClass: null [2024-11-28T13:17:42.510Z] STF 13:17:42.333 - | HashModules: null [2024-11-28T13:17:42.510Z] STF 13:17:42.333 - | [2024-11-28T13:17:42.510Z] STF 13:17:42.334 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17327914885516/UpgModPath_ExpImg_1/20241128-131739-UpgModPathTest/modules/2.com.hola.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola . [2024-11-28T13:17:42.510Z] STF 13:17:42.334 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17327914885516/UpgModPath_ExpImg_1/20241128-131739-UpgModPathTest/results/2.CMJ.stderr [2024-11-28T13:17:42.510Z] STF 13:17:42.334 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17327914885516/UpgModPath_ExpImg_1/20241128-131739-UpgModPathTest/results/2.CMJ.stdout [2024-11-28T13:17:42.510Z] STF 13:17:42.342 - Monitoring processes: CMJ [2024-11-28T13:17:42.510Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-28T13:17:43.167Z] STF 13:17:42.767 - Monitoring Report Summary: [2024-11-28T13:17:43.167Z] STF 13:17:42.767 - o Process CMJ ended with the expected exit code (0) [2024-11-28T13:17:43.167Z] STF 13:17:42.768 - Created modular jar: 2.com.hola.jar [2024-11-28T13:17:43.167Z] STF 13:17:42.768 - [2024-11-28T13:17:43.167Z] STF 13:17:42.768 - +------ Step 3 - Create com.helper jar [2024-11-28T13:17:43.167Z] STF 13:17:42.768 - | Create modular jar [2024-11-28T13:17:43.167Z] STF 13:17:42.768 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2024-11-28T13:17:43.167Z] STF 13:17:42.768 - | ModuleVersion: null [2024-11-28T13:17:43.167Z] STF 13:17:42.768 - | MainClass: null [2024-11-28T13:17:43.167Z] STF 13:17:42.768 - | HashModules: null [2024-11-28T13:17:43.167Z] STF 13:17:42.768 - | [2024-11-28T13:17:43.167Z] STF 13:17:42.769 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17327914885516/UpgModPath_ExpImg_1/20241128-131739-UpgModPathTest/modules/3.com.helper.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper . [2024-11-28T13:17:43.167Z] STF 13:17:42.769 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17327914885516/UpgModPath_ExpImg_1/20241128-131739-UpgModPathTest/results/3.CMJ.stderr [2024-11-28T13:17:43.167Z] STF 13:17:42.769 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17327914885516/UpgModPath_ExpImg_1/20241128-131739-UpgModPathTest/results/3.CMJ.stdout [2024-11-28T13:17:43.167Z] STF 13:17:42.777 - Monitoring processes: CMJ [2024-11-28T13:17:43.167Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-28T13:17:43.475Z] STF 13:17:43.204 - Monitoring Report Summary: [2024-11-28T13:17:43.475Z] STF 13:17:43.205 - o Process CMJ ended with the expected exit code (0) [2024-11-28T13:17:43.475Z] STF 13:17:43.205 - Created modular jar: 3.com.helper.jar [2024-11-28T13:17:43.475Z] STF 13:17:43.205 - [2024-11-28T13:17:43.475Z] STF 13:17:43.205 - +------ Step 4 - Create com.discreet jar [2024-11-28T13:17:43.475Z] STF 13:17:43.205 - | Create modular jar [2024-11-28T13:17:43.475Z] STF 13:17:43.206 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2024-11-28T13:17:43.475Z] STF 13:17:43.206 - | ModuleVersion: null [2024-11-28T13:17:43.475Z] STF 13:17:43.206 - | MainClass: null [2024-11-28T13:17:43.475Z] STF 13:17:43.206 - | HashModules: null [2024-11-28T13:17:43.475Z] STF 13:17:43.206 - | [2024-11-28T13:17:43.475Z] STF 13:17:43.206 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17327914885516/UpgModPath_ExpImg_1/20241128-131739-UpgModPathTest/modules/4.com.discreet.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet . [2024-11-28T13:17:43.475Z] STF 13:17:43.206 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17327914885516/UpgModPath_ExpImg_1/20241128-131739-UpgModPathTest/results/4.CMJ.stderr [2024-11-28T13:17:43.475Z] STF 13:17:43.206 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17327914885516/UpgModPath_ExpImg_1/20241128-131739-UpgModPathTest/results/4.CMJ.stdout [2024-11-28T13:17:43.475Z] STF 13:17:43.214 - Monitoring processes: CMJ [2024-11-28T13:17:43.475Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-28T13:17:43.785Z] STF 13:17:43.642 - Monitoring Report Summary: [2024-11-28T13:17:43.785Z] STF 13:17:43.642 - o Process CMJ ended with the expected exit code (0) [2024-11-28T13:17:43.785Z] STF 13:17:43.643 - Created modular jar: 4.com.discreet.jar [2024-11-28T13:17:43.785Z] STF 13:17:43.643 - [2024-11-28T13:17:43.785Z] STF 13:17:43.643 - +------ Step 5 - Create tests jar [2024-11-28T13:17:43.785Z] STF 13:17:43.643 - | Create modular jar [2024-11-28T13:17:43.785Z] STF 13:17:43.643 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2024-11-28T13:17:43.785Z] STF 13:17:43.643 - | ModuleVersion: null [2024-11-28T13:17:43.785Z] STF 13:17:43.643 - | MainClass: null [2024-11-28T13:17:43.785Z] STF 13:17:43.643 - | HashModules: null [2024-11-28T13:17:43.785Z] STF 13:17:43.643 - | [2024-11-28T13:17:43.785Z] STF 13:17:43.644 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17327914885516/UpgModPath_ExpImg_1/20241128-131739-UpgModPathTest/modules/5.com.test.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests\com.test . [2024-11-28T13:17:43.785Z] STF 13:17:43.644 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17327914885516/UpgModPath_ExpImg_1/20241128-131739-UpgModPathTest/results/5.CMJ.stderr [2024-11-28T13:17:43.785Z] STF 13:17:43.644 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17327914885516/UpgModPath_ExpImg_1/20241128-131739-UpgModPathTest/results/5.CMJ.stdout [2024-11-28T13:17:43.785Z] STF 13:17:43.652 - Monitoring processes: CMJ [2024-11-28T13:17:43.785Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-28T13:17:44.436Z] STF 13:17:44.129 - Monitoring Report Summary: [2024-11-28T13:17:44.436Z] STF 13:17:44.129 - o Process CMJ ended with the expected exit code (0) [2024-11-28T13:17:44.436Z] STF 13:17:44.130 - Created modular jar: 5.com.test.jar [2024-11-28T13:17:44.436Z] STF 13:17:44.130 - [2024-11-28T13:17:44.436Z] STF 13:17:44.130 - +------ Step 6 - Create runtime image for upgrademodulepath test [2024-11-28T13:17:44.436Z] STF 13:17:44.130 - | Run jlink to create runtime image [2024-11-28T13:17:44.436Z] STF 13:17:44.130 - | ImageName: UpJVM [2024-11-28T13:17:44.436Z] STF 13:17:44.130 - | [2024-11-28T13:17:44.436Z] STF 13:17:44.131 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/jdkbinary/j2sdk-image/bin/jlink --module-path C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\jdkbinary\j2sdk-image\jmods;C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\aqa-tests\TKG\output_17327914885516\UpgModPath_ExpImg_1\20241128-131739-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\aqa-tests\TKG\output_17327914885516\UpgModPath_ExpImg_1\20241128-131739-UpgModPathTest\tmp\6.UpJVM [2024-11-28T13:17:44.436Z] STF 13:17:44.131 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17327914885516/UpgModPath_ExpImg_1/20241128-131739-UpgModPathTest/results/6.JLNK.stderr [2024-11-28T13:17:44.436Z] STF 13:17:44.131 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17327914885516/UpgModPath_ExpImg_1/20241128-131739-UpgModPathTest/results/6.JLNK.stdout [2024-11-28T13:17:44.436Z] STF 13:17:44.139 - Monitoring processes: JLNK [2024-11-28T13:17:44.436Z] JLNK stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-28T13:17:47.250Z] STF 13:17:46.520 - Monitoring Report Summary: [2024-11-28T13:17:47.250Z] STF 13:17:46.520 - o Process JLNK ended with the expected exit code (0) [2024-11-28T13:17:47.250Z] STF 13:17:46.521 - [2024-11-28T13:17:47.250Z] STF 13:17:46.521 - +------ Step 7 - Override an application module using a custom runtime image [2024-11-28T13:17:47.250Z] STF 13:17:46.521 - | Run foreground process [2024-11-28T13:17:47.250Z] STF 13:17:46.521 - | Program: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17327914885516/UpgModPath_ExpImg_1/20241128-131739-UpgModPathTest/tmp/6.UpJVM/bin/java [2024-11-28T13:17:47.250Z] STF 13:17:46.521 - | Mnemonic: OT14 [2024-11-28T13:17:47.250Z] STF 13:17:46.521 - | Echo: ECHO_ON [2024-11-28T13:17:47.250Z] STF 13:17:46.521 - | Expectation: CLEAN_RUN within 1m [2024-11-28T13:17:47.250Z] STF 13:17:46.521 - | [2024-11-28T13:17:47.250Z] STF 13:17:46.522 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17327914885516/UpgModPath_ExpImg_1/20241128-131739-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\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 [2024-11-28T13:17:47.250Z] STF 13:17:46.522 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17327914885516/UpgModPath_ExpImg_1/20241128-131739-UpgModPathTest/results/7.OT14.stderr [2024-11-28T13:17:47.250Z] STF 13:17:46.522 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17327914885516/UpgModPath_ExpImg_1/20241128-131739-UpgModPathTest/results/7.OT14.stdout [2024-11-28T13:17:47.250Z] STF 13:17:46.557 - Monitoring processes: OT14 [2024-11-28T13:17:47.250Z] OT14 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-28T13:17:47.250Z] OT14 JUnit version 4.12 [2024-11-28T13:17:47.250Z] OT14 . [2024-11-28T13:17:47.250Z] OT14 Time: 0 [2024-11-28T13:17:47.250Z] OT14 [2024-11-28T13:17:47.250Z] OT14 OK (1 test) [2024-11-28T13:17:47.250Z] OT14 [2024-11-28T13:17:47.250Z] STF 13:17:47.064 - Monitoring Report Summary: [2024-11-28T13:17:47.250Z] STF 13:17:47.064 - o Process OT14 ended with the expected exit code (0) [2024-11-28T13:17:47.250Z] STF 13:17:47.065 - [2024-11-28T13:17:47.250Z] STF 13:17:47.065 - +------ Step 8 - (Negative test) Override a non-upgradable platform module using a custom runtime image [2024-11-28T13:17:47.250Z] STF 13:17:47.065 - | Run foreground process [2024-11-28T13:17:47.250Z] STF 13:17:47.065 - | Program: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17327914885516/UpgModPath_ExpImg_1/20241128-131739-UpgModPathTest/tmp/6.UpJVM/bin/java [2024-11-28T13:17:47.250Z] STF 13:17:47.065 - | Mnemonic: OT16 [2024-11-28T13:17:47.250Z] STF 13:17:47.065 - | Echo: ECHO_ON [2024-11-28T13:17:47.250Z] STF 13:17:47.065 - | Expectation: NON_ZERO_EXIT [1] within 1m [2024-11-28T13:17:47.250Z] STF 13:17:47.065 - | [2024-11-28T13:17:47.250Z] STF 13:17:47.066 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17327914885516/UpgModPath_ExpImg_1/20241128-131739-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\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 [2024-11-28T13:17:47.250Z] STF 13:17:47.066 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17327914885516/UpgModPath_ExpImg_1/20241128-131739-UpgModPathTest/results/8.OT16.stderr [2024-11-28T13:17:47.250Z] STF 13:17:47.066 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17327914885516/UpgModPath_ExpImg_1/20241128-131739-UpgModPathTest/results/8.OT16.stdout [2024-11-28T13:17:47.250Z] STF 13:17:47.075 - Monitoring processes: OT16 [2024-11-28T13:17:47.250Z] OT16 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-28T13:17:47.566Z] OT16 Error occurred during initialization of boot layer [2024-11-28T13:17:47.566Z] OT16 java.lang.module.FindException: Unable to compute the hash of module java.logging [2024-11-28T13:17:47.566Z] STF 13:17:47.282 - Monitoring Report Summary: [2024-11-28T13:17:47.566Z] STF 13:17:47.282 - o Process OT16 ended with the expected exit code (1) [2024-11-28T13:17:47.566Z] STF 13:17:47.283 - [2024-11-28T13:17:47.566Z] STF 13:17:47.283 - +------ Step 9 - Combine stderr and stdout files of process OT16 [2024-11-28T13:17:47.566Z] STF 13:17:47.283 - | Run foreground process [2024-11-28T13:17:47.566Z] STF 13:17:47.283 - | Program: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/jdkbinary/j2sdk-image/bin/java [2024-11-28T13:17:47.566Z] STF 13:17:47.283 - | Mnemonic: CO [2024-11-28T13:17:47.566Z] STF 13:17:47.283 - | Echo: ECHO_OFF [2024-11-28T13:17:47.566Z] STF 13:17:47.283 - | Expectation: NON_ZERO_EXIT [0] within 5m [2024-11-28T13:17:47.566Z] STF 13:17:47.283 - | [2024-11-28T13:17:47.566Z] STF 13:17:47.283 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/jdkbinary/j2sdk-image/bin/java -Dfile1=C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17327914885516/UpgModPath_ExpImg_1/20241128-131739-UpgModPathTest/results/8.OT16.stdout -Dfile2=C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17327914885516/UpgModPath_ExpImg_1/20241128-131739-UpgModPathTest/results/8.OT16.stderr -Dfinal.file=C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\aqa-tests\TKG\output_17327914885516\UpgModPath_ExpImg_1\20241128-131739-UpgModPathTest\results\combinedOT16.txt -XX:-UseCompressedOops -classpath C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\jvmtest\system\STF\stf.core\bin;C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin net.adoptopenjdk.test.modularity.TestUtil [2024-11-28T13:17:47.566Z] STF 13:17:47.284 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17327914885516/UpgModPath_ExpImg_1/20241128-131739-UpgModPathTest/results/9.CO.stderr [2024-11-28T13:17:47.566Z] STF 13:17:47.284 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17327914885516/UpgModPath_ExpImg_1/20241128-131739-UpgModPathTest/results/9.CO.stdout [2024-11-28T13:17:47.566Z] STF 13:17:47.292 - Monitoring processes: CO [2024-11-28T13:17:47.872Z] STF 13:17:47.516 - Monitoring Report Summary: [2024-11-28T13:17:47.872Z] STF 13:17:47.516 - o Process CO ended with the expected exit code (0) [2024-11-28T13:17:47.872Z] STF 13:17:47.517 - [2024-11-28T13:17:47.872Z] STF 13:17:47.517 - +------ Step 10 - Check output [2024-11-28T13:17:47.872Z] STF 13:17:47.517 - | Count file matches [2024-11-28T13:17:47.872Z] STF 13:17:47.517 - | TargetFile: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17327914885516/UpgModPath_ExpImg_1/20241128-131739-UpgModPathTest/results/combinedOT16.txt [2024-11-28T13:17:47.872Z] STF 13:17:47.517 - | ExpectedNumMatches: 1 [2024-11-28T13:17:47.872Z] STF 13:17:47.517 - | SearchStrings: ["FindException: Unable to compute the hash of module java.logging"] [2024-11-28T13:17:47.872Z] STF 13:17:47.517 - | [2024-11-28T13:17:47.872Z] STF 13:17:47.519 - Found 1 instances of ["FindException: Unable to compute the hash of module java.logging"] [2024-11-28T13:17:47.872Z] STF 13:17:47.519 - EXECUTE stage completed [2024-11-28T13:17:47.872Z] STF 13:17:47.566 - [2024-11-28T13:17:47.872Z] STF 13:17:47.566 - ==================== T E A R D O W N ==================== [2024-11-28T13:17:47.872Z] STF 13:17:47.566 - Running teardown: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/\TKG\output_17327914885516\UpgModPath_ExpImg_1/20241128-131739-UpgModPathTest/tearDown.pl [2024-11-28T13:17:48.446Z] STF 13:17:47.939 - TEARDOWN stage completed [2024-11-28T13:17:48.446Z] STF 13:17:47.987 - [2024-11-28T13:17:48.446Z] STF 13:17:47.987 - ===================== R E S U L T S ===================== [2024-11-28T13:17:48.446Z] STF 13:17:47.988 - Stage results: [2024-11-28T13:17:48.446Z] STF 13:17:47.988 - setUp: pass [2024-11-28T13:17:48.446Z] STF 13:17:47.988 - execute: pass [2024-11-28T13:17:48.446Z] STF 13:17:47.988 - teardown: pass [2024-11-28T13:17:48.446Z] STF 13:17:47.988 - [2024-11-28T13:17:48.446Z] STF 13:17:47.988 - Overall result: PASSED [2024-11-28T13:17:48.446Z] ----------------------------------- [2024-11-28T13:17:48.446Z] UpgModPath_ExpImg_1_PASSED [2024-11-28T13:17:48.446Z] ----------------------------------- [2024-11-28T13:17:48.446Z] [2024-11-28T13:17:48.446Z] TEST TEARDOWN: [2024-11-28T13:17:48.446Z] Nothing to be done for teardown. [2024-11-28T13:17:48.829Z] UpgModPath_ExpImg_1 Finish Time: Thu Nov 28 13:17:48 2024 Epoch Time (ms): 1732799868579