CC: | TINITA [...] cpan.org |
Subject: | Test suite started to fail (with newest YAML::XS?) |
The test suite started to fail on my smokers:
...
# Failed test 'result of WritePerson plugin'
# at t/01_all.t line 28.
# got: undef
# expected: 'Writing person:
# nichdl => AB123456-NICAT
# personname => Foobar
# Writing person:
# personname => Franz Testler
# pid => 52497
# postalcode => A-1090 Wien
# '
# Failed test 'multi-activated structure'
# at t/01_all.t line 50.
# Structures begin differing at:
# $got->{include_test}{personname} = Does not exist
# $expected->{include_test}{personname} = 'Franz Testler'
# Failed test 'assert_arrayref'
# at t/01_all.t line 70.
# ''
# doesn't match '(?^:^YAML::Active::Concat expects an array ref at)'
# Failed test 'null hash value'
# at t/01_all.t line 78.
# Structures begin differing at:
# $got->{bar} = HASH(0x417ee990)
# $expected->{bar} = Does not exist
... (etc) ...
Statistical analysis suggests that this happens with YAML::XS 0.81:
****************************************************************
Regression 'mod:YAML::XS'
****************************************************************
Name Theta StdErr T-stat
[0='const'] 1.0000 0.0000 41681927474298480.00
[1='eq_0.59'] 0.0000 0.0000 0.00
[2='eq_0.60'] 0.0000 0.0000 0.00
[3='eq_0.62'] 0.0000 0.0000 0.00
[4='eq_0.63'] 0.0000 0.0000 0.00
[5='eq_0.64'] 0.0000 0.0000 0.00
[6='eq_0.65'] 0.0000 0.0000 0.00
[7='eq_0.66'] 0.0000 0.0000 0.00
[8='eq_0.69'] 0.0000 0.0000 0.00
[9='eq_0.75'] 0.0000 0.0000 2.67
[10='eq_0.76'] 0.0000 0.0000 0.00
[11='eq_0.77'] 0.0000 0.0000 3.78
[12='eq_0.80'] 0.0000 0.0000 0.00
[13='eq_0.81'] -1.0000 0.0000 -39153353225482768.00
R^2= 1.000, N= 91, K= 14
****************************************************************
Probably http://blogs.perl.org/users/tinita/2020/01/making-yamlpm-yamlsyck-and-yamlxs-safer-by-default.html is relevant here.