[Bug 1522469] Re: trusty kernel tests install wrong kernel (from -updates)

Launchpad Bug Tracker 1522469 at bugs.launchpad.net
Thu Dec 10 06:38:20 UTC 2015


This bug was fixed in the package autopkgtest - 3.18.2

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

  [ Martin Pitt ]
  * tools/adt-build-lxc: Install libpam-systemd; some tests expect to have an
    $XDG_RUNTIME_DIR.
  * Fix --apt-pocket=proposed=pkgname.. to set up the apt pinning before
    running setup-commands (in particular, dist-upgrade), as otherwise the
    dist-ugprade will install package versions that conflict with the pinning.
    Change --apt-pocket to download (only) the apt indexes for the given
    pocket, so that we can set up the pinning correctly.
  * ssh-setup-nova: Separately track server UUID, to avoid resetting the
    originally given --name on testbed revert.
  * If apt-get fails for --apt-pocket ("Hash sum mismatch"!), retry up to
    three times.
  * Fix parsing of "apt-cache showsrc" to not get broken by wrapped lines.
    Thanks Andy Whitcroft! (LP: #1522469)
  * Don't try to "cd ." on testbeds in source rules commands, as this might be
    inaccessible in some cases. Default to '/' instead. Thanks Christopher
    Baine!
  * ssh-setup/nova: Treat --image value as a regexp pattern and use the
    greatest (by string sorting) result. This avoids having to put date stamps
    into the command line, and also avoids completely falling over if two
    images have the same name.
  * Add a new ssh setup script command "debug-failure" which is called when
    the setup script fails with nonzero or on timeouts waiting for ssh or
    reboot.
  * ssh-setup/nova: Implement "debug-failure" command with "nova console-log".
  * tools/adt-build-lxc: Only install libpam-systemd if that exists (e. g. not
    on Ubuntu 12.04).
  * setup-commands/cloud-vm-setup: Don't rm the /etc/cron.daily/apt conffile
    to avoid breaking apt upgrades. Instead, create
    /etc/apt/apt.conf.d/02periodic.
  * Create a testinfo.json for "badpkg" and other exit codes as well.
  * Set stdin to /dev/null when running commands in the testbed. This avoids
    hanging tests on interactive questions and also fixes auxverbs which check
    if stdin is a PTY (like "lxc exec").
  * tests/testarchive.py: Don't include the "Release" file into itself.
  * Fix SchrootRunner.test_apt_pocket_* test cases to include "Sources" into
    Release file. This makes the tests work with apt 1.1.

  [ Max Brustkern ]
  * adt-buildvm-ubuntu-cloud: Add timeout option.

  [ Antonio Terceiro ]
  * adt-build-lxc: Don't hardcode bridge interface.

 -- Martin Pitt <mpitt at debian.org>  Wed, 09 Dec 2015 12:38:13 +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/1522469

Title:
  trusty kernel tests install wrong kernel (from -updates)

Status in autopkgtest package in Ubuntu:
  Fix Released

Bug description:
  We are landing a  new linux-meta 3.13.0.72.78
  http://people.canonical.com/~ubuntu-archive/proposed-
  migration/trusty/update_excuses.html#linux-meta in trusty. However,
  most of these tests are invalid and run against the kernel in
  -updates. For example

  https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac
  /autopkgtest-trusty/trusty/amd64/b/bbswitch/20151203_140546%40/log.gz

    --apt-pocket=proposed=src:linux-meta --apt-upgrade bbswitch --env=ADT_TEST_TRIGGERS=linux-meta/3.13.0.72.78
  [...]
  The following NEW packages will be installed:
    linux-headers-3.13.0-71 linux-headers-3.13.0-71-generic
    linux-image-3.13.0-71-generic

  
  Simple reproducer locally from git:

    ./run-from-checkout -d --apt-pocket=proposed=src:linux-meta --apt-
  upgrade bbswitch --setup-commands 'apt-get install -y linux-image
  linux-headers || apt-get install -y linux-image-generic linux-headers-
  generic' --- schroot trusty

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



More information about the foundations-bugs mailing list