Bug 46651 - Test case 84_crypto.01_openssl_protocol_versions.test fails from time to time
Test case 84_crypto.01_openssl_protocol_versions.test fails from time to time
Status: NEW
Product: UCS Test
Classification: Unclassified
Component: General
unspecified
Other Linux
: P5 normal (vote)
: ---
Assigned To: Jannik Ahlers
http://jenkins.knut.univention.de:808...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2018-03-14 06:26 CET by Stefan Gohmann
Modified: 2018-10-01 11:20 CEST (History)
2 users (show)

See Also:
What kind of report is it?: Development Internal
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Gohmann univentionstaff 2018-03-14 06:26:09 CET
The test case 84_crypto.01_openssl_protocol_versions.test fails at least in AD member mode from time to time.

*** BEGIN *** ['/bin/bash', '01_openssl_protocol_versions'] ***
*** 84_crypto/01_openssl_protocol_versions *** Check ssl_client support ***
*** START TIME: 2018-03-13 22:45:58 ***
s_client: Option unknown option -ssl2
s_client: Option unknown option -ssl3
Testing tls1 ...
error 2018-03-13 22:45:59    tls1 not supported, but should: (res=1): 140491911206144:error:0200206F:system library:connect:Connection refused:../crypto/bio/b_sock2.c:108:
140491911206144:error:2008A067:BIO routines:BIO_connect:connect error:../crypto/bio/b_sock2.c:109:
connect:errno=111
error 2018-03-13 22:45:59    **************** Test failed above this line (110) ****************
Testing tls1_1 ...
Using default temp DH parameters
ACCEPT
error 2018-03-13 22:45:59    *** Check failed (110), but this might be caused by the error above ***
Testing tls1_2 ...
*** END TIME: 2018-03-13 22:45:59 ***
*** TEST DURATION (H:MM:SS.ms): 0:00:01.043196 ***
*** END *** 110 ***
Comment 2 Stefan Gohmann univentionstaff 2018-03-14 06:30:36 CET
[4.3-0 47e41a7822] * 84_crypto/01_openssl_protocol_versions: Skip in AD member mode   (Bug #46651)
Comment 3 Jürn Brodersen univentionstaff 2018-09-07 12:49:00 CEST
I think the openssl test server wasn't ready to accept connections yet.

Not that the line "Testing tls1..." comes before the line "ACCEPTING". The test needs to make sure the openssl server is ready to accept connection before continuing.