UpgModPath_Exp_0

[2024-11-17T10:05:42.187Z] Running test UpgModPath_Exp_0 ... [2024-11-17T10:05:42.485Z] =============================================== [2024-11-17T10:05:42.485Z] UpgModPath_Exp_0 Start Time: Sun Nov 17 10:05:42 2024 Epoch Time (ms): 1731837942454 [2024-11-17T10:05:42.807Z] variation: Mode150 [2024-11-17T10:05:43.104Z] JVM_OPTIONS: -XX:+UseCompressedOops [2024-11-17T10:05:43.104Z] { \ [2024-11-17T10:05:43.104Z] echo ""; echo "TEST SETUP:"; \ [2024-11-17T10:05:43.104Z] echo "Nothing to be done for setup."; \ [2024-11-17T10:05:43.104Z] mkdir -p "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17318358094769\\UpgModPath_Exp_0"; \ [2024-11-17T10:05:43.104Z] cd "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17318358094769\\UpgModPath_Exp_0"; \ [2024-11-17T10:05:43.104Z] echo ""; echo "TESTING:"; \ [2024-11-17T10:05:43.104Z] perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests///..//jvmtest\\system\\modularity/../\\STF\\stf.core\\scripts\\stf.pl -test-root="C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests///..//jvmtest\\system\\modularity/../\\STF;C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests///..//jvmtest\\system\\modularity/../\\aqa-systemtest""" -systemtest-prereqs="C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/../../testDependency/system_lib\\" -java-args=' -XX:+UseCompressedOops ' -results-root="C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17318358094769\\UpgModPath_Exp_0" -test=UpgModPathTest -test-args="variant=Exp"; \ [2024-11-17T10:05:43.104Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "UpgModPath_Exp_0""_PASSED"; echo "-----------------------------------"; cd C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/; rm -f -r "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17318358094769\\UpgModPath_Exp_0"; else echo "-----------------------------------"; echo "UpgModPath_Exp_0""_FAILED"; echo "-----------------------------------"; fi; \ [2024-11-17T10:05:43.104Z] echo ""; echo "TEST TEARDOWN:"; \ [2024-11-17T10:05:43.104Z] echo "Nothing to be done for teardown."; \ [2024-11-17T10:05:43.104Z] } 2>&1 | tee -a "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17318358094769\\TestTargetResult"; [2024-11-17T10:05:43.401Z] [2024-11-17T10:05:43.401Z] TEST SETUP: [2024-11-17T10:05:43.401Z] Nothing to be done for setup. [2024-11-17T10:05:43.401Z] [2024-11-17T10:05:43.401Z] TESTING: [2024-11-17T10:05:43.697Z] STF 10:05:43.548 - ========================= S T F ========================= [2024-11-17T10:05:43.697Z] systemtest-prereqs has been processed, and set to: C:/Users/jenkins/testDependency/system_libRetrieving amount of free space on drive containing C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17318358094769\UpgModPath_Exp_0 [2024-11-17T10:05:43.994Z] There is 21751 Mb free [2024-11-17T10:05:43.994Z] STF 10:05:43.627 - ================== G E N E R A T I O N ================== [2024-11-17T10:05:43.994Z] STF 10:05:43.632 - Checking JVM: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image [2024-11-17T10:05:43.994Z] STF 10:05:43.632 - Starting process to generate scripts: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/java -Dlog4j.skipJansi=true -Djava.system.class.loader=net.adoptopenjdk.stf.runner.StfClassLoader -classpath C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/../../testDependency/system_lib\/log4j/log4j-api.jar;C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/../../testDependency/system_lib\/log4j/log4j-core.jar;C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17318358094769\UpgModPath_Exp_0/20241117-100543-UpgModPathTest/stf_parameters.properties, , C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17318358094769\UpgModPath_Exp_0/20241117-100543-UpgModPathTest" [2024-11-17T10:05:43.994Z] GEN stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-17T10:05:45.042Z] GEN 10:05:44.970 - Found test. Project: 'openjdk.test.modularity' class: 'UpgModPathTest.class' Dir: 'C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin' [2024-11-17T10:05:45.042Z] GEN 10:05:44.986 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.UpgModPathTest' [2024-11-17T10:05:45.338Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2024-11-17T10:05:45.338Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayService [2024-11-17T10:05:45.338Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper [2024-11-17T10:05:45.338Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl1 [2024-11-17T10:05:45.338Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet [2024-11-17T10:05:45.338Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello [2024-11-17T10:05:45.339Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola [2024-11-17T10:05:45.339Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl2 [2024-11-17T10:05:45.339Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hi [2024-11-17T10:05:45.339Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override [2024-11-17T10:05:45.339Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override-new [2024-11-17T10:05:45.339Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl3 [2024-11-17T10:05:45.339Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl4 [2024-11-17T10:05:45.339Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common [2024-11-17T10:05:45.339Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests [2024-11-17T10:05:45.339Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin [2024-11-17T10:05:45.339Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\\jvmtest\\system\\STF\\stf.core\\bin [2024-11-17T10:05:45.339Z] GEN C:/Users/jenkins/testDependency/system_lib/log4j/log4j-api.jar [2024-11-17T10:05:45.339Z] GEN C:/Users/jenkins/testDependency/system_lib/log4j/log4j-core.jar [2024-11-17T10:05:45.339Z] GEN C:/Users/jenkins/testDependency/system_lib/junit/junit.jar [2024-11-17T10:05:45.339Z] GEN 10:05:45.267 - Using Mode NoOptions. Values = '' [2024-11-17T10:05:45.635Z] GEN 10:05:45.408 - [2024-11-17T10:05:45.635Z] GEN 10:05:45.408 - Test command summary: [2024-11-17T10:05:45.635Z] GEN 10:05:45.408 - Step Stage Command Description [2024-11-17T10:05:45.635Z] GEN 10:05:45.408 - -----+--------+-----------------+------------ [2024-11-17T10:05:45.635Z] GEN 10:05:45.408 - 1 execute jar Create com.hello jar [2024-11-17T10:05:45.635Z] GEN 10:05:45.408 - 2 execute jar Create com.hola jar [2024-11-17T10:05:45.635Z] GEN 10:05:45.408 - 3 execute jar Create com.helper jar [2024-11-17T10:05:45.635Z] GEN 10:05:45.408 - 4 execute jar Create com.discreet jar [2024-11-17T10:05:45.635Z] GEN 10:05:45.408 - 5 execute jar Create tests jar [2024-11-17T10:05:45.635Z] GEN 10:05:45.408 - 6 execute jlink Create runtime image for upgrademodulepath test [2024-11-17T10:05:45.635Z] GEN 10:05:45.408 - 7 execute Run java Override an application module [2024-11-17T10:05:45.635Z] GEN 10:05:45.408 - 8 execute Run java (Negative test) Override a non-upgradable platform module [2024-11-17T10:05:45.635Z] GEN 10:05:45.408 - 9 execute Run java Combine stderr and stdout files of process OT13 [2024-11-17T10:05:45.635Z] GEN 10:05:45.408 - 10 execute count Check output [2024-11-17T10:05:45.635Z] STF 10:05:45.489 - [2024-11-17T10:05:45.635Z] STF 10:05:45.490 - Script generation completed [2024-11-17T10:05:45.635Z] STF 10:05:45.490 - [2024-11-17T10:05:45.635Z] STF 10:05:45.497 - [2024-11-17T10:05:45.635Z] STF 10:05:45.497 - ======================= S E T U P ======================= [2024-11-17T10:05:45.635Z] STF 10:05:45.497 - Running setup: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17318358094769\UpgModPath_Exp_0/20241117-100543-UpgModPathTest/setUp.pl [2024-11-17T10:05:45.930Z] STF 10:05:45.876 - SETUP stage completed [2024-11-17T10:05:46.227Z] STF 10:05:45.925 - [2024-11-17T10:05:46.227Z] STF 10:05:45.925 - ==================== E X E C U T E - ==================== [2024-11-17T10:05:46.227Z] STF 10:05:45.925 - Running execute: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17318358094769\UpgModPath_Exp_0/20241117-100543-UpgModPathTest/execute.pl [2024-11-17T10:05:46.525Z] STF 10:05:46.314 - [2024-11-17T10:05:46.525Z] STF 10:05:46.314 - Java version [2024-11-17T10:05:46.525Z] STF 10:05:46.314 - Running: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/java -version [2024-11-17T10:05:46.525Z] Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-17T10:05:46.525Z] openjdk version "21.0.6-beta" 2025-01-21 [2024-11-17T10:05:46.525Z] OpenJDK Runtime Environment Temurin-21.0.6+3-202411152006 (build 21.0.6-beta+3-ea) [2024-11-17T10:05:46.525Z] OpenJDK 64-Bit Server VM Temurin-21.0.6+3-202411152006 (build 21.0.6-beta+3-ea, mixed mode) [2024-11-17T10:05:46.525Z] STF 10:05:46.442 - [2024-11-17T10:05:46.525Z] STF 10:05:46.442 - +------ Step 1 - Create com.hello jar [2024-11-17T10:05:46.525Z] STF 10:05:46.442 - | Create modular jar [2024-11-17T10:05:46.525Z] STF 10:05:46.442 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2024-11-17T10:05:46.525Z] STF 10:05:46.442 - | ModuleVersion: null [2024-11-17T10:05:46.525Z] STF 10:05:46.442 - | MainClass: null [2024-11-17T10:05:46.525Z] STF 10:05:46.442 - | HashModules: null [2024-11-17T10:05:46.525Z] STF 10:05:46.442 - | [2024-11-17T10:05:46.525Z] STF 10:05:46.444 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17318358094769/UpgModPath_Exp_0/20241117-100543-UpgModPathTest/modules/1.com.hello.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello . [2024-11-17T10:05:46.525Z] STF 10:05:46.444 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17318358094769/UpgModPath_Exp_0/20241117-100543-UpgModPathTest/results/1.CMJ.stderr [2024-11-17T10:05:46.525Z] STF 10:05:46.444 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17318358094769/UpgModPath_Exp_0/20241117-100543-UpgModPathTest/results/1.CMJ.stdout [2024-11-17T10:05:46.822Z] STF 10:05:46.514 - Monitoring processes: CMJ [2024-11-17T10:05:46.822Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-17T10:05:47.118Z] STF 10:05:46.958 - Monitoring Report Summary: [2024-11-17T10:05:47.118Z] STF 10:05:46.958 - o Process CMJ ended with the expected exit code (0) [2024-11-17T10:05:47.118Z] STF 10:05:46.959 - Created modular jar: 1.com.hello.jar [2024-11-17T10:05:47.118Z] STF 10:05:46.959 - [2024-11-17T10:05:47.118Z] STF 10:05:46.959 - +------ Step 2 - Create com.hola jar [2024-11-17T10:05:47.118Z] STF 10:05:46.959 - | Create modular jar [2024-11-17T10:05:47.118Z] STF 10:05:46.959 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2024-11-17T10:05:47.118Z] STF 10:05:46.959 - | ModuleVersion: null [2024-11-17T10:05:47.118Z] STF 10:05:46.959 - | MainClass: null [2024-11-17T10:05:47.118Z] STF 10:05:46.959 - | HashModules: null [2024-11-17T10:05:47.118Z] STF 10:05:46.959 - | [2024-11-17T10:05:47.118Z] STF 10:05:46.960 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17318358094769/UpgModPath_Exp_0/20241117-100543-UpgModPathTest/modules/2.com.hola.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola . [2024-11-17T10:05:47.118Z] STF 10:05:46.960 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17318358094769/UpgModPath_Exp_0/20241117-100543-UpgModPathTest/results/2.CMJ.stderr [2024-11-17T10:05:47.118Z] STF 10:05:46.960 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17318358094769/UpgModPath_Exp_0/20241117-100543-UpgModPathTest/results/2.CMJ.stdout [2024-11-17T10:05:47.118Z] STF 10:05:46.969 - Monitoring processes: CMJ [2024-11-17T10:05:47.118Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-17T10:05:47.764Z] STF 10:05:47.408 - Monitoring Report Summary: [2024-11-17T10:05:47.764Z] STF 10:05:47.409 - o Process CMJ ended with the expected exit code (0) [2024-11-17T10:05:47.764Z] STF 10:05:47.409 - Created modular jar: 2.com.hola.jar [2024-11-17T10:05:47.764Z] STF 10:05:47.409 - [2024-11-17T10:05:47.764Z] STF 10:05:47.410 - +------ Step 3 - Create com.helper jar [2024-11-17T10:05:47.764Z] STF 10:05:47.410 - | Create modular jar [2024-11-17T10:05:47.764Z] STF 10:05:47.410 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2024-11-17T10:05:47.764Z] STF 10:05:47.410 - | ModuleVersion: null [2024-11-17T10:05:47.764Z] STF 10:05:47.410 - | MainClass: null [2024-11-17T10:05:47.764Z] STF 10:05:47.410 - | HashModules: null [2024-11-17T10:05:47.764Z] STF 10:05:47.410 - | [2024-11-17T10:05:47.764Z] STF 10:05:47.410 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17318358094769/UpgModPath_Exp_0/20241117-100543-UpgModPathTest/modules/3.com.helper.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper . [2024-11-17T10:05:47.764Z] STF 10:05:47.411 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17318358094769/UpgModPath_Exp_0/20241117-100543-UpgModPathTest/results/3.CMJ.stderr [2024-11-17T10:05:47.764Z] STF 10:05:47.411 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17318358094769/UpgModPath_Exp_0/20241117-100543-UpgModPathTest/results/3.CMJ.stdout [2024-11-17T10:05:47.764Z] STF 10:05:47.419 - Monitoring processes: CMJ [2024-11-17T10:05:47.764Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-17T10:05:48.060Z] STF 10:05:47.876 - Monitoring Report Summary: [2024-11-17T10:05:48.060Z] STF 10:05:47.876 - o Process CMJ ended with the expected exit code (0) [2024-11-17T10:05:48.060Z] STF 10:05:47.877 - Created modular jar: 3.com.helper.jar [2024-11-17T10:05:48.060Z] STF 10:05:47.877 - [2024-11-17T10:05:48.060Z] STF 10:05:47.877 - +------ Step 4 - Create com.discreet jar [2024-11-17T10:05:48.060Z] STF 10:05:47.877 - | Create modular jar [2024-11-17T10:05:48.060Z] STF 10:05:47.877 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2024-11-17T10:05:48.060Z] STF 10:05:47.877 - | ModuleVersion: null [2024-11-17T10:05:48.060Z] STF 10:05:47.877 - | MainClass: null [2024-11-17T10:05:48.060Z] STF 10:05:47.877 - | HashModules: null [2024-11-17T10:05:48.060Z] STF 10:05:47.877 - | [2024-11-17T10:05:48.060Z] STF 10:05:47.878 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17318358094769/UpgModPath_Exp_0/20241117-100543-UpgModPathTest/modules/4.com.discreet.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet . [2024-11-17T10:05:48.060Z] STF 10:05:47.878 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17318358094769/UpgModPath_Exp_0/20241117-100543-UpgModPathTest/results/4.CMJ.stderr [2024-11-17T10:05:48.060Z] STF 10:05:47.878 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17318358094769/UpgModPath_Exp_0/20241117-100543-UpgModPathTest/results/4.CMJ.stdout [2024-11-17T10:05:48.060Z] STF 10:05:47.886 - Monitoring processes: CMJ [2024-11-17T10:05:48.060Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-17T10:05:48.706Z] STF 10:05:48.314 - Monitoring Report Summary: [2024-11-17T10:05:48.706Z] STF 10:05:48.314 - o Process CMJ ended with the expected exit code (0) [2024-11-17T10:05:48.706Z] STF 10:05:48.315 - Created modular jar: 4.com.discreet.jar [2024-11-17T10:05:48.706Z] STF 10:05:48.315 - [2024-11-17T10:05:48.706Z] STF 10:05:48.315 - +------ Step 5 - Create tests jar [2024-11-17T10:05:48.706Z] STF 10:05:48.315 - | Create modular jar [2024-11-17T10:05:48.706Z] STF 10:05:48.315 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2024-11-17T10:05:48.706Z] STF 10:05:48.315 - | ModuleVersion: null [2024-11-17T10:05:48.706Z] STF 10:05:48.315 - | MainClass: null [2024-11-17T10:05:48.706Z] STF 10:05:48.315 - | HashModules: null [2024-11-17T10:05:48.706Z] STF 10:05:48.315 - | [2024-11-17T10:05:48.706Z] STF 10:05:48.316 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17318358094769/UpgModPath_Exp_0/20241117-100543-UpgModPathTest/modules/5.com.test.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests\com.test . [2024-11-17T10:05:48.706Z] STF 10:05:48.316 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17318358094769/UpgModPath_Exp_0/20241117-100543-UpgModPathTest/results/5.CMJ.stderr [2024-11-17T10:05:48.706Z] STF 10:05:48.316 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17318358094769/UpgModPath_Exp_0/20241117-100543-UpgModPathTest/results/5.CMJ.stdout [2024-11-17T10:05:48.706Z] STF 10:05:48.324 - Monitoring processes: CMJ [2024-11-17T10:05:48.706Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-17T10:05:49.003Z] STF 10:05:48.776 - Monitoring Report Summary: [2024-11-17T10:05:49.003Z] STF 10:05:48.776 - o Process CMJ ended with the expected exit code (0) [2024-11-17T10:05:49.003Z] STF 10:05:48.777 - Created modular jar: 5.com.test.jar [2024-11-17T10:05:49.003Z] STF 10:05:48.777 - [2024-11-17T10:05:49.003Z] STF 10:05:48.777 - +------ Step 6 - Create runtime image for upgrademodulepath test [2024-11-17T10:05:49.003Z] STF 10:05:48.777 - | Run jlink to create runtime image [2024-11-17T10:05:49.003Z] STF 10:05:48.777 - | ImageName: UpJVM [2024-11-17T10:05:49.003Z] STF 10:05:48.777 - | [2024-11-17T10:05:49.003Z] STF 10:05:48.778 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/jlink --module-path C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jdkbinary\j2sdk-image\jmods;C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\aqa-tests\TKG\output_17318358094769\UpgModPath_Exp_0\20241117-100543-UpgModPathTest\modules --add-modules com.hello,com.hola,com.test,com.helper,com.discreet --output C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\aqa-tests\TKG\output_17318358094769\UpgModPath_Exp_0\20241117-100543-UpgModPathTest\tmp\6.UpJVM [2024-11-17T10:05:49.003Z] STF 10:05:48.778 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17318358094769/UpgModPath_Exp_0/20241117-100543-UpgModPathTest/results/6.JLNK.stderr [2024-11-17T10:05:49.003Z] STF 10:05:48.778 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17318358094769/UpgModPath_Exp_0/20241117-100543-UpgModPathTest/results/6.JLNK.stdout [2024-11-17T10:05:49.003Z] STF 10:05:48.786 - Monitoring processes: JLNK [2024-11-17T10:05:49.003Z] JLNK stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-17T10:05:51.812Z] STF 10:05:51.395 - Monitoring Report Summary: [2024-11-17T10:05:51.812Z] STF 10:05:51.395 - o Process JLNK ended with the expected exit code (0) [2024-11-17T10:05:51.812Z] STF 10:05:51.396 - [2024-11-17T10:05:51.812Z] STF 10:05:51.396 - +------ Step 7 - Override an application module [2024-11-17T10:05:51.812Z] STF 10:05:51.396 - | Run foreground process [2024-11-17T10:05:51.812Z] STF 10:05:51.396 - | Program: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/java [2024-11-17T10:05:51.812Z] STF 10:05:51.396 - | Mnemonic: OT11 [2024-11-17T10:05:51.812Z] STF 10:05:51.396 - | Echo: ECHO_ON [2024-11-17T10:05:51.812Z] STF 10:05:51.396 - | Expectation: CLEAN_RUN within 1m [2024-11-17T10:05:51.812Z] STF 10:05:51.396 - | [2024-11-17T10:05:51.813Z] STF 10:05:51.397 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/java --add-reads com.test=ALL-UNNAMED --module-path C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods;C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests --upgrade-module-path C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.hello --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 [2024-11-17T10:05:51.813Z] STF 10:05:51.397 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17318358094769/UpgModPath_Exp_0/20241117-100543-UpgModPathTest/results/7.OT11.stderr [2024-11-17T10:05:51.813Z] STF 10:05:51.397 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17318358094769/UpgModPath_Exp_0/20241117-100543-UpgModPathTest/results/7.OT11.stdout [2024-11-17T10:05:51.813Z] STF 10:05:51.406 - Monitoring processes: OT11 [2024-11-17T10:05:51.813Z] OT11 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-17T10:05:51.813Z] OT11 JUnit version 4.12 [2024-11-17T10:05:52.108Z] OT11 . [2024-11-17T10:05:52.108Z] OT11 Time: 0 [2024-11-17T10:05:52.108Z] OT11 [2024-11-17T10:05:52.108Z] OT11 OK (1 test) [2024-11-17T10:05:52.108Z] OT11 [2024-11-17T10:05:52.108Z] STF 10:05:51.848 - Monitoring Report Summary: [2024-11-17T10:05:52.108Z] STF 10:05:51.849 - o Process OT11 ended with the expected exit code (0) [2024-11-17T10:05:52.108Z] STF 10:05:51.850 - [2024-11-17T10:05:52.108Z] STF 10:05:51.850 - +------ Step 8 - (Negative test) Override a non-upgradable platform module [2024-11-17T10:05:52.108Z] STF 10:05:51.850 - | Run foreground process [2024-11-17T10:05:52.109Z] STF 10:05:51.850 - | Program: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/java [2024-11-17T10:05:52.109Z] STF 10:05:51.850 - | Mnemonic: OT13 [2024-11-17T10:05:52.109Z] STF 10:05:51.850 - | Echo: ECHO_ON [2024-11-17T10:05:52.109Z] STF 10:05:51.850 - | Expectation: NON_ZERO_EXIT [1] within 1m [2024-11-17T10:05:52.109Z] STF 10:05:51.850 - | [2024-11-17T10:05:52.109Z] STF 10:05:51.851 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/java --add-reads com.test=ALL-UNNAMED --module-path C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods;C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests --upgrade-module-path C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\java.logging --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 [2024-11-17T10:05:52.109Z] STF 10:05:51.851 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17318358094769/UpgModPath_Exp_0/20241117-100543-UpgModPathTest/results/8.OT13.stderr [2024-11-17T10:05:52.109Z] STF 10:05:51.851 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17318358094769/UpgModPath_Exp_0/20241117-100543-UpgModPathTest/results/8.OT13.stdout [2024-11-17T10:05:52.109Z] STF 10:05:51.859 - Monitoring processes: OT13 [2024-11-17T10:05:52.109Z] OT13 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-17T10:05:52.406Z] OT13 Error occurred during initialization of boot layer [2024-11-17T10:05:52.406Z] OT13 java.lang.module.FindException: Unable to compute the hash of module java.logging [2024-11-17T10:05:52.406Z] STF 10:05:52.128 - Monitoring Report Summary: [2024-11-17T10:05:52.406Z] STF 10:05:52.128 - o Process OT13 ended with the expected exit code (1) [2024-11-17T10:05:52.406Z] STF 10:05:52.129 - [2024-11-17T10:05:52.406Z] STF 10:05:52.129 - +------ Step 9 - Combine stderr and stdout files of process OT13 [2024-11-17T10:05:52.406Z] STF 10:05:52.129 - | Run foreground process [2024-11-17T10:05:52.406Z] STF 10:05:52.129 - | Program: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/java [2024-11-17T10:05:52.406Z] STF 10:05:52.129 - | Mnemonic: CO [2024-11-17T10:05:52.406Z] STF 10:05:52.129 - | Echo: ECHO_OFF [2024-11-17T10:05:52.406Z] STF 10:05:52.129 - | Expectation: NON_ZERO_EXIT [0] within 30s [2024-11-17T10:05:52.406Z] STF 10:05:52.129 - | [2024-11-17T10:05:52.406Z] STF 10:05:52.130 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/java -Dfile1=C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17318358094769/UpgModPath_Exp_0/20241117-100543-UpgModPathTest/results/8.OT13.stdout -Dfile2=C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17318358094769/UpgModPath_Exp_0/20241117-100543-UpgModPathTest/results/8.OT13.stderr -Dfinal.file=C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\aqa-tests\TKG\output_17318358094769\UpgModPath_Exp_0\20241117-100543-UpgModPathTest\results\combinedOT13.txt -XX:+UseCompressedOops -classpath C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\STF\stf.core\bin;C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin net.adoptopenjdk.test.modularity.TestUtil [2024-11-17T10:05:52.406Z] STF 10:05:52.130 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17318358094769/UpgModPath_Exp_0/20241117-100543-UpgModPathTest/results/9.CO.stderr [2024-11-17T10:05:52.406Z] STF 10:05:52.130 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17318358094769/UpgModPath_Exp_0/20241117-100543-UpgModPathTest/results/9.CO.stdout [2024-11-17T10:05:52.406Z] STF 10:05:52.139 - Monitoring processes: CO [2024-11-17T10:05:52.703Z] STF 10:05:52.364 - Monitoring Report Summary: [2024-11-17T10:05:52.703Z] STF 10:05:52.364 - o Process CO ended with the expected exit code (0) [2024-11-17T10:05:52.703Z] STF 10:05:52.365 - [2024-11-17T10:05:52.703Z] STF 10:05:52.365 - +------ Step 10 - Check output [2024-11-17T10:05:52.703Z] STF 10:05:52.365 - | Count file matches [2024-11-17T10:05:52.703Z] STF 10:05:52.365 - | TargetFile: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17318358094769/UpgModPath_Exp_0/20241117-100543-UpgModPathTest/results/combinedOT13.txt [2024-11-17T10:05:52.703Z] STF 10:05:52.365 - | ExpectedNumMatches: 1 [2024-11-17T10:05:52.703Z] STF 10:05:52.365 - | SearchStrings: ["FindException: Unable to compute the hash of module java.logging"] [2024-11-17T10:05:52.703Z] STF 10:05:52.365 - | [2024-11-17T10:05:52.703Z] STF 10:05:52.379 - Found 1 instances of ["FindException: Unable to compute the hash of module java.logging"] [2024-11-17T10:05:52.703Z] STF 10:05:52.379 - EXECUTE stage completed [2024-11-17T10:05:52.703Z] STF 10:05:52.491 - [2024-11-17T10:05:52.703Z] STF 10:05:52.491 - ==================== T E A R D O W N ==================== [2024-11-17T10:05:52.703Z] STF 10:05:52.491 - Running teardown: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17318358094769\UpgModPath_Exp_0/20241117-100543-UpgModPathTest/tearDown.pl [2024-11-17T10:05:53.001Z] STF 10:05:52.876 - TEARDOWN stage completed [2024-11-17T10:05:53.001Z] STF 10:05:52.902 - [2024-11-17T10:05:53.001Z] STF 10:05:52.902 - ===================== R E S U L T S ===================== [2024-11-17T10:05:53.001Z] STF 10:05:52.902 - Stage results: [2024-11-17T10:05:53.001Z] STF 10:05:52.902 - setUp: pass [2024-11-17T10:05:53.001Z] STF 10:05:52.902 - execute: pass [2024-11-17T10:05:53.001Z] STF 10:05:52.902 - teardown: pass [2024-11-17T10:05:53.001Z] STF 10:05:52.902 - [2024-11-17T10:05:53.001Z] STF 10:05:52.902 - Overall result: PASSED [2024-11-17T10:05:53.001Z] ----------------------------------- [2024-11-17T10:05:53.001Z] UpgModPath_Exp_0_PASSED [2024-11-17T10:05:53.001Z] ----------------------------------- [2024-11-17T10:05:53.299Z] [2024-11-17T10:05:53.299Z] TEST TEARDOWN: [2024-11-17T10:05:53.299Z] Nothing to be done for teardown. [2024-11-17T10:05:53.598Z] UpgModPath_Exp_0 Finish Time: Sun Nov 17 10:05:53 2024 Epoch Time (ms): 1731837953314