{"action":"created","issue":{"url":"https://api.github.com/repos/ow2-proactive/scheduling/issues/2518","repository_url":"https://api.github.com/repos/ow2-proactive/scheduling","labels_url":"https://api.github.com/repos/ow2-proactive/scheduling/issues/2518/labels{/name}","comments_url":"https://api.github.com/repos/ow2-proactive/scheduling/issues/2518/comments","events_url":"https://api.github.com/repos/ow2-proactive/scheduling/issues/2518/events","html_url":"https://github.com/ow2-proactive/scheduling/issues/2518","id":146919821,"number":2518,"title":"Restarting the Scheduler resets numberOfExecutionLeft","user":{"login":"tobwiens","id":6491363,"avatar_url":"https://avatars.githubusercontent.com/u/6491363?v=3","gravatar_id":"","url":"https://api.github.com/users/tobwiens","html_url":"https://github.com/tobwiens","followers_url":"https://api.github.com/users/tobwiens/followers","following_url":"https://api.github.com/users/tobwiens/following{/other_user}","gists_url":"https://api.github.com/users/tobwiens/gists{/gist_id}","starred_url":"https://api.github.com/users/tobwiens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tobwiens/subscriptions","organizations_url":"https://api.github.com/users/tobwiens/orgs","repos_url":"https://api.github.com/users/tobwiens/repos","events_url":"https://api.github.com/users/tobwiens/events{/privacy}","received_events_url":"https://api.github.com/users/tobwiens/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ow2-proactive/scheduling/labels/priority:medium","name":"priority:medium","color":"c8b3ff"},{"url":"https://api.github.com/repos/ow2-proactive/scheduling/labels/severity:minor","name":"severity:minor","color":"ffb2b2"},{"url":"https://api.github.com/repos/ow2-proactive/scheduling/labels/type:bug","name":"type:bug","color":"c7def8"}],"state":"closed","locked":false,"assignee":{"login":"tobwiens","id":6491363,"avatar_url":"https://avatars.githubusercontent.com/u/6491363?v=3","gravatar_id":"","url":"https://api.github.com/users/tobwiens","html_url":"https://github.com/tobwiens","followers_url":"https://api.github.com/users/tobwiens/followers","following_url":"https://api.github.com/users/tobwiens/following{/other_user}","gists_url":"https://api.github.com/users/tobwiens/gists{/gist_id}","starred_url":"https://api.github.com/users/tobwiens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tobwiens/subscriptions","organizations_url":"https://api.github.com/users/tobwiens/orgs","repos_url":"https://api.github.com/users/tobwiens/repos","events_url":"https://api.github.com/users/tobwiens/events{/privacy}","received_events_url":"https://api.github.com/users/tobwiens/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/ow2-proactive/scheduling/milestones/51","html_url":"https://github.com/ow2-proactive/scheduling/milestones/7.8.0","labels_url":"https://api.github.com/repos/ow2-proactive/scheduling/milestones/51/labels","id":1685010,"number":51,"title":"7.8.0","description":null,"creator":{"login":"activeeon-bot","id":12379036,"avatar_url":"https://avatars.githubusercontent.com/u/12379036?v=3","gravatar_id":"","url":"https://api.github.com/users/activeeon-bot","html_url":"https://github.com/activeeon-bot","followers_url":"https://api.github.com/users/activeeon-bot/followers","following_url":"https://api.github.com/users/activeeon-bot/following{/other_user}","gists_url":"https://api.github.com/users/activeeon-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/activeeon-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/activeeon-bot/subscriptions","organizations_url":"https://api.github.com/users/activeeon-bot/orgs","repos_url":"https://api.github.com/users/activeeon-bot/repos","events_url":"https://api.github.com/users/activeeon-bot/events{/privacy}","received_events_url":"https://api.github.com/users/activeeon-bot/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":6,"state":"open","created_at":"2016-04-05T16:07:19Z","updated_at":"2016-04-25T08:33:00Z","due_on":null,"closed_at":null},"comments":4,"created_at":"2016-04-08T12:42:30Z","updated_at":"2016-04-25T08:33:00Z","closed_at":"2016-04-25T08:33:00Z","body":"A task with \"numberOfExecutionLeft\":3\r\n```\r\n{\"numberOfNodesNeeded\":1,\"iterationIndex\":0,\"replicationIndex\":0,\"maxNumberOfExecution\":4,\"parallelEnvironment\":null,\"name\":\"FailingTask\",\"description\":\"\\n\\t\\t\\t\\t This task fails \\n\\t\\t\\t\",\"tag\":null,\"taskInfo\":{\"jobId\":{\"readableName\":\"script_python\",\"id\":1},\"inErrorTime\":1460115708351,\"scheduledTime\":-1,\"finishedTime\":-1,\"progress\":0,\"startTime\":1460115701294,\"executionDuration\":-1,\"numberOfExecutionLeft\":4,\"numberOfExecutionOnFailureLeft\":2,\"taskId\":{\"readableName\":\"FailingTask\",\"id\":0},\"taskStatus\":\"IN_ERROR\",\"executionHostName\":\"71b0edc6dc80 (local-LocalNodes)\"},\"maxNumberOfExecutionOnFailure\":2,\"genericInformations\":{}}, {\"numberOfNodesNeeded\":1,\"iterationIndex\":0,\"replicationIndex\":0,\"maxNumberOfExecution\":3,\"parallelEnvironment\":null,\"name\":\"WaitingTask\",\"description\":\"\\n\\t\\t\\t\\t Waits for 4 seconds \\n\\t\\t\\t\",\"tag\":null,\"taskInfo\":{\"jobId\":{\"readableName\":\"script_python\",\"id\":1},\"inErrorTime\":-1,\"scheduledTime\":-1,\"finishedTime\":-1,\"progress\":0,\"startTime\":-1,\"executionDuration\":-1,\"numberOfExecutionLeft\":3,\"numberOfExecutionOnFailureLeft\":2,\"taskId\":{\"readableName\":\"WaitingTask\",\"id\":1},\"taskStatus\":\"PAUSED\",\"executionHostName\":null},\"maxNumberOfExecutionOnFailure\":2,\"genericInformations\":{}}, {\"numberOfNodesNeeded\":1,\"iterationIndex\":0,\"replicationIndex\":0,\"maxNumberOfExecution\":3,\"parallelEnvironment\":null,\"name\":\"WaitingTask2\",\"description\":\"\\n\\t\\t\\t\\t Waits for 4 seconds \\n\\t\\t\\t\",\"tag\":null,\"taskInfo\":{\"jobId\":{\"readableName\":\"script_python\",\"id\":1},\"inErrorTime\":-1,\"scheduledTime\":-1,\"finishedTime\":-1,\"progress\":0,\"startTime\":-1,\"executionDuration\":-1,\"numberOfExecutionLeft\":3,\"numberOfExecutionOnFailureLeft\":2,\"taskId\":{\"readableName\":\"WaitingTask2\",\"id\":2},\"taskStatus\":\"PAUSED\",\"executionHostName\":null},\"maxNumberOfExecutionOnFailure\":2,\"genericInformations\":{}}, {\"numberOfNodesNeeded\":1,\"iterationIndex\":0,\"replicationIndex\":0,\"maxNumberOfExecution\":3,\"parallelEnvironment\":null,\"name\":\"Python_Task\",\"description\":\"\\n\\t\\t\\t\\t The simplest task, ran by a python engine. \\n\\t\\t\\t\",\"tag\":null,\"taskInfo\":{\"jobId\":{\"readableName\":\"script_python\",\"id\":1},\"inErrorTime\":-1,\"scheduledTime\":-1,\"finishedTime\":-1,\"progress\":0,\"startTime\":-1,\"executionDuration\":-1,\"numberOfExecutionLeft\":3,\"numberOfExecutionOnFailureLeft\":2,\"taskId\":{\"readableName\":\"Python_Task\",\"id\":3},\"taskStatus\":\"PAUSED\",\"executionHostName\":null},\"maxNumberOfExecutionOnFailure\":2,\"genericInformations\":{}}]>\r\n\r\n```\r\n\r\nHas \"numberOfExecutionLeft\":4\r\n\r\n```\r\n{\"numberOfNodesNeeded\":1,\"iterationIndex\":0,\"replicationIndex\":0,\"maxNumberOfExecution\":4,\"parallelEnvironment\":null,\"name\":\"FailingTask\",\"description\":\"\\n\\t\\t\\t\\t This task fails \\n\\t\\t\\t\",\"tag\":null,\"taskInfo\":{\"jobId\":{\"readableName\":\"script_python\",\"id\":1},\"inErrorTime\":1460115708351,\"scheduledTime\":-1,\"finishedTime\":-1,\"progress\":0,\"startTime\":1460115701294,\"executionDuration\":-1,\"numberOfExecutionLeft\":3,\"numberOfExecutionOnFailureLeft\":2,\"taskId\":{\"readableName\":\"FailingTask\",\"id\":0},\"taskStatus\":\"IN_ERROR\",\"executionHostName\":\"71b0edc6dc80 (local-LocalNodes)\"},\"maxNumberOfExecutionOnFailure\":2,\"genericInformations\":{}}, {\"numberOfNodesNeeded\":1,\"iterationIndex\":0,\"replicationIndex\":0,\"maxNumberOfExecution\":3,\"parallelEnvironment\":null,\"name\":\"WaitingTask\",\"description\":\"\\n\\t\\t\\t\\t Waits for 4 seconds \\n\\t\\t\\t\",\"tag\":null,\"taskInfo\":{\"jobId\":{\"readableName\":\"script_python\",\"id\":1},\"inErrorTime\":-1,\"scheduledTime\":-1,\"finishedTime\":-1,\"progress\":0,\"startTime\":-1,\"executionDuration\":-1,\"numberOfExecutionLeft\":3,\"numberOfExecutionOnFailureLeft\":2,\"taskId\":{\"readableName\":\"WaitingTask\",\"id\":1},\"taskStatus\":\"PAUSED\",\"executionHostName\":null},\"maxNumberOfExecutionOnFailure\":2,\"genericInformations\":{}}, {\"numberOfNodesNeeded\":1,\"iterationIndex\":0,\"replicationIndex\":0,\"maxNumberOfExecution\":3,\"parallelEnvironment\":null,\"name\":\"WaitingTask2\",\"description\":\"\\n\\t\\t\\t\\t Waits for 4 seconds \\n\\t\\t\\t\",\"tag\":null,\"taskInfo\":{\"jobId\":{\"readableName\":\"script_python\",\"id\":1},\"inErrorTime\":-1,\"scheduledTime\":-1,\"finishedTime\":-1,\"progress\":0,\"startTime\":-1,\"executionDuration\":-1,\"numberOfExecutionLeft\":3,\"numberOfExecutionOnFailureLeft\":2,\"taskId\":{\"readableName\":\"WaitingTask2\",\"id\":2},\"taskStatus\":\"PAUSED\",\"executionHostName\":null},\"maxNumberOfExecutionOnFailure\":2,\"genericInformations\":{}}, {\"numberOfNodesNeeded\":1,\"iterationIndex\":0,\"replicationIndex\":0,\"maxNumberOfExecution\":3,\"parallelEnvironment\":null,\"name\":\"Python_Task\",\"description\":\"\\n\\t\\t\\t\\t The simplest task, ran by a python engine. \\n\\t\\t\\t\",\"tag\":null,\"taskInfo\":{\"jobId\":{\"readableName\":\"script_python\",\"id\":1},\"inErrorTime\":-1,\"scheduledTime\":-1,\"finishedTime\":-1,\"progress\":0,\"startTime\":-1,\"executionDuration\":-1,\"numberOfExecutionLeft\":3,\"numberOfExecutionOnFailureLeft\":2,\"taskId\":{\"readableName\":\"Python_Task\",\"id\":3},\"taskStatus\":\"PAUSED\",\"executionHostName\":null},\"maxNumberOfExecutionOnFailure\":2,\"genericInformations\":{}}]>\r\n\r\n```\r\n, after the restart of the scheduler."},"comment":{"url":"https://api.github.com/repos/ow2-proactive/scheduling/issues/comments/214206122","html_url":"https://github.com/ow2-proactive/scheduling/issues/2518#issuecomment-214206122","issue_url":"https://api.github.com/repos/ow2-proactive/scheduling/issues/2518","id":214206122,"user":{"login":"tobwiens","id":6491363,"avatar_url":"https://avatars.githubusercontent.com/u/6491363?v=3","gravatar_id":"","url":"https://api.github.com/users/tobwiens","html_url":"https://github.com/tobwiens","followers_url":"https://api.github.com/users/tobwiens/followers","following_url":"https://api.github.com/users/tobwiens/following{/other_user}","gists_url":"https://api.github.com/users/tobwiens/gists{/gist_id}","starred_url":"https://api.github.com/users/tobwiens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tobwiens/subscriptions","organizations_url":"https://api.github.com/users/tobwiens/orgs","repos_url":"https://api.github.com/users/tobwiens/repos","events_url":"https://api.github.com/users/tobwiens/events{/privacy}","received_events_url":"https://api.github.com/users/tobwiens/received_events","type":"User","site_admin":false},"created_at":"2016-04-25T08:33:00Z","updated_at":"2016-04-25T08:33:00Z","body":"Solved by: #2520"}}