CpMpModJar2_0
[2025-08-20T23:46:19.709Z] Running test CpMpModJar2_0 ...
[2025-08-20T23:46:20.004Z] ===============================================
[2025-08-20T23:46:20.306Z] CpMpModJar2_0 Start Time: Wed Aug 20 23:46:20 2025 Epoch Time (ms): 1755733580036
[2025-08-20T23:46:20.306Z] variation: Mode150
[2025-08-20T23:46:20.601Z] JVM_OPTIONS: -XX:+UseCompressedOops
[2025-08-20T23:46:20.601Z] { \
[2025-08-20T23:46:20.601Z] echo ""; echo "TEST SETUP:"; \
[2025-08-20T23:46:20.601Z] echo "Nothing to be done for setup."; \
[2025-08-20T23:46:20.601Z] mkdir -p "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17557318289751\\CpMpModJar2_0"; \
[2025-08-20T23:46:20.601Z] cd "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17557318289751\\CpMpModJar2_0"; \
[2025-08-20T23:46:20.601Z] echo ""; echo "TESTING:"; \
[2025-08-20T23:46:20.601Z] 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_17557318289751\\CpMpModJar2_0" -test=CpMpModJar2; \
[2025-08-20T23:46:20.601Z] 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_17557318289751\\CpMpModJar2_0"; else echo "-----------------------------------"; echo "CpMpModJar2_0""_FAILED"; echo "-----------------------------------"; fi; \
[2025-08-20T23:46:20.601Z] echo ""; echo "TEST TEARDOWN:"; \
[2025-08-20T23:46:20.601Z] echo "Nothing to be done for teardown."; \
[2025-08-20T23:46:20.601Z] } 2>&1 | tee -a "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17557318289751\\TestTargetResult";
[2025-08-20T23:46:20.601Z]
[2025-08-20T23:46:20.601Z] TEST SETUP:
[2025-08-20T23:46:20.601Z] Nothing to be done for setup.
[2025-08-20T23:46:20.601Z]
[2025-08-20T23:46:20.601Z] TESTING:
[2025-08-20T23:46:21.239Z] STF 23:46:20.974 - ========================= S T F =========================
[2025-08-20T23:46:21.239Z] 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_17557318289751\CpMpModJar2_0
[2025-08-20T23:46:21.239Z] There is 18965 Mb free
[2025-08-20T23:46:21.239Z] STF 23:46:21.053 - ================== G E N E R A T I O N ==================
[2025-08-20T23:46:21.239Z] STF 23:46:21.059 - Checking JVM: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image
[2025-08-20T23:46:21.239Z] STF 23:46:21.059 - 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_17557318289751\CpMpModJar2_0/20250820-234620-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_17557318289751\CpMpModJar2_0/20250820-234620-CpMpModJar2"
[2025-08-20T23:46:21.239Z] GEN stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-08-20T23:46:22.754Z] GEN 23:46:22.255 - 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-08-20T23:46:22.754Z] GEN 23:46:22.270 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.CpMpModJar2'
[2025-08-20T23:46:22.754Z] GEN Classpath directories used by project 'openjdk.test.modularity':
[2025-08-20T23:46:22.754Z] 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-08-20T23:46:22.754Z] 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-08-20T23:46:22.754Z] 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-08-20T23:46:22.754Z] 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-08-20T23:46:22.754Z] 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-08-20T23:46:22.754Z] 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-08-20T23:46:22.754Z] 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-08-20T23:46:22.754Z] 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-08-20T23:46:22.754Z] 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-08-20T23:46:22.754Z] 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-08-20T23:46:22.754Z] 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-08-20T23:46:22.754Z] 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-08-20T23:46:22.754Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common
[2025-08-20T23:46:22.754Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests
[2025-08-20T23:46:22.755Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin
[2025-08-20T23:46:22.755Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\\jvmtest\\system\\STF\\stf.core\\bin
[2025-08-20T23:46:22.755Z] GEN C:/Users/jenkins/testDependency/system_lib/log4j/log4j-api.jar
[2025-08-20T23:46:22.755Z] GEN C:/Users/jenkins/testDependency/system_lib/log4j/log4j-core.jar
[2025-08-20T23:46:22.755Z] GEN C:/Users/jenkins/testDependency/system_lib/junit/junit.jar
[2025-08-20T23:46:22.755Z] GEN 23:46:22.505 - Using Mode NoOptions. Values = ''
[2025-08-20T23:46:22.755Z] GEN 23:46:22.583 -
[2025-08-20T23:46:22.755Z] GEN 23:46:22.583 - Test command summary:
[2025-08-20T23:46:22.755Z] GEN 23:46:22.583 - Step Stage Command Description
[2025-08-20T23:46:22.755Z] GEN 23:46:22.583 - -----+--------+-----------------+------------
[2025-08-20T23:46:22.755Z] GEN 23:46:22.583 - 1 execute jar Create com.hello jar
[2025-08-20T23:46:22.755Z] GEN 23:46:22.583 - 2 execute Run java Run modularity test in Junit
[2025-08-20T23:46:22.755Z] GEN 23:46:22.583 - 3 execute count Check output
[2025-08-20T23:46:22.755Z] STF 23:46:22.651 -
[2025-08-20T23:46:22.755Z] STF 23:46:22.651 - Script generation completed
[2025-08-20T23:46:22.755Z] STF 23:46:22.651 -
[2025-08-20T23:46:22.755Z] STF 23:46:22.653 -
[2025-08-20T23:46:22.755Z] STF 23:46:22.653 - ======================= S E T U P =======================
[2025-08-20T23:46:22.755Z] STF 23:46:22.653 - Running setup: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17557318289751\CpMpModJar2_0/20250820-234620-CpMpModJar2/setUp.pl
[2025-08-20T23:46:23.392Z] STF 23:46:23.036 - SETUP stage completed
[2025-08-20T23:46:23.392Z] STF 23:46:23.065 -
[2025-08-20T23:46:23.392Z] STF 23:46:23.065 - ==================== E X E C U T E - ====================
[2025-08-20T23:46:23.393Z] STF 23:46:23.065 - Running execute: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17557318289751\CpMpModJar2_0/20250820-234620-CpMpModJar2/execute.pl
[2025-08-20T23:46:23.686Z] STF 23:46:23.458 -
[2025-08-20T23:46:23.686Z] STF 23:46:23.458 - Java version
[2025-08-20T23:46:23.686Z] STF 23:46:23.458 - Running: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/java -version
[2025-08-20T23:46:23.686Z] Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-08-20T23:46:23.686Z] openjdk version "21.0.9-beta" 2025-10-21
[2025-08-20T23:46:23.686Z] OpenJDK Runtime Environment Temurin-21.0.9+4-202508201909 (build 21.0.9-beta+4-ea)
[2025-08-20T23:46:23.686Z] OpenJDK 64-Bit Server VM Temurin-21.0.9+4-202508201909 (build 21.0.9-beta+4-ea, mixed mode)
[2025-08-20T23:46:23.686Z] STF 23:46:23.590 -
[2025-08-20T23:46:23.686Z] STF 23:46:23.590 - +------ Step 1 - Create com.hello jar
[2025-08-20T23:46:23.686Z] STF 23:46:23.590 - | Create modular jar
[2025-08-20T23:46:23.686Z] STF 23:46:23.590 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hi
[2025-08-20T23:46:23.686Z] STF 23:46:23.590 - | ModuleVersion: null
[2025-08-20T23:46:23.686Z] STF 23:46:23.591 - | MainClass: adoptopenjdk.test.modularity.hi.Hi
[2025-08-20T23:46:23.686Z] STF 23:46:23.591 - | HashModules: null
[2025-08-20T23:46:23.686Z] STF 23:46:23.591 - |
[2025-08-20T23:46:23.687Z] STF 23:46:23.592 - 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_17557318289751/CpMpModJar2_0/20250820-234620-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-08-20T23:46:23.687Z] STF 23:46:23.592 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17557318289751/CpMpModJar2_0/20250820-234620-CpMpModJar2/results/1.CMJ.stderr
[2025-08-20T23:46:23.687Z] STF 23:46:23.592 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17557318289751/CpMpModJar2_0/20250820-234620-CpMpModJar2/results/1.CMJ.stdout
[2025-08-20T23:46:23.982Z] STF 23:46:23.660 - Monitoring processes: CMJ
[2025-08-20T23:46:23.982Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-08-20T23:46:24.278Z] STF 23:46:24.101 - Monitoring Report Summary:
[2025-08-20T23:46:24.278Z] STF 23:46:24.101 - o Process CMJ ended with the expected exit code (0)
[2025-08-20T23:46:24.278Z] STF 23:46:24.102 - Created modular jar: 1.com.hi.jar
[2025-08-20T23:46:24.278Z] STF 23:46:24.102 -
[2025-08-20T23:46:24.278Z] STF 23:46:24.102 - +------ Step 2 - Run modularity test in Junit
[2025-08-20T23:46:24.278Z] STF 23:46:24.102 - | Run foreground process
[2025-08-20T23:46:24.278Z] STF 23:46:24.102 - | Program: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/java
[2025-08-20T23:46:24.278Z] STF 23:46:24.102 - | Mnemonic: CpMp
[2025-08-20T23:46:24.278Z] STF 23:46:24.102 - | Echo: ECHO_ON
[2025-08-20T23:46:24.278Z] STF 23:46:24.102 - | Expectation: CLEAN_RUN within 1m
[2025-08-20T23:46:24.278Z] STF 23:46:24.102 - |
[2025-08-20T23:46:24.278Z] STF 23:46:24.103 - 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_17557318289751/CpMpModJar2_0/20250820-234620-CpMpModJar2/modules/1.com.hi.jar -m com.hi everyone -XX:+UseCompressedOops
[2025-08-20T23:46:24.278Z] STF 23:46:24.103 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17557318289751/CpMpModJar2_0/20250820-234620-CpMpModJar2/results/2.CpMp.stderr
[2025-08-20T23:46:24.278Z] STF 23:46:24.103 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17557318289751/CpMpModJar2_0/20250820-234620-CpMpModJar2/results/2.CpMp.stdout
[2025-08-20T23:46:24.278Z] STF 23:46:24.111 - Monitoring processes: CpMp
[2025-08-20T23:46:24.278Z] CpMp stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-08-20T23:46:24.571Z] CpMp Hi everyone
[2025-08-20T23:46:24.571Z] STF 23:46:24.349 - Monitoring Report Summary:
[2025-08-20T23:46:24.571Z] STF 23:46:24.349 - o Process CpMp ended with the expected exit code (0)
[2025-08-20T23:46:24.571Z] STF 23:46:24.350 -
[2025-08-20T23:46:24.571Z] STF 23:46:24.350 - +------ Step 3 - Check output
[2025-08-20T23:46:24.571Z] STF 23:46:24.350 - | Count file matches
[2025-08-20T23:46:24.571Z] STF 23:46:24.350 - | TargetFile: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17557318289751/CpMpModJar2_0/20250820-234620-CpMpModJar2/results/2.CpMp.stdout
[2025-08-20T23:46:24.571Z] STF 23:46:24.350 - | ExpectedNumMatches: 1
[2025-08-20T23:46:24.571Z] STF 23:46:24.350 - | SearchStrings: ["Hi everyone"]
[2025-08-20T23:46:24.571Z] STF 23:46:24.350 - |
[2025-08-20T23:46:24.571Z] STF 23:46:24.351 - Found 1 instances of ["Hi everyone"]
[2025-08-20T23:46:24.571Z] STF 23:46:24.351 - EXECUTE stage completed
[2025-08-20T23:46:24.571Z] STF 23:46:24.382 -
[2025-08-20T23:46:24.571Z] STF 23:46:24.382 - ==================== T E A R D O W N ====================
[2025-08-20T23:46:24.571Z] STF 23:46:24.382 - Running teardown: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17557318289751\CpMpModJar2_0/20250820-234620-CpMpModJar2/tearDown.pl
[2025-08-20T23:46:24.863Z] STF 23:46:24.755 - TEARDOWN stage completed
[2025-08-20T23:46:24.863Z] STF 23:46:24.803 -
[2025-08-20T23:46:24.863Z] STF 23:46:24.804 - ===================== R E S U L T S =====================
[2025-08-20T23:46:24.863Z] STF 23:46:24.804 - Stage results:
[2025-08-20T23:46:24.863Z] STF 23:46:24.804 - setUp: pass
[2025-08-20T23:46:24.863Z] STF 23:46:24.804 - execute: pass
[2025-08-20T23:46:24.863Z] STF 23:46:24.804 - teardown: pass
[2025-08-20T23:46:24.863Z] STF 23:46:24.804 -
[2025-08-20T23:46:24.864Z] STF 23:46:24.804 - Overall result: PASSED
[2025-08-20T23:46:24.864Z] -----------------------------------
[2025-08-20T23:46:24.864Z] CpMpModJar2_0_PASSED
[2025-08-20T23:46:24.864Z] -----------------------------------
[2025-08-20T23:46:25.157Z]
[2025-08-20T23:46:25.157Z] TEST TEARDOWN:
[2025-08-20T23:46:25.157Z] Nothing to be done for teardown.
[2025-08-20T23:46:25.157Z] CpMpModJar2_0 Finish Time: Wed Aug 20 23:46:25 2025 Epoch Time (ms): 1755733585145