CpMpModJar2_2

[2024-07-12T20:33:36.215Z] Running test CpMpModJar2_2 ... [2024-07-12T20:33:36.626Z] =============================================== [2024-07-12T20:33:36.943Z] CpMpModJar2_2 Start Time: Fri Jul 12 20:33:36 2024 Epoch Time (ms): 1720816416709 [2024-07-12T20:33:37.367Z] variation: Mode1000 [2024-07-12T20:33:37.367Z] JVM_OPTIONS: [2024-07-12T20:33:37.367Z] { \ [2024-07-12T20:33:37.367Z] echo ""; echo "TEST SETUP:"; \ [2024-07-12T20:33:37.367Z] echo "Nothing to be done for setup."; \ [2024-07-12T20:33:37.367Z] mkdir -p "C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\\TKG\\output_17208124727477\\CpMpModJar2_2"; \ [2024-07-12T20:33:37.367Z] cd "C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\\TKG\\output_17208124727477\\CpMpModJar2_2"; \ [2024-07-12T20:33:37.367Z] echo ""; echo "TESTING:"; \ [2024-07-12T20:33:37.367Z] perl C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests///..//jvmtest\\system\\modularity/../\\STF\\stf.core\\scripts\\stf.pl -test-root="C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests///..//jvmtest\\system\\modularity/../\\STF;C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests///..//jvmtest\\system\\modularity/../\\aqa-systemtest""" -systemtest-prereqs="C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests///..//jvmtest\\system\\modularity/../\\systemtest_prereqs" -java-args=' ' -results-root="C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\\TKG\\output_17208124727477\\CpMpModJar2_2" -test=CpMpModJar2; \ [2024-07-12T20:33:37.367Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "CpMpModJar2_2""_PASSED"; echo "-----------------------------------"; cd C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/; rm -f -r "C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\\TKG\\output_17208124727477\\CpMpModJar2_2"; else echo "-----------------------------------"; echo "CpMpModJar2_2""_FAILED"; echo "-----------------------------------"; fi; \ [2024-07-12T20:33:37.367Z] echo ""; echo "TEST TEARDOWN:"; \ [2024-07-12T20:33:37.367Z] echo "Nothing to be done for teardown."; \ [2024-07-12T20:33:37.367Z] } 2>&1 | tee -a "C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\\TKG\\output_17208124727477\\TestTargetResult"; [2024-07-12T20:33:37.783Z] [2024-07-12T20:33:37.783Z] TEST SETUP: [2024-07-12T20:33:37.783Z] Nothing to be done for setup. [2024-07-12T20:33:37.783Z] [2024-07-12T20:33:37.783Z] TESTING: [2024-07-12T20:33:38.099Z] STF 20:33:37.726 - ========================= S T F ========================= [2024-07-12T20:33:38.099Z] systemtest-prereqs has been processed, and set to: C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/jvmtest/system/systemtest_prereqsRetrieving amount of free space on drive containing C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\TKG\output_17208124727477\CpMpModJar2_2 [2024-07-12T20:33:38.099Z] There is 106564 Mb free [2024-07-12T20:33:38.099Z] STF 20:33:37.792 - ================== G E N E R A T I O N ================== [2024-07-12T20:33:38.099Z] STF 20:33:37.795 - Checking JVM: c:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image [2024-07-12T20:33:38.099Z] STF 20:33:37.795 - Starting process to generate scripts: c:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/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-32_windows_testList_0/aqa-tests///..//jvmtest\system\modularity/../\systemtest_prereqs/log4j/log4j-api.jar;C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests///..//jvmtest\system\modularity/../\systemtest_prereqs/log4j/log4j-core.jar;C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\TKG\output_17208124727477\CpMpModJar2_2/20240712-203337-CpMpModJar2/stf_parameters.properties, , C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\TKG\output_17208124727477\CpMpModJar2_2/20240712-203337-CpMpModJar2" [2024-07-12T20:33:39.227Z] GEN 20:33:38.912 - Found test. Project: 'openjdk.test.modularity' class: 'CpMpModJar2.class' Dir: 'C:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin' [2024-07-12T20:33:39.227Z] GEN 20:33:38.926 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.CpMpModJar2' [2024-07-12T20:33:39.227Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2024-07-12T20:33:39.227Z] GEN C:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayService [2024-07-12T20:33:39.227Z] GEN C:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper [2024-07-12T20:33:39.227Z] GEN C:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl1 [2024-07-12T20:33:39.227Z] GEN C:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet [2024-07-12T20:33:39.227Z] GEN C:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello [2024-07-12T20:33:39.227Z] GEN C:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola [2024-07-12T20:33:39.227Z] GEN C:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl2 [2024-07-12T20:33:39.227Z] GEN C:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hi [2024-07-12T20:33:39.227Z] GEN C:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override [2024-07-12T20:33:39.227Z] GEN C:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override-new [2024-07-12T20:33:39.227Z] GEN C:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl3 [2024-07-12T20:33:39.227Z] GEN C:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl4 [2024-07-12T20:33:39.227Z] GEN C:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common [2024-07-12T20:33:39.227Z] GEN C:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests [2024-07-12T20:33:39.227Z] GEN C:\\workspace\\workspace\\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin [2024-07-12T20:33:39.227Z] GEN C:\\workspace\\workspace\\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\\jvmtest\\system\\STF\\stf.core\\bin [2024-07-12T20:33:39.227Z] GEN C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/jvmtest/system/systemtest_prereqs/log4j/log4j-api.jar [2024-07-12T20:33:39.227Z] GEN C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/jvmtest/system/systemtest_prereqs/log4j/log4j-core.jar [2024-07-12T20:33:39.227Z] GEN C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/jvmtest/system/systemtest_prereqs/junit/junit.jar [2024-07-12T20:33:39.556Z] GEN 20:33:39.196 - Using Mode NoOptions. Values = '' [2024-07-12T20:33:39.556Z] GEN 20:33:39.288 - [2024-07-12T20:33:39.556Z] GEN 20:33:39.288 - Test command summary: [2024-07-12T20:33:39.556Z] GEN 20:33:39.288 - Step Stage Command Description [2024-07-12T20:33:39.556Z] GEN 20:33:39.289 - -----+--------+-----------------+------------ [2024-07-12T20:33:39.556Z] GEN 20:33:39.289 - 1 execute jar Create com.hello jar [2024-07-12T20:33:39.556Z] GEN 20:33:39.289 - 2 execute Run java Run modularity test in Junit [2024-07-12T20:33:39.556Z] GEN 20:33:39.289 - 3 execute count Check output [2024-07-12T20:33:39.556Z] STF 20:33:39.323 - [2024-07-12T20:33:39.557Z] STF 20:33:39.323 - Script generation completed [2024-07-12T20:33:39.557Z] STF 20:33:39.323 - [2024-07-12T20:33:39.557Z] STF 20:33:39.325 - [2024-07-12T20:33:39.557Z] STF 20:33:39.325 - ======================= S E T U P ======================= [2024-07-12T20:33:39.557Z] STF 20:33:39.325 - Running setup: perl C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\TKG\output_17208124727477\CpMpModJar2_2/20240712-203337-CpMpModJar2/setUp.pl [2024-07-12T20:33:39.557Z] STF 20:33:39.504 - SETUP stage completed [2024-07-12T20:33:39.557Z] STF 20:33:39.520 - [2024-07-12T20:33:39.557Z] STF 20:33:39.520 - ==================== E X E C U T E - ==================== [2024-07-12T20:33:39.557Z] STF 20:33:39.520 - Running execute: perl C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\TKG\output_17208124727477\CpMpModJar2_2/20240712-203337-CpMpModJar2/execute.pl [2024-07-12T20:33:39.889Z] STF 20:33:39.693 - [2024-07-12T20:33:39.889Z] STF 20:33:39.693 - Java version [2024-07-12T20:33:39.889Z] STF 20:33:39.693 - Running: c:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image/bin/java -version [2024-07-12T20:33:39.889Z] openjdk version "11.0.24" 2024-07-16 [2024-07-12T20:33:39.889Z] OpenJDK Runtime Environment Temurin-11.0.24+6 (build 11.0.24+6) [2024-07-12T20:33:39.889Z] OpenJDK Client VM Temurin-11.0.24+6 (build 11.0.24+6, mixed mode) [2024-07-12T20:33:39.889Z] STF 20:33:39.826 - [2024-07-12T20:33:39.889Z] STF 20:33:39.826 - +------ Step 1 - Create com.hello jar [2024-07-12T20:33:39.889Z] STF 20:33:39.826 - | Create modular jar [2024-07-12T20:33:39.889Z] STF 20:33:39.826 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hi [2024-07-12T20:33:39.889Z] STF 20:33:39.826 - | ModuleVersion: null [2024-07-12T20:33:39.889Z] STF 20:33:39.826 - | MainClass: adoptopenjdk.test.modularity.hi.Hi [2024-07-12T20:33:39.889Z] STF 20:33:39.827 - | HashModules: null [2024-07-12T20:33:39.889Z] STF 20:33:39.827 - | [2024-07-12T20:33:39.889Z] STF 20:33:39.827 - Running command: c:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17208124727477/CpMpModJar2_2/20240712-203337-CpMpModJar2/modules/1.com.hi.jar --main-class=adoptopenjdk.test.modularity.hi.Hi -C C:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hi . [2024-07-12T20:33:39.889Z] STF 20:33:39.827 - Redirecting stderr to C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17208124727477/CpMpModJar2_2/20240712-203337-CpMpModJar2/results/1.CMJ.stderr [2024-07-12T20:33:39.889Z] STF 20:33:39.827 - Redirecting stdout to C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17208124727477/CpMpModJar2_2/20240712-203337-CpMpModJar2/results/1.CMJ.stdout [2024-07-12T20:33:40.225Z] STF 20:33:39.866 - Monitoring processes: CMJ [2024-07-12T20:33:40.558Z] STF 20:33:40.259 - Monitoring Report Summary: [2024-07-12T20:33:40.558Z] STF 20:33:40.260 - o Process CMJ ended with the expected exit code (0) [2024-07-12T20:33:40.558Z] STF 20:33:40.260 - Created modular jar: 1.com.hi.jar [2024-07-12T20:33:40.558Z] STF 20:33:40.260 - [2024-07-12T20:33:40.558Z] STF 20:33:40.260 - +------ Step 2 - Run modularity test in Junit [2024-07-12T20:33:40.558Z] STF 20:33:40.260 - | Run foreground process [2024-07-12T20:33:40.558Z] STF 20:33:40.260 - | Program: c:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image/bin/java [2024-07-12T20:33:40.558Z] STF 20:33:40.260 - | Mnemonic: CpMp [2024-07-12T20:33:40.558Z] STF 20:33:40.260 - | Echo: ECHO_ON [2024-07-12T20:33:40.558Z] STF 20:33:40.260 - | Expectation: CLEAN_RUN within 1m [2024-07-12T20:33:40.558Z] STF 20:33:40.260 - | [2024-07-12T20:33:40.558Z] STF 20:33:40.260 - Running command: c:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image/bin/java --module-path C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17208124727477/CpMpModJar2_2/20240712-203337-CpMpModJar2/modules/1.com.hi.jar -m com.hi everyone [2024-07-12T20:33:40.558Z] STF 20:33:40.260 - Redirecting stderr to C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17208124727477/CpMpModJar2_2/20240712-203337-CpMpModJar2/results/2.CpMp.stderr [2024-07-12T20:33:40.558Z] STF 20:33:40.260 - Redirecting stdout to C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17208124727477/CpMpModJar2_2/20240712-203337-CpMpModJar2/results/2.CpMp.stdout [2024-07-12T20:33:40.558Z] STF 20:33:40.273 - Monitoring processes: CpMp [2024-07-12T20:33:40.909Z] CpMp Hi everyone [2024-07-12T20:33:40.909Z] STF 20:33:40.523 - Monitoring Report Summary: [2024-07-12T20:33:40.909Z] STF 20:33:40.524 - o Process CpMp ended with the expected exit code (0) [2024-07-12T20:33:40.909Z] STF 20:33:40.524 - [2024-07-12T20:33:40.909Z] STF 20:33:40.524 - +------ Step 3 - Check output [2024-07-12T20:33:40.909Z] STF 20:33:40.524 - | Count file matches [2024-07-12T20:33:40.909Z] STF 20:33:40.524 - | TargetFile: C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17208124727477/CpMpModJar2_2/20240712-203337-CpMpModJar2/results/2.CpMp.stdout [2024-07-12T20:33:40.909Z] STF 20:33:40.524 - | ExpectedNumMatches: 1 [2024-07-12T20:33:40.909Z] STF 20:33:40.524 - | SearchStrings: ["Hi everyone"] [2024-07-12T20:33:40.909Z] STF 20:33:40.524 - | [2024-07-12T20:33:40.909Z] STF 20:33:40.524 - Found 1 instances of ["Hi everyone"] [2024-07-12T20:33:40.910Z] STF 20:33:40.524 - EXECUTE stage completed [2024-07-12T20:33:40.910Z] STF 20:33:40.544 - [2024-07-12T20:33:40.910Z] STF 20:33:40.544 - ==================== T E A R D O W N ==================== [2024-07-12T20:33:40.910Z] STF 20:33:40.544 - Running teardown: perl C:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\TKG\output_17208124727477\CpMpModJar2_2/20240712-203337-CpMpModJar2/tearDown.pl [2024-07-12T20:33:40.910Z] STF 20:33:40.731 - TEARDOWN stage completed [2024-07-12T20:33:40.910Z] STF 20:33:40.746 - [2024-07-12T20:33:40.910Z] STF 20:33:40.746 - ===================== R E S U L T S ===================== [2024-07-12T20:33:40.910Z] STF 20:33:40.746 - Stage results: [2024-07-12T20:33:40.910Z] STF 20:33:40.746 - setUp: pass [2024-07-12T20:33:40.910Z] STF 20:33:40.746 - execute: pass [2024-07-12T20:33:40.910Z] STF 20:33:40.746 - teardown: pass [2024-07-12T20:33:40.910Z] STF 20:33:40.746 - [2024-07-12T20:33:40.910Z] STF 20:33:40.746 - Overall result: PASSED [2024-07-12T20:33:40.910Z] ----------------------------------- [2024-07-12T20:33:40.910Z] CpMpModJar2_2_PASSED [2024-07-12T20:33:40.910Z] ----------------------------------- [2024-07-12T20:33:40.910Z] [2024-07-12T20:33:40.910Z] TEST TEARDOWN: [2024-07-12T20:33:40.910Z] Nothing to be done for teardown. [2024-07-12T20:33:41.227Z] CpMpModJar2_2 Finish Time: Fri Jul 12 20:33:41 2024 Epoch Time (ms): 1720816421002