lxd test broken by test systemd-resolv environment
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-fan (Ubuntu) |
Fix Released
|
Medium
|
Stefan Bader | ||
Xenial |
Fix Released
|
Undecided
|
Unassigned | ||
Zesty |
Fix Released
|
Undecided
|
Unassigned | ||
Artful |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Switching the test environment to use netplan/
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.
This part was fixed 0.12.6