[Debian-med-packaging] Bug#946718: gbrowse: autopkgtest regression: Can't call method "features" on an undefined value
gregor herrmann
gregoa at debian.org
Tue Dec 17 12:49:24 GMT 2019
On Tue, 17 Dec 2019 13:10:54 +0100, Andreas Tille wrote:
> Well, now it is
>
> https://ci.debian.net/data/autopkgtest/unstable/amd64/g/gbrowse/3667492/log.gz
>
> It looks pretty the same after implementing your hint So I'm reopening.
In my view it looks different. Previously t/01.yeast.t was failing,
which passes now. But another test ist failing, although that's,
err, a bit confusing:
t/00.compile.t ............ skipped: (no reason given)
[..]
t/05.deferredrendering.t ..
1..19
ok 1
ok 2
ok 3
Can't locate testdata/conf/../../../conf/plugins/Aligner.pm in @INC (@INC contains: ...
[..]
Test Summary Report
-------------------
t/00.compile.t (Wstat: 65280 Tests: 0 Failed: 0)
Non-zero exit status: 255
Files=6, Tests=122, 3 wallclock secs ( 0.04 usr 0.01 sys + 1.70 cusr 0.30 csys = 2.05 CPU)
Result: FAIL
It looks like t/05.deferredrendering.t wants conf/ (in addition to t/
and sample_data/) in debian/tests/pkg-perl/smoke-files. But
interestingly it doesn't fail.
So why does t/00.compile.t fail? (And, BTW, we all missed that it
also failed in -5.)
Looking at https://salsa.debian.org/med-team/gbrowse/blob/master/t/00.compile.t
I see "use lib "install_util";" in line 4.
So maybe adding install_util/ to debian/tests/pkg-perl/smoke-files is
enough.
But probably not; after a quick look it tries to check files in bin/ and
cgi-bin/. If I'm reading this correctly …
Hm, so maybe adding also bin/ and cgi-bin/ would work. But I'm not
sure, and testing the scripts from the source tree (and not the
installed ones) is a bit pointless.
So an alternative is to skip t/00.compile.t:
echo t/00.compile.t > debian/tests/pkg-perl/smoke-skip
> I wonder what I would need to do to force my pbuilder hook to reproduce
> this ... which I can't. That's why I was uploading the fix suggested by
> you below.
No idea about pbuilder hooks and autopkgtests. I'm using a schroot
chroot for autopkgtests (as I never managed to use a cowbuilder
chroot).
Cheers,
gregor, still not in front of his laptop to try :)
--
.''`. https://info.comodo.priv.at -- Debian Developer https://www.debian.org
: :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D 85FA BB3A 6801 8649 AA06
`. `' Member VIBE!AT & SPI Inc. -- Supporter Free Software Foundation Europe
`- BOFH excuse #451: astropneumatic oscillations in the water-cooling
More information about the Debian-med-packaging
mailing list