{"action":"created","comment":{"url":"https://api.github.com/repos/eth-cscs/reframe/pulls/comments/182701067","pull_request_review_id":113548589,"id":182701067,"diff_hunk":"@@ -1,89 +1,103 @@\n import reframe.core.debug as debug\n+from reframe.core.exceptions import (ReframeFatalError, StatisticsError)\n \n \n class TestStats:\n     \"\"\"Stores test case statistics.\"\"\"\n \n-    def __init__(self, tasks=[]):\n-        if not hasattr(tasks, '__iter__'):\n-            raise TypeError('expected an iterable')\n-\n-        # Store test cases per partition internally\n-        self._tasks_bypart = {}\n-        for t in tasks:\n-            partition = t.check.current_partition\n-            partname = partition.fullname if partition else 'None'\n-            tclist = self._tasks_bypart.setdefault(partname, [])\n-            tclist.append(t)\n+    def __init__(self):\n+        self._tasks = [[]]","path":"reframe/frontend/statistics.py","position":20,"original_position":20,"commit_id":"486979fd95285dab3051754eb96507c1c036324f","original_commit_id":"486979fd95285dab3051754eb96507c1c036324f","user":{"login":"omlins","id":29657571,"avatar_url":"https://avatars0.githubusercontent.com/u/29657571?v=4","gravatar_id":"","url":"https://api.github.com/users/omlins","html_url":"https://github.com/omlins","followers_url":"https://api.github.com/users/omlins/followers","following_url":"https://api.github.com/users/omlins/following{/other_user}","gists_url":"https://api.github.com/users/omlins/gists{/gist_id}","starred_url":"https://api.github.com/users/omlins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/omlins/subscriptions","organizations_url":"https://api.github.com/users/omlins/orgs","repos_url":"https://api.github.com/users/omlins/repos","events_url":"https://api.github.com/users/omlins/events{/privacy}","received_events_url":"https://api.github.com/users/omlins/received_events","type":"User","site_admin":false},"body":"Done.","created_at":"2018-04-19T10:25:29Z","updated_at":"2018-04-19T10:25:29Z","html_url":"https://github.com/eth-cscs/reframe/pull/194#discussion_r182701067","pull_request_url":"https://api.github.com/repos/eth-cscs/reframe/pulls/194","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/eth-cscs/reframe/pulls/comments/182701067"},"html":{"href":"https://github.com/eth-cscs/reframe/pull/194#discussion_r182701067"},"pull_request":{"href":"https://api.github.com/repos/eth-cscs/reframe/pulls/194"}},"in_reply_to_id":181719025},"pull_request":{"url":"https://api.github.com/repos/eth-cscs/reframe/pulls/194","id":173763455,"html_url":"https://github.com/eth-cscs/reframe/pull/194","diff_url":"https://github.com/eth-cscs/reframe/pull/194.diff","patch_url":"https://github.com/eth-cscs/reframe/pull/194.patch","issue_url":"https://api.github.com/repos/eth-cscs/reframe/issues/194","number":194,"state":"open","locked":false,"title":"Retry failed tests automatically","user":{"login":"omlins","id":29657571,"avatar_url":"https://avatars0.githubusercontent.com/u/29657571?v=4","gravatar_id":"","url":"https://api.github.com/users/omlins","html_url":"https://github.com/omlins","followers_url":"https://api.github.com/users/omlins/followers","following_url":"https://api.github.com/users/omlins/following{/other_user}","gists_url":"https://api.github.com/users/omlins/gists{/gist_id}","starred_url":"https://api.github.com/users/omlins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/omlins/subscriptions","organizations_url":"https://api.github.com/users/omlins/orgs","repos_url":"https://api.github.com/users/omlins/repos","events_url":"https://api.github.com/users/omlins/events{/privacy}","received_events_url":"https://api.github.com/users/omlins/received_events","type":"User","site_admin":false},"body":"This is a first implementation for support of retries with the asynchronous execution policy.\r\nThe implementation for support with the synchronous execution policy will be added in a second step.","created_at":"2018-03-08T15:17:32Z","updated_at":"2018-04-19T10:25:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2371fe3e9e38ea3d790b6ca5924cebb2fb963bb1","assignee":{"login":"omlins","id":29657571,"avatar_url":"https://avatars0.githubusercontent.com/u/29657571?v=4","gravatar_id":"","url":"https://api.github.com/users/omlins","html_url":"https://github.com/omlins","followers_url":"https://api.github.com/users/omlins/followers","following_url":"https://api.github.com/users/omlins/following{/other_user}","gists_url":"https://api.github.com/users/omlins/gists{/gist_id}","starred_url":"https://api.github.com/users/omlins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/omlins/subscriptions","organizations_url":"https://api.github.com/users/omlins/orgs","repos_url":"https://api.github.com/users/omlins/repos","events_url":"https://api.github.com/users/omlins/events{/privacy}","received_events_url":"https://api.github.com/users/omlins/received_events","type":"User","site_admin":false},"assignees":[{"login":"omlins","id":29657571,"avatar_url":"https://avatars0.githubusercontent.com/u/29657571?v=4","gravatar_id":"","url":"https://api.github.com/users/omlins","html_url":"https://github.com/omlins","followers_url":"https://api.github.com/users/omlins/followers","following_url":"https://api.github.com/users/omlins/following{/other_user}","gists_url":"https://api.github.com/users/omlins/gists{/gist_id}","starred_url":"https://api.github.com/users/omlins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/omlins/subscriptions","organizations_url":"https://api.github.com/users/omlins/orgs","repos_url":"https://api.github.com/users/omlins/repos","events_url":"https://api.github.com/users/omlins/events{/privacy}","received_events_url":"https://api.github.com/users/omlins/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":591715741,"url":"https://api.github.com/repos/eth-cscs/reframe/labels/enhancement","name":"enhancement","color":"1d76db","default":true},{"id":837051389,"url":"https://api.github.com/repos/eth-cscs/reframe/labels/frontend","name":"frontend","color":"004e00","default":false},{"id":837048081,"url":"https://api.github.com/repos/eth-cscs/reframe/labels/prio:%20important","name":"prio: important","color":"FFB645","default":false}],"milestone":{"url":"https://api.github.com/repos/eth-cscs/reframe/milestones/4","html_url":"https://github.com/eth-cscs/reframe/milestone/4","labels_url":"https://api.github.com/repos/eth-cscs/reframe/milestones/4/labels","id":3268219,"number":4,"title":"ReFrame sprint 2018w16","description":"","creator":{"login":"vkarak","id":611019,"avatar_url":"https://avatars1.githubusercontent.com/u/611019?v=4","gravatar_id":"","url":"https://api.github.com/users/vkarak","html_url":"https://github.com/vkarak","followers_url":"https://api.github.com/users/vkarak/followers","following_url":"https://api.github.com/users/vkarak/following{/other_user}","gists_url":"https://api.github.com/users/vkarak/gists{/gist_id}","starred_url":"https://api.github.com/users/vkarak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vkarak/subscriptions","organizations_url":"https://api.github.com/users/vkarak/orgs","repos_url":"https://api.github.com/users/vkarak/repos","events_url":"https://api.github.com/users/vkarak/events{/privacy}","received_events_url":"https://api.github.com/users/vkarak/received_events","type":"User","site_admin":false},"open_issues":21,"closed_issues":0,"state":"open","created_at":"2018-04-15T19:10:06Z","updated_at":"2018-04-19T07:14:40Z","due_on":"2018-05-03T07:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/eth-cscs/reframe/pulls/194/commits","review_comments_url":"https://api.github.com/repos/eth-cscs/reframe/pulls/194/comments","review_comment_url":"https://api.github.com/repos/eth-cscs/reframe/pulls/comments{/number}","comments_url":"https://api.github.com/repos/eth-cscs/reframe/issues/194/comments","statuses_url":"https://api.github.com/repos/eth-cscs/reframe/statuses/486979fd95285dab3051754eb96507c1c036324f","head":{"label":"eth-cscs:enhancement/support_retries","ref":"enhancement/support_retries","sha":"486979fd95285dab3051754eb96507c1c036324f","user":{"login":"eth-cscs","id":5744410,"avatar_url":"https://avatars0.githubusercontent.com/u/5744410?v=4","gravatar_id":"","url":"https://api.github.com/users/eth-cscs","html_url":"https://github.com/eth-cscs","followers_url":"https://api.github.com/users/eth-cscs/followers","following_url":"https://api.github.com/users/eth-cscs/following{/other_user}","gists_url":"https://api.github.com/users/eth-cscs/gists{/gist_id}","starred_url":"https://api.github.com/users/eth-cscs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eth-cscs/subscriptions","organizations_url":"https://api.github.com/users/eth-cscs/orgs","repos_url":"https://api.github.com/users/eth-cscs/repos","events_url":"https://api.github.com/users/eth-cscs/events{/privacy}","received_events_url":"https://api.github.com/users/eth-cscs/received_events","type":"Organization","site_admin":false},"repo":{"id":89384186,"name":"reframe","full_name":"eth-cscs/reframe","owner":{"login":"eth-cscs","id":5744410,"avatar_url":"https://avatars0.githubusercontent.com/u/5744410?v=4","gravatar_id":"","url":"https://api.github.com/users/eth-cscs","html_url":"https://github.com/eth-cscs","followers_url":"https://api.github.com/users/eth-cscs/followers","following_url":"https://api.github.com/users/eth-cscs/following{/other_user}","gists_url":"https://api.github.com/users/eth-cscs/gists{/gist_id}","starred_url":"https://api.github.com/users/eth-cscs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eth-cscs/subscriptions","organizations_url":"https://api.github.com/users/eth-cscs/orgs","repos_url":"https://api.github.com/users/eth-cscs/repos","events_url":"https://api.github.com/users/eth-cscs/events{/privacy}","received_events_url":"https://api.github.com/users/eth-cscs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/eth-cscs/reframe","description":"A regression testing framework to facilitate the sanity checking of HPC systems.","fork":false,"url":"https://api.github.com/repos/eth-cscs/reframe","forks_url":"https://api.github.com/repos/eth-cscs/reframe/forks","keys_url":"https://api.github.com/repos/eth-cscs/reframe/keys{/key_id}","collaborators_url":"https://api.github.com/repos/eth-cscs/reframe/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/eth-cscs/reframe/teams","hooks_url":"https://api.github.com/repos/eth-cscs/reframe/hooks","issue_events_url":"https://api.github.com/repos/eth-cscs/reframe/issues/events{/number}","events_url":"https://api.github.com/repos/eth-cscs/reframe/events","assignees_url":"https://api.github.com/repos/eth-cscs/reframe/assignees{/user}","branches_url":"https://api.github.com/repos/eth-cscs/reframe/branches{/branch}","tags_url":"https://api.github.com/repos/eth-cscs/reframe/tags","blobs_url":"https://api.github.com/repos/eth-cscs/reframe/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/eth-cscs/reframe/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/eth-cscs/reframe/git/refs{/sha}","trees_url":"https://api.github.com/repos/eth-cscs/reframe/git/trees{/sha}","statuses_url":"https://api.github.com/repos/eth-cscs/reframe/statuses/{sha}","languages_url":"https://api.github.com/repos/eth-cscs/reframe/languages","stargazers_url":"https://api.github.com/repos/eth-cscs/reframe/stargazers","contributors_url":"https://api.github.com/repos/eth-cscs/reframe/contributors","subscribers_url":"https://api.github.com/repos/eth-cscs/reframe/subscribers","subscription_url":"https://api.github.com/repos/eth-cscs/reframe/subscription","commits_url":"https://api.github.com/repos/eth-cscs/reframe/commits{/sha}","git_commits_url":"https://api.github.com/repos/eth-cscs/reframe/git/commits{/sha}","comments_url":"https://api.github.com/repos/eth-cscs/reframe/comments{/number}","issue_comment_url":"https://api.github.com/repos/eth-cscs/reframe/issues/comments{/number}","contents_url":"https://api.github.com/repos/eth-cscs/reframe/contents/{+path}","compare_url":"https://api.github.com/repos/eth-cscs/reframe/compare/{base}...{head}","merges_url":"https://api.github.com/repos/eth-cscs/reframe/merges","archive_url":"https://api.github.com/repos/eth-cscs/reframe/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/eth-cscs/reframe/downloads","issues_url":"https://api.github.com/repos/eth-cscs/reframe/issues{/number}","pulls_url":"https://api.github.com/repos/eth-cscs/reframe/pulls{/number}","milestones_url":"https://api.github.com/repos/eth-cscs/reframe/milestones{/number}","notifications_url":"https://api.github.com/repos/eth-cscs/reframe/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/eth-cscs/reframe/labels{/name}","releases_url":"https://api.github.com/repos/eth-cscs/reframe/releases{/id}","deployments_url":"https://api.github.com/repos/eth-cscs/reframe/deployments","created_at":"2017-04-25T16:43:23Z","updated_at":"2018-04-16T11:52:52Z","pushed_at":"2018-04-19T08:26:41Z","git_url":"git://github.com/eth-cscs/reframe.git","ssh_url":"git@github.com:eth-cscs/reframe.git","clone_url":"https://github.com/eth-cscs/reframe.git","svn_url":"https://github.com/eth-cscs/reframe","homepage":"","size":11418,"stargazers_count":4,"watchers_count":4,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":9,"mirror_url":null,"archived":false,"open_issues_count":100,"license":{"key":"bsd-3-clause","name":"BSD 3-Clause \"New\" or \"Revised\" License","spdx_id":"BSD-3-Clause","url":"https://api.github.com/licenses/bsd-3-clause"},"forks":9,"open_issues":100,"watchers":4,"default_branch":"master"}},"base":{"label":"eth-cscs:master","ref":"master","sha":"b02a83808ff53333b252861eea86599e0a6bf821","user":{"login":"eth-cscs","id":5744410,"avatar_url":"https://avatars0.githubusercontent.com/u/5744410?v=4","gravatar_id":"","url":"https://api.github.com/users/eth-cscs","html_url":"https://github.com/eth-cscs","followers_url":"https://api.github.com/users/eth-cscs/followers","following_url":"https://api.github.com/users/eth-cscs/following{/other_user}","gists_url":"https://api.github.com/users/eth-cscs/gists{/gist_id}","starred_url":"https://api.github.com/users/eth-cscs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eth-cscs/subscriptions","organizations_url":"https://api.github.com/users/eth-cscs/orgs","repos_url":"https://api.github.com/users/eth-cscs/repos","events_url":"https://api.github.com/users/eth-cscs/events{/privacy}","received_events_url":"https://api.github.com/users/eth-cscs/received_events","type":"Organization","site_admin":false},"repo":{"id":89384186,"name":"reframe","full_name":"eth-cscs/reframe","owner":{"login":"eth-cscs","id":5744410,"avatar_url":"https://avatars0.githubusercontent.com/u/5744410?v=4","gravatar_id":"","url":"https://api.github.com/users/eth-cscs","html_url":"https://github.com/eth-cscs","followers_url":"https://api.github.com/users/eth-cscs/followers","following_url":"https://api.github.com/users/eth-cscs/following{/other_user}","gists_url":"https://api.github.com/users/eth-cscs/gists{/gist_id}","starred_url":"https://api.github.com/users/eth-cscs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eth-cscs/subscriptions","organizations_url":"https://api.github.com/users/eth-cscs/orgs","repos_url":"https://api.github.com/users/eth-cscs/repos","events_url":"https://api.github.com/users/eth-cscs/events{/privacy}","received_events_url":"https://api.github.com/users/eth-cscs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/eth-cscs/reframe","description":"A regression testing framework to facilitate the sanity checking of HPC systems.","fork":false,"url":"https://api.github.com/repos/eth-cscs/reframe","forks_url":"https://api.github.com/repos/eth-cscs/reframe/forks","keys_url":"https://api.github.com/repos/eth-cscs/reframe/keys{/key_id}","collaborators_url":"https://api.github.com/repos/eth-cscs/reframe/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/eth-cscs/reframe/teams","hooks_url":"https://api.github.com/repos/eth-cscs/reframe/hooks","issue_events_url":"https://api.github.com/repos/eth-cscs/reframe/issues/events{/number}","events_url":"https://api.github.com/repos/eth-cscs/reframe/events","assignees_url":"https://api.github.com/repos/eth-cscs/reframe/assignees{/user}","branches_url":"https://api.github.com/repos/eth-cscs/reframe/branches{/branch}","tags_url":"https://api.github.com/repos/eth-cscs/reframe/tags","blobs_url":"https://api.github.com/repos/eth-cscs/reframe/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/eth-cscs/reframe/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/eth-cscs/reframe/git/refs{/sha}","trees_url":"https://api.github.com/repos/eth-cscs/reframe/git/trees{/sha}","statuses_url":"https://api.github.com/repos/eth-cscs/reframe/statuses/{sha}","languages_url":"https://api.github.com/repos/eth-cscs/reframe/languages","stargazers_url":"https://api.github.com/repos/eth-cscs/reframe/stargazers","contributors_url":"https://api.github.com/repos/eth-cscs/reframe/contributors","subscribers_url":"https://api.github.com/repos/eth-cscs/reframe/subscribers","subscription_url":"https://api.github.com/repos/eth-cscs/reframe/subscription","commits_url":"https://api.github.com/repos/eth-cscs/reframe/commits{/sha}","git_commits_url":"https://api.github.com/repos/eth-cscs/reframe/git/commits{/sha}","comments_url":"https://api.github.com/repos/eth-cscs/reframe/comments{/number}","issue_comment_url":"https://api.github.com/repos/eth-cscs/reframe/issues/comments{/number}","contents_url":"https://api.github.com/repos/eth-cscs/reframe/contents/{+path}","compare_url":"https://api.github.com/repos/eth-cscs/reframe/compare/{base}...{head}","merges_url":"https://api.github.com/repos/eth-cscs/reframe/merges","archive_url":"https://api.github.com/repos/eth-cscs/reframe/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/eth-cscs/reframe/downloads","issues_url":"https://api.github.com/repos/eth-cscs/reframe/issues{/number}","pulls_url":"https://api.github.com/repos/eth-cscs/reframe/pulls{/number}","milestones_url":"https://api.github.com/repos/eth-cscs/reframe/milestones{/number}","notifications_url":"https://api.github.com/repos/eth-cscs/reframe/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/eth-cscs/reframe/labels{/name}","releases_url":"https://api.github.com/repos/eth-cscs/reframe/releases{/id}","deployments_url":"https://api.github.com/repos/eth-cscs/reframe/deployments","created_at":"2017-04-25T16:43:23Z","updated_at":"2018-04-16T11:52:52Z","pushed_at":"2018-04-19T08:26:41Z","git_url":"git://github.com/eth-cscs/reframe.git","ssh_url":"git@github.com:eth-cscs/reframe.git","clone_url":"https://github.com/eth-cscs/reframe.git","svn_url":"https://github.com/eth-cscs/reframe","homepage":"","size":11418,"stargazers_count":4,"watchers_count":4,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":9,"mirror_url":null,"archived":false,"open_issues_count":100,"license":{"key":"bsd-3-clause","name":"BSD 3-Clause \"New\" or \"Revised\" License","spdx_id":"BSD-3-Clause","url":"https://api.github.com/licenses/bsd-3-clause"},"forks":9,"open_issues":100,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/eth-cscs/reframe/pulls/194"},"html":{"href":"https://github.com/eth-cscs/reframe/pull/194"},"issue":{"href":"https://api.github.com/repos/eth-cscs/reframe/issues/194"},"comments":{"href":"https://api.github.com/repos/eth-cscs/reframe/issues/194/comments"},"review_comments":{"href":"https://api.github.com/repos/eth-cscs/reframe/pulls/194/comments"},"review_comment":{"href":"https://api.github.com/repos/eth-cscs/reframe/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/eth-cscs/reframe/pulls/194/commits"},"statuses":{"href":"https://api.github.com/repos/eth-cscs/reframe/statuses/486979fd95285dab3051754eb96507c1c036324f"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"omlins"}}