Public bug reported:

Switching the test environment to use netplan/systemd-resolvd uncovered
an issue in the DEP8 test script for testing lxd. It is possible that
there is more than one default route found, so we need to limit our
scope to just the first one found.

SRU justification:

Impact: The environment running the DEP8 tests may have multiple default
routes set. This is not anticipated by the test script running the lxd
test and thus causes test failures. While this was uncovered by the
netplan changes that happened in Artful, it potentially can happen in
older releases, too.

Fix: Adding an exit statement to the awk script after finding the fist
default route.

Testcase: For the Canonical CI environment the fix will only be obvious
for Artful and later releases. Backported into older releases /
environments will only make the test more robust and verification
criteria is to not break.

Regression risk: minimal as the change is only in the dep8 code.

** Affects: ubuntu-fan (Ubuntu)
     Importance: Medium
     Assignee: Stefan Bader (smb)
         Status: In Progress

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

Title:
  lxd test broken by test systemd-resolv environment

Status in ubuntu-fan package in Ubuntu:
  In Progress

Bug description:
  Switching the test environment to use netplan/systemd-resolvd
  uncovered an issue in the DEP8 test script for testing lxd. It is
  possible that there is more than one default route found, so we need
  to limit our scope to just the first one found.

  SRU justification:

  Impact: The environment running the DEP8 tests may have multiple
  default routes set. This is not anticipated by the test script running
  the lxd test and thus causes test failures. While this was uncovered
  by the netplan changes that happened in Artful, it potentially can
  happen in older releases, too.

  Fix: Adding an exit statement to the awk script after finding the fist
  default route.

  Testcase: For the Canonical CI environment the fix will only be
  obvious for Artful and later releases. Backported into older releases
  / environments will only make the test more robust and verification
  criteria is to not break.

  Regression risk: minimal as the change is only in the dep8 code.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-fan/+bug/1732739/+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