{"action":"created","comment":{"url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/pulls/comments/44641239","id":44641239,"diff_hunk":"@@ -0,0 +1,108 @@\n+########\n+# Copyright (c) 2014 GigaSpaces Technologies Ltd. All rights reserved\n+#\n+# Licensed under the Apache License, Version 2.0 (the \"License\");\n+# you may not use this file except in compliance with the License.\n+# You may obtain a copy of the License at\n+#\n+#        http://www.apache.org/licenses/LICENSE-2.0\n+#\n+# Unless required by applicable law or agreed to in writing, software\n+# distributed under the License is distributed on an \"AS IS\" BASIS,\n+#    * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n+#    * See the License for the specific language governing permissions and\n+#    * limitations under the License.\n+\n+import time\n+from operator import itemgetter\n+\n+from manager_recovery_base import BaseManagerRecoveryTest\n+\n+\n+class ManagerRecoveryWithSnapshotTest(BaseManagerRecoveryTest):\n+\n+    def test_manager_recovery_with_snapshot(self):\n+        self.snapshot_id = 'test_recover_snapshot'\n+        self.snapshot_file_path = '{0}/{1}.zip'.format(","path":"cosmo_tester/test_suites/test_manager_recovery/manager_recovery_with_snapshot_test.py","position":26,"original_position":26,"commit_id":"1a98762e47a270d6f21c60b2829ecf8cb27d393c","original_commit_id":"1a98762e47a270d6f21c60b2829ecf8cb27d393c","user":{"login":"nirbir","id":2264173,"avatar_url":"https://avatars.githubusercontent.com/u/2264173?v=3","gravatar_id":"","url":"https://api.github.com/users/nirbir","html_url":"https://github.com/nirbir","followers_url":"https://api.github.com/users/nirbir/followers","following_url":"https://api.github.com/users/nirbir/following{/other_user}","gists_url":"https://api.github.com/users/nirbir/gists{/gist_id}","starred_url":"https://api.github.com/users/nirbir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nirbir/subscriptions","organizations_url":"https://api.github.com/users/nirbir/orgs","repos_url":"https://api.github.com/users/nirbir/repos","events_url":"https://api.github.com/users/nirbir/events{/privacy}","received_events_url":"https://api.github.com/users/nirbir/received_events","type":"User","site_admin":false},"body":"os.path.join","created_at":"2015-11-12T10:25:14Z","updated_at":"2015-11-12T10:25:14Z","html_url":"https://github.com/cloudify-cosmo/cloudify-system-tests/pull/282#discussion_r44641239","pull_request_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/pulls/282","_links":{"self":{"href":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/pulls/comments/44641239"},"html":{"href":"https://github.com/cloudify-cosmo/cloudify-system-tests/pull/282#discussion_r44641239"},"pull_request":{"href":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/pulls/282"}}},"pull_request":{"url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/pulls/282","id":50452609,"html_url":"https://github.com/cloudify-cosmo/cloudify-system-tests/pull/282","diff_url":"https://github.com/cloudify-cosmo/cloudify-system-tests/pull/282.diff","patch_url":"https://github.com/cloudify-cosmo/cloudify-system-tests/pull/282.patch","issue_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/issues/282","number":282,"state":"open","locked":false,"title":"CFY-3762 added recover with snapshot system test","user":{"login":"nirbir","id":2264173,"avatar_url":"https://avatars.githubusercontent.com/u/2264173?v=3","gravatar_id":"","url":"https://api.github.com/users/nirbir","html_url":"https://github.com/nirbir","followers_url":"https://api.github.com/users/nirbir/followers","following_url":"https://api.github.com/users/nirbir/following{/other_user}","gists_url":"https://api.github.com/users/nirbir/gists{/gist_id}","starred_url":"https://api.github.com/users/nirbir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nirbir/subscriptions","organizations_url":"https://api.github.com/users/nirbir/orgs","repos_url":"https://api.github.com/users/nirbir/repos","events_url":"https://api.github.com/users/nirbir/events{/privacy}","received_events_url":"https://api.github.com/users/nirbir/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-11-11T23:36:53Z","updated_at":"2015-11-12T10:25:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":"82253a05b9581d901849bea5d5f53170f0036264","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/pulls/282/commits","review_comments_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/pulls/282/comments","review_comment_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/issues/282/comments","statuses_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/statuses/1a98762e47a270d6f21c60b2829ecf8cb27d393c","head":{"label":"cloudify-cosmo:CFY-3762-recover-from-snapshot-test","ref":"CFY-3762-recover-from-snapshot-test","sha":"1a98762e47a270d6f21c60b2829ecf8cb27d393c","user":{"login":"cloudify-cosmo","id":6260555,"avatar_url":"https://avatars.githubusercontent.com/u/6260555?v=3","gravatar_id":"","url":"https://api.github.com/users/cloudify-cosmo","html_url":"https://github.com/cloudify-cosmo","followers_url":"https://api.github.com/users/cloudify-cosmo/followers","following_url":"https://api.github.com/users/cloudify-cosmo/following{/other_user}","gists_url":"https://api.github.com/users/cloudify-cosmo/gists{/gist_id}","starred_url":"https://api.github.com/users/cloudify-cosmo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cloudify-cosmo/subscriptions","organizations_url":"https://api.github.com/users/cloudify-cosmo/orgs","repos_url":"https://api.github.com/users/cloudify-cosmo/repos","events_url":"https://api.github.com/users/cloudify-cosmo/events{/privacy}","received_events_url":"https://api.github.com/users/cloudify-cosmo/received_events","type":"Organization","site_admin":false},"repo":{"id":18327506,"name":"cloudify-system-tests","full_name":"cloudify-cosmo/cloudify-system-tests","owner":{"login":"cloudify-cosmo","id":6260555,"avatar_url":"https://avatars.githubusercontent.com/u/6260555?v=3","gravatar_id":"","url":"https://api.github.com/users/cloudify-cosmo","html_url":"https://github.com/cloudify-cosmo","followers_url":"https://api.github.com/users/cloudify-cosmo/followers","following_url":"https://api.github.com/users/cloudify-cosmo/following{/other_user}","gists_url":"https://api.github.com/users/cloudify-cosmo/gists{/gist_id}","starred_url":"https://api.github.com/users/cloudify-cosmo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cloudify-cosmo/subscriptions","organizations_url":"https://api.github.com/users/cloudify-cosmo/orgs","repos_url":"https://api.github.com/users/cloudify-cosmo/repos","events_url":"https://api.github.com/users/cloudify-cosmo/events{/privacy}","received_events_url":"https://api.github.com/users/cloudify-cosmo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cloudify-cosmo/cloudify-system-tests","description":"Cloudify System Tests","fork":false,"url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests","forks_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/forks","keys_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/teams","hooks_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/hooks","issue_events_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/issues/events{/number}","events_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/events","assignees_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/assignees{/user}","branches_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/branches{/branch}","tags_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/tags","blobs_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/git/refs{/sha}","trees_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/statuses/{sha}","languages_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/languages","stargazers_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/stargazers","contributors_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/contributors","subscribers_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/subscribers","subscription_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/subscription","commits_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/commits{/sha}","git_commits_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/git/commits{/sha}","comments_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/comments{/number}","issue_comment_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/issues/comments{/number}","contents_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/contents/{+path}","compare_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/merges","archive_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/downloads","issues_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/issues{/number}","pulls_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/pulls{/number}","milestones_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/milestones{/number}","notifications_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/labels{/name}","releases_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/releases{/id}","created_at":"2014-04-01T11:44:17Z","updated_at":"2015-05-07T14:25:56Z","pushed_at":"2015-11-12T10:24:45Z","git_url":"git://github.com/cloudify-cosmo/cloudify-system-tests.git","ssh_url":"git@github.com:cloudify-cosmo/cloudify-system-tests.git","clone_url":"https://github.com/cloudify-cosmo/cloudify-system-tests.git","svn_url":"https://github.com/cloudify-cosmo/cloudify-system-tests","homepage":null,"size":9587,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":7,"forks":8,"open_issues":7,"watchers":1,"default_branch":"master"}},"base":{"label":"cloudify-cosmo:master","ref":"master","sha":"4619a353c2bead08bb4cb7ea7e642d828a4c6dae","user":{"login":"cloudify-cosmo","id":6260555,"avatar_url":"https://avatars.githubusercontent.com/u/6260555?v=3","gravatar_id":"","url":"https://api.github.com/users/cloudify-cosmo","html_url":"https://github.com/cloudify-cosmo","followers_url":"https://api.github.com/users/cloudify-cosmo/followers","following_url":"https://api.github.com/users/cloudify-cosmo/following{/other_user}","gists_url":"https://api.github.com/users/cloudify-cosmo/gists{/gist_id}","starred_url":"https://api.github.com/users/cloudify-cosmo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cloudify-cosmo/subscriptions","organizations_url":"https://api.github.com/users/cloudify-cosmo/orgs","repos_url":"https://api.github.com/users/cloudify-cosmo/repos","events_url":"https://api.github.com/users/cloudify-cosmo/events{/privacy}","received_events_url":"https://api.github.com/users/cloudify-cosmo/received_events","type":"Organization","site_admin":false},"repo":{"id":18327506,"name":"cloudify-system-tests","full_name":"cloudify-cosmo/cloudify-system-tests","owner":{"login":"cloudify-cosmo","id":6260555,"avatar_url":"https://avatars.githubusercontent.com/u/6260555?v=3","gravatar_id":"","url":"https://api.github.com/users/cloudify-cosmo","html_url":"https://github.com/cloudify-cosmo","followers_url":"https://api.github.com/users/cloudify-cosmo/followers","following_url":"https://api.github.com/users/cloudify-cosmo/following{/other_user}","gists_url":"https://api.github.com/users/cloudify-cosmo/gists{/gist_id}","starred_url":"https://api.github.com/users/cloudify-cosmo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cloudify-cosmo/subscriptions","organizations_url":"https://api.github.com/users/cloudify-cosmo/orgs","repos_url":"https://api.github.com/users/cloudify-cosmo/repos","events_url":"https://api.github.com/users/cloudify-cosmo/events{/privacy}","received_events_url":"https://api.github.com/users/cloudify-cosmo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cloudify-cosmo/cloudify-system-tests","description":"Cloudify System Tests","fork":false,"url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests","forks_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/forks","keys_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/teams","hooks_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/hooks","issue_events_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/issues/events{/number}","events_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/events","assignees_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/assignees{/user}","branches_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/branches{/branch}","tags_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/tags","blobs_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/git/refs{/sha}","trees_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/statuses/{sha}","languages_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/languages","stargazers_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/stargazers","contributors_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/contributors","subscribers_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/subscribers","subscription_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/subscription","commits_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/commits{/sha}","git_commits_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/git/commits{/sha}","comments_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/comments{/number}","issue_comment_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/issues/comments{/number}","contents_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/contents/{+path}","compare_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/merges","archive_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/downloads","issues_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/issues{/number}","pulls_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/pulls{/number}","milestones_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/milestones{/number}","notifications_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/labels{/name}","releases_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/releases{/id}","created_at":"2014-04-01T11:44:17Z","updated_at":"2015-05-07T14:25:56Z","pushed_at":"2015-11-12T10:24:45Z","git_url":"git://github.com/cloudify-cosmo/cloudify-system-tests.git","ssh_url":"git@github.com:cloudify-cosmo/cloudify-system-tests.git","clone_url":"https://github.com/cloudify-cosmo/cloudify-system-tests.git","svn_url":"https://github.com/cloudify-cosmo/cloudify-system-tests","homepage":null,"size":9587,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":7,"forks":8,"open_issues":7,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/pulls/282"},"html":{"href":"https://github.com/cloudify-cosmo/cloudify-system-tests/pull/282"},"issue":{"href":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/issues/282"},"comments":{"href":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/issues/282/comments"},"review_comments":{"href":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/pulls/282/comments"},"review_comment":{"href":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/pulls/282/commits"},"statuses":{"href":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/statuses/1a98762e47a270d6f21c60b2829ecf8cb27d393c"}}}}