{"action":"created","comment":{"url":"https://api.github.com/repos/eth-cscs/reframe/pulls/comments/226470492","pull_request_review_id":166080056,"id":226470492,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyNjQ3MDQ5Mg==","diff_hunk":"@@ -384,6 +384,13 @@ def test_cancel(self):\n         super().test_cancel()\n         self.assertEqual(self.testjob.state, SLURM_JOB_CANCELLED)\n \n+    def test_guess_num_tasks(self):\n+        self.testjob._num_tasks = 0\n+        self.testjob._flex_alloc_tasks = '0'\n+        self.testjob._get_available_nodes = lambda: set()","path":"unittests/test_schedulers.py","position":7,"original_position":7,"commit_id":"914efaa78d573a80cfd3dc76e565fe6705bfdb9f","original_commit_id":"7252431b0f123f304695f38427e9737383ed348a","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":"Put a comment here explaining the monkey patching.","created_at":"2018-10-18T21:23:09Z","updated_at":"2018-10-18T21:56:56Z","html_url":"https://github.com/eth-cscs/reframe/pull/522#discussion_r226470492","pull_request_url":"https://api.github.com/repos/eth-cscs/reframe/pulls/522","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/eth-cscs/reframe/pulls/comments/226470492"},"html":{"href":"https://github.com/eth-cscs/reframe/pull/522#discussion_r226470492"},"pull_request":{"href":"https://api.github.com/repos/eth-cscs/reframe/pulls/522"}}},"pull_request":{"url":"https://api.github.com/repos/eth-cscs/reframe/pulls/522","id":223589721,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIzNTg5NzIx","html_url":"https://github.com/eth-cscs/reframe/pull/522","diff_url":"https://github.com/eth-cscs/reframe/pull/522.diff","patch_url":"https://github.com/eth-cscs/reframe/pull/522.patch","issue_url":"https://api.github.com/repos/eth-cscs/reframe/issues/522","number":522,"state":"open","locked":false,"title":"[WIP] [feat] Support for flexible node allocation","user":{"login":"teojgo","id":20381005,"node_id":"MDQ6VXNlcjIwMzgxMDA1","avatar_url":"https://avatars2.githubusercontent.com/u/20381005?v=4","gravatar_id":"","url":"https://api.github.com/users/teojgo","html_url":"https://github.com/teojgo","followers_url":"https://api.github.com/users/teojgo/followers","following_url":"https://api.github.com/users/teojgo/following{/other_user}","gists_url":"https://api.github.com/users/teojgo/gists{/gist_id}","starred_url":"https://api.github.com/users/teojgo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/teojgo/subscriptions","organizations_url":"https://api.github.com/users/teojgo/orgs","repos_url":"https://api.github.com/users/teojgo/repos","events_url":"https://api.github.com/users/teojgo/events{/privacy}","received_events_url":"https://api.github.com/users/teojgo/received_events","type":"User","site_admin":false},"body":"* Add support for flexible node allocation triggered when\r\n  `self.num_tasks` is set to 0.\r\n\r\n* Add multiple unittests covering the main functionality of the\r\n  feature.\r\n\r\n* The flexible node allocation respects the cmd options and the\r\n  regression test options.\r\n\r\nCloses #105 \r\nCloses #104 \r\nPartially Addresses #75 ","created_at":"2018-10-17T12:48:22Z","updated_at":"2018-10-18T21:56:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":"960b37a8d8e0184e6bc426b71720bc903e60358f","assignee":{"login":"teojgo","id":20381005,"node_id":"MDQ6VXNlcjIwMzgxMDA1","avatar_url":"https://avatars2.githubusercontent.com/u/20381005?v=4","gravatar_id":"","url":"https://api.github.com/users/teojgo","html_url":"https://github.com/teojgo","followers_url":"https://api.github.com/users/teojgo/followers","following_url":"https://api.github.com/users/teojgo/following{/other_user}","gists_url":"https://api.github.com/users/teojgo/gists{/gist_id}","starred_url":"https://api.github.com/users/teojgo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/teojgo/subscriptions","organizations_url":"https://api.github.com/users/teojgo/orgs","repos_url":"https://api.github.com/users/teojgo/repos","events_url":"https://api.github.com/users/teojgo/events{/privacy}","received_events_url":"https://api.github.com/users/teojgo/received_events","type":"User","site_admin":false},"assignees":[{"login":"teojgo","id":20381005,"node_id":"MDQ6VXNlcjIwMzgxMDA1","avatar_url":"https://avatars2.githubusercontent.com/u/20381005?v=4","gravatar_id":"","url":"https://api.github.com/users/teojgo","html_url":"https://github.com/teojgo","followers_url":"https://api.github.com/users/teojgo/followers","following_url":"https://api.github.com/users/teojgo/following{/other_user}","gists_url":"https://api.github.com/users/teojgo/gists{/gist_id}","starred_url":"https://api.github.com/users/teojgo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/teojgo/subscriptions","organizations_url":"https://api.github.com/users/teojgo/orgs","repos_url":"https://api.github.com/users/teojgo/repos","events_url":"https://api.github.com/users/teojgo/events{/privacy}","received_events_url":"https://api.github.com/users/teojgo/received_events","type":"User","site_admin":false}],"requested_reviewers":[{"login":"victorusu","id":15230430,"node_id":"MDQ6VXNlcjE1MjMwNDMw","avatar_url":"https://avatars0.githubusercontent.com/u/15230430?v=4","gravatar_id":"","url":"https://api.github.com/users/victorusu","html_url":"https://github.com/victorusu","followers_url":"https://api.github.com/users/victorusu/followers","following_url":"https://api.github.com/users/victorusu/following{/other_user}","gists_url":"https://api.github.com/users/victorusu/gists{/gist_id}","starred_url":"https://api.github.com/users/victorusu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/victorusu/subscriptions","organizations_url":"https://api.github.com/users/victorusu/orgs","repos_url":"https://api.github.com/users/victorusu/repos","events_url":"https://api.github.com/users/victorusu/events{/privacy}","received_events_url":"https://api.github.com/users/victorusu/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[{"id":837050889,"node_id":"MDU6TGFiZWw4MzcwNTA4ODk=","url":"https://api.github.com/repos/eth-cscs/reframe/labels/enhancement","name":"enhancement","color":"0f5a77","default":true},{"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/11","html_url":"https://github.com/eth-cscs/reframe/milestone/11","labels_url":"https://api.github.com/repos/eth-cscs/reframe/milestones/11/labels","id":3715871,"node_id":"MDk6TWlsZXN0b25lMzcxNTg3MQ==","number":11,"title":"ReFrame sprint 2018w41","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":19,"closed_issues":35,"state":"open","created_at":"2018-10-05T18:53:05Z","updated_at":"2018-10-18T13:16:25Z","due_on":"2018-10-26T07:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/eth-cscs/reframe/pulls/522/commits","review_comments_url":"https://api.github.com/repos/eth-cscs/reframe/pulls/522/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/522/comments","statuses_url":"https://api.github.com/repos/eth-cscs/reframe/statuses/914efaa78d573a80cfd3dc76e565fe6705bfdb9f","head":{"label":"teojgo:feature/flexible_nodelist","ref":"feature/flexible_nodelist","sha":"914efaa78d573a80cfd3dc76e565fe6705bfdb9f","user":{"login":"teojgo","id":20381005,"node_id":"MDQ6VXNlcjIwMzgxMDA1","avatar_url":"https://avatars2.githubusercontent.com/u/20381005?v=4","gravatar_id":"","url":"https://api.github.com/users/teojgo","html_url":"https://github.com/teojgo","followers_url":"https://api.github.com/users/teojgo/followers","following_url":"https://api.github.com/users/teojgo/following{/other_user}","gists_url":"https://api.github.com/users/teojgo/gists{/gist_id}","starred_url":"https://api.github.com/users/teojgo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/teojgo/subscriptions","organizations_url":"https://api.github.com/users/teojgo/orgs","repos_url":"https://api.github.com/users/teojgo/repos","events_url":"https://api.github.com/users/teojgo/events{/privacy}","received_events_url":"https://api.github.com/users/teojgo/received_events","type":"User","site_admin":false},"repo":{"id":104719830,"node_id":"MDEwOlJlcG9zaXRvcnkxMDQ3MTk4MzA=","name":"reframe","full_name":"teojgo/reframe","private":false,"owner":{"login":"teojgo","id":20381005,"node_id":"MDQ6VXNlcjIwMzgxMDA1","avatar_url":"https://avatars2.githubusercontent.com/u/20381005?v=4","gravatar_id":"","url":"https://api.github.com/users/teojgo","html_url":"https://github.com/teojgo","followers_url":"https://api.github.com/users/teojgo/followers","following_url":"https://api.github.com/users/teojgo/following{/other_user}","gists_url":"https://api.github.com/users/teojgo/gists{/gist_id}","starred_url":"https://api.github.com/users/teojgo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/teojgo/subscriptions","organizations_url":"https://api.github.com/users/teojgo/orgs","repos_url":"https://api.github.com/users/teojgo/repos","events_url":"https://api.github.com/users/teojgo/events{/privacy}","received_events_url":"https://api.github.com/users/teojgo/received_events","type":"User","site_admin":false},"html_url":"https://github.com/teojgo/reframe","description":"A regression testing framework to facilitate the sanity checking of HPC systems.","fork":true,"url":"https://api.github.com/repos/teojgo/reframe","forks_url":"https://api.github.com/repos/teojgo/reframe/forks","keys_url":"https://api.github.com/repos/teojgo/reframe/keys{/key_id}","collaborators_url":"https://api.github.com/repos/teojgo/reframe/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/teojgo/reframe/teams","hooks_url":"https://api.github.com/repos/teojgo/reframe/hooks","issue_events_url":"https://api.github.com/repos/teojgo/reframe/issues/events{/number}","events_url":"https://api.github.com/repos/teojgo/reframe/events","assignees_url":"https://api.github.com/repos/teojgo/reframe/assignees{/user}","branches_url":"https://api.github.com/repos/teojgo/reframe/branches{/branch}","tags_url":"https://api.github.com/repos/teojgo/reframe/tags","blobs_url":"https://api.github.com/repos/teojgo/reframe/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/teojgo/reframe/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/teojgo/reframe/git/refs{/sha}","trees_url":"https://api.github.com/repos/teojgo/reframe/git/trees{/sha}","statuses_url":"https://api.github.com/repos/teojgo/reframe/statuses/{sha}","languages_url":"https://api.github.com/repos/teojgo/reframe/languages","stargazers_url":"https://api.github.com/repos/teojgo/reframe/stargazers","contributors_url":"https://api.github.com/repos/teojgo/reframe/contributors","subscribers_url":"https://api.github.com/repos/teojgo/reframe/subscribers","subscription_url":"https://api.github.com/repos/teojgo/reframe/subscription","commits_url":"https://api.github.com/repos/teojgo/reframe/commits{/sha}","git_commits_url":"https://api.github.com/repos/teojgo/reframe/git/commits{/sha}","comments_url":"https://api.github.com/repos/teojgo/reframe/comments{/number}","issue_comment_url":"https://api.github.com/repos/teojgo/reframe/issues/comments{/number}","contents_url":"https://api.github.com/repos/teojgo/reframe/contents/{+path}","compare_url":"https://api.github.com/repos/teojgo/reframe/compare/{base}...{head}","merges_url":"https://api.github.com/repos/teojgo/reframe/merges","archive_url":"https://api.github.com/repos/teojgo/reframe/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/teojgo/reframe/downloads","issues_url":"https://api.github.com/repos/teojgo/reframe/issues{/number}","pulls_url":"https://api.github.com/repos/teojgo/reframe/pulls{/number}","milestones_url":"https://api.github.com/repos/teojgo/reframe/milestones{/number}","notifications_url":"https://api.github.com/repos/teojgo/reframe/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/teojgo/reframe/labels{/name}","releases_url":"https://api.github.com/repos/teojgo/reframe/releases{/id}","deployments_url":"https://api.github.com/repos/teojgo/reframe/deployments","created_at":"2017-09-25T07:54:45Z","updated_at":"2018-10-17T07:47:09Z","pushed_at":"2018-10-18T15:11:07Z","git_url":"git://github.com/teojgo/reframe.git","ssh_url":"git@github.com:teojgo/reframe.git","clone_url":"https://github.com/teojgo/reframe.git","svn_url":"https://github.com/teojgo/reframe","homepage":"","size":15072,"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":1,"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":1,"watchers":0,"default_branch":"master"}},"base":{"label":"eth-cscs:master","ref":"master","sha":"0081b23e0374c46fe7fc11d039492feada774e39","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-10-18T11:49:55Z","pushed_at":"2018-10-18T15:11:08Z","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":28229,"stargazers_count":17,"watchers_count":17,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":15,"mirror_url":null,"archived":false,"open_issues_count":97,"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":15,"open_issues":97,"watchers":17,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/eth-cscs/reframe/pulls/522"},"html":{"href":"https://github.com/eth-cscs/reframe/pull/522"},"issue":{"href":"https://api.github.com/repos/eth-cscs/reframe/issues/522"},"comments":{"href":"https://api.github.com/repos/eth-cscs/reframe/issues/522/comments"},"review_comments":{"href":"https://api.github.com/repos/eth-cscs/reframe/pulls/522/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/522/commits"},"statuses":{"href":"https://api.github.com/repos/eth-cscs/reframe/statuses/914efaa78d573a80cfd3dc76e565fe6705bfdb9f"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"vkarak"}}