UpgModPath_Jar_2

[2024-10-05T12:03:09.804Z] Running test UpgModPath_Jar_2 ... [2024-10-05T12:03:10.193Z] =============================================== [2024-10-05T12:03:10.193Z] UpgModPath_Jar_2 Start Time: Sat Oct 5 13:03:09 2024 Epoch Time (ms): 1728129789982 [2024-10-05T12:03:10.572Z] variation: Mode1000 [2024-10-05T12:03:10.572Z] JVM_OPTIONS: [2024-10-05T12:03:10.572Z] { \ [2024-10-05T12:03:10.572Z] echo ""; echo "TEST SETUP:"; \ [2024-10-05T12:03:10.572Z] echo "Nothing to be done for setup."; \ [2024-10-05T12:03:10.572Z] mkdir -p "C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/\\TKG\\output_17281257948917\\UpgModPath_Jar_2"; \ [2024-10-05T12:03:10.572Z] cd "C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/\\TKG\\output_17281257948917\\UpgModPath_Jar_2"; \ [2024-10-05T12:03:10.572Z] echo ""; echo "TESTING:"; \ [2024-10-05T12:03:10.572Z] perl C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests///..//jvmtest\\system\\modularity/../\\STF\\stf.core\\scripts\\stf.pl -test-root="C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests///..//jvmtest\\system\\modularity/../\\STF;C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests///..//jvmtest\\system\\modularity/../\\aqa-systemtest""" -systemtest-prereqs="c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/../../testDependency/system_lib\\" -java-args=' ' -results-root="C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/\\TKG\\output_17281257948917\\UpgModPath_Jar_2" -test=UpgModPathTest -test-args="variant=Jar"; \ [2024-10-05T12:03:10.572Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "UpgModPath_Jar_2""_PASSED"; echo "-----------------------------------"; cd C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/; rm -f -r "C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/\\TKG\\output_17281257948917\\UpgModPath_Jar_2"; else echo "-----------------------------------"; echo "UpgModPath_Jar_2""_FAILED"; echo "-----------------------------------"; fi; \ [2024-10-05T12:03:10.572Z] echo ""; echo "TEST TEARDOWN:"; \ [2024-10-05T12:03:10.572Z] echo "Nothing to be done for teardown."; \ [2024-10-05T12:03:10.572Z] } 2>&1 | tee -a "C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/\\TKG\\output_17281257948917\\TestTargetResult"; [2024-10-05T12:03:10.903Z] [2024-10-05T12:03:10.903Z] TEST SETUP: [2024-10-05T12:03:10.903Z] Nothing to be done for setup. [2024-10-05T12:03:10.903Z] [2024-10-05T12:03:10.903Z] TESTING: [2024-10-05T12:03:10.903Z] STF 13:03:10.736 - ========================= S T F ========================= [2024-10-05T12:03:10.903Z] 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/aqa-tests/\TKG\output_17281257948917\UpgModPath_Jar_2 [2024-10-05T12:03:10.903Z] There is 109507 Mb free [2024-10-05T12:03:10.903Z] STF 13:03:10.780 - ================== G E N E R A T I O N ================== [2024-10-05T12:03:10.903Z] STF 13:03:10.782 - Checking JVM: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/jdkbinary/j2sdk-image [2024-10-05T12:03:10.903Z] STF 13:03:10.783 - Starting process to generate scripts: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/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/../../testDependency/system_lib\/log4j/log4j-api.jar;c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/../../testDependency/system_lib\/log4j/log4j-core.jar;C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/\TKG\output_17281257948917\UpgModPath_Jar_2/20241005-130310-UpgModPathTest/stf_parameters.properties, , C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/\TKG\output_17281257948917\UpgModPath_Jar_2/20241005-130310-UpgModPathTest" [2024-10-05T12:03:11.598Z] GEN 12:03:11.560 - Found test. Project: 'openjdk.test.modularity' class: 'UpgModPathTest.class' Dir: 'C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin' [2024-10-05T12:03:11.598Z] GEN 12:03:11.571 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.UpgModPathTest' [2024-10-05T12:03:11.927Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2024-10-05T12:03:11.927Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayService [2024-10-05T12:03:11.927Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper [2024-10-05T12:03:11.927Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl1 [2024-10-05T12:03:11.927Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet [2024-10-05T12:03:11.927Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello [2024-10-05T12:03:11.927Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola [2024-10-05T12:03:11.927Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl2 [2024-10-05T12:03:11.927Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hi [2024-10-05T12:03:11.927Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override [2024-10-05T12:03:11.927Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override-new [2024-10-05T12:03:11.927Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl3 [2024-10-05T12:03:11.927Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl4 [2024-10-05T12:03:11.927Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common [2024-10-05T12:03:11.927Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests [2024-10-05T12:03:11.927Z] GEN C:\\jenkins\\workspace\\Test_openjdk11_hs_sanity.system_x86-32_windows\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin [2024-10-05T12:03:11.927Z] GEN C:\\jenkins\\workspace\\Test_openjdk11_hs_sanity.system_x86-32_windows\\jvmtest\\system\\STF\\stf.core\\bin [2024-10-05T12:03:11.927Z] GEN c:/jenkins/testDependency/system_lib/log4j/log4j-api.jar [2024-10-05T12:03:11.927Z] GEN c:/jenkins/testDependency/system_lib/log4j/log4j-core.jar [2024-10-05T12:03:11.927Z] GEN c:/jenkins/testDependency/system_lib/junit/junit.jar [2024-10-05T12:03:11.927Z] GEN 12:03:11.769 - Using Mode NoOptions. Values = '' [2024-10-05T12:03:11.927Z] GEN 12:03:11.867 - [2024-10-05T12:03:11.927Z] GEN 12:03:11.867 - Test command summary: [2024-10-05T12:03:11.927Z] GEN 12:03:11.867 - Step Stage Command Description [2024-10-05T12:03:11.927Z] GEN 12:03:11.867 - -----+--------+-----------------+------------ [2024-10-05T12:03:11.927Z] GEN 12:03:11.867 - 1 execute jar Create com.hello jar [2024-10-05T12:03:11.927Z] GEN 12:03:11.867 - 2 execute jar Create com.hola jar [2024-10-05T12:03:11.927Z] GEN 12:03:11.867 - 3 execute jar Create com.helper jar [2024-10-05T12:03:11.927Z] GEN 12:03:11.867 - 4 execute jar Create com.discreet jar [2024-10-05T12:03:11.927Z] GEN 12:03:11.867 - 5 execute jar Create tests jar [2024-10-05T12:03:11.927Z] GEN 12:03:11.867 - 6 execute jlink Create runtime image for upgrademodulepath test [2024-10-05T12:03:11.927Z] GEN 12:03:11.867 - 7 execute jar Create com.hello override jar [2024-10-05T12:03:11.927Z] GEN 12:03:11.867 - 8 execute jar Create com.hello override jar [2024-10-05T12:03:11.927Z] GEN 12:03:11.867 - 9 execute Run java Override an application module using modularized jar [2024-10-05T12:03:11.927Z] GEN 12:03:11.867 - 10 execute Run java (Negative test) Override a non-upgradable platform module where the overriding module is in a modularized jar [2024-10-05T12:03:11.927Z] GEN 12:03:11.867 - 11 execute Run java Combine stderr and stdout files of process OT24 [2024-10-05T12:03:11.927Z] GEN 12:03:11.868 - 12 execute count Check output [2024-10-05T12:03:11.927Z] STF 13:03:11.883 - [2024-10-05T12:03:11.927Z] STF 13:03:11.883 - Script generation completed [2024-10-05T12:03:11.927Z] STF 13:03:11.883 - [2024-10-05T12:03:11.927Z] STF 13:03:11.885 - [2024-10-05T12:03:11.927Z] STF 13:03:11.885 - ======================= S E T U P ======================= [2024-10-05T12:03:11.927Z] STF 13:03:11.885 - Running setup: perl C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/\TKG\output_17281257948917\UpgModPath_Jar_2/20241005-130310-UpgModPathTest/setUp.pl [2024-10-05T12:03:12.252Z] STF 13:03:12.015 - SETUP stage completed [2024-10-05T12:03:12.252Z] STF 13:03:12.026 - [2024-10-05T12:03:12.252Z] STF 13:03:12.026 - ==================== E X E C U T E - ==================== [2024-10-05T12:03:12.252Z] STF 13:03:12.026 - Running execute: perl C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/\TKG\output_17281257948917\UpgModPath_Jar_2/20241005-130310-UpgModPathTest/execute.pl [2024-10-05T12:03:12.252Z] STF 13:03:12.156 - [2024-10-05T12:03:12.252Z] STF 13:03:12.156 - Java version [2024-10-05T12:03:12.252Z] STF 13:03:12.156 - Running: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/jdkbinary/j2sdk-image/bin/java -version [2024-10-05T12:03:12.578Z] openjdk version "11.0.25-beta" 2024-10-15 [2024-10-05T12:03:12.578Z] OpenJDK Runtime Environment Temurin-11.0.25+8-202410041601 (build 11.0.25-beta+8-202410041601) [2024-10-05T12:03:12.578Z] OpenJDK Client VM Temurin-11.0.25+8-202410041601 (build 11.0.25-beta+8-202410041601, mixed mode) [2024-10-05T12:03:12.578Z] STF 13:03:12.267 - [2024-10-05T12:03:12.578Z] STF 13:03:12.267 - +------ Step 1 - Create com.hello jar [2024-10-05T12:03:12.578Z] STF 13:03:12.267 - | Create modular jar [2024-10-05T12:03:12.578Z] STF 13:03:12.267 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2024-10-05T12:03:12.578Z] STF 13:03:12.267 - | ModuleVersion: null [2024-10-05T12:03:12.578Z] STF 13:03:12.267 - | MainClass: null [2024-10-05T12:03:12.578Z] STF 13:03:12.267 - | HashModules: null [2024-10-05T12:03:12.578Z] STF 13:03:12.267 - | [2024-10-05T12:03:12.578Z] STF 13:03:12.268 - Running command: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17281257948917/UpgModPath_Jar_2/20241005-130310-UpgModPathTest/modules/1.com.hello.jar -C C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello . [2024-10-05T12:03:12.578Z] STF 13:03:12.268 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17281257948917/UpgModPath_Jar_2/20241005-130310-UpgModPathTest/results/1.CMJ.stderr [2024-10-05T12:03:12.578Z] STF 13:03:12.268 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17281257948917/UpgModPath_Jar_2/20241005-130310-UpgModPathTest/results/1.CMJ.stdout [2024-10-05T12:03:12.578Z] STF 13:03:12.297 - Monitoring processes: CMJ [2024-10-05T12:03:12.578Z] STF 13:03:12.521 - Monitoring Report Summary: [2024-10-05T12:03:12.578Z] STF 13:03:12.521 - o Process CMJ ended with the expected exit code (0) [2024-10-05T12:03:12.578Z] STF 13:03:12.521 - Created modular jar: 1.com.hello.jar [2024-10-05T12:03:12.578Z] STF 13:03:12.521 - [2024-10-05T12:03:12.578Z] STF 13:03:12.521 - +------ Step 2 - Create com.hola jar [2024-10-05T12:03:12.578Z] STF 13:03:12.521 - | Create modular jar [2024-10-05T12:03:12.578Z] STF 13:03:12.521 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2024-10-05T12:03:12.578Z] STF 13:03:12.521 - | ModuleVersion: null [2024-10-05T12:03:12.578Z] STF 13:03:12.521 - | MainClass: null [2024-10-05T12:03:12.579Z] STF 13:03:12.521 - | HashModules: null [2024-10-05T12:03:12.579Z] STF 13:03:12.521 - | [2024-10-05T12:03:12.579Z] STF 13:03:12.521 - Running command: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17281257948917/UpgModPath_Jar_2/20241005-130310-UpgModPathTest/modules/2.com.hola.jar -C C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola . [2024-10-05T12:03:12.579Z] STF 13:03:12.521 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17281257948917/UpgModPath_Jar_2/20241005-130310-UpgModPathTest/results/2.CMJ.stderr [2024-10-05T12:03:12.579Z] STF 13:03:12.521 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17281257948917/UpgModPath_Jar_2/20241005-130310-UpgModPathTest/results/2.CMJ.stdout [2024-10-05T12:03:12.579Z] STF 13:03:12.527 - Monitoring processes: CMJ [2024-10-05T12:03:12.908Z] STF 13:03:12.754 - Monitoring Report Summary: [2024-10-05T12:03:12.908Z] STF 13:03:12.754 - o Process CMJ ended with the expected exit code (0) [2024-10-05T12:03:12.908Z] STF 13:03:12.754 - Created modular jar: 2.com.hola.jar [2024-10-05T12:03:12.908Z] STF 13:03:12.754 - [2024-10-05T12:03:12.908Z] STF 13:03:12.754 - +------ Step 3 - Create com.helper jar [2024-10-05T12:03:12.908Z] STF 13:03:12.754 - | Create modular jar [2024-10-05T12:03:12.908Z] STF 13:03:12.754 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2024-10-05T12:03:12.908Z] STF 13:03:12.754 - | ModuleVersion: null [2024-10-05T12:03:12.908Z] STF 13:03:12.755 - | MainClass: null [2024-10-05T12:03:12.909Z] STF 13:03:12.755 - | HashModules: null [2024-10-05T12:03:12.909Z] STF 13:03:12.755 - | [2024-10-05T12:03:12.909Z] STF 13:03:12.755 - Running command: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17281257948917/UpgModPath_Jar_2/20241005-130310-UpgModPathTest/modules/3.com.helper.jar -C C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper . [2024-10-05T12:03:12.909Z] STF 13:03:12.755 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17281257948917/UpgModPath_Jar_2/20241005-130310-UpgModPathTest/results/3.CMJ.stderr [2024-10-05T12:03:12.909Z] STF 13:03:12.755 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17281257948917/UpgModPath_Jar_2/20241005-130310-UpgModPathTest/results/3.CMJ.stdout [2024-10-05T12:03:12.909Z] STF 13:03:12.762 - Monitoring processes: CMJ [2024-10-05T12:03:13.237Z] STF 13:03:12.999 - Monitoring Report Summary: [2024-10-05T12:03:13.237Z] STF 13:03:12.999 - o Process CMJ ended with the expected exit code (0) [2024-10-05T12:03:13.237Z] STF 13:03:12.999 - Created modular jar: 3.com.helper.jar [2024-10-05T12:03:13.237Z] STF 13:03:12.999 - [2024-10-05T12:03:13.237Z] STF 13:03:12.999 - +------ Step 4 - Create com.discreet jar [2024-10-05T12:03:13.237Z] STF 13:03:12.999 - | Create modular jar [2024-10-05T12:03:13.237Z] STF 13:03:12.999 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2024-10-05T12:03:13.237Z] STF 13:03:12.999 - | ModuleVersion: null [2024-10-05T12:03:13.237Z] STF 13:03:12.999 - | MainClass: null [2024-10-05T12:03:13.237Z] STF 13:03:12.999 - | HashModules: null [2024-10-05T12:03:13.237Z] STF 13:03:12.999 - | [2024-10-05T12:03:13.237Z] STF 13:03:12.999 - Running command: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17281257948917/UpgModPath_Jar_2/20241005-130310-UpgModPathTest/modules/4.com.discreet.jar -C C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet . [2024-10-05T12:03:13.237Z] STF 13:03:12.999 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17281257948917/UpgModPath_Jar_2/20241005-130310-UpgModPathTest/results/4.CMJ.stderr [2024-10-05T12:03:13.237Z] STF 13:03:12.999 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17281257948917/UpgModPath_Jar_2/20241005-130310-UpgModPathTest/results/4.CMJ.stdout [2024-10-05T12:03:13.237Z] STF 13:03:13.005 - Monitoring processes: CMJ [2024-10-05T12:03:13.567Z] STF 13:03:13.248 - Monitoring Report Summary: [2024-10-05T12:03:13.567Z] STF 13:03:13.248 - o Process CMJ ended with the expected exit code (0) [2024-10-05T12:03:13.567Z] STF 13:03:13.248 - Created modular jar: 4.com.discreet.jar [2024-10-05T12:03:13.567Z] STF 13:03:13.248 - [2024-10-05T12:03:13.567Z] STF 13:03:13.248 - +------ Step 5 - Create tests jar [2024-10-05T12:03:13.567Z] STF 13:03:13.248 - | Create modular jar [2024-10-05T12:03:13.567Z] STF 13:03:13.248 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2024-10-05T12:03:13.567Z] STF 13:03:13.248 - | ModuleVersion: null [2024-10-05T12:03:13.567Z] STF 13:03:13.248 - | MainClass: null [2024-10-05T12:03:13.567Z] STF 13:03:13.248 - | HashModules: null [2024-10-05T12:03:13.567Z] STF 13:03:13.248 - | [2024-10-05T12:03:13.567Z] STF 13:03:13.248 - Running command: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17281257948917/UpgModPath_Jar_2/20241005-130310-UpgModPathTest/modules/5.com.test.jar -C C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests\com.test . [2024-10-05T12:03:13.567Z] STF 13:03:13.248 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17281257948917/UpgModPath_Jar_2/20241005-130310-UpgModPathTest/results/5.CMJ.stderr [2024-10-05T12:03:13.567Z] STF 13:03:13.248 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17281257948917/UpgModPath_Jar_2/20241005-130310-UpgModPathTest/results/5.CMJ.stdout [2024-10-05T12:03:13.567Z] STF 13:03:13.255 - Monitoring processes: CMJ [2024-10-05T12:03:13.567Z] STF 13:03:13.487 - Monitoring Report Summary: [2024-10-05T12:03:13.567Z] STF 13:03:13.488 - o Process CMJ ended with the expected exit code (0) [2024-10-05T12:03:13.567Z] STF 13:03:13.488 - Created modular jar: 5.com.test.jar [2024-10-05T12:03:13.567Z] STF 13:03:13.488 - [2024-10-05T12:03:13.567Z] STF 13:03:13.488 - +------ Step 6 - Create runtime image for upgrademodulepath test [2024-10-05T12:03:13.567Z] STF 13:03:13.488 - | Run jlink to create runtime image [2024-10-05T12:03:13.567Z] STF 13:03:13.488 - | ImageName: UpJVM [2024-10-05T12:03:13.567Z] STF 13:03:13.488 - | [2024-10-05T12:03:13.567Z] STF 13:03:13.488 - Running command: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/jdkbinary/j2sdk-image/bin/jlink --module-path c:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jdkbinary\j2sdk-image\jmods;C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\aqa-tests\TKG\output_17281257948917\UpgModPath_Jar_2\20241005-130310-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\aqa-tests\TKG\output_17281257948917\UpgModPath_Jar_2\20241005-130310-UpgModPathTest\tmp\6.UpJVM [2024-10-05T12:03:13.567Z] STF 13:03:13.488 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17281257948917/UpgModPath_Jar_2/20241005-130310-UpgModPathTest/results/6.JLNK.stderr [2024-10-05T12:03:13.567Z] STF 13:03:13.488 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17281257948917/UpgModPath_Jar_2/20241005-130310-UpgModPathTest/results/6.JLNK.stdout [2024-10-05T12:03:13.567Z] STF 13:03:13.494 - Monitoring processes: JLNK [2024-10-05T12:03:15.791Z] STF 13:03:15.342 - Monitoring Report Summary: [2024-10-05T12:03:15.791Z] STF 13:03:15.343 - o Process JLNK ended with the expected exit code (0) [2024-10-05T12:03:15.791Z] STF 13:03:15.343 - [2024-10-05T12:03:15.791Z] STF 13:03:15.343 - +------ Step 7 - Create com.hello override jar [2024-10-05T12:03:15.791Z] STF 13:03:15.343 - | Create modular jar [2024-10-05T12:03:15.791Z] STF 13:03:15.343 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2024-10-05T12:03:15.791Z] STF 13:03:15.343 - | ModuleVersion: null [2024-10-05T12:03:15.791Z] STF 13:03:15.343 - | MainClass: null [2024-10-05T12:03:15.791Z] STF 13:03:15.343 - | HashModules: null [2024-10-05T12:03:15.791Z] STF 13:03:15.343 - | [2024-10-05T12:03:15.791Z] STF 13:03:15.343 - Running command: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17281257948917/UpgModPath_Jar_2/20241005-130310-UpgModPathTest/modules/7.com.hello.jar -C C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.hello . [2024-10-05T12:03:15.791Z] STF 13:03:15.343 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17281257948917/UpgModPath_Jar_2/20241005-130310-UpgModPathTest/results/7.CMJ.stderr [2024-10-05T12:03:15.791Z] STF 13:03:15.343 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17281257948917/UpgModPath_Jar_2/20241005-130310-UpgModPathTest/results/7.CMJ.stdout [2024-10-05T12:03:15.791Z] STF 13:03:15.356 - Monitoring processes: CMJ [2024-10-05T12:03:15.791Z] STF 13:03:15.666 - Monitoring Report Summary: [2024-10-05T12:03:15.791Z] STF 13:03:15.666 - o Process CMJ ended with the expected exit code (0) [2024-10-05T12:03:15.791Z] STF 13:03:15.666 - Created modular jar: 7.com.hello.jar [2024-10-05T12:03:15.791Z] STF 13:03:15.666 - [2024-10-05T12:03:15.791Z] STF 13:03:15.666 - +------ Step 8 - Create com.hello override jar [2024-10-05T12:03:15.791Z] STF 13:03:15.666 - | Create modular jar [2024-10-05T12:03:15.791Z] STF 13:03:15.667 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.logging [2024-10-05T12:03:15.791Z] STF 13:03:15.667 - | ModuleVersion: null [2024-10-05T12:03:15.791Z] STF 13:03:15.667 - | MainClass: null [2024-10-05T12:03:15.791Z] STF 13:03:15.667 - | HashModules: null [2024-10-05T12:03:15.791Z] STF 13:03:15.667 - | [2024-10-05T12:03:15.791Z] STF 13:03:15.667 - Running command: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17281257948917/UpgModPath_Jar_2/20241005-130310-UpgModPathTest/modules/8.java.logging.jar -C C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\java.logging . [2024-10-05T12:03:15.791Z] STF 13:03:15.667 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17281257948917/UpgModPath_Jar_2/20241005-130310-UpgModPathTest/results/8.CMJ.stderr [2024-10-05T12:03:15.791Z] STF 13:03:15.667 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17281257948917/UpgModPath_Jar_2/20241005-130310-UpgModPathTest/results/8.CMJ.stdout [2024-10-05T12:03:15.791Z] STF 13:03:15.672 - Monitoring processes: CMJ [2024-10-05T12:03:16.122Z] STF 13:03:15.911 - Monitoring Report Summary: [2024-10-05T12:03:16.122Z] STF 13:03:15.911 - o Process CMJ ended with the expected exit code (0) [2024-10-05T12:03:16.122Z] STF 13:03:15.911 - Created modular jar: 8.java.logging.jar [2024-10-05T12:03:16.122Z] STF 13:03:15.911 - [2024-10-05T12:03:16.122Z] STF 13:03:15.911 - +------ Step 9 - Override an application module using modularized jar [2024-10-05T12:03:16.122Z] STF 13:03:15.911 - | Run foreground process [2024-10-05T12:03:16.122Z] STF 13:03:15.911 - | Program: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/jdkbinary/j2sdk-image/bin/java [2024-10-05T12:03:16.122Z] STF 13:03:15.911 - | Mnemonic: OT21 [2024-10-05T12:03:16.122Z] STF 13:03:15.911 - | Echo: ECHO_ON [2024-10-05T12:03:16.122Z] STF 13:03:15.911 - | Expectation: CLEAN_RUN within 1m [2024-10-05T12:03:16.122Z] STF 13:03:15.911 - | [2024-10-05T12:03:16.122Z] STF 13:03:15.912 - Running command: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/jdkbinary/j2sdk-image/bin/java --add-reads com.test=ALL-UNNAMED --module-path C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods;C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests --upgrade-module-path C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17281257948917/UpgModPath_Jar_2/20241005-130310-UpgModPathTest/modules/7.com.hello.jar --add-modules=com.test -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-10-05T12:03:16.122Z] STF 13:03:15.912 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17281257948917/UpgModPath_Jar_2/20241005-130310-UpgModPathTest/results/9.OT21.stderr [2024-10-05T12:03:16.122Z] STF 13:03:15.912 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17281257948917/UpgModPath_Jar_2/20241005-130310-UpgModPathTest/results/9.OT21.stdout [2024-10-05T12:03:16.122Z] STF 13:03:15.920 - Monitoring processes: OT21 [2024-10-05T12:03:16.452Z] OT21 JUnit version 4.12 [2024-10-05T12:03:16.452Z] OT21 . [2024-10-05T12:03:16.452Z] OT21 Time: 0.008 [2024-10-05T12:03:16.452Z] OT21 [2024-10-05T12:03:16.452Z] OT21 OK (1 test) [2024-10-05T12:03:16.452Z] OT21 [2024-10-05T12:03:16.452Z] STF 13:03:16.187 - Monitoring Report Summary: [2024-10-05T12:03:16.452Z] STF 13:03:16.187 - o Process OT21 ended with the expected exit code (0) [2024-10-05T12:03:16.452Z] STF 13:03:16.187 - [2024-10-05T12:03:16.452Z] STF 13:03:16.187 - +------ Step 10 - (Negative test) Override a non-upgradable platform module where the overriding module is in a modularized jar [2024-10-05T12:03:16.452Z] STF 13:03:16.187 - | Run foreground process [2024-10-05T12:03:16.452Z] STF 13:03:16.187 - | Program: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/jdkbinary/j2sdk-image/bin/java [2024-10-05T12:03:16.452Z] STF 13:03:16.187 - | Mnemonic: OT24 [2024-10-05T12:03:16.452Z] STF 13:03:16.187 - | Echo: ECHO_ON [2024-10-05T12:03:16.452Z] STF 13:03:16.187 - | Expectation: NON_ZERO_EXIT [1] within 1m [2024-10-05T12:03:16.452Z] STF 13:03:16.187 - | [2024-10-05T12:03:16.452Z] STF 13:03:16.188 - Running command: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/jdkbinary/j2sdk-image/bin/java --add-reads com.test=ALL-UNNAMED --module-path C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods;C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests --upgrade-module-path C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17281257948917/UpgModPath_Jar_2/20241005-130310-UpgModPathTest/modules/8.java.logging.jar --add-modules=com.test -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-10-05T12:03:16.452Z] STF 13:03:16.188 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17281257948917/UpgModPath_Jar_2/20241005-130310-UpgModPathTest/results/10.OT24.stderr [2024-10-05T12:03:16.452Z] STF 13:03:16.188 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17281257948917/UpgModPath_Jar_2/20241005-130310-UpgModPathTest/results/10.OT24.stdout [2024-10-05T12:03:16.452Z] STF 13:03:16.196 - Monitoring processes: OT24 [2024-10-05T12:03:16.780Z] OT24 Error occurred during initialization of boot layer [2024-10-05T12:03:16.780Z] OT24 java.lang.module.FindException: Hash of java.logging (6538e4329dfd0a3379d9797216f91349929c40c383aa5df89f209224446ef6fb) differs to expected hash (fb574a7422ae3df776185e636556d67afa2b325b921b1fd18c8858e236ed909d) recorded in java.base [2024-10-05T12:03:16.780Z] STF 13:03:16.388 - Monitoring Report Summary: [2024-10-05T12:03:16.780Z] STF 13:03:16.389 - o Process OT24 ended with the expected exit code (1) [2024-10-05T12:03:16.780Z] STF 13:03:16.389 - [2024-10-05T12:03:16.780Z] STF 13:03:16.389 - +------ Step 11 - Combine stderr and stdout files of process OT24 [2024-10-05T12:03:16.780Z] STF 13:03:16.389 - | Run foreground process [2024-10-05T12:03:16.780Z] STF 13:03:16.389 - | Program: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/jdkbinary/j2sdk-image/bin/java [2024-10-05T12:03:16.780Z] STF 13:03:16.389 - | Mnemonic: CO [2024-10-05T12:03:16.780Z] STF 13:03:16.389 - | Echo: ECHO_OFF [2024-10-05T12:03:16.780Z] STF 13:03:16.389 - | Expectation: NON_ZERO_EXIT [0] within 30s [2024-10-05T12:03:16.780Z] STF 13:03:16.389 - | [2024-10-05T12:03:16.780Z] STF 13:03:16.389 - Running command: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/jdkbinary/j2sdk-image/bin/java -Dfile1=C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17281257948917/UpgModPath_Jar_2/20241005-130310-UpgModPathTest/results/10.OT24.stdout -Dfile2=C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17281257948917/UpgModPath_Jar_2/20241005-130310-UpgModPathTest/results/10.OT24.stderr -Dfinal.file=C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\aqa-tests\TKG\output_17281257948917\UpgModPath_Jar_2\20241005-130310-UpgModPathTest\results\combinedOT24.txt -classpath C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\STF\stf.core\bin;C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin net.adoptopenjdk.test.modularity.TestUtil [2024-10-05T12:03:16.780Z] STF 13:03:16.389 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17281257948917/UpgModPath_Jar_2/20241005-130310-UpgModPathTest/results/11.CO.stderr [2024-10-05T12:03:16.781Z] STF 13:03:16.389 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17281257948917/UpgModPath_Jar_2/20241005-130310-UpgModPathTest/results/11.CO.stdout [2024-10-05T12:03:16.781Z] STF 13:03:16.396 - Monitoring processes: CO [2024-10-05T12:03:16.781Z] STF 13:03:16.554 - Monitoring Report Summary: [2024-10-05T12:03:16.781Z] STF 13:03:16.554 - o Process CO ended with the expected exit code (0) [2024-10-05T12:03:16.781Z] STF 13:03:16.554 - [2024-10-05T12:03:16.781Z] STF 13:03:16.554 - +------ Step 12 - Check output [2024-10-05T12:03:16.781Z] STF 13:03:16.554 - | Count file matches [2024-10-05T12:03:16.781Z] STF 13:03:16.554 - | TargetFile: C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17281257948917/UpgModPath_Jar_2/20241005-130310-UpgModPathTest/results/combinedOT24.txt [2024-10-05T12:03:16.781Z] STF 13:03:16.554 - | ExpectedNumMatches: 1 [2024-10-05T12:03:16.781Z] STF 13:03:16.554 - | SearchStrings: ["FindException: Hash of java.logging"] [2024-10-05T12:03:16.781Z] STF 13:03:16.554 - | [2024-10-05T12:03:16.781Z] STF 13:03:16.565 - Found 1 instances of ["FindException: Hash of java.logging"] [2024-10-05T12:03:16.781Z] STF 13:03:16.565 - EXECUTE stage completed [2024-10-05T12:03:16.781Z] STF 13:03:16.622 - [2024-10-05T12:03:16.781Z] STF 13:03:16.622 - ==================== T E A R D O W N ==================== [2024-10-05T12:03:16.781Z] STF 13:03:16.622 - Running teardown: perl C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/\TKG\output_17281257948917\UpgModPath_Jar_2/20241005-130310-UpgModPathTest/tearDown.pl [2024-10-05T12:03:17.202Z] STF 13:03:16.750 - TEARDOWN stage completed [2024-10-05T12:03:17.202Z] STF 13:03:16.763 - [2024-10-05T12:03:17.202Z] STF 13:03:16.763 - ===================== R E S U L T S ===================== [2024-10-05T12:03:17.202Z] STF 13:03:16.763 - Stage results: [2024-10-05T12:03:17.202Z] STF 13:03:16.763 - setUp: pass [2024-10-05T12:03:17.202Z] STF 13:03:16.763 - execute: pass [2024-10-05T12:03:17.202Z] STF 13:03:16.763 - teardown: pass [2024-10-05T12:03:17.202Z] STF 13:03:16.763 - [2024-10-05T12:03:17.202Z] STF 13:03:16.763 - Overall result: PASSED [2024-10-05T12:03:17.202Z] ----------------------------------- [2024-10-05T12:03:17.202Z] UpgModPath_Jar_2_PASSED [2024-10-05T12:03:17.202Z] ----------------------------------- [2024-10-05T12:03:17.202Z] [2024-10-05T12:03:17.202Z] TEST TEARDOWN: [2024-10-05T12:03:17.202Z] Nothing to be done for teardown. [2024-10-05T12:03:17.202Z] UpgModPath_Jar_2 Finish Time: Sat Oct 5 13:03:17 2024 Epoch Time (ms): 1728129797087