Subject: | Tests fail (with Geo::GDAL 2.010002?) |
My smoker systems (linux & freebsd, different perl versions) report the following fail:
PERL_DL_NONLAZY=1 "/bbbike/perl-5.22.2t/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
Unable to open EPSG support file gcs.csv.
Try setting the GDAL_DATA environment variable to point to the
directory containing EPSG csv files. at /home/cpansand/.cpan/build/2016052206/Geo-GDAL-2.010002-MBBq3f/blib/lib/Geo/OSR.pm line 73.
Geo::OSR::SpatialReference::new("Geo::OSR::SpatialReference", "EPSG", 4326) called at /tmpfs/.cpan-build-cpansand/2016052206/Geo-OGC-Service-WMTS-0.02-FcHlgp/blib/lib/Geo/OGC/Service/WMTS.pm line 189
Geo::OGC::Service::WMTS::GetCapabilities(Geo::OGC::Service::WMTS=HASH(0x3f617b8)) called at /tmpfs/.cpan-build-cpansand/2016052206/Geo-OGC-Service-WMTS-0.02-FcHlgp/blib/lib/Geo/OGC/Service/WMTS.pm line 146
Geo::OGC::Service::WMTS::process_request(Geo::OGC::Service::WMTS=HASH(0x3f617b8), CODE(0x3f61740)) called at /home/cpansand/.cpan/build/2016052206/Geo-OGC-Service-0.09-SPwOKS/blib/lib/Geo/OGC/Service.pm line 262
eval {...} called at /home/cpansand/.cpan/build/2016052206/Geo-OGC-Service-0.09-SPwOKS/blib/lib/Geo/OGC/Service.pm line 261
Geo::OGC::Service::respond(Geo::OGC::Service=HASH(0x3582020), CODE(0x3f61740), HASH(0x3facec0)) called at /home/cpansand/.cpan/build/2016052206/Geo-OGC-Service-0.09-SPwOKS/blib/lib/Geo/OGC/Service.pm line 226
Geo::OGC::Service::__ANON__(CODE(0x3f61740)) called at /home/cpansand/.cpan/build/2016052206/Plack-1.0039-Je_ulx/blib/lib/HTTP/Message/PSGI.pm line 100
HTTP::Message::PSGI::res_from_psgi(CODE(0x3f61308)) called at /home/cpansand/.cpan/build/2016052206/Plack-1.0039-Je_ulx/blib/lib/HTTP/Message/PSGI.pm line 156
HTTP::Response::from_psgi("HTTP::Response", CODE(0x3f61308)) called at /home/cpansand/.cpan/build/2016052206/Plack-1.0039-Je_ulx/blib/lib/Plack/Test/MockHTTP.pm line 24
Plack::Test::MockHTTP::try {...} () called at /opt/perl-5.22.2t/lib/site_perl/5.22.2/Try/Tiny.pm line 90
eval {...} called at /opt/perl-5.22.2t/lib/site_perl/5.22.2/Try/Tiny.pm line 83
Try::Tiny::try(CODE(0x3edc590), Try::Tiny::Catch=REF(0x3f36cc0)) called at /home/cpansand/.cpan/build/2016052206/Plack-1.0039-Je_ulx/blib/lib/Plack/Test/MockHTTP.pm line 27
Plack::Test::MockHTTP::request(Plack::Test::MockHTTP=HASH(0x27baea0), HTTP::Request=HASH(0x3684c28)) called at /home/cpansand/.cpan/build/2016052206/Plack-1.0039-Je_ulx/blib/lib/Plack/Test.pm line 38
Plack::Test::__ANON__(HTTP::Request=HASH(0x3684c28)) called at t/Geo-OGC-Service-WMTS.t line 53
main::__ANON__(CODE(0x37a5d30)) called at /home/cpansand/.cpan/build/2016052206/Plack-1.0039-Je_ulx/blib/lib/Plack/Test.pm line 38
Plack::Test::test_psgi("app", CODE(0x373b0d8), "client", CODE(0x3c10ec0)) called at t/Geo-OGC-Service-WMTS.t line 69
# Failed test at t/Geo-OGC-Service-WMTS.t line 67.
# got: 'ExceptionReport'
# expected: 'Capabilities'
# Looks like you failed 1 test of 6.
t/Geo-OGC-Service-WMTS.t ..
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/6 subtests
Statistical analysis suggests that the problem happens only with the latest Geo::GDAL:
****************************************************************
Regression 'mod:Geo::GDAL'
****************************************************************
Name Theta StdErr T-stat
[0='const'] -0.0000 0.0000 -2.17
[1='eq_2.00016'] 1.0000 0.0000 10983285478482398.00
[2='eq_2.00018'] 1.0000 0.0000 22863531942986916.00
[3='eq_2.00019'] 1.0000 0.0000 16474928217723590.00
[4='eq_2.010002'] 0.0000 0.0000 1.98
R^2= 1.000, N= 30, K= 5
****************************************************************