UpgModPath_JarImg_2
[2024-10-03T04:20:13.868Z] Running test UpgModPath_JarImg_2 ...
[2024-10-03T04:20:14.172Z] ===============================================
[2024-10-03T04:20:14.476Z] UpgModPath_JarImg_2 Start Time: Thu Oct 3 04:20:14 2024 Epoch Time (ms): 1727929214245
[2024-10-03T04:20:14.875Z] variation: Mode1000
[2024-10-03T04:20:14.875Z] JVM_OPTIONS:
[2024-10-03T04:20:14.875Z] { \
[2024-10-03T04:20:14.875Z] echo ""; echo "TEST SETUP:"; \
[2024-10-03T04:20:14.875Z] echo "Nothing to be done for setup."; \
[2024-10-03T04:20:14.875Z] mkdir -p "C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/\\TKG\\output_17279249616901\\UpgModPath_JarImg_2"; \
[2024-10-03T04:20:14.875Z] cd "C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/\\TKG\\output_17279249616901\\UpgModPath_JarImg_2"; \
[2024-10-03T04:20:14.875Z] echo ""; echo "TESTING:"; \
[2024-10-03T04:20:14.875Z] perl C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests///..//jvmtest\\system\\modularity/../\\STF\\stf.core\\scripts\\stf.pl -test-root="C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests///..//jvmtest\\system\\modularity/../\\STF;C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests///..//jvmtest\\system\\modularity/../\\aqa-systemtest""" -systemtest-prereqs="c:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/../../testDependency/system_lib\\" -java-args=' ' -results-root="C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/\\TKG\\output_17279249616901\\UpgModPath_JarImg_2" -test=UpgModPathTest -test-args="variant=JarImg"; \
[2024-10-03T04:20:14.875Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "UpgModPath_JarImg_2""_PASSED"; echo "-----------------------------------"; cd C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/; rm -f -r "C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/\\TKG\\output_17279249616901\\UpgModPath_JarImg_2"; else echo "-----------------------------------"; echo "UpgModPath_JarImg_2""_FAILED"; echo "-----------------------------------"; fi; \
[2024-10-03T04:20:14.875Z] echo ""; echo "TEST TEARDOWN:"; \
[2024-10-03T04:20:14.875Z] echo "Nothing to be done for teardown."; \
[2024-10-03T04:20:14.875Z] } 2>&1 | tee -a "C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/\\TKG\\output_17279249616901\\TestTargetResult";
[2024-10-03T04:20:15.300Z]
[2024-10-03T04:20:15.300Z] TEST SETUP:
[2024-10-03T04:20:15.300Z] Nothing to be done for setup.
[2024-10-03T04:20:15.300Z]
[2024-10-03T04:20:15.300Z] TESTING:
[2024-10-03T04:20:15.300Z] STF 04:20:15.113 - ========================= S T F =========================
[2024-10-03T04:20:15.300Z] systemtest-prereqs has been processed, and set to: c:/workspace/testDependency/system_libRetrieving amount of free space on drive containing C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/\TKG\output_17279249616901\UpgModPath_JarImg_2
[2024-10-03T04:20:15.619Z] There is 107567 Mb free
[2024-10-03T04:20:15.619Z] STF 04:20:15.176 - ================== G E N E R A T I O N ==================
[2024-10-03T04:20:15.619Z] STF 04:20:15.179 - Checking JVM: c:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/jdkbinary/j2sdk-image
[2024-10-03T04:20:15.619Z] STF 04:20:15.180 - Starting process to generate scripts: c:/workspace/workspace/Test_openjdk17_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:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/../../testDependency/system_lib\/log4j/log4j-api.jar;c:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/../../testDependency/system_lib\/log4j/log4j-core.jar;C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/\TKG\output_17279249616901\UpgModPath_JarImg_2/20241003-042015-UpgModPathTest/stf_parameters.properties, , C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/\TKG\output_17279249616901\UpgModPath_JarImg_2/20241003-042015-UpgModPathTest"
[2024-10-03T04:20:16.297Z] GEN 04:20:16.188 - Found test. Project: 'openjdk.test.modularity' class: 'UpgModPathTest.class' Dir: 'C:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin'
[2024-10-03T04:20:16.297Z] GEN 04:20:16.199 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.UpgModPathTest'
[2024-10-03T04:20:16.617Z] GEN Classpath directories used by project 'openjdk.test.modularity':
[2024-10-03T04:20:16.617Z] GEN C:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayService
[2024-10-03T04:20:16.617Z] GEN C:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper
[2024-10-03T04:20:16.617Z] GEN C:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl1
[2024-10-03T04:20:16.617Z] GEN C:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet
[2024-10-03T04:20:16.617Z] GEN C:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello
[2024-10-03T04:20:16.617Z] GEN C:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola
[2024-10-03T04:20:16.617Z] GEN C:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl2
[2024-10-03T04:20:16.617Z] GEN C:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hi
[2024-10-03T04:20:16.617Z] GEN C:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override
[2024-10-03T04:20:16.617Z] GEN C:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override-new
[2024-10-03T04:20:16.617Z] GEN C:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl3
[2024-10-03T04:20:16.617Z] GEN C:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl4
[2024-10-03T04:20:16.617Z] GEN C:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common
[2024-10-03T04:20:16.617Z] GEN C:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests
[2024-10-03T04:20:16.617Z] GEN C:\\workspace\\workspace\\Test_openjdk17_hs_sanity.system_x86-32_windows\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin
[2024-10-03T04:20:16.617Z] GEN C:\\workspace\\workspace\\Test_openjdk17_hs_sanity.system_x86-32_windows\\jvmtest\\system\\STF\\stf.core\\bin
[2024-10-03T04:20:16.617Z] GEN c:/workspace/testDependency/system_lib/log4j/log4j-api.jar
[2024-10-03T04:20:16.617Z] GEN c:/workspace/testDependency/system_lib/log4j/log4j-core.jar
[2024-10-03T04:20:16.617Z] GEN c:/workspace/testDependency/system_lib/junit/junit.jar
[2024-10-03T04:20:16.617Z] GEN 04:20:16.478 - Using Mode NoOptions. Values = ''
[2024-10-03T04:20:16.940Z] GEN 04:20:16.590 -
[2024-10-03T04:20:16.940Z] GEN 04:20:16.591 - Test command summary:
[2024-10-03T04:20:16.940Z] GEN 04:20:16.591 - Step Stage Command Description
[2024-10-03T04:20:16.940Z] GEN 04:20:16.591 - -----+--------+-----------------+------------
[2024-10-03T04:20:16.940Z] GEN 04:20:16.591 - 1 execute jar Create com.hello jar
[2024-10-03T04:20:16.940Z] GEN 04:20:16.591 - 2 execute jar Create com.hola jar
[2024-10-03T04:20:16.940Z] GEN 04:20:16.591 - 3 execute jar Create com.helper jar
[2024-10-03T04:20:16.940Z] GEN 04:20:16.591 - 4 execute jar Create com.discreet jar
[2024-10-03T04:20:16.940Z] GEN 04:20:16.591 - 5 execute jar Create tests jar
[2024-10-03T04:20:16.940Z] GEN 04:20:16.591 - 6 execute jlink Create runtime image for upgrademodulepath test
[2024-10-03T04:20:16.940Z] GEN 04:20:16.592 - 7 execute jar Create com.hello override jar
[2024-10-03T04:20:16.940Z] GEN 04:20:16.592 - 8 execute jar Create com.hello override jar
[2024-10-03T04:20:16.940Z] GEN 04:20:16.592 - 9 execute Run java Override an application module using a custom runtime image where the overriding module is in a modularized jar
[2024-10-03T04:20:16.940Z] GEN 04:20:16.592 - 10 execute Run java (Negative test) Override a non-upgradable platform module using a custom runtime imagewhere the overriding module is in a modularized jar
[2024-10-03T04:20:16.940Z] GEN 04:20:16.592 - 11 execute Run java Combine stderr and stdout files of process OT27
[2024-10-03T04:20:16.940Z] GEN 04:20:16.592 - 12 execute count Check output
[2024-10-03T04:20:16.940Z] STF 04:20:16.618 -
[2024-10-03T04:20:16.940Z] STF 04:20:16.618 - Script generation completed
[2024-10-03T04:20:16.940Z] STF 04:20:16.618 -
[2024-10-03T04:20:16.940Z] STF 04:20:16.619 -
[2024-10-03T04:20:16.940Z] STF 04:20:16.619 - ======================= S E T U P =======================
[2024-10-03T04:20:16.940Z] STF 04:20:16.619 - Running setup: perl C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/\TKG\output_17279249616901\UpgModPath_JarImg_2/20241003-042015-UpgModPathTest/setUp.pl
[2024-10-03T04:20:16.940Z] STF 04:20:16.792 - SETUP stage completed
[2024-10-03T04:20:16.940Z] STF 04:20:16.810 -
[2024-10-03T04:20:16.940Z] STF 04:20:16.810 - ==================== E X E C U T E - ====================
[2024-10-03T04:20:16.940Z] STF 04:20:16.810 - Running execute: perl C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/\TKG\output_17279249616901\UpgModPath_JarImg_2/20241003-042015-UpgModPathTest/execute.pl
[2024-10-03T04:20:17.265Z] STF 04:20:16.990 -
[2024-10-03T04:20:17.265Z] STF 04:20:16.991 - Java version
[2024-10-03T04:20:17.265Z] STF 04:20:16.991 - Running: c:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/jdkbinary/j2sdk-image/bin/java -version
[2024-10-03T04:20:17.265Z] openjdk version "17.0.13-beta" 2024-10-15
[2024-10-03T04:20:17.265Z] OpenJDK Runtime Environment Temurin-17.0.13+10-202410021938 (build 17.0.13-beta+10-ea)
[2024-10-03T04:20:17.265Z] OpenJDK Client VM Temurin-17.0.13+10-202410021938 (build 17.0.13-beta+10-ea, mixed mode, emulated-client)
[2024-10-03T04:20:17.265Z] STF 04:20:17.131 -
[2024-10-03T04:20:17.265Z] STF 04:20:17.131 - +------ Step 1 - Create com.hello jar
[2024-10-03T04:20:17.265Z] STF 04:20:17.131 - | Create modular jar
[2024-10-03T04:20:17.265Z] STF 04:20:17.131 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello
[2024-10-03T04:20:17.265Z] STF 04:20:17.131 - | ModuleVersion: null
[2024-10-03T04:20:17.265Z] STF 04:20:17.131 - | MainClass: null
[2024-10-03T04:20:17.265Z] STF 04:20:17.131 - | HashModules: null
[2024-10-03T04:20:17.265Z] STF 04:20:17.131 - |
[2024-10-03T04:20:17.265Z] STF 04:20:17.132 - Running command: c:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/jdkbinary/j2sdk-image/bin/jar --create --file C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17279249616901/UpgModPath_JarImg_2/20241003-042015-UpgModPathTest/modules/1.com.hello.jar -C C:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello .
[2024-10-03T04:20:17.265Z] STF 04:20:17.132 - Redirecting stderr to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17279249616901/UpgModPath_JarImg_2/20241003-042015-UpgModPathTest/results/1.CMJ.stderr
[2024-10-03T04:20:17.265Z] STF 04:20:17.132 - Redirecting stdout to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17279249616901/UpgModPath_JarImg_2/20241003-042015-UpgModPathTest/results/1.CMJ.stdout
[2024-10-03T04:20:17.265Z] STF 04:20:17.167 - Monitoring processes: CMJ
[2024-10-03T04:20:17.940Z] STF 04:20:17.563 - Monitoring Report Summary:
[2024-10-03T04:20:17.940Z] STF 04:20:17.563 - o Process CMJ ended with the expected exit code (0)
[2024-10-03T04:20:17.940Z] STF 04:20:17.563 - Created modular jar: 1.com.hello.jar
[2024-10-03T04:20:17.940Z] STF 04:20:17.563 -
[2024-10-03T04:20:17.940Z] STF 04:20:17.563 - +------ Step 2 - Create com.hola jar
[2024-10-03T04:20:17.940Z] STF 04:20:17.563 - | Create modular jar
[2024-10-03T04:20:17.940Z] STF 04:20:17.563 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola
[2024-10-03T04:20:17.940Z] STF 04:20:17.563 - | ModuleVersion: null
[2024-10-03T04:20:17.941Z] STF 04:20:17.563 - | MainClass: null
[2024-10-03T04:20:17.941Z] STF 04:20:17.563 - | HashModules: null
[2024-10-03T04:20:17.941Z] STF 04:20:17.563 - |
[2024-10-03T04:20:17.941Z] STF 04:20:17.564 - Running command: c:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/jdkbinary/j2sdk-image/bin/jar --create --file C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17279249616901/UpgModPath_JarImg_2/20241003-042015-UpgModPathTest/modules/2.com.hola.jar -C C:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola .
[2024-10-03T04:20:17.941Z] STF 04:20:17.564 - Redirecting stderr to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17279249616901/UpgModPath_JarImg_2/20241003-042015-UpgModPathTest/results/2.CMJ.stderr
[2024-10-03T04:20:17.941Z] STF 04:20:17.564 - Redirecting stdout to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17279249616901/UpgModPath_JarImg_2/20241003-042015-UpgModPathTest/results/2.CMJ.stdout
[2024-10-03T04:20:17.941Z] STF 04:20:17.573 - Monitoring processes: CMJ
[2024-10-03T04:20:18.258Z] STF 04:20:17.973 - Monitoring Report Summary:
[2024-10-03T04:20:18.258Z] STF 04:20:17.973 - o Process CMJ ended with the expected exit code (0)
[2024-10-03T04:20:18.258Z] STF 04:20:17.973 - Created modular jar: 2.com.hola.jar
[2024-10-03T04:20:18.258Z] STF 04:20:17.973 -
[2024-10-03T04:20:18.258Z] STF 04:20:17.973 - +------ Step 3 - Create com.helper jar
[2024-10-03T04:20:18.258Z] STF 04:20:17.973 - | Create modular jar
[2024-10-03T04:20:18.258Z] STF 04:20:17.973 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper
[2024-10-03T04:20:18.258Z] STF 04:20:17.973 - | ModuleVersion: null
[2024-10-03T04:20:18.258Z] STF 04:20:17.973 - | MainClass: null
[2024-10-03T04:20:18.258Z] STF 04:20:17.973 - | HashModules: null
[2024-10-03T04:20:18.258Z] STF 04:20:17.973 - |
[2024-10-03T04:20:18.258Z] STF 04:20:17.974 - Running command: c:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/jdkbinary/j2sdk-image/bin/jar --create --file C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17279249616901/UpgModPath_JarImg_2/20241003-042015-UpgModPathTest/modules/3.com.helper.jar -C C:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper .
[2024-10-03T04:20:18.258Z] STF 04:20:17.974 - Redirecting stderr to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17279249616901/UpgModPath_JarImg_2/20241003-042015-UpgModPathTest/results/3.CMJ.stderr
[2024-10-03T04:20:18.258Z] STF 04:20:17.974 - Redirecting stdout to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17279249616901/UpgModPath_JarImg_2/20241003-042015-UpgModPathTest/results/3.CMJ.stdout
[2024-10-03T04:20:18.258Z] STF 04:20:17.983 - Monitoring processes: CMJ
[2024-10-03T04:20:18.576Z] STF 04:20:18.360 - Monitoring Report Summary:
[2024-10-03T04:20:18.576Z] STF 04:20:18.360 - o Process CMJ ended with the expected exit code (0)
[2024-10-03T04:20:18.576Z] STF 04:20:18.360 - Created modular jar: 3.com.helper.jar
[2024-10-03T04:20:18.576Z] STF 04:20:18.360 -
[2024-10-03T04:20:18.576Z] STF 04:20:18.360 - +------ Step 4 - Create com.discreet jar
[2024-10-03T04:20:18.576Z] STF 04:20:18.360 - | Create modular jar
[2024-10-03T04:20:18.576Z] STF 04:20:18.360 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet
[2024-10-03T04:20:18.576Z] STF 04:20:18.360 - | ModuleVersion: null
[2024-10-03T04:20:18.576Z] STF 04:20:18.360 - | MainClass: null
[2024-10-03T04:20:18.576Z] STF 04:20:18.360 - | HashModules: null
[2024-10-03T04:20:18.576Z] STF 04:20:18.360 - |
[2024-10-03T04:20:18.576Z] STF 04:20:18.361 - Running command: c:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/jdkbinary/j2sdk-image/bin/jar --create --file C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17279249616901/UpgModPath_JarImg_2/20241003-042015-UpgModPathTest/modules/4.com.discreet.jar -C C:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet .
[2024-10-03T04:20:18.576Z] STF 04:20:18.361 - Redirecting stderr to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17279249616901/UpgModPath_JarImg_2/20241003-042015-UpgModPathTest/results/4.CMJ.stderr
[2024-10-03T04:20:18.576Z] STF 04:20:18.361 - Redirecting stdout to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17279249616901/UpgModPath_JarImg_2/20241003-042015-UpgModPathTest/results/4.CMJ.stdout
[2024-10-03T04:20:18.576Z] STF 04:20:18.368 - Monitoring processes: CMJ
[2024-10-03T04:20:18.895Z] STF 04:20:18.760 - Monitoring Report Summary:
[2024-10-03T04:20:18.895Z] STF 04:20:18.760 - o Process CMJ ended with the expected exit code (0)
[2024-10-03T04:20:18.895Z] STF 04:20:18.760 - Created modular jar: 4.com.discreet.jar
[2024-10-03T04:20:18.895Z] STF 04:20:18.760 -
[2024-10-03T04:20:18.895Z] STF 04:20:18.760 - +------ Step 5 - Create tests jar
[2024-10-03T04:20:18.895Z] STF 04:20:18.760 - | Create modular jar
[2024-10-03T04:20:18.895Z] STF 04:20:18.760 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test
[2024-10-03T04:20:18.895Z] STF 04:20:18.760 - | ModuleVersion: null
[2024-10-03T04:20:18.895Z] STF 04:20:18.760 - | MainClass: null
[2024-10-03T04:20:18.895Z] STF 04:20:18.760 - | HashModules: null
[2024-10-03T04:20:18.895Z] STF 04:20:18.760 - |
[2024-10-03T04:20:18.895Z] STF 04:20:18.761 - Running command: c:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/jdkbinary/j2sdk-image/bin/jar --create --file C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17279249616901/UpgModPath_JarImg_2/20241003-042015-UpgModPathTest/modules/5.com.test.jar -C C:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests\com.test .
[2024-10-03T04:20:18.895Z] STF 04:20:18.761 - Redirecting stderr to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17279249616901/UpgModPath_JarImg_2/20241003-042015-UpgModPathTest/results/5.CMJ.stderr
[2024-10-03T04:20:18.895Z] STF 04:20:18.761 - Redirecting stdout to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17279249616901/UpgModPath_JarImg_2/20241003-042015-UpgModPathTest/results/5.CMJ.stdout
[2024-10-03T04:20:18.895Z] STF 04:20:18.769 - Monitoring processes: CMJ
[2024-10-03T04:20:19.214Z] STF 04:20:19.164 - Monitoring Report Summary:
[2024-10-03T04:20:19.214Z] STF 04:20:19.164 - o Process CMJ ended with the expected exit code (0)
[2024-10-03T04:20:19.214Z] STF 04:20:19.165 - Created modular jar: 5.com.test.jar
[2024-10-03T04:20:19.214Z] STF 04:20:19.165 -
[2024-10-03T04:20:19.214Z] STF 04:20:19.165 - +------ Step 6 - Create runtime image for upgrademodulepath test
[2024-10-03T04:20:19.214Z] STF 04:20:19.165 - | Run jlink to create runtime image
[2024-10-03T04:20:19.214Z] STF 04:20:19.165 - | ImageName: UpJVM
[2024-10-03T04:20:19.214Z] STF 04:20:19.165 - |
[2024-10-03T04:20:19.214Z] STF 04:20:19.165 - Running command: c:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/jdkbinary/j2sdk-image/bin/jlink --module-path c:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\jdkbinary\j2sdk-image\jmods;C:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\aqa-tests\TKG\output_17279249616901\UpgModPath_JarImg_2\20241003-042015-UpgModPathTest\modules --add-modules com.hello,com.hola,com.test,com.helper,com.discreet --output C:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\aqa-tests\TKG\output_17279249616901\UpgModPath_JarImg_2\20241003-042015-UpgModPathTest\tmp\6.UpJVM
[2024-10-03T04:20:19.214Z] STF 04:20:19.165 - Redirecting stderr to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17279249616901/UpgModPath_JarImg_2/20241003-042015-UpgModPathTest/results/6.JLNK.stderr
[2024-10-03T04:20:19.214Z] STF 04:20:19.165 - Redirecting stdout to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17279249616901/UpgModPath_JarImg_2/20241003-042015-UpgModPathTest/results/6.JLNK.stdout
[2024-10-03T04:20:19.214Z] STF 04:20:19.175 - Monitoring processes: JLNK
[2024-10-03T04:20:22.040Z] STF 04:20:21.627 - Monitoring Report Summary:
[2024-10-03T04:20:22.040Z] STF 04:20:21.627 - o Process JLNK ended with the expected exit code (0)
[2024-10-03T04:20:22.040Z] STF 04:20:21.627 -
[2024-10-03T04:20:22.040Z] STF 04:20:21.627 - +------ Step 7 - Create com.hello override jar
[2024-10-03T04:20:22.040Z] STF 04:20:21.627 - | Create modular jar
[2024-10-03T04:20:22.040Z] STF 04:20:21.627 - | ModuleSpec: openjdk.test.modularity/bin/common-override/com.hello
[2024-10-03T04:20:22.040Z] STF 04:20:21.627 - | ModuleVersion: null
[2024-10-03T04:20:22.040Z] STF 04:20:21.627 - | MainClass: null
[2024-10-03T04:20:22.040Z] STF 04:20:21.627 - | HashModules: null
[2024-10-03T04:20:22.040Z] STF 04:20:21.627 - |
[2024-10-03T04:20:22.040Z] STF 04:20:21.628 - Running command: c:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/jdkbinary/j2sdk-image/bin/jar --create --file C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17279249616901/UpgModPath_JarImg_2/20241003-042015-UpgModPathTest/modules/7.com.hello.jar -C C:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.hello .
[2024-10-03T04:20:22.040Z] STF 04:20:21.628 - Redirecting stderr to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17279249616901/UpgModPath_JarImg_2/20241003-042015-UpgModPathTest/results/7.CMJ.stderr
[2024-10-03T04:20:22.040Z] STF 04:20:21.628 - Redirecting stdout to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17279249616901/UpgModPath_JarImg_2/20241003-042015-UpgModPathTest/results/7.CMJ.stdout
[2024-10-03T04:20:22.040Z] STF 04:20:21.659 - Monitoring processes: CMJ
[2024-10-03T04:20:22.359Z] STF 04:20:22.099 - Monitoring Report Summary:
[2024-10-03T04:20:22.359Z] STF 04:20:22.099 - o Process CMJ ended with the expected exit code (0)
[2024-10-03T04:20:22.359Z] STF 04:20:22.099 - Created modular jar: 7.com.hello.jar
[2024-10-03T04:20:22.359Z] STF 04:20:22.099 -
[2024-10-03T04:20:22.359Z] STF 04:20:22.099 - +------ Step 8 - Create com.hello override jar
[2024-10-03T04:20:22.359Z] STF 04:20:22.099 - | Create modular jar
[2024-10-03T04:20:22.359Z] STF 04:20:22.099 - | ModuleSpec: openjdk.test.modularity/bin/common-override/java.logging
[2024-10-03T04:20:22.359Z] STF 04:20:22.099 - | ModuleVersion: null
[2024-10-03T04:20:22.359Z] STF 04:20:22.099 - | MainClass: null
[2024-10-03T04:20:22.359Z] STF 04:20:22.099 - | HashModules: null
[2024-10-03T04:20:22.359Z] STF 04:20:22.099 - |
[2024-10-03T04:20:22.359Z] STF 04:20:22.100 - Running command: c:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/jdkbinary/j2sdk-image/bin/jar --create --file C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17279249616901/UpgModPath_JarImg_2/20241003-042015-UpgModPathTest/modules/8.java.logging.jar -C C:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\java.logging .
[2024-10-03T04:20:22.359Z] STF 04:20:22.100 - Redirecting stderr to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17279249616901/UpgModPath_JarImg_2/20241003-042015-UpgModPathTest/results/8.CMJ.stderr
[2024-10-03T04:20:22.359Z] STF 04:20:22.100 - Redirecting stdout to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17279249616901/UpgModPath_JarImg_2/20241003-042015-UpgModPathTest/results/8.CMJ.stdout
[2024-10-03T04:20:22.359Z] STF 04:20:22.108 - Monitoring processes: CMJ
[2024-10-03T04:20:22.676Z] STF 04:20:22.482 - Monitoring Report Summary:
[2024-10-03T04:20:22.677Z] STF 04:20:22.482 - o Process CMJ ended with the expected exit code (0)
[2024-10-03T04:20:22.677Z] STF 04:20:22.482 - Created modular jar: 8.java.logging.jar
[2024-10-03T04:20:22.677Z] STF 04:20:22.482 -
[2024-10-03T04:20:22.677Z] STF 04:20:22.482 - +------ Step 9 - Override an application module using a custom runtime image where the overriding module is in a modularized jar
[2024-10-03T04:20:22.677Z] STF 04:20:22.482 - | Run foreground process
[2024-10-03T04:20:22.677Z] STF 04:20:22.482 - | Program: C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17279249616901/UpgModPath_JarImg_2/20241003-042015-UpgModPathTest/tmp/6.UpJVM/bin/java
[2024-10-03T04:20:22.677Z] STF 04:20:22.482 - | Mnemonic: OT25
[2024-10-03T04:20:22.677Z] STF 04:20:22.482 - | Echo: ECHO_ON
[2024-10-03T04:20:22.677Z] STF 04:20:22.482 - | Expectation: CLEAN_RUN within 1m
[2024-10-03T04:20:22.677Z] STF 04:20:22.482 - |
[2024-10-03T04:20:22.677Z] STF 04:20:22.483 - Running command: C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17279249616901/UpgModPath_JarImg_2/20241003-042015-UpgModPathTest/tmp/6.UpJVM/bin/java --add-reads com.test=ALL-UNNAMED --upgrade-module-path C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17279249616901/UpgModPath_JarImg_2/20241003-042015-UpgModPathTest/modules/7.com.hello.jar -classpath c:/workspace/testDependency/system_lib/junit/junit.jar;c:/workspace/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingAppModule
[2024-10-03T04:20:22.677Z] STF 04:20:22.483 - Redirecting stderr to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17279249616901/UpgModPath_JarImg_2/20241003-042015-UpgModPathTest/results/9.OT25.stderr
[2024-10-03T04:20:22.677Z] STF 04:20:22.483 - Redirecting stdout to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17279249616901/UpgModPath_JarImg_2/20241003-042015-UpgModPathTest/results/9.OT25.stdout
[2024-10-03T04:20:22.677Z] STF 04:20:22.541 - Monitoring processes: OT25
[2024-10-03T04:20:22.995Z] OT25 JUnit version 4.12
[2024-10-03T04:20:22.995Z] OT25 .
[2024-10-03T04:20:22.995Z] OT25 Time: 0.006
[2024-10-03T04:20:22.995Z] OT25
[2024-10-03T04:20:22.995Z] OT25 OK (1 test)
[2024-10-03T04:20:22.995Z] OT25
[2024-10-03T04:20:22.995Z] STF 04:20:22.888 - Monitoring Report Summary:
[2024-10-03T04:20:22.995Z] STF 04:20:22.888 - o Process OT25 ended with the expected exit code (0)
[2024-10-03T04:20:22.995Z] STF 04:20:22.888 -
[2024-10-03T04:20:22.995Z] STF 04:20:22.888 - +------ Step 10 - (Negative test) Override a non-upgradable platform module using a custom runtime imagewhere the overriding module is in a modularized jar
[2024-10-03T04:20:22.995Z] STF 04:20:22.888 - | Run foreground process
[2024-10-03T04:20:22.995Z] STF 04:20:22.888 - | Program: C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17279249616901/UpgModPath_JarImg_2/20241003-042015-UpgModPathTest/tmp/6.UpJVM/bin/java
[2024-10-03T04:20:22.995Z] STF 04:20:22.888 - | Mnemonic: OT27
[2024-10-03T04:20:22.995Z] STF 04:20:22.888 - | Echo: ECHO_ON
[2024-10-03T04:20:22.995Z] STF 04:20:22.888 - | Expectation: NON_ZERO_EXIT [1] within 1m
[2024-10-03T04:20:22.995Z] STF 04:20:22.888 - |
[2024-10-03T04:20:22.996Z] STF 04:20:22.889 - Running command: C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17279249616901/UpgModPath_JarImg_2/20241003-042015-UpgModPathTest/tmp/6.UpJVM/bin/java --add-reads com.test=ALL-UNNAMED --upgrade-module-path C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17279249616901/UpgModPath_JarImg_2/20241003-042015-UpgModPathTest/modules/8.java.logging.jar -classpath c:/workspace/testDependency/system_lib/junit/junit.jar;c:/workspace/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingNonUpgradablePlatformModule
[2024-10-03T04:20:22.996Z] STF 04:20:22.889 - Redirecting stderr to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17279249616901/UpgModPath_JarImg_2/20241003-042015-UpgModPathTest/results/10.OT27.stderr
[2024-10-03T04:20:22.996Z] STF 04:20:22.889 - Redirecting stdout to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17279249616901/UpgModPath_JarImg_2/20241003-042015-UpgModPathTest/results/10.OT27.stdout
[2024-10-03T04:20:23.316Z] STF 04:20:22.901 - Monitoring processes: OT27
[2024-10-03T04:20:23.316Z] OT27 Error occurred during initialization of boot layer
[2024-10-03T04:20:23.316Z] OT27 java.lang.module.FindException: Hash of java.logging (09083ef2c66555ea1e13583273de9d136467210fdfe5b05056f5118909f51840) differs to expected hash (2a4c4a0e16d7373368e9fef021ff0a70e8bfc8891897446db67716b7b0012e3b) recorded in java.base
[2024-10-03T04:20:23.316Z] STF 04:20:23.132 - Monitoring Report Summary:
[2024-10-03T04:20:23.316Z] STF 04:20:23.132 - o Process OT27 ended with the expected exit code (1)
[2024-10-03T04:20:23.316Z] STF 04:20:23.133 -
[2024-10-03T04:20:23.316Z] STF 04:20:23.133 - +------ Step 11 - Combine stderr and stdout files of process OT27
[2024-10-03T04:20:23.316Z] STF 04:20:23.133 - | Run foreground process
[2024-10-03T04:20:23.316Z] STF 04:20:23.133 - | Program: c:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/jdkbinary/j2sdk-image/bin/java
[2024-10-03T04:20:23.316Z] STF 04:20:23.133 - | Mnemonic: CO
[2024-10-03T04:20:23.316Z] STF 04:20:23.133 - | Echo: ECHO_OFF
[2024-10-03T04:20:23.316Z] STF 04:20:23.133 - | Expectation: NON_ZERO_EXIT [0] within 30s
[2024-10-03T04:20:23.316Z] STF 04:20:23.133 - |
[2024-10-03T04:20:23.317Z] STF 04:20:23.133 - Running command: c:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/jdkbinary/j2sdk-image/bin/java -Dfile1=C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17279249616901/UpgModPath_JarImg_2/20241003-042015-UpgModPathTest/results/10.OT27.stdout -Dfile2=C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17279249616901/UpgModPath_JarImg_2/20241003-042015-UpgModPathTest/results/10.OT27.stderr -Dfinal.file=C:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\aqa-tests\TKG\output_17279249616901\UpgModPath_JarImg_2\20241003-042015-UpgModPathTest\results\combinedOT27.txt -classpath C:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\jvmtest\system\STF\stf.core\bin;C:\workspace\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin net.adoptopenjdk.test.modularity.TestUtil
[2024-10-03T04:20:23.317Z] STF 04:20:23.133 - Redirecting stderr to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17279249616901/UpgModPath_JarImg_2/20241003-042015-UpgModPathTest/results/11.CO.stderr
[2024-10-03T04:20:23.317Z] STF 04:20:23.133 - Redirecting stdout to C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17279249616901/UpgModPath_JarImg_2/20241003-042015-UpgModPathTest/results/11.CO.stdout
[2024-10-03T04:20:23.317Z] STF 04:20:23.145 - Monitoring processes: CO
[2024-10-03T04:20:23.749Z] STF 04:20:23.371 - Monitoring Report Summary:
[2024-10-03T04:20:23.749Z] STF 04:20:23.371 - o Process CO ended with the expected exit code (0)
[2024-10-03T04:20:23.749Z] STF 04:20:23.372 -
[2024-10-03T04:20:23.749Z] STF 04:20:23.372 - +------ Step 12 - Check output
[2024-10-03T04:20:23.749Z] STF 04:20:23.372 - | Count file matches
[2024-10-03T04:20:23.749Z] STF 04:20:23.372 - | TargetFile: C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/TKG/output_17279249616901/UpgModPath_JarImg_2/20241003-042015-UpgModPathTest/results/combinedOT27.txt
[2024-10-03T04:20:23.749Z] STF 04:20:23.372 - | ExpectedNumMatches: 1
[2024-10-03T04:20:23.749Z] STF 04:20:23.372 - | SearchStrings: ["FindException: Hash of java.logging"]
[2024-10-03T04:20:23.749Z] STF 04:20:23.372 - |
[2024-10-03T04:20:23.749Z] STF 04:20:23.373 - Found 1 instances of ["FindException: Hash of java.logging"]
[2024-10-03T04:20:23.749Z] STF 04:20:23.374 - EXECUTE stage completed
[2024-10-03T04:20:23.749Z] STF 04:20:23.426 -
[2024-10-03T04:20:23.749Z] STF 04:20:23.426 - ==================== T E A R D O W N ====================
[2024-10-03T04:20:23.749Z] STF 04:20:23.426 - Running teardown: perl C:/workspace/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows/aqa-tests/\TKG\output_17279249616901\UpgModPath_JarImg_2/20241003-042015-UpgModPathTest/tearDown.pl
[2024-10-03T04:20:23.749Z] STF 04:20:23.596 - TEARDOWN stage completed
[2024-10-03T04:20:23.749Z] STF 04:20:23.610 -
[2024-10-03T04:20:23.749Z] STF 04:20:23.610 - ===================== R E S U L T S =====================
[2024-10-03T04:20:23.749Z] STF 04:20:23.610 - Stage results:
[2024-10-03T04:20:23.749Z] STF 04:20:23.610 - setUp: pass
[2024-10-03T04:20:23.749Z] STF 04:20:23.610 - execute: pass
[2024-10-03T04:20:23.749Z] STF 04:20:23.610 - teardown: pass
[2024-10-03T04:20:23.749Z] STF 04:20:23.610 -
[2024-10-03T04:20:23.749Z] STF 04:20:23.610 - Overall result: PASSED
[2024-10-03T04:20:24.118Z] -----------------------------------
[2024-10-03T04:20:24.118Z] UpgModPath_JarImg_2_PASSED
[2024-10-03T04:20:24.118Z] -----------------------------------
[2024-10-03T04:20:24.118Z]
[2024-10-03T04:20:24.118Z] TEST TEARDOWN:
[2024-10-03T04:20:24.118Z] Nothing to be done for teardown.
[2024-10-03T04:20:24.118Z] UpgModPath_JarImg_2 Finish Time: Thu Oct 3 04:20:23 2024 Epoch Time (ms): 1727929223943