UpgModPath_Jar_0

[2024-08-10T09:46:58.844Z] Running test UpgModPath_Jar_0 ... [2024-08-10T09:46:58.844Z] =============================================== [2024-08-10T09:46:58.845Z] UpgModPath_Jar_0 Start Time: Sat Aug 10 09:46:58 2024 Epoch Time (ms): 1723283218749 [2024-08-10T09:46:59.229Z] variation: Mode150 [2024-08-10T09:46:59.229Z] JVM_OPTIONS: -XX:+UseCompressedOops [2024-08-10T09:46:59.229Z] { \ [2024-08-10T09:46:59.229Z] echo ""; echo "TEST SETUP:"; \ [2024-08-10T09:46:59.229Z] echo "Nothing to be done for setup."; \ [2024-08-10T09:46:59.229Z] mkdir -p "C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17232812199874\\UpgModPath_Jar_0"; \ [2024-08-10T09:46:59.229Z] cd "C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17232812199874\\UpgModPath_Jar_0"; \ [2024-08-10T09:46:59.229Z] echo ""; echo "TESTING:"; \ [2024-08-10T09:46:59.229Z] perl C:/jenkins/workspace/Test_openjdk11_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_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests///..//jvmtest\\system\\modularity/../\\STF;C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests///..//jvmtest\\system\\modularity/../\\aqa-systemtest""" -systemtest-prereqs="c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/../../testDependency/system_lib\\" -java-args=' -XX:+UseCompressedOops ' -results-root="C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17232812199874\\UpgModPath_Jar_0" -test=UpgModPathTest -test-args="variant=Jar"; \ [2024-08-10T09:46:59.229Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "UpgModPath_Jar_0""_PASSED"; echo "-----------------------------------"; cd C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/; rm -f -r "C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17232812199874\\UpgModPath_Jar_0"; else echo "-----------------------------------"; echo "UpgModPath_Jar_0""_FAILED"; echo "-----------------------------------"; fi; \ [2024-08-10T09:46:59.229Z] echo ""; echo "TEST TEARDOWN:"; \ [2024-08-10T09:46:59.229Z] echo "Nothing to be done for teardown."; \ [2024-08-10T09:46:59.229Z] } 2>&1 | tee -a "C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17232812199874\\TestTargetResult"; [2024-08-10T09:46:59.229Z] [2024-08-10T09:46:59.229Z] TEST SETUP: [2024-08-10T09:46:59.229Z] Nothing to be done for setup. [2024-08-10T09:46:59.229Z] [2024-08-10T09:46:59.229Z] TESTING: [2024-08-10T09:46:59.546Z] STF 09:46:59.267 - ========================= S T F ========================= [2024-08-10T09:46:59.546Z] systemtest-prereqs has been processed, and set to: c:/jenkins/testDependency/system_libRetrieving amount of free space on drive containing C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17232812199874\UpgModPath_Jar_0 [2024-08-10T09:46:59.546Z] There is 106595 Mb free [2024-08-10T09:46:59.546Z] STF 09:46:59.310 - ================== G E N E R A T I O N ================== [2024-08-10T09:46:59.546Z] STF 09:46:59.313 - Checking JVM: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image [2024-08-10T09:46:59.546Z] STF 09:46:59.313 - Starting process to generate scripts: c:/jenkins/workspace/Test_openjdk11_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_openjdk11_hs_sanity.system_x86-64_windows_testList_1/../../testDependency/system_lib\/log4j/log4j-api.jar;c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/../../testDependency/system_lib\/log4j/log4j-core.jar;C:/jenkins/workspace/Test_openjdk11_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_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17232812199874\UpgModPath_Jar_0/20240810-094659-UpgModPathTest/stf_parameters.properties, , C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17232812199874\UpgModPath_Jar_0/20240810-094659-UpgModPathTest" [2024-08-10T09:47:00.675Z] GEN 09:47:00.343 - Found test. Project: 'openjdk.test.modularity' class: 'UpgModPathTest.class' Dir: 'C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin' [2024-08-10T09:47:00.675Z] GEN 09:47:00.358 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.UpgModPathTest' [2024-08-10T09:47:00.675Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2024-08-10T09:47:00.675Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayService [2024-08-10T09:47:00.675Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper [2024-08-10T09:47:00.675Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl1 [2024-08-10T09:47:00.675Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet [2024-08-10T09:47:00.675Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello [2024-08-10T09:47:00.675Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola [2024-08-10T09:47:00.675Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl2 [2024-08-10T09:47:00.675Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hi [2024-08-10T09:47:00.675Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override [2024-08-10T09:47:00.675Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override-new [2024-08-10T09:47:00.675Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl3 [2024-08-10T09:47:00.675Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl4 [2024-08-10T09:47:00.675Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common [2024-08-10T09:47:00.675Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests [2024-08-10T09:47:00.675Z] GEN C:\\jenkins\\workspace\\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin [2024-08-10T09:47:00.676Z] GEN C:\\jenkins\\workspace\\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\\jvmtest\\system\\STF\\stf.core\\bin [2024-08-10T09:47:00.676Z] GEN c:/jenkins/testDependency/system_lib/log4j/log4j-api.jar [2024-08-10T09:47:00.676Z] GEN c:/jenkins/testDependency/system_lib/log4j/log4j-core.jar [2024-08-10T09:47:00.676Z] GEN c:/jenkins/testDependency/system_lib/junit/junit.jar [2024-08-10T09:47:00.676Z] GEN 09:47:00.613 - Using Mode NoOptions. Values = '' [2024-08-10T09:47:01.006Z] GEN 09:47:00.770 - [2024-08-10T09:47:01.006Z] GEN 09:47:00.771 - Test command summary: [2024-08-10T09:47:01.006Z] GEN 09:47:00.771 - Step Stage Command Description [2024-08-10T09:47:01.006Z] GEN 09:47:00.771 - -----+--------+-----------------+------------ [2024-08-10T09:47:01.006Z] GEN 09:47:00.771 - 1 execute jar Create com.hello jar [2024-08-10T09:47:01.006Z] GEN 09:47:00.772 - 2 execute jar Create com.hola jar [2024-08-10T09:47:01.006Z] GEN 09:47:00.772 - 3 execute jar Create com.helper jar [2024-08-10T09:47:01.006Z] GEN 09:47:00.772 - 4 execute jar Create com.discreet jar [2024-08-10T09:47:01.006Z] GEN 09:47:00.772 - 5 execute jar Create tests jar [2024-08-10T09:47:01.006Z] GEN 09:47:00.772 - 6 execute jlink Create runtime image for upgrademodulepath test [2024-08-10T09:47:01.006Z] GEN 09:47:00.772 - 7 execute jar Create com.hello override jar [2024-08-10T09:47:01.006Z] GEN 09:47:00.772 - 8 execute jar Create com.hello override jar [2024-08-10T09:47:01.006Z] GEN 09:47:00.772 - 9 execute Run java Override an application module using modularized jar [2024-08-10T09:47:01.006Z] GEN 09:47:00.773 - 10 execute Run java (Negative test) Override a non-upgradable platform module where the overriding module is in a modularized jar [2024-08-10T09:47:01.006Z] GEN 09:47:00.773 - 11 execute Run java Combine stderr and stdout files of process OT24 [2024-08-10T09:47:01.006Z] GEN 09:47:00.773 - 12 execute count Check output [2024-08-10T09:47:01.006Z] STF 09:47:00.808 - [2024-08-10T09:47:01.006Z] STF 09:47:00.808 - Script generation completed [2024-08-10T09:47:01.006Z] STF 09:47:00.808 - [2024-08-10T09:47:01.006Z] STF 09:47:00.809 - [2024-08-10T09:47:01.006Z] STF 09:47:00.809 - ======================= S E T U P ======================= [2024-08-10T09:47:01.006Z] STF 09:47:00.809 - Running setup: perl C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17232812199874\UpgModPath_Jar_0/20240810-094659-UpgModPathTest/setUp.pl [2024-08-10T09:47:01.006Z] STF 09:47:00.938 - SETUP stage completed [2024-08-10T09:47:01.006Z] STF 09:47:00.949 - [2024-08-10T09:47:01.006Z] STF 09:47:00.949 - ==================== E X E C U T E - ==================== [2024-08-10T09:47:01.006Z] STF 09:47:00.949 - Running execute: perl C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17232812199874\UpgModPath_Jar_0/20240810-094659-UpgModPathTest/execute.pl [2024-08-10T09:47:01.335Z] STF 09:47:01.079 - [2024-08-10T09:47:01.335Z] STF 09:47:01.079 - Java version [2024-08-10T09:47:01.335Z] STF 09:47:01.079 - Running: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java -version [2024-08-10T09:47:01.335Z] openjdk version "11.0.25-beta" 2024-10-15 [2024-08-10T09:47:01.335Z] OpenJDK Runtime Environment Temurin-11.0.25+2-202408092214 (build 11.0.25-beta+2-ea) [2024-08-10T09:47:01.335Z] OpenJDK 64-Bit Server VM Temurin-11.0.25+2-202408092214 (build 11.0.25-beta+2-ea, mixed mode) [2024-08-10T09:47:01.335Z] STF 09:47:01.189 - [2024-08-10T09:47:01.335Z] STF 09:47:01.189 - +------ Step 1 - Create com.hello jar [2024-08-10T09:47:01.335Z] STF 09:47:01.189 - | Create modular jar [2024-08-10T09:47:01.335Z] STF 09:47:01.189 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2024-08-10T09:47:01.335Z] STF 09:47:01.189 - | ModuleVersion: null [2024-08-10T09:47:01.335Z] STF 09:47:01.189 - | MainClass: null [2024-08-10T09:47:01.335Z] STF 09:47:01.189 - | HashModules: null [2024-08-10T09:47:01.335Z] STF 09:47:01.189 - | [2024-08-10T09:47:01.335Z] STF 09:47:01.189 - Running command: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17232812199874/UpgModPath_Jar_0/20240810-094659-UpgModPathTest/modules/1.com.hello.jar -C C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello . [2024-08-10T09:47:01.335Z] STF 09:47:01.189 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17232812199874/UpgModPath_Jar_0/20240810-094659-UpgModPathTest/results/1.CMJ.stderr [2024-08-10T09:47:01.335Z] STF 09:47:01.189 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17232812199874/UpgModPath_Jar_0/20240810-094659-UpgModPathTest/results/1.CMJ.stdout [2024-08-10T09:47:01.335Z] STF 09:47:01.215 - Monitoring processes: CMJ [2024-08-10T09:47:01.660Z] STF 09:47:01.502 - Monitoring Report Summary: [2024-08-10T09:47:01.660Z] STF 09:47:01.502 - o Process CMJ ended with the expected exit code (0) [2024-08-10T09:47:01.660Z] STF 09:47:01.502 - Created modular jar: 1.com.hello.jar [2024-08-10T09:47:01.660Z] STF 09:47:01.502 - [2024-08-10T09:47:01.660Z] STF 09:47:01.502 - +------ Step 2 - Create com.hola jar [2024-08-10T09:47:01.660Z] STF 09:47:01.502 - | Create modular jar [2024-08-10T09:47:01.660Z] STF 09:47:01.502 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2024-08-10T09:47:01.660Z] STF 09:47:01.502 - | ModuleVersion: null [2024-08-10T09:47:01.660Z] STF 09:47:01.502 - | MainClass: null [2024-08-10T09:47:01.660Z] STF 09:47:01.502 - | HashModules: null [2024-08-10T09:47:01.660Z] STF 09:47:01.502 - | [2024-08-10T09:47:01.660Z] STF 09:47:01.503 - Running command: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17232812199874/UpgModPath_Jar_0/20240810-094659-UpgModPathTest/modules/2.com.hola.jar -C C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola . [2024-08-10T09:47:01.660Z] STF 09:47:01.503 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17232812199874/UpgModPath_Jar_0/20240810-094659-UpgModPathTest/results/2.CMJ.stderr [2024-08-10T09:47:01.660Z] STF 09:47:01.503 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17232812199874/UpgModPath_Jar_0/20240810-094659-UpgModPathTest/results/2.CMJ.stdout [2024-08-10T09:47:01.660Z] STF 09:47:01.509 - Monitoring processes: CMJ [2024-08-10T09:47:01.984Z] STF 09:47:01.777 - Monitoring Report Summary: [2024-08-10T09:47:01.984Z] STF 09:47:01.777 - o Process CMJ ended with the expected exit code (0) [2024-08-10T09:47:01.984Z] STF 09:47:01.777 - Created modular jar: 2.com.hola.jar [2024-08-10T09:47:01.984Z] STF 09:47:01.777 - [2024-08-10T09:47:01.984Z] STF 09:47:01.777 - +------ Step 3 - Create com.helper jar [2024-08-10T09:47:01.984Z] STF 09:47:01.777 - | Create modular jar [2024-08-10T09:47:01.984Z] STF 09:47:01.777 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2024-08-10T09:47:01.984Z] STF 09:47:01.777 - | ModuleVersion: null [2024-08-10T09:47:01.984Z] STF 09:47:01.777 - | MainClass: null [2024-08-10T09:47:01.984Z] STF 09:47:01.777 - | HashModules: null [2024-08-10T09:47:01.984Z] STF 09:47:01.777 - | [2024-08-10T09:47:01.985Z] STF 09:47:01.777 - Running command: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17232812199874/UpgModPath_Jar_0/20240810-094659-UpgModPathTest/modules/3.com.helper.jar -C C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper . [2024-08-10T09:47:01.985Z] STF 09:47:01.777 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17232812199874/UpgModPath_Jar_0/20240810-094659-UpgModPathTest/results/3.CMJ.stderr [2024-08-10T09:47:01.985Z] STF 09:47:01.777 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17232812199874/UpgModPath_Jar_0/20240810-094659-UpgModPathTest/results/3.CMJ.stdout [2024-08-10T09:47:01.985Z] STF 09:47:01.782 - Monitoring processes: CMJ [2024-08-10T09:47:02.309Z] STF 09:47:02.062 - Monitoring Report Summary: [2024-08-10T09:47:02.309Z] STF 09:47:02.062 - o Process CMJ ended with the expected exit code (0) [2024-08-10T09:47:02.309Z] STF 09:47:02.062 - Created modular jar: 3.com.helper.jar [2024-08-10T09:47:02.309Z] STF 09:47:02.062 - [2024-08-10T09:47:02.309Z] STF 09:47:02.062 - +------ Step 4 - Create com.discreet jar [2024-08-10T09:47:02.309Z] STF 09:47:02.062 - | Create modular jar [2024-08-10T09:47:02.309Z] STF 09:47:02.062 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2024-08-10T09:47:02.309Z] STF 09:47:02.062 - | ModuleVersion: null [2024-08-10T09:47:02.309Z] STF 09:47:02.062 - | MainClass: null [2024-08-10T09:47:02.310Z] STF 09:47:02.062 - | HashModules: null [2024-08-10T09:47:02.310Z] STF 09:47:02.062 - | [2024-08-10T09:47:02.310Z] STF 09:47:02.062 - Running command: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17232812199874/UpgModPath_Jar_0/20240810-094659-UpgModPathTest/modules/4.com.discreet.jar -C C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet . [2024-08-10T09:47:02.310Z] STF 09:47:02.062 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17232812199874/UpgModPath_Jar_0/20240810-094659-UpgModPathTest/results/4.CMJ.stderr [2024-08-10T09:47:02.310Z] STF 09:47:02.062 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17232812199874/UpgModPath_Jar_0/20240810-094659-UpgModPathTest/results/4.CMJ.stdout [2024-08-10T09:47:02.310Z] STF 09:47:02.067 - Monitoring processes: CMJ [2024-08-10T09:47:02.637Z] STF 09:47:02.356 - Monitoring Report Summary: [2024-08-10T09:47:02.637Z] STF 09:47:02.356 - o Process CMJ ended with the expected exit code (0) [2024-08-10T09:47:02.637Z] STF 09:47:02.357 - Created modular jar: 4.com.discreet.jar [2024-08-10T09:47:02.637Z] STF 09:47:02.357 - [2024-08-10T09:47:02.637Z] STF 09:47:02.357 - +------ Step 5 - Create tests jar [2024-08-10T09:47:02.637Z] STF 09:47:02.357 - | Create modular jar [2024-08-10T09:47:02.637Z] STF 09:47:02.357 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2024-08-10T09:47:02.637Z] STF 09:47:02.357 - | ModuleVersion: null [2024-08-10T09:47:02.637Z] STF 09:47:02.357 - | MainClass: null [2024-08-10T09:47:02.637Z] STF 09:47:02.357 - | HashModules: null [2024-08-10T09:47:02.637Z] STF 09:47:02.357 - | [2024-08-10T09:47:02.637Z] STF 09:47:02.357 - Running command: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17232812199874/UpgModPath_Jar_0/20240810-094659-UpgModPathTest/modules/5.com.test.jar -C C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests\com.test . [2024-08-10T09:47:02.637Z] STF 09:47:02.357 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17232812199874/UpgModPath_Jar_0/20240810-094659-UpgModPathTest/results/5.CMJ.stderr [2024-08-10T09:47:02.637Z] STF 09:47:02.357 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17232812199874/UpgModPath_Jar_0/20240810-094659-UpgModPathTest/results/5.CMJ.stdout [2024-08-10T09:47:02.637Z] STF 09:47:02.363 - Monitoring processes: CMJ [2024-08-10T09:47:02.982Z] STF 09:47:02.643 - Monitoring Report Summary: [2024-08-10T09:47:02.982Z] STF 09:47:02.643 - o Process CMJ ended with the expected exit code (0) [2024-08-10T09:47:02.983Z] STF 09:47:02.643 - Created modular jar: 5.com.test.jar [2024-08-10T09:47:02.983Z] STF 09:47:02.643 - [2024-08-10T09:47:02.983Z] STF 09:47:02.643 - +------ Step 6 - Create runtime image for upgrademodulepath test [2024-08-10T09:47:02.983Z] STF 09:47:02.643 - | Run jlink to create runtime image [2024-08-10T09:47:02.983Z] STF 09:47:02.643 - | ImageName: UpJVM [2024-08-10T09:47:02.983Z] STF 09:47:02.643 - | [2024-08-10T09:47:02.983Z] STF 09:47:02.644 - Running command: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jlink --module-path c:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jdkbinary\j2sdk-image\jmods;C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\aqa-tests\TKG\output_17232812199874\UpgModPath_Jar_0\20240810-094659-UpgModPathTest\modules --add-modules com.hello,com.hola,com.test,com.helper,com.discreet --output C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\aqa-tests\TKG\output_17232812199874\UpgModPath_Jar_0\20240810-094659-UpgModPathTest\tmp\6.UpJVM [2024-08-10T09:47:02.983Z] STF 09:47:02.644 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17232812199874/UpgModPath_Jar_0/20240810-094659-UpgModPathTest/results/6.JLNK.stderr [2024-08-10T09:47:02.983Z] STF 09:47:02.644 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17232812199874/UpgModPath_Jar_0/20240810-094659-UpgModPathTest/results/6.JLNK.stdout [2024-08-10T09:47:02.983Z] STF 09:47:02.650 - Monitoring processes: JLNK [2024-08-10T09:47:05.217Z] STF 09:47:04.920 - Monitoring Report Summary: [2024-08-10T09:47:05.217Z] STF 09:47:04.920 - o Process JLNK ended with the expected exit code (0) [2024-08-10T09:47:05.217Z] STF 09:47:04.920 - [2024-08-10T09:47:05.217Z] STF 09:47:04.920 - +------ Step 7 - Create com.hello override jar [2024-08-10T09:47:05.217Z] STF 09:47:04.920 - | Create modular jar [2024-08-10T09:47:05.217Z] STF 09:47:04.920 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2024-08-10T09:47:05.217Z] STF 09:47:04.920 - | ModuleVersion: null [2024-08-10T09:47:05.217Z] STF 09:47:04.920 - | MainClass: null [2024-08-10T09:47:05.217Z] STF 09:47:04.920 - | HashModules: null [2024-08-10T09:47:05.217Z] STF 09:47:04.920 - | [2024-08-10T09:47:05.217Z] STF 09:47:04.920 - Running command: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17232812199874/UpgModPath_Jar_0/20240810-094659-UpgModPathTest/modules/7.com.hello.jar -C C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.hello . [2024-08-10T09:47:05.217Z] STF 09:47:04.920 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17232812199874/UpgModPath_Jar_0/20240810-094659-UpgModPathTest/results/7.CMJ.stderr [2024-08-10T09:47:05.217Z] STF 09:47:04.920 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17232812199874/UpgModPath_Jar_0/20240810-094659-UpgModPathTest/results/7.CMJ.stdout [2024-08-10T09:47:05.217Z] STF 09:47:04.927 - Monitoring processes: CMJ [2024-08-10T09:47:05.542Z] STF 09:47:05.264 - Monitoring Report Summary: [2024-08-10T09:47:05.542Z] STF 09:47:05.264 - o Process CMJ ended with the expected exit code (0) [2024-08-10T09:47:05.542Z] STF 09:47:05.264 - Created modular jar: 7.com.hello.jar [2024-08-10T09:47:05.542Z] STF 09:47:05.264 - [2024-08-10T09:47:05.542Z] STF 09:47:05.264 - +------ Step 8 - Create com.hello override jar [2024-08-10T09:47:05.542Z] STF 09:47:05.264 - | Create modular jar [2024-08-10T09:47:05.542Z] STF 09:47:05.264 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.logging [2024-08-10T09:47:05.542Z] STF 09:47:05.264 - | ModuleVersion: null [2024-08-10T09:47:05.542Z] STF 09:47:05.264 - | MainClass: null [2024-08-10T09:47:05.542Z] STF 09:47:05.264 - | HashModules: null [2024-08-10T09:47:05.542Z] STF 09:47:05.264 - | [2024-08-10T09:47:05.542Z] STF 09:47:05.264 - Running command: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17232812199874/UpgModPath_Jar_0/20240810-094659-UpgModPathTest/modules/8.java.logging.jar -C C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\java.logging . [2024-08-10T09:47:05.542Z] STF 09:47:05.264 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17232812199874/UpgModPath_Jar_0/20240810-094659-UpgModPathTest/results/8.CMJ.stderr [2024-08-10T09:47:05.542Z] STF 09:47:05.264 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17232812199874/UpgModPath_Jar_0/20240810-094659-UpgModPathTest/results/8.CMJ.stdout [2024-08-10T09:47:05.542Z] STF 09:47:05.270 - Monitoring processes: CMJ [2024-08-10T09:47:05.869Z] STF 09:47:05.541 - Monitoring Report Summary: [2024-08-10T09:47:05.869Z] STF 09:47:05.541 - o Process CMJ ended with the expected exit code (0) [2024-08-10T09:47:05.869Z] STF 09:47:05.541 - Created modular jar: 8.java.logging.jar [2024-08-10T09:47:05.869Z] STF 09:47:05.541 - [2024-08-10T09:47:05.869Z] STF 09:47:05.541 - +------ Step 9 - Override an application module using modularized jar [2024-08-10T09:47:05.869Z] STF 09:47:05.541 - | Run foreground process [2024-08-10T09:47:05.869Z] STF 09:47:05.541 - | Program: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java [2024-08-10T09:47:05.869Z] STF 09:47:05.541 - | Mnemonic: OT21 [2024-08-10T09:47:05.869Z] STF 09:47:05.541 - | Echo: ECHO_ON [2024-08-10T09:47:05.869Z] STF 09:47:05.541 - | Expectation: CLEAN_RUN within 1m [2024-08-10T09:47:05.869Z] STF 09:47:05.541 - | [2024-08-10T09:47:05.869Z] STF 09:47:05.541 - Running command: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java --add-reads com.test=ALL-UNNAMED --module-path C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods;C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests --upgrade-module-path C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17232812199874/UpgModPath_Jar_0/20240810-094659-UpgModPathTest/modules/7.com.hello.jar --add-modules=com.test -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-10T09:47:05.869Z] STF 09:47:05.541 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17232812199874/UpgModPath_Jar_0/20240810-094659-UpgModPathTest/results/9.OT21.stderr [2024-08-10T09:47:05.870Z] STF 09:47:05.541 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17232812199874/UpgModPath_Jar_0/20240810-094659-UpgModPathTest/results/9.OT21.stdout [2024-08-10T09:47:05.870Z] STF 09:47:05.548 - Monitoring processes: OT21 [2024-08-10T09:47:05.870Z] OT21 JUnit version 4.12 [2024-08-10T09:47:06.197Z] OT21 . [2024-08-10T09:47:06.197Z] OT21 Time: 0.006 [2024-08-10T09:47:06.197Z] OT21 [2024-08-10T09:47:06.197Z] OT21 OK (1 test) [2024-08-10T09:47:06.197Z] OT21 [2024-08-10T09:47:06.197Z] STF 09:47:05.883 - Monitoring Report Summary: [2024-08-10T09:47:06.197Z] STF 09:47:05.883 - o Process OT21 ended with the expected exit code (0) [2024-08-10T09:47:06.197Z] STF 09:47:05.883 - [2024-08-10T09:47:06.198Z] STF 09:47:05.883 - +------ Step 10 - (Negative test) Override a non-upgradable platform module where the overriding module is in a modularized jar [2024-08-10T09:47:06.198Z] STF 09:47:05.883 - | Run foreground process [2024-08-10T09:47:06.198Z] STF 09:47:05.883 - | Program: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java [2024-08-10T09:47:06.198Z] STF 09:47:05.883 - | Mnemonic: OT24 [2024-08-10T09:47:06.198Z] STF 09:47:05.883 - | Echo: ECHO_ON [2024-08-10T09:47:06.198Z] STF 09:47:05.883 - | Expectation: NON_ZERO_EXIT [1] within 1m [2024-08-10T09:47:06.198Z] STF 09:47:05.883 - | [2024-08-10T09:47:06.198Z] STF 09:47:05.883 - Running command: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java --add-reads com.test=ALL-UNNAMED --module-path C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods;C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests --upgrade-module-path C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17232812199874/UpgModPath_Jar_0/20240810-094659-UpgModPathTest/modules/8.java.logging.jar --add-modules=com.test -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-10T09:47:06.198Z] STF 09:47:05.883 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17232812199874/UpgModPath_Jar_0/20240810-094659-UpgModPathTest/results/10.OT24.stderr [2024-08-10T09:47:06.198Z] STF 09:47:05.884 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17232812199874/UpgModPath_Jar_0/20240810-094659-UpgModPathTest/results/10.OT24.stdout [2024-08-10T09:47:06.198Z] STF 09:47:05.889 - Monitoring processes: OT24 [2024-08-10T09:47:06.198Z] OT24 Error occurred during initialization of boot layer [2024-08-10T09:47:06.198Z] OT24 java.lang.module.FindException: Hash of java.logging (6538e4329dfd0a3379d9797216f91349929c40c383aa5df89f209224446ef6fb) differs to expected hash (9b88281c6d4861701a3749d5fb2db6e88f56df955512fce0e700af9602c7195e) recorded in java.base [2024-08-10T09:47:06.198Z] STF 09:47:06.107 - Monitoring Report Summary: [2024-08-10T09:47:06.198Z] STF 09:47:06.107 - o Process OT24 ended with the expected exit code (1) [2024-08-10T09:47:06.198Z] STF 09:47:06.108 - [2024-08-10T09:47:06.198Z] STF 09:47:06.108 - +------ Step 11 - Combine stderr and stdout files of process OT24 [2024-08-10T09:47:06.198Z] STF 09:47:06.108 - | Run foreground process [2024-08-10T09:47:06.198Z] STF 09:47:06.108 - | Program: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java [2024-08-10T09:47:06.198Z] STF 09:47:06.108 - | Mnemonic: CO [2024-08-10T09:47:06.198Z] STF 09:47:06.108 - | Echo: ECHO_OFF [2024-08-10T09:47:06.198Z] STF 09:47:06.108 - | Expectation: NON_ZERO_EXIT [0] within 30s [2024-08-10T09:47:06.198Z] STF 09:47:06.108 - | [2024-08-10T09:47:06.198Z] STF 09:47:06.108 - Running command: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java -Dfile1=C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17232812199874/UpgModPath_Jar_0/20240810-094659-UpgModPathTest/results/10.OT24.stdout -Dfile2=C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17232812199874/UpgModPath_Jar_0/20240810-094659-UpgModPathTest/results/10.OT24.stderr -Dfinal.file=C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\aqa-tests\TKG\output_17232812199874\UpgModPath_Jar_0\20240810-094659-UpgModPathTest\results\combinedOT24.txt -XX:+UseCompressedOops -classpath C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\STF\stf.core\bin;C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin net.adoptopenjdk.test.modularity.TestUtil [2024-08-10T09:47:06.198Z] STF 09:47:06.108 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17232812199874/UpgModPath_Jar_0/20240810-094659-UpgModPathTest/results/11.CO.stderr [2024-08-10T09:47:06.198Z] STF 09:47:06.108 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17232812199874/UpgModPath_Jar_0/20240810-094659-UpgModPathTest/results/11.CO.stdout [2024-08-10T09:47:06.198Z] STF 09:47:06.113 - Monitoring processes: CO [2024-08-10T09:47:06.526Z] STF 09:47:06.288 - Monitoring Report Summary: [2024-08-10T09:47:06.526Z] STF 09:47:06.288 - o Process CO ended with the expected exit code (0) [2024-08-10T09:47:06.526Z] STF 09:47:06.288 - [2024-08-10T09:47:06.526Z] STF 09:47:06.288 - +------ Step 12 - Check output [2024-08-10T09:47:06.526Z] STF 09:47:06.288 - | Count file matches [2024-08-10T09:47:06.526Z] STF 09:47:06.288 - | TargetFile: C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17232812199874/UpgModPath_Jar_0/20240810-094659-UpgModPathTest/results/combinedOT24.txt [2024-08-10T09:47:06.526Z] STF 09:47:06.288 - | ExpectedNumMatches: 1 [2024-08-10T09:47:06.526Z] STF 09:47:06.288 - | SearchStrings: ["FindException: Hash of java.logging"] [2024-08-10T09:47:06.526Z] STF 09:47:06.288 - | [2024-08-10T09:47:06.526Z] STF 09:47:06.299 - Found 1 instances of ["FindException: Hash of java.logging"] [2024-08-10T09:47:06.526Z] STF 09:47:06.299 - EXECUTE stage completed [2024-08-10T09:47:06.526Z] STF 09:47:06.383 - [2024-08-10T09:47:06.526Z] STF 09:47:06.383 - ==================== T E A R D O W N ==================== [2024-08-10T09:47:06.526Z] STF 09:47:06.383 - Running teardown: perl C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17232812199874\UpgModPath_Jar_0/20240810-094659-UpgModPathTest/tearDown.pl [2024-08-10T09:47:06.914Z] STF 09:47:06.513 - TEARDOWN stage completed [2024-08-10T09:47:06.914Z] STF 09:47:06.524 - [2024-08-10T09:47:06.914Z] STF 09:47:06.524 - ===================== R E S U L T S ===================== [2024-08-10T09:47:06.914Z] STF 09:47:06.524 - Stage results: [2024-08-10T09:47:06.914Z] STF 09:47:06.524 - setUp: pass [2024-08-10T09:47:06.914Z] STF 09:47:06.525 - execute: pass [2024-08-10T09:47:06.914Z] STF 09:47:06.525 - teardown: pass [2024-08-10T09:47:06.914Z] STF 09:47:06.525 - [2024-08-10T09:47:06.915Z] STF 09:47:06.525 - Overall result: PASSED [2024-08-10T09:47:06.915Z] ----------------------------------- [2024-08-10T09:47:06.915Z] UpgModPath_Jar_0_PASSED [2024-08-10T09:47:06.915Z] ----------------------------------- [2024-08-10T09:47:06.915Z] [2024-08-10T09:47:06.915Z] TEST TEARDOWN: [2024-08-10T09:47:06.915Z] Nothing to be done for teardown. [2024-08-10T09:47:06.915Z] UpgModPath_Jar_0 Finish Time: Sat Aug 10 09:47:06 2024 Epoch Time (ms): 1723283226827