built-in tests: fail early when preparation steps fail
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-fan (Ubuntu) |
Fix Released
|
Medium
|
Stefan Bader | ||
Xenial |
Fix Released
|
Medium
|
Stefan Bader | ||
Zesty |
Fix Released
|
Medium
|
Stefan Bader | ||
Artful |
Fix Released
|
Medium
|
Unassigned |
Bug Description
[SRU justification]
Impact: Preparing the test environment (shared between host and slave side) currently is not checking for errors. This was observed when we had issues with docker containers failing to have DNS resolution. This lead to required utils not being installed which was not detected and then the test was stuck until forcefully terminated.
Fix: Additional code during the preparation of the test environment which checks for errors and returns those to the caller. And additional error handling from the callers.
Testcase: Only regression testing possible without running into other issues. But while docker problems were still present the tests were failed after a few minutes of runtime instead of timing out.
Regression potential: Minimal. The modified code is used by the ADT tests which are run as part of the release.
Changed in ubuntu-fan (Ubuntu Zesty): | |
assignee: | nobody → Stefan Bader (smb) |
importance: | Undecided → Medium |
status: | New → In Progress |
Changed in ubuntu-fan (Ubuntu): | |
importance: | Undecided → Medium |
status: | New → Fix Released |
Changed in ubuntu-fan (Ubuntu Artful): | |
status: | New → Fix Released |
assignee: | nobody → Stefan Bader (smb) |
importance: | Undecided → Medium |
Changed in ubuntu-fan (Ubuntu Xenial): | |
importance: | Undecided → Medium |
Changed in ubuntu-fan (Ubuntu): | |
assignee: | nobody → Stefan Bader (smb) |
summary: |
- build-in tests: fail early when preparation steps fail + built-in tests: fail early when preparation steps fail |
description: | updated |
Changed in ubuntu-fan (Ubuntu Xenial): | |
assignee: | nobody → Stefan Bader (smb) |
status: | New → In Progress |
Fixed in Bionic and Artful as part of fixes for bug #1718548.