constant_for_duration fails with 'NoneType' object is not callable
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Rally |
Fix Released
|
High
|
Unassigned |
Bug Description
Version:
+ rally from docker images (0ea304981eee13
Scenario:
KeystoneBasic
-
args:
sleep: 1
runner:
type: "constant_
duration: 100
The execution fails with the following:
2018-10-29 11:02:42.724 4530 ERROR rally.task.engine [-] Unexpected exception during the workload execution: TypeError: 'NoneType' object is not callable
2018-10-29 11:02:42.724 4530 ERROR rally.task.engine Traceback (most recent call last):
2018-10-29 11:02:42.724 4530 ERROR rally.task.engine File "/usr/local/
2018-10-29 11:02:42.724 4530 ERROR rally.task.engine workload["args"])
2018-10-29 11:02:42.724 4530 ERROR rally.task.engine File "/usr/local/
2018-10-29 11:02:42.724 4530 ERROR rally.task.engine self._run_
2018-10-29 11:02:42.724 4530 ERROR rally.task.engine File "/usr/local/
2018-10-29 11:02:42.724 4530 ERROR rally.task.engine result = iter_result.
2018-10-29 11:02:42.724 4530 ERROR rally.task.engine File "/usr/lib/
2018-10-29 11:02:42.724 4530 ERROR rally.task.engine raise value
2018-10-29 11:02:42.724 4530 ERROR rally.task.engine TypeError: 'NoneType' object is not callable
Trying to narrow down the problem, it seems that multiprocessing
Changed in rally: | |
status: | Incomplete → Fix Committed |
importance: | Undecided → High |
Changed in rally: | |
status: | Fix Committed → Fix Released |
hi Matt!
First of all, the following task should not pass validation, since `KeystoneBasic. authenticate_ user_and_ validate_ token` scenario plugin doesn't accept 'sleep' argument.
If it is an error, please give me more information: At which moment the exception had occurred? Does it happen before any iteration or when the execution of workload had been started?