nodepool/nodepool/tests
David Shrewsbury 7225354ec0 Add a timeout for the image build
A builder thread can wedge if the build process wedges. Add a timeout
to the subprocess. Since it was the call to readline() that would block,
we change the process to have DIB write directly to the log. This allows
us to set a timeout in the Popen.wait() call. And we kill the dib
subprocess, as well.

The timeout value can be controlled in the diskimage configuration and
defaults to 8 hours.

Change-Id: I188e8a74dc39b55a4b50ade5c1a96832fea76a7d
2019-01-23 16:27:19 -05:00
..
fixtures Add a timeout for the image build 2019-01-23 16:27:19 -05:00
functional Add tox functional testing for drivers 2018-11-01 15:33:44 +01:00
unit Add a timeout for the image build 2019-01-23 16:27:19 -05:00
__init__.py Add a timeout for the image build 2019-01-23 16:27:19 -05:00
fake-image-create Add a timeout for the image build 2019-01-23 16:27:19 -05:00