CpMpModJar3_1
[2025-03-26T21:43:17.241Z] Running test CpMpModJar3_1 ...
[2025-03-26T21:43:17.241Z] ===============================================
[2025-03-26T21:43:17.241Z] CpMpModJar3_1 Start Time: Wed Mar 26 21:43:16 2025 Epoch Time (ms): 1743025396992
[2025-03-26T21:43:17.241Z] variation: Mode650
[2025-03-26T21:43:17.241Z] JVM_OPTIONS: -XX:-UseCompressedOops
[2025-03-26T21:43:17.241Z] { \
[2025-03-26T21:43:17.241Z] echo ""; echo "TEST SETUP:"; \
[2025-03-26T21:43:17.241Z] echo "Nothing to be done for setup."; \
[2025-03-26T21:43:17.241Z] mkdir -p "/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/../TKG/output_17430229029888/CpMpModJar3_1"; \
[2025-03-26T21:43:17.241Z] cd "/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/../TKG/output_17430229029888/CpMpModJar3_1"; \
[2025-03-26T21:43:17.241Z] echo ""; echo "TESTING:"; \
[2025-03-26T21:43:17.241Z] perl /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF/stf.core/scripts/stf.pl -test-root="/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF;/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/../../jvmtest/system/modularity/..//aqa-systemtest""" -systemtest-prereqs="/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/../../testDependency/system_lib/" -java-args=' -XX:-UseCompressedOops ' -results-root="/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/../TKG/output_17430229029888/CpMpModJar3_1" -test=CpMpModJar3; \
[2025-03-26T21:43:17.241Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "CpMpModJar3_1""_PASSED"; echo "-----------------------------------"; cd /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/..; rm -f -r "/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/../TKG/output_17430229029888/CpMpModJar3_1"; else echo "-----------------------------------"; echo "CpMpModJar3_1""_FAILED"; echo "-----------------------------------"; fi; \
[2025-03-26T21:43:17.241Z] echo ""; echo "TEST TEARDOWN:"; \
[2025-03-26T21:43:17.241Z] echo "Nothing to be done for teardown."; \
[2025-03-26T21:43:17.241Z] } 2>&1 | tee -a "/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/../TKG/output_17430229029888/TestTargetResult";
[2025-03-26T21:43:17.241Z]
[2025-03-26T21:43:17.241Z] TEST SETUP:
[2025-03-26T21:43:17.241Z] Nothing to be done for setup.
[2025-03-26T21:43:17.241Z]
[2025-03-26T21:43:17.241Z] TESTING:
[2025-03-26T21:43:17.241Z] STF 21:43:17.090 - ========================= S T F =========================
[2025-03-26T21:43:17.241Z] systemtest-prereqs has been processed, and set to: /Users/jenkins/testDependency/system_libRetrieving amount of free space on drive containing /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/../TKG/output_17430229029888/CpMpModJar3_1
[2025-03-26T21:43:17.241Z] There is 50883 Mb free
[2025-03-26T21:43:17.241Z] STF 21:43:17.099 - ================== G E N E R A T I O N ==================
[2025-03-26T21:43:17.241Z] STF 21:43:17.101 - Checking JVM: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jdkbinary/j2sdk-image/Contents/Home/bin/../
[2025-03-26T21:43:17.241Z] STF 21:43:17.101 - Starting process to generate scripts: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jdkbinary/j2sdk-image/Contents/Home/bin/..//bin/java -Dlog4j.skipJansi=true -Djava.system.class.loader=net.adoptopenjdk.stf.runner.StfClassLoader -Dload.agent.path=/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jvmtest/system/STF/stf.core/scripts/../../stf.load/bin/stf.load.jar -classpath /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/../../testDependency/system_lib//asm/asm.jar:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/../../testDependency/system_lib//asm/asm-commons.jar:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/../../testDependency/system_lib//log4j/log4j-api.jar:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/../../testDependency/system_lib//log4j/log4j-core.jar:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/../TKG/output_17430229029888/CpMpModJar3_1/20250326-214317-CpMpModJar3/stf_parameters.properties, , /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/../TKG/output_17430229029888/CpMpModJar3_1/20250326-214317-CpMpModJar3"
[2025-03-26T21:43:17.241Z] GEN stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-03-26T21:43:18.576Z] GEN 21:43:18.124 - Found test. Project: 'openjdk.test.modularity' class: 'CpMpModJar3.class' Dir: '/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin'
[2025-03-26T21:43:18.576Z] GEN 21:43:18.138 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.CpMpModJar3'
[2025-03-26T21:43:18.576Z] GEN Classpath directories used by project 'openjdk.test.modularity':
[2025-03-26T21:43:18.576Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayService
[2025-03-26T21:43:18.576Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper
[2025-03-26T21:43:18.576Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl1
[2025-03-26T21:43:18.576Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet
[2025-03-26T21:43:18.576Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello
[2025-03-26T21:43:18.576Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola
[2025-03-26T21:43:18.576Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl2
[2025-03-26T21:43:18.576Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hi
[2025-03-26T21:43:18.576Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override
[2025-03-26T21:43:18.576Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override-new
[2025-03-26T21:43:18.576Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl3
[2025-03-26T21:43:18.576Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl4
[2025-03-26T21:43:18.576Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common
[2025-03-26T21:43:18.576Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests
[2025-03-26T21:43:18.576Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin
[2025-03-26T21:43:18.576Z] GEN /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jvmtest/system/STF/stf.core/bin
[2025-03-26T21:43:18.576Z] GEN /Users/jenkins/testDependency/system_lib/log4j/log4j-api.jar
[2025-03-26T21:43:18.576Z] GEN /Users/jenkins/testDependency/system_lib/log4j/log4j-core.jar
[2025-03-26T21:43:18.576Z] GEN /Users/jenkins/testDependency/system_lib/junit/junit.jar
[2025-03-26T21:43:18.576Z] GEN 21:43:18.334 - Using Mode NoOptions. Values = ''
[2025-03-26T21:43:18.576Z] GEN 21:43:18.399 -
[2025-03-26T21:43:18.576Z] GEN 21:43:18.399 - Test command summary:
[2025-03-26T21:43:18.576Z] GEN 21:43:18.399 - Step Stage Command Description
[2025-03-26T21:43:18.576Z] GEN 21:43:18.399 - -----+--------+-----------------+------------
[2025-03-26T21:43:18.577Z] GEN 21:43:18.399 - 1 execute jar Create com.hello jar
[2025-03-26T21:43:18.577Z] GEN 21:43:18.400 - 2 execute Run java Run modularity test with module main class
[2025-03-26T21:43:18.577Z] GEN 21:43:18.400 - 3 execute count Check output
[2025-03-26T21:43:18.577Z] STF 21:43:18.431 -
[2025-03-26T21:43:18.577Z] STF 21:43:18.431 - Script generation completed
[2025-03-26T21:43:18.577Z] STF 21:43:18.431 -
[2025-03-26T21:43:18.577Z] STF 21:43:18.431 -
[2025-03-26T21:43:18.577Z] STF 21:43:18.431 - ======================= S E T U P =======================
[2025-03-26T21:43:18.577Z] STF 21:43:18.431 - Running setup: perl /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/../TKG/output_17430229029888/CpMpModJar3_1/20250326-214317-CpMpModJar3/setUp.pl
[2025-03-26T21:43:18.577Z] STF 21:43:18.504 - SETUP stage completed
[2025-03-26T21:43:18.577Z] STF 21:43:18.506 -
[2025-03-26T21:43:18.577Z] STF 21:43:18.506 - ==================== E X E C U T E - ====================
[2025-03-26T21:43:18.577Z] STF 21:43:18.506 - Running execute: perl /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/../TKG/output_17430229029888/CpMpModJar3_1/20250326-214317-CpMpModJar3/execute.pl
[2025-03-26T21:43:18.972Z] STF 21:43:18.581 -
[2025-03-26T21:43:18.972Z] STF 21:43:18.582 - Java version
[2025-03-26T21:43:18.972Z] STF 21:43:18.582 - Running: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jdkbinary/j2sdk-image/Contents/Home/bin/java -version
[2025-03-26T21:43:18.972Z] Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-03-26T21:43:18.972Z] STF 21:43:18.697 -
[2025-03-26T21:43:18.972Z] STF 21:43:18.697 - +------ Step 1 - Create com.hello jar
[2025-03-26T21:43:18.972Z] STF 21:43:18.697 - | Create modular jar
[2025-03-26T21:43:18.972Z] STF 21:43:18.697 - | ModuleSpec: openjdk.test.modularity/bin/common-mods/com.hi
[2025-03-26T21:43:18.972Z] STF 21:43:18.697 - | ModuleVersion: null
[2025-03-26T21:43:18.972Z] STF 21:43:18.697 - | MainClass: null
[2025-03-26T21:43:18.972Z] STF 21:43:18.697 - | HashModules: null
[2025-03-26T21:43:18.972Z] STF 21:43:18.697 - |
[2025-03-26T21:43:18.972Z] openjdk version "21.0.7-beta" 2025-04-15
[2025-03-26T21:43:18.972Z] OpenJDK Runtime Environment Temurin-21.0.7+5-202503262004 (build 21.0.7-beta+5-ea)
[2025-03-26T21:43:18.972Z] OpenJDK 64-Bit Server VM Temurin-21.0.7+5-202503262004 (build 21.0.7-beta+5-ea, mixed mode)
[2025-03-26T21:43:18.972Z] STF 21:43:18.698 - Running command: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_17430229029888/CpMpModJar3_1/20250326-214317-CpMpModJar3/modules/1.com.hi.jar -C /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hi .
[2025-03-26T21:43:18.972Z] STF 21:43:18.698 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_17430229029888/CpMpModJar3_1/20250326-214317-CpMpModJar3/results/1.CMJ.stderr
[2025-03-26T21:43:18.972Z] STF 21:43:18.698 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_17430229029888/CpMpModJar3_1/20250326-214317-CpMpModJar3/results/1.CMJ.stdout
[2025-03-26T21:43:18.972Z] STF 21:43:18.708 - Monitoring processes: CMJ
[2025-03-26T21:43:18.972Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-03-26T21:43:19.363Z] STF 21:43:19.077 - Monitoring Report Summary:
[2025-03-26T21:43:19.363Z] STF 21:43:19.077 - o Process CMJ ended with the expected exit code (0)
[2025-03-26T21:43:19.363Z] STF 21:43:19.078 - Created modular jar: 1.com.hi.jar
[2025-03-26T21:43:19.363Z] STF 21:43:19.078 -
[2025-03-26T21:43:19.363Z] STF 21:43:19.078 - +------ Step 2 - Run modularity test with module main class
[2025-03-26T21:43:19.363Z] STF 21:43:19.078 - | Run foreground process
[2025-03-26T21:43:19.363Z] STF 21:43:19.078 - | Program: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jdkbinary/j2sdk-image/Contents/Home/bin/java
[2025-03-26T21:43:19.363Z] STF 21:43:19.078 - | Mnemonic: CpMp
[2025-03-26T21:43:19.363Z] STF 21:43:19.078 - | Echo: ECHO_ON
[2025-03-26T21:43:19.363Z] STF 21:43:19.078 - | Expectation: CLEAN_RUN within 1m
[2025-03-26T21:43:19.363Z] STF 21:43:19.078 - |
[2025-03-26T21:43:19.363Z] STF 21:43:19.079 - Running command: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/jdkbinary/j2sdk-image/Contents/Home/bin/java --module-path /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_17430229029888/CpMpModJar3_1/20250326-214317-CpMpModJar3/modules/1.com.hi.jar -m com.hi/adoptopenjdk.test.modularity.hi.Hi everyone -XX:-UseCompressedOops
[2025-03-26T21:43:19.363Z] STF 21:43:19.079 - Redirecting stderr to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_17430229029888/CpMpModJar3_1/20250326-214317-CpMpModJar3/results/2.CpMp.stderr
[2025-03-26T21:43:19.363Z] STF 21:43:19.079 - Redirecting stdout to /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_17430229029888/CpMpModJar3_1/20250326-214317-CpMpModJar3/results/2.CpMp.stdout
[2025-03-26T21:43:19.363Z] STF 21:43:19.081 - Monitoring processes: CpMp
[2025-03-26T21:43:19.363Z] CpMp stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow
[2025-03-26T21:43:19.363Z] CpMp Hi everyone
[2025-03-26T21:43:19.363Z] STF 21:43:19.305 - Monitoring Report Summary:
[2025-03-26T21:43:19.363Z] STF 21:43:19.305 - o Process CpMp ended with the expected exit code (0)
[2025-03-26T21:43:19.363Z] STF 21:43:19.306 -
[2025-03-26T21:43:19.363Z] STF 21:43:19.306 - +------ Step 3 - Check output
[2025-03-26T21:43:19.363Z] STF 21:43:19.306 - | Count file matches
[2025-03-26T21:43:19.363Z] STF 21:43:19.306 - | TargetFile: /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/output_17430229029888/CpMpModJar3_1/20250326-214317-CpMpModJar3/results/2.CpMp.stdout
[2025-03-26T21:43:19.363Z] STF 21:43:19.306 - | ExpectedNumMatches: 1
[2025-03-26T21:43:19.363Z] STF 21:43:19.306 - | SearchStrings: ["Hi everyone"]
[2025-03-26T21:43:19.363Z] STF 21:43:19.306 - |
[2025-03-26T21:43:19.363Z] STF 21:43:19.306 - Found 1 instances of ["Hi everyone"]
[2025-03-26T21:43:19.363Z] STF 21:43:19.306 - EXECUTE stage completed
[2025-03-26T21:43:19.363Z] STF 21:43:19.314 -
[2025-03-26T21:43:19.363Z] STF 21:43:19.314 - ==================== T E A R D O W N ====================
[2025-03-26T21:43:19.363Z] STF 21:43:19.314 - Running teardown: perl /Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac/aqa-tests/TKG/../TKG/output_17430229029888/CpMpModJar3_1/20250326-214317-CpMpModJar3/tearDown.pl
[2025-03-26T21:43:19.755Z] STF 21:43:19.389 - TEARDOWN stage completed
[2025-03-26T21:43:19.755Z] STF 21:43:19.397 -
[2025-03-26T21:43:19.755Z] STF 21:43:19.397 - ===================== R E S U L T S =====================
[2025-03-26T21:43:19.755Z] STF 21:43:19.397 - Stage results:
[2025-03-26T21:43:19.755Z] STF 21:43:19.397 - setUp: pass
[2025-03-26T21:43:19.755Z] STF 21:43:19.397 - execute: pass
[2025-03-26T21:43:19.755Z] STF 21:43:19.397 - teardown: pass
[2025-03-26T21:43:19.755Z] STF 21:43:19.397 -
[2025-03-26T21:43:19.755Z] STF 21:43:19.397 - Overall result: PASSED
[2025-03-26T21:43:19.755Z] -----------------------------------
[2025-03-26T21:43:19.755Z] CpMpModJar3_1_PASSED
[2025-03-26T21:43:19.755Z] -----------------------------------
[2025-03-26T21:43:19.755Z]
[2025-03-26T21:43:19.755Z] TEST TEARDOWN:
[2025-03-26T21:43:19.755Z] Nothing to be done for teardown.
[2025-03-26T21:43:19.755Z] CpMpModJar3_1 Finish Time: Wed Mar 26 21:43:19 2025 Epoch Time (ms): 1743025399428