NUL bytes can show up here after powercycle testing
Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
log.debug('Checking %s', remote.name)
r = remote.run(
args=[
+ 'cat',
+ run.Raw('{adir}/syslog/*.log'.format(adir=archive_dir)),
+ run.Raw('|'),
+ 'tr', '[\\000-\\011\\013-\\037\\177-\\377]', '.',
+ run.Raw('|'),
'egrep',
'\\bBUG\\b|\\bINFO\\b|\\bDEADLOCK\\b',
- run.Raw('{adir}/syslog/*.log'.format(adir=archive_dir)),
run.Raw('|'),
'grep', '-v', 'task .* blocked for more than .* seconds',
run.Raw('|'),