InternalAPIs_0

[2024-08-21T20:38:35.198Z] Running test InternalAPIs_0 ... [2024-08-21T20:38:35.198Z] =============================================== [2024-08-21T20:38:35.198Z] InternalAPIs_0 Start Time: Wed Aug 21 16:38:34 2024 Epoch Time (ms): 1724272714891 [2024-08-21T20:38:35.198Z] variation: Mode150 [2024-08-21T20:38:35.198Z] JVM_OPTIONS: -XX:+UseCompressedOops [2024-08-21T20:38:35.198Z] { \ [2024-08-21T20:38:35.198Z] echo ""; echo "TEST SETUP:"; \ [2024-08-21T20:38:35.198Z] echo "Nothing to be done for setup."; \ [2024-08-21T20:38:35.198Z] mkdir -p "/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17242702601475/InternalAPIs_0"; \ [2024-08-21T20:38:35.198Z] cd "/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17242702601475/InternalAPIs_0"; \ [2024-08-21T20:38:35.198Z] echo ""; echo "TESTING:"; \ [2024-08-21T20:38:35.198Z] 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_17242702601475/InternalAPIs_0" -test=InternalAPIs; \ [2024-08-21T20:38:35.198Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "InternalAPIs_0""_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_17242702601475/InternalAPIs_0"; else echo "-----------------------------------"; echo "InternalAPIs_0""_FAILED"; echo "-----------------------------------"; fi; \ [2024-08-21T20:38:35.198Z] echo ""; echo "TEST TEARDOWN:"; \ [2024-08-21T20:38:35.198Z] echo "Nothing to be done for teardown."; \ [2024-08-21T20:38:35.198Z] } 2>&1 | tee -a "/Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17242702601475/TestTargetResult"; [2024-08-21T20:38:35.198Z] [2024-08-21T20:38:35.198Z] TEST SETUP: [2024-08-21T20:38:35.198Z] Nothing to be done for setup. [2024-08-21T20:38:35.198Z] [2024-08-21T20:38:35.198Z] TESTING: [2024-08-21T20:38:35.198Z] STF 16:38:34.937 - ========================= S T F ========================= [2024-08-21T20:38:35.198Z] 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_17242702601475/InternalAPIs_0 [2024-08-21T20:38:35.198Z] There is 28561 Mb free [2024-08-21T20:38:35.198Z] STF 16:38:34.942 - ================== G E N E R A T I O N ================== [2024-08-21T20:38:35.198Z] STF 16:38:34.942 - Checking JVM: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/../ [2024-08-21T20:38:35.198Z] STF 16:38:34.942 - 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_17242702601475/InternalAPIs_0/20240821-163834-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_17242702601475/InternalAPIs_0/20240821-163834-InternalAPIs" [2024-08-21T20:38:35.198Z] GEN stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-08-21T20:38:35.976Z] GEN 16:38:35.464 - 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-21T20:38:35.976Z] GEN 16:38:35.482 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.InternalAPIs' [2024-08-21T20:38:35.976Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2024-08-21T20:38:35.976Z] 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-21T20:38:35.976Z] 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-21T20:38:35.976Z] 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-21T20:38:35.976Z] 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-21T20:38:35.976Z] 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-21T20:38:35.976Z] 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-21T20:38:35.976Z] 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-21T20:38:35.976Z] 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-21T20:38:35.976Z] 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-21T20:38:35.976Z] 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-21T20:38:35.976Z] 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-21T20:38:35.976Z] 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-21T20:38:35.976Z] 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-21T20:38:35.976Z] 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-21T20:38:35.976Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/aqa-systemtest/openjdk.test.modularity/bin [2024-08-21T20:38:35.976Z] GEN /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jvmtest/system/STF/stf.core/bin [2024-08-21T20:38:35.976Z] GEN /Users/admin/workspace/testDependency/system_lib/log4j/log4j-api.jar [2024-08-21T20:38:35.976Z] GEN /Users/admin/workspace/testDependency/system_lib/log4j/log4j-core.jar [2024-08-21T20:38:35.976Z] GEN /Users/admin/workspace/testDependency/system_lib/junit/junit.jar [2024-08-21T20:38:35.976Z] GEN 16:38:35.588 - Using Mode NoOptions. Values = '' [2024-08-21T20:38:35.976Z] GEN 16:38:35.630 - [2024-08-21T20:38:35.976Z] GEN 16:38:35.630 - Test command summary: [2024-08-21T20:38:35.976Z] GEN 16:38:35.630 - Step Stage Command Description [2024-08-21T20:38:35.976Z] GEN 16:38:35.630 - -----+--------+-----------------+------------ [2024-08-21T20:38:35.976Z] GEN 16:38:35.630 - 1 execute Run java Run critical internal APIs test by accessing the critical exported APIs from an unnamed module or classpath [2024-08-21T20:38:35.976Z] GEN 16:38:35.630 - 2 execute Run java Run critical internal APIs test by accessing the critical exported APIs from a module [2024-08-21T20:38:35.976Z] GEN 16:38:35.631 - 3 execute jar Create tests jar [2024-08-21T20:38:35.976Z] GEN 16:38:35.631 - 4 execute Run java Run critical internal APIs test by accessing the critical exported APIs from a modular jar [2024-08-21T20:38:35.976Z] GEN 16:38:35.631 - 5 execute jar create comTest.jar [2024-08-21T20:38:35.976Z] GEN 16:38:35.633 - 6 execute Run java Run critical internal APIs test by accessing the critical exported APIs from an automatic module [2024-08-21T20:38:35.976Z] STF 16:38:35.665 - [2024-08-21T20:38:35.976Z] STF 16:38:35.665 - Script generation completed [2024-08-21T20:38:35.976Z] STF 16:38:35.665 - [2024-08-21T20:38:35.976Z] STF 16:38:35.665 - [2024-08-21T20:38:35.976Z] STF 16:38:35.665 - ======================= S E T U P ======================= [2024-08-21T20:38:35.976Z] STF 16:38:35.665 - Running setup: perl /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17242702601475/InternalAPIs_0/20240821-163834-InternalAPIs/setUp.pl [2024-08-21T20:38:35.976Z] STF 16:38:35.695 - SETUP stage completed [2024-08-21T20:38:35.976Z] STF 16:38:35.703 - [2024-08-21T20:38:35.976Z] STF 16:38:35.703 - ==================== E X E C U T E - ==================== [2024-08-21T20:38:35.976Z] STF 16:38:35.703 - Running execute: perl /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17242702601475/InternalAPIs_0/20240821-163834-InternalAPIs/execute.pl [2024-08-21T20:38:35.976Z] STF 16:38:35.733 - [2024-08-21T20:38:35.976Z] STF 16:38:35.733 - Java version [2024-08-21T20:38:35.976Z] STF 16:38:35.733 - Running: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/java -version [2024-08-21T20:38:35.976Z] Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-08-21T20:38:35.976Z] openjdk version "21.0.5-beta" 2024-10-15 [2024-08-21T20:38:35.976Z] OpenJDK Runtime Environment Temurin-21.0.5+4-202408211904 (build 21.0.5-beta+4-ea) [2024-08-21T20:38:35.976Z] OpenJDK 64-Bit Server VM Temurin-21.0.5+4-202408211904 (build 21.0.5-beta+4-ea, mixed mode) [2024-08-21T20:38:35.976Z] STF 16:38:35.785 - [2024-08-21T20:38:35.976Z] STF 16:38:35.785 - +------ Step 1 - Run critical internal APIs test by accessing the critical exported APIs from an unnamed module or classpath [2024-08-21T20:38:35.976Z] STF 16:38:35.785 - | Run foreground process [2024-08-21T20:38:35.976Z] STF 16:38:35.785 - | Program: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/java [2024-08-21T20:38:35.976Z] STF 16:38:35.785 - | Mnemonic: T1 [2024-08-21T20:38:35.976Z] STF 16:38:35.785 - | Echo: ECHO_ON [2024-08-21T20:38:35.976Z] STF 16:38:35.785 - | Expectation: CLEAN_RUN within 1m [2024-08-21T20:38:35.976Z] STF 16:38:35.785 - | [2024-08-21T20:38:35.976Z] STF 16:38:35.786 - 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-21T20:38:35.976Z] STF 16:38:35.786 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17242702601475/InternalAPIs_0/20240821-163834-InternalAPIs/results/1.T1.stderr [2024-08-21T20:38:35.976Z] STF 16:38:35.786 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17242702601475/InternalAPIs_0/20240821-163834-InternalAPIs/results/1.T1.stdout [2024-08-21T20:38:35.976Z] STF 16:38:35.791 - Monitoring processes: T1 [2024-08-21T20:38:35.976Z] T1 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-08-21T20:38:36.333Z] T1 JUnit version 4.12 [2024-08-21T20:38:36.333Z] T1 . [2024-08-21T20:38:36.333Z] T1 Time: 0.005 [2024-08-21T20:38:36.333Z] T1 [2024-08-21T20:38:36.333Z] T1 OK (1 test) [2024-08-21T20:38:36.333Z] T1 [2024-08-21T20:38:36.333Z] STF 16:38:35.945 - Monitoring Report Summary: [2024-08-21T20:38:36.333Z] STF 16:38:35.945 - o Process T1 ended with the expected exit code (0) [2024-08-21T20:38:36.333Z] STF 16:38:35.945 - [2024-08-21T20:38:36.333Z] STF 16:38:35.945 - +------ Step 2 - Run critical internal APIs test by accessing the critical exported APIs from a module [2024-08-21T20:38:36.333Z] STF 16:38:35.945 - | Run foreground process [2024-08-21T20:38:36.333Z] STF 16:38:35.945 - | Program: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/java [2024-08-21T20:38:36.333Z] STF 16:38:35.945 - | Mnemonic: T2 [2024-08-21T20:38:36.333Z] STF 16:38:35.945 - | Echo: ECHO_ON [2024-08-21T20:38:36.333Z] STF 16:38:35.945 - | Expectation: CLEAN_RUN within 1m [2024-08-21T20:38:36.333Z] STF 16:38:35.945 - | [2024-08-21T20:38:36.333Z] STF 16:38:35.945 - 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-21T20:38:36.333Z] STF 16:38:35.946 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17242702601475/InternalAPIs_0/20240821-163834-InternalAPIs/results/2.T2.stderr [2024-08-21T20:38:36.333Z] STF 16:38:35.946 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17242702601475/InternalAPIs_0/20240821-163834-InternalAPIs/results/2.T2.stdout [2024-08-21T20:38:36.333Z] STF 16:38:35.946 - Monitoring processes: T2 [2024-08-21T20:38:36.333Z] T2 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-08-21T20:38:36.333Z] T2 JUnit version 4.12 [2024-08-21T20:38:36.333Z] T2 . [2024-08-21T20:38:36.333Z] T2 Time: 0.003 [2024-08-21T20:38:36.333Z] T2 [2024-08-21T20:38:36.333Z] T2 OK (1 test) [2024-08-21T20:38:36.333Z] T2 [2024-08-21T20:38:36.333Z] STF 16:38:36.116 - Monitoring Report Summary: [2024-08-21T20:38:36.333Z] STF 16:38:36.116 - o Process T2 ended with the expected exit code (0) [2024-08-21T20:38:36.333Z] STF 16:38:36.116 - [2024-08-21T20:38:36.333Z] STF 16:38:36.116 - +------ Step 3 - Create tests jar [2024-08-21T20:38:36.333Z] STF 16:38:36.116 - | Create modular jar [2024-08-21T20:38:36.333Z] STF 16:38:36.116 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2024-08-21T20:38:36.333Z] STF 16:38:36.116 - | ModuleVersion: null [2024-08-21T20:38:36.333Z] STF 16:38:36.116 - | MainClass: null [2024-08-21T20:38:36.333Z] STF 16:38:36.116 - | HashModules: null [2024-08-21T20:38:36.333Z] STF 16:38:36.116 - | [2024-08-21T20:38:36.333Z] STF 16:38:36.116 - 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_17242702601475/InternalAPIs_0/20240821-163834-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-21T20:38:36.333Z] STF 16:38:36.116 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17242702601475/InternalAPIs_0/20240821-163834-InternalAPIs/results/3.CMJ.stderr [2024-08-21T20:38:36.333Z] STF 16:38:36.116 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17242702601475/InternalAPIs_0/20240821-163834-InternalAPIs/results/3.CMJ.stdout [2024-08-21T20:38:36.333Z] STF 16:38:36.118 - Monitoring processes: CMJ [2024-08-21T20:38:36.333Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-08-21T20:38:36.691Z] STF 16:38:36.319 - Monitoring Report Summary: [2024-08-21T20:38:36.691Z] STF 16:38:36.319 - o Process CMJ ended with the expected exit code (0) [2024-08-21T20:38:36.691Z] STF 16:38:36.319 - Created modular jar: 3.com.test.jar [2024-08-21T20:38:36.691Z] STF 16:38:36.319 - [2024-08-21T20:38:36.691Z] STF 16:38:36.319 - +------ Step 4 - Run critical internal APIs test by accessing the critical exported APIs from a modular jar [2024-08-21T20:38:36.691Z] STF 16:38:36.319 - | Run foreground process [2024-08-21T20:38:36.691Z] STF 16:38:36.319 - | Program: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/java [2024-08-21T20:38:36.691Z] STF 16:38:36.319 - | Mnemonic: T3 [2024-08-21T20:38:36.691Z] STF 16:38:36.319 - | Echo: ECHO_ON [2024-08-21T20:38:36.691Z] STF 16:38:36.319 - | Expectation: CLEAN_RUN within 1m [2024-08-21T20:38:36.691Z] STF 16:38:36.319 - | [2024-08-21T20:38:36.691Z] STF 16:38:36.319 - 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_17242702601475/InternalAPIs_0/20240821-163834-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-21T20:38:36.691Z] STF 16:38:36.319 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17242702601475/InternalAPIs_0/20240821-163834-InternalAPIs/results/4.T3.stderr [2024-08-21T20:38:36.691Z] STF 16:38:36.320 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17242702601475/InternalAPIs_0/20240821-163834-InternalAPIs/results/4.T3.stdout [2024-08-21T20:38:36.691Z] STF 16:38:36.321 - Monitoring processes: T3 [2024-08-21T20:38:36.691Z] T3 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-08-21T20:38:36.691Z] T3 JUnit version 4.12 [2024-08-21T20:38:36.691Z] T3 . [2024-08-21T20:38:36.691Z] T3 Time: 0.003 [2024-08-21T20:38:36.691Z] T3 [2024-08-21T20:38:36.691Z] T3 OK (1 test) [2024-08-21T20:38:36.691Z] T3 [2024-08-21T20:38:36.691Z] STF 16:38:36.503 - Monitoring Report Summary: [2024-08-21T20:38:36.691Z] STF 16:38:36.503 - o Process T3 ended with the expected exit code (0) [2024-08-21T20:38:36.691Z] STF 16:38:36.503 - [2024-08-21T20:38:36.691Z] STF 16:38:36.503 - +------ Step 5 - create comTest.jar [2024-08-21T20:38:36.691Z] STF 16:38:36.503 - | Create project jar [2024-08-21T20:38:36.691Z] STF 16:38:36.503 - | ProjectSpec: openjdk.test.modularity/bin/tests/com.test [2024-08-21T20:38:36.691Z] STF 16:38:36.503 - | ArchiveSpec: ["net"] [2024-08-21T20:38:36.691Z] STF 16:38:36.503 - | [2024-08-21T20:38:36.691Z] STF 16:38:36.503 - 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_17242702601475/InternalAPIs_0/20240821-163834-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-21T20:38:36.691Z] STF 16:38:36.503 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17242702601475/InternalAPIs_0/20240821-163834-InternalAPIs/results/5.JAR.stderr [2024-08-21T20:38:36.691Z] STF 16:38:36.503 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17242702601475/InternalAPIs_0/20240821-163834-InternalAPIs/results/5.JAR.stdout [2024-08-21T20:38:36.691Z] STF 16:38:36.504 - Monitoring processes: JAR [2024-08-21T20:38:36.691Z] JAR stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-08-21T20:38:37.047Z] STF 16:38:36.646 - Monitoring Report Summary: [2024-08-21T20:38:37.047Z] STF 16:38:36.646 - o Process JAR ended with the expected exit code (0) [2024-08-21T20:38:37.047Z] STF 16:38:36.646 - Created project jar: com.test.jar [2024-08-21T20:38:37.047Z] STF 16:38:36.646 - [2024-08-21T20:38:37.047Z] STF 16:38:36.646 - +------ Step 6 - Run critical internal APIs test by accessing the critical exported APIs from an automatic module [2024-08-21T20:38:37.047Z] STF 16:38:36.646 - | Run foreground process [2024-08-21T20:38:37.047Z] STF 16:38:36.646 - | Program: /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/jdkbinary/j2sdk-image/Contents/Home/bin/java [2024-08-21T20:38:37.047Z] STF 16:38:36.646 - | Mnemonic: T4 [2024-08-21T20:38:37.047Z] STF 16:38:36.646 - | Echo: ECHO_ON [2024-08-21T20:38:37.047Z] STF 16:38:36.646 - | Expectation: CLEAN_RUN within 1m [2024-08-21T20:38:37.047Z] STF 16:38:36.646 - | [2024-08-21T20:38:37.047Z] STF 16:38:36.646 - 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_17242702601475/InternalAPIs_0/20240821-163834-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-21T20:38:37.047Z] STF 16:38:36.646 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17242702601475/InternalAPIs_0/20240821-163834-InternalAPIs/results/6.T4.stderr [2024-08-21T20:38:37.047Z] STF 16:38:36.646 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/output_17242702601475/InternalAPIs_0/20240821-163834-InternalAPIs/results/6.T4.stdout [2024-08-21T20:38:37.047Z] STF 16:38:36.647 - Monitoring processes: T4 [2024-08-21T20:38:37.047Z] T4 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-08-21T20:38:37.047Z] T4 JUnit version 4.12 [2024-08-21T20:38:37.047Z] T4 . [2024-08-21T20:38:37.047Z] T4 Time: 0.002 [2024-08-21T20:38:37.047Z] T4 [2024-08-21T20:38:37.047Z] T4 OK (1 test) [2024-08-21T20:38:37.047Z] T4 [2024-08-21T20:38:37.047Z] STF 16:38:36.829 - Monitoring Report Summary: [2024-08-21T20:38:37.047Z] STF 16:38:36.829 - o Process T4 ended with the expected exit code (0) [2024-08-21T20:38:37.047Z] STF 16:38:36.829 - EXECUTE stage completed [2024-08-21T20:38:37.047Z] STF 16:38:36.839 - [2024-08-21T20:38:37.047Z] STF 16:38:36.839 - ==================== T E A R D O W N ==================== [2024-08-21T20:38:37.047Z] STF 16:38:36.839 - Running teardown: perl /Users/admin/workspace/workspace/Test_openjdk21_hs_sanity.system_aarch64_mac_testList_1/aqa-tests/TKG/../TKG/output_17242702601475/InternalAPIs_0/20240821-163834-InternalAPIs/tearDown.pl [2024-08-21T20:38:37.047Z] STF 16:38:36.873 - TEARDOWN stage completed [2024-08-21T20:38:37.047Z] STF 16:38:36.875 - [2024-08-21T20:38:37.047Z] STF 16:38:36.875 - ===================== R E S U L T S ===================== [2024-08-21T20:38:37.047Z] STF 16:38:36.875 - Stage results: [2024-08-21T20:38:37.047Z] STF 16:38:36.875 - setUp: pass [2024-08-21T20:38:37.047Z] STF 16:38:36.875 - execute: pass [2024-08-21T20:38:37.047Z] STF 16:38:36.875 - teardown: pass [2024-08-21T20:38:37.047Z] STF 16:38:36.875 - [2024-08-21T20:38:37.047Z] STF 16:38:36.875 - Overall result: PASSED [2024-08-21T20:38:37.047Z] ----------------------------------- [2024-08-21T20:38:37.047Z] InternalAPIs_0_PASSED [2024-08-21T20:38:37.047Z] ----------------------------------- [2024-08-21T20:38:37.047Z] [2024-08-21T20:38:37.047Z] TEST TEARDOWN: [2024-08-21T20:38:37.047Z] Nothing to be done for teardown. [2024-08-21T20:38:37.047Z] InternalAPIs_0 Finish Time: Wed Aug 21 16:38:36 2024 Epoch Time (ms): 1724272716891