InternalAPIs_1

[2024-12-09T16:15:05.076Z] Running test InternalAPIs_1 ... [2024-12-09T16:15:05.374Z] =============================================== [2024-12-09T16:15:05.374Z] InternalAPIs_1 Start Time: Mon Dec 9 16:15:05 2024 Epoch Time (ms): 1733760905351 [2024-12-09T16:15:05.671Z] variation: Mode650 [2024-12-09T16:15:05.969Z] JVM_OPTIONS: -XX:-UseCompressedOops [2024-12-09T16:15:05.969Z] { \ [2024-12-09T16:15:05.969Z] echo ""; echo "TEST SETUP:"; \ [2024-12-09T16:15:05.969Z] echo "Nothing to be done for setup."; \ [2024-12-09T16:15:05.969Z] mkdir -p "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17337590845159\\InternalAPIs_1"; \ [2024-12-09T16:15:05.969Z] cd "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17337590845159\\InternalAPIs_1"; \ [2024-12-09T16:15:05.969Z] echo ""; echo "TESTING:"; \ [2024-12-09T16:15:05.969Z] 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_17337590845159\\InternalAPIs_1" -test=InternalAPIs; \ [2024-12-09T16:15:05.969Z] 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_17337590845159\\InternalAPIs_1"; else echo "-----------------------------------"; echo "InternalAPIs_1""_FAILED"; echo "-----------------------------------"; fi; \ [2024-12-09T16:15:05.969Z] echo ""; echo "TEST TEARDOWN:"; \ [2024-12-09T16:15:05.969Z] echo "Nothing to be done for teardown."; \ [2024-12-09T16:15:05.969Z] } 2>&1 | tee -a "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17337590845159\\TestTargetResult"; [2024-12-09T16:15:05.969Z] [2024-12-09T16:15:05.969Z] TEST SETUP: [2024-12-09T16:15:05.969Z] Nothing to be done for setup. [2024-12-09T16:15:05.969Z] [2024-12-09T16:15:05.969Z] TESTING: [2024-12-09T16:15:06.611Z] STF 16:15:06.366 - ========================= S T F ========================= [2024-12-09T16:15:06.611Z] 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_17337590845159\InternalAPIs_1 [2024-12-09T16:15:06.611Z] There is 19786 Mb free [2024-12-09T16:15:06.611Z] STF 16:15:06.446 - ================== G E N E R A T I O N ================== [2024-12-09T16:15:06.611Z] STF 16:15:06.451 - Checking JVM: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image [2024-12-09T16:15:06.611Z] STF 16:15:06.452 - 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_17337590845159\InternalAPIs_1/20241209-161506-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_17337590845159\InternalAPIs_1/20241209-161506-InternalAPIs" [2024-12-09T16:15:06.611Z] GEN stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-12-09T16:15:08.140Z] GEN 16:15:07.710 - 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-12-09T16:15:08.140Z] GEN 16:15:07.726 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.InternalAPIs' [2024-12-09T16:15:08.140Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2024-12-09T16:15:08.140Z] 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-12-09T16:15:08.140Z] 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-12-09T16:15:08.140Z] 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-12-09T16:15:08.140Z] 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-12-09T16:15:08.140Z] 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-12-09T16:15:08.140Z] 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-12-09T16:15:08.140Z] 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-12-09T16:15:08.140Z] 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-12-09T16:15:08.140Z] 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-12-09T16:15:08.140Z] 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-12-09T16:15:08.140Z] 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-12-09T16:15:08.140Z] 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-12-09T16:15:08.140Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common [2024-12-09T16:15:08.140Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests [2024-12-09T16:15:08.140Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin [2024-12-09T16:15:08.140Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\\jvmtest\\system\\STF\\stf.core\\bin [2024-12-09T16:15:08.140Z] GEN C:/Users/jenkins/testDependency/system_lib/log4j/log4j-api.jar [2024-12-09T16:15:08.140Z] GEN C:/Users/jenkins/testDependency/system_lib/log4j/log4j-core.jar [2024-12-09T16:15:08.140Z] GEN C:/Users/jenkins/testDependency/system_lib/junit/junit.jar [2024-12-09T16:15:08.140Z] GEN 16:15:07.991 - Using Mode NoOptions. Values = '' [2024-12-09T16:15:08.140Z] GEN 16:15:08.069 - [2024-12-09T16:15:08.140Z] GEN 16:15:08.069 - Test command summary: [2024-12-09T16:15:08.140Z] GEN 16:15:08.069 - Step Stage Command Description [2024-12-09T16:15:08.140Z] GEN 16:15:08.085 - -----+--------+-----------------+------------ [2024-12-09T16:15:08.140Z] GEN 16:15:08.085 - 1 execute Run java Run critical internal APIs test by accessing the critical exported APIs from an unnamed module or classpath [2024-12-09T16:15:08.140Z] GEN 16:15:08.085 - 2 execute Run java Run critical internal APIs test by accessing the critical exported APIs from a module [2024-12-09T16:15:08.140Z] GEN 16:15:08.085 - 3 execute jar Create tests jar [2024-12-09T16:15:08.140Z] GEN 16:15:08.085 - 4 execute Run java Run critical internal APIs test by accessing the critical exported APIs from a modular jar [2024-12-09T16:15:08.140Z] GEN 16:15:08.085 - 5 execute jar create comTest.jar [2024-12-09T16:15:08.140Z] GEN 16:15:08.085 - 6 execute Run java Run critical internal APIs test by accessing the critical exported APIs from an automatic module [2024-12-09T16:15:08.437Z] STF 16:15:08.167 - [2024-12-09T16:15:08.437Z] STF 16:15:08.167 - Script generation completed [2024-12-09T16:15:08.437Z] STF 16:15:08.167 - [2024-12-09T16:15:08.437Z] STF 16:15:08.169 - [2024-12-09T16:15:08.437Z] STF 16:15:08.170 - ======================= S E T U P ======================= [2024-12-09T16:15:08.437Z] STF 16:15:08.170 - Running setup: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17337590845159\InternalAPIs_1/20241209-161506-InternalAPIs/setUp.pl [2024-12-09T16:15:08.734Z] STF 16:15:08.554 - SETUP stage completed [2024-12-09T16:15:08.734Z] STF 16:15:08.581 - [2024-12-09T16:15:08.734Z] STF 16:15:08.581 - ==================== E X E C U T E - ==================== [2024-12-09T16:15:08.734Z] STF 16:15:08.581 - Running execute: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17337590845159\InternalAPIs_1/20241209-161506-InternalAPIs/execute.pl [2024-12-09T16:15:09.029Z] STF 16:15:08.976 - [2024-12-09T16:15:09.029Z] STF 16:15:08.976 - Java version [2024-12-09T16:15:09.029Z] STF 16:15:08.976 - Running: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/java -version [2024-12-09T16:15:09.326Z] Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-12-09T16:15:09.326Z] openjdk version "21.0.6-beta" 2025-01-21 [2024-12-09T16:15:09.326Z] OpenJDK Runtime Environment Temurin-21.0.6+6-202412042003 (build 21.0.6-beta+6-ea) [2024-12-09T16:15:09.326Z] OpenJDK 64-Bit Server VM Temurin-21.0.6+6-202412042003 (build 21.0.6-beta+6-ea, mixed mode) [2024-12-09T16:15:09.326Z] STF 16:15:09.115 - [2024-12-09T16:15:09.326Z] STF 16:15:09.115 - +------ Step 1 - Run critical internal APIs test by accessing the critical exported APIs from an unnamed module or classpath [2024-12-09T16:15:09.326Z] STF 16:15:09.115 - | Run foreground process [2024-12-09T16:15:09.326Z] STF 16:15:09.115 - | Program: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/java [2024-12-09T16:15:09.326Z] STF 16:15:09.115 - | Mnemonic: T1 [2024-12-09T16:15:09.326Z] STF 16:15:09.116 - | Echo: ECHO_ON [2024-12-09T16:15:09.326Z] STF 16:15:09.116 - | Expectation: CLEAN_RUN within 1m [2024-12-09T16:15:09.326Z] STF 16:15:09.116 - | [2024-12-09T16:15:09.326Z] STF 16:15:09.117 - 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-12-09T16:15:09.326Z] STF 16:15:09.117 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17337590845159/InternalAPIs_1/20241209-161506-InternalAPIs/results/1.T1.stderr [2024-12-09T16:15:09.326Z] STF 16:15:09.117 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17337590845159/InternalAPIs_1/20241209-161506-InternalAPIs/results/1.T1.stdout [2024-12-09T16:15:09.326Z] STF 16:15:09.185 - Monitoring processes: T1 [2024-12-09T16:15:09.326Z] T1 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-12-09T16:15:09.625Z] T1 JUnit version 4.12 [2024-12-09T16:15:09.625Z] T1 . [2024-12-09T16:15:09.625Z] T1 Time: 0.016 [2024-12-09T16:15:09.625Z] T1 [2024-12-09T16:15:09.625Z] T1 OK (1 test) [2024-12-09T16:15:09.625Z] T1 [2024-12-09T16:15:09.625Z] STF 16:15:09.575 - Monitoring Report Summary: [2024-12-09T16:15:09.625Z] STF 16:15:09.575 - o Process T1 ended with the expected exit code (0) [2024-12-09T16:15:09.625Z] STF 16:15:09.576 - [2024-12-09T16:15:09.626Z] STF 16:15:09.576 - +------ Step 2 - Run critical internal APIs test by accessing the critical exported APIs from a module [2024-12-09T16:15:09.626Z] STF 16:15:09.576 - | Run foreground process [2024-12-09T16:15:09.626Z] STF 16:15:09.576 - | Program: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/java [2024-12-09T16:15:09.626Z] STF 16:15:09.576 - | Mnemonic: T2 [2024-12-09T16:15:09.626Z] STF 16:15:09.576 - | Echo: ECHO_ON [2024-12-09T16:15:09.626Z] STF 16:15:09.576 - | Expectation: CLEAN_RUN within 1m [2024-12-09T16:15:09.626Z] STF 16:15:09.576 - | [2024-12-09T16:15:09.626Z] STF 16:15:09.577 - 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-12-09T16:15:09.626Z] STF 16:15:09.577 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17337590845159/InternalAPIs_1/20241209-161506-InternalAPIs/results/2.T2.stderr [2024-12-09T16:15:09.626Z] STF 16:15:09.577 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17337590845159/InternalAPIs_1/20241209-161506-InternalAPIs/results/2.T2.stdout [2024-12-09T16:15:09.626Z] STF 16:15:09.585 - Monitoring processes: T2 [2024-12-09T16:15:09.626Z] T2 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-12-09T16:15:09.922Z] T2 JUnit version 4.12 [2024-12-09T16:15:10.218Z] T2 . [2024-12-09T16:15:10.218Z] T2 Time: 0 [2024-12-09T16:15:10.218Z] T2 [2024-12-09T16:15:10.218Z] T2 OK (1 test) [2024-12-09T16:15:10.218Z] T2 [2024-12-09T16:15:10.218Z] STF 16:15:10.025 - Monitoring Report Summary: [2024-12-09T16:15:10.218Z] STF 16:15:10.025 - o Process T2 ended with the expected exit code (0) [2024-12-09T16:15:10.218Z] STF 16:15:10.026 - [2024-12-09T16:15:10.218Z] STF 16:15:10.026 - +------ Step 3 - Create tests jar [2024-12-09T16:15:10.218Z] STF 16:15:10.027 - | Create modular jar [2024-12-09T16:15:10.218Z] STF 16:15:10.027 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2024-12-09T16:15:10.218Z] STF 16:15:10.027 - | ModuleVersion: null [2024-12-09T16:15:10.218Z] STF 16:15:10.027 - | MainClass: null [2024-12-09T16:15:10.218Z] STF 16:15:10.027 - | HashModules: null [2024-12-09T16:15:10.218Z] STF 16:15:10.027 - | [2024-12-09T16:15:10.218Z] STF 16:15:10.027 - 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_17337590845159/InternalAPIs_1/20241209-161506-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-12-09T16:15:10.218Z] STF 16:15:10.027 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17337590845159/InternalAPIs_1/20241209-161506-InternalAPIs/results/3.CMJ.stderr [2024-12-09T16:15:10.218Z] STF 16:15:10.027 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17337590845159/InternalAPIs_1/20241209-161506-InternalAPIs/results/3.CMJ.stdout [2024-12-09T16:15:10.218Z] STF 16:15:10.035 - Monitoring processes: CMJ [2024-12-09T16:15:10.218Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-12-09T16:15:10.861Z] STF 16:15:10.491 - Monitoring Report Summary: [2024-12-09T16:15:10.861Z] STF 16:15:10.491 - o Process CMJ ended with the expected exit code (0) [2024-12-09T16:15:10.861Z] STF 16:15:10.492 - Created modular jar: 3.com.test.jar [2024-12-09T16:15:10.861Z] STF 16:15:10.492 - [2024-12-09T16:15:10.861Z] STF 16:15:10.492 - +------ Step 4 - Run critical internal APIs test by accessing the critical exported APIs from a modular jar [2024-12-09T16:15:10.861Z] STF 16:15:10.492 - | Run foreground process [2024-12-09T16:15:10.861Z] STF 16:15:10.492 - | Program: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/java [2024-12-09T16:15:10.861Z] STF 16:15:10.492 - | Mnemonic: T3 [2024-12-09T16:15:10.861Z] STF 16:15:10.493 - | Echo: ECHO_ON [2024-12-09T16:15:10.861Z] STF 16:15:10.493 - | Expectation: CLEAN_RUN within 1m [2024-12-09T16:15:10.861Z] STF 16:15:10.493 - | [2024-12-09T16:15:10.861Z] STF 16:15:10.493 - 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_17337590845159/InternalAPIs_1/20241209-161506-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-12-09T16:15:10.861Z] STF 16:15:10.494 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17337590845159/InternalAPIs_1/20241209-161506-InternalAPIs/results/4.T3.stderr [2024-12-09T16:15:10.861Z] STF 16:15:10.494 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17337590845159/InternalAPIs_1/20241209-161506-InternalAPIs/results/4.T3.stdout [2024-12-09T16:15:10.861Z] STF 16:15:10.502 - Monitoring processes: T3 [2024-12-09T16:15:10.861Z] T3 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-12-09T16:15:10.861Z] T3 JUnit version 4.12 [2024-12-09T16:15:11.157Z] T3 . [2024-12-09T16:15:11.157Z] T3 Time: 0.016 [2024-12-09T16:15:11.157Z] T3 [2024-12-09T16:15:11.157Z] T3 OK (1 test) [2024-12-09T16:15:11.157Z] T3 [2024-12-09T16:15:11.157Z] STF 16:15:10.975 - Monitoring Report Summary: [2024-12-09T16:15:11.157Z] STF 16:15:10.976 - o Process T3 ended with the expected exit code (0) [2024-12-09T16:15:11.157Z] STF 16:15:10.976 - [2024-12-09T16:15:11.157Z] STF 16:15:10.976 - +------ Step 5 - create comTest.jar [2024-12-09T16:15:11.157Z] STF 16:15:10.976 - | Create project jar [2024-12-09T16:15:11.157Z] STF 16:15:10.977 - | ProjectSpec: openjdk.test.modularity/bin/tests/com.test [2024-12-09T16:15:11.157Z] STF 16:15:10.977 - | ArchiveSpec: ["net"] [2024-12-09T16:15:11.157Z] STF 16:15:10.977 - | [2024-12-09T16:15:11.157Z] STF 16:15:10.977 - 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_17337590845159/InternalAPIs_1/20241209-161506-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-12-09T16:15:11.157Z] STF 16:15:10.977 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17337590845159/InternalAPIs_1/20241209-161506-InternalAPIs/results/5.JAR.stderr [2024-12-09T16:15:11.157Z] STF 16:15:10.977 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17337590845159/InternalAPIs_1/20241209-161506-InternalAPIs/results/5.JAR.stdout [2024-12-09T16:15:11.157Z] STF 16:15:10.986 - Monitoring processes: JAR [2024-12-09T16:15:11.157Z] JAR stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-12-09T16:15:11.452Z] STF 16:15:11.369 - Monitoring Report Summary: [2024-12-09T16:15:11.452Z] STF 16:15:11.369 - o Process JAR ended with the expected exit code (0) [2024-12-09T16:15:11.452Z] STF 16:15:11.370 - Created project jar: com.test.jar [2024-12-09T16:15:11.452Z] STF 16:15:11.370 - [2024-12-09T16:15:11.453Z] STF 16:15:11.370 - +------ Step 6 - Run critical internal APIs test by accessing the critical exported APIs from an automatic module [2024-12-09T16:15:11.453Z] STF 16:15:11.370 - | Run foreground process [2024-12-09T16:15:11.453Z] STF 16:15:11.371 - | Program: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/java [2024-12-09T16:15:11.453Z] STF 16:15:11.371 - | Mnemonic: T4 [2024-12-09T16:15:11.453Z] STF 16:15:11.371 - | Echo: ECHO_ON [2024-12-09T16:15:11.453Z] STF 16:15:11.371 - | Expectation: CLEAN_RUN within 1m [2024-12-09T16:15:11.453Z] STF 16:15:11.371 - | [2024-12-09T16:15:11.453Z] STF 16:15:11.371 - 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_17337590845159/InternalAPIs_1/20241209-161506-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-12-09T16:15:11.453Z] STF 16:15:11.371 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17337590845159/InternalAPIs_1/20241209-161506-InternalAPIs/results/6.T4.stderr [2024-12-09T16:15:11.453Z] STF 16:15:11.371 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17337590845159/InternalAPIs_1/20241209-161506-InternalAPIs/results/6.T4.stdout [2024-12-09T16:15:11.453Z] STF 16:15:11.379 - Monitoring processes: T4 [2024-12-09T16:15:11.749Z] T4 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-12-09T16:15:12.045Z] T4 JUnit version 4.12 [2024-12-09T16:15:12.045Z] T4 . [2024-12-09T16:15:12.045Z] T4 Time: 0 [2024-12-09T16:15:12.045Z] T4 [2024-12-09T16:15:12.045Z] T4 OK (1 test) [2024-12-09T16:15:12.045Z] T4 [2024-12-09T16:15:12.045Z] STF 16:15:11.885 - Monitoring Report Summary: [2024-12-09T16:15:12.045Z] STF 16:15:11.885 - o Process T4 ended with the expected exit code (0) [2024-12-09T16:15:12.045Z] STF 16:15:11.886 - EXECUTE stage completed [2024-12-09T16:15:12.045Z] STF 16:15:11.915 - [2024-12-09T16:15:12.045Z] STF 16:15:11.915 - ==================== T E A R D O W N ==================== [2024-12-09T16:15:12.045Z] STF 16:15:11.915 - Running teardown: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17337590845159\InternalAPIs_1/20241209-161506-InternalAPIs/tearDown.pl [2024-12-09T16:15:12.341Z] STF 16:15:12.288 - TEARDOWN stage completed [2024-12-09T16:15:12.637Z] STF 16:15:12.337 - [2024-12-09T16:15:12.637Z] STF 16:15:12.337 - ===================== R E S U L T S ===================== [2024-12-09T16:15:12.637Z] STF 16:15:12.337 - Stage results: [2024-12-09T16:15:12.637Z] STF 16:15:12.337 - setUp: pass [2024-12-09T16:15:12.637Z] STF 16:15:12.337 - execute: pass [2024-12-09T16:15:12.637Z] STF 16:15:12.337 - teardown: pass [2024-12-09T16:15:12.637Z] STF 16:15:12.337 - [2024-12-09T16:15:12.637Z] STF 16:15:12.337 - Overall result: PASSED [2024-12-09T16:15:12.637Z] ----------------------------------- [2024-12-09T16:15:12.637Z] InternalAPIs_1_PASSED [2024-12-09T16:15:12.637Z] ----------------------------------- [2024-12-09T16:15:12.637Z] [2024-12-09T16:15:12.637Z] TEST TEARDOWN: [2024-12-09T16:15:12.637Z] Nothing to be done for teardown. [2024-12-09T16:15:12.935Z] InternalAPIs_1 Finish Time: Mon Dec 9 16:15:12 2024 Epoch Time (ms): 1733760912694