UpgModPath_ExpImg_0
[2025-05-17T13:04:12.558Z] Running test UpgModPath_ExpImg_0 ...
[2025-05-17T13:04:12.558Z] ===============================================
[2025-05-17T13:04:12.906Z] UpgModPath_ExpImg_0 Start Time: Sat May 17 13:04:12 2025 Epoch Time (ms): 1747487052768
[2025-05-17T13:04:13.209Z] variation: Mode150
[2025-05-17T13:04:13.209Z] JVM_OPTIONS: -XX:+UseCompressedOops
[2025-05-17T13:04:13.209Z] { \
[2025-05-17T13:04:13.209Z] echo ""; echo "TEST SETUP:"; \
[2025-05-17T13:04:13.209Z] echo "Nothing to be done for setup."; \
[2025-05-17T13:04:13.209Z] mkdir -p "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/\\TKG\\output_17474845395414\\UpgModPath_ExpImg_0"; \
[2025-05-17T13:04:13.209Z] cd "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/\\TKG\\output_17474845395414\\UpgModPath_ExpImg_0"; \
[2025-05-17T13:04:13.209Z] echo ""; echo "TESTING:"; \
[2025-05-17T13:04:13.209Z] perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests///..//jvmtest\\system\\modularity/../\\STF\\stf.core\\scripts\\stf.pl -test-root="C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests///..//jvmtest\\system\\modularity/../\\STF;C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests///..//jvmtest\\system\\modularity/../\\aqa-systemtest""" -systemtest-prereqs="C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/../../testDependency/system_lib\\" -java-args=' -XX:+UseCompressedOops ' -results-root="C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/\\TKG\\output_17474845395414\\UpgModPath_ExpImg_0" -test=UpgModPathTest -test-args="variant=ExpImg"; \
[2025-05-17T13:04:13.209Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "UpgModPath_ExpImg_0""_PASSED"; echo "-----------------------------------"; cd C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/; rm -f -r "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/\\TKG\\output_17474845395414\\UpgModPath_ExpImg_0"; else echo "-----------------------------------"; echo "UpgModPath_ExpImg_0""_FAILED"; echo "-----------------------------------"; fi; \
[2025-05-17T13:04:13.209Z] echo ""; echo "TEST TEARDOWN:"; \
[2025-05-17T13:04:13.209Z] echo "Nothing to be done for teardown."; \
[2025-05-17T13:04:13.209Z] } 2>&1 | tee -a "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/\\TKG\\output_17474845395414\\TestTargetResult";
[2025-05-17T13:04:13.509Z]
[2025-05-17T13:04:13.509Z] TEST SETUP:
[2025-05-17T13:04:13.509Z] Nothing to be done for setup.
[2025-05-17T13:04:13.509Z]
[2025-05-17T13:04:13.509Z] TESTING:
[2025-05-17T13:04:14.160Z] STF 13:04:13.800 - ========================= S T F =========================
[2025-05-17T13:04:14.160Z] systemtest-prereqs has been processed, and set to: C:/Users/jenkins/testDependency/system_libRetrieving amount of free space on drive containing C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/\TKG\output_17474845395414\UpgModPath_ExpImg_0
[2025-05-17T13:04:14.160Z] There is 21254 Mb free
[2025-05-17T13:04:14.160Z] STF 13:04:13.876 - ================== G E N E R A T I O N ==================
[2025-05-17T13:04:14.160Z] STF 13:04:13.881 - Checking JVM: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/jdkbinary/j2sdk-image
[2025-05-17T13:04:14.160Z] STF 13:04:13.882 - Starting process to generate scripts: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/jdkbinary/j2sdk-image/bin/java -Dlog4j.skipJansi=true -Djava.system.class.loader=net.adoptopenjdk.stf.runner.StfClassLoader -Dload.agent.path=C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/jvmtest/system/STF/stf.core/scripts/../../stf.load/bin/stf.load.jar -classpath C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/../../testDependency/system_lib\/asm/asm.jar;C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/../../testDependency/system_lib\/asm/asm-commons.jar;C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/../../testDependency/system_lib\/log4j/log4j-api.jar;C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/../../testDependency/system_lib\/log4j/log4j-core.jar;C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/\TKG\output_17474845395414\UpgModPath_ExpImg_0/20250517-130413-UpgModPathTest/stf_parameters.properties, , C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/\TKG\output_17474845395414\UpgModPath_ExpImg_0/20250517-130413-UpgModPathTest"
[2025-05-17T13:04:14.160Z] GEN stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-05-17T13:04:15.226Z] GEN 13:04:15.050 - Found test. Project: 'openjdk.test.modularity' class: 'UpgModPathTest.class' Dir: 'C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin'
[2025-05-17T13:04:15.226Z] GEN 13:04:15.065 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.UpgModPathTest'
[2025-05-17T13:04:15.525Z] GEN Classpath directories used by project 'openjdk.test.modularity':
[2025-05-17T13:04:15.525Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayService
[2025-05-17T13:04:15.525Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper
[2025-05-17T13:04:15.525Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl1
[2025-05-17T13:04:15.525Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet
[2025-05-17T13:04:15.525Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello
[2025-05-17T13:04:15.525Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola
[2025-05-17T13:04:15.525Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl2
[2025-05-17T13:04:15.525Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hi
[2025-05-17T13:04:15.525Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override
[2025-05-17T13:04:15.525Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override-new
[2025-05-17T13:04:15.525Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl3
[2025-05-17T13:04:15.525Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl4
[2025-05-17T13:04:15.525Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common
[2025-05-17T13:04:15.525Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests
[2025-05-17T13:04:15.525Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin
[2025-05-17T13:04:15.526Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\\jvmtest\\system\\STF\\stf.core\\bin
[2025-05-17T13:04:15.526Z] GEN C:/Users/jenkins/testDependency/system_lib/log4j/log4j-api.jar
[2025-05-17T13:04:15.526Z] GEN C:/Users/jenkins/testDependency/system_lib/log4j/log4j-core.jar
[2025-05-17T13:04:15.526Z] GEN C:/Users/jenkins/testDependency/system_lib/junit/junit.jar
[2025-05-17T13:04:15.526Z] GEN 13:04:15.315 - Using Mode NoOptions. Values = ''
[2025-05-17T13:04:15.526Z] GEN 13:04:15.456 -
[2025-05-17T13:04:15.526Z] GEN 13:04:15.456 - Test command summary:
[2025-05-17T13:04:15.526Z] GEN 13:04:15.456 - Step Stage Command Description
[2025-05-17T13:04:15.526Z] GEN 13:04:15.456 - -----+--------+-----------------+------------
[2025-05-17T13:04:15.526Z] GEN 13:04:15.456 - 1 execute jar Create com.hello jar
[2025-05-17T13:04:15.526Z] GEN 13:04:15.456 - 2 execute jar Create com.hola jar
[2025-05-17T13:04:15.526Z] GEN 13:04:15.456 - 3 execute jar Create com.helper jar
[2025-05-17T13:04:15.526Z] GEN 13:04:15.456 - 4 execute jar Create com.discreet jar
[2025-05-17T13:04:15.526Z] GEN 13:04:15.456 - 5 execute jar Create tests jar
[2025-05-17T13:04:15.526Z] GEN 13:04:15.456 - 6 execute jlink Create runtime image for upgrademodulepath test
[2025-05-17T13:04:15.526Z] GEN 13:04:15.456 - 7 execute Run java Override an application module using a custom runtime image
[2025-05-17T13:04:15.526Z] GEN 13:04:15.456 - 8 execute Run java (Negative test) Override a non-upgradable platform module using a custom runtime image
[2025-05-17T13:04:15.526Z] GEN 13:04:15.456 - 9 execute Run java Combine stderr and stdout files of process OT16
[2025-05-17T13:04:15.526Z] GEN 13:04:15.456 - 10 execute count Check output
[2025-05-17T13:04:15.825Z] STF 13:04:15.506 -
[2025-05-17T13:04:15.825Z] STF 13:04:15.506 - Script generation completed
[2025-05-17T13:04:15.825Z] STF 13:04:15.506 -
[2025-05-17T13:04:15.825Z] STF 13:04:15.509 -
[2025-05-17T13:04:15.825Z] STF 13:04:15.509 - ======================= S E T U P =======================
[2025-05-17T13:04:15.825Z] STF 13:04:15.509 - Running setup: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/\TKG\output_17474845395414\UpgModPath_ExpImg_0/20250517-130413-UpgModPathTest/setUp.pl
[2025-05-17T13:04:16.131Z] STF 13:04:15.878 - SETUP stage completed
[2025-05-17T13:04:16.131Z] STF 13:04:15.926 -
[2025-05-17T13:04:16.131Z] STF 13:04:15.926 - ==================== E X E C U T E - ====================
[2025-05-17T13:04:16.131Z] STF 13:04:15.926 - Running execute: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/\TKG\output_17474845395414\UpgModPath_ExpImg_0/20250517-130413-UpgModPathTest/execute.pl
[2025-05-17T13:04:16.435Z] STF 13:04:16.300 -
[2025-05-17T13:04:16.435Z] STF 13:04:16.300 - Java version
[2025-05-17T13:04:16.435Z] STF 13:04:16.300 - Running: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/jdkbinary/j2sdk-image/bin/java -version
[2025-05-17T13:04:16.435Z] Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-05-17T13:04:16.734Z] openjdk version "21.0.8-beta" 2025-07-15
[2025-05-17T13:04:16.734Z] OpenJDK Runtime Environment Temurin-21.0.8+3-202505170857 (build 21.0.8-beta+3-ea)
[2025-05-17T13:04:16.734Z] OpenJDK 64-Bit Server VM Temurin-21.0.8+3-202505170857 (build 21.0.8-beta+3-ea, mixed mode)
[2025-05-17T13:04:16.734Z] STF 13:04:16.425 -
[2025-05-17T13:04:16.734Z] STF 13:04:16.426 - +------ Step 1 - Create com.hello jar
[2025-05-17T13:04:16.734Z] STF 13:04:16.426 - | Create modular jar
[2025-05-17T13:04:16.734Z] STF 13:04:16.426 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hello
[2025-05-17T13:04:16.734Z] STF 13:04:16.426 - | ModuleVersion: null
[2025-05-17T13:04:16.734Z] STF 13:04:16.426 - | MainClass: null
[2025-05-17T13:04:16.734Z] STF 13:04:16.426 - | HashModules: null
[2025-05-17T13:04:16.734Z] STF 13:04:16.426 - |
[2025-05-17T13:04:16.734Z] STF 13:04:16.427 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17474845395414/UpgModPath_ExpImg_0/20250517-130413-UpgModPathTest/modules/1.com.hello.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello .
[2025-05-17T13:04:16.734Z] STF 13:04:16.427 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17474845395414/UpgModPath_ExpImg_0/20250517-130413-UpgModPathTest/results/1.CMJ.stderr
[2025-05-17T13:04:16.734Z] STF 13:04:16.427 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17474845395414/UpgModPath_ExpImg_0/20250517-130413-UpgModPathTest/results/1.CMJ.stdout
[2025-05-17T13:04:16.734Z] STF 13:04:16.495 - Monitoring processes: CMJ
[2025-05-17T13:04:16.734Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-05-17T13:04:17.033Z] STF 13:04:16.914 - Monitoring Report Summary:
[2025-05-17T13:04:17.033Z] STF 13:04:16.914 - o Process CMJ ended with the expected exit code (0)
[2025-05-17T13:04:17.033Z] STF 13:04:16.915 - Created modular jar: 1.com.hello.jar
[2025-05-17T13:04:17.033Z] STF 13:04:16.915 -
[2025-05-17T13:04:17.033Z] STF 13:04:16.915 - +------ Step 2 - Create com.hola jar
[2025-05-17T13:04:17.033Z] STF 13:04:16.915 - | Create modular jar
[2025-05-17T13:04:17.034Z] STF 13:04:16.915 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hola
[2025-05-17T13:04:17.034Z] STF 13:04:16.915 - | ModuleVersion: null
[2025-05-17T13:04:17.034Z] STF 13:04:16.915 - | MainClass: null
[2025-05-17T13:04:17.034Z] STF 13:04:16.915 - | HashModules: null
[2025-05-17T13:04:17.034Z] STF 13:04:16.915 - |
[2025-05-17T13:04:17.034Z] STF 13:04:16.915 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17474845395414/UpgModPath_ExpImg_0/20250517-130413-UpgModPathTest/modules/2.com.hola.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola .
[2025-05-17T13:04:17.034Z] STF 13:04:16.916 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17474845395414/UpgModPath_ExpImg_0/20250517-130413-UpgModPathTest/results/2.CMJ.stderr
[2025-05-17T13:04:17.034Z] STF 13:04:16.916 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17474845395414/UpgModPath_ExpImg_0/20250517-130413-UpgModPathTest/results/2.CMJ.stdout
[2025-05-17T13:04:17.034Z] STF 13:04:16.923 - Monitoring processes: CMJ
[2025-05-17T13:04:17.034Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-05-17T13:04:17.687Z] STF 13:04:17.331 - Monitoring Report Summary:
[2025-05-17T13:04:17.687Z] STF 13:04:17.331 - o Process CMJ ended with the expected exit code (0)
[2025-05-17T13:04:17.687Z] STF 13:04:17.331 - Created modular jar: 2.com.hola.jar
[2025-05-17T13:04:17.687Z] STF 13:04:17.331 -
[2025-05-17T13:04:17.687Z] STF 13:04:17.332 - +------ Step 3 - Create com.helper jar
[2025-05-17T13:04:17.687Z] STF 13:04:17.332 - | Create modular jar
[2025-05-17T13:04:17.687Z] STF 13:04:17.332 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.helper
[2025-05-17T13:04:17.687Z] STF 13:04:17.332 - | ModuleVersion: null
[2025-05-17T13:04:17.687Z] STF 13:04:17.332 - | MainClass: null
[2025-05-17T13:04:17.687Z] STF 13:04:17.332 - | HashModules: null
[2025-05-17T13:04:17.687Z] STF 13:04:17.332 - |
[2025-05-17T13:04:17.687Z] STF 13:04:17.332 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17474845395414/UpgModPath_ExpImg_0/20250517-130413-UpgModPathTest/modules/3.com.helper.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper .
[2025-05-17T13:04:17.687Z] STF 13:04:17.332 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17474845395414/UpgModPath_ExpImg_0/20250517-130413-UpgModPathTest/results/3.CMJ.stderr
[2025-05-17T13:04:17.687Z] STF 13:04:17.332 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17474845395414/UpgModPath_ExpImg_0/20250517-130413-UpgModPathTest/results/3.CMJ.stdout
[2025-05-17T13:04:17.687Z] STF 13:04:17.340 - Monitoring processes: CMJ
[2025-05-17T13:04:17.687Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-05-17T13:04:17.989Z] STF 13:04:17.768 - Monitoring Report Summary:
[2025-05-17T13:04:17.989Z] STF 13:04:17.768 - o Process CMJ ended with the expected exit code (0)
[2025-05-17T13:04:17.989Z] STF 13:04:17.769 - Created modular jar: 3.com.helper.jar
[2025-05-17T13:04:17.989Z] STF 13:04:17.769 -
[2025-05-17T13:04:17.989Z] STF 13:04:17.769 - +------ Step 4 - Create com.discreet jar
[2025-05-17T13:04:17.989Z] STF 13:04:17.769 - | Create modular jar
[2025-05-17T13:04:17.989Z] STF 13:04:17.769 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.discreet
[2025-05-17T13:04:17.989Z] STF 13:04:17.769 - | ModuleVersion: null
[2025-05-17T13:04:17.989Z] STF 13:04:17.769 - | MainClass: null
[2025-05-17T13:04:17.989Z] STF 13:04:17.769 - | HashModules: null
[2025-05-17T13:04:17.989Z] STF 13:04:17.769 - |
[2025-05-17T13:04:17.989Z] STF 13:04:17.770 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17474845395414/UpgModPath_ExpImg_0/20250517-130413-UpgModPathTest/modules/4.com.discreet.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet .
[2025-05-17T13:04:17.989Z] STF 13:04:17.770 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17474845395414/UpgModPath_ExpImg_0/20250517-130413-UpgModPathTest/results/4.CMJ.stderr
[2025-05-17T13:04:17.989Z] STF 13:04:17.770 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17474845395414/UpgModPath_ExpImg_0/20250517-130413-UpgModPathTest/results/4.CMJ.stdout
[2025-05-17T13:04:17.989Z] STF 13:04:17.777 - Monitoring processes: CMJ
[2025-05-17T13:04:17.989Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-05-17T13:04:18.288Z] STF 13:04:18.193 - Monitoring Report Summary:
[2025-05-17T13:04:18.288Z] STF 13:04:18.194 - o Process CMJ ended with the expected exit code (0)
[2025-05-17T13:04:18.288Z] STF 13:04:18.194 - Created modular jar: 4.com.discreet.jar
[2025-05-17T13:04:18.288Z] STF 13:04:18.194 -
[2025-05-17T13:04:18.288Z] STF 13:04:18.194 - +------ Step 5 - Create tests jar
[2025-05-17T13:04:18.288Z] STF 13:04:18.194 - | Create modular jar
[2025-05-17T13:04:18.288Z] STF 13:04:18.194 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test
[2025-05-17T13:04:18.288Z] STF 13:04:18.195 - | ModuleVersion: null
[2025-05-17T13:04:18.288Z] STF 13:04:18.195 - | MainClass: null
[2025-05-17T13:04:18.288Z] STF 13:04:18.195 - | HashModules: null
[2025-05-17T13:04:18.288Z] STF 13:04:18.195 - |
[2025-05-17T13:04:18.288Z] STF 13:04:18.195 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17474845395414/UpgModPath_ExpImg_0/20250517-130413-UpgModPathTest/modules/5.com.test.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests\com.test .
[2025-05-17T13:04:18.288Z] STF 13:04:18.195 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17474845395414/UpgModPath_ExpImg_0/20250517-130413-UpgModPathTest/results/5.CMJ.stderr
[2025-05-17T13:04:18.288Z] STF 13:04:18.195 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17474845395414/UpgModPath_ExpImg_0/20250517-130413-UpgModPathTest/results/5.CMJ.stdout
[2025-05-17T13:04:18.288Z] STF 13:04:18.203 - Monitoring processes: CMJ
[2025-05-17T13:04:18.288Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-05-17T13:04:18.937Z] STF 13:04:18.646 - Monitoring Report Summary:
[2025-05-17T13:04:18.937Z] STF 13:04:18.647 - o Process CMJ ended with the expected exit code (0)
[2025-05-17T13:04:18.937Z] STF 13:04:18.647 - Created modular jar: 5.com.test.jar
[2025-05-17T13:04:18.937Z] STF 13:04:18.647 -
[2025-05-17T13:04:18.937Z] STF 13:04:18.647 - +------ Step 6 - Create runtime image for upgrademodulepath test
[2025-05-17T13:04:18.937Z] STF 13:04:18.647 - | Run jlink to create runtime image
[2025-05-17T13:04:18.937Z] STF 13:04:18.647 - | ImageName: UpJVM
[2025-05-17T13:04:18.937Z] STF 13:04:18.648 - |
[2025-05-17T13:04:18.937Z] STF 13:04:18.648 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/jdkbinary/j2sdk-image/bin/jlink --module-path C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\jdkbinary\j2sdk-image\jmods;C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\aqa-tests\TKG\output_17474845395414\UpgModPath_ExpImg_0\20250517-130413-UpgModPathTest\modules --add-modules com.hello,com.hola,com.test,com.helper,com.discreet --output C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\aqa-tests\TKG\output_17474845395414\UpgModPath_ExpImg_0\20250517-130413-UpgModPathTest\tmp\6.UpJVM
[2025-05-17T13:04:18.937Z] STF 13:04:18.648 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17474845395414/UpgModPath_ExpImg_0/20250517-130413-UpgModPathTest/results/6.JLNK.stderr
[2025-05-17T13:04:18.937Z] STF 13:04:18.648 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17474845395414/UpgModPath_ExpImg_0/20250517-130413-UpgModPathTest/results/6.JLNK.stdout
[2025-05-17T13:04:18.937Z] STF 13:04:18.656 - Monitoring processes: JLNK
[2025-05-17T13:04:18.937Z] JLNK stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-05-17T13:04:21.053Z] STF 13:04:20.979 - Monitoring Report Summary:
[2025-05-17T13:04:21.053Z] STF 13:04:20.979 - o Process JLNK ended with the expected exit code (0)
[2025-05-17T13:04:21.053Z] STF 13:04:20.980 -
[2025-05-17T13:04:21.053Z] STF 13:04:20.980 - +------ Step 7 - Override an application module using a custom runtime image
[2025-05-17T13:04:21.053Z] STF 13:04:20.980 - | Run foreground process
[2025-05-17T13:04:21.053Z] STF 13:04:20.980 - | Program: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17474845395414/UpgModPath_ExpImg_0/20250517-130413-UpgModPathTest/tmp/6.UpJVM/bin/java
[2025-05-17T13:04:21.053Z] STF 13:04:20.980 - | Mnemonic: OT14
[2025-05-17T13:04:21.053Z] STF 13:04:20.980 - | Echo: ECHO_ON
[2025-05-17T13:04:21.053Z] STF 13:04:20.980 - | Expectation: CLEAN_RUN within 1m
[2025-05-17T13:04:21.053Z] STF 13:04:20.980 - |
[2025-05-17T13:04:21.053Z] STF 13:04:20.981 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17474845395414/UpgModPath_ExpImg_0/20250517-130413-UpgModPathTest/tmp/6.UpJVM/bin/java --add-reads com.test=ALL-UNNAMED --upgrade-module-path C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\com.hello -XX:+UseCompressedOops -classpath C:/Users/jenkins/testDependency/system_lib/junit/junit.jar;C:/Users/jenkins/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingAppModule
[2025-05-17T13:04:21.053Z] STF 13:04:20.981 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17474845395414/UpgModPath_ExpImg_0/20250517-130413-UpgModPathTest/results/7.OT14.stderr
[2025-05-17T13:04:21.053Z] STF 13:04:20.981 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17474845395414/UpgModPath_ExpImg_0/20250517-130413-UpgModPathTest/results/7.OT14.stdout
[2025-05-17T13:04:21.053Z] STF 13:04:21.013 - Monitoring processes: OT14
[2025-05-17T13:04:21.354Z] OT14 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-05-17T13:04:21.705Z] OT14 JUnit version 4.12
[2025-05-17T13:04:21.705Z] OT14 .
[2025-05-17T13:04:21.705Z] OT14 Time: 0
[2025-05-17T13:04:21.705Z] OT14
[2025-05-17T13:04:21.705Z] OT14 OK (1 test)
[2025-05-17T13:04:21.705Z] OT14
[2025-05-17T13:04:21.705Z] STF 13:04:21.521 - Monitoring Report Summary:
[2025-05-17T13:04:21.705Z] STF 13:04:21.522 - o Process OT14 ended with the expected exit code (0)
[2025-05-17T13:04:21.705Z] STF 13:04:21.522 -
[2025-05-17T13:04:21.705Z] STF 13:04:21.522 - +------ Step 8 - (Negative test) Override a non-upgradable platform module using a custom runtime image
[2025-05-17T13:04:21.705Z] STF 13:04:21.522 - | Run foreground process
[2025-05-17T13:04:21.705Z] STF 13:04:21.523 - | Program: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17474845395414/UpgModPath_ExpImg_0/20250517-130413-UpgModPathTest/tmp/6.UpJVM/bin/java
[2025-05-17T13:04:21.705Z] STF 13:04:21.523 - | Mnemonic: OT16
[2025-05-17T13:04:21.705Z] STF 13:04:21.523 - | Echo: ECHO_ON
[2025-05-17T13:04:21.705Z] STF 13:04:21.523 - | Expectation: NON_ZERO_EXIT [1] within 1m
[2025-05-17T13:04:21.705Z] STF 13:04:21.523 - |
[2025-05-17T13:04:21.705Z] STF 13:04:21.523 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17474845395414/UpgModPath_ExpImg_0/20250517-130413-UpgModPathTest/tmp/6.UpJVM/bin/java --add-reads com.test=ALL-UNNAMED --upgrade-module-path C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override\java.logging -XX:+UseCompressedOops -classpath C:/Users/jenkins/testDependency/system_lib/junit/junit.jar;C:/Users/jenkins/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestOverrideUsingNonUpgradablePlatformModule
[2025-05-17T13:04:21.706Z] STF 13:04:21.524 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17474845395414/UpgModPath_ExpImg_0/20250517-130413-UpgModPathTest/results/8.OT16.stderr
[2025-05-17T13:04:21.706Z] STF 13:04:21.524 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17474845395414/UpgModPath_ExpImg_0/20250517-130413-UpgModPathTest/results/8.OT16.stdout
[2025-05-17T13:04:21.706Z] STF 13:04:21.532 - Monitoring processes: OT16
[2025-05-17T13:04:21.706Z] OT16 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-05-17T13:04:22.006Z] OT16 Error occurred during initialization of boot layer
[2025-05-17T13:04:22.006Z] OT16 java.lang.module.FindException: Unable to compute the hash of module java.logging
[2025-05-17T13:04:22.006Z] STF 13:04:21.740 - Monitoring Report Summary:
[2025-05-17T13:04:22.006Z] STF 13:04:21.740 - o Process OT16 ended with the expected exit code (1)
[2025-05-17T13:04:22.006Z] STF 13:04:21.741 -
[2025-05-17T13:04:22.006Z] STF 13:04:21.741 - +------ Step 9 - Combine stderr and stdout files of process OT16
[2025-05-17T13:04:22.006Z] STF 13:04:21.741 - | Run foreground process
[2025-05-17T13:04:22.006Z] STF 13:04:21.741 - | Program: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/jdkbinary/j2sdk-image/bin/java
[2025-05-17T13:04:22.006Z] STF 13:04:21.741 - | Mnemonic: CO
[2025-05-17T13:04:22.006Z] STF 13:04:21.741 - | Echo: ECHO_OFF
[2025-05-17T13:04:22.006Z] STF 13:04:21.741 - | Expectation: NON_ZERO_EXIT [0] within 5m
[2025-05-17T13:04:22.006Z] STF 13:04:21.741 - |
[2025-05-17T13:04:22.006Z] STF 13:04:21.742 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/jdkbinary/j2sdk-image/bin/java -Dfile1=C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17474845395414/UpgModPath_ExpImg_0/20250517-130413-UpgModPathTest/results/8.OT16.stdout -Dfile2=C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17474845395414/UpgModPath_ExpImg_0/20250517-130413-UpgModPathTest/results/8.OT16.stderr -Dfinal.file=C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\aqa-tests\TKG\output_17474845395414\UpgModPath_ExpImg_0\20250517-130413-UpgModPathTest\results\combinedOT16.txt -XX:+UseCompressedOops -classpath C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\STF\stf.core\bin;C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin net.adoptopenjdk.test.modularity.TestUtil
[2025-05-17T13:04:22.006Z] STF 13:04:21.742 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17474845395414/UpgModPath_ExpImg_0/20250517-130413-UpgModPathTest/results/9.CO.stderr
[2025-05-17T13:04:22.006Z] STF 13:04:21.742 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17474845395414/UpgModPath_ExpImg_0/20250517-130413-UpgModPathTest/results/9.CO.stdout
[2025-05-17T13:04:22.006Z] STF 13:04:21.750 - Monitoring processes: CO
[2025-05-17T13:04:22.304Z] STF 13:04:21.972 - Monitoring Report Summary:
[2025-05-17T13:04:22.304Z] STF 13:04:21.972 - o Process CO ended with the expected exit code (0)
[2025-05-17T13:04:22.304Z] STF 13:04:21.973 -
[2025-05-17T13:04:22.304Z] STF 13:04:21.973 - +------ Step 10 - Check output
[2025-05-17T13:04:22.304Z] STF 13:04:21.973 - | Count file matches
[2025-05-17T13:04:22.304Z] STF 13:04:21.973 - | TargetFile: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/TKG/output_17474845395414/UpgModPath_ExpImg_0/20250517-130413-UpgModPathTest/results/combinedOT16.txt
[2025-05-17T13:04:22.304Z] STF 13:04:21.973 - | ExpectedNumMatches: 1
[2025-05-17T13:04:22.304Z] STF 13:04:21.973 - | SearchStrings: ["FindException: Unable to compute the hash of module java.logging"]
[2025-05-17T13:04:22.304Z] STF 13:04:21.973 - |
[2025-05-17T13:04:22.304Z] STF 13:04:21.989 - Found 1 instances of ["FindException: Unable to compute the hash of module java.logging"]
[2025-05-17T13:04:22.304Z] STF 13:04:21.989 - EXECUTE stage completed
[2025-05-17T13:04:22.304Z] STF 13:04:22.068 -
[2025-05-17T13:04:22.304Z] STF 13:04:22.068 - ==================== T E A R D O W N ====================
[2025-05-17T13:04:22.304Z] STF 13:04:22.068 - Running teardown: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_0/aqa-tests/\TKG\output_17474845395414\UpgModPath_ExpImg_0/20250517-130413-UpgModPathTest/tearDown.pl
[2025-05-17T13:04:22.603Z] STF 13:04:22.425 - TEARDOWN stage completed
[2025-05-17T13:04:22.603Z] STF 13:04:22.476 -
[2025-05-17T13:04:22.603Z] STF 13:04:22.476 - ===================== R E S U L T S =====================
[2025-05-17T13:04:22.603Z] STF 13:04:22.476 - Stage results:
[2025-05-17T13:04:22.603Z] STF 13:04:22.476 - setUp: pass
[2025-05-17T13:04:22.603Z] STF 13:04:22.476 - execute: pass
[2025-05-17T13:04:22.603Z] STF 13:04:22.476 - teardown: pass
[2025-05-17T13:04:22.603Z] STF 13:04:22.476 -
[2025-05-17T13:04:22.603Z] STF 13:04:22.476 - Overall result: PASSED
[2025-05-17T13:04:22.603Z] -----------------------------------
[2025-05-17T13:04:22.603Z] UpgModPath_ExpImg_0_PASSED
[2025-05-17T13:04:22.603Z] -----------------------------------
[2025-05-17T13:04:22.902Z]
[2025-05-17T13:04:22.902Z] TEST TEARDOWN:
[2025-05-17T13:04:22.902Z] Nothing to be done for teardown.
[2025-05-17T13:04:23.208Z] UpgModPath_ExpImg_0 Finish Time: Sat May 17 13:04:22 2025 Epoch Time (ms): 1747487062878