{"_id":"589c660129523b23003ba22c","version":{"_id":"55faf11ba62ba1170021a9aa","project":"55faf11ba62ba1170021a9a7","__v":38,"createdAt":"2015-09-17T16:58:03.490Z","releaseDate":"2015-09-17T16:58:03.490Z","categories":["55faf11ca62ba1170021a9ab","55faf8f4d0e22017005b8272","55faf91aa62ba1170021a9b5","55faf929a8a7770d00c2c0bd","55faf932a8a7770d00c2c0bf","55faf94b17b9d00d00969f47","55faf958d0e22017005b8274","55faf95fa8a7770d00c2c0c0","55faf96917b9d00d00969f48","55faf970a8a7770d00c2c0c1","55faf98c825d5f19001fa3a6","55faf99aa62ba1170021a9b8","55faf99fa62ba1170021a9b9","55faf9aa17b9d00d00969f49","55faf9b6a8a7770d00c2c0c3","55faf9bda62ba1170021a9ba","5604570090ee490d00440551","5637e8b2fbe1c50d008cb078","5649bb624fa1460d00780add","5671974d1b6b730d008b4823","5671979d60c8e70d006c9760","568e8eef70ca1f0d0035808e","56d0a2081ecc471500f1795e","56d4a0adde40c70b00823ea3","56d96b03dd90610b00270849","56fbb83d8f21c817002af880","573c811bee2b3b2200422be1","576bc92afb62dd20001cda85","5771811e27a5c20e00030dcd","5785191af3a10c0e009b75b0","57bdf84d5d48411900cd8dc0","57ff5c5dc135231700aed806","5804caf792398f0f00e77521","58458b4fba4f1c0f009692bb","586d3c287c6b5b2300c05055","58ef66d88646742f009a0216","58f5d52d7891630f00fe4e77","59a555bccdbd85001bfb1442"],"is_deprecated":false,"is_hidden":false,"is_beta":true,"is_stable":true,"codename":"","version_clean":"1.0.0","version":"1.0"},"__v":0,"user":"5767bc73bb15f40e00a28777","category":{"_id":"586d3c287c6b5b2300c05055","version":"55faf11ba62ba1170021a9aa","__v":0,"project":"55faf11ba62ba1170021a9a7","sync":{"url":"","isSync":false},"reference":false,"createdAt":"2017-01-04T18:17:12.683Z","from_sync":false,"order":19,"slug":"task-execution","title":"TASK EXECUTION"},"parentDoc":null,"project":"55faf11ba62ba1170021a9a7","updates":[],"next":{"pages":[],"description":""},"createdAt":"2017-02-09T12:52:17.730Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":10,"body":"Each task goes through several stages, starting from the point of its first creation, until its execution is completed. The task details page includes several clear indicators of the task status:\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/c9def45-list_of_task_statuses_1_v3.png\",\n        \"list_of_task_statuses_1_v3.png\",\n        1436,\n        704,\n        \"#f2f4f5\"\n      ]\n    }\n  ]\n}\n[/block]\n**(1)** Label indicating the current task status.\n\n**(2)** Short explanation of the current task status. Some status explanations also include a question mark icon that you can click to display detailed information about the task status.\n\n**(3)** Breakdown of the time the task has spent in the following states:\n* **Running time** - Total time the task has spent in the **RUNNING** status. This includes the time spent preparing the instance(s) to run the task on, and the actual execution time of the task.\n* **Queued time** - Total time spent requesting an instance and not being able to run due to reaching a limit or due to unavailability of cloud resources (see **QUEUED** statuses below for details).\n* **Execution time** - Total time the task has actually been executing on an instance, excluding the instance preparation time.\n\n**(4)** Banner showing additional information or warnings. Banners are displayed when you have reached the maximum number of parallel instances for your account or if some of the required cloud infrastructure resources are not currently available.\n\n## List of task statuses\n[block:parameters]\n{\n  \"data\": {\n    \"h-0\": \"Status (1)\",\n    \"h-1\": \"Progress message (2)\",\n    \"h-2\": \"Banner text (4)\",\n    \"h-3\": \"Description\",\n    \"0-0\": \"<img src=\\\"https://files.readme.io/b119b28-draft.png\\\"\\nwidth=\\\"auto\\\" align=\\\"inline\\\" style=\\\"margin:1px; width:auto; height:22px; max-width:none;\\\"/>\",\n    \"1-0\": \"<img src=\\\"https://files.readme.io/1c990c1-creating.png\\\"\\nwidth=\\\"auto\\\" align=\\\"inline\\\" style=\\\"margin:1px; width:auto; height:22px; max-width:none;\\\"/>\",\n    \"2-0\": \"<img src=\\\"https://files.readme.io/06ab0a7-queued.png\\\"\\nwidth=\\\"auto\\\" align=\\\"inline\\\" style=\\\"margin:1px; width:auto; height:22px; max-width:none;\\\"/>\",\n    \"3-0\": \"<img src=\\\"https://files.readme.io/7e24730-queued_limit.png\\\"\\nwidth=\\\"auto\\\" align=\\\"inline\\\" style=\\\"margin:1px; width:auto; height:22px; max-width:none;\\\"/>\",\n    \"4-0\": \"<img src=\\\"https://files.readme.io/7e24730-queued_limit.png\\\"\\nwidth=\\\"auto\\\" align=\\\"inline\\\" style=\\\"margin:1px; width:auto; height:22px; max-width:none;\\\"/>\",\n    \"5-0\": \"<img src=\\\"https://files.readme.io/d6fe590-running.gif\\\"\\nalign=\\\"inline\\\" style=\\\"margin:1px; width:auto; height:22px; max-width:none;\\\"/>\",\n    \"6-0\": \"<img src=\\\"https://files.readme.io/aa03120-running_init_no_animation.png\\\" width=\\\"auto\\\" align=\\\"inline\\\" style=\\\"margin:1px; width:auto; height:22px; max-width:none;\\\"/>\\n<img src=\\\"https://files.readme.io/0ad25e7-running_init_animated.gif\\\"\\n align=\\\"inline\\\" style=\\\"margin:1px; width:auto; max-width:none;\\\"/>\",\n    \"7-0\": \"<img src=\\\"https://files.readme.io/f414ba0-running_instance_limit.gif\\\"\\nwidth=\\\"auto\\\" align=\\\"inline\\\" style=\\\"margin:1px\\\"/>\",\n    \"8-0\": \"<img src=\\\"https://files.readme.io/f414ba0-running_instance_limit.gif\\\"\\nwidth=\\\"auto\\\" align=\\\"inline\\\" style=\\\"margin:1px\\\"/>\",\n    \"9-0\": \"<img src=\\\"https://files.readme.io/b38108a-aborting.png\\\"\\nwidth=\\\"auto\\\" align=\\\"inline\\\" style=\\\"margin:1px\\\"/>\",\n    \"10-0\": \"<img src=\\\"https://files.readme.io/cac124e-aborted.png\\\"\\nwidth=\\\"auto\\\" align=\\\"inline\\\" style=\\\"margin:1px\\\"/>\",\n    \"11-0\": \"<img src=\\\"https://files.readme.io/1207000-failed.png\\\" width=\\\"auto\\\" align=\\\"inline\\\" style=\\\"margin:1px\\\"/>\",\n    \"12-0\": \"<img src=\\\"https://files.readme.io/8e43c58-completed.png\\\" width=\\\"auto\\\" align=\\\"inline\\\" style=\\\"margin:1px\\\"/>\",\n    \"1-1\": \"Initializing the list of batch tasks.\",\n    \"2-1\": \"The task has been submitted and is awaiting execution.\",\n    \"3-1\": \"The task is currently queued because the instance limit for this account has been reached.\",\n    \"4-1\": \"The task is currently queued and is awaiting the requested resources.\",\n    \"5-1\": \"Running.\",\n    \"6-1\": \"Some of the instances are being initialized for this task.\",\n    \"7-1\": \"The task is running at a lower speed than usual because the instance limit for this account has been reached.\",\n    \"8-1\": \"The task is running at a lower speed because it is awaiting some of the requested resources.\",\n    \"9-1\": \"Abort request has been received.\",\n    \"3-2\": \"The instance limit for this account has been reached.\",\n    \"4-2\": \"Some of the requested resources are currently not available.\",\n    \"7-2\": \"The instance limit for this account has been reached.\",\n    \"8-2\": \"Some of the requested resources are currently not available.\",\n    \"0-3\": \"When you run an app, you create a **DRAFT** task. During this **DRAFT** phase, set up the analysis by selecting input files and defining the app settings.\\n\\nOnce you click **RUN**, the CGC performs validations to ensure that suitable information has been entered to run the analysis and checks that your account has sufficient resources to run the task.\",\n    \"1-3\": \"The CGC is creating the list of child tasks that will be executed within the batch task.\",\n    \"2-3\": \"The task has been submitted for execution, and it will automatically proceed to the **RUNNING** state shortly.\",\n    \"3-3\": \"The maximum number of 80 instances for your account has been reached. Once an instance becomes available, task execution resumes and task status changes to **RUNNING**.\",\n    \"4-3\": \"The required cloud infrastructure resources are not available. Once all resources become available, task execution resumes and task status changes to **RUNNING**.\",\n    \"5-3\": \"The CGC has initialized the computation instances and your task has begun executing.\\n\\nThe number of completed jobs within the task is displayed next to the task status (e.g. **15/29**, to indicate that 15 out of 29 jobs have been executed).\",\n    \"6-3\": \"This status has two different representations. If there is no animation on the task status, the jobs are being initialized within the task, but none of the jobs is being executed. If the task status is animated, there are both jobs that are being initialized and the ones that are being executed within this task.\\n\\nThis status applies only to tasks that run on multiple instances.\",\n    \"7-3\": \"Execution of the task has started, but the CGC is only able to run it on some of the required instances, as you have reached the maximum number of 80 parallel instances allowed for your account. Once all required instances become available, the task will start using all instances and you will no longer see the info icon in the task status.\",\n    \"8-3\": \"The task is running using the cloud infrastructure resources that are available at the moment, but there are some required resources that are currently unavailable. Once all required resources become available, the task will start running at full capacity and you will no longer see the info icon in the task status.\",\n    \"9-3\": \"The CGC is stopping the execution of the task after you have clicked **Abort**.\",\n    \"10-3\": \"You clicked the **Abort** button and stopped the execution of the task before it has been completed.\",\n    \"11-3\": \"Your task ran into a problem during execution and did not finish successfully. You will also receive an error message providing further information on the cause of the task failure (see [Troubleshoot a failed task](doc:troubleshoot-a-failed-task)).\",\n    \"12-3\": \"Your task has ended successfully. This means the analysis has been performed without errors, and you can [view the output files](doc:view-output-files) of your task.\"\n  },\n  \"cols\": 4,\n  \"rows\": 13\n}\n[/block]\n## Batch tasks\n\nBatch tasks consist of a number of subtasks called **child tasks**. Since child tasks can be in different stages of execution, the status indicator can show several different statuses and the number of child tasks that are currently in any of the listed states, for example:\n[block:parameters]\n{\n  \"data\": {\n    \"h-0\": \"Status\",\n    \"h-1\": \"Description\",\n    \"0-0\": \"<img src=\\\"https://files.readme.io/7f4f86b-batch.png\\\"\\nheight=\\\"22px\\\" width=\\\"auto\\\" align=\\\"inline\\\" style=\\\"margin:1px\\\"/>\",\n    \"0-1\": \"The current status of child tasks within this batch task is:\\n* There are 7 tasks in the **QUEUED** state.\\n* There is 1 task that is **RUNNING**.\\n* There are 2 **COMPLETED** tasks.\"\n  },\n  \"cols\": 2,\n  \"rows\": 1\n}\n[/block]","excerpt":"","slug":"list-of-task-statuses","type":"basic","title":"List of task statuses"}

List of task statuses


Each task goes through several stages, starting from the point of its first creation, until its execution is completed. The task details page includes several clear indicators of the task status: [block:image] { "images": [ { "image": [ "https://files.readme.io/c9def45-list_of_task_statuses_1_v3.png", "list_of_task_statuses_1_v3.png", 1436, 704, "#f2f4f5" ] } ] } [/block] **(1)** Label indicating the current task status. **(2)** Short explanation of the current task status. Some status explanations also include a question mark icon that you can click to display detailed information about the task status. **(3)** Breakdown of the time the task has spent in the following states: * **Running time** - Total time the task has spent in the **RUNNING** status. This includes the time spent preparing the instance(s) to run the task on, and the actual execution time of the task. * **Queued time** - Total time spent requesting an instance and not being able to run due to reaching a limit or due to unavailability of cloud resources (see **QUEUED** statuses below for details). * **Execution time** - Total time the task has actually been executing on an instance, excluding the instance preparation time. **(4)** Banner showing additional information or warnings. Banners are displayed when you have reached the maximum number of parallel instances for your account or if some of the required cloud infrastructure resources are not currently available. ## List of task statuses [block:parameters] { "data": { "h-0": "Status (1)", "h-1": "Progress message (2)", "h-2": "Banner text (4)", "h-3": "Description", "0-0": "<img src=\"https://files.readme.io/b119b28-draft.png\"\nwidth=\"auto\" align=\"inline\" style=\"margin:1px; width:auto; height:22px; max-width:none;\"/>", "1-0": "<img src=\"https://files.readme.io/1c990c1-creating.png\"\nwidth=\"auto\" align=\"inline\" style=\"margin:1px; width:auto; height:22px; max-width:none;\"/>", "2-0": "<img src=\"https://files.readme.io/06ab0a7-queued.png\"\nwidth=\"auto\" align=\"inline\" style=\"margin:1px; width:auto; height:22px; max-width:none;\"/>", "3-0": "<img src=\"https://files.readme.io/7e24730-queued_limit.png\"\nwidth=\"auto\" align=\"inline\" style=\"margin:1px; width:auto; height:22px; max-width:none;\"/>", "4-0": "<img src=\"https://files.readme.io/7e24730-queued_limit.png\"\nwidth=\"auto\" align=\"inline\" style=\"margin:1px; width:auto; height:22px; max-width:none;\"/>", "5-0": "<img src=\"https://files.readme.io/d6fe590-running.gif\"\nalign=\"inline\" style=\"margin:1px; width:auto; height:22px; max-width:none;\"/>", "6-0": "<img src=\"https://files.readme.io/aa03120-running_init_no_animation.png\" width=\"auto\" align=\"inline\" style=\"margin:1px; width:auto; height:22px; max-width:none;\"/>\n<img src=\"https://files.readme.io/0ad25e7-running_init_animated.gif\"\n align=\"inline\" style=\"margin:1px; width:auto; max-width:none;\"/>", "7-0": "<img src=\"https://files.readme.io/f414ba0-running_instance_limit.gif\"\nwidth=\"auto\" align=\"inline\" style=\"margin:1px\"/>", "8-0": "<img src=\"https://files.readme.io/f414ba0-running_instance_limit.gif\"\nwidth=\"auto\" align=\"inline\" style=\"margin:1px\"/>", "9-0": "<img src=\"https://files.readme.io/b38108a-aborting.png\"\nwidth=\"auto\" align=\"inline\" style=\"margin:1px\"/>", "10-0": "<img src=\"https://files.readme.io/cac124e-aborted.png\"\nwidth=\"auto\" align=\"inline\" style=\"margin:1px\"/>", "11-0": "<img src=\"https://files.readme.io/1207000-failed.png\" width=\"auto\" align=\"inline\" style=\"margin:1px\"/>", "12-0": "<img src=\"https://files.readme.io/8e43c58-completed.png\" width=\"auto\" align=\"inline\" style=\"margin:1px\"/>", "1-1": "Initializing the list of batch tasks.", "2-1": "The task has been submitted and is awaiting execution.", "3-1": "The task is currently queued because the instance limit for this account has been reached.", "4-1": "The task is currently queued and is awaiting the requested resources.", "5-1": "Running.", "6-1": "Some of the instances are being initialized for this task.", "7-1": "The task is running at a lower speed than usual because the instance limit for this account has been reached.", "8-1": "The task is running at a lower speed because it is awaiting some of the requested resources.", "9-1": "Abort request has been received.", "3-2": "The instance limit for this account has been reached.", "4-2": "Some of the requested resources are currently not available.", "7-2": "The instance limit for this account has been reached.", "8-2": "Some of the requested resources are currently not available.", "0-3": "When you run an app, you create a **DRAFT** task. During this **DRAFT** phase, set up the analysis by selecting input files and defining the app settings.\n\nOnce you click **RUN**, the CGC performs validations to ensure that suitable information has been entered to run the analysis and checks that your account has sufficient resources to run the task.", "1-3": "The CGC is creating the list of child tasks that will be executed within the batch task.", "2-3": "The task has been submitted for execution, and it will automatically proceed to the **RUNNING** state shortly.", "3-3": "The maximum number of 80 instances for your account has been reached. Once an instance becomes available, task execution resumes and task status changes to **RUNNING**.", "4-3": "The required cloud infrastructure resources are not available. Once all resources become available, task execution resumes and task status changes to **RUNNING**.", "5-3": "The CGC has initialized the computation instances and your task has begun executing.\n\nThe number of completed jobs within the task is displayed next to the task status (e.g. **15/29**, to indicate that 15 out of 29 jobs have been executed).", "6-3": "This status has two different representations. If there is no animation on the task status, the jobs are being initialized within the task, but none of the jobs is being executed. If the task status is animated, there are both jobs that are being initialized and the ones that are being executed within this task.\n\nThis status applies only to tasks that run on multiple instances.", "7-3": "Execution of the task has started, but the CGC is only able to run it on some of the required instances, as you have reached the maximum number of 80 parallel instances allowed for your account. Once all required instances become available, the task will start using all instances and you will no longer see the info icon in the task status.", "8-3": "The task is running using the cloud infrastructure resources that are available at the moment, but there are some required resources that are currently unavailable. Once all required resources become available, the task will start running at full capacity and you will no longer see the info icon in the task status.", "9-3": "The CGC is stopping the execution of the task after you have clicked **Abort**.", "10-3": "You clicked the **Abort** button and stopped the execution of the task before it has been completed.", "11-3": "Your task ran into a problem during execution and did not finish successfully. You will also receive an error message providing further information on the cause of the task failure (see [Troubleshoot a failed task](doc:troubleshoot-a-failed-task)).", "12-3": "Your task has ended successfully. This means the analysis has been performed without errors, and you can [view the output files](doc:view-output-files) of your task." }, "cols": 4, "rows": 13 } [/block] ## Batch tasks Batch tasks consist of a number of subtasks called **child tasks**. Since child tasks can be in different stages of execution, the status indicator can show several different statuses and the number of child tasks that are currently in any of the listed states, for example: [block:parameters] { "data": { "h-0": "Status", "h-1": "Description", "0-0": "<img src=\"https://files.readme.io/7f4f86b-batch.png\"\nheight=\"22px\" width=\"auto\" align=\"inline\" style=\"margin:1px\"/>", "0-1": "The current status of child tasks within this batch task is:\n* There are 7 tasks in the **QUEUED** state.\n* There is 1 task that is **RUNNING**.\n* There are 2 **COMPLETED** tasks." }, "cols": 2, "rows": 1 } [/block]