CpMpModJar2_2

[2025-06-19T11:14:14.586Z] Running test CpMpModJar2_2 ... [2025-06-19T11:14:14.586Z] =============================================== [2025-06-19T11:14:14.895Z] CpMpModJar2_2 Start Time: Thu Jun 19 11:14:14 2025 Epoch Time (ms): 1750331654619 [2025-06-19T11:14:14.895Z] variation: Mode1000 [2025-06-19T11:14:15.252Z] JVM_OPTIONS: [2025-06-19T11:14:15.252Z] { \ [2025-06-19T11:14:15.252Z] echo ""; echo "TEST SETUP:"; \ [2025-06-19T11:14:15.252Z] echo "Nothing to be done for setup."; \ [2025-06-19T11:14:15.252Z] mkdir -p "C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_1/aqa-tests/\\TKG\\output_17503303853209\\CpMpModJar2_2"; \ [2025-06-19T11:14:15.252Z] cd "C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_1/aqa-tests/\\TKG\\output_17503303853209\\CpMpModJar2_2"; \ [2025-06-19T11:14:15.252Z] echo ""; echo "TESTING:"; \ [2025-06-19T11:14:15.252Z] perl C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_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-32_windows_testList_1/aqa-tests///..//jvmtest\\system\\modularity/../\\STF;C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_1/aqa-tests///..//jvmtest\\system\\modularity/../\\aqa-systemtest""" -systemtest-prereqs="c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_1/../../testDependency/system_lib\\" -java-args=' ' -results-root="C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_1/aqa-tests/\\TKG\\output_17503303853209\\CpMpModJar2_2" -test=CpMpModJar2; \ [2025-06-19T11:14:15.253Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "CpMpModJar2_2""_PASSED"; echo "-----------------------------------"; cd C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_1/aqa-tests/; rm -f -r "C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_1/aqa-tests/\\TKG\\output_17503303853209\\CpMpModJar2_2"; else echo "-----------------------------------"; echo "CpMpModJar2_2""_FAILED"; echo "-----------------------------------"; fi; \ [2025-06-19T11:14:15.253Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-06-19T11:14:15.253Z] echo "Nothing to be done for teardown."; \ [2025-06-19T11:14:15.253Z] } 2>&1 | tee -a "C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_1/aqa-tests/\\TKG\\output_17503303853209\\TestTargetResult"; [2025-06-19T11:14:15.253Z] [2025-06-19T11:14:15.253Z] TEST SETUP: [2025-06-19T11:14:15.253Z] Nothing to be done for setup. [2025-06-19T11:14:15.253Z] [2025-06-19T11:14:15.253Z] TESTING: [2025-06-19T11:14:15.582Z] STF 11:14:15.291 - ========================= S T F ========================= [2025-06-19T11:14:15.582Z] systemtest-prereqs has been processed, and set to: c:/jenkins/testDependency/system_libRetrieving amount of free space on drive containing C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_1/aqa-tests/\TKG\output_17503303853209\CpMpModJar2_2 [2025-06-19T11:14:15.582Z] There is 388894 Mb free [2025-06-19T11:14:15.582Z] STF 11:14:15.343 - ================== G E N E R A T I O N ================== [2025-06-19T11:14:15.582Z] STF 11:14:15.345 - Checking JVM: c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_1/jdkbinary/j2sdk-image [2025-06-19T11:14:15.582Z] STF 11:14:15.346 - Starting process to generate scripts: c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_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-32_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-32_windows_testList_1/../../testDependency/system_lib\/asm/asm.jar;c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_1/../../testDependency/system_lib\/asm/asm-commons.jar;c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_1/../../testDependency/system_lib\/log4j/log4j-api.jar;c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_1/../../testDependency/system_lib\/log4j/log4j-core.jar;C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_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-32_windows_testList_1/aqa-tests/\TKG\output_17503303853209\CpMpModJar2_2/20250619-111415-CpMpModJar2/stf_parameters.properties, , C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_1/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_1/aqa-tests/\TKG\output_17503303853209\CpMpModJar2_2/20250619-111415-CpMpModJar2" [2025-06-19T11:14:16.689Z] GEN 11:14:16.384 - Found test. Project: 'openjdk.test.modularity' class: 'CpMpModJar2.class' Dir: 'C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin' [2025-06-19T11:14:16.689Z] GEN 11:14:16.398 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.CpMpModJar2' [2025-06-19T11:14:16.689Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2025-06-19T11:14:16.689Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayService [2025-06-19T11:14:16.689Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper [2025-06-19T11:14:16.689Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl1 [2025-06-19T11:14:16.689Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet [2025-06-19T11:14:16.689Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello [2025-06-19T11:14:16.689Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola [2025-06-19T11:14:16.689Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl2 [2025-06-19T11:14:16.689Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hi [2025-06-19T11:14:16.689Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override [2025-06-19T11:14:16.689Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override-new [2025-06-19T11:14:16.689Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl3 [2025-06-19T11:14:16.689Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl4 [2025-06-19T11:14:16.689Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common [2025-06-19T11:14:16.689Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests [2025-06-19T11:14:16.689Z] GEN C:\\jenkins\\workspace\\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_1\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin [2025-06-19T11:14:16.689Z] GEN C:\\jenkins\\workspace\\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_1\\jvmtest\\system\\STF\\stf.core\\bin [2025-06-19T11:14:16.689Z] GEN c:/jenkins/testDependency/system_lib/log4j/log4j-api.jar [2025-06-19T11:14:16.689Z] GEN c:/jenkins/testDependency/system_lib/log4j/log4j-core.jar [2025-06-19T11:14:16.689Z] GEN c:/jenkins/testDependency/system_lib/junit/junit.jar [2025-06-19T11:14:17.014Z] GEN 11:14:16.666 - Using Mode NoOptions. Values = '' [2025-06-19T11:14:17.014Z] GEN 11:14:16.771 - [2025-06-19T11:14:17.014Z] GEN 11:14:16.772 - Test command summary: [2025-06-19T11:14:17.014Z] GEN 11:14:16.772 - Step Stage Command Description [2025-06-19T11:14:17.014Z] GEN 11:14:16.772 - -----+--------+-----------------+------------ [2025-06-19T11:14:17.014Z] GEN 11:14:16.772 - 1 execute jar Create com.hello jar [2025-06-19T11:14:17.014Z] GEN 11:14:16.772 - 2 execute Run java Run modularity test in Junit [2025-06-19T11:14:17.014Z] GEN 11:14:16.772 - 3 execute count Check output [2025-06-19T11:14:17.014Z] STF 11:14:16.795 - [2025-06-19T11:14:17.014Z] STF 11:14:16.795 - Script generation completed [2025-06-19T11:14:17.014Z] STF 11:14:16.795 - [2025-06-19T11:14:17.014Z] STF 11:14:16.802 - [2025-06-19T11:14:17.014Z] STF 11:14:16.802 - ======================= S E T U P ======================= [2025-06-19T11:14:17.014Z] STF 11:14:16.802 - Running setup: perl C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_1/aqa-tests/\TKG\output_17503303853209\CpMpModJar2_2/20250619-111415-CpMpModJar2/setUp.pl [2025-06-19T11:14:17.014Z] STF 11:14:16.959 - SETUP stage completed [2025-06-19T11:14:17.014Z] STF 11:14:16.975 - [2025-06-19T11:14:17.014Z] STF 11:14:16.975 - ==================== E X E C U T E - ==================== [2025-06-19T11:14:17.014Z] STF 11:14:16.975 - Running execute: perl C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_1/aqa-tests/\TKG\output_17503303853209\CpMpModJar2_2/20250619-111415-CpMpModJar2/execute.pl [2025-06-19T11:14:17.343Z] STF 11:14:17.149 - [2025-06-19T11:14:17.343Z] STF 11:14:17.149 - Java version [2025-06-19T11:14:17.343Z] STF 11:14:17.149 - Running: c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_1/jdkbinary/j2sdk-image/bin/java -version [2025-06-19T11:14:17.343Z] openjdk version "17.0.16-beta" 2025-07-15 [2025-06-19T11:14:17.343Z] OpenJDK Runtime Environment Temurin-17.0.16+7-202506181940 (build 17.0.16-beta+7-ea) [2025-06-19T11:14:17.343Z] OpenJDK Client VM Temurin-17.0.16+7-202506181940 (build 17.0.16-beta+7-ea, mixed mode, emulated-client) [2025-06-19T11:14:17.343Z] STF 11:14:17.273 - [2025-06-19T11:14:17.343Z] STF 11:14:17.273 - +------ Step 1 - Create com.hello jar [2025-06-19T11:14:17.343Z] STF 11:14:17.273 - | Create modular jar [2025-06-19T11:14:17.343Z] STF 11:14:17.273 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hi [2025-06-19T11:14:17.343Z] STF 11:14:17.273 - | ModuleVersion: null [2025-06-19T11:14:17.343Z] STF 11:14:17.273 - | MainClass: adoptopenjdk.test.modularity.hi.Hi [2025-06-19T11:14:17.343Z] STF 11:14:17.273 - | HashModules: null [2025-06-19T11:14:17.343Z] STF 11:14:17.273 - | [2025-06-19T11:14:17.343Z] STF 11:14:17.273 - Running command: c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_1/aqa-tests/TKG/output_17503303853209/CpMpModJar2_2/20250619-111415-CpMpModJar2/modules/1.com.hi.jar --main-class=adoptopenjdk.test.modularity.hi.Hi -C C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hi . [2025-06-19T11:14:17.343Z] STF 11:14:17.274 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_1/aqa-tests/TKG/output_17503303853209/CpMpModJar2_2/20250619-111415-CpMpModJar2/results/1.CMJ.stderr [2025-06-19T11:14:17.343Z] STF 11:14:17.274 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_1/aqa-tests/TKG/output_17503303853209/CpMpModJar2_2/20250619-111415-CpMpModJar2/results/1.CMJ.stdout [2025-06-19T11:14:17.673Z] STF 11:14:17.328 - Monitoring processes: CMJ [2025-06-19T11:14:18.010Z] STF 11:14:17.696 - Monitoring Report Summary: [2025-06-19T11:14:18.010Z] STF 11:14:17.696 - o Process CMJ ended with the expected exit code (0) [2025-06-19T11:14:18.010Z] STF 11:14:17.697 - Created modular jar: 1.com.hi.jar [2025-06-19T11:14:18.010Z] STF 11:14:17.697 - [2025-06-19T11:14:18.010Z] STF 11:14:17.697 - +------ Step 2 - Run modularity test in Junit [2025-06-19T11:14:18.010Z] STF 11:14:17.697 - | Run foreground process [2025-06-19T11:14:18.010Z] STF 11:14:17.697 - | Program: c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_1/jdkbinary/j2sdk-image/bin/java [2025-06-19T11:14:18.010Z] STF 11:14:17.697 - | Mnemonic: CpMp [2025-06-19T11:14:18.010Z] STF 11:14:17.697 - | Echo: ECHO_ON [2025-06-19T11:14:18.010Z] STF 11:14:17.697 - | Expectation: CLEAN_RUN within 1m [2025-06-19T11:14:18.010Z] STF 11:14:17.697 - | [2025-06-19T11:14:18.010Z] STF 11:14:17.713 - Running command: c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_1/jdkbinary/j2sdk-image/bin/java --module-path C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_1/aqa-tests/TKG/output_17503303853209/CpMpModJar2_2/20250619-111415-CpMpModJar2/modules/1.com.hi.jar -m com.hi everyone [2025-06-19T11:14:18.010Z] STF 11:14:17.713 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_1/aqa-tests/TKG/output_17503303853209/CpMpModJar2_2/20250619-111415-CpMpModJar2/results/2.CpMp.stderr [2025-06-19T11:14:18.010Z] STF 11:14:17.713 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_1/aqa-tests/TKG/output_17503303853209/CpMpModJar2_2/20250619-111415-CpMpModJar2/results/2.CpMp.stdout [2025-06-19T11:14:18.010Z] STF 11:14:17.734 - Monitoring processes: CpMp [2025-06-19T11:14:18.010Z] CpMp Hi everyone [2025-06-19T11:14:18.010Z] STF 11:14:17.955 - Monitoring Report Summary: [2025-06-19T11:14:18.010Z] STF 11:14:17.955 - o Process CpMp ended with the expected exit code (0) [2025-06-19T11:14:18.010Z] STF 11:14:17.955 - [2025-06-19T11:14:18.010Z] STF 11:14:17.955 - +------ Step 3 - Check output [2025-06-19T11:14:18.010Z] STF 11:14:17.955 - | Count file matches [2025-06-19T11:14:18.010Z] STF 11:14:17.955 - | TargetFile: C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_1/aqa-tests/TKG/output_17503303853209/CpMpModJar2_2/20250619-111415-CpMpModJar2/results/2.CpMp.stdout [2025-06-19T11:14:18.010Z] STF 11:14:17.955 - | ExpectedNumMatches: 1 [2025-06-19T11:14:18.010Z] STF 11:14:17.955 - | SearchStrings: ["Hi everyone"] [2025-06-19T11:14:18.010Z] STF 11:14:17.955 - | [2025-06-19T11:14:18.010Z] STF 11:14:17.956 - Found 1 instances of ["Hi everyone"] [2025-06-19T11:14:18.010Z] STF 11:14:17.956 - EXECUTE stage completed [2025-06-19T11:14:18.324Z] STF 11:14:17.985 - [2025-06-19T11:14:18.324Z] STF 11:14:17.985 - ==================== T E A R D O W N ==================== [2025-06-19T11:14:18.324Z] STF 11:14:17.985 - Running teardown: perl C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_1/aqa-tests/\TKG\output_17503303853209\CpMpModJar2_2/20250619-111415-CpMpModJar2/tearDown.pl [2025-06-19T11:14:18.324Z] STF 11:14:18.155 - TEARDOWN stage completed [2025-06-19T11:14:18.324Z] STF 11:14:18.173 - [2025-06-19T11:14:18.324Z] STF 11:14:18.173 - ===================== R E S U L T S ===================== [2025-06-19T11:14:18.324Z] STF 11:14:18.173 - Stage results: [2025-06-19T11:14:18.324Z] STF 11:14:18.173 - setUp: pass [2025-06-19T11:14:18.324Z] STF 11:14:18.173 - execute: pass [2025-06-19T11:14:18.324Z] STF 11:14:18.173 - teardown: pass [2025-06-19T11:14:18.324Z] STF 11:14:18.173 - [2025-06-19T11:14:18.324Z] STF 11:14:18.173 - Overall result: PASSED [2025-06-19T11:14:18.324Z] ----------------------------------- [2025-06-19T11:14:18.324Z] CpMpModJar2_2_PASSED [2025-06-19T11:14:18.324Z] ----------------------------------- [2025-06-19T11:14:18.324Z] [2025-06-19T11:14:18.324Z] TEST TEARDOWN: [2025-06-19T11:14:18.324Z] Nothing to be done for teardown. [2025-06-19T11:14:18.644Z] CpMpModJar2_2 Finish Time: Thu Jun 19 11:14:18 2025 Epoch Time (ms): 1750331658396