CpMpModJar2_2

[2024-08-01T10:12:41.035Z] Running test CpMpModJar2_2 ... [2024-08-01T10:12:41.035Z] =============================================== [2024-08-01T10:12:41.345Z] CpMpModJar2_2 Start Time: Thu Aug 1 10:12:41 2024 Epoch Time (ms): 1722507161026 [2024-08-01T10:12:41.345Z] variation: Mode1000 [2024-08-01T10:12:41.656Z] JVM_OPTIONS: [2024-08-01T10:12:41.656Z] { \ [2024-08-01T10:12:41.656Z] echo ""; echo "TEST SETUP:"; \ [2024-08-01T10:12:41.656Z] echo "Nothing to be done for setup."; \ [2024-08-01T10:12:41.657Z] mkdir -p "F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\\TKG\\output_17225033243813\\CpMpModJar2_2"; \ [2024-08-01T10:12:41.657Z] cd "F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\\TKG\\output_17225033243813\\CpMpModJar2_2"; \ [2024-08-01T10:12:41.657Z] echo ""; echo "TESTING:"; \ [2024-08-01T10:12:41.657Z] perl F:/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="F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests///..//jvmtest\\system\\modularity/../\\STF;F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests///..//jvmtest\\system\\modularity/../\\aqa-systemtest""" -systemtest-prereqs="F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/../../testDependency/system_lib\\" -java-args=' ' -results-root="F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\\TKG\\output_17225033243813\\CpMpModJar2_2" -test=CpMpModJar2; \ [2024-08-01T10:12:41.657Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "CpMpModJar2_2""_PASSED"; echo "-----------------------------------"; cd F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/; rm -f -r "F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\\TKG\\output_17225033243813\\CpMpModJar2_2"; else echo "-----------------------------------"; echo "CpMpModJar2_2""_FAILED"; echo "-----------------------------------"; fi; \ [2024-08-01T10:12:41.657Z] echo ""; echo "TEST TEARDOWN:"; \ [2024-08-01T10:12:41.657Z] echo "Nothing to be done for teardown."; \ [2024-08-01T10:12:41.657Z] } 2>&1 | tee -a "F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\\TKG\\output_17225033243813\\TestTargetResult"; [2024-08-01T10:12:41.657Z] [2024-08-01T10:12:41.657Z] TEST SETUP: [2024-08-01T10:12:41.657Z] Nothing to be done for setup. [2024-08-01T10:12:41.657Z] [2024-08-01T10:12:41.657Z] TESTING: [2024-08-01T10:12:41.657Z] STF 10:12:41.631 - ========================= S T F ========================= [2024-08-01T10:12:41.657Z] systemtest-prereqs has been processed, and set to: F:/workspace/testDependency/system_libRetrieving amount of free space on drive containing F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\TKG\output_17225033243813\CpMpModJar2_2 [2024-08-01T10:12:41.970Z] There is 113205 Mb free [2024-08-01T10:12:41.970Z] STF 10:12:41.661 - ================== G E N E R A T I O N ================== [2024-08-01T10:12:41.970Z] STF 10:12:41.664 - Checking JVM: F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image [2024-08-01T10:12:41.970Z] STF 10:12:41.665 - Starting process to generate scripts: F:/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 F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/../../testDependency/system_lib\/log4j/log4j-api.jar;F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/../../testDependency/system_lib\/log4j/log4j-core.jar;F:/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 "F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\TKG\output_17225033243813\CpMpModJar2_2/20240801-101241-CpMpModJar2/stf_parameters.properties, , F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\TKG\output_17225033243813\CpMpModJar2_2/20240801-101241-CpMpModJar2" [2024-08-01T10:12:42.644Z] GEN 10:12:42.520 - Found test. Project: 'openjdk.test.modularity' class: 'CpMpModJar2.class' Dir: 'F:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin' [2024-08-01T10:12:42.644Z] GEN 10:12:42.529 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.CpMpModJar2' [2024-08-01T10:12:42.955Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2024-08-01T10:12:42.955Z] GEN F:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayService [2024-08-01T10:12:42.955Z] GEN F:\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-08-01T10:12:42.955Z] GEN F:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl1 [2024-08-01T10:12:42.955Z] GEN F:\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-08-01T10:12:42.955Z] GEN F:\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-08-01T10:12:42.955Z] GEN F:\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-08-01T10:12:42.955Z] GEN F:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl2 [2024-08-01T10:12:42.955Z] GEN F:\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-08-01T10:12:42.955Z] GEN F:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override [2024-08-01T10:12:42.955Z] GEN F:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override-new [2024-08-01T10:12:42.955Z] GEN F:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl3 [2024-08-01T10:12:42.955Z] GEN F:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl4 [2024-08-01T10:12:42.955Z] GEN F:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common [2024-08-01T10:12:42.955Z] GEN F:\workspace\workspace\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests [2024-08-01T10:12:42.955Z] GEN F:\\workspace\\workspace\\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin [2024-08-01T10:12:42.955Z] GEN F:\\workspace\\workspace\\Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0\\jvmtest\\system\\STF\\stf.core\\bin [2024-08-01T10:12:42.955Z] GEN F:/workspace/testDependency/system_lib/log4j/log4j-api.jar [2024-08-01T10:12:42.955Z] GEN F:/workspace/testDependency/system_lib/log4j/log4j-core.jar [2024-08-01T10:12:42.955Z] GEN F:/workspace/testDependency/system_lib/junit/junit.jar [2024-08-01T10:12:42.955Z] GEN 10:12:42.741 - Using Mode NoOptions. Values = '' [2024-08-01T10:12:42.955Z] GEN 10:12:42.808 - [2024-08-01T10:12:42.955Z] GEN 10:12:42.808 - Test command summary: [2024-08-01T10:12:42.955Z] GEN 10:12:42.808 - Step Stage Command Description [2024-08-01T10:12:42.955Z] GEN 10:12:42.808 - -----+--------+-----------------+------------ [2024-08-01T10:12:42.955Z] GEN 10:12:42.808 - 1 execute jar Create com.hello jar [2024-08-01T10:12:42.955Z] GEN 10:12:42.808 - 2 execute Run java Run modularity test in Junit [2024-08-01T10:12:42.955Z] GEN 10:12:42.809 - 3 execute count Check output [2024-08-01T10:12:42.955Z] STF 10:12:42.826 - [2024-08-01T10:12:42.955Z] STF 10:12:42.826 - Script generation completed [2024-08-01T10:12:42.955Z] STF 10:12:42.826 - [2024-08-01T10:12:42.955Z] STF 10:12:42.826 - [2024-08-01T10:12:42.955Z] STF 10:12:42.826 - ======================= S E T U P ======================= [2024-08-01T10:12:42.955Z] STF 10:12:42.826 - Running setup: perl F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\TKG\output_17225033243813\CpMpModJar2_2/20240801-101241-CpMpModJar2/setUp.pl [2024-08-01T10:12:43.269Z] STF 10:12:42.960 - SETUP stage completed [2024-08-01T10:12:43.269Z] STF 10:12:42.969 - [2024-08-01T10:12:43.269Z] STF 10:12:42.969 - ==================== E X E C U T E - ==================== [2024-08-01T10:12:43.269Z] STF 10:12:42.969 - Running execute: perl F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\TKG\output_17225033243813\CpMpModJar2_2/20240801-101241-CpMpModJar2/execute.pl [2024-08-01T10:12:43.269Z] STF 10:12:43.105 - [2024-08-01T10:12:43.269Z] STF 10:12:43.105 - Java version [2024-08-01T10:12:43.269Z] STF 10:12:43.105 - Running: F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image/bin/java -version [2024-08-01T10:12:43.269Z] openjdk version "11.0.25-beta" 2024-10-15 [2024-08-01T10:12:43.269Z] OpenJDK Runtime Environment Temurin-11.0.25+1-202407312219 (build 11.0.25-beta+1-ea) [2024-08-01T10:12:43.269Z] OpenJDK Client VM Temurin-11.0.25+1-202407312219 (build 11.0.25-beta+1-ea, mixed mode) [2024-08-01T10:12:43.269Z] STF 10:12:43.204 - [2024-08-01T10:12:43.269Z] STF 10:12:43.204 - +------ Step 1 - Create com.hello jar [2024-08-01T10:12:43.269Z] STF 10:12:43.204 - | Create modular jar [2024-08-01T10:12:43.269Z] STF 10:12:43.204 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hi [2024-08-01T10:12:43.269Z] STF 10:12:43.204 - | ModuleVersion: null [2024-08-01T10:12:43.269Z] STF 10:12:43.204 - | MainClass: adoptopenjdk.test.modularity.hi.Hi [2024-08-01T10:12:43.269Z] STF 10:12:43.204 - | HashModules: null [2024-08-01T10:12:43.269Z] STF 10:12:43.204 - | [2024-08-01T10:12:43.269Z] STF 10:12:43.204 - Running command: F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17225033243813/CpMpModJar2_2/20240801-101241-CpMpModJar2/modules/1.com.hi.jar --main-class=adoptopenjdk.test.modularity.hi.Hi -C F:\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-08-01T10:12:43.269Z] STF 10:12:43.206 - Redirecting stderr to F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17225033243813/CpMpModJar2_2/20240801-101241-CpMpModJar2/results/1.CMJ.stderr [2024-08-01T10:12:43.269Z] STF 10:12:43.206 - Redirecting stdout to F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17225033243813/CpMpModJar2_2/20240801-101241-CpMpModJar2/results/1.CMJ.stdout [2024-08-01T10:12:43.269Z] STF 10:12:43.233 - Monitoring processes: CMJ [2024-08-01T10:12:43.581Z] STF 10:12:43.503 - Monitoring Report Summary: [2024-08-01T10:12:43.581Z] STF 10:12:43.503 - o Process CMJ ended with the expected exit code (0) [2024-08-01T10:12:43.581Z] STF 10:12:43.503 - Created modular jar: 1.com.hi.jar [2024-08-01T10:12:43.581Z] STF 10:12:43.503 - [2024-08-01T10:12:43.581Z] STF 10:12:43.503 - +------ Step 2 - Run modularity test in Junit [2024-08-01T10:12:43.581Z] STF 10:12:43.503 - | Run foreground process [2024-08-01T10:12:43.581Z] STF 10:12:43.503 - | Program: F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image/bin/java [2024-08-01T10:12:43.581Z] STF 10:12:43.503 - | Mnemonic: CpMp [2024-08-01T10:12:43.581Z] STF 10:12:43.503 - | Echo: ECHO_ON [2024-08-01T10:12:43.581Z] STF 10:12:43.503 - | Expectation: CLEAN_RUN within 1m [2024-08-01T10:12:43.581Z] STF 10:12:43.503 - | [2024-08-01T10:12:43.581Z] STF 10:12:43.503 - Running command: F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/jdkbinary/j2sdk-image/bin/java --module-path F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17225033243813/CpMpModJar2_2/20240801-101241-CpMpModJar2/modules/1.com.hi.jar -m com.hi everyone [2024-08-01T10:12:43.581Z] STF 10:12:43.503 - Redirecting stderr to F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17225033243813/CpMpModJar2_2/20240801-101241-CpMpModJar2/results/2.CpMp.stderr [2024-08-01T10:12:43.581Z] STF 10:12:43.503 - Redirecting stdout to F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17225033243813/CpMpModJar2_2/20240801-101241-CpMpModJar2/results/2.CpMp.stdout [2024-08-01T10:12:43.581Z] STF 10:12:43.509 - Monitoring processes: CpMp [2024-08-01T10:12:43.893Z] CpMp Hi everyone [2024-08-01T10:12:43.893Z] STF 10:12:43.689 - Monitoring Report Summary: [2024-08-01T10:12:43.893Z] STF 10:12:43.689 - o Process CpMp ended with the expected exit code (0) [2024-08-01T10:12:43.893Z] STF 10:12:43.689 - [2024-08-01T10:12:43.893Z] STF 10:12:43.689 - +------ Step 3 - Check output [2024-08-01T10:12:43.894Z] STF 10:12:43.689 - | Count file matches [2024-08-01T10:12:43.894Z] STF 10:12:43.689 - | TargetFile: F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/TKG/output_17225033243813/CpMpModJar2_2/20240801-101241-CpMpModJar2/results/2.CpMp.stdout [2024-08-01T10:12:43.894Z] STF 10:12:43.689 - | ExpectedNumMatches: 1 [2024-08-01T10:12:43.894Z] STF 10:12:43.689 - | SearchStrings: ["Hi everyone"] [2024-08-01T10:12:43.894Z] STF 10:12:43.689 - | [2024-08-01T10:12:43.894Z] STF 10:12:43.689 - Found 1 instances of ["Hi everyone"] [2024-08-01T10:12:43.894Z] STF 10:12:43.689 - EXECUTE stage completed [2024-08-01T10:12:43.894Z] STF 10:12:43.705 - [2024-08-01T10:12:43.894Z] STF 10:12:43.705 - ==================== T E A R D O W N ==================== [2024-08-01T10:12:43.894Z] STF 10:12:43.705 - Running teardown: perl F:/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-32_windows_testList_0/aqa-tests/\TKG\output_17225033243813\CpMpModJar2_2/20240801-101241-CpMpModJar2/tearDown.pl [2024-08-01T10:12:43.894Z] STF 10:12:43.832 - TEARDOWN stage completed [2024-08-01T10:12:43.894Z] STF 10:12:43.842 - [2024-08-01T10:12:43.894Z] STF 10:12:43.842 - ===================== R E S U L T S ===================== [2024-08-01T10:12:43.894Z] STF 10:12:43.842 - Stage results: [2024-08-01T10:12:43.894Z] STF 10:12:43.842 - setUp: pass [2024-08-01T10:12:43.894Z] STF 10:12:43.842 - execute: pass [2024-08-01T10:12:43.894Z] STF 10:12:43.842 - teardown: pass [2024-08-01T10:12:43.894Z] STF 10:12:43.842 - [2024-08-01T10:12:43.894Z] STF 10:12:43.842 - Overall result: PASSED [2024-08-01T10:12:43.894Z] ----------------------------------- [2024-08-01T10:12:43.894Z] CpMpModJar2_2_PASSED [2024-08-01T10:12:43.894Z] ----------------------------------- [2024-08-01T10:12:43.894Z] [2024-08-01T10:12:43.894Z] TEST TEARDOWN: [2024-08-01T10:12:43.894Z] Nothing to be done for teardown. [2024-08-01T10:12:44.205Z] CpMpModJar2_2 Finish Time: Thu Aug 1 10:12:43 2024 Epoch Time (ms): 1722507163961