OAuthTest_0

[2024-11-30T01:13:53.719Z] Running test OAuthTest_0 ... [2024-11-30T01:13:53.719Z] =============================================== [2024-11-30T01:13:53.719Z] OAuthTest_0 Start Time: Sat Nov 30 01:13:53 2024 Epoch Time (ms): 1732929233174 [2024-11-30T01:13:53.719Z] variation: NoOptions [2024-11-30T01:13:53.719Z] JVM_OPTIONS: [2024-11-30T01:13:53.719Z] { \ [2024-11-30T01:13:53.719Z] echo ""; echo "TEST SETUP:"; \ [2024-11-30T01:13:53.719Z] echo "Nothing to be done for setup."; \ [2024-11-30T01:13:53.719Z] mkdir -p "/export/home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_solaris/aqa-tests/TKG/../TKG/output_17329256476075/OAuthTest_0"; \ [2024-11-30T01:13:53.719Z] cd "/export/home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_solaris/aqa-tests/TKG/../TKG/output_17329256476075/OAuthTest_0"; \ [2024-11-30T01:13:53.719Z] echo ""; echo "TESTING:"; \ [2024-11-30T01:13:53.719Z] perl /export/home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_solaris/aqa-tests/TKG/../../jvmtest/system/security/..//STF/stf.core/scripts/stf.pl -test-root="/export/home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_solaris/aqa-tests/TKG/../../jvmtest/system/security/..//STF;/export/home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_solaris/aqa-tests/TKG/../../jvmtest/system/security/..//aqa-systemtest""" -systemtest-prereqs="/export/home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_solaris/../../testDependency/system_lib/" -java-args=' ' -results-root="/export/home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_solaris/aqa-tests/TKG/../TKG/output_17329256476075/OAuthTest_0" -test=OAuthTest; if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "OAuthTest_0""_PASSED"; echo "-----------------------------------"; cd /export/home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_solaris/aqa-tests/TKG/..; rm -f -r "/export/home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_solaris/aqa-tests/TKG/../TKG/output_17329256476075/OAuthTest_0"; else echo "-----------------------------------"; echo "OAuthTest_0""_FAILED"; echo "-----------------------------------"; fi; \ [2024-11-30T01:13:53.719Z] echo ""; echo "TEST TEARDOWN:"; \ [2024-11-30T01:13:53.719Z] echo "Nothing to be done for teardown."; \ [2024-11-30T01:13:53.719Z] } 2>&1 | tee -a "/export/home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_solaris/aqa-tests/TKG/../TKG/output_17329256476075/TestTargetResult"; [2024-11-30T01:13:53.719Z] [2024-11-30T01:13:53.719Z] TEST SETUP: [2024-11-30T01:13:53.719Z] Nothing to be done for setup. [2024-11-30T01:13:53.719Z] [2024-11-30T01:13:53.719Z] TESTING: [2024-11-30T01:13:53.719Z] STF 01:13:53.292 - ========================= S T F ========================= [2024-11-30T01:13:53.719Z] systemtest-prereqs has been processed, and set to: /export/home/jenkins/testDependency/system_libRetrieving amount of free space on drive containing /export/home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_solaris/aqa-tests/TKG/../TKG/output_17329256476075/OAuthTest_0 [2024-11-30T01:13:53.719Z] There is 15972 Mb free [2024-11-30T01:13:53.719Z] STF 01:13:53.303 - ================== G E N E R A T I O N ================== [2024-11-30T01:13:53.719Z] STF 01:13:53.305 - Checking JVM: /export/home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_solaris/jdkbinary/j2sdk-image [2024-11-30T01:13:53.719Z] STF 01:13:53.305 - Starting process to generate scripts: /export/home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_solaris/jdkbinary/j2sdk-image/bin/java -Dlog4j.skipJansi=true -Djava.system.class.loader=net.adoptopenjdk.stf.runner.StfClassLoader -classpath /export/home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_solaris/../../testDependency/system_lib//log4j/log4j-api.jar:/export/home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_solaris/../../testDependency/system_lib//log4j/log4j-core.jar:/export/home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_solaris/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "/export/home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_solaris/aqa-tests/TKG/../TKG/output_17329256476075/OAuthTest_0/20241130-011353-OAuthTest/stf_parameters.properties, , /export/home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_solaris/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "/export/home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_solaris/aqa-tests/TKG/../TKG/output_17329256476075/OAuthTest_0/20241130-011353-OAuthTest" [2024-11-30T01:13:55.050Z] GEN 01:13:54.877 - Found test. Project: 'openjdk.test.security' class: 'OAuthTest.class' Dir: '/export/home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_solaris/jvmtest/system/aqa-systemtest/openjdk.test.security/bin' [2024-11-30T01:13:55.050Z] GEN 01:13:54.886 - Found test. Project: 'openjdk.test.security' class: 'net.adoptopenjdk.test.auth.OAuthTest' [2024-11-30T01:13:55.741Z] GEN Classpath directories used by project 'openjdk.test.security': [2024-11-30T01:13:55.741Z] GEN /export/home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_solaris/jvmtest/system/aqa-systemtest/openjdk.test.security/bin [2024-11-30T01:13:55.741Z] GEN /export/home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_solaris/jvmtest/system/STF/stf.core/bin [2024-11-30T01:13:55.741Z] GEN /export/home/jenkins/testDependency/system_lib/log4j/log4j-api.jar [2024-11-30T01:13:55.741Z] GEN /export/home/jenkins/testDependency/system_lib/log4j/log4j-core.jar [2024-11-30T01:13:55.741Z] GEN /export/home/jenkins/testDependency/system_lib/junit/junit.jar [2024-11-30T01:13:55.741Z] GEN 01:13:55.173 - Using Mode NoOptions. Values = '' [2024-11-30T01:13:56.388Z] GEN SSLv3 [2024-11-30T01:13:56.388Z] GEN TLSv1 [2024-11-30T01:13:56.388Z] GEN TLSv1.3 [2024-11-30T01:13:56.388Z] GEN TLSv1.2 [2024-11-30T01:13:56.388Z] GEN TLSv1.1 [2024-11-30T01:13:56.388Z] GEN SSLv2Hello [2024-11-30T01:13:56.388Z] GEN Testing with : TLSv1.3 [2024-11-30T01:13:56.388Z] GEN 01:13:55.976 - [2024-11-30T01:13:56.388Z] GEN 01:13:55.976 - Test command summary: [2024-11-30T01:13:56.388Z] GEN 01:13:55.977 - Step Stage Command Description [2024-11-30T01:13:56.388Z] GEN 01:13:55.977 - -----+--------+-----------------+------------ [2024-11-30T01:13:56.388Z] GEN 01:13:55.977 - 1 execute Run java Run AuthCenter [2024-11-30T01:13:56.388Z] GEN 01:13:55.977 - 2 execute Run java Run Server [2024-11-30T01:13:56.388Z] GEN 01:13:55.977 - 3 execute Run java Run Client [2024-11-30T01:13:56.388Z] GEN 01:13:55.977 - 4 execute Monitor Wait for clients to complete [2024-11-30T01:13:56.388Z] GEN 01:13:55.977 - 5 execute kill Stop servers [2024-11-30T01:13:56.388Z] STF 01:13:56.027 - [2024-11-30T01:13:56.388Z] STF 01:13:56.027 - Script generation completed [2024-11-30T01:13:56.388Z] STF 01:13:56.027 - [2024-11-30T01:13:56.388Z] STF 01:13:56.027 - [2024-11-30T01:13:56.388Z] STF 01:13:56.028 - ======================= S E T U P ======================= [2024-11-30T01:13:56.388Z] STF 01:13:56.028 - Running setup: perl /export/home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_solaris/aqa-tests/TKG/../TKG/output_17329256476075/OAuthTest_0/20241130-011353-OAuthTest/setUp.pl [2024-11-30T01:13:56.388Z] STF 01:13:56.111 - SETUP stage completed [2024-11-30T01:13:56.388Z] STF 01:13:56.117 - [2024-11-30T01:13:56.388Z] STF 01:13:56.117 - ==================== E X E C U T E - ==================== [2024-11-30T01:13:56.388Z] STF 01:13:56.117 - Running execute: perl /export/home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_solaris/aqa-tests/TKG/../TKG/output_17329256476075/OAuthTest_0/20241130-011353-OAuthTest/execute.pl [2024-11-30T01:13:56.388Z] STF 01:13:56.222 - [2024-11-30T01:13:56.388Z] STF 01:13:56.222 - Java version [2024-11-30T01:13:56.388Z] STF 01:13:56.222 - Running: /export/home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_solaris/jdkbinary/j2sdk-image/bin/java -version [2024-11-30T01:13:56.388Z] STF 01:13:56.375 - [2024-11-30T01:13:56.388Z] STF 01:13:56.375 - +------ Step 1 - Run AuthCenter [2024-11-30T01:13:56.388Z] STF 01:13:56.375 - | Start background process [2024-11-30T01:13:56.389Z] STF 01:13:56.375 - | Program: /export/home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_solaris/jdkbinary/j2sdk-image/bin/java [2024-11-30T01:13:56.389Z] STF 01:13:56.375 - | Mnemonic: AUTH [2024-11-30T01:13:56.389Z] STF 01:13:56.375 - | Echo: ECHO_ON [2024-11-30T01:13:56.389Z] STF 01:13:56.375 - | Expectation: NEVER [2024-11-30T01:13:56.389Z] STF 01:13:56.375 - | [2024-11-30T01:13:56.389Z] STF 01:13:56.376 - Running command: /export/home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_solaris/jdkbinary/j2sdk-image/bin/java -classpath /export/home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_solaris/jvmtest/system/aqa-systemtest/openjdk.test.security/bin net.adoptopenjdk.test.auth.AuthCenter [2024-11-30T01:13:56.389Z] STF 01:13:56.376 - Redirecting stderr to /export/home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_solaris/aqa-tests/TKG/output_17329256476075/OAuthTest_0/20241130-011353-OAuthTest/results/1.AUTH.stderr [2024-11-30T01:13:56.389Z] STF 01:13:56.376 - Redirecting stdout to /export/home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_solaris/aqa-tests/TKG/output_17329256476075/OAuthTest_0/20241130-011353-OAuthTest/results/1.AUTH.stdout [2024-11-30T01:13:56.389Z] openjdk version "1.8.0_442-beta" [2024-11-30T01:13:56.389Z] OpenJDK Runtime Environment (Temurin)(build 1.8.0_442-beta-202411291318-b04) [2024-11-30T01:13:56.389Z] OpenJDK 64-Bit Server VM (Temurin)(build 25.442-b04, mixed mode) [2024-11-30T01:13:57.045Z] STF 01:13:56.419 - [2024-11-30T01:13:57.045Z] STF 01:13:56.419 - +------ Step 2 - Run Server [2024-11-30T01:13:57.045Z] STF 01:13:56.419 - | Start background process [2024-11-30T01:13:57.045Z] STF 01:13:56.419 - | Program: /export/home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_solaris/jdkbinary/j2sdk-image/bin/java [2024-11-30T01:13:57.045Z] STF 01:13:56.419 - | Mnemonic: SER [2024-11-30T01:13:57.045Z] STF 01:13:56.419 - | Echo: ECHO_ON [2024-11-30T01:13:57.045Z] STF 01:13:56.419 - | Expectation: NEVER [2024-11-30T01:13:57.045Z] STF 01:13:56.419 - | [2024-11-30T01:13:57.045Z] STF 01:13:56.422 - Running command: /export/home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_solaris/jdkbinary/j2sdk-image/bin/java -classpath /export/home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_solaris/jvmtest/system/aqa-systemtest/openjdk.test.security/bin net.adoptopenjdk.test.auth.Server /export/home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_solaris/jvmtest/system/aqa-systemtest/openjdk.test.security/src/test.security/net/adoptopenjdk/test/auth/testkeys TLSv1.3 [2024-11-30T01:13:57.045Z] STF 01:13:56.422 - Redirecting stderr to /export/home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_solaris/aqa-tests/TKG/output_17329256476075/OAuthTest_0/20241130-011353-OAuthTest/results/2.SER.stderr [2024-11-30T01:13:57.045Z] STF 01:13:56.422 - Redirecting stdout to /export/home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_solaris/aqa-tests/TKG/output_17329256476075/OAuthTest_0/20241130-011353-OAuthTest/results/2.SER.stdout [2024-11-30T01:13:57.045Z] STF 01:13:56.470 - [2024-11-30T01:13:57.045Z] STF 01:13:56.470 - +------ Step 3 - Run Client [2024-11-30T01:13:57.045Z] STF 01:13:56.470 - | Start background process [2024-11-30T01:13:57.045Z] STF 01:13:56.470 - | Program: /export/home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_solaris/jdkbinary/j2sdk-image/bin/java [2024-11-30T01:13:57.045Z] STF 01:13:56.470 - | Mnemonic: CLI [2024-11-30T01:13:57.045Z] STF 01:13:56.470 - | Echo: ECHO_ON [2024-11-30T01:13:57.045Z] STF 01:13:56.470 - | Expectation: CLEAN_RUN within 10s [2024-11-30T01:13:57.045Z] STF 01:13:56.470 - | [2024-11-30T01:13:57.045Z] STF 01:13:56.471 - Running command: /export/home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_solaris/jdkbinary/j2sdk-image/bin/java -classpath /export/home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_solaris/jvmtest/system/aqa-systemtest/openjdk.test.security/bin net.adoptopenjdk.test.auth.Client /export/home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_solaris/jvmtest/system/aqa-systemtest/openjdk.test.security/src/test.security/net/adoptopenjdk/test/auth/testkeys TLSv1.3 [2024-11-30T01:13:57.045Z] STF 01:13:56.471 - Redirecting stderr to /export/home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_solaris/aqa-tests/TKG/output_17329256476075/OAuthTest_0/20241130-011353-OAuthTest/results/3.CLI.stderr [2024-11-30T01:13:57.045Z] STF 01:13:56.471 - Redirecting stdout to /export/home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_solaris/aqa-tests/TKG/output_17329256476075/OAuthTest_0/20241130-011353-OAuthTest/results/3.CLI.stdout [2024-11-30T01:13:57.045Z] STF 01:13:56.519 - [2024-11-30T01:13:57.045Z] STF 01:13:56.519 - +------ Step 4 - Wait for clients to complete [2024-11-30T01:13:57.045Z] STF 01:13:56.519 - | Wait for processes to meet expectations [2024-11-30T01:13:57.045Z] STF 01:13:56.519 - | Processes: [CLI] [2024-11-30T01:13:57.045Z] STF 01:13:56.519 - | [2024-11-30T01:13:57.045Z] STF 01:13:56.519 - Monitoring processes: CLI [2024-11-30T01:13:57.689Z] CLI stderr Exception in thread "main" java.net.ConnectException: Connection refused (Connection refused) [2024-11-30T01:13:57.689Z] CLI stderr at java.net.PlainSocketImpl.socketConnect(Native Method) [2024-11-30T01:13:57.689Z] CLI stderr at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350) [2024-11-30T01:13:57.689Z] CLI stderr at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206) [2024-11-30T01:13:57.689Z] CLI stderr at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188) [2024-11-30T01:13:57.689Z] CLI stderr at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) [2024-11-30T01:13:57.689Z] CLI stderr at java.net.Socket.connect(Socket.java:607) [2024-11-30T01:13:57.689Z] CLI stderr at java.net.Socket.connect(Socket.java:556) [2024-11-30T01:13:57.689Z] CLI stderr at sun.net.NetworkClient.doConnect(NetworkClient.java:180) [2024-11-30T01:13:57.689Z] CLI stderr at sun.net.www.http.HttpClient.openServer(HttpClient.java:465) [2024-11-30T01:13:57.689Z] CLI stderr at sun.net.www.http.HttpClient.openServer(HttpClient.java:560) [2024-11-30T01:13:57.689Z] CLI stderr at sun.net.www.http.HttpClient.<init>(HttpClient.java:244) [2024-11-30T01:13:57.689Z] CLI stderr at sun.net.www.http.HttpClient.New(HttpClient.java:341) [2024-11-30T01:13:57.689Z] CLI stderr at sun.net.www.http.HttpClient.New(HttpClient.java:359) [2024-11-30T01:13:57.689Z] CLI stderr at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1243) [2024-11-30T01:13:57.689Z] CLI stderr at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1177) [2024-11-30T01:13:57.689Z] CLI stderr at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1071) [2024-11-30T01:13:57.689Z] CLI stderr at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:1005) [2024-11-30T01:13:57.689Z] CLI stderr at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1587) [2024-11-30T01:13:57.689Z] CLI stderr at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1515) [2024-11-30T01:13:57.689Z] CLI stderr at net.adoptopenjdk.test.auth.Client.main(Client.java:23) [2024-11-30T01:13:57.689Z] STF 01:13:57.278 - **FAILED** Process CLI ended with exit code (1) and not the expected exit code/s (0) [2024-11-30T01:13:57.689Z] STF 01:13:57.278 - Monitoring Report Summary: [2024-11-30T01:13:57.689Z] STF 01:13:57.278 - o Process CLI ended with exit code (1) and not the expected exit code/s (0) [2024-11-30T01:13:57.689Z] STF 01:13:57.278 - Killing processes: AUTH CLI SER [2024-11-30T01:13:57.689Z] STF 01:13:57.278 - o Process CLI pid 771 is not running [2024-11-30T01:13:57.689Z] STF 01:13:57.278 - o Process clean up attempt 1 for AUTH pid 769 [2024-11-30T01:13:57.689Z] STF 01:13:57.278 - o Process AUTH pid 769 stop() [2024-11-30T01:14:08.201Z] STF 01:14:07.495 - o Process AUTH pid 769 terminate() [2024-11-30T01:14:08.834Z] STF 01:14:08.506 - o Process AUTH pid 769 killed [2024-11-30T01:14:08.834Z] STF 01:14:08.507 - o Process clean up attempt 1 for SER pid 770 [2024-11-30T01:14:08.834Z] STF 01:14:08.507 - o Process SER pid 770 stop() [2024-11-30T01:14:19.169Z] STF 01:14:18.586 - o Process SER pid 770 terminate() [2024-11-30T01:14:19.936Z] STF 01:14:19.595 - o Process SER pid 770 killed [2024-11-30T01:14:19.936Z] **FAILED** at step 4 (Wait for clients to complete). Expected return value=0 Actual=1 at /export/home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_solaris/aqa-tests/TKG/../TKG/output_17329256476075/OAuthTest_0/20241130-011353-OAuthTest/execute.pl line 171. [2024-11-30T01:14:19.936Z] STF 01:14:19.803 - **FAILED** execute script failed. Expected return value=0 Actual=1 [2024-11-30T01:14:19.936Z] STF 01:14:19.803 - [2024-11-30T01:14:19.936Z] STF 01:14:19.803 - ==================== T E A R D O W N ==================== [2024-11-30T01:14:19.936Z] STF 01:14:19.803 - Running teardown: perl /export/home/jenkins/workspace/Test_openjdk8_hs_extended.system_x86-64_solaris/aqa-tests/TKG/../TKG/output_17329256476075/OAuthTest_0/20241130-011353-OAuthTest/tearDown.pl [2024-11-30T01:14:19.936Z] STF 01:14:19.897 - TEARDOWN stage completed [2024-11-30T01:14:19.936Z] STF 01:14:19.903 - [2024-11-30T01:14:19.936Z] STF 01:14:19.903 - ===================== R E S U L T S ===================== [2024-11-30T01:14:19.936Z] STF 01:14:19.903 - Stage results: [2024-11-30T01:14:19.936Z] STF 01:14:19.903 - setUp: pass [2024-11-30T01:14:19.936Z] STF 01:14:19.903 - execute: *fail* [2024-11-30T01:14:19.936Z] STF 01:14:19.903 - teardown: pass [2024-11-30T01:14:19.936Z] STF 01:14:19.903 - [2024-11-30T01:14:19.936Z] STF 01:14:19.903 - Overall result: **FAILED** [2024-11-30T01:14:19.936Z] ----------------------------------- [2024-11-30T01:14:19.936Z] OAuthTest_0_FAILED [2024-11-30T01:14:19.936Z] ----------------------------------- [2024-11-30T01:14:19.936Z] [2024-11-30T01:14:19.936Z] TEST TEARDOWN: [2024-11-30T01:14:19.936Z] Nothing to be done for teardown. [2024-11-30T01:14:19.936Z] OAuthTest_0 Finish Time: Sat Nov 30 01:14:19 2024 Epoch Time (ms): 1732929259935