]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
lib/oeqa/utils/sshcontrol: correct condition for ending the select() loop
authorAlexander Kanavin <alex@linutronix.de>
Fri, 6 Jun 2025 08:59:48 +0000 (10:59 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 9 Jun 2025 16:43:20 +0000 (17:43 +0100)
commita6690deffd7ddbce0e784701ea3fdbb84313b009
treeddd57ac174ac6f79c9761e3b4aed91627e3806bf
parent43f6b7795170f0e571265f22bcef51554684206f
lib/oeqa/utils/sshcontrol: correct condition for ending the select() loop

This was set backwards; per https://docs.python.org/3/library/subprocess.html#subprocess.Popen.returncode
a return code of None indicates the process is still running,
and so the code entered a busyloop that ended on timeout
5 minutes later, lengthening selftests significantly.

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