Activity log for bug #1424461

Date Who What changed Old value New value Message
2015-02-22 22:40:27 Winson Chan bug added bug
2015-02-22 22:49:51 Winson Chan description The sample WF below have two parallel branches. One is waiting for a var to be published. The other waits awhile before publishing the var. Error in the task list is expected as the 1st branch reports fail and retry. I'm expecting output to be the following where both go and done vars are true. However, the join task named "done" following completion of the parallel branches are not executed. But the WF execution reported SUCCESS. EXPECTED: { "go": true, "done": true } ACTUAL: ~$ cat ~/tmp/test-complex-join.yaml version: '2.0' name: test-complex-join workflows: main: type: direct output: go: <% $.go %> done: <% $.done %> tasks: init: publish: go: false done: false policies: wait-after: 1 on-success: - test - hold test: workflow: work go=<% $.go %> policies: retry: count: 10 delay: 2 on-complete: - done hold: publish: go: true policies: wait-before: 10 on-complete: - done done: join: all publish: done: true work: type: direct input: - go tasks: do: action: std.echo output="Doing..." on-complete: - undo: <% not $.go $> undo: action: std.echo output="Undoing..." on-success: - fail ~$ mistral workbook-create ~/tmp/test-complex-join.yaml Starting new HTTP connection (1): localhost +------------+----------------------------+ | Field | Value | +------------+----------------------------+ | Name | test-complex-join | | Tags | <none> | | Created at | 2015-02-22 22:26:10.745245 | | Updated at | None | +------------+----------------------------+ ~$ mistral execution-create test-complex-join.main Starting new HTTP connection (1): localhost +------------+--------------------------------------+ | Field | Value | +------------+--------------------------------------+ | ID | 9e0765bd-6bd1-4916-839c-a87a8d708923 | | Workflow | test-complex-join.main | | State | RUNNING | | Created at | 2015-02-22T22:27:44.594363 | | Updated at | 2015-02-22T22:27:44.618470 | +------------+--------------------------------------+ ~$ mistral execution-list Starting new HTTP connection (1): localhost +--------------------------------------+------------------------+---------+---------------------+---------------------+ | ID | Workflow | State | Created at | Updated at | +--------------------------------------+------------------------+---------+---------------------+---------------------+ | 9e0765bd-6bd1-4916-839c-a87a8d708923 | test-complex-join.main | SUCCESS | 2015-02-22 22:27:44 | 2015-02-22 22:27:55 | | 1e20e305-0491-43f0-9ade-439cb46c0677 | test-complex-join.work | ERROR | 2015-02-22 22:27:45 | 2015-02-22 22:27:45 | | 198884a8-f898-42ca-a0d0-e82837ecc255 | test-complex-join.work | ERROR | 2015-02-22 22:27:47 | 2015-02-22 22:27:47 | | 4613b588-0ad5-4d52-b991-e8ecf3bb2883 | test-complex-join.work | ERROR | 2015-02-22 22:27:51 | 2015-02-22 22:27:51 | | dabee0da-184f-4154-a8b3-4550ffa0f749 | test-complex-join.work | ERROR | 2015-02-22 22:27:53 | 2015-02-22 22:27:53 | | 5046b2e1-d608-46e3-937f-1ceb5ad7c30d | test-complex-join.work | ERROR | 2015-02-22 22:27:55 | 2015-02-22 22:27:55 | | 8346769e-7317-41bd-84f7-09b7c05e14ae | test-complex-join.work | ERROR | 2015-02-22 22:27:58 | 2015-02-22 22:27:58 | | ea4b563f-4b26-4425-af64-60b71d581a07 | test-complex-join.work | ERROR | 2015-02-22 22:28:00 | 2015-02-22 22:28:00 | | 60fd856b-0cb4-4f6d-9b93-fc752e028e18 | test-complex-join.work | ERROR | 2015-02-22 22:28:02 | 2015-02-22 22:28:02 | | 3c070fb5-fcae-4597-8bee-b6fd12cdab8b | test-complex-join.work | ERROR | 2015-02-22 22:28:04 | 2015-02-22 22:28:05 | | 2ea2f7f3-8c97-4cd9-ae0a-bf89b39cef16 | test-complex-join.work | ERROR | 2015-02-22 22:28:07 | 2015-02-22 22:28:07 | +--------------------------------------+------------------------+---------+---------------------+---------------------+ ~$ mistral task-list Starting new HTTP connection (1): localhost +--------------------------------------+------+------------------------+--------------------------------------+---------+ | ID | Name | Workflow name | Execution ID | State | +--------------------------------------+------+------------------------+--------------------------------------+---------+ | c3945294-92e7-4aa7-a8d1-474dd61619b5 | init | test-complex-join.main | 9e0765bd-6bd1-4916-839c-a87a8d708923 | SUCCESS | | 06c52547-ba2c-4a91-929c-f68cf76abe9c | hold | test-complex-join.main | 9e0765bd-6bd1-4916-839c-a87a8d708923 | SUCCESS | | 085468d7-28bb-4e7d-96fe-b34d15a9e39d | test | test-complex-join.main | 9e0765bd-6bd1-4916-839c-a87a8d708923 | ERROR | | 16ca7c12-ae5a-477b-968a-943fcf3e9b4a | undo | test-complex-join.work | 1e20e305-0491-43f0-9ade-439cb46c0677 | SUCCESS | | ca4daa19-10d2-47da-b498-08723abe7f62 | do | test-complex-join.work | 1e20e305-0491-43f0-9ade-439cb46c0677 | SUCCESS | | 1ddf7af6-7594-403d-be63-551506e65b6a | undo | test-complex-join.work | 198884a8-f898-42ca-a0d0-e82837ecc255 | SUCCESS | | 5fca00d7-af29-47c8-b61c-f5d3cc5feb5a | do | test-complex-join.work | 198884a8-f898-42ca-a0d0-e82837ecc255 | SUCCESS | | 785856b8-b8b7-4088-bdb3-5f1c4e841d84 | do | test-complex-join.work | 4613b588-0ad5-4d52-b991-e8ecf3bb2883 | SUCCESS | | 9bc867fb-833e-4b67-a5ec-34786a5c441a | undo | test-complex-join.work | 4613b588-0ad5-4d52-b991-e8ecf3bb2883 | SUCCESS | | 5e122001-e495-401d-8e74-ae435e286dc2 | do | test-complex-join.work | dabee0da-184f-4154-a8b3-4550ffa0f749 | SUCCESS | | 6cf61952-0ea8-418c-983c-fbbe3ea8051c | undo | test-complex-join.work | dabee0da-184f-4154-a8b3-4550ffa0f749 | SUCCESS | | 7c55eb7c-b231-43f2-b1f2-0bd1ae23b7cd | do | test-complex-join.work | 5046b2e1-d608-46e3-937f-1ceb5ad7c30d | SUCCESS | | b820ae78-9af6-46a3-81e4-1eb8defc58fa | undo | test-complex-join.work | 5046b2e1-d608-46e3-937f-1ceb5ad7c30d | SUCCESS | | 95ae023d-8e7e-47f6-87e6-cd1ad857dec2 | do | test-complex-join.work | 8346769e-7317-41bd-84f7-09b7c05e14ae | SUCCESS | | c0b9755a-f2f2-4d37-89e5-59d6ebbff5fc | undo | test-complex-join.work | 8346769e-7317-41bd-84f7-09b7c05e14ae | SUCCESS | | 1db53f59-fa1c-4241-be2b-8976d4d699ce | undo | test-complex-join.work | ea4b563f-4b26-4425-af64-60b71d581a07 | SUCCESS | | fa67bfcd-05ac-4487-ba82-cee10d553f17 | do | test-complex-join.work | ea4b563f-4b26-4425-af64-60b71d581a07 | SUCCESS | | 00711d14-55ae-4837-b630-8c16e4cef731 | do | test-complex-join.work | 60fd856b-0cb4-4f6d-9b93-fc752e028e18 | SUCCESS | | 4a45675b-f0e8-4967-b1f7-320f814ce5d3 | undo | test-complex-join.work | 60fd856b-0cb4-4f6d-9b93-fc752e028e18 | SUCCESS | | a3a80fc5-ca7c-4222-b62d-c09faa87f8c0 | undo | test-complex-join.work | 3c070fb5-fcae-4597-8bee-b6fd12cdab8b | SUCCESS | | fad66c4a-a111-435a-ac0d-57537effdcca | do | test-complex-join.work | 3c070fb5-fcae-4597-8bee-b6fd12cdab8b | SUCCESS | | a9c68055-3f14-4ee1-b9fb-5bb938a70c68 | do | test-complex-join.work | 2ea2f7f3-8c97-4cd9-ae0a-bf89b39cef16 | SUCCESS | | af49bee2-8e63-435a-9749-efe9b5f6a342 | undo | test-complex-join.work | 2ea2f7f3-8c97-4cd9-ae0a-bf89b39cef16 | SUCCESS | +--------------------------------------+------+------------------------+--------------------------------------+---------+ ~$ mistral execution-get-output 9e0765bd-6bd1-4916-839c-a87a8d708923 Starting new HTTP connection (1): localhost { "go": true, "done": false } The sample WF below have two parallel branches. One is waiting for a var to be published. The other waits awhile before publishing the var. Error in the task list is expected as the 1st branch reports fail and retry. I'm expecting output to be the following where both is_go and is_done vars are true. However, the join task named "done" following completion of the parallel branches are not executed. But the WF execution reported SUCCESS. EXPECTED: {     "is_go": true,     "is_done": true } ACTUAL: vagrant@arkham:~$ cat ~/tmp/test-complex-join.yaml version: '2.0' name: test-complex-join workflows: main: type: direct output: is_go: <% $.is_go %> is_done: <% $.is_done %> tasks: init: publish: is_go: false is_done: false policies: wait-after: 1 on-success: - test - hold test: workflow: work is_go=<% $.is_go %> policies: retry: count: 10 delay: 2 on-complete: - done hold: publish: is_go: true policies: wait-before: 10 on-complete: - done done: join: all publish: is_done: true work: type: direct input: - is_go tasks: do: action: std.echo output="Doing..." on-complete: - undo: <% not $.is_go $> undo: action: std.echo output="Undoing..." on-success: - fail ~$ mistral workbook-create ~/tmp/test-complex-join.yaml Starting new HTTP connection (1): localhost +------------+----------------------------+ | Field | Value | +------------+----------------------------+ | Name | test-complex-join | | Tags | <none> | | Created at | 2015-02-22 22:47:09.698435 | | Updated at | None | +------------+----------------------------+ ~$ mistral execution-create test-complex-join.main Starting new HTTP connection (1): localhost +------------+--------------------------------------+ | Field | Value | +------------+--------------------------------------+ | ID | 214854ca-7f37-40c1-b2ac-3be54a37b0e5 | | Workflow | test-complex-join.main | | State | RUNNING | | Created at | 2015-02-22T22:47:17.829590 | | Updated at | 2015-02-22T22:47:17.852951 | +------------+--------------------------------------+ ~$ mistral execution-list Starting new HTTP connection (1): localhost +--------------------------------------+------------------------+---------+---------------------+---------------------+ | ID | Workflow | State | Created at | Updated at | +--------------------------------------+------------------------+---------+---------------------+---------------------+ | 214854ca-7f37-40c1-b2ac-3be54a37b0e5 | test-complex-join.main | SUCCESS | 2015-02-22 22:47:17 | 2015-02-22 22:47:30 | | 2958dbf7-d61c-4dd4-9233-278eb12fac46 | test-complex-join.work | ERROR | 2015-02-22 22:47:19 | 2015-02-22 22:47:19 | | 87a7f73c-bf10-411d-8c35-88b7f44b2068 | test-complex-join.work | ERROR | 2015-02-22 22:47:21 | 2015-02-22 22:47:22 | | 0082ba7b-2659-4419-a036-7098ca56dd3b | test-complex-join.work | ERROR | 2015-02-22 22:47:24 | 2015-02-22 22:47:24 | | 70e18936-fec1-4944-87c5-c690ae91d369 | test-complex-join.work | ERROR | 2015-02-22 22:47:26 | 2015-02-22 22:47:26 | | c8efe7cf-9ee2-4ca5-b4c1-f8a86385b832 | test-complex-join.work | ERROR | 2015-02-22 22:47:28 | 2015-02-22 22:47:28 | | 3a237966-a16d-4311-b94c-969b14cb3e08 | test-complex-join.work | ERROR | 2015-02-22 22:47:31 | 2015-02-22 22:47:31 | | c28ff25b-e7d6-4189-8cb2-f093fad4dc10 | test-complex-join.work | ERROR | 2015-02-22 22:47:33 | 2015-02-22 22:47:33 | | caed69cd-9d3d-4b82-842a-89fc698c2f2a | test-complex-join.work | ERROR | 2015-02-22 22:47:35 | 2015-02-22 22:47:35 | | fe7e2c76-9071-4360-968b-0c71a15e5b73 | test-complex-join.work | ERROR | 2015-02-22 22:47:37 | 2015-02-22 22:47:38 | | 2b7ba820-a328-43ca-875b-3d519e38f610 | test-complex-join.work | ERROR | 2015-02-22 22:47:40 | 2015-02-22 22:47:40 | +--------------------------------------+------------------------+---------+---------------------+---------------------+ ~$ mistral task-list Starting new HTTP connection (1): localhost +--------------------------------------+------+------------------------+--------------------------------------+---------+ | ID | Name | Workflow name | Execution ID | State | +--------------------------------------+------+------------------------+--------------------------------------+---------+ | ef5d0629-041d-46e0-96e1-c36d2e51503f | init | test-complex-join.main | 214854ca-7f37-40c1-b2ac-3be54a37b0e5 | SUCCESS | | 275321e0-11f8-4bc4-90bc-1c5b3ba762fb | test | test-complex-join.main | 214854ca-7f37-40c1-b2ac-3be54a37b0e5 | ERROR | | 3db6c404-80cb-4110-bdcb-3e54f386d6c6 | undo | test-complex-join.work | 2958dbf7-d61c-4dd4-9233-278eb12fac46 | SUCCESS | | 8a704b99-447f-437a-9386-8c0dc71c1a6b | hold | test-complex-join.main | 214854ca-7f37-40c1-b2ac-3be54a37b0e5 | SUCCESS | | 8cb98967-a97f-457e-917e-29df42189a31 | do | test-complex-join.work | 2958dbf7-d61c-4dd4-9233-278eb12fac46 | SUCCESS | | 94ce3e6d-23c3-4317-a064-33c8be27999a | do | test-complex-join.work | 87a7f73c-bf10-411d-8c35-88b7f44b2068 | SUCCESS | | 55d71b53-66d2-4fbf-bcaa-e721da855eb6 | undo | test-complex-join.work | 87a7f73c-bf10-411d-8c35-88b7f44b2068 | SUCCESS | | 371c15b6-8627-44a7-b0ca-2ebb17459fa4 | do | test-complex-join.work | 0082ba7b-2659-4419-a036-7098ca56dd3b | SUCCESS | | de53ef7d-5915-4ad8-9734-1b1f302bd96b | undo | test-complex-join.work | 0082ba7b-2659-4419-a036-7098ca56dd3b | SUCCESS | | 700ea98f-5a9d-4558-a635-081c8443f2a9 | do | test-complex-join.work | 70e18936-fec1-4944-87c5-c690ae91d369 | SUCCESS | | 8b92a580-2ba1-4f31-a5bf-fe9724372230 | undo | test-complex-join.work | 70e18936-fec1-4944-87c5-c690ae91d369 | SUCCESS | | 2f084858-5c1a-49cd-85bd-98b4b7852562 | undo | test-complex-join.work | c8efe7cf-9ee2-4ca5-b4c1-f8a86385b832 | SUCCESS | | ff6a4aca-a04e-4997-98d7-691e92e2d0fa | do | test-complex-join.work | c8efe7cf-9ee2-4ca5-b4c1-f8a86385b832 | SUCCESS | | 8facd20a-1644-4500-ac22-9b46cc8dffe5 | do | test-complex-join.work | 3a237966-a16d-4311-b94c-969b14cb3e08 | SUCCESS | | fca0bb16-5c92-445b-aacd-f72b18ccb462 | undo | test-complex-join.work | 3a237966-a16d-4311-b94c-969b14cb3e08 | SUCCESS | | 246e4ad9-dd3c-48a3-957e-7fc5cc00ae7e | do | test-complex-join.work | c28ff25b-e7d6-4189-8cb2-f093fad4dc10 | SUCCESS | | 55c57dba-0959-4037-8120-4edbcde92f8c | undo | test-complex-join.work | c28ff25b-e7d6-4189-8cb2-f093fad4dc10 | SUCCESS | | 58fda246-c426-45a6-9b89-2578f7e72dca | do | test-complex-join.work | caed69cd-9d3d-4b82-842a-89fc698c2f2a | SUCCESS | | ac0da279-d161-4423-8594-c2b3d5fcce32 | undo | test-complex-join.work | caed69cd-9d3d-4b82-842a-89fc698c2f2a | SUCCESS | | 632262f0-1e23-429d-839a-cc402d83c3db | undo | test-complex-join.work | fe7e2c76-9071-4360-968b-0c71a15e5b73 | SUCCESS | | dcdef278-b4cf-45e1-bb90-3358af068531 | do | test-complex-join.work | fe7e2c76-9071-4360-968b-0c71a15e5b73 | SUCCESS | | 23595d39-b926-4112-8c5c-f93c6f4ecc20 | do | test-complex-join.work | 2b7ba820-a328-43ca-875b-3d519e38f610 | SUCCESS | | 9d66261e-3b97-4bdc-97a1-3529bff46797 | undo | test-complex-join.work | 2b7ba820-a328-43ca-875b-3d519e38f610 | SUCCESS | +--------------------------------------+------+------------------------+--------------------------------------+---------+ ~$ mistral execution-get-output 214854ca-7f37-40c1-b2ac-3be54a37b0e5 Starting new HTTP connection (1): localhost { "is_done": false, "is_go": true }
2015-02-22 23:12:14 Winson Chan description The sample WF below have two parallel branches. One is waiting for a var to be published. The other waits awhile before publishing the var. Error in the task list is expected as the 1st branch reports fail and retry. I'm expecting output to be the following where both is_go and is_done vars are true. However, the join task named "done" following completion of the parallel branches are not executed. But the WF execution reported SUCCESS. EXPECTED: {     "is_go": true,     "is_done": true } ACTUAL: vagrant@arkham:~$ cat ~/tmp/test-complex-join.yaml version: '2.0' name: test-complex-join workflows: main: type: direct output: is_go: <% $.is_go %> is_done: <% $.is_done %> tasks: init: publish: is_go: false is_done: false policies: wait-after: 1 on-success: - test - hold test: workflow: work is_go=<% $.is_go %> policies: retry: count: 10 delay: 2 on-complete: - done hold: publish: is_go: true policies: wait-before: 10 on-complete: - done done: join: all publish: is_done: true work: type: direct input: - is_go tasks: do: action: std.echo output="Doing..." on-complete: - undo: <% not $.is_go $> undo: action: std.echo output="Undoing..." on-success: - fail ~$ mistral workbook-create ~/tmp/test-complex-join.yaml Starting new HTTP connection (1): localhost +------------+----------------------------+ | Field | Value | +------------+----------------------------+ | Name | test-complex-join | | Tags | <none> | | Created at | 2015-02-22 22:47:09.698435 | | Updated at | None | +------------+----------------------------+ ~$ mistral execution-create test-complex-join.main Starting new HTTP connection (1): localhost +------------+--------------------------------------+ | Field | Value | +------------+--------------------------------------+ | ID | 214854ca-7f37-40c1-b2ac-3be54a37b0e5 | | Workflow | test-complex-join.main | | State | RUNNING | | Created at | 2015-02-22T22:47:17.829590 | | Updated at | 2015-02-22T22:47:17.852951 | +------------+--------------------------------------+ ~$ mistral execution-list Starting new HTTP connection (1): localhost +--------------------------------------+------------------------+---------+---------------------+---------------------+ | ID | Workflow | State | Created at | Updated at | +--------------------------------------+------------------------+---------+---------------------+---------------------+ | 214854ca-7f37-40c1-b2ac-3be54a37b0e5 | test-complex-join.main | SUCCESS | 2015-02-22 22:47:17 | 2015-02-22 22:47:30 | | 2958dbf7-d61c-4dd4-9233-278eb12fac46 | test-complex-join.work | ERROR | 2015-02-22 22:47:19 | 2015-02-22 22:47:19 | | 87a7f73c-bf10-411d-8c35-88b7f44b2068 | test-complex-join.work | ERROR | 2015-02-22 22:47:21 | 2015-02-22 22:47:22 | | 0082ba7b-2659-4419-a036-7098ca56dd3b | test-complex-join.work | ERROR | 2015-02-22 22:47:24 | 2015-02-22 22:47:24 | | 70e18936-fec1-4944-87c5-c690ae91d369 | test-complex-join.work | ERROR | 2015-02-22 22:47:26 | 2015-02-22 22:47:26 | | c8efe7cf-9ee2-4ca5-b4c1-f8a86385b832 | test-complex-join.work | ERROR | 2015-02-22 22:47:28 | 2015-02-22 22:47:28 | | 3a237966-a16d-4311-b94c-969b14cb3e08 | test-complex-join.work | ERROR | 2015-02-22 22:47:31 | 2015-02-22 22:47:31 | | c28ff25b-e7d6-4189-8cb2-f093fad4dc10 | test-complex-join.work | ERROR | 2015-02-22 22:47:33 | 2015-02-22 22:47:33 | | caed69cd-9d3d-4b82-842a-89fc698c2f2a | test-complex-join.work | ERROR | 2015-02-22 22:47:35 | 2015-02-22 22:47:35 | | fe7e2c76-9071-4360-968b-0c71a15e5b73 | test-complex-join.work | ERROR | 2015-02-22 22:47:37 | 2015-02-22 22:47:38 | | 2b7ba820-a328-43ca-875b-3d519e38f610 | test-complex-join.work | ERROR | 2015-02-22 22:47:40 | 2015-02-22 22:47:40 | +--------------------------------------+------------------------+---------+---------------------+---------------------+ ~$ mistral task-list Starting new HTTP connection (1): localhost +--------------------------------------+------+------------------------+--------------------------------------+---------+ | ID | Name | Workflow name | Execution ID | State | +--------------------------------------+------+------------------------+--------------------------------------+---------+ | ef5d0629-041d-46e0-96e1-c36d2e51503f | init | test-complex-join.main | 214854ca-7f37-40c1-b2ac-3be54a37b0e5 | SUCCESS | | 275321e0-11f8-4bc4-90bc-1c5b3ba762fb | test | test-complex-join.main | 214854ca-7f37-40c1-b2ac-3be54a37b0e5 | ERROR | | 3db6c404-80cb-4110-bdcb-3e54f386d6c6 | undo | test-complex-join.work | 2958dbf7-d61c-4dd4-9233-278eb12fac46 | SUCCESS | | 8a704b99-447f-437a-9386-8c0dc71c1a6b | hold | test-complex-join.main | 214854ca-7f37-40c1-b2ac-3be54a37b0e5 | SUCCESS | | 8cb98967-a97f-457e-917e-29df42189a31 | do | test-complex-join.work | 2958dbf7-d61c-4dd4-9233-278eb12fac46 | SUCCESS | | 94ce3e6d-23c3-4317-a064-33c8be27999a | do | test-complex-join.work | 87a7f73c-bf10-411d-8c35-88b7f44b2068 | SUCCESS | | 55d71b53-66d2-4fbf-bcaa-e721da855eb6 | undo | test-complex-join.work | 87a7f73c-bf10-411d-8c35-88b7f44b2068 | SUCCESS | | 371c15b6-8627-44a7-b0ca-2ebb17459fa4 | do | test-complex-join.work | 0082ba7b-2659-4419-a036-7098ca56dd3b | SUCCESS | | de53ef7d-5915-4ad8-9734-1b1f302bd96b | undo | test-complex-join.work | 0082ba7b-2659-4419-a036-7098ca56dd3b | SUCCESS | | 700ea98f-5a9d-4558-a635-081c8443f2a9 | do | test-complex-join.work | 70e18936-fec1-4944-87c5-c690ae91d369 | SUCCESS | | 8b92a580-2ba1-4f31-a5bf-fe9724372230 | undo | test-complex-join.work | 70e18936-fec1-4944-87c5-c690ae91d369 | SUCCESS | | 2f084858-5c1a-49cd-85bd-98b4b7852562 | undo | test-complex-join.work | c8efe7cf-9ee2-4ca5-b4c1-f8a86385b832 | SUCCESS | | ff6a4aca-a04e-4997-98d7-691e92e2d0fa | do | test-complex-join.work | c8efe7cf-9ee2-4ca5-b4c1-f8a86385b832 | SUCCESS | | 8facd20a-1644-4500-ac22-9b46cc8dffe5 | do | test-complex-join.work | 3a237966-a16d-4311-b94c-969b14cb3e08 | SUCCESS | | fca0bb16-5c92-445b-aacd-f72b18ccb462 | undo | test-complex-join.work | 3a237966-a16d-4311-b94c-969b14cb3e08 | SUCCESS | | 246e4ad9-dd3c-48a3-957e-7fc5cc00ae7e | do | test-complex-join.work | c28ff25b-e7d6-4189-8cb2-f093fad4dc10 | SUCCESS | | 55c57dba-0959-4037-8120-4edbcde92f8c | undo | test-complex-join.work | c28ff25b-e7d6-4189-8cb2-f093fad4dc10 | SUCCESS | | 58fda246-c426-45a6-9b89-2578f7e72dca | do | test-complex-join.work | caed69cd-9d3d-4b82-842a-89fc698c2f2a | SUCCESS | | ac0da279-d161-4423-8594-c2b3d5fcce32 | undo | test-complex-join.work | caed69cd-9d3d-4b82-842a-89fc698c2f2a | SUCCESS | | 632262f0-1e23-429d-839a-cc402d83c3db | undo | test-complex-join.work | fe7e2c76-9071-4360-968b-0c71a15e5b73 | SUCCESS | | dcdef278-b4cf-45e1-bb90-3358af068531 | do | test-complex-join.work | fe7e2c76-9071-4360-968b-0c71a15e5b73 | SUCCESS | | 23595d39-b926-4112-8c5c-f93c6f4ecc20 | do | test-complex-join.work | 2b7ba820-a328-43ca-875b-3d519e38f610 | SUCCESS | | 9d66261e-3b97-4bdc-97a1-3529bff46797 | undo | test-complex-join.work | 2b7ba820-a328-43ca-875b-3d519e38f610 | SUCCESS | +--------------------------------------+------+------------------------+--------------------------------------+---------+ ~$ mistral execution-get-output 214854ca-7f37-40c1-b2ac-3be54a37b0e5 Starting new HTTP connection (1): localhost { "is_done": false, "is_go": true } The sample WF below have two parallel branches. I'm expecting output to be the following where the vars are true. However, the join task named "done" following completion of the parallel branches are not executed. But the WF execution reported SUCCESS. EXPECTED: { "is_done": true, "var1": true, "var2": true } ACTUAL: ~$ cat ~/tmp/test-complex-join.yaml version: '2.0' name: test-complex-join workflows: main: type: direct output: var1: <% $.var1 %> var2: <% $.var2 %> is_done: <% $.is_done %> tasks: init: publish: var1: false var2: false is_done: false policies: wait-after: 1 on-success: - branch1 - branch2 branch1: workflow: work publish: var1: true policies: retry: count: 10 delay: 2 on-complete: - done branch2: publish: var2: true policies: wait-before: 10 on-complete: - done done: join: all publish: is_done: true work: type: direct tasks: do: action: std.echo output="Doing..." policies: wait-before: 1 wait-after: 1 on-success: - exit exit: action: std.echo output="Exiting..." ~$ mistral workbook-create ~/tmp/test-complex-join.yaml Starting new HTTP connection (1): localhost +------------+----------------------------+ | Field | Value | +------------+----------------------------+ | Name | test-complex-join | | Tags | <none> | | Created at | 2015-02-22 23:08:19.190381 | | Updated at | None | +------------+----------------------------+ ~$ mistral execution-create test-complex-join.main Starting new HTTP connection (1): localhost +------------+--------------------------------------+ | Field | Value | +------------+--------------------------------------+ | ID | e96f5f2a-f231-4cef-b52a-549becfd8de5 | | Workflow | test-complex-join.main | | State | RUNNING | | Created at | 2015-02-22T23:08:29.843989 | | Updated at | 2015-02-22T23:08:29.870009 | +------------+--------------------------------------+ ~$ mistral execution-list Starting new HTTP connection (1): localhost +--------------------------------------+------------------------+---------+---------------------+---------------------+ | ID | Workflow | State | Created at | Updated at | +--------------------------------------+------------------------+---------+---------------------+---------------------+ | e96f5f2a-f231-4cef-b52a-549becfd8de5 | test-complex-join.main | SUCCESS | 2015-02-22 23:08:29 | 2015-02-22 23:08:33 | | c9517936-0d6b-4791-8f1b-ff7712d18587 | test-complex-join.work | SUCCESS | 2015-02-22 23:08:31 | 2015-02-22 23:08:33 | +--------------------------------------+------------------------+---------+---------------------+---------------------+ ~$ mistral task-list Starting new HTTP connection (1): localhost +--------------------------------------+---------+------------------------+--------------------------------------+---------+ | ID | Name | Workflow name | Execution ID | State | +--------------------------------------+---------+------------------------+--------------------------------------+---------+ | 391dc013-510b-4589-887f-21dbe3d988d0 | init | test-complex-join.main | e96f5f2a-f231-4cef-b52a-549becfd8de5 | SUCCESS | | 022863d8-46bd-4caa-ae72-baba77ff827d | branch2 | test-complex-join.main | e96f5f2a-f231-4cef-b52a-549becfd8de5 | SUCCESS | | 0f883ca8-c43c-4d33-930a-571b6ab782df | do | test-complex-join.work | c9517936-0d6b-4791-8f1b-ff7712d18587 | SUCCESS | | f643284d-039c-4899-a454-8ef584c5373c | branch1 | test-complex-join.main | e96f5f2a-f231-4cef-b52a-549becfd8de5 | SUCCESS | | cd97ce7e-f029-44a6-8896-8d3c5522060c | exit | test-complex-join.work | c9517936-0d6b-4791-8f1b-ff7712d18587 | SUCCESS | +--------------------------------------+---------+------------------------+--------------------------------------+---------+ ~$ mistral execution-get-output e96f5f2a-f231-4cef-b52a-549becfd8de5 Starting new HTTP connection (1): localhost { "is_done": false, "var1": true, "var2": false }
2015-02-27 07:14:39 Renat Akhmerov mistral: importance Undecided High
2015-02-27 07:14:42 Renat Akhmerov mistral: milestone kilo-3
2015-02-27 07:15:06 Renat Akhmerov mistral: assignee Nikolay Makhotkin (nmakhotkin)
2015-02-27 14:33:48 OpenStack Infra mistral: status New In Progress
2015-03-24 06:40:26 Renat Akhmerov nominated for series mistral/kilo
2015-03-24 06:40:26 Renat Akhmerov bug task added mistral/kilo
2015-03-24 06:40:30 Renat Akhmerov mistral/kilo: milestone kilo-3
2015-04-27 13:17:26 Renat Akhmerov bug task deleted mistral/kilo
2015-04-27 13:17:34 Renat Akhmerov nominated for series mistral/liberty
2015-04-27 13:17:34 Renat Akhmerov bug task added mistral/liberty
2015-04-27 13:18:52 Renat Akhmerov mistral/liberty: status New In Progress
2015-04-27 13:19:00 Renat Akhmerov mistral/liberty: assignee Nikolay Makhotkin (nmakhotkin)
2015-04-27 13:19:03 Renat Akhmerov mistral/liberty: milestone liberty-1
2015-04-27 13:19:06 Renat Akhmerov mistral/liberty: importance Undecided High
2015-04-27 13:19:24 Renat Akhmerov bug task deleted mistral
2015-06-25 07:20:05 Renat Akhmerov mistral/liberty: milestone liberty-1 liberty-2
2015-07-09 07:12:32 Renat Akhmerov mistral/liberty: assignee Nikolay Makhotkin (nmakhotkin) Renat Akhmerov (rakhmerov)
2015-07-15 12:33:21 Renat Akhmerov mistral/liberty: milestone liberty-2 liberty-3
2015-09-09 07:07:33 Renat Akhmerov mistral/liberty: milestone liberty-3 liberty-rc1
2015-09-09 07:07:38 Renat Akhmerov mistral/liberty: status In Progress Confirmed
2015-09-14 12:47:46 Renat Akhmerov mistral/liberty: milestone liberty-rc1 rc2
2015-10-15 05:55:42 Renat Akhmerov mistral/liberty: milestone liberty-rc2
2015-10-15 06:00:38 Renat Akhmerov bug task added mistral
2015-10-15 06:00:51 Renat Akhmerov nominated for series mistral/mitaka
2015-10-15 06:00:51 Renat Akhmerov bug task added mistral/mitaka
2015-10-15 06:00:57 Renat Akhmerov mistral/mitaka: status New Confirmed
2015-10-15 06:00:59 Renat Akhmerov mistral/mitaka: importance Undecided High
2015-10-15 06:01:02 Renat Akhmerov mistral/mitaka: assignee Renat Akhmerov (rakhmerov)
2015-10-15 06:01:05 Renat Akhmerov mistral/liberty: status Confirmed Won't Fix
2015-11-23 09:09:02 Nikolay Makhotkin mistral/mitaka: milestone mitaka-2
2016-02-01 16:25:39 Renat Akhmerov mistral/mitaka: milestone mitaka-2 mitaka-3
2016-03-04 09:34:08 Renat Akhmerov mistral/mitaka: milestone mitaka-3 newton-1
2016-04-05 07:31:08 Renat Akhmerov mistral/mitaka: status Confirmed Won't Fix
2016-04-05 07:31:16 Renat Akhmerov mistral: status New Confirmed
2016-04-05 07:31:18 Renat Akhmerov mistral: importance Undecided High
2016-04-05 07:31:22 Renat Akhmerov mistral: assignee Renat Akhmerov (rakhmerov)
2016-04-05 07:31:43 Renat Akhmerov mistral/mitaka: milestone newton-1
2016-05-23 16:40:22 Renat Akhmerov mistral: milestone newton-1 newton-2
2016-07-11 09:56:29 Renat Akhmerov mistral: milestone newton-2 newton-3
2016-09-26 08:26:38 Renat Akhmerov mistral: milestone newton-3 ocata-1
2016-11-18 07:59:31 Renat Akhmerov mistral: milestone ocata-1 ocata-3
2017-01-23 10:55:45 Renat Akhmerov mistral: milestone ocata-3