InternalAPIs_0

[2024-12-04T23:51:43.543Z] Running test InternalAPIs_0 ... [2024-12-04T23:51:43.543Z] =============================================== [2024-12-04T23:51:43.543Z] InternalAPIs_0 Start Time: Wed Dec 4 15:51:43 2024 Epoch Time (ms): 1733356303144 [2024-12-04T23:51:43.543Z] variation: Mode150 [2024-12-04T23:51:43.543Z] JVM_OPTIONS: -XX:+UseCompressedOops [2024-12-04T23:51:43.543Z] { \ [2024-12-04T23:51:43.543Z] echo ""; echo "TEST SETUP:"; \ [2024-12-04T23:51:43.543Z] echo "Nothing to be done for setup."; \ [2024-12-04T23:51:43.543Z] mkdir -p "/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17333554877285/InternalAPIs_0"; \ [2024-12-04T23:51:43.543Z] cd "/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17333554877285/InternalAPIs_0"; \ [2024-12-04T23:51:43.543Z] echo ""; echo "TESTING:"; \ [2024-12-04T23:51:43.543Z] perl /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF/stf.core/scripts/stf.pl -test-root="/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF;/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../../jvmtest/system/modularity/..//aqa-systemtest""" -systemtest-prereqs="/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/../../testDependency/system_lib/" -java-args=' -XX:+UseCompressedOops ' -results-root="/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17333554877285/InternalAPIs_0" -test=InternalAPIs; \ [2024-12-04T23:51:43.543Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "InternalAPIs_0""_PASSED"; echo "-----------------------------------"; cd /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/..; rm -f -r "/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17333554877285/InternalAPIs_0"; else echo "-----------------------------------"; echo "InternalAPIs_0""_FAILED"; echo "-----------------------------------"; fi; \ [2024-12-04T23:51:43.543Z] echo ""; echo "TEST TEARDOWN:"; \ [2024-12-04T23:51:43.543Z] echo "Nothing to be done for teardown."; \ [2024-12-04T23:51:43.543Z] } 2>&1 | tee -a "/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17333554877285/TestTargetResult"; [2024-12-04T23:51:43.543Z] [2024-12-04T23:51:43.543Z] TEST SETUP: [2024-12-04T23:51:43.543Z] Nothing to be done for setup. [2024-12-04T23:51:43.543Z] [2024-12-04T23:51:43.543Z] TESTING: [2024-12-04T23:51:43.959Z] STF 15:51:43.467 - ========================= S T F ========================= [2024-12-04T23:51:43.959Z] 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_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17333554877285/InternalAPIs_0 [2024-12-04T23:51:43.959Z] There is 11020 Mb free [2024-12-04T23:51:43.959Z] STF 15:51:43.480 - ================== G E N E R A T I O N ================== [2024-12-04T23:51:43.959Z] STF 15:51:43.482 - Checking JVM: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/../ [2024-12-04T23:51:43.959Z] STF 15:51:43.482 - Starting process to generate scripts: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/..//bin/java -Dlog4j.skipJansi=true -Djava.system.class.loader=net.adoptopenjdk.stf.runner.StfClassLoader -classpath /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/../../testDependency/system_lib//log4j/log4j-api.jar:/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/../../testDependency/system_lib//log4j/log4j-core.jar:/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17333554877285/InternalAPIs_0/20241204-155143-InternalAPIs/stf_parameters.properties, , /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17333554877285/InternalAPIs_0/20241204-155143-InternalAPIs" [2024-12-04T23:51:43.959Z] GEN stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-12-04T23:51:47.091Z] GEN 15:51:46.866 - Found test. Project: 'openjdk.test.modularity' class: 'InternalAPIs.class' Dir: '/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin' [2024-12-04T23:51:47.091Z] GEN 15:51:46.918 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.InternalAPIs' [2024-12-04T23:51:48.730Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2024-12-04T23:51:48.730Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayService [2024-12-04T23:51:48.730Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper [2024-12-04T23:51:48.730Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl1 [2024-12-04T23:51:48.730Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet [2024-12-04T23:51:48.730Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello [2024-12-04T23:51:48.730Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola [2024-12-04T23:51:48.730Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl2 [2024-12-04T23:51:48.730Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hi [2024-12-04T23:51:48.730Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override [2024-12-04T23:51:48.730Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override-new [2024-12-04T23:51:48.730Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl3 [2024-12-04T23:51:48.730Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl4 [2024-12-04T23:51:48.730Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common [2024-12-04T23:51:48.730Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests [2024-12-04T23:51:48.730Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin [2024-12-04T23:51:48.730Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/STF/stf.core/bin [2024-12-04T23:51:48.730Z] GEN /Users/admin/workspace/testDependency/system_lib/log4j/log4j-api.jar [2024-12-04T23:51:48.730Z] GEN /Users/admin/workspace/testDependency/system_lib/log4j/log4j-core.jar [2024-12-04T23:51:48.730Z] GEN /Users/admin/workspace/testDependency/system_lib/junit/junit.jar [2024-12-04T23:51:49.152Z] GEN 15:51:48.648 - Using Mode NoOptions. Values = '' [2024-12-04T23:51:49.152Z] GEN 15:51:48.786 - [2024-12-04T23:51:49.152Z] GEN 15:51:48.786 - Test command summary: [2024-12-04T23:51:49.152Z] GEN 15:51:48.786 - Step Stage Command Description [2024-12-04T23:51:49.152Z] GEN 15:51:48.787 - -----+--------+-----------------+------------ [2024-12-04T23:51:49.152Z] GEN 15:51:48.787 - 1 execute Run java Run critical internal APIs test by accessing the critical exported APIs from an unnamed module or classpath [2024-12-04T23:51:49.152Z] GEN 15:51:48.787 - 2 execute Run java Run critical internal APIs test by accessing the critical exported APIs from a module [2024-12-04T23:51:49.152Z] GEN 15:51:48.787 - 3 execute jar Create tests jar [2024-12-04T23:51:49.152Z] GEN 15:51:48.787 - 4 execute Run java Run critical internal APIs test by accessing the critical exported APIs from a modular jar [2024-12-04T23:51:49.152Z] GEN 15:51:48.787 - 5 execute jar create comTest.jar [2024-12-04T23:51:49.152Z] GEN 15:51:48.787 - 6 execute Run java Run critical internal APIs test by accessing the critical exported APIs from an automatic module [2024-12-04T23:51:49.152Z] STF 15:51:48.891 - [2024-12-04T23:51:49.152Z] STF 15:51:48.891 - Script generation completed [2024-12-04T23:51:49.152Z] STF 15:51:48.891 - [2024-12-04T23:51:49.152Z] STF 15:51:48.891 - [2024-12-04T23:51:49.152Z] STF 15:51:48.891 - ======================= S E T U P ======================= [2024-12-04T23:51:49.152Z] STF 15:51:48.891 - Running setup: perl /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17333554877285/InternalAPIs_0/20241204-155143-InternalAPIs/setUp.pl [2024-12-04T23:51:49.585Z] STF 15:51:49.122 - SETUP stage completed [2024-12-04T23:51:49.585Z] STF 15:51:49.134 - [2024-12-04T23:51:49.585Z] STF 15:51:49.134 - ==================== E X E C U T E - ==================== [2024-12-04T23:51:49.585Z] STF 15:51:49.134 - Running execute: perl /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17333554877285/InternalAPIs_0/20241204-155143-InternalAPIs/execute.pl [2024-12-04T23:51:50.088Z] STF 15:51:49.601 - [2024-12-04T23:51:50.088Z] STF 15:51:49.601 - Java version [2024-12-04T23:51:50.088Z] STF 15:51:49.601 - Running: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/java -version [2024-12-04T23:51:50.088Z] Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-12-04T23:51:50.088Z] openjdk version "21.0.6-beta" 2025-01-21 [2024-12-04T23:51:50.088Z] OpenJDK Runtime Environment Temurin-21.0.6+6-202412042004 (build 21.0.6-beta+6-ea) [2024-12-04T23:51:50.088Z] OpenJDK 64-Bit Server VM Temurin-21.0.6+6-202412042004 (build 21.0.6-beta+6-ea, mixed mode) [2024-12-04T23:51:50.088Z] STF 15:51:49.828 - [2024-12-04T23:51:50.088Z] STF 15:51:49.829 - +------ Step 1 - Run critical internal APIs test by accessing the critical exported APIs from an unnamed module or classpath [2024-12-04T23:51:50.088Z] STF 15:51:49.829 - | Run foreground process [2024-12-04T23:51:50.088Z] STF 15:51:49.829 - | Program: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/java [2024-12-04T23:51:50.088Z] STF 15:51:49.829 - | Mnemonic: T1 [2024-12-04T23:51:50.088Z] STF 15:51:49.829 - | Echo: ECHO_ON [2024-12-04T23:51:50.088Z] STF 15:51:49.829 - | Expectation: CLEAN_RUN within 1m [2024-12-04T23:51:50.088Z] STF 15:51:49.829 - | [2024-12-04T23:51:50.089Z] STF 15:51:49.830 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/java -XX:+UseCompressedOops -classpath /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/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 [2024-12-04T23:51:50.089Z] STF 15:51:49.830 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17333554877285/InternalAPIs_0/20241204-155143-InternalAPIs/results/1.T1.stderr [2024-12-04T23:51:50.089Z] STF 15:51:49.830 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17333554877285/InternalAPIs_0/20241204-155143-InternalAPIs/results/1.T1.stdout [2024-12-04T23:51:50.089Z] STF 15:51:49.901 - Monitoring processes: T1 [2024-12-04T23:51:50.526Z] T1 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-12-04T23:51:50.526Z] T1 JUnit version 4.12 [2024-12-04T23:51:51.087Z] T1 . [2024-12-04T23:51:51.087Z] T1 Time: 0.03 [2024-12-04T23:51:51.087Z] T1 [2024-12-04T23:51:51.087Z] T1 OK (1 test) [2024-12-04T23:51:51.087Z] T1 [2024-12-04T23:51:51.720Z] STF 15:51:50.934 - Monitoring Report Summary: [2024-12-04T23:51:51.720Z] STF 15:51:51.113 - o Process T1 ended with the expected exit code (0) [2024-12-04T23:51:51.720Z] STF 15:51:51.139 - [2024-12-04T23:51:51.720Z] STF 15:51:51.139 - +------ Step 2 - Run critical internal APIs test by accessing the critical exported APIs from a module [2024-12-04T23:51:51.720Z] STF 15:51:51.139 - | Run foreground process [2024-12-04T23:51:51.720Z] STF 15:51:51.140 - | Program: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/java [2024-12-04T23:51:51.720Z] STF 15:51:51.140 - | Mnemonic: T2 [2024-12-04T23:51:51.720Z] STF 15:51:51.140 - | Echo: ECHO_ON [2024-12-04T23:51:51.720Z] STF 15:51:51.140 - | Expectation: CLEAN_RUN within 1m [2024-12-04T23:51:51.720Z] STF 15:51:51.140 - | [2024-12-04T23:51:51.720Z] STF 15:51:51.142 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/java --add-reads com.test=ALL-UNNAMED --module-path /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods:/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/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 [2024-12-04T23:51:51.720Z] STF 15:51:51.142 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17333554877285/InternalAPIs_0/20241204-155143-InternalAPIs/results/2.T2.stderr [2024-12-04T23:51:51.720Z] STF 15:51:51.142 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17333554877285/InternalAPIs_0/20241204-155143-InternalAPIs/results/2.T2.stdout [2024-12-04T23:51:51.720Z] STF 15:51:51.163 - Monitoring processes: T2 [2024-12-04T23:51:52.169Z] T2 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-12-04T23:51:53.197Z] T2 JUnit version 4.12 [2024-12-04T23:51:53.197Z] T2 . [2024-12-04T23:51:53.197Z] T2 Time: 0.005 [2024-12-04T23:51:53.197Z] T2 [2024-12-04T23:51:53.197Z] T2 OK (1 test) [2024-12-04T23:51:53.197Z] T2 [2024-12-04T23:51:53.197Z] STF 15:51:52.818 - Monitoring Report Summary: [2024-12-04T23:51:53.197Z] STF 15:51:52.818 - o Process T2 ended with the expected exit code (0) [2024-12-04T23:51:53.197Z] STF 15:51:52.819 - [2024-12-04T23:51:53.197Z] STF 15:51:52.819 - +------ Step 3 - Create tests jar [2024-12-04T23:51:53.197Z] STF 15:51:52.819 - | Create modular jar [2024-12-04T23:51:53.197Z] STF 15:51:52.819 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2024-12-04T23:51:53.197Z] STF 15:51:52.819 - | ModuleVersion: null [2024-12-04T23:51:53.197Z] STF 15:51:52.819 - | MainClass: null [2024-12-04T23:51:53.197Z] STF 15:51:52.819 - | HashModules: null [2024-12-04T23:51:53.197Z] STF 15:51:52.819 - | [2024-12-04T23:51:53.197Z] STF 15:51:52.819 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17333554877285/InternalAPIs_0/20241204-155143-InternalAPIs/modules/3.com.test.jar -C /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test . [2024-12-04T23:51:53.197Z] STF 15:51:52.819 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17333554877285/InternalAPIs_0/20241204-155143-InternalAPIs/results/3.CMJ.stderr [2024-12-04T23:51:53.197Z] STF 15:51:52.819 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17333554877285/InternalAPIs_0/20241204-155143-InternalAPIs/results/3.CMJ.stdout [2024-12-04T23:51:53.197Z] STF 15:51:52.826 - Monitoring processes: CMJ [2024-12-04T23:51:53.198Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-12-04T23:51:54.228Z] STF 15:51:53.537 - Monitoring Report Summary: [2024-12-04T23:51:54.228Z] STF 15:51:53.537 - o Process CMJ ended with the expected exit code (0) [2024-12-04T23:51:54.228Z] STF 15:51:53.538 - Created modular jar: 3.com.test.jar [2024-12-04T23:51:54.228Z] STF 15:51:53.538 - [2024-12-04T23:51:54.228Z] STF 15:51:53.538 - +------ Step 4 - Run critical internal APIs test by accessing the critical exported APIs from a modular jar [2024-12-04T23:51:54.228Z] STF 15:51:53.538 - | Run foreground process [2024-12-04T23:51:54.228Z] STF 15:51:53.538 - | Program: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/java [2024-12-04T23:51:54.228Z] STF 15:51:53.538 - | Mnemonic: T3 [2024-12-04T23:51:54.228Z] STF 15:51:53.538 - | Echo: ECHO_ON [2024-12-04T23:51:54.228Z] STF 15:51:53.538 - | Expectation: CLEAN_RUN within 1m [2024-12-04T23:51:54.228Z] STF 15:51:53.538 - | [2024-12-04T23:51:54.228Z] STF 15:51:53.538 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/java --add-reads com.test=ALL-UNNAMED --module-path /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17333554877285/InternalAPIs_0/20241204-155143-InternalAPIs/modules/3.com.test.jar:/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/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 [2024-12-04T23:51:54.228Z] STF 15:51:53.538 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17333554877285/InternalAPIs_0/20241204-155143-InternalAPIs/results/4.T3.stderr [2024-12-04T23:51:54.228Z] STF 15:51:53.538 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17333554877285/InternalAPIs_0/20241204-155143-InternalAPIs/results/4.T3.stdout [2024-12-04T23:51:54.228Z] STF 15:51:53.540 - Monitoring processes: T3 [2024-12-04T23:51:54.228Z] T3 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-12-04T23:51:55.779Z] T3 JUnit version 4.12 [2024-12-04T23:51:55.779Z] T3 . [2024-12-04T23:51:55.779Z] T3 Time: 0.004 [2024-12-04T23:51:55.779Z] T3 [2024-12-04T23:51:55.779Z] T3 OK (1 test) [2024-12-04T23:51:55.779Z] T3 [2024-12-04T23:51:55.779Z] STF 15:51:55.389 - Monitoring Report Summary: [2024-12-04T23:51:55.779Z] STF 15:51:55.389 - o Process T3 ended with the expected exit code (0) [2024-12-04T23:51:55.779Z] STF 15:51:55.390 - [2024-12-04T23:51:55.779Z] STF 15:51:55.390 - +------ Step 5 - create comTest.jar [2024-12-04T23:51:55.779Z] STF 15:51:55.390 - | Create project jar [2024-12-04T23:51:55.779Z] STF 15:51:55.390 - | ProjectSpec: openjdk.test.modularity/bin/tests/com.test [2024-12-04T23:51:55.779Z] STF 15:51:55.390 - | ArchiveSpec: ["net"] [2024-12-04T23:51:55.780Z] STF 15:51:55.390 - | [2024-12-04T23:51:55.780Z] STF 15:51:55.390 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17333554877285/InternalAPIs_0/20241204-155143-InternalAPIs/tmp/com.test.jar -C /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test net [2024-12-04T23:51:55.780Z] STF 15:51:55.390 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17333554877285/InternalAPIs_0/20241204-155143-InternalAPIs/results/5.JAR.stderr [2024-12-04T23:51:55.780Z] STF 15:51:55.390 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17333554877285/InternalAPIs_0/20241204-155143-InternalAPIs/results/5.JAR.stdout [2024-12-04T23:51:55.780Z] STF 15:51:55.392 - Monitoring processes: JAR [2024-12-04T23:51:55.780Z] JAR stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-12-04T23:51:56.681Z] STF 15:51:56.116 - Monitoring Report Summary: [2024-12-04T23:51:56.682Z] STF 15:51:56.116 - o Process JAR ended with the expected exit code (0) [2024-12-04T23:51:56.682Z] STF 15:51:56.117 - Created project jar: com.test.jar [2024-12-04T23:51:56.682Z] STF 15:51:56.117 - [2024-12-04T23:51:56.682Z] STF 15:51:56.117 - +------ Step 6 - Run critical internal APIs test by accessing the critical exported APIs from an automatic module [2024-12-04T23:51:56.682Z] STF 15:51:56.117 - | Run foreground process [2024-12-04T23:51:56.682Z] STF 15:51:56.117 - | Program: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/java [2024-12-04T23:51:56.682Z] STF 15:51:56.117 - | Mnemonic: T4 [2024-12-04T23:51:56.682Z] STF 15:51:56.117 - | Echo: ECHO_ON [2024-12-04T23:51:56.682Z] STF 15:51:56.117 - | Expectation: CLEAN_RUN within 1m [2024-12-04T23:51:56.682Z] STF 15:51:56.117 - | [2024-12-04T23:51:56.682Z] STF 15:51:56.117 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/jdkbinary/j2sdk-image/Contents/Home/bin/java --module-path /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17333554877285/InternalAPIs_0/20241204-155143-InternalAPIs/tmp/com.test.jar:/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/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 [2024-12-04T23:51:56.682Z] STF 15:51:56.117 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17333554877285/InternalAPIs_0/20241204-155143-InternalAPIs/results/6.T4.stderr [2024-12-04T23:51:56.682Z] STF 15:51:56.117 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/output_17333554877285/InternalAPIs_0/20241204-155143-InternalAPIs/results/6.T4.stdout [2024-12-04T23:51:56.682Z] STF 15:51:56.120 - Monitoring processes: T4 [2024-12-04T23:51:56.682Z] T4 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-12-04T23:51:57.128Z] T4 JUnit version 4.12 [2024-12-04T23:51:57.128Z] T4 . [2024-12-04T23:51:57.128Z] T4 Time: 0.004 [2024-12-04T23:51:57.128Z] T4 [2024-12-04T23:51:57.128Z] T4 OK (1 test) [2024-12-04T23:51:57.128Z] T4 [2024-12-04T23:51:57.532Z] STF 15:51:56.961 - Monitoring Report Summary: [2024-12-04T23:51:57.532Z] STF 15:51:56.962 - o Process T4 ended with the expected exit code (0) [2024-12-04T23:51:57.532Z] STF 15:51:56.962 - EXECUTE stage completed [2024-12-04T23:51:57.532Z] STF 15:51:57.025 - [2024-12-04T23:51:57.532Z] STF 15:51:57.025 - ==================== T E A R D O W N ==================== [2024-12-04T23:51:57.532Z] STF 15:51:57.025 - Running teardown: perl /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_mac_testList_2/aqa-tests/TKG/../TKG/output_17333554877285/InternalAPIs_0/20241204-155143-InternalAPIs/tearDown.pl [2024-12-04T23:51:57.532Z] STF 15:51:57.218 - TEARDOWN stage completed [2024-12-04T23:51:57.532Z] STF 15:51:57.244 - [2024-12-04T23:51:57.532Z] STF 15:51:57.245 - ===================== R E S U L T S ===================== [2024-12-04T23:51:57.532Z] STF 15:51:57.245 - Stage results: [2024-12-04T23:51:57.532Z] STF 15:51:57.245 - setUp: pass [2024-12-04T23:51:57.532Z] STF 15:51:57.245 - execute: pass [2024-12-04T23:51:57.532Z] STF 15:51:57.245 - teardown: pass [2024-12-04T23:51:57.532Z] STF 15:51:57.245 - [2024-12-04T23:51:57.532Z] STF 15:51:57.245 - Overall result: PASSED [2024-12-04T23:51:57.532Z] ----------------------------------- [2024-12-04T23:51:57.532Z] InternalAPIs_0_PASSED [2024-12-04T23:51:57.532Z] ----------------------------------- [2024-12-04T23:51:57.532Z] [2024-12-04T23:51:57.532Z] TEST TEARDOWN: [2024-12-04T23:51:57.532Z] Nothing to be done for teardown. [2024-12-04T23:51:57.532Z] InternalAPIs_0 Finish Time: Wed Dec 4 15:51:57 2024 Epoch Time (ms): 1733356317332