CpMpModJar2_0
[2024-12-09T16:14:29.125Z] Running test CpMpModJar2_0 ...
[2024-12-09T16:14:29.422Z] ===============================================
[2024-12-09T16:14:29.422Z] CpMpModJar2_0 Start Time: Mon Dec 9 16:14:29 2024 Epoch Time (ms): 1733760869382
[2024-12-09T16:14:29.720Z] variation: Mode150
[2024-12-09T16:14:30.019Z] JVM_OPTIONS: -XX:+UseCompressedOops
[2024-12-09T16:14:30.019Z] { \
[2024-12-09T16:14:30.019Z] echo ""; echo "TEST SETUP:"; \
[2024-12-09T16:14:30.019Z] echo "Nothing to be done for setup."; \
[2024-12-09T16:14:30.019Z] mkdir -p "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17337590845159\\CpMpModJar2_0"; \
[2024-12-09T16:14:30.019Z] cd "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17337590845159\\CpMpModJar2_0"; \
[2024-12-09T16:14:30.019Z] echo ""; echo "TESTING:"; \
[2024-12-09T16:14:30.019Z] 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_17337590845159\\CpMpModJar2_0" -test=CpMpModJar2; \
[2024-12-09T16:14:30.019Z] 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_17337590845159\\CpMpModJar2_0"; else echo "-----------------------------------"; echo "CpMpModJar2_0""_FAILED"; echo "-----------------------------------"; fi; \
[2024-12-09T16:14:30.019Z] echo ""; echo "TEST TEARDOWN:"; \
[2024-12-09T16:14:30.019Z] echo "Nothing to be done for teardown."; \
[2024-12-09T16:14:30.019Z] } 2>&1 | tee -a "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17337590845159\\TestTargetResult";
[2024-12-09T16:14:30.019Z]
[2024-12-09T16:14:30.019Z] TEST SETUP:
[2024-12-09T16:14:30.019Z] Nothing to be done for setup.
[2024-12-09T16:14:30.019Z]
[2024-12-09T16:14:30.019Z] TESTING:
[2024-12-09T16:14:30.664Z] STF 16:14:30.351 - ========================= S T F =========================
[2024-12-09T16:14:30.664Z] 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_17337590845159\CpMpModJar2_0
[2024-12-09T16:14:30.664Z] There is 19786 Mb free
[2024-12-09T16:14:30.664Z] STF 16:14:30.429 - ================== G E N E R A T I O N ==================
[2024-12-09T16:14:30.664Z] STF 16:14:30.434 - Checking JVM: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image
[2024-12-09T16:14:30.665Z] STF 16:14:30.435 - 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 -classpath 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_17337590845159\CpMpModJar2_0/20241209-161430-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_17337590845159\CpMpModJar2_0/20241209-161430-CpMpModJar2"
[2024-12-09T16:14:30.665Z] GEN stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-12-09T16:14:32.203Z] GEN 16:14:31.710 - 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'
[2024-12-09T16:14:32.203Z] GEN 16:14:31.726 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.CpMpModJar2'
[2024-12-09T16:14:32.203Z] GEN Classpath directories used by project 'openjdk.test.modularity':
[2024-12-09T16:14:32.203Z] 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
[2024-12-09T16:14:32.203Z] 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
[2024-12-09T16:14:32.203Z] 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
[2024-12-09T16:14:32.203Z] 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
[2024-12-09T16:14:32.203Z] 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
[2024-12-09T16:14:32.203Z] 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
[2024-12-09T16:14:32.203Z] 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
[2024-12-09T16:14:32.203Z] 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
[2024-12-09T16:14:32.203Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override
[2024-12-09T16:14:32.203Z] 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
[2024-12-09T16:14:32.203Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl3
[2024-12-09T16:14:32.203Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl4
[2024-12-09T16:14:32.203Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common
[2024-12-09T16:14:32.203Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests
[2024-12-09T16:14:32.203Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin
[2024-12-09T16:14:32.203Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\\jvmtest\\system\\STF\\stf.core\\bin
[2024-12-09T16:14:32.203Z] GEN C:/Users/jenkins/testDependency/system_lib/log4j/log4j-api.jar
[2024-12-09T16:14:32.203Z] GEN C:/Users/jenkins/testDependency/system_lib/log4j/log4j-core.jar
[2024-12-09T16:14:32.203Z] GEN C:/Users/jenkins/testDependency/system_lib/junit/junit.jar
[2024-12-09T16:14:32.203Z] GEN 16:14:31.976 - Using Mode NoOptions. Values = ''
[2024-12-09T16:14:32.203Z] GEN 16:14:32.054 -
[2024-12-09T16:14:32.203Z] GEN 16:14:32.054 - Test command summary:
[2024-12-09T16:14:32.203Z] GEN 16:14:32.054 - Step Stage Command Description
[2024-12-09T16:14:32.203Z] GEN 16:14:32.054 - -----+--------+-----------------+------------
[2024-12-09T16:14:32.203Z] GEN 16:14:32.054 - 1 execute jar Create com.hello jar
[2024-12-09T16:14:32.203Z] GEN 16:14:32.054 - 2 execute Run java Run modularity test in Junit
[2024-12-09T16:14:32.203Z] GEN 16:14:32.054 - 3 execute count Check output
[2024-12-09T16:14:32.203Z] STF 16:14:32.136 -
[2024-12-09T16:14:32.203Z] STF 16:14:32.136 - Script generation completed
[2024-12-09T16:14:32.203Z] STF 16:14:32.136 -
[2024-12-09T16:14:32.203Z] STF 16:14:32.138 -
[2024-12-09T16:14:32.203Z] STF 16:14:32.139 - ======================= S E T U P =======================
[2024-12-09T16:14:32.203Z] STF 16:14:32.139 - Running setup: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17337590845159\CpMpModJar2_0/20241209-161430-CpMpModJar2/setUp.pl
[2024-12-09T16:14:32.850Z] STF 16:14:32.523 - SETUP stage completed
[2024-12-09T16:14:32.850Z] STF 16:14:32.571 -
[2024-12-09T16:14:32.850Z] STF 16:14:32.571 - ==================== E X E C U T E - ====================
[2024-12-09T16:14:32.850Z] STF 16:14:32.572 - Running execute: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17337590845159\CpMpModJar2_0/20241209-161430-CpMpModJar2/execute.pl
[2024-12-09T16:14:33.147Z] STF 16:14:32.960 -
[2024-12-09T16:14:33.147Z] STF 16:14:32.960 - Java version
[2024-12-09T16:14:33.147Z] STF 16:14:32.960 - Running: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/java -version
[2024-12-09T16:14:33.147Z] Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-12-09T16:14:33.147Z] openjdk version "21.0.6-beta" 2025-01-21
[2024-12-09T16:14:33.147Z] OpenJDK Runtime Environment Temurin-21.0.6+6-202412042003 (build 21.0.6-beta+6-ea)
[2024-12-09T16:14:33.147Z] OpenJDK 64-Bit Server VM Temurin-21.0.6+6-202412042003 (build 21.0.6-beta+6-ea, mixed mode)
[2024-12-09T16:14:33.147Z] STF 16:14:33.092 -
[2024-12-09T16:14:33.147Z] STF 16:14:33.092 - +------ Step 1 - Create com.hello jar
[2024-12-09T16:14:33.147Z] STF 16:14:33.092 - | Create modular jar
[2024-12-09T16:14:33.147Z] STF 16:14:33.092 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hi
[2024-12-09T16:14:33.147Z] STF 16:14:33.092 - | ModuleVersion: null
[2024-12-09T16:14:33.147Z] STF 16:14:33.093 - | MainClass: adoptopenjdk.test.modularity.hi.Hi
[2024-12-09T16:14:33.147Z] STF 16:14:33.093 - | HashModules: null
[2024-12-09T16:14:33.147Z] STF 16:14:33.093 - |
[2024-12-09T16:14:33.147Z] STF 16:14:33.094 - 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_17337590845159/CpMpModJar2_0/20241209-161430-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 .
[2024-12-09T16:14:33.147Z] STF 16:14:33.094 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17337590845159/CpMpModJar2_0/20241209-161430-CpMpModJar2/results/1.CMJ.stderr
[2024-12-09T16:14:33.147Z] STF 16:14:33.094 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17337590845159/CpMpModJar2_0/20241209-161430-CpMpModJar2/results/1.CMJ.stdout
[2024-12-09T16:14:33.445Z] STF 16:14:33.165 - Monitoring processes: CMJ
[2024-12-09T16:14:33.445Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-12-09T16:14:33.743Z] STF 16:14:33.602 - Monitoring Report Summary:
[2024-12-09T16:14:33.743Z] STF 16:14:33.602 - o Process CMJ ended with the expected exit code (0)
[2024-12-09T16:14:33.743Z] STF 16:14:33.603 - Created modular jar: 1.com.hi.jar
[2024-12-09T16:14:33.743Z] STF 16:14:33.603 -
[2024-12-09T16:14:33.743Z] STF 16:14:33.603 - +------ Step 2 - Run modularity test in Junit
[2024-12-09T16:14:33.743Z] STF 16:14:33.603 - | Run foreground process
[2024-12-09T16:14:33.743Z] STF 16:14:33.603 - | Program: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/java
[2024-12-09T16:14:33.743Z] STF 16:14:33.603 - | Mnemonic: CpMp
[2024-12-09T16:14:33.743Z] STF 16:14:33.603 - | Echo: ECHO_ON
[2024-12-09T16:14:33.743Z] STF 16:14:33.603 - | Expectation: CLEAN_RUN within 1m
[2024-12-09T16:14:33.743Z] STF 16:14:33.603 - |
[2024-12-09T16:14:33.743Z] STF 16:14:33.604 - 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_17337590845159/CpMpModJar2_0/20241209-161430-CpMpModJar2/modules/1.com.hi.jar -m com.hi everyone -XX:+UseCompressedOops
[2024-12-09T16:14:33.743Z] STF 16:14:33.604 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17337590845159/CpMpModJar2_0/20241209-161430-CpMpModJar2/results/2.CpMp.stderr
[2024-12-09T16:14:33.743Z] STF 16:14:33.604 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17337590845159/CpMpModJar2_0/20241209-161430-CpMpModJar2/results/2.CpMp.stdout
[2024-12-09T16:14:33.743Z] STF 16:14:33.612 - Monitoring processes: CpMp
[2024-12-09T16:14:33.743Z] CpMp stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2024-12-09T16:14:34.041Z] CpMp Hi everyone
[2024-12-09T16:14:34.041Z] STF 16:14:33.866 - Monitoring Report Summary:
[2024-12-09T16:14:34.041Z] STF 16:14:33.866 - o Process CpMp ended with the expected exit code (0)
[2024-12-09T16:14:34.041Z] STF 16:14:33.867 -
[2024-12-09T16:14:34.041Z] STF 16:14:33.867 - +------ Step 3 - Check output
[2024-12-09T16:14:34.041Z] STF 16:14:33.867 - | Count file matches
[2024-12-09T16:14:34.041Z] STF 16:14:33.867 - | TargetFile: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17337590845159/CpMpModJar2_0/20241209-161430-CpMpModJar2/results/2.CpMp.stdout
[2024-12-09T16:14:34.041Z] STF 16:14:33.867 - | ExpectedNumMatches: 1
[2024-12-09T16:14:34.041Z] STF 16:14:33.867 - | SearchStrings: ["Hi everyone"]
[2024-12-09T16:14:34.041Z] STF 16:14:33.867 - |
[2024-12-09T16:14:34.041Z] STF 16:14:33.868 - Found 1 instances of ["Hi everyone"]
[2024-12-09T16:14:34.041Z] STF 16:14:33.868 - EXECUTE stage completed
[2024-12-09T16:14:34.041Z] STF 16:14:33.918 -
[2024-12-09T16:14:34.041Z] STF 16:14:33.918 - ==================== T E A R D O W N ====================
[2024-12-09T16:14:34.041Z] STF 16:14:33.918 - Running teardown: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17337590845159\CpMpModJar2_0/20241209-161430-CpMpModJar2/tearDown.pl
[2024-12-09T16:14:34.343Z] STF 16:14:34.288 - TEARDOWN stage completed
[2024-12-09T16:14:34.642Z] STF 16:14:34.341 -
[2024-12-09T16:14:34.642Z] STF 16:14:34.341 - ===================== R E S U L T S =====================
[2024-12-09T16:14:34.642Z] STF 16:14:34.341 - Stage results:
[2024-12-09T16:14:34.642Z] STF 16:14:34.341 - setUp: pass
[2024-12-09T16:14:34.642Z] STF 16:14:34.341 - execute: pass
[2024-12-09T16:14:34.642Z] STF 16:14:34.341 - teardown: pass
[2024-12-09T16:14:34.642Z] STF 16:14:34.341 -
[2024-12-09T16:14:34.642Z] STF 16:14:34.341 - Overall result: PASSED
[2024-12-09T16:14:34.642Z] -----------------------------------
[2024-12-09T16:14:34.642Z] CpMpModJar2_0_PASSED
[2024-12-09T16:14:34.642Z] -----------------------------------
[2024-12-09T16:14:34.642Z]
[2024-12-09T16:14:34.642Z] TEST TEARDOWN:
[2024-12-09T16:14:34.642Z] Nothing to be done for teardown.
[2024-12-09T16:14:34.948Z] CpMpModJar2_0 Finish Time: Mon Dec 9 16:14:34 2024 Epoch Time (ms): 1733760874679