CpMpModJar3_0
[2023-04-18T23:30:25.763Z] Running test CpMpModJar3_0 ...
[2023-04-18T23:30:25.763Z] ===============================================
[2023-04-18T23:30:25.763Z] CpMpModJar3_0 Start Time: Wed Apr 19 00:30:25 2023 Epoch Time (ms): 1681860625463
[2023-04-18T23:30:25.763Z] variation: Mode150
[2023-04-18T23:30:25.763Z] JVM_OPTIONS: -XX:+UseCompressedOops
[2023-04-18T23:30:25.763Z] { \
[2023-04-18T23:30:25.763Z] echo ""; echo "TEST SETUP:"; \
[2023-04-18T23:30:25.763Z] echo "Nothing to be done for setup."; \
[2023-04-18T23:30:25.763Z] mkdir -p "/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/aqa-tests/TKG/../TKG/output_16818581575339/CpMpModJar3_0"; \
[2023-04-18T23:30:25.763Z] cd "/Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/aqa-tests/TKG/../TKG/output_16818581575339/CpMpModJar3_0"; \
[2023-04-18T23:30:25.763Z] echo ""; echo "TESTING:"; \
[2023-04-18T23:30:25.763Z] 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/CpMpModJar3_0" -test=CpMpModJar3; \
[2023-04-18T23:30:25.763Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "CpMpModJar3_0""_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/CpMpModJar3_0"; else echo "-----------------------------------"; echo "CpMpModJar3_0""_FAILED"; echo "-----------------------------------"; fi; \
[2023-04-18T23:30:25.763Z] echo ""; echo "TEST TEARDOWN:"; \
[2023-04-18T23:30:25.763Z] echo "Nothing to be done for teardown."; \
[2023-04-18T23:30:25.763Z] } 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:25.763Z]
[2023-04-18T23:30:25.763Z] TEST SETUP:
[2023-04-18T23:30:25.763Z] Nothing to be done for setup.
[2023-04-18T23:30:25.763Z]
[2023-04-18T23:30:25.763Z] TESTING:
[2023-04-18T23:30:25.763Z] STF 00:30:25.562 - ========================= S T F =========================
[2023-04-18T23:30:25.763Z] 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/CpMpModJar3_0
[2023-04-18T23:30:25.763Z] There is 48673 Mb free
[2023-04-18T23:30:25.763Z] STF 00:30:25.573 - ================== G E N E R A T I O N ==================
[2023-04-18T23:30:25.763Z] STF 00:30:25.574 - Checking JVM: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/openjdkbinary/j2sdk-image/Contents/Home/bin/../
[2023-04-18T23:30:25.764Z] STF 00:30:25.575 - 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/CpMpModJar3_0/20230419-003025-CpMpModJar3/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/CpMpModJar3_0/20230419-003025-CpMpModJar3"
[2023-04-18T23:30:25.764Z] 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:26.516Z] GEN 00:30:26.289 - Found test. Project: 'openjdk.test.modularity' class: 'CpMpModJar3.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:26.516Z] GEN 00:30:26.302 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.CpMpModJar3'
[2023-04-18T23:30:26.516Z] GEN Classpath directories used by project 'openjdk.test.modularity':
[2023-04-18T23:30:26.516Z] 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:26.516Z] 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:26.516Z] 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:26.516Z] 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:26.516Z] 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:26.516Z] 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:26.516Z] 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:26.516Z] 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:26.516Z] 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:26.516Z] 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:26.517Z] 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:26.517Z] 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:26.517Z] 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:26.517Z] 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:26.517Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin
[2023-04-18T23:30:26.517Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/jvmtest/system/STF/stf.core/bin
[2023-04-18T23:30:26.517Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/jvmtest/system/systemtest_prereqs/log4j/log4j-api.jar
[2023-04-18T23:30:26.517Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/jvmtest/system/systemtest_prereqs/log4j/log4j-core.jar
[2023-04-18T23:30:26.517Z] GEN /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/jvmtest/system/systemtest_prereqs/junit/junit.jar
[2023-04-18T23:30:26.517Z] GEN 00:30:26.435 - Using Mode NoOptions. Values = ''
[2023-04-18T23:30:26.517Z] GEN 00:30:26.478 -
[2023-04-18T23:30:26.517Z] GEN 00:30:26.478 - Test command summary:
[2023-04-18T23:30:26.517Z] GEN 00:30:26.479 - Step Stage Command Description
[2023-04-18T23:30:26.517Z] GEN 00:30:26.479 - -----+--------+-----------------+------------
[2023-04-18T23:30:26.517Z] GEN 00:30:26.479 - 1 execute jar Create com.hello jar
[2023-04-18T23:30:26.517Z] GEN 00:30:26.479 - 2 execute Run java Run modularity test with module main class
[2023-04-18T23:30:26.517Z] GEN 00:30:26.479 - 3 execute count Check output
[2023-04-18T23:30:26.869Z] STF 00:30:26.503 -
[2023-04-18T23:30:26.869Z] STF 00:30:26.503 - Script generation completed
[2023-04-18T23:30:26.869Z] STF 00:30:26.503 -
[2023-04-18T23:30:26.869Z] STF 00:30:26.504 -
[2023-04-18T23:30:26.869Z] STF 00:30:26.504 - ======================= S E T U P =======================
[2023-04-18T23:30:26.869Z] STF 00:30:26.504 - Running setup: perl /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/aqa-tests/TKG/../TKG/output_16818581575339/CpMpModJar3_0/20230419-003025-CpMpModJar3/setUp.pl
[2023-04-18T23:30:26.869Z] STF 00:30:26.574 - SETUP stage completed
[2023-04-18T23:30:26.869Z] STF 00:30:26.582 -
[2023-04-18T23:30:26.869Z] STF 00:30:26.582 - ==================== E X E C U T E - ====================
[2023-04-18T23:30:26.869Z] STF 00:30:26.582 - Running execute: perl /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/aqa-tests/TKG/../TKG/output_16818581575339/CpMpModJar3_0/20230419-003025-CpMpModJar3/execute.pl
[2023-04-18T23:30:26.869Z] STF 00:30:26.652 -
[2023-04-18T23:30:26.869Z] STF 00:30:26.652 - Java version
[2023-04-18T23:30:26.869Z] STF 00:30:26.652 - Running: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/openjdkbinary/j2sdk-image/Contents/Home/bin/java -version
[2023-04-18T23:30:26.869Z] openjdk version "17.0.7" 2023-04-18
[2023-04-18T23:30:26.869Z] OpenJDK Runtime Environment Temurin-17.0.7+7 (build 17.0.7+7)
[2023-04-18T23:30:26.869Z] OpenJDK 64-Bit Server VM Temurin-17.0.7+7 (build 17.0.7+7, mixed mode, sharing)
[2023-04-18T23:30:26.869Z] STF 00:30:26.713 -
[2023-04-18T23:30:26.869Z] STF 00:30:26.713 - +------ Step 1 - Create com.hello jar
[2023-04-18T23:30:26.869Z] STF 00:30:26.713 - | Create modular jar
[2023-04-18T23:30:26.869Z] STF 00:30:26.713 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hi
[2023-04-18T23:30:26.869Z] STF 00:30:26.713 - | ModuleVersion: null
[2023-04-18T23:30:26.869Z] STF 00:30:26.713 - | MainClass: null
[2023-04-18T23:30:26.869Z] STF 00:30:26.713 - | HashModules: null
[2023-04-18T23:30:26.869Z] STF 00:30:26.713 - |
[2023-04-18T23:30:26.869Z] STF 00:30:26.714 - 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/CpMpModJar3_0/20230419-003025-CpMpModJar3/modules/1.com.hi.jar -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:26.869Z] STF 00:30:26.714 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_16818581575339/CpMpModJar3_0/20230419-003025-CpMpModJar3/results/1.CMJ.stderr
[2023-04-18T23:30:26.869Z] STF 00:30:26.714 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_16818581575339/CpMpModJar3_0/20230419-003025-CpMpModJar3/results/1.CMJ.stdout
[2023-04-18T23:30:26.869Z] STF 00:30:26.723 - Monitoring processes: CMJ
[2023-04-18T23:30:27.221Z] STF 00:30:26.918 - Monitoring Report Summary:
[2023-04-18T23:30:27.221Z] STF 00:30:26.918 - o Process CMJ ended with the expected exit code (0)
[2023-04-18T23:30:27.221Z] STF 00:30:26.918 - Created modular jar: 1.com.hi.jar
[2023-04-18T23:30:27.221Z] STF 00:30:26.918 -
[2023-04-18T23:30:27.221Z] STF 00:30:26.918 - +------ Step 2 - Run modularity test with module main class
[2023-04-18T23:30:27.221Z] STF 00:30:26.918 - | Run foreground process
[2023-04-18T23:30:27.221Z] STF 00:30:26.918 - | Program: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/openjdkbinary/j2sdk-image/Contents/Home/bin/java
[2023-04-18T23:30:27.221Z] STF 00:30:26.918 - | Mnemonic: CpMp
[2023-04-18T23:30:27.221Z] STF 00:30:26.918 - | Echo: ECHO_ON
[2023-04-18T23:30:27.221Z] STF 00:30:26.918 - | Expectation: CLEAN_RUN within 1m
[2023-04-18T23:30:27.221Z] STF 00:30:26.918 - |
[2023-04-18T23:30:27.221Z] STF 00:30:26.919 - 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/CpMpModJar3_0/20230419-003025-CpMpModJar3/modules/1.com.hi.jar -m com.hi/adoptopenjdk.test.modularity.hi.Hi everyone -XX:+UseCompressedOops
[2023-04-18T23:30:27.221Z] STF 00:30:26.919 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_16818581575339/CpMpModJar3_0/20230419-003025-CpMpModJar3/results/2.CpMp.stderr
[2023-04-18T23:30:27.222Z] STF 00:30:26.919 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_16818581575339/CpMpModJar3_0/20230419-003025-CpMpModJar3/results/2.CpMp.stdout
[2023-04-18T23:30:27.222Z] STF 00:30:26.920 - Monitoring processes: CpMp
[2023-04-18T23:30:27.222Z] CpMp Hi everyone
[2023-04-18T23:30:27.222Z] STF 00:30:27.058 - Monitoring Report Summary:
[2023-04-18T23:30:27.222Z] STF 00:30:27.059 - o Process CpMp ended with the expected exit code (0)
[2023-04-18T23:30:27.222Z] STF 00:30:27.059 -
[2023-04-18T23:30:27.222Z] STF 00:30:27.059 - +------ Step 3 - Check output
[2023-04-18T23:30:27.222Z] STF 00:30:27.059 - | Count file matches
[2023-04-18T23:30:27.222Z] STF 00:30:27.059 - | TargetFile: /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_16818581575339/CpMpModJar3_0/20230419-003025-CpMpModJar3/results/2.CpMp.stdout
[2023-04-18T23:30:27.222Z] STF 00:30:27.059 - | ExpectedNumMatches: 1
[2023-04-18T23:30:27.222Z] STF 00:30:27.059 - | SearchStrings: ["Hi everyone"]
[2023-04-18T23:30:27.222Z] STF 00:30:27.059 - |
[2023-04-18T23:30:27.222Z] STF 00:30:27.059 - Found 1 instances of ["Hi everyone"]
[2023-04-18T23:30:27.222Z] STF 00:30:27.059 - EXECUTE stage completed
[2023-04-18T23:30:27.222Z] STF 00:30:27.067 -
[2023-04-18T23:30:27.222Z] STF 00:30:27.067 - ==================== T E A R D O W N ====================
[2023-04-18T23:30:27.222Z] STF 00:30:27.067 - Running teardown: perl /Users/jenkins/workspace/Test_openjdk17_hs_sanity.system_x86-64_mac/aqa-tests/TKG/../TKG/output_16818581575339/CpMpModJar3_0/20230419-003025-CpMpModJar3/tearDown.pl
[2023-04-18T23:30:27.222Z] STF 00:30:27.136 - TEARDOWN stage completed
[2023-04-18T23:30:27.222Z] STF 00:30:27.145 -
[2023-04-18T23:30:27.222Z] STF 00:30:27.145 - ===================== R E S U L T S =====================
[2023-04-18T23:30:27.222Z] STF 00:30:27.145 - Stage results:
[2023-04-18T23:30:27.222Z] STF 00:30:27.145 - setUp: pass
[2023-04-18T23:30:27.222Z] STF 00:30:27.145 - execute: pass
[2023-04-18T23:30:27.222Z] STF 00:30:27.145 - teardown: pass
[2023-04-18T23:30:27.222Z] STF 00:30:27.145 -
[2023-04-18T23:30:27.222Z] STF 00:30:27.145 - Overall result: PASSED
[2023-04-18T23:30:27.222Z] -----------------------------------
[2023-04-18T23:30:27.222Z] CpMpModJar3_0_PASSED
[2023-04-18T23:30:27.222Z] -----------------------------------
[2023-04-18T23:30:27.222Z]
[2023-04-18T23:30:27.222Z] TEST TEARDOWN:
[2023-04-18T23:30:27.222Z] Nothing to be done for teardown.
[2023-04-18T23:30:27.222Z] CpMpModJar3_0 Finish Time: Wed Apr 19 00:30:27 2023 Epoch Time (ms): 1681860627173