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

Martin Pitt martin.pitt at ubuntu.com
Thu Dec 3 16:03:42 UTC 2015


Indeed the apt pinning is wrong here:

# apt-cache policy linux-image-generic
linux-image-generic:
  Installed: 3.13.0.71.77
  Candidate: 3.13.0.71.77
  Version table:
     3.13.0.72.78 0
        800 http://de.archive.ubuntu.com/ubuntu/ trusty-proposed/main amd64 Packages
 *** 3.13.0.71.77 0
        900 http://de.archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 Packages
        500 http://security.ubuntu.com/ubuntu/ trusty-security/main amd64 Packages
        100 /var/lib/dpkg/status
     3.13.0.24.28 0
        900 http://de.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages

# cat /etc/apt/preferences.d/autopkgtest-trusty-proposed 
Package:  linux-crashdump linux-generic-lpae-lts-saucy linux-generic-lpae-lts-saucy-eol-upgrade linux-generic-lts-quantal linux-generic-lts-quantal-eol-upgrade linux-generic-lts-raring linux-generic-lts-raring-eol-upgrade linux-generic-lts-saucy linux-generic-lts-saucy-eol-upgrade linux-headers-generic-lpae-lts-saucy linux-headers-generic-lts-quantal linux-headers-generic-lts-raring linux-headers-generic-lts-saucy linux-hwe-generic-trusty linux-hwe-virtual-trusty linux-image-generic-lpae-lts-saucy linux-image-generic-lts-quantal linux-image-generic-lts-raring linux-image-generic-lts-saucy linux-image-hwe-generic-trusty linux-image-hwe-virtual-trusty linux-signed-generic-lts-quantal linux-signed-generic-lts-quantal-eol-upgrade linux-signed-generic-lts-raring linux-signed-generic-lts-raring-eol-upgrade linux-signed-image-generic-lts-quantal linux-signed-image-generic-lts-raring linux-signed-image-generic-lts-saucy linux-source linux-tools-generic-lpae-lts-saucy linux-tools-generic-lts-saucy linux-tools-lts-quantal linux-tools-lts-raring linux-tools-lts-saucy
Pin: release a=trusty-proposed
Pin-Priority: 990

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

Package: *
Pin: release a=trusty-updates
Pin-Priority: 900

Package: *
Pin: release a=trusty-proposed
Pin-Priority: 800

Indeed "linux-image-generic" is clearly missing  from the binary package
list there.

-- 
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:
  In Progress

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