CpMpModJar2_1

[2023-04-18T23:30:23.858Z] Running test CpMpModJar2_1 ... [2023-04-18T23:30:23.858Z] =============================================== [2023-04-18T23:30:23.858Z] CpMpModJar2_1 Start Time: Wed Apr 19 00:30:23 2023 Epoch Time (ms): 1681860623660 [2023-04-18T23:30:23.858Z] variation: Mode650 [2023-04-18T23:30:23.858Z] JVM_OPTIONS: -XX:-UseCompressedOops [2023-04-18T23:30:23.858Z] { \ [2023-04-18T23:30:23.858Z] echo ""; echo "TEST SETUP:"; \ [2023-04-18T23:30:23.858Z] echo "Nothing to be done for setup."; \ [2023-04-18T23:30:23.858Z] mkdir -p "/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/aqa-tests/TKG/../TKG/output_16818581575339/CpMpModJar2_1"; \ [2023-04-18T23:30:23.858Z] cd "/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/aqa-tests/TKG/../TKG/output_16818581575339/CpMpModJar2_1"; \ [2023-04-18T23:30:23.858Z] echo ""; echo "TESTING:"; \ [2023-04-18T23:30:23.858Z] perl /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF/stf.core/scripts/stf.pl -test-root="/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF;/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/aqa-tests/TKG/../../jvmtest/system/modularity/..//aqa-systemtest""" -systemtest-prereqs="/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/aqa-tests/TKG/../../jvmtest/system/modularity/..//systemtest_prereqs" -java-args=' -XX:-UseCompressedOops ' -results-root="/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/aqa-tests/TKG/../TKG/output_16818581575339/CpMpModJar2_1" -test=CpMpModJar2; \ [2023-04-18T23:30:23.858Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "CpMpModJar2_1""_PASSED"; echo "-----------------------------------"; cd /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/aqa-tests/TKG/..; rm -f -r "/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/aqa-tests/TKG/../TKG/output_16818581575339/CpMpModJar2_1"; else echo "-----------------------------------"; echo "CpMpModJar2_1""_FAILED"; echo "-----------------------------------"; fi; \ [2023-04-18T23:30:23.859Z] echo ""; echo "TEST TEARDOWN:"; \ [2023-04-18T23:30:23.859Z] echo "Nothing to be done for teardown."; \ [2023-04-18T23:30:23.859Z] } 2>&1 | tee -a "/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/aqa-tests/TKG/../TKG/output_16818581575339/TestTargetResult"; [2023-04-18T23:30:23.859Z] [2023-04-18T23:30:23.859Z] TEST SETUP: [2023-04-18T23:30:23.859Z] Nothing to be done for setup. [2023-04-18T23:30:23.859Z] [2023-04-18T23:30:23.859Z] TESTING: [2023-04-18T23:30:23.859Z] STF 00:30:23.759 - ========================= S T F ========================= [2023-04-18T23:30:23.859Z] systemtest-prereqs has been processed, and set to: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/jvmtest/system/systemtest_prereqsRetrieving amount of free space on drive containing /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/aqa-tests/TKG/../TKG/output_16818581575339/CpMpModJar2_1 [2023-04-18T23:30:23.859Z] There is 48673 Mb free [2023-04-18T23:30:23.859Z] STF 00:30:23.767 - ================== G E N E R A T I O N ================== [2023-04-18T23:30:23.859Z] STF 00:30:23.768 - Checking JVM: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/openjdkbinary/j2sdk-image/Contents/Home/bin/../ [2023-04-18T23:30:23.859Z] STF 00:30:23.768 - Starting process to generate scripts: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/openjdkbinary/j2sdk-image/Contents/Home/bin/..//bin/java -Dlog4j.skipJansi=true -Djava.system.class.loader=net.adoptopenjdk.stf.runner.StfClassLoader -classpath /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/aqa-tests/TKG/../../jvmtest/system/modularity/..//systemtest_prereqs/log4j/log4j-api.jar:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/aqa-tests/TKG/../../jvmtest/system/modularity/..//systemtest_prereqs/log4j/log4j-core.jar:/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/aqa-tests/TKG/../TKG/output_16818581575339/CpMpModJar2_1/20230419-003023-CpMpModJar2/stf_parameters.properties, , /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/aqa-tests/TKG/../TKG/output_16818581575339/CpMpModJar2_1/20230419-003023-CpMpModJar2" [2023-04-18T23:30:23.859Z] GEN stderr OpenJDK 64-Bit Server VM warning: Archived non-system classes are disabled because the java.system.class.loader property is specified (value = "net.adoptopenjdk.stf.runner.StfClassLoader"). To use archived non-system classes, this property must not be set [2023-04-18T23:30:24.707Z] GEN 00:30:24.482 - Found test. Project: 'openjdk.test.modularity' class: 'CpMpModJar2.class' Dir: '/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin' [2023-04-18T23:30:24.707Z] GEN 00:30:24.495 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.CpMpModJar2' [2023-04-18T23:30:24.707Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2023-04-18T23:30:24.707Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayService [2023-04-18T23:30:24.707Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper [2023-04-18T23:30:24.707Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl1 [2023-04-18T23:30:24.707Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet [2023-04-18T23:30:24.707Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello [2023-04-18T23:30:24.707Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola [2023-04-18T23:30:24.707Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl2 [2023-04-18T23:30:24.707Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hi [2023-04-18T23:30:24.707Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override [2023-04-18T23:30:24.707Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override-new [2023-04-18T23:30:24.707Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl3 [2023-04-18T23:30:24.707Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl4 [2023-04-18T23:30:24.707Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common [2023-04-18T23:30:24.707Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests [2023-04-18T23:30:24.707Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin [2023-04-18T23:30:24.707Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/jvmtest/system/STF/stf.core/bin [2023-04-18T23:30:24.707Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/jvmtest/system/systemtest_prereqs/log4j/log4j-api.jar [2023-04-18T23:30:24.707Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/jvmtest/system/systemtest_prereqs/log4j/log4j-core.jar [2023-04-18T23:30:24.707Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/jvmtest/system/systemtest_prereqs/junit/junit.jar [2023-04-18T23:30:24.707Z] GEN 00:30:24.631 - Using Mode NoOptions. Values = '' [2023-04-18T23:30:24.707Z] GEN 00:30:24.675 - [2023-04-18T23:30:24.708Z] GEN 00:30:24.675 - Test command summary: [2023-04-18T23:30:24.708Z] GEN 00:30:24.675 - Step Stage Command Description [2023-04-18T23:30:24.708Z] GEN 00:30:24.676 - -----+--------+-----------------+------------ [2023-04-18T23:30:24.708Z] GEN 00:30:24.676 - 1 execute jar Create com.hello jar [2023-04-18T23:30:24.708Z] GEN 00:30:24.676 - 2 execute Run java Run modularity test in Junit [2023-04-18T23:30:24.708Z] GEN 00:30:24.676 - 3 execute count Check output [2023-04-18T23:30:25.058Z] STF 00:30:24.692 - [2023-04-18T23:30:25.058Z] STF 00:30:24.692 - Script generation completed [2023-04-18T23:30:25.058Z] STF 00:30:24.692 - [2023-04-18T23:30:25.058Z] STF 00:30:24.693 - [2023-04-18T23:30:25.058Z] STF 00:30:24.693 - ======================= S E T U P ======================= [2023-04-18T23:30:25.058Z] STF 00:30:24.693 - Running setup: perl /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/aqa-tests/TKG/../TKG/output_16818581575339/CpMpModJar2_1/20230419-003023-CpMpModJar2/setUp.pl [2023-04-18T23:30:25.058Z] STF 00:30:24.764 - SETUP stage completed [2023-04-18T23:30:25.058Z] STF 00:30:24.767 - [2023-04-18T23:30:25.058Z] STF 00:30:24.767 - ==================== E X E C U T E - ==================== [2023-04-18T23:30:25.058Z] STF 00:30:24.767 - Running execute: perl /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/aqa-tests/TKG/../TKG/output_16818581575339/CpMpModJar2_1/20230419-003023-CpMpModJar2/execute.pl [2023-04-18T23:30:25.058Z] STF 00:30:24.838 - [2023-04-18T23:30:25.058Z] STF 00:30:24.838 - Java version [2023-04-18T23:30:25.058Z] STF 00:30:24.838 - Running: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/openjdkbinary/j2sdk-image/Contents/Home/bin/java -version [2023-04-18T23:30:25.058Z] openjdk version "17.0.7" 2023-04-18 [2023-04-18T23:30:25.058Z] OpenJDK Runtime Environment Temurin-17.0.7+7 (build 17.0.7+7) [2023-04-18T23:30:25.058Z] OpenJDK 64-Bit Server VM Temurin-17.0.7+7 (build 17.0.7+7, mixed mode, sharing) [2023-04-18T23:30:25.058Z] STF 00:30:24.897 - [2023-04-18T23:30:25.058Z] STF 00:30:24.897 - +------ Step 1 - Create com.hello jar [2023-04-18T23:30:25.058Z] STF 00:30:24.897 - | Create modular jar [2023-04-18T23:30:25.058Z] STF 00:30:24.897 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hi [2023-04-18T23:30:25.058Z] STF 00:30:24.897 - | ModuleVersion: null [2023-04-18T23:30:25.058Z] STF 00:30:24.898 - | MainClass: adoptopenjdk.test.modularity.hi.Hi [2023-04-18T23:30:25.058Z] STF 00:30:24.898 - | HashModules: null [2023-04-18T23:30:25.058Z] STF 00:30:24.898 - | [2023-04-18T23:30:25.058Z] STF 00:30:24.898 - Running command: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/openjdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_16818581575339/CpMpModJar2_1/20230419-003023-CpMpModJar2/modules/1.com.hi.jar --main-class=adoptopenjdk.test.modularity.hi.Hi -C /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hi . [2023-04-18T23:30:25.058Z] STF 00:30:24.898 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_16818581575339/CpMpModJar2_1/20230419-003023-CpMpModJar2/results/1.CMJ.stderr [2023-04-18T23:30:25.058Z] STF 00:30:24.898 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_16818581575339/CpMpModJar2_1/20230419-003023-CpMpModJar2/results/1.CMJ.stdout [2023-04-18T23:30:25.058Z] STF 00:30:24.907 - Monitoring processes: CMJ [2023-04-18T23:30:25.410Z] STF 00:30:25.103 - Monitoring Report Summary: [2023-04-18T23:30:25.410Z] STF 00:30:25.103 - o Process CMJ ended with the expected exit code (0) [2023-04-18T23:30:25.410Z] STF 00:30:25.104 - Created modular jar: 1.com.hi.jar [2023-04-18T23:30:25.410Z] STF 00:30:25.104 - [2023-04-18T23:30:25.410Z] STF 00:30:25.104 - +------ Step 2 - Run modularity test in Junit [2023-04-18T23:30:25.410Z] STF 00:30:25.104 - | Run foreground process [2023-04-18T23:30:25.410Z] STF 00:30:25.104 - | Program: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/openjdkbinary/j2sdk-image/Contents/Home/bin/java [2023-04-18T23:30:25.410Z] STF 00:30:25.104 - | Mnemonic: CpMp [2023-04-18T23:30:25.410Z] STF 00:30:25.104 - | Echo: ECHO_ON [2023-04-18T23:30:25.410Z] STF 00:30:25.104 - | Expectation: CLEAN_RUN within 1m [2023-04-18T23:30:25.410Z] STF 00:30:25.104 - | [2023-04-18T23:30:25.410Z] STF 00:30:25.104 - Running command: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/openjdkbinary/j2sdk-image/Contents/Home/bin/java --module-path /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_16818581575339/CpMpModJar2_1/20230419-003023-CpMpModJar2/modules/1.com.hi.jar -m com.hi everyone -XX:-UseCompressedOops [2023-04-18T23:30:25.410Z] STF 00:30:25.104 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_16818581575339/CpMpModJar2_1/20230419-003023-CpMpModJar2/results/2.CpMp.stderr [2023-04-18T23:30:25.410Z] STF 00:30:25.104 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_16818581575339/CpMpModJar2_1/20230419-003023-CpMpModJar2/results/2.CpMp.stdout [2023-04-18T23:30:25.410Z] STF 00:30:25.106 - Monitoring processes: CpMp [2023-04-18T23:30:25.410Z] CpMp Hi everyone [2023-04-18T23:30:25.410Z] STF 00:30:25.238 - Monitoring Report Summary: [2023-04-18T23:30:25.410Z] STF 00:30:25.238 - o Process CpMp ended with the expected exit code (0) [2023-04-18T23:30:25.410Z] STF 00:30:25.239 - [2023-04-18T23:30:25.410Z] STF 00:30:25.239 - +------ Step 3 - Check output [2023-04-18T23:30:25.410Z] STF 00:30:25.239 - | Count file matches [2023-04-18T23:30:25.410Z] STF 00:30:25.239 - | TargetFile: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_16818581575339/CpMpModJar2_1/20230419-003023-CpMpModJar2/results/2.CpMp.stdout [2023-04-18T23:30:25.410Z] STF 00:30:25.239 - | ExpectedNumMatches: 1 [2023-04-18T23:30:25.410Z] STF 00:30:25.239 - | SearchStrings: ["Hi everyone"] [2023-04-18T23:30:25.410Z] STF 00:30:25.239 - | [2023-04-18T23:30:25.410Z] STF 00:30:25.239 - Found 1 instances of ["Hi everyone"] [2023-04-18T23:30:25.410Z] STF 00:30:25.239 - EXECUTE stage completed [2023-04-18T23:30:25.410Z] STF 00:30:25.246 - [2023-04-18T23:30:25.410Z] STF 00:30:25.246 - ==================== T E A R D O W N ==================== [2023-04-18T23:30:25.410Z] STF 00:30:25.247 - Running teardown: perl /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/aqa-tests/TKG/../TKG/output_16818581575339/CpMpModJar2_1/20230419-003023-CpMpModJar2/tearDown.pl [2023-04-18T23:30:25.410Z] STF 00:30:25.317 - TEARDOWN stage completed [2023-04-18T23:30:25.410Z] STF 00:30:25.323 - [2023-04-18T23:30:25.410Z] STF 00:30:25.323 - ===================== R E S U L T S ===================== [2023-04-18T23:30:25.410Z] STF 00:30:25.323 - Stage results: [2023-04-18T23:30:25.410Z] STF 00:30:25.323 - setUp: pass [2023-04-18T23:30:25.410Z] STF 00:30:25.323 - execute: pass [2023-04-18T23:30:25.410Z] STF 00:30:25.323 - teardown: pass [2023-04-18T23:30:25.410Z] STF 00:30:25.323 - [2023-04-18T23:30:25.410Z] STF 00:30:25.323 - Overall result: PASSED [2023-04-18T23:30:25.410Z] ----------------------------------- [2023-04-18T23:30:25.410Z] CpMpModJar2_1_PASSED [2023-04-18T23:30:25.410Z] ----------------------------------- [2023-04-18T23:30:25.410Z] [2023-04-18T23:30:25.410Z] TEST TEARDOWN: [2023-04-18T23:30:25.410Z] Nothing to be done for teardown. [2023-04-18T23:30:25.410Z] CpMpModJar2_1 Finish Time: Wed Apr 19 00:30:25 2023 Epoch Time (ms): 1681860625351