OAuthTest_0

[2024-09-02T11:49:09.530Z] Running test OAuthTest_0 ... [2024-09-02T11:49:09.920Z] =============================================== [2024-09-02T11:49:09.920Z] OAuthTest_0 Start Time: Mon Sep 2 04:49:09 2024 Epoch Time (ms): 1725277749136 [2024-09-02T11:49:09.920Z] variation: NoOptions [2024-09-02T11:49:09.920Z] JVM_OPTIONS: [2024-09-02T11:49:09.920Z] { \ [2024-09-02T11:49:09.920Z] echo ""; echo "TEST SETUP:"; \ [2024-09-02T11:49:09.920Z] echo "Nothing to be done for setup."; \ [2024-09-02T11:49:09.920Z] mkdir -p "/Users/admin/workspace/workspace/Test_openjdk8_hs_extended.system_x86-64_mac/aqa-tests/TKG/../TKG/output_17252712069052/OAuthTest_0"; \ [2024-09-02T11:49:09.920Z] cd "/Users/admin/workspace/workspace/Test_openjdk8_hs_extended.system_x86-64_mac/aqa-tests/TKG/../TKG/output_17252712069052/OAuthTest_0"; \ [2024-09-02T11:49:09.920Z] echo ""; echo "TESTING:"; \ [2024-09-02T11:49:09.920Z] perl /Users/admin/workspace/workspace/Test_openjdk8_hs_extended.system_x86-64_mac/aqa-tests/TKG/../../jvmtest/system/security/..//STF/stf.core/scripts/stf.pl -test-root="/Users/admin/workspace/workspace/Test_openjdk8_hs_extended.system_x86-64_mac/aqa-tests/TKG/../../jvmtest/system/security/..//STF;/Users/admin/workspace/workspace/Test_openjdk8_hs_extended.system_x86-64_mac/aqa-tests/TKG/../../jvmtest/system/security/..//aqa-systemtest""" -systemtest-prereqs="/Users/admin/workspace/workspace/Test_openjdk8_hs_extended.system_x86-64_mac/../../testDependency/system_lib/" -java-args=' ' -results-root="/Users/admin/workspace/workspace/Test_openjdk8_hs_extended.system_x86-64_mac/aqa-tests/TKG/../TKG/output_17252712069052/OAuthTest_0" -test=OAuthTest; if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "OAuthTest_0""_PASSED"; echo "-----------------------------------"; cd /Users/admin/workspace/workspace/Test_openjdk8_hs_extended.system_x86-64_mac/aqa-tests/TKG/..; rm -f -r "/Users/admin/workspace/workspace/Test_openjdk8_hs_extended.system_x86-64_mac/aqa-tests/TKG/../TKG/output_17252712069052/OAuthTest_0"; else echo "-----------------------------------"; echo "OAuthTest_0""_FAILED"; echo "-----------------------------------"; fi; \ [2024-09-02T11:49:09.920Z] echo ""; echo "TEST TEARDOWN:"; \ [2024-09-02T11:49:09.920Z] echo "Nothing to be done for teardown."; \ [2024-09-02T11:49:09.920Z] } 2>&1 | tee -a "/Users/admin/workspace/workspace/Test_openjdk8_hs_extended.system_x86-64_mac/aqa-tests/TKG/../TKG/output_17252712069052/TestTargetResult"; [2024-09-02T11:49:09.920Z] [2024-09-02T11:49:09.920Z] TEST SETUP: [2024-09-02T11:49:09.920Z] Nothing to be done for setup. [2024-09-02T11:49:09.920Z] [2024-09-02T11:49:09.920Z] TESTING: [2024-09-02T11:49:09.920Z] STF 04:49:09.431 - ========================= S T F ========================= [2024-09-02T11:49:09.920Z] systemtest-prereqs has been processed, and set to: /Users/admin/workspace/testDependency/system_libRetrieving amount of free space on drive containing /Users/admin/workspace/workspace/Test_openjdk8_hs_extended.system_x86-64_mac/aqa-tests/TKG/../TKG/output_17252712069052/OAuthTest_0 [2024-09-02T11:49:10.316Z] There is 10394 Mb free [2024-09-02T11:49:10.316Z] STF 04:49:09.456 - ================== G E N E R A T I O N ================== [2024-09-02T11:49:10.316Z] STF 04:49:09.457 - Checking JVM: /Users/admin/workspace/workspace/Test_openjdk8_hs_extended.system_x86-64_mac/jdkbinary/j2sdk-image/Contents/Home/bin/../ [2024-09-02T11:49:10.316Z] STF 04:49:09.457 - Starting process to generate scripts: /Users/admin/workspace/workspace/Test_openjdk8_hs_extended.system_x86-64_mac/jdkbinary/j2sdk-image/Contents/Home/bin/..//bin/java -Dlog4j.skipJansi=true -Djava.system.class.loader=net.adoptopenjdk.stf.runner.StfClassLoader -classpath /Users/admin/workspace/workspace/Test_openjdk8_hs_extended.system_x86-64_mac/../../testDependency/system_lib//log4j/log4j-api.jar:/Users/admin/workspace/workspace/Test_openjdk8_hs_extended.system_x86-64_mac/../../testDependency/system_lib//log4j/log4j-core.jar:/Users/admin/workspace/workspace/Test_openjdk8_hs_extended.system_x86-64_mac/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "/Users/admin/workspace/workspace/Test_openjdk8_hs_extended.system_x86-64_mac/aqa-tests/TKG/../TKG/output_17252712069052/OAuthTest_0/20240902-044909-OAuthTest/stf_parameters.properties, , /Users/admin/workspace/workspace/Test_openjdk8_hs_extended.system_x86-64_mac/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "/Users/admin/workspace/workspace/Test_openjdk8_hs_extended.system_x86-64_mac/aqa-tests/TKG/../TKG/output_17252712069052/OAuthTest_0/20240902-044909-OAuthTest" [2024-09-02T11:49:11.224Z] GEN 04:49:10.580 - Found test. Project: 'openjdk.test.security' class: 'OAuthTest.class' Dir: '/Users/admin/workspace/workspace/Test_openjdk8_hs_extended.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.security/bin' [2024-09-02T11:49:11.659Z] GEN 04:49:10.658 - Found test. Project: 'openjdk.test.security' class: 'net.adoptopenjdk.test.auth.OAuthTest' [2024-09-02T11:49:11.659Z] GEN Classpath directories used by project 'openjdk.test.security': [2024-09-02T11:49:11.659Z] GEN /Users/admin/workspace/workspace/Test_openjdk8_hs_extended.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.security/bin [2024-09-02T11:49:11.659Z] GEN /Users/admin/workspace/workspace/Test_openjdk8_hs_extended.system_x86-64_mac/jvmtest/system/STF/stf.core/bin [2024-09-02T11:49:11.659Z] GEN /Users/admin/workspace/testDependency/system_lib/log4j/log4j-api.jar [2024-09-02T11:49:11.659Z] GEN /Users/admin/workspace/testDependency/system_lib/log4j/log4j-core.jar [2024-09-02T11:49:11.659Z] GEN /Users/admin/workspace/testDependency/system_lib/junit/junit.jar [2024-09-02T11:49:12.089Z] GEN 04:49:11.203 - Using Mode NoOptions. Values = '' [2024-09-02T11:49:12.565Z] GEN SSLv3 [2024-09-02T11:49:12.565Z] GEN TLSv1 [2024-09-02T11:49:12.565Z] GEN TLSv1.3 [2024-09-02T11:49:12.565Z] GEN TLSv1.2 [2024-09-02T11:49:12.565Z] GEN TLSv1.1 [2024-09-02T11:49:12.565Z] GEN SSLv2Hello [2024-09-02T11:49:12.565Z] GEN Testing with : TLSv1.3 [2024-09-02T11:49:12.565Z] GEN 04:49:11.830 - [2024-09-02T11:49:12.565Z] GEN 04:49:11.830 - Test command summary: [2024-09-02T11:49:12.565Z] GEN 04:49:11.831 - Step Stage Command Description [2024-09-02T11:49:12.565Z] GEN 04:49:11.831 - -----+--------+-----------------+------------ [2024-09-02T11:49:12.565Z] GEN 04:49:11.831 - 1 execute Run java Run AuthCenter [2024-09-02T11:49:12.565Z] GEN 04:49:11.831 - 2 execute Run java Run Server [2024-09-02T11:49:12.565Z] GEN 04:49:11.831 - 3 execute Run java Run Client [2024-09-02T11:49:12.565Z] GEN 04:49:11.831 - 4 execute Monitor Wait for clients to complete [2024-09-02T11:49:12.565Z] GEN 04:49:11.831 - 5 execute kill Stop servers [2024-09-02T11:49:12.565Z] STF 04:49:11.886 - [2024-09-02T11:49:12.565Z] STF 04:49:11.886 - Script generation completed [2024-09-02T11:49:12.565Z] STF 04:49:11.886 - [2024-09-02T11:49:12.565Z] STF 04:49:11.945 - [2024-09-02T11:49:12.565Z] STF 04:49:11.945 - ======================= S E T U P ======================= [2024-09-02T11:49:12.565Z] STF 04:49:11.945 - Running setup: perl /Users/admin/workspace/workspace/Test_openjdk8_hs_extended.system_x86-64_mac/aqa-tests/TKG/../TKG/output_17252712069052/OAuthTest_0/20240902-044909-OAuthTest/setUp.pl [2024-09-02T11:49:12.974Z] STF 04:49:12.162 - SETUP stage completed [2024-09-02T11:49:12.974Z] STF 04:49:12.224 - [2024-09-02T11:49:12.974Z] STF 04:49:12.224 - ==================== E X E C U T E - ==================== [2024-09-02T11:49:12.974Z] STF 04:49:12.224 - Running execute: perl /Users/admin/workspace/workspace/Test_openjdk8_hs_extended.system_x86-64_mac/aqa-tests/TKG/../TKG/output_17252712069052/OAuthTest_0/20240902-044909-OAuthTest/execute.pl [2024-09-02T11:49:12.974Z] STF 04:49:12.430 - [2024-09-02T11:49:12.974Z] STF 04:49:12.489 - Java version [2024-09-02T11:49:12.974Z] STF 04:49:12.489 - Running: /Users/admin/workspace/workspace/Test_openjdk8_hs_extended.system_x86-64_mac/jdkbinary/j2sdk-image/Contents/Home/bin/java -version [2024-09-02T11:49:13.430Z] STF 04:49:12.622 - [2024-09-02T11:49:13.430Z] STF 04:49:12.622 - +------ Step 1 - Run AuthCenter [2024-09-02T11:49:13.430Z] STF 04:49:12.622 - | Start background process [2024-09-02T11:49:13.430Z] STF 04:49:12.622 - | Program: /Users/admin/workspace/workspace/Test_openjdk8_hs_extended.system_x86-64_mac/jdkbinary/j2sdk-image/Contents/Home/bin/java [2024-09-02T11:49:13.430Z] STF 04:49:12.622 - | Mnemonic: AUTH [2024-09-02T11:49:13.430Z] STF 04:49:12.622 - | Echo: ECHO_ON [2024-09-02T11:49:13.430Z] STF 04:49:12.622 - | Expectation: NEVER [2024-09-02T11:49:13.430Z] STF 04:49:12.622 - | [2024-09-02T11:49:13.430Z] STF 04:49:12.623 - Running command: /Users/admin/workspace/workspace/Test_openjdk8_hs_extended.system_x86-64_mac/jdkbinary/j2sdk-image/Contents/Home/bin/java -classpath /Users/admin/workspace/workspace/Test_openjdk8_hs_extended.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.security/bin net.adoptopenjdk.test.auth.AuthCenter [2024-09-02T11:49:13.430Z] STF 04:49:12.623 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk8_hs_extended.system_x86-64_mac/aqa-tests/TKG/output_17252712069052/OAuthTest_0/20240902-044909-OAuthTest/results/1.AUTH.stderr [2024-09-02T11:49:13.430Z] STF 04:49:12.623 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk8_hs_extended.system_x86-64_mac/aqa-tests/TKG/output_17252712069052/OAuthTest_0/20240902-044909-OAuthTest/results/1.AUTH.stdout [2024-09-02T11:49:13.430Z] openjdk version "1.8.0_432-beta" [2024-09-02T11:49:13.430Z] OpenJDK Runtime Environment (Temurin)(build 1.8.0_432-beta-202409020915-b03) [2024-09-02T11:49:13.430Z] OpenJDK 64-Bit Server VM (Temurin)(build 25.432-b03, mixed mode) [2024-09-02T11:49:13.430Z] STF 04:49:12.661 - [2024-09-02T11:49:13.430Z] STF 04:49:12.664 - +------ Step 2 - Run Server [2024-09-02T11:49:13.430Z] STF 04:49:12.664 - | Start background process [2024-09-02T11:49:13.430Z] STF 04:49:12.664 - | Program: /Users/admin/workspace/workspace/Test_openjdk8_hs_extended.system_x86-64_mac/jdkbinary/j2sdk-image/Contents/Home/bin/java [2024-09-02T11:49:13.430Z] STF 04:49:12.664 - | Mnemonic: SER [2024-09-02T11:49:13.430Z] STF 04:49:12.664 - | Echo: ECHO_ON [2024-09-02T11:49:13.430Z] STF 04:49:12.664 - | Expectation: NEVER [2024-09-02T11:49:13.430Z] STF 04:49:12.664 - | [2024-09-02T11:49:13.430Z] STF 04:49:12.726 - Running command: /Users/admin/workspace/workspace/Test_openjdk8_hs_extended.system_x86-64_mac/jdkbinary/j2sdk-image/Contents/Home/bin/java -classpath /Users/admin/workspace/workspace/Test_openjdk8_hs_extended.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.security/bin net.adoptopenjdk.test.auth.Server /Users/admin/workspace/workspace/Test_openjdk8_hs_extended.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.security/src/test.security/net/adoptopenjdk/test/auth/testkeys TLSv1.3 [2024-09-02T11:49:13.430Z] STF 04:49:12.726 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk8_hs_extended.system_x86-64_mac/aqa-tests/TKG/output_17252712069052/OAuthTest_0/20240902-044909-OAuthTest/results/2.SER.stderr [2024-09-02T11:49:13.430Z] STF 04:49:12.726 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk8_hs_extended.system_x86-64_mac/aqa-tests/TKG/output_17252712069052/OAuthTest_0/20240902-044909-OAuthTest/results/2.SER.stdout [2024-09-02T11:49:13.430Z] STF 04:49:12.768 - [2024-09-02T11:49:13.430Z] STF 04:49:12.818 - +------ Step 3 - Run Client [2024-09-02T11:49:13.430Z] STF 04:49:12.818 - | Start background process [2024-09-02T11:49:13.430Z] STF 04:49:12.818 - | Program: /Users/admin/workspace/workspace/Test_openjdk8_hs_extended.system_x86-64_mac/jdkbinary/j2sdk-image/Contents/Home/bin/java [2024-09-02T11:49:13.430Z] STF 04:49:12.818 - | Mnemonic: CLI [2024-09-02T11:49:13.430Z] STF 04:49:12.818 - | Echo: ECHO_ON [2024-09-02T11:49:13.430Z] STF 04:49:12.818 - | Expectation: CLEAN_RUN within 10s [2024-09-02T11:49:13.430Z] STF 04:49:12.818 - | [2024-09-02T11:49:13.430Z] STF 04:49:12.819 - Running command: /Users/admin/workspace/workspace/Test_openjdk8_hs_extended.system_x86-64_mac/jdkbinary/j2sdk-image/Contents/Home/bin/java -classpath /Users/admin/workspace/workspace/Test_openjdk8_hs_extended.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.security/bin net.adoptopenjdk.test.auth.Client /Users/admin/workspace/workspace/Test_openjdk8_hs_extended.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.security/src/test.security/net/adoptopenjdk/test/auth/testkeys TLSv1.3 [2024-09-02T11:49:13.430Z] STF 04:49:12.819 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk8_hs_extended.system_x86-64_mac/aqa-tests/TKG/output_17252712069052/OAuthTest_0/20240902-044909-OAuthTest/results/3.CLI.stderr [2024-09-02T11:49:13.430Z] STF 04:49:12.819 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk8_hs_extended.system_x86-64_mac/aqa-tests/TKG/output_17252712069052/OAuthTest_0/20240902-044909-OAuthTest/results/3.CLI.stdout [2024-09-02T11:49:13.430Z] STF 04:49:12.858 - [2024-09-02T11:49:13.430Z] STF 04:49:12.858 - +------ Step 4 - Wait for clients to complete [2024-09-02T11:49:13.430Z] STF 04:49:12.858 - | Wait for processes to meet expectations [2024-09-02T11:49:13.430Z] STF 04:49:12.858 - | Processes: [CLI] [2024-09-02T11:49:13.430Z] STF 04:49:12.858 - | [2024-09-02T11:49:13.430Z] STF 04:49:12.858 - Monitoring processes: CLI [2024-09-02T11:49:14.540Z] CLI log in YES! [2024-09-02T11:49:14.540Z] CLI 8889 [2024-09-02T11:49:16.565Z] STF 04:49:15.607 - Monitoring Report Summary: [2024-09-02T11:49:16.565Z] STF 04:49:15.607 - o Process CLI ended with the expected exit code (0) [2024-09-02T11:49:16.565Z] STF 04:49:15.607 - [2024-09-02T11:49:16.565Z] STF 04:49:15.607 - +------ Step 5 - Stop servers [2024-09-02T11:49:16.565Z] STF 04:49:15.607 - | Kill running processes [2024-09-02T11:49:16.565Z] STF 04:49:15.607 - | Processes: [AUTH, SER] [2024-09-02T11:49:16.565Z] STF 04:49:15.607 - | [2024-09-02T11:49:16.565Z] STF 04:49:15.607 - Killing processes: AUTH SER [2024-09-02T11:49:16.565Z] STF 04:49:15.607 - o Process clean up attempt 1 for SER pid 8442 [2024-09-02T11:49:16.565Z] STF 04:49:15.607 - o Process SER pid 8442 stop() [2024-09-02T11:49:17.349Z] STF 04:49:16.617 - o Process SER pid 8442 killed [2024-09-02T11:49:17.349Z] STF 04:49:16.618 - o Process clean up attempt 1 for AUTH pid 8441 [2024-09-02T11:49:17.349Z] STF 04:49:16.618 - o Process AUTH pid 8441 stop() [2024-09-02T11:49:18.126Z] STF 04:49:17.623 - o Process AUTH pid 8441 killed [2024-09-02T11:49:18.126Z] STF 04:49:17.641 - EXECUTE stage completed [2024-09-02T11:49:18.511Z] STF 04:49:17.693 - [2024-09-02T11:49:18.511Z] STF 04:49:17.693 - ==================== T E A R D O W N ==================== [2024-09-02T11:49:18.511Z] STF 04:49:17.693 - Running teardown: perl /Users/admin/workspace/workspace/Test_openjdk8_hs_extended.system_x86-64_mac/aqa-tests/TKG/../TKG/output_17252712069052/OAuthTest_0/20240902-044909-OAuthTest/tearDown.pl [2024-09-02T11:49:18.511Z] STF 04:49:17.791 - TEARDOWN stage completed [2024-09-02T11:49:18.511Z] STF 04:49:17.812 - [2024-09-02T11:49:18.511Z] STF 04:49:17.812 - ===================== R E S U L T S ===================== [2024-09-02T11:49:18.511Z] STF 04:49:17.812 - Stage results: [2024-09-02T11:49:18.511Z] STF 04:49:17.812 - setUp: pass [2024-09-02T11:49:18.511Z] STF 04:49:17.812 - execute: pass [2024-09-02T11:49:18.511Z] STF 04:49:17.812 - teardown: pass [2024-09-02T11:49:18.511Z] STF 04:49:17.812 - [2024-09-02T11:49:18.511Z] STF 04:49:17.812 - Overall result: PASSED [2024-09-02T11:49:18.511Z] ----------------------------------- [2024-09-02T11:49:18.511Z] OAuthTest_0_PASSED [2024-09-02T11:49:18.511Z] ----------------------------------- [2024-09-02T11:49:18.511Z] [2024-09-02T11:49:18.511Z] TEST TEARDOWN: [2024-09-02T11:49:18.511Z] Nothing to be done for teardown. [2024-09-02T11:49:18.511Z] OAuthTest_0 Finish Time: Mon Sep 2 04:49:17 2024 Epoch Time (ms): 1725277757885