CpMpModJar2_0

[2025-08-20T21:03:16.016Z] Running test CpMpModJar2_0 ... [2025-08-20T21:03:16.016Z] =============================================== [2025-08-20T21:03:16.369Z] CpMpModJar2_0 Start Time: Wed Aug 20 22:03:16 2025 Epoch Time (ms): 1755723796003 [2025-08-20T21:03:16.369Z] variation: Mode150 [2025-08-20T21:03:16.369Z] JVM_OPTIONS: -XX:+UseCompressedOops [2025-08-20T21:03:16.369Z] { \ [2025-08-20T21:03:16.369Z] echo ""; echo "TEST SETUP:"; \ [2025-08-20T21:03:16.369Z] echo "Nothing to be done for setup."; \ [2025-08-20T21:03:16.369Z] mkdir -p "/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17557228549446/CpMpModJar2_0"; \ [2025-08-20T21:03:16.369Z] cd "/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17557228549446/CpMpModJar2_0"; \ [2025-08-20T21:03:16.369Z] echo ""; echo "TESTING:"; \ [2025-08-20T21:03:16.369Z] perl /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF/stf.core/scripts/stf.pl -test-root="/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF;/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../../jvmtest/system/modularity/..//aqa-systemtest""" -systemtest-prereqs="/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/../../testDependency/system_lib/" -java-args=' -XX:+UseCompressedOops ' -results-root="/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17557228549446/CpMpModJar2_0" -test=CpMpModJar2; \ [2025-08-20T21:03:16.369Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "CpMpModJar2_0""_PASSED"; echo "-----------------------------------"; cd /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/..; rm -f -r "/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17557228549446/CpMpModJar2_0"; else echo "-----------------------------------"; echo "CpMpModJar2_0""_FAILED"; echo "-----------------------------------"; fi; \ [2025-08-20T21:03:16.369Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-08-20T21:03:16.369Z] echo "Nothing to be done for teardown."; \ [2025-08-20T21:03:16.369Z] } 2>&1 | tee -a "/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17557228549446/TestTargetResult"; [2025-08-20T21:03:16.369Z] [2025-08-20T21:03:16.369Z] TEST SETUP: [2025-08-20T21:03:16.369Z] Nothing to be done for setup. [2025-08-20T21:03:16.369Z] [2025-08-20T21:03:16.369Z] TESTING: [2025-08-20T21:03:16.369Z] STF 22:03:16.104 - ========================= S T F ========================= [2025-08-20T21:03:16.369Z] systemtest-prereqs has been processed, and set to: /Users/jenkins/testDependency/system_libRetrieving amount of free space on drive containing /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17557228549446/CpMpModJar2_0 [2025-08-20T21:03:16.369Z] There is 53365 Mb free [2025-08-20T21:03:16.369Z] STF 22:03:16.116 - ================== G E N E R A T I O N ================== [2025-08-20T21:03:16.369Z] STF 22:03:16.117 - Checking JVM: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/../ [2025-08-20T21:03:16.369Z] STF 22:03:16.117 - Starting process to generate scripts: /Users/jenkins/workspace/Test_openjdk21_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/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/STF/stf.core/scripts/../../stf.load/bin/stf.load.jar -classpath /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/../../testDependency/system_lib//asm/asm.jar:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/../../testDependency/system_lib//asm/asm-commons.jar:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/../../testDependency/system_lib//log4j/log4j-api.jar:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/../../testDependency/system_lib//log4j/log4j-core.jar:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17557228549446/CpMpModJar2_0/20250820-220316-CpMpModJar2/stf_parameters.properties, , /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17557228549446/CpMpModJar2_0/20250820-220316-CpMpModJar2" [2025-08-20T21:03:16.369Z] GEN stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-08-20T21:03:17.596Z] GEN 22:03:17.155 - Found test. Project: 'openjdk.test.modularity' class: 'CpMpModJar2.class' Dir: '/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin' [2025-08-20T21:03:17.596Z] GEN 22:03:17.170 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.CpMpModJar2' [2025-08-20T21:03:17.596Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2025-08-20T21:03:17.596Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayService [2025-08-20T21:03:17.596Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper [2025-08-20T21:03:17.596Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl1 [2025-08-20T21:03:17.596Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet [2025-08-20T21:03:17.596Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello [2025-08-20T21:03:17.596Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola [2025-08-20T21:03:17.596Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl2 [2025-08-20T21:03:17.596Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hi [2025-08-20T21:03:17.596Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override [2025-08-20T21:03:17.596Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override-new [2025-08-20T21:03:17.596Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl3 [2025-08-20T21:03:17.596Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl4 [2025-08-20T21:03:17.596Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common [2025-08-20T21:03:17.596Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests [2025-08-20T21:03:17.596Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin [2025-08-20T21:03:17.596Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/STF/stf.core/bin [2025-08-20T21:03:17.596Z] GEN /Users/jenkins/testDependency/system_lib/log4j/log4j-api.jar [2025-08-20T21:03:17.596Z] GEN /Users/jenkins/testDependency/system_lib/log4j/log4j-core.jar [2025-08-20T21:03:17.596Z] GEN /Users/jenkins/testDependency/system_lib/junit/junit.jar [2025-08-20T21:03:17.596Z] GEN 22:03:17.377 - Using Mode NoOptions. Values = '' [2025-08-20T21:03:17.596Z] GEN 22:03:17.449 - [2025-08-20T21:03:17.596Z] GEN 22:03:17.449 - Test command summary: [2025-08-20T21:03:17.596Z] GEN 22:03:17.449 - Step Stage Command Description [2025-08-20T21:03:17.596Z] GEN 22:03:17.450 - -----+--------+-----------------+------------ [2025-08-20T21:03:17.596Z] GEN 22:03:17.450 - 1 execute jar Create com.hello jar [2025-08-20T21:03:17.596Z] GEN 22:03:17.450 - 2 execute Run java Run modularity test in Junit [2025-08-20T21:03:17.596Z] GEN 22:03:17.450 - 3 execute count Check output [2025-08-20T21:03:17.596Z] STF 22:03:17.478 - [2025-08-20T21:03:17.596Z] STF 22:03:17.478 - Script generation completed [2025-08-20T21:03:17.596Z] STF 22:03:17.478 - [2025-08-20T21:03:17.596Z] STF 22:03:17.479 - [2025-08-20T21:03:17.596Z] STF 22:03:17.479 - ======================= S E T U P ======================= [2025-08-20T21:03:17.596Z] STF 22:03:17.479 - Running setup: perl /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17557228549446/CpMpModJar2_0/20250820-220316-CpMpModJar2/setUp.pl [2025-08-20T21:03:17.596Z] STF 22:03:17.553 - SETUP stage completed [2025-08-20T21:03:17.596Z] STF 22:03:17.559 - [2025-08-20T21:03:17.596Z] STF 22:03:17.559 - ==================== E X E C U T E - ==================== [2025-08-20T21:03:17.596Z] STF 22:03:17.559 - Running execute: perl /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17557228549446/CpMpModJar2_0/20250820-220316-CpMpModJar2/execute.pl [2025-08-20T21:03:17.950Z] STF 22:03:17.638 - [2025-08-20T21:03:17.950Z] STF 22:03:17.639 - Java version [2025-08-20T21:03:17.950Z] STF 22:03:17.639 - Running: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/java -version [2025-08-20T21:03:17.950Z] Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-08-20T21:03:17.950Z] openjdk version "21.0.9-beta" 2025-10-21 [2025-08-20T21:03:17.950Z] OpenJDK Runtime Environment Temurin-21.0.9+4-202508201907 (build 21.0.9-beta+4-ea) [2025-08-20T21:03:17.950Z] OpenJDK 64-Bit Server VM Temurin-21.0.9+4-202508201907 (build 21.0.9-beta+4-ea, mixed mode) [2025-08-20T21:03:17.950Z] STF 22:03:17.752 - [2025-08-20T21:03:17.950Z] STF 22:03:17.753 - +------ Step 1 - Create com.hello jar [2025-08-20T21:03:17.950Z] STF 22:03:17.753 - | Create modular jar [2025-08-20T21:03:17.950Z] STF 22:03:17.753 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hi [2025-08-20T21:03:17.950Z] STF 22:03:17.753 - | ModuleVersion: null [2025-08-20T21:03:17.950Z] STF 22:03:17.753 - | MainClass: adoptopenjdk.test.modularity.hi.Hi [2025-08-20T21:03:17.950Z] STF 22:03:17.753 - | HashModules: null [2025-08-20T21:03:17.950Z] STF 22:03:17.753 - | [2025-08-20T21:03:17.950Z] STF 22:03:17.753 - Running command: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17557228549446/CpMpModJar2_0/20250820-220316-CpMpModJar2/modules/1.com.hi.jar --main-class=adoptopenjdk.test.modularity.hi.Hi -C /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hi . [2025-08-20T21:03:17.950Z] STF 22:03:17.753 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17557228549446/CpMpModJar2_0/20250820-220316-CpMpModJar2/results/1.CMJ.stderr [2025-08-20T21:03:17.950Z] STF 22:03:17.753 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17557228549446/CpMpModJar2_0/20250820-220316-CpMpModJar2/results/1.CMJ.stdout [2025-08-20T21:03:17.950Z] STF 22:03:17.764 - Monitoring processes: CMJ [2025-08-20T21:03:17.950Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-08-20T21:03:18.305Z] STF 22:03:18.138 - Monitoring Report Summary: [2025-08-20T21:03:18.306Z] STF 22:03:18.138 - o Process CMJ ended with the expected exit code (0) [2025-08-20T21:03:18.306Z] STF 22:03:18.138 - Created modular jar: 1.com.hi.jar [2025-08-20T21:03:18.306Z] STF 22:03:18.138 - [2025-08-20T21:03:18.306Z] STF 22:03:18.138 - +------ Step 2 - Run modularity test in Junit [2025-08-20T21:03:18.306Z] STF 22:03:18.138 - | Run foreground process [2025-08-20T21:03:18.306Z] STF 22:03:18.138 - | Program: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/java [2025-08-20T21:03:18.306Z] STF 22:03:18.138 - | Mnemonic: CpMp [2025-08-20T21:03:18.306Z] STF 22:03:18.138 - | Echo: ECHO_ON [2025-08-20T21:03:18.306Z] STF 22:03:18.139 - | Expectation: CLEAN_RUN within 1m [2025-08-20T21:03:18.306Z] STF 22:03:18.139 - | [2025-08-20T21:03:18.306Z] STF 22:03:18.139 - Running command: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/java --module-path /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17557228549446/CpMpModJar2_0/20250820-220316-CpMpModJar2/modules/1.com.hi.jar -m com.hi everyone -XX:+UseCompressedOops [2025-08-20T21:03:18.306Z] STF 22:03:18.139 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17557228549446/CpMpModJar2_0/20250820-220316-CpMpModJar2/results/2.CpMp.stderr [2025-08-20T21:03:18.306Z] STF 22:03:18.139 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17557228549446/CpMpModJar2_0/20250820-220316-CpMpModJar2/results/2.CpMp.stdout [2025-08-20T21:03:18.306Z] STF 22:03:18.140 - Monitoring processes: CpMp [2025-08-20T21:03:18.306Z] CpMp stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-08-20T21:03:18.659Z] CpMp Hi everyone [2025-08-20T21:03:18.659Z] STF 22:03:18.351 - Monitoring Report Summary: [2025-08-20T21:03:18.659Z] STF 22:03:18.351 - o Process CpMp ended with the expected exit code (0) [2025-08-20T21:03:18.659Z] STF 22:03:18.352 - [2025-08-20T21:03:18.659Z] STF 22:03:18.352 - +------ Step 3 - Check output [2025-08-20T21:03:18.659Z] STF 22:03:18.352 - | Count file matches [2025-08-20T21:03:18.659Z] STF 22:03:18.352 - | TargetFile: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17557228549446/CpMpModJar2_0/20250820-220316-CpMpModJar2/results/2.CpMp.stdout [2025-08-20T21:03:18.659Z] STF 22:03:18.352 - | ExpectedNumMatches: 1 [2025-08-20T21:03:18.659Z] STF 22:03:18.352 - | SearchStrings: ["Hi everyone"] [2025-08-20T21:03:18.659Z] STF 22:03:18.352 - | [2025-08-20T21:03:18.659Z] STF 22:03:18.352 - Found 1 instances of ["Hi everyone"] [2025-08-20T21:03:18.659Z] STF 22:03:18.352 - EXECUTE stage completed [2025-08-20T21:03:18.659Z] STF 22:03:18.360 - [2025-08-20T21:03:18.659Z] STF 22:03:18.361 - ==================== T E A R D O W N ==================== [2025-08-20T21:03:18.659Z] STF 22:03:18.361 - Running teardown: perl /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17557228549446/CpMpModJar2_0/20250820-220316-CpMpModJar2/tearDown.pl [2025-08-20T21:03:18.659Z] STF 22:03:18.436 - TEARDOWN stage completed [2025-08-20T21:03:18.659Z] STF 22:03:18.447 - [2025-08-20T21:03:18.659Z] STF 22:03:18.447 - ===================== R E S U L T S ===================== [2025-08-20T21:03:18.659Z] STF 22:03:18.447 - Stage results: [2025-08-20T21:03:18.659Z] STF 22:03:18.447 - setUp: pass [2025-08-20T21:03:18.659Z] STF 22:03:18.447 - execute: pass [2025-08-20T21:03:18.659Z] STF 22:03:18.447 - teardown: pass [2025-08-20T21:03:18.659Z] STF 22:03:18.447 - [2025-08-20T21:03:18.659Z] STF 22:03:18.447 - Overall result: PASSED [2025-08-20T21:03:18.659Z] ----------------------------------- [2025-08-20T21:03:18.659Z] CpMpModJar2_0_PASSED [2025-08-20T21:03:18.659Z] ----------------------------------- [2025-08-20T21:03:18.659Z] [2025-08-20T21:03:18.659Z] TEST TEARDOWN: [2025-08-20T21:03:18.659Z] Nothing to be done for teardown. [2025-08-20T21:03:18.659Z] CpMpModJar2_0 Finish Time: Wed Aug 20 22:03:18 2025 Epoch Time (ms): 1755723798476