CpMpModJar3_1

[2024-07-17T07:26:07.318Z] Running test CpMpModJar3_1 ... [2024-07-17T07:26:07.319Z] =============================================== [2024-07-17T07:26:07.638Z] CpMpModJar3_1 Start Time: Wed Jul 17 07:26:07 2024 Epoch Time (ms): 1721201167408 [2024-07-17T07:26:07.956Z] variation: Mode650 [2024-07-17T07:26:08.276Z] JVM_OPTIONS: -XX:-UseCompressedOops [2024-07-17T07:26:08.276Z] { \ [2024-07-17T07:26:08.276Z] echo ""; echo "TEST SETUP:"; \ [2024-07-17T07:26:08.276Z] echo "Nothing to be done for setup."; \ [2024-07-17T07:26:08.276Z] mkdir -p "C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17211990343017\\CpMpModJar3_1"; \ [2024-07-17T07:26:08.276Z] cd "C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17211990343017\\CpMpModJar3_1"; \ [2024-07-17T07:26:08.276Z] echo ""; echo "TESTING:"; \ [2024-07-17T07:26:08.276Z] perl C:/workspace/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:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests///..//jvmtest\\system\\modularity/../\\STF;C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests///..//jvmtest\\system\\modularity/../\\aqa-systemtest""" -systemtest-prereqs="C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests///..//jvmtest\\system\\modularity/../\\systemtest_prereqs" -java-args=' -XX:-UseCompressedOops ' -results-root="C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17211990343017\\CpMpModJar3_1" -test=CpMpModJar3; \ [2024-07-17T07:26:08.276Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "CpMpModJar3_1""_PASSED"; echo "-----------------------------------"; cd C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/; rm -f -r "C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17211990343017\\CpMpModJar3_1"; else echo "-----------------------------------"; echo "CpMpModJar3_1""_FAILED"; echo "-----------------------------------"; fi; \ [2024-07-17T07:26:08.276Z] echo ""; echo "TEST TEARDOWN:"; \ [2024-07-17T07:26:08.276Z] echo "Nothing to be done for teardown."; \ [2024-07-17T07:26:08.276Z] } 2>&1 | tee -a "C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17211990343017\\TestTargetResult"; [2024-07-17T07:26:08.613Z] [2024-07-17T07:26:08.614Z] TEST SETUP: [2024-07-17T07:26:08.614Z] Nothing to be done for setup. [2024-07-17T07:26:08.614Z] [2024-07-17T07:26:08.614Z] TESTING: [2024-07-17T07:26:08.614Z] STF 07:26:08.485 - ========================= S T F ========================= [2024-07-17T07:26:08.614Z] systemtest-prereqs has been processed, and set to: C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jvmtest/system/systemtest_prereqsRetrieving amount of free space on drive containing C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17211990343017\CpMpModJar3_1 [2024-07-17T07:26:08.614Z] There is 107369 Mb free [2024-07-17T07:26:08.614Z] STF 07:26:08.546 - ================== G E N E R A T I O N ================== [2024-07-17T07:26:08.614Z] STF 07:26:08.549 - Checking JVM: c:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image [2024-07-17T07:26:08.614Z] STF 07:26:08.549 - Starting process to generate scripts: c:/workspace/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:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests///..//jvmtest\system\modularity/../\systemtest_prereqs/log4j/log4j-api.jar;C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests///..//jvmtest\system\modularity/../\systemtest_prereqs/log4j/log4j-core.jar;C:/workspace/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:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17211990343017\CpMpModJar3_1/20240717-072608-CpMpModJar3/stf_parameters.properties, , C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17211990343017\CpMpModJar3_1/20240717-072608-CpMpModJar3" [2024-07-17T07:26:10.255Z] GEN 07:26:10.009 - Found test. Project: 'openjdk.test.modularity' class: 'CpMpModJar3.class' Dir: 'C:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin' [2024-07-17T07:26:10.255Z] GEN 07:26:10.029 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.CpMpModJar3' [2024-07-17T07:26:10.597Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2024-07-17T07:26:10.597Z] GEN C:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayService [2024-07-17T07:26:10.597Z] GEN C:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper [2024-07-17T07:26:10.597Z] GEN C:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl1 [2024-07-17T07:26:10.597Z] GEN C:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet [2024-07-17T07:26:10.597Z] GEN C:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello [2024-07-17T07:26:10.597Z] GEN C:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola [2024-07-17T07:26:10.597Z] GEN C:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl2 [2024-07-17T07:26:10.597Z] GEN C:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hi [2024-07-17T07:26:10.597Z] GEN C:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override [2024-07-17T07:26:10.597Z] GEN C:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override-new [2024-07-17T07:26:10.597Z] GEN C:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl3 [2024-07-17T07:26:10.597Z] GEN C:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl4 [2024-07-17T07:26:10.597Z] GEN C:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common [2024-07-17T07:26:10.597Z] GEN C:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests [2024-07-17T07:26:10.597Z] GEN C:\\workspace\\workspace\\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin [2024-07-17T07:26:10.597Z] GEN C:\\workspace\\workspace\\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\\jvmtest\\system\\STF\\stf.core\\bin [2024-07-17T07:26:10.597Z] GEN C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jvmtest/system/systemtest_prereqs/log4j/log4j-api.jar [2024-07-17T07:26:10.597Z] GEN C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jvmtest/system/systemtest_prereqs/log4j/log4j-core.jar [2024-07-17T07:26:10.597Z] GEN C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jvmtest/system/systemtest_prereqs/junit/junit.jar [2024-07-17T07:26:10.597Z] GEN 07:26:10.397 - Using Mode NoOptions. Values = '' [2024-07-17T07:26:10.597Z] GEN 07:26:10.534 - [2024-07-17T07:26:10.597Z] GEN 07:26:10.534 - Test command summary: [2024-07-17T07:26:10.597Z] GEN 07:26:10.535 - Step Stage Command Description [2024-07-17T07:26:10.597Z] GEN 07:26:10.535 - -----+--------+-----------------+------------ [2024-07-17T07:26:10.597Z] GEN 07:26:10.535 - 1 execute jar Create com.hello jar [2024-07-17T07:26:10.597Z] GEN 07:26:10.535 - 2 execute Run java Run modularity test with module main class [2024-07-17T07:26:10.597Z] GEN 07:26:10.536 - 3 execute count Check output [2024-07-17T07:26:10.942Z] STF 07:26:10.609 - [2024-07-17T07:26:10.942Z] STF 07:26:10.609 - Script generation completed [2024-07-17T07:26:10.942Z] STF 07:26:10.609 - [2024-07-17T07:26:10.942Z] STF 07:26:10.611 - [2024-07-17T07:26:10.942Z] STF 07:26:10.611 - ======================= S E T U P ======================= [2024-07-17T07:26:10.942Z] STF 07:26:10.611 - Running setup: perl C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17211990343017\CpMpModJar3_1/20240717-072608-CpMpModJar3/setUp.pl [2024-07-17T07:26:10.942Z] STF 07:26:10.792 - SETUP stage completed [2024-07-17T07:26:10.942Z] STF 07:26:10.807 - [2024-07-17T07:26:10.942Z] STF 07:26:10.807 - ==================== E X E C U T E - ==================== [2024-07-17T07:26:10.942Z] STF 07:26:10.808 - Running execute: perl C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17211990343017\CpMpModJar3_1/20240717-072608-CpMpModJar3/execute.pl [2024-07-17T07:26:11.275Z] STF 07:26:11.008 - [2024-07-17T07:26:11.275Z] STF 07:26:11.008 - Java version [2024-07-17T07:26:11.275Z] STF 07:26:11.008 - Running: c:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java -version [2024-07-17T07:26:11.275Z] openjdk version "11.0.24" 2024-07-16 [2024-07-17T07:26:11.275Z] OpenJDK Runtime Environment Temurin-11.0.24+8 (build 11.0.24+8) [2024-07-17T07:26:11.275Z] OpenJDK 64-Bit Server VM Temurin-11.0.24+8 (build 11.0.24+8, mixed mode) [2024-07-17T07:26:11.275Z] STF 07:26:11.186 - [2024-07-17T07:26:11.275Z] STF 07:26:11.186 - +------ Step 1 - Create com.hello jar [2024-07-17T07:26:11.275Z] STF 07:26:11.186 - | Create modular jar [2024-07-17T07:26:11.276Z] STF 07:26:11.186 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hi [2024-07-17T07:26:11.276Z] STF 07:26:11.186 - | ModuleVersion: null [2024-07-17T07:26:11.276Z] STF 07:26:11.186 - | MainClass: null [2024-07-17T07:26:11.276Z] STF 07:26:11.186 - | HashModules: null [2024-07-17T07:26:11.276Z] STF 07:26:11.186 - | [2024-07-17T07:26:11.276Z] STF 07:26:11.186 - Running command: c:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17211990343017/CpMpModJar3_1/20240717-072608-CpMpModJar3/modules/1.com.hi.jar -C C:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hi . [2024-07-17T07:26:11.276Z] STF 07:26:11.187 - Redirecting stderr to C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17211990343017/CpMpModJar3_1/20240717-072608-CpMpModJar3/results/1.CMJ.stderr [2024-07-17T07:26:11.276Z] STF 07:26:11.187 - Redirecting stdout to C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17211990343017/CpMpModJar3_1/20240717-072608-CpMpModJar3/results/1.CMJ.stdout [2024-07-17T07:26:11.276Z] STF 07:26:11.221 - Monitoring processes: CMJ [2024-07-17T07:26:11.974Z] STF 07:26:11.657 - Monitoring Report Summary: [2024-07-17T07:26:11.974Z] STF 07:26:11.657 - o Process CMJ ended with the expected exit code (0) [2024-07-17T07:26:11.974Z] STF 07:26:11.657 - Created modular jar: 1.com.hi.jar [2024-07-17T07:26:11.974Z] STF 07:26:11.657 - [2024-07-17T07:26:11.974Z] STF 07:26:11.657 - +------ Step 2 - Run modularity test with module main class [2024-07-17T07:26:11.974Z] STF 07:26:11.657 - | Run foreground process [2024-07-17T07:26:11.974Z] STF 07:26:11.657 - | Program: c:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java [2024-07-17T07:26:11.974Z] STF 07:26:11.657 - | Mnemonic: CpMp [2024-07-17T07:26:11.974Z] STF 07:26:11.657 - | Echo: ECHO_ON [2024-07-17T07:26:11.974Z] STF 07:26:11.657 - | Expectation: CLEAN_RUN within 1m [2024-07-17T07:26:11.974Z] STF 07:26:11.657 - | [2024-07-17T07:26:11.974Z] STF 07:26:11.658 - Running command: c:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java --module-path C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17211990343017/CpMpModJar3_1/20240717-072608-CpMpModJar3/modules/1.com.hi.jar -m com.hi/adoptopenjdk.test.modularity.hi.Hi everyone -XX:-UseCompressedOops [2024-07-17T07:26:11.974Z] STF 07:26:11.658 - Redirecting stderr to C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17211990343017/CpMpModJar3_1/20240717-072608-CpMpModJar3/results/2.CpMp.stderr [2024-07-17T07:26:11.974Z] STF 07:26:11.658 - Redirecting stdout to C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17211990343017/CpMpModJar3_1/20240717-072608-CpMpModJar3/results/2.CpMp.stdout [2024-07-17T07:26:11.974Z] STF 07:26:11.665 - Monitoring processes: CpMp [2024-07-17T07:26:11.974Z] CpMp Hi everyone [2024-07-17T07:26:12.327Z] STF 07:26:11.957 - Monitoring Report Summary: [2024-07-17T07:26:12.327Z] STF 07:26:11.957 - o Process CpMp ended with the expected exit code (0) [2024-07-17T07:26:12.327Z] STF 07:26:11.957 - [2024-07-17T07:26:12.327Z] STF 07:26:11.957 - +------ Step 3 - Check output [2024-07-17T07:26:12.327Z] STF 07:26:11.957 - | Count file matches [2024-07-17T07:26:12.327Z] STF 07:26:11.957 - | TargetFile: C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17211990343017/CpMpModJar3_1/20240717-072608-CpMpModJar3/results/2.CpMp.stdout [2024-07-17T07:26:12.327Z] STF 07:26:11.957 - | ExpectedNumMatches: 1 [2024-07-17T07:26:12.327Z] STF 07:26:11.957 - | SearchStrings: ["Hi everyone"] [2024-07-17T07:26:12.327Z] STF 07:26:11.958 - | [2024-07-17T07:26:12.327Z] STF 07:26:11.958 - Found 1 instances of ["Hi everyone"] [2024-07-17T07:26:12.327Z] STF 07:26:11.958 - EXECUTE stage completed [2024-07-17T07:26:12.327Z] STF 07:26:11.975 - [2024-07-17T07:26:12.327Z] STF 07:26:11.975 - ==================== T E A R D O W N ==================== [2024-07-17T07:26:12.327Z] STF 07:26:11.975 - Running teardown: perl C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17211990343017\CpMpModJar3_1/20240717-072608-CpMpModJar3/tearDown.pl [2024-07-17T07:26:12.327Z] STF 07:26:12.156 - TEARDOWN stage completed [2024-07-17T07:26:12.327Z] STF 07:26:12.173 - [2024-07-17T07:26:12.327Z] STF 07:26:12.173 - ===================== R E S U L T S ===================== [2024-07-17T07:26:12.327Z] STF 07:26:12.173 - Stage results: [2024-07-17T07:26:12.327Z] STF 07:26:12.173 - setUp: pass [2024-07-17T07:26:12.327Z] STF 07:26:12.173 - execute: pass [2024-07-17T07:26:12.327Z] STF 07:26:12.173 - teardown: pass [2024-07-17T07:26:12.327Z] STF 07:26:12.173 - [2024-07-17T07:26:12.327Z] STF 07:26:12.173 - Overall result: PASSED [2024-07-17T07:26:12.327Z] ----------------------------------- [2024-07-17T07:26:12.327Z] CpMpModJar3_1_PASSED [2024-07-17T07:26:12.327Z] ----------------------------------- [2024-07-17T07:26:12.327Z] [2024-07-17T07:26:12.327Z] TEST TEARDOWN: [2024-07-17T07:26:12.327Z] Nothing to be done for teardown. [2024-07-17T07:26:12.686Z] CpMpModJar3_1 Finish Time: Wed Jul 17 07:26:12 2024 Epoch Time (ms): 1721201172448