]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
oeqa/sshcontrol: Handle interrupted system call error
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 3 Oct 2016 14:56:13 +0000 (15:56 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 7 Oct 2016 15:43:51 +0000 (16:43 +0100)
commit556125e4004fb7ac5169b59f51dc151f18c1806a
treeb174f8c112c85de2338da17e7860877cf6eb1e60
parent33df3a65f3e8e136811da715d0cc247ce66ae0ea
oeqa/sshcontrol: Handle interrupted system call error

Deal with an interrupted system call gracefully:

|   File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-qa-systemd/build/meta/lib/oeqa/utils/sshcontrol.py", line 55, in _run
|     if select.select([self.process.stdout], [], [], 5)[0] != []:
| InterruptedError: [Errno 4] Interrupted system call

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/utils/sshcontrol.py