CpMpModJar3_0
[2025-03-30T21:36:42.611Z] Running test CpMpModJar3_0 ...
[2025-03-30T21:36:42.611Z] ===============================================
[2025-03-30T21:36:42.611Z] CpMpModJar3_0 Start Time: Sun Mar 30 22:36:42 2025 Epoch Time (ms): 1743370602386
[2025-03-30T21:36:42.611Z] variation: Mode150
[2025-03-30T21:36:42.611Z] JVM_OPTIONS: -XX:+UseCompressedOops
[2025-03-30T21:36:42.611Z] { \
[2025-03-30T21:36:42.611Z] echo ""; echo "TEST SETUP:"; \
[2025-03-30T21:36:42.611Z] echo "Nothing to be done for setup."; \
[2025-03-30T21:36:42.611Z] mkdir -p "/Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac/aqa-tests/TKG/../TKG/output_17433681155071/CpMpModJar3_0"; \
[2025-03-30T21:36:42.611Z] cd "/Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac/aqa-tests/TKG/../TKG/output_17433681155071/CpMpModJar3_0"; \
[2025-03-30T21:36:42.611Z] echo ""; echo "TESTING:"; \
[2025-03-30T21:36:42.611Z] 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_0" -test=CpMpModJar3; \
[2025-03-30T21:36:42.611Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "CpMpModJar3_0""_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_0"; else echo "-----------------------------------"; echo "CpMpModJar3_0""_FAILED"; echo "-----------------------------------"; fi; \
[2025-03-30T21:36:42.611Z] echo ""; echo "TEST TEARDOWN:"; \
[2025-03-30T21:36:42.611Z] echo "Nothing to be done for teardown."; \
[2025-03-30T21:36:42.611Z] } 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:42.611Z]
[2025-03-30T21:36:42.611Z] TEST SETUP:
[2025-03-30T21:36:42.611Z] Nothing to be done for setup.
[2025-03-30T21:36:42.611Z]
[2025-03-30T21:36:42.611Z] TESTING:
[2025-03-30T21:36:42.611Z] STF 22:36:42.481 - ========================= S T F =========================
[2025-03-30T21:36:42.611Z] 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_0
[2025-03-30T21:36:42.611Z] There is 50940 Mb free
[2025-03-30T21:36:42.611Z] STF 22:36:42.491 - ================== G E N E R A T I O N ==================
[2025-03-30T21:36:42.611Z] STF 22:36:42.493 - Checking JVM: /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac/jdkbinary/j2sdk-image/Contents/Home/bin/../
[2025-03-30T21:36:42.611Z] STF 22:36:42.493 - 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_0/20250330-223642-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_0/20250330-223642-CpMpModJar3"
[2025-03-30T21:36:43.947Z] GEN 22:36:43.514 - 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:43.947Z] GEN 22:36:43.533 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.CpMpModJar3'
[2025-03-30T21:36:43.947Z] GEN Classpath directories used by project 'openjdk.test.modularity':
[2025-03-30T21:36:43.947Z] 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:43.947Z] 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:43.947Z] 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:43.947Z] 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:43.947Z] 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:43.947Z] 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:43.947Z] 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:43.947Z] 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:43.947Z] 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:43.947Z] 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:43.947Z] 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:43.947Z] 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:43.947Z] 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:43.947Z] 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:43.947Z] GEN /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin
[2025-03-30T21:36:43.947Z] GEN /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac/jvmtest/system/STF/stf.core/bin
[2025-03-30T21:36:43.947Z] GEN /Users/jenkins/testDependency/system_lib/log4j/log4j-api.jar
[2025-03-30T21:36:43.947Z] GEN /Users/jenkins/testDependency/system_lib/log4j/log4j-core.jar
[2025-03-30T21:36:43.947Z] GEN /Users/jenkins/testDependency/system_lib/junit/junit.jar
[2025-03-30T21:36:43.947Z] GEN 22:36:43.758 - Using Mode NoOptions. Values = ''
[2025-03-30T21:36:43.947Z] GEN 22:36:43.857 -
[2025-03-30T21:36:43.947Z] GEN 22:36:43.858 - Test command summary:
[2025-03-30T21:36:43.947Z] GEN 22:36:43.858 - Step Stage Command Description
[2025-03-30T21:36:43.947Z] GEN 22:36:43.858 - -----+--------+-----------------+------------
[2025-03-30T21:36:43.947Z] GEN 22:36:43.859 - 1 execute jar Create com.hello jar
[2025-03-30T21:36:43.947Z] GEN 22:36:43.859 - 2 execute Run java Run modularity test with module main class
[2025-03-30T21:36:43.947Z] GEN 22:36:43.859 - 3 execute count Check output
[2025-03-30T21:36:43.947Z] STF 22:36:43.892 -
[2025-03-30T21:36:43.947Z] STF 22:36:43.892 - Script generation completed
[2025-03-30T21:36:43.947Z] STF 22:36:43.892 -
[2025-03-30T21:36:43.947Z] STF 22:36:43.892 -
[2025-03-30T21:36:43.947Z] STF 22:36:43.892 - ======================= S E T U P =======================
[2025-03-30T21:36:43.947Z] STF 22:36:43.892 - Running setup: perl /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac/aqa-tests/TKG/../TKG/output_17433681155071/CpMpModJar3_0/20250330-223642-CpMpModJar3/setUp.pl
[2025-03-30T21:36:44.339Z] STF 22:36:43.965 - SETUP stage completed
[2025-03-30T21:36:44.339Z] STF 22:36:43.967 -
[2025-03-30T21:36:44.339Z] STF 22:36:43.967 - ==================== E X E C U T E - ====================
[2025-03-30T21:36:44.339Z] STF 22:36:43.967 - Running execute: perl /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac/aqa-tests/TKG/../TKG/output_17433681155071/CpMpModJar3_0/20250330-223642-CpMpModJar3/execute.pl
[2025-03-30T21:36:44.340Z] STF 22:36:44.041 -
[2025-03-30T21:36:44.340Z] STF 22:36:44.041 - Java version
[2025-03-30T21:36:44.340Z] STF 22:36:44.041 - Running: /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac/jdkbinary/j2sdk-image/Contents/Home/bin/java -version
[2025-03-30T21:36:44.340Z] openjdk version "11.0.27-beta" 2025-04-15
[2025-03-30T21:36:44.340Z] OpenJDK Runtime Environment Temurin-11.0.27+5-202503302005 (build 11.0.27-beta+5-ea)
[2025-03-30T21:36:44.340Z] OpenJDK 64-Bit Server VM Temurin-11.0.27+5-202503302005 (build 11.0.27-beta+5-ea, mixed mode)
[2025-03-30T21:36:44.340Z] STF 22:36:44.150 -
[2025-03-30T21:36:44.340Z] STF 22:36:44.150 - +------ Step 1 - Create com.hello jar
[2025-03-30T21:36:44.340Z] STF 22:36:44.150 - | Create modular jar
[2025-03-30T21:36:44.340Z] STF 22:36:44.151 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hi
[2025-03-30T21:36:44.340Z] STF 22:36:44.151 - | ModuleVersion: null
[2025-03-30T21:36:44.340Z] STF 22:36:44.151 - | MainClass: null
[2025-03-30T21:36:44.340Z] STF 22:36:44.151 - | HashModules: null
[2025-03-30T21:36:44.340Z] STF 22:36:44.151 - |
[2025-03-30T21:36:44.340Z] STF 22:36:44.151 - 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_0/20250330-223642-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:44.340Z] STF 22:36:44.151 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_17433681155071/CpMpModJar3_0/20250330-223642-CpMpModJar3/results/1.CMJ.stderr
[2025-03-30T21:36:44.340Z] STF 22:36:44.151 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_17433681155071/CpMpModJar3_0/20250330-223642-CpMpModJar3/results/1.CMJ.stdout
[2025-03-30T21:36:44.340Z] STF 22:36:44.161 - Monitoring processes: CMJ
[2025-03-30T21:36:44.733Z] STF 22:36:44.426 - Monitoring Report Summary:
[2025-03-30T21:36:44.733Z] STF 22:36:44.426 - o Process CMJ ended with the expected exit code (0)
[2025-03-30T21:36:44.733Z] STF 22:36:44.427 - Created modular jar: 1.com.hi.jar
[2025-03-30T21:36:44.733Z] STF 22:36:44.427 -
[2025-03-30T21:36:44.733Z] STF 22:36:44.427 - +------ Step 2 - Run modularity test with module main class
[2025-03-30T21:36:44.733Z] STF 22:36:44.427 - | Run foreground process
[2025-03-30T21:36:44.733Z] STF 22:36:44.427 - | Program: /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac/jdkbinary/j2sdk-image/Contents/Home/bin/java
[2025-03-30T21:36:44.733Z] STF 22:36:44.427 - | Mnemonic: CpMp
[2025-03-30T21:36:44.733Z] STF 22:36:44.427 - | Echo: ECHO_ON
[2025-03-30T21:36:44.733Z] STF 22:36:44.427 - | Expectation: CLEAN_RUN within 1m
[2025-03-30T21:36:44.733Z] STF 22:36:44.427 - |
[2025-03-30T21:36:44.733Z] STF 22:36:44.427 - 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_0/20250330-223642-CpMpModJar3/modules/1.com.hi.jar -m com.hi/adoptopenjdk.test.modularity.hi.Hi everyone -XX:+UseCompressedOops
[2025-03-30T21:36:44.733Z] STF 22:36:44.427 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_17433681155071/CpMpModJar3_0/20250330-223642-CpMpModJar3/results/2.CpMp.stderr
[2025-03-30T21:36:44.733Z] STF 22:36:44.427 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_17433681155071/CpMpModJar3_0/20250330-223642-CpMpModJar3/results/2.CpMp.stdout
[2025-03-30T21:36:44.733Z] STF 22:36:44.429 - Monitoring processes: CpMp
[2025-03-30T21:36:44.733Z] CpMp Hi everyone
[2025-03-30T21:36:44.733Z] STF 22:36:44.660 - Monitoring Report Summary:
[2025-03-30T21:36:44.733Z] STF 22:36:44.660 - o Process CpMp ended with the expected exit code (0)
[2025-03-30T21:36:44.733Z] STF 22:36:44.660 -
[2025-03-30T21:36:44.733Z] STF 22:36:44.660 - +------ Step 3 - Check output
[2025-03-30T21:36:44.733Z] STF 22:36:44.660 - | Count file matches
[2025-03-30T21:36:44.733Z] STF 22:36:44.660 - | TargetFile: /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_17433681155071/CpMpModJar3_0/20250330-223642-CpMpModJar3/results/2.CpMp.stdout
[2025-03-30T21:36:44.733Z] STF 22:36:44.660 - | ExpectedNumMatches: 1
[2025-03-30T21:36:44.733Z] STF 22:36:44.660 - | SearchStrings: ["Hi everyone"]
[2025-03-30T21:36:44.733Z] STF 22:36:44.660 - |
[2025-03-30T21:36:44.733Z] STF 22:36:44.660 - Found 1 instances of ["Hi everyone"]
[2025-03-30T21:36:44.733Z] STF 22:36:44.661 - EXECUTE stage completed
[2025-03-30T21:36:44.733Z] STF 22:36:44.668 -
[2025-03-30T21:36:44.733Z] STF 22:36:44.668 - ==================== T E A R D O W N ====================
[2025-03-30T21:36:44.733Z] STF 22:36:44.668 - Running teardown: perl /Users/jenkins/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac/aqa-tests/TKG/../TKG/output_17433681155071/CpMpModJar3_0/20250330-223642-CpMpModJar3/tearDown.pl
[2025-03-30T21:36:45.126Z] STF 22:36:44.741 - TEARDOWN stage completed
[2025-03-30T21:36:45.126Z] STF 22:36:44.744 -
[2025-03-30T21:36:45.126Z] STF 22:36:44.744 - ===================== R E S U L T S =====================
[2025-03-30T21:36:45.126Z] STF 22:36:44.744 - Stage results:
[2025-03-30T21:36:45.126Z] STF 22:36:44.744 - setUp: pass
[2025-03-30T21:36:45.126Z] STF 22:36:44.744 - execute: pass
[2025-03-30T21:36:45.126Z] STF 22:36:44.744 - teardown: pass
[2025-03-30T21:36:45.126Z] STF 22:36:44.744 -
[2025-03-30T21:36:45.126Z] STF 22:36:44.744 - Overall result: PASSED
[2025-03-30T21:36:45.126Z] -----------------------------------
[2025-03-30T21:36:45.126Z] CpMpModJar3_0_PASSED
[2025-03-30T21:36:45.126Z] -----------------------------------
[2025-03-30T21:36:45.126Z]
[2025-03-30T21:36:45.126Z] TEST TEARDOWN:
[2025-03-30T21:36:45.126Z] Nothing to be done for teardown.
[2025-03-30T21:36:45.126Z] CpMpModJar3_0 Finish Time: Sun Mar 30 22:36:44 2025 Epoch Time (ms): 1743370604775