task results show "failed" on running task
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Rally |
Fix Released
|
Low
|
Andriy Kurilin |
Bug Description
Trying to retrieve results of a running task reports task as "failed"
(rally)
Task bc822b2d-
(rally)
-------
Task bc822b2d-
HINTS:
* To plot HTML graphics with this data, run:
rally task report bc822b2d-
* To generate a JUnit report, run:
rally task report bc822b2d-
* To get raw JSON output of task results, run:
rally task results bc822b2d-
(rally)
The task bc822b2d-
(rally)
0.2.1~dev57
Changed in rally: | |
status: | Triaged → In Progress |
Also task in such state cannot be aborted:
(.venv) developer@ fuel:stack$ rally --nodebug task list | grep e4191b69- b856-423a- 86cb-faae09d53d 85 b856-423a- 86cb-faae09d53d 85 | 9b5d28c8- c3a2-11e5- 94e0-0cc47a15b3 a0 | 2016-01-27 22:11:41.808060 | 0:00:09.341767 | running | 10_env_ run_rally/ 98/3f7ceb47 |
| e4191b69-
(.venv) developer@ fuel:stack$ rally --nodebug task results e4191b69- b856-423a- 86cb-faae09d53d 85 b856-423a- 86cb-faae09d53d 85 marked as 'failed'. Results available when it is 'finished' .
The task e4191b69-
(.venv) developer@ fuel:stack$ rally --version
0.2.0
(.venv) developer@ fuel:stack$ rally --nodebug task abort e4191b69- b856-423a- 86cb-faae09d53d 85 sqlalchemy. exc_filters [-] DBAPIError exception wrapped from (psycopg2. DataError) invalid input value for enum enum_tasks_status: "soft_aborting" faae09d53d85' AND tasks.status IN ('running', 'soft_abor...
^ at=%(updated_ at)s, status=%(status)s WHERE tasks.uuid = %(uuid_1)s AND tasks.status IN (%(status_1)s, %(status_2)s)'] [parameters: {'status': 'aborting', 'uuid_1': u'e4191b69- b856-423a- 86cb-faae09d53d 85', 'updated_at': datetime. datetime( 2016, 1, 28, 21, 7, 6, 371828), 'status_1': 'running', 'status_2': 'soft_aborting'}] sqlalchemy. exc_filters Traceback (most recent call last): sqlalchemy. exc_filters File "/opt/stack/ .venv/lib/ python2. 7/site- packages/ sqlalchemy/ engine/ base.py" , line 1139, in _execute_context
2016-01-28 21:07:06.373 18875 ERROR oslo_db.
LINE 1: ...6cb-
[SQL: 'UPDATE tasks SET updated_
2016-01-28 21:07:06.373 18875 ERROR oslo_db.
2016-01-28 21:07:06.373 18875 ERROR oslo_db.
...
full traceback: http:// paste.openstack .org/show/ 485326/