Comment 0 for bug 1735183

Revision history for this message
Stefan Bader (smb) wrote : build-in tests: fail early when preparation steps fail

Purely for cleaner SRU back into Zesty and Xenial. This was already fixed in the Bionic and Artful versions but attributed on a generic bug related to the docker test failing.

[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.