UpgModPath_ExpImg_1

[2024-08-10T00:48:24.564Z] Running test UpgModPath_ExpImg_1 ... [2024-08-10T00:48:24.564Z] =============================================== [2024-08-10T00:48:24.928Z] UpgModPath_ExpImg_1 Start Time: Sat Aug 10 00:48:24 2024 Epoch Time (ms): 1723250904579 [2024-08-10T00:48:24.928Z] variation: Mode650 [2024-08-10T00:48:25.284Z] JVM_OPTIONS: -XX:-UseCompressedOops [2024-08-10T00:48:25.284Z] { \ [2024-08-10T00:48:25.284Z] echo ""; echo "TEST SETUP:"; \ [2024-08-10T00:48:25.284Z] echo "Nothing to be done for setup."; \ [2024-08-10T00:48:25.284Z] mkdir -p "C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17232486191454\\UpgModPath_ExpImg_1"; \ [2024-08-10T00:48:25.284Z] cd "C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17232486191454\\UpgModPath_ExpImg_1"; \ [2024-08-10T00:48:25.284Z] echo ""; echo "TESTING:"; \ [2024-08-10T00:48:25.284Z] perl C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests///..//jvmtest\\system\\modularity/../\\STF\\stf.core\\scripts\\stf.pl -test-root="C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests///..//jvmtest\\system\\modularity/../\\STF;C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests///..//jvmtest\\system\\modularity/../\\aqa-systemtest""" -systemtest-prereqs="c:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/../../testDependency/system_lib\\" -java-args=' -XX:-UseCompressedOops ' -results-root="C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17232486191454\\UpgModPath_ExpImg_1" -test=UpgModPathTest -test-args="variant=ExpImg"; \ [2024-08-10T00:48:25.284Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "UpgModPath_ExpImg_1""_PASSED"; echo "-----------------------------------"; cd C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/; rm -f -r "C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17232486191454\\UpgModPath_ExpImg_1"; else echo "-----------------------------------"; echo "UpgModPath_ExpImg_1""_FAILED"; echo "-----------------------------------"; fi; \ [2024-08-10T00:48:25.284Z] echo ""; echo "TEST TEARDOWN:"; \ [2024-08-10T00:48:25.284Z] echo "Nothing to be done for teardown."; \ [2024-08-10T00:48:25.284Z] } 2>&1 | tee -a "C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17232486191454\\TestTargetResult"; [2024-08-10T00:48:25.284Z] [2024-08-10T00:48:25.284Z] TEST SETUP: [2024-08-10T00:48:25.284Z] Nothing to be done for setup. [2024-08-10T00:48:25.284Z] [2024-08-10T00:48:25.284Z] TESTING: [2024-08-10T00:48:25.284Z] STF 00:48:25.183 - ========================= S T F ========================= [2024-08-10T00:48:25.284Z] systemtest-prereqs has been processed, and set to: c:/jenkins/testDependency/system_libRetrieving amount of free space on drive containing C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17232486191454\UpgModPath_ExpImg_1 [2024-08-10T00:48:25.608Z] There is 122566 Mb free [2024-08-10T00:48:25.608Z] STF 00:48:25.227 - ================== G E N E R A T I O N ================== [2024-08-10T00:48:25.608Z] STF 00:48:25.229 - Checking JVM: c:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image [2024-08-10T00:48:25.608Z] STF 00:48:25.230 - Starting process to generate scripts: c:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java -Dlog4j.skipJansi=true -Djava.system.class.loader=net.adoptopenjdk.stf.runner.StfClassLoader -classpath c:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/../../testDependency/system_lib\/log4j/log4j-api.jar;c:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/../../testDependency/system_lib\/log4j/log4j-core.jar;C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17232486191454\UpgModPath_ExpImg_1/20240810-004825-UpgModPathTest/stf_parameters.properties, , C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17232486191454\UpgModPath_ExpImg_1/20240810-004825-UpgModPathTest" [2024-08-10T00:48:25.608Z] GEN stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-08-10T00:48:25.608Z] GEN [0.018s][warning][cds] Archived non-system classes are disabled because the java.system.class.loader property is specified (value = "net.adoptopenjdk.stf.runner.StfClassLoader"). To use archived non-system classes, this property must not be set [2024-08-10T00:48:26.292Z] GEN 00:48:26.210 - Found test. Project: 'openjdk.test.modularity' class: 'UpgModPathTest.class' Dir: 'C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin' [2024-08-10T00:48:26.292Z] GEN 00:48:26.224 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.UpgModPathTest' [2024-08-10T00:48:26.611Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2024-08-10T00:48:26.611Z] GEN C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayService [2024-08-10T00:48:26.611Z] GEN C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper [2024-08-10T00:48:26.611Z] GEN C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl1 [2024-08-10T00:48:26.611Z] GEN C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet [2024-08-10T00:48:26.611Z] GEN C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello [2024-08-10T00:48:26.611Z] GEN C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola [2024-08-10T00:48:26.611Z] GEN C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl2 [2024-08-10T00:48:26.611Z] GEN C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hi [2024-08-10T00:48:26.611Z] GEN C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override [2024-08-10T00:48:26.611Z] GEN C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override-new [2024-08-10T00:48:26.611Z] GEN C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl3 [2024-08-10T00:48:26.611Z] GEN C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl4 [2024-08-10T00:48:26.611Z] GEN C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common [2024-08-10T00:48:26.611Z] GEN C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests [2024-08-10T00:48:26.611Z] GEN C:\\jenkins\\workspace\\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin [2024-08-10T00:48:26.611Z] GEN C:\\jenkins\\workspace\\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\\jvmtest\\system\\STF\\stf.core\\bin [2024-08-10T00:48:26.611Z] GEN c:/jenkins/testDependency/system_lib/log4j/log4j-api.jar [2024-08-10T00:48:26.611Z] GEN c:/jenkins/testDependency/system_lib/log4j/log4j-core.jar [2024-08-10T00:48:26.611Z] GEN c:/jenkins/testDependency/system_lib/junit/junit.jar [2024-08-10T00:48:26.611Z] GEN 00:48:26.424 - Using Mode NoOptions. Values = '' [2024-08-10T00:48:26.611Z] GEN 00:48:26.526 - [2024-08-10T00:48:26.611Z] GEN 00:48:26.526 - Test command summary: [2024-08-10T00:48:26.611Z] GEN 00:48:26.527 - Step Stage Command Description [2024-08-10T00:48:26.611Z] GEN 00:48:26.527 - -----+--------+-----------------+------------ [2024-08-10T00:48:26.611Z] GEN 00:48:26.527 - 1 execute jar Create com.hello jar [2024-08-10T00:48:26.611Z] GEN 00:48:26.527 - 2 execute jar Create com.hola jar [2024-08-10T00:48:26.611Z] GEN 00:48:26.528 - 3 execute jar Create com.helper jar [2024-08-10T00:48:26.611Z] GEN 00:48:26.528 - 4 execute jar Create com.discreet jar [2024-08-10T00:48:26.611Z] GEN 00:48:26.528 - 5 execute jar Create tests jar [2024-08-10T00:48:26.611Z] GEN 00:48:26.528 - 6 execute jlink Create runtime image for upgrademodulepath test [2024-08-10T00:48:26.611Z] GEN 00:48:26.528 - 7 execute Run java Override an application module using a custom runtime image [2024-08-10T00:48:26.611Z] GEN 00:48:26.528 - 8 execute Run java (Negative test) Override a non-upgradable platform module using a custom runtime image [2024-08-10T00:48:26.611Z] GEN 00:48:26.528 - 9 execute Run java Combine stderr and stdout files of process OT16 [2024-08-10T00:48:26.611Z] GEN 00:48:26.528 - 10 execute count Check output [2024-08-10T00:48:26.611Z] STF 00:48:26.549 - [2024-08-10T00:48:26.611Z] STF 00:48:26.549 - Script generation completed [2024-08-10T00:48:26.611Z] STF 00:48:26.549 - [2024-08-10T00:48:26.611Z] STF 00:48:26.551 - [2024-08-10T00:48:26.611Z] STF 00:48:26.551 - ======================= S E T U P ======================= [2024-08-10T00:48:26.611Z] STF 00:48:26.551 - Running setup: perl C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17232486191454\UpgModPath_ExpImg_1/20240810-004825-UpgModPathTest/setUp.pl [2024-08-10T00:48:26.930Z] STF 00:48:26.683 - SETUP stage completed [2024-08-10T00:48:26.930Z] STF 00:48:26.699 - [2024-08-10T00:48:26.930Z] STF 00:48:26.700 - ==================== E X E C U T E - ==================== [2024-08-10T00:48:26.930Z] STF 00:48:26.700 - Running execute: perl C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17232486191454\UpgModPath_ExpImg_1/20240810-004825-UpgModPathTest/execute.pl [2024-08-10T00:48:26.930Z] STF 00:48:26.829 - [2024-08-10T00:48:26.930Z] STF 00:48:26.829 - Java version [2024-08-10T00:48:26.930Z] STF 00:48:26.829 - Running: c:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java -version [2024-08-10T00:48:26.930Z] Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-08-10T00:48:26.930Z] openjdk version "21.0.5-beta" 2024-10-15 [2024-08-10T00:48:26.930Z] OpenJDK Runtime Environment Temurin-21.0.5+2-202408091906 (build 21.0.5-beta+2-ea) [2024-08-10T00:48:26.930Z] OpenJDK 64-Bit Server VM Temurin-21.0.5+2-202408091906 (build 21.0.5-beta+2-ea, mixed mode, sharing) [2024-08-10T00:48:27.256Z] STF 00:48:26.916 - [2024-08-10T00:48:27.256Z] STF 00:48:26.916 - +------ Step 1 - Create com.hello jar [2024-08-10T00:48:27.256Z] STF 00:48:26.916 - | Create modular jar [2024-08-10T00:48:27.256Z] STF 00:48:26.916 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2024-08-10T00:48:27.256Z] STF 00:48:26.916 - | ModuleVersion: null [2024-08-10T00:48:27.256Z] STF 00:48:26.916 - | MainClass: null [2024-08-10T00:48:27.256Z] STF 00:48:26.916 - | HashModules: null [2024-08-10T00:48:27.256Z] STF 00:48:26.916 - | [2024-08-10T00:48:27.256Z] STF 00:48:26.916 - Running command: c:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17232486191454/UpgModPath_ExpImg_1/20240810-004825-UpgModPathTest/modules/1.com.hello.jar -C C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello . [2024-08-10T00:48:27.256Z] STF 00:48:26.917 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17232486191454/UpgModPath_ExpImg_1/20240810-004825-UpgModPathTest/results/1.CMJ.stderr [2024-08-10T00:48:27.256Z] STF 00:48:26.917 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17232486191454/UpgModPath_ExpImg_1/20240810-004825-UpgModPathTest/results/1.CMJ.stdout [2024-08-10T00:48:27.257Z] STF 00:48:26.946 - Monitoring processes: CMJ [2024-08-10T00:48:27.257Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-08-10T00:48:27.578Z] STF 00:48:27.251 - Monitoring Report Summary: [2024-08-10T00:48:27.579Z] STF 00:48:27.251 - o Process CMJ ended with the expected exit code (0) [2024-08-10T00:48:27.579Z] STF 00:48:27.251 - Created modular jar: 1.com.hello.jar [2024-08-10T00:48:27.579Z] STF 00:48:27.251 - [2024-08-10T00:48:27.579Z] STF 00:48:27.251 - +------ Step 2 - Create com.hola jar [2024-08-10T00:48:27.579Z] STF 00:48:27.251 - | Create modular jar [2024-08-10T00:48:27.579Z] STF 00:48:27.251 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2024-08-10T00:48:27.579Z] STF 00:48:27.251 - | ModuleVersion: null [2024-08-10T00:48:27.579Z] STF 00:48:27.251 - | MainClass: null [2024-08-10T00:48:27.579Z] STF 00:48:27.251 - | HashModules: null [2024-08-10T00:48:27.579Z] STF 00:48:27.251 - | [2024-08-10T00:48:27.579Z] STF 00:48:27.252 - Running command: c:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17232486191454/UpgModPath_ExpImg_1/20240810-004825-UpgModPathTest/modules/2.com.hola.jar -C C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola . [2024-08-10T00:48:27.579Z] STF 00:48:27.252 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17232486191454/UpgModPath_ExpImg_1/20240810-004825-UpgModPathTest/results/2.CMJ.stderr [2024-08-10T00:48:27.579Z] STF 00:48:27.252 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17232486191454/UpgModPath_ExpImg_1/20240810-004825-UpgModPathTest/results/2.CMJ.stdout [2024-08-10T00:48:27.579Z] STF 00:48:27.259 - Monitoring processes: CMJ [2024-08-10T00:48:27.579Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-08-10T00:48:27.899Z] STF 00:48:27.554 - Monitoring Report Summary: [2024-08-10T00:48:27.899Z] STF 00:48:27.554 - o Process CMJ ended with the expected exit code (0) [2024-08-10T00:48:27.899Z] STF 00:48:27.554 - Created modular jar: 2.com.hola.jar [2024-08-10T00:48:27.899Z] STF 00:48:27.554 - [2024-08-10T00:48:27.899Z] STF 00:48:27.554 - +------ Step 3 - Create com.helper jar [2024-08-10T00:48:27.899Z] STF 00:48:27.554 - | Create modular jar [2024-08-10T00:48:27.899Z] STF 00:48:27.554 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2024-08-10T00:48:27.899Z] STF 00:48:27.554 - | ModuleVersion: null [2024-08-10T00:48:27.899Z] STF 00:48:27.554 - | MainClass: null [2024-08-10T00:48:27.899Z] STF 00:48:27.554 - | HashModules: null [2024-08-10T00:48:27.899Z] STF 00:48:27.554 - | [2024-08-10T00:48:27.899Z] STF 00:48:27.555 - Running command: c:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17232486191454/UpgModPath_ExpImg_1/20240810-004825-UpgModPathTest/modules/3.com.helper.jar -C C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper . [2024-08-10T00:48:27.899Z] STF 00:48:27.555 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17232486191454/UpgModPath_ExpImg_1/20240810-004825-UpgModPathTest/results/3.CMJ.stderr [2024-08-10T00:48:27.899Z] STF 00:48:27.555 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17232486191454/UpgModPath_ExpImg_1/20240810-004825-UpgModPathTest/results/3.CMJ.stdout [2024-08-10T00:48:27.899Z] STF 00:48:27.564 - Monitoring processes: CMJ [2024-08-10T00:48:27.899Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-08-10T00:48:28.223Z] STF 00:48:27.869 - Monitoring Report Summary: [2024-08-10T00:48:28.223Z] STF 00:48:27.870 - o Process CMJ ended with the expected exit code (0) [2024-08-10T00:48:28.223Z] STF 00:48:27.870 - Created modular jar: 3.com.helper.jar [2024-08-10T00:48:28.223Z] STF 00:48:27.870 - [2024-08-10T00:48:28.223Z] STF 00:48:27.870 - +------ Step 4 - Create com.discreet jar [2024-08-10T00:48:28.223Z] STF 00:48:27.870 - | Create modular jar [2024-08-10T00:48:28.223Z] STF 00:48:27.870 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2024-08-10T00:48:28.223Z] STF 00:48:27.870 - | ModuleVersion: null [2024-08-10T00:48:28.223Z] STF 00:48:27.870 - | MainClass: null [2024-08-10T00:48:28.223Z] STF 00:48:27.870 - | HashModules: null [2024-08-10T00:48:28.223Z] STF 00:48:27.870 - | [2024-08-10T00:48:28.223Z] STF 00:48:27.870 - Running command: c:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17232486191454/UpgModPath_ExpImg_1/20240810-004825-UpgModPathTest/modules/4.com.discreet.jar -C C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet . [2024-08-10T00:48:28.224Z] STF 00:48:27.870 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17232486191454/UpgModPath_ExpImg_1/20240810-004825-UpgModPathTest/results/4.CMJ.stderr [2024-08-10T00:48:28.224Z] STF 00:48:27.870 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17232486191454/UpgModPath_ExpImg_1/20240810-004825-UpgModPathTest/results/4.CMJ.stdout [2024-08-10T00:48:28.224Z] STF 00:48:27.876 - Monitoring processes: CMJ [2024-08-10T00:48:28.224Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-08-10T00:48:28.570Z] STF 00:48:28.200 - Monitoring Report Summary: [2024-08-10T00:48:28.570Z] STF 00:48:28.200 - o Process CMJ ended with the expected exit code (0) [2024-08-10T00:48:28.570Z] STF 00:48:28.200 - Created modular jar: 4.com.discreet.jar [2024-08-10T00:48:28.570Z] STF 00:48:28.200 - [2024-08-10T00:48:28.570Z] STF 00:48:28.200 - +------ Step 5 - Create tests jar [2024-08-10T00:48:28.570Z] STF 00:48:28.200 - | Create modular jar [2024-08-10T00:48:28.570Z] STF 00:48:28.200 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2024-08-10T00:48:28.570Z] STF 00:48:28.200 - | ModuleVersion: null [2024-08-10T00:48:28.570Z] STF 00:48:28.200 - | MainClass: null [2024-08-10T00:48:28.570Z] STF 00:48:28.200 - | HashModules: null [2024-08-10T00:48:28.570Z] STF 00:48:28.200 - | [2024-08-10T00:48:28.570Z] STF 00:48:28.200 - Running command: c:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17232486191454/UpgModPath_ExpImg_1/20240810-004825-UpgModPathTest/modules/5.com.test.jar -C C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests\com.test . [2024-08-10T00:48:28.570Z] STF 00:48:28.200 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17232486191454/UpgModPath_ExpImg_1/20240810-004825-UpgModPathTest/results/5.CMJ.stderr [2024-08-10T00:48:28.570Z] STF 00:48:28.200 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17232486191454/UpgModPath_ExpImg_1/20240810-004825-UpgModPathTest/results/5.CMJ.stdout [2024-08-10T00:48:28.570Z] STF 00:48:28.207 - Monitoring processes: CMJ [2024-08-10T00:48:28.570Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-08-10T00:48:28.896Z] STF 00:48:28.551 - Monitoring Report Summary: [2024-08-10T00:48:28.896Z] STF 00:48:28.551 - o Process CMJ ended with the expected exit code (0) [2024-08-10T00:48:28.896Z] STF 00:48:28.551 - Created modular jar: 5.com.test.jar [2024-08-10T00:48:28.896Z] STF 00:48:28.551 - [2024-08-10T00:48:28.896Z] STF 00:48:28.551 - +------ Step 6 - Create runtime image for upgrademodulepath test [2024-08-10T00:48:28.896Z] STF 00:48:28.551 - | Run jlink to create runtime image [2024-08-10T00:48:28.896Z] STF 00:48:28.551 - | ImageName: UpJVM [2024-08-10T00:48:28.896Z] STF 00:48:28.551 - | [2024-08-10T00:48:28.896Z] STF 00:48:28.552 - Running command: c:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jlink --module-path c:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jdkbinary\j2sdk-image\jmods;C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\aqa-tests\TKG\output_17232486191454\UpgModPath_ExpImg_1\20240810-004825-UpgModPathTest\modules --add-modules com.hello,com.hola,com.test,com.helper,com.discreet --output C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\aqa-tests\TKG\output_17232486191454\UpgModPath_ExpImg_1\20240810-004825-UpgModPathTest\tmp\6.UpJVM [2024-08-10T00:48:28.896Z] STF 00:48:28.552 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17232486191454/UpgModPath_ExpImg_1/20240810-004825-UpgModPathTest/results/6.JLNK.stderr [2024-08-10T00:48:28.896Z] STF 00:48:28.552 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17232486191454/UpgModPath_ExpImg_1/20240810-004825-UpgModPathTest/results/6.JLNK.stdout [2024-08-10T00:48:28.896Z] STF 00:48:28.559 - Monitoring processes: JLNK [2024-08-10T00:48:28.896Z] JLNK stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-08-10T00:48:31.777Z] STF 00:48:31.053 - Monitoring Report Summary: [2024-08-10T00:48:31.777Z] STF 00:48:31.053 - o Process JLNK ended with the expected exit code (0) [2024-08-10T00:48:31.777Z] STF 00:48:31.053 - [2024-08-10T00:48:31.777Z] STF 00:48:31.053 - +------ Step 7 - Override an application module using a custom runtime image [2024-08-10T00:48:31.777Z] STF 00:48:31.053 - | Run foreground process [2024-08-10T00:48:31.777Z] STF 00:48:31.053 - | Program: C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17232486191454/UpgModPath_ExpImg_1/20240810-004825-UpgModPathTest/tmp/6.UpJVM/bin/java [2024-08-10T00:48:31.777Z] STF 00:48:31.053 - | Mnemonic: OT14 [2024-08-10T00:48:31.777Z] STF 00:48:31.053 - | Echo: ECHO_ON [2024-08-10T00:48:31.777Z] STF 00:48:31.053 - | Expectation: CLEAN_RUN within 1m [2024-08-10T00:48:31.777Z] STF 00:48:31.053 - | [2024-08-10T00:48:31.778Z] STF 00:48:31.054 - Running command: C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17232486191454/UpgModPath_ExpImg_1/20240810-004825-UpgModPathTest/tmp/6.UpJVM/bin/java --add-reads com.test=ALL-UNNAMED --upgrade-module-path C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.hello -XX:-UseCompressedOops -classpath c:/jenkins/testDependency/system_lib/junit/junit.jar;c:/jenkins/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingAppModule [2024-08-10T00:48:31.778Z] STF 00:48:31.054 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17232486191454/UpgModPath_ExpImg_1/20240810-004825-UpgModPathTest/results/7.OT14.stderr [2024-08-10T00:48:31.778Z] STF 00:48:31.054 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17232486191454/UpgModPath_ExpImg_1/20240810-004825-UpgModPathTest/results/7.OT14.stdout [2024-08-10T00:48:31.778Z] STF 00:48:31.117 - Monitoring processes: OT14 [2024-08-10T00:48:31.778Z] OT14 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-08-10T00:48:31.778Z] OT14 JUnit version 4.12 [2024-08-10T00:48:31.778Z] OT14 . [2024-08-10T00:48:31.778Z] OT14 Time: 0.007 [2024-08-10T00:48:31.778Z] OT14 [2024-08-10T00:48:31.778Z] OT14 OK (1 test) [2024-08-10T00:48:31.778Z] OT14 [2024-08-10T00:48:31.778Z] STF 00:48:31.660 - Monitoring Report Summary: [2024-08-10T00:48:31.778Z] STF 00:48:31.660 - o Process OT14 ended with the expected exit code (0) [2024-08-10T00:48:31.778Z] STF 00:48:31.661 - [2024-08-10T00:48:31.778Z] STF 00:48:31.661 - +------ Step 8 - (Negative test) Override a non-upgradable platform module using a custom runtime image [2024-08-10T00:48:31.778Z] STF 00:48:31.661 - | Run foreground process [2024-08-10T00:48:31.778Z] STF 00:48:31.661 - | Program: C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17232486191454/UpgModPath_ExpImg_1/20240810-004825-UpgModPathTest/tmp/6.UpJVM/bin/java [2024-08-10T00:48:31.778Z] STF 00:48:31.661 - | Mnemonic: OT16 [2024-08-10T00:48:31.778Z] STF 00:48:31.661 - | Echo: ECHO_ON [2024-08-10T00:48:31.778Z] STF 00:48:31.661 - | Expectation: NON_ZERO_EXIT [1] within 1m [2024-08-10T00:48:31.778Z] STF 00:48:31.661 - | [2024-08-10T00:48:31.778Z] STF 00:48:31.661 - Running command: C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17232486191454/UpgModPath_ExpImg_1/20240810-004825-UpgModPathTest/tmp/6.UpJVM/bin/java --add-reads com.test=ALL-UNNAMED --upgrade-module-path C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\java.logging -XX:-UseCompressedOops -classpath c:/jenkins/testDependency/system_lib/junit/junit.jar;c:/jenkins/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingNonUpgradablePlatformModule [2024-08-10T00:48:31.778Z] STF 00:48:31.661 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17232486191454/UpgModPath_ExpImg_1/20240810-004825-UpgModPathTest/results/8.OT16.stderr [2024-08-10T00:48:31.778Z] STF 00:48:31.661 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17232486191454/UpgModPath_ExpImg_1/20240810-004825-UpgModPathTest/results/8.OT16.stdout [2024-08-10T00:48:31.778Z] STF 00:48:31.668 - Monitoring processes: OT16 [2024-08-10T00:48:31.778Z] OT16 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-08-10T00:48:32.098Z] OT16 Error occurred during initialization of boot layer [2024-08-10T00:48:32.098Z] OT16 java.lang.module.FindException: Unable to compute the hash of module java.logging [2024-08-10T00:48:32.098Z] STF 00:48:31.890 - Monitoring Report Summary: [2024-08-10T00:48:32.098Z] STF 00:48:31.890 - o Process OT16 ended with the expected exit code (1) [2024-08-10T00:48:32.098Z] STF 00:48:31.891 - [2024-08-10T00:48:32.098Z] STF 00:48:31.891 - +------ Step 9 - Combine stderr and stdout files of process OT16 [2024-08-10T00:48:32.098Z] STF 00:48:31.891 - | Run foreground process [2024-08-10T00:48:32.098Z] STF 00:48:31.891 - | Program: c:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java [2024-08-10T00:48:32.098Z] STF 00:48:31.891 - | Mnemonic: CO [2024-08-10T00:48:32.098Z] STF 00:48:31.891 - | Echo: ECHO_OFF [2024-08-10T00:48:32.098Z] STF 00:48:31.891 - | Expectation: NON_ZERO_EXIT [0] within 5m [2024-08-10T00:48:32.098Z] STF 00:48:31.891 - | [2024-08-10T00:48:32.098Z] STF 00:48:31.891 - Running command: c:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java -Dfile1=C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17232486191454/UpgModPath_ExpImg_1/20240810-004825-UpgModPathTest/results/8.OT16.stdout -Dfile2=C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17232486191454/UpgModPath_ExpImg_1/20240810-004825-UpgModPathTest/results/8.OT16.stderr -Dfinal.file=C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\aqa-tests\TKG\output_17232486191454\UpgModPath_ExpImg_1\20240810-004825-UpgModPathTest\results\combinedOT16.txt -XX:-UseCompressedOops -classpath C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\STF\stf.core\bin;C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin net.adoptopenjdk.test.modularity.TestUtil [2024-08-10T00:48:32.098Z] STF 00:48:31.891 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17232486191454/UpgModPath_ExpImg_1/20240810-004825-UpgModPathTest/results/9.CO.stderr [2024-08-10T00:48:32.098Z] STF 00:48:31.891 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17232486191454/UpgModPath_ExpImg_1/20240810-004825-UpgModPathTest/results/9.CO.stdout [2024-08-10T00:48:32.098Z] STF 00:48:31.896 - Monitoring processes: CO [2024-08-10T00:48:32.098Z] STF 00:48:32.033 - Monitoring Report Summary: [2024-08-10T00:48:32.098Z] STF 00:48:32.033 - o Process CO ended with the expected exit code (0) [2024-08-10T00:48:32.098Z] STF 00:48:32.033 - [2024-08-10T00:48:32.098Z] STF 00:48:32.033 - +------ Step 10 - Check output [2024-08-10T00:48:32.098Z] STF 00:48:32.033 - | Count file matches [2024-08-10T00:48:32.098Z] STF 00:48:32.033 - | TargetFile: C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17232486191454/UpgModPath_ExpImg_1/20240810-004825-UpgModPathTest/results/combinedOT16.txt [2024-08-10T00:48:32.098Z] STF 00:48:32.033 - | ExpectedNumMatches: 1 [2024-08-10T00:48:32.098Z] STF 00:48:32.033 - | SearchStrings: ["FindException: Unable to compute the hash of module java.logging"] [2024-08-10T00:48:32.098Z] STF 00:48:32.033 - | [2024-08-10T00:48:32.098Z] STF 00:48:32.034 - Found 1 instances of ["FindException: Unable to compute the hash of module java.logging"] [2024-08-10T00:48:32.098Z] STF 00:48:32.034 - EXECUTE stage completed [2024-08-10T00:48:32.099Z] STF 00:48:32.059 - [2024-08-10T00:48:32.099Z] STF 00:48:32.059 - ==================== T E A R D O W N ==================== [2024-08-10T00:48:32.099Z] STF 00:48:32.059 - Running teardown: perl C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17232486191454\UpgModPath_ExpImg_1/20240810-004825-UpgModPathTest/tearDown.pl [2024-08-10T00:48:32.451Z] STF 00:48:32.196 - TEARDOWN stage completed [2024-08-10T00:48:32.451Z] STF 00:48:32.208 - [2024-08-10T00:48:32.451Z] STF 00:48:32.208 - ===================== R E S U L T S ===================== [2024-08-10T00:48:32.451Z] STF 00:48:32.208 - Stage results: [2024-08-10T00:48:32.451Z] STF 00:48:32.208 - setUp: pass [2024-08-10T00:48:32.451Z] STF 00:48:32.208 - execute: pass [2024-08-10T00:48:32.451Z] STF 00:48:32.208 - teardown: pass [2024-08-10T00:48:32.451Z] STF 00:48:32.208 - [2024-08-10T00:48:32.451Z] STF 00:48:32.208 - Overall result: PASSED [2024-08-10T00:48:32.451Z] ----------------------------------- [2024-08-10T00:48:32.451Z] UpgModPath_ExpImg_1_PASSED [2024-08-10T00:48:32.451Z] ----------------------------------- [2024-08-10T00:48:32.451Z] [2024-08-10T00:48:32.451Z] TEST TEARDOWN: [2024-08-10T00:48:32.451Z] Nothing to be done for teardown. [2024-08-10T00:48:32.765Z] UpgModPath_ExpImg_1 Finish Time: Sat Aug 10 00:48:32 2024 Epoch Time (ms): 1723250912497