Re: SSL suite test failure

Ingela Anderton Andin <[email protected]>
Newsgroups gmane.comp.lang.erlang.bugs
Message-ID <[email protected]>
Hi!

It might be a timing issue in the test suite. As the test suite always 
spawns the openssl server and waits for it to come up, but we have not 
found a perfect way of telling that it is up.

If the server is not listning yet when we try to connect the handshake 
will of course fail making the test case fail. However I have not seen 
this in a very long time.

Regards Ingela

On 02/21/2015 02:42 PM, Loïc Hoguin wrote:
> Had the following failure while running the SSL test suite:
>
> - - - - - - - - - - - - - - - - - - - - - - - - - -
> ssl_to_openssl_SUITE:basic_erlang_server_openssl_client failed on line 258
> Reason: {test_case_failed,{{expected,{<0.14692.0>,ok}},
>                     {got,
>                      {<0.14692.0>,
>                       {badrpc,
>                        {'EXIT',
>                         {function_clause,
>                          [{ssl,connection_info,
>                            [{error,{tls_alert,"handshake failure"}}],
>                            [{file,"ssl.erl"},{line,293}]},
>                           {ssl_to_openssl_SUITE,erlang_ssl_receive,2,
>
> [{file,"ssl_to_openssl_SUITE.erl"},{line,1247}]},
>                           {rpc,local_call,3,[{file,"rpc.erl"},{line,329}]},
>                           {ssl_test_lib,do_run_server,3,
>                            [{file,"ssl_test_lib.erl"},{line,92}]}]}}}}}}}
> - - - - - - - - - - - - - - - - - - - - - - - - - -
>
> Only had the failure the first time, it worked on subsequent tries, so I
> am not sure what triggered it.
>

_______________________________________________
erlang-bugs mailing list
[email protected]
http://erlang.org/mailman/listinfo/erlang-bugs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.