Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Debian Buster breaks TLS (probably AnyEvent::TLS bug) #47

Closed
plicease opened this issue Apr 1, 2019 · 2 comments
Closed

Debian Buster breaks TLS (probably AnyEvent::TLS bug) #47

plicease opened this issue Apr 1, 2019 · 2 comments

Comments

@plicease
Copy link
Member

plicease commented Apr 1, 2019

Debian Buster breaks Net::SSLeay, and you have to install it without tests currently ( https://rt.cpan.org/Public/Bug/Display.html?id=128025 ). The test suite for this module is now broken on buster:

t/00_diag.t .................................................. ok   
t/01_use.t ................................................... ok   
t/anyevent_websocket_client.t ................................ ok   
t/anyevent_websocket_client__proxy.t ......................... EV: error in callback (ignoring): dh params schmorp1539: failed to set DH parameters at /home/ollisg/dev/AnyEvent-WebSocket-Client/lib/AnyEvent/WebSocket/Client.pm line 317.
t/anyevent_websocket_client__proxy.t ......................... 1/? Bailout called.  Further testing stopped:  Test exceeded timeout of 30s
# Tests were run but no plan was declared and done_testing() was not seen.
# Looks like your test exited with 255 after test #1.
FAILED--Further testing stopped: Test exceeded timeout of 30s

#46 will mark buster as allow fail in CI, also adding a timeout for that test, which for some reason was missing. The lack of timeout may be why we haven't seen any buster cpan testers. Or maybe no buster smokers have tried to install this module. Either way, we should try to get this timeout released ASAP.

@plicease
Copy link
Member Author

Here is the failure without the proxy test fail:

twin% prove -l
t/00_diag.t .................................................. 1/? # 
# 
# 
# HARNESS_ACTIVE=1
# HARNESS_VERSION=3.42
# LANG=en_US.utf8
# LC_COLLATE=C
# PERL5LIB=/home/ollisg/dev/AnyEvent-WebSocket-Client/lib
# PERL_AE_WS_C_TEST_PROXY_ON=1
# PERL_AE_WS_C_TEST_PROXY_URL=http://127.0.0.1:3128
# PERL_CANARY_STABILITY_NOPROMPT=1
# PERL_CPANM_OPT=--mirror http://mirror.sydney.wdlabs.com/cpan/ --mirror-only --no-man-pages --auto-cleanup 1
# PERL_PKG_CONFIG_SCRIPTS=ppkg-config
# SHELL=/bin/tcsh
# 
# 
# 
# PERL5LIB path
# /home/ollisg/dev/AnyEvent-WebSocket-Client/lib
# 
# 
# 
# perl                   5.030000
# AnyEvent               7.15
# AnyEvent::Connector    0.03
# Devel::Cycle           1.12
# EV                     4.25
# ExtUtils::MakeMaker    7.34
# IO::Socket::SSL        2.066
# Math::Random::Secure   0.080001
# Mojolicious            8.15
# Moo                    2.003004
# Net::SSLeay            1.88
# PerlX::Maybe           1.201
# PerlX::Maybe::XS       1.001
# Protocol::WebSocket    0.26
# Test2::API             1.302162
# Test2::Require         0.000122
# Test2::Require::Module 0.000122
# Test2::V0              0.000122
# Test::Memory::Cycle    1.06
# URI                    1.76
# URI::ws                0.03
# 
# 
# 
t/00_diag.t .................................................. ok   
t/01_use.t ................................................... ok   
t/anyevent_websocket_client.t ................................ ok   
t/anyevent_websocket_client__proxy.t ......................... ok   
t/anyevent_websocket_client__scope.t ......................... ok   
t/anyevent_websocket_client__server_initial_data_shutdown.t .. 1/? 
# Failed test 'with TLS'
# at t/anyevent_websocket_client__server_initial_data_shutdown.t line 61.
# Caught exception in subtest: dh params schmorp1539: failed to set DH parameters at t/anyevent_websocket_client__server_initial_data_shutdown.t line 37.
t/anyevent_websocket_client__server_initial_data_shutdown.t .. Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/2 subtests 
t/anyevent_websocket_client__ssl.t ........................... dh params schmorp1539: failed to set DH parameters at t/anyevent_websocket_client__ssl.t line 36.
t/anyevent_websocket_client__ssl.t ........................... Dubious, test returned 255 (wstat 65280, 0xff00)
No subtests run 
t/anyevent_websocket_connection.t ............................ ok    
t/anyevent_websocket_connection__counter_shutdown.t .......... ok   
t/anyevent_websocket_connection__destroy_in_callbacks.t ...... ok   
t/anyevent_websocket_connection__finish_callback.t ........... ok   
t/anyevent_websocket_connection__payload_size.t .............. ok   
t/anyevent_websocket_message.t ............................... ok   
t/mojo.t ..................................................... ok   
t/mojo_echo.t ................................................ ok   
t/mojo_receive.t ............................................. ok   

Test Summary Report
-------------------
t/anyevent_websocket_client__server_initial_data_shutdown.t (Wstat: 256 Tests: 2 Failed: 1)
  Failed test:  2
  Non-zero exit status: 1
t/anyevent_websocket_client__ssl.t                         (Wstat: 65280 Tests: 0 Failed: 0)
  Non-zero exit status: 255
  Parse errors: No plan found in TAP output
Files=16, Tests=61,  5 wallclock secs ( 0.10 usr  0.03 sys +  4.76 cusr  0.43 csys =  5.32 CPU)
Result: FAIL

@plicease
Copy link
Member Author

This seems to be passing now in CI

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant