CpMpModJar3_1

[2025-03-30T21:36:45.126Z] Running test CpMpModJar3_1 ... [2025-03-30T21:36:45.126Z] =============================================== [2025-03-30T21:36:45.126Z] CpMpModJar3_1 Start Time: Sun Mar 30 22:36:44 2025 Epoch Time (ms): 1743370604815 [2025-03-30T21:36:45.126Z] variation: Mode650 [2025-03-30T21:36:45.126Z] JVM_OPTIONS: -XX:-UseCompressedOops [2025-03-30T21:36:45.126Z] { \ [2025-03-30T21:36:45.126Z] echo ""; echo "TEST SETUP:"; \ [2025-03-30T21:36:45.126Z] echo "Nothing to be done for setup."; \ [2025-03-30T21:36:45.126Z] mkdir -p "/Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac/aqa-tests/TKG/../TKG/output_17433681155071/CpMpModJar3_1"; \ [2025-03-30T21:36:45.126Z] cd "/Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac/aqa-tests/TKG/../TKG/output_17433681155071/CpMpModJar3_1"; \ [2025-03-30T21:36:45.126Z] echo ""; echo "TESTING:"; \ [2025-03-30T21:36:45.126Z] perl /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF/stf.core/scripts/stf.pl -test-root="/Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF;/Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac/aqa-tests/TKG/../../jvmtest/system/modularity/..//aqa-systemtest""" -systemtest-prereqs="/Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac/../../testDependency/system_lib/" -java-args=' -XX:-UseCompressedOops ' -results-root="/Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac/aqa-tests/TKG/../TKG/output_17433681155071/CpMpModJar3_1" -test=CpMpModJar3; \ [2025-03-30T21:36:45.126Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "CpMpModJar3_1""_PASSED"; echo "-----------------------------------"; cd /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac/aqa-tests/TKG/..; rm -f -r "/Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac/aqa-tests/TKG/../TKG/output_17433681155071/CpMpModJar3_1"; else echo "-----------------------------------"; echo "CpMpModJar3_1""_FAILED"; echo "-----------------------------------"; fi; \ [2025-03-30T21:36:45.126Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-03-30T21:36:45.126Z] echo "Nothing to be done for teardown."; \ [2025-03-30T21:36:45.126Z] } 2>&1 | tee -a "/Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac/aqa-tests/TKG/../TKG/output_17433681155071/TestTargetResult"; [2025-03-30T21:36:45.126Z] [2025-03-30T21:36:45.126Z] TEST SETUP: [2025-03-30T21:36:45.126Z] Nothing to be done for setup. [2025-03-30T21:36:45.126Z] [2025-03-30T21:36:45.126Z] TESTING: [2025-03-30T21:36:45.126Z] STF 22:36:44.914 - ========================= S T F ========================= [2025-03-30T21:36:45.126Z] systemtest-prereqs has been processed, and set to: /Users/jenkins/testDependency/system_libRetrieving amount of free space on drive containing /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac/aqa-tests/TKG/../TKG/output_17433681155071/CpMpModJar3_1 [2025-03-30T21:36:45.126Z] There is 50940 Mb free [2025-03-30T21:36:45.126Z] STF 22:36:44.924 - ================== G E N E R A T I O N ================== [2025-03-30T21:36:45.126Z] STF 22:36:44.926 - Checking JVM: /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac/jdkbinary/j2sdk-image/Contents/Home/bin/../ [2025-03-30T21:36:45.127Z] STF 22:36:44.926 - Starting process to generate scripts: /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac/jdkbinary/j2sdk-image/Contents/Home/bin/..//bin/java -Dlog4j.skipJansi=true -Djava.system.class.loader=net.adoptopenjdk.stf.runner.StfClassLoader -Dload.agent.path=/Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac/jvmtest/system/STF/stf.core/scripts/../../stf.load/bin/stf.load.jar -classpath /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac/../../testDependency/system_lib//asm/asm.jar:/Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac/../../testDependency/system_lib//asm/asm-commons.jar:/Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac/../../testDependency/system_lib//log4j/log4j-api.jar:/Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac/../../testDependency/system_lib//log4j/log4j-core.jar:/Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "/Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac/aqa-tests/TKG/../TKG/output_17433681155071/CpMpModJar3_1/20250330-223644-CpMpModJar3/stf_parameters.properties, , /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "/Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac/aqa-tests/TKG/../TKG/output_17433681155071/CpMpModJar3_1/20250330-223644-CpMpModJar3" [2025-03-30T21:36:45.961Z] GEN 22:36:45.927 - Found test. Project: 'openjdk.test.modularity' class: 'CpMpModJar3.class' Dir: '/Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin' [2025-03-30T21:36:46.354Z] GEN 22:36:45.949 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.CpMpModJar3' [2025-03-30T21:36:46.354Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2025-03-30T21:36:46.354Z] GEN /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayService [2025-03-30T21:36:46.354Z] GEN /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper [2025-03-30T21:36:46.354Z] GEN /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl1 [2025-03-30T21:36:46.354Z] GEN /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet [2025-03-30T21:36:46.354Z] GEN /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello [2025-03-30T21:36:46.354Z] GEN /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola [2025-03-30T21:36:46.354Z] GEN /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl2 [2025-03-30T21:36:46.354Z] GEN /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hi [2025-03-30T21:36:46.354Z] GEN /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override [2025-03-30T21:36:46.354Z] GEN /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override-new [2025-03-30T21:36:46.354Z] GEN /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl3 [2025-03-30T21:36:46.354Z] GEN /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl4 [2025-03-30T21:36:46.354Z] GEN /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common [2025-03-30T21:36:46.354Z] GEN /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests [2025-03-30T21:36:46.354Z] GEN /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin [2025-03-30T21:36:46.354Z] GEN /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac/jvmtest/system/STF/stf.core/bin [2025-03-30T21:36:46.354Z] GEN /Users/jenkins/testDependency/system_lib/log4j/log4j-api.jar [2025-03-30T21:36:46.354Z] GEN /Users/jenkins/testDependency/system_lib/log4j/log4j-core.jar [2025-03-30T21:36:46.354Z] GEN /Users/jenkins/testDependency/system_lib/junit/junit.jar [2025-03-30T21:36:46.354Z] GEN 22:36:46.183 - Using Mode NoOptions. Values = '' [2025-03-30T21:36:46.354Z] GEN 22:36:46.284 - [2025-03-30T21:36:46.354Z] GEN 22:36:46.285 - Test command summary: [2025-03-30T21:36:46.354Z] GEN 22:36:46.285 - Step Stage Command Description [2025-03-30T21:36:46.354Z] GEN 22:36:46.285 - -----+--------+-----------------+------------ [2025-03-30T21:36:46.354Z] GEN 22:36:46.285 - 1 execute jar Create com.hello jar [2025-03-30T21:36:46.354Z] GEN 22:36:46.286 - 2 execute Run java Run modularity test with module main class [2025-03-30T21:36:46.354Z] GEN 22:36:46.286 - 3 execute count Check output [2025-03-30T21:36:46.746Z] STF 22:36:46.333 - [2025-03-30T21:36:46.746Z] STF 22:36:46.333 - Script generation completed [2025-03-30T21:36:46.746Z] STF 22:36:46.333 - [2025-03-30T21:36:46.746Z] STF 22:36:46.334 - [2025-03-30T21:36:46.746Z] STF 22:36:46.334 - ======================= S E T U P ======================= [2025-03-30T21:36:46.746Z] STF 22:36:46.334 - Running setup: perl /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac/aqa-tests/TKG/../TKG/output_17433681155071/CpMpModJar3_1/20250330-223644-CpMpModJar3/setUp.pl [2025-03-30T21:36:46.746Z] STF 22:36:46.408 - SETUP stage completed [2025-03-30T21:36:46.746Z] STF 22:36:46.414 - [2025-03-30T21:36:46.746Z] STF 22:36:46.414 - ==================== E X E C U T E - ==================== [2025-03-30T21:36:46.746Z] STF 22:36:46.414 - Running execute: perl /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac/aqa-tests/TKG/../TKG/output_17433681155071/CpMpModJar3_1/20250330-223644-CpMpModJar3/execute.pl [2025-03-30T21:36:46.746Z] STF 22:36:46.488 - [2025-03-30T21:36:46.746Z] STF 22:36:46.488 - Java version [2025-03-30T21:36:46.746Z] STF 22:36:46.489 - Running: /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac/jdkbinary/j2sdk-image/Contents/Home/bin/java -version [2025-03-30T21:36:46.746Z] openjdk version "11.0.27-beta" 2025-04-15 [2025-03-30T21:36:46.746Z] OpenJDK Runtime Environment Temurin-11.0.27+5-202503302005 (build 11.0.27-beta+5-ea) [2025-03-30T21:36:46.746Z] OpenJDK 64-Bit Server VM Temurin-11.0.27+5-202503302005 (build 11.0.27-beta+5-ea, mixed mode) [2025-03-30T21:36:46.746Z] STF 22:36:46.599 - [2025-03-30T21:36:46.746Z] STF 22:36:46.599 - +------ Step 1 - Create com.hello jar [2025-03-30T21:36:46.747Z] STF 22:36:46.599 - | Create modular jar [2025-03-30T21:36:46.747Z] STF 22:36:46.599 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hi [2025-03-30T21:36:46.747Z] STF 22:36:46.599 - | ModuleVersion: null [2025-03-30T21:36:46.747Z] STF 22:36:46.599 - | MainClass: null [2025-03-30T21:36:46.747Z] STF 22:36:46.599 - | HashModules: null [2025-03-30T21:36:46.747Z] STF 22:36:46.599 - | [2025-03-30T21:36:46.747Z] STF 22:36:46.599 - Running command: /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_17433681155071/CpMpModJar3_1/20250330-223644-CpMpModJar3/modules/1.com.hi.jar -C /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hi . [2025-03-30T21:36:46.747Z] STF 22:36:46.599 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_17433681155071/CpMpModJar3_1/20250330-223644-CpMpModJar3/results/1.CMJ.stderr [2025-03-30T21:36:46.747Z] STF 22:36:46.599 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_17433681155071/CpMpModJar3_1/20250330-223644-CpMpModJar3/results/1.CMJ.stdout [2025-03-30T21:36:46.747Z] STF 22:36:46.611 - Monitoring processes: CMJ [2025-03-30T21:36:47.139Z] STF 22:36:46.870 - Monitoring Report Summary: [2025-03-30T21:36:47.139Z] STF 22:36:46.870 - o Process CMJ ended with the expected exit code (0) [2025-03-30T21:36:47.139Z] STF 22:36:46.870 - Created modular jar: 1.com.hi.jar [2025-03-30T21:36:47.139Z] STF 22:36:46.870 - [2025-03-30T21:36:47.139Z] STF 22:36:46.870 - +------ Step 2 - Run modularity test with module main class [2025-03-30T21:36:47.139Z] STF 22:36:46.870 - | Run foreground process [2025-03-30T21:36:47.139Z] STF 22:36:46.870 - | Program: /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac/jdkbinary/j2sdk-image/Contents/Home/bin/java [2025-03-30T21:36:47.139Z] STF 22:36:46.870 - | Mnemonic: CpMp [2025-03-30T21:36:47.139Z] STF 22:36:46.870 - | Echo: ECHO_ON [2025-03-30T21:36:47.139Z] STF 22:36:46.870 - | Expectation: CLEAN_RUN within 1m [2025-03-30T21:36:47.139Z] STF 22:36:46.870 - | [2025-03-30T21:36:47.139Z] STF 22:36:46.871 - Running command: /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac/jdkbinary/j2sdk-image/Contents/Home/bin/java --module-path /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_17433681155071/CpMpModJar3_1/20250330-223644-CpMpModJar3/modules/1.com.hi.jar -m com.hi/adoptopenjdk.test.modularity.hi.Hi everyone -XX:-UseCompressedOops [2025-03-30T21:36:47.139Z] STF 22:36:46.871 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_17433681155071/CpMpModJar3_1/20250330-223644-CpMpModJar3/results/2.CpMp.stderr [2025-03-30T21:36:47.139Z] STF 22:36:46.871 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_17433681155071/CpMpModJar3_1/20250330-223644-CpMpModJar3/results/2.CpMp.stdout [2025-03-30T21:36:47.139Z] STF 22:36:46.873 - Monitoring processes: CpMp [2025-03-30T21:36:47.139Z] CpMp Hi everyone [2025-03-30T21:36:47.139Z] STF 22:36:47.088 - Monitoring Report Summary: [2025-03-30T21:36:47.139Z] STF 22:36:47.088 - o Process CpMp ended with the expected exit code (0) [2025-03-30T21:36:47.139Z] STF 22:36:47.088 - [2025-03-30T21:36:47.139Z] STF 22:36:47.088 - +------ Step 3 - Check output [2025-03-30T21:36:47.139Z] STF 22:36:47.088 - | Count file matches [2025-03-30T21:36:47.139Z] STF 22:36:47.088 - | TargetFile: /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_17433681155071/CpMpModJar3_1/20250330-223644-CpMpModJar3/results/2.CpMp.stdout [2025-03-30T21:36:47.139Z] STF 22:36:47.088 - | ExpectedNumMatches: 1 [2025-03-30T21:36:47.139Z] STF 22:36:47.088 - | SearchStrings: ["Hi everyone"] [2025-03-30T21:36:47.139Z] STF 22:36:47.088 - | [2025-03-30T21:36:47.139Z] STF 22:36:47.088 - Found 1 instances of ["Hi everyone"] [2025-03-30T21:36:47.139Z] STF 22:36:47.088 - EXECUTE stage completed [2025-03-30T21:36:47.139Z] STF 22:36:47.094 - [2025-03-30T21:36:47.139Z] STF 22:36:47.094 - ==================== T E A R D O W N ==================== [2025-03-30T21:36:47.139Z] STF 22:36:47.094 - Running teardown: perl /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac/aqa-tests/TKG/../TKG/output_17433681155071/CpMpModJar3_1/20250330-223644-CpMpModJar3/tearDown.pl [2025-03-30T21:36:47.530Z] STF 22:36:47.169 - TEARDOWN stage completed [2025-03-30T21:36:47.530Z] STF 22:36:47.174 - [2025-03-30T21:36:47.530Z] STF 22:36:47.174 - ===================== R E S U L T S ===================== [2025-03-30T21:36:47.530Z] STF 22:36:47.174 - Stage results: [2025-03-30T21:36:47.530Z] STF 22:36:47.174 - setUp: pass [2025-03-30T21:36:47.530Z] STF 22:36:47.174 - execute: pass [2025-03-30T21:36:47.530Z] STF 22:36:47.174 - teardown: pass [2025-03-30T21:36:47.530Z] STF 22:36:47.174 - [2025-03-30T21:36:47.530Z] STF 22:36:47.174 - Overall result: PASSED [2025-03-30T21:36:47.530Z] ----------------------------------- [2025-03-30T21:36:47.530Z] CpMpModJar3_1_PASSED [2025-03-30T21:36:47.530Z] ----------------------------------- [2025-03-30T21:36:47.530Z] [2025-03-30T21:36:47.530Z] TEST TEARDOWN: [2025-03-30T21:36:47.530Z] Nothing to be done for teardown. [2025-03-30T21:36:47.530Z] CpMpModJar3_1 Finish Time: Sun Mar 30 22:36:47 2025 Epoch Time (ms): 1743370607203