CpMpModJar2_2

[2025-06-12T23:29:38.272Z] Running test CpMpModJar2_2 ... [2025-06-12T23:29:38.272Z] =============================================== [2025-06-12T23:29:38.613Z] CpMpModJar2_2 Start Time: Thu Jun 12 23:29:38 2025 Epoch Time (ms): 1749770978334 [2025-06-12T23:29:38.613Z] variation: Mode1000 [2025-06-12T23:29:38.613Z] JVM_OPTIONS: [2025-06-12T23:29:38.613Z] { \ [2025-06-12T23:29:38.613Z] echo ""; echo "TEST SETUP:"; \ [2025-06-12T23:29:38.613Z] echo "Nothing to be done for setup."; \ [2025-06-12T23:29:38.613Z] mkdir -p "C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2/aqa-tests/\\TKG\\output_17497699984018\\CpMpModJar2_2"; \ [2025-06-12T23:29:38.613Z] cd "C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2/aqa-tests/\\TKG\\output_17497699984018\\CpMpModJar2_2"; \ [2025-06-12T23:29:38.613Z] echo ""; echo "TESTING:"; \ [2025-06-12T23:29:38.613Z] perl C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2/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_2/aqa-tests///..//jvmtest\\system\\modularity/../\\STF;C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2/aqa-tests///..//jvmtest\\system\\modularity/../\\aqa-systemtest""" -systemtest-prereqs="c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2/../../testDependency/system_lib\\" -java-args=' ' -results-root="C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2/aqa-tests/\\TKG\\output_17497699984018\\CpMpModJar2_2" -test=CpMpModJar2; \ [2025-06-12T23:29:38.613Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "CpMpModJar2_2""_PASSED"; echo "-----------------------------------"; cd C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2/aqa-tests/; rm -f -r "C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2/aqa-tests/\\TKG\\output_17497699984018\\CpMpModJar2_2"; else echo "-----------------------------------"; echo "CpMpModJar2_2""_FAILED"; echo "-----------------------------------"; fi; \ [2025-06-12T23:29:38.613Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-06-12T23:29:38.613Z] echo "Nothing to be done for teardown."; \ [2025-06-12T23:29:38.613Z] } 2>&1 | tee -a "C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2/aqa-tests/\\TKG\\output_17497699984018\\TestTargetResult"; [2025-06-12T23:29:38.938Z] [2025-06-12T23:29:38.938Z] TEST SETUP: [2025-06-12T23:29:38.938Z] Nothing to be done for setup. [2025-06-12T23:29:38.938Z] [2025-06-12T23:29:38.938Z] TESTING: [2025-06-12T23:29:38.938Z] STF 23:29:38.786 - ========================= S T F ========================= [2025-06-12T23:29:38.938Z] 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_2/aqa-tests/\TKG\output_17497699984018\CpMpModJar2_2 [2025-06-12T23:29:38.938Z] There is 107609 Mb free [2025-06-12T23:29:38.938Z] STF 23:29:38.833 - ================== G E N E R A T I O N ================== [2025-06-12T23:29:38.938Z] STF 23:29:38.835 - Checking JVM: c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2/jdkbinary/j2sdk-image [2025-06-12T23:29:38.938Z] STF 23:29:38.835 - Starting process to generate scripts: c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2/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_2/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_2/../../testDependency/system_lib\/asm/asm.jar;c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2/../../testDependency/system_lib\/asm/asm-commons.jar;c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2/../../testDependency/system_lib\/log4j/log4j-api.jar;c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2/../../testDependency/system_lib\/log4j/log4j-core.jar;C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2/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_2/aqa-tests/\TKG\output_17497699984018\CpMpModJar2_2/20250612-232938-CpMpModJar2/stf_parameters.properties, , C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2/aqa-tests/\TKG\output_17497699984018\CpMpModJar2_2/20250612-232938-CpMpModJar2" [2025-06-12T23:29:39.619Z] GEN 23:29:39.534 - Found test. Project: 'openjdk.test.modularity' class: 'CpMpModJar2.class' Dir: 'C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin' [2025-06-12T23:29:39.619Z] GEN 23:29:39.543 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.CpMpModJar2' [2025-06-12T23:29:39.944Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2025-06-12T23:29:39.944Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayService [2025-06-12T23:29:39.944Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper [2025-06-12T23:29:39.944Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl1 [2025-06-12T23:29:39.944Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet [2025-06-12T23:29:39.944Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello [2025-06-12T23:29:39.944Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola [2025-06-12T23:29:39.944Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl2 [2025-06-12T23:29:39.944Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hi [2025-06-12T23:29:39.944Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override [2025-06-12T23:29:39.944Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override-new [2025-06-12T23:29:39.944Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl3 [2025-06-12T23:29:39.944Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl4 [2025-06-12T23:29:39.944Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common [2025-06-12T23:29:39.944Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests [2025-06-12T23:29:39.944Z] GEN C:\\jenkins\\workspace\\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin [2025-06-12T23:29:39.944Z] GEN C:\\jenkins\\workspace\\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2\\jvmtest\\system\\STF\\stf.core\\bin [2025-06-12T23:29:39.944Z] GEN c:/jenkins/testDependency/system_lib/log4j/log4j-api.jar [2025-06-12T23:29:39.944Z] GEN c:/jenkins/testDependency/system_lib/log4j/log4j-core.jar [2025-06-12T23:29:39.944Z] GEN c:/jenkins/testDependency/system_lib/junit/junit.jar [2025-06-12T23:29:39.944Z] GEN 23:29:39.732 - Using Mode NoOptions. Values = '' [2025-06-12T23:29:39.944Z] GEN 23:29:39.795 - [2025-06-12T23:29:39.944Z] GEN 23:29:39.795 - Test command summary: [2025-06-12T23:29:39.944Z] GEN 23:29:39.795 - Step Stage Command Description [2025-06-12T23:29:39.944Z] GEN 23:29:39.795 - -----+--------+-----------------+------------ [2025-06-12T23:29:39.944Z] GEN 23:29:39.795 - 1 execute jar Create com.hello jar [2025-06-12T23:29:39.944Z] GEN 23:29:39.795 - 2 execute Run java Run modularity test in Junit [2025-06-12T23:29:39.944Z] GEN 23:29:39.795 - 3 execute count Check output [2025-06-12T23:29:39.944Z] STF 23:29:39.817 - [2025-06-12T23:29:39.944Z] STF 23:29:39.817 - Script generation completed [2025-06-12T23:29:39.944Z] STF 23:29:39.817 - [2025-06-12T23:29:39.944Z] STF 23:29:39.818 - [2025-06-12T23:29:39.944Z] STF 23:29:39.818 - ======================= S E T U P ======================= [2025-06-12T23:29:39.944Z] STF 23:29:39.818 - Running setup: perl C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2/aqa-tests/\TKG\output_17497699984018\CpMpModJar2_2/20250612-232938-CpMpModJar2/setUp.pl [2025-06-12T23:29:40.263Z] STF 23:29:39.958 - SETUP stage completed [2025-06-12T23:29:40.263Z] STF 23:29:39.975 - [2025-06-12T23:29:40.263Z] STF 23:29:39.975 - ==================== E X E C U T E - ==================== [2025-06-12T23:29:40.263Z] STF 23:29:39.975 - Running execute: perl C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2/aqa-tests/\TKG\output_17497699984018\CpMpModJar2_2/20250612-232938-CpMpModJar2/execute.pl [2025-06-12T23:29:40.263Z] STF 23:29:40.112 - [2025-06-12T23:29:40.263Z] STF 23:29:40.112 - Java version [2025-06-12T23:29:40.263Z] STF 23:29:40.112 - Running: c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2/jdkbinary/j2sdk-image/bin/java -version [2025-06-12T23:29:40.263Z] openjdk version "17.0.16-beta" 2025-07-15 [2025-06-12T23:29:40.263Z] OpenJDK Runtime Environment Temurin-17.0.16+6-202506121319 (build 17.0.16-beta+6-ea) [2025-06-12T23:29:40.263Z] OpenJDK Client VM Temurin-17.0.16+6-202506121319 (build 17.0.16-beta+6-ea, mixed mode, emulated-client) [2025-06-12T23:29:40.263Z] STF 23:29:40.214 - [2025-06-12T23:29:40.263Z] STF 23:29:40.214 - +------ Step 1 - Create com.hello jar [2025-06-12T23:29:40.263Z] STF 23:29:40.215 - | Create modular jar [2025-06-12T23:29:40.263Z] STF 23:29:40.215 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hi [2025-06-12T23:29:40.263Z] STF 23:29:40.215 - | ModuleVersion: null [2025-06-12T23:29:40.263Z] STF 23:29:40.215 - | MainClass: adoptopenjdk.test.modularity.hi.Hi [2025-06-12T23:29:40.263Z] STF 23:29:40.215 - | HashModules: null [2025-06-12T23:29:40.263Z] STF 23:29:40.215 - | [2025-06-12T23:29:40.263Z] STF 23:29:40.215 - Running command: c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2/aqa-tests/TKG/output_17497699984018/CpMpModJar2_2/20250612-232938-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_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hi . [2025-06-12T23:29:40.263Z] STF 23:29:40.215 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2/aqa-tests/TKG/output_17497699984018/CpMpModJar2_2/20250612-232938-CpMpModJar2/results/1.CMJ.stderr [2025-06-12T23:29:40.263Z] STF 23:29:40.215 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2/aqa-tests/TKG/output_17497699984018/CpMpModJar2_2/20250612-232938-CpMpModJar2/results/1.CMJ.stdout [2025-06-12T23:29:40.585Z] STF 23:29:40.261 - Monitoring processes: CMJ [2025-06-12T23:29:40.585Z] STF 23:29:40.522 - Monitoring Report Summary: [2025-06-12T23:29:40.586Z] STF 23:29:40.522 - o Process CMJ ended with the expected exit code (0) [2025-06-12T23:29:40.586Z] STF 23:29:40.522 - Created modular jar: 1.com.hi.jar [2025-06-12T23:29:40.586Z] STF 23:29:40.522 - [2025-06-12T23:29:40.586Z] STF 23:29:40.522 - +------ Step 2 - Run modularity test in Junit [2025-06-12T23:29:40.586Z] STF 23:29:40.523 - | Run foreground process [2025-06-12T23:29:40.586Z] STF 23:29:40.523 - | Program: c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2/jdkbinary/j2sdk-image/bin/java [2025-06-12T23:29:40.586Z] STF 23:29:40.523 - | Mnemonic: CpMp [2025-06-12T23:29:40.586Z] STF 23:29:40.523 - | Echo: ECHO_ON [2025-06-12T23:29:40.586Z] STF 23:29:40.523 - | Expectation: CLEAN_RUN within 1m [2025-06-12T23:29:40.586Z] STF 23:29:40.523 - | [2025-06-12T23:29:40.586Z] STF 23:29:40.523 - Running command: c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2/jdkbinary/j2sdk-image/bin/java --module-path C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2/aqa-tests/TKG/output_17497699984018/CpMpModJar2_2/20250612-232938-CpMpModJar2/modules/1.com.hi.jar -m com.hi everyone [2025-06-12T23:29:40.586Z] STF 23:29:40.523 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2/aqa-tests/TKG/output_17497699984018/CpMpModJar2_2/20250612-232938-CpMpModJar2/results/2.CpMp.stderr [2025-06-12T23:29:40.586Z] STF 23:29:40.523 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2/aqa-tests/TKG/output_17497699984018/CpMpModJar2_2/20250612-232938-CpMpModJar2/results/2.CpMp.stdout [2025-06-12T23:29:40.586Z] STF 23:29:40.534 - Monitoring processes: CpMp [2025-06-12T23:29:40.929Z] CpMp Hi everyone [2025-06-12T23:29:40.929Z] STF 23:29:40.711 - Monitoring Report Summary: [2025-06-12T23:29:40.929Z] STF 23:29:40.711 - o Process CpMp ended with the expected exit code (0) [2025-06-12T23:29:40.929Z] STF 23:29:40.711 - [2025-06-12T23:29:40.929Z] STF 23:29:40.711 - +------ Step 3 - Check output [2025-06-12T23:29:40.929Z] STF 23:29:40.711 - | Count file matches [2025-06-12T23:29:40.929Z] STF 23:29:40.711 - | TargetFile: C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2/aqa-tests/TKG/output_17497699984018/CpMpModJar2_2/20250612-232938-CpMpModJar2/results/2.CpMp.stdout [2025-06-12T23:29:40.929Z] STF 23:29:40.711 - | ExpectedNumMatches: 1 [2025-06-12T23:29:40.929Z] STF 23:29:40.711 - | SearchStrings: ["Hi everyone"] [2025-06-12T23:29:40.929Z] STF 23:29:40.711 - | [2025-06-12T23:29:40.929Z] STF 23:29:40.711 - Found 1 instances of ["Hi everyone"] [2025-06-12T23:29:40.929Z] STF 23:29:40.712 - EXECUTE stage completed [2025-06-12T23:29:40.929Z] STF 23:29:40.727 - [2025-06-12T23:29:40.929Z] STF 23:29:40.727 - ==================== T E A R D O W N ==================== [2025-06-12T23:29:40.929Z] STF 23:29:40.727 - Running teardown: perl C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2/aqa-tests/\TKG\output_17497699984018\CpMpModJar2_2/20250612-232938-CpMpModJar2/tearDown.pl [2025-06-12T23:29:40.929Z] STF 23:29:40.860 - TEARDOWN stage completed [2025-06-12T23:29:40.929Z] STF 23:29:40.877 - [2025-06-12T23:29:40.929Z] STF 23:29:40.877 - ===================== R E S U L T S ===================== [2025-06-12T23:29:40.929Z] STF 23:29:40.877 - Stage results: [2025-06-12T23:29:40.929Z] STF 23:29:40.877 - setUp: pass [2025-06-12T23:29:40.929Z] STF 23:29:40.877 - execute: pass [2025-06-12T23:29:40.929Z] STF 23:29:40.877 - teardown: pass [2025-06-12T23:29:40.929Z] STF 23:29:40.877 - [2025-06-12T23:29:40.929Z] STF 23:29:40.877 - Overall result: PASSED [2025-06-12T23:29:41.236Z] ----------------------------------- [2025-06-12T23:29:41.236Z] CpMpModJar2_2_PASSED [2025-06-12T23:29:41.236Z] ----------------------------------- [2025-06-12T23:29:41.236Z] [2025-06-12T23:29:41.236Z] TEST TEARDOWN: [2025-06-12T23:29:41.236Z] Nothing to be done for teardown. [2025-06-12T23:29:41.236Z] CpMpModJar2_2 Finish Time: Thu Jun 12 23:29:41 2025 Epoch Time (ms): 1749770981040