UpgModPath_JarImg_2

[2024-08-10T12:57:54.721Z] Running test UpgModPath_JarImg_2 ... [2024-08-10T12:57:54.721Z] =============================================== [2024-08-10T12:57:55.087Z] UpgModPath_JarImg_2 Start Time: Sat Aug 10 12:57:54 2024 Epoch Time (ms): 1723294674769 [2024-08-10T12:57:55.087Z] variation: Mode1000 [2024-08-10T12:57:55.087Z] JVM_OPTIONS: [2024-08-10T12:57:55.087Z] { \ [2024-08-10T12:57:55.087Z] echo ""; echo "TEST SETUP:"; \ [2024-08-10T12:57:55.087Z] echo "Nothing to be done for setup."; \ [2024-08-10T12:57:55.087Z] mkdir -p "C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\\TKG\\output_17232906553878\\UpgModPath_JarImg_2"; \ [2024-08-10T12:57:55.087Z] cd "C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\\TKG\\output_17232906553878\\UpgModPath_JarImg_2"; \ [2024-08-10T12:57:55.087Z] echo ""; echo "TESTING:"; \ [2024-08-10T12:57:55.087Z] perl C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests///..//jvmtest\\system\\modularity/../\\STF\\stf.core\\scripts\\stf.pl -test-root="C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests///..//jvmtest\\system\\modularity/../\\STF;C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests///..//jvmtest\\system\\modularity/../\\aqa-systemtest""" -systemtest-prereqs="c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/../../testDependency/system_lib\\" -java-args=' ' -results-root="C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\\TKG\\output_17232906553878\\UpgModPath_JarImg_2" -test=UpgModPathTest -test-args="variant=JarImg"; \ [2024-08-10T12:57:55.087Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "UpgModPath_JarImg_2""_PASSED"; echo "-----------------------------------"; cd C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/; rm -f -r "C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\\TKG\\output_17232906553878\\UpgModPath_JarImg_2"; else echo "-----------------------------------"; echo "UpgModPath_JarImg_2""_FAILED"; echo "-----------------------------------"; fi; \ [2024-08-10T12:57:55.087Z] echo ""; echo "TEST TEARDOWN:"; \ [2024-08-10T12:57:55.087Z] echo "Nothing to be done for teardown."; \ [2024-08-10T12:57:55.087Z] } 2>&1 | tee -a "C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\\TKG\\output_17232906553878\\TestTargetResult"; [2024-08-10T12:57:55.412Z] [2024-08-10T12:57:55.412Z] TEST SETUP: [2024-08-10T12:57:55.412Z] Nothing to be done for setup. [2024-08-10T12:57:55.412Z] [2024-08-10T12:57:55.412Z] TESTING: [2024-08-10T12:57:55.412Z] STF 12:57:55.249 - ========================= S T F ========================= [2024-08-10T12:57:55.412Z] 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-32_windows_testList_0/aqa-tests/\TKG\output_17232906553878\UpgModPath_JarImg_2 [2024-08-10T12:57:55.412Z] There is 122551 Mb free [2024-08-10T12:57:55.412Z] STF 12:57:55.293 - ================== G E N E R A T I O N ================== [2024-08-10T12:57:55.412Z] STF 12:57:55.295 - Checking JVM: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image [2024-08-10T12:57:55.412Z] STF 12:57:55.296 - Starting process to generate scripts: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/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-32_windows_testList_0/../../testDependency/system_lib\/log4j/log4j-api.jar;c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/../../testDependency/system_lib\/log4j/log4j-core.jar;C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\TKG\output_17232906553878\UpgModPath_JarImg_2/20240810-125755-UpgModPathTest/stf_parameters.properties, , C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\TKG\output_17232906553878\UpgModPath_JarImg_2/20240810-125755-UpgModPathTest" [2024-08-10T12:57:56.521Z] GEN 12:57:56.120 - Found test. Project: 'openjdk.test.modularity' class: 'UpgModPathTest.class' Dir: 'C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin' [2024-08-10T12:57:56.521Z] GEN 12:57:56.132 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.UpgModPathTest' [2024-08-10T12:57:56.521Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2024-08-10T12:57:56.521Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayService [2024-08-10T12:57:56.521Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper [2024-08-10T12:57:56.521Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl1 [2024-08-10T12:57:56.521Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet [2024-08-10T12:57:56.521Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello [2024-08-10T12:57:56.521Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola [2024-08-10T12:57:56.521Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl2 [2024-08-10T12:57:56.521Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hi [2024-08-10T12:57:56.521Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override [2024-08-10T12:57:56.521Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override-new [2024-08-10T12:57:56.521Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl3 [2024-08-10T12:57:56.521Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl4 [2024-08-10T12:57:56.521Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common [2024-08-10T12:57:56.521Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests [2024-08-10T12:57:56.521Z] GEN C:\\jenkins\\workspace\\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin [2024-08-10T12:57:56.521Z] GEN C:\\jenkins\\workspace\\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\\jvmtest\\system\\STF\\stf.core\\bin [2024-08-10T12:57:56.521Z] GEN c:/jenkins/testDependency/system_lib/log4j/log4j-api.jar [2024-08-10T12:57:56.521Z] GEN c:/jenkins/testDependency/system_lib/log4j/log4j-core.jar [2024-08-10T12:57:56.521Z] GEN c:/jenkins/testDependency/system_lib/junit/junit.jar [2024-08-10T12:57:56.521Z] GEN 12:57:56.330 - Using Mode NoOptions. Values = '' [2024-08-10T12:57:56.521Z] GEN 12:57:56.426 - [2024-08-10T12:57:56.521Z] GEN 12:57:56.426 - Test command summary: [2024-08-10T12:57:56.521Z] GEN 12:57:56.427 - Step Stage Command Description [2024-08-10T12:57:56.521Z] GEN 12:57:56.427 - -----+--------+-----------------+------------ [2024-08-10T12:57:56.521Z] GEN 12:57:56.427 - 1 execute jar Create com.hello jar [2024-08-10T12:57:56.521Z] GEN 12:57:56.427 - 2 execute jar Create com.hola jar [2024-08-10T12:57:56.521Z] GEN 12:57:56.427 - 3 execute jar Create com.helper jar [2024-08-10T12:57:56.521Z] GEN 12:57:56.427 - 4 execute jar Create com.discreet jar [2024-08-10T12:57:56.521Z] GEN 12:57:56.427 - 5 execute jar Create tests jar [2024-08-10T12:57:56.521Z] GEN 12:57:56.427 - 6 execute jlink Create runtime image for upgrademodulepath test [2024-08-10T12:57:56.521Z] GEN 12:57:56.427 - 7 execute jar Create com.hello override jar [2024-08-10T12:57:56.521Z] GEN 12:57:56.427 - 8 execute jar Create com.hello override jar [2024-08-10T12:57:56.521Z] GEN 12:57:56.427 - 9 execute Run java Override an application module using a custom runtime image where the overriding module is in a modularized jar [2024-08-10T12:57:56.521Z] GEN 12:57:56.427 - 10 execute Run java (Negative test) Override a non-upgradable platform module using a custom runtime imagewhere the overriding module is in a modularized jar [2024-08-10T12:57:56.521Z] GEN 12:57:56.427 - 11 execute Run java Combine stderr and stdout files of process OT27 [2024-08-10T12:57:56.521Z] GEN 12:57:56.427 - 12 execute count Check output [2024-08-10T12:57:56.521Z] STF 12:57:56.448 - [2024-08-10T12:57:56.521Z] STF 12:57:56.448 - Script generation completed [2024-08-10T12:57:56.521Z] STF 12:57:56.448 - [2024-08-10T12:57:56.521Z] STF 12:57:56.450 - [2024-08-10T12:57:56.521Z] STF 12:57:56.450 - ======================= S E T U P ======================= [2024-08-10T12:57:56.521Z] STF 12:57:56.450 - Running setup: perl C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\TKG\output_17232906553878\UpgModPath_JarImg_2/20240810-125755-UpgModPathTest/setUp.pl [2024-08-10T12:57:56.845Z] STF 12:57:56.581 - SETUP stage completed [2024-08-10T12:57:56.845Z] STF 12:57:56.597 - [2024-08-10T12:57:56.845Z] STF 12:57:56.597 - ==================== E X E C U T E - ==================== [2024-08-10T12:57:56.845Z] STF 12:57:56.597 - Running execute: perl C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\TKG\output_17232906553878\UpgModPath_JarImg_2/20240810-125755-UpgModPathTest/execute.pl [2024-08-10T12:57:56.845Z] STF 12:57:56.727 - [2024-08-10T12:57:56.845Z] STF 12:57:56.727 - Java version [2024-08-10T12:57:56.845Z] STF 12:57:56.727 - Running: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image/bin/java -version [2024-08-10T12:57:57.165Z] openjdk version "11.0.25-beta" 2024-10-15 [2024-08-10T12:57:57.165Z] OpenJDK Runtime Environment Temurin-11.0.25+2-202408092159 (build 11.0.25-beta+2-ea) [2024-08-10T12:57:57.165Z] OpenJDK Client VM Temurin-11.0.25+2-202408092159 (build 11.0.25-beta+2-ea, mixed mode) [2024-08-10T12:57:57.165Z] STF 12:57:56.826 - [2024-08-10T12:57:57.166Z] STF 12:57:56.826 - +------ Step 1 - Create com.hello jar [2024-08-10T12:57:57.166Z] STF 12:57:56.826 - | Create modular jar [2024-08-10T12:57:57.166Z] STF 12:57:56.826 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2024-08-10T12:57:57.166Z] STF 12:57:56.826 - | ModuleVersion: null [2024-08-10T12:57:57.166Z] STF 12:57:56.826 - | MainClass: null [2024-08-10T12:57:57.166Z] STF 12:57:56.826 - | HashModules: null [2024-08-10T12:57:57.166Z] STF 12:57:56.826 - | [2024-08-10T12:57:57.166Z] STF 12:57:56.826 - Running command: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17232906553878/UpgModPath_JarImg_2/20240810-125755-UpgModPathTest/modules/1.com.hello.jar -C C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello . [2024-08-10T12:57:57.166Z] STF 12:57:56.827 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17232906553878/UpgModPath_JarImg_2/20240810-125755-UpgModPathTest/results/1.CMJ.stderr [2024-08-10T12:57:57.166Z] STF 12:57:56.827 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17232906553878/UpgModPath_JarImg_2/20240810-125755-UpgModPathTest/results/1.CMJ.stdout [2024-08-10T12:57:57.166Z] STF 12:57:56.852 - Monitoring processes: CMJ [2024-08-10T12:57:57.166Z] STF 12:57:57.107 - Monitoring Report Summary: [2024-08-10T12:57:57.166Z] STF 12:57:57.107 - o Process CMJ ended with the expected exit code (0) [2024-08-10T12:57:57.166Z] STF 12:57:57.107 - Created modular jar: 1.com.hello.jar [2024-08-10T12:57:57.166Z] STF 12:57:57.107 - [2024-08-10T12:57:57.166Z] STF 12:57:57.107 - +------ Step 2 - Create com.hola jar [2024-08-10T12:57:57.166Z] STF 12:57:57.107 - | Create modular jar [2024-08-10T12:57:57.166Z] STF 12:57:57.107 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2024-08-10T12:57:57.166Z] STF 12:57:57.107 - | ModuleVersion: null [2024-08-10T12:57:57.166Z] STF 12:57:57.107 - | MainClass: null [2024-08-10T12:57:57.166Z] STF 12:57:57.107 - | HashModules: null [2024-08-10T12:57:57.166Z] STF 12:57:57.107 - | [2024-08-10T12:57:57.166Z] STF 12:57:57.107 - Running command: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17232906553878/UpgModPath_JarImg_2/20240810-125755-UpgModPathTest/modules/2.com.hola.jar -C C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola . [2024-08-10T12:57:57.166Z] STF 12:57:57.107 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17232906553878/UpgModPath_JarImg_2/20240810-125755-UpgModPathTest/results/2.CMJ.stderr [2024-08-10T12:57:57.166Z] STF 12:57:57.107 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17232906553878/UpgModPath_JarImg_2/20240810-125755-UpgModPathTest/results/2.CMJ.stdout [2024-08-10T12:57:57.166Z] STF 12:57:57.114 - Monitoring processes: CMJ [2024-08-10T12:57:57.488Z] STF 12:57:57.377 - Monitoring Report Summary: [2024-08-10T12:57:57.488Z] STF 12:57:57.377 - o Process CMJ ended with the expected exit code (0) [2024-08-10T12:57:57.488Z] STF 12:57:57.377 - Created modular jar: 2.com.hola.jar [2024-08-10T12:57:57.488Z] STF 12:57:57.377 - [2024-08-10T12:57:57.488Z] STF 12:57:57.377 - +------ Step 3 - Create com.helper jar [2024-08-10T12:57:57.488Z] STF 12:57:57.377 - | Create modular jar [2024-08-10T12:57:57.488Z] STF 12:57:57.377 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2024-08-10T12:57:57.488Z] STF 12:57:57.377 - | ModuleVersion: null [2024-08-10T12:57:57.488Z] STF 12:57:57.377 - | MainClass: null [2024-08-10T12:57:57.488Z] STF 12:57:57.377 - | HashModules: null [2024-08-10T12:57:57.488Z] STF 12:57:57.377 - | [2024-08-10T12:57:57.488Z] STF 12:57:57.378 - Running command: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17232906553878/UpgModPath_JarImg_2/20240810-125755-UpgModPathTest/modules/3.com.helper.jar -C C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper . [2024-08-10T12:57:57.488Z] STF 12:57:57.378 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17232906553878/UpgModPath_JarImg_2/20240810-125755-UpgModPathTest/results/3.CMJ.stderr [2024-08-10T12:57:57.488Z] STF 12:57:57.378 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17232906553878/UpgModPath_JarImg_2/20240810-125755-UpgModPathTest/results/3.CMJ.stdout [2024-08-10T12:57:57.488Z] STF 12:57:57.383 - Monitoring processes: CMJ [2024-08-10T12:57:57.810Z] STF 12:57:57.655 - Monitoring Report Summary: [2024-08-10T12:57:57.810Z] STF 12:57:57.655 - o Process CMJ ended with the expected exit code (0) [2024-08-10T12:57:57.810Z] STF 12:57:57.655 - Created modular jar: 3.com.helper.jar [2024-08-10T12:57:57.810Z] STF 12:57:57.655 - [2024-08-10T12:57:57.810Z] STF 12:57:57.655 - +------ Step 4 - Create com.discreet jar [2024-08-10T12:57:57.810Z] STF 12:57:57.655 - | Create modular jar [2024-08-10T12:57:57.810Z] STF 12:57:57.655 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2024-08-10T12:57:57.810Z] STF 12:57:57.655 - | ModuleVersion: null [2024-08-10T12:57:57.810Z] STF 12:57:57.656 - | MainClass: null [2024-08-10T12:57:57.810Z] STF 12:57:57.656 - | HashModules: null [2024-08-10T12:57:57.810Z] STF 12:57:57.656 - | [2024-08-10T12:57:57.810Z] STF 12:57:57.656 - Running command: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17232906553878/UpgModPath_JarImg_2/20240810-125755-UpgModPathTest/modules/4.com.discreet.jar -C C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet . [2024-08-10T12:57:57.810Z] STF 12:57:57.656 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17232906553878/UpgModPath_JarImg_2/20240810-125755-UpgModPathTest/results/4.CMJ.stderr [2024-08-10T12:57:57.810Z] STF 12:57:57.656 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17232906553878/UpgModPath_JarImg_2/20240810-125755-UpgModPathTest/results/4.CMJ.stdout [2024-08-10T12:57:57.810Z] STF 12:57:57.661 - Monitoring processes: CMJ [2024-08-10T12:57:58.132Z] STF 12:57:57.916 - Monitoring Report Summary: [2024-08-10T12:57:58.132Z] STF 12:57:57.916 - o Process CMJ ended with the expected exit code (0) [2024-08-10T12:57:58.132Z] STF 12:57:57.916 - Created modular jar: 4.com.discreet.jar [2024-08-10T12:57:58.132Z] STF 12:57:57.916 - [2024-08-10T12:57:58.132Z] STF 12:57:57.916 - +------ Step 5 - Create tests jar [2024-08-10T12:57:58.132Z] STF 12:57:57.916 - | Create modular jar [2024-08-10T12:57:58.132Z] STF 12:57:57.916 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2024-08-10T12:57:58.132Z] STF 12:57:57.916 - | ModuleVersion: null [2024-08-10T12:57:58.132Z] STF 12:57:57.916 - | MainClass: null [2024-08-10T12:57:58.132Z] STF 12:57:57.916 - | HashModules: null [2024-08-10T12:57:58.132Z] STF 12:57:57.916 - | [2024-08-10T12:57:58.132Z] STF 12:57:57.917 - Running command: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17232906553878/UpgModPath_JarImg_2/20240810-125755-UpgModPathTest/modules/5.com.test.jar -C C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests\com.test . [2024-08-10T12:57:58.132Z] STF 12:57:57.917 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17232906553878/UpgModPath_JarImg_2/20240810-125755-UpgModPathTest/results/5.CMJ.stderr [2024-08-10T12:57:58.132Z] STF 12:57:57.917 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17232906553878/UpgModPath_JarImg_2/20240810-125755-UpgModPathTest/results/5.CMJ.stdout [2024-08-10T12:57:58.132Z] STF 12:57:57.922 - Monitoring processes: CMJ [2024-08-10T12:57:58.454Z] STF 12:57:58.191 - Monitoring Report Summary: [2024-08-10T12:57:58.454Z] STF 12:57:58.191 - o Process CMJ ended with the expected exit code (0) [2024-08-10T12:57:58.454Z] STF 12:57:58.191 - Created modular jar: 5.com.test.jar [2024-08-10T12:57:58.454Z] STF 12:57:58.191 - [2024-08-10T12:57:58.454Z] STF 12:57:58.191 - +------ Step 6 - Create runtime image for upgrademodulepath test [2024-08-10T12:57:58.454Z] STF 12:57:58.191 - | Run jlink to create runtime image [2024-08-10T12:57:58.454Z] STF 12:57:58.191 - | ImageName: UpJVM [2024-08-10T12:57:58.454Z] STF 12:57:58.191 - | [2024-08-10T12:57:58.454Z] STF 12:57:58.192 - Running command: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image/bin/jlink --module-path c:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jdkbinary\j2sdk-image\jmods;C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\aqa-tests\TKG\output_17232906553878\UpgModPath_JarImg_2\20240810-125755-UpgModPathTest\modules --add-modules com.hello,com.hola,com.test,com.helper,com.discreet --output C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\aqa-tests\TKG\output_17232906553878\UpgModPath_JarImg_2\20240810-125755-UpgModPathTest\tmp\6.UpJVM [2024-08-10T12:57:58.454Z] STF 12:57:58.192 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17232906553878/UpgModPath_JarImg_2/20240810-125755-UpgModPathTest/results/6.JLNK.stderr [2024-08-10T12:57:58.454Z] STF 12:57:58.192 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17232906553878/UpgModPath_JarImg_2/20240810-125755-UpgModPathTest/results/6.JLNK.stdout [2024-08-10T12:57:58.454Z] STF 12:57:58.197 - Monitoring processes: JLNK [2024-08-10T12:58:00.644Z] STF 12:58:00.038 - Monitoring Report Summary: [2024-08-10T12:58:00.644Z] STF 12:58:00.038 - o Process JLNK ended with the expected exit code (0) [2024-08-10T12:58:00.644Z] STF 12:58:00.039 - [2024-08-10T12:58:00.644Z] STF 12:58:00.039 - +------ Step 7 - Create com.hello override jar [2024-08-10T12:58:00.644Z] STF 12:58:00.039 - | Create modular jar [2024-08-10T12:58:00.644Z] STF 12:58:00.039 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2024-08-10T12:58:00.644Z] STF 12:58:00.039 - | ModuleVersion: null [2024-08-10T12:58:00.644Z] STF 12:58:00.039 - | MainClass: null [2024-08-10T12:58:00.644Z] STF 12:58:00.039 - | HashModules: null [2024-08-10T12:58:00.644Z] STF 12:58:00.039 - | [2024-08-10T12:58:00.644Z] STF 12:58:00.039 - Running command: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17232906553878/UpgModPath_JarImg_2/20240810-125755-UpgModPathTest/modules/7.com.hello.jar -C C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.hello . [2024-08-10T12:58:00.644Z] STF 12:58:00.039 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17232906553878/UpgModPath_JarImg_2/20240810-125755-UpgModPathTest/results/7.CMJ.stderr [2024-08-10T12:58:00.644Z] STF 12:58:00.039 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17232906553878/UpgModPath_JarImg_2/20240810-125755-UpgModPathTest/results/7.CMJ.stdout [2024-08-10T12:58:00.644Z] STF 12:58:00.049 - Monitoring processes: CMJ [2024-08-10T12:58:00.644Z] STF 12:58:00.358 - Monitoring Report Summary: [2024-08-10T12:58:00.644Z] STF 12:58:00.358 - o Process CMJ ended with the expected exit code (0) [2024-08-10T12:58:00.644Z] STF 12:58:00.358 - Created modular jar: 7.com.hello.jar [2024-08-10T12:58:00.644Z] STF 12:58:00.358 - [2024-08-10T12:58:00.645Z] STF 12:58:00.358 - +------ Step 8 - Create com.hello override jar [2024-08-10T12:58:00.645Z] STF 12:58:00.358 - | Create modular jar [2024-08-10T12:58:00.645Z] STF 12:58:00.358 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.logging [2024-08-10T12:58:00.645Z] STF 12:58:00.358 - | ModuleVersion: null [2024-08-10T12:58:00.645Z] STF 12:58:00.358 - | MainClass: null [2024-08-10T12:58:00.645Z] STF 12:58:00.358 - | HashModules: null [2024-08-10T12:58:00.645Z] STF 12:58:00.358 - | [2024-08-10T12:58:00.645Z] STF 12:58:00.359 - Running command: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17232906553878/UpgModPath_JarImg_2/20240810-125755-UpgModPathTest/modules/8.java.logging.jar -C C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\java.logging . [2024-08-10T12:58:00.645Z] STF 12:58:00.359 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17232906553878/UpgModPath_JarImg_2/20240810-125755-UpgModPathTest/results/8.CMJ.stderr [2024-08-10T12:58:00.645Z] STF 12:58:00.359 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17232906553878/UpgModPath_JarImg_2/20240810-125755-UpgModPathTest/results/8.CMJ.stdout [2024-08-10T12:58:00.645Z] STF 12:58:00.365 - Monitoring processes: CMJ [2024-08-10T12:58:00.966Z] STF 12:58:00.619 - Monitoring Report Summary: [2024-08-10T12:58:00.966Z] STF 12:58:00.619 - o Process CMJ ended with the expected exit code (0) [2024-08-10T12:58:00.966Z] STF 12:58:00.619 - Created modular jar: 8.java.logging.jar [2024-08-10T12:58:00.966Z] STF 12:58:00.619 - [2024-08-10T12:58:00.966Z] STF 12:58:00.619 - +------ Step 9 - Override an application module using a custom runtime image where the overriding module is in a modularized jar [2024-08-10T12:58:00.966Z] STF 12:58:00.619 - | Run foreground process [2024-08-10T12:58:00.966Z] STF 12:58:00.619 - | Program: C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17232906553878/UpgModPath_JarImg_2/20240810-125755-UpgModPathTest/tmp/6.UpJVM/bin/java [2024-08-10T12:58:00.966Z] STF 12:58:00.619 - | Mnemonic: OT25 [2024-08-10T12:58:00.966Z] STF 12:58:00.619 - | Echo: ECHO_ON [2024-08-10T12:58:00.966Z] STF 12:58:00.619 - | Expectation: CLEAN_RUN within 1m [2024-08-10T12:58:00.966Z] STF 12:58:00.619 - | [2024-08-10T12:58:00.966Z] STF 12:58:00.619 - Running command: C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17232906553878/UpgModPath_JarImg_2/20240810-125755-UpgModPathTest/tmp/6.UpJVM/bin/java --add-reads com.test=ALL-UNNAMED --upgrade-module-path C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17232906553878/UpgModPath_JarImg_2/20240810-125755-UpgModPathTest/modules/7.com.hello.jar -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-10T12:58:00.966Z] STF 12:58:00.619 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17232906553878/UpgModPath_JarImg_2/20240810-125755-UpgModPathTest/results/9.OT25.stderr [2024-08-10T12:58:00.966Z] STF 12:58:00.620 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17232906553878/UpgModPath_JarImg_2/20240810-125755-UpgModPathTest/results/9.OT25.stdout [2024-08-10T12:58:00.966Z] STF 12:58:00.667 - Monitoring processes: OT25 [2024-08-10T12:58:00.966Z] OT25 JUnit version 4.12 [2024-08-10T12:58:00.966Z] OT25 . [2024-08-10T12:58:00.966Z] OT25 Time: 0.004 [2024-08-10T12:58:00.966Z] OT25 [2024-08-10T12:58:00.966Z] OT25 OK (1 test) [2024-08-10T12:58:00.966Z] OT25 [2024-08-10T12:58:00.966Z] STF 12:58:00.896 - Monitoring Report Summary: [2024-08-10T12:58:00.966Z] STF 12:58:00.896 - o Process OT25 ended with the expected exit code (0) [2024-08-10T12:58:00.966Z] STF 12:58:00.897 - [2024-08-10T12:58:00.966Z] STF 12:58:00.897 - +------ Step 10 - (Negative test) Override a non-upgradable platform module using a custom runtime imagewhere the overriding module is in a modularized jar [2024-08-10T12:58:00.966Z] STF 12:58:00.897 - | Run foreground process [2024-08-10T12:58:00.966Z] STF 12:58:00.897 - | Program: C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17232906553878/UpgModPath_JarImg_2/20240810-125755-UpgModPathTest/tmp/6.UpJVM/bin/java [2024-08-10T12:58:00.966Z] STF 12:58:00.897 - | Mnemonic: OT27 [2024-08-10T12:58:00.966Z] STF 12:58:00.897 - | Echo: ECHO_ON [2024-08-10T12:58:00.966Z] STF 12:58:00.897 - | Expectation: NON_ZERO_EXIT [1] within 1m [2024-08-10T12:58:00.966Z] STF 12:58:00.897 - | [2024-08-10T12:58:00.966Z] STF 12:58:00.897 - Running command: C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17232906553878/UpgModPath_JarImg_2/20240810-125755-UpgModPathTest/tmp/6.UpJVM/bin/java --add-reads com.test=ALL-UNNAMED --upgrade-module-path C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17232906553878/UpgModPath_JarImg_2/20240810-125755-UpgModPathTest/modules/8.java.logging.jar -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-10T12:58:00.966Z] STF 12:58:00.897 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17232906553878/UpgModPath_JarImg_2/20240810-125755-UpgModPathTest/results/10.OT27.stderr [2024-08-10T12:58:00.966Z] STF 12:58:00.897 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17232906553878/UpgModPath_JarImg_2/20240810-125755-UpgModPathTest/results/10.OT27.stdout [2024-08-10T12:58:00.967Z] STF 12:58:00.907 - Monitoring processes: OT27 [2024-08-10T12:58:01.286Z] OT27 Error occurred during initialization of boot layer [2024-08-10T12:58:01.286Z] OT27 java.lang.module.FindException: Hash of java.logging (6538e4329dfd0a3379d9797216f91349929c40c383aa5df89f209224446ef6fb) differs to expected hash (fb574a7422ae3df776185e636556d67afa2b325b921b1fd18c8858e236ed909d) recorded in java.base [2024-08-10T12:58:01.286Z] STF 12:58:01.075 - Monitoring Report Summary: [2024-08-10T12:58:01.287Z] STF 12:58:01.075 - o Process OT27 ended with the expected exit code (1) [2024-08-10T12:58:01.287Z] STF 12:58:01.076 - [2024-08-10T12:58:01.287Z] STF 12:58:01.076 - +------ Step 11 - Combine stderr and stdout files of process OT27 [2024-08-10T12:58:01.287Z] STF 12:58:01.076 - | Run foreground process [2024-08-10T12:58:01.287Z] STF 12:58:01.076 - | Program: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image/bin/java [2024-08-10T12:58:01.287Z] STF 12:58:01.076 - | Mnemonic: CO [2024-08-10T12:58:01.287Z] STF 12:58:01.076 - | Echo: ECHO_OFF [2024-08-10T12:58:01.287Z] STF 12:58:01.076 - | Expectation: NON_ZERO_EXIT [0] within 30s [2024-08-10T12:58:01.287Z] STF 12:58:01.076 - | [2024-08-10T12:58:01.287Z] STF 12:58:01.076 - Running command: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image/bin/java -Dfile1=C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17232906553878/UpgModPath_JarImg_2/20240810-125755-UpgModPathTest/results/10.OT27.stdout -Dfile2=C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17232906553878/UpgModPath_JarImg_2/20240810-125755-UpgModPathTest/results/10.OT27.stderr -Dfinal.file=C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\aqa-tests\TKG\output_17232906553878\UpgModPath_JarImg_2\20240810-125755-UpgModPathTest\results\combinedOT27.txt -classpath C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\STF\stf.core\bin;C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin net.adoptopenjdk.test.modularity.TestUtil [2024-08-10T12:58:01.287Z] STF 12:58:01.076 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17232906553878/UpgModPath_JarImg_2/20240810-125755-UpgModPathTest/results/11.CO.stderr [2024-08-10T12:58:01.287Z] STF 12:58:01.076 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17232906553878/UpgModPath_JarImg_2/20240810-125755-UpgModPathTest/results/11.CO.stdout [2024-08-10T12:58:01.287Z] STF 12:58:01.083 - Monitoring processes: CO [2024-08-10T12:58:01.616Z] STF 12:58:01.242 - Monitoring Report Summary: [2024-08-10T12:58:01.616Z] STF 12:58:01.242 - o Process CO ended with the expected exit code (0) [2024-08-10T12:58:01.616Z] STF 12:58:01.243 - [2024-08-10T12:58:01.616Z] STF 12:58:01.243 - +------ Step 12 - Check output [2024-08-10T12:58:01.616Z] STF 12:58:01.243 - | Count file matches [2024-08-10T12:58:01.616Z] STF 12:58:01.243 - | TargetFile: C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17232906553878/UpgModPath_JarImg_2/20240810-125755-UpgModPathTest/results/combinedOT27.txt [2024-08-10T12:58:01.616Z] STF 12:58:01.243 - | ExpectedNumMatches: 1 [2024-08-10T12:58:01.616Z] STF 12:58:01.243 - | SearchStrings: ["FindException: Hash of java.logging"] [2024-08-10T12:58:01.616Z] STF 12:58:01.243 - | [2024-08-10T12:58:01.616Z] STF 12:58:01.244 - Found 1 instances of ["FindException: Hash of java.logging"] [2024-08-10T12:58:01.616Z] STF 12:58:01.244 - EXECUTE stage completed [2024-08-10T12:58:01.616Z] STF 12:58:01.291 - [2024-08-10T12:58:01.617Z] STF 12:58:01.291 - ==================== T E A R D O W N ==================== [2024-08-10T12:58:01.617Z] STF 12:58:01.291 - Running teardown: perl C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\TKG\output_17232906553878\UpgModPath_JarImg_2/20240810-125755-UpgModPathTest/tearDown.pl [2024-08-10T12:58:01.617Z] STF 12:58:01.418 - TEARDOWN stage completed [2024-08-10T12:58:01.617Z] STF 12:58:01.432 - [2024-08-10T12:58:01.617Z] STF 12:58:01.432 - ===================== R E S U L T S ===================== [2024-08-10T12:58:01.617Z] STF 12:58:01.432 - Stage results: [2024-08-10T12:58:01.617Z] STF 12:58:01.432 - setUp: pass [2024-08-10T12:58:01.617Z] STF 12:58:01.432 - execute: pass [2024-08-10T12:58:01.617Z] STF 12:58:01.432 - teardown: pass [2024-08-10T12:58:01.617Z] STF 12:58:01.432 - [2024-08-10T12:58:01.617Z] STF 12:58:01.432 - Overall result: PASSED [2024-08-10T12:58:01.617Z] ----------------------------------- [2024-08-10T12:58:01.617Z] UpgModPath_JarImg_2_PASSED [2024-08-10T12:58:01.617Z] ----------------------------------- [2024-08-10T12:58:01.617Z] [2024-08-10T12:58:01.617Z] TEST TEARDOWN: [2024-08-10T12:58:01.617Z] Nothing to be done for teardown. [2024-08-10T12:58:01.979Z] UpgModPath_JarImg_2 Finish Time: Sat Aug 10 12:58:01 2024 Epoch Time (ms): 1723294681664