InternalAPIs_0

[2024-11-17T10:00:24.760Z] Running test InternalAPIs_0 ... [2024-11-17T10:00:25.056Z] =============================================== [2024-11-17T10:00:25.368Z] InternalAPIs_0 Start Time: Sun Nov 17 10:00:25 2024 Epoch Time (ms): 1731837625080 [2024-11-17T10:00:25.368Z] variation: Mode150 [2024-11-17T10:00:25.665Z] JVM_OPTIONS: -XX:+UseCompressedOops [2024-11-17T10:00:25.665Z] { \ [2024-11-17T10:00:25.665Z] echo ""; echo "TEST SETUP:"; \ [2024-11-17T10:00:25.665Z] echo "Nothing to be done for setup."; \ [2024-11-17T10:00:25.665Z] mkdir -p "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17318358094769\\InternalAPIs_0"; \ [2024-11-17T10:00:25.665Z] cd "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17318358094769\\InternalAPIs_0"; \ [2024-11-17T10:00:25.665Z] echo ""; echo "TESTING:"; \ [2024-11-17T10:00:25.665Z] 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_17318358094769\\InternalAPIs_0" -test=InternalAPIs; \ [2024-11-17T10:00:25.665Z] 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_17318358094769\\InternalAPIs_0"; else echo "-----------------------------------"; echo "InternalAPIs_0""_FAILED"; echo "-----------------------------------"; fi; \ [2024-11-17T10:00:25.665Z] echo ""; echo "TEST TEARDOWN:"; \ [2024-11-17T10:00:25.665Z] echo "Nothing to be done for teardown."; \ [2024-11-17T10:00:25.665Z] } 2>&1 | tee -a "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17318358094769\\TestTargetResult"; [2024-11-17T10:00:25.665Z] [2024-11-17T10:00:25.665Z] TEST SETUP: [2024-11-17T10:00:25.665Z] Nothing to be done for setup. [2024-11-17T10:00:25.665Z] [2024-11-17T10:00:25.665Z] TESTING: [2024-11-17T10:00:26.308Z] STF 10:00:26.080 - ========================= S T F ========================= [2024-11-17T10:00:26.308Z] 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_17318358094769\InternalAPIs_0 [2024-11-17T10:00:26.308Z] There is 21753 Mb free [2024-11-17T10:00:26.308Z] STF 10:00:26.161 - ================== G E N E R A T I O N ================== [2024-11-17T10:00:26.308Z] STF 10:00:26.167 - Checking JVM: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image [2024-11-17T10:00:26.309Z] STF 10:00:26.167 - 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_17318358094769\InternalAPIs_0/20241117-100026-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_17318358094769\InternalAPIs_0/20241117-100026-InternalAPIs" [2024-11-17T10:00:26.309Z] GEN stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-17T10:00:27.840Z] GEN 10:00:27.502 - 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-17T10:00:27.840Z] GEN 10:00:27.518 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.InternalAPIs' [2024-11-17T10:00:27.840Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2024-11-17T10:00:27.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-17T10:00:27.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-17T10:00:27.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-17T10:00:27.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-17T10:00:27.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-17T10:00:27.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-17T10:00:27.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-17T10:00:27.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-17T10:00:27.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-17T10:00:27.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-17T10:00:27.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-17T10:00:27.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-17T10:00:27.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-17T10:00:27.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-17T10:00:27.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-17T10:00:27.840Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\\jvmtest\\system\\STF\\stf.core\\bin [2024-11-17T10:00:27.840Z] GEN C:/Users/jenkins/testDependency/system_lib/log4j/log4j-api.jar [2024-11-17T10:00:27.840Z] GEN C:/Users/jenkins/testDependency/system_lib/log4j/log4j-core.jar [2024-11-17T10:00:27.840Z] GEN C:/Users/jenkins/testDependency/system_lib/junit/junit.jar [2024-11-17T10:00:27.840Z] GEN 10:00:27.768 - Using Mode NoOptions. Values = '' [2024-11-17T10:00:28.137Z] GEN 10:00:27.877 - [2024-11-17T10:00:28.137Z] GEN 10:00:27.877 - Test command summary: [2024-11-17T10:00:28.137Z] GEN 10:00:27.877 - Step Stage Command Description [2024-11-17T10:00:28.137Z] GEN 10:00:27.877 - -----+--------+-----------------+------------ [2024-11-17T10:00:28.137Z] GEN 10:00:27.877 - 1 execute Run java Run critical internal APIs test by accessing the critical exported APIs from an unnamed module or classpath [2024-11-17T10:00:28.137Z] GEN 10:00:27.877 - 2 execute Run java Run critical internal APIs test by accessing the critical exported APIs from a module [2024-11-17T10:00:28.137Z] GEN 10:00:27.877 - 3 execute jar Create tests jar [2024-11-17T10:00:28.137Z] GEN 10:00:27.877 - 4 execute Run java Run critical internal APIs test by accessing the critical exported APIs from a modular jar [2024-11-17T10:00:28.137Z] GEN 10:00:27.877 - 5 execute jar create comTest.jar [2024-11-17T10:00:28.137Z] GEN 10:00:27.877 - 6 execute Run java Run critical internal APIs test by accessing the critical exported APIs from an automatic module [2024-11-17T10:00:28.137Z] STF 10:00:27.931 - [2024-11-17T10:00:28.137Z] STF 10:00:27.931 - Script generation completed [2024-11-17T10:00:28.137Z] STF 10:00:27.931 - [2024-11-17T10:00:28.137Z] STF 10:00:27.933 - [2024-11-17T10:00:28.137Z] STF 10:00:27.934 - ======================= S E T U P ======================= [2024-11-17T10:00:28.137Z] STF 10:00:27.934 - Running setup: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17318358094769\InternalAPIs_0/20241117-100026-InternalAPIs/setUp.pl [2024-11-17T10:00:28.434Z] STF 10:00:28.330 - SETUP stage completed [2024-11-17T10:00:28.434Z] STF 10:00:28.356 - [2024-11-17T10:00:28.435Z] STF 10:00:28.357 - ==================== E X E C U T E - ==================== [2024-11-17T10:00:28.435Z] STF 10:00:28.357 - Running execute: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17318358094769\InternalAPIs_0/20241117-100026-InternalAPIs/execute.pl [2024-11-17T10:00:29.080Z] STF 10:00:28.752 - [2024-11-17T10:00:29.080Z] STF 10:00:28.752 - Java version [2024-11-17T10:00:29.080Z] STF 10:00:28.752 - Running: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/java -version [2024-11-17T10:00:29.080Z] Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-17T10:00:29.080Z] openjdk version "21.0.6-beta" 2025-01-21 [2024-11-17T10:00:29.080Z] OpenJDK Runtime Environment Temurin-21.0.6+3-202411152006 (build 21.0.6-beta+3-ea) [2024-11-17T10:00:29.080Z] OpenJDK 64-Bit Server VM Temurin-21.0.6+3-202411152006 (build 21.0.6-beta+3-ea, mixed mode) [2024-11-17T10:00:29.080Z] STF 10:00:28.904 - [2024-11-17T10:00:29.080Z] STF 10:00:28.904 - +------ Step 1 - Run critical internal APIs test by accessing the critical exported APIs from an unnamed module or classpath [2024-11-17T10:00:29.080Z] STF 10:00:28.904 - | Run foreground process [2024-11-17T10:00:29.080Z] STF 10:00:28.904 - | Program: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/java [2024-11-17T10:00:29.080Z] STF 10:00:28.904 - | Mnemonic: T1 [2024-11-17T10:00:29.080Z] STF 10:00:28.905 - | Echo: ECHO_ON [2024-11-17T10:00:29.080Z] STF 10:00:28.905 - | Expectation: CLEAN_RUN within 1m [2024-11-17T10:00:29.080Z] STF 10:00:28.905 - | [2024-11-17T10:00:29.080Z] STF 10:00:28.906 - 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-17T10:00:29.080Z] STF 10:00:28.906 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17318358094769/InternalAPIs_0/20241117-100026-InternalAPIs/results/1.T1.stderr [2024-11-17T10:00:29.080Z] STF 10:00:28.906 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17318358094769/InternalAPIs_0/20241117-100026-InternalAPIs/results/1.T1.stdout [2024-11-17T10:00:29.080Z] STF 10:00:28.979 - Monitoring processes: T1 [2024-11-17T10:00:29.080Z] T1 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-17T10:00:29.377Z] T1 JUnit version 4.12 [2024-11-17T10:00:29.377Z] T1 . [2024-11-17T10:00:29.377Z] T1 Time: 0 [2024-11-17T10:00:29.377Z] T1 [2024-11-17T10:00:29.377Z] T1 OK (1 test) [2024-11-17T10:00:29.377Z] T1 [2024-11-17T10:00:29.674Z] STF 10:00:29.360 - Monitoring Report Summary: [2024-11-17T10:00:29.674Z] STF 10:00:29.360 - o Process T1 ended with the expected exit code (0) [2024-11-17T10:00:29.674Z] STF 10:00:29.361 - [2024-11-17T10:00:29.674Z] STF 10:00:29.361 - +------ Step 2 - Run critical internal APIs test by accessing the critical exported APIs from a module [2024-11-17T10:00:29.674Z] STF 10:00:29.361 - | Run foreground process [2024-11-17T10:00:29.674Z] STF 10:00:29.361 - | Program: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/java [2024-11-17T10:00:29.674Z] STF 10:00:29.361 - | Mnemonic: T2 [2024-11-17T10:00:29.674Z] STF 10:00:29.361 - | Echo: ECHO_ON [2024-11-17T10:00:29.674Z] STF 10:00:29.361 - | Expectation: CLEAN_RUN within 1m [2024-11-17T10:00:29.674Z] STF 10:00:29.361 - | [2024-11-17T10:00:29.674Z] STF 10:00:29.362 - 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-17T10:00:29.674Z] STF 10:00:29.362 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17318358094769/InternalAPIs_0/20241117-100026-InternalAPIs/results/2.T2.stderr [2024-11-17T10:00:29.674Z] STF 10:00:29.362 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17318358094769/InternalAPIs_0/20241117-100026-InternalAPIs/results/2.T2.stdout [2024-11-17T10:00:29.674Z] STF 10:00:29.371 - Monitoring processes: T2 [2024-11-17T10:00:29.674Z] T2 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-17T10:00:29.972Z] T2 JUnit version 4.12 [2024-11-17T10:00:29.972Z] T2 . [2024-11-17T10:00:29.972Z] T2 Time: 0.016 [2024-11-17T10:00:29.972Z] T2 [2024-11-17T10:00:29.972Z] T2 OK (1 test) [2024-11-17T10:00:29.972Z] T2 [2024-11-17T10:00:29.972Z] STF 10:00:29.849 - Monitoring Report Summary: [2024-11-17T10:00:29.972Z] STF 10:00:29.849 - o Process T2 ended with the expected exit code (0) [2024-11-17T10:00:29.972Z] STF 10:00:29.850 - [2024-11-17T10:00:29.972Z] STF 10:00:29.850 - +------ Step 3 - Create tests jar [2024-11-17T10:00:29.972Z] STF 10:00:29.850 - | Create modular jar [2024-11-17T10:00:29.972Z] STF 10:00:29.850 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2024-11-17T10:00:29.972Z] STF 10:00:29.850 - | ModuleVersion: null [2024-11-17T10:00:29.972Z] STF 10:00:29.850 - | MainClass: null [2024-11-17T10:00:29.972Z] STF 10:00:29.850 - | HashModules: null [2024-11-17T10:00:29.972Z] STF 10:00:29.850 - | [2024-11-17T10:00:29.972Z] STF 10:00:29.851 - 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_17318358094769/InternalAPIs_0/20241117-100026-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-17T10:00:29.972Z] STF 10:00:29.851 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17318358094769/InternalAPIs_0/20241117-100026-InternalAPIs/results/3.CMJ.stderr [2024-11-17T10:00:29.972Z] STF 10:00:29.851 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17318358094769/InternalAPIs_0/20241117-100026-InternalAPIs/results/3.CMJ.stdout [2024-11-17T10:00:29.972Z] STF 10:00:29.860 - Monitoring processes: CMJ [2024-11-17T10:00:29.972Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-17T10:00:30.626Z] STF 10:00:30.329 - Monitoring Report Summary: [2024-11-17T10:00:30.626Z] STF 10:00:30.330 - o Process CMJ ended with the expected exit code (0) [2024-11-17T10:00:30.626Z] STF 10:00:30.330 - Created modular jar: 3.com.test.jar [2024-11-17T10:00:30.626Z] STF 10:00:30.330 - [2024-11-17T10:00:30.626Z] STF 10:00:30.330 - +------ Step 4 - Run critical internal APIs test by accessing the critical exported APIs from a modular jar [2024-11-17T10:00:30.626Z] STF 10:00:30.331 - | Run foreground process [2024-11-17T10:00:30.626Z] STF 10:00:30.331 - | Program: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/java [2024-11-17T10:00:30.626Z] STF 10:00:30.331 - | Mnemonic: T3 [2024-11-17T10:00:30.626Z] STF 10:00:30.331 - | Echo: ECHO_ON [2024-11-17T10:00:30.626Z] STF 10:00:30.331 - | Expectation: CLEAN_RUN within 1m [2024-11-17T10:00:30.626Z] STF 10:00:30.331 - | [2024-11-17T10:00:30.626Z] STF 10:00:30.332 - 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_17318358094769/InternalAPIs_0/20241117-100026-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-17T10:00:30.626Z] STF 10:00:30.332 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17318358094769/InternalAPIs_0/20241117-100026-InternalAPIs/results/4.T3.stderr [2024-11-17T10:00:30.626Z] STF 10:00:30.332 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17318358094769/InternalAPIs_0/20241117-100026-InternalAPIs/results/4.T3.stdout [2024-11-17T10:00:30.626Z] STF 10:00:30.340 - Monitoring processes: T3 [2024-11-17T10:00:30.626Z] T3 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-17T10:00:30.924Z] T3 JUnit version 4.12 [2024-11-17T10:00:30.924Z] T3 . [2024-11-17T10:00:30.924Z] T3 Time: 0 [2024-11-17T10:00:30.924Z] T3 [2024-11-17T10:00:30.924Z] T3 OK (1 test) [2024-11-17T10:00:30.924Z] T3 [2024-11-17T10:00:30.924Z] STF 10:00:30.814 - Monitoring Report Summary: [2024-11-17T10:00:30.924Z] STF 10:00:30.814 - o Process T3 ended with the expected exit code (0) [2024-11-17T10:00:30.924Z] STF 10:00:30.815 - [2024-11-17T10:00:30.924Z] STF 10:00:30.815 - +------ Step 5 - create comTest.jar [2024-11-17T10:00:30.924Z] STF 10:00:30.815 - | Create project jar [2024-11-17T10:00:30.924Z] STF 10:00:30.815 - | ProjectSpec: openjdk.test.modularity/bin/tests/com.test [2024-11-17T10:00:30.924Z] STF 10:00:30.815 - | ArchiveSpec: ["net"] [2024-11-17T10:00:30.924Z] STF 10:00:30.815 - | [2024-11-17T10:00:30.925Z] STF 10:00:30.816 - 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_17318358094769/InternalAPIs_0/20241117-100026-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-17T10:00:30.925Z] STF 10:00:30.816 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17318358094769/InternalAPIs_0/20241117-100026-InternalAPIs/results/5.JAR.stderr [2024-11-17T10:00:30.925Z] STF 10:00:30.816 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17318358094769/InternalAPIs_0/20241117-100026-InternalAPIs/results/5.JAR.stdout [2024-11-17T10:00:30.925Z] STF 10:00:30.824 - Monitoring processes: JAR [2024-11-17T10:00:30.925Z] JAR stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-17T10:00:31.572Z] STF 10:00:31.189 - Monitoring Report Summary: [2024-11-17T10:00:31.572Z] STF 10:00:31.189 - o Process JAR ended with the expected exit code (0) [2024-11-17T10:00:31.572Z] STF 10:00:31.190 - Created project jar: com.test.jar [2024-11-17T10:00:31.572Z] STF 10:00:31.190 - [2024-11-17T10:00:31.572Z] STF 10:00:31.190 - +------ Step 6 - Run critical internal APIs test by accessing the critical exported APIs from an automatic module [2024-11-17T10:00:31.572Z] STF 10:00:31.190 - | Run foreground process [2024-11-17T10:00:31.572Z] STF 10:00:31.190 - | Program: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/java [2024-11-17T10:00:31.572Z] STF 10:00:31.190 - | Mnemonic: T4 [2024-11-17T10:00:31.572Z] STF 10:00:31.190 - | Echo: ECHO_ON [2024-11-17T10:00:31.572Z] STF 10:00:31.191 - | Expectation: CLEAN_RUN within 1m [2024-11-17T10:00:31.572Z] STF 10:00:31.191 - | [2024-11-17T10:00:31.572Z] STF 10:00:31.191 - 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_17318358094769/InternalAPIs_0/20241117-100026-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-17T10:00:31.573Z] STF 10:00:31.191 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17318358094769/InternalAPIs_0/20241117-100026-InternalAPIs/results/6.T4.stderr [2024-11-17T10:00:31.573Z] STF 10:00:31.191 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17318358094769/InternalAPIs_0/20241117-100026-InternalAPIs/results/6.T4.stdout [2024-11-17T10:00:31.573Z] STF 10:00:31.200 - Monitoring processes: T4 [2024-11-17T10:00:31.573Z] T4 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-17T10:00:31.871Z] T4 JUnit version 4.12 [2024-11-17T10:00:31.871Z] T4 . [2024-11-17T10:00:31.871Z] T4 Time: 0.016 [2024-11-17T10:00:31.871Z] T4 [2024-11-17T10:00:31.871Z] T4 OK (1 test) [2024-11-17T10:00:31.871Z] T4 [2024-11-17T10:00:31.871Z] STF 10:00:31.693 - Monitoring Report Summary: [2024-11-17T10:00:31.871Z] STF 10:00:31.693 - o Process T4 ended with the expected exit code (0) [2024-11-17T10:00:31.871Z] STF 10:00:31.694 - EXECUTE stage completed [2024-11-17T10:00:31.871Z] STF 10:00:31.738 - [2024-11-17T10:00:31.871Z] STF 10:00:31.738 - ==================== T E A R D O W N ==================== [2024-11-17T10:00:31.871Z] STF 10:00:31.738 - Running teardown: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17318358094769\InternalAPIs_0/20241117-100026-InternalAPIs/tearDown.pl [2024-11-17T10:00:32.518Z] STF 10:00:32.143 - TEARDOWN stage completed [2024-11-17T10:00:32.518Z] STF 10:00:32.180 - [2024-11-17T10:00:32.518Z] STF 10:00:32.180 - ===================== R E S U L T S ===================== [2024-11-17T10:00:32.518Z] STF 10:00:32.180 - Stage results: [2024-11-17T10:00:32.518Z] STF 10:00:32.180 - setUp: pass [2024-11-17T10:00:32.518Z] STF 10:00:32.180 - execute: pass [2024-11-17T10:00:32.518Z] STF 10:00:32.180 - teardown: pass [2024-11-17T10:00:32.518Z] STF 10:00:32.180 - [2024-11-17T10:00:32.518Z] STF 10:00:32.180 - Overall result: PASSED [2024-11-17T10:00:32.518Z] ----------------------------------- [2024-11-17T10:00:32.518Z] InternalAPIs_0_PASSED [2024-11-17T10:00:32.518Z] ----------------------------------- [2024-11-17T10:00:32.518Z] [2024-11-17T10:00:32.518Z] TEST TEARDOWN: [2024-11-17T10:00:32.518Z] Nothing to be done for teardown. [2024-11-17T10:00:32.846Z] InternalAPIs_0 Finish Time: Sun Nov 17 10:00:32 2024 Epoch Time (ms): 1731837632549