CpMpModJar3_1

[2025-12-04T06:32:59.566Z] Running test CpMpModJar3_1 ... [2025-12-04T06:32:59.566Z] =============================================== [2025-12-04T06:32:59.566Z] CpMpModJar3_1 Start Time: Thu Dec 4 06:32:56 2025 Epoch Time (ms): 1764829976819 [2025-12-04T06:32:59.566Z] variation: Mode650 [2025-12-04T06:32:59.566Z] JVM_OPTIONS: -XX:-UseCompressedOops [2025-12-04T06:32:59.566Z] { \ [2025-12-04T06:32:59.566Z] echo ""; echo "TEST SETUP:"; \ [2025-12-04T06:32:59.566Z] echo "Nothing to be done for setup."; \ [2025-12-04T06:32:59.566Z] mkdir -p "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/\\TKG\\output_17648276668071\\CpMpModJar3_1"; \ [2025-12-04T06:32:59.566Z] cd "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/\\TKG\\output_17648276668071\\CpMpModJar3_1"; \ [2025-12-04T06:32:59.566Z] echo ""; echo "TESTING:"; \ [2025-12-04T06:32:59.566Z] perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/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_2/aqa-tests///..//jvmtest\\system\\modularity/../\\STF;C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/aqa-tests///..//jvmtest\\system\\modularity/../\\aqa-systemtest""" -systemtest-prereqs="C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/../../externalDependency/system_lib\\" -java-args=' -XX:-UseCompressedOops ' -results-root="C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/\\TKG\\output_17648276668071\\CpMpModJar3_1" -test=CpMpModJar3; \ [2025-12-04T06:32:59.566Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "CpMpModJar3_1""_PASSED"; echo "-----------------------------------"; cd C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/; rm -f -r "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/\\TKG\\output_17648276668071\\CpMpModJar3_1"; else echo "-----------------------------------"; echo "CpMpModJar3_1""_FAILED"; echo "-----------------------------------"; fi; \ [2025-12-04T06:32:59.566Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-12-04T06:32:59.566Z] echo "Nothing to be done for teardown."; \ [2025-12-04T06:32:59.566Z] } 2>&1 | tee -a "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/\\TKG\\output_17648276668071\\TestTargetResult"; [2025-12-04T06:32:59.566Z] [2025-12-04T06:32:59.566Z] TEST SETUP: [2025-12-04T06:32:59.566Z] Nothing to be done for setup. [2025-12-04T06:32:59.566Z] [2025-12-04T06:32:59.566Z] TESTING: [2025-12-04T06:32:59.566Z] STF 06:32:57.975 - ========================= S T F ========================= [2025-12-04T06:32:59.566Z] systemtest-prereqs has been processed, and set to: C:/Users/jenkins/externalDependency/system_libRetrieving amount of free space on drive containing C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/\TKG\output_17648276668071\CpMpModJar3_1 [2025-12-04T06:32:59.566Z] There is 40518 Mb free [2025-12-04T06:32:59.566Z] STF 06:32:58.059 - ================== G E N E R A T I O N ================== [2025-12-04T06:32:59.566Z] STF 06:32:58.064 - Checking JVM: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/jdkbinary/j2sdk-image [2025-12-04T06:32:59.566Z] STF 06:32:58.065 - Starting process to generate scripts: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/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_2/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_2/../../externalDependency/system_lib\/asm/asm.jar;C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/../../externalDependency/system_lib\/asm/asm-commons.jar;C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/../../externalDependency/system_lib\/log4j/log4j-api.jar;C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/../../externalDependency/system_lib\/log4j/log4j-core.jar;C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/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_2/aqa-tests/\TKG\output_17648276668071\CpMpModJar3_1/20251204-063257-CpMpModJar3/stf_parameters.properties, , C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/\TKG\output_17648276668071\CpMpModJar3_1/20251204-063257-CpMpModJar3" [2025-12-04T06:32:59.566Z] GEN stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-12-04T06:32:59.566Z] GEN 06:32:59.241 - Found test. Project: 'openjdk.test.modularity' class: 'CpMpModJar3.class' Dir: 'C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin' [2025-12-04T06:32:59.566Z] GEN 06:32:59.257 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.CpMpModJar3' [2025-12-04T06:32:59.566Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2025-12-04T06:32:59.566Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayService [2025-12-04T06:32:59.566Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper [2025-12-04T06:32:59.566Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl1 [2025-12-04T06:32:59.566Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet [2025-12-04T06:32:59.566Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello [2025-12-04T06:32:59.566Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola [2025-12-04T06:32:59.566Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl2 [2025-12-04T06:32:59.566Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hi [2025-12-04T06:32:59.566Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override [2025-12-04T06:32:59.566Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override-new [2025-12-04T06:32:59.566Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl3 [2025-12-04T06:32:59.566Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl4 [2025-12-04T06:32:59.566Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common [2025-12-04T06:32:59.566Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests [2025-12-04T06:32:59.566Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin [2025-12-04T06:32:59.566Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2\\jvmtest\\system\\STF\\stf.core\\bin [2025-12-04T06:32:59.566Z] GEN C:/Users/jenkins/externalDependency/system_lib/log4j/log4j-api.jar [2025-12-04T06:32:59.566Z] GEN C:/Users/jenkins/externalDependency/system_lib/log4j/log4j-core.jar [2025-12-04T06:32:59.566Z] GEN C:/Users/jenkins/externalDependency/system_lib/junit/junit.jar [2025-12-04T06:32:59.566Z] GEN 06:32:59.489 - Using Mode NoOptions. Values = '' [2025-12-04T06:32:59.885Z] GEN 06:32:59.553 - [2025-12-04T06:32:59.885Z] GEN 06:32:59.553 - Test command summary: [2025-12-04T06:32:59.885Z] GEN 06:32:59.553 - Step Stage Command Description [2025-12-04T06:32:59.885Z] GEN 06:32:59.553 - -----+--------+-----------------+------------ [2025-12-04T06:32:59.885Z] GEN 06:32:59.554 - 1 execute jar Create com.hello jar [2025-12-04T06:32:59.885Z] GEN 06:32:59.554 - 2 execute Run java Run modularity test with module main class [2025-12-04T06:32:59.885Z] GEN 06:32:59.554 - 3 execute count Check output [2025-12-04T06:32:59.885Z] STF 06:32:59.618 - [2025-12-04T06:32:59.885Z] STF 06:32:59.618 - Script generation completed [2025-12-04T06:32:59.885Z] STF 06:32:59.618 - [2025-12-04T06:32:59.885Z] STF 06:32:59.621 - [2025-12-04T06:32:59.885Z] STF 06:32:59.621 - ======================= S E T U P ======================= [2025-12-04T06:32:59.885Z] STF 06:32:59.621 - Running setup: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/\TKG\output_17648276668071\CpMpModJar3_1/20251204-063257-CpMpModJar3/setUp.pl [2025-12-04T06:33:00.202Z] STF 06:33:00.004 - SETUP stage completed [2025-12-04T06:33:00.202Z] STF 06:33:00.045 - [2025-12-04T06:33:00.202Z] STF 06:33:00.045 - ==================== E X E C U T E - ==================== [2025-12-04T06:33:00.202Z] STF 06:33:00.045 - Running execute: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/\TKG\output_17648276668071\CpMpModJar3_1/20251204-063257-CpMpModJar3/execute.pl [2025-12-04T06:33:00.512Z] STF 06:33:00.421 - [2025-12-04T06:33:00.513Z] STF 06:33:00.421 - Java version [2025-12-04T06:33:00.513Z] STF 06:33:00.421 - Running: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/jdkbinary/j2sdk-image/bin/java -version [2025-12-04T06:33:00.513Z] Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-12-04T06:33:00.824Z] openjdk version "21.0.10-beta" 2026-01-20 [2025-12-04T06:33:00.824Z] OpenJDK Runtime Environment Temurin-21.0.10+5-202512032009 (build 21.0.10-beta+5-ea) [2025-12-04T06:33:00.824Z] OpenJDK 64-Bit Server VM Temurin-21.0.10+5-202512032009 (build 21.0.10-beta+5-ea, mixed mode) [2025-12-04T06:33:00.824Z] STF 06:33:00.534 - [2025-12-04T06:33:00.824Z] STF 06:33:00.534 - +------ Step 1 - Create com.hello jar [2025-12-04T06:33:00.824Z] STF 06:33:00.534 - | Create modular jar [2025-12-04T06:33:00.824Z] STF 06:33:00.534 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hi [2025-12-04T06:33:00.824Z] STF 06:33:00.534 - | ModuleVersion: null [2025-12-04T06:33:00.824Z] STF 06:33:00.535 - | MainClass: null [2025-12-04T06:33:00.825Z] STF 06:33:00.535 - | HashModules: null [2025-12-04T06:33:00.825Z] STF 06:33:00.535 - | [2025-12-04T06:33:00.825Z] STF 06:33:00.536 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/TKG/output_17648276668071/CpMpModJar3_1/20251204-063257-CpMpModJar3/modules/1.com.hi.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hi . [2025-12-04T06:33:00.825Z] STF 06:33:00.536 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/TKG/output_17648276668071/CpMpModJar3_1/20251204-063257-CpMpModJar3/results/1.CMJ.stderr [2025-12-04T06:33:00.825Z] STF 06:33:00.536 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/TKG/output_17648276668071/CpMpModJar3_1/20251204-063257-CpMpModJar3/results/1.CMJ.stdout [2025-12-04T06:33:00.825Z] STF 06:33:00.604 - Monitoring processes: CMJ [2025-12-04T06:33:00.825Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-12-04T06:33:01.138Z] STF 06:33:00.999 - Monitoring Report Summary: [2025-12-04T06:33:01.138Z] STF 06:33:00.999 - o Process CMJ ended with the expected exit code (0) [2025-12-04T06:33:01.138Z] STF 06:33:01.000 - Created modular jar: 1.com.hi.jar [2025-12-04T06:33:01.138Z] STF 06:33:01.000 - [2025-12-04T06:33:01.139Z] STF 06:33:01.000 - +------ Step 2 - Run modularity test with module main class [2025-12-04T06:33:01.139Z] STF 06:33:01.000 - | Run foreground process [2025-12-04T06:33:01.139Z] STF 06:33:01.000 - | Program: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/jdkbinary/j2sdk-image/bin/java [2025-12-04T06:33:01.139Z] STF 06:33:01.000 - | Mnemonic: CpMp [2025-12-04T06:33:01.139Z] STF 06:33:01.000 - | Echo: ECHO_ON [2025-12-04T06:33:01.139Z] STF 06:33:01.000 - | Expectation: CLEAN_RUN within 1m [2025-12-04T06:33:01.139Z] STF 06:33:01.000 - | [2025-12-04T06:33:01.139Z] STF 06:33:01.001 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/jdkbinary/j2sdk-image/bin/java --module-path C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/TKG/output_17648276668071/CpMpModJar3_1/20251204-063257-CpMpModJar3/modules/1.com.hi.jar -m com.hi/adoptopenjdk.test.modularity.hi.Hi everyone -XX:-UseCompressedOops [2025-12-04T06:33:01.139Z] STF 06:33:01.001 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/TKG/output_17648276668071/CpMpModJar3_1/20251204-063257-CpMpModJar3/results/2.CpMp.stderr [2025-12-04T06:33:01.139Z] STF 06:33:01.001 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/TKG/output_17648276668071/CpMpModJar3_1/20251204-063257-CpMpModJar3/results/2.CpMp.stdout [2025-12-04T06:33:01.139Z] STF 06:33:01.008 - Monitoring processes: CpMp [2025-12-04T06:33:01.139Z] CpMp stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2025-12-04T06:33:01.455Z] CpMp Hi everyone [2025-12-04T06:33:01.455Z] STF 06:33:01.220 - Monitoring Report Summary: [2025-12-04T06:33:01.455Z] STF 06:33:01.220 - o Process CpMp ended with the expected exit code (0) [2025-12-04T06:33:01.455Z] STF 06:33:01.221 - [2025-12-04T06:33:01.455Z] STF 06:33:01.221 - +------ Step 3 - Check output [2025-12-04T06:33:01.455Z] STF 06:33:01.221 - | Count file matches [2025-12-04T06:33:01.455Z] STF 06:33:01.221 - | TargetFile: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/TKG/output_17648276668071/CpMpModJar3_1/20251204-063257-CpMpModJar3/results/2.CpMp.stdout [2025-12-04T06:33:01.455Z] STF 06:33:01.221 - | ExpectedNumMatches: 1 [2025-12-04T06:33:01.455Z] STF 06:33:01.221 - | SearchStrings: ["Hi everyone"] [2025-12-04T06:33:01.455Z] STF 06:33:01.221 - | [2025-12-04T06:33:01.455Z] STF 06:33:01.221 - Found 1 instances of ["Hi everyone"] [2025-12-04T06:33:01.455Z] STF 06:33:01.221 - EXECUTE stage completed [2025-12-04T06:33:01.455Z] STF 06:33:01.250 - [2025-12-04T06:33:01.455Z] STF 06:33:01.250 - ==================== T E A R D O W N ==================== [2025-12-04T06:33:01.455Z] STF 06:33:01.250 - Running teardown: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/\TKG\output_17648276668071\CpMpModJar3_1/20251204-063257-CpMpModJar3/tearDown.pl [2025-12-04T06:33:01.773Z] STF 06:33:01.625 - TEARDOWN stage completed [2025-12-04T06:33:01.773Z] STF 06:33:01.667 - [2025-12-04T06:33:01.773Z] STF 06:33:01.667 - ===================== R E S U L T S ===================== [2025-12-04T06:33:01.773Z] STF 06:33:01.667 - Stage results: [2025-12-04T06:33:01.773Z] STF 06:33:01.667 - setUp: pass [2025-12-04T06:33:01.773Z] STF 06:33:01.667 - execute: pass [2025-12-04T06:33:01.773Z] STF 06:33:01.668 - teardown: pass [2025-12-04T06:33:01.773Z] STF 06:33:01.668 - [2025-12-04T06:33:01.773Z] STF 06:33:01.668 - Overall result: PASSED [2025-12-04T06:33:01.773Z] ----------------------------------- [2025-12-04T06:33:01.773Z] CpMpModJar3_1_PASSED [2025-12-04T06:33:01.773Z] ----------------------------------- [2025-12-04T06:33:01.773Z] [2025-12-04T06:33:01.773Z] TEST TEARDOWN: [2025-12-04T06:33:01.773Z] Nothing to be done for teardown. [2025-12-04T06:33:02.083Z] CpMpModJar3_1 Finish Time: Thu Dec 4 06:33:02 2025 Epoch Time (ms): 1764829982054