{"action":"created","comment":{"url":"https://api.github.com/repos/scylladb/scylla-cluster-tests/pulls/comments/234721206","pull_request_review_id":176423379,"id":234721206,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzNDcyMTIwNg==","diff_hunk":"@@ -0,0 +1,79 @@\n+#!/usr/bin/env python\n+\n+# This program is free software; you can redistribute it and/or modify\n+# it under the terms of the GNU Affero General Public License as published by\n+# the Free Software Foundation; either version 3 of the License, or\n+# (at your option) any later version.\n+#\n+# This program is distributed in the hope that it will be useful,\n+# but WITHOUT ANY WARRANTY; without even the implied warranty of\n+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n+#\n+# See LICENSE for more details.\n+#\n+# Copyright (c) 2016 ScyllaDB\n+\n+import os\n+import re\n+import time\n+from avocado import main\n+\n+from sdcm import mgmt\n+from sdcm.nemesis import MgmtRepair\n+from sdcm.tester import ClusterTester\n+\n+\n+class MgmtCliTest(ClusterTester):\n+    \"\"\"\n+    Test Scylla Manager operations on Scylla cluster.\n+\n+    :avocado: enable\n+    \"\"\"\n+\n+\n+    def test_mgmt_repair_nemesis(self):\n+        self.log.info('Starting c-s write workload for 1m')\n+        stress_cmd = self.params.get('stress_cmd')\n+        stress_cmd_queue = self.run_stress_thread(stress_cmd=stress_cmd)\n+\n+        self.log.info('Sleeping for 15s to let cassandra-stress run...')\n+        time.sleep(15)\n+        self.log.debug(\"test_mgmt_cli: initialize MgmtRepair nemesis\")\n+        self.db_cluster.add_nemesis(nemesis=MgmtRepair,\n+                                    loaders=self.loaders,\n+                                    monitoring_set=self.monitors,\n+                                    )\n+        self.db_cluster.start_nemesis()\n+\n+    def test_mgmt_cluster_crud(self):","path":"mgmt_cli_test.py","position":48,"original_position":48,"commit_id":"9a3184a7e1d465d7e7309bef91f74e7cd7d8a8e6","original_commit_id":"15e7110ee9d1cba1246d1002dbf40a1fb91b6ef5","user":{"login":"yarongilor","id":9427929,"node_id":"MDQ6VXNlcjk0Mjc5Mjk=","avatar_url":"https://avatars2.githubusercontent.com/u/9427929?v=4","gravatar_id":"","url":"https://api.github.com/users/yarongilor","html_url":"https://github.com/yarongilor","followers_url":"https://api.github.com/users/yarongilor/followers","following_url":"https://api.github.com/users/yarongilor/following{/other_user}","gists_url":"https://api.github.com/users/yarongilor/gists{/gist_id}","starred_url":"https://api.github.com/users/yarongilor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yarongilor/subscriptions","organizations_url":"https://api.github.com/users/yarongilor/orgs","repos_url":"https://api.github.com/users/yarongilor/repos","events_url":"https://api.github.com/users/yarongilor/events{/privacy}","received_events_url":"https://api.github.com/users/yarongilor/received_events","type":"User","site_admin":false},"body":"done","created_at":"2018-11-19T17:56:53Z","updated_at":"2018-11-19T17:56:54Z","html_url":"https://github.com/scylladb/scylla-cluster-tests/pull/641#discussion_r234721206","pull_request_url":"https://api.github.com/repos/scylladb/scylla-cluster-tests/pulls/641","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/scylladb/scylla-cluster-tests/pulls/comments/234721206"},"html":{"href":"https://github.com/scylladb/scylla-cluster-tests/pull/641#discussion_r234721206"},"pull_request":{"href":"https://api.github.com/repos/scylladb/scylla-cluster-tests/pulls/641"}},"in_reply_to_id":234670375},"pull_request":{"url":"https://api.github.com/repos/scylladb/scylla-cluster-tests/pulls/641","id":221068379,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIxMDY4Mzc5","html_url":"https://github.com/scylladb/scylla-cluster-tests/pull/641","diff_url":"https://github.com/scylladb/scylla-cluster-tests/pull/641.diff","patch_url":"https://github.com/scylladb/scylla-cluster-tests/pull/641.patch","issue_url":"https://api.github.com/repos/scylladb/scylla-cluster-tests/issues/641","number":641,"state":"open","locked":false,"title":"Refactor Manager code and add support for CLI","user":{"login":"yarongilor","id":9427929,"node_id":"MDQ6VXNlcjk0Mjc5Mjk=","avatar_url":"https://avatars2.githubusercontent.com/u/9427929?v=4","gravatar_id":"","url":"https://api.github.com/users/yarongilor","html_url":"https://github.com/yarongilor","followers_url":"https://api.github.com/users/yarongilor/followers","following_url":"https://api.github.com/users/yarongilor/following{/other_user}","gists_url":"https://api.github.com/users/yarongilor/gists{/gist_id}","starred_url":"https://api.github.com/users/yarongilor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yarongilor/subscriptions","organizations_url":"https://api.github.com/users/yarongilor/orgs","repos_url":"https://api.github.com/users/yarongilor/repos","events_url":"https://api.github.com/users/yarongilor/events{/privacy}","received_events_url":"https://api.github.com/users/yarongilor/received_events","type":"User","site_admin":false},"body":"@roydahan ","created_at":"2018-10-08T10:29:57Z","updated_at":"2018-11-19T17:56:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4e764c7a4c64fc6e09ff801a59d91c06cc9375fd","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/scylladb/scylla-cluster-tests/pulls/641/commits","review_comments_url":"https://api.github.com/repos/scylladb/scylla-cluster-tests/pulls/641/comments","review_comment_url":"https://api.github.com/repos/scylladb/scylla-cluster-tests/pulls/comments{/number}","comments_url":"https://api.github.com/repos/scylladb/scylla-cluster-tests/issues/641/comments","statuses_url":"https://api.github.com/repos/scylladb/scylla-cluster-tests/statuses/9a3184a7e1d465d7e7309bef91f74e7cd7d8a8e6","head":{"label":"yarongilor:multidc-yaml","ref":"multidc-yaml","sha":"9a3184a7e1d465d7e7309bef91f74e7cd7d8a8e6","user":{"login":"yarongilor","id":9427929,"node_id":"MDQ6VXNlcjk0Mjc5Mjk=","avatar_url":"https://avatars2.githubusercontent.com/u/9427929?v=4","gravatar_id":"","url":"https://api.github.com/users/yarongilor","html_url":"https://github.com/yarongilor","followers_url":"https://api.github.com/users/yarongilor/followers","following_url":"https://api.github.com/users/yarongilor/following{/other_user}","gists_url":"https://api.github.com/users/yarongilor/gists{/gist_id}","starred_url":"https://api.github.com/users/yarongilor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yarongilor/subscriptions","organizations_url":"https://api.github.com/users/yarongilor/orgs","repos_url":"https://api.github.com/users/yarongilor/repos","events_url":"https://api.github.com/users/yarongilor/events{/privacy}","received_events_url":"https://api.github.com/users/yarongilor/received_events","type":"User","site_admin":false},"repo":{"id":147674353,"node_id":"MDEwOlJlcG9zaXRvcnkxNDc2NzQzNTM=","name":"scylla-cluster-tests","full_name":"yarongilor/scylla-cluster-tests","private":false,"owner":{"login":"yarongilor","id":9427929,"node_id":"MDQ6VXNlcjk0Mjc5Mjk=","avatar_url":"https://avatars2.githubusercontent.com/u/9427929?v=4","gravatar_id":"","url":"https://api.github.com/users/yarongilor","html_url":"https://github.com/yarongilor","followers_url":"https://api.github.com/users/yarongilor/followers","following_url":"https://api.github.com/users/yarongilor/following{/other_user}","gists_url":"https://api.github.com/users/yarongilor/gists{/gist_id}","starred_url":"https://api.github.com/users/yarongilor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yarongilor/subscriptions","organizations_url":"https://api.github.com/users/yarongilor/orgs","repos_url":"https://api.github.com/users/yarongilor/repos","events_url":"https://api.github.com/users/yarongilor/events{/privacy}","received_events_url":"https://api.github.com/users/yarongilor/received_events","type":"User","site_admin":false},"html_url":"https://github.com/yarongilor/scylla-cluster-tests","description":"Tests for Scylla Clusters","fork":true,"url":"https://api.github.com/repos/yarongilor/scylla-cluster-tests","forks_url":"https://api.github.com/repos/yarongilor/scylla-cluster-tests/forks","keys_url":"https://api.github.com/repos/yarongilor/scylla-cluster-tests/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yarongilor/scylla-cluster-tests/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yarongilor/scylla-cluster-tests/teams","hooks_url":"https://api.github.com/repos/yarongilor/scylla-cluster-tests/hooks","issue_events_url":"https://api.github.com/repos/yarongilor/scylla-cluster-tests/issues/events{/number}","events_url":"https://api.github.com/repos/yarongilor/scylla-cluster-tests/events","assignees_url":"https://api.github.com/repos/yarongilor/scylla-cluster-tests/assignees{/user}","branches_url":"https://api.github.com/repos/yarongilor/scylla-cluster-tests/branches{/branch}","tags_url":"https://api.github.com/repos/yarongilor/scylla-cluster-tests/tags","blobs_url":"https://api.github.com/repos/yarongilor/scylla-cluster-tests/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yarongilor/scylla-cluster-tests/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yarongilor/scylla-cluster-tests/git/refs{/sha}","trees_url":"https://api.github.com/repos/yarongilor/scylla-cluster-tests/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yarongilor/scylla-cluster-tests/statuses/{sha}","languages_url":"https://api.github.com/repos/yarongilor/scylla-cluster-tests/languages","stargazers_url":"https://api.github.com/repos/yarongilor/scylla-cluster-tests/stargazers","contributors_url":"https://api.github.com/repos/yarongilor/scylla-cluster-tests/contributors","subscribers_url":"https://api.github.com/repos/yarongilor/scylla-cluster-tests/subscribers","subscription_url":"https://api.github.com/repos/yarongilor/scylla-cluster-tests/subscription","commits_url":"https://api.github.com/repos/yarongilor/scylla-cluster-tests/commits{/sha}","git_commits_url":"https://api.github.com/repos/yarongilor/scylla-cluster-tests/git/commits{/sha}","comments_url":"https://api.github.com/repos/yarongilor/scylla-cluster-tests/comments{/number}","issue_comment_url":"https://api.github.com/repos/yarongilor/scylla-cluster-tests/issues/comments{/number}","contents_url":"https://api.github.com/repos/yarongilor/scylla-cluster-tests/contents/{+path}","compare_url":"https://api.github.com/repos/yarongilor/scylla-cluster-tests/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yarongilor/scylla-cluster-tests/merges","archive_url":"https://api.github.com/repos/yarongilor/scylla-cluster-tests/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yarongilor/scylla-cluster-tests/downloads","issues_url":"https://api.github.com/repos/yarongilor/scylla-cluster-tests/issues{/number}","pulls_url":"https://api.github.com/repos/yarongilor/scylla-cluster-tests/pulls{/number}","milestones_url":"https://api.github.com/repos/yarongilor/scylla-cluster-tests/milestones{/number}","notifications_url":"https://api.github.com/repos/yarongilor/scylla-cluster-tests/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yarongilor/scylla-cluster-tests/labels{/name}","releases_url":"https://api.github.com/repos/yarongilor/scylla-cluster-tests/releases{/id}","deployments_url":"https://api.github.com/repos/yarongilor/scylla-cluster-tests/deployments","created_at":"2018-09-06T13:01:24Z","updated_at":"2018-09-06T13:01:27Z","pushed_at":"2018-11-19T16:35:19Z","git_url":"git://github.com/yarongilor/scylla-cluster-tests.git","ssh_url":"git@github.com:yarongilor/scylla-cluster-tests.git","clone_url":"https://github.com/yarongilor/scylla-cluster-tests.git","svn_url":"https://github.com/yarongilor/scylla-cluster-tests","homepage":"","size":4276,"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":"agpl-3.0","name":"GNU Affero General Public License v3.0","spdx_id":"AGPL-3.0","url":"https://api.github.com/licenses/agpl-3.0","node_id":"MDc6TGljZW5zZTE="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"scylladb:master","ref":"master","sha":"855c9d173a799f360145e16247d3faac667d5bf7","user":{"login":"scylladb","id":14364730,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0MzY0NzMw","avatar_url":"https://avatars2.githubusercontent.com/u/14364730?v=4","gravatar_id":"","url":"https://api.github.com/users/scylladb","html_url":"https://github.com/scylladb","followers_url":"https://api.github.com/users/scylladb/followers","following_url":"https://api.github.com/users/scylladb/following{/other_user}","gists_url":"https://api.github.com/users/scylladb/gists{/gist_id}","starred_url":"https://api.github.com/users/scylladb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scylladb/subscriptions","organizations_url":"https://api.github.com/users/scylladb/orgs","repos_url":"https://api.github.com/users/scylladb/repos","events_url":"https://api.github.com/users/scylladb/events{/privacy}","received_events_url":"https://api.github.com/users/scylladb/received_events","type":"Organization","site_admin":false},"repo":{"id":48770856,"node_id":"MDEwOlJlcG9zaXRvcnk0ODc3MDg1Ng==","name":"scylla-cluster-tests","full_name":"scylladb/scylla-cluster-tests","private":false,"owner":{"login":"scylladb","id":14364730,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0MzY0NzMw","avatar_url":"https://avatars2.githubusercontent.com/u/14364730?v=4","gravatar_id":"","url":"https://api.github.com/users/scylladb","html_url":"https://github.com/scylladb","followers_url":"https://api.github.com/users/scylladb/followers","following_url":"https://api.github.com/users/scylladb/following{/other_user}","gists_url":"https://api.github.com/users/scylladb/gists{/gist_id}","starred_url":"https://api.github.com/users/scylladb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scylladb/subscriptions","organizations_url":"https://api.github.com/users/scylladb/orgs","repos_url":"https://api.github.com/users/scylladb/repos","events_url":"https://api.github.com/users/scylladb/events{/privacy}","received_events_url":"https://api.github.com/users/scylladb/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/scylladb/scylla-cluster-tests","description":"Tests for Scylla Clusters","fork":false,"url":"https://api.github.com/repos/scylladb/scylla-cluster-tests","forks_url":"https://api.github.com/repos/scylladb/scylla-cluster-tests/forks","keys_url":"https://api.github.com/repos/scylladb/scylla-cluster-tests/keys{/key_id}","collaborators_url":"https://api.github.com/repos/scylladb/scylla-cluster-tests/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/scylladb/scylla-cluster-tests/teams","hooks_url":"https://api.github.com/repos/scylladb/scylla-cluster-tests/hooks","issue_events_url":"https://api.github.com/repos/scylladb/scylla-cluster-tests/issues/events{/number}","events_url":"https://api.github.com/repos/scylladb/scylla-cluster-tests/events","assignees_url":"https://api.github.com/repos/scylladb/scylla-cluster-tests/assignees{/user}","branches_url":"https://api.github.com/repos/scylladb/scylla-cluster-tests/branches{/branch}","tags_url":"https://api.github.com/repos/scylladb/scylla-cluster-tests/tags","blobs_url":"https://api.github.com/repos/scylladb/scylla-cluster-tests/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/scylladb/scylla-cluster-tests/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/scylladb/scylla-cluster-tests/git/refs{/sha}","trees_url":"https://api.github.com/repos/scylladb/scylla-cluster-tests/git/trees{/sha}","statuses_url":"https://api.github.com/repos/scylladb/scylla-cluster-tests/statuses/{sha}","languages_url":"https://api.github.com/repos/scylladb/scylla-cluster-tests/languages","stargazers_url":"https://api.github.com/repos/scylladb/scylla-cluster-tests/stargazers","contributors_url":"https://api.github.com/repos/scylladb/scylla-cluster-tests/contributors","subscribers_url":"https://api.github.com/repos/scylladb/scylla-cluster-tests/subscribers","subscription_url":"https://api.github.com/repos/scylladb/scylla-cluster-tests/subscription","commits_url":"https://api.github.com/repos/scylladb/scylla-cluster-tests/commits{/sha}","git_commits_url":"https://api.github.com/repos/scylladb/scylla-cluster-tests/git/commits{/sha}","comments_url":"https://api.github.com/repos/scylladb/scylla-cluster-tests/comments{/number}","issue_comment_url":"https://api.github.com/repos/scylladb/scylla-cluster-tests/issues/comments{/number}","contents_url":"https://api.github.com/repos/scylladb/scylla-cluster-tests/contents/{+path}","compare_url":"https://api.github.com/repos/scylladb/scylla-cluster-tests/compare/{base}...{head}","merges_url":"https://api.github.com/repos/scylladb/scylla-cluster-tests/merges","archive_url":"https://api.github.com/repos/scylladb/scylla-cluster-tests/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/scylladb/scylla-cluster-tests/downloads","issues_url":"https://api.github.com/repos/scylladb/scylla-cluster-tests/issues{/number}","pulls_url":"https://api.github.com/repos/scylladb/scylla-cluster-tests/pulls{/number}","milestones_url":"https://api.github.com/repos/scylladb/scylla-cluster-tests/milestones{/number}","notifications_url":"https://api.github.com/repos/scylladb/scylla-cluster-tests/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/scylladb/scylla-cluster-tests/labels{/name}","releases_url":"https://api.github.com/repos/scylladb/scylla-cluster-tests/releases{/id}","deployments_url":"https://api.github.com/repos/scylladb/scylla-cluster-tests/deployments","created_at":"2015-12-29T23:03:42Z","updated_at":"2018-11-09T22:57:43Z","pushed_at":"2018-11-19T16:35:21Z","git_url":"git://github.com/scylladb/scylla-cluster-tests.git","ssh_url":"git@github.com:scylladb/scylla-cluster-tests.git","clone_url":"https://github.com/scylladb/scylla-cluster-tests.git","svn_url":"https://github.com/scylladb/scylla-cluster-tests","homepage":"","size":4273,"stargazers_count":19,"watchers_count":19,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":17,"mirror_url":null,"archived":false,"open_issues_count":34,"license":{"key":"agpl-3.0","name":"GNU Affero General Public License v3.0","spdx_id":"AGPL-3.0","url":"https://api.github.com/licenses/agpl-3.0","node_id":"MDc6TGljZW5zZTE="},"forks":17,"open_issues":34,"watchers":19,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/scylladb/scylla-cluster-tests/pulls/641"},"html":{"href":"https://github.com/scylladb/scylla-cluster-tests/pull/641"},"issue":{"href":"https://api.github.com/repos/scylladb/scylla-cluster-tests/issues/641"},"comments":{"href":"https://api.github.com/repos/scylladb/scylla-cluster-tests/issues/641/comments"},"review_comments":{"href":"https://api.github.com/repos/scylladb/scylla-cluster-tests/pulls/641/comments"},"review_comment":{"href":"https://api.github.com/repos/scylladb/scylla-cluster-tests/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/scylladb/scylla-cluster-tests/pulls/641/commits"},"statuses":{"href":"https://api.github.com/repos/scylladb/scylla-cluster-tests/statuses/9a3184a7e1d465d7e7309bef91f74e7cd7d8a8e6"}},"author_association":"NONE"}}
{"actor":{"display_login":"yarongilor"}}