{"action":"created","issue":{"url":"https://api.github.com/repos/fabric/fabric/issues/457","repository_url":"https://api.github.com/repos/fabric/fabric","labels_url":"https://api.github.com/repos/fabric/fabric/issues/457/labels{/name}","comments_url":"https://api.github.com/repos/fabric/fabric/issues/457/comments","events_url":"https://api.github.com/repos/fabric/fabric/issues/457/events","html_url":"https://github.com/fabric/fabric/issues/457","id":2033059,"number":457,"title":"Failures in parallel tasks do not stop execution","user":{"login":"sdcooke","id":136235,"avatar_url":"https://avatars.githubusercontent.com/u/136235?v=3","gravatar_id":"","url":"https://api.github.com/users/sdcooke","html_url":"https://github.com/sdcooke","followers_url":"https://api.github.com/users/sdcooke/followers","following_url":"https://api.github.com/users/sdcooke/following{/other_user}","gists_url":"https://api.github.com/users/sdcooke/gists{/gist_id}","starred_url":"https://api.github.com/users/sdcooke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sdcooke/subscriptions","organizations_url":"https://api.github.com/users/sdcooke/orgs","repos_url":"https://api.github.com/users/sdcooke/repos","events_url":"https://api.github.com/users/sdcooke/events{/privacy}","received_events_url":"https://api.github.com/users/sdcooke/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/fabric/fabric/labels/Bug","name":"Bug","color":"a04040"},{"url":"https://api.github.com/repos/fabric/fabric/labels/Core","name":"Core","color":"ededed"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2011-10-24T12:28:51Z","updated_at":"2016-07-29T18:12:00Z","closed_at":"2011-10-24T21:17:21Z","body":"The following test case runs `test.sh` which returns an error exit code. Without the `@parallel` decorator fabric aborts and exits as expected after the first failure on the first host (there are two hosts in the 'web_workers' role). With the `@parallel` decorator the `test_thing` task exits before running `date` but `test_thing2` is then run.\r\n\r\n```python\r\ndef test():\r\n    execute(test_thing)\r\n    execute(test_thing2)\r\n\r\n@roles('web_workers')\r\n@parallel\r\ndef test_thing():\r\n    run('./test.sh')\r\n    run('date')\r\n\r\n@roles('web_workers')\r\n@parallel\r\ndef test_thing2():\r\n    run('date')\r\n```\r\n\r\nI'm assuming this isn't the intended workflow, if it is or I'm making a mistake I'd be interested to know what it is."},"comment":{"url":"https://api.github.com/repos/fabric/fabric/issues/comments/236253362","html_url":"https://github.com/fabric/fabric/issues/457#issuecomment-236253362","issue_url":"https://api.github.com/repos/fabric/fabric/issues/457","id":236253362,"user":{"login":"goosemo","id":128584,"avatar_url":"https://avatars.githubusercontent.com/u/128584?v=3","gravatar_id":"","url":"https://api.github.com/users/goosemo","html_url":"https://github.com/goosemo","followers_url":"https://api.github.com/users/goosemo/followers","following_url":"https://api.github.com/users/goosemo/following{/other_user}","gists_url":"https://api.github.com/users/goosemo/gists{/gist_id}","starred_url":"https://api.github.com/users/goosemo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/goosemo/subscriptions","organizations_url":"https://api.github.com/users/goosemo/orgs","repos_url":"https://api.github.com/users/goosemo/repos","events_url":"https://api.github.com/users/goosemo/events{/privacy}","received_events_url":"https://api.github.com/users/goosemo/received_events","type":"User","site_admin":false},"created_at":"2016-07-29T18:12:00Z","updated_at":"2016-07-29T18:12:00Z","body":"@paulRbr just now looking at this, sorry for the delay. But have you seen this PR? https://github.com/fabric/fabric/pull/1471\r\n\r\nIt's potentially solving your issue if I am understanding correctly."}}
{"actor":{"display_login":"goosemo"}}