CpMpModJar2_0

[2025-06-13T05:41:49.010Z] Running test CpMpModJar2_0 ... [2025-06-13T05:41:49.301Z] =============================================== [2025-06-13T05:41:49.593Z] CpMpModJar2_0 Start Time: Fri Jun 13 05:41:49 2025 Epoch Time (ms): 1749793309348 [2025-06-13T05:41:49.593Z] variation: Mode150 [2025-06-13T05:41:49.884Z] JVM_OPTIONS: -XX:+UseCompressedOops [2025-06-13T05:41:49.884Z] { \ [2025-06-13T05:41:49.884Z] echo ""; echo "TEST SETUP:"; \ [2025-06-13T05:41:49.884Z] echo "Nothing to be done for setup."; \ [2025-06-13T05:41:49.884Z] mkdir -p "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17497918292773\\CpMpModJar2_0"; \ [2025-06-13T05:41:49.884Z] cd "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17497918292773\\CpMpModJar2_0"; \ [2025-06-13T05:41:49.884Z] echo ""; echo "TESTING:"; \ [2025-06-13T05:41:49.884Z] perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests///..//jvmtest\\system\\modularity/../\\STF\\stf.core\\scripts\\stf.pl -test-root="C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests///..//jvmtest\\system\\modularity/../\\STF;C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests///..//jvmtest\\system\\modularity/../\\aqa-systemtest""" -systemtest-prereqs="C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/../../testDependency/system_lib\\" -java-args=' -XX:+UseCompressedOops ' -results-root="C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17497918292773\\CpMpModJar2_0" -test=CpMpModJar2; \ [2025-06-13T05:41:49.884Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "CpMpModJar2_0""_PASSED"; echo "-----------------------------------"; cd C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/; rm -f -r "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17497918292773\\CpMpModJar2_0"; else echo "-----------------------------------"; echo "CpMpModJar2_0""_FAILED"; echo "-----------------------------------"; fi; \ [2025-06-13T05:41:49.884Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-06-13T05:41:49.884Z] echo "Nothing to be done for teardown."; \ [2025-06-13T05:41:49.884Z] } 2>&1 | tee -a "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17497918292773\\TestTargetResult"; [2025-06-13T05:41:50.177Z] [2025-06-13T05:41:50.177Z] TEST SETUP: [2025-06-13T05:41:50.177Z] Nothing to be done for setup. [2025-06-13T05:41:50.177Z] [2025-06-13T05:41:50.177Z] TESTING: [2025-06-13T05:41:50.469Z] STF 05:41:50.348 - ========================= S T F ========================= [2025-06-13T05:41:50.470Z] systemtest-prereqs has been processed, and set to: C:/Users/jenkins/testDependency/system_libRetrieving amount of free space on drive containing C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17497918292773\CpMpModJar2_0 [2025-06-13T05:41:50.763Z] There is 46532 Mb free [2025-06-13T05:41:50.763Z] STF 05:41:50.427 - ================== G E N E R A T I O N ================== [2025-06-13T05:41:50.763Z] STF 05:41:50.433 - Checking JVM: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image [2025-06-13T05:41:50.763Z] STF 05:41:50.433 - Starting process to generate scripts: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/java -Dlog4j.skipJansi=true -Djava.system.class.loader=net.adoptopenjdk.stf.runner.StfClassLoader -Dload.agent.path=C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jvmtest/system/STF/stf.core/scripts/../../stf.load/bin/stf.load.jar -classpath C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/../../testDependency/system_lib\/asm/asm.jar;C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/../../testDependency/system_lib\/asm/asm-commons.jar;C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/../../testDependency/system_lib\/log4j/log4j-api.jar;C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/../../testDependency/system_lib\/log4j/log4j-core.jar;C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17497918292773\CpMpModJar2_0/20250613-054150-CpMpModJar2/stf_parameters.properties, , C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17497918292773\CpMpModJar2_0/20250613-054150-CpMpModJar2" [2025-06-13T05:41:50.763Z] GEN stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-06-13T05:41:51.797Z] GEN 05:41:51.644 - Found test. Project: 'openjdk.test.modularity' class: 'CpMpModJar2.class' Dir: 'C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin' [2025-06-13T05:41:51.797Z] GEN 05:41:51.660 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.CpMpModJar2' [2025-06-13T05:41:52.089Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2025-06-13T05:41:52.089Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayService [2025-06-13T05:41:52.089Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper [2025-06-13T05:41:52.089Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl1 [2025-06-13T05:41:52.089Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet [2025-06-13T05:41:52.089Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello [2025-06-13T05:41:52.089Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola [2025-06-13T05:41:52.089Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl2 [2025-06-13T05:41:52.089Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hi [2025-06-13T05:41:52.089Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override [2025-06-13T05:41:52.089Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override-new [2025-06-13T05:41:52.089Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl3 [2025-06-13T05:41:52.089Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl4 [2025-06-13T05:41:52.089Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common [2025-06-13T05:41:52.089Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests [2025-06-13T05:41:52.089Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin [2025-06-13T05:41:52.089Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\\jvmtest\\system\\STF\\stf.core\\bin [2025-06-13T05:41:52.089Z] GEN C:/Users/jenkins/testDependency/system_lib/log4j/log4j-api.jar [2025-06-13T05:41:52.089Z] GEN C:/Users/jenkins/testDependency/system_lib/log4j/log4j-core.jar [2025-06-13T05:41:52.089Z] GEN C:/Users/jenkins/testDependency/system_lib/junit/junit.jar [2025-06-13T05:41:52.089Z] GEN 05:41:51.910 - Using Mode NoOptions. Values = '' [2025-06-13T05:41:52.089Z] GEN 05:41:51.988 - [2025-06-13T05:41:52.089Z] GEN 05:41:51.988 - Test command summary: [2025-06-13T05:41:52.089Z] GEN 05:41:51.988 - Step Stage Command Description [2025-06-13T05:41:52.089Z] GEN 05:41:51.988 - -----+--------+-----------------+------------ [2025-06-13T05:41:52.089Z] GEN 05:41:51.988 - 1 execute jar Create com.hello jar [2025-06-13T05:41:52.089Z] GEN 05:41:51.988 - 2 execute Run java Run modularity test in Junit [2025-06-13T05:41:52.089Z] GEN 05:41:51.988 - 3 execute count Check output [2025-06-13T05:41:52.089Z] STF 05:41:52.054 - [2025-06-13T05:41:52.089Z] STF 05:41:52.054 - Script generation completed [2025-06-13T05:41:52.089Z] STF 05:41:52.054 - [2025-06-13T05:41:52.089Z] STF 05:41:52.057 - [2025-06-13T05:41:52.089Z] STF 05:41:52.057 - ======================= S E T U P ======================= [2025-06-13T05:41:52.089Z] STF 05:41:52.057 - Running setup: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17497918292773\CpMpModJar2_0/20250613-054150-CpMpModJar2/setUp.pl [2025-06-13T05:41:52.723Z] STF 05:41:52.441 - SETUP stage completed [2025-06-13T05:41:52.723Z] STF 05:41:52.490 - [2025-06-13T05:41:52.723Z] STF 05:41:52.490 - ==================== E X E C U T E - ==================== [2025-06-13T05:41:52.723Z] STF 05:41:52.490 - Running execute: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17497918292773\CpMpModJar2_0/20250613-054150-CpMpModJar2/execute.pl [2025-06-13T05:41:53.014Z] STF 05:41:52.879 - [2025-06-13T05:41:53.014Z] STF 05:41:52.879 - Java version [2025-06-13T05:41:53.014Z] STF 05:41:52.879 - Running: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/java -version [2025-06-13T05:41:53.014Z] Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-06-13T05:41:53.305Z] openjdk version "21.0.8-beta" 2025-07-15 [2025-06-13T05:41:53.305Z] OpenJDK Runtime Environment Temurin-21.0.8+6-202506121054 (build 21.0.8-beta+6-ea) [2025-06-13T05:41:53.305Z] OpenJDK 64-Bit Server VM Temurin-21.0.8+6-202506121054 (build 21.0.8-beta+6-ea, mixed mode) [2025-06-13T05:41:53.305Z] STF 05:41:53.016 - [2025-06-13T05:41:53.305Z] STF 05:41:53.016 - +------ Step 1 - Create com.hello jar [2025-06-13T05:41:53.305Z] STF 05:41:53.016 - | Create modular jar [2025-06-13T05:41:53.305Z] STF 05:41:53.016 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hi [2025-06-13T05:41:53.305Z] STF 05:41:53.016 - | ModuleVersion: null [2025-06-13T05:41:53.305Z] STF 05:41:53.016 - | MainClass: adoptopenjdk.test.modularity.hi.Hi [2025-06-13T05:41:53.305Z] STF 05:41:53.017 - | HashModules: null [2025-06-13T05:41:53.305Z] STF 05:41:53.017 - | [2025-06-13T05:41:53.305Z] STF 05:41:53.018 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17497918292773/CpMpModJar2_0/20250613-054150-CpMpModJar2/modules/1.com.hi.jar --main-class=adoptopenjdk.test.modularity.hi.Hi -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hi . [2025-06-13T05:41:53.305Z] STF 05:41:53.018 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17497918292773/CpMpModJar2_0/20250613-054150-CpMpModJar2/results/1.CMJ.stderr [2025-06-13T05:41:53.305Z] STF 05:41:53.018 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17497918292773/CpMpModJar2_0/20250613-054150-CpMpModJar2/results/1.CMJ.stdout [2025-06-13T05:41:53.305Z] STF 05:41:53.086 - Monitoring processes: CMJ [2025-06-13T05:41:53.305Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-06-13T05:41:53.596Z] STF 05:41:53.509 - Monitoring Report Summary: [2025-06-13T05:41:53.596Z] STF 05:41:53.509 - o Process CMJ ended with the expected exit code (0) [2025-06-13T05:41:53.596Z] STF 05:41:53.510 - Created modular jar: 1.com.hi.jar [2025-06-13T05:41:53.596Z] STF 05:41:53.510 - [2025-06-13T05:41:53.596Z] STF 05:41:53.510 - +------ Step 2 - Run modularity test in Junit [2025-06-13T05:41:53.596Z] STF 05:41:53.510 - | Run foreground process [2025-06-13T05:41:53.596Z] STF 05:41:53.510 - | Program: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/java [2025-06-13T05:41:53.596Z] STF 05:41:53.510 - | Mnemonic: CpMp [2025-06-13T05:41:53.596Z] STF 05:41:53.510 - | Echo: ECHO_ON [2025-06-13T05:41:53.596Z] STF 05:41:53.510 - | Expectation: CLEAN_RUN within 1m [2025-06-13T05:41:53.596Z] STF 05:41:53.510 - | [2025-06-13T05:41:53.596Z] STF 05:41:53.511 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/java --module-path C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17497918292773/CpMpModJar2_0/20250613-054150-CpMpModJar2/modules/1.com.hi.jar -m com.hi everyone -XX:+UseCompressedOops [2025-06-13T05:41:53.596Z] STF 05:41:53.511 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17497918292773/CpMpModJar2_0/20250613-054150-CpMpModJar2/results/2.CpMp.stderr [2025-06-13T05:41:53.596Z] STF 05:41:53.511 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17497918292773/CpMpModJar2_0/20250613-054150-CpMpModJar2/results/2.CpMp.stdout [2025-06-13T05:41:53.596Z] STF 05:41:53.518 - Monitoring processes: CpMp [2025-06-13T05:41:53.596Z] CpMp stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-06-13T05:41:53.887Z] CpMp Hi everyone [2025-06-13T05:41:53.887Z] STF 05:41:53.757 - Monitoring Report Summary: [2025-06-13T05:41:53.887Z] STF 05:41:53.757 - o Process CpMp ended with the expected exit code (0) [2025-06-13T05:41:53.887Z] STF 05:41:53.758 - [2025-06-13T05:41:53.887Z] STF 05:41:53.758 - +------ Step 3 - Check output [2025-06-13T05:41:53.887Z] STF 05:41:53.758 - | Count file matches [2025-06-13T05:41:53.887Z] STF 05:41:53.758 - | TargetFile: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17497918292773/CpMpModJar2_0/20250613-054150-CpMpModJar2/results/2.CpMp.stdout [2025-06-13T05:41:53.887Z] STF 05:41:53.758 - | ExpectedNumMatches: 1 [2025-06-13T05:41:53.887Z] STF 05:41:53.758 - | SearchStrings: ["Hi everyone"] [2025-06-13T05:41:53.887Z] STF 05:41:53.758 - | [2025-06-13T05:41:53.887Z] STF 05:41:53.759 - Found 1 instances of ["Hi everyone"] [2025-06-13T05:41:53.887Z] STF 05:41:53.759 - EXECUTE stage completed [2025-06-13T05:41:53.887Z] STF 05:41:53.788 - [2025-06-13T05:41:53.887Z] STF 05:41:53.788 - ==================== T E A R D O W N ==================== [2025-06-13T05:41:53.887Z] STF 05:41:53.788 - Running teardown: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17497918292773\CpMpModJar2_0/20250613-054150-CpMpModJar2/tearDown.pl [2025-06-13T05:41:54.518Z] STF 05:41:54.160 - TEARDOWN stage completed [2025-06-13T05:41:54.518Z] STF 05:41:54.188 - [2025-06-13T05:41:54.518Z] STF 05:41:54.188 - ===================== R E S U L T S ===================== [2025-06-13T05:41:54.518Z] STF 05:41:54.188 - Stage results: [2025-06-13T05:41:54.518Z] STF 05:41:54.188 - setUp: pass [2025-06-13T05:41:54.518Z] STF 05:41:54.188 - execute: pass [2025-06-13T05:41:54.518Z] STF 05:41:54.188 - teardown: pass [2025-06-13T05:41:54.518Z] STF 05:41:54.188 - [2025-06-13T05:41:54.518Z] STF 05:41:54.188 - Overall result: PASSED [2025-06-13T05:41:54.518Z] ----------------------------------- [2025-06-13T05:41:54.518Z] CpMpModJar2_0_PASSED [2025-06-13T05:41:54.518Z] ----------------------------------- [2025-06-13T05:41:54.518Z] [2025-06-13T05:41:54.518Z] TEST TEARDOWN: [2025-06-13T05:41:54.518Z] Nothing to be done for teardown. [2025-06-13T05:41:54.824Z] CpMpModJar2_0 Finish Time: Fri Jun 13 05:41:54 2025 Epoch Time (ms): 1749793314504