Subject: | t/socket-cleanup.t fails (if Data::Radius is too old?) (1.1.0) |
Some of my smoker systems report the following failure:
...
# Server 73293 listen on 127.0.0.1:51721
Use of uninitialized value $used_auth in join or string at /usr/perl5.16.3t/lib/site_perl/5.16.3/Data/Radius/Packet.pm line 122.
Message-Authenticator not verified at /usr/perl5.16.3t/lib/site_perl/5.16.3/Data/Radius/Packet.pm line 427.
Use of uninitialized value $type in hash element at /usr/perl5.16.3t/lib/site_perl/5.16.3/Data/Radius/Packet.pm line 450.
Use of uninitialized value $type in concatenation (.) or string at /usr/home/eserte/.cpan/build/2017053018/AnyEvent-Radius-1.1.0-3/blib/lib/AnyEvent/Radius/Server.pm line 76.
Ignore wrong request type at /usr/home/eserte/.cpan/build/2017053018/AnyEvent-Radius-1.1.0-3/blib/lib/AnyEvent/Radius/Server.pm line 76.
... (etc) ...
# Killing server 73293
# Failed test 'all replies received'
# at t/socket-cleanup.t line 60.
# got: '100'
# expected: '0'
# Looks like you failed 1 test of 3.
t/socket-cleanup.t ..
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/3 subtests
Statistical analysis suggests that this happens only with Data::Radius < 1.2.1, so probably the minimum prereq version should be set:
****************************************************************
Regression 'mod:Data::Radius'
****************************************************************
Name Theta StdErr T-stat
[0='const'] -0.0000 0.0000 -3.96
[1='eq_1.2.1'] 1.0000 0.0000 29143602351594836.00
R^2= 1.000, N= 69, K= 2
****************************************************************