Py3.7 RuntimeError: generator raised StopIteration
Bug #1780823 reported by
Corey Bryant
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
taskflow |
Invalid
|
High
|
Unassigned |
Bug Description
Running cinder unit tests I hit the following:
https:/
File "/usr/lib/
for _state in self.run_
RuntimeError: generator raised StopIteration
I believe this is due to changes introduced by https:/
I attached a quick patch that may fix it (?).
Changed in taskflow: | |
status: | New → Confirmed |
importance: | Undecided → High |
To post a comment you must log in.
This appears to be more complex than expected. With the approach mentioned in the original patch that was attached to this bug, StopIteration ends up in the revert failures dict and gets re-raised when the following code is executed:
r_failures = self.storage. get_revert_ failures( ) itervalues( e_failures) , itervalues( r_failures) ) Failure. reraise_ if_any( er_failures)
er_failures = itertools.chain(
six.
six.
failure.