)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":2417,"name":"Ben Swartzlander","email":"ben@swartzlander.org","username":"bswartz"},"change_message_id":"03381a2ac46a3296e690a10da155c50ee050dd05","unresolved":false,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Add action to mount for scenario tests"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"This adds mounting and unmounting of an created share. In order"},{"line_number":10,"context_line":"to be sure that the nfs/cfis tools are available in the used image"},{"line_number":11,"context_line":"it\u0027s using the default Ubuntu nfs/cifs image. Since cloudinit"},{"line_number":12,"context_line":"is not supported for this image it\u0027s using username/password"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"5aa745d1_062660ba","line":9,"updated":"2015-04-15 19:50:58.000000000","message":"of a created share","commit_id":"280f325cb2631a6c7f6be6e0ad6c9ea6b4cbf736"}],"contrib/tempest/tempest/scenario/test_share_basic_ops.py":[{"author":{"_account_id":2417,"name":"Ben Swartzlander","email":"ben@swartzlander.org","username":"bswartz"},"change_message_id":"03381a2ac46a3296e690a10da155c50ee050dd05","unresolved":false,"context_lines":[{"line_number":100,"context_line":"        self.ssh_client.exec_command(\"ping -c 1 %s\" % server_ip)"},{"line_number":101,"context_line":""},{"line_number":102,"context_line":"    def mount_share(self, location):"},{"line_number":103,"context_line":"        self.ssh_client.exec_command(\"sudo mount \\\"%s\\\" /mnt\" % location)"},{"line_number":104,"context_line":""},{"line_number":105,"context_line":"    def umount_share(self):"},{"line_number":106,"context_line":"        self.ssh_client.exec_command(\"sudo umount /mnt\")"}],"source_content_type":"text/x-python","patch_set":1,"id":"5aa745d1_c640780a","line":103,"updated":"2015-04-15 19:50:58.000000000","message":"Where is the verification that this succeeds, and how is failure detected/reported?","commit_id":"280f325cb2631a6c7f6be6e0ad6c9ea6b4cbf736"},{"author":{"_account_id":7872,"name":"Marc Koderer","email":"marc@koderer.com","username":"mkoderer"},"change_message_id":"11a2d4d6be141ec2e3d3932bd650a2ae9d36acb6","unresolved":false,"context_lines":[{"line_number":100,"context_line":"        self.ssh_client.exec_command(\"ping -c 1 %s\" % server_ip)"},{"line_number":101,"context_line":""},{"line_number":102,"context_line":"    def mount_share(self, location):"},{"line_number":103,"context_line":"        self.ssh_client.exec_command(\"sudo mount \\\"%s\\\" /mnt\" % location)"},{"line_number":104,"context_line":""},{"line_number":105,"context_line":"    def umount_share(self):"},{"line_number":106,"context_line":"        self.ssh_client.exec_command(\"sudo umount /mnt\")"}],"source_content_type":"text/x-python","patch_set":1,"id":"3ab451fb_4468c9f5","line":103,"in_reply_to":"5aa745d1_c640780a","updated":"2015-04-17 13:46:19.000000000","message":"exec_command (tempest function) checks the result code and raises an exception. See: https://github.com/openstack/tempest/blob/master/tempest/common/ssh.py#L144","commit_id":"280f325cb2631a6c7f6be6e0ad6c9ea6b4cbf736"},{"author":{"_account_id":8851,"name":"Valeriy Ponomaryov","email":"kiparis.kh@gmail.com","username":"vponomaryov"},"change_message_id":"46a0d7f0a0d8f4e28bfd99676b6be6260949ff30","unresolved":false,"context_lines":[{"line_number":53,"context_line":"            self.image_ref \u003d [img[\"id\"] for img in images"},{"line_number":54,"context_line":"                              if img[\"name\"] \u003d\u003d"},{"line_number":55,"context_line":"                              CONF.share.image_with_share_tools"},{"line_number":56,"context_line":"                              ][0]"},{"line_number":57,"context_line":"        self.image_utils \u003d test_utils.ImageUtils()"},{"line_number":58,"context_line":"        if not self.image_utils.is_flavor_enough(self.flavor_ref,"},{"line_number":59,"context_line":"                                                 self.image_ref):"}],"source_content_type":"text/x-python","patch_set":2,"id":"3ab451fb_63ca98a3","line":56,"updated":"2015-04-17 14:54:46.000000000","message":"Can be empty and you will get \"IndexError\" here.\n\nBetter to use common loop like following:\n\n\"\"\"\n\nself.image_ref \u003d None\n\nfor image in images:\n\n    if img[\"name\"] \u003d\u003d CONF.share.image_with_share_tools:\n\n        self.image_ref \u003d img[\"id\"]\n\n        break\n\nif not self.image_ref:\n\n    raise %SomeException%\n\n\"\"\"","commit_id":"7ca330a81b1ac7cd36a49578e43aba0f6d2b7ffc"},{"author":{"_account_id":8851,"name":"Valeriy Ponomaryov","email":"kiparis.kh@gmail.com","username":"vponomaryov"},"change_message_id":"46a0d7f0a0d8f4e28bfd99676b6be6260949ff30","unresolved":false,"context_lines":[{"line_number":143,"context_line":"        self.boot_instance(self.net)"},{"line_number":144,"context_line":"        self.allow_access_ip(self.share[\u0027id\u0027], instance\u003dself.instance)"},{"line_number":145,"context_line":"        self.verify_ssh()"},{"line_number":146,"context_line":"        self.mount_share(self.share[\u0027export_location\u0027])"},{"line_number":147,"context_line":"        self.umount_share()"},{"line_number":148,"context_line":"        self.servers_client.delete_server(self.instance[\u0027id\u0027])"}],"source_content_type":"text/x-python","patch_set":2,"id":"3ab451fb_a32660b8","line":146,"updated":"2015-04-17 14:54:46.000000000","message":"\"export_location\" is deprecated. Please, use plural one - \"export_locations\" and use each export location for testing of mount operation.","commit_id":"7ca330a81b1ac7cd36a49578e43aba0f6d2b7ffc"}]}
