InternalAPIs_1

[2024-11-21T03:21:57.458Z] Running test InternalAPIs_1 ... [2024-11-21T03:21:57.800Z] =============================================== [2024-11-21T03:21:57.800Z] InternalAPIs_1 Start Time: Thu Nov 21 03:21:57 2024 Epoch Time (ms): 1732159317742 [2024-11-21T03:21:58.110Z] variation: Mode650 [2024-11-21T03:21:58.110Z] JVM_OPTIONS: -XX:-UseCompressedOops [2024-11-21T03:21:58.110Z] { \ [2024-11-21T03:21:58.110Z] echo ""; echo "TEST SETUP:"; \ [2024-11-21T03:21:58.110Z] echo "Nothing to be done for setup."; \ [2024-11-21T03:21:58.110Z] mkdir -p "C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17321575722429\\InternalAPIs_1"; \ [2024-11-21T03:21:58.110Z] cd "C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17321575722429\\InternalAPIs_1"; \ [2024-11-21T03:21:58.110Z] echo ""; echo "TESTING:"; \ [2024-11-21T03:21:58.110Z] perl C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests///..//jvmtest\\system\\modularity/../\\STF\\stf.core\\scripts\\stf.pl -test-root="C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests///..//jvmtest\\system\\modularity/../\\STF;C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests///..//jvmtest\\system\\modularity/../\\aqa-systemtest""" -systemtest-prereqs="c:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/../../testDependency/system_lib\\" -java-args=' -XX:-UseCompressedOops ' -results-root="C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17321575722429\\InternalAPIs_1" -test=InternalAPIs; \ [2024-11-21T03:21:58.110Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "InternalAPIs_1""_PASSED"; echo "-----------------------------------"; cd C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/; rm -f -r "C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17321575722429\\InternalAPIs_1"; else echo "-----------------------------------"; echo "InternalAPIs_1""_FAILED"; echo "-----------------------------------"; fi; \ [2024-11-21T03:21:58.110Z] echo ""; echo "TEST TEARDOWN:"; \ [2024-11-21T03:21:58.110Z] echo "Nothing to be done for teardown."; \ [2024-11-21T03:21:58.110Z] } 2>&1 | tee -a "C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17321575722429\\TestTargetResult"; [2024-11-21T03:21:58.464Z] [2024-11-21T03:21:58.464Z] TEST SETUP: [2024-11-21T03:21:58.464Z] Nothing to be done for setup. [2024-11-21T03:21:58.464Z] [2024-11-21T03:21:58.464Z] TESTING: [2024-11-21T03:21:58.464Z] STF 03:21:58.359 - ========================= S T F ========================= [2024-11-21T03:21:58.464Z] systemtest-prereqs has been processed, and set to: c:/jenkins/testDependency/system_libRetrieving amount of free space on drive containing C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17321575722429\InternalAPIs_1 [2024-11-21T03:21:58.803Z] There is 128557 Mb free [2024-11-21T03:21:58.803Z] STF 03:21:58.406 - ================== G E N E R A T I O N ================== [2024-11-21T03:21:58.803Z] STF 03:21:58.408 - Checking JVM: c:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image [2024-11-21T03:21:58.804Z] STF 03:21:58.409 - Starting process to generate scripts: c:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java -Dlog4j.skipJansi=true -Djava.system.class.loader=net.adoptopenjdk.stf.runner.StfClassLoader -classpath c:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/../../testDependency/system_lib\/log4j/log4j-api.jar;c:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/../../testDependency/system_lib\/log4j/log4j-core.jar;C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17321575722429\InternalAPIs_1/20241121-032158-InternalAPIs/stf_parameters.properties, , C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17321575722429\InternalAPIs_1/20241121-032158-InternalAPIs" [2024-11-21T03:21:58.804Z] GEN stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-21T03:21:58.804Z] GEN [0.019s][warning][cds] Archived non-system classes are disabled because the java.system.class.loader property is specified (value = "net.adoptopenjdk.stf.runner.StfClassLoader"). To use archived non-system classes, this property must not be set [2024-11-21T03:21:59.488Z] GEN Java lib directory does not exist: C:\Jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jdkbinary\lib [2024-11-21T03:21:59.823Z] GEN 03:21:59.484 - Found test. Project: 'openjdk.test.modularity' class: 'InternalAPIs.class' Dir: 'C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin' [2024-11-21T03:21:59.823Z] GEN 03:21:59.497 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.InternalAPIs' [2024-11-21T03:21:59.823Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2024-11-21T03:21:59.823Z] GEN C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayService [2024-11-21T03:21:59.823Z] GEN C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper [2024-11-21T03:21:59.823Z] GEN C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl1 [2024-11-21T03:21:59.823Z] GEN C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet [2024-11-21T03:21:59.823Z] GEN C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello [2024-11-21T03:21:59.823Z] GEN C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola [2024-11-21T03:21:59.823Z] GEN C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl2 [2024-11-21T03:21:59.823Z] GEN C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hi [2024-11-21T03:21:59.823Z] GEN C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override [2024-11-21T03:21:59.823Z] GEN C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override-new [2024-11-21T03:21:59.823Z] GEN C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl3 [2024-11-21T03:21:59.823Z] GEN C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl4 [2024-11-21T03:21:59.823Z] GEN C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common [2024-11-21T03:21:59.823Z] GEN C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests [2024-11-21T03:21:59.823Z] GEN C:\\jenkins\\workspace\\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin [2024-11-21T03:21:59.823Z] GEN C:\\jenkins\\workspace\\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\\jvmtest\\system\\STF\\stf.core\\bin [2024-11-21T03:21:59.823Z] GEN c:/jenkins/testDependency/system_lib/log4j/log4j-api.jar [2024-11-21T03:21:59.823Z] GEN c:/jenkins/testDependency/system_lib/log4j/log4j-core.jar [2024-11-21T03:21:59.823Z] GEN c:/jenkins/testDependency/system_lib/junit/junit.jar [2024-11-21T03:21:59.823Z] GEN Java lib directory does not exist: C:\Jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jdkbinary\lib [2024-11-21T03:21:59.823Z] GEN 03:21:59.727 - Using Mode NoOptions. Values = '' [2024-11-21T03:22:00.149Z] GEN 03:21:59.817 - [2024-11-21T03:22:00.149Z] GEN 03:21:59.818 - Test command summary: [2024-11-21T03:22:00.149Z] GEN 03:21:59.818 - Step Stage Command Description [2024-11-21T03:22:00.149Z] GEN 03:21:59.819 - -----+--------+-----------------+------------ [2024-11-21T03:22:00.149Z] GEN 03:21:59.819 - 1 execute Run java Run critical internal APIs test by accessing the critical exported APIs from an unnamed module or classpath [2024-11-21T03:22:00.149Z] GEN 03:21:59.819 - 2 execute Run java Run critical internal APIs test by accessing the critical exported APIs from a module [2024-11-21T03:22:00.149Z] GEN 03:21:59.819 - 3 execute jar Create tests jar [2024-11-21T03:22:00.149Z] GEN 03:21:59.819 - 4 execute Run java Run critical internal APIs test by accessing the critical exported APIs from a modular jar [2024-11-21T03:22:00.149Z] GEN 03:21:59.819 - 5 execute jar create comTest.jar [2024-11-21T03:22:00.149Z] GEN 03:21:59.819 - 6 execute Run java Run critical internal APIs test by accessing the critical exported APIs from an automatic module [2024-11-21T03:22:00.149Z] STF 03:21:59.863 - [2024-11-21T03:22:00.149Z] STF 03:21:59.863 - Script generation completed [2024-11-21T03:22:00.149Z] STF 03:21:59.863 - [2024-11-21T03:22:00.149Z] STF 03:21:59.864 - [2024-11-21T03:22:00.149Z] STF 03:21:59.864 - ======================= S E T U P ======================= [2024-11-21T03:22:00.149Z] STF 03:21:59.865 - Running setup: perl C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17321575722429\InternalAPIs_1/20241121-032158-InternalAPIs/setUp.pl [2024-11-21T03:22:00.149Z] STF 03:21:59.994 - SETUP stage completed [2024-11-21T03:22:00.149Z] STF 03:22:00.009 - [2024-11-21T03:22:00.149Z] STF 03:22:00.009 - ==================== E X E C U T E - ==================== [2024-11-21T03:22:00.149Z] STF 03:22:00.009 - Running execute: perl C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17321575722429\InternalAPIs_1/20241121-032158-InternalAPIs/execute.pl [2024-11-21T03:22:00.478Z] STF 03:22:00.149 - [2024-11-21T03:22:00.478Z] STF 03:22:00.149 - Java version [2024-11-21T03:22:00.478Z] STF 03:22:00.149 - Running: c:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java -version [2024-11-21T03:22:00.478Z] Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-21T03:22:00.478Z] openjdk version "21.0.6-beta" 2025-01-21 [2024-11-21T03:22:00.478Z] OpenJDK Runtime Environment Temurin-21.0.6+4-202411202006 (build 21.0.6-beta+4-ea) [2024-11-21T03:22:00.478Z] OpenJDK 64-Bit Server VM Temurin-21.0.6+4-202411202006 (build 21.0.6-beta+4-ea, mixed mode, sharing) [2024-11-21T03:22:00.478Z] STF 03:22:00.243 - [2024-11-21T03:22:00.478Z] STF 03:22:00.243 - +------ Step 1 - Run critical internal APIs test by accessing the critical exported APIs from an unnamed module or classpath [2024-11-21T03:22:00.478Z] STF 03:22:00.243 - | Run foreground process [2024-11-21T03:22:00.478Z] STF 03:22:00.243 - | Program: c:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java [2024-11-21T03:22:00.478Z] STF 03:22:00.243 - | Mnemonic: T1 [2024-11-21T03:22:00.478Z] STF 03:22:00.243 - | Echo: ECHO_ON [2024-11-21T03:22:00.478Z] STF 03:22:00.243 - | Expectation: CLEAN_RUN within 1m [2024-11-21T03:22:00.478Z] STF 03:22:00.243 - | [2024-11-21T03:22:00.479Z] STF 03:22:00.243 - Running command: c:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java -XX:-UseCompressedOops -classpath C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests\com.test;c:/jenkins/testDependency/system_lib/junit/junit.jar;c:/jenkins/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestJDKInternalAPIs [2024-11-21T03:22:00.479Z] STF 03:22:00.243 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17321575722429/InternalAPIs_1/20241121-032158-InternalAPIs/results/1.T1.stderr [2024-11-21T03:22:00.479Z] STF 03:22:00.243 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17321575722429/InternalAPIs_1/20241121-032158-InternalAPIs/results/1.T1.stdout [2024-11-21T03:22:00.479Z] STF 03:22:00.269 - Monitoring processes: T1 [2024-11-21T03:22:00.479Z] T1 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-21T03:22:00.479Z] T1 JUnit version 4.12 [2024-11-21T03:22:00.809Z] T1 . [2024-11-21T03:22:00.809Z] T1 Time: 0.009 [2024-11-21T03:22:00.809Z] T1 [2024-11-21T03:22:00.809Z] T1 OK (1 test) [2024-11-21T03:22:00.809Z] T1 [2024-11-21T03:22:00.809Z] STF 03:22:00.545 - Monitoring Report Summary: [2024-11-21T03:22:00.809Z] STF 03:22:00.545 - o Process T1 ended with the expected exit code (0) [2024-11-21T03:22:00.809Z] STF 03:22:00.545 - [2024-11-21T03:22:00.809Z] STF 03:22:00.545 - +------ Step 2 - Run critical internal APIs test by accessing the critical exported APIs from a module [2024-11-21T03:22:00.809Z] STF 03:22:00.545 - | Run foreground process [2024-11-21T03:22:00.809Z] STF 03:22:00.545 - | Program: c:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java [2024-11-21T03:22:00.809Z] STF 03:22:00.545 - | Mnemonic: T2 [2024-11-21T03:22:00.809Z] STF 03:22:00.545 - | Echo: ECHO_ON [2024-11-21T03:22:00.809Z] STF 03:22:00.545 - | Expectation: CLEAN_RUN within 1m [2024-11-21T03:22:00.809Z] STF 03:22:00.545 - | [2024-11-21T03:22:00.809Z] STF 03:22:00.545 - Running command: c:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java --add-reads com.test=ALL-UNNAMED --module-path C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods;C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests --add-modules=com.test -XX:-UseCompressedOops -classpath c:/jenkins/testDependency/system_lib/junit/junit.jar;c:/jenkins/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestJDKInternalAPIs [2024-11-21T03:22:00.809Z] STF 03:22:00.545 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17321575722429/InternalAPIs_1/20241121-032158-InternalAPIs/results/2.T2.stderr [2024-11-21T03:22:00.809Z] STF 03:22:00.545 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17321575722429/InternalAPIs_1/20241121-032158-InternalAPIs/results/2.T2.stdout [2024-11-21T03:22:00.809Z] STF 03:22:00.552 - Monitoring processes: T2 [2024-11-21T03:22:00.810Z] T2 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-21T03:22:00.810Z] T2 JUnit version 4.12 [2024-11-21T03:22:01.133Z] T2 . [2024-11-21T03:22:01.133Z] T2 Time: 0.006 [2024-11-21T03:22:01.133Z] T2 [2024-11-21T03:22:01.133Z] T2 OK (1 test) [2024-11-21T03:22:01.133Z] T2 [2024-11-21T03:22:01.133Z] STF 03:22:00.875 - Monitoring Report Summary: [2024-11-21T03:22:01.133Z] STF 03:22:00.875 - o Process T2 ended with the expected exit code (0) [2024-11-21T03:22:01.133Z] STF 03:22:00.875 - [2024-11-21T03:22:01.133Z] STF 03:22:00.875 - +------ Step 3 - Create tests jar [2024-11-21T03:22:01.133Z] STF 03:22:00.875 - | Create modular jar [2024-11-21T03:22:01.133Z] STF 03:22:00.875 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2024-11-21T03:22:01.133Z] STF 03:22:00.875 - | ModuleVersion: null [2024-11-21T03:22:01.133Z] STF 03:22:00.875 - | MainClass: null [2024-11-21T03:22:01.133Z] STF 03:22:00.875 - | HashModules: null [2024-11-21T03:22:01.133Z] STF 03:22:00.875 - | [2024-11-21T03:22:01.133Z] STF 03:22:00.876 - Running command: c:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17321575722429/InternalAPIs_1/20241121-032158-InternalAPIs/modules/3.com.test.jar -C C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests\com.test . [2024-11-21T03:22:01.133Z] STF 03:22:00.876 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17321575722429/InternalAPIs_1/20241121-032158-InternalAPIs/results/3.CMJ.stderr [2024-11-21T03:22:01.133Z] STF 03:22:00.876 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17321575722429/InternalAPIs_1/20241121-032158-InternalAPIs/results/3.CMJ.stdout [2024-11-21T03:22:01.133Z] STF 03:22:00.881 - Monitoring processes: CMJ [2024-11-21T03:22:01.133Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-21T03:22:01.454Z] STF 03:22:01.239 - Monitoring Report Summary: [2024-11-21T03:22:01.454Z] STF 03:22:01.239 - o Process CMJ ended with the expected exit code (0) [2024-11-21T03:22:01.454Z] STF 03:22:01.240 - Created modular jar: 3.com.test.jar [2024-11-21T03:22:01.454Z] STF 03:22:01.240 - [2024-11-21T03:22:01.454Z] STF 03:22:01.240 - +------ Step 4 - Run critical internal APIs test by accessing the critical exported APIs from a modular jar [2024-11-21T03:22:01.454Z] STF 03:22:01.240 - | Run foreground process [2024-11-21T03:22:01.454Z] STF 03:22:01.240 - | Program: c:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java [2024-11-21T03:22:01.454Z] STF 03:22:01.240 - | Mnemonic: T3 [2024-11-21T03:22:01.454Z] STF 03:22:01.240 - | Echo: ECHO_ON [2024-11-21T03:22:01.454Z] STF 03:22:01.240 - | Expectation: CLEAN_RUN within 1m [2024-11-21T03:22:01.454Z] STF 03:22:01.240 - | [2024-11-21T03:22:01.455Z] STF 03:22:01.240 - Running command: c:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java --add-reads com.test=ALL-UNNAMED --module-path C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17321575722429/InternalAPIs_1/20241121-032158-InternalAPIs/modules/3.com.test.jar;C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods --add-modules=com.test -XX:-UseCompressedOops -classpath c:/jenkins/testDependency/system_lib/junit/junit.jar;c:/jenkins/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestJDKInternalAPIs [2024-11-21T03:22:01.455Z] STF 03:22:01.240 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17321575722429/InternalAPIs_1/20241121-032158-InternalAPIs/results/4.T3.stderr [2024-11-21T03:22:01.455Z] STF 03:22:01.240 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17321575722429/InternalAPIs_1/20241121-032158-InternalAPIs/results/4.T3.stdout [2024-11-21T03:22:01.455Z] STF 03:22:01.247 - Monitoring processes: T3 [2024-11-21T03:22:01.455Z] T3 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-21T03:22:01.790Z] T3 JUnit version 4.12 [2024-11-21T03:22:01.790Z] T3 . [2024-11-21T03:22:01.790Z] T3 Time: 0.007 [2024-11-21T03:22:01.790Z] T3 [2024-11-21T03:22:01.790Z] T3 OK (1 test) [2024-11-21T03:22:01.790Z] T3 [2024-11-21T03:22:01.790Z] STF 03:22:01.669 - Monitoring Report Summary: [2024-11-21T03:22:01.790Z] STF 03:22:01.669 - o Process T3 ended with the expected exit code (0) [2024-11-21T03:22:01.790Z] STF 03:22:01.669 - [2024-11-21T03:22:01.790Z] STF 03:22:01.669 - +------ Step 5 - create comTest.jar [2024-11-21T03:22:01.790Z] STF 03:22:01.669 - | Create project jar [2024-11-21T03:22:01.790Z] STF 03:22:01.669 - | ProjectSpec: openjdk.test.modularity/bin/tests/com.test [2024-11-21T03:22:01.790Z] STF 03:22:01.669 - | ArchiveSpec: ["net"] [2024-11-21T03:22:01.790Z] STF 03:22:01.669 - | [2024-11-21T03:22:01.790Z] STF 03:22:01.670 - Running command: c:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17321575722429/InternalAPIs_1/20241121-032158-InternalAPIs/tmp/com.test.jar -C C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests\com.test net [2024-11-21T03:22:01.791Z] STF 03:22:01.670 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17321575722429/InternalAPIs_1/20241121-032158-InternalAPIs/results/5.JAR.stderr [2024-11-21T03:22:01.791Z] STF 03:22:01.670 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17321575722429/InternalAPIs_1/20241121-032158-InternalAPIs/results/5.JAR.stdout [2024-11-21T03:22:01.791Z] STF 03:22:01.676 - Monitoring processes: JAR [2024-11-21T03:22:01.791Z] JAR stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-21T03:22:02.114Z] STF 03:22:01.953 - Monitoring Report Summary: [2024-11-21T03:22:02.114Z] STF 03:22:01.953 - o Process JAR ended with the expected exit code (0) [2024-11-21T03:22:02.114Z] STF 03:22:01.953 - Created project jar: com.test.jar [2024-11-21T03:22:02.114Z] STF 03:22:01.953 - [2024-11-21T03:22:02.114Z] STF 03:22:01.953 - +------ Step 6 - Run critical internal APIs test by accessing the critical exported APIs from an automatic module [2024-11-21T03:22:02.114Z] STF 03:22:01.953 - | Run foreground process [2024-11-21T03:22:02.114Z] STF 03:22:01.953 - | Program: c:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java [2024-11-21T03:22:02.114Z] STF 03:22:01.953 - | Mnemonic: T4 [2024-11-21T03:22:02.114Z] STF 03:22:01.953 - | Echo: ECHO_ON [2024-11-21T03:22:02.114Z] STF 03:22:01.953 - | Expectation: CLEAN_RUN within 1m [2024-11-21T03:22:02.114Z] STF 03:22:01.953 - | [2024-11-21T03:22:02.114Z] STF 03:22:01.954 - Running command: c:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java --module-path C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17321575722429/InternalAPIs_1/20241121-032158-InternalAPIs/tmp/com.test.jar;C:\jenkins\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods --add-modules=com.test -XX:-UseCompressedOops -classpath c:/jenkins/testDependency/system_lib/junit/junit.jar;c:/jenkins/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestJDKInternalAPIs [2024-11-21T03:22:02.114Z] STF 03:22:01.954 - Redirecting stderr to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17321575722429/InternalAPIs_1/20241121-032158-InternalAPIs/results/6.T4.stderr [2024-11-21T03:22:02.114Z] STF 03:22:01.954 - Redirecting stdout to C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17321575722429/InternalAPIs_1/20241121-032158-InternalAPIs/results/6.T4.stdout [2024-11-21T03:22:02.114Z] STF 03:22:01.960 - Monitoring processes: T4 [2024-11-21T03:22:02.114Z] T4 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-21T03:22:02.436Z] T4 JUnit version 4.12 [2024-11-21T03:22:02.436Z] T4 . [2024-11-21T03:22:02.436Z] T4 Time: 0.007 [2024-11-21T03:22:02.436Z] T4 [2024-11-21T03:22:02.436Z] T4 OK (1 test) [2024-11-21T03:22:02.436Z] T4 [2024-11-21T03:22:02.436Z] STF 03:22:02.396 - Monitoring Report Summary: [2024-11-21T03:22:02.436Z] STF 03:22:02.396 - o Process T4 ended with the expected exit code (0) [2024-11-21T03:22:02.436Z] STF 03:22:02.396 - EXECUTE stage completed [2024-11-21T03:22:02.782Z] STF 03:22:02.434 - [2024-11-21T03:22:02.782Z] STF 03:22:02.434 - ==================== T E A R D O W N ==================== [2024-11-21T03:22:02.782Z] STF 03:22:02.434 - Running teardown: perl C:/jenkins/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17321575722429\InternalAPIs_1/20241121-032158-InternalAPIs/tearDown.pl [2024-11-21T03:22:02.782Z] STF 03:22:02.583 - TEARDOWN stage completed [2024-11-21T03:22:02.782Z] STF 03:22:02.598 - [2024-11-21T03:22:02.782Z] STF 03:22:02.598 - ===================== R E S U L T S ===================== [2024-11-21T03:22:02.782Z] STF 03:22:02.598 - Stage results: [2024-11-21T03:22:02.782Z] STF 03:22:02.598 - setUp: pass [2024-11-21T03:22:02.782Z] STF 03:22:02.598 - execute: pass [2024-11-21T03:22:02.782Z] STF 03:22:02.598 - teardown: pass [2024-11-21T03:22:02.782Z] STF 03:22:02.598 - [2024-11-21T03:22:02.782Z] STF 03:22:02.598 - Overall result: PASSED [2024-11-21T03:22:02.782Z] ----------------------------------- [2024-11-21T03:22:02.782Z] InternalAPIs_1_PASSED [2024-11-21T03:22:02.782Z] ----------------------------------- [2024-11-21T03:22:02.782Z] [2024-11-21T03:22:02.782Z] TEST TEARDOWN: [2024-11-21T03:22:02.782Z] Nothing to be done for teardown. [2024-11-21T03:22:03.093Z] InternalAPIs_1 Finish Time: Thu Nov 21 03:22:02 2024 Epoch Time (ms): 1732159322835