UpgModPath_Jar_2

[2024-08-10T12:57:43.814Z] Running test UpgModPath_Jar_2 ... [2024-08-10T12:57:43.814Z] =============================================== [2024-08-10T12:57:44.180Z] UpgModPath_Jar_2 Start Time: Sat Aug 10 12:57:43 2024 Epoch Time (ms): 1723294663869 [2024-08-10T12:57:44.180Z] variation: Mode1000 [2024-08-10T12:57:44.180Z] JVM_OPTIONS: [2024-08-10T12:57:44.180Z] { \ [2024-08-10T12:57:44.180Z] echo ""; echo "TEST SETUP:"; \ [2024-08-10T12:57:44.180Z] echo "Nothing to be done for setup."; \ [2024-08-10T12:57:44.180Z] mkdir -p "C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\\TKG\\output_17232906553878\\UpgModPath_Jar_2"; \ [2024-08-10T12:57:44.180Z] cd "C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\\TKG\\output_17232906553878\\UpgModPath_Jar_2"; \ [2024-08-10T12:57:44.180Z] echo ""; echo "TESTING:"; \ [2024-08-10T12:57:44.180Z] 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_Jar_2" -test=UpgModPathTest -test-args="variant=Jar"; \ [2024-08-10T12:57:44.180Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "UpgModPath_Jar_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_Jar_2"; else echo "-----------------------------------"; echo "UpgModPath_Jar_2""_FAILED"; echo "-----------------------------------"; fi; \ [2024-08-10T12:57:44.180Z] echo ""; echo "TEST TEARDOWN:"; \ [2024-08-10T12:57:44.180Z] echo "Nothing to be done for teardown."; \ [2024-08-10T12:57:44.180Z] } 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:44.504Z] [2024-08-10T12:57:44.504Z] TEST SETUP: [2024-08-10T12:57:44.504Z] Nothing to be done for setup. [2024-08-10T12:57:44.504Z] [2024-08-10T12:57:44.504Z] TESTING: [2024-08-10T12:57:44.504Z] STF 12:57:44.404 - ========================= S T F ========================= [2024-08-10T12:57:44.504Z] 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_Jar_2 [2024-08-10T12:57:44.504Z] There is 122549 Mb free [2024-08-10T12:57:44.504Z] STF 12:57:44.449 - ================== G E N E R A T I O N ================== [2024-08-10T12:57:44.504Z] STF 12:57:44.451 - Checking JVM: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image [2024-08-10T12:57:44.504Z] STF 12:57:44.451 - 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_Jar_2/20240810-125744-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_Jar_2/20240810-125744-UpgModPathTest" [2024-08-10T12:57:45.609Z] GEN 12:57:45.268 - 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:45.609Z] GEN 12:57:45.282 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.UpgModPathTest' [2024-08-10T12:57:45.609Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2024-08-10T12:57:45.609Z] 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:45.609Z] 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:45.609Z] 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:45.609Z] 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:45.609Z] 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:45.609Z] 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:45.609Z] 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:45.609Z] 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:45.609Z] 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:45.609Z] 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:45.609Z] 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:45.609Z] 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:45.609Z] 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:45.609Z] 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:45.609Z] 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:45.609Z] GEN C:\\jenkins\\workspace\\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\\jvmtest\\system\\STF\\stf.core\\bin [2024-08-10T12:57:45.609Z] GEN c:/jenkins/testDependency/system_lib/log4j/log4j-api.jar [2024-08-10T12:57:45.609Z] GEN c:/jenkins/testDependency/system_lib/log4j/log4j-core.jar [2024-08-10T12:57:45.609Z] GEN c:/jenkins/testDependency/system_lib/junit/junit.jar [2024-08-10T12:57:45.609Z] GEN 12:57:45.479 - Using Mode NoOptions. Values = '' [2024-08-10T12:57:45.931Z] GEN 12:57:45.578 - [2024-08-10T12:57:45.931Z] GEN 12:57:45.578 - Test command summary: [2024-08-10T12:57:45.931Z] GEN 12:57:45.579 - Step Stage Command Description [2024-08-10T12:57:45.931Z] GEN 12:57:45.579 - -----+--------+-----------------+------------ [2024-08-10T12:57:45.931Z] GEN 12:57:45.579 - 1 execute jar Create com.hello jar [2024-08-10T12:57:45.931Z] GEN 12:57:45.579 - 2 execute jar Create com.hola jar [2024-08-10T12:57:45.931Z] GEN 12:57:45.579 - 3 execute jar Create com.helper jar [2024-08-10T12:57:45.931Z] GEN 12:57:45.579 - 4 execute jar Create com.discreet jar [2024-08-10T12:57:45.931Z] GEN 12:57:45.579 - 5 execute jar Create tests jar [2024-08-10T12:57:45.931Z] GEN 12:57:45.579 - 6 execute jlink Create runtime image for upgrademodulepath test [2024-08-10T12:57:45.931Z] GEN 12:57:45.579 - 7 execute jar Create com.hello override jar [2024-08-10T12:57:45.931Z] GEN 12:57:45.579 - 8 execute jar Create com.hello override jar [2024-08-10T12:57:45.931Z] GEN 12:57:45.579 - 9 execute Run java Override an application module using modularized jar [2024-08-10T12:57:45.931Z] GEN 12:57:45.579 - 10 execute Run java (Negative test) Override a non-upgradable platform module where the overriding module is in a modularized jar [2024-08-10T12:57:45.931Z] GEN 12:57:45.579 - 11 execute Run java Combine stderr and stdout files of process OT24 [2024-08-10T12:57:45.931Z] GEN 12:57:45.579 - 12 execute count Check output [2024-08-10T12:57:45.931Z] STF 12:57:45.597 - [2024-08-10T12:57:45.931Z] STF 12:57:45.597 - Script generation completed [2024-08-10T12:57:45.931Z] STF 12:57:45.597 - [2024-08-10T12:57:45.931Z] STF 12:57:45.599 - [2024-08-10T12:57:45.931Z] STF 12:57:45.599 - ======================= S E T U P ======================= [2024-08-10T12:57:45.931Z] STF 12:57:45.599 - Running setup: perl C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\TKG\output_17232906553878\UpgModPath_Jar_2/20240810-125744-UpgModPathTest/setUp.pl [2024-08-10T12:57:45.931Z] STF 12:57:45.723 - SETUP stage completed [2024-08-10T12:57:45.931Z] STF 12:57:45.739 - [2024-08-10T12:57:45.931Z] STF 12:57:45.739 - ==================== E X E C U T E - ==================== [2024-08-10T12:57:45.931Z] STF 12:57:45.739 - Running execute: perl C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\TKG\output_17232906553878\UpgModPath_Jar_2/20240810-125744-UpgModPathTest/execute.pl [2024-08-10T12:57:45.931Z] STF 12:57:45.871 - [2024-08-10T12:57:45.931Z] STF 12:57:45.872 - Java version [2024-08-10T12:57:45.932Z] STF 12:57:45.872 - Running: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image/bin/java -version [2024-08-10T12:57:46.254Z] openjdk version "11.0.25-beta" 2024-10-15 [2024-08-10T12:57:46.254Z] OpenJDK Runtime Environment Temurin-11.0.25+2-202408092159 (build 11.0.25-beta+2-ea) [2024-08-10T12:57:46.254Z] OpenJDK Client VM Temurin-11.0.25+2-202408092159 (build 11.0.25-beta+2-ea, mixed mode) [2024-08-10T12:57:46.254Z] STF 12:57:45.968 - [2024-08-10T12:57:46.254Z] STF 12:57:45.968 - +------ Step 1 - Create com.hello jar [2024-08-10T12:57:46.254Z] STF 12:57:45.968 - | Create modular jar [2024-08-10T12:57:46.254Z] STF 12:57:45.968 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello [2024-08-10T12:57:46.254Z] STF 12:57:45.968 - | ModuleVersion: null [2024-08-10T12:57:46.254Z] STF 12:57:45.968 - | MainClass: null [2024-08-10T12:57:46.254Z] STF 12:57:45.968 - | HashModules: null [2024-08-10T12:57:46.254Z] STF 12:57:45.968 - | [2024-08-10T12:57:46.254Z] STF 12:57:45.968 - 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_Jar_2/20240810-125744-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:46.255Z] STF 12:57:45.969 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17232906553878/UpgModPath_Jar_2/20240810-125744-UpgModPathTest/results/1.CMJ.stderr [2024-08-10T12:57:46.255Z] STF 12:57:45.969 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17232906553878/UpgModPath_Jar_2/20240810-125744-UpgModPathTest/results/1.CMJ.stdout [2024-08-10T12:57:46.255Z] STF 12:57:45.994 - Monitoring processes: CMJ [2024-08-10T12:57:46.565Z] STF 12:57:46.256 - Monitoring Report Summary: [2024-08-10T12:57:46.565Z] STF 12:57:46.256 - o Process CMJ ended with the expected exit code (0) [2024-08-10T12:57:46.565Z] STF 12:57:46.256 - Created modular jar: 1.com.hello.jar [2024-08-10T12:57:46.565Z] STF 12:57:46.257 - [2024-08-10T12:57:46.565Z] STF 12:57:46.257 - +------ Step 2 - Create com.hola jar [2024-08-10T12:57:46.565Z] STF 12:57:46.257 - | Create modular jar [2024-08-10T12:57:46.565Z] STF 12:57:46.257 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola [2024-08-10T12:57:46.565Z] STF 12:57:46.257 - | ModuleVersion: null [2024-08-10T12:57:46.565Z] STF 12:57:46.257 - | MainClass: null [2024-08-10T12:57:46.565Z] STF 12:57:46.257 - | HashModules: null [2024-08-10T12:57:46.565Z] STF 12:57:46.257 - | [2024-08-10T12:57:46.565Z] STF 12:57:46.257 - 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_Jar_2/20240810-125744-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:46.565Z] STF 12:57:46.257 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17232906553878/UpgModPath_Jar_2/20240810-125744-UpgModPathTest/results/2.CMJ.stderr [2024-08-10T12:57:46.565Z] STF 12:57:46.257 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17232906553878/UpgModPath_Jar_2/20240810-125744-UpgModPathTest/results/2.CMJ.stdout [2024-08-10T12:57:46.565Z] STF 12:57:46.262 - Monitoring processes: CMJ [2024-08-10T12:57:46.887Z] STF 12:57:46.550 - Monitoring Report Summary: [2024-08-10T12:57:46.887Z] STF 12:57:46.550 - o Process CMJ ended with the expected exit code (0) [2024-08-10T12:57:46.887Z] STF 12:57:46.550 - Created modular jar: 2.com.hola.jar [2024-08-10T12:57:46.887Z] STF 12:57:46.551 - [2024-08-10T12:57:46.887Z] STF 12:57:46.551 - +------ Step 3 - Create com.helper jar [2024-08-10T12:57:46.887Z] STF 12:57:46.551 - | Create modular jar [2024-08-10T12:57:46.887Z] STF 12:57:46.551 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper [2024-08-10T12:57:46.887Z] STF 12:57:46.551 - | ModuleVersion: null [2024-08-10T12:57:46.887Z] STF 12:57:46.551 - | MainClass: null [2024-08-10T12:57:46.887Z] STF 12:57:46.551 - | HashModules: null [2024-08-10T12:57:46.887Z] STF 12:57:46.551 - | [2024-08-10T12:57:46.887Z] STF 12:57:46.551 - 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_Jar_2/20240810-125744-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:46.887Z] STF 12:57:46.551 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17232906553878/UpgModPath_Jar_2/20240810-125744-UpgModPathTest/results/3.CMJ.stderr [2024-08-10T12:57:46.887Z] STF 12:57:46.551 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17232906553878/UpgModPath_Jar_2/20240810-125744-UpgModPathTest/results/3.CMJ.stdout [2024-08-10T12:57:46.887Z] STF 12:57:46.557 - Monitoring processes: CMJ [2024-08-10T12:57:46.887Z] STF 12:57:46.828 - Monitoring Report Summary: [2024-08-10T12:57:46.887Z] STF 12:57:46.828 - o Process CMJ ended with the expected exit code (0) [2024-08-10T12:57:46.887Z] STF 12:57:46.828 - Created modular jar: 3.com.helper.jar [2024-08-10T12:57:46.887Z] STF 12:57:46.828 - [2024-08-10T12:57:46.887Z] STF 12:57:46.828 - +------ Step 4 - Create com.discreet jar [2024-08-10T12:57:46.887Z] STF 12:57:46.828 - | Create modular jar [2024-08-10T12:57:46.887Z] STF 12:57:46.828 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet [2024-08-10T12:57:46.887Z] STF 12:57:46.828 - | ModuleVersion: null [2024-08-10T12:57:46.887Z] STF 12:57:46.828 - | MainClass: null [2024-08-10T12:57:46.887Z] STF 12:57:46.828 - | HashModules: null [2024-08-10T12:57:46.887Z] STF 12:57:46.828 - | [2024-08-10T12:57:46.887Z] STF 12:57:46.828 - 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_Jar_2/20240810-125744-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:46.887Z] STF 12:57:46.828 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17232906553878/UpgModPath_Jar_2/20240810-125744-UpgModPathTest/results/4.CMJ.stderr [2024-08-10T12:57:46.887Z] STF 12:57:46.828 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17232906553878/UpgModPath_Jar_2/20240810-125744-UpgModPathTest/results/4.CMJ.stdout [2024-08-10T12:57:46.887Z] STF 12:57:46.835 - Monitoring processes: CMJ [2024-08-10T12:57:47.209Z] STF 12:57:47.094 - Monitoring Report Summary: [2024-08-10T12:57:47.209Z] STF 12:57:47.094 - o Process CMJ ended with the expected exit code (0) [2024-08-10T12:57:47.209Z] STF 12:57:47.094 - Created modular jar: 4.com.discreet.jar [2024-08-10T12:57:47.209Z] STF 12:57:47.094 - [2024-08-10T12:57:47.209Z] STF 12:57:47.094 - +------ Step 5 - Create tests jar [2024-08-10T12:57:47.209Z] STF 12:57:47.094 - | Create modular jar [2024-08-10T12:57:47.209Z] STF 12:57:47.094 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2024-08-10T12:57:47.209Z] STF 12:57:47.094 - | ModuleVersion: null [2024-08-10T12:57:47.209Z] STF 12:57:47.094 - | MainClass: null [2024-08-10T12:57:47.209Z] STF 12:57:47.094 - | HashModules: null [2024-08-10T12:57:47.209Z] STF 12:57:47.094 - | [2024-08-10T12:57:47.209Z] STF 12:57:47.094 - 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_Jar_2/20240810-125744-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:47.209Z] STF 12:57:47.094 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17232906553878/UpgModPath_Jar_2/20240810-125744-UpgModPathTest/results/5.CMJ.stderr [2024-08-10T12:57:47.209Z] STF 12:57:47.094 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17232906553878/UpgModPath_Jar_2/20240810-125744-UpgModPathTest/results/5.CMJ.stdout [2024-08-10T12:57:47.209Z] STF 12:57:47.100 - Monitoring processes: CMJ [2024-08-10T12:57:47.531Z] STF 12:57:47.370 - Monitoring Report Summary: [2024-08-10T12:57:47.531Z] STF 12:57:47.370 - o Process CMJ ended with the expected exit code (0) [2024-08-10T12:57:47.531Z] STF 12:57:47.370 - Created modular jar: 5.com.test.jar [2024-08-10T12:57:47.531Z] STF 12:57:47.370 - [2024-08-10T12:57:47.531Z] STF 12:57:47.370 - +------ Step 6 - Create runtime image for upgrademodulepath test [2024-08-10T12:57:47.531Z] STF 12:57:47.370 - | Run jlink to create runtime image [2024-08-10T12:57:47.531Z] STF 12:57:47.370 - | ImageName: UpJVM [2024-08-10T12:57:47.531Z] STF 12:57:47.370 - | [2024-08-10T12:57:47.531Z] STF 12:57:47.370 - 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_Jar_2\20240810-125744-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_Jar_2\20240810-125744-UpgModPathTest\tmp\6.UpJVM [2024-08-10T12:57:47.531Z] STF 12:57:47.370 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17232906553878/UpgModPath_Jar_2/20240810-125744-UpgModPathTest/results/6.JLNK.stderr [2024-08-10T12:57:47.531Z] STF 12:57:47.370 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17232906553878/UpgModPath_Jar_2/20240810-125744-UpgModPathTest/results/6.JLNK.stdout [2024-08-10T12:57:47.531Z] STF 12:57:47.376 - Monitoring processes: JLNK [2024-08-10T12:57:49.707Z] STF 12:57:49.201 - Monitoring Report Summary: [2024-08-10T12:57:49.707Z] STF 12:57:49.201 - o Process JLNK ended with the expected exit code (0) [2024-08-10T12:57:49.707Z] STF 12:57:49.201 - [2024-08-10T12:57:49.707Z] STF 12:57:49.201 - +------ Step 7 - Create com.hello override jar [2024-08-10T12:57:49.707Z] STF 12:57:49.201 - | Create modular jar [2024-08-10T12:57:49.707Z] STF 12:57:49.201 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello [2024-08-10T12:57:49.707Z] STF 12:57:49.201 - | ModuleVersion: null [2024-08-10T12:57:49.707Z] STF 12:57:49.201 - | MainClass: null [2024-08-10T12:57:49.707Z] STF 12:57:49.201 - | HashModules: null [2024-08-10T12:57:49.707Z] STF 12:57:49.201 - | [2024-08-10T12:57:49.707Z] STF 12:57:49.202 - 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_Jar_2/20240810-125744-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:57:49.707Z] STF 12:57:49.202 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17232906553878/UpgModPath_Jar_2/20240810-125744-UpgModPathTest/results/7.CMJ.stderr [2024-08-10T12:57:49.707Z] STF 12:57:49.202 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17232906553878/UpgModPath_Jar_2/20240810-125744-UpgModPathTest/results/7.CMJ.stdout [2024-08-10T12:57:49.707Z] STF 12:57:49.210 - Monitoring processes: CMJ [2024-08-10T12:57:49.707Z] STF 12:57:49.595 - Monitoring Report Summary: [2024-08-10T12:57:49.707Z] STF 12:57:49.595 - o Process CMJ ended with the expected exit code (0) [2024-08-10T12:57:49.707Z] STF 12:57:49.596 - Created modular jar: 7.com.hello.jar [2024-08-10T12:57:49.707Z] STF 12:57:49.596 - [2024-08-10T12:57:49.707Z] STF 12:57:49.596 - +------ Step 8 - Create com.hello override jar [2024-08-10T12:57:49.707Z] STF 12:57:49.596 - | Create modular jar [2024-08-10T12:57:49.707Z] STF 12:57:49.596 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.logging [2024-08-10T12:57:49.707Z] STF 12:57:49.596 - | ModuleVersion: null [2024-08-10T12:57:49.707Z] STF 12:57:49.596 - | MainClass: null [2024-08-10T12:57:49.707Z] STF 12:57:49.596 - | HashModules: null [2024-08-10T12:57:49.707Z] STF 12:57:49.596 - | [2024-08-10T12:57:49.707Z] STF 12:57:49.596 - 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_Jar_2/20240810-125744-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:57:49.707Z] STF 12:57:49.596 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17232906553878/UpgModPath_Jar_2/20240810-125744-UpgModPathTest/results/8.CMJ.stderr [2024-08-10T12:57:49.707Z] STF 12:57:49.596 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17232906553878/UpgModPath_Jar_2/20240810-125744-UpgModPathTest/results/8.CMJ.stdout [2024-08-10T12:57:49.707Z] STF 12:57:49.603 - Monitoring processes: CMJ [2024-08-10T12:57:50.031Z] STF 12:57:49.884 - Monitoring Report Summary: [2024-08-10T12:57:50.031Z] STF 12:57:49.884 - o Process CMJ ended with the expected exit code (0) [2024-08-10T12:57:50.031Z] STF 12:57:49.884 - Created modular jar: 8.java.logging.jar [2024-08-10T12:57:50.031Z] STF 12:57:49.884 - [2024-08-10T12:57:50.031Z] STF 12:57:49.884 - +------ Step 9 - Override an application module using modularized jar [2024-08-10T12:57:50.031Z] STF 12:57:49.884 - | Run foreground process [2024-08-10T12:57:50.031Z] STF 12:57:49.884 - | Program: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image/bin/java [2024-08-10T12:57:50.031Z] STF 12:57:49.884 - | Mnemonic: OT21 [2024-08-10T12:57:50.031Z] STF 12:57:49.884 - | Echo: ECHO_ON [2024-08-10T12:57:50.031Z] STF 12:57:49.884 - | Expectation: CLEAN_RUN within 1m [2024-08-10T12:57:50.031Z] STF 12:57:49.884 - | [2024-08-10T12:57:50.031Z] STF 12:57:49.884 - Running command: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image/bin/java --add-reads com.test=ALL-UNNAMED --module-path C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods;C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests --upgrade-module-path C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17232906553878/UpgModPath_Jar_2/20240810-125744-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-08-10T12:57:50.031Z] STF 12:57:49.884 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17232906553878/UpgModPath_Jar_2/20240810-125744-UpgModPathTest/results/9.OT21.stderr [2024-08-10T12:57:50.031Z] STF 12:57:49.884 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17232906553878/UpgModPath_Jar_2/20240810-125744-UpgModPathTest/results/9.OT21.stdout [2024-08-10T12:57:50.031Z] STF 12:57:49.893 - Monitoring processes: OT21 [2024-08-10T12:57:50.354Z] OT21 JUnit version 4.12 [2024-08-10T12:57:50.354Z] OT21 . [2024-08-10T12:57:50.354Z] OT21 Time: 0.008 [2024-08-10T12:57:50.354Z] OT21 [2024-08-10T12:57:50.354Z] OT21 OK (1 test) [2024-08-10T12:57:50.354Z] OT21 [2024-08-10T12:57:50.354Z] STF 12:57:50.162 - Monitoring Report Summary: [2024-08-10T12:57:50.354Z] STF 12:57:50.162 - o Process OT21 ended with the expected exit code (0) [2024-08-10T12:57:50.354Z] STF 12:57:50.163 - [2024-08-10T12:57:50.354Z] STF 12:57:50.163 - +------ Step 10 - (Negative test) Override a non-upgradable platform module where the overriding module is in a modularized jar [2024-08-10T12:57:50.354Z] STF 12:57:50.163 - | Run foreground process [2024-08-10T12:57:50.355Z] STF 12:57:50.163 - | Program: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image/bin/java [2024-08-10T12:57:50.355Z] STF 12:57:50.163 - | Mnemonic: OT24 [2024-08-10T12:57:50.355Z] STF 12:57:50.163 - | Echo: ECHO_ON [2024-08-10T12:57:50.355Z] STF 12:57:50.163 - | Expectation: NON_ZERO_EXIT [1] within 1m [2024-08-10T12:57:50.355Z] STF 12:57:50.163 - | [2024-08-10T12:57:50.355Z] STF 12:57:50.163 - Running command: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image/bin/java --add-reads com.test=ALL-UNNAMED --module-path C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods;C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests --upgrade-module-path C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17232906553878/UpgModPath_Jar_2/20240810-125744-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-08-10T12:57:50.355Z] STF 12:57:50.163 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17232906553878/UpgModPath_Jar_2/20240810-125744-UpgModPathTest/results/10.OT24.stderr [2024-08-10T12:57:50.355Z] STF 12:57:50.163 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17232906553878/UpgModPath_Jar_2/20240810-125744-UpgModPathTest/results/10.OT24.stdout [2024-08-10T12:57:50.355Z] STF 12:57:50.171 - Monitoring processes: OT24 [2024-08-10T12:57:50.677Z] OT24 Error occurred during initialization of boot layer [2024-08-10T12:57:50.677Z] OT24 java.lang.module.FindException: Hash of java.logging (6538e4329dfd0a3379d9797216f91349929c40c383aa5df89f209224446ef6fb) differs to expected hash (fb574a7422ae3df776185e636556d67afa2b325b921b1fd18c8858e236ed909d) recorded in java.base [2024-08-10T12:57:50.677Z] STF 12:57:50.365 - Monitoring Report Summary: [2024-08-10T12:57:50.677Z] STF 12:57:50.365 - o Process OT24 ended with the expected exit code (1) [2024-08-10T12:57:50.677Z] STF 12:57:50.365 - [2024-08-10T12:57:50.677Z] STF 12:57:50.365 - +------ Step 11 - Combine stderr and stdout files of process OT24 [2024-08-10T12:57:50.677Z] STF 12:57:50.365 - | Run foreground process [2024-08-10T12:57:50.677Z] STF 12:57:50.365 - | Program: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image/bin/java [2024-08-10T12:57:50.677Z] STF 12:57:50.365 - | Mnemonic: CO [2024-08-10T12:57:50.677Z] STF 12:57:50.365 - | Echo: ECHO_OFF [2024-08-10T12:57:50.677Z] STF 12:57:50.365 - | Expectation: NON_ZERO_EXIT [0] within 30s [2024-08-10T12:57:50.677Z] STF 12:57:50.365 - | [2024-08-10T12:57:50.677Z] STF 12:57:50.365 - 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_Jar_2/20240810-125744-UpgModPathTest/results/10.OT24.stdout -Dfile2=C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17232906553878/UpgModPath_Jar_2/20240810-125744-UpgModPathTest/results/10.OT24.stderr -Dfinal.file=C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\aqa-tests\TKG\output_17232906553878\UpgModPath_Jar_2\20240810-125744-UpgModPathTest\results\combinedOT24.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:57:50.677Z] STF 12:57:50.365 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17232906553878/UpgModPath_Jar_2/20240810-125744-UpgModPathTest/results/11.CO.stderr [2024-08-10T12:57:50.677Z] STF 12:57:50.365 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17232906553878/UpgModPath_Jar_2/20240810-125744-UpgModPathTest/results/11.CO.stdout [2024-08-10T12:57:50.677Z] STF 12:57:50.373 - Monitoring processes: CO [2024-08-10T12:57:50.677Z] STF 12:57:50.528 - Monitoring Report Summary: [2024-08-10T12:57:50.677Z] STF 12:57:50.528 - o Process CO ended with the expected exit code (0) [2024-08-10T12:57:50.677Z] STF 12:57:50.528 - [2024-08-10T12:57:50.677Z] STF 12:57:50.528 - +------ Step 12 - Check output [2024-08-10T12:57:50.677Z] STF 12:57:50.528 - | Count file matches [2024-08-10T12:57:50.677Z] STF 12:57:50.528 - | TargetFile: C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17232906553878/UpgModPath_Jar_2/20240810-125744-UpgModPathTest/results/combinedOT24.txt [2024-08-10T12:57:50.677Z] STF 12:57:50.528 - | ExpectedNumMatches: 1 [2024-08-10T12:57:50.677Z] STF 12:57:50.528 - | SearchStrings: ["FindException: Hash of java.logging"] [2024-08-10T12:57:50.677Z] STF 12:57:50.528 - | [2024-08-10T12:57:50.677Z] STF 12:57:50.540 - Found 1 instances of ["FindException: Hash of java.logging"] [2024-08-10T12:57:50.677Z] STF 12:57:50.540 - EXECUTE stage completed [2024-08-10T12:57:50.677Z] STF 12:57:50.570 - [2024-08-10T12:57:50.677Z] STF 12:57:50.570 - ==================== T E A R D O W N ==================== [2024-08-10T12:57:50.677Z] STF 12:57:50.570 - Running teardown: perl C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\TKG\output_17232906553878\UpgModPath_Jar_2/20240810-125744-UpgModPathTest/tearDown.pl [2024-08-10T12:57:50.996Z] STF 12:57:50.696 - TEARDOWN stage completed [2024-08-10T12:57:50.996Z] STF 12:57:50.709 - [2024-08-10T12:57:50.996Z] STF 12:57:50.709 - ===================== R E S U L T S ===================== [2024-08-10T12:57:50.996Z] STF 12:57:50.709 - Stage results: [2024-08-10T12:57:50.996Z] STF 12:57:50.709 - setUp: pass [2024-08-10T12:57:50.996Z] STF 12:57:50.709 - execute: pass [2024-08-10T12:57:50.996Z] STF 12:57:50.709 - teardown: pass [2024-08-10T12:57:50.996Z] STF 12:57:50.709 - [2024-08-10T12:57:50.996Z] STF 12:57:50.709 - Overall result: PASSED [2024-08-10T12:57:50.996Z] ----------------------------------- [2024-08-10T12:57:50.996Z] UpgModPath_Jar_2_PASSED [2024-08-10T12:57:50.996Z] ----------------------------------- [2024-08-10T12:57:50.996Z] [2024-08-10T12:57:50.996Z] TEST TEARDOWN: [2024-08-10T12:57:50.996Z] Nothing to be done for teardown. [2024-08-10T12:57:51.308Z] UpgModPath_Jar_2 Finish Time: Sat Aug 10 12:57:51 2024 Epoch Time (ms): 1723294671039