InternalAPIs_1

[2024-11-14T20:33:25.017Z] Running test InternalAPIs_1 ... [2024-11-14T20:33:25.017Z] =============================================== [2024-11-14T20:33:25.327Z] InternalAPIs_1 Start Time: Thu Nov 14 20:33:25 2024 Epoch Time (ms): 1731616405108 [2024-11-14T20:33:25.648Z] variation: Mode650 [2024-11-14T20:33:25.648Z] JVM_OPTIONS: -XX:-UseCompressedOops [2024-11-14T20:33:25.648Z] { \ [2024-11-14T20:33:25.648Z] echo ""; echo "TEST SETUP:"; \ [2024-11-14T20:33:25.648Z] echo "Nothing to be done for setup."; \ [2024-11-14T20:33:25.648Z] mkdir -p "C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17316146282192\\InternalAPIs_1"; \ [2024-11-14T20:33:25.648Z] cd "C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17316146282192\\InternalAPIs_1"; \ [2024-11-14T20:33:25.648Z] echo ""; echo "TESTING:"; \ [2024-11-14T20:33:25.648Z] 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_17316146282192\\InternalAPIs_1" -test=InternalAPIs; \ [2024-11-14T20:33:25.648Z] 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_17316146282192\\InternalAPIs_1"; else echo "-----------------------------------"; echo "InternalAPIs_1""_FAILED"; echo "-----------------------------------"; fi; \ [2024-11-14T20:33:25.648Z] echo ""; echo "TEST TEARDOWN:"; \ [2024-11-14T20:33:25.648Z] echo "Nothing to be done for teardown."; \ [2024-11-14T20:33:25.648Z] } 2>&1 | tee -a "C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\\TKG\\output_17316146282192\\TestTargetResult"; [2024-11-14T20:33:25.999Z] [2024-11-14T20:33:25.999Z] TEST SETUP: [2024-11-14T20:33:25.999Z] Nothing to be done for setup. [2024-11-14T20:33:25.999Z] [2024-11-14T20:33:25.999Z] TESTING: [2024-11-14T20:33:25.999Z] STF 20:33:25.913 - ========================= S T F ========================= [2024-11-14T20:33:25.999Z] 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_17316146282192\InternalAPIs_1 [2024-11-14T20:33:26.329Z] There is 96492 Mb free [2024-11-14T20:33:26.329Z] STF 20:33:25.986 - ================== G E N E R A T I O N ================== [2024-11-14T20:33:26.330Z] STF 20:33:25.989 - Checking JVM: c:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image [2024-11-14T20:33:26.330Z] STF 20:33:25.990 - 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_17316146282192\InternalAPIs_1/20241114-203325-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_17316146282192\InternalAPIs_1/20241114-203325-InternalAPIs" [2024-11-14T20:33:26.330Z] GEN stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-14T20:33:26.330Z] GEN [0.025s][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-14T20:33:27.462Z] GEN 20:33:27.327 - 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-11-14T20:33:27.462Z] GEN 20:33:27.349 - Found test. Project: 'openjdk.test.modularity' class: 'net.adoptopenjdk.test.modularity.InternalAPIs' [2024-11-14T20:33:27.789Z] GEN Classpath directories used by project 'openjdk.test.modularity': [2024-11-14T20:33:27.789Z] 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-11-14T20:33:27.789Z] 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-11-14T20:33:27.789Z] 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-11-14T20:33:27.789Z] 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-11-14T20:33:27.789Z] 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-11-14T20:33:27.789Z] 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-11-14T20:33:27.789Z] 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-11-14T20:33:27.789Z] 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-11-14T20:33:27.789Z] 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-11-14T20:33:27.789Z] 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-11-14T20:33:27.789Z] 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-11-14T20:33:27.789Z] 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-11-14T20:33:27.789Z] GEN C:\workspace\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\common [2024-11-14T20:33:27.789Z] GEN C:\workspace\workspace\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\jvmtest\system\aqa-systemtest\openjdk.test.modularity\bin\tests [2024-11-14T20:33:27.789Z] GEN C:\\workspace\\workspace\\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\\jvmtest\\system\\aqa-systemtest\\openjdk.test.modularity\\bin [2024-11-14T20:33:27.789Z] GEN C:\\workspace\\workspace\\Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1\\jvmtest\\system\\STF\\stf.core\\bin [2024-11-14T20:33:27.789Z] GEN c:/workspace/testDependency/system_lib/log4j/log4j-api.jar [2024-11-14T20:33:27.789Z] GEN c:/workspace/testDependency/system_lib/log4j/log4j-core.jar [2024-11-14T20:33:27.789Z] GEN c:/workspace/testDependency/system_lib/junit/junit.jar [2024-11-14T20:33:27.789Z] GEN 20:33:27.636 - Using Mode NoOptions. Values = '' [2024-11-14T20:33:27.789Z] GEN 20:33:27.738 - [2024-11-14T20:33:27.789Z] GEN 20:33:27.738 - Test command summary: [2024-11-14T20:33:27.789Z] GEN 20:33:27.738 - Step Stage Command Description [2024-11-14T20:33:27.789Z] GEN 20:33:27.739 - -----+--------+-----------------+------------ [2024-11-14T20:33:27.789Z] GEN 20:33:27.739 - 1 execute Run java Run critical internal APIs test by accessing the critical exported APIs from an unnamed module or classpath [2024-11-14T20:33:27.789Z] GEN 20:33:27.739 - 2 execute Run java Run critical internal APIs test by accessing the critical exported APIs from a module [2024-11-14T20:33:27.789Z] GEN 20:33:27.739 - 3 execute jar Create tests jar [2024-11-14T20:33:27.789Z] GEN 20:33:27.739 - 4 execute Run java Run critical internal APIs test by accessing the critical exported APIs from a modular jar [2024-11-14T20:33:27.789Z] GEN 20:33:27.739 - 5 execute jar create comTest.jar [2024-11-14T20:33:27.789Z] GEN 20:33:27.739 - 6 execute Run java Run critical internal APIs test by accessing the critical exported APIs from an automatic module [2024-11-14T20:33:28.118Z] STF 20:33:27.777 - [2024-11-14T20:33:28.118Z] STF 20:33:27.777 - Script generation completed [2024-11-14T20:33:28.118Z] STF 20:33:27.777 - [2024-11-14T20:33:28.118Z] STF 20:33:27.779 - [2024-11-14T20:33:28.118Z] STF 20:33:27.780 - ======================= S E T U P ======================= [2024-11-14T20:33:28.118Z] STF 20:33:27.780 - Running setup: perl C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17316146282192\InternalAPIs_1/20241114-203325-InternalAPIs/setUp.pl [2024-11-14T20:33:28.118Z] STF 20:33:27.965 - SETUP stage completed [2024-11-14T20:33:28.118Z] STF 20:33:27.985 - [2024-11-14T20:33:28.118Z] STF 20:33:27.985 - ==================== E X E C U T E - ==================== [2024-11-14T20:33:28.118Z] STF 20:33:27.985 - Running execute: perl C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17316146282192\InternalAPIs_1/20241114-203325-InternalAPIs/execute.pl [2024-11-14T20:33:28.450Z] STF 20:33:28.184 - [2024-11-14T20:33:28.450Z] STF 20:33:28.184 - Java version [2024-11-14T20:33:28.450Z] STF 20:33:28.184 - Running: c:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java -version [2024-11-14T20:33:28.450Z] Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-14T20:33:28.450Z] openjdk version "21.0.6-beta" 2025-01-21 [2024-11-14T20:33:28.450Z] OpenJDK Runtime Environment Temurin-21.0.6+3-202411132002 (build 21.0.6-beta+3-ea) [2024-11-14T20:33:28.450Z] OpenJDK 64-Bit Server VM Temurin-21.0.6+3-202411132002 (build 21.0.6-beta+3-ea, mixed mode, sharing) [2024-11-14T20:33:28.450Z] STF 20:33:28.309 - [2024-11-14T20:33:28.450Z] STF 20:33:28.309 - +------ Step 1 - Run critical internal APIs test by accessing the critical exported APIs from an unnamed module or classpath [2024-11-14T20:33:28.450Z] STF 20:33:28.309 - | Run foreground process [2024-11-14T20:33:28.450Z] STF 20:33:28.309 - | Program: c:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java [2024-11-14T20:33:28.450Z] STF 20:33:28.309 - | Mnemonic: T1 [2024-11-14T20:33:28.450Z] STF 20:33:28.309 - | Echo: ECHO_ON [2024-11-14T20:33:28.450Z] STF 20:33:28.309 - | Expectation: CLEAN_RUN within 1m [2024-11-14T20:33:28.450Z] STF 20:33:28.309 - | [2024-11-14T20:33:28.450Z] STF 20:33:28.310 - 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-11-14T20:33:28.450Z] STF 20:33:28.310 - Redirecting stderr to C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17316146282192/InternalAPIs_1/20241114-203325-InternalAPIs/results/1.T1.stderr [2024-11-14T20:33:28.450Z] STF 20:33:28.310 - Redirecting stdout to C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17316146282192/InternalAPIs_1/20241114-203325-InternalAPIs/results/1.T1.stdout [2024-11-14T20:33:28.450Z] STF 20:33:28.343 - Monitoring processes: T1 [2024-11-14T20:33:28.450Z] T1 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-14T20:33:28.776Z] T1 JUnit version 4.12 [2024-11-14T20:33:28.776Z] T1 . [2024-11-14T20:33:28.776Z] T1 Time: 0.012 [2024-11-14T20:33:28.776Z] T1 [2024-11-14T20:33:28.776Z] T1 OK (1 test) [2024-11-14T20:33:28.776Z] T1 [2024-11-14T20:33:28.776Z] STF 20:33:28.681 - Monitoring Report Summary: [2024-11-14T20:33:28.776Z] STF 20:33:28.681 - o Process T1 ended with the expected exit code (0) [2024-11-14T20:33:28.776Z] STF 20:33:28.681 - [2024-11-14T20:33:28.776Z] STF 20:33:28.681 - +------ Step 2 - Run critical internal APIs test by accessing the critical exported APIs from a module [2024-11-14T20:33:28.776Z] STF 20:33:28.681 - | Run foreground process [2024-11-14T20:33:28.776Z] STF 20:33:28.681 - | Program: c:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java [2024-11-14T20:33:28.776Z] STF 20:33:28.681 - | Mnemonic: T2 [2024-11-14T20:33:28.776Z] STF 20:33:28.681 - | Echo: ECHO_ON [2024-11-14T20:33:28.776Z] STF 20:33:28.681 - | Expectation: CLEAN_RUN within 1m [2024-11-14T20:33:28.776Z] STF 20:33:28.681 - | [2024-11-14T20:33:28.776Z] STF 20:33:28.682 - 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-11-14T20:33:28.776Z] STF 20:33:28.682 - Redirecting stderr to C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17316146282192/InternalAPIs_1/20241114-203325-InternalAPIs/results/2.T2.stderr [2024-11-14T20:33:28.776Z] STF 20:33:28.682 - Redirecting stdout to C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17316146282192/InternalAPIs_1/20241114-203325-InternalAPIs/results/2.T2.stdout [2024-11-14T20:33:28.776Z] STF 20:33:28.689 - Monitoring processes: T2 [2024-11-14T20:33:28.776Z] T2 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-14T20:33:29.109Z] T2 JUnit version 4.12 [2024-11-14T20:33:29.109Z] T2 . [2024-11-14T20:33:29.109Z] T2 Time: 0.011 [2024-11-14T20:33:29.109Z] T2 [2024-11-14T20:33:29.109Z] T2 OK (1 test) [2024-11-14T20:33:29.109Z] T2 [2024-11-14T20:33:29.436Z] STF 20:33:29.101 - Monitoring Report Summary: [2024-11-14T20:33:29.436Z] STF 20:33:29.101 - o Process T2 ended with the expected exit code (0) [2024-11-14T20:33:29.436Z] STF 20:33:29.101 - [2024-11-14T20:33:29.436Z] STF 20:33:29.101 - +------ Step 3 - Create tests jar [2024-11-14T20:33:29.436Z] STF 20:33:29.101 - | Create modular jar [2024-11-14T20:33:29.436Z] STF 20:33:29.101 - | ModuleSpec: openjdk.test.modularity/bin/tests/com.test [2024-11-14T20:33:29.436Z] STF 20:33:29.101 - | ModuleVersion: null [2024-11-14T20:33:29.436Z] STF 20:33:29.101 - | MainClass: null [2024-11-14T20:33:29.436Z] STF 20:33:29.101 - | HashModules: null [2024-11-14T20:33:29.436Z] STF 20:33:29.101 - | [2024-11-14T20:33:29.436Z] STF 20:33:29.102 - 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_17316146282192/InternalAPIs_1/20241114-203325-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-11-14T20:33:29.436Z] STF 20:33:29.102 - Redirecting stderr to C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17316146282192/InternalAPIs_1/20241114-203325-InternalAPIs/results/3.CMJ.stderr [2024-11-14T20:33:29.436Z] STF 20:33:29.102 - Redirecting stdout to C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17316146282192/InternalAPIs_1/20241114-203325-InternalAPIs/results/3.CMJ.stdout [2024-11-14T20:33:29.436Z] STF 20:33:29.110 - Monitoring processes: CMJ [2024-11-14T20:33:29.436Z] CMJ stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-14T20:33:29.757Z] STF 20:33:29.543 - Monitoring Report Summary: [2024-11-14T20:33:29.757Z] STF 20:33:29.543 - o Process CMJ ended with the expected exit code (0) [2024-11-14T20:33:29.757Z] STF 20:33:29.543 - Created modular jar: 3.com.test.jar [2024-11-14T20:33:29.757Z] STF 20:33:29.543 - [2024-11-14T20:33:29.757Z] STF 20:33:29.543 - +------ Step 4 - Run critical internal APIs test by accessing the critical exported APIs from a modular jar [2024-11-14T20:33:29.757Z] STF 20:33:29.543 - | Run foreground process [2024-11-14T20:33:29.757Z] STF 20:33:29.543 - | Program: c:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java [2024-11-14T20:33:29.757Z] STF 20:33:29.543 - | Mnemonic: T3 [2024-11-14T20:33:29.757Z] STF 20:33:29.543 - | Echo: ECHO_ON [2024-11-14T20:33:29.757Z] STF 20:33:29.543 - | Expectation: CLEAN_RUN within 1m [2024-11-14T20:33:29.757Z] STF 20:33:29.543 - | [2024-11-14T20:33:29.757Z] STF 20:33:29.543 - 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_17316146282192/InternalAPIs_1/20241114-203325-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-11-14T20:33:29.757Z] STF 20:33:29.544 - Redirecting stderr to C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17316146282192/InternalAPIs_1/20241114-203325-InternalAPIs/results/4.T3.stderr [2024-11-14T20:33:29.757Z] STF 20:33:29.544 - Redirecting stdout to C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17316146282192/InternalAPIs_1/20241114-203325-InternalAPIs/results/4.T3.stdout [2024-11-14T20:33:29.757Z] STF 20:33:29.551 - Monitoring processes: T3 [2024-11-14T20:33:29.757Z] T3 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-14T20:33:30.082Z] T3 JUnit version 4.12 [2024-11-14T20:33:30.082Z] T3 . [2024-11-14T20:33:30.082Z] T3 Time: 0.008 [2024-11-14T20:33:30.082Z] T3 [2024-11-14T20:33:30.082Z] T3 OK (1 test) [2024-11-14T20:33:30.082Z] T3 [2024-11-14T20:33:30.408Z] STF 20:33:30.046 - Monitoring Report Summary: [2024-11-14T20:33:30.408Z] STF 20:33:30.046 - o Process T3 ended with the expected exit code (0) [2024-11-14T20:33:30.408Z] STF 20:33:30.046 - [2024-11-14T20:33:30.408Z] STF 20:33:30.046 - +------ Step 5 - create comTest.jar [2024-11-14T20:33:30.408Z] STF 20:33:30.046 - | Create project jar [2024-11-14T20:33:30.408Z] STF 20:33:30.046 - | ProjectSpec: openjdk.test.modularity/bin/tests/com.test [2024-11-14T20:33:30.408Z] STF 20:33:30.046 - | ArchiveSpec: ["net"] [2024-11-14T20:33:30.408Z] STF 20:33:30.046 - | [2024-11-14T20:33:30.408Z] STF 20:33:30.047 - 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_17316146282192/InternalAPIs_1/20241114-203325-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-11-14T20:33:30.408Z] STF 20:33:30.047 - Redirecting stderr to C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17316146282192/InternalAPIs_1/20241114-203325-InternalAPIs/results/5.JAR.stderr [2024-11-14T20:33:30.408Z] STF 20:33:30.047 - Redirecting stdout to C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17316146282192/InternalAPIs_1/20241114-203325-InternalAPIs/results/5.JAR.stdout [2024-11-14T20:33:30.408Z] STF 20:33:30.054 - Monitoring processes: JAR [2024-11-14T20:33:30.408Z] JAR stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-14T20:33:30.736Z] STF 20:33:30.383 - Monitoring Report Summary: [2024-11-14T20:33:30.736Z] STF 20:33:30.383 - o Process JAR ended with the expected exit code (0) [2024-11-14T20:33:30.736Z] STF 20:33:30.384 - Created project jar: com.test.jar [2024-11-14T20:33:30.736Z] STF 20:33:30.384 - [2024-11-14T20:33:30.736Z] STF 20:33:30.384 - +------ Step 6 - Run critical internal APIs test by accessing the critical exported APIs from an automatic module [2024-11-14T20:33:30.736Z] STF 20:33:30.384 - | Run foreground process [2024-11-14T20:33:30.736Z] STF 20:33:30.384 - | Program: c:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/jdkbinary/j2sdk-image/bin/java [2024-11-14T20:33:30.736Z] STF 20:33:30.384 - | Mnemonic: T4 [2024-11-14T20:33:30.736Z] STF 20:33:30.384 - | Echo: ECHO_ON [2024-11-14T20:33:30.736Z] STF 20:33:30.384 - | Expectation: CLEAN_RUN within 1m [2024-11-14T20:33:30.736Z] STF 20:33:30.384 - | [2024-11-14T20:33:30.736Z] STF 20:33:30.385 - 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_17316146282192/InternalAPIs_1/20241114-203325-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-11-14T20:33:30.736Z] STF 20:33:30.385 - Redirecting stderr to C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17316146282192/InternalAPIs_1/20241114-203325-InternalAPIs/results/6.T4.stderr [2024-11-14T20:33:30.736Z] STF 20:33:30.385 - Redirecting stdout to C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/TKG/output_17316146282192/InternalAPIs_1/20241114-203325-InternalAPIs/results/6.T4.stdout [2024-11-14T20:33:30.736Z] STF 20:33:30.394 - Monitoring processes: T4 [2024-11-14T20:33:30.736Z] T4 stderr Picked up JAVA_TOOL_OPTIONS: -Djava.security.manager=allow [2024-11-14T20:33:31.064Z] T4 JUnit version 4.12 [2024-11-14T20:33:31.064Z] T4 . [2024-11-14T20:33:31.064Z] T4 Time: 0.007 [2024-11-14T20:33:31.064Z] T4 [2024-11-14T20:33:31.064Z] T4 OK (1 test) [2024-11-14T20:33:31.064Z] T4 [2024-11-14T20:33:31.065Z] STF 20:33:30.912 - Monitoring Report Summary: [2024-11-14T20:33:31.065Z] STF 20:33:30.912 - o Process T4 ended with the expected exit code (0) [2024-11-14T20:33:31.065Z] STF 20:33:30.912 - EXECUTE stage completed [2024-11-14T20:33:31.065Z] STF 20:33:30.945 - [2024-11-14T20:33:31.065Z] STF 20:33:30.945 - ==================== T E A R D O W N ==================== [2024-11-14T20:33:31.065Z] STF 20:33:30.945 - Running teardown: perl C:/workspace/workspace/Test_openjdk21_hs_sanity.system_x86-64_windows_testList_1/aqa-tests/\TKG\output_17316146282192\InternalAPIs_1/20241114-203325-InternalAPIs/tearDown.pl [2024-11-14T20:33:31.374Z] STF 20:33:31.121 - TEARDOWN stage completed [2024-11-14T20:33:31.374Z] STF 20:33:31.141 - [2024-11-14T20:33:31.375Z] STF 20:33:31.141 - ===================== R E S U L T S ===================== [2024-11-14T20:33:31.375Z] STF 20:33:31.141 - Stage results: [2024-11-14T20:33:31.375Z] STF 20:33:31.141 - setUp: pass [2024-11-14T20:33:31.375Z] STF 20:33:31.141 - execute: pass [2024-11-14T20:33:31.375Z] STF 20:33:31.141 - teardown: pass [2024-11-14T20:33:31.375Z] STF 20:33:31.141 - [2024-11-14T20:33:31.375Z] STF 20:33:31.141 - Overall result: PASSED [2024-11-14T20:33:31.375Z] ----------------------------------- [2024-11-14T20:33:31.375Z] InternalAPIs_1_PASSED [2024-11-14T20:33:31.375Z] ----------------------------------- [2024-11-14T20:33:31.375Z] [2024-11-14T20:33:31.375Z] TEST TEARDOWN: [2024-11-14T20:33:31.375Z] Nothing to be done for teardown. [2024-11-14T20:33:31.717Z] InternalAPIs_1 Finish Time: Thu Nov 14 20:33:31 2024 Epoch Time (ms): 1731616411383