UpgModPath_Exp_0

[2025-02-20T00:05:47.820Z] Running test UpgModPath_Exp_0 ... [2025-02-20T00:05:48.122Z] =============================================== [2025-02-20T00:05:48.424Z] UpgModPath_Exp_0 Start Time: Thu Feb 20 00:05:48 2025 Epoch Time (ms): 1740009948177 [2025-02-20T00:05:48.792Z] variation: Mode150 [2025-02-20T00:05:48.792Z] JVM_OPTIONS: -XX:+UseCompressedOops [2025-02-20T00:05:48.792Z] { \ [2025-02-20T00:05:48.792Z] echo ""; echo "TEST SETUP:"; \ [2025-02-20T00:05:48.792Z] echo "Nothing to be done for setup."; \ [2025-02-20T00:05:48.792Z] mkdir -p "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/\\TKG\\output_17400092146835\\UpgModPath_Exp_0"; \ [2025-02-20T00:05:48.792Z] cd "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/\\TKG\\output_17400092146835\\UpgModPath_Exp_0"; \ [2025-02-20T00:05:48.792Z] echo ""; echo "TESTING:"; \ [2025-02-20T00:05:48.792Z] 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_17400092146835\\UpgModPath_Exp_0" -test=UpgModPathTest -test-args="variant=Exp"; \ [2025-02-20T00:05:48.792Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "UpgModPath_Exp_0""_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_17400092146835\\UpgModPath_Exp_0"; else echo "-----------------------------------"; echo "UpgModPath_Exp_0""_FAILED"; echo "-----------------------------------"; fi; \ [2025-02-20T00:05:48.792Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-02-20T00:05:48.792Z] echo "Nothing to be done for teardown."; \ [2025-02-20T00:05:48.792Z] } 2>&1 | tee -a "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/\\TKG\\output_17400092146835\\TestTargetResult"; [2025-02-20T00:05:49.093Z] [2025-02-20T00:05:49.093Z] TEST SETUP: [2025-02-20T00:05:49.093Z] Nothing to be done for setup. [2025-02-20T00:05:49.093Z] [2025-02-20T00:05:49.093Z] TESTING: [2025-02-20T00:05:49.394Z] STF 00:05:49.318 - ========================= S T F ========================= [2025-02-20T00:05:49.394Z] 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_17400092146835\UpgModPath_Exp_0 [2025-02-20T00:05:49.696Z] There is 17560 Mb free [2025-02-20T00:05:49.696Z] STF 00:05:49.397 - ================== G E N E R A T I O N ================== [2025-02-20T00:05:49.696Z] STF 00:05:49.402 - Checking JVM: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/jdkbinary/j2sdk-image [2025-02-20T00:05:49.696Z] STF 00:05:49.403 - 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 -Dload.agent.path=C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/jvmtest/system/STF/stf.core/scripts/../../stf.load/bin/stf.load.jar -classpath C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/../../testDependency/system_lib\/asm/asm.jar;C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/../../testDependency/system_lib\/asm/asm-commons.jar;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_17400092146835\UpgModPath_Exp_0/20250220-000549-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_17400092146835\UpgModPath_Exp_0/20250220-000549-UpgModPathTest" [2025-02-20T00:05:49.696Z] GEN stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-20T00:05:51.244Z] GEN 00:05:50.740 - 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' [2025-02-20T00:05:51.244Z] GEN 00:05:50.756 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.UpgModPathTest' [2025-02-20T00:05:51.244Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2025-02-20T00:05:51.244Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayService [2025-02-20T00:05:51.244Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper [2025-02-20T00:05:51.244Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl1 [2025-02-20T00:05:51.244Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet [2025-02-20T00:05:51.244Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello [2025-02-20T00:05:51.244Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola [2025-02-20T00:05:51.244Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl2 [2025-02-20T00:05:51.244Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hi [2025-02-20T00:05:51.244Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override [2025-02-20T00:05:51.244Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override-new [2025-02-20T00:05:51.244Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl3 [2025-02-20T00:05:51.244Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl4 [2025-02-20T00:05:51.244Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common [2025-02-20T00:05:51.244Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests [2025-02-20T00:05:51.244Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk21_hs_sanity.system_aarch64_windows\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin [2025-02-20T00:05:51.244Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk21_hs_sanity.system_aarch64_windows\\jvmtest\\system\\STF\\stf.core\\bin [2025-02-20T00:05:51.244Z] GEN C:/Users/jenkins/testDependency/system_lib/log4j/log4j-api.jar [2025-02-20T00:05:51.244Z] GEN C:/Users/jenkins/testDependency/system_lib/log4j/log4j-core.jar [2025-02-20T00:05:51.244Z] GEN C:/Users/jenkins/testDependency/system_lib/junit/junit.jar [2025-02-20T00:05:51.244Z] GEN 00:05:51.052 - Using Mode NoOptions. Values = '' [2025-02-20T00:05:51.544Z] GEN 00:05:51.209 - [2025-02-20T00:05:51.544Z] GEN 00:05:51.209 - Test command summary: [2025-02-20T00:05:51.544Z] GEN 00:05:51.209 - Step Stage Command Description [2025-02-20T00:05:51.544Z] GEN 00:05:51.209 - -----+--------+-----------------+------------ [2025-02-20T00:05:51.544Z] GEN 00:05:51.209 - 1 execute jar Create com.hello jar [2025-02-20T00:05:51.544Z] GEN 00:05:51.209 - 2 execute jar Create com.hola jar [2025-02-20T00:05:51.544Z] GEN 00:05:51.209 - 3 execute jar Create com.helper jar [2025-02-20T00:05:51.544Z] GEN 00:05:51.209 - 4 execute jar Create com.discreet jar [2025-02-20T00:05:51.544Z] GEN 00:05:51.209 - 5 execute jar Create tests jar [2025-02-20T00:05:51.544Z] GEN 00:05:51.209 - 6 execute jlink Create runtime image for upgrademodulepath test [2025-02-20T00:05:51.544Z] GEN 00:05:51.209 - 7 execute Run java Override an application module [2025-02-20T00:05:51.544Z] GEN 00:05:51.209 - 8 execute Run java (Negative test) Override a non-upgradable platform module [2025-02-20T00:05:51.544Z] GEN 00:05:51.209 - 9 execute Run java Combine stderr and stdout files of process OT13 [2025-02-20T00:05:51.544Z] GEN 00:05:51.209 - 10 execute count Check output [2025-02-20T00:05:51.544Z] STF 00:05:51.261 - [2025-02-20T00:05:51.544Z] STF 00:05:51.261 - Script generation completed [2025-02-20T00:05:51.544Z] STF 00:05:51.261 - [2025-02-20T00:05:51.544Z] STF 00:05:51.264 - [2025-02-20T00:05:51.544Z] STF 00:05:51.264 - ======================= S E T U P ======================= [2025-02-20T00:05:51.544Z] STF 00:05:51.264 - Running setup: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/\TKG\output_17400092146835\UpgModPath_Exp_0/20250220-000549-UpgModPathTest/setUp.pl [2025-02-20T00:05:51.846Z] STF 00:05:51.646 - SETUP stage completed [2025-02-20T00:05:51.846Z] STF 00:05:51.695 - [2025-02-20T00:05:51.846Z] STF 00:05:51.695 - ==================== E X E C U T E - ==================== [2025-02-20T00:05:51.846Z] STF 00:05:51.695 - Running execute: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/\TKG\output_17400092146835\UpgModPath_Exp_0/20250220-000549-UpgModPathTest/execute.pl [2025-02-20T00:05:52.500Z] STF 00:05:52.099 - [2025-02-20T00:05:52.500Z] STF 00:05:52.100 - Java version [2025-02-20T00:05:52.500Z] STF 00:05:52.100 - Running: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/jdkbinary/j2sdk-image/bin/java -version [2025-02-20T00:05:52.500Z] Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-20T00:05:52.500Z] openjdk version "21.0.7-beta" 2025-04-15 [2025-02-20T00:05:52.500Z] OpenJDK Runtime Environment Temurin-21.0.7+3-202502192011 (build 21.0.7-beta+3-ea) [2025-02-20T00:05:52.500Z] OpenJDK 64-Bit Server VM Temurin-21.0.7+3-202502192011 (build 21.0.7-beta+3-ea, mixed mode) [2025-02-20T00:05:52.500Z] STF 00:05:52.241 - [2025-02-20T00:05:52.500Z] STF 00:05:52.241 - +------ Step 1 - Create com.hello jar [2025-02-20T00:05:52.500Z] STF 00:05:52.241 - | Create modular jar [2025-02-20T00:05:52.500Z] STF 00:05:52.241 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2025-02-20T00:05:52.500Z] STF 00:05:52.241 - | ModuleVersion: null [2025-02-20T00:05:52.500Z] STF 00:05:52.241 - | MainClass: null [2025-02-20T00:05:52.500Z] STF 00:05:52.241 - | HashModules: null [2025-02-20T00:05:52.500Z] STF 00:05:52.241 - | [2025-02-20T00:05:52.500Z] STF 00:05:52.242 - 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_17400092146835/UpgModPath_Exp_0/20250220-000549-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 . [2025-02-20T00:05:52.500Z] STF 00:05:52.243 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17400092146835/UpgModPath_Exp_0/20250220-000549-UpgModPathTest/results/1.CMJ.stderr [2025-02-20T00:05:52.500Z] STF 00:05:52.243 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17400092146835/UpgModPath_Exp_0/20250220-000549-UpgModPathTest/results/1.CMJ.stdout [2025-02-20T00:05:52.500Z] STF 00:05:52.313 - Monitoring processes: CMJ [2025-02-20T00:05:52.500Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-20T00:05:53.152Z] STF 00:05:52.760 - Monitoring Report Summary: [2025-02-20T00:05:53.152Z] STF 00:05:52.760 - o Process CMJ ended with the expected exit code (0) [2025-02-20T00:05:53.152Z] STF 00:05:52.761 - Created modular jar: 1.com.hello.jar [2025-02-20T00:05:53.152Z] STF 00:05:52.761 - [2025-02-20T00:05:53.152Z] STF 00:05:52.761 - +------ Step 2 - Create com.hola jar [2025-02-20T00:05:53.152Z] STF 00:05:52.761 - | Create modular jar [2025-02-20T00:05:53.152Z] STF 00:05:52.761 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2025-02-20T00:05:53.152Z] STF 00:05:52.761 - | ModuleVersion: null [2025-02-20T00:05:53.152Z] STF 00:05:52.761 - | MainClass: null [2025-02-20T00:05:53.152Z] STF 00:05:52.762 - | HashModules: null [2025-02-20T00:05:53.152Z] STF 00:05:52.762 - | [2025-02-20T00:05:53.152Z] STF 00:05:52.762 - 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_17400092146835/UpgModPath_Exp_0/20250220-000549-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 . [2025-02-20T00:05:53.152Z] STF 00:05:52.762 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17400092146835/UpgModPath_Exp_0/20250220-000549-UpgModPathTest/results/2.CMJ.stderr [2025-02-20T00:05:53.152Z] STF 00:05:52.762 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17400092146835/UpgModPath_Exp_0/20250220-000549-UpgModPathTest/results/2.CMJ.stdout [2025-02-20T00:05:53.152Z] STF 00:05:52.770 - Monitoring processes: CMJ [2025-02-20T00:05:53.152Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-20T00:05:53.452Z] STF 00:05:53.209 - Monitoring Report Summary: [2025-02-20T00:05:53.452Z] STF 00:05:53.209 - o Process CMJ ended with the expected exit code (0) [2025-02-20T00:05:53.452Z] STF 00:05:53.210 - Created modular jar: 2.com.hola.jar [2025-02-20T00:05:53.452Z] STF 00:05:53.210 - [2025-02-20T00:05:53.452Z] STF 00:05:53.210 - +------ Step 3 - Create com.helper jar [2025-02-20T00:05:53.452Z] STF 00:05:53.210 - | Create modular jar [2025-02-20T00:05:53.452Z] STF 00:05:53.210 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2025-02-20T00:05:53.452Z] STF 00:05:53.210 - | ModuleVersion: null [2025-02-20T00:05:53.452Z] STF 00:05:53.210 - | MainClass: null [2025-02-20T00:05:53.452Z] STF 00:05:53.210 - | HashModules: null [2025-02-20T00:05:53.452Z] STF 00:05:53.210 - | [2025-02-20T00:05:53.452Z] STF 00:05:53.211 - 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_17400092146835/UpgModPath_Exp_0/20250220-000549-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 . [2025-02-20T00:05:53.452Z] STF 00:05:53.211 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17400092146835/UpgModPath_Exp_0/20250220-000549-UpgModPathTest/results/3.CMJ.stderr [2025-02-20T00:05:53.452Z] STF 00:05:53.211 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17400092146835/UpgModPath_Exp_0/20250220-000549-UpgModPathTest/results/3.CMJ.stdout [2025-02-20T00:05:53.452Z] STF 00:05:53.218 - Monitoring processes: CMJ [2025-02-20T00:05:53.452Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-20T00:05:53.753Z] STF 00:05:53.661 - Monitoring Report Summary: [2025-02-20T00:05:53.753Z] STF 00:05:53.662 - o Process CMJ ended with the expected exit code (0) [2025-02-20T00:05:53.753Z] STF 00:05:53.662 - Created modular jar: 3.com.helper.jar [2025-02-20T00:05:53.753Z] STF 00:05:53.662 - [2025-02-20T00:05:53.753Z] STF 00:05:53.663 - +------ Step 4 - Create com.discreet jar [2025-02-20T00:05:53.753Z] STF 00:05:53.663 - | Create modular jar [2025-02-20T00:05:53.753Z] STF 00:05:53.663 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2025-02-20T00:05:53.753Z] STF 00:05:53.663 - | ModuleVersion: null [2025-02-20T00:05:53.753Z] STF 00:05:53.663 - | MainClass: null [2025-02-20T00:05:53.753Z] STF 00:05:53.663 - | HashModules: null [2025-02-20T00:05:53.753Z] STF 00:05:53.663 - | [2025-02-20T00:05:53.753Z] STF 00:05:53.663 - 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_17400092146835/UpgModPath_Exp_0/20250220-000549-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 . [2025-02-20T00:05:53.753Z] STF 00:05:53.663 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17400092146835/UpgModPath_Exp_0/20250220-000549-UpgModPathTest/results/4.CMJ.stderr [2025-02-20T00:05:53.753Z] STF 00:05:53.663 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17400092146835/UpgModPath_Exp_0/20250220-000549-UpgModPathTest/results/4.CMJ.stdout [2025-02-20T00:05:53.753Z] STF 00:05:53.672 - Monitoring processes: CMJ [2025-02-20T00:05:54.056Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-20T00:05:54.358Z] STF 00:05:54.115 - Monitoring Report Summary: [2025-02-20T00:05:54.358Z] STF 00:05:54.115 - o Process CMJ ended with the expected exit code (0) [2025-02-20T00:05:54.358Z] STF 00:05:54.115 - Created modular jar: 4.com.discreet.jar [2025-02-20T00:05:54.358Z] STF 00:05:54.115 - [2025-02-20T00:05:54.358Z] STF 00:05:54.115 - +------ Step 5 - Create tests jar [2025-02-20T00:05:54.358Z] STF 00:05:54.115 - | Create modular jar [2025-02-20T00:05:54.358Z] STF 00:05:54.115 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2025-02-20T00:05:54.358Z] STF 00:05:54.115 - | ModuleVersion: null [2025-02-20T00:05:54.358Z] STF 00:05:54.115 - | MainClass: null [2025-02-20T00:05:54.358Z] STF 00:05:54.115 - | HashModules: null [2025-02-20T00:05:54.358Z] STF 00:05:54.115 - | [2025-02-20T00:05:54.358Z] STF 00:05:54.116 - 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_17400092146835/UpgModPath_Exp_0/20250220-000549-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 . [2025-02-20T00:05:54.358Z] STF 00:05:54.116 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17400092146835/UpgModPath_Exp_0/20250220-000549-UpgModPathTest/results/5.CMJ.stderr [2025-02-20T00:05:54.358Z] STF 00:05:54.116 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17400092146835/UpgModPath_Exp_0/20250220-000549-UpgModPathTest/results/5.CMJ.stdout [2025-02-20T00:05:54.358Z] STF 00:05:54.124 - Monitoring processes: CMJ [2025-02-20T00:05:54.358Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-20T00:05:54.659Z] STF 00:05:54.583 - Monitoring Report Summary: [2025-02-20T00:05:54.659Z] STF 00:05:54.583 - o Process CMJ ended with the expected exit code (0) [2025-02-20T00:05:54.659Z] STF 00:05:54.584 - Created modular jar: 5.com.test.jar [2025-02-20T00:05:54.659Z] STF 00:05:54.584 - [2025-02-20T00:05:54.659Z] STF 00:05:54.584 - +------ Step 6 - Create runtime image for upgrademodulepath test [2025-02-20T00:05:54.659Z] STF 00:05:54.584 - | Run jlink to create runtime image [2025-02-20T00:05:54.659Z] STF 00:05:54.584 - | ImageName: UpJVM [2025-02-20T00:05:54.659Z] STF 00:05:54.584 - | [2025-02-20T00:05:54.659Z] STF 00:05:54.585 - 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_17400092146835\UpgModPath_Exp_0\20250220-000549-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_17400092146835\UpgModPath_Exp_0\20250220-000549-UpgModPathTest\tmp\6.UpJVM [2025-02-20T00:05:54.659Z] STF 00:05:54.585 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17400092146835/UpgModPath_Exp_0/20250220-000549-UpgModPathTest/results/6.JLNK.stderr [2025-02-20T00:05:54.659Z] STF 00:05:54.585 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17400092146835/UpgModPath_Exp_0/20250220-000549-UpgModPathTest/results/6.JLNK.stdout [2025-02-20T00:05:54.659Z] STF 00:05:54.593 - Monitoring processes: JLNK [2025-02-20T00:05:54.961Z] JLNK stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-20T00:05:57.762Z] STF 00:05:57.158 - Monitoring Report Summary: [2025-02-20T00:05:57.762Z] STF 00:05:57.158 - o Process JLNK ended with the expected exit code (0) [2025-02-20T00:05:57.762Z] STF 00:05:57.159 - [2025-02-20T00:05:57.762Z] STF 00:05:57.159 - +------ Step 7 - Override an application module [2025-02-20T00:05:57.762Z] STF 00:05:57.159 - | Run foreground process [2025-02-20T00:05:57.762Z] STF 00:05:57.159 - | Program: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/jdkbinary/j2sdk-image/bin/java [2025-02-20T00:05:57.762Z] STF 00:05:57.159 - | Mnemonic: OT11 [2025-02-20T00:05:57.762Z] STF 00:05:57.159 - | Echo: ECHO_ON [2025-02-20T00:05:57.762Z] STF 00:05:57.159 - | Expectation: CLEAN_RUN within 1m [2025-02-20T00:05:57.762Z] STF 00:05:57.159 - | [2025-02-20T00:05:57.762Z] STF 00:05:57.160 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/jdkbinary/j2sdk-image/bin/java --add-reads com.test=ALL-UNNAMED --module-path C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods;C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests --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 --add-modules=com.test -XX:+UseCompressedOops -classpath C:/Users/jenkins/testDependency/system_lib/junit/junit.jar;C:/Users/jenkins/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingAppModule [2025-02-20T00:05:57.762Z] STF 00:05:57.160 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17400092146835/UpgModPath_Exp_0/20250220-000549-UpgModPathTest/results/7.OT11.stderr [2025-02-20T00:05:57.762Z] STF 00:05:57.160 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17400092146835/UpgModPath_Exp_0/20250220-000549-UpgModPathTest/results/7.OT11.stdout [2025-02-20T00:05:57.762Z] STF 00:05:57.168 - Monitoring processes: OT11 [2025-02-20T00:05:57.762Z] OT11 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-20T00:05:57.762Z] OT11 JUnit version 4.12 [2025-02-20T00:05:57.762Z] OT11 . [2025-02-20T00:05:57.762Z] OT11 Time: 0.016 [2025-02-20T00:05:57.762Z] OT11 [2025-02-20T00:05:57.762Z] OT11 OK (1 test) [2025-02-20T00:05:57.762Z] OT11 [2025-02-20T00:05:57.762Z] STF 00:05:57.634 - Monitoring Report Summary: [2025-02-20T00:05:57.762Z] STF 00:05:57.634 - o Process OT11 ended with the expected exit code (0) [2025-02-20T00:05:57.762Z] STF 00:05:57.635 - [2025-02-20T00:05:57.762Z] STF 00:05:57.635 - +------ Step 8 - (Negative test) Override a non-upgradable platform module [2025-02-20T00:05:57.762Z] STF 00:05:57.635 - | Run foreground process [2025-02-20T00:05:57.762Z] STF 00:05:57.635 - | Program: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/jdkbinary/j2sdk-image/bin/java [2025-02-20T00:05:57.762Z] STF 00:05:57.635 - | Mnemonic: OT13 [2025-02-20T00:05:57.762Z] STF 00:05:57.635 - | Echo: ECHO_ON [2025-02-20T00:05:57.762Z] STF 00:05:57.635 - | Expectation: NON_ZERO_EXIT [1] within 1m [2025-02-20T00:05:57.762Z] STF 00:05:57.635 - | [2025-02-20T00:05:57.762Z] STF 00:05:57.636 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/jdkbinary/j2sdk-image/bin/java --add-reads com.test=ALL-UNNAMED --module-path C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods;C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests --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 --add-modules=com.test -XX:+UseCompressedOops -classpath C:/Users/jenkins/testDependency/system_lib/junit/junit.jar;C:/Users/jenkins/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingNonUpgradablePlatformModule [2025-02-20T00:05:57.762Z] STF 00:05:57.636 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17400092146835/UpgModPath_Exp_0/20250220-000549-UpgModPathTest/results/8.OT13.stderr [2025-02-20T00:05:57.762Z] STF 00:05:57.636 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17400092146835/UpgModPath_Exp_0/20250220-000549-UpgModPathTest/results/8.OT13.stdout [2025-02-20T00:05:57.762Z] STF 00:05:57.644 - Monitoring processes: OT13 [2025-02-20T00:05:57.762Z] OT13 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-02-20T00:05:58.064Z] OT13 Error occurred during initialization of boot layer [2025-02-20T00:05:58.064Z] OT13 java.lang.module.FindException: Unable to compute the hash of module java.logging [2025-02-20T00:05:58.064Z] STF 00:05:57.930 - Monitoring Report Summary: [2025-02-20T00:05:58.064Z] STF 00:05:57.930 - o Process OT13 ended with the expected exit code (1) [2025-02-20T00:05:58.064Z] STF 00:05:57.931 - [2025-02-20T00:05:58.064Z] STF 00:05:57.931 - +------ Step 9 - Combine stderr and stdout files of process OT13 [2025-02-20T00:05:58.064Z] STF 00:05:57.931 - | Run foreground process [2025-02-20T00:05:58.064Z] STF 00:05:57.931 - | Program: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/jdkbinary/j2sdk-image/bin/java [2025-02-20T00:05:58.064Z] STF 00:05:57.931 - | Mnemonic: CO [2025-02-20T00:05:58.064Z] STF 00:05:57.931 - | Echo: ECHO_OFF [2025-02-20T00:05:58.064Z] STF 00:05:57.931 - | Expectation: NON_ZERO_EXIT [0] within 30s [2025-02-20T00:05:58.064Z] STF 00:05:57.931 - | [2025-02-20T00:05:58.064Z] STF 00:05:57.932 - 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_17400092146835/UpgModPath_Exp_0/20250220-000549-UpgModPathTest/results/8.OT13.stdout -Dfile2=C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17400092146835/UpgModPath_Exp_0/20250220-000549-UpgModPathTest/results/8.OT13.stderr -Dfinal.file=C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows\aqa-tests\TKG\output_17400092146835\UpgModPath_Exp_0\20250220-000549-UpgModPathTest\results\combinedOT13.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 [2025-02-20T00:05:58.064Z] STF 00:05:57.932 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17400092146835/UpgModPath_Exp_0/20250220-000549-UpgModPathTest/results/9.CO.stderr [2025-02-20T00:05:58.064Z] STF 00:05:57.932 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17400092146835/UpgModPath_Exp_0/20250220-000549-UpgModPathTest/results/9.CO.stdout [2025-02-20T00:05:58.064Z] STF 00:05:57.939 - Monitoring processes: CO [2025-02-20T00:05:58.367Z] STF 00:05:58.193 - Monitoring Report Summary: [2025-02-20T00:05:58.367Z] STF 00:05:58.193 - o Process CO ended with the expected exit code (0) [2025-02-20T00:05:58.367Z] STF 00:05:58.194 - [2025-02-20T00:05:58.367Z] STF 00:05:58.194 - +------ Step 10 - Check output [2025-02-20T00:05:58.367Z] STF 00:05:58.194 - | Count file matches [2025-02-20T00:05:58.367Z] STF 00:05:58.194 - | TargetFile: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/TKG/output_17400092146835/UpgModPath_Exp_0/20250220-000549-UpgModPathTest/results/combinedOT13.txt [2025-02-20T00:05:58.367Z] STF 00:05:58.194 - | ExpectedNumMatches: 1 [2025-02-20T00:05:58.367Z] STF 00:05:58.194 - | SearchStrings: ["FindException: Unable to compute the hash of module java.logging"] [2025-02-20T00:05:58.367Z] STF 00:05:58.194 - | [2025-02-20T00:05:58.367Z] STF 00:05:58.212 - Found 1 instances of ["FindException: Unable to compute the hash of module java.logging"] [2025-02-20T00:05:58.367Z] STF 00:05:58.212 - EXECUTE stage completed [2025-02-20T00:05:58.367Z] STF 00:05:58.284 - [2025-02-20T00:05:58.367Z] STF 00:05:58.284 - ==================== T E A R D O W N ==================== [2025-02-20T00:05:58.367Z] STF 00:05:58.284 - Running teardown: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows/aqa-tests/\TKG\output_17400092146835\UpgModPath_Exp_0/20250220-000549-UpgModPathTest/tearDown.pl [2025-02-20T00:05:59.019Z] STF 00:05:58.677 - TEARDOWN stage completed [2025-02-20T00:05:59.019Z] STF 00:05:58.730 - [2025-02-20T00:05:59.019Z] STF 00:05:58.730 - ===================== R E S U L T S ===================== [2025-02-20T00:05:59.019Z] STF 00:05:58.730 - Stage results: [2025-02-20T00:05:59.019Z] STF 00:05:58.730 - setUp: pass [2025-02-20T00:05:59.019Z] STF 00:05:58.730 - execute: pass [2025-02-20T00:05:59.019Z] STF 00:05:58.730 - teardown: pass [2025-02-20T00:05:59.019Z] STF 00:05:58.730 - [2025-02-20T00:05:59.019Z] STF 00:05:58.730 - Overall result: PASSED [2025-02-20T00:05:59.019Z] ----------------------------------- [2025-02-20T00:05:59.019Z] UpgModPath_Exp_0_PASSED [2025-02-20T00:05:59.019Z] ----------------------------------- [2025-02-20T00:05:59.019Z] [2025-02-20T00:05:59.019Z] TEST TEARDOWN: [2025-02-20T00:05:59.019Z] Nothing to be done for teardown. [2025-02-20T00:05:59.319Z] UpgModPath_Exp_0 Finish Time: Thu Feb 20 00:05:59 2025 Epoch Time (ms): 1740009959162