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

Bug#899386: autopkgtest: Assumes all binaries from a source are co-installable.



Package: autopkgtest
Version: 5.3.1
Severity: important

I am unable to test my uploads because my debian/control file lists a binary which conflicts with
one of the dependencies of another package from the same source package. autopkgtest seems to assume
that all binaries built from a source package must all be co-installable with each other.

e.g. lava-lxc-mocker Conflicts with lxc - this is because it is trying to mock up LXC for
particular test use cases involving docker (and lxc does not operate inside docker)
However, lava-dispatcher depends on LXC - this isn't a problem because lava-lxc-mocker
Provides lxc.

However, autopkgtest is now failing to handle these dependencies and even when I remove
lava-lxc-mocker from the .dsc and .changes file manually, it assumes that because the
package is listed in debian/control, that it MUST be co-installable with every other
binary built from that source package. This is simply wrong - nothing in Policy gives
any grounds for this assumption.

When testing my package builds, I do not use debci for the same reasons, I must select
the binaries to install so as to exclude lava-lxc-mocker as my test system does use
LXC. If my test system was in docker, I would need to install lava-lxc-mocker instead
of LXC.

autopkgtest needs to allow for dependencies which are allowed by Policy - that a binary
listed in debian/control may conflict, provide, replace a dependency of any other package
- *including* any binary built by this particular source package.

It seems that this won't affect runs of autopkgtest in ci.debian.net because those pull
from the archive but it cripples my ability to test uploads before the packages reach
the main archive.


-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.16.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8), LANGUAGE=en_GB:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages autopkgtest depends on:
ii  apt-utils       1.6.1
ii  libdpkg-perl    1.19.0.5
ii  procps          2:3.3.14-1+b1
ii  python3         3.6.4-1
ii  python3-debian  0.1.32

Versions of packages autopkgtest recommends:
ii  autodep8  0.12

Versions of packages autopkgtest suggests:
ii  lxc          1:2.0.9-6
pn  lxd-client   <none>
pn  qemu-system  <none>
ii  qemu-utils   1:2.12+dfsg-1+b1
ii  schroot      1.6.10-4

-- no debconf information



Reply to: