bigpresh / Dancer-Plugin-Database

Dancer::Plugin::Database - easy database support for Dancer applications
http://search.cpan.org/dist/Dancer-Plugin-Database
37 stars 36 forks source link

error in debian installation? #77

Open ambs opened 8 years ago

ambs commented 8 years ago

Just to not forget to look into it:

Checking dependencies from MYMETA.json ...
Checking if you have Dancer2 0.151000 ... Yes (0.165000)
Checking if you have Test::More 0 ... Yes (1.001014)
Checking if you have ExtUtils::MakeMaker 0 ... Yes (7.10)
Checking if you have HTTP::Request::Common 0 ... Yes (6.11)
Checking if you have Dancer::Plugin::Database::Core 0.12 ... Yes (0.13)
Checking if you have Plack 1.0032 ... Yes (1.0039)
Building and testing Dancer2-Plugin-Database-2.13 ... cp lib/Dancer2/Plugin/Database.pm blib/lib/Dancer2/Plugin/Database.pm
PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00-load.t ....... 1/1 # Testing Dancer2::Plugin::Database 2.13, with Dancer2 0.165000 in Perl 5.020002, /usr/bin/perl
t/00-load.t ....... ok
t/01-basic.t ...... 1/?
#   Failed test 'handle is not a duck'
#   at t/01-basic.t line 69.
#          got: ''
#     expected: '0'
t/01-basic.t ...... 42/? # Looks like you failed 1 test of 43.
t/01-basic.t ...... Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/43 subtests
t/manifest.t ...... skipped: Author tests not required for installation
t/pod-coverage.t .. ok
t/pod.t ........... ok
eserte commented 8 years ago

It's possible that tests fail only with newer Dancer2 versions (0.164000 and later), but the evidence is not 100%. Statistical analysis of test reports from my smokers says:

****************************************************************
Regression 'mod:Dancer2'
****************************************************************
Name                   Theta          StdErr     T-stat
[0='const']           1.0000          0.1144       8.74
[1='eq_0.161000']             0.0000          0.1164       0.00
[2='eq_0.162000']             0.0000          0.1206       0.00
[3='eq_0.163000']             0.0000          0.1188       0.00
[4='eq_0.164000']            -1.0000          0.1191      -8.40
[5='eq_0.165000']            -0.9167          0.1191      -7.70

R^2= 0.943, N= 76, K= 6
****************************************************************
ambs commented 8 years ago

There was a regression on code, that can make things difficult to test looking only to statistics. But thanks for the heads up!

ambs commented 8 years ago

Bug on Dancer2. This PR should fix it. https://github.com/PerlDancer/Dancer2/pull/1080

ambs commented 8 years ago

Will close when I know that PR gets merged.

bigpresh commented 8 years ago

Does PerlDancer/Dancer2#1082 fix this?