CpMpModJar2_0
[2025-01-22T18:55:23.852Z] Running test CpMpModJar2_0 ...
[2025-01-22T18:55:23.852Z] ===============================================
[2025-01-22T18:55:24.165Z] CpMpModJar2_0 Start Time: Wed Jan 22 18:55:23 2025 Epoch Time (ms): 1737572123904
[2025-01-22T18:55:24.165Z] variation: Mode150
[2025-01-22T18:55:24.165Z] JVM_OPTIONS: -XX:+UseCompressedOops
[2025-01-22T18:55:24.165Z] { \
[2025-01-22T18:55:24.165Z] echo ""; echo "TEST SETUP:"; \
[2025-01-22T18:55:24.165Z] echo "Nothing to be done for setup."; \
[2025-01-22T18:55:24.165Z] mkdir -p "C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17375703841411\\CpMpModJar2_0"; \
[2025-01-22T18:55:24.165Z] cd "C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17375703841411\\CpMpModJar2_0"; \
[2025-01-22T18:55:24.165Z] echo ""; echo "TESTING:"; \
[2025-01-22T18:55:24.165Z] perl C:/jenkins/workspace/Test_openjdk11_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_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests///..//jvmtest\\system\\modularity/../\\STF;C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests///..//jvmtest\\system\\modularity/../\\aqa-systemtest""" -systemtest-prereqs="c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/../../testDependency/system_lib\\" -java-args=' -XX:+UseCompressedOops ' -results-root="C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17375703841411\\CpMpModJar2_0" -test=CpMpModJar2; \
[2025-01-22T18:55:24.165Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "CpMpModJar2_0""_PASSED"; echo "-----------------------------------"; cd C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/; rm -f -r "C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17375703841411\\CpMpModJar2_0"; else echo "-----------------------------------"; echo "CpMpModJar2_0""_FAILED"; echo "-----------------------------------"; fi; \
[2025-01-22T18:55:24.165Z] echo ""; echo "TEST TEARDOWN:"; \
[2025-01-22T18:55:24.165Z] echo "Nothing to be done for teardown."; \
[2025-01-22T18:55:24.165Z] } 2>&1 | tee -a "C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17375703841411\\TestTargetResult";
[2025-01-22T18:55:24.499Z]
[2025-01-22T18:55:24.499Z] TEST SETUP:
[2025-01-22T18:55:24.499Z] Nothing to be done for setup.
[2025-01-22T18:55:24.499Z]
[2025-01-22T18:55:24.499Z] TESTING:
[2025-01-22T18:55:24.499Z] STF 18:55:24.353 - ========================= S T F =========================
[2025-01-22T18:55:24.499Z] systemtest-prereqs has been processed, and set to: c:/jenkins/testDependency/system_libRetrieving amount of free space on drive containing C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17375703841411\CpMpModJar2_0
[2025-01-22T18:55:24.499Z] There is 109546 Mb free
[2025-01-22T18:55:24.499Z] STF 18:55:24.410 - ================== G E N E R A T I O N ==================
[2025-01-22T18:55:24.499Z] STF 18:55:24.413 - Checking JVM: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image
[2025-01-22T18:55:24.499Z] STF 18:55:24.413 - Starting process to generate scripts: c:/jenkins/workspace/Test_openjdk11_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 -classpath c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/../../testDependency/system_lib\/log4j/log4j-api.jar;c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/../../testDependency/system_lib\/log4j/log4j-core.jar;C:/jenkins/workspace/Test_openjdk11_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_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17375703841411\CpMpModJar2_0/20250122-185524-CpMpModJar2/stf_parameters.properties, , C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17375703841411\CpMpModJar2_0/20250122-185524-CpMpModJar2"
[2025-01-22T18:55:26.125Z] GEN 18:55:25.611 - Found test. Project: 'openjdk.test.modularity' class: 'CpMpModJar2.class' Dir: 'C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin'
[2025-01-22T18:55:26.125Z] GEN 18:55:25.644 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.CpMpModJar2'
[2025-01-22T18:55:26.125Z] GEN Classpath directories used by project 'openjdk.test.modularity':
[2025-01-22T18:55:26.125Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayService
[2025-01-22T18:55:26.125Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper
[2025-01-22T18:55:26.125Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl1
[2025-01-22T18:55:26.125Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet
[2025-01-22T18:55:26.125Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello
[2025-01-22T18:55:26.125Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola
[2025-01-22T18:55:26.125Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl2
[2025-01-22T18:55:26.125Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hi
[2025-01-22T18:55:26.125Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override
[2025-01-22T18:55:26.125Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override-new
[2025-01-22T18:55:26.125Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl3
[2025-01-22T18:55:26.125Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl4
[2025-01-22T18:55:26.125Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common
[2025-01-22T18:55:26.125Z] GEN C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests
[2025-01-22T18:55:26.125Z] GEN C:\\jenkins\\workspace\\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin
[2025-01-22T18:55:26.125Z] GEN C:\\jenkins\\workspace\\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\\jvmtest\\system\\STF\\stf.core\\bin
[2025-01-22T18:55:26.125Z] GEN c:/jenkins/testDependency/system_lib/log4j/log4j-api.jar
[2025-01-22T18:55:26.125Z] GEN c:/jenkins/testDependency/system_lib/log4j/log4j-core.jar
[2025-01-22T18:55:26.125Z] GEN c:/jenkins/testDependency/system_lib/junit/junit.jar
[2025-01-22T18:55:26.125Z] GEN 18:55:25.960 - Using Mode NoOptions. Values = ''
[2025-01-22T18:55:26.125Z] GEN 18:55:26.062 -
[2025-01-22T18:55:26.125Z] GEN 18:55:26.063 - Test command summary:
[2025-01-22T18:55:26.125Z] GEN 18:55:26.063 - Step Stage Command Description
[2025-01-22T18:55:26.125Z] GEN 18:55:26.063 - -----+--------+-----------------+------------
[2025-01-22T18:55:26.125Z] GEN 18:55:26.063 - 1 execute jar Create com.hello jar
[2025-01-22T18:55:26.125Z] GEN 18:55:26.063 - 2 execute Run java Run modularity test in Junit
[2025-01-22T18:55:26.125Z] GEN 18:55:26.064 - 3 execute count Check output
[2025-01-22T18:55:26.460Z] STF 18:55:26.109 -
[2025-01-22T18:55:26.460Z] STF 18:55:26.109 - Script generation completed
[2025-01-22T18:55:26.460Z] STF 18:55:26.109 -
[2025-01-22T18:55:26.460Z] STF 18:55:26.111 -
[2025-01-22T18:55:26.460Z] STF 18:55:26.111 - ======================= S E T U P =======================
[2025-01-22T18:55:26.460Z] STF 18:55:26.111 - Running setup: perl C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17375703841411\CpMpModJar2_0/20250122-185524-CpMpModJar2/setUp.pl
[2025-01-22T18:55:26.460Z] STF 18:55:26.260 - SETUP stage completed
[2025-01-22T18:55:26.460Z] STF 18:55:26.278 -
[2025-01-22T18:55:26.460Z] STF 18:55:26.278 - ==================== E X E C U T E - ====================
[2025-01-22T18:55:26.460Z] STF 18:55:26.278 - Running execute: perl C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17375703841411\CpMpModJar2_0/20250122-185524-CpMpModJar2/execute.pl
[2025-01-22T18:55:26.803Z] STF 18:55:26.419 -
[2025-01-22T18:55:26.803Z] STF 18:55:26.419 - Java version
[2025-01-22T18:55:26.803Z] STF 18:55:26.419 - Running: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java -version
[2025-01-22T18:55:26.803Z] openjdk version "11.0.26" 2025-01-21
[2025-01-22T18:55:26.803Z] OpenJDK Runtime Environment Temurin-11.0.26+4 (build 11.0.26+4)
[2025-01-22T18:55:26.803Z] OpenJDK 64-Bit Server VM Temurin-11.0.26+4 (build 11.0.26+4, mixed mode)
[2025-01-22T18:55:26.803Z] STF 18:55:26.560 -
[2025-01-22T18:55:26.803Z] STF 18:55:26.560 - +------ Step 1 - Create com.hello jar
[2025-01-22T18:55:26.803Z] STF 18:55:26.560 - | Create modular jar
[2025-01-22T18:55:26.803Z] STF 18:55:26.560 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hi
[2025-01-22T18:55:26.803Z] STF 18:55:26.560 - | ModuleVersion: null
[2025-01-22T18:55:26.803Z] STF 18:55:26.560 - | MainClass: adoptopenjdk.test.modularity.hi.Hi
[2025-01-22T18:55:26.803Z] STF 18:55:26.560 - | HashModules: null
[2025-01-22T18:55:26.803Z] STF 18:55:26.560 - |
[2025-01-22T18:55:26.803Z] STF 18:55:26.560 - Running command: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17375703841411/CpMpModJar2_0/20250122-185524-CpMpModJar2/modules/1.com.hi.jar --main-class=adoptopenjdk.test.modularity.hi.Hi -C C:\jenkins\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hi .
[2025-01-22T18:55:26.803Z] STF 18:55:26.561 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17375703841411/CpMpModJar2_0/20250122-185524-CpMpModJar2/results/1.CMJ.stderr
[2025-01-22T18:55:26.803Z] STF 18:55:26.561 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17375703841411/CpMpModJar2_0/20250122-185524-CpMpModJar2/results/1.CMJ.stdout
[2025-01-22T18:55:26.803Z] STF 18:55:26.599 - Monitoring processes: CMJ
[2025-01-22T18:55:27.136Z] STF 18:55:26.958 - Monitoring Report Summary:
[2025-01-22T18:55:27.136Z] STF 18:55:26.958 - o Process CMJ ended with the expected exit code (0)
[2025-01-22T18:55:27.136Z] STF 18:55:26.958 - Created modular jar: 1.com.hi.jar
[2025-01-22T18:55:27.136Z] STF 18:55:26.958 -
[2025-01-22T18:55:27.136Z] STF 18:55:26.958 - +------ Step 2 - Run modularity test in Junit
[2025-01-22T18:55:27.136Z] STF 18:55:26.958 - | Run foreground process
[2025-01-22T18:55:27.136Z] STF 18:55:26.958 - | Program: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java
[2025-01-22T18:55:27.136Z] STF 18:55:26.958 - | Mnemonic: CpMp
[2025-01-22T18:55:27.136Z] STF 18:55:26.958 - | Echo: ECHO_ON
[2025-01-22T18:55:27.136Z] STF 18:55:26.958 - | Expectation: CLEAN_RUN within 1m
[2025-01-22T18:55:27.136Z] STF 18:55:26.958 - |
[2025-01-22T18:55:27.136Z] STF 18:55:26.958 - Running command: c:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java --module-path C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17375703841411/CpMpModJar2_0/20250122-185524-CpMpModJar2/modules/1.com.hi.jar -m com.hi everyone -XX:+UseCompressedOops
[2025-01-22T18:55:27.136Z] STF 18:55:26.958 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17375703841411/CpMpModJar2_0/20250122-185524-CpMpModJar2/results/2.CpMp.stderr
[2025-01-22T18:55:27.136Z] STF 18:55:26.958 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17375703841411/CpMpModJar2_0/20250122-185524-CpMpModJar2/results/2.CpMp.stdout
[2025-01-22T18:55:27.136Z] STF 18:55:26.965 - Monitoring processes: CpMp
[2025-01-22T18:55:27.491Z] CpMp Hi everyone
[2025-01-22T18:55:27.492Z] STF 18:55:27.236 - Monitoring Report Summary:
[2025-01-22T18:55:27.492Z] STF 18:55:27.236 - o Process CpMp ended with the expected exit code (0)
[2025-01-22T18:55:27.492Z] STF 18:55:27.236 -
[2025-01-22T18:55:27.492Z] STF 18:55:27.236 - +------ Step 3 - Check output
[2025-01-22T18:55:27.492Z] STF 18:55:27.236 - | Count file matches
[2025-01-22T18:55:27.492Z] STF 18:55:27.236 - | TargetFile: C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17375703841411/CpMpModJar2_0/20250122-185524-CpMpModJar2/results/2.CpMp.stdout
[2025-01-22T18:55:27.492Z] STF 18:55:27.236 - | ExpectedNumMatches: 1
[2025-01-22T18:55:27.492Z] STF 18:55:27.236 - | SearchStrings: ["Hi everyone"]
[2025-01-22T18:55:27.492Z] STF 18:55:27.236 - |
[2025-01-22T18:55:27.492Z] STF 18:55:27.236 - Found 1 instances of ["Hi everyone"]
[2025-01-22T18:55:27.492Z] STF 18:55:27.237 - EXECUTE stage completed
[2025-01-22T18:55:27.492Z] STF 18:55:27.268 -
[2025-01-22T18:55:27.492Z] STF 18:55:27.268 - ==================== T E A R D O W N ====================
[2025-01-22T18:55:27.492Z] STF 18:55:27.268 - Running teardown: perl C:/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17375703841411\CpMpModJar2_0/20250122-185524-CpMpModJar2/tearDown.pl
[2025-01-22T18:55:27.492Z] STF 18:55:27.411 - TEARDOWN stage completed
[2025-01-22T18:55:27.492Z] STF 18:55:27.427 -
[2025-01-22T18:55:27.492Z] STF 18:55:27.427 - ===================== R E S U L T S =====================
[2025-01-22T18:55:27.492Z] STF 18:55:27.427 - Stage results:
[2025-01-22T18:55:27.492Z] STF 18:55:27.427 - setUp: pass
[2025-01-22T18:55:27.492Z] STF 18:55:27.427 - execute: pass
[2025-01-22T18:55:27.492Z] STF 18:55:27.427 - teardown: pass
[2025-01-22T18:55:27.492Z] STF 18:55:27.427 -
[2025-01-22T18:55:27.492Z] STF 18:55:27.427 - Overall result: PASSED
[2025-01-22T18:55:27.803Z] -----------------------------------
[2025-01-22T18:55:27.803Z] CpMpModJar2_0_PASSED
[2025-01-22T18:55:27.803Z] -----------------------------------
[2025-01-22T18:55:27.803Z]
[2025-01-22T18:55:27.803Z] TEST TEARDOWN:
[2025-01-22T18:55:27.803Z] Nothing to be done for teardown.
[2025-01-22T18:55:27.803Z] CpMpModJar2_0 Finish Time: Wed Jan 22 18:55:27 2025 Epoch Time (ms): 1737572127616