[systest] improve system tests logs
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Invalid
|
Medium
|
Nastya Urlapova |
Bug Description
Currently the only result we get in system tests output is this traceback:
FAIL: Deploy cluster in HA mode with Neutron GRE
-------
Traceback (most recent call last):
File "/home/
compatabili
File "/home/
func()
File "/home/
func(
File "/home/
return func(*args, **kwagrs)
File "/home/
self.
File "/home/
self.
File "/home/
result = func(*args, **kwargs)
File "/home/
task['status'], 'ready', name=task["name"]
AssertionError: Task 'deployment' has incorrect status. error != ready
which has no info about what has failed and why.
While in sys_test.log we have at least this message:
2014-04-18 06:22:37,445 - DEBUG __init__.py:50 -- Done: task_wait with result: {u'status': u'error', u'name': u'deployment', u'cluster': 1, u'result': {}, u'progress': 100, u'message': u"Deployment has failed. Check these nodes:\
I suggest we
1) remove the traceback from the output (do some nicer try-except and print only the error)
2) raise the severity of "Done: task_wait with result:" messages to INFO
Changed in fuel: | |
importance: | Undecided → High |
assignee: | nobody → Nastya Urlapova (aurlapova) |
milestone: | none → 5.0 |
importance: | High → Medium |
Changed in fuel: | |
milestone: | 5.0 → 5.1 |
Changed in fuel: | |
status: | New → Confirmed |
summary: |
- improve system tests logs + [systest] improve system tests logs |
Changed in fuel: | |
milestone: | 5.1 → 6.0 |
My suggestion to use nice report tool, for example ya-allure. and all your problems will be solved.