Skip Menu |

This queue is for tickets about the Google-GeoCoder-Smart CPAN distribution.

Report information
The Basics
Id: 125464
Status: new
Priority: 0/
Queue: Google-GeoCoder-Smart

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 1.18
Fixed in: (no value)



Subject: Not a HASH reference
Sometimes the test suite fails likethis: ... Running Mkbootstrap for Google::GeoCoder::Smart () chmod 644 "Smart.bs" PERL_DL_NONLAZY=1 "/usr/perl5.22.4d/bin/perl5.22.4" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/Google-GeoCoder-Smart.t .. ok All tests successful. Files=1, Tests=1, 1 wallclock secs ( 0.02 usr 0.02 sys + 0.09 cusr 0.04 csys = 0.16 CPU) Result: PASS PERL_DL_NONLAZY=1 "/usr/perl5.22.4d/bin/perl5.22.4" "-Iblib/lib" "-Iblib/arch" test.pl Not a HASH reference at test.pl line 11. *** Error code 255 ...
On 2018-06-02 10:07:54, SREZIC wrote: Show quoted text
> Sometimes the test suite fails likethis: > > ... > Running Mkbootstrap for Google::GeoCoder::Smart () > chmod 644 "Smart.bs" > PERL_DL_NONLAZY=1 "/usr/perl5.22.4d/bin/perl5.22.4" "- > MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef > *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" > t/*.t > t/Google-GeoCoder-Smart.t .. ok > All tests successful. > Files=1, Tests=1, 1 wallclock secs ( 0.02 usr 0.02 sys + 0.09 cusr > 0.04 csys = 0.16 CPU) > Result: PASS > PERL_DL_NONLAZY=1 "/usr/perl5.22.4d/bin/perl5.22.4" "-Iblib/lib" "- > Iblib/arch" test.pl > Not a HASH reference at test.pl line 11. > *** Error code 255 > ...
Or with the newer v2.0.1, I see this: ... "/usr/perl5.22.2t/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Smart.bs blib/arch/auto/Google/GeoCoder/Smart/Smart.bs 644 PERL_DL_NONLAZY=1 "/usr/perl5.22.2t/bin/perl" "-Iblib/lib" "-Iblib/arch" test.pl Error: OVER_QUERY_LIMIT *** Error code 255 ... I think the latter should be fixed by checking if the error is really OVER_QUERY_LIMIT, and then retry somewhat later again or skip the test altogether.
On 2018-06-02 10:09:29, SREZIC wrote: Show quoted text
> On 2018-06-02 10:07:54, SREZIC wrote:
> > Sometimes the test suite fails likethis: > > > > ... > > Running Mkbootstrap for Google::GeoCoder::Smart () > > chmod 644 "Smart.bs" > > PERL_DL_NONLAZY=1 "/usr/perl5.22.4d/bin/perl5.22.4" "- > > MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef > > *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" > > t/*.t > > t/Google-GeoCoder-Smart.t .. ok > > All tests successful. > > Files=1, Tests=1, 1 wallclock secs ( 0.02 usr 0.02 sys + 0.09 cusr > > 0.04 csys = 0.16 CPU) > > Result: PASS > > PERL_DL_NONLAZY=1 "/usr/perl5.22.4d/bin/perl5.22.4" "-Iblib/lib" "- > > Iblib/arch" test.pl > > Not a HASH reference at test.pl line 11. > > *** Error code 255 > > ...
> > Or with the newer v2.0.1, I see this: > > ... > "/usr/perl5.22.2t/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' > -- Smart.bs blib/arch/auto/Google/GeoCoder/Smart/Smart.bs 644 > PERL_DL_NONLAZY=1 "/usr/perl5.22.2t/bin/perl" "-Iblib/lib" "- > Iblib/arch" test.pl > Error: OVER_QUERY_LIMIT > *** Error code 255 > ... > > I think the latter should be fixed by checking if the error is really > OVER_QUERY_LIMIT, and then retry somewhat later again or skip the test > altogether.
Sometimes the error looks different: PERL_DL_NONLAZY=1 /bbbike/perl-5.20.2t/bin/perl "-Iblib/lib" "-Iblib/arch" test.pl Error: connection Makefile:1009: recipe for target 'test_dynamic' failed