InternalAPIs_0

[2024-10-31T00:38:40.513Z] Running test InternalAPIs_0 ... [2024-10-31T00:38:40.513Z] =============================================== [2024-10-31T00:38:40.802Z] InternalAPIs_0 Start Time: Thu Oct 31 00:38:40 2024 Epoch Time (ms): 1730335120656 [2024-10-31T00:38:41.113Z] variation: Mode150 [2024-10-31T00:38:41.113Z] JVM_OPTIONS: -XX:+UseCompressedOops [2024-10-31T00:38:41.113Z] { \ [2024-10-31T00:38:41.113Z] echo ""; echo "TEST SETUP:"; \ [2024-10-31T00:38:41.113Z] echo "Nothing to be done for setup."; \ [2024-10-31T00:38:41.113Z] mkdir -p "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17303333119957\\InternalAPIs_0"; \ [2024-10-31T00:38:41.113Z] cd "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17303333119957\\InternalAPIs_0"; \ [2024-10-31T00:38:41.113Z] echo ""; echo "TESTING:"; \ [2024-10-31T00:38:41.113Z] 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_17303333119957\\InternalAPIs_0" -test=InternalAPIs; \ [2024-10-31T00:38:41.113Z] 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_17303333119957\\InternalAPIs_0"; else echo "-----------------------------------"; echo "InternalAPIs_0""_FAILED"; echo "-----------------------------------"; fi; \ [2024-10-31T00:38:41.113Z] echo ""; echo "TEST TEARDOWN:"; \ [2024-10-31T00:38:41.113Z] echo "Nothing to be done for teardown."; \ [2024-10-31T00:38:41.113Z] } 2>&1 | tee -a "C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\\TKG\\output_17303333119957\\TestTargetResult"; [2024-10-31T00:38:41.434Z] [2024-10-31T00:38:41.434Z] TEST SETUP: [2024-10-31T00:38:41.434Z] Nothing to be done for setup. [2024-10-31T00:38:41.434Z] [2024-10-31T00:38:41.434Z] TESTING: [2024-10-31T00:38:41.752Z] STF 00:38:41.624 - ========================= S T F ========================= [2024-10-31T00:38:41.752Z] 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_17303333119957\InternalAPIs_0 [2024-10-31T00:38:42.053Z] There is 32538 Mb free [2024-10-31T00:38:42.053Z] STF 00:38:41.702 - ================== G E N E R A T I O N ================== [2024-10-31T00:38:42.053Z] STF 00:38:41.707 - Checking JVM: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image [2024-10-31T00:38:42.053Z] STF 00:38:41.707 - 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_17303333119957\InternalAPIs_0/20241031-003841-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_17303333119957\InternalAPIs_0/20241031-003841-InternalAPIs" [2024-10-31T00:38:42.053Z] GEN stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-10-31T00:38:43.090Z] GEN 00:38:42.984 - 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-10-31T00:38:43.090Z] GEN 00:38:42.999 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.InternalAPIs' [2024-10-31T00:38:43.390Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2024-10-31T00:38:43.390Z] 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-10-31T00:38:43.390Z] 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-10-31T00:38:43.390Z] 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-10-31T00:38:43.390Z] 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-10-31T00:38:43.390Z] 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-10-31T00:38:43.390Z] 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-10-31T00:38:43.390Z] 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-10-31T00:38:43.390Z] 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-10-31T00:38:43.390Z] 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-10-31T00:38:43.390Z] 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-10-31T00:38:43.390Z] 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-10-31T00:38:43.390Z] 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-10-31T00:38:43.390Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common [2024-10-31T00:38:43.390Z] GEN C:\Users\jenkins\workspace\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests [2024-10-31T00:38:43.390Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin [2024-10-31T00:38:43.390Z] GEN C:\\Users\\jenkins\\workspace\\Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1\\jvmtest\\system\\STF\\stf.core\\bin [2024-10-31T00:38:43.390Z] GEN C:/Users/jenkins/testDependency/system_lib/log4j/log4j-api.jar [2024-10-31T00:38:43.390Z] GEN C:/Users/jenkins/testDependency/system_lib/log4j/log4j-core.jar [2024-10-31T00:38:43.390Z] GEN C:/Users/jenkins/testDependency/system_lib/junit/junit.jar [2024-10-31T00:38:43.390Z] GEN 00:38:43.249 - Using Mode NoOptions. Values = '' [2024-10-31T00:38:43.390Z] GEN 00:38:43.343 - [2024-10-31T00:38:43.390Z] GEN 00:38:43.343 - Test command summary: [2024-10-31T00:38:43.390Z] GEN 00:38:43.343 - Step Stage Command Description [2024-10-31T00:38:43.390Z] GEN 00:38:43.343 - -----+--------+-----------------+------------ [2024-10-31T00:38:43.390Z] GEN 00:38:43.343 - 1 execute Run java Run critical internal APIs test by accessing the critical exported APIs from an unnamed module or classpath [2024-10-31T00:38:43.390Z] GEN 00:38:43.343 - 2 execute Run java Run critical internal APIs test by accessing the critical exported APIs from a module [2024-10-31T00:38:43.390Z] GEN 00:38:43.343 - 3 execute jar Create tests jar [2024-10-31T00:38:43.390Z] GEN 00:38:43.343 - 4 execute Run java Run critical internal APIs test by accessing the critical exported APIs from a modular jar [2024-10-31T00:38:43.391Z] GEN 00:38:43.343 - 5 execute jar create comTest.jar [2024-10-31T00:38:43.391Z] GEN 00:38:43.343 - 6 execute Run java Run critical internal APIs test by accessing the critical exported APIs from an automatic module [2024-10-31T00:38:43.689Z] STF 00:38:43.443 - [2024-10-31T00:38:43.689Z] STF 00:38:43.444 - Script generation completed [2024-10-31T00:38:43.689Z] STF 00:38:43.444 - [2024-10-31T00:38:43.689Z] STF 00:38:43.446 - [2024-10-31T00:38:43.689Z] STF 00:38:43.446 - ======================= S E T U P ======================= [2024-10-31T00:38:43.689Z] STF 00:38:43.446 - Running setup: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17303333119957\InternalAPIs_0/20241031-003841-InternalAPIs/setUp.pl [2024-10-31T00:38:43.990Z] STF 00:38:43.812 - SETUP stage completed [2024-10-31T00:38:43.990Z] STF 00:38:43.861 - [2024-10-31T00:38:43.990Z] STF 00:38:43.861 - ==================== E X E C U T E - ==================== [2024-10-31T00:38:43.990Z] STF 00:38:43.861 - Running execute: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17303333119957\InternalAPIs_0/20241031-003841-InternalAPIs/execute.pl [2024-10-31T00:38:44.291Z] STF 00:38:44.234 - [2024-10-31T00:38:44.291Z] STF 00:38:44.234 - Java version [2024-10-31T00:38:44.291Z] STF 00:38:44.234 - Running: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/java -version [2024-10-31T00:38:44.591Z] Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-10-31T00:38:44.591Z] openjdk version "21.0.6-beta" 2025-01-21 [2024-10-31T00:38:44.591Z] OpenJDK Runtime Environment Temurin-21.0.6+1-202410302002 (build 21.0.6-beta+1-ea) [2024-10-31T00:38:44.591Z] OpenJDK 64-Bit Server VM Temurin-21.0.6+1-202410302002 (build 21.0.6-beta+1-ea, mixed mode) [2024-10-31T00:38:44.591Z] STF 00:38:44.369 - [2024-10-31T00:38:44.591Z] STF 00:38:44.369 - +------ Step 1 - Run critical internal APIs test by accessing the critical exported APIs from an unnamed module or classpath [2024-10-31T00:38:44.591Z] STF 00:38:44.369 - | Run foreground process [2024-10-31T00:38:44.591Z] STF 00:38:44.370 - | Program: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/java [2024-10-31T00:38:44.591Z] STF 00:38:44.370 - | Mnemonic: T1 [2024-10-31T00:38:44.591Z] STF 00:38:44.370 - | Echo: ECHO_ON [2024-10-31T00:38:44.591Z] STF 00:38:44.370 - | Expectation: CLEAN_RUN within 1m [2024-10-31T00:38:44.591Z] STF 00:38:44.370 - | [2024-10-31T00:38:44.591Z] STF 00:38:44.371 - 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-10-31T00:38:44.591Z] STF 00:38:44.371 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17303333119957/InternalAPIs_0/20241031-003841-InternalAPIs/results/1.T1.stderr [2024-10-31T00:38:44.591Z] STF 00:38:44.371 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17303333119957/InternalAPIs_0/20241031-003841-InternalAPIs/results/1.T1.stdout [2024-10-31T00:38:44.591Z] STF 00:38:44.440 - Monitoring processes: T1 [2024-10-31T00:38:44.592Z] T1 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-10-31T00:38:44.891Z] T1 JUnit version 4.12 [2024-10-31T00:38:44.891Z] T1 . [2024-10-31T00:38:44.891Z] T1 Time: 0 [2024-10-31T00:38:44.891Z] T1 [2024-10-31T00:38:44.891Z] T1 OK (1 test) [2024-10-31T00:38:44.891Z] T1 [2024-10-31T00:38:44.891Z] STF 00:38:44.816 - Monitoring Report Summary: [2024-10-31T00:38:44.891Z] STF 00:38:44.817 - o Process T1 ended with the expected exit code (0) [2024-10-31T00:38:44.891Z] STF 00:38:44.817 - [2024-10-31T00:38:44.891Z] STF 00:38:44.817 - +------ Step 2 - Run critical internal APIs test by accessing the critical exported APIs from a module [2024-10-31T00:38:44.891Z] STF 00:38:44.817 - | Run foreground process [2024-10-31T00:38:44.891Z] STF 00:38:44.818 - | Program: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/java [2024-10-31T00:38:44.891Z] STF 00:38:44.818 - | Mnemonic: T2 [2024-10-31T00:38:44.891Z] STF 00:38:44.818 - | Echo: ECHO_ON [2024-10-31T00:38:44.891Z] STF 00:38:44.818 - | Expectation: CLEAN_RUN within 1m [2024-10-31T00:38:44.891Z] STF 00:38:44.818 - | [2024-10-31T00:38:44.891Z] STF 00:38:44.818 - 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-10-31T00:38:44.891Z] STF 00:38:44.819 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17303333119957/InternalAPIs_0/20241031-003841-InternalAPIs/results/2.T2.stderr [2024-10-31T00:38:44.891Z] STF 00:38:44.819 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17303333119957/InternalAPIs_0/20241031-003841-InternalAPIs/results/2.T2.stdout [2024-10-31T00:38:44.891Z] STF 00:38:44.827 - Monitoring processes: T2 [2024-10-31T00:38:45.210Z] T2 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-10-31T00:38:45.210Z] T2 JUnit version 4.12 [2024-10-31T00:38:45.510Z] T2 . [2024-10-31T00:38:45.510Z] T2 Time: 0 [2024-10-31T00:38:45.510Z] T2 [2024-10-31T00:38:45.510Z] T2 OK (1 test) [2024-10-31T00:38:45.510Z] T2 [2024-10-31T00:38:45.510Z] STF 00:38:45.252 - Monitoring Report Summary: [2024-10-31T00:38:45.510Z] STF 00:38:45.252 - o Process T2 ended with the expected exit code (0) [2024-10-31T00:38:45.510Z] STF 00:38:45.253 - [2024-10-31T00:38:45.510Z] STF 00:38:45.253 - +------ Step 3 - Create tests jar [2024-10-31T00:38:45.510Z] STF 00:38:45.253 - | Create modular jar [2024-10-31T00:38:45.510Z] STF 00:38:45.253 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2024-10-31T00:38:45.510Z] STF 00:38:45.253 - | ModuleVersion: null [2024-10-31T00:38:45.510Z] STF 00:38:45.254 - | MainClass: null [2024-10-31T00:38:45.510Z] STF 00:38:45.254 - | HashModules: null [2024-10-31T00:38:45.510Z] STF 00:38:45.254 - | [2024-10-31T00:38:45.510Z] STF 00:38:45.254 - 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_17303333119957/InternalAPIs_0/20241031-003841-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-10-31T00:38:45.510Z] STF 00:38:45.254 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17303333119957/InternalAPIs_0/20241031-003841-InternalAPIs/results/3.CMJ.stderr [2024-10-31T00:38:45.511Z] STF 00:38:45.254 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17303333119957/InternalAPIs_0/20241031-003841-InternalAPIs/results/3.CMJ.stdout [2024-10-31T00:38:45.511Z] STF 00:38:45.263 - Monitoring processes: CMJ [2024-10-31T00:38:45.511Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-10-31T00:38:45.823Z] STF 00:38:45.722 - Monitoring Report Summary: [2024-10-31T00:38:45.823Z] STF 00:38:45.722 - o Process CMJ ended with the expected exit code (0) [2024-10-31T00:38:45.823Z] STF 00:38:45.723 - Created modular jar: 3.com.test.jar [2024-10-31T00:38:45.823Z] STF 00:38:45.723 - [2024-10-31T00:38:45.823Z] STF 00:38:45.723 - +------ Step 4 - Run critical internal APIs test by accessing the critical exported APIs from a modular jar [2024-10-31T00:38:45.823Z] STF 00:38:45.723 - | Run foreground process [2024-10-31T00:38:45.823Z] STF 00:38:45.723 - | Program: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/java [2024-10-31T00:38:45.823Z] STF 00:38:45.723 - | Mnemonic: T3 [2024-10-31T00:38:45.823Z] STF 00:38:45.723 - | Echo: ECHO_ON [2024-10-31T00:38:45.823Z] STF 00:38:45.723 - | Expectation: CLEAN_RUN within 1m [2024-10-31T00:38:45.823Z] STF 00:38:45.723 - | [2024-10-31T00:38:45.823Z] STF 00:38:45.724 - 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_17303333119957/InternalAPIs_0/20241031-003841-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-10-31T00:38:45.823Z] STF 00:38:45.724 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17303333119957/InternalAPIs_0/20241031-003841-InternalAPIs/results/4.T3.stderr [2024-10-31T00:38:45.823Z] STF 00:38:45.724 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17303333119957/InternalAPIs_0/20241031-003841-InternalAPIs/results/4.T3.stdout [2024-10-31T00:38:45.823Z] STF 00:38:45.733 - Monitoring processes: T3 [2024-10-31T00:38:46.125Z] T3 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-10-31T00:38:46.125Z] T3 JUnit version 4.12 [2024-10-31T00:38:46.438Z] T3 . [2024-10-31T00:38:46.438Z] T3 Time: 0 [2024-10-31T00:38:46.438Z] T3 [2024-10-31T00:38:46.438Z] T3 OK (1 test) [2024-10-31T00:38:46.438Z] T3 [2024-10-31T00:38:46.438Z] STF 00:38:46.172 - Monitoring Report Summary: [2024-10-31T00:38:46.438Z] STF 00:38:46.172 - o Process T3 ended with the expected exit code (0) [2024-10-31T00:38:46.438Z] STF 00:38:46.173 - [2024-10-31T00:38:46.438Z] STF 00:38:46.173 - +------ Step 5 - create comTest.jar [2024-10-31T00:38:46.438Z] STF 00:38:46.173 - | Create project jar [2024-10-31T00:38:46.438Z] STF 00:38:46.173 - | ProjectSpec: openjdk.test.modularity/bin/tests/com.test [2024-10-31T00:38:46.438Z] STF 00:38:46.173 - | ArchiveSpec: ["net"] [2024-10-31T00:38:46.438Z] STF 00:38:46.173 - | [2024-10-31T00:38:46.438Z] STF 00:38:46.174 - 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_17303333119957/InternalAPIs_0/20241031-003841-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-10-31T00:38:46.438Z] STF 00:38:46.174 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17303333119957/InternalAPIs_0/20241031-003841-InternalAPIs/results/5.JAR.stderr [2024-10-31T00:38:46.438Z] STF 00:38:46.174 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17303333119957/InternalAPIs_0/20241031-003841-InternalAPIs/results/5.JAR.stdout [2024-10-31T00:38:46.438Z] STF 00:38:46.182 - Monitoring processes: JAR [2024-10-31T00:38:46.438Z] JAR stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-10-31T00:38:46.740Z] STF 00:38:46.562 - Monitoring Report Summary: [2024-10-31T00:38:46.740Z] STF 00:38:46.562 - o Process JAR ended with the expected exit code (0) [2024-10-31T00:38:46.740Z] STF 00:38:46.563 - Created project jar: com.test.jar [2024-10-31T00:38:46.740Z] STF 00:38:46.563 - [2024-10-31T00:38:46.740Z] STF 00:38:46.563 - +------ Step 6 - Run critical internal APIs test by accessing the critical exported APIs from an automatic module [2024-10-31T00:38:46.740Z] STF 00:38:46.563 - | Run foreground process [2024-10-31T00:38:46.740Z] STF 00:38:46.563 - | Program: C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/jdkbinary/j2sdk-image/bin/java [2024-10-31T00:38:46.740Z] STF 00:38:46.563 - | Mnemonic: T4 [2024-10-31T00:38:46.740Z] STF 00:38:46.563 - | Echo: ECHO_ON [2024-10-31T00:38:46.740Z] STF 00:38:46.563 - | Expectation: CLEAN_RUN within 1m [2024-10-31T00:38:46.740Z] STF 00:38:46.563 - | [2024-10-31T00:38:46.741Z] STF 00:38:46.564 - 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_17303333119957/InternalAPIs_0/20241031-003841-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-10-31T00:38:46.741Z] STF 00:38:46.564 - Redirecting stderr to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17303333119957/InternalAPIs_0/20241031-003841-InternalAPIs/results/6.T4.stderr [2024-10-31T00:38:46.741Z] STF 00:38:46.564 - Redirecting stdout to C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/TKG/output_17303333119957/InternalAPIs_0/20241031-003841-InternalAPIs/results/6.T4.stdout [2024-10-31T00:38:46.741Z] STF 00:38:46.572 - Monitoring processes: T4 [2024-10-31T00:38:46.741Z] T4 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-10-31T00:38:47.065Z] T4 JUnit version 4.12 [2024-10-31T00:38:47.065Z] T4 . [2024-10-31T00:38:47.365Z] T4 Time: 0.016 [2024-10-31T00:38:47.365Z] T4 [2024-10-31T00:38:47.365Z] T4 OK (1 test) [2024-10-31T00:38:47.365Z] T4 [2024-10-31T00:38:47.365Z] STF 00:38:47.038 - Monitoring Report Summary: [2024-10-31T00:38:47.365Z] STF 00:38:47.038 - o Process T4 ended with the expected exit code (0) [2024-10-31T00:38:47.365Z] STF 00:38:47.039 - EXECUTE stage completed [2024-10-31T00:38:47.365Z] STF 00:38:47.091 - [2024-10-31T00:38:47.365Z] STF 00:38:47.091 - ==================== T E A R D O W N ==================== [2024-10-31T00:38:47.365Z] STF 00:38:47.091 - Running teardown: perl C:/Users/jenkins/workspace/Test_openjdk21_hs_sanity.system_aarch64_windows_testList_1/aqa-tests/\TKG\output_17303333119957\InternalAPIs_0/20241031-003841-InternalAPIs/tearDown.pl [2024-10-31T00:38:47.685Z] STF 00:38:47.468 - TEARDOWN stage completed [2024-10-31T00:38:47.685Z] STF 00:38:47.519 - [2024-10-31T00:38:47.685Z] STF 00:38:47.519 - ===================== R E S U L T S ===================== [2024-10-31T00:38:47.685Z] STF 00:38:47.519 - Stage results: [2024-10-31T00:38:47.685Z] STF 00:38:47.520 - setUp: pass [2024-10-31T00:38:47.685Z] STF 00:38:47.520 - execute: pass [2024-10-31T00:38:47.685Z] STF 00:38:47.520 - teardown: pass [2024-10-31T00:38:47.685Z] STF 00:38:47.520 - [2024-10-31T00:38:47.685Z] STF 00:38:47.520 - Overall result: PASSED [2024-10-31T00:38:47.685Z] ----------------------------------- [2024-10-31T00:38:47.685Z] InternalAPIs_0_PASSED [2024-10-31T00:38:47.685Z] ----------------------------------- [2024-10-31T00:38:47.685Z] [2024-10-31T00:38:47.685Z] TEST TEARDOWN: [2024-10-31T00:38:47.685Z] Nothing to be done for teardown. [2024-10-31T00:38:47.972Z] InternalAPIs_0 Finish Time: Thu Oct 31 00:38:47 2024 Epoch Time (ms): 1730335127827