CpMpModJar3_1

[2025-04-03T23:44:00.810Z] Running test CpMpModJar3_1 ... [2025-04-03T23:44:00.810Z] =============================================== [2025-04-03T23:44:00.810Z] CpMpModJar3_1 Start Time: Thu Apr 3 23:44:00 2025 Epoch Time (ms): 1743723840234 [2025-04-03T23:44:00.810Z] variation: Mode650 [2025-04-03T23:44:00.810Z] JVM_OPTIONS: -XX:-UseCompressedOops [2025-04-03T23:44:00.810Z] { \ [2025-04-03T23:44:00.810Z] echo ""; echo "TEST SETUP:"; \ [2025-04-03T23:44:00.810Z] echo "Nothing to be done for setup."; \ [2025-04-03T23:44:00.810Z] mkdir -p "/home/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_0/aqa-tests/TKG/../TKG/output_17437191269091/CpMpModJar3_1"; \ [2025-04-03T23:44:00.810Z] cd "/home/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_0/aqa-tests/TKG/../TKG/output_17437191269091/CpMpModJar3_1"; \ [2025-04-03T23:44:00.810Z] echo ""; echo "TESTING:"; \ [2025-04-03T23:44:00.810Z] perl /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_0/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF/stf.core/scripts/stf.pl -test-root="/home/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_0/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF;/home/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_0/aqa-tests/TKG/../../jvmtest/system/modularity/..//aqa-systemtest""" -systemtest-prereqs="/home/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_0/../../testDependency/system_lib/" -java-args=' -XX:-UseCompressedOops ' -results-root="/home/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_0/aqa-tests/TKG/../TKG/output_17437191269091/CpMpModJar3_1" -test=CpMpModJar3; \ [2025-04-03T23:44:00.810Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "CpMpModJar3_1""_PASSED"; echo "-----------------------------------"; cd /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_0/aqa-tests/TKG/..; rm -f -r "/home/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_0/aqa-tests/TKG/../TKG/output_17437191269091/CpMpModJar3_1"; else echo "-----------------------------------"; echo "CpMpModJar3_1""_FAILED"; echo "-----------------------------------"; fi; \ [2025-04-03T23:44:00.810Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-04-03T23:44:00.810Z] echo "Nothing to be done for teardown."; \ [2025-04-03T23:44:00.810Z] } 2>&1 | tee -a "/home/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_0/aqa-tests/TKG/../TKG/output_17437191269091/TestTargetResult"; [2025-04-03T23:44:00.810Z] [2025-04-03T23:44:00.810Z] TEST SETUP: [2025-04-03T23:44:00.810Z] Nothing to be done for setup. [2025-04-03T23:44:00.810Z] [2025-04-03T23:44:00.810Z] TESTING: [2025-04-03T23:44:00.810Z] STF 23:44:00.481 - ========================= S T F ========================= [2025-04-03T23:44:00.810Z] systemtest-prereqs has been processed, and set to: /home/jenkins/testDependency/system_libRetrieving amount of free space on drive containing /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_0/aqa-tests/TKG/../TKG/output_17437191269091/CpMpModJar3_1 [2025-04-03T23:44:00.810Z] There is 35778 Mb free [2025-04-03T23:44:00.810Z] STF 23:44:00.504 - ================== G E N E R A T I O N ================== [2025-04-03T23:44:00.810Z] STF 23:44:00.504 - Checking JVM: /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_0/jdkbinary/j2sdk-image [2025-04-03T23:44:00.811Z] STF 23:44:00.505 - Starting process to generate scripts: /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_0/jdkbinary/j2sdk-image/bin/java -Dlog4j.skipJansi=true -Djava.system.class.loader=net.adoptopenjdk.stf.runner.StfClassLoader -Dload.agent.path=/home/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_0/jvmtest/system/STF/stf.core/scripts/../../stf.load/bin/stf.load.jar -classpath /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_0/../../testDependency/system_lib//asm/asm.jar:/home/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_0/../../testDependency/system_lib//asm/asm-commons.jar:/home/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_0/../../testDependency/system_lib//log4j/log4j-api.jar:/home/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_0/../../testDependency/system_lib//log4j/log4j-core.jar:/home/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_0/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "/home/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_0/aqa-tests/TKG/../TKG/output_17437191269091/CpMpModJar3_1/20250403-234400-CpMpModJar3/stf_parameters.properties, , /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_0/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "/home/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_0/aqa-tests/TKG/../TKG/output_17437191269091/CpMpModJar3_1/20250403-234400-CpMpModJar3" [2025-04-03T23:44:00.811Z] GEN [0.039s][warning][cds] Archived non-system classes are disabled because the java.system.class.loader property is specified (value = "net.adoptopenjdk.stf.runner.StfClassLoader"). To use archived non-system classes, this property must not be set [2025-04-03T23:44:05.334Z] GEN 23:44:05.036 - Found test. Project: 'openjdk.test.modularity' class: 'CpMpModJar3.class' Dir: '/home/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin' [2025-04-03T23:44:05.334Z] GEN 23:44:05.084 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.CpMpModJar3' [2025-04-03T23:44:06.139Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2025-04-03T23:44:06.139Z] GEN /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayService [2025-04-03T23:44:06.139Z] GEN /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper [2025-04-03T23:44:06.139Z] GEN /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl1 [2025-04-03T23:44:06.139Z] GEN /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet [2025-04-03T23:44:06.139Z] GEN /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello [2025-04-03T23:44:06.139Z] GEN /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola [2025-04-03T23:44:06.139Z] GEN /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl2 [2025-04-03T23:44:06.139Z] GEN /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hi [2025-04-03T23:44:06.139Z] GEN /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override [2025-04-03T23:44:06.139Z] GEN /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override-new [2025-04-03T23:44:06.139Z] GEN /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl3 [2025-04-03T23:44:06.139Z] GEN /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl4 [2025-04-03T23:44:06.139Z] GEN /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common [2025-04-03T23:44:06.139Z] GEN /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests [2025-04-03T23:44:06.139Z] GEN /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin [2025-04-03T23:44:06.139Z] GEN /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_0/jvmtest/system/STF/stf.core/bin [2025-04-03T23:44:06.139Z] GEN /home/jenkins/testDependency/system_lib/log4j/log4j-api.jar [2025-04-03T23:44:06.139Z] GEN /home/jenkins/testDependency/system_lib/log4j/log4j-core.jar [2025-04-03T23:44:06.140Z] GEN /home/jenkins/testDependency/system_lib/junit/junit.jar [2025-04-03T23:44:06.140Z] GEN 23:44:05.952 - Using Mode NoOptions. Values = '' [2025-04-03T23:44:06.942Z] GEN 23:44:06.209 - [2025-04-03T23:44:06.942Z] GEN 23:44:06.210 - Test command summary: [2025-04-03T23:44:06.942Z] GEN 23:44:06.210 - Step Stage Command Description [2025-04-03T23:44:06.942Z] GEN 23:44:06.222 - -----+--------+-----------------+------------ [2025-04-03T23:44:06.942Z] GEN 23:44:06.223 - 1 execute jar Create com.hello jar [2025-04-03T23:44:06.942Z] GEN 23:44:06.223 - 2 execute Run java Run modularity test with module main class [2025-04-03T23:44:06.942Z] GEN 23:44:06.223 - 3 execute count Check output [2025-04-03T23:44:06.942Z] STF 23:44:06.359 - [2025-04-03T23:44:06.942Z] STF 23:44:06.361 - Script generation completed [2025-04-03T23:44:06.942Z] STF 23:44:06.361 - [2025-04-03T23:44:06.942Z] STF 23:44:06.362 - [2025-04-03T23:44:06.942Z] STF 23:44:06.364 - ======================= S E T U P ======================= [2025-04-03T23:44:06.942Z] STF 23:44:06.364 - Running setup: perl /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_0/aqa-tests/TKG/../TKG/output_17437191269091/CpMpModJar3_1/20250403-234400-CpMpModJar3/setUp.pl [2025-04-03T23:44:06.942Z] STF 23:44:06.555 - SETUP stage completed [2025-04-03T23:44:06.942Z] STF 23:44:06.568 - [2025-04-03T23:44:06.942Z] STF 23:44:06.568 - ==================== E X E C U T E - ==================== [2025-04-03T23:44:06.942Z] STF 23:44:06.568 - Running execute: perl /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_0/aqa-tests/TKG/../TKG/output_17437191269091/CpMpModJar3_1/20250403-234400-CpMpModJar3/execute.pl [2025-04-03T23:44:06.942Z] STF 23:44:06.741 - [2025-04-03T23:44:06.942Z] STF 23:44:06.741 - Java version [2025-04-03T23:44:06.942Z] STF 23:44:06.741 - Running: /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_0/jdkbinary/j2sdk-image/bin/java -version [2025-04-03T23:44:07.725Z] openjdk version "25-beta" 2025-09-16 [2025-04-03T23:44:07.725Z] OpenJDK Runtime Environment Temurin-25+17-202504032033 (build 25-beta+17-ea) [2025-04-03T23:44:07.725Z] OpenJDK 64-Bit Server VM Temurin-25+17-202504032033 (build 25-beta+17-ea, mixed mode, sharing) [2025-04-03T23:44:07.725Z] STF 23:44:07.046 - [2025-04-03T23:44:07.725Z] STF 23:44:07.047 - +------ Step 1 - Create com.hello jar [2025-04-03T23:44:07.725Z] STF 23:44:07.047 - | Create modular jar [2025-04-03T23:44:07.725Z] STF 23:44:07.047 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hi [2025-04-03T23:44:07.725Z] STF 23:44:07.047 - | ModuleVersion: null [2025-04-03T23:44:07.725Z] STF 23:44:07.047 - | MainClass: null [2025-04-03T23:44:07.725Z] STF 23:44:07.047 - | HashModules: null [2025-04-03T23:44:07.725Z] STF 23:44:07.047 - | [2025-04-03T23:44:07.725Z] STF 23:44:07.047 - Running command: /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_0/jdkbinary/j2sdk-image/bin/jar --create --file /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_0/aqa-tests/TKG/output_17437191269091/CpMpModJar3_1/20250403-234400-CpMpModJar3/modules/1.com.hi.jar -C /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_0/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hi . [2025-04-03T23:44:07.725Z] STF 23:44:07.047 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_0/aqa-tests/TKG/output_17437191269091/CpMpModJar3_1/20250403-234400-CpMpModJar3/results/1.CMJ.stderr [2025-04-03T23:44:07.725Z] STF 23:44:07.047 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_0/aqa-tests/TKG/output_17437191269091/CpMpModJar3_1/20250403-234400-CpMpModJar3/results/1.CMJ.stdout [2025-04-03T23:44:07.725Z] STF 23:44:07.084 - Monitoring processes: CMJ [2025-04-03T23:44:08.503Z] STF 23:44:08.305 - Monitoring Report Summary: [2025-04-03T23:44:08.503Z] STF 23:44:08.305 - o Process CMJ ended with the expected exit code (0) [2025-04-03T23:44:08.503Z] STF 23:44:08.305 - Created modular jar: 1.com.hi.jar [2025-04-03T23:44:08.503Z] STF 23:44:08.305 - [2025-04-03T23:44:08.503Z] STF 23:44:08.305 - +------ Step 2 - Run modularity test with module main class [2025-04-03T23:44:08.503Z] STF 23:44:08.305 - | Run foreground process [2025-04-03T23:44:08.503Z] STF 23:44:08.306 - | Program: /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_0/jdkbinary/j2sdk-image/bin/java [2025-04-03T23:44:08.503Z] STF 23:44:08.306 - | Mnemonic: CpMp [2025-04-03T23:44:08.503Z] STF 23:44:08.306 - | Echo: ECHO_ON [2025-04-03T23:44:08.503Z] STF 23:44:08.306 - | Expectation: CLEAN_RUN within 1m [2025-04-03T23:44:08.503Z] STF 23:44:08.306 - | [2025-04-03T23:44:08.503Z] STF 23:44:08.306 - Running command: /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_0/jdkbinary/j2sdk-image/bin/java --module-path /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_0/aqa-tests/TKG/output_17437191269091/CpMpModJar3_1/20250403-234400-CpMpModJar3/modules/1.com.hi.jar -m com.hi/adoptopenjdk.test.modularity.hi.Hi everyone -XX:-UseCompressedOops [2025-04-03T23:44:08.503Z] STF 23:44:08.306 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_0/aqa-tests/TKG/output_17437191269091/CpMpModJar3_1/20250403-234400-CpMpModJar3/results/2.CpMp.stderr [2025-04-03T23:44:08.503Z] STF 23:44:08.306 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_0/aqa-tests/TKG/output_17437191269091/CpMpModJar3_1/20250403-234400-CpMpModJar3/results/2.CpMp.stdout [2025-04-03T23:44:08.503Z] STF 23:44:08.311 - Monitoring processes: CpMp [2025-04-03T23:44:09.299Z] CpMp Hi everyone [2025-04-03T23:44:09.299Z] STF 23:44:08.778 - Monitoring Report Summary: [2025-04-03T23:44:09.299Z] STF 23:44:08.778 - o Process CpMp ended with the expected exit code (0) [2025-04-03T23:44:09.299Z] STF 23:44:08.779 - [2025-04-03T23:44:09.299Z] STF 23:44:08.779 - +------ Step 3 - Check output [2025-04-03T23:44:09.299Z] STF 23:44:08.779 - | Count file matches [2025-04-03T23:44:09.299Z] STF 23:44:08.779 - | TargetFile: /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_0/aqa-tests/TKG/output_17437191269091/CpMpModJar3_1/20250403-234400-CpMpModJar3/results/2.CpMp.stdout [2025-04-03T23:44:09.299Z] STF 23:44:08.779 - | ExpectedNumMatches: 1 [2025-04-03T23:44:09.299Z] STF 23:44:08.779 - | SearchStrings: ["Hi everyone"] [2025-04-03T23:44:09.299Z] STF 23:44:08.779 - | [2025-04-03T23:44:09.299Z] STF 23:44:08.779 - Found 1 instances of ["Hi everyone"] [2025-04-03T23:44:09.299Z] STF 23:44:08.779 - EXECUTE stage completed [2025-04-03T23:44:09.299Z] STF 23:44:08.806 - [2025-04-03T23:44:09.299Z] STF 23:44:08.807 - ==================== T E A R D O W N ==================== [2025-04-03T23:44:09.299Z] STF 23:44:08.807 - Running teardown: perl /home/jenkins/workspace/Test_openjdk25_hs_sanity.system_x86-64_linux_testList_0/aqa-tests/TKG/../TKG/output_17437191269091/CpMpModJar3_1/20250403-234400-CpMpModJar3/tearDown.pl [2025-04-03T23:44:09.299Z] STF 23:44:08.963 - TEARDOWN stage completed [2025-04-03T23:44:09.299Z] STF 23:44:08.970 - [2025-04-03T23:44:09.299Z] STF 23:44:08.975 - ===================== R E S U L T S ===================== [2025-04-03T23:44:09.299Z] STF 23:44:08.975 - Stage results: [2025-04-03T23:44:09.299Z] STF 23:44:08.975 - setUp: pass [2025-04-03T23:44:09.299Z] STF 23:44:08.975 - execute: pass [2025-04-03T23:44:09.299Z] STF 23:44:08.975 - teardown: pass [2025-04-03T23:44:09.299Z] STF 23:44:08.975 - [2025-04-03T23:44:09.299Z] STF 23:44:08.975 - Overall result: PASSED [2025-04-03T23:44:09.299Z] ----------------------------------- [2025-04-03T23:44:09.299Z] CpMpModJar3_1_PASSED [2025-04-03T23:44:09.299Z] ----------------------------------- [2025-04-03T23:44:09.299Z] [2025-04-03T23:44:09.299Z] TEST TEARDOWN: [2025-04-03T23:44:09.299Z] Nothing to be done for teardown. [2025-04-03T23:44:09.299Z] CpMpModJar3_1 Finish Time: Thu Apr 3 23:44:09 2025 Epoch Time (ms): 1743723849046