CpMpModJar2_0

[2026-01-08T21:16:20.648Z] Running test CpMpModJar2_0 ... [2026-01-08T21:16:20.648Z] =============================================== [2026-01-08T21:16:20.981Z] CpMpModJar2_0 Start Time: Thu Jan 8 21:16:20 2026 Epoch Time (ms): 1767906980716 [2026-01-08T21:16:20.981Z] variation: Mode150 [2026-01-08T21:16:21.366Z] JVM_OPTIONS: -XX:+UseCompressedOops [2026-01-08T21:16:21.366Z] { \ [2026-01-08T21:16:21.366Z] echo ""; echo "TEST SETUP:"; \ [2026-01-08T21:16:21.366Z] echo "Nothing to be done for setup."; \ [2026-01-08T21:16:21.366Z] mkdir -p "C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17679043985941\\CpMpModJar2_0"; \ [2026-01-08T21:16:21.366Z] cd "C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17679043985941\\CpMpModJar2_0"; \ [2026-01-08T21:16:21.366Z] echo ""; echo "TESTING:"; \ [2026-01-08T21:16:21.366Z] perl C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests///..//jvmtest\\system\\modularity/../\\STF\\stf.core\\scripts\\stf.pl -test-root="C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests///..//jvmtest\\system\\modularity/../\\STF;C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests///..//jvmtest\\system\\modularity/../\\aqa-systemtest""" -systemtest-prereqs="c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/../../externalDependency/system_lib\\" -java-args=' -XX:+UseCompressedOops ' -results-root="C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17679043985941\\CpMpModJar2_0" -test=CpMpModJar2; \ [2026-01-08T21:16:21.366Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "CpMpModJar2_0""_PASSED"; echo "-----------------------------------"; cd C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/; rm -f -r "C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17679043985941\\CpMpModJar2_0"; else echo "-----------------------------------"; echo "CpMpModJar2_0""_FAILED"; echo "-----------------------------------"; fi; \ [2026-01-08T21:16:21.366Z] echo ""; echo "TEST TEARDOWN:"; \ [2026-01-08T21:16:21.366Z] echo "Nothing to be done for teardown."; \ [2026-01-08T21:16:21.366Z] } 2>&1 | tee -a "C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17679043985941\\TestTargetResult"; [2026-01-08T21:16:21.366Z] [2026-01-08T21:16:21.366Z] TEST SETUP: [2026-01-08T21:16:21.366Z] Nothing to be done for setup. [2026-01-08T21:16:21.366Z] [2026-01-08T21:16:21.366Z] TESTING: [2026-01-08T21:16:21.694Z] STF 21:16:21.334 - ========================= S T F ========================= [2026-01-08T21:16:21.694Z] systemtest-prereqs has been processed, and set to: c:/jenkins/externalDependency/system_libRetrieving amount of free space on drive containing C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17679043985941\CpMpModJar2_0 [2026-01-08T21:16:21.694Z] There is 23599 Mb free [2026-01-08T21:16:21.694Z] STF 21:16:21.392 - ================== G E N E R A T I O N ================== [2026-01-08T21:16:21.694Z] STF 21:16:21.394 - Checking JVM: c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image [2026-01-08T21:16:21.694Z] STF 21:16:21.395 - Starting process to generate scripts: c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java -Dlog4j.skipJansi=true -Djava.system.class.loader=net.adoptopenjdk.stf.runner.StfClassLoader -Dload.agent.path=C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/jvmtest/system/STF/stf.core/scripts/../../stf.load/bin/stf.load.jar -classpath c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/../../externalDependency/system_lib\/asm/asm.jar;c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/../../externalDependency/system_lib\/asm/asm-commons.jar;c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/../../externalDependency/system_lib\/log4j/log4j-api.jar;c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/../../externalDependency/system_lib\/log4j/log4j-core.jar;C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17679043985941\CpMpModJar2_0/20260108-211621-CpMpModJar2/stf_parameters.properties, , C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17679043985941\CpMpModJar2_0/20260108-211621-CpMpModJar2" [2026-01-08T21:16:21.694Z] GEN stderr OpenJDK 64-Bit Server VM warning: Archived non-system classes are disabled because the java.system.class.loader property is specified (value = "net.adoptopenjdk.stf.runner.StfClassLoader"). To use archived non-system classes, this property must not be set [2026-01-08T21:16:22.818Z] GEN 21:16:22.456 - Found test. Project: 'openjdk.test.modularity' class: 'CpMpModJar2.class' Dir: 'C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin' [2026-01-08T21:16:22.818Z] GEN 21:16:22.479 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.CpMpModJar2' [2026-01-08T21:16:22.818Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2026-01-08T21:16:22.818Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayService [2026-01-08T21:16:22.818Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper [2026-01-08T21:16:22.818Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl1 [2026-01-08T21:16:22.819Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet [2026-01-08T21:16:22.819Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello [2026-01-08T21:16:22.819Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola [2026-01-08T21:16:22.819Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl2 [2026-01-08T21:16:22.819Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hi [2026-01-08T21:16:22.819Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override [2026-01-08T21:16:22.819Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override-new [2026-01-08T21:16:22.819Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl3 [2026-01-08T21:16:22.819Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl4 [2026-01-08T21:16:22.819Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common [2026-01-08T21:16:22.819Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests [2026-01-08T21:16:22.819Z] GEN C:\\jenkins\\workspace\\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin [2026-01-08T21:16:22.819Z] GEN C:\\jenkins\\workspace\\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\\jvmtest\\system\\STF\\stf.core\\bin [2026-01-08T21:16:22.819Z] GEN c:/jenkins/externalDependency/system_lib/log4j/log4j-api.jar [2026-01-08T21:16:22.819Z] GEN c:/jenkins/externalDependency/system_lib/log4j/log4j-core.jar [2026-01-08T21:16:22.819Z] GEN c:/jenkins/externalDependency/system_lib/junit/junit.jar [2026-01-08T21:16:22.819Z] GEN 21:16:22.723 - Using Mode NoOptions. Values = '' [2026-01-08T21:16:23.148Z] GEN 21:16:22.856 - [2026-01-08T21:16:23.149Z] GEN 21:16:22.857 - Test command summary: [2026-01-08T21:16:23.149Z] GEN 21:16:22.857 - Step Stage Command Description [2026-01-08T21:16:23.149Z] GEN 21:16:22.857 - -----+--------+-----------------+------------ [2026-01-08T21:16:23.149Z] GEN 21:16:22.857 - 1 execute jar Create com.hello jar [2026-01-08T21:16:23.149Z] GEN 21:16:22.858 - 2 execute Run java Run modularity test in Junit [2026-01-08T21:16:23.149Z] GEN 21:16:22.858 - 3 execute count Check output [2026-01-08T21:16:23.149Z] STF 21:16:22.914 - [2026-01-08T21:16:23.149Z] STF 21:16:22.914 - Script generation completed [2026-01-08T21:16:23.149Z] STF 21:16:22.914 - [2026-01-08T21:16:23.149Z] STF 21:16:22.915 - [2026-01-08T21:16:23.149Z] STF 21:16:22.915 - ======================= S E T U P ======================= [2026-01-08T21:16:23.149Z] STF 21:16:22.915 - Running setup: perl C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17679043985941\CpMpModJar2_0/20260108-211621-CpMpModJar2/setUp.pl [2026-01-08T21:16:23.149Z] STF 21:16:23.036 - SETUP stage completed [2026-01-08T21:16:23.149Z] STF 21:16:23.050 - [2026-01-08T21:16:23.149Z] STF 21:16:23.050 - ==================== E X E C U T E - ==================== [2026-01-08T21:16:23.149Z] STF 21:16:23.050 - Running execute: perl C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17679043985941\CpMpModJar2_0/20260108-211621-CpMpModJar2/execute.pl [2026-01-08T21:16:23.479Z] STF 21:16:23.179 - [2026-01-08T21:16:23.479Z] STF 21:16:23.179 - Java version [2026-01-08T21:16:23.479Z] STF 21:16:23.179 - Running: c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java -version [2026-01-08T21:16:23.479Z] openjdk version "17.0.18-beta" 2026-01-20 [2026-01-08T21:16:23.479Z] OpenJDK Runtime Environment Temurin-17.0.18+7-202601081530 (build 17.0.18-beta+7-202601081530) [2026-01-08T21:16:23.479Z] OpenJDK 64-Bit Server VM Temurin-17.0.18+7-202601081530 (build 17.0.18-beta+7-202601081530, mixed mode, sharing) [2026-01-08T21:16:23.479Z] STF 21:16:23.273 - [2026-01-08T21:16:23.479Z] STF 21:16:23.274 - +------ Step 1 - Create com.hello jar [2026-01-08T21:16:23.479Z] STF 21:16:23.274 - | Create modular jar [2026-01-08T21:16:23.479Z] STF 21:16:23.274 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hi [2026-01-08T21:16:23.479Z] STF 21:16:23.274 - | ModuleVersion: null [2026-01-08T21:16:23.479Z] STF 21:16:23.274 - | MainClass: adoptopenjdk.test.modularity.hi.Hi [2026-01-08T21:16:23.479Z] STF 21:16:23.274 - | HashModules: null [2026-01-08T21:16:23.479Z] STF 21:16:23.274 - | [2026-01-08T21:16:23.479Z] STF 21:16:23.274 - Running command: c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17679043985941/CpMpModJar2_0/20260108-211621-CpMpModJar2/modules/1.com.hi.jar --main-class=adoptopenjdk.test.modularity.hi.Hi -C C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hi . [2026-01-08T21:16:23.479Z] STF 21:16:23.274 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17679043985941/CpMpModJar2_0/20260108-211621-CpMpModJar2/results/1.CMJ.stderr [2026-01-08T21:16:23.480Z] STF 21:16:23.274 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17679043985941/CpMpModJar2_0/20260108-211621-CpMpModJar2/results/1.CMJ.stdout [2026-01-08T21:16:23.480Z] STF 21:16:23.347 - Monitoring processes: CMJ [2026-01-08T21:16:23.813Z] STF 21:16:23.681 - Monitoring Report Summary: [2026-01-08T21:16:23.813Z] STF 21:16:23.681 - o Process CMJ ended with the expected exit code (0) [2026-01-08T21:16:23.813Z] STF 21:16:23.681 - Created modular jar: 1.com.hi.jar [2026-01-08T21:16:23.813Z] STF 21:16:23.681 - [2026-01-08T21:16:23.813Z] STF 21:16:23.681 - +------ Step 2 - Run modularity test in Junit [2026-01-08T21:16:23.813Z] STF 21:16:23.681 - | Run foreground process [2026-01-08T21:16:23.813Z] STF 21:16:23.681 - | Program: c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java [2026-01-08T21:16:23.813Z] STF 21:16:23.681 - | Mnemonic: CpMp [2026-01-08T21:16:23.813Z] STF 21:16:23.681 - | Echo: ECHO_ON [2026-01-08T21:16:23.813Z] STF 21:16:23.681 - | Expectation: CLEAN_RUN within 1m [2026-01-08T21:16:23.813Z] STF 21:16:23.681 - | [2026-01-08T21:16:23.813Z] STF 21:16:23.682 - Running command: c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java --module-path C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17679043985941/CpMpModJar2_0/20260108-211621-CpMpModJar2/modules/1.com.hi.jar -m com.hi everyone -XX:+UseCompressedOops [2026-01-08T21:16:23.813Z] STF 21:16:23.682 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17679043985941/CpMpModJar2_0/20260108-211621-CpMpModJar2/results/2.CpMp.stderr [2026-01-08T21:16:23.813Z] STF 21:16:23.682 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17679043985941/CpMpModJar2_0/20260108-211621-CpMpModJar2/results/2.CpMp.stdout [2026-01-08T21:16:23.813Z] STF 21:16:23.689 - Monitoring processes: CpMp [2026-01-08T21:16:24.197Z] CpMp Hi everyone [2026-01-08T21:16:24.197Z] STF 21:16:23.902 - Monitoring Report Summary: [2026-01-08T21:16:24.197Z] STF 21:16:23.902 - o Process CpMp ended with the expected exit code (0) [2026-01-08T21:16:24.197Z] STF 21:16:23.902 - [2026-01-08T21:16:24.197Z] STF 21:16:23.902 - +------ Step 3 - Check output [2026-01-08T21:16:24.197Z] STF 21:16:23.902 - | Count file matches [2026-01-08T21:16:24.197Z] STF 21:16:23.902 - | TargetFile: C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17679043985941/CpMpModJar2_0/20260108-211621-CpMpModJar2/results/2.CpMp.stdout [2026-01-08T21:16:24.197Z] STF 21:16:23.902 - | ExpectedNumMatches: 1 [2026-01-08T21:16:24.197Z] STF 21:16:23.902 - | SearchStrings: ["Hi everyone"] [2026-01-08T21:16:24.197Z] STF 21:16:23.902 - | [2026-01-08T21:16:24.197Z] STF 21:16:23.902 - Found 1 instances of ["Hi everyone"] [2026-01-08T21:16:24.197Z] STF 21:16:23.902 - EXECUTE stage completed [2026-01-08T21:16:24.197Z] STF 21:16:23.929 - [2026-01-08T21:16:24.197Z] STF 21:16:23.929 - ==================== T E A R D O W N ==================== [2026-01-08T21:16:24.197Z] STF 21:16:23.929 - Running teardown: perl C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17679043985941\CpMpModJar2_0/20260108-211621-CpMpModJar2/tearDown.pl [2026-01-08T21:16:24.198Z] STF 21:16:24.052 - TEARDOWN stage completed [2026-01-08T21:16:24.198Z] STF 21:16:24.071 - [2026-01-08T21:16:24.198Z] STF 21:16:24.071 - ===================== R E S U L T S ===================== [2026-01-08T21:16:24.198Z] STF 21:16:24.071 - Stage results: [2026-01-08T21:16:24.198Z] STF 21:16:24.071 - setUp: pass [2026-01-08T21:16:24.198Z] STF 21:16:24.071 - execute: pass [2026-01-08T21:16:24.198Z] STF 21:16:24.071 - teardown: pass [2026-01-08T21:16:24.198Z] STF 21:16:24.071 - [2026-01-08T21:16:24.198Z] STF 21:16:24.071 - Overall result: PASSED [2026-01-08T21:16:24.198Z] ----------------------------------- [2026-01-08T21:16:24.198Z] CpMpModJar2_0_PASSED [2026-01-08T21:16:24.198Z] ----------------------------------- [2026-01-08T21:16:24.198Z] [2026-01-08T21:16:24.198Z] TEST TEARDOWN: [2026-01-08T21:16:24.198Z] Nothing to be done for teardown. [2026-01-08T21:16:24.577Z] CpMpModJar2_0 Finish Time: Thu Jan 8 21:16:24 2026 Epoch Time (ms): 1767906984301