]> git.apps.os.sepia.ceph.com Git - teuthology.git/commit
downburst: always log output and error, check returncode for failure 1041/head
authorDan Mick <dan.mick@redhat.com>
Mon, 6 Mar 2017 23:41:36 +0000 (15:41 -0800)
committerDan Mick <dan.mick@redhat.com>
Mon, 6 Mar 2017 23:54:08 +0000 (15:54 -0800)
commite6e50d90cf5be98028134624ae0999e8cdfd67a4
tree7c138f5482418416a46c20c8a36c1e48e6874407
parentba956d3bb39eb16e2da6c9157929d4c75596697d
downburst: always log output and error, check returncode for failure

The more info the better; always log everything about the downburst
execution to the teuthology log.  Check for command failure by
checking for returncode != 0 rather than "presence of stderr", since
logging always happens to stderr.

Signed-off-by: Dan Mick <dan.mick@redhat.com>
teuthology/provision/downburst.py