adoptium / aqa-tests

Home of test infrastructure for Adoptium builds
https://adoptium.net/aqavit
Apache License 2.0
132 stars 312 forks source link

Intermittent OAuthTest Test failed on different platforms with jdk11 - Connection Refused #3237

Open karianna opened 2 years ago

karianna commented 2 years ago

Test Results Summary Service By Pipeline Test Compare Perf Related Perf Test Perf Compare Tabular View Dashboard Third Party Applications openjdk11-pipeline #1795/jdk11u-linux-arm-hotspot #921/Test_openjdk11_hs_extended.system_arm_linux #157/OAuthTest_0 OAuthTest_0

[2022-01-18T23:27:02.643Z] Running test OAuthTest_0 ... [2022-01-18T23:27:02.643Z] =============================================== [2022-01-18T23:27:02.643Z] OAuthTest_0 Start Time: Tue Jan 18 23:27:02 2022 Epoch Time (ms): 1642548422469 [2022-01-18T23:27:02.643Z] Nothing to be done for setup. [2022-01-18T23:27:02.643Z] variation: NoOptions [2022-01-18T23:27:02.643Z] JVM_OPTIONS:
[2022-01-18T23:27:02.643Z] { itercnt=1; \ [2022-01-18T23:27:02.643Z] mkdir -p "/home/jenkins/workspace/Test_openjdk11_hs_extended.system_arm_linux/aqa-tests/TKG/../TKG/output_16425454384315/OAuthTest_0"; \ [2022-01-18T23:27:02.643Z] cd "/home/jenkins/workspace/Test_openjdk11_hs_extended.system_arm_linux/aqa-tests/TKG/../TKG/output_16425454384315/OAuthTest_0"; \ [2022-01-18T23:27:02.643Z] perl /home/jenkins/workspace/Test_openjdk11_hs_extended.system_arm_linux/aqa-tests/TKG/../../jvmtest/system/security/..//STF/stf.core/scripts/stf.pl -test-root="/home/jenkins/workspace/Test_openjdk11_hs_extended.system_arm_linux/aqa-tests/TKG/../../jvmtest/system/security/..//STF;/home/jenkins/workspace/Test_openjdk11_hs_extended.system_arm_linux/aqa-tests/TKG/../../jvmtest/system/security/..//aqa-systemtest""" -systemtest-prereqs="/home/jenkins/workspace/Test_openjdk11_hs_extended.system_arm_linux/aqa-tests/TKG/../../jvmtest/system/security/..//systemtest_prereqs" -java-args=' ' -results-root="/home/jenkins/workspace/Test_openjdk11_hs_extended.system_arm_linux/aqa-tests/TKG/../TKG/output_16425454384315/OAuthTest_0" -test=OAuthTest; if [ $? -eq 0 ] ; then echo ""; echo "OAuthTest_0""_PASSED"; echo ""; cd /home/jenkins/workspace/Test_openjdk11_hs_extended.system_arm_linux/aqa-tests/TKG/..; rm -f -r "/home/jenkins/workspace/Test_openjdk11_hs_extended.system_arm_linux/aqa-tests/TKG/../TKG/output_16425454384315/OAuthTest_0"; else echo ""; echo "OAuthTest_0""_FAILED"; echo ""; fi; } 2>&1 | tee -a "/home/jenkins/workspace/Test_openjdk11_hs_extended.system_arm_linux/aqa-tests/TKG/../TKG/output_16425454384315/TestTargetResult"; [2022-01-18T23:27:03.308Z] STF 23:27:02.619 - ========================= S T F ========================= [2022-01-18T23:27:03.308Z] systemtest-prereqs has been processed, and set to: /home/jenkins/workspace/Test_openjdk11_hs_extended.system_arm_linux/jvmtest/system/systemtest_prereqsRetrieving amount of free space on drive containing /home/jenkins/workspace/Test_openjdk11_hs_extended.system_arm_linux/aqa-tests/TKG/../TKG/output_16425454384315/OAuthTest_0 [2022-01-18T23:27:03.308Z] There is 323882 Mb free [2022-01-18T23:27:03.308Z] STF 23:27:02.638 - ================== G E N E R A T I O N ================== [2022-01-18T23:27:03.308Z] STF 23:27:02.644 - Checking JVM: /home/jenkins/workspace/Test_openjdk11_hs_extended.system_arm_linux/openjdkbinary/j2sdk-image [2022-01-18T23:27:03.308Z] STF 23:27:02.644 - Starting process to generate scripts: /home/jenkins/workspace/Test_openjdk11_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_openjdk11_hs_extended.system_arm_linux/aqa-tests/TKG/../../jvmtest/system/security/..//systemtest_prereqs/log4j/log4j-api.jar:/home/jenkins/workspace/Test_openjdk11_hs_extended.system_arm_linux/aqa-tests/TKG/../../jvmtest/system/security/..//systemtest_prereqs/log4j/log4j-core.jar:/home/jenkins/workspace/Test_openjdk11_hs_extended.system_arm_linux/jvmtest/system/STF/stf.core/scripts/../bin net.adoptopenjdk.stf.runner.StfRunner -properties "/home/jenkins/workspace/Test_openjdk11_hs_extended.system_arm_linux/aqa-tests/TKG/../TKG/output_16425454384315/OAuthTest_0/20220118-232702-OAuthTest/stf_parameters.properties, , /home/jenkins/workspace/Test_openjdk11_hs_extended.system_arm_linux/jvmtest/system/STF/stf.core/config/stf.properties" -testDir "/home/jenkins/workspace/Test_openjdk11_hs_extended.system_arm_linux/aqa-tests/TKG/../TKG/output_16425454384315/OAuthTest_0/20220118-232702-OAuthTest" [2022-01-18T23:27:05.440Z] GEN 23:27:04.833 - Found test. Project: 'openjdk.test.security' class: 'OAuthTest.class' Dir: '/home/jenkins/workspace/Test_openjdk11_hs_extended.system_arm_linux/jvmtest/system/aqa-systemtest/openjdk.test.security/bin' [2022-01-18T23:27:05.440Z] GEN 23:27:04.866 - Found test. Project: 'openjdk.test.security' class: 'net.adoptopenjdk.test.auth.OAuthTest' [2022-01-18T23:27:05.440Z] GEN Classpath directories used by project 'openjdk.test.security': [2022-01-18T23:27:05.440Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_extended.system_arm_linux/jvmtest/system/aqa-systemtest/openjdk.test.security/bin [2022-01-18T23:27:05.440Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_extended.system_arm_linux/jvmtest/system/STF/stf.core/bin [2022-01-18T23:27:05.440Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_extended.system_arm_linux/jvmtest/system/systemtest_prereqs/log4j/log4j-api.jar [2022-01-18T23:27:05.440Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_extended.system_arm_linux/jvmtest/system/systemtest_prereqs/log4j/log4j-core.jar [2022-01-18T23:27:05.440Z] GEN /home/jenkins/workspace/Test_openjdk11_hs_extended.system_arm_linux/jvmtest/system/systemtest_prereqs/junit/junit.jar [2022-01-18T23:27:05.440Z] GEN 23:27:05.264 - Using Mode NoOptions. Values = '' [2022-01-18T23:27:06.090Z] GEN SSLv3 [2022-01-18T23:27:06.091Z] GEN TLSv1 [2022-01-18T23:27:06.091Z] GEN TLSv1.3 [2022-01-18T23:27:06.091Z] GEN TLSv1.2 [2022-01-18T23:27:06.091Z] GEN TLSv1.1 [2022-01-18T23:27:06.091Z] GEN SSLv2Hello [2022-01-18T23:27:06.091Z] GEN Testing with : TLSv1.3 [2022-01-18T23:27:06.091Z] GEN 23:27:05.862 - [2022-01-18T23:27:06.091Z] GEN 23:27:05.862 - Test command summary: [2022-01-18T23:27:06.091Z] GEN 23:27:05.863 - Step Stage Command Description [2022-01-18T23:27:06.091Z] GEN 23:27:05.864 - -----+--------+-----------------+------------ [2022-01-18T23:27:06.091Z] GEN 23:27:05.864 - 1 execute Run java Run AuthCenter [2022-01-18T23:27:06.091Z] GEN 23:27:05.864 - 2 execute Run java Run Server [2022-01-18T23:27:06.091Z] GEN 23:27:05.864 - 3 execute Run java Run Client [2022-01-18T23:27:06.091Z] GEN 23:27:05.864 - 4 execute Monitor Wait for clients to complete [2022-01-18T23:27:06.091Z] GEN 23:27:05.864 - 5 execute kill Stop servers [2022-01-18T23:27:06.091Z] STF 23:27:05.945 - [2022-01-18T23:27:06.091Z] STF 23:27:05.945 - Script generation completed [2022-01-18T23:27:06.091Z] STF 23:27:05.945 - [2022-01-18T23:27:06.091Z] STF 23:27:05.945 - [2022-01-18T23:27:06.091Z] STF 23:27:05.945 - ======================= S E T U P ======================= [2022-01-18T23:27:06.091Z] STF 23:27:05.945 - Running setup: perl /home/jenkins/workspace/Test_openjdk11_hs_extended.system_arm_linux/aqa-tests/TKG/../TKG/output_16425454384315/OAuthTest_0/20220118-232702-OAuthTest/setUp.pl [2022-01-18T23:27:06.743Z] STF 23:27:06.050 - SETUP stage completed [2022-01-18T23:27:06.743Z] STF 23:27:06.054 - [2022-01-18T23:27:06.743Z] STF 23:27:06.055 - ==================== E X E C U T E - ==================== [2022-01-18T23:27:06.743Z] STF 23:27:06.055 - Running execute: perl /home/jenkins/workspace/Test_openjdk11_hs_extended.system_arm_linux/aqa-tests/TKG/../TKG/output_16425454384315/OAuthTest_0/20220118-232702-OAuthTest/execute.pl [2022-01-18T23:27:06.743Z] STF 23:27:06.166 - [2022-01-18T23:27:06.743Z] STF 23:27:06.167 - Java version [2022-01-18T23:27:06.743Z] STF 23:27:06.167 - Running: /home/jenkins/workspace/Test_openjdk11_hs_extended.system_arm_linux/openjdkbinary/j2sdk-image/bin/java -version [2022-01-18T23:27:06.743Z] openjdk version "11.0.14" 2022-01-18 [2022-01-18T23:27:06.743Z] OpenJDK Runtime Environment Temurin-11.0.14+9 (build 11.0.14+9) [2022-01-18T23:27:06.743Z] OpenJDK Server VM Temurin-11.0.14+9 (build 11.0.14+9, mixed mode) [2022-01-18T23:27:06.743Z] STF 23:27:06.358 - [2022-01-18T23:27:06.743Z] STF 23:27:06.358 - +------ Step 1 - Run AuthCenter [2022-01-18T23:27:06.743Z] STF 23:27:06.359 - | Start background process [2022-01-18T23:27:06.743Z] STF 23:27:06.359 - | Program: /home/jenkins/workspace/Test_openjdk11_hs_extended.system_arm_linux/openjdkbinary/j2sdk-image/bin/java [2022-01-18T23:27:06.743Z] STF 23:27:06.359 - | Mnemonic: AUTH [2022-01-18T23:27:06.743Z] STF 23:27:06.359 - | Echo: ECHO_ON [2022-01-18T23:27:06.743Z] STF 23:27:06.359 - | Expectation: NEVER [2022-01-18T23:27:06.743Z] STF 23:27:06.360 - | [2022-01-18T23:27:06.743Z] STF 23:27:06.363 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_extended.system_arm_linux/openjdkbinary/j2sdk-image/bin/java -classpath /home/jenkins/workspace/Test_openjdk11_hs_extended.system_arm_linux/jvmtest/system/aqa-systemtest/openjdk.test.security/bin net.adoptopenjdk.test.auth.AuthCenter [2022-01-18T23:27:06.743Z] STF 23:27:06.363 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_extended.system_arm_linux/aqa-tests/TKG/output_16425454384315/OAuthTest_0/20220118-232702-OAuthTest/results/1.AUTH.stderr [2022-01-18T23:27:06.743Z] STF 23:27:06.363 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_extended.system_arm_linux/aqa-tests/TKG/output_16425454384315/OAuthTest_0/20220118-232702-OAuthTest/results/1.AUTH.stdout [2022-01-18T23:27:06.743Z] STF 23:27:06.385 - [2022-01-18T23:27:06.743Z] STF 23:27:06.385 - +------ Step 2 - Run Server [2022-01-18T23:27:06.743Z] STF 23:27:06.385 - | Start background process [2022-01-18T23:27:06.743Z] STF 23:27:06.385 - | Program: /home/jenkins/workspace/Test_openjdk11_hs_extended.system_arm_linux/openjdkbinary/j2sdk-image/bin/java [2022-01-18T23:27:06.743Z] STF 23:27:06.386 - | Mnemonic: SER [2022-01-18T23:27:06.743Z] STF 23:27:06.386 - | Echo: ECHO_ON [2022-01-18T23:27:06.743Z] STF 23:27:06.386 - | Expectation: NEVER [2022-01-18T23:27:06.743Z] STF 23:27:06.386 - | [2022-01-18T23:27:06.744Z] STF 23:27:06.387 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_extended.system_arm_linux/openjdkbinary/j2sdk-image/bin/java -classpath /home/jenkins/workspace/Test_openjdk11_hs_extended.system_arm_linux/jvmtest/system/aqa-systemtest/openjdk.test.security/bin net.adoptopenjdk.test.auth.Server /home/jenkins/workspace/Test_openjdk11_hs_extended.system_arm_linux/jvmtest/system/aqa-systemtest/openjdk.test.security/src/test.security/net/adoptopenjdk/test/auth/testkeys TLSv1.3 [2022-01-18T23:27:06.744Z] STF 23:27:06.387 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_extended.system_arm_linux/aqa-tests/TKG/output_16425454384315/OAuthTest_0/20220118-232702-OAuthTest/results/2.SER.stderr [2022-01-18T23:27:06.744Z] STF 23:27:06.387 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_extended.system_arm_linux/aqa-tests/TKG/output_16425454384315/OAuthTest_0/20220118-232702-OAuthTest/results/2.SER.stdout [2022-01-18T23:27:06.744Z] STF 23:27:06.388 - [2022-01-18T23:27:06.744Z] STF 23:27:06.388 - +------ Step 3 - Run Client [2022-01-18T23:27:06.744Z] STF 23:27:06.388 - | Start background process [2022-01-18T23:27:06.744Z] STF 23:27:06.388 - | Program: /home/jenkins/workspace/Test_openjdk11_hs_extended.system_arm_linux/openjdkbinary/j2sdk-image/bin/java [2022-01-18T23:27:06.744Z] STF 23:27:06.389 - | Mnemonic: CLI [2022-01-18T23:27:06.744Z] STF 23:27:06.389 - | Echo: ECHO_ON [2022-01-18T23:27:06.744Z] STF 23:27:06.389 - | Expectation: CLEAN_RUN within 10s [2022-01-18T23:27:06.744Z] STF 23:27:06.389 - | [2022-01-18T23:27:06.744Z] STF 23:27:06.390 - Running command: /home/jenkins/workspace/Test_openjdk11_hs_extended.system_arm_linux/openjdkbinary/j2sdk-image/bin/java -classpath /home/jenkins/workspace/Test_openjdk11_hs_extended.system_arm_linux/jvmtest/system/aqa-systemtest/openjdk.test.security/bin net.adoptopenjdk.test.auth.Client /home/jenkins/workspace/Test_openjdk11_hs_extended.system_arm_linux/jvmtest/system/aqa-systemtest/openjdk.test.security/src/test.security/net/adoptopenjdk/test/auth/testkeys TLSv1.3 [2022-01-18T23:27:06.744Z] STF 23:27:06.390 - Redirecting stderr to /home/jenkins/workspace/Test_openjdk11_hs_extended.system_arm_linux/aqa-tests/TKG/output_16425454384315/OAuthTest_0/20220118-232702-OAuthTest/results/3.CLI.stderr [2022-01-18T23:27:06.744Z] STF 23:27:06.390 - Redirecting stdout to /home/jenkins/workspace/Test_openjdk11_hs_extended.system_arm_linux/aqa-tests/TKG/output_16425454384315/OAuthTest_0/20220118-232702-OAuthTest/results/3.CLI.stdout [2022-01-18T23:27:06.744Z] STF 23:27:06.391 - [2022-01-18T23:27:06.744Z] STF 23:27:06.391 - +------ Step 4 - Wait for clients to complete [2022-01-18T23:27:06.744Z] STF 23:27:06.391 - | Wait for processes to meet expectations [2022-01-18T23:27:06.744Z] STF 23:27:06.391 - | Processes: [CLI] [2022-01-18T23:27:06.744Z] STF 23:27:06.392 - | [2022-01-18T23:27:06.744Z] STF 23:27:06.392 - Monitoring processes: CLI [2022-01-18T23:27:07.399Z] CLI stderr Exception in thread "main" java.net.ConnectException: Connection refused (Connection refused) [2022-01-18T23:27:07.399Z] CLI stderr at java.base/java.net.PlainSocketImpl.socketConnect(Native Method) [2022-01-18T23:27:07.399Z] CLI stderr at java.base/java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:412) [2022-01-18T23:27:07.399Z] CLI stderr at java.base/java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:255) [2022-01-18T23:27:07.399Z] CLI stderr at java.base/java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:237) [2022-01-18T23:27:07.399Z] CLI stderr at java.base/java.net.Socket.connect(Socket.java:609) [2022-01-18T23:27:07.399Z] CLI stderr at java.base/java.net.Socket.connect(Socket.java:558) [2022-01-18T23:27:07.399Z] CLI stderr at java.base/sun.net.NetworkClient.doConnect(NetworkClient.java:182) [2022-01-18T23:27:07.399Z] CLI stderr at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:474) [2022-01-18T23:27:07.399Z] CLI stderr at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:569) [2022-01-18T23:27:07.399Z] CLI stderr at java.base/sun.net.www.http.HttpClient.(HttpClient.java:242) [2022-01-18T23:27:07.399Z] CLI stderr at java.base/sun.net.www.http.HttpClient.New(HttpClient.java:341) [2022-01-18T23:27:07.399Z] CLI stderr at java.base/sun.net.www.http.HttpClient.New(HttpClient.java:362) [2022-01-18T23:27:07.399Z] CLI stderr at java.base/sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1253) [2022-01-18T23:27:07.399Z] CLI stderr at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1187) [2022-01-18T23:27:07.399Z] CLI stderr at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1081) [2022-01-18T23:27:07.399Z] CLI stderr at java.base/sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:1015) [2022-01-18T23:27:07.399Z] CLI stderr at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1592) [2022-01-18T23:27:07.399Z] CLI stderr at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1520) [2022-01-18T23:27:07.399Z] CLI stderr at net.adoptopenjdk.test.auth.Client.main(Client.java:23) [2022-01-18T23:27:07.399Z] STF 23:27:06.754 - FAILED Process CLI ended with exit code (1) and not the expected exit code/s (0) [2022-01-18T23:27:07.399Z] STF 23:27:06.754 - Monitoring Report Summary: [2022-01-18T23:27:07.399Z] STF 23:27:06.754 - o Process CLI ended with exit code (1) and not the expected exit code/s (0) [2022-01-18T23:27:07.399Z] STF 23:27:06.755 - Killing processes: AUTH CLI SER [2022-01-18T23:27:07.399Z] STF 23:27:06.755 - o Process SER pid 2876637 stop() [2022-01-18T23:27:18.255Z] STF 23:27:16.759 - o Process SER pid 2876637 terminate() [2022-01-18T23:27:18.255Z] STF 23:27:17.760 - o Process SER pid 2876637 killed [2022-01-18T23:27:18.256Z] STF 23:27:17.762 - o Process CLI pid 2876638 is not running [2022-01-18T23:27:18.256Z] STF 23:27:17.762 - o Process AUTH pid 2876636 stop() [2022-01-18T23:27:29.097Z] STF 23:27:27.765 - o Process AUTH pid 2876636 terminate() [2022-01-18T23:27:29.097Z] STF 23:27:28.767 - o Process AUTH pid 2876636 killed [2022-01-18T23:27:29.097Z] FAILED at step 4 (Wait for clients to complete). Expected return value=0 Actual=1 at /home/jenkins/workspace/Test_openjdk11_hs_extended.system_arm_linux/aqa-tests/TKG/../TKG/output_16425454384315/OAuthTest_0/20220118-232702-OAuthTest/execute.pl line 171. [2022-01-18T23:27:29.097Z] STF 23:27:28.868 - FAILED execute script failed. Expected return value=0 Actual=1 [2022-01-18T23:27:29.097Z] STF 23:27:28.869 - [2022-01-18T23:27:29.097Z] STF 23:27:28.869 - ==================== T E A R D O W N ==================== [2022-01-18T23:27:29.097Z] STF 23:27:28.869 - Running teardown: perl /home/jenkins/workspace/Test_openjdk11_hs_extended.system_arm_linux/aqa-tests/TKG/../TKG/output_16425454384315/OAuthTest_0/20220118-232702-OAuthTest/tearDown.pl [2022-01-18T23:27:29.097Z] STF 23:27:28.970 - TEARDOWN stage completed [2022-01-18T23:27:29.097Z] STF 23:27:28.978 - [2022-01-18T23:27:29.097Z] STF 23:27:28.978 - ===================== R E S U L T S ===================== [2022-01-18T23:27:29.097Z] STF 23:27:28.978 - Stage results: [2022-01-18T23:27:29.097Z] STF 23:27:28.978 - setUp: pass [2022-01-18T23:27:29.097Z] STF 23:27:28.979 - execute: fail [2022-01-18T23:27:29.097Z] STF 23:27:28.979 - teardown: pass [2022-01-18T23:27:29.097Z] STF 23:27:28.979 - [2022-01-18T23:27:29.097Z] STF 23:27:28.979 - Overall result: FAILED [2022-01-18T23:27:29.097Z] [2022-01-18T23:27:29.097Z] OAuthTest_0_FAILED [2022-01-18T23:27:29.097Z] [2022-01-18T23:27:29.097Z] Nothing to be done for teardown. [2022-01-18T23:27:29.097Z] OAuthTest_0 Finish Time: Tue Jan 18 23:27:29 2022 Epoch Time (ms): 1642548449015

karianna commented 2 years ago

build-equinix-ubuntu1604-armv7l-1

smlambert commented 1 year ago

Between this issue and https://github.com/adoptium/aqa-systemtest/issues/474, we likely only need 1 issue.