[Bug 1516959] Re: debian/test/control: negative architecture restictions are rejected in dependencies

Launchpad Bug Tracker 1516959 at bugs.launchpad.net
Fri Nov 20 04:49:17 UTC 2015


This bug was fixed in the package autopkgtest - 3.18.1

---------------
autopkgtest (3.18.1) unstable; urgency=medium

  * With --apt-pocket=POCKET=pkgname,... also include <release>-updates.
  * cloud-vm-setup, adt-setup-vm: Disable /etc/cron.daily/apt.
  * Detect if apt fails to download packages (as opposed to installing them),
    retry up to three times, and eventually fail with exit code 16. This
    avoids failing tests due to DNS/infrastructure problems and handling them
    as tmpfails instead.
  * Add test case for multiple Tests: with --apt-pocket=proposed=pkg
    selection and nonexisting dependency.
  * Properly keep track of apt pinnings across testbed resets.
  * cloud-vm-setup, adt-setup-vm: Purge open-iscsi.
  * Treat apt errors (exit code 100) from source download/extraction as
    tmpfail.
  * ssh-setup/nova: Stop adding apt sources for restricted/multiverse, as
    current images now have them by default (see LP #1177432). This avoids
    duplicate apt sources which cause stderr failure with some tests.
  * Recognize negative architecture restrictions in test Depends:.
    (LP: #1516959)
  * tools/adt-buildvm-ubuntu-cloud: Counter-hack LP #1510345 harder by
    checking /proc/cmdline instead of /etc/default/grub.

 -- Martin Pitt <mpitt at debian.org>  Wed, 18 Nov 2015 12:18:23 +0100

** Changed in: autopkgtest (Ubuntu)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to autopkgtest in Ubuntu.
https://bugs.launchpad.net/bugs/1516959

Title:
  debian/test/control: negative architecture restictions are rejected in
  dependencies

Status in autopkgtest package in Ubuntu:
  Fix Released

Bug description:
  If we specify a negative architecture dependency in
  debian/test/control we get an invalid syntax error:

      blame: linux
      badpkg: InvalidControl test ubuntu-regression-suite: Test Depends field contains an invalid dependency `gcc-multilib [!ppc64el]'
      adt-run [21:27:37]: ERROR: erroneous package: InvalidControl test ubuntu-regression-suite: Test Depends field contains an
         invalid dependency `gcc-multilib [!ppc64el]'
      Exit request sent.

  This appears to be because ! is simply not expected by the parser:

  lib/testdesc.py:
  dep_re = re.compile(
      r'(?P<package>[a-z0-9+-.]+)(?::native)?\s*'
      r'(\((?P<relation><<|<=|>=|=|>>)\s*(?P<version>[^\)]*)\))?'
      r'(\s*\[[[a-z0-9+-. ]+\])?$')

  Full log:
  https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac
  /autopkgtest-xenial-canonical-kernel-team-
  unstable/xenial/i386/l/linux/20151113_212749@/log.gz

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/autopkgtest/+bug/1516959/+subscriptions



More information about the foundations-bugs mailing list