{"action":"created","comment":{"url":"https://api.github.com/repos/eth-cscs/reframe/pulls/comments/241338427","pull_request_review_id":184580139,"id":241338427,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI0MTMzODQyNw==","diff_hunk":"@@ -0,0 +1,48 @@\n+import reframe.core.runtime as rt\n+import reframe.utility.sanity as util\n+\n+def have_name(names):\n+    def _fn(c):\n+        return c.name in names\n+\n+    return _fn\n+\n+def have_not_name(names):\n+    def _fn(c):\n+        return not have_name(names)(c)\n+\n+    return _fn\n+\n+def have_tag(tags):\n+    def _fn(c):\n+        return (set(tags)).issubset(c.tags)\n+\n+    return _fn\n+\n+def have_prgenv(prgenv):\n+    def _fn(c):\n+        if prgenv:\n+            return util.allx(c.supports_environ(e) for e in prgenv)\n+        else:\n+            return bool(c.valid_prog_environs)\n+\n+    return _fn\n+\n+def have_system():\n+    def _fn(c):\n+        return any([c.supports_system(s.fullname)\n+                    for s in rt.runtime().system.partitions])\n+\n+    return _fn\n+\n+def is_gpu_only():\n+    def _fn(c):\n+        return c.num_gpus_per_node > 0\n+\n+    return _fn\n+\n+def is_cpu_only():","path":"reframe/frontend/check_filters.py","position":44,"original_position":44,"commit_id":"3c7e58b8a6729217126516974b4560b45a4852a4","original_commit_id":"3c7e58b8a6729217126516974b4560b45a4852a4","user":{"login":"vkarak","id":611019,"node_id":"MDQ6VXNlcjYxMTAxOQ==","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},"body":"I would simply change the name of this function to `have_cpu_only()`.","created_at":"2018-12-13T10:03:40Z","updated_at":"2018-12-13T10:46:30Z","html_url":"https://github.com/eth-cscs/reframe/pull/629#discussion_r241338427","pull_request_url":"https://api.github.com/repos/eth-cscs/reframe/pulls/629","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/eth-cscs/reframe/pulls/comments/241338427"},"html":{"href":"https://github.com/eth-cscs/reframe/pull/629#discussion_r241338427"},"pull_request":{"href":"https://api.github.com/repos/eth-cscs/reframe/pulls/629"}},"in_reply_to_id":241321684},"pull_request":{"url":"https://api.github.com/repos/eth-cscs/reframe/pulls/629","id":237982597,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM3OTgyNTk3","html_url":"https://github.com/eth-cscs/reframe/pull/629","diff_url":"https://github.com/eth-cscs/reframe/pull/629.diff","patch_url":"https://github.com/eth-cscs/reframe/pull/629.patch","issue_url":"https://api.github.com/repos/eth-cscs/reframe/issues/629","number":629,"state":"open","locked":false,"title":"[refactor][WIP] Refactor test selection phase","user":{"login":"ChristopherBignamini","id":12844832,"node_id":"MDQ6VXNlcjEyODQ0ODMy","avatar_url":"https://avatars1.githubusercontent.com/u/12844832?v=4","gravatar_id":"","url":"https://api.github.com/users/ChristopherBignamini","html_url":"https://github.com/ChristopherBignamini","followers_url":"https://api.github.com/users/ChristopherBignamini/followers","following_url":"https://api.github.com/users/ChristopherBignamini/following{/other_user}","gists_url":"https://api.github.com/users/ChristopherBignamini/gists{/gist_id}","starred_url":"https://api.github.com/users/ChristopherBignamini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChristopherBignamini/subscriptions","organizations_url":"https://api.github.com/users/ChristopherBignamini/orgs","repos_url":"https://api.github.com/users/ChristopherBignamini/repos","events_url":"https://api.github.com/users/ChristopherBignamini/events{/privacy}","received_events_url":"https://api.github.com/users/ChristopherBignamini/received_events","type":"User","site_admin":false},"body":"Closes #488 ","created_at":"2018-12-12T10:21:22Z","updated_at":"2018-12-13T10:46:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":"bf9ec1d9e9da1bef2989bcc093367ed3ec70ff45","assignee":{"login":"ChristopherBignamini","id":12844832,"node_id":"MDQ6VXNlcjEyODQ0ODMy","avatar_url":"https://avatars1.githubusercontent.com/u/12844832?v=4","gravatar_id":"","url":"https://api.github.com/users/ChristopherBignamini","html_url":"https://github.com/ChristopherBignamini","followers_url":"https://api.github.com/users/ChristopherBignamini/followers","following_url":"https://api.github.com/users/ChristopherBignamini/following{/other_user}","gists_url":"https://api.github.com/users/ChristopherBignamini/gists{/gist_id}","starred_url":"https://api.github.com/users/ChristopherBignamini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChristopherBignamini/subscriptions","organizations_url":"https://api.github.com/users/ChristopherBignamini/orgs","repos_url":"https://api.github.com/users/ChristopherBignamini/repos","events_url":"https://api.github.com/users/ChristopherBignamini/events{/privacy}","received_events_url":"https://api.github.com/users/ChristopherBignamini/received_events","type":"User","site_admin":false},"assignees":[{"login":"ChristopherBignamini","id":12844832,"node_id":"MDQ6VXNlcjEyODQ0ODMy","avatar_url":"https://avatars1.githubusercontent.com/u/12844832?v=4","gravatar_id":"","url":"https://api.github.com/users/ChristopherBignamini","html_url":"https://github.com/ChristopherBignamini","followers_url":"https://api.github.com/users/ChristopherBignamini/followers","following_url":"https://api.github.com/users/ChristopherBignamini/following{/other_user}","gists_url":"https://api.github.com/users/ChristopherBignamini/gists{/gist_id}","starred_url":"https://api.github.com/users/ChristopherBignamini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChristopherBignamini/subscriptions","organizations_url":"https://api.github.com/users/ChristopherBignamini/orgs","repos_url":"https://api.github.com/users/ChristopherBignamini/repos","events_url":"https://api.github.com/users/ChristopherBignamini/events{/privacy}","received_events_url":"https://api.github.com/users/ChristopherBignamini/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":837049373,"node_id":"MDU6TGFiZWw4MzcwNDkzNzM=","url":"https://api.github.com/repos/eth-cscs/reframe/labels/code%20quality","name":"code quality","color":"d1d100","default":false},{"id":837048258,"node_id":"MDU6TGFiZWw4MzcwNDgyNTg=","url":"https://api.github.com/repos/eth-cscs/reframe/labels/prio:%20normal","name":"prio: normal","color":"5CB85C","default":false}],"milestone":{"url":"https://api.github.com/repos/eth-cscs/reframe/milestones/13","html_url":"https://github.com/eth-cscs/reframe/milestone/13","labels_url":"https://api.github.com/repos/eth-cscs/reframe/milestones/13/labels","id":3832530,"node_id":"MDk6TWlsZXN0b25lMzgzMjUzMA==","number":13,"title":"ReFrame sprint 2018w48","description":"","creator":{"login":"vkarak","id":611019,"node_id":"MDQ6VXNlcjYxMTAxOQ==","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":8,"closed_issues":36,"state":"open","created_at":"2018-11-19T18:21:50Z","updated_at":"2018-12-12T11:56:54Z","due_on":"2018-12-13T08:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/eth-cscs/reframe/pulls/629/commits","review_comments_url":"https://api.github.com/repos/eth-cscs/reframe/pulls/629/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/629/comments","statuses_url":"https://api.github.com/repos/eth-cscs/reframe/statuses/3c7e58b8a6729217126516974b4560b45a4852a4","head":{"label":"ChristopherBignamini:collections_user_list","ref":"collections_user_list","sha":"3c7e58b8a6729217126516974b4560b45a4852a4","user":{"login":"ChristopherBignamini","id":12844832,"node_id":"MDQ6VXNlcjEyODQ0ODMy","avatar_url":"https://avatars1.githubusercontent.com/u/12844832?v=4","gravatar_id":"","url":"https://api.github.com/users/ChristopherBignamini","html_url":"https://github.com/ChristopherBignamini","followers_url":"https://api.github.com/users/ChristopherBignamini/followers","following_url":"https://api.github.com/users/ChristopherBignamini/following{/other_user}","gists_url":"https://api.github.com/users/ChristopherBignamini/gists{/gist_id}","starred_url":"https://api.github.com/users/ChristopherBignamini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChristopherBignamini/subscriptions","organizations_url":"https://api.github.com/users/ChristopherBignamini/orgs","repos_url":"https://api.github.com/users/ChristopherBignamini/repos","events_url":"https://api.github.com/users/ChristopherBignamini/events{/privacy}","received_events_url":"https://api.github.com/users/ChristopherBignamini/received_events","type":"User","site_admin":false},"repo":{"id":160197447,"node_id":"MDEwOlJlcG9zaXRvcnkxNjAxOTc0NDc=","name":"reframe","full_name":"ChristopherBignamini/reframe","private":false,"owner":{"login":"ChristopherBignamini","id":12844832,"node_id":"MDQ6VXNlcjEyODQ0ODMy","avatar_url":"https://avatars1.githubusercontent.com/u/12844832?v=4","gravatar_id":"","url":"https://api.github.com/users/ChristopherBignamini","html_url":"https://github.com/ChristopherBignamini","followers_url":"https://api.github.com/users/ChristopherBignamini/followers","following_url":"https://api.github.com/users/ChristopherBignamini/following{/other_user}","gists_url":"https://api.github.com/users/ChristopherBignamini/gists{/gist_id}","starred_url":"https://api.github.com/users/ChristopherBignamini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChristopherBignamini/subscriptions","organizations_url":"https://api.github.com/users/ChristopherBignamini/orgs","repos_url":"https://api.github.com/users/ChristopherBignamini/repos","events_url":"https://api.github.com/users/ChristopherBignamini/events{/privacy}","received_events_url":"https://api.github.com/users/ChristopherBignamini/received_events","type":"User","site_admin":false},"html_url":"https://github.com/ChristopherBignamini/reframe","description":"A regression testing framework to facilitate the sanity checking of HPC systems.","fork":true,"url":"https://api.github.com/repos/ChristopherBignamini/reframe","forks_url":"https://api.github.com/repos/ChristopherBignamini/reframe/forks","keys_url":"https://api.github.com/repos/ChristopherBignamini/reframe/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ChristopherBignamini/reframe/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ChristopherBignamini/reframe/teams","hooks_url":"https://api.github.com/repos/ChristopherBignamini/reframe/hooks","issue_events_url":"https://api.github.com/repos/ChristopherBignamini/reframe/issues/events{/number}","events_url":"https://api.github.com/repos/ChristopherBignamini/reframe/events","assignees_url":"https://api.github.com/repos/ChristopherBignamini/reframe/assignees{/user}","branches_url":"https://api.github.com/repos/ChristopherBignamini/reframe/branches{/branch}","tags_url":"https://api.github.com/repos/ChristopherBignamini/reframe/tags","blobs_url":"https://api.github.com/repos/ChristopherBignamini/reframe/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ChristopherBignamini/reframe/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ChristopherBignamini/reframe/git/refs{/sha}","trees_url":"https://api.github.com/repos/ChristopherBignamini/reframe/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ChristopherBignamini/reframe/statuses/{sha}","languages_url":"https://api.github.com/repos/ChristopherBignamini/reframe/languages","stargazers_url":"https://api.github.com/repos/ChristopherBignamini/reframe/stargazers","contributors_url":"https://api.github.com/repos/ChristopherBignamini/reframe/contributors","subscribers_url":"https://api.github.com/repos/ChristopherBignamini/reframe/subscribers","subscription_url":"https://api.github.com/repos/ChristopherBignamini/reframe/subscription","commits_url":"https://api.github.com/repos/ChristopherBignamini/reframe/commits{/sha}","git_commits_url":"https://api.github.com/repos/ChristopherBignamini/reframe/git/commits{/sha}","comments_url":"https://api.github.com/repos/ChristopherBignamini/reframe/comments{/number}","issue_comment_url":"https://api.github.com/repos/ChristopherBignamini/reframe/issues/comments{/number}","contents_url":"https://api.github.com/repos/ChristopherBignamini/reframe/contents/{+path}","compare_url":"https://api.github.com/repos/ChristopherBignamini/reframe/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ChristopherBignamini/reframe/merges","archive_url":"https://api.github.com/repos/ChristopherBignamini/reframe/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ChristopherBignamini/reframe/downloads","issues_url":"https://api.github.com/repos/ChristopherBignamini/reframe/issues{/number}","pulls_url":"https://api.github.com/repos/ChristopherBignamini/reframe/pulls{/number}","milestones_url":"https://api.github.com/repos/ChristopherBignamini/reframe/milestones{/number}","notifications_url":"https://api.github.com/repos/ChristopherBignamini/reframe/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ChristopherBignamini/reframe/labels{/name}","releases_url":"https://api.github.com/repos/ChristopherBignamini/reframe/releases{/id}","deployments_url":"https://api.github.com/repos/ChristopherBignamini/reframe/deployments","created_at":"2018-12-03T13:44:28Z","updated_at":"2018-12-12T10:12:46Z","pushed_at":"2018-12-12T13:58:39Z","git_url":"git://github.com/ChristopherBignamini/reframe.git","ssh_url":"git@github.com:ChristopherBignamini/reframe.git","clone_url":"https://github.com/ChristopherBignamini/reframe.git","svn_url":"https://github.com/ChristopherBignamini/reframe","homepage":"","size":30605,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"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","node_id":"MDc6TGljZW5zZTU="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"eth-cscs:master","ref":"master","sha":"16563ff40f42797f6adab02d45725061169f4032","user":{"login":"eth-cscs","id":5744410,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU3NDQ0MTA=","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,"node_id":"MDEwOlJlcG9zaXRvcnk4OTM4NDE4Ng==","name":"reframe","full_name":"eth-cscs/reframe","private":false,"owner":{"login":"eth-cscs","id":5744410,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU3NDQ0MTA=","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},"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-12-10T22:27:28Z","pushed_at":"2018-12-13T10:23:56Z","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":30573,"stargazers_count":27,"watchers_count":27,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":18,"mirror_url":null,"archived":false,"open_issues_count":112,"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","node_id":"MDc6TGljZW5zZTU="},"forks":18,"open_issues":112,"watchers":27,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/eth-cscs/reframe/pulls/629"},"html":{"href":"https://github.com/eth-cscs/reframe/pull/629"},"issue":{"href":"https://api.github.com/repos/eth-cscs/reframe/issues/629"},"comments":{"href":"https://api.github.com/repos/eth-cscs/reframe/issues/629/comments"},"review_comments":{"href":"https://api.github.com/repos/eth-cscs/reframe/pulls/629/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/629/commits"},"statuses":{"href":"https://api.github.com/repos/eth-cscs/reframe/statuses/3c7e58b8a6729217126516974b4560b45a4852a4"}},"author_association":"NONE"}}
{"actor":{"display_login":"vkarak"}}