[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 07:50:27 GMT 2019
On Tue, 17 Dec 2019 08:35:40 +0100, Andreas Tille wrote:
> > https://ci.debian.net/data/autopkgtest/testing/amd64/g/gbrowse/3555081/log.gz
> >
> > t/01.yeast.t ..............
> > 1..7
> > not ok 1
> > # Failed test 1 in t/01.yeast.t at line 29
> > Can't call method "features" on an undefined value at t/01.yeast.t line 31.
> > Dubious, test returned 25 (wstat 6400, 0x1900)
> > Failed 7/7 subtests
>
> The latest test log is:
> autopkgtest [15:25:16]: test autodep8-perl-recommends: -----------------------]
> autopkgtest [15:25:16]: test autodep8-perl-recommends: - - - - - - - - - - results - - - - - - - - - -
> autodep8-perl-recommends PASS (superficial)
> autopkgtest [15:25:16]: @@@@@@@@@@@@@@@@@@@@ summary
> autodep8-perl-build-deps FAIL non-zero exit status 1
> autodep8-perl PASS (superficial)
> autodep8-perl-recommends PASS (superficial)
> ...
>
>
> So the above issue seems to be solved. However, the test is failing
> anyway - but I have no idea why?
Not sure which log you are referring to with "latest test log" as I
see the failure in all of them I found at ci.d.n. - Please note that
you are quoting only the last of the three test sections
(autodep8-perl-recommends), and the failure in the smoke test happens
in autodep8-perl-build-deps.
Anyway, looking at https://salsa.debian.org/med-team/gbrowse/blob/master/t/01.yeast.t#L26
my guess is that the tests need the sample_data directory; which is
there during build but not by default during autopkgtests because
there only t/ is copied to a new temporary directory.
What I would try (can't test right now) is:
- mkdir -p debian/tests/pkg-perl
- $EDITOR debian/tests/pkg-perl/smoke-files with:
t/
sample_data/
(Cf. https://perl-team.pages.debian.net/autopkgtest.html#smoke )
Hope this helps, happy to take a closer look in the evening.
Cheers,
gregor
--
.''`. 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 #352: The cables are not the same length.
More information about the Debian-med-packaging
mailing list