Merge lp:~raharper/curtin/trunk.vmtest-remove-disks-warning into lp:~curtin-dev/curtin/trunk

Proposed by Ryan Harper
Status: Merged
Approved by: Scott Moser
Approved revision: 533
Merged at revision: 534
Proposed branch: lp:~raharper/curtin/trunk.vmtest-remove-disks-warning
Merge into: lp:~curtin-dev/curtin/trunk
Diff against target: 12 lines (+1/-1)
1 file modified
tests/vmtests/__init__.py (+1/-1)
To merge this branch: bzr merge lp:~raharper/curtin/trunk.vmtest-remove-disks-warning
Reviewer Review Type Date Requested Status
Scott Moser (community) Approve
Server Team CI bot continuous-integration Approve
Review via email: mp+332123@code.launchpad.net

Description of the change

Rephrase disk tar option output to be less scary

In the case where a test has passed and there are no disks to tar up we
logged an 'error' however in that case it wasn't really an error.
This branch changes that message to a debug level bit of information.

To post a comment you must log in.
Revision history for this message
Server Team CI bot (server-team-bot) wrote :
review: Approve (continuous-integration)
Revision history for this message
Scott Moser (smoser) wrote :

looks good.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'tests/vmtests/__init__.py'
2--- tests/vmtests/__init__.py 2017-10-05 19:38:25 +0000
3+++ tests/vmtests/__init__.py 2017-10-11 14:27:39 +0000
4@@ -1459,7 +1459,7 @@
5 logger.info('Taring %s disks sparsely to %s', len(disks), outfile)
6 util.subp(cmd, capture=True)
7 else:
8- logger.error('Failed to find "disks" dir under tmpdir: %s', tmpdir)
9+ logger.debug('No "disks" dir found in tmpdir: %s', tmpdir)
10
11
12 def boot_log_wrap(name, func, cmd, console_log, timeout, purpose):

Subscribers

People subscribed via source and target branches