OAuthTest_0

[2024-11-16T09:10:13.860Z] Running test OAuthTest_0 ... [2024-11-16T09:10:13.860Z] =============================================== [2024-11-16T09:10:13.860Z] OAuthTest_0 Start Time: Sat Nov 16 09:10:13 2024 Epoch Time (ms): 1731748213189 [2024-11-16T09:10:13.860Z] variation: NoOptions [2024-11-16T09:10:13.860Z] JVM_OPTIONS: [2024-11-16T09:10:13.860Z] { \ [2024-11-16T09:10:13.860Z] echo ""; echo "TEST SETUP:"; \ [2024-11-16T09:10:13.860Z] echo "Nothing to be done for setup."; \ [2024-11-16T09:10:13.860Z] mkdir -p "/home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_alpine-linux/aqa-tests/TKG/../TKG/output_17317482107111/OAuthTest_0"; \ [2024-11-16T09:10:13.860Z] cd "/home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_alpine-linux/aqa-tests/TKG/../TKG/output_17317482107111/OAuthTest_0"; \ [2024-11-16T09:10:13.860Z] echo ""; echo "TESTING:"; \ [2024-11-16T09:10:13.860Z] perl /home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_alpine-linux/aqa-tests/TKG/../../jvmtest/system/security/..//STF/stf.core/scripts/stf.pl -test-root="/home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_alpine-linux/aqa-tests/TKG/../../jvmtest/system/security/..//STF;/home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_alpine-linux/aqa-tests/TKG/../../jvmtest/system/security/..//aqa-systemtest""" -systemtest-prereqs="/home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_alpine-linux/../../testDependency/system_lib/" -java-args=' ' -results-root="/home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_alpine-linux/aqa-tests/TKG/../TKG/output_17317482107111/OAuthTest_0" -test=OAuthTest; if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "OAuthTest_0""_PASSED"; echo "-----------------------------------"; cd /home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_alpine-linux/aqa-tests/TKG/..; rm -f -r "/home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_alpine-linux/aqa-tests/TKG/../TKG/output_17317482107111/OAuthTest_0"; else echo "-----------------------------------"; echo "OAuthTest_0""_FAILED"; echo "-----------------------------------"; fi; \ [2024-11-16T09:10:13.860Z] echo ""; echo "TEST TEARDOWN:"; \ [2024-11-16T09:10:13.860Z] echo "Nothing to be done for teardown."; \ [2024-11-16T09:10:13.860Z] } 2>&1 | tee -a "/home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_alpine-linux/aqa-tests/TKG/../TKG/output_17317482107111/TestTargetResult"; [2024-11-16T09:10:13.860Z] [2024-11-16T09:10:13.860Z] TEST SETUP: [2024-11-16T09:10:13.860Z] Nothing to be done for setup. [2024-11-16T09:10:13.860Z] [2024-11-16T09:10:13.861Z] TESTING: [2024-11-16T09:10:13.861Z] STF 09:10:13.316 - ========================= S T F ========================= [2024-11-16T09:10:13.861Z] systemtest-prereqs has been processed, and set to: /home/jenkins/testDependency/system_libRetrieving amount of free space on drive containing /home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_alpine-linux/aqa-tests/TKG/../TKG/output_17317482107111/OAuthTest_0 [2024-11-16T09:10:13.861Z] There is 114171 Mb free [2024-11-16T09:10:13.861Z] STF 09:10:13.323 - ================== G E N E R A T I O N ================== [2024-11-16T09:10:13.861Z] STF 09:10:13.324 - Checking JVM: /home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_alpine-linux/jdkbinary/j2sdk-image [2024-11-16T09:10:13.861Z] STF 09:10:13.325 - Starting process to generate scripts: /home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_alpine-linux/jdkbinary/j2sdk-image/bin/java -Dlog4j.skipJansi=true -Djava.system.class.loader=net.adoptopenjdk.stf.runner.StfClassLoader -classpath /home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_alpine-linux/../../testDependency/system_lib//log4j/log4j-api.jar:/home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_alpine-linux/../../testDependency/system_lib//log4j/log4j-core.jar:/home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_alpine-linux/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "/home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_alpine-linux/aqa-tests/TKG/../TKG/output_17317482107111/OAuthTest_0/20241116-091013-OAuthTest/stf_parameters.properties, , /home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_alpine-linux/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "/home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_alpine-linux/aqa-tests/TKG/../TKG/output_17317482107111/OAuthTest_0/20241116-091013-OAuthTest" [2024-11-16T09:10:16.258Z] GEN 09:10:15.497 - Found test. Project: 'openjdk.test.security' class: 'OAuthTest.class' Dir: '/home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_alpine-linux/jvmtest/system/aqa-systemtest/openjdk.test.security/bin' [2024-11-16T09:10:16.258Z] GEN 09:10:15.504 - Found test. Project: 'openjdk.test.security' class: 'net.adoptopenjdk.test.auth.OAuthTest' [2024-11-16T09:10:16.258Z] GEN Classpath directories used by project 'openjdk.test.security': [2024-11-16T09:10:16.258Z] GEN /home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_alpine-linux/jvmtest/system/aqa-systemtest/openjdk.test.security/bin [2024-11-16T09:10:16.258Z] GEN /home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_alpine-linux/jvmtest/system/STF/stf.core/bin [2024-11-16T09:10:16.258Z] GEN /home/jenkins/testDependency/system_lib/log4j/log4j-api.jar [2024-11-16T09:10:16.258Z] GEN /home/jenkins/testDependency/system_lib/log4j/log4j-core.jar [2024-11-16T09:10:16.258Z] GEN /home/jenkins/testDependency/system_lib/junit/junit.jar [2024-11-16T09:10:16.258Z] GEN 09:10:16.007 - Using Mode NoOptions. Values = '' [2024-11-16T09:10:16.995Z] GEN SSLv3 [2024-11-16T09:10:16.995Z] GEN TLSv1 [2024-11-16T09:10:16.995Z] GEN TLSv1.3 [2024-11-16T09:10:16.995Z] GEN TLSv1.2 [2024-11-16T09:10:16.995Z] GEN TLSv1.1 [2024-11-16T09:10:16.995Z] GEN SSLv2Hello [2024-11-16T09:10:16.995Z] GEN Testing with : TLSv1.3 [2024-11-16T09:10:16.995Z] GEN 09:10:16.712 - [2024-11-16T09:10:16.995Z] GEN 09:10:16.712 - Test command summary: [2024-11-16T09:10:16.995Z] GEN 09:10:16.712 - Step Stage Command Description [2024-11-16T09:10:16.995Z] GEN 09:10:16.712 - -----+--------+-----------------+------------ [2024-11-16T09:10:16.995Z] GEN 09:10:16.712 - 1 execute Run java Run AuthCenter [2024-11-16T09:10:16.996Z] GEN 09:10:16.712 - 2 execute Run java Run Server [2024-11-16T09:10:16.996Z] GEN 09:10:16.712 - 3 execute Run java Run Client [2024-11-16T09:10:16.996Z] GEN 09:10:16.712 - 4 execute Monitor Wait for clients to complete [2024-11-16T09:10:16.996Z] GEN 09:10:16.713 - 5 execute kill Stop servers [2024-11-16T09:10:16.996Z] STF 09:10:16.772 - [2024-11-16T09:10:16.996Z] STF 09:10:16.773 - Script generation completed [2024-11-16T09:10:16.996Z] STF 09:10:16.773 - [2024-11-16T09:10:16.996Z] STF 09:10:16.774 - [2024-11-16T09:10:16.996Z] STF 09:10:16.776 - ======================= S E T U P ======================= [2024-11-16T09:10:16.996Z] STF 09:10:16.776 - Running setup: perl /home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_alpine-linux/aqa-tests/TKG/../TKG/output_17317482107111/OAuthTest_0/20241116-091013-OAuthTest/setUp.pl [2024-11-16T09:10:16.996Z] STF 09:10:16.899 - SETUP stage completed [2024-11-16T09:10:16.996Z] STF 09:10:16.903 - [2024-11-16T09:10:16.996Z] STF 09:10:16.904 - ==================== E X E C U T E - ==================== [2024-11-16T09:10:16.996Z] STF 09:10:16.904 - Running execute: perl /home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_alpine-linux/aqa-tests/TKG/../TKG/output_17317482107111/OAuthTest_0/20241116-091013-OAuthTest/execute.pl [2024-11-16T09:10:17.762Z] STF 09:10:17.034 - [2024-11-16T09:10:17.762Z] STF 09:10:17.034 - Java version [2024-11-16T09:10:17.762Z] STF 09:10:17.034 - Running: /home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_alpine-linux/jdkbinary/j2sdk-image/bin/java -version [2024-11-16T09:10:17.762Z] openjdk version "1.8.0_442-beta" [2024-11-16T09:10:17.762Z] OpenJDK Runtime Environment (Temurin)(build 1.8.0_442-beta-202411142124-b03) [2024-11-16T09:10:17.762Z] OpenJDK 64-Bit Server VM (Temurin)(build 25.442-b03, mixed mode) [2024-11-16T09:10:17.762Z] STF 09:10:17.154 - [2024-11-16T09:10:17.762Z] STF 09:10:17.154 - +------ Step 1 - Run AuthCenter [2024-11-16T09:10:17.762Z] STF 09:10:17.154 - | Start background process [2024-11-16T09:10:17.762Z] STF 09:10:17.154 - | Program: /home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_alpine-linux/jdkbinary/j2sdk-image/bin/java [2024-11-16T09:10:17.762Z] STF 09:10:17.154 - | Mnemonic: AUTH [2024-11-16T09:10:17.762Z] STF 09:10:17.154 - | Echo: ECHO_ON [2024-11-16T09:10:17.762Z] STF 09:10:17.154 - | Expectation: NEVER [2024-11-16T09:10:17.762Z] STF 09:10:17.154 - | [2024-11-16T09:10:17.762Z] STF 09:10:17.155 - Running command: /home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_alpine-linux/jdkbinary/j2sdk-image/bin/java -classpath /home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_alpine-linux/jvmtest/system/aqa-systemtest/openjdk.test.security/bin net.adoptopenjdk.test.auth.AuthCenter [2024-11-16T09:10:17.762Z] STF 09:10:17.155 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_alpine-linux/aqa-tests/TKG/output_17317482107111/OAuthTest_0/20241116-091013-OAuthTest/results/1.AUTH.stderr [2024-11-16T09:10:17.762Z] STF 09:10:17.155 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_alpine-linux/aqa-tests/TKG/output_17317482107111/OAuthTest_0/20241116-091013-OAuthTest/results/1.AUTH.stdout [2024-11-16T09:10:17.762Z] STF 09:10:17.207 - [2024-11-16T09:10:17.762Z] STF 09:10:17.207 - +------ Step 2 - Run Server [2024-11-16T09:10:17.762Z] STF 09:10:17.207 - | Start background process [2024-11-16T09:10:17.762Z] STF 09:10:17.207 - | Program: /home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_alpine-linux/jdkbinary/j2sdk-image/bin/java [2024-11-16T09:10:17.762Z] STF 09:10:17.207 - | Mnemonic: SER [2024-11-16T09:10:17.762Z] STF 09:10:17.207 - | Echo: ECHO_ON [2024-11-16T09:10:17.762Z] STF 09:10:17.207 - | Expectation: NEVER [2024-11-16T09:10:17.762Z] STF 09:10:17.207 - | [2024-11-16T09:10:17.762Z] STF 09:10:17.208 - Running command: /home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_alpine-linux/jdkbinary/j2sdk-image/bin/java -classpath /home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_alpine-linux/jvmtest/system/aqa-systemtest/openjdk.test.security/bin net.adoptopenjdk.test.auth.Server /home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_alpine-linux/jvmtest/system/aqa-systemtest/openjdk.test.security/src/test.security/net/adoptopenjdk/test/auth/testkeys TLSv1.3 [2024-11-16T09:10:17.762Z] STF 09:10:17.208 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_alpine-linux/aqa-tests/TKG/output_17317482107111/OAuthTest_0/20241116-091013-OAuthTest/results/2.SER.stderr [2024-11-16T09:10:17.762Z] STF 09:10:17.208 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_alpine-linux/aqa-tests/TKG/output_17317482107111/OAuthTest_0/20241116-091013-OAuthTest/results/2.SER.stdout [2024-11-16T09:10:17.762Z] STF 09:10:17.209 - [2024-11-16T09:10:17.762Z] STF 09:10:17.209 - +------ Step 3 - Run Client [2024-11-16T09:10:17.762Z] STF 09:10:17.209 - | Start background process [2024-11-16T09:10:17.762Z] STF 09:10:17.209 - | Program: /home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_alpine-linux/jdkbinary/j2sdk-image/bin/java [2024-11-16T09:10:17.762Z] STF 09:10:17.209 - | Mnemonic: CLI [2024-11-16T09:10:17.762Z] STF 09:10:17.209 - | Echo: ECHO_ON [2024-11-16T09:10:17.762Z] STF 09:10:17.209 - | Expectation: CLEAN_RUN within 10s [2024-11-16T09:10:17.762Z] STF 09:10:17.209 - | [2024-11-16T09:10:17.762Z] STF 09:10:17.218 - Running command: /home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_alpine-linux/jdkbinary/j2sdk-image/bin/java -classpath /home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_alpine-linux/jvmtest/system/aqa-systemtest/openjdk.test.security/bin net.adoptopenjdk.test.auth.Client /home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_alpine-linux/jvmtest/system/aqa-systemtest/openjdk.test.security/src/test.security/net/adoptopenjdk/test/auth/testkeys TLSv1.3 [2024-11-16T09:10:17.762Z] STF 09:10:17.218 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_alpine-linux/aqa-tests/TKG/output_17317482107111/OAuthTest_0/20241116-091013-OAuthTest/results/3.CLI.stderr [2024-11-16T09:10:17.762Z] STF 09:10:17.218 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_alpine-linux/aqa-tests/TKG/output_17317482107111/OAuthTest_0/20241116-091013-OAuthTest/results/3.CLI.stdout [2024-11-16T09:10:17.762Z] STF 09:10:17.219 - [2024-11-16T09:10:17.762Z] STF 09:10:17.219 - +------ Step 4 - Wait for clients to complete [2024-11-16T09:10:17.762Z] STF 09:10:17.219 - | Wait for processes to meet expectations [2024-11-16T09:10:17.762Z] STF 09:10:17.219 - | Processes: [CLI] [2024-11-16T09:10:17.762Z] STF 09:10:17.219 - | [2024-11-16T09:10:17.762Z] STF 09:10:17.219 - Monitoring processes: CLI [2024-11-16T09:10:18.507Z] CLI log in YES! [2024-11-16T09:10:18.507Z] CLI 8889 [2024-11-16T09:10:22.884Z] STF 09:10:22.418 - Monitoring Report Summary: [2024-11-16T09:10:22.884Z] STF 09:10:22.418 - o Process CLI ended with the expected exit code (0) [2024-11-16T09:10:22.884Z] STF 09:10:22.418 - [2024-11-16T09:10:22.884Z] STF 09:10:22.418 - +------ Step 5 - Stop servers [2024-11-16T09:10:22.884Z] STF 09:10:22.418 - | Kill running processes [2024-11-16T09:10:22.884Z] STF 09:10:22.418 - | Processes: [AUTH, SER] [2024-11-16T09:10:22.884Z] STF 09:10:22.418 - | [2024-11-16T09:10:22.884Z] STF 09:10:22.418 - Killing processes: AUTH SER [2024-11-16T09:10:22.884Z] STF 09:10:22.418 - o Process clean up attempt 1 for SER pid 1456451 [2024-11-16T09:10:22.884Z] STF 09:10:22.418 - o Process SER pid 1456451 stop() [2024-11-16T09:10:34.224Z] STF 09:10:32.422 - o Process SER pid 1456451 terminate() [2024-11-16T09:10:34.224Z] STF 09:10:33.423 - o Process SER pid 1456451 killed [2024-11-16T09:10:34.224Z] STF 09:10:33.423 - o Process clean up attempt 1 for AUTH pid 1456450 [2024-11-16T09:10:34.224Z] STF 09:10:33.423 - o Process AUTH pid 1456450 stop() [2024-11-16T09:10:43.793Z] STF 09:10:43.433 - o Process AUTH pid 1456450 terminate() [2024-11-16T09:10:45.319Z] STF 09:10:44.434 - o Process AUTH pid 1456450 killed [2024-11-16T09:10:45.319Z] STF 09:10:44.589 - EXECUTE stage completed [2024-11-16T09:10:45.319Z] STF 09:10:44.618 - [2024-11-16T09:10:45.319Z] STF 09:10:44.618 - ==================== T E A R D O W N ==================== [2024-11-16T09:10:45.319Z] STF 09:10:44.618 - Running teardown: perl /home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_alpine-linux/aqa-tests/TKG/../TKG/output_17317482107111/OAuthTest_0/20241116-091013-OAuthTest/tearDown.pl [2024-11-16T09:10:45.319Z] STF 09:10:44.787 - TEARDOWN stage completed [2024-11-16T09:10:45.319Z] STF 09:10:44.793 - [2024-11-16T09:10:45.319Z] STF 09:10:44.793 - ===================== R E S U L T S ===================== [2024-11-16T09:10:45.319Z] STF 09:10:44.793 - Stage results: [2024-11-16T09:10:45.319Z] STF 09:10:44.793 - setUp: pass [2024-11-16T09:10:45.319Z] STF 09:10:44.793 - execute: pass [2024-11-16T09:10:45.319Z] STF 09:10:44.793 - teardown: pass [2024-11-16T09:10:45.319Z] STF 09:10:44.793 - [2024-11-16T09:10:45.319Z] STF 09:10:44.793 - Overall result: PASSED [2024-11-16T09:10:45.319Z] ----------------------------------- [2024-11-16T09:10:45.319Z] OAuthTest_0_PASSED [2024-11-16T09:10:45.319Z] ----------------------------------- [2024-11-16T09:10:45.319Z] [2024-11-16T09:10:45.319Z] TEST TEARDOWN: [2024-11-16T09:10:45.319Z] Nothing to be done for teardown. [2024-11-16T09:10:45.319Z] OAuthTest_0 Finish Time: Sat Nov 16 09:10:44 2024 Epoch Time (ms): 1731748244853