OAuthTest_0

[2023-07-25T10:45:29.058Z] Running test OAuthTest_0 ... [2023-07-25T10:45:29.058Z] =============================================== [2023-07-25T10:45:29.058Z] OAuthTest_0 Start Time: Tue Jul 25 10:45:28 2023 Epoch Time (ms): 1690281928541 [2023-07-25T10:45:29.058Z] variation: NoOptions [2023-07-25T10:45:29.058Z] JVM_OPTIONS: [2023-07-25T10:45:29.058Z] { \ [2023-07-25T10:45:29.058Z] echo ""; echo "TEST SETUP:"; \ [2023-07-25T10:45:29.058Z] echo "Nothing to be done for setup."; \ [2023-07-25T10:45:29.058Z] mkdir -p "/home/jenkins/workspace/Test_openjdk8_hs_extended.system_arm_linux/aqa-tests/TKG/../TKG/output_16902796233759/OAuthTest_0"; \ [2023-07-25T10:45:29.058Z] cd "/home/jenkins/workspace/Test_openjdk8_hs_extended.system_arm_linux/aqa-tests/TKG/../TKG/output_16902796233759/OAuthTest_0"; \ [2023-07-25T10:45:29.058Z] echo ""; echo "TESTING:"; \ [2023-07-25T10:45:29.058Z] perl /home/jenkins/workspace/Test_openjdk8_hs_extended.system_arm_linux/aqa-tests/TKG/../../jvmtest/system/security/..//STF/stf.core/scripts/stf.pl -test-root="/home/jenkins/workspace/Test_openjdk8_hs_extended.system_arm_linux/aqa-tests/TKG/../../jvmtest/system/security/..//STF;/home/jenkins/workspace/Test_openjdk8_hs_extended.system_arm_linux/aqa-tests/TKG/../../jvmtest/system/security/..//aqa-systemtest""" -systemtest-prereqs="/home/jenkins/workspace/Test_openjdk8_hs_extended.system_arm_linux/aqa-tests/TKG/../../jvmtest/system/security/..//systemtest_prereqs" -java-args=' ' -results-root="/home/jenkins/workspace/Test_openjdk8_hs_extended.system_arm_linux/aqa-tests/TKG/../TKG/output_16902796233759/OAuthTest_0" -test=OAuthTest; if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "OAuthTest_0""_PASSED"; echo "-----------------------------------"; cd /home/jenkins/workspace/Test_openjdk8_hs_extended.system_arm_linux/aqa-tests/TKG/..; rm -f -r "/home/jenkins/workspace/Test_openjdk8_hs_extended.system_arm_linux/aqa-tests/TKG/../TKG/output_16902796233759/OAuthTest_0"; else echo "-----------------------------------"; echo "OAuthTest_0""_FAILED"; echo "-----------------------------------"; fi; \ [2023-07-25T10:45:29.058Z] echo ""; echo "TEST TEARDOWN:"; \ [2023-07-25T10:45:29.058Z] echo "Nothing to be done for teardown."; \ [2023-07-25T10:45:29.058Z] } 2>&1 | tee -a "/home/jenkins/workspace/Test_openjdk8_hs_extended.system_arm_linux/aqa-tests/TKG/../TKG/output_16902796233759/TestTargetResult"; [2023-07-25T10:45:29.058Z] [2023-07-25T10:45:29.058Z] TEST SETUP: [2023-07-25T10:45:29.058Z] Nothing to be done for setup. [2023-07-25T10:45:29.058Z] [2023-07-25T10:45:29.058Z] TESTING: [2023-07-25T10:45:29.058Z] STF 10:45:28.605 - ========================= S T F ========================= [2023-07-25T10:45:29.058Z] systemtest-prereqs has been processed, and set to: /home/jenkins/workspace/Test_openjdk8_hs_extended.system_arm_linux/jvmtest/system/systemtest_prereqsRetrieving amount of free space on drive containing /home/jenkins/workspace/Test_openjdk8_hs_extended.system_arm_linux/aqa-tests/TKG/../TKG/output_16902796233759/OAuthTest_0 [2023-07-25T10:45:29.058Z] There is 319697 Mb free [2023-07-25T10:45:29.058Z] STF 10:45:28.612 - ================== G E N E R A T I O N ================== [2023-07-25T10:45:29.058Z] STF 10:45:28.613 - Checking JVM: /home/jenkins/workspace/Test_openjdk8_hs_extended.system_arm_linux/openjdkbinary/j2sdk-image [2023-07-25T10:45:29.058Z] STF 10:45:28.613 - Starting process to generate scripts: /home/jenkins/workspace/Test_openjdk8_hs_extended.system_arm_linux/openjdkbinary/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_arm_linux/aqa-tests/TKG/../../jvmtest/system/security/..//systemtest_prereqs/log4j/log4j-api.jar:/home/jenkins/workspace/Test_openjdk8_hs_extended.system_arm_linux/aqa-tests/TKG/../../jvmtest/system/security/..//systemtest_prereqs/log4j/log4j-core.jar:/home/jenkins/workspace/Test_openjdk8_hs_extended.system_arm_linux/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "/home/jenkins/workspace/Test_openjdk8_hs_extended.system_arm_linux/aqa-tests/TKG/../TKG/output_16902796233759/OAuthTest_0/20230725-104528-OAuthTest/stf_parameters.properties, , /home/jenkins/workspace/Test_openjdk8_hs_extended.system_arm_linux/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "/home/jenkins/workspace/Test_openjdk8_hs_extended.system_arm_linux/aqa-tests/TKG/../TKG/output_16902796233759/OAuthTest_0/20230725-104528-OAuthTest" [2023-07-25T10:45:29.809Z] GEN 10:45:29.490 - Found test. Project: 'openjdk.test.security' class: 'OAuthTest.class' Dir: '/home/jenkins/workspace/Test_openjdk8_hs_extended.system_arm_linux/jvmtest/system/aqa-systemtest/openjdk.test.security/bin' [2023-07-25T10:45:29.809Z] GEN 10:45:29.500 - Found test. Project: 'openjdk.test.security' class: 'net.adoptopenjdk.test.auth.OAuthTest' [2023-07-25T10:45:29.809Z] GEN Classpath directories used by project 'openjdk.test.security': [2023-07-25T10:45:29.809Z] GEN /home/jenkins/workspace/Test_openjdk8_hs_extended.system_arm_linux/jvmtest/system/aqa-systemtest/openjdk.test.security/bin [2023-07-25T10:45:29.810Z] GEN /home/jenkins/workspace/Test_openjdk8_hs_extended.system_arm_linux/jvmtest/system/STF/stf.core/bin [2023-07-25T10:45:29.810Z] GEN /home/jenkins/workspace/Test_openjdk8_hs_extended.system_arm_linux/jvmtest/system/systemtest_prereqs/log4j/log4j-api.jar [2023-07-25T10:45:29.810Z] GEN /home/jenkins/workspace/Test_openjdk8_hs_extended.system_arm_linux/jvmtest/system/systemtest_prereqs/log4j/log4j-core.jar [2023-07-25T10:45:29.810Z] GEN /home/jenkins/workspace/Test_openjdk8_hs_extended.system_arm_linux/jvmtest/system/systemtest_prereqs/junit/junit.jar [2023-07-25T10:45:29.810Z] GEN 10:45:29.672 - Using Mode NoOptions. Values = '' [2023-07-25T10:45:30.562Z] GEN SSLv3 [2023-07-25T10:45:30.562Z] GEN TLSv1 [2023-07-25T10:45:30.562Z] GEN TLSv1.3 [2023-07-25T10:45:30.562Z] GEN TLSv1.2 [2023-07-25T10:45:30.562Z] GEN TLSv1.1 [2023-07-25T10:45:30.562Z] GEN SSLv2Hello [2023-07-25T10:45:30.562Z] GEN Testing with : TLSv1.3 [2023-07-25T10:45:30.562Z] GEN 10:45:29.943 - [2023-07-25T10:45:30.562Z] GEN 10:45:29.944 - Test command summary: [2023-07-25T10:45:30.562Z] GEN 10:45:29.944 - Step Stage Command Description [2023-07-25T10:45:30.562Z] GEN 10:45:29.944 - -----+--------+-----------------+------------ [2023-07-25T10:45:30.562Z] GEN 10:45:29.944 - 1 execute Run java Run AuthCenter [2023-07-25T10:45:30.562Z] GEN 10:45:29.944 - 2 execute Run java Run Server [2023-07-25T10:45:30.562Z] GEN 10:45:29.944 - 3 execute Run java Run Client [2023-07-25T10:45:30.562Z] GEN 10:45:29.944 - 4 execute Monitor Wait for clients to complete [2023-07-25T10:45:30.562Z] GEN 10:45:29.944 - 5 execute kill Stop servers [2023-07-25T10:45:30.562Z] STF 10:45:29.969 - [2023-07-25T10:45:30.562Z] STF 10:45:29.969 - Script generation completed [2023-07-25T10:45:30.562Z] STF 10:45:29.969 - [2023-07-25T10:45:30.562Z] STF 10:45:29.970 - [2023-07-25T10:45:30.562Z] STF 10:45:29.970 - ======================= S E T U P ======================= [2023-07-25T10:45:30.562Z] STF 10:45:29.970 - Running setup: perl /home/jenkins/workspace/Test_openjdk8_hs_extended.system_arm_linux/aqa-tests/TKG/../TKG/output_16902796233759/OAuthTest_0/20230725-104528-OAuthTest/setUp.pl [2023-07-25T10:45:30.562Z] STF 10:45:30.033 - SETUP stage completed [2023-07-25T10:45:30.562Z] STF 10:45:30.039 - [2023-07-25T10:45:30.562Z] STF 10:45:30.039 - ==================== E X E C U T E - ==================== [2023-07-25T10:45:30.562Z] STF 10:45:30.039 - Running execute: perl /home/jenkins/workspace/Test_openjdk8_hs_extended.system_arm_linux/aqa-tests/TKG/../TKG/output_16902796233759/OAuthTest_0/20230725-104528-OAuthTest/execute.pl [2023-07-25T10:45:30.562Z] STF 10:45:30.100 - [2023-07-25T10:45:30.562Z] STF 10:45:30.101 - Java version [2023-07-25T10:45:30.562Z] STF 10:45:30.101 - Running: /home/jenkins/workspace/Test_openjdk8_hs_extended.system_arm_linux/openjdkbinary/j2sdk-image/bin/java -version [2023-07-25T10:45:30.562Z] STF 10:45:30.176 - [2023-07-25T10:45:30.562Z] STF 10:45:30.176 - +------ Step 1 - Run AuthCenter [2023-07-25T10:45:30.562Z] STF 10:45:30.176 - | Start background process [2023-07-25T10:45:30.562Z] STF 10:45:30.176 - | Program: /home/jenkins/workspace/Test_openjdk8_hs_extended.system_arm_linux/openjdkbinary/j2sdk-image/bin/java [2023-07-25T10:45:30.562Z] STF 10:45:30.176 - | Mnemonic: AUTH [2023-07-25T10:45:30.562Z] STF 10:45:30.176 - | Echo: ECHO_ON [2023-07-25T10:45:30.562Z] STF 10:45:30.176 - | Expectation: NEVER [2023-07-25T10:45:30.562Z] STF 10:45:30.176 - | [2023-07-25T10:45:30.562Z] openjdk version "1.8.0_382" [2023-07-25T10:45:30.562Z] OpenJDK Runtime Environment (Temurin)(build 1.8.0_382-b05) [2023-07-25T10:45:30.562Z] OpenJDK Client VM (Temurin)(build 25.382-b05, mixed mode) [2023-07-25T10:45:30.562Z] STF 10:45:30.177 - Running command: /home/jenkins/workspace/Test_openjdk8_hs_extended.system_arm_linux/openjdkbinary/j2sdk-image/bin/java -classpath /home/jenkins/workspace/Test_openjdk8_hs_extended.system_arm_linux/jvmtest/system/aqa-systemtest/openjdk.test.security/bin net.adoptopenjdk.test.auth.AuthCenter [2023-07-25T10:45:30.562Z] STF 10:45:30.177 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk8_hs_extended.system_arm_linux/aqa-tests/TKG/output_16902796233759/OAuthTest_0/20230725-104528-OAuthTest/results/1.AUTH.stderr [2023-07-25T10:45:30.562Z] STF 10:45:30.177 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk8_hs_extended.system_arm_linux/aqa-tests/TKG/output_16902796233759/OAuthTest_0/20230725-104528-OAuthTest/results/1.AUTH.stdout [2023-07-25T10:45:30.562Z] STF 10:45:30.186 - [2023-07-25T10:45:30.562Z] STF 10:45:30.187 - +------ Step 2 - Run Server [2023-07-25T10:45:30.562Z] STF 10:45:30.187 - | Start background process [2023-07-25T10:45:30.562Z] STF 10:45:30.187 - | Program: /home/jenkins/workspace/Test_openjdk8_hs_extended.system_arm_linux/openjdkbinary/j2sdk-image/bin/java [2023-07-25T10:45:30.562Z] STF 10:45:30.187 - | Mnemonic: SER [2023-07-25T10:45:30.562Z] STF 10:45:30.187 - | Echo: ECHO_ON [2023-07-25T10:45:30.562Z] STF 10:45:30.187 - | Expectation: NEVER [2023-07-25T10:45:30.562Z] STF 10:45:30.187 - | [2023-07-25T10:45:30.562Z] STF 10:45:30.187 - Running command: /home/jenkins/workspace/Test_openjdk8_hs_extended.system_arm_linux/openjdkbinary/j2sdk-image/bin/java -classpath /home/jenkins/workspace/Test_openjdk8_hs_extended.system_arm_linux/jvmtest/system/aqa-systemtest/openjdk.test.security/bin net.adoptopenjdk.test.auth.Server /home/jenkins/workspace/Test_openjdk8_hs_extended.system_arm_linux/jvmtest/system/aqa-systemtest/openjdk.test.security/src/test.security/net/adoptopenjdk/test/auth/testkeys TLSv1.3 [2023-07-25T10:45:30.562Z] STF 10:45:30.187 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk8_hs_extended.system_arm_linux/aqa-tests/TKG/output_16902796233759/OAuthTest_0/20230725-104528-OAuthTest/results/2.SER.stderr [2023-07-25T10:45:30.562Z] STF 10:45:30.187 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk8_hs_extended.system_arm_linux/aqa-tests/TKG/output_16902796233759/OAuthTest_0/20230725-104528-OAuthTest/results/2.SER.stdout [2023-07-25T10:45:30.562Z] STF 10:45:30.189 - [2023-07-25T10:45:30.562Z] STF 10:45:30.189 - +------ Step 3 - Run Client [2023-07-25T10:45:30.562Z] STF 10:45:30.189 - | Start background process [2023-07-25T10:45:30.562Z] STF 10:45:30.189 - | Program: /home/jenkins/workspace/Test_openjdk8_hs_extended.system_arm_linux/openjdkbinary/j2sdk-image/bin/java [2023-07-25T10:45:30.562Z] STF 10:45:30.189 - | Mnemonic: CLI [2023-07-25T10:45:30.562Z] STF 10:45:30.189 - | Echo: ECHO_ON [2023-07-25T10:45:30.562Z] STF 10:45:30.189 - | Expectation: CLEAN_RUN within 10s [2023-07-25T10:45:30.562Z] STF 10:45:30.189 - | [2023-07-25T10:45:30.562Z] STF 10:45:30.189 - Running command: /home/jenkins/workspace/Test_openjdk8_hs_extended.system_arm_linux/openjdkbinary/j2sdk-image/bin/java -classpath /home/jenkins/workspace/Test_openjdk8_hs_extended.system_arm_linux/jvmtest/system/aqa-systemtest/openjdk.test.security/bin net.adoptopenjdk.test.auth.Client /home/jenkins/workspace/Test_openjdk8_hs_extended.system_arm_linux/jvmtest/system/aqa-systemtest/openjdk.test.security/src/test.security/net/adoptopenjdk/test/auth/testkeys TLSv1.3 [2023-07-25T10:45:30.562Z] STF 10:45:30.190 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk8_hs_extended.system_arm_linux/aqa-tests/TKG/output_16902796233759/OAuthTest_0/20230725-104528-OAuthTest/results/3.CLI.stderr [2023-07-25T10:45:30.562Z] STF 10:45:30.190 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk8_hs_extended.system_arm_linux/aqa-tests/TKG/output_16902796233759/OAuthTest_0/20230725-104528-OAuthTest/results/3.CLI.stdout [2023-07-25T10:45:30.562Z] STF 10:45:30.191 - [2023-07-25T10:45:30.562Z] STF 10:45:30.191 - +------ Step 4 - Wait for clients to complete [2023-07-25T10:45:30.562Z] STF 10:45:30.191 - | Wait for processes to meet expectations [2023-07-25T10:45:30.562Z] STF 10:45:30.191 - | Processes: [CLI] [2023-07-25T10:45:30.562Z] STF 10:45:30.191 - | [2023-07-25T10:45:30.562Z] STF 10:45:30.191 - Monitoring processes: CLI [2023-07-25T10:45:30.562Z] CLI log in YES! [2023-07-25T10:45:30.562Z] CLI 8889 [2023-07-25T10:45:32.117Z] STF 10:45:31.518 - Monitoring Report Summary: [2023-07-25T10:45:32.117Z] STF 10:45:31.518 - o Process CLI ended with the expected exit code (0) [2023-07-25T10:45:32.117Z] STF 10:45:31.518 - [2023-07-25T10:45:32.117Z] STF 10:45:31.518 - +------ Step 5 - Stop servers [2023-07-25T10:45:32.117Z] STF 10:45:31.518 - | Kill running processes [2023-07-25T10:45:32.117Z] STF 10:45:31.518 - | Processes: [AUTH, SER] [2023-07-25T10:45:32.117Z] STF 10:45:31.518 - | [2023-07-25T10:45:32.117Z] STF 10:45:31.518 - Killing processes: AUTH SER [2023-07-25T10:45:32.117Z] STF 10:45:31.518 - o Process clean up attempt 1 for AUTH pid 19738 [2023-07-25T10:45:32.117Z] STF 10:45:31.518 - o Process AUTH pid 19738 stop() [2023-07-25T10:45:41.836Z] STF 10:45:41.519 - o Process AUTH pid 19738 terminate() [2023-07-25T10:45:43.391Z] STF 10:45:42.520 - o Process AUTH pid 19738 killed [2023-07-25T10:45:43.391Z] STF 10:45:42.520 - o Process clean up attempt 1 for SER pid 19739 [2023-07-25T10:45:43.391Z] STF 10:45:42.520 - o Process SER pid 19739 stop() [2023-07-25T10:45:53.095Z] STF 10:45:52.521 - o Process SER pid 19739 terminate() [2023-07-25T10:45:53.846Z] STF 10:45:53.522 - o Process SER pid 19739 killed [2023-07-25T10:45:53.846Z] STF 10:45:53.522 - EXECUTE stage completed [2023-07-25T10:45:53.846Z] STF 10:45:53.582 - [2023-07-25T10:45:53.846Z] STF 10:45:53.582 - ==================== T E A R D O W N ==================== [2023-07-25T10:45:53.846Z] STF 10:45:53.582 - Running teardown: perl /home/jenkins/workspace/Test_openjdk8_hs_extended.system_arm_linux/aqa-tests/TKG/../TKG/output_16902796233759/OAuthTest_0/20230725-104528-OAuthTest/tearDown.pl [2023-07-25T10:45:53.846Z] STF 10:45:53.649 - TEARDOWN stage completed [2023-07-25T10:45:53.846Z] STF 10:45:53.653 - [2023-07-25T10:45:53.846Z] STF 10:45:53.653 - ===================== R E S U L T S ===================== [2023-07-25T10:45:53.846Z] STF 10:45:53.653 - Stage results: [2023-07-25T10:45:53.846Z] STF 10:45:53.653 - setUp: pass [2023-07-25T10:45:53.846Z] STF 10:45:53.653 - execute: pass [2023-07-25T10:45:53.846Z] STF 10:45:53.653 - teardown: pass [2023-07-25T10:45:53.846Z] STF 10:45:53.653 - [2023-07-25T10:45:53.846Z] STF 10:45:53.653 - Overall result: PASSED [2023-07-25T10:45:53.846Z] ----------------------------------- [2023-07-25T10:45:53.846Z] OAuthTest_0_PASSED [2023-07-25T10:45:53.846Z] ----------------------------------- [2023-07-25T10:45:53.846Z] [2023-07-25T10:45:53.846Z] TEST TEARDOWN: [2023-07-25T10:45:53.846Z] Nothing to be done for teardown. [2023-07-25T10:45:53.846Z] OAuthTest_0 Finish Time: Tue Jul 25 10:45:53 2023 Epoch Time (ms): 1690281953682