sanitycheck: do not log stderr from BinaryHandler

stderr from the binary handler (native_posix for example) was redirected
to the logger as errors, this is confusing the console and users, so
remove this.

Fixes #21784

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2020-01-09 11:44:45 -05:00
parent ab3ed439c8
commit e7656ea831

View file

@ -576,9 +576,6 @@ class BinaryHandler(Handler):
t.join()
proc.wait()
self.returncode = proc.returncode
_, stderr = proc.communicate(timeout=30)
if stderr:
logger.error(stderr.decode())
handler_time = time.time() - start_time