Code Review
/
yardstick.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge "Dockerfile: apt-get clean to save layer space"
[yardstick.git]
/
yardstick
/
cmd
/
commands
/
task.py
diff --git
a/yardstick/cmd/commands/task.py
b/yardstick/cmd/commands/task.py
index
bd54478
..
e2e8bf6
100644
(file)
--- a/
yardstick/cmd/commands/task.py
+++ b/
yardstick/cmd/commands/task.py
@@
-51,7
+51,7
@@
class TaskCommands(object): # pragma: no cover
self.output_file = param.output_file
result = {}
self.output_file = param.output_file
result = {}
-
+ LOG.info('Task START')
try:
result = Task().start(param, **kwargs)
except Exception as e:
try:
result = Task().start(param, **kwargs)
except Exception as e:
@@
-59,9
+59,9
@@
class TaskCommands(object): # pragma: no cover
LOG.exception("")
if result.get('result', {}).get('criteria') == 'PASS':
LOG.exception("")
if result.get('result', {}).get('criteria') == 'PASS':
- LOG.info('Task S
uccess
')
+ LOG.info('Task S
UCCESS
')
else:
else:
- LOG.info('Task F
ailed
')
+ LOG.info('Task F
AILED
')
raise RuntimeError('Task Failed')
def _write_error_data(self, error):
raise RuntimeError('Task Failed')
def _write_error_data(self, error):