CC: | MSCHOUT [...] cpan.org |
Subject: | Tests fail (with newest Text::Template?) |
My smoker systems started to report test failures:
...
# Failed test 'messages'
# at /home/cpansand/.cpan/build/2018022221/Test-Dist-Zilla-v0.4.4-5DNhqj/blib/lib/Test/Dist/Zilla/Build.pm line 99.
# Compared array length of $data
# got : array with 29 element(s)
# expect : array with 18 element(s)
# Failed test 'Build'
# at /home/cpansand/.cpan/build/2018022221/Test-Dist-Zilla-v0.4.4-5DNhqj/blib/lib/Test/Dist/Zilla/Build.pm line 103.
# | Full log:
# | 1: [=TextTemplaterTestPlugin] Useless use of a constant (7) in void context at template line 7, <GEN11> line 32.
# | 2: [=TextTemplaterTestPlugin] Useless use of a constant (8) in void context at template line 8, <GEN11> line 32.
... (snip) ...
# | 7: [=TextTemplaterTestPlugin] 3: die; # 3
# | 8: [=TextTemplaterTestPlugin] 4: }} 4
# | 9: [=TextTemplaterTestPlugin] ... skipped 3 lines ...
# | Exception: Aborting...
# Failed test 'Fill_in_file error message + filename has no effect'
# at /home/cpansand/.cpan/build/2018022221/Test-Routine-0.025-M0LRr8/blib/lib/Test/Routine/Runner.pm line 101.
# Looks like you failed 3 tests of 38.
t/text-templater.t ..
Dubious, test returned 3 (wstat 768, 0x300)
Failed 3/38 subtests
Test Summary Report
-------------------
t/text-templater.t (Wstat: 768 Tests: 38 Failed: 3)
Failed tests: 12-13, 34
Non-zero exit status: 3
Files=2, Tests=39, 6 wallclock secs ( 0.01 usr 0.10 sys + 0.35 cusr 1.39 csys = 1.85 CPU)
Result: FAIL
Statistical analysis suggests that the problem happens with the latest Text::Template version (though probability is not 100%):
****************************************************************
Regression 'mod:Text::Template'
****************************************************************
Name Theta StdErr T-stat
[0='const'] 0.9877 0.0077 128.69
[1='eq_1.47'] 0.0123 0.0109 1.13
[2='eq_1.50'] -0.9877 0.0125 -79.01
R^2= 0.974, N= 210, K= 3
****************************************************************