Bug#766102: libcache-cache-perl: nondeterministic FTBFS: failure in t/6_test_size_aware_memory_cache.t

Niko Tyni ntyni at debian.org
Tue Oct 21 20:49:09 UTC 2014


On Tue, Oct 21, 2014 at 12:37:19AM +0300, Damyan Ivanov wrote:
> Control: forwarded -1 https://rt.cpan.org/Public/Bug/Display.html?id=88418
> 
> -=| Niko Tyni, 21.10.2014 00:06:23 +0300 |=-
> > Package: libcache-cache-perl
> > Version: 1.07-1
> > 
> > This package failed its autopkgtest suite recently on ci.debian.org:
> >  http://ci.debian.net/data/packages/unstable/amd64/libc/libcache-cache-perl/20141020_123627.autopkgtest.log

> >  Couldn't limit size to 28 at /usr/share/perl5/Cache/CacheSizer.pm line 92.
> >  ok 44
> >  Use of uninitialized value $first_value in string eq at /usr/share/perl5/Cache/SizeAwareCacheTester.pm line 149.
> >  not ok 45 # failed '$first_value eq $value'

> Seems to be RT#88418. It also has a patch, but I did not test it.

Thanks for noticing! The (last version of the) patch by Petr Pisar in
the ticket looks good to me with a quick glance.

Another, somewhat attractive, option would be to just disable
t/6_test_size_aware_memory_cache.t, assuming that's the only one that's
failing. However:

 lib/Cache/CacheTester.pm | 30 ++++++++++++++++++++++++------
 lib/Cache/SizeAwareCacheTester.pm | 25 +++++++++++++++++++++----

the patched *Tester modules are installed in the binary package so the
races can potentially hit other users of those modules.  (Are there
any? Are those modules really useful elsewhere?)

I'd like to fix the autopkgtest issue somehow before the freeze.
I'm inclined to apply the patch and update the RT ticket with a note
about that. Not sure RL permits me to actually get around to that soon
enough though; any help is welcome.
-- 
Niko



More information about the pkg-perl-maintainers mailing list