InternalAPIs_1

[2025-04-16T10:02:02.323Z] Running test InternalAPIs_1 ... [2025-04-16T10:02:02.323Z] =============================================== [2025-04-16T10:02:02.813Z] InternalAPIs_1 Start Time: Wed Apr 16 03:02:02 2025 Epoch Time (ms): 1744797722321 [2025-04-16T10:02:02.813Z] variation: Mode650 [2025-04-16T10:02:02.813Z] JVM_OPTIONS: -XX:-UseCompressedOops [2025-04-16T10:02:02.813Z] { \ [2025-04-16T10:02:02.813Z] echo ""; echo "TEST SETUP:"; \ [2025-04-16T10:02:02.813Z] echo "Nothing to be done for setup."; \ [2025-04-16T10:02:02.813Z] mkdir -p "/Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17447969792315/InternalAPIs_1"; \ [2025-04-16T10:02:02.813Z] cd "/Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17447969792315/InternalAPIs_1"; \ [2025-04-16T10:02:02.813Z] echo ""; echo "TESTING:"; \ [2025-04-16T10:02:02.813Z] perl /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF/stf.core/scripts/stf.pl -test-root="/Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF;/Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../../jvmtest/system/modularity/..//aqa-systemtest""" -systemtest-prereqs="/Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/../../testDependency/system_lib/" -java-args=' -XX:-UseCompressedOops ' -results-root="/Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17447969792315/InternalAPIs_1" -test=InternalAPIs; \ [2025-04-16T10:02:02.813Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "InternalAPIs_1""_PASSED"; echo "-----------------------------------"; cd /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/..; rm -f -r "/Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17447969792315/InternalAPIs_1"; else echo "-----------------------------------"; echo "InternalAPIs_1""_FAILED"; echo "-----------------------------------"; fi; \ [2025-04-16T10:02:02.813Z] echo ""; echo "TEST TEARDOWN:"; \ [2025-04-16T10:02:02.813Z] echo "Nothing to be done for teardown."; \ [2025-04-16T10:02:02.813Z] } 2>&1 | tee -a "/Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17447969792315/TestTargetResult"; [2025-04-16T10:02:02.813Z] [2025-04-16T10:02:02.813Z] TEST SETUP: [2025-04-16T10:02:02.813Z] Nothing to be done for setup. [2025-04-16T10:02:02.813Z] [2025-04-16T10:02:02.813Z] TESTING: [2025-04-16T10:02:02.813Z] STF 03:02:02.638 - ========================= S T F ========================= [2025-04-16T10:02:02.813Z] systemtest-prereqs has been processed, and set to: /Users/admin/workspace/testDependency/system_libRetrieving amount of free space on drive containing /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17447969792315/InternalAPIs_1 [2025-04-16T10:02:02.813Z] There is 12059 Mb free [2025-04-16T10:02:02.813Z] STF 03:02:02.655 - ================== G E N E R A T I O N ================== [2025-04-16T10:02:02.813Z] STF 03:02:02.657 - Checking JVM: /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/../ [2025-04-16T10:02:02.813Z] STF 03:02:02.657 - Starting process to generate scripts: /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/..//bin/java -Dlog4j.skipJansi=true -Djava.system.class.loader=net.adoptopenjdk.stf.runner.StfClassLoader -Dload.agent.path=/Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/STF/stf.core/scripts/../../stf.load/bin/stf.load.jar -classpath /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/../../testDependency/system_lib//asm/asm.jar:/Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/../../testDependency/system_lib//asm/asm-commons.jar:/Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/../../testDependency/system_lib//log4j/log4j-api.jar:/Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/../../testDependency/system_lib//log4j/log4j-core.jar:/Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "/Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17447969792315/InternalAPIs_1/20250416-030202-InternalAPIs/stf_parameters.properties, , /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "/Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17447969792315/InternalAPIs_1/20250416-030202-InternalAPIs" [2025-04-16T10:02:07.165Z] GEN 03:02:06.513 - Found test. Project: 'openjdk.test.modularity' class: 'InternalAPIs.class' Dir: '/Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin' [2025-04-16T10:02:07.165Z] GEN 03:02:06.561 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.InternalAPIs' [2025-04-16T10:02:07.165Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2025-04-16T10:02:07.165Z] GEN /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayService [2025-04-16T10:02:07.165Z] GEN /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper [2025-04-16T10:02:07.165Z] GEN /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl1 [2025-04-16T10:02:07.165Z] GEN /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet [2025-04-16T10:02:07.165Z] GEN /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello [2025-04-16T10:02:07.165Z] GEN /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola [2025-04-16T10:02:07.165Z] GEN /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl2 [2025-04-16T10:02:07.165Z] GEN /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hi [2025-04-16T10:02:07.165Z] GEN /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override [2025-04-16T10:02:07.165Z] GEN /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override-new [2025-04-16T10:02:07.165Z] GEN /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl3 [2025-04-16T10:02:07.165Z] GEN /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl4 [2025-04-16T10:02:07.165Z] GEN /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common [2025-04-16T10:02:07.165Z] GEN /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests [2025-04-16T10:02:07.165Z] GEN /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin [2025-04-16T10:02:07.165Z] GEN /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/STF/stf.core/bin [2025-04-16T10:02:07.165Z] GEN /Users/admin/workspace/testDependency/system_lib/log4j/log4j-api.jar [2025-04-16T10:02:07.165Z] GEN /Users/admin/workspace/testDependency/system_lib/log4j/log4j-core.jar [2025-04-16T10:02:07.165Z] GEN /Users/admin/workspace/testDependency/system_lib/junit/junit.jar [2025-04-16T10:02:07.824Z] GEN 03:02:07.603 - Using Mode NoOptions. Values = '' [2025-04-16T10:02:08.317Z] GEN 03:02:08.046 - [2025-04-16T10:02:08.317Z] GEN 03:02:08.046 - Test command summary: [2025-04-16T10:02:08.317Z] GEN 03:02:08.046 - Step Stage Command Description [2025-04-16T10:02:08.317Z] GEN 03:02:08.047 - -----+--------+-----------------+------------ [2025-04-16T10:02:08.317Z] GEN 03:02:08.047 - 1 execute Run java Run critical internal APIs test by accessing the critical exported APIs from an unnamed module or classpath [2025-04-16T10:02:08.317Z] GEN 03:02:08.047 - 2 execute Run java Run critical internal APIs test by accessing the critical exported APIs from a module [2025-04-16T10:02:08.317Z] GEN 03:02:08.047 - 3 execute jar Create tests jar [2025-04-16T10:02:08.317Z] GEN 03:02:08.047 - 4 execute Run java Run critical internal APIs test by accessing the critical exported APIs from a modular jar [2025-04-16T10:02:08.317Z] GEN 03:02:08.047 - 5 execute jar create comTest.jar [2025-04-16T10:02:08.317Z] GEN 03:02:08.047 - 6 execute Run java Run critical internal APIs test by accessing the critical exported APIs from an automatic module [2025-04-16T10:02:08.317Z] STF 03:02:08.124 - [2025-04-16T10:02:08.317Z] STF 03:02:08.124 - Script generation completed [2025-04-16T10:02:08.317Z] STF 03:02:08.124 - [2025-04-16T10:02:08.317Z] STF 03:02:08.125 - [2025-04-16T10:02:08.317Z] STF 03:02:08.125 - ======================= S E T U P ======================= [2025-04-16T10:02:08.317Z] STF 03:02:08.125 - Running setup: perl /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17447969792315/InternalAPIs_1/20250416-030202-InternalAPIs/setUp.pl [2025-04-16T10:02:08.749Z] STF 03:02:08.272 - SETUP stage completed [2025-04-16T10:02:08.749Z] STF 03:02:08.277 - [2025-04-16T10:02:08.749Z] STF 03:02:08.277 - ==================== E X E C U T E - ==================== [2025-04-16T10:02:08.749Z] STF 03:02:08.277 - Running execute: perl /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17447969792315/InternalAPIs_1/20250416-030202-InternalAPIs/execute.pl [2025-04-16T10:02:08.749Z] STF 03:02:08.456 - [2025-04-16T10:02:08.749Z] STF 03:02:08.456 - Java version [2025-04-16T10:02:08.749Z] STF 03:02:08.456 - Running: /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/java -version [2025-04-16T10:02:08.749Z] openjdk version "11.0.27" 2025-04-15 [2025-04-16T10:02:08.749Z] OpenJDK Runtime Environment Temurin-11.0.27+6 (build 11.0.27+6) [2025-04-16T10:02:08.749Z] OpenJDK 64-Bit Server VM Temurin-11.0.27+6 (build 11.0.27+6, mixed mode) [2025-04-16T10:02:08.749Z] STF 03:02:08.698 - [2025-04-16T10:02:08.749Z] STF 03:02:08.698 - +------ Step 1 - Run critical internal APIs test by accessing the critical exported APIs from an unnamed module or classpath [2025-04-16T10:02:08.749Z] STF 03:02:08.698 - | Run foreground process [2025-04-16T10:02:08.749Z] STF 03:02:08.698 - | Program: /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/java [2025-04-16T10:02:08.749Z] STF 03:02:08.698 - | Mnemonic: T1 [2025-04-16T10:02:08.749Z] STF 03:02:08.698 - | Echo: ECHO_ON [2025-04-16T10:02:08.749Z] STF 03:02:08.698 - | Expectation: CLEAN_RUN within 1m [2025-04-16T10:02:08.749Z] STF 03:02:08.698 - | [2025-04-16T10:02:08.749Z] STF 03:02:08.699 - Running command: /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/java -XX:-UseCompressedOops -classpath /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test:/Users/admin/workspace/testDependency/system_lib/junit/junit.jar:/Users/admin/workspace/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestJDKInternalAPIs [2025-04-16T10:02:08.749Z] STF 03:02:08.699 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17447969792315/InternalAPIs_1/20250416-030202-InternalAPIs/results/1.T1.stderr [2025-04-16T10:02:08.749Z] STF 03:02:08.699 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17447969792315/InternalAPIs_1/20250416-030202-InternalAPIs/results/1.T1.stdout [2025-04-16T10:02:09.200Z] STF 03:02:08.748 - Monitoring processes: T1 [2025-04-16T10:02:09.625Z] T1 JUnit version 4.12 [2025-04-16T10:02:09.625Z] T1 . [2025-04-16T10:02:10.094Z] T1 Time: 0.01 [2025-04-16T10:02:10.094Z] T1 [2025-04-16T10:02:10.094Z] T1 OK (1 test) [2025-04-16T10:02:10.094Z] T1 [2025-04-16T10:02:10.094Z] STF 03:02:09.621 - Monitoring Report Summary: [2025-04-16T10:02:10.094Z] STF 03:02:09.621 - o Process T1 ended with the expected exit code (0) [2025-04-16T10:02:10.094Z] STF 03:02:09.621 - [2025-04-16T10:02:10.094Z] STF 03:02:09.621 - +------ Step 2 - Run critical internal APIs test by accessing the critical exported APIs from a module [2025-04-16T10:02:10.094Z] STF 03:02:09.621 - | Run foreground process [2025-04-16T10:02:10.094Z] STF 03:02:09.621 - | Program: /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/java [2025-04-16T10:02:10.094Z] STF 03:02:09.621 - | Mnemonic: T2 [2025-04-16T10:02:10.094Z] STF 03:02:09.621 - | Echo: ECHO_ON [2025-04-16T10:02:10.094Z] STF 03:02:09.621 - | Expectation: CLEAN_RUN within 1m [2025-04-16T10:02:10.094Z] STF 03:02:09.621 - | [2025-04-16T10:02:10.094Z] STF 03:02:09.622 - Running command: /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/java --add-reads com.test=ALL-UNNAMED --module-path /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods:/Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests --add-modules=com.test -XX:-UseCompressedOops -classpath /Users/admin/workspace/testDependency/system_lib/junit/junit.jar:/Users/admin/workspace/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestJDKInternalAPIs [2025-04-16T10:02:10.094Z] STF 03:02:09.622 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17447969792315/InternalAPIs_1/20250416-030202-InternalAPIs/results/2.T2.stderr [2025-04-16T10:02:10.094Z] STF 03:02:09.622 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17447969792315/InternalAPIs_1/20250416-030202-InternalAPIs/results/2.T2.stdout [2025-04-16T10:02:10.094Z] STF 03:02:09.626 - Monitoring processes: T2 [2025-04-16T10:02:11.028Z] T2 JUnit version 4.12 [2025-04-16T10:02:11.440Z] T2 . [2025-04-16T10:02:11.440Z] T2 Time: 0.012 [2025-04-16T10:02:11.440Z] T2 [2025-04-16T10:02:11.440Z] T2 OK (1 test) [2025-04-16T10:02:11.440Z] T2 [2025-04-16T10:02:11.440Z] STF 03:02:11.155 - Monitoring Report Summary: [2025-04-16T10:02:11.440Z] STF 03:02:11.155 - o Process T2 ended with the expected exit code (0) [2025-04-16T10:02:11.440Z] STF 03:02:11.155 - [2025-04-16T10:02:11.440Z] STF 03:02:11.155 - +------ Step 3 - Create tests jar [2025-04-16T10:02:11.440Z] STF 03:02:11.155 - | Create modular jar [2025-04-16T10:02:11.440Z] STF 03:02:11.155 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2025-04-16T10:02:11.440Z] STF 03:02:11.155 - | ModuleVersion: null [2025-04-16T10:02:11.440Z] STF 03:02:11.155 - | MainClass: null [2025-04-16T10:02:11.440Z] STF 03:02:11.155 - | HashModules: null [2025-04-16T10:02:11.440Z] STF 03:02:11.155 - | [2025-04-16T10:02:11.440Z] STF 03:02:11.156 - Running command: /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17447969792315/InternalAPIs_1/20250416-030202-InternalAPIs/modules/3.com.test.jar -C /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test . [2025-04-16T10:02:11.440Z] STF 03:02:11.156 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17447969792315/InternalAPIs_1/20250416-030202-InternalAPIs/results/3.CMJ.stderr [2025-04-16T10:02:11.440Z] STF 03:02:11.156 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17447969792315/InternalAPIs_1/20250416-030202-InternalAPIs/results/3.CMJ.stdout [2025-04-16T10:02:11.440Z] STF 03:02:11.158 - Monitoring processes: CMJ [2025-04-16T10:02:11.859Z] STF 03:02:11.800 - Monitoring Report Summary: [2025-04-16T10:02:11.859Z] STF 03:02:11.800 - o Process CMJ ended with the expected exit code (0) [2025-04-16T10:02:11.859Z] STF 03:02:11.800 - Created modular jar: 3.com.test.jar [2025-04-16T10:02:11.859Z] STF 03:02:11.800 - [2025-04-16T10:02:11.859Z] STF 03:02:11.800 - +------ Step 4 - Run critical internal APIs test by accessing the critical exported APIs from a modular jar [2025-04-16T10:02:11.859Z] STF 03:02:11.800 - | Run foreground process [2025-04-16T10:02:11.859Z] STF 03:02:11.800 - | Program: /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/java [2025-04-16T10:02:11.859Z] STF 03:02:11.800 - | Mnemonic: T3 [2025-04-16T10:02:11.859Z] STF 03:02:11.800 - | Echo: ECHO_ON [2025-04-16T10:02:11.859Z] STF 03:02:11.800 - | Expectation: CLEAN_RUN within 1m [2025-04-16T10:02:11.859Z] STF 03:02:11.800 - | [2025-04-16T10:02:11.859Z] STF 03:02:11.801 - Running command: /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/java --add-reads com.test=ALL-UNNAMED --module-path /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17447969792315/InternalAPIs_1/20250416-030202-InternalAPIs/modules/3.com.test.jar:/Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods --add-modules=com.test -XX:-UseCompressedOops -classpath /Users/admin/workspace/testDependency/system_lib/junit/junit.jar:/Users/admin/workspace/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestJDKInternalAPIs [2025-04-16T10:02:11.859Z] STF 03:02:11.801 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17447969792315/InternalAPIs_1/20250416-030202-InternalAPIs/results/4.T3.stderr [2025-04-16T10:02:11.859Z] STF 03:02:11.801 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17447969792315/InternalAPIs_1/20250416-030202-InternalAPIs/results/4.T3.stdout [2025-04-16T10:02:12.345Z] STF 03:02:11.803 - Monitoring processes: T3 [2025-04-16T10:02:12.874Z] T3 JUnit version 4.12 [2025-04-16T10:02:13.610Z] T3 . [2025-04-16T10:02:13.610Z] T3 Time: 0.137 [2025-04-16T10:02:13.610Z] T3 [2025-04-16T10:02:13.610Z] T3 OK (1 test) [2025-04-16T10:02:13.610Z] T3 [2025-04-16T10:02:14.087Z] STF 03:02:13.683 - Monitoring Report Summary: [2025-04-16T10:02:14.087Z] STF 03:02:13.683 - o Process T3 ended with the expected exit code (0) [2025-04-16T10:02:14.087Z] STF 03:02:13.685 - [2025-04-16T10:02:14.087Z] STF 03:02:13.685 - +------ Step 5 - create comTest.jar [2025-04-16T10:02:14.087Z] STF 03:02:13.685 - | Create project jar [2025-04-16T10:02:14.087Z] STF 03:02:13.685 - | ProjectSpec: openjdk.test.modularity/bin/tests/com.test [2025-04-16T10:02:14.087Z] STF 03:02:13.688 - | ArchiveSpec: ["net"] [2025-04-16T10:02:14.087Z] STF 03:02:13.688 - | [2025-04-16T10:02:14.087Z] STF 03:02:13.690 - Running command: /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17447969792315/InternalAPIs_1/20250416-030202-InternalAPIs/tmp/com.test.jar -C /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test net [2025-04-16T10:02:14.087Z] STF 03:02:13.690 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17447969792315/InternalAPIs_1/20250416-030202-InternalAPIs/results/5.JAR.stderr [2025-04-16T10:02:14.087Z] STF 03:02:13.690 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17447969792315/InternalAPIs_1/20250416-030202-InternalAPIs/results/5.JAR.stdout [2025-04-16T10:02:14.087Z] STF 03:02:13.710 - Monitoring processes: JAR [2025-04-16T10:02:14.491Z] STF 03:02:14.348 - Monitoring Report Summary: [2025-04-16T10:02:14.491Z] STF 03:02:14.348 - o Process JAR ended with the expected exit code (0) [2025-04-16T10:02:14.491Z] STF 03:02:14.348 - Created project jar: com.test.jar [2025-04-16T10:02:14.491Z] STF 03:02:14.348 - [2025-04-16T10:02:14.491Z] STF 03:02:14.348 - +------ Step 6 - Run critical internal APIs test by accessing the critical exported APIs from an automatic module [2025-04-16T10:02:14.491Z] STF 03:02:14.348 - | Run foreground process [2025-04-16T10:02:14.491Z] STF 03:02:14.348 - | Program: /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/java [2025-04-16T10:02:14.491Z] STF 03:02:14.348 - | Mnemonic: T4 [2025-04-16T10:02:14.491Z] STF 03:02:14.348 - | Echo: ECHO_ON [2025-04-16T10:02:14.491Z] STF 03:02:14.348 - | Expectation: CLEAN_RUN within 1m [2025-04-16T10:02:14.491Z] STF 03:02:14.348 - | [2025-04-16T10:02:14.491Z] STF 03:02:14.349 - Running command: /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/java --module-path /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17447969792315/InternalAPIs_1/20250416-030202-InternalAPIs/tmp/com.test.jar:/Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods --add-modules=com.test -XX:-UseCompressedOops -classpath /Users/admin/workspace/testDependency/system_lib/junit/junit.jar:/Users/admin/workspace/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestJDKInternalAPIs [2025-04-16T10:02:14.492Z] STF 03:02:14.349 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17447969792315/InternalAPIs_1/20250416-030202-InternalAPIs/results/6.T4.stderr [2025-04-16T10:02:14.492Z] STF 03:02:14.349 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/output_17447969792315/InternalAPIs_1/20250416-030202-InternalAPIs/results/6.T4.stdout [2025-04-16T10:02:14.492Z] STF 03:02:14.351 - Monitoring processes: T4 [2025-04-16T10:02:15.388Z] T4 JUnit version 4.12 [2025-04-16T10:02:15.388Z] T4 . [2025-04-16T10:02:15.388Z] T4 Time: 0.004 [2025-04-16T10:02:15.388Z] T4 [2025-04-16T10:02:15.388Z] T4 OK (1 test) [2025-04-16T10:02:15.388Z] T4 [2025-04-16T10:02:15.388Z] STF 03:02:15.201 - Monitoring Report Summary: [2025-04-16T10:02:15.388Z] STF 03:02:15.201 - o Process T4 ended with the expected exit code (0) [2025-04-16T10:02:15.388Z] STF 03:02:15.201 - EXECUTE stage completed [2025-04-16T10:02:15.388Z] STF 03:02:15.251 - [2025-04-16T10:02:15.388Z] STF 03:02:15.251 - ==================== T E A R D O W N ==================== [2025-04-16T10:02:15.388Z] STF 03:02:15.251 - Running teardown: perl /Users/admin/workspace/workspace/Test_openjdk11_hs_sanity.system_x86-64_mac_testList_1/aqa-tests/TKG/../TKG/output_17447969792315/InternalAPIs_1/20250416-030202-InternalAPIs/tearDown.pl [2025-04-16T10:02:15.976Z] STF 03:02:15.523 - TEARDOWN stage completed [2025-04-16T10:02:15.976Z] STF 03:02:15.591 - [2025-04-16T10:02:15.976Z] STF 03:02:15.592 - ===================== R E S U L T S ===================== [2025-04-16T10:02:15.976Z] STF 03:02:15.592 - Stage results: [2025-04-16T10:02:15.976Z] STF 03:02:15.593 - setUp: pass [2025-04-16T10:02:15.976Z] STF 03:02:15.593 - execute: pass [2025-04-16T10:02:15.976Z] STF 03:02:15.593 - teardown: pass [2025-04-16T10:02:15.976Z] STF 03:02:15.593 - [2025-04-16T10:02:15.977Z] STF 03:02:15.593 - Overall result: PASSED [2025-04-16T10:02:15.977Z] ----------------------------------- [2025-04-16T10:02:15.977Z] InternalAPIs_1_PASSED [2025-04-16T10:02:15.977Z] ----------------------------------- [2025-04-16T10:02:16.621Z] [2025-04-16T10:02:16.621Z] TEST TEARDOWN: [2025-04-16T10:02:16.621Z] Nothing to be done for teardown. [2025-04-16T10:02:17.156Z] InternalAPIs_1 Finish Time: Wed Apr 16 03:02:16 2025 Epoch Time (ms): 1744797736897