ipatests.beakerlib_plugin: Warn instead of failing when some logs are missing

This commit is contained in:
Petr Viktorin 2013-09-23 15:40:12 +02:00
parent 23921f40d9
commit a942ab4f12

View File

@ -115,8 +115,7 @@ class BeakerLibProcess(object):
cmd = host.run_command(['tar', 'cJv'] + logs, log_stdout=False,
raiseonerr=False)
if cmd.returncode:
self.run_beakerlib_command(
['rlFail', 'Could not collect all requested logs'])
self.log.warn('Could not collect all requested logs')
# Copy and unpack on the local side
topdirname = tempfile.mkdtemp()