Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Fix the self-signed tests #132

Open
puzza007 opened this issue Feb 27, 2022 · 1 comment
Open

Fix the self-signed tests #132

puzza007 opened this issue Feb 27, 2022 · 1 comment

Comments

@puzza007
Copy link
Owner

f04359b

@puzza007
Copy link
Owner Author

===> Running Common Test suites...
%%% katipo_SUITE: .................................................
%%% katipo_SUITE ==> http.statuses: FAILED
%%% katipo_SUITE ==> {{badmatch,[200,201,202,203,204,205,206,207,208,226,300,301,302,303,304,305,
            306,307,308,400,401,402,403,404,405,406,407,408,409,410,411,412,
            413,414,415,416,417,421,422,423,424,426,428,429,431,500,501,502,
            503,504,505,506,507,508,510,511]},
 [{katipo_SUITE,statuses,1,
                [{file,"/home/runner/work/katipo/katipo/test/katipo_SUITE.erl"},
                 {line,374}]},
  {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1793}]},
  {test_server,run_test_case_eval1,6,[{file,"test_server.erl"},{line,1302}]},
  {test_server,run_test_case_eval,9,[{file,"test_server.erl"},{line,1234}]}]}
katipo: Couldn't read req
..............
=NOTICE REPORT==== 25-Jan-2025::01:36:26.617688 ===
TLS server: In state start at tls_server_connection_1_3.erl:696 generated SERVER ALERT: Fatal - Handshake Failure
 - unable_to_supply_acceptable_cert
=NOTICE REPORT==== 25-Jan-2025::01:36:26.617705 ===
TLS server: In state start at tls_server_connection_1_3.erl:696 generated SERVER ALERT: Fatal - Handshake Failure
 - unable_to_supply_acceptable_cert

%%% katipo_SUITE ==> https.cacert_self_signed: FAILED
%%% katipo_SUITE ==> {{badmatch,{error,#{code => ssl_connect_error,
                    message =>
                        <<"OpenSSL/3.0.13: error:0A000410:SSL routines::sslv3 alert handshake failure">>}}},
 [{katipo_SUITE,cacert_self_signed,1,
                [{file,"/home/runner/work/katipo/katipo/test/katipo_SUITE.erl"},
                 {line,698}]},
  {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1793}]},
  {test_server,run_test_case_eval1,6,[{file,"test_server.erl"},{line,1302}]},
  {test_server,run_test_case_eval,9,[{file,"test_server.erl"},{line,1234}]}]}

%%% katipo_SUITE ==> https.verify_host_verify_peer_error: FAILED
%%% katipo_SUITE ==> {{case_clause,ssl_connect_error},
 [{katipo_SUITE,verify_host_verify_peer_error,1,
                [{file,"/home/runner/work/katipo/katipo/test/katipo_SUITE.erl"},
                 {line,678}]},
  {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1793}]},
  {test_server,run_test_case_eval1,6,[{file,"test_server.erl"},{line,1302}]},
  {test_server,run_test_case_eval,9,[{file,"test_server.erl"},{line,1234}]}]}
.......
EXPERIMENTAL: Writing retry specification at /home/runner/work/katipo/katipo/_build/test/logs/retry.spec
              call rebar3 ct with '--retry' to re-run failing cases.
Failed 3 tests. Passed 70 tests. 
Results written to "/home/runner/work/katipo/katipo/_build/test/logs/index.html".
===> Failures occurred running tests: 3
Error: Process completed with exit code 1.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant