OAuthTest_0

[2024-10-17T12:19:54.712Z] Running test OAuthTest_0 ... [2024-10-17T12:19:54.712Z] =============================================== [2024-10-17T12:19:54.713Z] OAuthTest_0 Start Time: Thu Oct 17 05:19:54 2024 Epoch Time (ms): 1729167594328 [2024-10-17T12:19:54.713Z] variation: NoOptions [2024-10-17T12:19:54.713Z] JVM_OPTIONS: [2024-10-17T12:19:54.713Z] { \ [2024-10-17T12:19:54.713Z] echo ""; echo "TEST SETUP:"; \ [2024-10-17T12:19:54.713Z] echo "Nothing to be done for setup."; \ [2024-10-17T12:19:54.713Z] mkdir -p "/Users/admin/workspace/workspace/Test_openjdk8_hs_extended.system_x86-64_mac/aqa-tests/TKG/../TKG/output_17291611721544/OAuthTest_0"; \ [2024-10-17T12:19:54.713Z] cd "/Users/admin/workspace/workspace/Test_openjdk8_hs_extended.system_x86-64_mac/aqa-tests/TKG/../TKG/output_17291611721544/OAuthTest_0"; \ [2024-10-17T12:19:54.713Z] echo ""; echo "TESTING:"; \ [2024-10-17T12:19:54.713Z] 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_17291611721544/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_17291611721544/OAuthTest_0"; else echo "-----------------------------------"; echo "OAuthTest_0""_FAILED"; echo "-----------------------------------"; fi; \ [2024-10-17T12:19:54.713Z] echo ""; echo "TEST TEARDOWN:"; \ [2024-10-17T12:19:54.713Z] echo "Nothing to be done for teardown."; \ [2024-10-17T12:19:54.713Z] } 2>&1 | tee -a "/Users/admin/workspace/workspace/Test_openjdk8_hs_extended.system_x86-64_mac/aqa-tests/TKG/../TKG/output_17291611721544/TestTargetResult"; [2024-10-17T12:19:55.096Z] [2024-10-17T12:19:55.096Z] TEST SETUP: [2024-10-17T12:19:55.096Z] Nothing to be done for setup. [2024-10-17T12:19:55.096Z] [2024-10-17T12:19:55.096Z] TESTING: [2024-10-17T12:19:55.096Z] STF 05:19:54.454 - ========================= S T F ========================= [2024-10-17T12:19:55.096Z] 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_17291611721544/OAuthTest_0 [2024-10-17T12:19:55.096Z] There is 10390 Mb free [2024-10-17T12:19:55.096Z] STF 05:19:54.464 - ================== G E N E R A T I O N ================== [2024-10-17T12:19:55.096Z] STF 05:19:54.465 - Checking JVM: /Users/admin/workspace/workspace/Test_openjdk8_hs_extended.system_x86-64_mac/jdkbinary/j2sdk-image/Contents/Home/bin/../ [2024-10-17T12:19:55.097Z] STF 05:19:54.465 - 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_17291611721544/OAuthTest_0/20241017-051954-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_17291611721544/OAuthTest_0/20241017-051954-OAuthTest" [2024-10-17T12:19:55.508Z] GEN 05:19:55.059 - 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-10-17T12:19:55.508Z] GEN 05:19:55.072 - Found test. Project: 'openjdk.test.security' class: 'net.adoptopenjdk.test.auth.OAuthTest' [2024-10-17T12:19:55.895Z] GEN Classpath directories used by project 'openjdk.test.security': [2024-10-17T12:19:55.895Z] GEN /Users/admin/workspace/workspace/Test_openjdk8_hs_extended.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.security/bin [2024-10-17T12:19:55.895Z] GEN /Users/admin/workspace/workspace/Test_openjdk8_hs_extended.system_x86-64_mac/jvmtest/system/STF/stf.core/bin [2024-10-17T12:19:55.895Z] GEN /Users/admin/workspace/testDependency/system_lib/log4j/log4j-api.jar [2024-10-17T12:19:55.895Z] GEN /Users/admin/workspace/testDependency/system_lib/log4j/log4j-core.jar [2024-10-17T12:19:55.895Z] GEN /Users/admin/workspace/testDependency/system_lib/junit/junit.jar [2024-10-17T12:19:55.895Z] GEN 05:19:55.298 - Using Mode NoOptions. Values = '' [2024-10-17T12:19:55.895Z] GEN SSLv3 [2024-10-17T12:19:55.895Z] GEN TLSv1 [2024-10-17T12:19:55.895Z] GEN TLSv1.3 [2024-10-17T12:19:55.895Z] GEN TLSv1.2 [2024-10-17T12:19:55.895Z] GEN TLSv1.1 [2024-10-17T12:19:55.895Z] GEN SSLv2Hello [2024-10-17T12:19:55.895Z] GEN Testing with : TLSv1.3 [2024-10-17T12:19:55.895Z] GEN 05:19:55.468 - [2024-10-17T12:19:55.895Z] GEN 05:19:55.468 - Test command summary: [2024-10-17T12:19:55.895Z] GEN 05:19:55.468 - Step Stage Command Description [2024-10-17T12:19:55.895Z] GEN 05:19:55.468 - -----+--------+-----------------+------------ [2024-10-17T12:19:55.895Z] GEN 05:19:55.468 - 1 execute Run java Run AuthCenter [2024-10-17T12:19:55.895Z] GEN 05:19:55.468 - 2 execute Run java Run Server [2024-10-17T12:19:55.895Z] GEN 05:19:55.468 - 3 execute Run java Run Client [2024-10-17T12:19:55.895Z] GEN 05:19:55.468 - 4 execute Monitor Wait for clients to complete [2024-10-17T12:19:55.895Z] GEN 05:19:55.468 - 5 execute kill Stop servers [2024-10-17T12:19:55.895Z] STF 05:19:55.493 - [2024-10-17T12:19:55.895Z] STF 05:19:55.493 - Script generation completed [2024-10-17T12:19:55.895Z] STF 05:19:55.493 - [2024-10-17T12:19:55.895Z] STF 05:19:55.494 - [2024-10-17T12:19:55.895Z] STF 05:19:55.494 - ======================= S E T U P ======================= [2024-10-17T12:19:55.895Z] STF 05:19:55.494 - Running setup: perl /Users/admin/workspace/workspace/Test_openjdk8_hs_extended.system_x86-64_mac/aqa-tests/TKG/../TKG/output_17291611721544/OAuthTest_0/20241017-051954-OAuthTest/setUp.pl [2024-10-17T12:19:56.312Z] STF 05:19:55.575 - SETUP stage completed [2024-10-17T12:19:56.313Z] STF 05:19:55.578 - [2024-10-17T12:19:56.313Z] STF 05:19:55.578 - ==================== E X E C U T E - ==================== [2024-10-17T12:19:56.313Z] STF 05:19:55.578 - Running execute: perl /Users/admin/workspace/workspace/Test_openjdk8_hs_extended.system_x86-64_mac/aqa-tests/TKG/../TKG/output_17291611721544/OAuthTest_0/20241017-051954-OAuthTest/execute.pl [2024-10-17T12:19:56.313Z] STF 05:19:55.658 - [2024-10-17T12:19:56.313Z] STF 05:19:55.658 - Java version [2024-10-17T12:19:56.313Z] STF 05:19:55.658 - Running: /Users/admin/workspace/workspace/Test_openjdk8_hs_extended.system_x86-64_mac/jdkbinary/j2sdk-image/Contents/Home/bin/java -version [2024-10-17T12:19:56.313Z] openjdk version "1.8.0_432" [2024-10-17T12:19:56.313Z] OpenJDK Runtime Environment (Temurin)(build 1.8.0_432-b06) [2024-10-17T12:19:56.313Z] OpenJDK 64-Bit Server VM (Temurin)(build 25.432-b06, mixed mode) [2024-10-17T12:19:56.313Z] STF 05:19:55.754 - [2024-10-17T12:19:56.313Z] STF 05:19:55.754 - +------ Step 1 - Run AuthCenter [2024-10-17T12:19:56.313Z] STF 05:19:55.754 - | Start background process [2024-10-17T12:19:56.313Z] STF 05:19:55.755 - | Program: /Users/admin/workspace/workspace/Test_openjdk8_hs_extended.system_x86-64_mac/jdkbinary/j2sdk-image/Contents/Home/bin/java [2024-10-17T12:19:56.313Z] STF 05:19:55.755 - | Mnemonic: AUTH [2024-10-17T12:19:56.313Z] STF 05:19:55.755 - | Echo: ECHO_ON [2024-10-17T12:19:56.313Z] STF 05:19:55.755 - | Expectation: NEVER [2024-10-17T12:19:56.313Z] STF 05:19:55.755 - | [2024-10-17T12:19:56.313Z] STF 05:19:55.755 - 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-10-17T12:19:56.313Z] STF 05:19:55.755 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk8_hs_extended.system_x86-64_mac/aqa-tests/TKG/output_17291611721544/OAuthTest_0/20241017-051954-OAuthTest/results/1.AUTH.stderr [2024-10-17T12:19:56.313Z] STF 05:19:55.755 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk8_hs_extended.system_x86-64_mac/aqa-tests/TKG/output_17291611721544/OAuthTest_0/20241017-051954-OAuthTest/results/1.AUTH.stdout [2024-10-17T12:19:56.313Z] STF 05:19:55.767 - [2024-10-17T12:19:56.313Z] STF 05:19:55.767 - +------ Step 2 - Run Server [2024-10-17T12:19:56.313Z] STF 05:19:55.767 - | Start background process [2024-10-17T12:19:56.313Z] STF 05:19:55.767 - | Program: /Users/admin/workspace/workspace/Test_openjdk8_hs_extended.system_x86-64_mac/jdkbinary/j2sdk-image/Contents/Home/bin/java [2024-10-17T12:19:56.313Z] STF 05:19:55.767 - | Mnemonic: SER [2024-10-17T12:19:56.313Z] STF 05:19:55.767 - | Echo: ECHO_ON [2024-10-17T12:19:56.313Z] STF 05:19:55.767 - | Expectation: NEVER [2024-10-17T12:19:56.313Z] STF 05:19:55.767 - | [2024-10-17T12:19:56.313Z] STF 05:19:55.768 - 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-10-17T12:19:56.313Z] STF 05:19:55.768 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk8_hs_extended.system_x86-64_mac/aqa-tests/TKG/output_17291611721544/OAuthTest_0/20241017-051954-OAuthTest/results/2.SER.stderr [2024-10-17T12:19:56.313Z] STF 05:19:55.768 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk8_hs_extended.system_x86-64_mac/aqa-tests/TKG/output_17291611721544/OAuthTest_0/20241017-051954-OAuthTest/results/2.SER.stdout [2024-10-17T12:19:56.313Z] STF 05:19:55.780 - [2024-10-17T12:19:56.313Z] STF 05:19:55.781 - +------ Step 3 - Run Client [2024-10-17T12:19:56.313Z] STF 05:19:55.781 - | Start background process [2024-10-17T12:19:56.313Z] STF 05:19:55.781 - | Program: /Users/admin/workspace/workspace/Test_openjdk8_hs_extended.system_x86-64_mac/jdkbinary/j2sdk-image/Contents/Home/bin/java [2024-10-17T12:19:56.313Z] STF 05:19:55.781 - | Mnemonic: CLI [2024-10-17T12:19:56.313Z] STF 05:19:55.781 - | Echo: ECHO_ON [2024-10-17T12:19:56.313Z] STF 05:19:55.781 - | Expectation: CLEAN_RUN within 10s [2024-10-17T12:19:56.313Z] STF 05:19:55.781 - | [2024-10-17T12:19:56.313Z] STF 05:19:55.782 - 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-10-17T12:19:56.313Z] STF 05:19:55.782 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk8_hs_extended.system_x86-64_mac/aqa-tests/TKG/output_17291611721544/OAuthTest_0/20241017-051954-OAuthTest/results/3.CLI.stderr [2024-10-17T12:19:56.313Z] STF 05:19:55.782 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk8_hs_extended.system_x86-64_mac/aqa-tests/TKG/output_17291611721544/OAuthTest_0/20241017-051954-OAuthTest/results/3.CLI.stdout [2024-10-17T12:19:56.313Z] STF 05:19:55.807 - [2024-10-17T12:19:56.313Z] STF 05:19:55.807 - +------ Step 4 - Wait for clients to complete [2024-10-17T12:19:56.313Z] STF 05:19:55.807 - | Wait for processes to meet expectations [2024-10-17T12:19:56.313Z] STF 05:19:55.807 - | Processes: [CLI] [2024-10-17T12:19:56.313Z] STF 05:19:55.807 - | [2024-10-17T12:19:56.313Z] STF 05:19:55.807 - Monitoring processes: CLI [2024-10-17T12:19:56.738Z] CLI log in YES! [2024-10-17T12:19:56.738Z] CLI 8889 [2024-10-17T12:19:58.072Z] STF 05:19:57.267 - Monitoring Report Summary: [2024-10-17T12:19:58.072Z] STF 05:19:57.267 - o Process CLI ended with the expected exit code (0) [2024-10-17T12:19:58.072Z] STF 05:19:57.267 - [2024-10-17T12:19:58.072Z] STF 05:19:57.267 - +------ Step 5 - Stop servers [2024-10-17T12:19:58.072Z] STF 05:19:57.267 - | Kill running processes [2024-10-17T12:19:58.072Z] STF 05:19:57.267 - | Processes: [AUTH, SER] [2024-10-17T12:19:58.072Z] STF 05:19:57.267 - | [2024-10-17T12:19:58.072Z] STF 05:19:57.267 - Killing processes: AUTH SER [2024-10-17T12:19:58.072Z] STF 05:19:57.268 - o Process clean up attempt 1 for AUTH pid 8410 [2024-10-17T12:19:58.072Z] STF 05:19:57.268 - o Process AUTH pid 8410 stop() [2024-10-17T12:19:58.876Z] STF 05:19:58.278 - o Process AUTH pid 8410 killed [2024-10-17T12:19:58.876Z] STF 05:19:58.278 - o Process clean up attempt 1 for SER pid 8414 [2024-10-17T12:19:58.876Z] STF 05:19:58.278 - o Process SER pid 8414 stop() [2024-10-17T12:19:59.668Z] STF 05:19:59.283 - o Process SER pid 8414 killed [2024-10-17T12:19:59.668Z] STF 05:19:59.284 - EXECUTE stage completed [2024-10-17T12:19:59.668Z] STF 05:19:59.318 - [2024-10-17T12:19:59.668Z] STF 05:19:59.318 - ==================== T E A R D O W N ==================== [2024-10-17T12:19:59.668Z] STF 05:19:59.318 - Running teardown: perl /Users/admin/workspace/workspace/Test_openjdk8_hs_extended.system_x86-64_mac/aqa-tests/TKG/../TKG/output_17291611721544/OAuthTest_0/20241017-051954-OAuthTest/tearDown.pl [2024-10-17T12:20:00.058Z] STF 05:19:59.400 - TEARDOWN stage completed [2024-10-17T12:20:00.058Z] STF 05:19:59.409 - [2024-10-17T12:20:00.058Z] STF 05:19:59.409 - ===================== R E S U L T S ===================== [2024-10-17T12:20:00.058Z] STF 05:19:59.409 - Stage results: [2024-10-17T12:20:00.058Z] STF 05:19:59.409 - setUp: pass [2024-10-17T12:20:00.058Z] STF 05:19:59.409 - execute: pass [2024-10-17T12:20:00.058Z] STF 05:19:59.409 - teardown: pass [2024-10-17T12:20:00.058Z] STF 05:19:59.409 - [2024-10-17T12:20:00.058Z] STF 05:19:59.409 - Overall result: PASSED [2024-10-17T12:20:00.058Z] ----------------------------------- [2024-10-17T12:20:00.058Z] OAuthTest_0_PASSED [2024-10-17T12:20:00.058Z] ----------------------------------- [2024-10-17T12:20:00.058Z] [2024-10-17T12:20:00.058Z] TEST TEARDOWN: [2024-10-17T12:20:00.058Z] Nothing to be done for teardown. [2024-10-17T12:20:00.058Z] OAuthTest_0 Finish Time: Thu Oct 17 05:19:59 2024 Epoch Time (ms): 1729167599459