UpgModPath_Jar_2
[2025-01-24T17:03:25.377Z] Running test UpgModPath_Jar_2 ...
[2025-01-24T17:03:25.687Z] ===============================================
[2025-01-24T17:03:25.687Z] UpgModPath_Jar_2 Start Time: Fri Jan 24 17:03:25 2025 Epoch Time (ms): 1737738205560
[2025-01-24T17:03:26.061Z] variation: Mode1000
[2025-01-24T17:03:26.061Z] JVM_OPTIONS:
[2025-01-24T17:03:26.061Z] { \
[2025-01-24T17:03:26.061Z] echo ""; echo "TEST SETUP:"; \
[2025-01-24T17:03:26.061Z] echo "Nothing to be done for setup."; \
[2025-01-24T17:03:26.061Z] mkdir -p "C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/\\TKG\\output_17377342045413\\UpgModPath_Jar_2"; \
[2025-01-24T17:03:26.061Z] cd "C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/\\TKG\\output_17377342045413\\UpgModPath_Jar_2"; \
[2025-01-24T17:03:26.061Z] echo ""; echo "TESTING:"; \
[2025-01-24T17:03:26.062Z] 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_17377342045413\\UpgModPath_Jar_2" -test=UpgModPathTest -test-args="variant=Jar"; \
[2025-01-24T17:03:26.062Z] 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_17377342045413\\UpgModPath_Jar_2"; else echo "-----------------------------------"; echo "UpgModPath_Jar_2""_FAILED"; echo "-----------------------------------"; fi; \
[2025-01-24T17:03:26.062Z] echo ""; echo "TEST TEARDOWN:"; \
[2025-01-24T17:03:26.062Z] echo "Nothing to be done for teardown."; \
[2025-01-24T17:03:26.062Z] } 2>&1 | tee -a "C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/\\TKG\\output_17377342045413\\TestTargetResult";
[2025-01-24T17:03:26.062Z]
[2025-01-24T17:03:26.062Z] TEST SETUP:
[2025-01-24T17:03:26.062Z] Nothing to be done for setup.
[2025-01-24T17:03:26.062Z]
[2025-01-24T17:03:26.062Z] TESTING:
[2025-01-24T17:03:26.390Z] STF 17:03:26.103 - ========================= S T F =========================
[2025-01-24T17:03:26.390Z] 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_17377342045413\UpgModPath_Jar_2
[2025-01-24T17:03:26.390Z] There is 95890 Mb free
[2025-01-24T17:03:26.390Z] STF 17:03:26.152 - ================== G E N E R A T I O N ==================
[2025-01-24T17:03:26.390Z] STF 17:03:26.154 - Checking JVM: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/jdkbinary/j2sdk-image
[2025-01-24T17:03:26.390Z] STF 17:03:26.154 - 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_17377342045413\UpgModPath_Jar_2/20250124-170326-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_17377342045413\UpgModPath_Jar_2/20250124-170326-UpgModPathTest"
[2025-01-24T17:03:27.079Z] GEN 17:03:26.973 - 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'
[2025-01-24T17:03:27.079Z] GEN 17:03:26.985 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.UpgModPathTest'
[2025-01-24T17:03:27.413Z] GEN Classpath directories used by project 'openjdk.test.modularity':
[2025-01-24T17:03:27.413Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayService
[2025-01-24T17:03:27.413Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper
[2025-01-24T17:03:27.413Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl1
[2025-01-24T17:03:27.413Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet
[2025-01-24T17:03:27.413Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello
[2025-01-24T17:03:27.413Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola
[2025-01-24T17:03:27.413Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl2
[2025-01-24T17:03:27.413Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hi
[2025-01-24T17:03:27.413Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override
[2025-01-24T17:03:27.413Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override-new
[2025-01-24T17:03:27.413Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl3
[2025-01-24T17:03:27.413Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl4
[2025-01-24T17:03:27.413Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common
[2025-01-24T17:03:27.413Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests
[2025-01-24T17:03:27.413Z] GEN C:\\jenkins\\workspace\\Test_openjdk11_hs_sanity.system_x86-32_windows\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin
[2025-01-24T17:03:27.413Z] GEN C:\\jenkins\\workspace\\Test_openjdk11_hs_sanity.system_x86-32_windows\\jvmtest\\system\\STF\\stf.core\\bin
[2025-01-24T17:03:27.413Z] GEN c:/jenkins/testDependency/system_lib/log4j/log4j-api.jar
[2025-01-24T17:03:27.413Z] GEN c:/jenkins/testDependency/system_lib/log4j/log4j-core.jar
[2025-01-24T17:03:27.413Z] GEN c:/jenkins/testDependency/system_lib/junit/junit.jar
[2025-01-24T17:03:27.413Z] GEN 17:03:27.200 - Using Mode NoOptions. Values = ''
[2025-01-24T17:03:27.413Z] GEN 17:03:27.298 -
[2025-01-24T17:03:27.413Z] GEN 17:03:27.298 - Test command summary:
[2025-01-24T17:03:27.413Z] GEN 17:03:27.298 - Step Stage Command Description
[2025-01-24T17:03:27.413Z] GEN 17:03:27.298 - -----+--------+-----------------+------------
[2025-01-24T17:03:27.413Z] GEN 17:03:27.298 - 1 execute jar Create com.hello jar
[2025-01-24T17:03:27.413Z] GEN 17:03:27.298 - 2 execute jar Create com.hola jar
[2025-01-24T17:03:27.413Z] GEN 17:03:27.299 - 3 execute jar Create com.helper jar
[2025-01-24T17:03:27.413Z] GEN 17:03:27.299 - 4 execute jar Create com.discreet jar
[2025-01-24T17:03:27.413Z] GEN 17:03:27.299 - 5 execute jar Create tests jar
[2025-01-24T17:03:27.413Z] GEN 17:03:27.299 - 6 execute jlink Create runtime image for upgrademodulepath test
[2025-01-24T17:03:27.413Z] GEN 17:03:27.299 - 7 execute jar Create com.hello override jar
[2025-01-24T17:03:27.413Z] GEN 17:03:27.299 - 8 execute jar Create com.hello override jar
[2025-01-24T17:03:27.413Z] GEN 17:03:27.299 - 9 execute Run java Override an application module using modularized jar
[2025-01-24T17:03:27.413Z] GEN 17:03:27.299 - 10 execute Run java (Negative test) Override a non-upgradable platform module where the overriding module is in a modularized jar
[2025-01-24T17:03:27.413Z] GEN 17:03:27.299 - 11 execute Run java Combine stderr and stdout files of process OT24
[2025-01-24T17:03:27.413Z] GEN 17:03:27.299 - 12 execute count Check output
[2025-01-24T17:03:27.413Z] STF 17:03:27.318 -
[2025-01-24T17:03:27.413Z] STF 17:03:27.318 - Script generation completed
[2025-01-24T17:03:27.413Z] STF 17:03:27.318 -
[2025-01-24T17:03:27.413Z] STF 17:03:27.320 -
[2025-01-24T17:03:27.413Z] STF 17:03:27.320 - ======================= S E T U P =======================
[2025-01-24T17:03:27.413Z] STF 17:03:27.320 - Running setup: perl C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/\TKG\output_17377342045413\UpgModPath_Jar_2/20250124-170326-UpgModPathTest/setUp.pl
[2025-01-24T17:03:27.743Z] STF 17:03:27.467 - SETUP stage completed
[2025-01-24T17:03:27.743Z] STF 17:03:27.486 -
[2025-01-24T17:03:27.743Z] STF 17:03:27.486 - ==================== E X E C U T E - ====================
[2025-01-24T17:03:27.743Z] STF 17:03:27.486 - Running execute: perl C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/\TKG\output_17377342045413\UpgModPath_Jar_2/20250124-170326-UpgModPathTest/execute.pl
[2025-01-24T17:03:27.743Z] STF 17:03:27.625 -
[2025-01-24T17:03:27.743Z] STF 17:03:27.625 - Java version
[2025-01-24T17:03:27.743Z] STF 17:03:27.625 - Running: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/jdkbinary/j2sdk-image/bin/java -version
[2025-01-24T17:03:28.076Z] openjdk version "11.0.26" 2025-01-21
[2025-01-24T17:03:28.076Z] OpenJDK Runtime Environment Temurin-11.0.26+4 (build 11.0.26+4)
[2025-01-24T17:03:28.076Z] OpenJDK Client VM Temurin-11.0.26+4 (build 11.0.26+4, mixed mode)
[2025-01-24T17:03:28.076Z] STF 17:03:27.735 -
[2025-01-24T17:03:28.076Z] STF 17:03:27.735 - +------ Step 1 - Create com.hello jar
[2025-01-24T17:03:28.076Z] STF 17:03:27.735 - | Create modular jar
[2025-01-24T17:03:28.076Z] STF 17:03:27.735 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello
[2025-01-24T17:03:28.076Z] STF 17:03:27.735 - | ModuleVersion: null
[2025-01-24T17:03:28.076Z] STF 17:03:27.735 - | MainClass: null
[2025-01-24T17:03:28.076Z] STF 17:03:27.735 - | HashModules: null
[2025-01-24T17:03:28.076Z] STF 17:03:27.735 - |
[2025-01-24T17:03:28.076Z] STF 17:03:27.736 - 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_17377342045413/UpgModPath_Jar_2/20250124-170326-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 .
[2025-01-24T17:03:28.076Z] STF 17:03:27.736 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17377342045413/UpgModPath_Jar_2/20250124-170326-UpgModPathTest/results/1.CMJ.stderr
[2025-01-24T17:03:28.076Z] STF 17:03:27.736 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17377342045413/UpgModPath_Jar_2/20250124-170326-UpgModPathTest/results/1.CMJ.stdout
[2025-01-24T17:03:28.076Z] STF 17:03:27.765 - Monitoring processes: CMJ
[2025-01-24T17:03:28.403Z] STF 17:03:28.033 - Monitoring Report Summary:
[2025-01-24T17:03:28.403Z] STF 17:03:28.033 - o Process CMJ ended with the expected exit code (0)
[2025-01-24T17:03:28.403Z] STF 17:03:28.034 - Created modular jar: 1.com.hello.jar
[2025-01-24T17:03:28.403Z] STF 17:03:28.034 -
[2025-01-24T17:03:28.403Z] STF 17:03:28.034 - +------ Step 2 - Create com.hola jar
[2025-01-24T17:03:28.403Z] STF 17:03:28.034 - | Create modular jar
[2025-01-24T17:03:28.403Z] STF 17:03:28.034 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola
[2025-01-24T17:03:28.403Z] STF 17:03:28.034 - | ModuleVersion: null
[2025-01-24T17:03:28.403Z] STF 17:03:28.034 - | MainClass: null
[2025-01-24T17:03:28.403Z] STF 17:03:28.034 - | HashModules: null
[2025-01-24T17:03:28.403Z] STF 17:03:28.034 - |
[2025-01-24T17:03:28.403Z] STF 17:03:28.034 - 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_17377342045413/UpgModPath_Jar_2/20250124-170326-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 .
[2025-01-24T17:03:28.403Z] STF 17:03:28.034 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17377342045413/UpgModPath_Jar_2/20250124-170326-UpgModPathTest/results/2.CMJ.stderr
[2025-01-24T17:03:28.403Z] STF 17:03:28.034 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17377342045413/UpgModPath_Jar_2/20250124-170326-UpgModPathTest/results/2.CMJ.stdout
[2025-01-24T17:03:28.403Z] STF 17:03:28.041 - Monitoring processes: CMJ
[2025-01-24T17:03:28.403Z] STF 17:03:28.318 - Monitoring Report Summary:
[2025-01-24T17:03:28.403Z] STF 17:03:28.318 - o Process CMJ ended with the expected exit code (0)
[2025-01-24T17:03:28.403Z] STF 17:03:28.319 - Created modular jar: 2.com.hola.jar
[2025-01-24T17:03:28.403Z] STF 17:03:28.319 -
[2025-01-24T17:03:28.403Z] STF 17:03:28.319 - +------ Step 3 - Create com.helper jar
[2025-01-24T17:03:28.403Z] STF 17:03:28.319 - | Create modular jar
[2025-01-24T17:03:28.403Z] STF 17:03:28.319 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper
[2025-01-24T17:03:28.403Z] STF 17:03:28.319 - | ModuleVersion: null
[2025-01-24T17:03:28.403Z] STF 17:03:28.319 - | MainClass: null
[2025-01-24T17:03:28.403Z] STF 17:03:28.319 - | HashModules: null
[2025-01-24T17:03:28.403Z] STF 17:03:28.319 - |
[2025-01-24T17:03:28.403Z] STF 17:03:28.319 - 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_17377342045413/UpgModPath_Jar_2/20250124-170326-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 .
[2025-01-24T17:03:28.403Z] STF 17:03:28.319 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17377342045413/UpgModPath_Jar_2/20250124-170326-UpgModPathTest/results/3.CMJ.stderr
[2025-01-24T17:03:28.403Z] STF 17:03:28.319 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17377342045413/UpgModPath_Jar_2/20250124-170326-UpgModPathTest/results/3.CMJ.stdout
[2025-01-24T17:03:28.403Z] STF 17:03:28.325 - Monitoring processes: CMJ
[2025-01-24T17:03:28.735Z] STF 17:03:28.603 - Monitoring Report Summary:
[2025-01-24T17:03:28.735Z] STF 17:03:28.603 - o Process CMJ ended with the expected exit code (0)
[2025-01-24T17:03:28.735Z] STF 17:03:28.604 - Created modular jar: 3.com.helper.jar
[2025-01-24T17:03:28.735Z] STF 17:03:28.604 -
[2025-01-24T17:03:28.735Z] STF 17:03:28.604 - +------ Step 4 - Create com.discreet jar
[2025-01-24T17:03:28.735Z] STF 17:03:28.604 - | Create modular jar
[2025-01-24T17:03:28.735Z] STF 17:03:28.604 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet
[2025-01-24T17:03:28.735Z] STF 17:03:28.604 - | ModuleVersion: null
[2025-01-24T17:03:28.735Z] STF 17:03:28.604 - | MainClass: null
[2025-01-24T17:03:28.735Z] STF 17:03:28.604 - | HashModules: null
[2025-01-24T17:03:28.735Z] STF 17:03:28.604 - |
[2025-01-24T17:03:28.735Z] STF 17:03:28.604 - 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_17377342045413/UpgModPath_Jar_2/20250124-170326-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 .
[2025-01-24T17:03:28.735Z] STF 17:03:28.604 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17377342045413/UpgModPath_Jar_2/20250124-170326-UpgModPathTest/results/4.CMJ.stderr
[2025-01-24T17:03:28.735Z] STF 17:03:28.604 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17377342045413/UpgModPath_Jar_2/20250124-170326-UpgModPathTest/results/4.CMJ.stdout
[2025-01-24T17:03:28.735Z] STF 17:03:28.610 - Monitoring processes: CMJ
[2025-01-24T17:03:29.059Z] STF 17:03:28.898 - Monitoring Report Summary:
[2025-01-24T17:03:29.059Z] STF 17:03:28.898 - o Process CMJ ended with the expected exit code (0)
[2025-01-24T17:03:29.059Z] STF 17:03:28.898 - Created modular jar: 4.com.discreet.jar
[2025-01-24T17:03:29.059Z] STF 17:03:28.898 -
[2025-01-24T17:03:29.059Z] STF 17:03:28.898 - +------ Step 5 - Create tests jar
[2025-01-24T17:03:29.059Z] STF 17:03:28.898 - | Create modular jar
[2025-01-24T17:03:29.059Z] STF 17:03:28.898 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test
[2025-01-24T17:03:29.059Z] STF 17:03:28.898 - | ModuleVersion: null
[2025-01-24T17:03:29.059Z] STF 17:03:28.898 - | MainClass: null
[2025-01-24T17:03:29.059Z] STF 17:03:28.898 - | HashModules: null
[2025-01-24T17:03:29.059Z] STF 17:03:28.898 - |
[2025-01-24T17:03:29.059Z] STF 17:03:28.899 - 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_17377342045413/UpgModPath_Jar_2/20250124-170326-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 .
[2025-01-24T17:03:29.059Z] STF 17:03:28.899 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17377342045413/UpgModPath_Jar_2/20250124-170326-UpgModPathTest/results/5.CMJ.stderr
[2025-01-24T17:03:29.059Z] STF 17:03:28.899 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17377342045413/UpgModPath_Jar_2/20250124-170326-UpgModPathTest/results/5.CMJ.stdout
[2025-01-24T17:03:29.059Z] STF 17:03:28.905 - Monitoring processes: CMJ
[2025-01-24T17:03:29.387Z] STF 17:03:29.187 - Monitoring Report Summary:
[2025-01-24T17:03:29.387Z] STF 17:03:29.187 - o Process CMJ ended with the expected exit code (0)
[2025-01-24T17:03:29.387Z] STF 17:03:29.188 - Created modular jar: 5.com.test.jar
[2025-01-24T17:03:29.387Z] STF 17:03:29.188 -
[2025-01-24T17:03:29.387Z] STF 17:03:29.188 - +------ Step 6 - Create runtime image for upgrademodulepath test
[2025-01-24T17:03:29.387Z] STF 17:03:29.188 - | Run jlink to create runtime image
[2025-01-24T17:03:29.387Z] STF 17:03:29.188 - | ImageName: UpJVM
[2025-01-24T17:03:29.387Z] STF 17:03:29.188 - |
[2025-01-24T17:03:29.387Z] STF 17:03:29.188 - 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_17377342045413\UpgModPath_Jar_2\20250124-170326-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_17377342045413\UpgModPath_Jar_2\20250124-170326-UpgModPathTest\tmp\6.UpJVM
[2025-01-24T17:03:29.387Z] STF 17:03:29.188 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17377342045413/UpgModPath_Jar_2/20250124-170326-UpgModPathTest/results/6.JLNK.stderr
[2025-01-24T17:03:29.387Z] STF 17:03:29.188 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17377342045413/UpgModPath_Jar_2/20250124-170326-UpgModPathTest/results/6.JLNK.stdout
[2025-01-24T17:03:29.387Z] STF 17:03:29.193 - Monitoring processes: JLNK
[2025-01-24T17:03:31.567Z] STF 17:03:31.052 - Monitoring Report Summary:
[2025-01-24T17:03:31.567Z] STF 17:03:31.052 - o Process JLNK ended with the expected exit code (0)
[2025-01-24T17:03:31.567Z] STF 17:03:31.053 -
[2025-01-24T17:03:31.567Z] STF 17:03:31.053 - +------ Step 7 - Create com.hello override jar
[2025-01-24T17:03:31.567Z] STF 17:03:31.053 - | Create modular jar
[2025-01-24T17:03:31.567Z] STF 17:03:31.053 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello
[2025-01-24T17:03:31.567Z] STF 17:03:31.053 - | ModuleVersion: null
[2025-01-24T17:03:31.567Z] STF 17:03:31.053 - | MainClass: null
[2025-01-24T17:03:31.567Z] STF 17:03:31.053 - | HashModules: null
[2025-01-24T17:03:31.567Z] STF 17:03:31.053 - |
[2025-01-24T17:03:31.567Z] STF 17:03:31.053 - 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_17377342045413/UpgModPath_Jar_2/20250124-170326-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 .
[2025-01-24T17:03:31.567Z] STF 17:03:31.053 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17377342045413/UpgModPath_Jar_2/20250124-170326-UpgModPathTest/results/7.CMJ.stderr
[2025-01-24T17:03:31.567Z] STF 17:03:31.053 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17377342045413/UpgModPath_Jar_2/20250124-170326-UpgModPathTest/results/7.CMJ.stdout
[2025-01-24T17:03:31.567Z] STF 17:03:31.059 - Monitoring processes: CMJ
[2025-01-24T17:03:31.567Z] STF 17:03:31.313 - Monitoring Report Summary:
[2025-01-24T17:03:31.567Z] STF 17:03:31.313 - o Process CMJ ended with the expected exit code (0)
[2025-01-24T17:03:31.567Z] STF 17:03:31.314 - Created modular jar: 7.com.hello.jar
[2025-01-24T17:03:31.567Z] STF 17:03:31.314 -
[2025-01-24T17:03:31.567Z] STF 17:03:31.314 - +------ Step 8 - Create com.hello override jar
[2025-01-24T17:03:31.567Z] STF 17:03:31.314 - | Create modular jar
[2025-01-24T17:03:31.567Z] STF 17:03:31.314 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.logging
[2025-01-24T17:03:31.567Z] STF 17:03:31.314 - | ModuleVersion: null
[2025-01-24T17:03:31.567Z] STF 17:03:31.314 - | MainClass: null
[2025-01-24T17:03:31.567Z] STF 17:03:31.314 - | HashModules: null
[2025-01-24T17:03:31.567Z] STF 17:03:31.314 - |
[2025-01-24T17:03:31.567Z] STF 17:03:31.314 - 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_17377342045413/UpgModPath_Jar_2/20250124-170326-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 .
[2025-01-24T17:03:31.567Z] STF 17:03:31.314 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17377342045413/UpgModPath_Jar_2/20250124-170326-UpgModPathTest/results/8.CMJ.stderr
[2025-01-24T17:03:31.567Z] STF 17:03:31.314 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17377342045413/UpgModPath_Jar_2/20250124-170326-UpgModPathTest/results/8.CMJ.stdout
[2025-01-24T17:03:31.567Z] STF 17:03:31.319 - Monitoring processes: CMJ
[2025-01-24T17:03:31.893Z] STF 17:03:31.585 - Monitoring Report Summary:
[2025-01-24T17:03:31.893Z] STF 17:03:31.585 - o Process CMJ ended with the expected exit code (0)
[2025-01-24T17:03:31.893Z] STF 17:03:31.585 - Created modular jar: 8.java.logging.jar
[2025-01-24T17:03:31.893Z] STF 17:03:31.585 -
[2025-01-24T17:03:31.893Z] STF 17:03:31.585 - +------ Step 9 - Override an application module using modularized jar
[2025-01-24T17:03:31.893Z] STF 17:03:31.585 - | Run foreground process
[2025-01-24T17:03:31.893Z] STF 17:03:31.585 - | Program: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/jdkbinary/j2sdk-image/bin/java
[2025-01-24T17:03:31.893Z] STF 17:03:31.585 - | Mnemonic: OT21
[2025-01-24T17:03:31.893Z] STF 17:03:31.585 - | Echo: ECHO_ON
[2025-01-24T17:03:31.893Z] STF 17:03:31.586 - | Expectation: CLEAN_RUN within 1m
[2025-01-24T17:03:31.893Z] STF 17:03:31.586 - |
[2025-01-24T17:03:31.893Z] STF 17:03:31.586 - 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_17377342045413/UpgModPath_Jar_2/20250124-170326-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
[2025-01-24T17:03:31.893Z] STF 17:03:31.586 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17377342045413/UpgModPath_Jar_2/20250124-170326-UpgModPathTest/results/9.OT21.stderr
[2025-01-24T17:03:31.893Z] STF 17:03:31.586 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17377342045413/UpgModPath_Jar_2/20250124-170326-UpgModPathTest/results/9.OT21.stdout
[2025-01-24T17:03:31.893Z] STF 17:03:31.596 - Monitoring processes: OT21
[2025-01-24T17:03:31.893Z] OT21 JUnit version 4.12
[2025-01-24T17:03:32.223Z] OT21 .
[2025-01-24T17:03:32.223Z] OT21 Time: 0.008
[2025-01-24T17:03:32.223Z] OT21
[2025-01-24T17:03:32.223Z] OT21 OK (1 test)
[2025-01-24T17:03:32.223Z] OT21
[2025-01-24T17:03:32.223Z] STF 17:03:31.879 - Monitoring Report Summary:
[2025-01-24T17:03:32.223Z] STF 17:03:31.879 - o Process OT21 ended with the expected exit code (0)
[2025-01-24T17:03:32.223Z] STF 17:03:31.879 -
[2025-01-24T17:03:32.223Z] STF 17:03:31.879 - +------ Step 10 - (Negative test) Override a non-upgradable platform module where the overriding module is in a modularized jar
[2025-01-24T17:03:32.223Z] STF 17:03:31.879 - | Run foreground process
[2025-01-24T17:03:32.223Z] STF 17:03:31.879 - | Program: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/jdkbinary/j2sdk-image/bin/java
[2025-01-24T17:03:32.223Z] STF 17:03:31.879 - | Mnemonic: OT24
[2025-01-24T17:03:32.223Z] STF 17:03:31.879 - | Echo: ECHO_ON
[2025-01-24T17:03:32.223Z] STF 17:03:31.879 - | Expectation: NON_ZERO_EXIT [1] within 1m
[2025-01-24T17:03:32.223Z] STF 17:03:31.879 - |
[2025-01-24T17:03:32.223Z] STF 17:03:31.879 - 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_17377342045413/UpgModPath_Jar_2/20250124-170326-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
[2025-01-24T17:03:32.223Z] STF 17:03:31.879 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17377342045413/UpgModPath_Jar_2/20250124-170326-UpgModPathTest/results/10.OT24.stderr
[2025-01-24T17:03:32.223Z] STF 17:03:31.879 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17377342045413/UpgModPath_Jar_2/20250124-170326-UpgModPathTest/results/10.OT24.stdout
[2025-01-24T17:03:32.223Z] STF 17:03:31.887 - Monitoring processes: OT24
[2025-01-24T17:03:32.223Z] OT24 Error occurred during initialization of boot layer
[2025-01-24T17:03:32.223Z] OT24 java.lang.module.FindException: Hash of java.logging (b563d91fccb4d61c5547d134bd25b6f3a7031d9348bb4b767606106dccd884f1) differs to expected hash (b6d24daf1cb54e133c63af5c9c4e789c02ddd2df8ad789dcce516ee957f766ea) recorded in java.base
[2025-01-24T17:03:32.223Z] STF 17:03:32.084 - Monitoring Report Summary:
[2025-01-24T17:03:32.223Z] STF 17:03:32.084 - o Process OT24 ended with the expected exit code (1)
[2025-01-24T17:03:32.223Z] STF 17:03:32.085 -
[2025-01-24T17:03:32.223Z] STF 17:03:32.085 - +------ Step 11 - Combine stderr and stdout files of process OT24
[2025-01-24T17:03:32.223Z] STF 17:03:32.085 - | Run foreground process
[2025-01-24T17:03:32.223Z] STF 17:03:32.085 - | Program: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/jdkbinary/j2sdk-image/bin/java
[2025-01-24T17:03:32.223Z] STF 17:03:32.085 - | Mnemonic: CO
[2025-01-24T17:03:32.223Z] STF 17:03:32.085 - | Echo: ECHO_OFF
[2025-01-24T17:03:32.223Z] STF 17:03:32.085 - | Expectation: NON_ZERO_EXIT [0] within 30s
[2025-01-24T17:03:32.223Z] STF 17:03:32.085 - |
[2025-01-24T17:03:32.223Z] STF 17:03:32.085 - 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_17377342045413/UpgModPath_Jar_2/20250124-170326-UpgModPathTest/results/10.OT24.stdout -Dfile2=C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17377342045413/UpgModPath_Jar_2/20250124-170326-UpgModPathTest/results/10.OT24.stderr -Dfinal.file=C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows\aqa-tests\TKG\output_17377342045413\UpgModPath_Jar_2\20250124-170326-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
[2025-01-24T17:03:32.223Z] STF 17:03:32.085 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17377342045413/UpgModPath_Jar_2/20250124-170326-UpgModPathTest/results/11.CO.stderr
[2025-01-24T17:03:32.223Z] STF 17:03:32.085 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17377342045413/UpgModPath_Jar_2/20250124-170326-UpgModPathTest/results/11.CO.stdout
[2025-01-24T17:03:32.223Z] STF 17:03:32.094 - Monitoring processes: CO
[2025-01-24T17:03:32.611Z] STF 17:03:32.270 - Monitoring Report Summary:
[2025-01-24T17:03:32.611Z] STF 17:03:32.271 - o Process CO ended with the expected exit code (0)
[2025-01-24T17:03:32.611Z] STF 17:03:32.271 -
[2025-01-24T17:03:32.611Z] STF 17:03:32.271 - +------ Step 12 - Check output
[2025-01-24T17:03:32.611Z] STF 17:03:32.271 - | Count file matches
[2025-01-24T17:03:32.611Z] STF 17:03:32.271 - | TargetFile: C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17377342045413/UpgModPath_Jar_2/20250124-170326-UpgModPathTest/results/combinedOT24.txt
[2025-01-24T17:03:32.611Z] STF 17:03:32.271 - | ExpectedNumMatches: 1
[2025-01-24T17:03:32.611Z] STF 17:03:32.271 - | SearchStrings: ["FindException: Hash of java.logging"]
[2025-01-24T17:03:32.611Z] STF 17:03:32.271 - |
[2025-01-24T17:03:32.611Z] STF 17:03:32.284 - Found 1 instances of ["FindException: Hash of java.logging"]
[2025-01-24T17:03:32.611Z] STF 17:03:32.284 - EXECUTE stage completed
[2025-01-24T17:03:32.611Z] STF 17:03:32.352 -
[2025-01-24T17:03:32.611Z] STF 17:03:32.352 - ==================== T E A R D O W N ====================
[2025-01-24T17:03:32.611Z] STF 17:03:32.352 - Running teardown: perl C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows/aqa-tests/\TKG\output_17377342045413\UpgModPath_Jar_2/20250124-170326-UpgModPathTest/tearDown.pl
[2025-01-24T17:03:32.611Z] STF 17:03:32.484 - TEARDOWN stage completed
[2025-01-24T17:03:32.611Z] STF 17:03:32.497 -
[2025-01-24T17:03:32.611Z] STF 17:03:32.497 - ===================== R E S U L T S =====================
[2025-01-24T17:03:32.611Z] STF 17:03:32.497 - Stage results:
[2025-01-24T17:03:32.611Z] STF 17:03:32.497 - setUp: pass
[2025-01-24T17:03:32.611Z] STF 17:03:32.497 - execute: pass
[2025-01-24T17:03:32.611Z] STF 17:03:32.497 - teardown: pass
[2025-01-24T17:03:32.611Z] STF 17:03:32.497 -
[2025-01-24T17:03:32.611Z] STF 17:03:32.497 - Overall result: PASSED
[2025-01-24T17:03:32.611Z] -----------------------------------
[2025-01-24T17:03:32.611Z] UpgModPath_Jar_2_PASSED
[2025-01-24T17:03:32.611Z] -----------------------------------
[2025-01-24T17:03:33.020Z]
[2025-01-24T17:03:33.020Z] TEST TEARDOWN:
[2025-01-24T17:03:33.020Z] Nothing to be done for teardown.
[2025-01-24T17:03:33.020Z] UpgModPath_Jar_2 Finish Time: Fri Jan 24 17:03:32 2025 Epoch Time (ms): 1737738212768