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 Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1732739
Title:
lxd test broken by test systemd-resolv environment
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-fan/+bug/1732739/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs