CpMpModJar2_1

[2025-09-06T21:22:36.209Z] Running test CpMpModJar2_1 ... [2025-09-06T21:22:36.209Z] =============================================== [2025-09-06T21:22:36.532Z] CpMpModJar2_1 Start Time: Sat Sep 6 21:22:36 2025 Epoch Time (ms): 1757193756415 [2025-09-06T21:22:36.827Z] variation: Mode650 [2025-09-06T21:22:36.827Z] JVM_OPTIONS: -XX:-UseCompressedOops [2025-09-06T21:22:36.827Z] { \ [2025-09-06T21:22:36.827Z] echo ""; echo "TEST SETUP:"; \ [2025-09-06T21:22:36.827Z] echo "Nothing to be done for setup."; \ [2025-09-06T21:22:36.827Z] mkdir -p "C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17571914456993\\CpMpModJar2_1"; \ [2025-09-06T21:22:36.827Z] cd "C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17571914456993\\CpMpModJar2_1"; \ [2025-09-06T21:22:36.827Z] echo ""; echo "TESTING:"; \ [2025-09-06T21:22:36.827Z] perl C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/aqa-tests///..//jvmtest\\system\\modularity/../\\STF\\stf.core\\scripts\\stf.pl -test-root="C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/aqa-tests///..//jvmtest\\system\\modularity/../\\STF;C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/aqa-tests///..//jvmtest\\system\\modularity/../\\aqa-systemtest""" -systemtest-prereqs="C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/../../externalDependency/system_lib\\" -java-args=' -XX:-UseCompressedOops ' -results-root="C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17571914456993\\CpMpModJar2_1" -test=CpMpModJar2; \ [2025-09-06T21:22:36.827Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "CpMpModJar2_1""_PASSED"; echo "-----------------------------------"; cd C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/; rm -f -r "C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17571914456993\\CpMpModJar2_1"; else echo "-----------------------------------"; echo "CpMpModJar2_1""_FAILED"; echo "-----------------------------------"; fi; \ [2025-09-06T21:22:36.827Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-09-06T21:22:36.827Z] echo "Nothing to be done for teardown."; \ [2025-09-06T21:22:36.827Z] } 2>&1 | tee -a "C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17571914456993\\TestTargetResult"; [2025-09-06T21:22:37.121Z] [2025-09-06T21:22:37.121Z] TEST SETUP: [2025-09-06T21:22:37.121Z] Nothing to be done for setup. [2025-09-06T21:22:37.121Z] [2025-09-06T21:22:37.121Z] TESTING: [2025-09-06T21:22:37.415Z] STF 21:22:37.384 - ========================= S T F ========================= [2025-09-06T21:22:37.415Z] systemtest-prereqs has been processed, and set to: C:/Users/jenkins/externalDependency/system_libRetrieving amount of free space on drive containing C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17571914456993\CpMpModJar2_1 [2025-09-06T21:22:37.709Z] There is 18601 Mb free [2025-09-06T21:22:37.709Z] STF 21:22:37.461 - ================== G E N E R A T I O N ================== [2025-09-06T21:22:37.709Z] STF 21:22:37.466 - Checking JVM: C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image [2025-09-06T21:22:37.709Z] STF 21:22:37.467 - Starting process to generate scripts: C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/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_openjdk25_hs_sanity.system_aarch64_windows_testList_1/jvmtest/system/STF/stf.core/scripts/../../stf.load/bin/stf.load.jar -classpath C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/../../externalDependency/system_lib\/asm/asm.jar;C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/../../externalDependency/system_lib\/asm/asm-commons.jar;C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/../../externalDependency/system_lib\/log4j/log4j-api.jar;C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/../../externalDependency/system_lib\/log4j/log4j-core.jar;C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17571914456993\CpMpModJar2_1/20250906-212237-CpMpModJar2/stf_parameters.properties, , C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17571914456993\CpMpModJar2_1/20250906-212237-CpMpModJar2" [2025-09-06T21:22:38.752Z] GEN 21:22:38.561 - Found test. Project: 'openjdk.test.modularity' class: 'CpMpModJar2.class' Dir: 'C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin' [2025-09-06T21:22:38.752Z] GEN 21:22:38.578 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.CpMpModJar2' [2025-09-06T21:22:39.046Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2025-09-06T21:22:39.047Z] GEN C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayService [2025-09-06T21:22:39.047Z] GEN C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper [2025-09-06T21:22:39.047Z] GEN C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl1 [2025-09-06T21:22:39.047Z] GEN C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet [2025-09-06T21:22:39.047Z] GEN C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello [2025-09-06T21:22:39.047Z] GEN C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola [2025-09-06T21:22:39.047Z] GEN C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl2 [2025-09-06T21:22:39.047Z] GEN C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hi [2025-09-06T21:22:39.047Z] GEN C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override [2025-09-06T21:22:39.047Z] GEN C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override-new [2025-09-06T21:22:39.047Z] GEN C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl3 [2025-09-06T21:22:39.047Z] GEN C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl4 [2025-09-06T21:22:39.047Z] GEN C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common [2025-09-06T21:22:39.047Z] GEN C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests [2025-09-06T21:22:39.047Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin [2025-09-06T21:22:39.047Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1\\jvmtest\\system\\STF\\stf.core\\bin [2025-09-06T21:22:39.047Z] GEN C:/Users/jenkins/externalDependency/system_lib/log4j/log4j-api.jar [2025-09-06T21:22:39.047Z] GEN C:/Users/jenkins/externalDependency/system_lib/log4j/log4j-core.jar [2025-09-06T21:22:39.047Z] GEN C:/Users/jenkins/externalDependency/system_lib/junit/junit.jar [2025-09-06T21:22:39.047Z] GEN 21:22:38.807 - Using Mode NoOptions. Values = '' [2025-09-06T21:22:39.047Z] GEN 21:22:38.881 - [2025-09-06T21:22:39.047Z] GEN 21:22:38.881 - Test command summary: [2025-09-06T21:22:39.047Z] GEN 21:22:38.881 - Step Stage Command Description [2025-09-06T21:22:39.047Z] GEN 21:22:38.881 - -----+--------+-----------------+------------ [2025-09-06T21:22:39.047Z] GEN 21:22:38.881 - 1 execute jar Create com.hello jar [2025-09-06T21:22:39.047Z] GEN 21:22:38.881 - 2 execute Run java Run modularity test in Junit [2025-09-06T21:22:39.047Z] GEN 21:22:38.882 - 3 execute count Check output [2025-09-06T21:22:39.047Z] STF 21:22:38.904 - [2025-09-06T21:22:39.047Z] STF 21:22:38.904 - Script generation completed [2025-09-06T21:22:39.047Z] STF 21:22:38.904 - [2025-09-06T21:22:39.047Z] STF 21:22:38.906 - [2025-09-06T21:22:39.047Z] STF 21:22:38.906 - ======================= S E T U P ======================= [2025-09-06T21:22:39.047Z] STF 21:22:38.906 - Running setup: perl C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17571914456993\CpMpModJar2_1/20250906-212237-CpMpModJar2/setUp.pl [2025-09-06T21:22:39.340Z] STF 21:22:39.279 - SETUP stage completed [2025-09-06T21:22:39.340Z] STF 21:22:39.306 - [2025-09-06T21:22:39.340Z] STF 21:22:39.306 - ==================== E X E C U T E - ==================== [2025-09-06T21:22:39.340Z] STF 21:22:39.306 - Running execute: perl C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17571914456993\CpMpModJar2_1/20250906-212237-CpMpModJar2/execute.pl [2025-09-06T21:22:39.979Z] STF 21:22:39.685 - [2025-09-06T21:22:39.979Z] STF 21:22:39.685 - Java version [2025-09-06T21:22:39.979Z] STF 21:22:39.685 - Running: C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/java -version [2025-09-06T21:22:39.979Z] openjdk version "25" 2025-09-16 LTS [2025-09-06T21:22:39.979Z] OpenJDK Runtime Environment Temurin-25+36 (build 25+36-LTS) [2025-09-06T21:22:39.979Z] OpenJDK 64-Bit Server VM Temurin-25+36 (build 25+36-LTS, mixed mode) [2025-09-06T21:22:39.979Z] STF 21:22:39.797 - [2025-09-06T21:22:39.979Z] STF 21:22:39.797 - +------ Step 1 - Create com.hello jar [2025-09-06T21:22:39.979Z] STF 21:22:39.797 - | Create modular jar [2025-09-06T21:22:39.979Z] STF 21:22:39.797 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hi [2025-09-06T21:22:39.979Z] STF 21:22:39.797 - | ModuleVersion: null [2025-09-06T21:22:39.979Z] STF 21:22:39.797 - | MainClass: adoptopenjdk.test.modularity.hi.Hi [2025-09-06T21:22:39.979Z] STF 21:22:39.797 - | HashModules: null [2025-09-06T21:22:39.979Z] STF 21:22:39.797 - | [2025-09-06T21:22:39.979Z] STF 21:22:39.798 - Running command: C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17571914456993/CpMpModJar2_1/20250906-212237-CpMpModJar2/modules/1.com.hi.jar --main-class=adoptopenjdk.test.modularity.hi.Hi -C C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hi . [2025-09-06T21:22:39.979Z] STF 21:22:39.799 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17571914456993/CpMpModJar2_1/20250906-212237-CpMpModJar2/results/1.CMJ.stderr [2025-09-06T21:22:39.979Z] STF 21:22:39.799 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17571914456993/CpMpModJar2_1/20250906-212237-CpMpModJar2/results/1.CMJ.stdout [2025-09-06T21:22:39.979Z] STF 21:22:39.865 - Monitoring processes: CMJ [2025-09-06T21:22:40.274Z] STF 21:22:40.230 - Monitoring Report Summary: [2025-09-06T21:22:40.274Z] STF 21:22:40.230 - o Process CMJ ended with the expected exit code (0) [2025-09-06T21:22:40.274Z] STF 21:22:40.231 - Created modular jar: 1.com.hi.jar [2025-09-06T21:22:40.274Z] STF 21:22:40.231 - [2025-09-06T21:22:40.274Z] STF 21:22:40.231 - +------ Step 2 - Run modularity test in Junit [2025-09-06T21:22:40.274Z] STF 21:22:40.231 - | Run foreground process [2025-09-06T21:22:40.274Z] STF 21:22:40.231 - | Program: C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/java [2025-09-06T21:22:40.274Z] STF 21:22:40.231 - | Mnemonic: CpMp [2025-09-06T21:22:40.274Z] STF 21:22:40.231 - | Echo: ECHO_ON [2025-09-06T21:22:40.274Z] STF 21:22:40.231 - | Expectation: CLEAN_RUN within 1m [2025-09-06T21:22:40.274Z] STF 21:22:40.231 - | [2025-09-06T21:22:40.274Z] STF 21:22:40.232 - Running command: C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/java --module-path C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17571914456993/CpMpModJar2_1/20250906-212237-CpMpModJar2/modules/1.com.hi.jar -m com.hi everyone -XX:-UseCompressedOops [2025-09-06T21:22:40.274Z] STF 21:22:40.232 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17571914456993/CpMpModJar2_1/20250906-212237-CpMpModJar2/results/2.CpMp.stderr [2025-09-06T21:22:40.274Z] STF 21:22:40.232 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17571914456993/CpMpModJar2_1/20250906-212237-CpMpModJar2/results/2.CpMp.stdout [2025-09-06T21:22:40.274Z] STF 21:22:40.240 - Monitoring processes: CpMp [2025-09-06T21:22:40.571Z] CpMp Hi everyone [2025-09-06T21:22:40.571Z] STF 21:22:40.478 - Monitoring Report Summary: [2025-09-06T21:22:40.571Z] STF 21:22:40.478 - o Process CpMp ended with the expected exit code (0) [2025-09-06T21:22:40.571Z] STF 21:22:40.479 - [2025-09-06T21:22:40.571Z] STF 21:22:40.479 - +------ Step 3 - Check output [2025-09-06T21:22:40.571Z] STF 21:22:40.479 - | Count file matches [2025-09-06T21:22:40.571Z] STF 21:22:40.479 - | TargetFile: C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17571914456993/CpMpModJar2_1/20250906-212237-CpMpModJar2/results/2.CpMp.stdout [2025-09-06T21:22:40.571Z] STF 21:22:40.479 - | ExpectedNumMatches: 1 [2025-09-06T21:22:40.571Z] STF 21:22:40.479 - | SearchStrings: ["Hi everyone"] [2025-09-06T21:22:40.571Z] STF 21:22:40.479 - | [2025-09-06T21:22:40.571Z] STF 21:22:40.480 - Found 1 instances of ["Hi everyone"] [2025-09-06T21:22:40.571Z] STF 21:22:40.480 - EXECUTE stage completed [2025-09-06T21:22:40.571Z] STF 21:22:40.523 - [2025-09-06T21:22:40.571Z] STF 21:22:40.523 - ==================== T E A R D O W N ==================== [2025-09-06T21:22:40.571Z] STF 21:22:40.523 - Running teardown: perl C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17571914456993\CpMpModJar2_1/20250906-212237-CpMpModJar2/tearDown.pl [2025-09-06T21:22:41.208Z] STF 21:22:40.896 - TEARDOWN stage completed [2025-09-06T21:22:41.208Z] STF 21:22:40.927 - [2025-09-06T21:22:41.208Z] STF 21:22:40.927 - ===================== R E S U L T S ===================== [2025-09-06T21:22:41.208Z] STF 21:22:40.927 - Stage results: [2025-09-06T21:22:41.208Z] STF 21:22:40.927 - setUp: pass [2025-09-06T21:22:41.209Z] STF 21:22:40.927 - execute: pass [2025-09-06T21:22:41.209Z] STF 21:22:40.927 - teardown: pass [2025-09-06T21:22:41.209Z] STF 21:22:40.927 - [2025-09-06T21:22:41.209Z] STF 21:22:40.927 - Overall result: PASSED [2025-09-06T21:22:41.209Z] ----------------------------------- [2025-09-06T21:22:41.209Z] CpMpModJar2_1_PASSED [2025-09-06T21:22:41.209Z] ----------------------------------- [2025-09-06T21:22:41.209Z] [2025-09-06T21:22:41.209Z] TEST TEARDOWN: [2025-09-06T21:22:41.209Z] Nothing to be done for teardown. [2025-09-06T21:22:41.503Z] CpMpModJar2_1 Finish Time: Sat Sep 6 21:22:41 2025 Epoch Time (ms): 1757193761271