{"action":"created","comment":{"url":"https://api.github.com/repos/refinery-platform/django_docker_engine/pulls/comments/219497152","pull_request_review_id":157690282,"id":219497152,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxOTQ5NzE1Mg==","diff_hunk":"@@ -140,6 +140,10 @@ def _kill_lru(self, need_to_free):\n         lru_sorted = self._historian.sort_lru(container_ids)\n         memory_freed = 0\n         while memory_freed < need_to_free:\n+            if len(lru_sorted) == 0:\n+                logger.warn('No more containers to kill, but we still do not '\n+                            'have the requested memory; Starting anyway!')","path":"django_docker_engine/docker_utils.py","position":6,"original_position":6,"commit_id":"dcbd9718cdf424773f910925695690cfde5a293a","original_commit_id":"dcbd9718cdf424773f910925695690cfde5a293a","user":{"login":"jkmarx","id":9956764,"node_id":"MDQ6VXNlcjk5NTY3NjQ=","avatar_url":"https://avatars3.githubusercontent.com/u/9956764?v=4","gravatar_id":"","url":"https://api.github.com/users/jkmarx","html_url":"https://github.com/jkmarx","followers_url":"https://api.github.com/users/jkmarx/followers","following_url":"https://api.github.com/users/jkmarx/following{/other_user}","gists_url":"https://api.github.com/users/jkmarx/gists{/gist_id}","starred_url":"https://api.github.com/users/jkmarx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jkmarx/subscriptions","organizations_url":"https://api.github.com/users/jkmarx/orgs","repos_url":"https://api.github.com/users/jkmarx/repos","events_url":"https://api.github.com/users/jkmarx/events{/privacy}","received_events_url":"https://api.github.com/users/jkmarx/received_events","type":"User","site_admin":false},"body":"What are the implications?","created_at":"2018-09-21T13:29:55Z","updated_at":"2018-09-21T13:30:03Z","html_url":"https://github.com/refinery-platform/django_docker_engine/pull/194#discussion_r219497152","pull_request_url":"https://api.github.com/repos/refinery-platform/django_docker_engine/pulls/194","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/refinery-platform/django_docker_engine/pulls/comments/219497152"},"html":{"href":"https://github.com/refinery-platform/django_docker_engine/pull/194#discussion_r219497152"},"pull_request":{"href":"https://api.github.com/repos/refinery-platform/django_docker_engine/pulls/194"}}},"pull_request":{"url":"https://api.github.com/repos/refinery-platform/django_docker_engine/pulls/194","id":217284072,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE3Mjg0MDcy","html_url":"https://github.com/refinery-platform/django_docker_engine/pull/194","diff_url":"https://github.com/refinery-platform/django_docker_engine/pull/194.diff","patch_url":"https://github.com/refinery-platform/django_docker_engine/pull/194.patch","issue_url":"https://api.github.com/repos/refinery-platform/django_docker_engine/issues/194","number":194,"state":"open","locked":false,"title":"Handle edge case on demo where mem has been set low for testing","user":{"login":"mccalluc","id":730388,"node_id":"MDQ6VXNlcjczMDM4OA==","avatar_url":"https://avatars2.githubusercontent.com/u/730388?v=4","gravatar_id":"","url":"https://api.github.com/users/mccalluc","html_url":"https://github.com/mccalluc","followers_url":"https://api.github.com/users/mccalluc/followers","following_url":"https://api.github.com/users/mccalluc/following{/other_user}","gists_url":"https://api.github.com/users/mccalluc/gists{/gist_id}","starred_url":"https://api.github.com/users/mccalluc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mccalluc/subscriptions","organizations_url":"https://api.github.com/users/mccalluc/orgs","repos_url":"https://api.github.com/users/mccalluc/repos","events_url":"https://api.github.com/users/mccalluc/events{/privacy}","received_events_url":"https://api.github.com/users/mccalluc/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-09-21T13:27:50Z","updated_at":"2018-09-21T13:30:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4d89c9c8cb9bb0089a2800ffae0fa0321d636909","assignee":null,"assignees":[],"requested_reviewers":[{"login":"scottx611x","id":5629547,"node_id":"MDQ6VXNlcjU2Mjk1NDc=","avatar_url":"https://avatars2.githubusercontent.com/u/5629547?v=4","gravatar_id":"","url":"https://api.github.com/users/scottx611x","html_url":"https://github.com/scottx611x","followers_url":"https://api.github.com/users/scottx611x/followers","following_url":"https://api.github.com/users/scottx611x/following{/other_user}","gists_url":"https://api.github.com/users/scottx611x/gists{/gist_id}","starred_url":"https://api.github.com/users/scottx611x/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scottx611x/subscriptions","organizations_url":"https://api.github.com/users/scottx611x/orgs","repos_url":"https://api.github.com/users/scottx611x/repos","events_url":"https://api.github.com/users/scottx611x/events{/privacy}","received_events_url":"https://api.github.com/users/scottx611x/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/refinery-platform/django_docker_engine/pulls/194/commits","review_comments_url":"https://api.github.com/repos/refinery-platform/django_docker_engine/pulls/194/comments","review_comment_url":"https://api.github.com/repos/refinery-platform/django_docker_engine/pulls/comments{/number}","comments_url":"https://api.github.com/repos/refinery-platform/django_docker_engine/issues/194/comments","statuses_url":"https://api.github.com/repos/refinery-platform/django_docker_engine/statuses/dcbd9718cdf424773f910925695690cfde5a293a","head":{"label":"refinery-platform:mccalluc/single-tool-uses-more-memory-than-available","ref":"mccalluc/single-tool-uses-more-memory-than-available","sha":"dcbd9718cdf424773f910925695690cfde5a293a","user":{"login":"refinery-platform","id":16256162,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE2MjU2MTYy","avatar_url":"https://avatars0.githubusercontent.com/u/16256162?v=4","gravatar_id":"","url":"https://api.github.com/users/refinery-platform","html_url":"https://github.com/refinery-platform","followers_url":"https://api.github.com/users/refinery-platform/followers","following_url":"https://api.github.com/users/refinery-platform/following{/other_user}","gists_url":"https://api.github.com/users/refinery-platform/gists{/gist_id}","starred_url":"https://api.github.com/users/refinery-platform/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/refinery-platform/subscriptions","organizations_url":"https://api.github.com/users/refinery-platform/orgs","repos_url":"https://api.github.com/users/refinery-platform/repos","events_url":"https://api.github.com/users/refinery-platform/events{/privacy}","received_events_url":"https://api.github.com/users/refinery-platform/received_events","type":"Organization","site_admin":false},"repo":{"id":84844955,"node_id":"MDEwOlJlcG9zaXRvcnk4NDg0NDk1NQ==","name":"django_docker_engine","full_name":"refinery-platform/django_docker_engine","private":false,"owner":{"login":"refinery-platform","id":16256162,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE2MjU2MTYy","avatar_url":"https://avatars0.githubusercontent.com/u/16256162?v=4","gravatar_id":"","url":"https://api.github.com/users/refinery-platform","html_url":"https://github.com/refinery-platform","followers_url":"https://api.github.com/users/refinery-platform/followers","following_url":"https://api.github.com/users/refinery-platform/following{/other_user}","gists_url":"https://api.github.com/users/refinery-platform/gists{/gist_id}","starred_url":"https://api.github.com/users/refinery-platform/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/refinery-platform/subscriptions","organizations_url":"https://api.github.com/users/refinery-platform/orgs","repos_url":"https://api.github.com/users/refinery-platform/repos","events_url":"https://api.github.com/users/refinery-platform/events{/privacy}","received_events_url":"https://api.github.com/users/refinery-platform/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/refinery-platform/django_docker_engine","description":"Django app that manages the creation of, and proxies requests to, Docker containers.","fork":false,"url":"https://api.github.com/repos/refinery-platform/django_docker_engine","forks_url":"https://api.github.com/repos/refinery-platform/django_docker_engine/forks","keys_url":"https://api.github.com/repos/refinery-platform/django_docker_engine/keys{/key_id}","collaborators_url":"https://api.github.com/repos/refinery-platform/django_docker_engine/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/refinery-platform/django_docker_engine/teams","hooks_url":"https://api.github.com/repos/refinery-platform/django_docker_engine/hooks","issue_events_url":"https://api.github.com/repos/refinery-platform/django_docker_engine/issues/events{/number}","events_url":"https://api.github.com/repos/refinery-platform/django_docker_engine/events","assignees_url":"https://api.github.com/repos/refinery-platform/django_docker_engine/assignees{/user}","branches_url":"https://api.github.com/repos/refinery-platform/django_docker_engine/branches{/branch}","tags_url":"https://api.github.com/repos/refinery-platform/django_docker_engine/tags","blobs_url":"https://api.github.com/repos/refinery-platform/django_docker_engine/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/refinery-platform/django_docker_engine/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/refinery-platform/django_docker_engine/git/refs{/sha}","trees_url":"https://api.github.com/repos/refinery-platform/django_docker_engine/git/trees{/sha}","statuses_url":"https://api.github.com/repos/refinery-platform/django_docker_engine/statuses/{sha}","languages_url":"https://api.github.com/repos/refinery-platform/django_docker_engine/languages","stargazers_url":"https://api.github.com/repos/refinery-platform/django_docker_engine/stargazers","contributors_url":"https://api.github.com/repos/refinery-platform/django_docker_engine/contributors","subscribers_url":"https://api.github.com/repos/refinery-platform/django_docker_engine/subscribers","subscription_url":"https://api.github.com/repos/refinery-platform/django_docker_engine/subscription","commits_url":"https://api.github.com/repos/refinery-platform/django_docker_engine/commits{/sha}","git_commits_url":"https://api.github.com/repos/refinery-platform/django_docker_engine/git/commits{/sha}","comments_url":"https://api.github.com/repos/refinery-platform/django_docker_engine/comments{/number}","issue_comment_url":"https://api.github.com/repos/refinery-platform/django_docker_engine/issues/comments{/number}","contents_url":"https://api.github.com/repos/refinery-platform/django_docker_engine/contents/{+path}","compare_url":"https://api.github.com/repos/refinery-platform/django_docker_engine/compare/{base}...{head}","merges_url":"https://api.github.com/repos/refinery-platform/django_docker_engine/merges","archive_url":"https://api.github.com/repos/refinery-platform/django_docker_engine/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/refinery-platform/django_docker_engine/downloads","issues_url":"https://api.github.com/repos/refinery-platform/django_docker_engine/issues{/number}","pulls_url":"https://api.github.com/repos/refinery-platform/django_docker_engine/pulls{/number}","milestones_url":"https://api.github.com/repos/refinery-platform/django_docker_engine/milestones{/number}","notifications_url":"https://api.github.com/repos/refinery-platform/django_docker_engine/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/refinery-platform/django_docker_engine/labels{/name}","releases_url":"https://api.github.com/repos/refinery-platform/django_docker_engine/releases{/id}","deployments_url":"https://api.github.com/repos/refinery-platform/django_docker_engine/deployments","created_at":"2017-03-13T15:47:19Z","updated_at":"2018-09-21T13:28:38Z","pushed_at":"2018-09-21T13:28:40Z","git_url":"git://github.com/refinery-platform/django_docker_engine.git","ssh_url":"git@github.com:refinery-platform/django_docker_engine.git","clone_url":"https://github.com/refinery-platform/django_docker_engine.git","svn_url":"https://github.com/refinery-platform/django_docker_engine","homepage":"","size":327,"stargazers_count":3,"watchers_count":3,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":41,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":41,"watchers":3,"default_branch":"master"}},"base":{"label":"refinery-platform:master","ref":"master","sha":"d9aeba06d9365189400899982548ddca48044174","user":{"login":"refinery-platform","id":16256162,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE2MjU2MTYy","avatar_url":"https://avatars0.githubusercontent.com/u/16256162?v=4","gravatar_id":"","url":"https://api.github.com/users/refinery-platform","html_url":"https://github.com/refinery-platform","followers_url":"https://api.github.com/users/refinery-platform/followers","following_url":"https://api.github.com/users/refinery-platform/following{/other_user}","gists_url":"https://api.github.com/users/refinery-platform/gists{/gist_id}","starred_url":"https://api.github.com/users/refinery-platform/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/refinery-platform/subscriptions","organizations_url":"https://api.github.com/users/refinery-platform/orgs","repos_url":"https://api.github.com/users/refinery-platform/repos","events_url":"https://api.github.com/users/refinery-platform/events{/privacy}","received_events_url":"https://api.github.com/users/refinery-platform/received_events","type":"Organization","site_admin":false},"repo":{"id":84844955,"node_id":"MDEwOlJlcG9zaXRvcnk4NDg0NDk1NQ==","name":"django_docker_engine","full_name":"refinery-platform/django_docker_engine","private":false,"owner":{"login":"refinery-platform","id":16256162,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE2MjU2MTYy","avatar_url":"https://avatars0.githubusercontent.com/u/16256162?v=4","gravatar_id":"","url":"https://api.github.com/users/refinery-platform","html_url":"https://github.com/refinery-platform","followers_url":"https://api.github.com/users/refinery-platform/followers","following_url":"https://api.github.com/users/refinery-platform/following{/other_user}","gists_url":"https://api.github.com/users/refinery-platform/gists{/gist_id}","starred_url":"https://api.github.com/users/refinery-platform/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/refinery-platform/subscriptions","organizations_url":"https://api.github.com/users/refinery-platform/orgs","repos_url":"https://api.github.com/users/refinery-platform/repos","events_url":"https://api.github.com/users/refinery-platform/events{/privacy}","received_events_url":"https://api.github.com/users/refinery-platform/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/refinery-platform/django_docker_engine","description":"Django app that manages the creation of, and proxies requests to, Docker containers.","fork":false,"url":"https://api.github.com/repos/refinery-platform/django_docker_engine","forks_url":"https://api.github.com/repos/refinery-platform/django_docker_engine/forks","keys_url":"https://api.github.com/repos/refinery-platform/django_docker_engine/keys{/key_id}","collaborators_url":"https://api.github.com/repos/refinery-platform/django_docker_engine/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/refinery-platform/django_docker_engine/teams","hooks_url":"https://api.github.com/repos/refinery-platform/django_docker_engine/hooks","issue_events_url":"https://api.github.com/repos/refinery-platform/django_docker_engine/issues/events{/number}","events_url":"https://api.github.com/repos/refinery-platform/django_docker_engine/events","assignees_url":"https://api.github.com/repos/refinery-platform/django_docker_engine/assignees{/user}","branches_url":"https://api.github.com/repos/refinery-platform/django_docker_engine/branches{/branch}","tags_url":"https://api.github.com/repos/refinery-platform/django_docker_engine/tags","blobs_url":"https://api.github.com/repos/refinery-platform/django_docker_engine/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/refinery-platform/django_docker_engine/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/refinery-platform/django_docker_engine/git/refs{/sha}","trees_url":"https://api.github.com/repos/refinery-platform/django_docker_engine/git/trees{/sha}","statuses_url":"https://api.github.com/repos/refinery-platform/django_docker_engine/statuses/{sha}","languages_url":"https://api.github.com/repos/refinery-platform/django_docker_engine/languages","stargazers_url":"https://api.github.com/repos/refinery-platform/django_docker_engine/stargazers","contributors_url":"https://api.github.com/repos/refinery-platform/django_docker_engine/contributors","subscribers_url":"https://api.github.com/repos/refinery-platform/django_docker_engine/subscribers","subscription_url":"https://api.github.com/repos/refinery-platform/django_docker_engine/subscription","commits_url":"https://api.github.com/repos/refinery-platform/django_docker_engine/commits{/sha}","git_commits_url":"https://api.github.com/repos/refinery-platform/django_docker_engine/git/commits{/sha}","comments_url":"https://api.github.com/repos/refinery-platform/django_docker_engine/comments{/number}","issue_comment_url":"https://api.github.com/repos/refinery-platform/django_docker_engine/issues/comments{/number}","contents_url":"https://api.github.com/repos/refinery-platform/django_docker_engine/contents/{+path}","compare_url":"https://api.github.com/repos/refinery-platform/django_docker_engine/compare/{base}...{head}","merges_url":"https://api.github.com/repos/refinery-platform/django_docker_engine/merges","archive_url":"https://api.github.com/repos/refinery-platform/django_docker_engine/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/refinery-platform/django_docker_engine/downloads","issues_url":"https://api.github.com/repos/refinery-platform/django_docker_engine/issues{/number}","pulls_url":"https://api.github.com/repos/refinery-platform/django_docker_engine/pulls{/number}","milestones_url":"https://api.github.com/repos/refinery-platform/django_docker_engine/milestones{/number}","notifications_url":"https://api.github.com/repos/refinery-platform/django_docker_engine/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/refinery-platform/django_docker_engine/labels{/name}","releases_url":"https://api.github.com/repos/refinery-platform/django_docker_engine/releases{/id}","deployments_url":"https://api.github.com/repos/refinery-platform/django_docker_engine/deployments","created_at":"2017-03-13T15:47:19Z","updated_at":"2018-09-21T13:28:38Z","pushed_at":"2018-09-21T13:28:40Z","git_url":"git://github.com/refinery-platform/django_docker_engine.git","ssh_url":"git@github.com:refinery-platform/django_docker_engine.git","clone_url":"https://github.com/refinery-platform/django_docker_engine.git","svn_url":"https://github.com/refinery-platform/django_docker_engine","homepage":"","size":327,"stargazers_count":3,"watchers_count":3,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":41,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":41,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/refinery-platform/django_docker_engine/pulls/194"},"html":{"href":"https://github.com/refinery-platform/django_docker_engine/pull/194"},"issue":{"href":"https://api.github.com/repos/refinery-platform/django_docker_engine/issues/194"},"comments":{"href":"https://api.github.com/repos/refinery-platform/django_docker_engine/issues/194/comments"},"review_comments":{"href":"https://api.github.com/repos/refinery-platform/django_docker_engine/pulls/194/comments"},"review_comment":{"href":"https://api.github.com/repos/refinery-platform/django_docker_engine/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/refinery-platform/django_docker_engine/pulls/194/commits"},"statuses":{"href":"https://api.github.com/repos/refinery-platform/django_docker_engine/statuses/dcbd9718cdf424773f910925695690cfde5a293a"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"jkmarx"}}