CpMpModJar2_0
[2025-05-16T13:05:25.653Z] Running test CpMpModJar2_0 ...
[2025-05-16T13:05:25.950Z] ===============================================
[2025-05-16T13:05:26.246Z] CpMpModJar2_0 Start Time: Fri May 16 13:05:25 2025 Epoch Time (ms): 1747400725975
[2025-05-16T13:05:26.246Z] variation: Mode150
[2025-05-16T13:05:26.546Z] JVM_OPTIONS: -XX:+UseCompressedOops
[2025-05-16T13:05:26.546Z] { \
[2025-05-16T13:05:26.546Z] echo ""; echo "TEST SETUP:"; \
[2025-05-16T13:05:26.546Z] echo "Nothing to be done for setup."; \
[2025-05-16T13:05:26.546Z] mkdir -p "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/\\TKG\\output_17473980374966\\CpMpModJar2_0"; \
[2025-05-16T13:05:26.546Z] cd "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/\\TKG\\output_17473980374966\\CpMpModJar2_0"; \
[2025-05-16T13:05:26.546Z] echo ""; echo "TESTING:"; \
[2025-05-16T13:05:26.546Z] 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/../../testDependency/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_17473980374966\\CpMpModJar2_0" -test=CpMpModJar2; \
[2025-05-16T13:05:26.546Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "CpMpModJar2_0""_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_17473980374966\\CpMpModJar2_0"; else echo "-----------------------------------"; echo "CpMpModJar2_0""_FAILED"; echo "-----------------------------------"; fi; \
[2025-05-16T13:05:26.546Z] echo ""; echo "TEST TEARDOWN:"; \
[2025-05-16T13:05:26.546Z] echo "Nothing to be done for teardown."; \
[2025-05-16T13:05:26.546Z] } 2>&1 | tee -a "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/\\TKG\\output_17473980374966\\TestTargetResult";
[2025-05-16T13:05:26.842Z]
[2025-05-16T13:05:26.842Z] TEST SETUP:
[2025-05-16T13:05:26.842Z] Nothing to be done for setup.
[2025-05-16T13:05:26.842Z]
[2025-05-16T13:05:26.842Z] TESTING:
[2025-05-16T13:05:27.139Z] STF 13:05:27.064 - ========================= S T F =========================
[2025-05-16T13:05:27.139Z] 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_2/aqa-tests/\TKG\output_17473980374966\CpMpModJar2_0
[2025-05-16T13:05:27.437Z] There is 49244 Mb free
[2025-05-16T13:05:27.437Z] STF 13:05:27.142 - ================== G E N E R A T I O N ==================
[2025-05-16T13:05:27.437Z] STF 13:05:27.147 - Checking JVM: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/jdkbinary/j2sdk-image
[2025-05-16T13:05:27.438Z] STF 13:05:27.148 - 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/../../testDependency/system_lib\/asm/asm.jar;C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/../../testDependency/system_lib\/asm/asm-commons.jar;C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/../../testDependency/system_lib\/log4j/log4j-api.jar;C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/../../testDependency/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_17473980374966\CpMpModJar2_0/20250516-130527-CpMpModJar2/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_17473980374966\CpMpModJar2_0/20250516-130527-CpMpModJar2"
[2025-05-16T13:05:27.438Z] GEN stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-05-16T13:05:28.491Z] GEN 13:05:28.397 - Found test. Project: 'openjdk.test.modularity' class: 'CpMpModJar2.class' Dir: 'C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin'
[2025-05-16T13:05:28.491Z] GEN 13:05:28.417 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.CpMpModJar2'
[2025-05-16T13:05:28.789Z] GEN Classpath directories used by project 'openjdk.test.modularity':
[2025-05-16T13:05:28.789Z] 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-05-16T13:05:28.790Z] 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-05-16T13:05:28.790Z] 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-05-16T13:05:28.790Z] 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-05-16T13:05:28.790Z] 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-05-16T13:05:28.790Z] 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-05-16T13:05:28.790Z] 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-05-16T13:05:28.790Z] 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-05-16T13:05:28.790Z] 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-05-16T13:05:28.790Z] 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-05-16T13:05:28.790Z] 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-05-16T13:05:28.790Z] 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-05-16T13:05:28.790Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common
[2025-05-16T13:05:28.790Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests
[2025-05-16T13:05:28.790Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin
[2025-05-16T13:05:28.790Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2\\jvmtest\\system\\STF\\stf.core\\bin
[2025-05-16T13:05:28.790Z] GEN C:/Users/jenkins/testDependency/system_lib/log4j/log4j-api.jar
[2025-05-16T13:05:28.790Z] GEN C:/Users/jenkins/testDependency/system_lib/log4j/log4j-core.jar
[2025-05-16T13:05:28.790Z] GEN C:/Users/jenkins/testDependency/system_lib/junit/junit.jar
[2025-05-16T13:05:28.790Z] GEN 13:05:28.691 - Using Mode NoOptions. Values = ''
[2025-05-16T13:05:29.089Z] GEN 13:05:28.794 -
[2025-05-16T13:05:29.089Z] GEN 13:05:28.794 - Test command summary:
[2025-05-16T13:05:29.089Z] GEN 13:05:28.795 - Step Stage Command Description
[2025-05-16T13:05:29.089Z] GEN 13:05:28.801 - -----+--------+-----------------+------------
[2025-05-16T13:05:29.089Z] GEN 13:05:28.801 - 1 execute jar Create com.hello jar
[2025-05-16T13:05:29.089Z] GEN 13:05:28.801 - 2 execute Run java Run modularity test in Junit
[2025-05-16T13:05:29.089Z] GEN 13:05:28.801 - 3 execute count Check output
[2025-05-16T13:05:29.089Z] STF 13:05:28.841 -
[2025-05-16T13:05:29.089Z] STF 13:05:28.841 - Script generation completed
[2025-05-16T13:05:29.089Z] STF 13:05:28.841 -
[2025-05-16T13:05:29.089Z] STF 13:05:28.843 -
[2025-05-16T13:05:29.089Z] STF 13:05:28.843 - ======================= S E T U P =======================
[2025-05-16T13:05:29.089Z] STF 13:05:28.843 - Running setup: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/\TKG\output_17473980374966\CpMpModJar2_0/20250516-130527-CpMpModJar2/setUp.pl
[2025-05-16T13:05:29.386Z] STF 13:05:29.235 - SETUP stage completed
[2025-05-16T13:05:29.386Z] STF 13:05:29.272 -
[2025-05-16T13:05:29.386Z] STF 13:05:29.272 - ==================== E X E C U T E - ====================
[2025-05-16T13:05:29.386Z] STF 13:05:29.272 - Running execute: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/\TKG\output_17473980374966\CpMpModJar2_0/20250516-130527-CpMpModJar2/execute.pl
[2025-05-16T13:05:30.028Z] STF 13:05:29.658 -
[2025-05-16T13:05:30.028Z] STF 13:05:29.658 - Java version
[2025-05-16T13:05:30.028Z] STF 13:05:29.658 - Running: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/jdkbinary/j2sdk-image/bin/java -version
[2025-05-16T13:05:30.028Z] Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-05-16T13:05:30.028Z] openjdk version "21.0.8-beta" 2025-07-15
[2025-05-16T13:05:30.028Z] OpenJDK Runtime Environment Temurin-21.0.8+3-202505160832 (build 21.0.8-beta+3-ea)
[2025-05-16T13:05:30.028Z] OpenJDK 64-Bit Server VM Temurin-21.0.8+3-202505160832 (build 21.0.8-beta+3-ea, mixed mode)
[2025-05-16T13:05:30.028Z] STF 13:05:29.786 -
[2025-05-16T13:05:30.028Z] STF 13:05:29.786 - +------ Step 1 - Create com.hello jar
[2025-05-16T13:05:30.029Z] STF 13:05:29.786 - | Create modular jar
[2025-05-16T13:05:30.029Z] STF 13:05:29.786 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hi
[2025-05-16T13:05:30.029Z] STF 13:05:29.786 - | ModuleVersion: null
[2025-05-16T13:05:30.029Z] STF 13:05:29.786 - | MainClass: adoptopenjdk.test.modularity.hi.Hi
[2025-05-16T13:05:30.029Z] STF 13:05:29.786 - | HashModules: null
[2025-05-16T13:05:30.029Z] STF 13:05:29.786 - |
[2025-05-16T13:05:30.029Z] STF 13:05:29.788 - 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_17473980374966/CpMpModJar2_0/20250516-130527-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_2\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hi .
[2025-05-16T13:05:30.029Z] STF 13:05:29.788 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/TKG/output_17473980374966/CpMpModJar2_0/20250516-130527-CpMpModJar2/results/1.CMJ.stderr
[2025-05-16T13:05:30.029Z] STF 13:05:29.788 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/TKG/output_17473980374966/CpMpModJar2_0/20250516-130527-CpMpModJar2/results/1.CMJ.stdout
[2025-05-16T13:05:30.029Z] STF 13:05:29.876 - Monitoring processes: CMJ
[2025-05-16T13:05:30.029Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-05-16T13:05:30.675Z] STF 13:05:30.308 - Monitoring Report Summary:
[2025-05-16T13:05:30.676Z] STF 13:05:30.308 - o Process CMJ ended with the expected exit code (0)
[2025-05-16T13:05:30.676Z] STF 13:05:30.309 - Created modular jar: 1.com.hi.jar
[2025-05-16T13:05:30.676Z] STF 13:05:30.309 -
[2025-05-16T13:05:30.676Z] STF 13:05:30.309 - +------ Step 2 - Run modularity test in Junit
[2025-05-16T13:05:30.676Z] STF 13:05:30.309 - | Run foreground process
[2025-05-16T13:05:30.676Z] STF 13:05:30.309 - | Program: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/jdkbinary/j2sdk-image/bin/java
[2025-05-16T13:05:30.676Z] STF 13:05:30.309 - | Mnemonic: CpMp
[2025-05-16T13:05:30.676Z] STF 13:05:30.309 - | Echo: ECHO_ON
[2025-05-16T13:05:30.676Z] STF 13:05:30.309 - | Expectation: CLEAN_RUN within 1m
[2025-05-16T13:05:30.676Z] STF 13:05:30.309 - |
[2025-05-16T13:05:30.676Z] STF 13:05:30.310 - 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_17473980374966/CpMpModJar2_0/20250516-130527-CpMpModJar2/modules/1.com.hi.jar -m com.hi everyone -XX:+UseCompressedOops
[2025-05-16T13:05:30.676Z] STF 13:05:30.310 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/TKG/output_17473980374966/CpMpModJar2_0/20250516-130527-CpMpModJar2/results/2.CpMp.stderr
[2025-05-16T13:05:30.676Z] STF 13:05:30.310 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/TKG/output_17473980374966/CpMpModJar2_0/20250516-130527-CpMpModJar2/results/2.CpMp.stdout
[2025-05-16T13:05:30.676Z] STF 13:05:30.323 - Monitoring processes: CpMp
[2025-05-16T13:05:30.676Z] CpMp stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-05-16T13:05:30.676Z] CpMp Hi everyone
[2025-05-16T13:05:30.676Z] STF 13:05:30.558 - Monitoring Report Summary:
[2025-05-16T13:05:30.676Z] STF 13:05:30.558 - o Process CpMp ended with the expected exit code (0)
[2025-05-16T13:05:30.676Z] STF 13:05:30.559 -
[2025-05-16T13:05:30.676Z] STF 13:05:30.559 - +------ Step 3 - Check output
[2025-05-16T13:05:30.676Z] STF 13:05:30.559 - | Count file matches
[2025-05-16T13:05:30.676Z] STF 13:05:30.559 - | TargetFile: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/TKG/output_17473980374966/CpMpModJar2_0/20250516-130527-CpMpModJar2/results/2.CpMp.stdout
[2025-05-16T13:05:30.676Z] STF 13:05:30.559 - | ExpectedNumMatches: 1
[2025-05-16T13:05:30.676Z] STF 13:05:30.559 - | SearchStrings: ["Hi everyone"]
[2025-05-16T13:05:30.676Z] STF 13:05:30.559 - |
[2025-05-16T13:05:30.676Z] STF 13:05:30.559 - Found 1 instances of ["Hi everyone"]
[2025-05-16T13:05:30.676Z] STF 13:05:30.559 - EXECUTE stage completed
[2025-05-16T13:05:30.676Z] STF 13:05:30.604 -
[2025-05-16T13:05:30.676Z] STF 13:05:30.604 - ==================== T E A R D O W N ====================
[2025-05-16T13:05:30.676Z] STF 13:05:30.604 - Running teardown: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_2/aqa-tests/\TKG\output_17473980374966\CpMpModJar2_0/20250516-130527-CpMpModJar2/tearDown.pl
[2025-05-16T13:05:31.318Z] STF 13:05:31.001 - TEARDOWN stage completed
[2025-05-16T13:05:31.318Z] STF 13:05:31.041 -
[2025-05-16T13:05:31.318Z] STF 13:05:31.041 - ===================== R E S U L T S =====================
[2025-05-16T13:05:31.318Z] STF 13:05:31.041 - Stage results:
[2025-05-16T13:05:31.319Z] STF 13:05:31.041 - setUp: pass
[2025-05-16T13:05:31.319Z] STF 13:05:31.041 - execute: pass
[2025-05-16T13:05:31.319Z] STF 13:05:31.041 - teardown: pass
[2025-05-16T13:05:31.319Z] STF 13:05:31.041 -
[2025-05-16T13:05:31.319Z] STF 13:05:31.041 - Overall result: PASSED
[2025-05-16T13:05:31.319Z] -----------------------------------
[2025-05-16T13:05:31.319Z] CpMpModJar2_0_PASSED
[2025-05-16T13:05:31.319Z] -----------------------------------
[2025-05-16T13:05:31.319Z]
[2025-05-16T13:05:31.319Z] TEST TEARDOWN:
[2025-05-16T13:05:31.319Z] Nothing to be done for teardown.
[2025-05-16T13:05:31.615Z] CpMpModJar2_0 Finish Time: Fri May 16 13:05:31 2025 Epoch Time (ms): 1747400731412