)]}'
{"neutron_tempest_plugin/common/utils.py":[{"author":{"_account_id":16688,"name":"Rodolfo Alonso","email":"ralonsoh@redhat.com","username":"rodolfo-alonso-hernandez"},"change_message_id":"ba3f84f2ab14af6db10c88df4fb9cbb529da7929","unresolved":false,"context_lines":[{"line_number":119,"context_line":""},{"line_number":120,"context_line":"def process_is_running(ssh_client, process_name):"},{"line_number":121,"context_line":"    try:"},{"line_number":122,"context_line":"        ssh_client.exec_command(\"pidof %s\" % process_name)"},{"line_number":123,"context_line":"        return True"},{"line_number":124,"context_line":"    except exceptions.SSHExecCommandFailed:"},{"line_number":125,"context_line":"        return False"}],"source_content_type":"text/x-python","patch_set":6,"id":"1fa4df85_94606003","line":122,"updated":"2020-03-20 09:38:27.000000000","message":"I tested manually this function (it\u0027s a pity we don\u0027t have a funct test for it) and works fine.\n\nWhen the process returns 1, the function \"exec_command\" returns an exception.\n\n\u003e\u003e\u003e rc.exec_command(\"pidof asdasd\")\n(not found) Executing command on 127.0.0.1 failed. Error: Command \u0027set -eu -o pipefail; PATH\u003d$PATH:/sbin; pidof asdasd\u0027, exit status: 1, stderr:\n\nstdout:\n\nTraceback (most recent call last):\n  File \"\u003cstdin\u003e\", line 1, in \u003cmodule\u003e\n  File \"/usr/local/lib/python3.7/dist-packages/tempest/lib/common/utils/linux/remote_client.py\", line 33, in wrapper\n    return function(self, *args, **kwargs)\n  File \"/usr/local/lib/python3.7/dist-packages/tempest/lib/common/utils/linux/remote_client.py\", line 108, in exec_command\n    return self.ssh_client.exec_command(cmd)\n  File \"/usr/local/lib/python3.7/dist-packages/tempest/lib/common/ssh.py\", line 202, in exec_command\n    stderr\u003derr_data, stdout\u003dout_data)\ntempest.lib.exceptions.SSHExecCommandFailed: Command \u0027set -eu -o pipefail; PATH\u003d$PATH:/sbin; pidof asdasd\u0027, exit status: 1, stderr:\n\nstdout:","commit_id":"fd4141f2015d25f1b009d7cf2ebdd2907cd8e81a"}],"neutron_tempest_plugin/scenario/base.py":[{"author":{"_account_id":16688,"name":"Rodolfo Alonso","email":"ralonsoh@redhat.com","username":"rodolfo-alonso-hernandez"},"change_message_id":"321923f841cd0fce2ef98884e85563da3cc7b5ce","unresolved":false,"context_lines":[{"line_number":483,"context_line":"                become_root\u003dTrue)"},{"line_number":484,"context_line":"        except lib_exc.SSHTimeout as ssh_e:"},{"line_number":485,"context_line":"            LOG.debug(ssh_e)"},{"line_number":486,"context_line":"            self._log_console_output(servers)"},{"line_number":487,"context_line":"            raise"},{"line_number":488,"context_line":""},{"line_number":489,"context_line":"    def nc_client(self, ip_address, port, protocol):"}],"source_content_type":"text/x-python","patch_set":4,"id":"1fa4df85_5d0232b6","line":486,"range":{"start_line":486,"start_character":37,"end_line":486,"end_character":44},"updated":"2020-03-18 13:17:52.000000000","message":"s/servers/server  ??\n\nor maybe:\n   self._log_console_output([server])","commit_id":"b8932caf2e73b98a51e2ccd154650ff6ea38e9d3"},{"author":{"_account_id":11975,"name":"Slawek Kaplonski","email":"skaplons@redhat.com","username":"slaweq"},"change_message_id":"8bc523dd51b4e6e6c7e9480c64716e1e41f97b12","unresolved":false,"context_lines":[{"line_number":483,"context_line":"                become_root\u003dTrue)"},{"line_number":484,"context_line":"        except lib_exc.SSHTimeout as ssh_e:"},{"line_number":485,"context_line":"            LOG.debug(ssh_e)"},{"line_number":486,"context_line":"            self._log_console_output(servers)"},{"line_number":487,"context_line":"            raise"},{"line_number":488,"context_line":""},{"line_number":489,"context_line":"    def nc_client(self, ip_address, port, protocol):"}],"source_content_type":"text/x-python","patch_set":4,"id":"1fa4df85_5df3129f","line":486,"range":{"start_line":486,"start_character":37,"end_line":486,"end_character":44},"in_reply_to":"1fa4df85_5d0232b6","updated":"2020-03-18 13:26:26.000000000","message":"Actually it should be \"servers\" but should be changed in L475","commit_id":"b8932caf2e73b98a51e2ccd154650ff6ea38e9d3"},{"author":{"_account_id":16688,"name":"Rodolfo Alonso","email":"ralonsoh@redhat.com","username":"rodolfo-alonso-hernandez"},"change_message_id":"ba3f84f2ab14af6db10c88df4fb9cbb529da7929","unresolved":false,"context_lines":[{"line_number":480,"context_line":"        \"\"\""},{"line_number":481,"context_line":"        def spawn_and_check_process():"},{"line_number":482,"context_line":"            self.nc_listen(ssh_client, port, protocol, echo_msg, servers)"},{"line_number":483,"context_line":"            return utils.process_is_running(ssh_client, \"nc\")"},{"line_number":484,"context_line":""},{"line_number":485,"context_line":"        utils.wait_until_true(spawn_and_check_process)"},{"line_number":486,"context_line":""}],"source_content_type":"text/x-python","patch_set":6,"id":"1fa4df85_747a84ba","line":483,"range":{"start_line":483,"start_character":12,"end_line":483,"end_character":61},"updated":"2020-03-20 09:38:27.000000000","message":"This should no happen, but if more than one process with the same name (same binary) is running, the command \"pidof\" will return several PIDs. But this should not happen in this case. There should be only one \"nc\" per VM.","commit_id":"fd4141f2015d25f1b009d7cf2ebdd2907cd8e81a"}],"neutron_tempest_plugin/scenario/test_qos.py":[{"author":{"_account_id":8313,"name":"Lajos Katona","display_name":"lajoskatona","email":"katonalala@gmail.com","username":"elajkat","status":"Ericsson Software Technology"},"change_message_id":"ca779853ddadf6f30652cd02a7e05ba09ea1cb06","unresolved":false,"context_lines":[{"line_number":82,"context_line":"    def _check_bw(self, ssh_client, host, port, expected_bw\u003dLIMIT_BYTES_SEC):"},{"line_number":83,"context_line":"        utils.kill_nc_process(ssh_client)"},{"line_number":84,"context_line":"        cmd \u003d (\"(nc -ll -p %d \u003c /dev/zero \u003e /dev/null \u0026)\" % port)"},{"line_number":85,"context_line":"        ssh_client.execute_script(cmd, timeout\u003d5)"},{"line_number":86,"context_line":""},{"line_number":87,"context_line":"        # Open TCP socket to remote VM and download big file"},{"line_number":88,"context_line":"        start_time \u003d time.time()"}],"source_content_type":"text/x-python","patch_set":2,"id":"1fa4df85_57ca376e","line":85,"updated":"2020-03-16 14:10:28.000000000","message":"nit: as I see we lose encoding\u003d\"utf-8\" but here that is not a problem if I understand well.","commit_id":"178c3e8e9e64fc456f27d7130384bae3ca8c9124"}]}
