InternalAPIs_0

[2024-12-09T16:14:56.834Z] Running test InternalAPIs_0 ... [2024-12-09T16:14:57.132Z] =============================================== [2024-12-09T16:14:57.132Z] InternalAPIs_0 Start Time: Mon Dec 9 16:14:57 2024 Epoch Time (ms): 1733760897101 [2024-12-09T16:14:57.429Z] variation: Mode150 [2024-12-09T16:14:57.730Z] JVM_OPTIONS: -XX:+UseCompressedOops [2024-12-09T16:14:57.730Z] { \ [2024-12-09T16:14:57.730Z] echo ""; echo "TEST SETUP:"; \ [2024-12-09T16:14:57.730Z] echo "Nothing to be done for setup."; \ [2024-12-09T16:14:57.730Z] mkdir -p "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17337590845159\\InternalAPIs_0"; \ [2024-12-09T16:14:57.730Z] cd "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17337590845159\\InternalAPIs_0"; \ [2024-12-09T16:14:57.730Z] echo ""; echo "TESTING:"; \ [2024-12-09T16:14:57.730Z] 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_0" -test=InternalAPIs; \ [2024-12-09T16:14:57.730Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "InternalAPIs_0""_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_0"; else echo "-----------------------------------"; echo "InternalAPIs_0""_FAILED"; echo "-----------------------------------"; fi; \ [2024-12-09T16:14:57.730Z] echo ""; echo "TEST TEARDOWN:"; \ [2024-12-09T16:14:57.730Z] echo "Nothing to be done for teardown."; \ [2024-12-09T16:14:57.730Z] } 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:14:57.730Z] [2024-12-09T16:14:57.730Z] TEST SETUP: [2024-12-09T16:14:57.730Z] Nothing to be done for setup. [2024-12-09T16:14:57.730Z] [2024-12-09T16:14:57.730Z] TESTING: [2024-12-09T16:14:58.375Z] STF 16:14:58.069 - ========================= S T F ========================= [2024-12-09T16:14:58.375Z] 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_0 [2024-12-09T16:14:58.375Z] There is 19787 Mb free [2024-12-09T16:14:58.375Z] STF 16:14:58.148 - ================== G E N E R A T I O N ================== [2024-12-09T16:14:58.375Z] STF 16:14:58.153 - Checking JVM: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image [2024-12-09T16:14:58.375Z] STF 16:14:58.154 - 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_0/20241209-161458-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_0/20241209-161458-InternalAPIs" [2024-12-09T16:14:58.375Z] GEN stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-12-09T16:14:59.909Z] GEN 16:14:59.382 - 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:14:59.909Z] GEN 16:14:59.413 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.InternalAPIs' [2024-12-09T16:14:59.909Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2024-12-09T16:14:59.909Z] 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:14:59.909Z] 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:14:59.909Z] 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:14:59.909Z] 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:14:59.909Z] 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:14:59.909Z] 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:14:59.909Z] 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:14:59.909Z] 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:14:59.909Z] 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:14:59.909Z] 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:14:59.910Z] 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:14:59.910Z] 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:14:59.910Z] 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:14:59.910Z] 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:14:59.910Z] 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:14:59.910Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\\jvmtest\\system\\STF\\stf.core\\bin [2024-12-09T16:14:59.910Z] GEN C:/Users/jenkins/testDependency/system_lib/log4j/log4j-api.jar [2024-12-09T16:14:59.910Z] GEN C:/Users/jenkins/testDependency/system_lib/log4j/log4j-core.jar [2024-12-09T16:14:59.910Z] GEN C:/Users/jenkins/testDependency/system_lib/junit/junit.jar [2024-12-09T16:14:59.910Z] GEN 16:14:59.679 - Using Mode NoOptions. Values = '' [2024-12-09T16:14:59.910Z] GEN 16:14:59.772 - [2024-12-09T16:14:59.910Z] GEN 16:14:59.772 - Test command summary: [2024-12-09T16:14:59.910Z] GEN 16:14:59.772 - Step Stage Command Description [2024-12-09T16:14:59.910Z] GEN 16:14:59.788 - -----+--------+-----------------+------------ [2024-12-09T16:14:59.910Z] GEN 16:14:59.788 - 1 execute Run java Run critical internal APIs test by accessing the critical exported APIs from an unnamed module or classpath [2024-12-09T16:14:59.910Z] GEN 16:14:59.788 - 2 execute Run java Run critical internal APIs test by accessing the critical exported APIs from a module [2024-12-09T16:14:59.910Z] GEN 16:14:59.788 - 3 execute jar Create tests jar [2024-12-09T16:14:59.910Z] GEN 16:14:59.788 - 4 execute Run java Run critical internal APIs test by accessing the critical exported APIs from a modular jar [2024-12-09T16:14:59.910Z] GEN 16:14:59.788 - 5 execute jar create comTest.jar [2024-12-09T16:14:59.910Z] GEN 16:14:59.788 - 6 execute Run java Run critical internal APIs test by accessing the critical exported APIs from an automatic module [2024-12-09T16:14:59.910Z] STF 16:14:59.835 - [2024-12-09T16:14:59.910Z] STF 16:14:59.835 - Script generation completed [2024-12-09T16:14:59.910Z] STF 16:14:59.835 - [2024-12-09T16:14:59.910Z] STF 16:14:59.837 - [2024-12-09T16:14:59.910Z] STF 16:14:59.838 - ======================= S E T U P ======================= [2024-12-09T16:14:59.910Z] STF 16:14:59.838 - Running setup: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17337590845159\InternalAPIs_0/20241209-161458-InternalAPIs/setUp.pl [2024-12-09T16:15:00.556Z] STF 16:15:00.226 - SETUP stage completed [2024-12-09T16:15:00.556Z] STF 16:15:00.256 - [2024-12-09T16:15:00.556Z] STF 16:15:00.256 - ==================== E X E C U T E - ==================== [2024-12-09T16:15:00.556Z] STF 16:15:00.256 - Running execute: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17337590845159\InternalAPIs_0/20241209-161458-InternalAPIs/execute.pl [2024-12-09T16:15:00.853Z] STF 16:15:00.632 - [2024-12-09T16:15:00.853Z] STF 16:15:00.632 - Java version [2024-12-09T16:15:00.853Z] STF 16:15:00.632 - Running: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/java -version [2024-12-09T16:15:00.854Z] Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-12-09T16:15:00.854Z] openjdk version "21.0.6-beta" 2025-01-21 [2024-12-09T16:15:00.854Z] OpenJDK Runtime Environment Temurin-21.0.6+6-202412042003 (build 21.0.6-beta+6-ea) [2024-12-09T16:15:00.854Z] OpenJDK 64-Bit Server VM Temurin-21.0.6+6-202412042003 (build 21.0.6-beta+6-ea, mixed mode) [2024-12-09T16:15:00.854Z] STF 16:15:00.771 - [2024-12-09T16:15:00.854Z] STF 16:15:00.771 - +------ Step 1 - Run critical internal APIs test by accessing the critical exported APIs from an unnamed module or classpath [2024-12-09T16:15:00.854Z] STF 16:15:00.771 - | Run foreground process [2024-12-09T16:15:00.854Z] STF 16:15:00.771 - | Program: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/java [2024-12-09T16:15:00.854Z] STF 16:15:00.772 - | Mnemonic: T1 [2024-12-09T16:15:00.854Z] STF 16:15:00.772 - | Echo: ECHO_ON [2024-12-09T16:15:00.854Z] STF 16:15:00.772 - | Expectation: CLEAN_RUN within 1m [2024-12-09T16:15:00.854Z] STF 16:15:00.772 - | [2024-12-09T16:15:00.854Z] STF 16:15:00.773 - 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:00.854Z] STF 16:15:00.773 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17337590845159/InternalAPIs_0/20241209-161458-InternalAPIs/results/1.T1.stderr [2024-12-09T16:15:00.854Z] STF 16:15:00.773 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17337590845159/InternalAPIs_0/20241209-161458-InternalAPIs/results/1.T1.stdout [2024-12-09T16:15:01.152Z] STF 16:15:00.842 - Monitoring processes: T1 [2024-12-09T16:15:01.152Z] T1 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-12-09T16:15:01.152Z] T1 JUnit version 4.12 [2024-12-09T16:15:01.452Z] T1 . [2024-12-09T16:15:01.452Z] T1 Time: 0.015 [2024-12-09T16:15:01.452Z] T1 [2024-12-09T16:15:01.452Z] T1 OK (1 test) [2024-12-09T16:15:01.452Z] T1 [2024-12-09T16:15:01.452Z] STF 16:15:01.215 - Monitoring Report Summary: [2024-12-09T16:15:01.452Z] STF 16:15:01.215 - o Process T1 ended with the expected exit code (0) [2024-12-09T16:15:01.452Z] STF 16:15:01.216 - [2024-12-09T16:15:01.452Z] STF 16:15:01.216 - +------ Step 2 - Run critical internal APIs test by accessing the critical exported APIs from a module [2024-12-09T16:15:01.452Z] STF 16:15:01.216 - | Run foreground process [2024-12-09T16:15:01.452Z] STF 16:15:01.216 - | Program: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/java [2024-12-09T16:15:01.452Z] STF 16:15:01.216 - | Mnemonic: T2 [2024-12-09T16:15:01.452Z] STF 16:15:01.216 - | Echo: ECHO_ON [2024-12-09T16:15:01.452Z] STF 16:15:01.216 - | Expectation: CLEAN_RUN within 1m [2024-12-09T16:15:01.452Z] STF 16:15:01.216 - | [2024-12-09T16:15:01.452Z] STF 16:15:01.217 - 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:01.452Z] STF 16:15:01.217 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17337590845159/InternalAPIs_0/20241209-161458-InternalAPIs/results/2.T2.stderr [2024-12-09T16:15:01.452Z] STF 16:15:01.217 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17337590845159/InternalAPIs_0/20241209-161458-InternalAPIs/results/2.T2.stdout [2024-12-09T16:15:01.452Z] STF 16:15:01.226 - Monitoring processes: T2 [2024-12-09T16:15:01.452Z] T2 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-12-09T16:15:01.752Z] T2 JUnit version 4.12 [2024-12-09T16:15:01.752Z] T2 . [2024-12-09T16:15:01.752Z] T2 Time: 0.016 [2024-12-09T16:15:01.752Z] T2 [2024-12-09T16:15:01.752Z] T2 OK (1 test) [2024-12-09T16:15:01.752Z] T2 [2024-12-09T16:15:01.752Z] STF 16:15:01.666 - Monitoring Report Summary: [2024-12-09T16:15:01.752Z] STF 16:15:01.666 - o Process T2 ended with the expected exit code (0) [2024-12-09T16:15:01.752Z] STF 16:15:01.667 - [2024-12-09T16:15:01.752Z] STF 16:15:01.667 - +------ Step 3 - Create tests jar [2024-12-09T16:15:01.752Z] STF 16:15:01.667 - | Create modular jar [2024-12-09T16:15:01.752Z] STF 16:15:01.667 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2024-12-09T16:15:01.752Z] STF 16:15:01.667 - | ModuleVersion: null [2024-12-09T16:15:01.752Z] STF 16:15:01.667 - | MainClass: null [2024-12-09T16:15:01.752Z] STF 16:15:01.667 - | HashModules: null [2024-12-09T16:15:01.752Z] STF 16:15:01.667 - | [2024-12-09T16:15:01.752Z] STF 16:15:01.668 - 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_0/20241209-161458-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:01.752Z] STF 16:15:01.668 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17337590845159/InternalAPIs_0/20241209-161458-InternalAPIs/results/3.CMJ.stderr [2024-12-09T16:15:01.752Z] STF 16:15:01.668 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17337590845159/InternalAPIs_0/20241209-161458-InternalAPIs/results/3.CMJ.stdout [2024-12-09T16:15:01.752Z] STF 16:15:01.676 - Monitoring processes: CMJ [2024-12-09T16:15:01.752Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-12-09T16:15:02.398Z] STF 16:15:02.147 - Monitoring Report Summary: [2024-12-09T16:15:02.398Z] STF 16:15:02.148 - o Process CMJ ended with the expected exit code (0) [2024-12-09T16:15:02.398Z] STF 16:15:02.148 - Created modular jar: 3.com.test.jar [2024-12-09T16:15:02.398Z] STF 16:15:02.149 - [2024-12-09T16:15:02.398Z] STF 16:15:02.149 - +------ Step 4 - Run critical internal APIs test by accessing the critical exported APIs from a modular jar [2024-12-09T16:15:02.398Z] STF 16:15:02.149 - | Run foreground process [2024-12-09T16:15:02.398Z] STF 16:15:02.149 - | Program: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/java [2024-12-09T16:15:02.398Z] STF 16:15:02.149 - | Mnemonic: T3 [2024-12-09T16:15:02.398Z] STF 16:15:02.149 - | Echo: ECHO_ON [2024-12-09T16:15:02.398Z] STF 16:15:02.149 - | Expectation: CLEAN_RUN within 1m [2024-12-09T16:15:02.398Z] STF 16:15:02.149 - | [2024-12-09T16:15:02.398Z] STF 16:15:02.150 - 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_0/20241209-161458-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:02.398Z] STF 16:15:02.150 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17337590845159/InternalAPIs_0/20241209-161458-InternalAPIs/results/4.T3.stderr [2024-12-09T16:15:02.398Z] STF 16:15:02.150 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17337590845159/InternalAPIs_0/20241209-161458-InternalAPIs/results/4.T3.stdout [2024-12-09T16:15:02.398Z] STF 16:15:02.158 - Monitoring processes: T3 [2024-12-09T16:15:02.398Z] T3 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-12-09T16:15:02.695Z] T3 JUnit version 4.12 [2024-12-09T16:15:02.695Z] T3 . [2024-12-09T16:15:02.695Z] T3 Time: 0.016 [2024-12-09T16:15:02.695Z] T3 [2024-12-09T16:15:02.695Z] T3 OK (1 test) [2024-12-09T16:15:02.695Z] T3 [2024-12-09T16:15:02.695Z] STF 16:15:02.647 - Monitoring Report Summary: [2024-12-09T16:15:02.695Z] STF 16:15:02.647 - o Process T3 ended with the expected exit code (0) [2024-12-09T16:15:02.695Z] STF 16:15:02.648 - [2024-12-09T16:15:02.695Z] STF 16:15:02.648 - +------ Step 5 - create comTest.jar [2024-12-09T16:15:02.695Z] STF 16:15:02.648 - | Create project jar [2024-12-09T16:15:02.696Z] STF 16:15:02.648 - | ProjectSpec: openjdk.test.modularity/bin/tests/com.test [2024-12-09T16:15:02.696Z] STF 16:15:02.649 - | ArchiveSpec: ["net"] [2024-12-09T16:15:02.696Z] STF 16:15:02.649 - | [2024-12-09T16:15:02.696Z] STF 16:15:02.649 - 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_0/20241209-161458-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:02.696Z] STF 16:15:02.649 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17337590845159/InternalAPIs_0/20241209-161458-InternalAPIs/results/5.JAR.stderr [2024-12-09T16:15:02.696Z] STF 16:15:02.649 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17337590845159/InternalAPIs_0/20241209-161458-InternalAPIs/results/5.JAR.stdout [2024-12-09T16:15:02.696Z] STF 16:15:02.657 - Monitoring processes: JAR [2024-12-09T16:15:02.993Z] JAR stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-12-09T16:15:03.292Z] STF 16:15:03.038 - Monitoring Report Summary: [2024-12-09T16:15:03.292Z] STF 16:15:03.038 - o Process JAR ended with the expected exit code (0) [2024-12-09T16:15:03.292Z] STF 16:15:03.039 - Created project jar: com.test.jar [2024-12-09T16:15:03.292Z] STF 16:15:03.039 - [2024-12-09T16:15:03.292Z] STF 16:15:03.039 - +------ Step 6 - Run critical internal APIs test by accessing the critical exported APIs from an automatic module [2024-12-09T16:15:03.292Z] STF 16:15:03.039 - | Run foreground process [2024-12-09T16:15:03.292Z] STF 16:15:03.039 - | Program: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/java [2024-12-09T16:15:03.292Z] STF 16:15:03.039 - | Mnemonic: T4 [2024-12-09T16:15:03.292Z] STF 16:15:03.039 - | Echo: ECHO_ON [2024-12-09T16:15:03.292Z] STF 16:15:03.039 - | Expectation: CLEAN_RUN within 1m [2024-12-09T16:15:03.292Z] STF 16:15:03.039 - | [2024-12-09T16:15:03.292Z] STF 16:15:03.040 - 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_0/20241209-161458-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:03.292Z] STF 16:15:03.040 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17337590845159/InternalAPIs_0/20241209-161458-InternalAPIs/results/6.T4.stderr [2024-12-09T16:15:03.292Z] STF 16:15:03.040 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17337590845159/InternalAPIs_0/20241209-161458-InternalAPIs/results/6.T4.stdout [2024-12-09T16:15:03.292Z] STF 16:15:03.048 - Monitoring processes: T4 [2024-12-09T16:15:03.292Z] T4 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-12-09T16:15:03.593Z] T4 JUnit version 4.12 [2024-12-09T16:15:03.593Z] T4 . [2024-12-09T16:15:03.593Z] T4 Time: 0.015 [2024-12-09T16:15:03.593Z] T4 [2024-12-09T16:15:03.593Z] T4 OK (1 test) [2024-12-09T16:15:03.593Z] T4 [2024-12-09T16:15:03.593Z] STF 16:15:03.557 - Monitoring Report Summary: [2024-12-09T16:15:03.593Z] STF 16:15:03.557 - o Process T4 ended with the expected exit code (0) [2024-12-09T16:15:03.593Z] STF 16:15:03.558 - EXECUTE stage completed [2024-12-09T16:15:03.890Z] STF 16:15:03.588 - [2024-12-09T16:15:03.890Z] STF 16:15:03.589 - ==================== T E A R D O W N ==================== [2024-12-09T16:15:03.890Z] STF 16:15:03.589 - Running teardown: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17337590845159\InternalAPIs_0/20241209-161458-InternalAPIs/tearDown.pl [2024-12-09T16:15:04.187Z] STF 16:15:03.976 - TEARDOWN stage completed [2024-12-09T16:15:04.187Z] STF 16:15:04.024 - [2024-12-09T16:15:04.187Z] STF 16:15:04.024 - ===================== R E S U L T S ===================== [2024-12-09T16:15:04.187Z] STF 16:15:04.024 - Stage results: [2024-12-09T16:15:04.187Z] STF 16:15:04.024 - setUp: pass [2024-12-09T16:15:04.187Z] STF 16:15:04.024 - execute: pass [2024-12-09T16:15:04.187Z] STF 16:15:04.024 - teardown: pass [2024-12-09T16:15:04.187Z] STF 16:15:04.024 - [2024-12-09T16:15:04.187Z] STF 16:15:04.024 - Overall result: PASSED [2024-12-09T16:15:04.187Z] ----------------------------------- [2024-12-09T16:15:04.187Z] InternalAPIs_0_PASSED [2024-12-09T16:15:04.187Z] ----------------------------------- [2024-12-09T16:15:04.187Z] [2024-12-09T16:15:04.187Z] TEST TEARDOWN: [2024-12-09T16:15:04.187Z] Nothing to be done for teardown. [2024-12-09T16:15:04.484Z] InternalAPIs_0 Finish Time: Mon Dec 9 16:15:04 2024 Epoch Time (ms): 1733760904366