OAuthTest_0

[2024-11-25T18:50:14.237Z] Running test OAuthTest_0 ... [2024-11-25T18:50:14.237Z] =============================================== [2024-11-25T18:50:14.237Z] OAuthTest_0 Start Time: Mon Nov 25 10:50:13 2024 Epoch Time (ms): 1732560613558 [2024-11-25T18:50:14.237Z] variation: NoOptions [2024-11-25T18:50:14.237Z] JVM_OPTIONS: [2024-11-25T18:50:14.237Z] { \ [2024-11-25T18:50:14.237Z] echo ""; echo "TEST SETUP:"; \ [2024-11-25T18:50:14.237Z] echo "Nothing to be done for setup."; \ [2024-11-25T18:50:14.237Z] mkdir -p "/Users/admin/workspace/workspace/Test_openjdk8_hs_extended.system_x86-64_mac/aqa-tests/TKG/../TKG/output_17325539834960/OAuthTest_0"; \ [2024-11-25T18:50:14.237Z] cd "/Users/admin/workspace/workspace/Test_openjdk8_hs_extended.system_x86-64_mac/aqa-tests/TKG/../TKG/output_17325539834960/OAuthTest_0"; \ [2024-11-25T18:50:14.237Z] echo ""; echo "TESTING:"; \ [2024-11-25T18:50:14.237Z] 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_17325539834960/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_17325539834960/OAuthTest_0"; else echo "-----------------------------------"; echo "OAuthTest_0""_FAILED"; echo "-----------------------------------"; fi; \ [2024-11-25T18:50:14.237Z] echo ""; echo "TEST TEARDOWN:"; \ [2024-11-25T18:50:14.237Z] echo "Nothing to be done for teardown."; \ [2024-11-25T18:50:14.237Z] } 2>&1 | tee -a "/Users/admin/workspace/workspace/Test_openjdk8_hs_extended.system_x86-64_mac/aqa-tests/TKG/../TKG/output_17325539834960/TestTargetResult"; [2024-11-25T18:50:14.237Z] [2024-11-25T18:50:14.237Z] TEST SETUP: [2024-11-25T18:50:14.237Z] Nothing to be done for setup. [2024-11-25T18:50:14.237Z] [2024-11-25T18:50:14.237Z] TESTING: [2024-11-25T18:50:14.237Z] STF 10:50:13.891 - ========================= S T F ========================= [2024-11-25T18:50:14.237Z] 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_17325539834960/OAuthTest_0 [2024-11-25T18:50:14.674Z] There is 10407 Mb free [2024-11-25T18:50:14.675Z] STF 10:50:13.937 - ================== G E N E R A T I O N ================== [2024-11-25T18:50:14.675Z] STF 10:50:13.999 - Checking JVM: /Users/admin/workspace/workspace/Test_openjdk8_hs_extended.system_x86-64_mac/jdkbinary/j2sdk-image/Contents/Home/bin/../ [2024-11-25T18:50:14.675Z] STF 10:50:14.000 - 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_17325539834960/OAuthTest_0/20241125-105013-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_17325539834960/OAuthTest_0/20241125-105013-OAuthTest" [2024-11-25T18:50:17.966Z] GEN 10:50:17.065 - 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-11-25T18:50:17.966Z] GEN 10:50:17.100 - Found test. Project: 'openjdk.test.security' class: 'net.adoptopenjdk.test.auth.OAuthTest' [2024-11-25T18:50:19.573Z] GEN Classpath directories used by project 'openjdk.test.security': [2024-11-25T18:50:19.573Z] GEN /Users/admin/workspace/workspace/Test_openjdk8_hs_extended.system_x86-64_mac/jvmtest/system/aqa-systemtest/openjdk.test.security/bin [2024-11-25T18:50:19.573Z] GEN /Users/admin/workspace/workspace/Test_openjdk8_hs_extended.system_x86-64_mac/jvmtest/system/STF/stf.core/bin [2024-11-25T18:50:19.573Z] GEN /Users/admin/workspace/testDependency/system_lib/log4j/log4j-api.jar [2024-11-25T18:50:19.573Z] GEN /Users/admin/workspace/testDependency/system_lib/log4j/log4j-core.jar [2024-11-25T18:50:19.573Z] GEN /Users/admin/workspace/testDependency/system_lib/junit/junit.jar [2024-11-25T18:50:19.573Z] GEN 10:50:18.829 - Using Mode NoOptions. Values = '' [2024-11-25T18:50:20.138Z] GEN SSLv3 [2024-11-25T18:50:20.138Z] GEN TLSv1 [2024-11-25T18:50:20.138Z] GEN TLSv1.3 [2024-11-25T18:50:20.138Z] GEN TLSv1.2 [2024-11-25T18:50:20.138Z] GEN TLSv1.1 [2024-11-25T18:50:20.138Z] GEN SSLv2Hello [2024-11-25T18:50:20.138Z] GEN Testing with : TLSv1.3 [2024-11-25T18:50:20.138Z] GEN 10:50:19.647 - [2024-11-25T18:50:20.138Z] GEN 10:50:19.647 - Test command summary: [2024-11-25T18:50:20.138Z] GEN 10:50:19.647 - Step Stage Command Description [2024-11-25T18:50:20.138Z] GEN 10:50:19.647 - -----+--------+-----------------+------------ [2024-11-25T18:50:20.138Z] GEN 10:50:19.647 - 1 execute Run java Run AuthCenter [2024-11-25T18:50:20.138Z] GEN 10:50:19.647 - 2 execute Run java Run Server [2024-11-25T18:50:20.138Z] GEN 10:50:19.647 - 3 execute Run java Run Client [2024-11-25T18:50:20.138Z] GEN 10:50:19.647 - 4 execute Monitor Wait for clients to complete [2024-11-25T18:50:20.138Z] GEN 10:50:19.647 - 5 execute kill Stop servers [2024-11-25T18:50:20.776Z] STF 10:50:19.930 - [2024-11-25T18:50:20.776Z] STF 10:50:19.930 - Script generation completed [2024-11-25T18:50:20.776Z] STF 10:50:19.930 - [2024-11-25T18:50:20.776Z] STF 10:50:19.931 - [2024-11-25T18:50:20.776Z] STF 10:50:19.931 - ======================= S E T U P ======================= [2024-11-25T18:50:20.776Z] STF 10:50:19.931 - Running setup: perl /Users/admin/workspace/workspace/Test_openjdk8_hs_extended.system_x86-64_mac/aqa-tests/TKG/../TKG/output_17325539834960/OAuthTest_0/20241125-105013-OAuthTest/setUp.pl [2024-11-25T18:50:22.307Z] STF 10:50:21.996 - SETUP stage completed [2024-11-25T18:50:22.307Z] STF 10:50:22.026 - [2024-11-25T18:50:22.307Z] STF 10:50:22.026 - ==================== E X E C U T E - ==================== [2024-11-25T18:50:22.307Z] STF 10:50:22.026 - Running execute: perl /Users/admin/workspace/workspace/Test_openjdk8_hs_extended.system_x86-64_mac/aqa-tests/TKG/../TKG/output_17325539834960/OAuthTest_0/20241125-105013-OAuthTest/execute.pl [2024-11-25T18:50:22.796Z] STF 10:50:22.456 - [2024-11-25T18:50:22.796Z] STF 10:50:22.456 - Java version [2024-11-25T18:50:22.796Z] STF 10:50:22.456 - Running: /Users/admin/workspace/workspace/Test_openjdk8_hs_extended.system_x86-64_mac/jdkbinary/j2sdk-image/Contents/Home/bin/java -version [2024-11-25T18:50:23.210Z] openjdk version "1.8.0_442-beta" [2024-11-25T18:50:23.210Z] OpenJDK Runtime Environment (Temurin)(build 1.8.0_442-beta-202411251201-b03) [2024-11-25T18:50:23.210Z] OpenJDK 64-Bit Server VM (Temurin)(build 25.442-b03, mixed mode) [2024-11-25T18:50:23.726Z] STF 10:50:23.000 - [2024-11-25T18:50:23.726Z] STF 10:50:23.000 - +------ Step 1 - Run AuthCenter [2024-11-25T18:50:23.726Z] STF 10:50:23.000 - | Start background process [2024-11-25T18:50:23.726Z] STF 10:50:23.000 - | Program: /Users/admin/workspace/workspace/Test_openjdk8_hs_extended.system_x86-64_mac/jdkbinary/j2sdk-image/Contents/Home/bin/java [2024-11-25T18:50:23.726Z] STF 10:50:23.000 - | Mnemonic: AUTH [2024-11-25T18:50:23.726Z] STF 10:50:23.000 - | Echo: ECHO_ON [2024-11-25T18:50:23.726Z] STF 10:50:23.001 - | Expectation: NEVER [2024-11-25T18:50:23.726Z] STF 10:50:23.001 - | [2024-11-25T18:50:23.726Z] STF 10:50:23.001 - 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-11-25T18:50:23.726Z] STF 10:50:23.002 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk8_hs_extended.system_x86-64_mac/aqa-tests/TKG/output_17325539834960/OAuthTest_0/20241125-105013-OAuthTest/results/1.AUTH.stderr [2024-11-25T18:50:23.726Z] STF 10:50:23.002 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk8_hs_extended.system_x86-64_mac/aqa-tests/TKG/output_17325539834960/OAuthTest_0/20241125-105013-OAuthTest/results/1.AUTH.stdout [2024-11-25T18:50:23.726Z] STF 10:50:23.065 - [2024-11-25T18:50:23.726Z] STF 10:50:23.065 - +------ Step 2 - Run Server [2024-11-25T18:50:23.726Z] STF 10:50:23.065 - | Start background process [2024-11-25T18:50:23.726Z] STF 10:50:23.065 - | Program: /Users/admin/workspace/workspace/Test_openjdk8_hs_extended.system_x86-64_mac/jdkbinary/j2sdk-image/Contents/Home/bin/java [2024-11-25T18:50:23.726Z] STF 10:50:23.065 - | Mnemonic: SER [2024-11-25T18:50:23.726Z] STF 10:50:23.065 - | Echo: ECHO_ON [2024-11-25T18:50:23.726Z] STF 10:50:23.065 - | Expectation: NEVER [2024-11-25T18:50:23.726Z] STF 10:50:23.065 - | [2024-11-25T18:50:23.726Z] STF 10:50:23.066 - 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-11-25T18:50:23.726Z] STF 10:50:23.066 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk8_hs_extended.system_x86-64_mac/aqa-tests/TKG/output_17325539834960/OAuthTest_0/20241125-105013-OAuthTest/results/2.SER.stderr [2024-11-25T18:50:23.726Z] STF 10:50:23.066 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk8_hs_extended.system_x86-64_mac/aqa-tests/TKG/output_17325539834960/OAuthTest_0/20241125-105013-OAuthTest/results/2.SER.stdout [2024-11-25T18:50:23.726Z] STF 10:50:23.081 - [2024-11-25T18:50:23.726Z] STF 10:50:23.081 - +------ Step 3 - Run Client [2024-11-25T18:50:23.726Z] STF 10:50:23.081 - | Start background process [2024-11-25T18:50:23.726Z] STF 10:50:23.081 - | Program: /Users/admin/workspace/workspace/Test_openjdk8_hs_extended.system_x86-64_mac/jdkbinary/j2sdk-image/Contents/Home/bin/java [2024-11-25T18:50:23.726Z] STF 10:50:23.081 - | Mnemonic: CLI [2024-11-25T18:50:23.726Z] STF 10:50:23.081 - | Echo: ECHO_ON [2024-11-25T18:50:23.726Z] STF 10:50:23.081 - | Expectation: CLEAN_RUN within 10s [2024-11-25T18:50:23.726Z] STF 10:50:23.081 - | [2024-11-25T18:50:23.726Z] STF 10:50:23.082 - 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-11-25T18:50:23.726Z] STF 10:50:23.082 - Redirecting stderr to /Users/admin/workspace/workspace/Test_openjdk8_hs_extended.system_x86-64_mac/aqa-tests/TKG/output_17325539834960/OAuthTest_0/20241125-105013-OAuthTest/results/3.CLI.stderr [2024-11-25T18:50:23.726Z] STF 10:50:23.082 - Redirecting stdout to /Users/admin/workspace/workspace/Test_openjdk8_hs_extended.system_x86-64_mac/aqa-tests/TKG/output_17325539834960/OAuthTest_0/20241125-105013-OAuthTest/results/3.CLI.stdout [2024-11-25T18:50:23.726Z] STF 10:50:23.103 - [2024-11-25T18:50:23.726Z] STF 10:50:23.103 - +------ Step 4 - Wait for clients to complete [2024-11-25T18:50:23.726Z] STF 10:50:23.103 - | Wait for processes to meet expectations [2024-11-25T18:50:23.726Z] STF 10:50:23.103 - | Processes: [CLI] [2024-11-25T18:50:23.726Z] STF 10:50:23.103 - | [2024-11-25T18:50:23.726Z] STF 10:50:23.103 - Monitoring processes: CLI [2024-11-25T18:50:25.647Z] CLI log in YES! [2024-11-25T18:50:25.647Z] CLI 8889 [2024-11-25T18:50:29.679Z] STF 10:50:29.311 - Monitoring Report Summary: [2024-11-25T18:50:29.679Z] STF 10:50:29.311 - o Process CLI ended with the expected exit code (0) [2024-11-25T18:50:29.679Z] STF 10:50:29.311 - [2024-11-25T18:50:29.679Z] STF 10:50:29.311 - +------ Step 5 - Stop servers [2024-11-25T18:50:29.679Z] STF 10:50:29.311 - | Kill running processes [2024-11-25T18:50:29.679Z] STF 10:50:29.311 - | Processes: [AUTH, SER] [2024-11-25T18:50:29.679Z] STF 10:50:29.311 - | [2024-11-25T18:50:29.679Z] STF 10:50:29.311 - Killing processes: AUTH SER [2024-11-25T18:50:29.679Z] STF 10:50:29.311 - o Process clean up attempt 1 for SER pid 8837 [2024-11-25T18:50:29.679Z] STF 10:50:29.311 - o Process SER pid 8837 stop() [2024-11-25T18:50:30.946Z] STF 10:50:30.322 - o Process SER pid 8837 killed [2024-11-25T18:50:30.946Z] STF 10:50:30.323 - o Process clean up attempt 1 for AUTH pid 8836 [2024-11-25T18:50:30.946Z] STF 10:50:30.323 - o Process AUTH pid 8836 stop() [2024-11-25T18:50:31.784Z] STF 10:50:31.333 - o Process AUTH pid 8836 killed [2024-11-25T18:50:31.784Z] STF 10:50:31.333 - EXECUTE stage completed [2024-11-25T18:50:31.784Z] STF 10:50:31.349 - [2024-11-25T18:50:31.784Z] STF 10:50:31.349 - ==================== T E A R D O W N ==================== [2024-11-25T18:50:31.784Z] STF 10:50:31.349 - Running teardown: perl /Users/admin/workspace/workspace/Test_openjdk8_hs_extended.system_x86-64_mac/aqa-tests/TKG/../TKG/output_17325539834960/OAuthTest_0/20241125-105013-OAuthTest/tearDown.pl [2024-11-25T18:50:31.784Z] STF 10:50:31.486 - TEARDOWN stage completed [2024-11-25T18:50:31.784Z] STF 10:50:31.502 - [2024-11-25T18:50:31.784Z] STF 10:50:31.502 - ===================== R E S U L T S ===================== [2024-11-25T18:50:31.784Z] STF 10:50:31.502 - Stage results: [2024-11-25T18:50:31.784Z] STF 10:50:31.502 - setUp: pass [2024-11-25T18:50:31.784Z] STF 10:50:31.502 - execute: pass [2024-11-25T18:50:31.784Z] STF 10:50:31.502 - teardown: pass [2024-11-25T18:50:31.784Z] STF 10:50:31.502 - [2024-11-25T18:50:31.784Z] STF 10:50:31.502 - Overall result: PASSED [2024-11-25T18:50:31.784Z] ----------------------------------- [2024-11-25T18:50:31.784Z] OAuthTest_0_PASSED [2024-11-25T18:50:31.784Z] ----------------------------------- [2024-11-25T18:50:31.784Z] [2024-11-25T18:50:31.784Z] TEST TEARDOWN: [2024-11-25T18:50:31.784Z] Nothing to be done for teardown. [2024-11-25T18:50:32.194Z] OAuthTest_0 Finish Time: Mon Nov 25 10:50:31 2024 Epoch Time (ms): 1732560631594