InternalAPIs_1

[2024-11-14T14:19:50.703Z] Running test InternalAPIs_1 ... [2024-11-14T14:19:50.999Z] =============================================== [2024-11-14T14:19:51.297Z] InternalAPIs_1 Start Time: Thu Nov 14 14:19:51 2024 Epoch Time (ms): 1731593991072 [2024-11-14T14:19:51.297Z] variation: Mode650 [2024-11-14T14:19:51.595Z] JVM_OPTIONS: -XX:-UseCompressedOops [2024-11-14T14:19:51.595Z] { \ [2024-11-14T14:19:51.595Z] echo ""; echo "TEST SETUP:"; \ [2024-11-14T14:19:51.595Z] echo "Nothing to be done for setup."; \ [2024-11-14T14:19:51.595Z] mkdir -p "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17315921828437\\InternalAPIs_1"; \ [2024-11-14T14:19:51.595Z] cd "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17315921828437\\InternalAPIs_1"; \ [2024-11-14T14:19:51.595Z] echo ""; echo "TESTING:"; \ [2024-11-14T14:19:51.595Z] perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests///..//jvmtest\\system\\modularity/../\\STF\\stf.core\\scripts\\stf.pl -test-root="C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests///..//jvmtest\\system\\modularity/../\\STF;C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests///..//jvmtest\\system\\modularity/../\\aqa-systemtest""" -systemtest-prereqs="C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/../../testDependency/system_lib\\" -java-args=' -XX:-UseCompressedOops ' -results-root="C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17315921828437\\InternalAPIs_1" -test=InternalAPIs; \ [2024-11-14T14:19:51.595Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "InternalAPIs_1""_PASSED"; echo "-----------------------------------"; cd C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/; rm -f -r "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17315921828437\\InternalAPIs_1"; else echo "-----------------------------------"; echo "InternalAPIs_1""_FAILED"; echo "-----------------------------------"; fi; \ [2024-11-14T14:19:51.595Z] echo ""; echo "TEST TEARDOWN:"; \ [2024-11-14T14:19:51.595Z] echo "Nothing to be done for teardown."; \ [2024-11-14T14:19:51.595Z] } 2>&1 | tee -a "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17315921828437\\TestTargetResult"; [2024-11-14T14:19:51.892Z] [2024-11-14T14:19:51.892Z] TEST SETUP: [2024-11-14T14:19:51.892Z] Nothing to be done for setup. [2024-11-14T14:19:51.892Z] [2024-11-14T14:19:51.892Z] TESTING: [2024-11-14T14:19:52.188Z] STF 14:19:52.041 - ========================= S T F ========================= [2024-11-14T14:19:52.188Z] systemtest-prereqs has been processed, and set to: C:/Users/jenkins/testDependency/system_libRetrieving amount of free space on drive containing C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17315921828437\InternalAPIs_1 [2024-11-14T14:19:52.491Z] There is 23074 Mb free [2024-11-14T14:19:52.491Z] STF 14:19:52.119 - ================== G E N E R A T I O N ================== [2024-11-14T14:19:52.491Z] STF 14:19:52.124 - Checking JVM: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image [2024-11-14T14:19:52.491Z] STF 14:19:52.125 - Starting process to generate scripts: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/java -Dlog4j.skipJansi=true -Djava.system.class.loader=net.adoptopenjdk.stf.runner.StfClassLoader -classpath C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/../../testDependency/system_lib\/log4j/log4j-api.jar;C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/../../testDependency/system_lib\/log4j/log4j-core.jar;C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17315921828437\InternalAPIs_1/20241114-141952-InternalAPIs/stf_parameters.properties, , C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17315921828437\InternalAPIs_1/20241114-141952-InternalAPIs" [2024-11-14T14:19:52.491Z] GEN stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-14T14:19:53.542Z] GEN 14:19:53.369 - Found test. Project: 'openjdk.test.modularity' class: 'InternalAPIs.class' Dir: 'C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin' [2024-11-14T14:19:53.542Z] GEN 14:19:53.384 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.InternalAPIs' [2024-11-14T14:19:53.840Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2024-11-14T14:19:53.840Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayService [2024-11-14T14:19:53.840Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper [2024-11-14T14:19:53.840Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl1 [2024-11-14T14:19:53.840Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet [2024-11-14T14:19:53.840Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello [2024-11-14T14:19:53.840Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola [2024-11-14T14:19:53.840Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl2 [2024-11-14T14:19:53.840Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hi [2024-11-14T14:19:53.840Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override [2024-11-14T14:19:53.840Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override-new [2024-11-14T14:19:53.840Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl3 [2024-11-14T14:19:53.840Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl4 [2024-11-14T14:19:53.840Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common [2024-11-14T14:19:53.840Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests [2024-11-14T14:19:53.840Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin [2024-11-14T14:19:53.840Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\\jvmtest\\system\\STF\\stf.core\\bin [2024-11-14T14:19:53.840Z] GEN C:/Users/jenkins/testDependency/system_lib/log4j/log4j-api.jar [2024-11-14T14:19:53.840Z] GEN C:/Users/jenkins/testDependency/system_lib/log4j/log4j-core.jar [2024-11-14T14:19:53.840Z] GEN C:/Users/jenkins/testDependency/system_lib/junit/junit.jar [2024-11-14T14:19:53.840Z] GEN 14:19:53.634 - Using Mode NoOptions. Values = '' [2024-11-14T14:19:53.840Z] GEN 14:19:53.728 - [2024-11-14T14:19:53.840Z] GEN 14:19:53.728 - Test command summary: [2024-11-14T14:19:53.840Z] GEN 14:19:53.728 - Step Stage Command Description [2024-11-14T14:19:53.840Z] GEN 14:19:53.728 - -----+--------+-----------------+------------ [2024-11-14T14:19:53.840Z] GEN 14:19:53.728 - 1 execute Run java Run critical internal APIs test by accessing the critical exported APIs from an unnamed module or classpath [2024-11-14T14:19:53.840Z] GEN 14:19:53.728 - 2 execute Run java Run critical internal APIs test by accessing the critical exported APIs from a module [2024-11-14T14:19:53.840Z] GEN 14:19:53.728 - 3 execute jar Create tests jar [2024-11-14T14:19:53.840Z] GEN 14:19:53.728 - 4 execute Run java Run critical internal APIs test by accessing the critical exported APIs from a modular jar [2024-11-14T14:19:53.840Z] GEN 14:19:53.728 - 5 execute jar create comTest.jar [2024-11-14T14:19:53.840Z] GEN 14:19:53.728 - 6 execute Run java Run critical internal APIs test by accessing the critical exported APIs from an automatic module [2024-11-14T14:19:53.840Z] STF 14:19:53.797 - [2024-11-14T14:19:53.840Z] STF 14:19:53.797 - Script generation completed [2024-11-14T14:19:53.840Z] STF 14:19:53.797 - [2024-11-14T14:19:53.840Z] STF 14:19:53.805 - [2024-11-14T14:19:53.840Z] STF 14:19:53.806 - ======================= S E T U P ======================= [2024-11-14T14:19:53.840Z] STF 14:19:53.806 - Running setup: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17315921828437\InternalAPIs_1/20241114-141952-InternalAPIs/setUp.pl [2024-11-14T14:19:54.488Z] STF 14:19:54.181 - SETUP stage completed [2024-11-14T14:19:54.488Z] STF 14:19:54.230 - [2024-11-14T14:19:54.488Z] STF 14:19:54.230 - ==================== E X E C U T E - ==================== [2024-11-14T14:19:54.488Z] STF 14:19:54.230 - Running execute: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17315921828437\InternalAPIs_1/20241114-141952-InternalAPIs/execute.pl [2024-11-14T14:19:54.785Z] STF 14:19:54.619 - [2024-11-14T14:19:54.785Z] STF 14:19:54.619 - Java version [2024-11-14T14:19:54.785Z] STF 14:19:54.619 - Running: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/java -version [2024-11-14T14:19:54.785Z] Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-14T14:19:54.785Z] openjdk version "21.0.6-beta" 2025-01-21 [2024-11-14T14:19:54.785Z] OpenJDK Runtime Environment Temurin-21.0.6+3-202411132003 (build 21.0.6-beta+3-ea) [2024-11-14T14:19:54.785Z] OpenJDK 64-Bit Server VM Temurin-21.0.6+3-202411132003 (build 21.0.6-beta+3-ea, mixed mode) [2024-11-14T14:19:54.785Z] STF 14:19:54.737 - [2024-11-14T14:19:54.785Z] STF 14:19:54.737 - +------ Step 1 - Run critical internal APIs test by accessing the critical exported APIs from an unnamed module or classpath [2024-11-14T14:19:54.785Z] STF 14:19:54.737 - | Run foreground process [2024-11-14T14:19:54.785Z] STF 14:19:54.737 - | Program: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/java [2024-11-14T14:19:54.785Z] STF 14:19:54.737 - | Mnemonic: T1 [2024-11-14T14:19:54.785Z] STF 14:19:54.737 - | Echo: ECHO_ON [2024-11-14T14:19:54.785Z] STF 14:19:54.737 - | Expectation: CLEAN_RUN within 1m [2024-11-14T14:19:54.785Z] STF 14:19:54.737 - | [2024-11-14T14:19:54.785Z] STF 14:19:54.738 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/java -XX:-UseCompressedOops -classpath C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests\com.test;C:/Users/jenkins/testDependency/system_lib/junit/junit.jar;C:/Users/jenkins/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestJDKInternalAPIs [2024-11-14T14:19:54.785Z] STF 14:19:54.738 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17315921828437/InternalAPIs_1/20241114-141952-InternalAPIs/results/1.T1.stderr [2024-11-14T14:19:54.785Z] STF 14:19:54.738 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17315921828437/InternalAPIs_1/20241114-141952-InternalAPIs/results/1.T1.stdout [2024-11-14T14:19:55.081Z] STF 14:19:54.806 - Monitoring processes: T1 [2024-11-14T14:19:55.081Z] T1 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-14T14:19:55.081Z] T1 JUnit version 4.12 [2024-11-14T14:19:55.377Z] T1 . [2024-11-14T14:19:55.377Z] T1 Time: 0 [2024-11-14T14:19:55.377Z] T1 [2024-11-14T14:19:55.377Z] T1 OK (1 test) [2024-11-14T14:19:55.377Z] T1 [2024-11-14T14:19:55.377Z] STF 14:19:55.168 - Monitoring Report Summary: [2024-11-14T14:19:55.377Z] STF 14:19:55.168 - o Process T1 ended with the expected exit code (0) [2024-11-14T14:19:55.377Z] STF 14:19:55.169 - [2024-11-14T14:19:55.377Z] STF 14:19:55.169 - +------ Step 2 - Run critical internal APIs test by accessing the critical exported APIs from a module [2024-11-14T14:19:55.377Z] STF 14:19:55.169 - | Run foreground process [2024-11-14T14:19:55.377Z] STF 14:19:55.169 - | Program: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/java [2024-11-14T14:19:55.377Z] STF 14:19:55.169 - | Mnemonic: T2 [2024-11-14T14:19:55.377Z] STF 14:19:55.169 - | Echo: ECHO_ON [2024-11-14T14:19:55.377Z] STF 14:19:55.169 - | Expectation: CLEAN_RUN within 1m [2024-11-14T14:19:55.377Z] STF 14:19:55.169 - | [2024-11-14T14:19:55.377Z] STF 14:19:55.170 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/java --add-reads com.test=ALL-UNNAMED --module-path C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods;C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests --add-modules=com.test -XX:-UseCompressedOops -classpath C:/Users/jenkins/testDependency/system_lib/junit/junit.jar;C:/Users/jenkins/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestJDKInternalAPIs [2024-11-14T14:19:55.377Z] STF 14:19:55.170 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17315921828437/InternalAPIs_1/20241114-141952-InternalAPIs/results/2.T2.stderr [2024-11-14T14:19:55.377Z] STF 14:19:55.170 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17315921828437/InternalAPIs_1/20241114-141952-InternalAPIs/results/2.T2.stdout [2024-11-14T14:19:55.377Z] STF 14:19:55.178 - Monitoring processes: T2 [2024-11-14T14:19:55.377Z] T2 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-14T14:19:55.674Z] T2 JUnit version 4.12 [2024-11-14T14:19:55.674Z] T2 . [2024-11-14T14:19:55.674Z] T2 Time: 0 [2024-11-14T14:19:55.674Z] T2 [2024-11-14T14:19:55.674Z] T2 OK (1 test) [2024-11-14T14:19:55.674Z] T2 [2024-11-14T14:19:55.674Z] STF 14:19:55.619 - Monitoring Report Summary: [2024-11-14T14:19:55.674Z] STF 14:19:55.619 - o Process T2 ended with the expected exit code (0) [2024-11-14T14:19:55.674Z] STF 14:19:55.620 - [2024-11-14T14:19:55.674Z] STF 14:19:55.620 - +------ Step 3 - Create tests jar [2024-11-14T14:19:55.674Z] STF 14:19:55.620 - | Create modular jar [2024-11-14T14:19:55.674Z] STF 14:19:55.620 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2024-11-14T14:19:55.674Z] STF 14:19:55.620 - | ModuleVersion: null [2024-11-14T14:19:55.674Z] STF 14:19:55.620 - | MainClass: null [2024-11-14T14:19:55.674Z] STF 14:19:55.620 - | HashModules: null [2024-11-14T14:19:55.674Z] STF 14:19:55.620 - | [2024-11-14T14:19:55.674Z] STF 14:19:55.621 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17315921828437/InternalAPIs_1/20241114-141952-InternalAPIs/modules/3.com.test.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests\com.test . [2024-11-14T14:19:55.674Z] STF 14:19:55.621 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17315921828437/InternalAPIs_1/20241114-141952-InternalAPIs/results/3.CMJ.stderr [2024-11-14T14:19:55.674Z] STF 14:19:55.621 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17315921828437/InternalAPIs_1/20241114-141952-InternalAPIs/results/3.CMJ.stdout [2024-11-14T14:19:55.674Z] STF 14:19:55.629 - Monitoring processes: CMJ [2024-11-14T14:19:55.971Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-14T14:19:56.267Z] STF 14:19:56.088 - Monitoring Report Summary: [2024-11-14T14:19:56.267Z] STF 14:19:56.088 - o Process CMJ ended with the expected exit code (0) [2024-11-14T14:19:56.267Z] STF 14:19:56.089 - Created modular jar: 3.com.test.jar [2024-11-14T14:19:56.267Z] STF 14:19:56.089 - [2024-11-14T14:19:56.267Z] STF 14:19:56.089 - +------ Step 4 - Run critical internal APIs test by accessing the critical exported APIs from a modular jar [2024-11-14T14:19:56.267Z] STF 14:19:56.089 - | Run foreground process [2024-11-14T14:19:56.267Z] STF 14:19:56.089 - | Program: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/java [2024-11-14T14:19:56.267Z] STF 14:19:56.089 - | Mnemonic: T3 [2024-11-14T14:19:56.267Z] STF 14:19:56.089 - | Echo: ECHO_ON [2024-11-14T14:19:56.267Z] STF 14:19:56.089 - | Expectation: CLEAN_RUN within 1m [2024-11-14T14:19:56.267Z] STF 14:19:56.089 - | [2024-11-14T14:19:56.267Z] STF 14:19:56.090 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/java --add-reads com.test=ALL-UNNAMED --module-path C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17315921828437/InternalAPIs_1/20241114-141952-InternalAPIs/modules/3.com.test.jar;C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods --add-modules=com.test -XX:-UseCompressedOops -classpath C:/Users/jenkins/testDependency/system_lib/junit/junit.jar;C:/Users/jenkins/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestJDKInternalAPIs [2024-11-14T14:19:56.267Z] STF 14:19:56.090 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17315921828437/InternalAPIs_1/20241114-141952-InternalAPIs/results/4.T3.stderr [2024-11-14T14:19:56.267Z] STF 14:19:56.090 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17315921828437/InternalAPIs_1/20241114-141952-InternalAPIs/results/4.T3.stdout [2024-11-14T14:19:56.267Z] STF 14:19:56.098 - Monitoring processes: T3 [2024-11-14T14:19:56.267Z] T3 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-14T14:19:56.565Z] T3 JUnit version 4.12 [2024-11-14T14:19:56.565Z] T3 . [2024-11-14T14:19:56.565Z] T3 Time: 0.015 [2024-11-14T14:19:56.565Z] T3 [2024-11-14T14:19:56.565Z] T3 OK (1 test) [2024-11-14T14:19:56.565Z] T3 [2024-11-14T14:19:56.565Z] STF 14:19:56.524 - Monitoring Report Summary: [2024-11-14T14:19:56.565Z] STF 14:19:56.524 - o Process T3 ended with the expected exit code (0) [2024-11-14T14:19:56.565Z] STF 14:19:56.525 - [2024-11-14T14:19:56.565Z] STF 14:19:56.525 - +------ Step 5 - create comTest.jar [2024-11-14T14:19:56.565Z] STF 14:19:56.525 - | Create project jar [2024-11-14T14:19:56.565Z] STF 14:19:56.525 - | ProjectSpec: openjdk.test.modularity/bin/tests/com.test [2024-11-14T14:19:56.565Z] STF 14:19:56.525 - | ArchiveSpec: ["net"] [2024-11-14T14:19:56.565Z] STF 14:19:56.525 - | [2024-11-14T14:19:56.565Z] STF 14:19:56.526 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17315921828437/InternalAPIs_1/20241114-141952-InternalAPIs/tmp/com.test.jar -C C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests\com.test net [2024-11-14T14:19:56.565Z] STF 14:19:56.526 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17315921828437/InternalAPIs_1/20241114-141952-InternalAPIs/results/5.JAR.stderr [2024-11-14T14:19:56.566Z] STF 14:19:56.526 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17315921828437/InternalAPIs_1/20241114-141952-InternalAPIs/results/5.JAR.stdout [2024-11-14T14:19:56.566Z] STF 14:19:56.534 - Monitoring processes: JAR [2024-11-14T14:19:56.862Z] JAR stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-14T14:19:57.159Z] STF 14:19:56.903 - Monitoring Report Summary: [2024-11-14T14:19:57.159Z] STF 14:19:56.903 - o Process JAR ended with the expected exit code (0) [2024-11-14T14:19:57.159Z] STF 14:19:56.904 - Created project jar: com.test.jar [2024-11-14T14:19:57.159Z] STF 14:19:56.904 - [2024-11-14T14:19:57.159Z] STF 14:19:56.904 - +------ Step 6 - Run critical internal APIs test by accessing the critical exported APIs from an automatic module [2024-11-14T14:19:57.159Z] STF 14:19:56.904 - | Run foreground process [2024-11-14T14:19:57.159Z] STF 14:19:56.904 - | Program: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/java [2024-11-14T14:19:57.159Z] STF 14:19:56.904 - | Mnemonic: T4 [2024-11-14T14:19:57.159Z] STF 14:19:56.904 - | Echo: ECHO_ON [2024-11-14T14:19:57.159Z] STF 14:19:56.904 - | Expectation: CLEAN_RUN within 1m [2024-11-14T14:19:57.159Z] STF 14:19:56.904 - | [2024-11-14T14:19:57.159Z] STF 14:19:56.905 - Running command: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/java --module-path C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17315921828437/InternalAPIs_1/20241114-141952-InternalAPIs/tmp/com.test.jar;C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods --add-modules=com.test -XX:-UseCompressedOops -classpath C:/Users/jenkins/testDependency/system_lib/junit/junit.jar;C:/Users/jenkins/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestJDKInternalAPIs [2024-11-14T14:19:57.159Z] STF 14:19:56.905 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17315921828437/InternalAPIs_1/20241114-141952-InternalAPIs/results/6.T4.stderr [2024-11-14T14:19:57.159Z] STF 14:19:56.905 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17315921828437/InternalAPIs_1/20241114-141952-InternalAPIs/results/6.T4.stdout [2024-11-14T14:19:57.159Z] STF 14:19:56.913 - Monitoring processes: T4 [2024-11-14T14:19:57.159Z] T4 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-14T14:19:57.457Z] T4 JUnit version 4.12 [2024-11-14T14:19:57.457Z] T4 . [2024-11-14T14:19:57.457Z] T4 Time: 0.015 [2024-11-14T14:19:57.457Z] T4 [2024-11-14T14:19:57.457Z] T4 OK (1 test) [2024-11-14T14:19:57.457Z] T4 [2024-11-14T14:19:57.457Z] STF 14:19:57.372 - Monitoring Report Summary: [2024-11-14T14:19:57.457Z] STF 14:19:57.372 - o Process T4 ended with the expected exit code (0) [2024-11-14T14:19:57.457Z] STF 14:19:57.373 - EXECUTE stage completed [2024-11-14T14:19:57.457Z] STF 14:19:57.418 - [2024-11-14T14:19:57.457Z] STF 14:19:57.418 - ==================== T E A R D O W N ==================== [2024-11-14T14:19:57.457Z] STF 14:19:57.418 - Running teardown: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17315921828437\InternalAPIs_1/20241114-141952-InternalAPIs/tearDown.pl [2024-11-14T14:19:58.101Z] STF 14:19:57.806 - TEARDOWN stage completed [2024-11-14T14:19:58.101Z] STF 14:19:57.855 - [2024-11-14T14:19:58.101Z] STF 14:19:57.855 - ===================== R E S U L T S ===================== [2024-11-14T14:19:58.101Z] STF 14:19:57.855 - Stage results: [2024-11-14T14:19:58.101Z] STF 14:19:57.855 - setUp: pass [2024-11-14T14:19:58.101Z] STF 14:19:57.855 - execute: pass [2024-11-14T14:19:58.101Z] STF 14:19:57.855 - teardown: pass [2024-11-14T14:19:58.101Z] STF 14:19:57.855 - [2024-11-14T14:19:58.101Z] STF 14:19:57.855 - Overall result: PASSED [2024-11-14T14:19:58.101Z] ----------------------------------- [2024-11-14T14:19:58.101Z] InternalAPIs_1_PASSED [2024-11-14T14:19:58.101Z] ----------------------------------- [2024-11-14T14:19:58.101Z] [2024-11-14T14:19:58.101Z] TEST TEARDOWN: [2024-11-14T14:19:58.101Z] Nothing to be done for teardown. [2024-11-14T14:19:58.402Z] InternalAPIs_1 Finish Time: Thu Nov 14 14:19:58 2024 Epoch Time (ms): 1731593998197