Skip Menu |

This queue is for tickets about the CPAN-SQLite CPAN distribution.

Report information
The Basics
Id: 117853
Status: resolved
Priority: 0/
Queue: CPAN-SQLite

People
Owner: stro [...] cpan.org
Requestors: SREZIC [...] cpan.org
Cc: ANDK [...] cpan.org
gregoa [...] cpan.org
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.211
Fixed in: 0.212



CC: ANDK [...] cpan.org
Subject: Can't locate object method "mywarn" via package "CPAN::Shell"
On some of my smoker systems the t/06retrieve.t test fails: Can't locate object method "mywarn" via package "CPAN::Shell" (perhaps you forgot to load "CPAN::Shell"?) at /tmpfs/.cpan-build-cpansand/2016091506/CPAN-SQLite-0.211-1/blib/lib/CPAN/SQLite/Index.pm line 151. # Looks like your test exited with 2 just after 2. t/06retrieve.t ................... Dubious, test returned 2 (wstat 512, 0x200) Failed 3/5 subtests This happens also on other smokers: http://analysis.cpantesters.org/solved?distv=CPAN-SQLite-0.211#fail%3At%2F06retrieve.t
Another instance of this problem from ci.debian.net: https://ci.debian.net/data/packages/unstable/amd64/libc/libcpan-sqlite-perl/20161202_193523.autopkgtest.log.gz (But I can't reproduce it locally.) Cheers, gregor, Debian Perl Group
RT-Send-CC: ANDK [...] cpan.org
On 2016-09-15 02:50:17, SREZIC wrote: Show quoted text
> On some of my smoker systems the t/06retrieve.t test fails: > > Can't locate object method "mywarn" via package "CPAN::Shell" (perhaps > you forgot to load "CPAN::Shell"?) at /tmpfs/.cpan-build- > cpansand/2016091506/CPAN-SQLite-0.211-1/blib/lib/CPAN/SQLite/Index.pm > line 151. > # Looks like your test exited with 2 just after 2. > t/06retrieve.t ................... > Dubious, test returned 2 (wstat 512, 0x200) > Failed 3/5 subtests > > This happens also on other smokers: > http://analysis.cpantesters.org/solved?distv=CPAN-SQLite- > 0.211#fail%3At%2F06retrieve.t
Issue can be fixed by adding a "use CPAN::Shell;" in t/06retrieve.t. And it can be reproduced by simulating network problems --- e.g. put an invalid urllist in the CPAN::SQLite::Index->new call.
This problem should be finally fixed in 0.212. I haven't seen that error since. -- Serguei Trouchelle