OAuthTest_0

[2024-09-27T13:34:01.232Z] Running test OAuthTest_0 ... [2024-09-27T13:34:01.232Z] =============================================== [2024-09-27T13:34:01.232Z] OAuthTest_0 Start Time: Fri Sep 27 13:34:00 2024 Epoch Time (ms): 1727444040883 [2024-09-27T13:34:01.232Z] variation: NoOptions [2024-09-27T13:34:01.232Z] JVM_OPTIONS: [2024-09-27T13:34:01.232Z] { \ [2024-09-27T13:34:01.232Z] echo ""; echo "TEST SETUP:"; \ [2024-09-27T13:34:01.232Z] echo "Nothing to be done for setup."; \ [2024-09-27T13:34:01.232Z] mkdir -p "/home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_alpine-linux/aqa-tests/TKG/../TKG/output_17274440369934/OAuthTest_0"; \ [2024-09-27T13:34:01.232Z] cd "/home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_alpine-linux/aqa-tests/TKG/../TKG/output_17274440369934/OAuthTest_0"; \ [2024-09-27T13:34:01.232Z] echo ""; echo "TESTING:"; \ [2024-09-27T13:34:01.232Z] 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_17274440369934/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_17274440369934/OAuthTest_0"; else echo "-----------------------------------"; echo "OAuthTest_0""_FAILED"; echo "-----------------------------------"; fi; \ [2024-09-27T13:34:01.232Z] echo ""; echo "TEST TEARDOWN:"; \ [2024-09-27T13:34:01.232Z] echo "Nothing to be done for teardown."; \ [2024-09-27T13:34:01.232Z] } 2>&1 | tee -a "/home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_alpine-linux/aqa-tests/TKG/../TKG/output_17274440369934/TestTargetResult"; [2024-09-27T13:34:01.232Z] [2024-09-27T13:34:01.232Z] TEST SETUP: [2024-09-27T13:34:01.232Z] Nothing to be done for setup. [2024-09-27T13:34:01.232Z] [2024-09-27T13:34:01.232Z] TESTING: [2024-09-27T13:34:01.232Z] STF 13:34:01.013 - ========================= S T F ========================= [2024-09-27T13:34:01.232Z] 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_17274440369934/OAuthTest_0 [2024-09-27T13:34:01.232Z] There is 55894 Mb free [2024-09-27T13:34:01.232Z] STF 13:34:01.024 - ================== G E N E R A T I O N ================== [2024-09-27T13:34:01.232Z] STF 13:34:01.026 - Checking JVM: /home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_alpine-linux/jdkbinary/j2sdk-image [2024-09-27T13:34:01.232Z] STF 13:34:01.026 - 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_17274440369934/OAuthTest_0/20240927-133401-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_17274440369934/OAuthTest_0/20240927-133401-OAuthTest" [2024-09-27T13:34:03.663Z] GEN 13:34:03.274 - 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-09-27T13:34:03.663Z] GEN 13:34:03.287 - Found test. Project: 'openjdk.test.security' class: 'net.adoptopenjdk.test.auth.OAuthTest' [2024-09-27T13:34:04.423Z] GEN Classpath directories used by project 'openjdk.test.security': [2024-09-27T13:34:04.423Z] GEN /home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_alpine-linux/jvmtest/system/aqa-systemtest/openjdk.test.security/bin [2024-09-27T13:34:04.423Z] GEN /home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_alpine-linux/jvmtest/system/STF/stf.core/bin [2024-09-27T13:34:04.423Z] GEN /home/jenkins/testDependency/system_lib/log4j/log4j-api.jar [2024-09-27T13:34:04.423Z] GEN /home/jenkins/testDependency/system_lib/log4j/log4j-core.jar [2024-09-27T13:34:04.423Z] GEN /home/jenkins/testDependency/system_lib/junit/junit.jar [2024-09-27T13:34:04.423Z] GEN 13:34:03.774 - Using Mode NoOptions. Values = '' [2024-09-27T13:34:05.191Z] GEN SSLv3 [2024-09-27T13:34:05.191Z] GEN TLSv1 [2024-09-27T13:34:05.191Z] GEN TLSv1.3 [2024-09-27T13:34:05.191Z] GEN TLSv1.2 [2024-09-27T13:34:05.191Z] GEN TLSv1.1 [2024-09-27T13:34:05.191Z] GEN SSLv2Hello [2024-09-27T13:34:05.191Z] GEN Testing with : TLSv1.3 [2024-09-27T13:34:05.191Z] GEN 13:34:04.702 - [2024-09-27T13:34:05.191Z] GEN 13:34:04.702 - Test command summary: [2024-09-27T13:34:05.191Z] GEN 13:34:04.702 - Step Stage Command Description [2024-09-27T13:34:05.191Z] GEN 13:34:04.702 - -----+--------+-----------------+------------ [2024-09-27T13:34:05.191Z] GEN 13:34:04.702 - 1 execute Run java Run AuthCenter [2024-09-27T13:34:05.191Z] GEN 13:34:04.702 - 2 execute Run java Run Server [2024-09-27T13:34:05.191Z] GEN 13:34:04.702 - 3 execute Run java Run Client [2024-09-27T13:34:05.191Z] GEN 13:34:04.702 - 4 execute Monitor Wait for clients to complete [2024-09-27T13:34:05.191Z] GEN 13:34:04.702 - 5 execute kill Stop servers [2024-09-27T13:34:05.191Z] STF 13:34:04.827 - [2024-09-27T13:34:05.191Z] STF 13:34:04.827 - Script generation completed [2024-09-27T13:34:05.191Z] STF 13:34:04.827 - [2024-09-27T13:34:05.191Z] STF 13:34:04.828 - [2024-09-27T13:34:05.191Z] STF 13:34:04.828 - ======================= S E T U P ======================= [2024-09-27T13:34:05.191Z] STF 13:34:04.828 - Running setup: perl /home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_alpine-linux/aqa-tests/TKG/../TKG/output_17274440369934/OAuthTest_0/20240927-133401-OAuthTest/setUp.pl [2024-09-27T13:34:05.191Z] STF 13:34:04.972 - SETUP stage completed [2024-09-27T13:34:05.191Z] STF 13:34:04.976 - [2024-09-27T13:34:05.191Z] STF 13:34:04.977 - ==================== E X E C U T E - ==================== [2024-09-27T13:34:05.191Z] STF 13:34:04.977 - Running execute: perl /home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_alpine-linux/aqa-tests/TKG/../TKG/output_17274440369934/OAuthTest_0/20240927-133401-OAuthTest/execute.pl [2024-09-27T13:34:05.191Z] STF 13:34:05.106 - [2024-09-27T13:34:05.191Z] STF 13:34:05.106 - Java version [2024-09-27T13:34:05.191Z] STF 13:34:05.106 - Running: /home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_alpine-linux/jdkbinary/j2sdk-image/bin/java -version [2024-09-27T13:34:05.957Z] openjdk version "1.8.0_432-beta" [2024-09-27T13:34:05.957Z] OpenJDK Runtime Environment (Temurin)(build 1.8.0_432-beta-202409262334-b05) [2024-09-27T13:34:05.957Z] OpenJDK 64-Bit Server VM (Temurin)(build 25.432-b05, mixed mode) [2024-09-27T13:34:05.957Z] STF 13:34:05.305 - [2024-09-27T13:34:05.957Z] STF 13:34:05.305 - +------ Step 1 - Run AuthCenter [2024-09-27T13:34:05.957Z] STF 13:34:05.305 - | Start background process [2024-09-27T13:34:05.957Z] STF 13:34:05.305 - | Program: /home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_alpine-linux/jdkbinary/j2sdk-image/bin/java [2024-09-27T13:34:05.957Z] STF 13:34:05.305 - | Mnemonic: AUTH [2024-09-27T13:34:05.957Z] STF 13:34:05.305 - | Echo: ECHO_ON [2024-09-27T13:34:05.957Z] STF 13:34:05.305 - | Expectation: NEVER [2024-09-27T13:34:05.957Z] STF 13:34:05.305 - | [2024-09-27T13:34:05.957Z] STF 13:34:05.306 - 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-09-27T13:34:05.957Z] STF 13:34:05.306 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_alpine-linux/aqa-tests/TKG/output_17274440369934/OAuthTest_0/20240927-133401-OAuthTest/results/1.AUTH.stderr [2024-09-27T13:34:05.957Z] STF 13:34:05.306 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_alpine-linux/aqa-tests/TKG/output_17274440369934/OAuthTest_0/20240927-133401-OAuthTest/results/1.AUTH.stdout [2024-09-27T13:34:05.957Z] STF 13:34:05.343 - [2024-09-27T13:34:05.957Z] STF 13:34:05.343 - +------ Step 2 - Run Server [2024-09-27T13:34:05.957Z] STF 13:34:05.343 - | Start background process [2024-09-27T13:34:05.957Z] STF 13:34:05.343 - | Program: /home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_alpine-linux/jdkbinary/j2sdk-image/bin/java [2024-09-27T13:34:05.957Z] STF 13:34:05.343 - | Mnemonic: SER [2024-09-27T13:34:05.957Z] STF 13:34:05.343 - | Echo: ECHO_ON [2024-09-27T13:34:05.957Z] STF 13:34:05.343 - | Expectation: NEVER [2024-09-27T13:34:05.957Z] STF 13:34:05.343 - | [2024-09-27T13:34:05.957Z] STF 13:34:05.344 - 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-09-27T13:34:05.957Z] STF 13:34:05.344 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_alpine-linux/aqa-tests/TKG/output_17274440369934/OAuthTest_0/20240927-133401-OAuthTest/results/2.SER.stderr [2024-09-27T13:34:05.957Z] STF 13:34:05.344 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_alpine-linux/aqa-tests/TKG/output_17274440369934/OAuthTest_0/20240927-133401-OAuthTest/results/2.SER.stdout [2024-09-27T13:34:05.957Z] STF 13:34:05.345 - [2024-09-27T13:34:05.957Z] STF 13:34:05.345 - +------ Step 3 - Run Client [2024-09-27T13:34:05.957Z] STF 13:34:05.345 - | Start background process [2024-09-27T13:34:05.957Z] STF 13:34:05.345 - | Program: /home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_alpine-linux/jdkbinary/j2sdk-image/bin/java [2024-09-27T13:34:05.957Z] STF 13:34:05.345 - | Mnemonic: CLI [2024-09-27T13:34:05.957Z] STF 13:34:05.345 - | Echo: ECHO_ON [2024-09-27T13:34:05.957Z] STF 13:34:05.345 - | Expectation: CLEAN_RUN within 10s [2024-09-27T13:34:05.957Z] STF 13:34:05.345 - | [2024-09-27T13:34:05.957Z] STF 13:34:05.346 - 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-09-27T13:34:05.957Z] STF 13:34:05.346 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_alpine-linux/aqa-tests/TKG/output_17274440369934/OAuthTest_0/20240927-133401-OAuthTest/results/3.CLI.stderr [2024-09-27T13:34:05.957Z] STF 13:34:05.346 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_alpine-linux/aqa-tests/TKG/output_17274440369934/OAuthTest_0/20240927-133401-OAuthTest/results/3.CLI.stdout [2024-09-27T13:34:05.957Z] STF 13:34:05.348 - [2024-09-27T13:34:05.957Z] STF 13:34:05.348 - +------ Step 4 - Wait for clients to complete [2024-09-27T13:34:05.957Z] STF 13:34:05.348 - | Wait for processes to meet expectations [2024-09-27T13:34:05.957Z] STF 13:34:05.348 - | Processes: [CLI] [2024-09-27T13:34:05.957Z] STF 13:34:05.348 - | [2024-09-27T13:34:05.957Z] STF 13:34:05.348 - Monitoring processes: CLI [2024-09-27T13:34:06.710Z] CLI log in YES! [2024-09-27T13:34:06.710Z] CLI 8889 [2024-09-27T13:34:12.202Z] STF 13:34:11.389 - Monitoring Report Summary: [2024-09-27T13:34:12.202Z] STF 13:34:11.389 - o Process CLI ended with the expected exit code (0) [2024-09-27T13:34:12.202Z] STF 13:34:11.390 - [2024-09-27T13:34:12.202Z] STF 13:34:11.390 - +------ Step 5 - Stop servers [2024-09-27T13:34:12.202Z] STF 13:34:11.390 - | Kill running processes [2024-09-27T13:34:12.202Z] STF 13:34:11.390 - | Processes: [AUTH, SER] [2024-09-27T13:34:12.202Z] STF 13:34:11.390 - | [2024-09-27T13:34:12.202Z] STF 13:34:11.390 - Killing processes: AUTH SER [2024-09-27T13:34:12.202Z] STF 13:34:11.390 - o Process clean up attempt 1 for SER pid 918916 [2024-09-27T13:34:12.202Z] STF 13:34:11.390 - o Process SER pid 918916 stop() [2024-09-27T13:34:21.846Z] STF 13:34:21.391 - o Process SER pid 918916 terminate() [2024-09-27T13:34:22.590Z] STF 13:34:22.394 - o Process SER pid 918916 killed [2024-09-27T13:34:22.590Z] STF 13:34:22.395 - o Process clean up attempt 1 for AUTH pid 918915 [2024-09-27T13:34:22.590Z] STF 13:34:22.395 - o Process AUTH pid 918915 stop() [2024-09-27T13:34:34.026Z] STF 13:34:32.399 - o Process AUTH pid 918915 terminate() [2024-09-27T13:34:34.026Z] STF 13:34:33.399 - o Process AUTH pid 918915 killed [2024-09-27T13:34:34.026Z] STF 13:34:33.399 - EXECUTE stage completed [2024-09-27T13:34:34.026Z] STF 13:34:33.483 - [2024-09-27T13:34:34.026Z] STF 13:34:33.483 - ==================== T E A R D O W N ==================== [2024-09-27T13:34:34.026Z] STF 13:34:33.483 - Running teardown: perl /home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_alpine-linux/aqa-tests/TKG/../TKG/output_17274440369934/OAuthTest_0/20240927-133401-OAuthTest/tearDown.pl [2024-09-27T13:34:34.026Z] STF 13:34:33.644 - TEARDOWN stage completed [2024-09-27T13:34:34.026Z] STF 13:34:33.647 - [2024-09-27T13:34:34.026Z] STF 13:34:33.647 - ===================== R E S U L T S ===================== [2024-09-27T13:34:34.026Z] STF 13:34:33.647 - Stage results: [2024-09-27T13:34:34.026Z] STF 13:34:33.647 - setUp: pass [2024-09-27T13:34:34.026Z] STF 13:34:33.647 - execute: pass [2024-09-27T13:34:34.026Z] STF 13:34:33.647 - teardown: pass [2024-09-27T13:34:34.026Z] STF 13:34:33.647 - [2024-09-27T13:34:34.026Z] STF 13:34:33.647 - Overall result: PASSED [2024-09-27T13:34:34.026Z] ----------------------------------- [2024-09-27T13:34:34.026Z] OAuthTest_0_PASSED [2024-09-27T13:34:34.026Z] ----------------------------------- [2024-09-27T13:34:34.026Z] [2024-09-27T13:34:34.026Z] TEST TEARDOWN: [2024-09-27T13:34:34.026Z] Nothing to be done for teardown. [2024-09-27T13:34:34.026Z] OAuthTest_0 Finish Time: Fri Sep 27 13:34:33 2024 Epoch Time (ms): 1727444073681