Timeout is not used on retry
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mistral |
Fix Released
|
High
|
Oleg Ovcharuk |
Bug Description
I have a workflow with a single mistral http task with a task timeout. When my task doesn't complete before the timeout the first time, the task is re-executed but the task timeout is not used in the retry.
Here is my workflow definiton :
---
version: "2.0"
workflow_test:
type: direct
tasks:
put_
action: std.mistral_http
timeout : 10
input:
url: http://
method: PUT
headers:
body: "716"
retry:
delay: 4
count: 2
And the execution logs from mistral-engine.log :
2018-04-03 09:12:17.745 233440 INFO workflow_trace [req-6bb8e518-
2018-04-03 09:12:17.753 233440 INFO workflow_trace [req-6bb8e518-
2018-04-03 09:12:54.529 233440 INFO workflow_trace [req-6bb8e518-
2018-04-03 09:12:54.535 233440 INFO workflow_trace [req-6bb8e518-
2018-04-03 09:13:25.068 233440 INFO workflow_trace [req-6bb8e518-
I was expecting that the second execution use the same task timeout than the first try.
summary: |
- Timeout is not use on retry + Timeout is not used on retry |
Changed in mistral: | |
status: | New → Invalid |
Changed in mistral: | |
assignee: | nobody → Vitalii Solodilov (mcdoker18) |
Changed in mistral: | |
status: | Invalid → In Progress |
Changed in mistral: | |
importance: | Undecided → Medium |
importance: | Medium → High |
milestone: | none → stein-1 |
Changed in mistral: | |
milestone: | stein-1 → stein-2 |
Changed in mistral: | |
milestone: | stein-2 → stein-3 |
Changed in mistral: | |
assignee: | Vitalii Solodilov (mcdoker18) → Oleg Ovcharuk (vgvoleg) |
milestone: | stein-3 → train-1 |
Hi. This is the expected behavior. /bugs.launchpad .net/mistral/ +bug/1767352 . I try to finish it soon.
A task must fail and can't retry after a timeout.
There is the bug https:/