)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":11975,"name":"Slawek Kaplonski","email":"skaplons@redhat.com","username":"slaweq"},"change_message_id":"5930d9995a35238236d9115e2c79469a078e569d","unresolved":false,"context_lines":[{"line_number":18,"context_line":"This change also add convenience methods to SSH client:"},{"line_number":19,"context_line":""},{"line_number":20,"context_line":"- connect() method allows to create and connect Paramiko"},{"line_number":21,"context_line":"  client to be used by tests directly (for exaple to open"},{"line_number":22,"context_line":"  a command like socat, cat, nc and redirect STDIN/STDOUT"},{"line_number":23,"context_line":"  to generate or receive network traffic. The method is"},{"line_number":24,"context_line":"  going to return the same Paramiko client instance"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":6,"id":"3f79a3b5_925adb4d","line":21,"range":{"start_line":21,"start_character":43,"end_line":21,"end_character":49},"updated":"2018-08-22 09:07:35.000000000","message":"nitty nit: s/exaple/example","commit_id":"c5db1c4a8d004ee747a4dff5abd9fc0d4375c87b"}],"neutron_tempest_plugin/common/ssh.py":[{"author":{"_account_id":13995,"name":"Nate Johnston","email":"nate.johnston@redhat.com","username":"natejohnston"},"change_message_id":"eb69ef8e6dbd5fa8c26f60cf2598dba22cb6e2e3","unresolved":false,"context_lines":[{"line_number":29,"context_line":"    _client \u003d None"},{"line_number":30,"context_line":""},{"line_number":31,"context_line":"    def connect(self, *args, **kwargs):"},{"line_number":32,"context_line":"        \"\"\"Creates paramico.Client and connect it to remote SSH server"},{"line_number":33,"context_line":"        \"\"\""},{"line_number":34,"context_line":"        client \u003d self._client"},{"line_number":35,"context_line":"        if client is None:"}],"source_content_type":"text/x-python","patch_set":1,"id":"5f7c97a3_34d7f751","line":32,"updated":"2018-07-06 13:53:40.000000000","message":"nit: s/paramico/paramiko/","commit_id":"d4769675eefbd6252a2687f7967ec71b8d2e9375"},{"author":{"_account_id":27329,"name":"Federico Ressi","email":"fressi@redhat.com","username":"fressi_redhat"},"change_message_id":"d498b8de109e4686db36cdbeab769556f01f461e","unresolved":false,"context_lines":[{"line_number":29,"context_line":"    _client \u003d None"},{"line_number":30,"context_line":""},{"line_number":31,"context_line":"    def connect(self, *args, **kwargs):"},{"line_number":32,"context_line":"        \"\"\"Creates paramico.Client and connect it to remote SSH server"},{"line_number":33,"context_line":"        \"\"\""},{"line_number":34,"context_line":"        client \u003d self._client"},{"line_number":35,"context_line":"        if client is None:"}],"source_content_type":"text/x-python","patch_set":1,"id":"5f7c97a3_b3c8944d","line":32,"in_reply_to":"5f7c97a3_34d7f751","updated":"2018-07-12 07:12:55.000000000","message":"Done","commit_id":"d4769675eefbd6252a2687f7967ec71b8d2e9375"},{"author":{"_account_id":13995,"name":"Nate Johnston","email":"nate.johnston@redhat.com","username":"natejohnston"},"change_message_id":"eb69ef8e6dbd5fa8c26f60cf2598dba22cb6e2e3","unresolved":false,"context_lines":[{"line_number":53,"context_line":"    def execute_script(self, script, become_root\u003dFalse,"},{"line_number":54,"context_line":"                       combine_stderr\u003dTrue, shell\u003d\u0027bash -eux\u0027):"},{"line_number":55,"context_line":""},{"line_number":56,"context_line":"        channel \u003d self.connect().get_transport().open_session()"},{"line_number":57,"context_line":"        with channel:"},{"line_number":58,"context_line":""},{"line_number":59,"context_line":"            # Combine STOUT and STDERR to have to handle with only one stream"}],"source_content_type":"text/x-python","patch_set":1,"id":"5f7c97a3_d4dfa364","line":56,"updated":"2018-07-06 13:53:40.000000000","message":"There are various failures that can occur on this line.  Shouldn\u0027t we say something like:\n\ntry:\n    channel \u003d self.connect().get_transport().open_session()\nexcept:\n    raise exceptions.SSHExecCommandFailed(...)","commit_id":"d4769675eefbd6252a2687f7967ec71b8d2e9375"},{"author":{"_account_id":27329,"name":"Federico Ressi","email":"fressi@redhat.com","username":"fressi_redhat"},"change_message_id":"d498b8de109e4686db36cdbeab769556f01f461e","unresolved":false,"context_lines":[{"line_number":53,"context_line":"    def execute_script(self, script, become_root\u003dFalse,"},{"line_number":54,"context_line":"                       combine_stderr\u003dTrue, shell\u003d\u0027bash -eux\u0027):"},{"line_number":55,"context_line":""},{"line_number":56,"context_line":"        channel \u003d self.connect().get_transport().open_session()"},{"line_number":57,"context_line":"        with channel:"},{"line_number":58,"context_line":""},{"line_number":59,"context_line":"            # Combine STOUT and STDERR to have to handle with only one stream"}],"source_content_type":"text/x-python","patch_set":1,"id":"5f7c97a3_73d2fcff","line":56,"in_reply_to":"5f7c97a3_d4dfa364","updated":"2018-07-12 07:12:55.000000000","message":"Done","commit_id":"d4769675eefbd6252a2687f7967ec71b8d2e9375"},{"author":{"_account_id":27329,"name":"Federico Ressi","email":"fressi@redhat.com","username":"fressi_redhat"},"change_message_id":"6de4cd502cbf103d41b3578a5aead70e06366aee","unresolved":false,"context_lines":[{"line_number":53,"context_line":"    def execute_script(self, script, become_root\u003dFalse,"},{"line_number":54,"context_line":"                       combine_stderr\u003dTrue, shell\u003d\u0027bash -eux\u0027):"},{"line_number":55,"context_line":""},{"line_number":56,"context_line":"        channel \u003d self.connect().get_transport().open_session()"},{"line_number":57,"context_line":"        with channel:"},{"line_number":58,"context_line":""},{"line_number":59,"context_line":"            # Combine STOUT and STDERR to have to handle with only one stream"}],"source_content_type":"text/x-python","patch_set":1,"id":"5f7c97a3_e50c593a","line":56,"in_reply_to":"5f7c97a3_d4dfa364","updated":"2018-07-08 18:44:49.000000000","message":"exceptions.SSHExecCommandFailed means the command has actually been executed while at this point we are just creating a connection to SSH server. This would hide real cause of the problem. I would prefer thinking a solution that would help humans to understand where the problem come from. Let me thing to something better on the same direction as you suggest Thank you.","commit_id":"d4769675eefbd6252a2687f7967ec71b8d2e9375"},{"author":{"_account_id":13995,"name":"Nate Johnston","email":"nate.johnston@redhat.com","username":"natejohnston"},"change_message_id":"c60e820df95343b4894532f220e3a8cb92f5a430","unresolved":false,"context_lines":[{"line_number":88,"context_line":"        \"\"\"Connect to remote machine and executes script."},{"line_number":89,"context_line":""},{"line_number":90,"context_line":"        Implementation note: it passes script lines to shell interpreter via"},{"line_number":91,"context_line":"        SDTDIN. Therefore script line number could be not available to some"},{"line_number":92,"context_line":"        script interpreters for debugging porposes."},{"line_number":93,"context_line":""},{"line_number":94,"context_line":"        :param script: script lines to be executed."}],"source_content_type":"text/x-python","patch_set":2,"id":"5f7c97a3_e7c87c4e","line":91,"range":{"start_line":91,"start_character":8,"end_line":91,"end_character":14},"updated":"2018-07-12 13:45:48.000000000","message":"nit: STDIN","commit_id":"cc412b228190bc92177846bd9b8b251404281fde"},{"author":{"_account_id":27329,"name":"Federico Ressi","email":"fressi@redhat.com","username":"fressi_redhat"},"change_message_id":"a70beb16e769e33924a212dd4d3e16a5317d7733","unresolved":false,"context_lines":[{"line_number":88,"context_line":"        \"\"\"Connect to remote machine and executes script."},{"line_number":89,"context_line":""},{"line_number":90,"context_line":"        Implementation note: it passes script lines to shell interpreter via"},{"line_number":91,"context_line":"        SDTDIN. Therefore script line number could be not available to some"},{"line_number":92,"context_line":"        script interpreters for debugging porposes."},{"line_number":93,"context_line":""},{"line_number":94,"context_line":"        :param script: script lines to be executed."}],"source_content_type":"text/x-python","patch_set":2,"id":"5f7c97a3_bb6cab33","line":91,"range":{"start_line":91,"start_character":8,"end_line":91,"end_character":14},"in_reply_to":"5f7c97a3_e7c87c4e","updated":"2018-08-17 11:23:44.000000000","message":"Done","commit_id":"cc412b228190bc92177846bd9b8b251404281fde"},{"author":{"_account_id":13995,"name":"Nate Johnston","email":"nate.johnston@redhat.com","username":"natejohnston"},"change_message_id":"c60e820df95343b4894532f220e3a8cb92f5a430","unresolved":false,"context_lines":[{"line_number":92,"context_line":"        script interpreters for debugging porposes."},{"line_number":93,"context_line":""},{"line_number":94,"context_line":"        :param script: script lines to be executed."},{"line_number":95,"context_line":""},{"line_number":96,"context_line":"        :param become_root: executes interpreter as root with sudo."},{"line_number":97,"context_line":""},{"line_number":98,"context_line":"        :param combine_stderr: redirect STDERR to STDOUT so that output"},{"line_number":99,"context_line":"        from both streams are returned together."},{"line_number":100,"context_line":""},{"line_number":101,"context_line":"        :param shell: command line used to launch script interpreter. By"},{"line_number":102,"context_line":"        default it executes Bash with -eux options enabled. This means that"}],"source_content_type":"text/x-python","patch_set":2,"id":"5f7c97a3_c7cb0049","line":99,"range":{"start_line":95,"start_character":0,"end_line":99,"end_character":48},"updated":"2018-07-12 13:45:48.000000000","message":"I assume these are boolean, but it might be good to be explicit about indicating that.","commit_id":"cc412b228190bc92177846bd9b8b251404281fde"},{"author":{"_account_id":27329,"name":"Federico Ressi","email":"fressi@redhat.com","username":"fressi_redhat"},"change_message_id":"a70beb16e769e33924a212dd4d3e16a5317d7733","unresolved":false,"context_lines":[{"line_number":92,"context_line":"        script interpreters for debugging porposes."},{"line_number":93,"context_line":""},{"line_number":94,"context_line":"        :param script: script lines to be executed."},{"line_number":95,"context_line":""},{"line_number":96,"context_line":"        :param become_root: executes interpreter as root with sudo."},{"line_number":97,"context_line":""},{"line_number":98,"context_line":"        :param combine_stderr: redirect STDERR to STDOUT so that output"},{"line_number":99,"context_line":"        from both streams are returned together."},{"line_number":100,"context_line":""},{"line_number":101,"context_line":"        :param shell: command line used to launch script interpreter. By"},{"line_number":102,"context_line":"        default it executes Bash with -eux options enabled. This means that"}],"source_content_type":"text/x-python","patch_set":2,"id":"3f79a3b5_860d21ea","line":99,"range":{"start_line":95,"start_character":0,"end_line":99,"end_character":48},"in_reply_to":"5f7c97a3_c7cb0049","updated":"2018-08-17 11:23:44.000000000","message":"Done","commit_id":"cc412b228190bc92177846bd9b8b251404281fde"},{"author":{"_account_id":11975,"name":"Slawek Kaplonski","email":"skaplons@redhat.com","username":"slaweq"},"change_message_id":"5930d9995a35238236d9115e2c79469a078e569d","unresolved":false,"context_lines":[{"line_number":206,"context_line":"            channel.set_combine_stderr(combine_stderr)"},{"line_number":207,"context_line":"            # Use UTF-8 encoding"},{"line_number":208,"context_line":"            channel.update_environment(dict(LC_ALL\u003d\u0027pt_PT.utf8\u0027,"},{"line_number":209,"context_line":"                                            LANG\u003d\u0027pt_PT.utf8\u0027))"},{"line_number":210,"context_line":"            if become_root:"},{"line_number":211,"context_line":"                shell \u003d \u0027sudo \u0027 + shell"},{"line_number":212,"context_line":"            # Spawn a Bash"}],"source_content_type":"text/x-python","patch_set":6,"id":"3f79a3b5_ed27b4b5","line":209,"updated":"2018-08-22 09:07:35.000000000","message":"why not English one?","commit_id":"c5db1c4a8d004ee747a4dff5abd9fc0d4375c87b"},{"author":{"_account_id":27329,"name":"Federico Ressi","email":"fressi@redhat.com","username":"fressi_redhat"},"change_message_id":"c45c0930bfe2172c2f2e03e742e880e48a583350","unresolved":false,"context_lines":[{"line_number":206,"context_line":"            channel.set_combine_stderr(combine_stderr)"},{"line_number":207,"context_line":"            # Use UTF-8 encoding"},{"line_number":208,"context_line":"            channel.update_environment(dict(LC_ALL\u003d\u0027pt_PT.utf8\u0027,"},{"line_number":209,"context_line":"                                            LANG\u003d\u0027pt_PT.utf8\u0027))"},{"line_number":210,"context_line":"            if become_root:"},{"line_number":211,"context_line":"                shell \u003d \u0027sudo \u0027 + shell"},{"line_number":212,"context_line":"            # Spawn a Bash"}],"source_content_type":"text/x-python","patch_set":6,"id":"3f79a3b5_878cbbd7","line":209,"in_reply_to":"3f79a3b5_0773e817","updated":"2018-08-24 06:45:15.000000000","message":"Done","commit_id":"c5db1c4a8d004ee747a4dff5abd9fc0d4375c87b"},{"author":{"_account_id":27329,"name":"Federico Ressi","email":"fressi@redhat.com","username":"fressi_redhat"},"change_message_id":"c6eb5268fbeaa16f20e128cbbe548a964fce8bdd","unresolved":false,"context_lines":[{"line_number":206,"context_line":"            channel.set_combine_stderr(combine_stderr)"},{"line_number":207,"context_line":"            # Use UTF-8 encoding"},{"line_number":208,"context_line":"            channel.update_environment(dict(LC_ALL\u003d\u0027pt_PT.utf8\u0027,"},{"line_number":209,"context_line":"                                            LANG\u003d\u0027pt_PT.utf8\u0027))"},{"line_number":210,"context_line":"            if become_root:"},{"line_number":211,"context_line":"                shell \u003d \u0027sudo \u0027 + shell"},{"line_number":212,"context_line":"            # Spawn a Bash"}],"source_content_type":"text/x-python","patch_set":6,"id":"3f79a3b5_8a37fffe","line":209,"in_reply_to":"3f79a3b5_0773e817","updated":"2018-08-22 14:12:46.000000000","message":"Right","commit_id":"c5db1c4a8d004ee747a4dff5abd9fc0d4375c87b"},{"author":{"_account_id":13995,"name":"Nate Johnston","email":"nate.johnston@redhat.com","username":"natejohnston"},"change_message_id":"ec5bdf7622382694fa6b814a24c8365c31e860dd","unresolved":false,"context_lines":[{"line_number":206,"context_line":"            channel.set_combine_stderr(combine_stderr)"},{"line_number":207,"context_line":"            # Use UTF-8 encoding"},{"line_number":208,"context_line":"            channel.update_environment(dict(LC_ALL\u003d\u0027pt_PT.utf8\u0027,"},{"line_number":209,"context_line":"                                            LANG\u003d\u0027pt_PT.utf8\u0027))"},{"line_number":210,"context_line":"            if become_root:"},{"line_number":211,"context_line":"                shell \u003d \u0027sudo \u0027 + shell"},{"line_number":212,"context_line":"            # Spawn a Bash"}],"source_content_type":"text/x-python","patch_set":6,"id":"3f79a3b5_0773e817","line":209,"in_reply_to":"3f79a3b5_ed27b4b5","updated":"2018-08-22 13:32:24.000000000","message":"It might be useful to read LC_ALL and LANG from the parent environment and transmit them on here, so that if someone\u0027s localization is important then it passes through.  We could use en_US.utf8 as the default if the environment variables are not specified.","commit_id":"c5db1c4a8d004ee747a4dff5abd9fc0d4375c87b"},{"author":{"_account_id":27329,"name":"Federico Ressi","email":"fressi@redhat.com","username":"fressi_redhat"},"change_message_id":"c6eb5268fbeaa16f20e128cbbe548a964fce8bdd","unresolved":false,"context_lines":[{"line_number":206,"context_line":"            channel.set_combine_stderr(combine_stderr)"},{"line_number":207,"context_line":"            # Use UTF-8 encoding"},{"line_number":208,"context_line":"            channel.update_environment(dict(LC_ALL\u003d\u0027pt_PT.utf8\u0027,"},{"line_number":209,"context_line":"                                            LANG\u003d\u0027pt_PT.utf8\u0027))"},{"line_number":210,"context_line":"            if become_root:"},{"line_number":211,"context_line":"                shell \u003d \u0027sudo \u0027 + shell"},{"line_number":212,"context_line":"            # Spawn a Bash"}],"source_content_type":"text/x-python","patch_set":6,"id":"3f79a3b5_ca31770d","line":209,"in_reply_to":"3f79a3b5_ed27b4b5","updated":"2018-08-22 14:12:46.000000000","message":"Wooops!","commit_id":"c5db1c4a8d004ee747a4dff5abd9fc0d4375c87b"},{"author":{"_account_id":21798,"name":"Bernard Cafarelli","email":"bcafarel@redhat.com","username":"bcafarel"},"change_message_id":"d26d854ee76bd6ff944c1998c4cbfe4837c934c4","unresolved":false,"context_lines":[{"line_number":16,"context_line":"import time"},{"line_number":17,"context_line":""},{"line_number":18,"context_line":"from oslo_log import log"},{"line_number":19,"context_line":"import paramiko"},{"line_number":20,"context_line":"from tempest.lib.common import ssh"},{"line_number":21,"context_line":"from tempest.lib import exceptions"},{"line_number":22,"context_line":""}],"source_content_type":"text/x-python","patch_set":7,"id":"3f79a3b5_4f76b2a6","line":19,"updated":"2018-08-23 15:03:23.000000000","message":"paramiko should be added to requirements then?","commit_id":"a62a7067406690f84872289ce2eff1cd96451d26"},{"author":{"_account_id":27329,"name":"Federico Ressi","email":"fressi@redhat.com","username":"fressi_redhat"},"change_message_id":"c45c0930bfe2172c2f2e03e742e880e48a583350","unresolved":false,"context_lines":[{"line_number":16,"context_line":"import time"},{"line_number":17,"context_line":""},{"line_number":18,"context_line":"from oslo_log import log"},{"line_number":19,"context_line":"import paramiko"},{"line_number":20,"context_line":"from tempest.lib.common import ssh"},{"line_number":21,"context_line":"from tempest.lib import exceptions"},{"line_number":22,"context_line":""}],"source_content_type":"text/x-python","patch_set":7,"id":"3f79a3b5_f4a7424f","line":19,"in_reply_to":"3f79a3b5_4f76b2a6","updated":"2018-08-24 06:45:15.000000000","message":"Paramiko is already a Tempest requirement.\n\nhttps://github.com/openstack/tempest/blob/master/requirements.txt#L8\n\nssh.Client base class implemented by Tempest is based on Paramiko.\n\nhttps://github.com/openstack/tempest/blob/master/tempest/lib/common/ssh.py#L30\n\nIf tempest is going to change this implementation then this code is going to fail anyway:\n\nhttps://github.com/openstack/tempest/blob/master/tempest/lib/common/ssh.py#L83\n\nTherefore I see no point to add paramiko to requirements of neutron-tempest-plugin.\n\nWhat do you think?","commit_id":"a62a7067406690f84872289ce2eff1cd96451d26"},{"author":{"_account_id":27329,"name":"Federico Ressi","email":"fressi@redhat.com","username":"fressi_redhat"},"change_message_id":"46f1ef274b218e196d31fb1cd9996577e9883510","unresolved":false,"context_lines":[{"line_number":16,"context_line":"import time"},{"line_number":17,"context_line":""},{"line_number":18,"context_line":"from oslo_log import log"},{"line_number":19,"context_line":"import paramiko"},{"line_number":20,"context_line":"from tempest.lib.common import ssh"},{"line_number":21,"context_line":"from tempest.lib import exceptions"},{"line_number":22,"context_line":""}],"source_content_type":"text/x-python","patch_set":7,"id":"3f79a3b5_d40f7fdd","line":19,"in_reply_to":"3f79a3b5_b036af02","updated":"2018-08-27 07:51:56.000000000","message":"Done","commit_id":"a62a7067406690f84872289ce2eff1cd96451d26"},{"author":{"_account_id":11975,"name":"Slawek Kaplonski","email":"skaplons@redhat.com","username":"slaweq"},"change_message_id":"6eaffd76c9530e9374b2820a8a112d30174e65db","unresolved":false,"context_lines":[{"line_number":16,"context_line":"import time"},{"line_number":17,"context_line":""},{"line_number":18,"context_line":"from oslo_log import log"},{"line_number":19,"context_line":"import paramiko"},{"line_number":20,"context_line":"from tempest.lib.common import ssh"},{"line_number":21,"context_line":"from tempest.lib import exceptions"},{"line_number":22,"context_line":""}],"source_content_type":"text/x-python","patch_set":7,"id":"3f79a3b5_b036af02","line":19,"in_reply_to":"3f79a3b5_f4a7424f","updated":"2018-08-24 12:22:30.000000000","message":"I just talked with gmann on openstack-qa and he told me that we should add such thing to our plugin\u0027s requirements if we are using it. So You should add it here","commit_id":"a62a7067406690f84872289ce2eff1cd96451d26"},{"author":{"_account_id":21798,"name":"Bernard Cafarelli","email":"bcafarel@redhat.com","username":"bcafarel"},"change_message_id":"d26d854ee76bd6ff944c1998c4cbfe4837c934c4","unresolved":false,"context_lines":[{"line_number":172,"context_line":"                                        password\u003dself.password)"},{"line_number":173,"context_line":""},{"line_number":174,"context_line":"    def execute_script(self, script, become_root\u003dFalse,"},{"line_number":175,"context_line":"                       combine_stderr\u003dTrue, shell\u003d\u0027bash -eux\u0027):"},{"line_number":176,"context_line":"        \"\"\"Connect to remote machine and executes script."},{"line_number":177,"context_line":""},{"line_number":178,"context_line":"        Implementation note: it passes script lines to shell interpreter via"}],"source_content_type":"text/x-python","patch_set":7,"id":"3f79a3b5_6f892e73","line":175,"range":{"start_line":175,"start_character":51,"end_line":175,"end_character":55},"updated":"2018-08-23 15:03:23.000000000","message":"I wonder if the default should be sh instead of bash. cirros does not have bash so basic tests would need to override that parameter, and apparently busybox sh handles \"-eux\" fine","commit_id":"a62a7067406690f84872289ce2eff1cd96451d26"},{"author":{"_account_id":27329,"name":"Federico Ressi","email":"fressi@redhat.com","username":"fressi_redhat"},"change_message_id":"c45c0930bfe2172c2f2e03e742e880e48a583350","unresolved":false,"context_lines":[{"line_number":172,"context_line":"                                        password\u003dself.password)"},{"line_number":173,"context_line":""},{"line_number":174,"context_line":"    def execute_script(self, script, become_root\u003dFalse,"},{"line_number":175,"context_line":"                       combine_stderr\u003dTrue, shell\u003d\u0027bash -eux\u0027):"},{"line_number":176,"context_line":"        \"\"\"Connect to remote machine and executes script."},{"line_number":177,"context_line":""},{"line_number":178,"context_line":"        Implementation note: it passes script lines to shell interpreter via"}],"source_content_type":"text/x-python","patch_set":7,"id":"3f79a3b5_f455021f","line":175,"range":{"start_line":175,"start_character":51,"end_line":175,"end_character":55},"in_reply_to":"3f79a3b5_6f892e73","updated":"2018-08-24 06:45:15.000000000","message":"I chose bash as default shell mostly because on Debian/Ubuntu sh is by default implemented with dash and I looked for a common behavior between Red Hat\u0027s  images and Debian\u0027s ones. But if bash is not warranted to be there then yes indeed sh is a better default value. Thanks for pointing it out.","commit_id":"a62a7067406690f84872289ce2eff1cd96451d26"},{"author":{"_account_id":21798,"name":"Bernard Cafarelli","email":"bcafarel@redhat.com","username":"bcafarel"},"change_message_id":"e157102cbbc4012fe84ffed77fe73c1080e5d851","unresolved":false,"context_lines":[{"line_number":172,"context_line":"                                        password\u003dself.password)"},{"line_number":173,"context_line":""},{"line_number":174,"context_line":"    def execute_script(self, script, become_root\u003dFalse,"},{"line_number":175,"context_line":"                       combine_stderr\u003dTrue, shell\u003d\u0027bash -eux\u0027):"},{"line_number":176,"context_line":"        \"\"\"Connect to remote machine and executes script."},{"line_number":177,"context_line":""},{"line_number":178,"context_line":"        Implementation note: it passes script lines to shell interpreter via"}],"source_content_type":"text/x-python","patch_set":7,"id":"3f79a3b5_90be1363","line":175,"range":{"start_line":175,"start_character":51,"end_line":175,"end_character":55},"in_reply_to":"3f79a3b5_8fdefb3b","updated":"2018-08-27 09:22:28.000000000","message":"Thanks, just checked, dash accepts \"-eux\" too, so at least common shells are covered","commit_id":"a62a7067406690f84872289ce2eff1cd96451d26"},{"author":{"_account_id":27329,"name":"Federico Ressi","email":"fressi@redhat.com","username":"fressi_redhat"},"change_message_id":"c5ffcae0b9331efbf628ec89da4a96e0a2a8acaa","unresolved":false,"context_lines":[{"line_number":172,"context_line":"                                        password\u003dself.password)"},{"line_number":173,"context_line":""},{"line_number":174,"context_line":"    def execute_script(self, script, become_root\u003dFalse,"},{"line_number":175,"context_line":"                       combine_stderr\u003dTrue, shell\u003d\u0027bash -eux\u0027):"},{"line_number":176,"context_line":"        \"\"\"Connect to remote machine and executes script."},{"line_number":177,"context_line":""},{"line_number":178,"context_line":"        Implementation note: it passes script lines to shell interpreter via"}],"source_content_type":"text/x-python","patch_set":7,"id":"3f79a3b5_2f054014","line":175,"range":{"start_line":175,"start_character":51,"end_line":175,"end_character":55},"in_reply_to":"3f79a3b5_90be1363","updated":"2018-08-27 09:25:24.000000000","message":"Thanks!","commit_id":"a62a7067406690f84872289ce2eff1cd96451d26"},{"author":{"_account_id":27329,"name":"Federico Ressi","email":"fressi@redhat.com","username":"fressi_redhat"},"change_message_id":"c39f434bbbb38a21d23a2e79b497528b8a9817f9","unresolved":false,"context_lines":[{"line_number":172,"context_line":"                                        password\u003dself.password)"},{"line_number":173,"context_line":""},{"line_number":174,"context_line":"    def execute_script(self, script, become_root\u003dFalse,"},{"line_number":175,"context_line":"                       combine_stderr\u003dTrue, shell\u003d\u0027bash -eux\u0027):"},{"line_number":176,"context_line":"        \"\"\"Connect to remote machine and executes script."},{"line_number":177,"context_line":""},{"line_number":178,"context_line":"        Implementation note: it passes script lines to shell interpreter via"}],"source_content_type":"text/x-python","patch_set":7,"id":"3f79a3b5_8fdefb3b","line":175,"range":{"start_line":175,"start_character":51,"end_line":175,"end_character":55},"in_reply_to":"3f79a3b5_f455021f","updated":"2018-08-24 06:50:07.000000000","message":"Done","commit_id":"a62a7067406690f84872289ce2eff1cd96451d26"},{"author":{"_account_id":4694,"name":"Miguel Lavalle","email":"miguel@mlavalle.com","username":"minsel"},"change_message_id":"a92a46cb6ff9ed97d83d26ecc990ace3b7009010","unresolved":false,"context_lines":[{"line_number":188,"context_line":""},{"line_number":189,"context_line":"        :param shell: command line used to launch script interpreter. By"},{"line_number":190,"context_line":"        default it executes Bash with -eux options enabled. This means that"},{"line_number":191,"context_line":"        any command returning non-zero exist status or any any undefined"},{"line_number":192,"context_line":"        variable would interrupt script execution with an error and every"},{"line_number":193,"context_line":"        command executed by the script is going to be traced to STDERR."},{"line_number":194,"context_line":""}],"source_content_type":"text/x-python","patch_set":10,"id":"3f79a3b5_1cfaeebb","line":191,"range":{"start_line":191,"start_character":59,"end_line":191,"end_character":63},"updated":"2018-08-27 20:51:57.000000000","message":"nit: one too many","commit_id":"6f0644e271d1d2f7e9c81de052dfb905538a931b"}]}
