Subject: | Tests fail with Dancer2 0.200000 |
My smoker machines started to report the following failure:
...
Subroutine dancer_app redefined at (eval 258) line 5.
Subroutine request redefined at (eval 258) line 14.
Subroutine var redefined at (eval 258) line 23.
Subroutine hook redefined at (eval 258) line 32.
# Failed test 'GET: Equality for differently composed strings'
# at t/01-basic.t line 21.
# got: 'ne'
# expected: 'eq'
# Failed test 'POST: Equality for differently composed strings'
# at t/01-basic.t line 24.
# got: 'ne'
# expected: 'eq'
# Looks like you failed 2 tests of 3.
t/01-basic.t ..............
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/3 subtests
...
Subroutine dancer_app redefined at (eval 258) line 5.
Subroutine request redefined at (eval 258) line 14.
Subroutine var redefined at (eval 258) line 23.
Subroutine hook redefined at (eval 258) line 32.
# Failed test 'NFD form returned'
# at t/03-form.t line 23.
Wide character in print at /usr/perl5.20.1Dp/lib/site_perl/5.20.1/Test/Builder.pm line 1826.
# got: 'â¦Î©AÌÃáºÌ£'
# expected: 'ΩΩAÌAÌÅ¿Ì£Ì'
# Failed test 'NFC form returned'
# at t/03-form.t line 27.
Wide character in print at /usr/perl5.20.1Dp/lib/site_perl/5.20.1/Test/Builder.pm line 1826.
# got: 'â¦Î©AÌÃáºÌ£'
# expected: 'ΩΩÃÃáºÌ£'
# Failed test 'NFKD form returned'
# at t/03-form.t line 31.
Wide character in print at /usr/perl5.20.1Dp/lib/site_perl/5.20.1/Test/Builder.pm line 1826.
# got: 'â¦Î©AÌÃáºÌ£'
# expected: 'ΩΩAÌAÌsÌ£Ì'
# Failed test 'NFKC form returned'
# at t/03-form.t line 35.
Wide character in print at /usr/perl5.20.1Dp/lib/site_perl/5.20.1/Test/Builder.pm line 1826.
# got: 'â¦Î©AÌÃáºÌ£'
# expected: 'ΩΩÃÃṩ'
# Looks like you failed 4 tests of 4.
t/03-form.t ...............
Dubious, test returned 4 (wstat 1024, 0x400)
Failed 4/4 subtests
...
Statistical analysis suggests that the problem is caused by the newest Dancer2 version:
****************************************************************
Regression 'mod:Dancer2'
****************************************************************
Name Theta StdErr T-stat
[0='const'] 1.0000 0.0000 23242073833302660.00
[1='eq_0.157000'] 0.0000 0.0000 3.71
[2='eq_0.158000'] 0.0000 0.0000 2.74
[3='eq_0.159002'] 0.0000 0.0000 2.23
[4='eq_0.159003'] 0.0000 0.0000 2.23
[5='eq_0.160001'] 0.0000 0.0000 2.23
[6='eq_0.161000'] 0.0000 0.0000 5.59
[7='eq_0.162000'] 0.0000 0.0000 3.58
[8='eq_0.163000'] 0.0000 0.0000 2.36
[9='eq_0.165000'] 0.0000 0.0000 2.98
[10='eq_0.166000'] 0.0000 0.0000 2.98
[11='eq_0.166001'] 0.0000 0.0000 2.33
[12='eq_0.200000'] -1.0000 0.0000 -21637193208215936.00
R^2= 1.000, N= 81, K= 13
****************************************************************