CpMpModJar3_2

[2025-05-17T18:15:40.910Z] Running test CpMpModJar3_2 ... [2025-05-17T18:15:40.910Z] =============================================== [2025-05-17T18:15:41.250Z] CpMpModJar3_2 Start Time: Sat May 17 18:15:40 2025 Epoch Time (ms): 1747505740927 [2025-05-17T18:15:41.250Z] variation: Mode1000 [2025-05-17T18:15:41.250Z] JVM_OPTIONS: [2025-05-17T18:15:41.250Z] { \ [2025-05-17T18:15:41.250Z] echo ""; echo "TEST SETUP:"; \ [2025-05-17T18:15:41.250Z] echo "Nothing to be done for setup."; \ [2025-05-17T18:15:41.250Z] mkdir -p "C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2/aqa-tests/\\TKG\\output_17475044686002\\CpMpModJar3_2"; \ [2025-05-17T18:15:41.250Z] cd "C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2/aqa-tests/\\TKG\\output_17475044686002\\CpMpModJar3_2"; \ [2025-05-17T18:15:41.250Z] echo ""; echo "TESTING:"; \ [2025-05-17T18:15:41.250Z] 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_17475044686002\\CpMpModJar3_2" -test=CpMpModJar3; \ [2025-05-17T18:15:41.250Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "CpMpModJar3_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_17475044686002\\CpMpModJar3_2"; else echo "-----------------------------------"; echo "CpMpModJar3_2""_FAILED"; echo "-----------------------------------"; fi; \ [2025-05-17T18:15:41.250Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-05-17T18:15:41.250Z] echo "Nothing to be done for teardown."; \ [2025-05-17T18:15:41.250Z] } 2>&1 | tee -a "C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2/aqa-tests/\\TKG\\output_17475044686002\\TestTargetResult"; [2025-05-17T18:15:41.250Z] [2025-05-17T18:15:41.250Z] TEST SETUP: [2025-05-17T18:15:41.250Z] Nothing to be done for setup. [2025-05-17T18:15:41.571Z] [2025-05-17T18:15:41.571Z] TESTING: [2025-05-17T18:15:41.571Z] STF 18:15:41.345 - ========================= S T F ========================= [2025-05-17T18:15:41.571Z] 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_17475044686002\CpMpModJar3_2 [2025-05-17T18:15:41.571Z] There is 94753 Mb free [2025-05-17T18:15:41.571Z] STF 18:15:41.390 - ================== G E N E R A T I O N ================== [2025-05-17T18:15:41.571Z] STF 18:15:41.392 - Checking JVM: c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2/jdkbinary/j2sdk-image [2025-05-17T18:15:41.571Z] STF 18:15:41.392 - 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_17475044686002\CpMpModJar3_2/20250517-181541-CpMpModJar3/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_17475044686002\CpMpModJar3_2/20250517-181541-CpMpModJar3" [2025-05-17T18:15:42.243Z] GEN 18:15:42.055 - Found test. Project: 'openjdk.test.modularity' class: 'CpMpModJar3.class' Dir: 'C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin' [2025-05-17T18:15:42.243Z] GEN 18:15:42.063 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.CpMpModJar3' [2025-05-17T18:15:42.559Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2025-05-17T18:15:42.559Z] 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-05-17T18:15:42.559Z] 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-05-17T18:15:42.559Z] 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-05-17T18:15:42.559Z] 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-05-17T18:15:42.559Z] 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-05-17T18:15:42.559Z] 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-05-17T18:15:42.559Z] 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-05-17T18:15:42.559Z] 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-05-17T18:15:42.559Z] 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-05-17T18:15:42.559Z] 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-05-17T18:15:42.559Z] 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-05-17T18:15:42.559Z] 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-05-17T18:15:42.559Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common [2025-05-17T18:15:42.559Z] GEN C:\jenkins\workspace\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests [2025-05-17T18:15:42.559Z] GEN C:\\jenkins\\workspace\\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin [2025-05-17T18:15:42.559Z] GEN C:\\jenkins\\workspace\\Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2\\jvmtest\\system\\STF\\stf.core\\bin [2025-05-17T18:15:42.559Z] GEN c:/jenkins/testDependency/system_lib/log4j/log4j-api.jar [2025-05-17T18:15:42.559Z] GEN c:/jenkins/testDependency/system_lib/log4j/log4j-core.jar [2025-05-17T18:15:42.559Z] GEN c:/jenkins/testDependency/system_lib/junit/junit.jar [2025-05-17T18:15:42.559Z] GEN 18:15:42.246 - Using Mode NoOptions. Values = '' [2025-05-17T18:15:42.559Z] GEN 18:15:42.292 - [2025-05-17T18:15:42.559Z] GEN 18:15:42.293 - Test command summary: [2025-05-17T18:15:42.559Z] GEN 18:15:42.293 - Step Stage Command Description [2025-05-17T18:15:42.559Z] GEN 18:15:42.293 - -----+--------+-----------------+------------ [2025-05-17T18:15:42.559Z] GEN 18:15:42.293 - 1 execute jar Create com.hello jar [2025-05-17T18:15:42.559Z] GEN 18:15:42.293 - 2 execute Run java Run modularity test with module main class [2025-05-17T18:15:42.559Z] GEN 18:15:42.293 - 3 execute count Check output [2025-05-17T18:15:42.559Z] STF 18:15:42.320 - [2025-05-17T18:15:42.559Z] STF 18:15:42.320 - Script generation completed [2025-05-17T18:15:42.559Z] STF 18:15:42.320 - [2025-05-17T18:15:42.559Z] STF 18:15:42.321 - [2025-05-17T18:15:42.559Z] STF 18:15:42.321 - ======================= S E T U P ======================= [2025-05-17T18:15:42.559Z] STF 18:15:42.321 - Running setup: perl C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2/aqa-tests/\TKG\output_17475044686002\CpMpModJar3_2/20250517-181541-CpMpModJar3/setUp.pl [2025-05-17T18:15:42.559Z] STF 18:15:42.443 - SETUP stage completed [2025-05-17T18:15:42.559Z] STF 18:15:42.456 - [2025-05-17T18:15:42.559Z] STF 18:15:42.456 - ==================== E X E C U T E - ==================== [2025-05-17T18:15:42.559Z] STF 18:15:42.456 - Running execute: perl C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2/aqa-tests/\TKG\output_17475044686002\CpMpModJar3_2/20250517-181541-CpMpModJar3/execute.pl [2025-05-17T18:15:42.876Z] STF 18:15:42.579 - [2025-05-17T18:15:42.876Z] STF 18:15:42.580 - Java version [2025-05-17T18:15:42.876Z] STF 18:15:42.580 - Running: c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2/jdkbinary/j2sdk-image/bin/java -version [2025-05-17T18:15:42.876Z] openjdk version "17.0.16-beta" 2025-07-15 [2025-05-17T18:15:42.876Z] OpenJDK Runtime Environment Temurin-17.0.16+3-202505162206 (build 17.0.16-beta+3-ea) [2025-05-17T18:15:42.876Z] OpenJDK Client VM Temurin-17.0.16+3-202505162206 (build 17.0.16-beta+3-ea, mixed mode, emulated-client) [2025-05-17T18:15:42.876Z] STF 18:15:42.674 - [2025-05-17T18:15:42.876Z] STF 18:15:42.674 - +------ Step 1 - Create com.hello jar [2025-05-17T18:15:42.876Z] STF 18:15:42.674 - | Create modular jar [2025-05-17T18:15:42.876Z] STF 18:15:42.674 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hi [2025-05-17T18:15:42.876Z] STF 18:15:42.674 - | ModuleVersion: null [2025-05-17T18:15:42.876Z] STF 18:15:42.674 - | MainClass: null [2025-05-17T18:15:42.876Z] STF 18:15:42.674 - | HashModules: null [2025-05-17T18:15:42.876Z] STF 18:15:42.674 - | [2025-05-17T18:15:42.876Z] STF 18:15:42.675 - 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_17475044686002/CpMpModJar3_2/20250517-181541-CpMpModJar3/modules/1.com.hi.jar -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-05-17T18:15:42.876Z] STF 18:15:42.675 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2/aqa-tests/TKG/output_17475044686002/CpMpModJar3_2/20250517-181541-CpMpModJar3/results/1.CMJ.stderr [2025-05-17T18:15:42.876Z] STF 18:15:42.675 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2/aqa-tests/TKG/output_17475044686002/CpMpModJar3_2/20250517-181541-CpMpModJar3/results/1.CMJ.stdout [2025-05-17T18:15:42.876Z] STF 18:15:42.721 - Monitoring processes: CMJ [2025-05-17T18:15:43.180Z] STF 18:15:42.972 - Monitoring Report Summary: [2025-05-17T18:15:43.180Z] STF 18:15:42.972 - o Process CMJ ended with the expected exit code (0) [2025-05-17T18:15:43.180Z] STF 18:15:42.972 - Created modular jar: 1.com.hi.jar [2025-05-17T18:15:43.180Z] STF 18:15:42.972 - [2025-05-17T18:15:43.180Z] STF 18:15:42.972 - +------ Step 2 - Run modularity test with module main class [2025-05-17T18:15:43.180Z] STF 18:15:42.972 - | Run foreground process [2025-05-17T18:15:43.180Z] STF 18:15:42.972 - | Program: c:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2/jdkbinary/j2sdk-image/bin/java [2025-05-17T18:15:43.180Z] STF 18:15:42.972 - | Mnemonic: CpMp [2025-05-17T18:15:43.180Z] STF 18:15:42.972 - | Echo: ECHO_ON [2025-05-17T18:15:43.180Z] STF 18:15:42.972 - | Expectation: CLEAN_RUN within 1m [2025-05-17T18:15:43.180Z] STF 18:15:42.972 - | [2025-05-17T18:15:43.180Z] STF 18:15:42.973 - 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_17475044686002/CpMpModJar3_2/20250517-181541-CpMpModJar3/modules/1.com.hi.jar -m com.hi/adoptopenjdk.test.modularity.hi.Hi everyone [2025-05-17T18:15:43.180Z] STF 18:15:42.973 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2/aqa-tests/TKG/output_17475044686002/CpMpModJar3_2/20250517-181541-CpMpModJar3/results/2.CpMp.stderr [2025-05-17T18:15:43.180Z] STF 18:15:42.973 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2/aqa-tests/TKG/output_17475044686002/CpMpModJar3_2/20250517-181541-CpMpModJar3/results/2.CpMp.stdout [2025-05-17T18:15:43.180Z] STF 18:15:42.984 - Monitoring processes: CpMp [2025-05-17T18:15:43.483Z] CpMp Hi everyone [2025-05-17T18:15:43.483Z] STF 18:15:43.179 - Monitoring Report Summary: [2025-05-17T18:15:43.483Z] STF 18:15:43.179 - o Process CpMp ended with the expected exit code (0) [2025-05-17T18:15:43.483Z] STF 18:15:43.180 - [2025-05-17T18:15:43.483Z] STF 18:15:43.180 - +------ Step 3 - Check output [2025-05-17T18:15:43.483Z] STF 18:15:43.180 - | Count file matches [2025-05-17T18:15:43.483Z] STF 18:15:43.180 - | TargetFile: C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2/aqa-tests/TKG/output_17475044686002/CpMpModJar3_2/20250517-181541-CpMpModJar3/results/2.CpMp.stdout [2025-05-17T18:15:43.483Z] STF 18:15:43.180 - | ExpectedNumMatches: 1 [2025-05-17T18:15:43.483Z] STF 18:15:43.180 - | SearchStrings: ["Hi everyone"] [2025-05-17T18:15:43.483Z] STF 18:15:43.180 - | [2025-05-17T18:15:43.483Z] STF 18:15:43.180 - Found 1 instances of ["Hi everyone"] [2025-05-17T18:15:43.483Z] STF 18:15:43.180 - EXECUTE stage completed [2025-05-17T18:15:43.483Z] STF 18:15:43.193 - [2025-05-17T18:15:43.483Z] STF 18:15:43.193 - ==================== T E A R D O W N ==================== [2025-05-17T18:15:43.483Z] STF 18:15:43.193 - Running teardown: perl C:/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-32_windows_testList_2/aqa-tests/\TKG\output_17475044686002\CpMpModJar3_2/20250517-181541-CpMpModJar3/tearDown.pl [2025-05-17T18:15:43.483Z] STF 18:15:43.328 - TEARDOWN stage completed [2025-05-17T18:15:43.483Z] STF 18:15:43.346 - [2025-05-17T18:15:43.483Z] STF 18:15:43.346 - ===================== R E S U L T S ===================== [2025-05-17T18:15:43.483Z] STF 18:15:43.346 - Stage results: [2025-05-17T18:15:43.483Z] STF 18:15:43.346 - setUp: pass [2025-05-17T18:15:43.483Z] STF 18:15:43.346 - execute: pass [2025-05-17T18:15:43.483Z] STF 18:15:43.346 - teardown: pass [2025-05-17T18:15:43.483Z] STF 18:15:43.346 - [2025-05-17T18:15:43.483Z] STF 18:15:43.346 - Overall result: PASSED [2025-05-17T18:15:43.483Z] ----------------------------------- [2025-05-17T18:15:43.483Z] CpMpModJar3_2_PASSED [2025-05-17T18:15:43.483Z] ----------------------------------- [2025-05-17T18:15:43.483Z] [2025-05-17T18:15:43.483Z] TEST TEARDOWN: [2025-05-17T18:15:43.483Z] Nothing to be done for teardown. [2025-05-17T18:15:43.786Z] CpMpModJar3_2 Finish Time: Sat May 17 18:15:43 2025 Epoch Time (ms): 1747505743496