Public bug reported:

the autopkgtests for the kernel include 'ubuntu-regression-suite' which
contains this test:

sver=`dpkg-parsechangelog -SVersion`
read x rver x </proc/version_signature

flavour=${rver#*-*-}
rver=${rver%-$flavour}

echo "Source Package Version: $sver"
echo "Running Kernel Version: $rver"

if [ "$sver" != "$rver" ]; then
    echo "ERROR: running version does not match source package" 1>&2
    exit 1
fi


However, when testing a -lts or -hwe kernel build, the running kernel will not 
match because the running kernel is the stock version while the 
building/testing kernel is the newer -lts/-hwe version.

This failure results in autopkgtest errors for all other packages that
invoke linux autopkgtests - for example, initramfs-tools.  This requires
unnecessary work to investigate the autopkgtest errors every time, only
to find it's a autopkgtest error.

** Affects: linux (Ubuntu)
     Importance: Low
     Assignee: Dan Streetman (ddstreet)
         Status: Invalid

** Affects: linux (Ubuntu Trusty)
     Importance: Low
     Assignee: Dan Streetman (ddstreet)
         Status: In Progress

** Affects: linux (Ubuntu Xenial)
     Importance: Low
     Assignee: Dan Streetman (ddstreet)
         Status: In Progress

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1723223

Title:
  linux-lts and linux-hwe autopkgtests fail due to version mismatch

Status in linux package in Ubuntu:
  Invalid
Status in linux source package in Trusty:
  In Progress
Status in linux source package in Xenial:
  In Progress

Bug description:
  the autopkgtests for the kernel include 'ubuntu-regression-suite'
  which contains this test:

  sver=`dpkg-parsechangelog -SVersion`
  read x rver x </proc/version_signature

  flavour=${rver#*-*-}
  rver=${rver%-$flavour}

  echo "Source Package Version: $sver"
  echo "Running Kernel Version: $rver"

  if [ "$sver" != "$rver" ]; then
      echo "ERROR: running version does not match source package" 1>&2
      exit 1
  fi

  
  However, when testing a -lts or -hwe kernel build, the running kernel will 
not match because the running kernel is the stock version while the 
building/testing kernel is the newer -lts/-hwe version.

  This failure results in autopkgtest errors for all other packages that
  invoke linux autopkgtests - for example, initramfs-tools.  This
  requires unnecessary work to investigate the autopkgtest errors every
  time, only to find it's a autopkgtest error.

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

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to