[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#946718: gbrowse: autopkgtest regression: Can't call method "features" on an undefined value



Control: reopen -1

On Tue, Dec 17, 2019 at 08:50:27AM +0100, gregor herrmann wrote:
> 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

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.
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.

Thus reopening and hoping for further hints

    Andreas.

> 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. 
> 
> _______________________________________________
> Debian-med-packaging mailing list
> Debian-med-packaging@alioth-lists.debian.net
> https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-med-packaging

-- 
http://fam-tille.de


Reply to: