InternalAPIs_1

[2024-10-31T11:23:38.094Z] Running test InternalAPIs_1 ... [2024-10-31T11:23:38.425Z] =============================================== [2024-10-31T11:23:38.425Z] InternalAPIs_1 Start Time: Thu Oct 31 11:23:38 2024 Epoch Time (ms): 1730373818342 [2024-10-31T11:23:38.738Z] variation: Mode650 [2024-10-31T11:23:38.738Z] JVM_OPTIONS: -XX:-UseCompressedOops [2024-10-31T11:23:38.738Z] { \ [2024-10-31T11:23:38.738Z] echo ""; echo "TEST SETUP:"; \ [2024-10-31T11:23:38.738Z] echo "Nothing to be done for setup."; \ [2024-10-31T11:23:38.738Z] mkdir -p "C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17303720357655\\InternalAPIs_1"; \ [2024-10-31T11:23:38.738Z] cd "C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17303720357655\\InternalAPIs_1"; \ [2024-10-31T11:23:38.738Z] echo ""; echo "TESTING:"; \ [2024-10-31T11:23:38.738Z] perl C:/workspace/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:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests///..//jvmtest\\system\\modularity/../\\STF;C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests///..//jvmtest\\system\\modularity/../\\aqa-systemtest""" -systemtest-prereqs="c:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/../../testDependency/system_lib\\" -java-args=' -XX:-UseCompressedOops ' -results-root="C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17303720357655\\InternalAPIs_1" -test=InternalAPIs; \ [2024-10-31T11:23:38.738Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "InternalAPIs_1""_PASSED"; echo "-----------------------------------"; cd C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/; rm -f -r "C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17303720357655\\InternalAPIs_1"; else echo "-----------------------------------"; echo "InternalAPIs_1""_FAILED"; echo "-----------------------------------"; fi; \ [2024-10-31T11:23:38.738Z] echo ""; echo "TEST TEARDOWN:"; \ [2024-10-31T11:23:38.738Z] echo "Nothing to be done for teardown."; \ [2024-10-31T11:23:38.738Z] } 2>&1 | tee -a "C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17303720357655\\TestTargetResult"; [2024-10-31T11:23:39.066Z] [2024-10-31T11:23:39.067Z] TEST SETUP: [2024-10-31T11:23:39.067Z] Nothing to be done for setup. [2024-10-31T11:23:39.067Z] [2024-10-31T11:23:39.067Z] TESTING: [2024-10-31T11:23:39.067Z] STF 11:23:38.933 - ========================= S T F ========================= [2024-10-31T11:23:39.067Z] systemtest-prereqs has been processed, and set to: c:/workspace/testDependency/system_libRetrieving amount of free space on drive containing C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17303720357655\InternalAPIs_1 [2024-10-31T11:23:39.067Z] There is 96450 Mb free [2024-10-31T11:23:39.067Z] STF 11:23:38.996 - ================== G E N E R A T I O N ================== [2024-10-31T11:23:39.067Z] STF 11:23:38.999 - Checking JVM: c:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image [2024-10-31T11:23:39.067Z] STF 11:23:38.999 - Starting process to generate scripts: c:/workspace/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:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/../../testDependency/system_lib\/log4j/log4j-api.jar;c:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/../../testDependency/system_lib\/log4j/log4j-core.jar;C:/workspace/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:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17303720357655\InternalAPIs_1/20241031-112338-InternalAPIs/stf_parameters.properties, , C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17303720357655\InternalAPIs_1/20241031-112338-InternalAPIs" [2024-10-31T11:23:39.396Z] GEN stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-10-31T11:23:39.396Z] GEN [0.026s][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-10-31T11:23:40.530Z] GEN 11:23:40.322 - Found test. Project: 'openjdk.test.modularity' class: 'InternalAPIs.class' Dir: 'C:\workspace\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin' [2024-10-31T11:23:40.530Z] GEN 11:23:40.336 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.InternalAPIs' [2024-10-31T11:23:40.858Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2024-10-31T11:23:40.858Z] GEN C:\workspace\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayService [2024-10-31T11:23:40.858Z] GEN C:\workspace\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.helper [2024-10-31T11:23:40.858Z] GEN C:\workspace\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl1 [2024-10-31T11:23:40.858Z] GEN C:\workspace\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.discreet [2024-10-31T11:23:40.858Z] GEN C:\workspace\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hello [2024-10-31T11:23:40.858Z] GEN C:\workspace\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hola [2024-10-31T11:23:40.858Z] GEN C:\workspace\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\displayServiceImpl2 [2024-10-31T11:23:40.858Z] GEN C:\workspace\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods\com.hi [2024-10-31T11:23:40.858Z] GEN C:\workspace\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override [2024-10-31T11:23:40.858Z] GEN C:\workspace\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-override-new [2024-10-31T11:23:40.858Z] GEN C:\workspace\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl3 [2024-10-31T11:23:40.858Z] GEN C:\workspace\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common\displayServiceImpl4 [2024-10-31T11:23:40.858Z] GEN C:\workspace\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common [2024-10-31T11:23:40.858Z] GEN C:\workspace\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests [2024-10-31T11:23:40.858Z] GEN C:\\workspace\\workspace\\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin [2024-10-31T11:23:40.858Z] GEN C:\\workspace\\workspace\\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\\jvmtest\\system\\STF\\stf.core\\bin [2024-10-31T11:23:40.858Z] GEN c:/workspace/testDependency/system_lib/log4j/log4j-api.jar [2024-10-31T11:23:40.858Z] GEN c:/workspace/testDependency/system_lib/log4j/log4j-core.jar [2024-10-31T11:23:40.858Z] GEN c:/workspace/testDependency/system_lib/junit/junit.jar [2024-10-31T11:23:40.858Z] GEN 11:23:40.633 - Using Mode NoOptions. Values = '' [2024-10-31T11:23:40.858Z] GEN 11:23:40.732 - [2024-10-31T11:23:40.858Z] GEN 11:23:40.732 - Test command summary: [2024-10-31T11:23:40.858Z] GEN 11:23:40.733 - Step Stage Command Description [2024-10-31T11:23:40.858Z] GEN 11:23:40.734 - -----+--------+-----------------+------------ [2024-10-31T11:23:40.858Z] GEN 11:23:40.734 - 1 execute Run java Run critical internal APIs test by accessing the critical exported APIs from an unnamed module or classpath [2024-10-31T11:23:40.858Z] GEN 11:23:40.734 - 2 execute Run java Run critical internal APIs test by accessing the critical exported APIs from a module [2024-10-31T11:23:40.858Z] GEN 11:23:40.734 - 3 execute jar Create tests jar [2024-10-31T11:23:40.858Z] GEN 11:23:40.734 - 4 execute Run java Run critical internal APIs test by accessing the critical exported APIs from a modular jar [2024-10-31T11:23:40.858Z] GEN 11:23:40.734 - 5 execute jar create comTest.jar [2024-10-31T11:23:40.858Z] GEN 11:23:40.734 - 6 execute Run java Run critical internal APIs test by accessing the critical exported APIs from an automatic module [2024-10-31T11:23:40.858Z] STF 11:23:40.769 - [2024-10-31T11:23:40.858Z] STF 11:23:40.769 - Script generation completed [2024-10-31T11:23:40.858Z] STF 11:23:40.769 - [2024-10-31T11:23:40.858Z] STF 11:23:40.771 - [2024-10-31T11:23:40.858Z] STF 11:23:40.771 - ======================= S E T U P ======================= [2024-10-31T11:23:40.858Z] STF 11:23:40.771 - Running setup: perl C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17303720357655\InternalAPIs_1/20241031-112338-InternalAPIs/setUp.pl [2024-10-31T11:23:41.185Z] STF 11:23:40.955 - SETUP stage completed [2024-10-31T11:23:41.185Z] STF 11:23:40.971 - [2024-10-31T11:23:41.185Z] STF 11:23:40.971 - ==================== E X E C U T E - ==================== [2024-10-31T11:23:41.186Z] STF 11:23:40.971 - Running execute: perl C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17303720357655\InternalAPIs_1/20241031-112338-InternalAPIs/execute.pl [2024-10-31T11:23:41.516Z] STF 11:23:41.147 - [2024-10-31T11:23:41.516Z] STF 11:23:41.148 - Java version [2024-10-31T11:23:41.516Z] STF 11:23:41.148 - Running: c:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java -version [2024-10-31T11:23:41.516Z] Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-10-31T11:23:41.516Z] openjdk version "21.0.6-beta" 2025-01-21 [2024-10-31T11:23:41.516Z] OpenJDK Runtime Environment Temurin-21.0.6+1-202410302007 (build 21.0.6-beta+1-ea) [2024-10-31T11:23:41.517Z] OpenJDK 64-Bit Server VM Temurin-21.0.6+1-202410302007 (build 21.0.6-beta+1-ea, mixed mode, sharing) [2024-10-31T11:23:41.517Z] STF 11:23:41.269 - [2024-10-31T11:23:41.517Z] STF 11:23:41.269 - +------ Step 1 - Run critical internal APIs test by accessing the critical exported APIs from an unnamed module or classpath [2024-10-31T11:23:41.517Z] STF 11:23:41.269 - | Run foreground process [2024-10-31T11:23:41.517Z] STF 11:23:41.269 - | Program: c:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java [2024-10-31T11:23:41.517Z] STF 11:23:41.269 - | Mnemonic: T1 [2024-10-31T11:23:41.517Z] STF 11:23:41.270 - | Echo: ECHO_ON [2024-10-31T11:23:41.517Z] STF 11:23:41.270 - | Expectation: CLEAN_RUN within 1m [2024-10-31T11:23:41.517Z] STF 11:23:41.270 - | [2024-10-31T11:23:41.517Z] STF 11:23:41.270 - Running command: c:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java -XX:-UseCompressedOops -classpath C:\workspace\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests\com.test;c:/workspace/testDependency/system_lib/junit/junit.jar;c:/workspace/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestJDKInternalAPIs [2024-10-31T11:23:41.517Z] STF 11:23:41.270 - Redirecting stderr to C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17303720357655/InternalAPIs_1/20241031-112338-InternalAPIs/results/1.T1.stderr [2024-10-31T11:23:41.517Z] STF 11:23:41.270 - Redirecting stdout to C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17303720357655/InternalAPIs_1/20241031-112338-InternalAPIs/results/1.T1.stdout [2024-10-31T11:23:41.517Z] STF 11:23:41.304 - Monitoring processes: T1 [2024-10-31T11:23:41.517Z] T1 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-10-31T11:23:41.517Z] T1 JUnit version 4.12 [2024-10-31T11:23:41.843Z] T1 . [2024-10-31T11:23:41.843Z] T1 Time: 0.011 [2024-10-31T11:23:41.843Z] T1 [2024-10-31T11:23:41.843Z] T1 OK (1 test) [2024-10-31T11:23:41.843Z] T1 [2024-10-31T11:23:41.843Z] STF 11:23:41.670 - Monitoring Report Summary: [2024-10-31T11:23:41.843Z] STF 11:23:41.670 - o Process T1 ended with the expected exit code (0) [2024-10-31T11:23:41.843Z] STF 11:23:41.670 - [2024-10-31T11:23:41.843Z] STF 11:23:41.670 - +------ Step 2 - Run critical internal APIs test by accessing the critical exported APIs from a module [2024-10-31T11:23:41.843Z] STF 11:23:41.670 - | Run foreground process [2024-10-31T11:23:41.843Z] STF 11:23:41.670 - | Program: c:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java [2024-10-31T11:23:41.843Z] STF 11:23:41.670 - | Mnemonic: T2 [2024-10-31T11:23:41.843Z] STF 11:23:41.670 - | Echo: ECHO_ON [2024-10-31T11:23:41.843Z] STF 11:23:41.670 - | Expectation: CLEAN_RUN within 1m [2024-10-31T11:23:41.843Z] STF 11:23:41.670 - | [2024-10-31T11:23:41.843Z] STF 11:23:41.670 - Running command: c:/workspace/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:\workspace\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common-mods;C:\workspace\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:/workspace/testDependency/system_lib/junit/junit.jar;c:/workspace/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestJDKInternalAPIs [2024-10-31T11:23:41.843Z] STF 11:23:41.671 - Redirecting stderr to C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17303720357655/InternalAPIs_1/20241031-112338-InternalAPIs/results/2.T2.stderr [2024-10-31T11:23:41.843Z] STF 11:23:41.671 - Redirecting stdout to C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17303720357655/InternalAPIs_1/20241031-112338-InternalAPIs/results/2.T2.stdout [2024-10-31T11:23:41.843Z] STF 11:23:41.678 - Monitoring processes: T2 [2024-10-31T11:23:41.843Z] T2 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-10-31T11:23:42.170Z] T2 JUnit version 4.12 [2024-10-31T11:23:42.170Z] T2 . [2024-10-31T11:23:42.170Z] T2 Time: 0.01 [2024-10-31T11:23:42.170Z] T2 [2024-10-31T11:23:42.170Z] T2 OK (1 test) [2024-10-31T11:23:42.170Z] T2 [2024-10-31T11:23:42.170Z] STF 11:23:42.105 - Monitoring Report Summary: [2024-10-31T11:23:42.170Z] STF 11:23:42.105 - o Process T2 ended with the expected exit code (0) [2024-10-31T11:23:42.170Z] STF 11:23:42.105 - [2024-10-31T11:23:42.170Z] STF 11:23:42.105 - +------ Step 3 - Create tests jar [2024-10-31T11:23:42.170Z] STF 11:23:42.106 - | Create modular jar [2024-10-31T11:23:42.170Z] STF 11:23:42.106 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2024-10-31T11:23:42.170Z] STF 11:23:42.106 - | ModuleVersion: null [2024-10-31T11:23:42.170Z] STF 11:23:42.106 - | MainClass: null [2024-10-31T11:23:42.170Z] STF 11:23:42.106 - | HashModules: null [2024-10-31T11:23:42.170Z] STF 11:23:42.106 - | [2024-10-31T11:23:42.170Z] STF 11:23:42.106 - Running command: c:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17303720357655/InternalAPIs_1/20241031-112338-InternalAPIs/modules/3.com.test.jar -C C:\workspace\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests\com.test . [2024-10-31T11:23:42.170Z] STF 11:23:42.106 - Redirecting stderr to C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17303720357655/InternalAPIs_1/20241031-112338-InternalAPIs/results/3.CMJ.stderr [2024-10-31T11:23:42.170Z] STF 11:23:42.106 - Redirecting stdout to C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17303720357655/InternalAPIs_1/20241031-112338-InternalAPIs/results/3.CMJ.stdout [2024-10-31T11:23:42.170Z] STF 11:23:42.113 - Monitoring processes: CMJ [2024-10-31T11:23:42.500Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-10-31T11:23:42.831Z] STF 11:23:42.540 - Monitoring Report Summary: [2024-10-31T11:23:42.831Z] STF 11:23:42.540 - o Process CMJ ended with the expected exit code (0) [2024-10-31T11:23:42.831Z] STF 11:23:42.540 - Created modular jar: 3.com.test.jar [2024-10-31T11:23:42.831Z] STF 11:23:42.540 - [2024-10-31T11:23:42.831Z] STF 11:23:42.540 - +------ Step 4 - Run critical internal APIs test by accessing the critical exported APIs from a modular jar [2024-10-31T11:23:42.831Z] STF 11:23:42.540 - | Run foreground process [2024-10-31T11:23:42.831Z] STF 11:23:42.540 - | Program: c:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java [2024-10-31T11:23:42.831Z] STF 11:23:42.540 - | Mnemonic: T3 [2024-10-31T11:23:42.831Z] STF 11:23:42.540 - | Echo: ECHO_ON [2024-10-31T11:23:42.831Z] STF 11:23:42.540 - | Expectation: CLEAN_RUN within 1m [2024-10-31T11:23:42.831Z] STF 11:23:42.540 - | [2024-10-31T11:23:42.831Z] STF 11:23:42.540 - Running command: c:/workspace/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:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17303720357655/InternalAPIs_1/20241031-112338-InternalAPIs/modules/3.com.test.jar;C:\workspace\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:/workspace/testDependency/system_lib/junit/junit.jar;c:/workspace/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestJDKInternalAPIs [2024-10-31T11:23:42.831Z] STF 11:23:42.541 - Redirecting stderr to C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17303720357655/InternalAPIs_1/20241031-112338-InternalAPIs/results/4.T3.stderr [2024-10-31T11:23:42.831Z] STF 11:23:42.541 - Redirecting stdout to C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17303720357655/InternalAPIs_1/20241031-112338-InternalAPIs/results/4.T3.stdout [2024-10-31T11:23:42.831Z] STF 11:23:42.548 - Monitoring processes: T3 [2024-10-31T11:23:42.831Z] T3 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-10-31T11:23:43.161Z] T3 JUnit version 4.12 [2024-10-31T11:23:43.161Z] T3 . [2024-10-31T11:23:43.161Z] T3 Time: 0.008 [2024-10-31T11:23:43.161Z] T3 [2024-10-31T11:23:43.161Z] T3 OK (1 test) [2024-10-31T11:23:43.161Z] T3 [2024-10-31T11:23:43.161Z] STF 11:23:43.045 - Monitoring Report Summary: [2024-10-31T11:23:43.161Z] STF 11:23:43.045 - o Process T3 ended with the expected exit code (0) [2024-10-31T11:23:43.161Z] STF 11:23:43.045 - [2024-10-31T11:23:43.161Z] STF 11:23:43.045 - +------ Step 5 - create comTest.jar [2024-10-31T11:23:43.161Z] STF 11:23:43.045 - | Create project jar [2024-10-31T11:23:43.161Z] STF 11:23:43.045 - | ProjectSpec: openjdk.test.modularity/bin/tests/com.test [2024-10-31T11:23:43.161Z] STF 11:23:43.045 - | ArchiveSpec: ["net"] [2024-10-31T11:23:43.161Z] STF 11:23:43.045 - | [2024-10-31T11:23:43.161Z] STF 11:23:43.045 - Running command: c:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/jar --create --file C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17303720357655/InternalAPIs_1/20241031-112338-InternalAPIs/tmp/com.test.jar -C C:\workspace\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests\com.test net [2024-10-31T11:23:43.161Z] STF 11:23:43.046 - Redirecting stderr to C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17303720357655/InternalAPIs_1/20241031-112338-InternalAPIs/results/5.JAR.stderr [2024-10-31T11:23:43.161Z] STF 11:23:43.046 - Redirecting stdout to C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17303720357655/InternalAPIs_1/20241031-112338-InternalAPIs/results/5.JAR.stdout [2024-10-31T11:23:43.161Z] STF 11:23:43.052 - Monitoring processes: JAR [2024-10-31T11:23:43.161Z] JAR stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-10-31T11:23:43.487Z] STF 11:23:43.383 - Monitoring Report Summary: [2024-10-31T11:23:43.488Z] STF 11:23:43.383 - o Process JAR ended with the expected exit code (0) [2024-10-31T11:23:43.488Z] STF 11:23:43.383 - Created project jar: com.test.jar [2024-10-31T11:23:43.488Z] STF 11:23:43.383 - [2024-10-31T11:23:43.488Z] STF 11:23:43.383 - +------ Step 6 - Run critical internal APIs test by accessing the critical exported APIs from an automatic module [2024-10-31T11:23:43.488Z] STF 11:23:43.384 - | Run foreground process [2024-10-31T11:23:43.488Z] STF 11:23:43.384 - | Program: c:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java [2024-10-31T11:23:43.488Z] STF 11:23:43.384 - | Mnemonic: T4 [2024-10-31T11:23:43.488Z] STF 11:23:43.384 - | Echo: ECHO_ON [2024-10-31T11:23:43.488Z] STF 11:23:43.384 - | Expectation: CLEAN_RUN within 1m [2024-10-31T11:23:43.488Z] STF 11:23:43.384 - | [2024-10-31T11:23:43.488Z] STF 11:23:43.384 - Running command: c:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java --module-path C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17303720357655/InternalAPIs_1/20241031-112338-InternalAPIs/tmp/com.test.jar;C:\workspace\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:/workspace/testDependency/system_lib/junit/junit.jar;c:/workspace/testDependency/system_lib/junit/hamcrest-core.jar org.junit.runner.JUnitCore net.adoptopenjdk.test.modularity.junit.TestJDKInternalAPIs [2024-10-31T11:23:43.488Z] STF 11:23:43.384 - Redirecting stderr to C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17303720357655/InternalAPIs_1/20241031-112338-InternalAPIs/results/6.T4.stderr [2024-10-31T11:23:43.488Z] STF 11:23:43.384 - Redirecting stdout to C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17303720357655/InternalAPIs_1/20241031-112338-InternalAPIs/results/6.T4.stdout [2024-10-31T11:23:43.488Z] STF 11:23:43.391 - Monitoring processes: T4 [2024-10-31T11:23:43.488Z] T4 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-10-31T11:23:43.823Z] T4 JUnit version 4.12 [2024-10-31T11:23:44.188Z] T4 . [2024-10-31T11:23:44.188Z] T4 Time: 0.009 [2024-10-31T11:23:44.188Z] T4 [2024-10-31T11:23:44.188Z] T4 OK (1 test) [2024-10-31T11:23:44.188Z] T4 [2024-10-31T11:23:44.188Z] STF 11:23:43.889 - Monitoring Report Summary: [2024-10-31T11:23:44.188Z] STF 11:23:43.889 - o Process T4 ended with the expected exit code (0) [2024-10-31T11:23:44.188Z] STF 11:23:43.889 - EXECUTE stage completed [2024-10-31T11:23:44.188Z] STF 11:23:43.911 - [2024-10-31T11:23:44.188Z] STF 11:23:43.911 - ==================== T E A R D O W N ==================== [2024-10-31T11:23:44.188Z] STF 11:23:43.911 - Running teardown: perl C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17303720357655\InternalAPIs_1/20241031-112338-InternalAPIs/tearDown.pl [2024-10-31T11:23:44.188Z] STF 11:23:44.084 - TEARDOWN stage completed [2024-10-31T11:23:44.188Z] STF 11:23:44.099 - [2024-10-31T11:23:44.188Z] STF 11:23:44.099 - ===================== R E S U L T S ===================== [2024-10-31T11:23:44.188Z] STF 11:23:44.099 - Stage results: [2024-10-31T11:23:44.188Z] STF 11:23:44.099 - setUp: pass [2024-10-31T11:23:44.188Z] STF 11:23:44.099 - execute: pass [2024-10-31T11:23:44.188Z] STF 11:23:44.099 - teardown: pass [2024-10-31T11:23:44.188Z] STF 11:23:44.099 - [2024-10-31T11:23:44.188Z] STF 11:23:44.099 - Overall result: PASSED [2024-10-31T11:23:44.188Z] ----------------------------------- [2024-10-31T11:23:44.188Z] InternalAPIs_1_PASSED [2024-10-31T11:23:44.188Z] ----------------------------------- [2024-10-31T11:23:44.530Z] [2024-10-31T11:23:44.530Z] TEST TEARDOWN: [2024-10-31T11:23:44.530Z] Nothing to be done for teardown. [2024-10-31T11:23:44.530Z] InternalAPIs_1 Finish Time: Thu Oct 31 11:23:44 2024 Epoch Time (ms): 1730373824322