Tuesday 10 November 2015

Re: ANN: autopkgtests are now specific for "triggering" package for better isolation

On Tue, Nov 10, 2015 at 09:31:54AM -0800, Steve Langasek wrote:
>
> That works for a silo, because with a silo you want to install *all* of the
> packages from the ppa together, and pull any additional dependencies from
> the main archive. For -proposed, we explicitly want to pick and choose
> *which* packages we are pulling from -proposed vs. the release pocket,
> because -proposed always contains multiple unrelated "landings" at the same
> time and we want to be able to disambiguate the test results so we know
> which package introduces the regression.

Robert's still on the right track here, though. This is just poor use of
pinning. See the following:

(wily-amd64)root@nosferatu:~# cat /etc/apt/preferences.d/10adt-pinning
Package: *
Pin: release a=xenial
Pin-Priority: 900

Package: *
Pin: release a=xenial-proposed
Pin-Priority: 800
(wily-amd64)root@nosferatu:~# apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
(wily-amd64)root@nosferatu:~# apt-cache policy util-linux
util-linux:
Installed: 2.27-3ubuntu1
Candidate: 2.27-3ubuntu1
Version table:
2.27.1-1ubuntu1 0
800 http://us.archive.ubuntu.com/ubuntu/ xenial-proposed/main amd64 Packages
*** 2.27-3ubuntu1 0
900 http://us.archive.ubuntu.com/ubuntu/ xenial/main amd64 Packages
100 /var/lib/dpkg/status
(wily-amd64)root@nosferatu:~# apt-cache policy yatm
yatm:
Installed: (none)
Candidate: 0.9-1
Version table:
0.9-1build1 0
800 http://us.archive.ubuntu.com/ubuntu/ xenial-proposed/universe amd64 Packages
0.9-1 0
900 http://us.archive.ubuntu.com/ubuntu/ xenial/universe amd64 Packages
(wily-amd64)root@nosferatu:~# apt-get --no-act install yatm/xenial-proposed
Reading package lists... Done
Building dependency tree
Reading state information... Done
Selected version '0.9-1build1' (Ubuntu:16.04/xenial-proposed [amd64]) for 'yatm'
The following extra packages will be installed:
libao-common libao4 libflac8 libmad0 libogg0 libsndfile1 libsoundtouch1 libspeex1 libvorbis0a
libvorbisenc2
Suggested packages:
libasound2 libaudio2 libesd0 libesd-alsa0 libpulse0 speex
The following NEW packages will be installed:
libao-common libao4 libflac8 libmad0 libogg0 libsndfile1 libsoundtouch1 libspeex1 libvorbis0a
libvorbisenc2 yatm
0 upgraded, 11 newly installed, 0 to remove and 0 not upgraded.
Inst libao-common (1.1.0-3ubuntu1 Ubuntu:16.04/xenial [all])
Inst libao4 (1.1.0-3ubuntu1 Ubuntu:16.04/xenial [amd64])
Inst libmad0 (0.15.1b-8ubuntu1 Ubuntu:16.04/xenial [amd64])
Inst libogg0 (1.3.2-1 Ubuntu:16.04/xenial [amd64])
Inst libflac8 (1.3.1-4 Ubuntu:16.04/xenial [amd64])
Inst libvorbis0a (1.3.4-3 Ubuntu:16.04/xenial [amd64])
Inst libvorbisenc2 (1.3.4-3 Ubuntu:16.04/xenial [amd64])
Inst libsndfile1 (1.0.25-9.1 Ubuntu:16.04/xenial [amd64])
Inst libsoundtouch1 (1.9.2-2 Ubuntu:16.04/xenial-proposed [amd64])
Inst libspeex1 (1.2~rc1.2-1ubuntu1 Ubuntu:16.04/xenial [amd64])
Inst yatm (0.9-1build1 Ubuntu:16.04/xenial-proposed [amd64])
Conf libao-common (1.1.0-3ubuntu1 Ubuntu:16.04/xenial [all])
Conf libao4 (1.1.0-3ubuntu1 Ubuntu:16.04/xenial [amd64])
Conf libmad0 (0.15.1b-8ubuntu1 Ubuntu:16.04/xenial [amd64])
Conf libogg0 (1.3.2-1 Ubuntu:16.04/xenial [amd64])
Conf libflac8 (1.3.1-4 Ubuntu:16.04/xenial [amd64])
Conf libvorbis0a (1.3.4-3 Ubuntu:16.04/xenial [amd64])
Conf libvorbisenc2 (1.3.4-3 Ubuntu:16.04/xenial [amd64])
Conf libsndfile1 (1.0.25-9.1 Ubuntu:16.04/xenial [amd64])
Conf libsoundtouch1 (1.9.2-2 Ubuntu:16.04/xenial-proposed [amd64])
Conf libspeex1 (1.2~rc1.2-1ubuntu1 Ubuntu:16.04/xenial [amd64])
Conf yatm (0.9-1build1 Ubuntu:16.04/xenial-proposed [amd64])
(wily-amd64)root@nosferatu:~#

And one can take this even one step further, if you just want to install
yatm without the mess of appending /xenial-proposed with:

(wily-amd64)root@nosferatu:~# cat /etc/apt/preferences.d/10adt-pinning
Package: yatm
Pin: release a=xenial-proposed
Pin-Priority: 990

Package: *
Pin: release a=xenial
Pin-Priority: 900

Package: *
Pin: release a=xenial-proposed
Pin-Priority: 800
(wily-amd64)root@nosferatu:~# apt-get --no-act install yatm
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
libao-common libao4 libflac8 libmad0 libogg0 libsndfile1 libsoundtouch1 libspeex1 libvorbis0a
libvorbisenc2
Suggested packages:
libasound2 libaudio2 libesd0 libesd-alsa0 libpulse0 speex
The following NEW packages will be installed:
libao-common libao4 libflac8 libmad0 libogg0 libsndfile1 libsoundtouch1 libspeex1 libvorbis0a
libvorbisenc2 yatm
0 upgraded, 11 newly installed, 0 to remove and 0 not upgraded.
Inst libao-common (1.1.0-3ubuntu1 Ubuntu:16.04/xenial [all])
Inst libao4 (1.1.0-3ubuntu1 Ubuntu:16.04/xenial [amd64])
Inst libmad0 (0.15.1b-8ubuntu1 Ubuntu:16.04/xenial [amd64])
Inst libogg0 (1.3.2-1 Ubuntu:16.04/xenial [amd64])
Inst libflac8 (1.3.1-4 Ubuntu:16.04/xenial [amd64])
Inst libvorbis0a (1.3.4-3 Ubuntu:16.04/xenial [amd64])
Inst libvorbisenc2 (1.3.4-3 Ubuntu:16.04/xenial [amd64])
Inst libsndfile1 (1.0.25-9.1 Ubuntu:16.04/xenial [amd64])
Inst libsoundtouch1 (1.9.2-2 Ubuntu:16.04/xenial-proposed [amd64])
Inst libspeex1 (1.2~rc1.2-1ubuntu1 Ubuntu:16.04/xenial [amd64])
Inst yatm (0.9-1build1 Ubuntu:16.04/xenial-proposed [amd64])
Conf libao-common (1.1.0-3ubuntu1 Ubuntu:16.04/xenial [all])
Conf libao4 (1.1.0-3ubuntu1 Ubuntu:16.04/xenial [amd64])
Conf libmad0 (0.15.1b-8ubuntu1 Ubuntu:16.04/xenial [amd64])
Conf libogg0 (1.3.2-1 Ubuntu:16.04/xenial [amd64])
Conf libflac8 (1.3.1-4 Ubuntu:16.04/xenial [amd64])
Conf libvorbis0a (1.3.4-3 Ubuntu:16.04/xenial [amd64])
Conf libvorbisenc2 (1.3.4-3 Ubuntu:16.04/xenial [amd64])
Conf libsndfile1 (1.0.25-9.1 Ubuntu:16.04/xenial [amd64])
Conf libsoundtouch1 (1.9.2-2 Ubuntu:16.04/xenial-proposed [amd64])
Conf libspeex1 (1.2~rc1.2-1ubuntu1 Ubuntu:16.04/xenial [amd64])
Conf yatm (0.9-1build1 Ubuntu:16.04/xenial-proposed [amd64])

... Adam

--
ubuntu-devel mailing list
ubuntu-devel@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel