Mistral Step incorrectly reporting success

Bug #1583210 reported by Paul Mulvihill
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Mistral
Invalid
Undecided
Hardik Parekh

Bug Description

Within a mistral flow a step can display as successful and yet fail.
This can happen if the step action suceeds but the publish line contains an error.
I have had a step stop or enter a retry even though it reports as successful.
This has been tracked back to the fact my publish line had a typo in the variable source i was publishing.
example

Correct
publish:
  icsp_mid: <% $.get_mid.result.mid %>

Incorrect
publish:
  icsp_mid: <% $.get_mid_uuid.result.mid %>

The feedback presented by the workflow was misleading as it said success and yet acted like a failure occured.

Revision history for this message
Paul Mulvihill (paul-mulvihill) wrote :

while the mistake was on my part, as i had missed that line after renaming the step (get_mid_uuid to get_mid). It did highlight that the bug causes misleading results.

Changed in mistral:
assignee: nobody → hardik (hardik-parekh047)
Revision history for this message
Renat Akhmerov (rakhmerov) wrote :

Yes, this is a bid problem in the whole Mistral engine. Now this should be solved by handling errors at a right place and acting accordingly. In the example, you provided, the action should be in SUCCESS state but the task in ERROR meaning that something went wrong after action execution, at the task level.

Just needs a verification.

Revision history for this message
Dougal Matthews (d0ugal) wrote :

Either action executions or tasks can fail. These are two different concepts and we need to report them as such. it might be that you had a bug related to publish not failing the task, but I am not sure. If so we can re-open it.

Changed in mistral:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.