CpMpModJar2_0

[2026-04-07T00:00:35.352Z] Running test CpMpModJar2_0 ... [2026-04-07T00:00:35.352Z] =============================================== [2026-04-07T00:00:35.352Z] CpMpModJar2_0 Start Time: Mon Apr 6 20:00:34 2026 Epoch Time (ms): 1775520034958 [2026-04-07T00:00:35.352Z] variation: Mode150 [2026-04-07T00:00:35.352Z] JVM_OPTIONS: -XX:+UseCompressedOops [2026-04-07T00:00:35.352Z] { \ [2026-04-07T00:00:35.352Z] echo ""; echo "TEST SETUP:"; \ [2026-04-07T00:00:35.352Z] echo "Nothing to be done for setup."; \ [2026-04-07T00:00:35.352Z] mkdir -p "/Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17755195705652/CpMpModJar2_0"; \ [2026-04-07T00:00:35.352Z] cd "/Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17755195705652/CpMpModJar2_0"; \ [2026-04-07T00:00:35.352Z] echo ""; echo "TESTING:"; \ [2026-04-07T00:00:35.352Z] perl /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF/stf.core/scripts/stf.pl -test-root="/Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF;/Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../../jvmtest/system/modularity/..//aqa-systemtest""" -systemtest-prereqs="/Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/../../externalDependency/system_lib/" -java-args=' -XX:+UseCompressedOops ' -results-root="/Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17755195705652/CpMpModJar2_0" -test=CpMpModJar2; \ [2026-04-07T00:00:35.352Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "CpMpModJar2_0""_PASSED"; echo "-----------------------------------"; cd /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/..; rm -f -r "/Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17755195705652/CpMpModJar2_0"; else echo "-----------------------------------"; echo "CpMpModJar2_0""_FAILED"; echo "-----------------------------------"; fi; \ [2026-04-07T00:00:35.352Z] echo ""; echo "TEST TEARDOWN:"; \ [2026-04-07T00:00:35.352Z] echo "Nothing to be done for teardown."; \ [2026-04-07T00:00:35.352Z] } 2>&1 | tee -a "/Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17755195705652/TestTargetResult"; [2026-04-07T00:00:35.352Z] [2026-04-07T00:00:35.352Z] TEST SETUP: [2026-04-07T00:00:35.352Z] Nothing to be done for setup. [2026-04-07T00:00:35.352Z] [2026-04-07T00:00:35.352Z] TESTING: [2026-04-07T00:00:35.779Z] STF 20:00:35.360 - ========================= S T F ========================= [2026-04-07T00:00:35.780Z] systemtest-prereqs has been processed, and set to: /Users/admin/workspace/externalDependency/system_libRetrieving amount of free space on drive containing /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17755195705652/CpMpModJar2_0 [2026-04-07T00:00:35.780Z] There is 11945 Mb free [2026-04-07T00:00:35.780Z] STF 20:00:35.374 - ================== G E N E R A T I O N ================== [2026-04-07T00:00:35.780Z] STF 20:00:35.375 - Checking JVM: /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/../ [2026-04-07T00:00:35.780Z] STF 20:00:35.375 - Starting process to generate scripts: /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/..//bin/java -Dlog4j.skipJansi=true -Djava.system.class.loader=net.adoptopenjdk.stf.runner.StfClassLoader -Dload.agent.path=/Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/STF/stf.core/scripts/../../stf.load/bin/stf.load.jar -classpath /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/../../externalDependency/system_lib//asm/asm.jar:/Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/../../externalDependency/system_lib//asm/asm-commons.jar:/Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/../../externalDependency/system_lib//log4j/log4j-api.jar:/Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/../../externalDependency/system_lib//log4j/log4j-core.jar:/Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "/Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17755195705652/CpMpModJar2_0/20260406-200035-CpMpModJar2/stf_parameters.properties, , /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "/Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17755195705652/CpMpModJar2_0/20260406-200035-CpMpModJar2" [2026-04-07T00:00:39.595Z] GEN 20:00:39.273 - Found test. Project: 'openjdk.test.modularity' class: 'CpMpModJar2.class' Dir: '/Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin' [2026-04-07T00:00:39.595Z] GEN 20:00:39.313 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.CpMpModJar2' [2026-04-07T00:00:40.693Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2026-04-07T00:00:40.693Z] GEN /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayService [2026-04-07T00:00:40.693Z] GEN /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper [2026-04-07T00:00:40.693Z] GEN /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl1 [2026-04-07T00:00:40.693Z] GEN /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet [2026-04-07T00:00:40.693Z] GEN /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello [2026-04-07T00:00:40.693Z] GEN /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola [2026-04-07T00:00:40.693Z] GEN /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl2 [2026-04-07T00:00:40.694Z] GEN /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hi [2026-04-07T00:00:40.694Z] GEN /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override [2026-04-07T00:00:40.694Z] GEN /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override-new [2026-04-07T00:00:40.694Z] GEN /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl3 [2026-04-07T00:00:40.694Z] GEN /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl4 [2026-04-07T00:00:40.694Z] GEN /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common [2026-04-07T00:00:40.694Z] GEN /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests [2026-04-07T00:00:40.694Z] GEN /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin [2026-04-07T00:00:40.694Z] GEN /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/STF/stf.core/bin [2026-04-07T00:00:40.694Z] GEN /Users/admin/workspace/externalDependency/system_lib/log4j/log4j-api.jar [2026-04-07T00:00:40.694Z] GEN /Users/admin/workspace/externalDependency/system_lib/log4j/log4j-core.jar [2026-04-07T00:00:40.694Z] GEN /Users/admin/workspace/externalDependency/system_lib/junit/junit.jar [2026-04-07T00:00:40.694Z] GEN 20:00:40.319 - Using Mode NoOptions. Values = '' [2026-04-07T00:00:42.084Z] GEN 20:00:41.665 - [2026-04-07T00:00:42.084Z] GEN 20:00:41.666 - Test command summary: [2026-04-07T00:00:42.084Z] GEN 20:00:41.666 - Step Stage Command Description [2026-04-07T00:00:42.084Z] GEN 20:00:41.666 - -----+--------+-----------------+------------ [2026-04-07T00:00:42.084Z] GEN 20:00:41.666 - 1 execute jar Create com.hello jar [2026-04-07T00:00:42.084Z] GEN 20:00:41.666 - 2 execute Run java Run modularity test in Junit [2026-04-07T00:00:42.084Z] GEN 20:00:41.666 - 3 execute count Check output [2026-04-07T00:00:42.084Z] STF 20:00:41.816 - [2026-04-07T00:00:42.084Z] STF 20:00:41.816 - Script generation completed [2026-04-07T00:00:42.084Z] STF 20:00:41.816 - [2026-04-07T00:00:42.084Z] STF 20:00:41.817 - [2026-04-07T00:00:42.084Z] STF 20:00:41.817 - ======================= S E T U P ======================= [2026-04-07T00:00:42.084Z] STF 20:00:41.817 - Running setup: perl /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17755195705652/CpMpModJar2_0/20260406-200035-CpMpModJar2/setUp.pl [2026-04-07T00:00:42.552Z] STF 20:00:42.012 - SETUP stage completed [2026-04-07T00:00:42.552Z] STF 20:00:42.019 - [2026-04-07T00:00:42.552Z] STF 20:00:42.019 - ==================== E X E C U T E - ==================== [2026-04-07T00:00:42.552Z] STF 20:00:42.019 - Running execute: perl /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17755195705652/CpMpModJar2_0/20260406-200035-CpMpModJar2/execute.pl [2026-04-07T00:00:42.552Z] STF 20:00:42.188 - [2026-04-07T00:00:42.552Z] STF 20:00:42.188 - Java version [2026-04-07T00:00:42.552Z] STF 20:00:42.188 - Running: /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/java -version [2026-04-07T00:00:42.936Z] openjdk version "11.0.31-beta" 2026-04-21 [2026-04-07T00:00:42.936Z] OpenJDK Runtime Environment Temurin-11.0.31+10-202604062005 (build 11.0.31-beta+10-ea) [2026-04-07T00:00:42.936Z] OpenJDK 64-Bit Server VM Temurin-11.0.31+10-202604062005 (build 11.0.31-beta+10-ea, mixed mode) [2026-04-07T00:00:42.936Z] STF 20:00:42.578 - [2026-04-07T00:00:42.936Z] STF 20:00:42.578 - +------ Step 1 - Create com.hello jar [2026-04-07T00:00:42.936Z] STF 20:00:42.578 - | Create modular jar [2026-04-07T00:00:42.936Z] STF 20:00:42.578 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hi [2026-04-07T00:00:42.936Z] STF 20:00:42.578 - | ModuleVersion: null [2026-04-07T00:00:42.936Z] STF 20:00:42.578 - | MainClass: adoptopenjdk.test.modularity.hi.Hi [2026-04-07T00:00:42.936Z] STF 20:00:42.578 - | HashModules: null [2026-04-07T00:00:42.936Z] STF 20:00:42.578 - | [2026-04-07T00:00:42.936Z] STF 20:00:42.579 - Running command: /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17755195705652/CpMpModJar2_0/20260406-200035-CpMpModJar2/modules/1.com.hi.jar --main-class=adoptopenjdk.test.modularity.hi.Hi -C /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hi . [2026-04-07T00:00:42.936Z] STF 20:00:42.579 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17755195705652/CpMpModJar2_0/20260406-200035-CpMpModJar2/results/1.CMJ.stderr [2026-04-07T00:00:42.936Z] STF 20:00:42.579 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17755195705652/CpMpModJar2_0/20260406-200035-CpMpModJar2/results/1.CMJ.stdout [2026-04-07T00:00:42.936Z] STF 20:00:42.679 - Monitoring processes: CMJ [2026-04-07T00:00:45.284Z] STF 20:00:44.572 - Monitoring Report Summary: [2026-04-07T00:00:45.284Z] STF 20:00:44.572 - o Process CMJ ended with the expected exit code (0) [2026-04-07T00:00:45.284Z] STF 20:00:44.573 - Created modular jar: 1.com.hi.jar [2026-04-07T00:00:45.284Z] STF 20:00:44.573 - [2026-04-07T00:00:45.284Z] STF 20:00:44.573 - +------ Step 2 - Run modularity test in Junit [2026-04-07T00:00:45.284Z] STF 20:00:44.573 - | Run foreground process [2026-04-07T00:00:45.284Z] STF 20:00:44.573 - | Program: /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/java [2026-04-07T00:00:45.284Z] STF 20:00:44.573 - | Mnemonic: CpMp [2026-04-07T00:00:45.284Z] STF 20:00:44.573 - | Echo: ECHO_ON [2026-04-07T00:00:45.284Z] STF 20:00:44.573 - | Expectation: CLEAN_RUN within 1m [2026-04-07T00:00:45.284Z] STF 20:00:44.573 - | [2026-04-07T00:00:45.284Z] STF 20:00:44.573 - Running command: /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/java --module-path /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17755195705652/CpMpModJar2_0/20260406-200035-CpMpModJar2/modules/1.com.hi.jar -m com.hi everyone -XX:+UseCompressedOops [2026-04-07T00:00:45.284Z] STF 20:00:44.573 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17755195705652/CpMpModJar2_0/20260406-200035-CpMpModJar2/results/2.CpMp.stderr [2026-04-07T00:00:45.284Z] STF 20:00:44.573 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17755195705652/CpMpModJar2_0/20260406-200035-CpMpModJar2/results/2.CpMp.stdout [2026-04-07T00:00:45.284Z] STF 20:00:44.576 - Monitoring processes: CpMp [2026-04-07T00:00:45.692Z] CpMp Hi everyone [2026-04-07T00:00:45.692Z] STF 20:00:45.196 - Monitoring Report Summary: [2026-04-07T00:00:45.692Z] STF 20:00:45.196 - o Process CpMp ended with the expected exit code (0) [2026-04-07T00:00:45.692Z] STF 20:00:45.197 - [2026-04-07T00:00:45.692Z] STF 20:00:45.197 - +------ Step 3 - Check output [2026-04-07T00:00:45.692Z] STF 20:00:45.197 - | Count file matches [2026-04-07T00:00:45.692Z] STF 20:00:45.197 - | TargetFile: /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17755195705652/CpMpModJar2_0/20260406-200035-CpMpModJar2/results/2.CpMp.stdout [2026-04-07T00:00:45.692Z] STF 20:00:45.197 - | ExpectedNumMatches: 1 [2026-04-07T00:00:45.692Z] STF 20:00:45.197 - | SearchStrings: ["Hi everyone"] [2026-04-07T00:00:45.692Z] STF 20:00:45.197 - | [2026-04-07T00:00:45.692Z] STF 20:00:45.197 - Found 1 instances of ["Hi everyone"] [2026-04-07T00:00:45.692Z] STF 20:00:45.197 - EXECUTE stage completed [2026-04-07T00:00:45.692Z] STF 20:00:45.226 - [2026-04-07T00:00:45.692Z] STF 20:00:45.226 - ==================== T E A R D O W N ==================== [2026-04-07T00:00:45.692Z] STF 20:00:45.226 - Running teardown: perl /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17755195705652/CpMpModJar2_0/20260406-200035-CpMpModJar2/tearDown.pl [2026-04-07T00:00:45.692Z] STF 20:00:45.475 - TEARDOWN stage completed [2026-04-07T00:00:45.692Z] STF 20:00:45.487 - [2026-04-07T00:00:45.692Z] STF 20:00:45.487 - ===================== R E S U L T S ===================== [2026-04-07T00:00:45.692Z] STF 20:00:45.487 - Stage results: [2026-04-07T00:00:45.693Z] STF 20:00:45.487 - setUp: pass [2026-04-07T00:00:45.693Z] STF 20:00:45.487 - execute: pass [2026-04-07T00:00:45.693Z] STF 20:00:45.487 - teardown: pass [2026-04-07T00:00:45.693Z] STF 20:00:45.487 - [2026-04-07T00:00:45.693Z] STF 20:00:45.487 - Overall result: PASSED [2026-04-07T00:00:45.693Z] ----------------------------------- [2026-04-07T00:00:45.693Z] CpMpModJar2_0_PASSED [2026-04-07T00:00:45.693Z] ----------------------------------- [2026-04-07T00:00:46.185Z] [2026-04-07T00:00:46.185Z] TEST TEARDOWN: [2026-04-07T00:00:46.185Z] Nothing to be done for teardown. [2026-04-07T00:00:46.185Z] CpMpModJar2_0 Finish Time: Mon Apr 6 20:00:45 2026 Epoch Time (ms): 1775520045601