]> code.ossystems Code Review - openembedded-core.git/commitdiff
oeqa.buildperf: limit the length of error output
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Fri, 24 Mar 2017 14:43:25 +0000 (16:43 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 26 Mar 2017 12:17:03 +0000 (13:17 +0100)
Limit the length of error logs to 40 lines. We don't need to
show/archive thousands of lines of bitbake logs if an error occurs.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/buildperf/base.py

index aa5c5ad445cd7ade53f1f10472488dc5e9751014..6e62b279c1dc383ed3fabdd5434412b228c8d8b1 100644 (file)
@@ -36,7 +36,7 @@ log = logging.getLogger('build-perf')
 
 # Our own version of runCmd which does not raise AssertErrors which would cause
 # errors to interpreted as failures
-runCmd2 = partial(runCmd, assert_error=False)
+runCmd2 = partial(runCmd, assert_error=False, limit_exc_output=40)
 
 
 class KernelDropCaches(object):