Your message dated Mon, 31 Mar 2014 09:38:55 +0200
with message-id <[email protected]>
and subject line Re: Bug#743029: autopkgtest: Support access to package
repository during testrun
has caused the Debian Bug report #743029,
regarding autopkgtest: Support access to package repository during testrun
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
743029: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=743029
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: autopkgtest
Version: 2.11
Severity: wishlist
Dear Maintainer,
I want to write a dep8 test for python-diskimage-builder. The test
should do something like this:
1) Create a qemu image (with: disk-image-create -a amd64 -u -o debian-amd64 vm
debian)
2) Boot the image with qemu
3) Try to login with ssh
For the first step, disk-image-create uses debootstrap which needs
access to a Debian mirror but during the tests I can not assume to have
internet access. So I need a mirror which I can use for the tests.
I guess other packages (ie debootstrap, openstack-debian-images)
need this as well to write dep8 tests.
Cheers,
Tom
-- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (990, 'unstable'), (500, 'testing'), (500, 'stable'), (1,
'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.13-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages autopkgtest depends on:
ii apt-utils 0.9.16.1
ii debhelper 9.20140228
ii pbuilder 0.215
ii python 2.7.5-5
ii python-debian 0.1.21+nmu2
autopkgtest recommends no packages.
Versions of packages autopkgtest suggests:
ii autopkgtest-xenlvm 2.11
ii lxc 0.9.0~alpha3-2+deb8u1
ii qemu-system 1.7.0+dfsg-5
ii qemu-utils 1.7.0+dfsg-5
ii schroot 1.7.2-2
-- no debconf information
--- End Message ---
--- Begin Message ---
Hey Thomas,
Thomas Bechtold [2014-03-30 10:24 +0200]:
> For the first step, disk-image-create uses debootstrap which needs
> access to a Debian mirror but during the tests I can not assume to have
> internet access. So I need a mirror which I can use for the tests.
Having internet access, or a local mirror is not a function of
autopkgtest itself, but of the test environment. adt-run can't
guarantee any generic internet access, but it can, and must, assume
that it can access the distro's package repository. After all, it must
be able to install package's build and test dependencies. So running
debootstrap is not a problem at all, and we use that in several tests
at least in Ubuntu (pbuilder, sbuild, lxc).
For running debootstrap it's probably a good idea to take the apt
mirror from /etc/apt/sources.list instead of just assuming a static
one like cdn.debian.net.
Martin
--
Martin Pitt | http://www.piware.de
Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org)
--- End Message ---