local autopkgtest?

Robert James Clay jame at rocasa.us
Tue Apr 26 23:18:39 UTC 2016


On Tuesday, April 26, 2016 01:28:58 PM Robert James Clay wrote:
> All,
> 
>     I've been working on finishing up the ITPs for a couple of Perl modules
> libpgobject-type-datetime-perl & libpgobject-type-json-perl) and have added
> the 'Testsuite: autopkgtest-pkg-perl' setting to debian/control as noted in
> our autopkgtest page[1].  However, that page also notes that we  should
> "adopt a habit of verifying that the tests pass" and although I thought I
> had that set up I've not been able to do so.  This is the error I end up
> with now:
> 
> adt-run ERROR: unexpected error: test dependencies are unsatisfiable

  What that turned to be was issues with the chroot intself. where 'sbuild-
update' was not being able to complete upgrades on the chroot. 

  I used the steps in our autopkgtest page to create the chroot I've been 
using.  And the first issue was that the "httpdredir"[2] in its sources.list 
kept on getting pointed to a repository that always failed when attempting to 
do an sbuild-update.  I corrected that by explicitly pointing it to a known 
good URL.

  The other issue turned out to be the size of the chroot itself.  The setup 
steps notes using "-L1G"  to create the LV, but that was already too small as 
that ran of room during the attempted chroot creation.  So I created it with a 
size of 1.2G, but that also has turned out to be too small so I resized it to 
1.5G. 

 I was then able to successfully run the sbuild-update on it and then run adt-
run on local copies of the two new packages.


Regards,
  Robert James Clay
  jame at rocasa.us

[1] http://pkg-perl.alioth.debian.org/autopkgtest.html
[2] http://httpredir.debian.org/debian






More information about the pkg-perl-maintainers mailing list