CpMpModJar2_0

[2025-10-17T03:14:39.058Z] Running test CpMpModJar2_0 ... [2025-10-17T03:14:39.356Z] =============================================== [2025-10-17T03:14:39.710Z] CpMpModJar2_0 Start Time: Fri Oct 17 03:14:39 2025 Epoch Time (ms): 1760670879504 [2025-10-17T03:14:40.007Z] variation: Mode150 [2025-10-17T03:14:40.305Z] JVM_OPTIONS: -XX:+UseCompressedOops [2025-10-17T03:14:40.305Z] { \ [2025-10-17T03:14:40.305Z] echo ""; echo "TEST SETUP:"; \ [2025-10-17T03:14:40.305Z] echo "Nothing to be done for setup."; \ [2025-10-17T03:14:40.305Z] mkdir -p "C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17606687828143\\CpMpModJar2_0"; \ [2025-10-17T03:14:40.305Z] cd "C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17606687828143\\CpMpModJar2_0"; \ [2025-10-17T03:14:40.305Z] echo ""; echo "TESTING:"; \ [2025-10-17T03:14:40.305Z] 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_17606687828143\\CpMpModJar2_0" -test=CpMpModJar2; \ [2025-10-17T03:14:40.305Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "CpMpModJar2_0""_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_17606687828143\\CpMpModJar2_0"; else echo "-----------------------------------"; echo "CpMpModJar2_0""_FAILED"; echo "-----------------------------------"; fi; \ [2025-10-17T03:14:40.305Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-10-17T03:14:40.305Z] echo "Nothing to be done for teardown."; \ [2025-10-17T03:14:40.305Z] } 2>&1 | tee -a "C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17606687828143\\TestTargetResult"; [2025-10-17T03:14:40.602Z] [2025-10-17T03:14:40.602Z] TEST SETUP: [2025-10-17T03:14:40.602Z] Nothing to be done for setup. [2025-10-17T03:14:40.602Z] [2025-10-17T03:14:40.602Z] TESTING: [2025-10-17T03:14:40.900Z] STF 03:14:40.828 - ========================= S T F ========================= [2025-10-17T03:14:40.900Z] 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_17606687828143\CpMpModJar2_0 [2025-10-17T03:14:41.197Z] There is 65868 Mb free [2025-10-17T03:14:41.197Z] STF 03:14:40.918 - ================== G E N E R A T I O N ================== [2025-10-17T03:14:41.197Z] STF 03:14:40.923 - Checking JVM: C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image [2025-10-17T03:14:41.197Z] STF 03:14:40.924 - 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_17606687828143\CpMpModJar2_0/20251017-031440-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_17606687828143\CpMpModJar2_0/20251017-031440-CpMpModJar2" [2025-10-17T03:14:42.249Z] GEN 03:14:42.112 - 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-10-17T03:14:42.249Z] GEN 03:14:42.128 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.CpMpModJar2' [2025-10-17T03:14:42.546Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2025-10-17T03:14:42.546Z] 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-10-17T03:14:42.546Z] 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-10-17T03:14:42.546Z] 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-10-17T03:14:42.546Z] 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-10-17T03:14:42.546Z] 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-10-17T03:14:42.546Z] 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-10-17T03:14:42.546Z] 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-10-17T03:14:42.546Z] 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-10-17T03:14:42.546Z] 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-10-17T03:14:42.546Z] 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-10-17T03:14:42.546Z] 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-10-17T03:14:42.546Z] 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-10-17T03:14:42.546Z] GEN C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common [2025-10-17T03:14:42.546Z] GEN C:\Users\jenkins\workspace\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests [2025-10-17T03:14:42.546Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin [2025-10-17T03:14:42.546Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1\\jvmtest\\system\\STF\\stf.core\\bin [2025-10-17T03:14:42.546Z] GEN C:/Users/jenkins/externalDependency/system_lib/log4j/log4j-api.jar [2025-10-17T03:14:42.546Z] GEN C:/Users/jenkins/externalDependency/system_lib/log4j/log4j-core.jar [2025-10-17T03:14:42.546Z] GEN C:/Users/jenkins/externalDependency/system_lib/junit/junit.jar [2025-10-17T03:14:42.546Z] GEN 03:14:42.379 - Using Mode NoOptions. Values = '' [2025-10-17T03:14:42.546Z] GEN 03:14:42.455 - [2025-10-17T03:14:42.546Z] GEN 03:14:42.455 - Test command summary: [2025-10-17T03:14:42.546Z] GEN 03:14:42.455 - Step Stage Command Description [2025-10-17T03:14:42.546Z] GEN 03:14:42.455 - -----+--------+-----------------+------------ [2025-10-17T03:14:42.546Z] GEN 03:14:42.455 - 1 execute jar Create com.hello jar [2025-10-17T03:14:42.546Z] GEN 03:14:42.455 - 2 execute Run java Run modularity test in Junit [2025-10-17T03:14:42.546Z] GEN 03:14:42.455 - 3 execute count Check output [2025-10-17T03:14:42.546Z] STF 03:14:42.497 - [2025-10-17T03:14:42.546Z] STF 03:14:42.497 - Script generation completed [2025-10-17T03:14:42.546Z] STF 03:14:42.497 - [2025-10-17T03:14:42.546Z] STF 03:14:42.500 - [2025-10-17T03:14:42.546Z] STF 03:14:42.500 - ======================= S E T U P ======================= [2025-10-17T03:14:42.546Z] STF 03:14:42.500 - Running setup: perl C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17606687828143\CpMpModJar2_0/20251017-031440-CpMpModJar2/setUp.pl [2025-10-17T03:14:43.189Z] STF 03:14:42.901 - SETUP stage completed [2025-10-17T03:14:43.189Z] STF 03:14:42.945 - [2025-10-17T03:14:43.189Z] STF 03:14:42.945 - ==================== E X E C U T E - ==================== [2025-10-17T03:14:43.189Z] STF 03:14:42.945 - Running execute: perl C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17606687828143\CpMpModJar2_0/20251017-031440-CpMpModJar2/execute.pl [2025-10-17T03:14:43.500Z] STF 03:14:43.353 - [2025-10-17T03:14:43.500Z] STF 03:14:43.354 - Java version [2025-10-17T03:14:43.500Z] STF 03:14:43.354 - Running: C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/java -version [2025-10-17T03:14:43.798Z] STF 03:14:43.487 - [2025-10-17T03:14:43.798Z] STF 03:14:43.488 - +------ Step 1 - Create com.hello jar [2025-10-17T03:14:43.798Z] STF 03:14:43.488 - | Create modular jar [2025-10-17T03:14:43.798Z] STF 03:14:43.488 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hi [2025-10-17T03:14:43.798Z] STF 03:14:43.488 - | ModuleVersion: null [2025-10-17T03:14:43.798Z] STF 03:14:43.488 - | MainClass: adoptopenjdk.test.modularity.hi.Hi [2025-10-17T03:14:43.798Z] STF 03:14:43.488 - | HashModules: null [2025-10-17T03:14:43.798Z] STF 03:14:43.488 - | [2025-10-17T03:14:43.798Z] STF 03:14:43.489 - 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_17606687828143/CpMpModJar2_0/20251017-031440-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-10-17T03:14:43.798Z] STF 03:14:43.489 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17606687828143/CpMpModJar2_0/20251017-031440-CpMpModJar2/results/1.CMJ.stderr [2025-10-17T03:14:43.798Z] STF 03:14:43.489 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17606687828143/CpMpModJar2_0/20251017-031440-CpMpModJar2/results/1.CMJ.stdout [2025-10-17T03:14:43.798Z] openjdk version "25" 2025-09-16 LTS [2025-10-17T03:14:43.798Z] OpenJDK Runtime Environment Temurin-25+36 (build 25+36-LTS) [2025-10-17T03:14:43.798Z] OpenJDK 64-Bit Server VM Temurin-25+36 (build 25+36-LTS, mixed mode) [2025-10-17T03:14:43.798Z] STF 03:14:43.561 - Monitoring processes: CMJ [2025-10-17T03:14:44.096Z] STF 03:14:43.927 - Monitoring Report Summary: [2025-10-17T03:14:44.096Z] STF 03:14:43.927 - o Process CMJ ended with the expected exit code (0) [2025-10-17T03:14:44.096Z] STF 03:14:43.928 - Created modular jar: 1.com.hi.jar [2025-10-17T03:14:44.096Z] STF 03:14:43.928 - [2025-10-17T03:14:44.096Z] STF 03:14:43.928 - +------ Step 2 - Run modularity test in Junit [2025-10-17T03:14:44.096Z] STF 03:14:43.928 - | Run foreground process [2025-10-17T03:14:44.096Z] STF 03:14:43.928 - | Program: C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/java [2025-10-17T03:14:44.096Z] STF 03:14:43.928 - | Mnemonic: CpMp [2025-10-17T03:14:44.096Z] STF 03:14:43.928 - | Echo: ECHO_ON [2025-10-17T03:14:44.096Z] STF 03:14:43.928 - | Expectation: CLEAN_RUN within 1m [2025-10-17T03:14:44.096Z] STF 03:14:43.928 - | [2025-10-17T03:14:44.096Z] STF 03:14:43.929 - 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_17606687828143/CpMpModJar2_0/20251017-031440-CpMpModJar2/modules/1.com.hi.jar -m com.hi everyone -XX:+UseCompressedOops [2025-10-17T03:14:44.096Z] STF 03:14:43.929 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17606687828143/CpMpModJar2_0/20251017-031440-CpMpModJar2/results/2.CpMp.stderr [2025-10-17T03:14:44.096Z] STF 03:14:43.929 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17606687828143/CpMpModJar2_0/20251017-031440-CpMpModJar2/results/2.CpMp.stdout [2025-10-17T03:14:44.096Z] STF 03:14:43.937 - Monitoring processes: CpMp [2025-10-17T03:14:44.392Z] CpMp Hi everyone [2025-10-17T03:14:44.392Z] STF 03:14:44.156 - Monitoring Report Summary: [2025-10-17T03:14:44.392Z] STF 03:14:44.156 - o Process CpMp ended with the expected exit code (0) [2025-10-17T03:14:44.392Z] STF 03:14:44.157 - [2025-10-17T03:14:44.392Z] STF 03:14:44.157 - +------ Step 3 - Check output [2025-10-17T03:14:44.392Z] STF 03:14:44.157 - | Count file matches [2025-10-17T03:14:44.392Z] STF 03:14:44.157 - | TargetFile: C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17606687828143/CpMpModJar2_0/20251017-031440-CpMpModJar2/results/2.CpMp.stdout [2025-10-17T03:14:44.392Z] STF 03:14:44.157 - | ExpectedNumMatches: 1 [2025-10-17T03:14:44.392Z] STF 03:14:44.157 - | SearchStrings: ["Hi everyone"] [2025-10-17T03:14:44.392Z] STF 03:14:44.157 - | [2025-10-17T03:14:44.392Z] STF 03:14:44.164 - Found 1 instances of ["Hi everyone"] [2025-10-17T03:14:44.392Z] STF 03:14:44.164 - EXECUTE stage completed [2025-10-17T03:14:44.392Z] STF 03:14:44.224 - [2025-10-17T03:14:44.392Z] STF 03:14:44.224 - ==================== T E A R D O W N ==================== [2025-10-17T03:14:44.392Z] STF 03:14:44.224 - Running teardown: perl C:/Users/jenkins/workspace/Test_openjdk25_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17606687828143\CpMpModJar2_0/20251017-031440-CpMpModJar2/tearDown.pl [2025-10-17T03:14:44.690Z] STF 03:14:44.615 - TEARDOWN stage completed [2025-10-17T03:14:44.690Z] STF 03:14:44.655 - [2025-10-17T03:14:44.690Z] STF 03:14:44.655 - ===================== R E S U L T S ===================== [2025-10-17T03:14:44.690Z] STF 03:14:44.655 - Stage results: [2025-10-17T03:14:44.690Z] STF 03:14:44.655 - setUp: pass [2025-10-17T03:14:44.690Z] STF 03:14:44.655 - execute: pass [2025-10-17T03:14:44.690Z] STF 03:14:44.656 - teardown: pass [2025-10-17T03:14:44.690Z] STF 03:14:44.656 - [2025-10-17T03:14:44.690Z] STF 03:14:44.656 - Overall result: PASSED [2025-10-17T03:14:45.065Z] ----------------------------------- [2025-10-17T03:14:45.065Z] CpMpModJar2_0_PASSED [2025-10-17T03:14:45.065Z] ----------------------------------- [2025-10-17T03:14:45.065Z] [2025-10-17T03:14:45.065Z] TEST TEARDOWN: [2025-10-17T03:14:45.065Z] Nothing to be done for teardown. [2025-10-17T03:14:45.569Z] CpMpModJar2_0 Finish Time: Fri Oct 17 03:14:45 2025 Epoch Time (ms): 1760670885238