OAuthTest_0

[2024-09-05T23:39:55.765Z] Running test OAuthTest_0 ... [2024-09-05T23:39:55.765Z] =============================================== [2024-09-05T23:39:55.765Z] OAuthTest_0 Start Time: Fri Sep 6 00:39:55 2024 Epoch Time (ms): 1725579595665 [2024-09-05T23:39:55.765Z] variation: NoOptions [2024-09-05T23:39:55.765Z] JVM_OPTIONS: [2024-09-05T23:39:55.765Z] { \ [2024-09-05T23:39:55.765Z] echo ""; echo "TEST SETUP:"; \ [2024-09-05T23:39:55.765Z] echo "Nothing to be done for setup."; \ [2024-09-05T23:39:55.765Z] mkdir -p "/export/home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_solaris/aqa-tests/TKG/../TKG/output_1725576051484/OAuthTest_0"; \ [2024-09-05T23:39:55.765Z] cd "/export/home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_solaris/aqa-tests/TKG/../TKG/output_1725576051484/OAuthTest_0"; \ [2024-09-05T23:39:55.765Z] echo ""; echo "TESTING:"; \ [2024-09-05T23:39:55.765Z] perl /export/home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_solaris/aqa-tests/TKG/../../jvmtest/system/security/..//STF/stf.core/scripts/stf.pl -test-root="/export/home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_solaris/aqa-tests/TKG/../../jvmtest/system/security/..//STF;/export/home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_solaris/aqa-tests/TKG/../../jvmtest/system/security/..//aqa-systemtest""" -systemtest-prereqs="/export/home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_solaris/../../testDependency/system_lib/" -java-args=' ' -results-root="/export/home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_solaris/aqa-tests/TKG/../TKG/output_1725576051484/OAuthTest_0" -test=OAuthTest; if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "OAuthTest_0""_PASSED"; echo "-----------------------------------"; cd /export/home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_solaris/aqa-tests/TKG/..; rm -f -r "/export/home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_solaris/aqa-tests/TKG/../TKG/output_1725576051484/OAuthTest_0"; else echo "-----------------------------------"; echo "OAuthTest_0""_FAILED"; echo "-----------------------------------"; fi; \ [2024-09-05T23:39:55.765Z] echo ""; echo "TEST TEARDOWN:"; \ [2024-09-05T23:39:55.765Z] echo "Nothing to be done for teardown."; \ [2024-09-05T23:39:55.765Z] } 2>&1 | tee -a "/export/home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_solaris/aqa-tests/TKG/../TKG/output_1725576051484/TestTargetResult"; [2024-09-05T23:39:55.765Z] [2024-09-05T23:39:55.765Z] TEST SETUP: [2024-09-05T23:39:55.765Z] Nothing to be done for setup. [2024-09-05T23:39:55.765Z] [2024-09-05T23:39:55.765Z] TESTING: [2024-09-05T23:39:55.765Z] STF 00:39:55.736 - ========================= S T F ========================= [2024-09-05T23:39:55.765Z] systemtest-prereqs has been processed, and set to: /export/home/jenkins/testDependency/system_libRetrieving amount of free space on drive containing /export/home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_solaris/aqa-tests/TKG/../TKG/output_1725576051484/OAuthTest_0 [2024-09-05T23:39:55.765Z] There is 11144 Mb free [2024-09-05T23:39:55.765Z] STF 00:39:55.744 - ================== G E N E R A T I O N ================== [2024-09-05T23:39:55.765Z] STF 00:39:55.745 - Checking JVM: /export/home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_solaris/jdkbinary/j2sdk-image [2024-09-05T23:39:55.766Z] STF 00:39:55.745 - Starting process to generate scripts: /export/home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_solaris/jdkbinary/j2sdk-image/bin/java -Dlog4j.skipJansi=true -Djava.system.class.loader=net.adoptopenjdk.stf.runner.StfClassLoader -classpath /export/home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_solaris/../../testDependency/system_lib//log4j/log4j-api.jar:/export/home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_solaris/../../testDependency/system_lib//log4j/log4j-core.jar:/export/home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_solaris/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "/export/home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_solaris/aqa-tests/TKG/../TKG/output_1725576051484/OAuthTest_0/20240906-003955-OAuthTest/stf_parameters.properties, , /export/home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_solaris/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "/export/home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_solaris/aqa-tests/TKG/../TKG/output_1725576051484/OAuthTest_0/20240906-003955-OAuthTest" [2024-09-05T23:39:57.088Z] GEN 00:39:56.724 - Found test. Project: 'openjdk.test.security' class: 'OAuthTest.class' Dir: '/export/home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_solaris/jvmtest/system/aqa-systemtest/openjdk.test.security/bin' [2024-09-05T23:39:57.088Z] GEN 00:39:56.726 - Found test. Project: 'openjdk.test.security' class: 'net.adoptopenjdk.test.auth.OAuthTest' [2024-09-05T23:39:57.088Z] GEN Classpath directories used by project 'openjdk.test.security': [2024-09-05T23:39:57.088Z] GEN /export/home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_solaris/jvmtest/system/aqa-systemtest/openjdk.test.security/bin [2024-09-05T23:39:57.088Z] GEN /export/home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_solaris/jvmtest/system/STF/stf.core/bin [2024-09-05T23:39:57.088Z] GEN /export/home/jenkins/testDependency/system_lib/log4j/log4j-api.jar [2024-09-05T23:39:57.088Z] GEN /export/home/jenkins/testDependency/system_lib/log4j/log4j-core.jar [2024-09-05T23:39:57.088Z] GEN /export/home/jenkins/testDependency/system_lib/junit/junit.jar [2024-09-05T23:39:57.088Z] GEN 00:39:56.938 - Using Mode NoOptions. Values = '' [2024-09-05T23:39:57.758Z] GEN SSLv3 [2024-09-05T23:39:57.758Z] GEN TLSv1 [2024-09-05T23:39:57.758Z] GEN TLSv1.3 [2024-09-05T23:39:57.758Z] GEN TLSv1.2 [2024-09-05T23:39:57.758Z] GEN TLSv1.1 [2024-09-05T23:39:57.758Z] GEN SSLv2Hello [2024-09-05T23:39:57.758Z] GEN Testing with : TLSv1.3 [2024-09-05T23:39:57.758Z] GEN 00:39:57.208 - [2024-09-05T23:39:57.758Z] GEN 00:39:57.208 - Test command summary: [2024-09-05T23:39:57.758Z] GEN 00:39:57.209 - Step Stage Command Description [2024-09-05T23:39:57.758Z] GEN 00:39:57.209 - -----+--------+-----------------+------------ [2024-09-05T23:39:57.758Z] GEN 00:39:57.209 - 1 execute Run java Run AuthCenter [2024-09-05T23:39:57.758Z] GEN 00:39:57.209 - 2 execute Run java Run Server [2024-09-05T23:39:57.758Z] GEN 00:39:57.209 - 3 execute Run java Run Client [2024-09-05T23:39:57.758Z] GEN 00:39:57.209 - 4 execute Monitor Wait for clients to complete [2024-09-05T23:39:57.758Z] GEN 00:39:57.209 - 5 execute kill Stop servers [2024-09-05T23:39:57.758Z] STF 00:39:57.233 - [2024-09-05T23:39:57.758Z] STF 00:39:57.233 - Script generation completed [2024-09-05T23:39:57.758Z] STF 00:39:57.233 - [2024-09-05T23:39:57.758Z] STF 00:39:57.234 - [2024-09-05T23:39:57.758Z] STF 00:39:57.234 - ======================= S E T U P ======================= [2024-09-05T23:39:57.758Z] STF 00:39:57.234 - Running setup: perl /export/home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_solaris/aqa-tests/TKG/../TKG/output_1725576051484/OAuthTest_0/20240906-003955-OAuthTest/setUp.pl [2024-09-05T23:39:57.758Z] STF 00:39:57.293 - SETUP stage completed [2024-09-05T23:39:57.758Z] STF 00:39:57.298 - [2024-09-05T23:39:57.758Z] STF 00:39:57.298 - ==================== E X E C U T E - ==================== [2024-09-05T23:39:57.758Z] STF 00:39:57.298 - Running execute: perl /export/home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_solaris/aqa-tests/TKG/../TKG/output_1725576051484/OAuthTest_0/20240906-003955-OAuthTest/execute.pl [2024-09-05T23:39:57.758Z] STF 00:39:57.352 - [2024-09-05T23:39:57.758Z] STF 00:39:57.352 - Java version [2024-09-05T23:39:57.758Z] STF 00:39:57.352 - Running: /export/home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_solaris/jdkbinary/j2sdk-image/bin/java -version [2024-09-05T23:39:57.758Z] STF 00:39:57.457 - [2024-09-05T23:39:57.758Z] STF 00:39:57.457 - +------ Step 1 - Run AuthCenter [2024-09-05T23:39:57.758Z] STF 00:39:57.457 - | Start background process [2024-09-05T23:39:57.758Z] STF 00:39:57.457 - | Program: /export/home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_solaris/jdkbinary/j2sdk-image/bin/java [2024-09-05T23:39:57.758Z] STF 00:39:57.457 - | Mnemonic: AUTH [2024-09-05T23:39:57.758Z] STF 00:39:57.457 - | Echo: ECHO_ON [2024-09-05T23:39:57.758Z] STF 00:39:57.457 - | Expectation: NEVER [2024-09-05T23:39:57.758Z] STF 00:39:57.457 - | [2024-09-05T23:39:57.758Z] STF 00:39:57.458 - Running command: /export/home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_solaris/jdkbinary/j2sdk-image/bin/java -classpath /export/home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_solaris/jvmtest/system/aqa-systemtest/openjdk.test.security/bin net.adoptopenjdk.test.auth.AuthCenter [2024-09-05T23:39:57.758Z] STF 00:39:57.458 - Redirecting stderr to /export/home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_solaris/aqa-tests/TKG/output_1725576051484/OAuthTest_0/20240906-003955-OAuthTest/results/1.AUTH.stderr [2024-09-05T23:39:57.758Z] STF 00:39:57.458 - Redirecting stdout to /export/home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_solaris/aqa-tests/TKG/output_1725576051484/OAuthTest_0/20240906-003955-OAuthTest/results/1.AUTH.stdout [2024-09-05T23:39:57.758Z] STF 00:39:57.500 - [2024-09-05T23:39:57.758Z] STF 00:39:57.500 - +------ Step 2 - Run Server [2024-09-05T23:39:57.758Z] STF 00:39:57.500 - | Start background process [2024-09-05T23:39:57.758Z] STF 00:39:57.500 - | Program: /export/home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_solaris/jdkbinary/j2sdk-image/bin/java [2024-09-05T23:39:57.758Z] STF 00:39:57.500 - | Mnemonic: SER [2024-09-05T23:39:57.758Z] STF 00:39:57.500 - | Echo: ECHO_ON [2024-09-05T23:39:57.758Z] STF 00:39:57.500 - | Expectation: NEVER [2024-09-05T23:39:57.758Z] STF 00:39:57.500 - | [2024-09-05T23:39:57.759Z] STF 00:39:57.500 - Running command: /export/home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_solaris/jdkbinary/j2sdk-image/bin/java -classpath /export/home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_solaris/jvmtest/system/aqa-systemtest/openjdk.test.security/bin net.adoptopenjdk.test.auth.Server /export/home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_solaris/jvmtest/system/aqa-systemtest/openjdk.test.security/src/test.security/net/adoptopenjdk/test/auth/testkeys TLSv1.3 [2024-09-05T23:39:57.759Z] STF 00:39:57.500 - Redirecting stderr to /export/home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_solaris/aqa-tests/TKG/output_1725576051484/OAuthTest_0/20240906-003955-OAuthTest/results/2.SER.stderr [2024-09-05T23:39:57.759Z] STF 00:39:57.500 - Redirecting stdout to /export/home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_solaris/aqa-tests/TKG/output_1725576051484/OAuthTest_0/20240906-003955-OAuthTest/results/2.SER.stdout [2024-09-05T23:39:57.759Z] STF 00:39:57.533 - [2024-09-05T23:39:57.759Z] STF 00:39:57.533 - +------ Step 3 - Run Client [2024-09-05T23:39:57.759Z] STF 00:39:57.533 - | Start background process [2024-09-05T23:39:57.759Z] STF 00:39:57.533 - | Program: /export/home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_solaris/jdkbinary/j2sdk-image/bin/java [2024-09-05T23:39:57.759Z] STF 00:39:57.533 - | Mnemonic: CLI [2024-09-05T23:39:57.759Z] STF 00:39:57.533 - | Echo: ECHO_ON [2024-09-05T23:39:57.759Z] STF 00:39:57.533 - | Expectation: CLEAN_RUN within 10s [2024-09-05T23:39:57.759Z] STF 00:39:57.533 - | [2024-09-05T23:39:57.759Z] STF 00:39:57.534 - Running command: /export/home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_solaris/jdkbinary/j2sdk-image/bin/java -classpath /export/home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_solaris/jvmtest/system/aqa-systemtest/openjdk.test.security/bin net.adoptopenjdk.test.auth.Client /export/home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_solaris/jvmtest/system/aqa-systemtest/openjdk.test.security/src/test.security/net/adoptopenjdk/test/auth/testkeys TLSv1.3 [2024-09-05T23:39:57.759Z] STF 00:39:57.534 - Redirecting stderr to /export/home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_solaris/aqa-tests/TKG/output_1725576051484/OAuthTest_0/20240906-003955-OAuthTest/results/3.CLI.stderr [2024-09-05T23:39:57.759Z] STF 00:39:57.534 - Redirecting stdout to /export/home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_solaris/aqa-tests/TKG/output_1725576051484/OAuthTest_0/20240906-003955-OAuthTest/results/3.CLI.stdout [2024-09-05T23:39:57.759Z] openjdk version "1.8.0_432-beta" [2024-09-05T23:39:57.759Z] OpenJDK Runtime Environment (Temurin)(build 1.8.0_432-beta-202409052003-b04) [2024-09-05T23:39:57.759Z] OpenJDK 64-Bit Server VM (Temurin)(build 25.432-b04, mixed mode) [2024-09-05T23:39:57.759Z] STF 00:39:57.569 - [2024-09-05T23:39:57.759Z] STF 00:39:57.569 - +------ Step 4 - Wait for clients to complete [2024-09-05T23:39:57.759Z] STF 00:39:57.569 - | Wait for processes to meet expectations [2024-09-05T23:39:57.759Z] STF 00:39:57.569 - | Processes: [CLI] [2024-09-05T23:39:57.759Z] STF 00:39:57.569 - | [2024-09-05T23:39:57.759Z] STF 00:39:57.569 - Monitoring processes: CLI [2024-09-05T23:39:59.064Z] CLI log in YES! [2024-09-05T23:39:59.064Z] CLI 8889 [2024-09-05T23:40:03.370Z] STF 00:40:02.403 - Monitoring Report Summary: [2024-09-05T23:40:03.370Z] STF 00:40:02.403 - o Process CLI ended with the expected exit code (0) [2024-09-05T23:40:03.370Z] STF 00:40:02.403 - [2024-09-05T23:40:03.370Z] STF 00:40:02.403 - +------ Step 5 - Stop servers [2024-09-05T23:40:03.370Z] STF 00:40:02.403 - | Kill running processes [2024-09-05T23:40:03.370Z] STF 00:40:02.403 - | Processes: [AUTH, SER] [2024-09-05T23:40:03.370Z] STF 00:40:02.403 - | [2024-09-05T23:40:03.370Z] STF 00:40:02.403 - Killing processes: AUTH SER [2024-09-05T23:40:03.370Z] STF 00:40:02.403 - o Process clean up attempt 1 for AUTH pid 19925 [2024-09-05T23:40:03.370Z] STF 00:40:02.403 - o Process AUTH pid 19925 stop() [2024-09-05T23:40:13.564Z] STF 00:40:12.503 - o Process AUTH pid 19925 terminate() [2024-09-05T23:40:14.187Z] STF 00:40:13.513 - o Process AUTH pid 19925 killed [2024-09-05T23:40:14.188Z] STF 00:40:13.514 - o Process clean up attempt 1 for SER pid 19926 [2024-09-05T23:40:14.188Z] STF 00:40:13.514 - o Process SER pid 19926 stop() [2024-09-05T23:40:24.391Z] STF 00:40:23.603 - o Process SER pid 19926 terminate() [2024-09-05T23:40:25.016Z] STF 00:40:24.614 - o Process SER pid 19926 killed [2024-09-05T23:40:25.016Z] STF 00:40:24.614 - EXECUTE stage completed [2024-09-05T23:40:25.016Z] STF 00:40:24.707 - [2024-09-05T23:40:25.016Z] STF 00:40:24.707 - ==================== T E A R D O W N ==================== [2024-09-05T23:40:25.016Z] STF 00:40:24.707 - Running teardown: perl /export/home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_solaris/aqa-tests/TKG/../TKG/output_1725576051484/OAuthTest_0/20240906-003955-OAuthTest/tearDown.pl [2024-09-05T23:40:25.016Z] STF 00:40:24.768 - TEARDOWN stage completed [2024-09-05T23:40:25.016Z] STF 00:40:24.776 - [2024-09-05T23:40:25.016Z] STF 00:40:24.776 - ===================== R E S U L T S ===================== [2024-09-05T23:40:25.016Z] STF 00:40:24.776 - Stage results: [2024-09-05T23:40:25.016Z] STF 00:40:24.776 - setUp: pass [2024-09-05T23:40:25.016Z] STF 00:40:24.776 - execute: pass [2024-09-05T23:40:25.016Z] STF 00:40:24.776 - teardown: pass [2024-09-05T23:40:25.016Z] STF 00:40:24.776 - [2024-09-05T23:40:25.016Z] STF 00:40:24.776 - Overall result: PASSED [2024-09-05T23:40:25.016Z] ----------------------------------- [2024-09-05T23:40:25.016Z] OAuthTest_0_PASSED [2024-09-05T23:40:25.016Z] ----------------------------------- [2024-09-05T23:40:25.016Z] [2024-09-05T23:40:25.016Z] TEST TEARDOWN: [2024-09-05T23:40:25.016Z] Nothing to be done for teardown. [2024-09-05T23:40:25.016Z] OAuthTest_0 Finish Time: Fri Sep 6 00:40:24 2024 Epoch Time (ms): 1725579624803