InternalAPIs_1

[2024-08-09T20:39:44.467Z] Running test InternalAPIs_1 ... [2024-08-09T20:39:44.467Z] =============================================== [2024-08-09T20:39:44.467Z] InternalAPIs_1 Start Time: Fri Aug 9 16:39:44 2024 Epoch Time (ms): 1723235984422 [2024-08-09T20:39:44.467Z] variation: Mode650 [2024-08-09T20:39:44.467Z] JVM_OPTIONS: -XX:-UseCompressedOops [2024-08-09T20:39:44.467Z] { \ [2024-08-09T20:39:44.467Z] echo ""; echo "TEST SETUP:"; \ [2024-08-09T20:39:44.467Z] echo "Nothing to be done for setup."; \ [2024-08-09T20:39:44.467Z] mkdir -p "/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17232335276644/InternalAPIs_1"; \ [2024-08-09T20:39:44.467Z] cd "/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17232335276644/InternalAPIs_1"; \ [2024-08-09T20:39:44.467Z] echo ""; echo "TESTING:"; \ [2024-08-09T20:39:44.467Z] perl /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF/stf.core/scripts/stf.pl -test-root="/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../../jvmtest/system/modularity/..//STF;/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../../jvmtest/system/modularity/..//aqa-systemtest""" -systemtest-prereqs="/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/../../testDependency/system_lib/" -java-args=' -XX:-UseCompressedOops ' -results-root="/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17232335276644/InternalAPIs_1" -test=InternalAPIs; \ [2024-08-09T20:39:44.467Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "InternalAPIs_1""_PASSED"; echo "-----------------------------------"; cd /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/..; rm -f -r "/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17232335276644/InternalAPIs_1"; else echo "-----------------------------------"; echo "InternalAPIs_1""_FAILED"; echo "-----------------------------------"; fi; \ [2024-08-09T20:39:44.467Z] echo ""; echo "TEST TEARDOWN:"; \ [2024-08-09T20:39:44.467Z] echo "Nothing to be done for teardown."; \ [2024-08-09T20:39:44.467Z] } 2>&1 | tee -a "/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17232335276644/TestTargetResult"; [2024-08-09T20:39:44.467Z] [2024-08-09T20:39:44.467Z] TEST SETUP: [2024-08-09T20:39:44.467Z] Nothing to be done for setup. [2024-08-09T20:39:44.467Z] [2024-08-09T20:39:44.467Z] TESTING: [2024-08-09T20:39:44.819Z] STF 16:39:44.465 - ========================= S T F ========================= [2024-08-09T20:39:44.819Z] 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_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17232335276644/InternalAPIs_1 [2024-08-09T20:39:44.819Z] There is 28389 Mb free [2024-08-09T20:39:44.819Z] STF 16:39:44.469 - ================== G E N E R A T I O N ================== [2024-08-09T20:39:44.819Z] STF 16:39:44.470 - Checking JVM: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/../ [2024-08-09T20:39:44.819Z] STF 16:39:44.470 - Starting process to generate scripts: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/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_aarch64_mac_testList_1/../../testDependency/system_lib//log4j/log4j-api.jar:/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/../../testDependency/system_lib//log4j/log4j-core.jar:/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17232335276644/InternalAPIs_1/20240809-163944-InternalAPIs/stf_parameters.properties, , /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17232335276644/InternalAPIs_1/20240809-163944-InternalAPIs" [2024-08-09T20:39:44.819Z] GEN stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-08-09T20:39:45.170Z] GEN 16:39:44.971 - Found test. Project: 'openjdk.test.modularity' class: 'InternalAPIs.class' Dir: '/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin' [2024-08-09T20:39:45.171Z] GEN 16:39:44.988 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.InternalAPIs' [2024-08-09T20:39:45.171Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2024-08-09T20:39:45.171Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayService [2024-08-09T20:39:45.171Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.helper [2024-08-09T20:39:45.171Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl1 [2024-08-09T20:39:45.171Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.discreet [2024-08-09T20:39:45.171Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hello [2024-08-09T20:39:45.171Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hola [2024-08-09T20:39:45.171Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/displayServiceImpl2 [2024-08-09T20:39:45.171Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods/com.hi [2024-08-09T20:39:45.171Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override [2024-08-09T20:39:45.171Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-override-new [2024-08-09T20:39:45.171Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl3 [2024-08-09T20:39:45.171Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common/displayServiceImpl4 [2024-08-09T20:39:45.171Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common [2024-08-09T20:39:45.171Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests [2024-08-09T20:39:45.171Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin [2024-08-09T20:39:45.171Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/STF/stf.core/bin [2024-08-09T20:39:45.171Z] GEN /Users/admin/workspace/testDependency/system_lib/log4j/log4j-api.jar [2024-08-09T20:39:45.171Z] GEN /Users/admin/workspace/testDependency/system_lib/log4j/log4j-core.jar [2024-08-09T20:39:45.171Z] GEN /Users/admin/workspace/testDependency/system_lib/junit/junit.jar [2024-08-09T20:39:45.171Z] GEN 16:39:45.083 - Using Mode NoOptions. Values = '' [2024-08-09T20:39:45.171Z] GEN 16:39:45.114 - [2024-08-09T20:39:45.171Z] GEN 16:39:45.115 - Test command summary: [2024-08-09T20:39:45.171Z] GEN 16:39:45.115 - Step Stage Command Description [2024-08-09T20:39:45.171Z] GEN 16:39:45.115 - -----+--------+-----------------+------------ [2024-08-09T20:39:45.171Z] GEN 16:39:45.115 - 1 execute Run java Run critical internal APIs test by accessing the critical exported APIs from an unnamed module or classpath [2024-08-09T20:39:45.171Z] GEN 16:39:45.115 - 2 execute Run java Run critical internal APIs test by accessing the critical exported APIs from a module [2024-08-09T20:39:45.171Z] GEN 16:39:45.115 - 3 execute jar Create tests jar [2024-08-09T20:39:45.171Z] GEN 16:39:45.115 - 4 execute Run java Run critical internal APIs test by accessing the critical exported APIs from a modular jar [2024-08-09T20:39:45.171Z] GEN 16:39:45.115 - 5 execute jar create comTest.jar [2024-08-09T20:39:45.171Z] GEN 16:39:45.115 - 6 execute Run java Run critical internal APIs test by accessing the critical exported APIs from an automatic module [2024-08-09T20:39:45.171Z] STF 16:39:45.143 - [2024-08-09T20:39:45.171Z] STF 16:39:45.143 - Script generation completed [2024-08-09T20:39:45.171Z] STF 16:39:45.143 - [2024-08-09T20:39:45.171Z] STF 16:39:45.143 - [2024-08-09T20:39:45.171Z] STF 16:39:45.143 - ======================= S E T U P ======================= [2024-08-09T20:39:45.171Z] STF 16:39:45.143 - Running setup: perl /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17232335276644/InternalAPIs_1/20240809-163944-InternalAPIs/setUp.pl [2024-08-09T20:39:45.521Z] STF 16:39:45.174 - SETUP stage completed [2024-08-09T20:39:45.521Z] STF 16:39:45.178 - [2024-08-09T20:39:45.521Z] STF 16:39:45.178 - ==================== E X E C U T E - ==================== [2024-08-09T20:39:45.521Z] STF 16:39:45.178 - Running execute: perl /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17232335276644/InternalAPIs_1/20240809-163944-InternalAPIs/execute.pl [2024-08-09T20:39:45.521Z] STF 16:39:45.208 - [2024-08-09T20:39:45.521Z] STF 16:39:45.208 - Java version [2024-08-09T20:39:45.521Z] STF 16:39:45.208 - Running: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/java -version [2024-08-09T20:39:45.521Z] Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-08-09T20:39:45.521Z] STF 16:39:45.263 - [2024-08-09T20:39:45.521Z] STF 16:39:45.263 - +------ Step 1 - Run critical internal APIs test by accessing the critical exported APIs from an unnamed module or classpath [2024-08-09T20:39:45.521Z] STF 16:39:45.263 - | Run foreground process [2024-08-09T20:39:45.521Z] STF 16:39:45.263 - | Program: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/java [2024-08-09T20:39:45.521Z] STF 16:39:45.263 - | Mnemonic: T1 [2024-08-09T20:39:45.521Z] STF 16:39:45.263 - | Echo: ECHO_ON [2024-08-09T20:39:45.521Z] STF 16:39:45.263 - | Expectation: CLEAN_RUN within 1m [2024-08-09T20:39:45.521Z] STF 16:39:45.263 - | [2024-08-09T20:39:45.521Z] STF 16:39:45.264 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/java -XX:-UseCompressedOops -classpath /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_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 [2024-08-09T20:39:45.521Z] STF 16:39:45.264 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17232335276644/InternalAPIs_1/20240809-163944-InternalAPIs/results/1.T1.stderr [2024-08-09T20:39:45.521Z] STF 16:39:45.264 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17232335276644/InternalAPIs_1/20240809-163944-InternalAPIs/results/1.T1.stdout [2024-08-09T20:39:45.521Z] openjdk version "21.0.5-beta" 2024-10-15 [2024-08-09T20:39:45.521Z] OpenJDK Runtime Environment Temurin-21.0.5+2-202408091904 (build 21.0.5-beta+2-ea) [2024-08-09T20:39:45.521Z] OpenJDK 64-Bit Server VM Temurin-21.0.5+2-202408091904 (build 21.0.5-beta+2-ea, mixed mode) [2024-08-09T20:39:45.521Z] STF 16:39:45.269 - Monitoring processes: T1 [2024-08-09T20:39:45.521Z] T1 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-08-09T20:39:45.521Z] T1 JUnit version 4.12 [2024-08-09T20:39:45.521Z] T1 . [2024-08-09T20:39:45.521Z] T1 Time: 0.003 [2024-08-09T20:39:45.521Z] T1 [2024-08-09T20:39:45.521Z] T1 OK (1 test) [2024-08-09T20:39:45.521Z] T1 [2024-08-09T20:39:45.521Z] STF 16:39:45.417 - Monitoring Report Summary: [2024-08-09T20:39:45.521Z] STF 16:39:45.417 - o Process T1 ended with the expected exit code (0) [2024-08-09T20:39:45.521Z] STF 16:39:45.418 - [2024-08-09T20:39:45.521Z] STF 16:39:45.418 - +------ Step 2 - Run critical internal APIs test by accessing the critical exported APIs from a module [2024-08-09T20:39:45.521Z] STF 16:39:45.418 - | Run foreground process [2024-08-09T20:39:45.522Z] STF 16:39:45.418 - | Program: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/java [2024-08-09T20:39:45.522Z] STF 16:39:45.418 - | Mnemonic: T2 [2024-08-09T20:39:45.522Z] STF 16:39:45.418 - | Echo: ECHO_ON [2024-08-09T20:39:45.522Z] STF 16:39:45.418 - | Expectation: CLEAN_RUN within 1m [2024-08-09T20:39:45.522Z] STF 16:39:45.418 - | [2024-08-09T20:39:45.522Z] STF 16:39:45.418 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/java --add-reads com.test=ALL-UNNAMED --module-path /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/common-mods:/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_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 [2024-08-09T20:39:45.522Z] STF 16:39:45.418 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17232335276644/InternalAPIs_1/20240809-163944-InternalAPIs/results/2.T2.stderr [2024-08-09T20:39:45.522Z] STF 16:39:45.418 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17232335276644/InternalAPIs_1/20240809-163944-InternalAPIs/results/2.T2.stdout [2024-08-09T20:39:45.522Z] STF 16:39:45.419 - Monitoring processes: T2 [2024-08-09T20:39:45.522Z] T2 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-08-09T20:39:45.873Z] T2 JUnit version 4.12 [2024-08-09T20:39:45.873Z] T2 . [2024-08-09T20:39:45.873Z] T2 Time: 0.005 [2024-08-09T20:39:45.873Z] T2 [2024-08-09T20:39:45.873Z] T2 OK (1 test) [2024-08-09T20:39:45.873Z] T2 [2024-08-09T20:39:45.873Z] STF 16:39:45.617 - Monitoring Report Summary: [2024-08-09T20:39:45.873Z] STF 16:39:45.617 - o Process T2 ended with the expected exit code (0) [2024-08-09T20:39:45.873Z] STF 16:39:45.617 - [2024-08-09T20:39:45.873Z] STF 16:39:45.617 - +------ Step 3 - Create tests jar [2024-08-09T20:39:45.873Z] STF 16:39:45.617 - | Create modular jar [2024-08-09T20:39:45.873Z] STF 16:39:45.617 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2024-08-09T20:39:45.873Z] STF 16:39:45.617 - | ModuleVersion: null [2024-08-09T20:39:45.873Z] STF 16:39:45.617 - | MainClass: null [2024-08-09T20:39:45.873Z] STF 16:39:45.617 - | HashModules: null [2024-08-09T20:39:45.873Z] STF 16:39:45.617 - | [2024-08-09T20:39:45.873Z] STF 16:39:45.617 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17232335276644/InternalAPIs_1/20240809-163944-InternalAPIs/modules/3.com.test.jar -C /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test . [2024-08-09T20:39:45.873Z] STF 16:39:45.617 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17232335276644/InternalAPIs_1/20240809-163944-InternalAPIs/results/3.CMJ.stderr [2024-08-09T20:39:45.873Z] STF 16:39:45.617 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17232335276644/InternalAPIs_1/20240809-163944-InternalAPIs/results/3.CMJ.stdout [2024-08-09T20:39:45.873Z] STF 16:39:45.618 - Monitoring processes: CMJ [2024-08-09T20:39:45.873Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-08-09T20:39:45.873Z] STF 16:39:45.824 - Monitoring Report Summary: [2024-08-09T20:39:45.873Z] STF 16:39:45.824 - o Process CMJ ended with the expected exit code (0) [2024-08-09T20:39:45.873Z] STF 16:39:45.824 - Created modular jar: 3.com.test.jar [2024-08-09T20:39:45.873Z] STF 16:39:45.824 - [2024-08-09T20:39:45.873Z] STF 16:39:45.824 - +------ Step 4 - Run critical internal APIs test by accessing the critical exported APIs from a modular jar [2024-08-09T20:39:45.873Z] STF 16:39:45.824 - | Run foreground process [2024-08-09T20:39:45.873Z] STF 16:39:45.824 - | Program: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/java [2024-08-09T20:39:45.873Z] STF 16:39:45.824 - | Mnemonic: T3 [2024-08-09T20:39:45.873Z] STF 16:39:45.824 - | Echo: ECHO_ON [2024-08-09T20:39:45.873Z] STF 16:39:45.824 - | Expectation: CLEAN_RUN within 1m [2024-08-09T20:39:45.873Z] STF 16:39:45.824 - | [2024-08-09T20:39:45.873Z] STF 16:39:45.824 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/java --add-reads com.test=ALL-UNNAMED --module-path /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17232335276644/InternalAPIs_1/20240809-163944-InternalAPIs/modules/3.com.test.jar:/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_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 [2024-08-09T20:39:45.873Z] STF 16:39:45.824 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17232335276644/InternalAPIs_1/20240809-163944-InternalAPIs/results/4.T3.stderr [2024-08-09T20:39:45.873Z] STF 16:39:45.824 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17232335276644/InternalAPIs_1/20240809-163944-InternalAPIs/results/4.T3.stdout [2024-08-09T20:39:45.873Z] STF 16:39:45.825 - Monitoring processes: T3 [2024-08-09T20:39:45.873Z] T3 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-08-09T20:39:46.224Z] T3 JUnit version 4.12 [2024-08-09T20:39:46.224Z] T3 . [2024-08-09T20:39:46.224Z] T3 Time: 0.003 [2024-08-09T20:39:46.224Z] T3 [2024-08-09T20:39:46.224Z] T3 OK (1 test) [2024-08-09T20:39:46.224Z] T3 [2024-08-09T20:39:46.224Z] STF 16:39:46.005 - Monitoring Report Summary: [2024-08-09T20:39:46.224Z] STF 16:39:46.005 - o Process T3 ended with the expected exit code (0) [2024-08-09T20:39:46.224Z] STF 16:39:46.006 - [2024-08-09T20:39:46.224Z] STF 16:39:46.006 - +------ Step 5 - create comTest.jar [2024-08-09T20:39:46.224Z] STF 16:39:46.006 - | Create project jar [2024-08-09T20:39:46.224Z] STF 16:39:46.006 - | ProjectSpec: openjdk.test.modularity/bin/tests/com.test [2024-08-09T20:39:46.224Z] STF 16:39:46.006 - | ArchiveSpec: ["net"] [2024-08-09T20:39:46.224Z] STF 16:39:46.006 - | [2024-08-09T20:39:46.225Z] STF 16:39:46.006 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/jar --create --file /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17232335276644/InternalAPIs_1/20240809-163944-InternalAPIs/tmp/com.test.jar -C /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin/tests/com.test net [2024-08-09T20:39:46.225Z] STF 16:39:46.006 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17232335276644/InternalAPIs_1/20240809-163944-InternalAPIs/results/5.JAR.stderr [2024-08-09T20:39:46.225Z] STF 16:39:46.006 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17232335276644/InternalAPIs_1/20240809-163944-InternalAPIs/results/5.JAR.stdout [2024-08-09T20:39:46.225Z] STF 16:39:46.008 - Monitoring processes: JAR [2024-08-09T20:39:46.225Z] JAR stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-08-09T20:39:46.225Z] STF 16:39:46.148 - Monitoring Report Summary: [2024-08-09T20:39:46.225Z] STF 16:39:46.148 - o Process JAR ended with the expected exit code (0) [2024-08-09T20:39:46.225Z] STF 16:39:46.148 - Created project jar: com.test.jar [2024-08-09T20:39:46.225Z] STF 16:39:46.148 - [2024-08-09T20:39:46.225Z] STF 16:39:46.148 - +------ Step 6 - Run critical internal APIs test by accessing the critical exported APIs from an automatic module [2024-08-09T20:39:46.225Z] STF 16:39:46.148 - | Run foreground process [2024-08-09T20:39:46.225Z] STF 16:39:46.148 - | Program: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/java [2024-08-09T20:39:46.225Z] STF 16:39:46.148 - | Mnemonic: T4 [2024-08-09T20:39:46.225Z] STF 16:39:46.148 - | Echo: ECHO_ON [2024-08-09T20:39:46.225Z] STF 16:39:46.148 - | Expectation: CLEAN_RUN within 1m [2024-08-09T20:39:46.225Z] STF 16:39:46.148 - | [2024-08-09T20:39:46.225Z] STF 16:39:46.148 - Running command: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/java --module-path /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17232335276644/InternalAPIs_1/20240809-163944-InternalAPIs/tmp/com.test.jar:/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_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 [2024-08-09T20:39:46.225Z] STF 16:39:46.148 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17232335276644/InternalAPIs_1/20240809-163944-InternalAPIs/results/6.T4.stderr [2024-08-09T20:39:46.225Z] STF 16:39:46.148 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17232335276644/InternalAPIs_1/20240809-163944-InternalAPIs/results/6.T4.stdout [2024-08-09T20:39:46.225Z] STF 16:39:46.149 - Monitoring processes: T4 [2024-08-09T20:39:46.225Z] T4 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-08-09T20:39:46.575Z] T4 JUnit version 4.12 [2024-08-09T20:39:46.575Z] T4 . [2024-08-09T20:39:46.575Z] T4 Time: 0.003 [2024-08-09T20:39:46.575Z] T4 [2024-08-09T20:39:46.575Z] T4 OK (1 test) [2024-08-09T20:39:46.575Z] T4 [2024-08-09T20:39:46.575Z] STF 16:39:46.334 - Monitoring Report Summary: [2024-08-09T20:39:46.575Z] STF 16:39:46.334 - o Process T4 ended with the expected exit code (0) [2024-08-09T20:39:46.575Z] STF 16:39:46.335 - EXECUTE stage completed [2024-08-09T20:39:46.575Z] STF 16:39:46.338 - [2024-08-09T20:39:46.575Z] STF 16:39:46.338 - ==================== T E A R D O W N ==================== [2024-08-09T20:39:46.575Z] STF 16:39:46.338 - Running teardown: perl /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17232335276644/InternalAPIs_1/20240809-163944-InternalAPIs/tearDown.pl [2024-08-09T20:39:46.575Z] STF 16:39:46.371 - TEARDOWN stage completed [2024-08-09T20:39:46.575Z] STF 16:39:46.377 - [2024-08-09T20:39:46.575Z] STF 16:39:46.377 - ===================== R E S U L T S ===================== [2024-08-09T20:39:46.575Z] STF 16:39:46.377 - Stage results: [2024-08-09T20:39:46.575Z] STF 16:39:46.377 - setUp: pass [2024-08-09T20:39:46.575Z] STF 16:39:46.377 - execute: pass [2024-08-09T20:39:46.575Z] STF 16:39:46.377 - teardown: pass [2024-08-09T20:39:46.575Z] STF 16:39:46.377 - [2024-08-09T20:39:46.575Z] STF 16:39:46.377 - Overall result: PASSED [2024-08-09T20:39:46.575Z] ----------------------------------- [2024-08-09T20:39:46.575Z] InternalAPIs_1_PASSED [2024-08-09T20:39:46.575Z] ----------------------------------- [2024-08-09T20:39:46.575Z] [2024-08-09T20:39:46.575Z] TEST TEARDOWN: [2024-08-09T20:39:46.575Z] Nothing to be done for teardown. [2024-08-09T20:39:46.575Z] InternalAPIs_1 Finish Time: Fri Aug 9 16:39:46 2024 Epoch Time (ms): 1723235986393