]> 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:58 +0000 (16:43 +0100)
commit78c01995e34b8e044913c4ab8646932c00fd6560
treead943404dc7001bd396723f558ed7af8adf0297a
parent3c1faa13cf8c6f1e90d0d9039337c8f09d21d77e
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

(From OE-Core rev: 556125e4004fb7ac5169b59f51dc151f18c1806a)

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