Bug#743029: marked as done (autopkgtest: Support access to package repository during testrun)

Jakub Wilk jwilk at debian.org
Mon Mar 31 08:10:30 UTC 2014


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

But after the package is built and the dependencies are installed, 
adt-run could (and should) block the network access.

But anyway, the details of adt-run operation should be irrelevant for 
the test writers. They should be concerned only about what the 
specification says. The spec doesn't currently give you a way to declare 
that your test need Internet access, which means you can't access it.

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

There's no guarantee that apt is installed, unless you depend on it. 
Even if you depend on it, there's no guarantee that there's anything 
interesting in /etc/apt/sources.lists.

-- 
Jakub Wilk



More information about the autopkgtest-devel mailing list